diff --git a/.vpython b/.vpython
index aa2a95e..d4afe92e 100644
--- a/.vpython
+++ b/.vpython
@@ -163,3 +163,14 @@
     platform: "manylinux1_x86_64"
   >
 >
+
+# Used by:
+#   content/test/gpu/gpu_tests/color_profile_manager_mac.py
+# Note: there's a version of this wheel for even older OS versions,
+# but we don't need it for the GPU tests, and it looks like there are
+# bugs in the not_match_tag implementation.
+wheel: <
+  name: "infra/python/wheels/pyobjc/${vpython_platform}"
+  version: "version:4.1"
+  match_tag: < platform: "macosx_10_10_intel" >
+>
diff --git a/DEPS b/DEPS
index a03f933..1df5487 100644
--- a/DEPS
+++ b/DEPS
@@ -79,11 +79,11 @@
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling Skia
   # and whatever else without interference from each other.
-  'skia_revision': '88df8d2e5a87df5605b1d5530408cc6f534d8feb',
+  'skia_revision': 'fa303398d503a48d054e26dd1582282d3121b8ec',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling V8
   # and whatever else without interference from each other.
-  'v8_revision': '1666d944aea72ce3078ceb693dab39a80b1f24e2',
+  'v8_revision': 'dc2d3bb9711effb349df58af26c49169aa019121',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling swarming_client
   # and whatever else without interference from each other.
@@ -91,7 +91,7 @@
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling ANGLE
   # and whatever else without interference from each other.
-  'angle_revision': '40dba69082bdd7b4c93134632e875927eab1dc14',
+  'angle_revision': 'ed8b49195844f126569367415aec366a725294c1',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling build tools
   # and whatever else without interference from each other.
@@ -103,7 +103,7 @@
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling PDFium
   # and whatever else without interference from each other.
-  'pdfium_revision': '749b609d11e855edf0aefdacbe4f81bb73d8d0d0',
+  'pdfium_revision': '04d792fb7510e328f508bc81379ca15791af93e7',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling openmax_dl
   # and whatever else without interference from each other.
@@ -341,7 +341,7 @@
   },
 
   'src/third_party/depot_tools':
-    Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + 'c29602466dc288e5e4b6d683f3cece88a665a594',
+    Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + '53014653d8eb98ac09f1ea1bb5231bcd8c92ff66',
 
   'src/third_party/devtools-node-modules':
     Var('chromium_git') + '/external/github.com/ChromeDevTools/devtools-node-modules' + '@' + Var('devtools_node_modules_revision'),
@@ -657,7 +657,7 @@
     Var('chromium_git') + '/external/khronosgroup/webgl.git' + '@' + '3c1cb0203b6cfc10389e85a350b2ea6ca29d01ce',
 
   'src/third_party/webrtc':
-    Var('webrtc_git') + '/src.git' + '@' + '98bb968f7bed6ce8dc71030cd531479998a5a90f', # commit position 21742
+    Var('webrtc_git') + '/src.git' + '@' + '8861da8356ee9b395027e1f4878dd6af5ce339c7', # commit position 21742
 
   'src/third_party/xdg-utils': {
       'url': Var('chromium_git') + '/chromium/deps/xdg-utils.git' + '@' + 'd80274d5869b17b8c9067a1022e4416ee7ed5e0d',
diff --git a/android_webview/browser/browser_view_renderer.cc b/android_webview/browser/browser_view_renderer.cc
index e3f9278f..cf66601f 100644
--- a/android_webview/browser/browser_view_renderer.cc
+++ b/android_webview/browser/browser_view_renderer.cc
@@ -9,7 +9,6 @@
 
 #include "android_webview/browser/browser_view_renderer_client.h"
 #include "android_webview/browser/compositor_frame_consumer.h"
-#include "android_webview/common/aw_switches.h"
 #include "base/auto_reset.h"
 #include "base/command_line.h"
 #include "base/logging.h"
@@ -94,8 +93,6 @@
     const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner)
     : client_(client),
       ui_task_runner_(ui_task_runner),
-      sync_on_draw_hardware_(base::CommandLine::ForCurrentProcess()->HasSwitch(
-          switches::kSyncOnDrawHardware)),
       current_compositor_frame_consumer_(nullptr),
       compositor_(nullptr),
       is_paused_(false),
@@ -234,28 +231,13 @@
   gfx::Rect viewport_rect_for_tile_priority =
       ComputeViewportRectForTilePriority();
 
-  scoped_refptr<content::SynchronousCompositor::FrameFuture> future; // Async.
-  content::SynchronousCompositor::Frame frame; // Sync.
-  if (sync_on_draw_hardware_) {
-    // TODO(boliu): Remove the synchronous call path here.
-    frame = compositor_->DemandDrawHw(size_, viewport_rect_for_tile_priority,
-                                      transform_for_tile_priority);
-  } else {
-    future = compositor_->DemandDrawHwAsync(
-        size_, viewport_rect_for_tile_priority, transform_for_tile_priority);
-  }
-
-  if (!frame.frame && !future) {
-    TRACE_EVENT_INSTANT0("android_webview", "NoNewFrame",
-                         TRACE_EVENT_SCOPE_THREAD);
-    return current_compositor_frame_consumer_->HasFrameOnUI();
-  }
-
+  scoped_refptr<content::SynchronousCompositor::FrameFuture> future =
+      compositor_->DemandDrawHwAsync(size_, viewport_rect_for_tile_priority,
+                                     transform_for_tile_priority);
   std::unique_ptr<ChildFrame> child_frame = std::make_unique<ChildFrame>(
-      std::move(future), frame.layer_tree_frame_sink_id, std::move(frame.frame),
-      compositor_id_, viewport_rect_for_tile_priority.IsEmpty(),
-      transform_for_tile_priority, offscreen_pre_raster_,
-      external_draw_constraints_.is_layer);
+      std::move(future), compositor_id_,
+      viewport_rect_for_tile_priority.IsEmpty(), transform_for_tile_priority,
+      offscreen_pre_raster_, external_draw_constraints_.is_layer);
 
   ReturnUnusedResource(
       current_compositor_frame_consumer_->SetFrameOnUI(std::move(child_frame)));
diff --git a/android_webview/browser/browser_view_renderer.h b/android_webview/browser/browser_view_renderer.h
index e8392593..1faafa56 100644
--- a/android_webview/browser/browser_view_renderer.h
+++ b/android_webview/browser/browser_view_renderer.h
@@ -179,7 +179,6 @@
 
   BrowserViewRendererClient* const client_;
   const scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_;
-  const bool sync_on_draw_hardware_;
   CompositorFrameConsumer* current_compositor_frame_consumer_;
   std::set<CompositorFrameConsumer*> compositor_frame_consumers_;
 
diff --git a/android_webview/browser/browser_view_renderer_unittest.cc b/android_webview/browser/browser_view_renderer_unittest.cc
index 3e67083..d4af915 100644
--- a/android_webview/browser/browser_view_renderer_unittest.cc
+++ b/android_webview/browser/browser_view_renderer_unittest.cc
@@ -269,17 +269,13 @@
   }
 
   void DidOnDraw(bool success) override {
+    // OnDraw should succeed even when there are no frames from compositor.
+    EXPECT_TRUE(success);
     if (0 == on_draw_count_) {
-      // Should fail as there has been no frames from compositor.
-      EXPECT_FALSE(success);
       browser_view_renderer_->PostInvalidate(ActiveCompositor());
     } else if (1 == on_draw_count_) {
-      // Should succeed with frame from compositor.
-      EXPECT_TRUE(success);
       browser_view_renderer_->PostInvalidate(ActiveCompositor());
     } else if (2 == on_draw_count_) {
-      // Should still succeed with last frame, even if no frame from compositor.
-      EXPECT_TRUE(success);
       EndTest();
     }
     on_draw_count_++;
diff --git a/android_webview/browser/child_frame.cc b/android_webview/browser/child_frame.cc
index 86dd2ffa..551aba8 100644
--- a/android_webview/browser/child_frame.cc
+++ b/android_webview/browser/child_frame.cc
@@ -13,16 +13,12 @@
 
 ChildFrame::ChildFrame(
     scoped_refptr<content::SynchronousCompositor::FrameFuture> frame_future,
-    uint32_t layer_tree_frame_sink_id,
-    std::unique_ptr<viz::CompositorFrame> frame,
     const CompositorID& compositor_id,
     bool viewport_rect_for_tile_priority_empty,
     const gfx::Transform& transform_for_tile_priority,
     bool offscreen_pre_raster,
     bool is_layer)
     : frame_future(std::move(frame_future)),
-      layer_tree_frame_sink_id(layer_tree_frame_sink_id),
-      frame(std::move(frame)),
       compositor_id(compositor_id),
       viewport_rect_for_tile_priority_empty(
           viewport_rect_for_tile_priority_empty),
diff --git a/android_webview/browser/child_frame.h b/android_webview/browser/child_frame.h
index c28ee25..aea082d 100644
--- a/android_webview/browser/child_frame.h
+++ b/android_webview/browser/child_frame.h
@@ -25,8 +25,6 @@
  public:
   ChildFrame(
       scoped_refptr<content::SynchronousCompositor::FrameFuture> frame_future,
-      uint32_t layer_tree_frame_sink_id,
-      std::unique_ptr<viz::CompositorFrame> frame,
       const CompositorID& compositor_id,
       bool viewport_rect_for_tile_priority_empty,
       const gfx::Transform& transform_for_tile_priority,
@@ -37,11 +35,10 @@
   // Helper to move frame from |frame_future| to |frame|.
   void WaitOnFutureIfNeeded();
 
-  // This is used in async ondraw path. The frame is either in |frame_future|
-  // or |frame|. It's illegal if both are non-null.
+  // The frame is either in |frame_future| or |frame|. It's illegal if both
+  // are non-null.
   scoped_refptr<content::SynchronousCompositor::FrameFuture> frame_future;
-  // These two fields are not const to make async path easier.
-  uint32_t layer_tree_frame_sink_id;
+  uint32_t layer_tree_frame_sink_id = 0u;
   std::unique_ptr<viz::CompositorFrame> frame;
   // The id of the compositor this |frame| comes from.
   const CompositorID compositor_id;
diff --git a/android_webview/browser/compositor_frame_consumer.h b/android_webview/browser/compositor_frame_consumer.h
index 4d51c92a..b3f763a 100644
--- a/android_webview/browser/compositor_frame_consumer.h
+++ b/android_webview/browser/compositor_frame_consumer.h
@@ -51,7 +51,6 @@
       ReturnedResourcesMap* returned_resource_map) = 0;
   virtual bool ReturnedResourcesEmptyOnUI() const = 0;
   virtual ChildFrameQueue PassUncommittedFrameOnUI() = 0;
-  virtual bool HasFrameOnUI() const = 0;
   virtual void DeleteHardwareRendererOnUI() = 0;
 
  protected:
diff --git a/android_webview/browser/render_thread_manager.cc b/android_webview/browser/render_thread_manager.cc
index 9c66bd72..1d139ea 100644
--- a/android_webview/browser/render_thread_manager.cc
+++ b/android_webview/browser/render_thread_manager.cc
@@ -178,27 +178,14 @@
 std::unique_ptr<ChildFrame> RenderThreadManager::SetFrameOnUI(
     std::unique_ptr<ChildFrame> new_frame) {
   DCHECK(new_frame);
-  base::AutoLock lock(lock_);
-
   has_received_frame_ = true;
 
+  base::AutoLock lock(lock_);
   if (child_frames_.empty()) {
     child_frames_.emplace_back(std::move(new_frame));
     return nullptr;
   }
   std::unique_ptr<ChildFrame> uncommitted_frame;
-  if (new_frame->frame) {
-    // Optimization for synchronous path.
-    // TODO(boliu): Remove when synchronous path is fully removed.
-    DCHECK_LE(child_frames_.size(), 1u);
-    if (!child_frames_.empty()) {
-      uncommitted_frame = std::move(child_frames_.front());
-      child_frames_.pop_front();
-    }
-    child_frames_.emplace_back(std::move(new_frame));
-    return uncommitted_frame;
-  }
-
   DCHECK_LE(child_frames_.size(), 2u);
   ChildFrameQueue pruned_frames =
       HardwareRenderer::WaitAndPruneFrameQueue(&child_frames_);
@@ -402,11 +389,6 @@
   compositor_frame_producer_ = compositor_frame_producer;
 }
 
-bool RenderThreadManager::HasFrameOnUI() const {
-  base::AutoLock lock(lock_);
-  return has_received_frame_;
-}
-
 bool RenderThreadManager::HasFrameForHardwareRendererOnRT() const {
   base::AutoLock lock(lock_);
   return !child_frames_.empty();
diff --git a/android_webview/browser/render_thread_manager.h b/android_webview/browser/render_thread_manager.h
index 0f2dede..5fc9f0e 100644
--- a/android_webview/browser/render_thread_manager.h
+++ b/android_webview/browser/render_thread_manager.h
@@ -55,7 +55,6 @@
       ReturnedResourcesMap* returned_resource_map) override;
   bool ReturnedResourcesEmptyOnUI() const override;
   ChildFrameQueue PassUncommittedFrameOnUI() override;
-  bool HasFrameOnUI() const override;
   void DeleteHardwareRendererOnUI() override;
 
   // Render thread methods.
diff --git a/android_webview/browser/test/rendering_test.cc b/android_webview/browser/test/rendering_test.cc
index d19aecb..9561a29 100644
--- a/android_webview/browser/test/rendering_test.cc
+++ b/android_webview/browser/test/rendering_test.cc
@@ -10,7 +10,6 @@
 #include "android_webview/browser/browser_view_renderer.h"
 #include "android_webview/browser/child_frame.h"
 #include "android_webview/browser/render_thread_manager.h"
-#include "android_webview/common/aw_switches.h"
 #include "base/command_line.h"
 #include "base/location.h"
 #include "base/message_loop/message_loop.h"
@@ -48,9 +47,6 @@
 }  // namespace
 
 RenderingTest::RenderingTest() : message_loop_(new base::MessageLoop) {
-  // TODO(boliu): Update unit tests to async code path.
-  base::CommandLine::ForCurrentProcess()->AppendSwitch(
-      switches::kSyncOnDrawHardware);
   ui_task_runner_ = base::ThreadTaskRunnerHandle::Get();
 }
 
diff --git a/android_webview/common/aw_switches.cc b/android_webview/common/aw_switches.cc
index 149a950..f1ff2358 100644
--- a/android_webview/common/aw_switches.cc
+++ b/android_webview/common/aw_switches.cc
@@ -7,7 +7,6 @@
 namespace switches {
 
 const char kEnableWebViewVariations[] = "enable-webview-variations";
-const char kSyncOnDrawHardware[] = "sync-on-draw-hardware";
 const char kWebViewSandboxedRenderer[] = "webview-sandboxed-renderer";
 
 // used to enable safebrowsing functionality in webview
diff --git a/android_webview/common/aw_switches.h b/android_webview/common/aw_switches.h
index 0302be0d..0042064 100644
--- a/android_webview/common/aw_switches.h
+++ b/android_webview/common/aw_switches.h
@@ -8,7 +8,6 @@
 namespace switches {
 
 extern const char kEnableWebViewVariations[];
-extern const char kSyncOnDrawHardware[];
 extern const char kWebViewSandboxedRenderer[];
 extern const char kWebViewEnableSafeBrowsingSupport[];
 extern const char kWebViewDisableSafeBrowsingSupport[];
diff --git a/ash/BUILD.gn b/ash/BUILD.gn
index 1a0a1f8..b59dbc9 100644
--- a/ash/BUILD.gn
+++ b/ash/BUILD.gn
@@ -103,6 +103,8 @@
     "debug.h",
     "detachable_base/detachable_base_handler.cc",
     "detachable_base/detachable_base_handler.h",
+    "detachable_base/detachable_base_notification_controller.cc",
+    "detachable_base/detachable_base_notification_controller.h",
     "detachable_base/detachable_base_observer.h",
     "detachable_base/detachable_base_pairing_status.h",
     "disconnected_app_handler.cc",
@@ -1411,6 +1413,7 @@
     "ash_touch_exploration_manager_chromeos_unittest.cc",
     "autoclick/autoclick_unittest.cc",
     "detachable_base/detachable_base_handler_unittest.cc",
+    "detachable_base/detachable_base_notification_controller_unittest.cc",
     "dip_unittest.cc",
     "display/cursor_window_controller_unittest.cc",
     "display/display_color_manager_chromeos_unittest.cc",
diff --git a/ash/detachable_base/detachable_base_notification_controller.cc b/ash/detachable_base/detachable_base_notification_controller.cc
new file mode 100644
index 0000000..3b85e4e
--- /dev/null
+++ b/ash/detachable_base/detachable_base_notification_controller.cc
@@ -0,0 +1,131 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ash/detachable_base/detachable_base_notification_controller.h"
+
+#include <memory>
+#include <utility>
+
+#include "ash/detachable_base/detachable_base_handler.h"
+#include "ash/detachable_base/detachable_base_pairing_status.h"
+#include "ash/public/cpp/vector_icons/vector_icons.h"
+#include "ash/session/session_controller.h"
+#include "ash/shell.h"
+#include "ash/strings/grit/ash_strings.h"
+#include "base/strings/string16.h"
+#include "ui/base/l10n/l10n_util.h"
+#include "ui/message_center/message_center.h"
+#include "ui/message_center/public/cpp/notification.h"
+#include "ui/message_center/public/cpp/notification_types.h"
+
+namespace ash {
+
+namespace {
+
+constexpr char kDetachableBaseNotifierId[] = "ash.system.detachable_base";
+
+}  // namespace
+
+const char DetachableBaseNotificationController::kBaseChangedNotificationId[] =
+    "chrome://settings/detachable_base/detachable_base_changed";
+
+DetachableBaseNotificationController::DetachableBaseNotificationController(
+    DetachableBaseHandler* detachable_base_handler)
+    : detachable_base_handler_(detachable_base_handler),
+      detachable_base_observer_(this),
+      session_observer_(this) {
+  detachable_base_observer_.Add(detachable_base_handler);
+  ShowPairingNotificationIfNeeded();
+}
+
+DetachableBaseNotificationController::~DetachableBaseNotificationController() =
+    default;
+
+void DetachableBaseNotificationController::OnDetachableBasePairingStatusChanged(
+    DetachableBasePairingStatus status) {
+  ShowPairingNotificationIfNeeded();
+}
+
+void DetachableBaseNotificationController::OnActiveUserSessionChanged(
+    const AccountId& account_id) {
+  // Remove notification shown for the provious user.
+  RemovePairingNotification();
+
+  ShowPairingNotificationIfNeeded();
+}
+
+void DetachableBaseNotificationController::OnSessionStateChanged(
+    session_manager::SessionState state) {
+  // Remove the existing notification if the session gets blocked - lock UI
+  // displays its own warning for base changes, when needed.
+  RemovePairingNotification();
+
+  ShowPairingNotificationIfNeeded();
+}
+
+void DetachableBaseNotificationController::ShowPairingNotificationIfNeeded() {
+  // Do not show the notification if the session is blocked - login/lock UI have
+  // their own UI for notifying the user of the detachable base change.
+  if (Shell::Get()->session_controller()->IsUserSessionBlocked())
+    return;
+
+  const mojom::UserSession* active_session =
+      Shell::Get()->session_controller()->GetUserSession(0);
+  if (!active_session || !active_session->user_info)
+    return;
+
+  DetachableBasePairingStatus pairing_status =
+      detachable_base_handler_->GetPairingStatus();
+  if (pairing_status == DetachableBasePairingStatus::kNone)
+    return;
+
+  const mojom::UserInfo& user_info = *active_session->user_info;
+  if (pairing_status == DetachableBasePairingStatus::kAuthenticated &&
+      detachable_base_handler_->PairedBaseMatchesLastUsedByUser(user_info)) {
+    // Set the current base as last used by the user.
+    // PairedBaseMatchesLastUsedByUser returns true if the user has not
+    // previously used a base, so make sure the last used base value is actually
+    // set.
+    detachable_base_handler_->SetPairedBaseAsLastUsedByUser(user_info);
+    return;
+  }
+
+  // Remove any previously added notifications to ensure the new notification is
+  // shown to the user as a pop-up.
+  RemovePairingNotification();
+
+  message_center::RichNotificationData options;
+  options.never_timeout = true;
+  options.priority = message_center::MAX_PRIORITY;
+
+  base::string16 title = l10n_util::GetStringUTF16(
+      IDS_ASH_DETACHABLE_BASE_NOTIFICATION_DEVICE_CHANGED_TITLE);
+  base::string16 message = l10n_util::GetStringUTF16(
+      IDS_ASH_DETACHABLE_BASE_NOTIFICATION_DEVICE_CHANGED_MESSAGE);
+
+  std::unique_ptr<message_center::Notification> notification =
+      message_center::Notification::CreateSystemNotification(
+          message_center::NOTIFICATION_TYPE_SIMPLE, kBaseChangedNotificationId,
+          title, message, gfx::Image(), base::string16(), GURL(),
+          message_center::NotifierId(
+              message_center::NotifierId::SYSTEM_COMPONENT,
+              kDetachableBaseNotifierId),
+          options, nullptr, kNotificationWarningIcon,
+          message_center::SystemNotificationWarningLevel::CRITICAL_WARNING);
+
+  message_center::MessageCenter::Get()->AddNotification(
+      std::move(notification));
+
+  // At this point the session is unblocked - mark the current base as used by
+  // user (as they have just been notified about the base change).
+  if (pairing_status == DetachableBasePairingStatus::kAuthenticated)
+    detachable_base_handler_->SetPairedBaseAsLastUsedByUser(user_info);
+}
+
+void DetachableBaseNotificationController::RemovePairingNotification() {
+  message_center::MessageCenter::Get()->RemoveNotification(
+      kBaseChangedNotificationId, false);
+}
+
+}  // namespace ash
diff --git a/ash/detachable_base/detachable_base_notification_controller.h b/ash/detachable_base/detachable_base_notification_controller.h
new file mode 100644
index 0000000..4ef736f
--- /dev/null
+++ b/ash/detachable_base/detachable_base_notification_controller.h
@@ -0,0 +1,64 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_DETACHABLE_BASE_DETACHABLE_BASE_NOTIFICATION_CONTROLLER_H_
+#define ASH_DETACHABLE_BASE_DETACHABLE_BASE_NOTIFICATION_CONTROLLER_H_
+
+#include "ash/ash_export.h"
+#include "ash/detachable_base/detachable_base_observer.h"
+#include "ash/session/session_observer.h"
+#include "base/scoped_observer.h"
+
+namespace ash {
+
+class DetachableBaseHandler;
+
+// Observes DetachableBaseHandler to detect changes to detachable base state,
+// and shows relevant notifications as needed:
+//   * when the attached base is different from the last one used by the active
+//     user, it shows a notification warning the user the base has changed, and
+//     that the newly attached base might be malicious (untrusted base might be
+//     tracking the user's key strokes).
+//   * when the attached base could not be authenticated, it warns the user that
+//     the base may not be trusted.
+class ASH_EXPORT DetachableBaseNotificationController
+    : public DetachableBaseObserver,
+      public SessionObserver {
+ public:
+  static const char kBaseChangedNotificationId[];
+
+  explicit DetachableBaseNotificationController(
+      DetachableBaseHandler* detachable_base_handler);
+  ~DetachableBaseNotificationController() override;
+
+  // DetachableBaseObserver:
+  void OnDetachableBasePairingStatusChanged(
+      DetachableBasePairingStatus pairing_status) override;
+
+  // SessionObserver:
+  void OnActiveUserSessionChanged(const AccountId& account_id) override;
+  void OnSessionStateChanged(session_manager::SessionState state) override;
+
+ private:
+  // Called when the session state or detachable base pairing state change.
+  // Determines whether the current state requires showing a notification to the
+  // user, and show kBaseChangedNotificationId if that is the case.
+  void ShowPairingNotificationIfNeeded();
+
+  // Removes kBaseChangedNotificationId notification if it was previously shown
+  // within the current session.
+  void RemovePairingNotification();
+
+  DetachableBaseHandler* detachable_base_handler_;
+
+  ScopedObserver<DetachableBaseHandler, DetachableBaseObserver>
+      detachable_base_observer_;
+  ScopedSessionObserver session_observer_;
+
+  DISALLOW_COPY_AND_ASSIGN(DetachableBaseNotificationController);
+};
+
+}  // namespace ash
+
+#endif  // ASH_DETACHABLE_BASE_DETACHABLE_BASE_NOTIFICATION_CONTROLLER_H_
diff --git a/ash/detachable_base/detachable_base_notification_controller_unittest.cc b/ash/detachable_base/detachable_base_notification_controller_unittest.cc
new file mode 100644
index 0000000..e013327
--- /dev/null
+++ b/ash/detachable_base/detachable_base_notification_controller_unittest.cc
@@ -0,0 +1,234 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ash/detachable_base/detachable_base_notification_controller.h"
+
+#include <string>
+
+#include "ash/detachable_base/detachable_base_handler.h"
+#include "ash/public/interfaces/user_info.mojom.h"
+#include "ash/session/session_controller.h"
+#include "ash/session/test_session_controller_client.h"
+#include "ash/shell.h"
+#include "ash/test/ash_test_base.h"
+#include "base/macros.h"
+#include "base/time/time.h"
+#include "chromeos/dbus/dbus_thread_manager.h"
+#include "chromeos/dbus/fake_power_manager_client.h"
+#include "components/signin/core/account_id/account_id.h"
+#include "components/user_manager/user_type.h"
+#include "ui/message_center/message_center.h"
+
+namespace ash {
+
+mojom::UserInfoPtr CreateTestUserInfo(const std::string& user_email) {
+  auto user_info = mojom::UserInfo::New();
+  user_info->type = user_manager::USER_TYPE_REGULAR;
+  user_info->account_id = AccountId::FromUserEmail(user_email);
+  user_info->display_name = "Test user";
+  user_info->display_email = user_email;
+  user_info->is_ephemeral = false;
+  user_info->is_new_profile = false;
+  return user_info;
+}
+
+class DetachableBaseNotificationControllerTest : public NoSessionAshTestBase {
+ public:
+  DetachableBaseNotificationControllerTest() = default;
+  ~DetachableBaseNotificationControllerTest() override = default;
+
+  void SetUp() override {
+    AshTestBase::SetUp();
+
+    GetPowerManagerClient()->SetTabletMode(
+        chromeos::PowerManagerClient::TabletMode::OFF, base::TimeTicks());
+  }
+
+  chromeos::FakePowerManagerClient* GetPowerManagerClient() {
+    return static_cast<chromeos::FakePowerManagerClient*>(
+        chromeos::DBusThreadManager::Get()->GetPowerManagerClient());
+  }
+
+  bool IsBaseChangedNotificationVisible() {
+    return message_center::MessageCenter::Get()->FindVisibleNotificationById(
+        DetachableBaseNotificationController::kBaseChangedNotificationId);
+  }
+
+  void CloseBaseChangedNotification() {
+    message_center::MessageCenter::Get()->RemoveNotification(
+        DetachableBaseNotificationController::kBaseChangedNotificationId,
+        true /*by_user*/);
+  }
+
+  DetachableBaseHandler* detachable_base_handler() {
+    return Shell::Get()->detachable_base_handler();
+  }
+
+  SessionController* session_controller() {
+    return Shell::Get()->session_controller();
+  }
+
+ private:
+  DISALLOW_COPY_AND_ASSIGN(DetachableBaseNotificationControllerTest);
+};
+
+TEST_F(DetachableBaseNotificationControllerTest,
+       ShowPairingNotificationIfSessionNotBlocked) {
+  CreateUserSessions(1);
+
+  // The first detachable base used by the user - no notification expected.
+  detachable_base_handler()->PairChallengeSucceeded({0x01, 0x01});
+  EXPECT_FALSE(IsBaseChangedNotificationVisible());
+
+  // If the user changes the paired base in session, the detachable base change
+  // notification should be shown.
+  detachable_base_handler()->PairChallengeSucceeded({0x02, 0x02});
+  EXPECT_TRUE(IsBaseChangedNotificationVisible());
+
+  CloseBaseChangedNotification();
+  EXPECT_FALSE(IsBaseChangedNotificationVisible());
+
+  // Verify that the notification is reshown if the base changes again.
+  detachable_base_handler()->PairChallengeSucceeded({0x03, 0x03});
+  EXPECT_TRUE(IsBaseChangedNotificationVisible());
+}
+
+TEST_F(DetachableBaseNotificationControllerTest,
+       ShowNotificationOnNonAuthenticatedBases) {
+  CreateUserSessions(1);
+
+  detachable_base_handler()->PairChallengeFailed();
+  EXPECT_TRUE(IsBaseChangedNotificationVisible());
+}
+
+TEST_F(DetachableBaseNotificationControllerTest,
+       UpdateNotificationOnUserSwitch) {
+  CreateUserSessions(1);
+
+  // The first detachable base used by the user - no notification expected.
+  detachable_base_handler()->PairChallengeSucceeded({0x01, 0x01});
+  EXPECT_FALSE(IsBaseChangedNotificationVisible());
+
+  SimulateUserLogin("secondary_user@test.com");
+  EXPECT_FALSE(IsBaseChangedNotificationVisible());
+
+  detachable_base_handler()->PairChallengeSucceeded({0x02, 0x02});
+  EXPECT_TRUE(IsBaseChangedNotificationVisible());
+  CloseBaseChangedNotification();
+
+  GetSessionControllerClient()->SwitchActiveUser(
+      session_controller()->GetUserSession(1)->user_info->account_id);
+
+  EXPECT_TRUE(IsBaseChangedNotificationVisible());
+}
+
+TEST_F(DetachableBaseNotificationControllerTest,
+       NonAuthenticatedBaseNotificationOnUserSwitch) {
+  CreateUserSessions(1);
+
+  detachable_base_handler()->PairChallengeFailed();
+  EXPECT_TRUE(IsBaseChangedNotificationVisible());
+  CloseBaseChangedNotification();
+
+  SimulateUserLogin("secondary_user@test.com");
+  EXPECT_TRUE(IsBaseChangedNotificationVisible());
+}
+
+TEST_F(DetachableBaseNotificationControllerTest,
+       NoNotificationIfSessionNotStarted) {
+  const char kTestUser[] = "user_1@test.com";
+  mojom::UserInfoPtr test_user_info = CreateTestUserInfo(kTestUser);
+  // Set a detachable base as previously used by the user before log in.
+  detachable_base_handler()->PairChallengeSucceeded({0x01, 0x01});
+  EXPECT_TRUE(detachable_base_handler()->SetPairedBaseAsLastUsedByUser(
+      *test_user_info));
+
+  // Set up another detachable base as attached when the user logs in.
+  detachable_base_handler()->PairChallengeSucceeded({0x02, 0x02});
+  // No active user, so the notification should not be shown, yet.
+  EXPECT_FALSE(IsBaseChangedNotificationVisible());
+
+  SimulateUserLogin(kTestUser);
+  EXPECT_TRUE(IsBaseChangedNotificationVisible());
+}
+
+TEST_F(DetachableBaseNotificationControllerTest,
+       NoNotificationOnSessionStartIfBaseMarkedAsLastUsed) {
+  const char kTestUser[] = "user_1@test.com";
+  mojom::UserInfoPtr test_user_info = CreateTestUserInfo(kTestUser);
+  // Set a detachable base as previously used by the user before log in.
+  detachable_base_handler()->PairChallengeSucceeded({0x01, 0x01});
+  EXPECT_TRUE(detachable_base_handler()->SetPairedBaseAsLastUsedByUser(
+      *test_user_info));
+
+  // Set up another detachable base as attached when the user logs in.
+  detachable_base_handler()->PairChallengeSucceeded({0x02, 0x02});
+  // No active user, so the notification should not be shown, yet.
+  EXPECT_FALSE(IsBaseChangedNotificationVisible());
+
+  // Mark the current device as last used by the user, and verify there is no
+  // notification when the user logs in.
+  EXPECT_TRUE(detachable_base_handler()->SetPairedBaseAsLastUsedByUser(
+      *test_user_info));
+  SimulateUserLogin(kTestUser);
+  EXPECT_FALSE(IsBaseChangedNotificationVisible());
+}
+
+// Tests that a notification for non authenticated base is not shown before the
+// session is started - the login UI will show a custom UI to inform the user
+// about the base.
+TEST_F(DetachableBaseNotificationControllerTest,
+       NonAuthenticatedBaseNotificationNotShownBeforeLogin) {
+  detachable_base_handler()->PairChallengeFailed();
+  EXPECT_FALSE(IsBaseChangedNotificationVisible());
+
+  CreateUserSessions(1);
+  EXPECT_TRUE(IsBaseChangedNotificationVisible());
+}
+
+TEST_F(DetachableBaseNotificationControllerTest, NoNotificationOnLockScreen) {
+  CreateUserSessions(1);
+  // The first detachable base used by the user - no notification expected.
+  detachable_base_handler()->PairChallengeSucceeded({0x01, 0x01});
+
+  BlockUserSession(UserSessionBlockReason::BLOCKED_BY_LOCK_SCREEN);
+
+  detachable_base_handler()->PairChallengeSucceeded({0x02, 0x02});
+  EXPECT_FALSE(IsBaseChangedNotificationVisible());
+
+  UnblockUserSession();
+  EXPECT_TRUE(IsBaseChangedNotificationVisible());
+}
+
+TEST_F(DetachableBaseNotificationControllerTest,
+       NoNotificationAfterLockScreenIfSetAsUsed) {
+  CreateUserSessions(1);
+  // The first detachable base used by the user - no notification expected.
+  detachable_base_handler()->PairChallengeSucceeded({0x01, 0x01});
+  BlockUserSession(UserSessionBlockReason::BLOCKED_BY_LOCK_SCREEN);
+
+  detachable_base_handler()->PairChallengeSucceeded({0x02, 0x02});
+  EXPECT_FALSE(IsBaseChangedNotificationVisible());
+
+  EXPECT_TRUE(detachable_base_handler()->SetPairedBaseAsLastUsedByUser(
+      *session_controller()->GetUserSession(0)->user_info));
+
+  UnblockUserSession();
+  EXPECT_FALSE(IsBaseChangedNotificationVisible());
+}
+
+// Tests that a notification for non authenticated base is not shown before the
+// session is started - the lock UI will show a custom UI to inform the user
+// about the base.
+TEST_F(DetachableBaseNotificationControllerTest,
+       NonAuthenticatedBaseNotificationNotShownOnLock) {
+  BlockUserSession(UserSessionBlockReason::BLOCKED_BY_LOCK_SCREEN);
+  detachable_base_handler()->PairChallengeFailed();
+  EXPECT_FALSE(IsBaseChangedNotificationVisible());
+
+  UnblockUserSession();
+  EXPECT_TRUE(IsBaseChangedNotificationVisible());
+}
+
+}  // namespace ash
diff --git a/ash/message_center/message_center_view.cc b/ash/message_center/message_center_view.cc
index c8623ebb..5d3efdd 100644
--- a/ash/message_center/message_center_view.cc
+++ b/ash/message_center/message_center_view.cc
@@ -590,16 +590,6 @@
   else
     SetVisibilityMode(Mode::NOTIFICATIONS, animate);
 
-  if (no_message_views) {
-    scroller_->SetFocusBehavior(FocusBehavior::NEVER);
-  } else {
-#if defined(OS_MACOSX)
-    scroller_->SetFocusBehavior(FocusBehavior::ACCESSIBLE_ONLY);
-#else
-    scroller_->SetFocusBehavior(FocusBehavior::ALWAYS);
-#endif
-  }
-
   UpdateButtonBarStatus();
 
   if (scroller_->visible())
diff --git a/ash/message_center/message_list_view.cc b/ash/message_center/message_list_view.cc
index 6e6b82b..42739a26 100644
--- a/ash/message_center/message_list_view.cc
+++ b/ash/message_center/message_list_view.cc
@@ -433,17 +433,23 @@
     if (!IsValidChild(view))
       continue;
 
-    if (is_top) {
-      // Expands the notification at top if its expand status is never manually
-      // changed.
-      if (!view->IsManuallyExpandedOrCollapsed() && !view->IsExpanded())
-        view->SetExpanded(true);
-      is_top = false;
-    } else {
-      // Other notifications should be collapsed.
-      if (!view->IsManuallyExpandedOrCollapsed() && view->IsExpanded())
-        view->SetExpanded(false);
-    }
+    if (view->IsManuallyExpandedOrCollapsed())
+      continue;
+
+    // For top notification:
+    // - IsAutoExpandingAllowed() == true:
+    //   Expands the notification at top if its expand status is never manually
+    //   changed if it's allowed.
+    // - IsAutoExpandingAllowed() == false:
+    //   Collapse explicitly if the notification is not allowed to expand.
+    //   This is necessary for the case that the notification is promoted to
+    //   BUNDLED type and gets not-allowed to expand.
+    // For other notifications:
+    // - Should be collapsed.
+    view->SetExpanded(is_top && view->IsAutoExpandingAllowed());
+
+    // The non first notifications is not top.
+    is_top = false;
   }
 }
 
diff --git a/ash/shelf/back_button.h b/ash/shelf/back_button.h
index 1a2c26a..6301d33 100644
--- a/ash/shelf/back_button.h
+++ b/ash/shelf/back_button.h
@@ -27,8 +27,6 @@
 
  protected:
   // views::ImageButton:
-  // TODO(sammiequon): Consider using NotifyClick instead of OnGesture and
-  // OnMouse.
   void OnGestureEvent(ui::GestureEvent* event) override;
   bool OnMousePressed(const ui::MouseEvent& event) override;
   void OnMouseReleased(const ui::MouseEvent& event) override;
diff --git a/ash/shell.cc b/ash/shell.cc
index 2e7c330..14f1138 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -23,6 +23,7 @@
 #include "ash/autoclick/autoclick_controller.h"
 #include "ash/cast_config_controller.h"
 #include "ash/detachable_base/detachable_base_handler.h"
+#include "ash/detachable_base/detachable_base_notification_controller.h"
 #include "ash/display/ash_display_controller.h"
 #include "ash/display/cursor_window_controller.h"
 #include "ash/display/display_color_manager_chromeos.h"
@@ -860,6 +861,9 @@
   // TouchDevicesController depends on the PrefService and must be destructed
   // before it.
   touch_devices_controller_ = nullptr;
+  // DetachableBaseNotificationController depends on DetachableBaseHandler, and
+  // has to be destructed before it.
+  detachable_base_notification_controller_.reset();
   // DetachableBaseHandler depends on the PrefService and must be destructed
   // before it.
   detachable_base_handler_.reset();
@@ -885,6 +889,9 @@
   touch_devices_controller_ = std::make_unique<TouchDevicesController>();
   bluetooth_power_controller_ = std::make_unique<BluetoothPowerController>();
   detachable_base_handler_ = std::make_unique<DetachableBaseHandler>(this);
+  detachable_base_notification_controller_ =
+      std::make_unique<DetachableBaseNotificationController>(
+          detachable_base_handler_.get());
 
   // Connector can be null in tests.
   if (shell_delegate_->GetShellConnector()) {
diff --git a/ash/shell.h b/ash/shell.h
index 0c99232..5c04557 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -93,6 +93,7 @@
 class BrightnessControlDelegate;
 class CastConfigController;
 class DetachableBaseHandler;
+class DetachableBaseNotificationController;
 class DisplayColorManager;
 class DisplayConfigurationController;
 class DisplayErrorObserver;
@@ -667,6 +668,8 @@
   std::unique_ptr<BrightnessControlDelegate> brightness_control_delegate_;
   std::unique_ptr<CastConfigController> cast_config_;
   std::unique_ptr<DetachableBaseHandler> detachable_base_handler_;
+  std::unique_ptr<DetachableBaseNotificationController>
+      detachable_base_notification_controller_;
   std::unique_ptr<DragDropController> drag_drop_controller_;
   std::unique_ptr<FocusCycler> focus_cycler_;
   std::unique_ptr<ImeController> ime_controller_;
diff --git a/ash/system/session/logout_confirmation_controller_unittest.cc b/ash/system/session/logout_confirmation_controller_unittest.cc
index 1c9b77f..c69575e 100644
--- a/ash/system/session/logout_confirmation_controller_unittest.cc
+++ b/ash/system/session/logout_confirmation_controller_unittest.cc
@@ -33,10 +33,6 @@
   scoped_refptr<base::TestMockTimeTaskRunner> runner_;
   base::ThreadTaskRunnerHandle runner_handle_;
 
-  // TODO(tzik): Remove |tick_clock_| after updating GetMockTickClock to own the
-  // instance.
-  std::unique_ptr<base::TickClock> tick_clock_;
-
   LogoutConfirmationController controller_;
 
  private:
@@ -46,9 +42,8 @@
 LogoutConfirmationControllerTest::LogoutConfirmationControllerTest()
     : log_out_called_(false),
       runner_(new base::TestMockTimeTaskRunner),
-      runner_handle_(runner_),
-      tick_clock_(runner_->GetMockTickClock()) {
-  controller_.SetClockForTesting(tick_clock_.get());
+      runner_handle_(runner_) {
+  controller_.SetClockForTesting(runner_->GetMockTickClock());
   controller_.SetLogoutClosureForTesting(base::Bind(
       &LogoutConfirmationControllerTest::LogOut, base::Unretained(this)));
 }
diff --git a/base/task_scheduler/delayed_task_manager_unittest.cc b/base/task_scheduler/delayed_task_manager_unittest.cc
index 8cfe04a2..b485a6c8 100644
--- a/base/task_scheduler/delayed_task_manager_unittest.cc
+++ b/base/task_scheduler/delayed_task_manager_unittest.cc
@@ -34,7 +34,8 @@
 class TaskSchedulerDelayedTaskManagerTest : public testing::Test {
  protected:
   TaskSchedulerDelayedTaskManagerTest()
-      : delayed_task_manager_(service_thread_task_runner_->GetMockTickClock()),
+      : delayed_task_manager_(
+            service_thread_task_runner_->DeprecatedGetMockTickClock()),
         task_(FROM_HERE,
               BindOnce(&MockTask::Run, Unretained(&mock_task_)),
               TaskTraits(),
diff --git a/base/test/scoped_task_environment.cc b/base/test/scoped_task_environment.cc
index 7aeadcf5..81673b3f 100644
--- a/base/test/scoped_task_environment.cc
+++ b/base/test/scoped_task_environment.cc
@@ -233,11 +233,16 @@
   mock_time_task_runner_->FastForwardUntilNoTasksRemain();
 }
 
-std::unique_ptr<TickClock> ScopedTaskEnvironment::GetMockTickClock() {
+TickClock* ScopedTaskEnvironment::GetMockTickClock() {
   DCHECK(mock_time_task_runner_);
   return mock_time_task_runner_->GetMockTickClock();
 }
 
+std::unique_ptr<TickClock> ScopedTaskEnvironment::DeprecatedGetMockTickClock() {
+  DCHECK(mock_time_task_runner_);
+  return mock_time_task_runner_->DeprecatedGetMockTickClock();
+}
+
 ScopedTaskEnvironment::TestTaskTracker::TestTaskTracker()
     : internal::TaskSchedulerImpl::TaskTrackerImpl("ScopedTaskEnvironment"),
       can_run_tasks_cv_(&lock_),
diff --git a/base/test/scoped_task_environment.h b/base/test/scoped_task_environment.h
index 1885541..14f0251 100644
--- a/base/test/scoped_task_environment.h
+++ b/base/test/scoped_task_environment.h
@@ -111,7 +111,8 @@
 
   // Returns a TickClock whose time is updated by
   // FastForward(By|UntilNoTasksRemain).
-  std::unique_ptr<TickClock> GetMockTickClock();
+  TickClock* GetMockTickClock();
+  std::unique_ptr<TickClock> DeprecatedGetMockTickClock();
 
  private:
   class TestTaskTracker;
diff --git a/base/test/scoped_task_environment_unittest.cc b/base/test/scoped_task_environment_unittest.cc
index be58bd7..337d182 100644
--- a/base/test/scoped_task_environment_unittest.cc
+++ b/base/test/scoped_task_environment_unittest.cc
@@ -248,8 +248,7 @@
   ThreadTaskRunnerHandle::Get()->PostDelayedTask(FROM_HERE, base::DoNothing(),
                                                  kLongTaskDelay);
 
-  std::unique_ptr<base::TickClock> tick_clock =
-      scoped_task_environment.GetMockTickClock();
+  base::TickClock* tick_clock = scoped_task_environment.GetMockTickClock();
   base::TimeTicks tick_clock_ref = tick_clock->NowTicks();
 
   // Make sure that |FastForwardBy| advances the clock.
diff --git a/base/test/test_mock_time_task_runner.cc b/base/test/test_mock_time_task_runner.cc
index b5328bb0..9529038 100644
--- a/base/test/test_mock_time_task_runner.cc
+++ b/base/test/test_mock_time_task_runner.cc
@@ -12,65 +12,44 @@
 #include "base/memory/ptr_util.h"
 #include "base/memory/ref_counted.h"
 #include "base/threading/thread_task_runner_handle.h"
-#include "base/time/clock.h"
-#include "base/time/tick_clock.h"
 
 namespace base {
-
 namespace {
 
-// MockTickClock --------------------------------------------------------------
-
-// TickClock that always returns the then-current mock time ticks of
-// |task_runner| as the current time ticks.
-class MockTickClock : public TickClock {
+// LegacyMockTickClock and LegacyMockClock are used by deprecated APIs of
+// TestMockTimeTaskRunner. They will be removed after updating callers of
+// GetMockClock() and GetMockTickClock() to GetMockClockPtr() and
+// GetMockTickClockPtr().
+class LegacyMockTickClock : public TickClock {
  public:
-  explicit MockTickClock(
-      scoped_refptr<const TestMockTimeTaskRunner> task_runner);
+  explicit LegacyMockTickClock(
+      scoped_refptr<const TestMockTimeTaskRunner> task_runner)
+      : task_runner_(std::move(task_runner)) {}
 
   // TickClock:
-  TimeTicks NowTicks() override;
+  TimeTicks NowTicks() override { return task_runner_->NowTicks(); }
 
  private:
   scoped_refptr<const TestMockTimeTaskRunner> task_runner_;
 
-  DISALLOW_COPY_AND_ASSIGN(MockTickClock);
+  DISALLOW_COPY_AND_ASSIGN(LegacyMockTickClock);
 };
 
-MockTickClock::MockTickClock(
-    scoped_refptr<const TestMockTimeTaskRunner> task_runner)
-    : task_runner_(task_runner) {
-}
-
-TimeTicks MockTickClock::NowTicks() {
-  return task_runner_->NowTicks();
-}
-
-// MockClock ------------------------------------------------------------------
-
-// Clock that always returns the then-current mock time of |task_runner| as the
-// current time.
-class MockClock : public Clock {
+class LegacyMockClock : public Clock {
  public:
-  explicit MockClock(scoped_refptr<const TestMockTimeTaskRunner> task_runner);
+  explicit LegacyMockClock(
+      scoped_refptr<const TestMockTimeTaskRunner> task_runner)
+      : task_runner_(std::move(task_runner)) {}
 
   // Clock:
-  Time Now() override;
+  Time Now() override { return task_runner_->Now(); }
 
  private:
   scoped_refptr<const TestMockTimeTaskRunner> task_runner_;
 
-  DISALLOW_COPY_AND_ASSIGN(MockClock);
+  DISALLOW_COPY_AND_ASSIGN(LegacyMockClock);
 };
 
-MockClock::MockClock(scoped_refptr<const TestMockTimeTaskRunner> task_runner)
-    : task_runner_(task_runner) {
-}
-
-Time MockClock::Now() {
-  return task_runner_->Now();
-}
-
 // A SingleThreadTaskRunner which forwards everything to its |target_|. This is
 // useful to break ownership chains when it is known that |target_| will outlive
 // the NonOwningProxyTaskRunner it's injected into. In particular,
@@ -195,7 +174,10 @@
 TestMockTimeTaskRunner::TestMockTimeTaskRunner(Time start_time,
                                                TimeTicks start_ticks,
                                                Type type)
-    : now_(start_time), now_ticks_(start_ticks), tasks_lock_cv_(&tasks_lock_) {
+    : now_(start_time),
+      now_ticks_(start_ticks),
+      tasks_lock_cv_(&tasks_lock_),
+      mock_clock_(this) {
   if (type == Type::kBoundToThread) {
     RunLoop::RegisterDelegateForCurrentThread(this);
     thread_task_runner_handle_ = std::make_unique<ThreadTaskRunnerHandle>(
@@ -241,14 +223,25 @@
   return now_ticks_;
 }
 
-std::unique_ptr<Clock> TestMockTimeTaskRunner::GetMockClock() const {
+std::unique_ptr<Clock> TestMockTimeTaskRunner::DeprecatedGetMockClock() const {
   DCHECK(thread_checker_.CalledOnValidThread());
-  return std::make_unique<MockClock>(this);
+  return std::make_unique<LegacyMockClock>(this);
 }
 
-std::unique_ptr<TickClock> TestMockTimeTaskRunner::GetMockTickClock() const {
+Clock* TestMockTimeTaskRunner::GetMockClock() const {
   DCHECK(thread_checker_.CalledOnValidThread());
-  return std::make_unique<MockTickClock>(this);
+  return &mock_clock_;
+}
+
+std::unique_ptr<TickClock> TestMockTimeTaskRunner::DeprecatedGetMockTickClock()
+    const {
+  DCHECK(thread_checker_.CalledOnValidThread());
+  return std::make_unique<LegacyMockTickClock>(this);
+}
+
+TickClock* TestMockTimeTaskRunner::GetMockTickClock() const {
+  DCHECK(thread_checker_.CalledOnValidThread());
+  return &mock_clock_;
 }
 
 base::circular_deque<TestPendingTask>
@@ -420,4 +413,12 @@
   // doesn't need an extra kick on nested runs.
 }
 
+TimeTicks TestMockTimeTaskRunner::MockClock::NowTicks() {
+  return task_runner_->NowTicks();
+}
+
+Time TestMockTimeTaskRunner::MockClock::Now() {
+  return task_runner_->Now();
+}
+
 }  // namespace base
diff --git a/base/test/test_mock_time_task_runner.h b/base/test/test_mock_time_task_runner.h
index acc2ff70..0ad8247 100644
--- a/base/test/test_mock_time_task_runner.h
+++ b/base/test/test_mock_time_task_runner.h
@@ -20,12 +20,12 @@
 #include "base/synchronization/lock.h"
 #include "base/test/test_pending_task.h"
 #include "base/threading/thread_checker_impl.h"
+#include "base/time/clock.h"
+#include "base/time/tick_clock.h"
 #include "base/time/time.h"
 
 namespace base {
 
-class Clock;
-class TickClock;
 class ThreadTaskRunnerHandle;
 
 // Runs pending tasks in the order of the tasks' post time + delay, and keeps
@@ -159,11 +159,17 @@
 
   // Returns a Clock that uses the virtual time of |this| as its time source.
   // The returned Clock will hold a reference to |this|.
-  std::unique_ptr<Clock> GetMockClock() const;
+  // TODO(tzik): Remove DeprecatedGetMockClock() after updating all callers to
+  // use non-owning Clock.
+  std::unique_ptr<Clock> DeprecatedGetMockClock() const;
+  Clock* GetMockClock() const;
 
   // Returns a TickClock that uses the virtual time ticks of |this| as its tick
   // source. The returned TickClock will hold a reference to |this|.
-  std::unique_ptr<TickClock> GetMockTickClock() const;
+  // TODO(tzik): Replace Remove DeprecatedGetMockTickClock() after updating all
+  // callers to use non-owning TickClock.
+  std::unique_ptr<TickClock> DeprecatedGetMockTickClock() const;
+  TickClock* GetMockTickClock() const;
 
   base::circular_deque<TestPendingTask> TakePendingTasks();
   bool HasPendingTask() const;
@@ -195,6 +201,25 @@
   virtual void OnAfterTaskRun();
 
  private:
+  // MockClock implements TickClock and Clock. Always returns the then-current
+  // mock time of |task_runner| as the current time or time ticks.
+  class MockClock : public TickClock, public Clock {
+   public:
+    explicit MockClock(TestMockTimeTaskRunner* task_runner)
+        : task_runner_(task_runner) {}
+
+    // TickClock:
+    TimeTicks NowTicks() override;
+
+    // Clock:
+    Time Now() override;
+
+   private:
+    TestMockTimeTaskRunner* task_runner_;
+
+    DISALLOW_COPY_AND_ASSIGN(MockClock);
+  };
+
   struct TestOrderedPendingTask;
 
   // Predicate that defines a strict weak temporal ordering of tasks.
@@ -254,6 +279,8 @@
   // RunLoop::Delegate::Run() instance to stop, reset to false when it does.
   bool quit_run_loop_ = false;
 
+  mutable MockClock mock_clock_;
+
   DISALLOW_COPY_AND_ASSIGN(TestMockTimeTaskRunner);
 };
 
diff --git a/base/timer/timer_unittest.cc b/base/timer/timer_unittest.cc
index a868441..aaab237 100644
--- a/base/timer/timer_unittest.cc
+++ b/base/timer/timer_unittest.cc
@@ -435,11 +435,10 @@
 TEST(TimerTest, OneShotTimerWithTickClock) {
   scoped_refptr<TestMockTimeTaskRunner> task_runner(
       new TestMockTimeTaskRunner(Time::Now(), TimeTicks::Now()));
-  std::unique_ptr<TickClock> tick_clock(task_runner->GetMockTickClock());
   MessageLoop message_loop;
   message_loop.SetTaskRunner(task_runner);
   Receiver receiver;
-  OneShotTimer timer(tick_clock.get());
+  OneShotTimer timer(task_runner->GetMockTickClock());
   timer.Start(FROM_HERE, TimeDelta::FromSeconds(1),
               Bind(&Receiver::OnCalled, Unretained(&receiver)));
   task_runner->FastForwardBy(TimeDelta::FromSeconds(1));
@@ -477,12 +476,11 @@
 TEST(TimerTest, RepeatingTimerWithTickClock) {
   scoped_refptr<TestMockTimeTaskRunner> task_runner(
       new TestMockTimeTaskRunner(Time::Now(), TimeTicks::Now()));
-  std::unique_ptr<TickClock> tick_clock(task_runner->GetMockTickClock());
   MessageLoop message_loop;
   message_loop.SetTaskRunner(task_runner);
   Receiver receiver;
   const int expected_times_called = 10;
-  RepeatingTimer timer(tick_clock.get());
+  RepeatingTimer timer(task_runner->GetMockTickClock());
   timer.Start(FROM_HERE, TimeDelta::FromSeconds(1),
               Bind(&Receiver::OnCalled, Unretained(&receiver)));
   task_runner->FastForwardBy(TimeDelta::FromSeconds(expected_times_called));
@@ -518,12 +516,11 @@
 TEST(TimerTest, DelayTimerWithTickClock) {
   scoped_refptr<TestMockTimeTaskRunner> task_runner(
       new TestMockTimeTaskRunner(Time::Now(), TimeTicks::Now()));
-  std::unique_ptr<TickClock> tick_clock(task_runner->GetMockTickClock());
   MessageLoop message_loop;
   message_loop.SetTaskRunner(task_runner);
   Receiver receiver;
   DelayTimer timer(FROM_HERE, TimeDelta::FromSeconds(1), &receiver,
-                   &Receiver::OnCalled, tick_clock.get());
+                   &Receiver::OnCalled, task_runner->GetMockTickClock());
   task_runner->FastForwardBy(TimeDelta::FromMilliseconds(999));
   EXPECT_FALSE(receiver.WasCalled());
   timer.Reset();
diff --git a/build/config/linux/pkg_config.gni b/build/config/linux/pkg_config.gni
index 8f95457e..c957abc 100644
--- a/build/config/linux/pkg_config.gni
+++ b/build/config/linux/pkg_config.gni
@@ -57,7 +57,7 @@
   # Pass the sysroot if we're using one (it requires the CPU arch also).
   pkg_config_args += [
     "-s",
-    rebase_path(sysroot),
+    rebase_path(sysroot, root_build_dir),
     "-a",
     current_cpu,
   ]
diff --git a/chrome/VERSION b/chrome/VERSION
index 566606e7..d3849b1d 100644
--- a/chrome/VERSION
+++ b/chrome/VERSION
@@ -1,4 +1,4 @@
 MAJOR=67
 MINOR=0
-BUILD=3365
+BUILD=3366
 PATCH=0
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
index aa84f41..fa87f83 100644
--- a/chrome/android/BUILD.gn
+++ b/chrome/android/BUILD.gn
@@ -596,6 +596,7 @@
   data = [
     "//chrome/test/data/android/",
     "//chrome/test/data/banners/",
+    "//chrome/test/data/browsing_data/",
     "//chrome/test/data/encoding_tests/auto_detect/Big5_with_no_encoding_specified.html",
     "//chrome/test/data/geolocation/",
     "//chrome/test/data/google/",
diff --git a/chrome/android/java/res/OWNERS b/chrome/android/java/res/OWNERS
index 94f8c72..7eb2f55 100644
--- a/chrome/android/java/res/OWNERS
+++ b/chrome/android/java/res/OWNERS
@@ -1,11 +1,11 @@
+# This restriction is in place to avoid accidential addition to our top level
+# layout files, such as add duplicated assets, or introducing new colors when
+# we don't want them.
 set noparent
-dtrainor@chromium.org
-tedchoc@chromium.org
-twellington@chromium.org
-yusufo@chromium.org
+
+file://content/public/android/java/res/OWNERS
 
 # New Tab Page changes only:
-bauerb@chromium.org
 dgn@chromium.org
 mvanouwerkerk@chromium.org
 peconn@chromium.org
diff --git a/chrome/android/java/res_chromium/OWNERS b/chrome/android/java/res_chromium/OWNERS
index 65d6873..ee18b415 100644
--- a/chrome/android/java/res_chromium/OWNERS
+++ b/chrome/android/java/res_chromium/OWNERS
@@ -1,4 +1,8 @@
+# This restriction is in place to avoid accidential addition to our top level
+# layout files, such as add duplicated assets, or introducing new colors when
+# we don't want them.
 set noparent
+
 file://chrome/android/java/res/OWNERS
 # COMPONENT: UI>Browser>Mobile
 # OS: Android
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java
index dc9bdf7..20d00be 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java
@@ -242,6 +242,7 @@
     public static final String PROGRESS_BAR_THROTTLE = "ProgressBarThrottle";
     public static final String PWA_PERSISTENT_NOTIFICATION = "PwaPersistentNotification";
     public static final String READER_MODE_IN_CCT = "ReaderModeInCCT";
+    public static final String REMOVE_NAVIGATION_HISTORY = "RemoveNavigationHistory";
     public static final String SERVICE_WORKER_PAYMENT_APPS = "ServiceWorkerPaymentApps";
     public static final String SITE_NOTIFICATION_CHANNELS = "SiteNotificationChannels";
     public static final String SOLE_INTEGRATION = "SoleIntegration";
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/TabState.java b/chrome/android/java/src/org/chromium/chrome/browser/TabState.java
index 525869e8..88e60001d 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/TabState.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/TabState.java
@@ -7,6 +7,7 @@
 import android.graphics.Color;
 import android.os.Build;
 import android.os.Handler;
+import android.support.annotation.Nullable;
 import android.util.Log;
 import android.util.Pair;
 
@@ -93,6 +94,21 @@
         }
 
         /**
+         * Deletes navigation entries from this buffer matching predicate.
+         * @param predicate Handle for a deletion predicate interpreted by native code.
+                            Only valid during this call frame.
+         * @return WebContentsState A new state or null if nothing changed.
+         */
+        @Nullable
+        public WebContentsState deleteNavigationEntries(long predicate) {
+            ByteBuffer newBuffer = nativeDeleteNavigationEntries(mBuffer, mVersion, predicate);
+            if (newBuffer == null) return null;
+            WebContentsState newState = new TabState.WebContentsStateNative(newBuffer);
+            newState.setVersion(TabState.CONTENTS_STATE_CURRENT_VERSION);
+            return newState;
+        }
+
+        /**
          * Creates a WebContents for the ContentsState and adds it as an historical tab, then
          * deletes the WebContents.
          */
@@ -470,6 +486,9 @@
 
     private static native ByteBuffer nativeGetContentsStateAsByteBuffer(Tab tab);
 
+    private static native ByteBuffer nativeDeleteNavigationEntries(
+            ByteBuffer state, int saveStateVersion, long predicate);
+
     private static native ByteBuffer nativeCreateSingleNavigationStateAsByteBuffer(
             String url, String referrerUrl, int referrerPolicy, boolean isIncognito);
 
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/signin/AccountSigninView.java b/chrome/android/java/src/org/chromium/chrome/browser/signin/AccountSigninView.java
index ff4ffa67..14fd8bf 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/signin/AccountSigninView.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/signin/AccountSigninView.java
@@ -281,10 +281,12 @@
         initAccessPoint(accessPoint);
         mIsChildAccount = arguments.getBoolean(ARGUMENT_IS_CHILD_ACCOUNT, false);
         mUndoBehavior = arguments.getInt(ARGUMENT_UNDO_BEHAVIOR, -1);
+        mSigninFlowType = arguments.getInt(ARGUMENT_SIGNIN_FLOW_TYPE, -1);
         mDelegate = delegate;
         mListener = listener;
 
-        mSigninFlowType = arguments.getInt(ARGUMENT_SIGNIN_FLOW_TYPE, -1);
+        updateConsentText();
+
         switch (mSigninFlowType) {
             case SIGNIN_FLOW_DEFAULT:
                 showSigninPage();
@@ -306,8 +308,6 @@
                 assert false : "Unknown or missing signin flow type: " + mSigninFlowType;
                 return;
         }
-
-        updateConsentText();
     }
 
     public @SigninFlowType int getSigninFlowType() {
@@ -365,7 +365,7 @@
                 mIsChildAccount ? R.string.sync_confirmation_personalize_services_body_child_account
                                 : R.string.sync_confirmation_personalize_services_body);
         setText(mSigninSettingsControl, R.string.signin_signed_in_settings_description);
-        setText(mNegativeButton, R.string.fre_skip_text);
+        setText(mNegativeButton, mCancelButtonTextId);
         setText(mPositiveButton, R.string.choose_account_sign_in);
         setText(mMoreButton, R.string.more);
 
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java b/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
index 47c27ff..5abad2d 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
@@ -2738,6 +2738,21 @@
     }
 
     /**
+     * Delete navigation entries from frozen state matching the predicate.
+     * @param predicate Handle for a deletion predicate interpreted by native code.
+     *                  Only valid during this call frame.
+     */
+    @CalledByNative
+    private void deleteNavigationEntriesFromFrozenState(long predicate) {
+        if (mFrozenContentsState == null) return;
+        WebContentsState newState = mFrozenContentsState.deleteNavigationEntries(predicate);
+        if (newState != null) {
+            mFrozenContentsState = newState;
+            notifyNavigationEntriesDeleted();
+        }
+    }
+
+    /**
      * @return The reason the Tab was launched.
      */
     public TabLaunchType getLaunchType() {
diff --git a/chrome/android/java/strings/android_chrome_strings.grd b/chrome/android/java/strings/android_chrome_strings.grd
index 6e91969..b65b8ff 100644
--- a/chrome/android/java/strings/android_chrome_strings.grd
+++ b/chrome/android/java/strings/android_chrome_strings.grd
@@ -2248,9 +2248,6 @@
       <message name="IDS_FRE_ACTIVITY_LABEL" desc="Label for first run dialog in Android Recents.">
         Chrome First Run Experience
       </message>
-      <message name="IDS_FRE_SKIP_TEXT" desc="Text for second page skip button">
-        No thanks
-      </message>
       <message name="IDS_FRE_TOS_AND_PRIVACY" desc="Message explaining that use of Chrome is governed by Chrome's terms of service and privacy notice.">
         By using this application, you agree to Chrome’s <ph name="BEGIN_LINK1">&lt;LINK1&gt;</ph>Terms of Service<ph name="END_LINK1">&lt;/LINK1&gt;</ph> and <ph name="BEGIN_LINK2">&lt;LINK2&gt;</ph>Privacy Notice<ph name="END_LINK2">&lt;/LINK2&gt;</ph>.
       </message>
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/NewTabPageTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/NewTabPageTest.java
index 039e434c..62c6df9 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/NewTabPageTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/NewTabPageTest.java
@@ -284,7 +284,7 @@
      * Tests opening a most visited item in a new tab.
      */
     @Test
-    @DisabledTest // Flaked on the try bot. http://crbug.com/543138
+    @DisabledTest(message = "Flaked on the try bot. http://crbug.com/543138")
     @SmallTest
     @Feature({"NewTabPage"})
     public void testOpenMostVisitedItemInNewTab() throws InterruptedException {
@@ -296,6 +296,8 @@
      * Tests opening a most visited item in a new incognito tab.
      */
     @Test
+    @DisabledTest(
+            message = "Suspected to be causing #testRender to flake. https://crbug.com/813589.")
     @SmallTest
     @Feature({"NewTabPage"})
     public void testOpenMostVisitedItemInIncognitoTab() throws InterruptedException {
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTest.java
index f47aef0..d0112b2 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTest.java
@@ -4,6 +4,12 @@
 
 package org.chromium.chrome.browser.preferences.privacy;
 
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNull;
+import static org.junit.Assert.assertThat;
+import static org.junit.Assert.assertTrue;
+
 import android.content.Intent;
 import android.preference.CheckBoxPreference;
 import android.preference.Preference;
@@ -15,11 +21,13 @@
 import android.widget.Button;
 import android.widget.ListView;
 
+import org.hamcrest.Matchers;
 import org.junit.After;
 import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Rule;
 import org.junit.Test;
+import org.junit.rules.TestRule;
 import org.junit.runner.RunWith;
 
 import org.chromium.base.ThreadUtils;
@@ -31,23 +39,31 @@
 import org.chromium.chrome.browser.ChromeFeatureList;
 import org.chromium.chrome.browser.ChromeSwitches;
 import org.chromium.chrome.browser.ShortcutHelper;
+import org.chromium.chrome.browser.TabState;
 import org.chromium.chrome.browser.browsing_data.ClearBrowsingDataTab;
 import org.chromium.chrome.browser.preferences.PrefServiceBridge;
 import org.chromium.chrome.browser.preferences.Preferences;
 import org.chromium.chrome.browser.preferences.privacy.ClearBrowsingDataPreferences.DialogOption;
 import org.chromium.chrome.browser.preferences.website.ContentSetting;
 import org.chromium.chrome.browser.preferences.website.NotificationInfo;
+import org.chromium.chrome.browser.tab.Tab;
 import org.chromium.chrome.browser.webapps.TestFetchStorageCallback;
 import org.chromium.chrome.browser.webapps.WebappDataStorage;
 import org.chromium.chrome.browser.webapps.WebappRegistry;
 import org.chromium.chrome.test.ChromeActivityTestRule;
 import org.chromium.chrome.test.ChromeJUnit4ClassRunner;
+import org.chromium.chrome.test.util.browser.Features;
+import org.chromium.chrome.test.util.browser.Features.EnableFeatures;
 import org.chromium.chrome.test.util.browser.signin.SigninTestUtil;
 import org.chromium.content.browser.test.util.Criteria;
 import org.chromium.content.browser.test.util.CriteriaHelper;
+import org.chromium.content_public.browser.NavigationController;
+import org.chromium.content_public.browser.NavigationEntry;
+import org.chromium.content_public.browser.WebContents;
 import org.chromium.net.test.EmbeddedTestServer;
 
 import java.net.URL;
+import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.HashSet;
 import java.util.List;
@@ -62,6 +78,8 @@
     @Rule
     public ChromeActivityTestRule<ChromeActivity> mActivityTestRule =
             new ChromeActivityTestRule<>(ChromeActivity.class);
+    @Rule
+    public TestRule mProcessor = new Features.InstrumentationProcessor();
 
     private EmbeddedTestServer mTestServer;
 
@@ -527,6 +545,93 @@
                 "true", mActivityTestRule.runJavaScriptCodeInCurrentTab("hasAllStorage()"));
     }
 
+    /**
+     * Tests navigation entries are removed by history deletions.
+     */
+    @Test
+    @EnableFeatures(ChromeFeatureList.REMOVE_NAVIGATION_HISTORY)
+    @MediumTest
+    public void testNavigationDeletion() throws Exception {
+        final String url1 = mTestServer.getURL("/chrome/test/data/browsing_data/a.html");
+        final String url2 = mTestServer.getURL("/chrome/test/data/browsing_data/b.html");
+
+        // Navigate to url1 and url2.
+        Tab tab = mActivityTestRule.loadUrlInNewTab(url1);
+        mActivityTestRule.loadUrl(url2);
+        NavigationController controller = tab.getWebContents().getNavigationController();
+        assertTrue(tab.canGoBack());
+        assertEquals(1, controller.getLastCommittedEntryIndex());
+        assertThat(getUrls(controller), Matchers.contains(url1, url2));
+
+        // Clear history.
+        setDataTypesToClear(Arrays.asList(DialogOption.CLEAR_HISTORY));
+        ClearBrowsingDataPreferences preferences =
+                (ClearBrowsingDataPreferences) startPreferences().getFragmentForTest();
+        ThreadUtils.runOnUiThreadBlocking(() -> clickClearButton(preferences));
+        waitForProgressToComplete(preferences);
+
+        // Check navigation entries.
+        assertFalse(tab.canGoBack());
+        assertEquals(0, controller.getLastCommittedEntryIndex());
+        assertThat(getUrls(controller), Matchers.contains(url2));
+    }
+
+    /**
+     * Tests navigation entries from frozen state are removed by history deletions.
+     */
+    @Test
+    @MediumTest
+    @EnableFeatures(ChromeFeatureList.REMOVE_NAVIGATION_HISTORY)
+    public void testFrozenNavigationDeletion() throws Exception {
+        final String url1 = mTestServer.getURL("/chrome/test/data/browsing_data/a.html");
+        final String url2 = mTestServer.getURL("/chrome/test/data/browsing_data/b.html");
+
+        // Navigate to url1 and url2, close and recreate as frozen tab.
+        Tab tab = mActivityTestRule.loadUrlInNewTab(url1);
+        mActivityTestRule.loadUrl(url2);
+        Tab[] frozen = new Tab[1];
+        WebContents[] restored = new WebContents[1];
+        ThreadUtils.runOnUiThreadBlocking(() -> {
+            TabState state = tab.getState();
+            mActivityTestRule.getActivity().getCurrentTabModel().closeTab(tab);
+            frozen[0] = mActivityTestRule.getActivity().getCurrentTabCreator().createFrozenTab(
+                    state, tab.getId(), 1);
+            restored[0] = frozen[0].getState().contentsState.restoreContentsFromByteBuffer(false);
+        });
+
+        // Check content of frozen state.
+        NavigationController controller = restored[0].getNavigationController();
+        assertEquals(1, controller.getLastCommittedEntryIndex());
+        assertThat(getUrls(controller), Matchers.contains(url1, url2));
+        assertNull(frozen[0].getWebContents());
+
+        // Delete history.
+        setDataTypesToClear(Arrays.asList(DialogOption.CLEAR_HISTORY));
+        ClearBrowsingDataPreferences preferences =
+                (ClearBrowsingDataPreferences) startPreferences().getFragmentForTest();
+        ThreadUtils.runOnUiThreadBlocking(() -> clickClearButton(preferences));
+        waitForProgressToComplete(preferences);
+
+        // Check that frozen state was cleaned up.
+        ThreadUtils.runOnUiThreadBlocking(() -> {
+            restored[0] = frozen[0].getState().contentsState.restoreContentsFromByteBuffer(false);
+        });
+        controller = restored[0].getNavigationController();
+        assertEquals(0, controller.getLastCommittedEntryIndex());
+        assertThat(getUrls(controller), Matchers.contains(url2));
+        assertNull(frozen[0].getWebContents());
+    }
+
+    private List<String> getUrls(NavigationController controller) {
+        List<String> urls = new ArrayList<>();
+        int i = 0;
+        while (true) {
+            NavigationEntry entry = controller.getEntryAtIndex(i++);
+            if (entry == null) return urls;
+            urls.add(entry.getUrl());
+        }
+    }
+
     private void setDataTypesToClear(final List<DialogOption> typesToClear) {
         ThreadUtils.runOnUiThreadBlocking(() -> {
             for (DialogOption option : DialogOption.values()) {
diff --git a/chrome/android/profiles/newest.txt b/chrome/android/profiles/newest.txt
index 3241928..77d1b73 100644
--- a/chrome/android/profiles/newest.txt
+++ b/chrome/android/profiles/newest.txt
@@ -1 +1 @@
-chromeos-chrome-amd64-67.0.3364.0_rc-r1.afdo.bz2
\ No newline at end of file
+chromeos-chrome-amd64-67.0.3365.0_rc-r1.afdo.bz2
\ No newline at end of file
diff --git a/chrome/browser/android/oom_intervention/oom_intervention_tab_helper.cc b/chrome/browser/android/oom_intervention/oom_intervention_tab_helper.cc
index 0bc0ba4..8242f7ea 100644
--- a/chrome/browser/android/oom_intervention/oom_intervention_tab_helper.cc
+++ b/chrome/browser/android/oom_intervention/oom_intervention_tab_helper.cc
@@ -247,6 +247,8 @@
     return;
 
   if (ShouldDetectInRenderer()) {
+    if (binding_.is_bound())
+      return;
     StartDetectionInRenderer();
   } else {
     subscription_ = NearOomMonitor::GetInstance()->RegisterCallback(
@@ -277,6 +279,7 @@
   DCHECK(render_process_host);
   content::BindInterface(render_process_host,
                          mojo::MakeRequest(&intervention_));
+  DCHECK(!binding_.is_bound());
   blink::mojom::OomInterventionHostPtr host;
   binding_.Bind(mojo::MakeRequest(&host));
   intervention_->StartDetection(std::move(host), trigger_intervention);
diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc
index fa73556..6e00023 100644
--- a/chrome/browser/android/tab_android.cc
+++ b/chrome/browser/android/tab_android.cc
@@ -238,6 +238,13 @@
   return synced_tab_delegate_.get();
 }
 
+void TabAndroid::DeleteFrozenNavigationEntries(
+    const WebContentsState::DeletionPredicate& predicate) {
+  JNIEnv* env = base::android::AttachCurrentThread();
+  Java_Tab_deleteNavigationEntriesFromFrozenState(
+      env, weak_java_tab_.get(env), reinterpret_cast<intptr_t>(&predicate));
+}
+
 void TabAndroid::SetWindowSessionID(SessionID::id_type window_id) {
   session_window_id_.set_id(window_id);
 
diff --git a/chrome/browser/android/tab_android.h b/chrome/browser/android/tab_android.h
index 2cc1c17..42270ed6 100644
--- a/chrome/browser/android/tab_android.h
+++ b/chrome/browser/android/tab_android.h
@@ -16,6 +16,7 @@
 #include "base/macros.h"
 #include "base/memory/weak_ptr.h"
 #include "base/strings/string16.h"
+#include "chrome/browser/android/tab_state.h"
 #include "chrome/browser/sync/glue/synced_tab_delegate_android.h"
 #include "chrome/browser/ui/tab_contents/core_tab_helper_delegate.h"
 #include "components/favicon/core/favicon_driver_observer.h"
@@ -114,6 +115,10 @@
   Profile* GetProfile() const;
   sync_sessions::SyncedTabDelegate* GetSyncedTabDelegate() const;
 
+  // Delete navigation entries matching predicate from frozen state.
+  void DeleteFrozenNavigationEntries(
+      const WebContentsState::DeletionPredicate& predicate);
+
   void SetWindowSessionID(SessionID::id_type window_id);
   void SetSyncId(int sync_id);
 
diff --git a/chrome/browser/android/tab_state.cc b/chrome/browser/android/tab_state.cc
index 328c7f82..77b3c1cc 100644
--- a/chrome/browser/android/tab_state.cc
+++ b/chrome/browser/android/tab_state.cc
@@ -282,54 +282,24 @@
   return true;
 }
 
-};  // anonymous namespace
-
-ScopedJavaLocalRef<jobject> WebContentsState::GetContentsStateAsByteBuffer(
-    JNIEnv* env,
-    TabAndroid* tab) {
-  Profile* profile = tab->GetProfile();
-  if (!profile)
-    return ScopedJavaLocalRef<jobject>();
-
-  content::NavigationController& controller =
-      tab->web_contents()->GetController();
-  const int entry_count = controller.GetEntryCount();
-  if (entry_count == 0)
-    return ScopedJavaLocalRef<jobject>();
-
-  std::vector<content::NavigationEntry*> navigations(entry_count);
-  for (int i = 0; i < entry_count; ++i) {
-    navigations[i] = controller.GetEntryAtIndex(i);
-  }
-
-  return WebContentsState::WriteNavigationsAsByteBuffer(
-      env, profile->IsOffTheRecord(), navigations,
-      controller.GetLastCommittedEntryIndex());
-}
-
-// Common implementation for GetContentsStateAsByteBuffer() and
-// CreateContentsStateAsByteBuffer(). Does not assume ownership of the
-// navigations.
-ScopedJavaLocalRef<jobject> WebContentsState::WriteNavigationsAsByteBuffer(
+ScopedJavaLocalRef<jobject> WriteSerializedNavigationsAsByteBuffer(
     JNIEnv* env,
     bool is_off_the_record,
-    const std::vector<content::NavigationEntry*>& navigations,
+    const std::vector<sessions::SerializedNavigationEntry>& navigations,
     int current_entry) {
   base::Pickle pickle;
   WriteStateHeaderToPickle(is_off_the_record, navigations.size(),
                            current_entry, &pickle);
 
   // Write out all of the NavigationEntrys.
-  for (size_t i = 0; i < navigations.size(); ++i) {
+  for (const auto& navigation : navigations) {
     // Write each SerializedNavigationEntry as a separate pickle to avoid
     // optional reads of one tab bleeding into the next tab's data.
     base::Pickle tab_navigation_pickle;
     // Max size taken from BaseSessionService::CreateUpdateTabNavigationCommand.
     static const size_t max_state_size =
         std::numeric_limits<sessions::SessionCommand::size_type>::max() - 1024;
-    sessions::ContentSerializedNavigationBuilder::FromNavigationEntry(
-        i, *navigations[i])
-        .WriteToPickle(max_state_size, &tab_navigation_pickle);
+    navigation.WriteToPickle(max_state_size, &tab_navigation_pickle);
     pickle.WriteInt(tab_navigation_pickle.size());
     pickle.WriteBytes(tab_navigation_pickle.data(),
                       tab_navigation_pickle.size());
@@ -352,6 +322,115 @@
   return jb;
 }
 
+// Common implementation for GetContentsStateAsByteBuffer() and
+// CreateContentsStateAsByteBuffer(). Does not assume ownership of the
+// navigations.
+ScopedJavaLocalRef<jobject> WriteNavigationsAsByteBuffer(
+    JNIEnv* env,
+    bool is_off_the_record,
+    const std::vector<content::NavigationEntry*>& navigations,
+    int current_entry) {
+  std::vector<sessions::SerializedNavigationEntry> serialized;
+  for (size_t i = 0; i < navigations.size(); ++i) {
+    serialized.push_back(
+        sessions::ContentSerializedNavigationBuilder::FromNavigationEntry(
+            i, *navigations[i]));
+  }
+  return WriteSerializedNavigationsAsByteBuffer(env, is_off_the_record,
+                                                serialized, current_entry);
+}
+
+// Restores a WebContents from the passed in state.
+WebContents* RestoreContentsFromByteBuffer(void* data,
+                                           int size,
+                                           int saved_state_version,
+                                           bool initially_hidden) {
+  bool is_off_the_record;
+  int current_entry_index;
+  std::vector<sessions::SerializedNavigationEntry> navigations;
+  bool success = ExtractNavigationEntries(data, size, saved_state_version,
+                                          &is_off_the_record,
+                                          &current_entry_index, &navigations);
+  if (!success)
+    return NULL;
+
+  Profile* profile = ProfileManager::GetActiveUserProfile();
+  std::vector<std::unique_ptr<content::NavigationEntry>> entries =
+      sessions::ContentSerializedNavigationBuilder::ToNavigationEntries(
+          navigations, profile);
+
+  if (is_off_the_record)
+    profile = profile->GetOffTheRecordProfile();
+  WebContents::CreateParams params(profile);
+  params.initially_hidden = initially_hidden;
+  std::unique_ptr<WebContents> web_contents(WebContents::Create(params));
+  web_contents->GetController().Restore(
+      current_entry_index, content::RestoreType::CURRENT_SESSION, &entries);
+  return web_contents.release();
+}
+
+};  // anonymous namespace
+
+ScopedJavaLocalRef<jobject> WebContentsState::GetContentsStateAsByteBuffer(
+    JNIEnv* env,
+    TabAndroid* tab) {
+  Profile* profile = tab->GetProfile();
+  if (!profile)
+    return ScopedJavaLocalRef<jobject>();
+
+  content::NavigationController& controller =
+      tab->web_contents()->GetController();
+  const int entry_count = controller.GetEntryCount();
+  if (entry_count == 0)
+    return ScopedJavaLocalRef<jobject>();
+
+  std::vector<content::NavigationEntry*> navigations(entry_count);
+  for (int i = 0; i < entry_count; ++i) {
+    navigations[i] = controller.GetEntryAtIndex(i);
+  }
+
+  return WriteNavigationsAsByteBuffer(env, profile->IsOffTheRecord(),
+                                      navigations,
+                                      controller.GetLastCommittedEntryIndex());
+}
+
+ScopedJavaLocalRef<jobject>
+WebContentsState::DeleteNavigationEntriesFromByteBuffer(
+    JNIEnv* env,
+    void* data,
+    int size,
+    int saved_state_version,
+    const DeletionPredicate& predicate) {
+  bool is_off_the_record;
+  int current_entry_index;
+  std::vector<sessions::SerializedNavigationEntry> navigations;
+  bool success = ExtractNavigationEntries(data, size, saved_state_version,
+                                          &is_off_the_record,
+                                          &current_entry_index, &navigations);
+  if (!success)
+    return ScopedJavaLocalRef<jobject>();
+
+  std::vector<sessions::SerializedNavigationEntry> new_navigations;
+  int deleted_navigations = 0;
+  for (auto& navigation : navigations) {
+    if (current_entry_index != navigation.index() &&
+        predicate.Run(navigation)) {
+      deleted_navigations++;
+    } else {
+      // Adjust indices according to number of deleted navigations.
+      if (current_entry_index == navigation.index())
+        current_entry_index -= deleted_navigations;
+      navigation.set_index(navigation.index() - deleted_navigations);
+      new_navigations.push_back(std::move(navigation));
+    }
+  }
+  if (deleted_navigations == 0)
+    return ScopedJavaLocalRef<jobject>();
+
+  return WriteSerializedNavigationsAsByteBuffer(
+      env, is_off_the_record, new_navigations, current_entry_index);
+}
+
 ScopedJavaLocalRef<jstring>
 WebContentsState::GetDisplayTitleFromByteBuffer(JNIEnv* env,
                                                 void* data,
@@ -396,38 +475,6 @@
   return ConvertUTF8ToJavaString(env, nav_entry.virtual_url().spec());
 }
 
-WebContents* WebContentsState::RestoreContentsFromByteBuffer(
-    void* data,
-    int size,
-    int saved_state_version,
-    bool initially_hidden) {
-  bool is_off_the_record;
-  int current_entry_index;
-  std::vector<sessions::SerializedNavigationEntry> navigations;
-  bool success = ExtractNavigationEntries(data,
-                                          size,
-                                          saved_state_version,
-                                          &is_off_the_record,
-                                          &current_entry_index,
-                                          &navigations);
-  if (!success)
-    return NULL;
-
-  Profile* profile = ProfileManager::GetActiveUserProfile();
-  std::vector<std::unique_ptr<content::NavigationEntry>> entries =
-      sessions::ContentSerializedNavigationBuilder::ToNavigationEntries(
-          navigations, profile);
-
-  if (is_off_the_record)
-    profile = profile->GetOffTheRecordProfile();
-  WebContents::CreateParams params(profile);
-  params.initially_hidden = initially_hidden;
-  std::unique_ptr<WebContents> web_contents(WebContents::Create(params));
-  web_contents->GetController().Restore(
-      current_entry_index, content::RestoreType::CURRENT_SESSION, &entries);
-  return web_contents.release();
-}
-
 ScopedJavaLocalRef<jobject> WebContentsState::RestoreContentsFromByteBuffer(
     JNIEnv* env,
     jclass clazz,
@@ -437,11 +484,8 @@
   void* data = env->GetDirectBufferAddress(state);
   int size = env->GetDirectBufferCapacity(state);
 
-  WebContents* web_contents = WebContentsState::RestoreContentsFromByteBuffer(
-      data,
-      size,
-      saved_state_version,
-      initially_hidden);
+  WebContents* web_contents = ::RestoreContentsFromByteBuffer(
+      data, size, saved_state_version, initially_hidden);
 
   if (web_contents)
     return web_contents->GetJavaWebContents();
@@ -473,10 +517,7 @@
   std::vector<content::NavigationEntry*> navigations(1);
   navigations[0] = entry.get();
 
-  return WebContentsState::WriteNavigationsAsByteBuffer(env,
-                                                        is_off_the_record,
-                                                        navigations,
-                                                        0);
+  return WriteNavigationsAsByteBuffer(env, is_off_the_record, navigations, 0);
 }
 
 // Static JNI methods.
@@ -510,6 +551,22 @@
   return WebContentsState::GetContentsStateAsByteBuffer(env, tab_android);
 }
 
+static base::android::ScopedJavaLocalRef<jobject>
+JNI_TabState_DeleteNavigationEntries(
+    JNIEnv* env,
+    const JavaParamRef<jclass>& clazz,
+    const base::android::JavaParamRef<jobject>& state,
+    jint saved_state_version,
+    jlong predicate_ptr) {
+  void* data = env->GetDirectBufferAddress(state);
+  int size = env->GetDirectBufferCapacity(state);
+  const auto* predicate =
+      reinterpret_cast<WebContentsState::DeletionPredicate*>(predicate_ptr);
+
+  return WebContentsState::DeleteNavigationEntriesFromByteBuffer(
+      env, data, size, saved_state_version, *predicate);
+}
+
 static ScopedJavaLocalRef<jobject>
 JNI_TabState_CreateSingleNavigationStateAsByteBuffer(
     JNIEnv* env,
diff --git a/chrome/browser/android/tab_state.h b/chrome/browser/android/tab_state.h
index 4f15fa08..7a631d77 100644
--- a/chrome/browser/android/tab_state.h
+++ b/chrome/browser/android/tab_state.h
@@ -9,9 +9,8 @@
 
 #include "base/android/scoped_java_ref.h"
 
-namespace content {
-class NavigationEntry;
-class WebContents;
+namespace sessions {
+class SerializedNavigationEntry;
 }
 
 class TabAndroid;
@@ -19,18 +18,20 @@
 // Stores state for a WebContents, including its navigation history.
 class WebContentsState {
  public:
+  using DeletionPredicate = base::RepeatingCallback<bool(
+      const sessions::SerializedNavigationEntry& entry)>;
+
   static base::android::ScopedJavaLocalRef<jobject>
       GetContentsStateAsByteBuffer(JNIEnv* env, TabAndroid* tab);
 
-  // Common implementation for GetContentsStateAsByteBuffer() and
-  // CreateContentsStateAsByteBuffer(). Does not assume ownership of the
-  // navigations.
+  // Returns a new buffer without the navigations matching |predicate|.
+  // Returns null if no deletions happened.
   static base::android::ScopedJavaLocalRef<jobject>
-      WriteNavigationsAsByteBuffer(
-          JNIEnv* env,
-          bool is_off_the_record,
-          const std::vector<content::NavigationEntry*>& navigations,
-          int current_entry);
+  DeleteNavigationEntriesFromByteBuffer(JNIEnv* env,
+                                        void* data,
+                                        int size,
+                                        int saved_state_version,
+                                        const DeletionPredicate& predicate);
 
   // Extracts display title from serialized tab data on restore
   static base::android::ScopedJavaLocalRef<jstring>
@@ -43,13 +44,6 @@
                                   int size, int saved_state_version);
 
   // Restores a WebContents from the passed in state.
-  static content::WebContents* RestoreContentsFromByteBuffer(
-      void* data,
-      int size,
-      int saved_state_version,
-      bool initially_hidden);
-
-  // Restores a WebContents from the passed in state.
   static base::android::ScopedJavaLocalRef<jobject>
   RestoreContentsFromByteBuffer(JNIEnv* env,
                                 jclass clazz,
diff --git a/chrome/browser/browsing_data/navigation_entry_remover.cc b/chrome/browser/browsing_data/navigation_entry_remover.cc
index 05258b0..4313726 100644
--- a/chrome/browser/browsing_data/navigation_entry_remover.cc
+++ b/chrome/browser/browsing_data/navigation_entry_remover.cc
@@ -60,33 +60,20 @@
 
 base::flat_set<GURL> CreateUrlSet(const history::URLRows& deleted_rows) {
   std::vector<GURL> urls;
-  for (const history::URLRow& row : deleted_rows) {
+  for (const history::URLRow& row : deleted_rows)
     urls.push_back(row.url());
-  }
   return base::flat_set<GURL>(std::move(urls));
 }
 
-// Desktop is using |TabStripModel|, Android |TabModel|. They don't have a
-// common base class but both have a |GetWebContentsAt()| method.
-// TODO(dullweber): Add a common base class?
-template <typename TabList>
 void DeleteNavigationEntries(
-    TabList* tab_list,
-    int tab_count,
+    content::WebContents* web_contents,
     const content::NavigationController::DeletionPredicate& predicate) {
-  for (int i = 0; i < tab_count; i++) {
-    content::WebContents* web_contents = tab_list->GetWebContentsAt(i);
-    // TODO(dullweber): Non-loaded tabs on Android don't have a WebContents.
-    // We need to cleanup their TabState instead.
-    if (!web_contents)
-      continue;
-    content::NavigationController* controller = &web_contents->GetController();
-    controller->DiscardNonCommittedEntries();
-    // We discarded pending and transient entries but there could still be
-    // no last_committed_entry, which would prevent deletion.
-    if (controller->CanPruneAllButLastCommitted())
-      controller->DeleteNavigationEntries(predicate);
-  }
+  content::NavigationController* controller = &web_contents->GetController();
+  controller->DiscardNonCommittedEntries();
+  // We discarded pending and transient entries but there could still be
+  // no last_committed_entry, which would prevent deletion.
+  if (controller->CanPruneAllButLastCommitted())
+    controller->DeleteNavigationEntries(predicate);
 }
 
 void DeleteTabNavigationEntries(Profile* profile,
@@ -99,17 +86,30 @@
           : base::BindRepeating(&UrlMatcher, base::ConstRef(url_set));
 
 #if defined(OS_ANDROID)
+  auto session_predicate =
+      time_range.IsValid()
+          ? base::BindRepeating(&TimeRangeMatcherForSession, time_range.begin(),
+                                time_range.end())
+          : base::BindRepeating(&UrlMatcherForSession, base::ConstRef(url_set));
+
   for (auto it = TabModelList::begin(); it != TabModelList::end(); ++it) {
     TabModel* tab_model = *it;
     if (tab_model->GetProfile() == profile) {
-      DeleteNavigationEntries(tab_model, tab_model->GetTabCount(), predicate);
+      for (int i = 0; i < tab_model->GetTabCount(); i++) {
+        TabAndroid* tab = tab_model->GetTabAt(i);
+        tab->DeleteFrozenNavigationEntries(session_predicate);
+        content::WebContents* web_contents = tab->web_contents();
+        if (web_contents)
+          DeleteNavigationEntries(web_contents, predicate);
+      }
     }
   }
 #else
   for (Browser* browser : *BrowserList::GetInstance()) {
     TabStripModel* tab_strip = browser->tab_strip_model();
     if (browser->profile() == profile) {
-      DeleteNavigationEntries(tab_strip, tab_strip->count(), predicate);
+      for (int i = 0; i < tab_strip->count(); i++)
+        DeleteNavigationEntries(tab_strip->GetWebContentsAt(i), predicate);
     }
   }
 #endif
@@ -160,18 +160,19 @@
                              const base::flat_set<GURL>& url_set) {
   sessions::TabRestoreService* tab_service =
       TabRestoreServiceFactory::GetForProfile(profile);
-  if (tab_service) {
-    auto predicate =
-        time_range.IsValid()
-            ? base::BindRepeating(&TimeRangeMatcherForSession,
-                                  time_range.begin(), time_range.end())
-            : base::BindRepeating(&UrlMatcherForSession, url_set);
-    if (tab_service->IsLoaded()) {
-      PerformTabRestoreDeletion(tab_service, predicate);
-    } else {
-      // The helper deletes itself when the tab entry deletion is finished.
-      new TabRestoreDeletionHelper(tab_service, predicate);
-    }
+  if (!tab_service)
+    return;
+
+  auto predicate =
+      time_range.IsValid()
+          ? base::BindRepeating(&TimeRangeMatcherForSession, time_range.begin(),
+                                time_range.end())
+          : base::BindRepeating(&UrlMatcherForSession, url_set);
+  if (tab_service->IsLoaded()) {
+    PerformTabRestoreDeletion(tab_service, predicate);
+  } else {
+    // The helper deletes itself when the tab entry deletion is finished.
+    new TabRestoreDeletionHelper(tab_service, predicate);
   }
 }
 
diff --git a/chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc b/chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc
index 79148596..a8f7f10 100644
--- a/chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc
+++ b/chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc
@@ -569,13 +569,13 @@
     ASSERT_EQ(2U, ime_text_spans.size());
     // single underline
     EXPECT_EQ(SK_ColorBLACK, ime_text_spans[0].underline_color);
-    EXPECT_FALSE(ime_text_spans[0].thick);
+    EXPECT_EQ(ui::ImeTextSpan::Thickness::kThin, ime_text_spans[0].thickness);
     EXPECT_EQ(0U, ime_text_spans[0].start_offset);
     EXPECT_EQ(5U, ime_text_spans[0].end_offset);
 
     // double underline
     EXPECT_EQ(SK_ColorBLACK, ime_text_spans[1].underline_color);
-    EXPECT_TRUE(ime_text_spans[1].thick);
+    EXPECT_EQ(ui::ImeTextSpan::Thickness::kThick, ime_text_spans[1].thickness);
     EXPECT_EQ(6U, ime_text_spans[1].start_offset);
     EXPECT_EQ(10U, ime_text_spans[1].end_offset);
   }
@@ -1033,7 +1033,7 @@
     ASSERT_EQ(1U, ime_text_spans.size());
     // single underline
     EXPECT_EQ(SK_ColorBLACK, ime_text_spans[0].underline_color);
-    EXPECT_FALSE(ime_text_spans[0].thick);
+    EXPECT_EQ(ui::ImeTextSpan::Thickness::kThin, ime_text_spans[0].thickness);
     EXPECT_EQ(0U, ime_text_spans[0].start_offset);
     EXPECT_EQ(1U, ime_text_spans[0].end_offset);
     EXPECT_TRUE(mock_input_context->last_commit_text().empty());
diff --git a/chrome/browser/chromeos/policy/app_install_event_log_collector.cc b/chrome/browser/chromeos/policy/app_install_event_log_collector.cc
index 27e4a62..02f0cb4 100644
--- a/chrome/browser/chromeos/policy/app_install_event_log_collector.cc
+++ b/chrome/browser/chromeos/policy/app_install_event_log_collector.cc
@@ -4,6 +4,8 @@
 
 #include "chrome/browser/chromeos/policy/app_install_event_log_collector.h"
 #include "base/command_line.h"
+#include "chrome/browser/browser_process.h"
+#include "chrome/common/pref_names.h"
 #include "chromeos/chromeos_switches.h"
 #include "chromeos/dbus/dbus_thread_manager.h"
 #include "chromeos/network/network_handler.h"
@@ -11,6 +13,7 @@
 #include "chromeos/network/network_state_handler.h"
 #include "chromeos/network/network_type_pattern.h"
 #include "components/policy/proto/device_management_backend.pb.h"
+#include "components/prefs/pref_service.h"
 #include "third_party/cros_system_api/dbus/service_constants.h"
 
 namespace em = enterprise_management;
@@ -80,6 +83,10 @@
 }
 
 void AppInstallEventLogCollector::AddLogoutEvent() {
+  // Don't log in case session is restared.
+  if (g_browser_process->local_state()->GetBoolean(prefs::kWasRestarted))
+    return;
+
   delegate_->AddForAllPackages(
       CreateSessionChangeEvent(em::AppInstallReportLogEvent::LOGOUT));
 }
diff --git a/chrome/browser/chromeos/policy/app_install_event_log_collector_unittest.cc b/chrome/browser/chromeos/policy/app_install_event_log_collector_unittest.cc
index 1e47f0e..8345720 100644
--- a/chrome/browser/chromeos/policy/app_install_event_log_collector_unittest.cc
+++ b/chrome/browser/chromeos/policy/app_install_event_log_collector_unittest.cc
@@ -8,6 +8,10 @@
 #include "base/macros.h"
 #include "base/memory/ptr_util.h"
 #include "base/run_loop.h"
+#include "chrome/browser/browser_process.h"
+#include "chrome/browser/prefs/browser_prefs.h"
+#include "chrome/common/pref_names.h"
+#include "chrome/test/base/testing_browser_process.h"
 #include "chrome/test/base/testing_profile.h"
 #include "chromeos/chromeos_switches.h"
 #include "chromeos/dbus/dbus_thread_manager.h"
@@ -15,6 +19,8 @@
 #include "chromeos/dbus/shill_service_client.h"
 #include "chromeos/network/network_handler.h"
 #include "components/policy/proto/device_management_backend.pb.h"
+#include "components/prefs/pref_service.h"
+#include "components/prefs/testing_pref_service.h"
 #include "content/public/test/test_browser_thread_bundle.h"
 #include "testing/gtest/include/gtest/gtest.h"
 #include "third_party/cros_system_api/dbus/service_constants.h"
@@ -71,6 +77,8 @@
   ~AppInstallEventLogCollectorTest() override = default;
 
   void SetUp() override {
+    RegisterLocalState(pref_service_.registry());
+    TestingBrowserProcess::GetGlobal()->SetLocalState(&pref_service_);
     std::unique_ptr<chromeos::FakePowerManagerClient> power_manager_client =
         std::make_unique<chromeos::FakePowerManagerClient>();
     power_manager_client_ = power_manager_client.get();
@@ -99,6 +107,7 @@
     profile_.reset();
     chromeos::NetworkHandler::Shutdown();
     chromeos::DBusThreadManager::Shutdown();
+    TestingBrowserProcess::GetGlobal()->SetLocalState(nullptr);
   }
 
   void SetNetworkState(const std::string& service_path,
@@ -140,6 +149,7 @@
   content::TestBrowserThreadBundle thread_bundle_;
   std::unique_ptr<TestingProfile> profile_;
   FakeAppInstallEventLogCollectorDelegate delegate_;
+  TestingPrefServiceSimple pref_service_;
   chromeos::FakePowerManagerClient* power_manager_client_ = nullptr;
 
   DISALLOW_COPY_AND_ASSIGN(AppInstallEventLogCollectorTest);
@@ -202,9 +212,19 @@
   }
 
   {
-    // Check restart. No log is expected.
+    // Check login after restart. No log is expected.
+    AppInstallEventLogCollector collector(delegate(), profile(), packages_);
     base::CommandLine::ForCurrentProcess()->AppendSwitch(
         chromeos::switches::kLoginUser);
+    collector.AddLoginEvent();
+    EXPECT_EQ(1, delegate()->add_for_all_count());
+  }
+
+  {
+    // Check logout on restart. No log is expected.
+    AppInstallEventLogCollector collector(delegate(), profile(), packages_);
+    g_browser_process->local_state()->SetBoolean(prefs::kWasRestarted, true);
+    collector.AddLogoutEvent();
     EXPECT_EQ(1, delegate()->add_for_all_count());
   }
 
diff --git a/chrome/browser/chromeos/policy/app_install_event_log_manager_unittest.cc b/chrome/browser/chromeos/policy/app_install_event_log_manager_unittest.cc
index 59cfb09..c990f16e 100644
--- a/chrome/browser/chromeos/policy/app_install_event_log_manager_unittest.cc
+++ b/chrome/browser/chromeos/policy/app_install_event_log_manager_unittest.cc
@@ -138,7 +138,6 @@
     scoped_main_task_runner_ =
         std::make_unique<base::ScopedMockTimeMessageLoopTaskRunner>();
     main_task_runner_ = scoped_main_task_runner_->task_runner();
-    clock_ = main_task_runner_->GetMockTickClock();
   }
 
   // testing::Test:
@@ -149,7 +148,6 @@
     manager_.reset();
     FastForwardUntilNoTasksRemain();
 
-    clock_.reset();
     main_task_runner_ = nullptr;
     scoped_main_task_runner_.reset();
   }
@@ -211,8 +209,8 @@
   }
 
   void FastForwardTo(const base::TimeDelta& offset) {
-    main_task_runner_->FastForwardBy(offset -
-                                     (clock_->NowTicks() - base::TimeTicks()));
+    main_task_runner_->FastForwardBy(
+        offset - (main_task_runner_->NowTicks() - base::TimeTicks()));
     FlushNonDelayedTasks();
   }
 
@@ -249,7 +247,6 @@
 
   base::TestSimpleTaskRunner* log_task_runner_ = nullptr;
   base::TestMockTimeTaskRunner* main_task_runner_ = nullptr;
-  std::unique_ptr<base::TickClock> clock_;
 
   const base::FilePath log_file_path_;
   const std::set<std::string> packages_;
diff --git a/chrome/browser/chromeos/power/ml/idle_event_notifier_unittest.cc b/chrome/browser/chromeos/power/ml/idle_event_notifier_unittest.cc
index c3f8530..1f7407cb 100644
--- a/chrome/browser/chromeos/power/ml/idle_event_notifier_unittest.cc
+++ b/chrome/browser/chromeos/power/ml/idle_event_notifier_unittest.cc
@@ -87,7 +87,7 @@
     idle_event_notifier_ = std::make_unique<IdleEventNotifier>(
         &power_client_, &user_activity_detector_, mojo::MakeRequest(&observer));
     idle_event_notifier_->SetClockForTesting(
-        task_runner_, task_runner_->GetMockClock(),
+        task_runner_, task_runner_->DeprecatedGetMockClock(),
         std::make_unique<FakeBootClock>(task_runner_,
                                         base::TimeDelta::FromSeconds(10)));
     idle_event_notifier_->AddObserver(&test_observer_);
diff --git a/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc b/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
index 1cfa7c6..986142d8 100644
--- a/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
+++ b/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
@@ -455,8 +455,8 @@
 
 void AutomaticRebootManagerBasicTest::CreateAutomaticRebootManager(
     bool expect_reboot) {
-  automatic_reboot_manager_.reset(new AutomaticRebootManager(
-      std::unique_ptr<base::TickClock>(task_runner_->GetMockTickClock())));
+  automatic_reboot_manager_.reset(
+      new AutomaticRebootManager(task_runner_->DeprecatedGetMockTickClock()));
   automatic_reboot_manager_observer_.Init(automatic_reboot_manager_.get());
   task_runner_->RunUntilIdle();
   EXPECT_EQ(expect_reboot ? 1 : 0,
diff --git a/chrome/browser/extensions/activity_log/activity_log.cc b/chrome/browser/extensions/activity_log/activity_log.cc
index 8687ea00..c37d5d58 100644
--- a/chrome/browser/extensions/activity_log/activity_log.cc
+++ b/chrome/browser/extensions/activity_log/activity_log.cc
@@ -794,11 +794,11 @@
     const std::string& page_url,
     const std::string& arg_url,
     const int daysAgo,
-    const base::Callback<
-        void(std::unique_ptr<std::vector<scoped_refptr<Action>>>)>& callback) {
+    base::OnceCallback<
+        void(std::unique_ptr<std::vector<scoped_refptr<Action>>>)> callback) {
   if (database_policy_) {
-    database_policy_->ReadFilteredData(
-        extension_id, type, api_name, page_url, arg_url, daysAgo, callback);
+    database_policy_->ReadFilteredData(extension_id, type, api_name, page_url,
+                                       arg_url, daysAgo, std::move(callback));
   }
 }
 
diff --git a/chrome/browser/extensions/activity_log/activity_log.h b/chrome/browser/extensions/activity_log/activity_log.h
index a990ff7..1be1b18 100644
--- a/chrome/browser/extensions/activity_log/activity_log.h
+++ b/chrome/browser/extensions/activity_log/activity_log.h
@@ -88,8 +88,8 @@
       const std::string& page_url,
       const std::string& arg_url,
       const int days_ago,
-      const base::Callback<
-          void(std::unique_ptr<std::vector<scoped_refptr<Action>>>)>& callback);
+      base::OnceCallback<
+          void(std::unique_ptr<std::vector<scoped_refptr<Action>>>)> callback);
 
   // ExtensionRegistryObserver.
   // We keep track of whether the whitelisted extension is installed; if it is,
diff --git a/chrome/browser/extensions/activity_log/activity_log_browsertest.cc b/chrome/browser/extensions/activity_log/activity_log_browsertest.cc
index 870c526b..dec81385 100644
--- a/chrome/browser/extensions/activity_log/activity_log_browsertest.cc
+++ b/chrome/browser/extensions/activity_log/activity_log_browsertest.cc
@@ -126,8 +126,8 @@
   base::RunLoop run_loop;
   activity_log->GetFilteredActions(
       ext->id(), Action::ACTION_ANY, "", "", "", -1,
-      base::Bind(ActivityLogPrerenderTest::Prerender_Arguments, ext->id(), port,
-                 run_loop.QuitWhenIdleClosure()));
+      base::BindOnce(ActivityLogPrerenderTest::Prerender_Arguments, ext->id(),
+                     port, run_loop.QuitWhenIdleClosure()));
 
   // Allow invocation of Prerender_Arguments
   run_loop.Run();
diff --git a/chrome/browser/extensions/activity_log/activity_log_policy.h b/chrome/browser/extensions/activity_log/activity_log_policy.h
index c3718a0..83bf156f 100644
--- a/chrome/browser/extensions/activity_log/activity_log_policy.h
+++ b/chrome/browser/extensions/activity_log/activity_log_policy.h
@@ -172,7 +172,7 @@
       const std::string& page_url,
       const std::string& arg_url,
       const int days_ago,
-      const base::Callback<void(std::unique_ptr<Action::ActionVector>)>&
+      base::OnceCallback<void(std::unique_ptr<Action::ActionVector>)>
           callback) = 0;
 
   // Remove actions (rows) which IDs are in the action_ids array.
diff --git a/chrome/browser/extensions/activity_log/activity_log_unittest.cc b/chrome/browser/extensions/activity_log/activity_log_unittest.cc
index 77be646c..876be5e 100644
--- a/chrome/browser/extensions/activity_log/activity_log_unittest.cc
+++ b/chrome/browser/extensions/activity_log/activity_log_unittest.cc
@@ -218,13 +218,8 @@
   activity_log->LogAction(action);
 
   activity_log->GetFilteredActions(
-      kExtensionId,
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      0,
-      base::Bind(ActivityLogTest::RetrieveActions_LogAndFetchActions2));
+      kExtensionId, Action::ACTION_ANY, "", "", "", 0,
+      base::BindOnce(ActivityLogTest::RetrieveActions_LogAndFetchActions2));
 }
 
 TEST_F(ActivityLogTest, LogPrerender) {
@@ -268,13 +263,8 @@
       ->OnScriptsExecuted(contents, executing_scripts, url);
 
   activity_log->GetFilteredActions(
-      extension->id(),
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      0,
-      base::Bind(ActivityLogTest::Arguments_Prerender));
+      extension->id(), Action::ACTION_ANY, "", "", "", 0,
+      base::BindOnce(ActivityLogTest::Arguments_Prerender));
 
   prerender_manager->CancelAllPrerenders();
 }
@@ -337,13 +327,8 @@
   activity_log->LogAction(action);
 
   activity_log->GetFilteredActions(
-      kExtensionId,
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(ActivityLogTest::RetrieveActions_ArgUrlExtraction));
+      kExtensionId, Action::ACTION_ANY, "", "", "", -1,
+      base::BindOnce(ActivityLogTest::RetrieveActions_ArgUrlExtraction));
 }
 
 TEST_F(ActivityLogTest, UninstalledExtension) {
@@ -375,13 +360,8 @@
   activity_log->OnExtensionUninstalled(
       NULL, extension.get(), extensions::UNINSTALL_REASON_FOR_TESTING);
   activity_log->GetFilteredActions(
-      extension->id(),
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(ActivityLogTest::RetrieveActions_LogAndFetchActions0));
+      extension->id(), Action::ACTION_ANY, "", "", "", -1,
+      base::BindOnce(ActivityLogTest::RetrieveActions_LogAndFetchActions0));
 }
 
 TEST_F(ActivityLogTest, ArgUrlApiCalls) {
@@ -403,13 +383,8 @@
   }
 
   activity_log->GetFilteredActions(
-      kExtensionId,
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(ActivityLogTest::RetrieveActions_ArgUrlApiCalls));
+      kExtensionId, Action::ACTION_ANY, "", "", "", -1,
+      base::BindOnce(ActivityLogTest::RetrieveActions_ArgUrlApiCalls));
 }
 
 class ActivityLogTestWithoutSwitch : public ActivityLogTest {
diff --git a/chrome/browser/extensions/activity_log/counting_policy.cc b/chrome/browser/extensions/activity_log/counting_policy.cc
index cdd6a65..a6e84a8 100644
--- a/chrome/browser/extensions/activity_log/counting_policy.cc
+++ b/chrome/browser/extensions/activity_log/counting_policy.cc
@@ -723,13 +723,13 @@
     const std::string& page_url,
     const std::string& arg_url,
     const int days_ago,
-    const base::Callback<void(std::unique_ptr<Action::ActionVector>)>&
-        callback) {
+    base::OnceCallback<void(std::unique_ptr<Action::ActionVector>)> callback) {
   base::PostTaskAndReplyWithResult(
       GetActivityLogTaskRunner().get(), FROM_HERE,
-      base::Bind(&CountingPolicy::DoReadFilteredData, base::Unretained(this),
-                 extension_id, type, api_name, page_url, arg_url, days_ago),
-      callback);
+      base::BindOnce(&CountingPolicy::DoReadFilteredData,
+                     base::Unretained(this), extension_id, type, api_name,
+                     page_url, arg_url, days_ago),
+      std::move(callback));
 }
 
 void CountingPolicy::RemoveActions(const std::vector<int64_t>& action_ids) {
diff --git a/chrome/browser/extensions/activity_log/counting_policy.h b/chrome/browser/extensions/activity_log/counting_policy.h
index 33f24ec..6d14dcd 100644
--- a/chrome/browser/extensions/activity_log/counting_policy.h
+++ b/chrome/browser/extensions/activity_log/counting_policy.h
@@ -37,8 +37,8 @@
       const std::string& page_url,
       const std::string& arg_url,
       const int days_ago,
-      const base::Callback<void(std::unique_ptr<Action::ActionVector>)>&
-          callback) override;
+      base::OnceCallback<void(std::unique_ptr<Action::ActionVector>)> callback)
+      override;
 
   void Close() override;
 
diff --git a/chrome/browser/extensions/activity_log/counting_policy_unittest.cc b/chrome/browser/extensions/activity_log/counting_policy_unittest.cc
index 6caae4e..83495e05 100644
--- a/chrome/browser/extensions/activity_log/counting_policy_unittest.cc
+++ b/chrome/browser/extensions/activity_log/counting_policy_unittest.cc
@@ -80,13 +80,13 @@
 
   // A wrapper function for CheckReadFilteredData, so that we don't need to
   // enter empty string values for parameters we don't care about.
-  void CheckReadData(ActivityLogDatabasePolicy* policy,
-                     const std::string& extension_id,
-                     int day,
-                     const base::Callback<void(
-                         std::unique_ptr<Action::ActionVector>)>& checker) {
-    CheckReadFilteredData(
-        policy, extension_id, Action::ACTION_ANY, "", "", "", day, checker);
+  void CheckReadData(
+      ActivityLogDatabasePolicy* policy,
+      const std::string& extension_id,
+      int day,
+      base::OnceCallback<void(std::unique_ptr<Action::ActionVector>)> checker) {
+    CheckReadFilteredData(policy, extension_id, Action::ACTION_ANY, "", "", "",
+                          day, std::move(checker));
   }
 
   // A helper function to call ReadFilteredData on a policy object and wait for
@@ -99,15 +99,14 @@
       const std::string& page_url,
       const std::string& arg_url,
       int day,
-      const base::Callback<void(std::unique_ptr<Action::ActionVector>)>&
-          checker) {
+      base::OnceCallback<void(std::unique_ptr<Action::ActionVector>)> checker) {
     // Submit a request to the policy to read back some data, and call the
     // checker function when results are available.  This will happen on the
     // database thread.
     policy->ReadFilteredData(
         extension_id, type, api_name, page_url, arg_url, day,
-        base::Bind(&CountingPolicyTest::CheckWrapper, checker,
-                   base::MessageLoop::current()->QuitWhenIdleClosure()));
+        base::BindOnce(&CountingPolicyTest::CheckWrapper, std::move(checker),
+                       base::MessageLoop::current()->QuitWhenIdleClosure()));
 
     // Set up a timeout for receiving results; if we haven't received anything
     // when the timeout triggers then assume that the test is broken.
@@ -148,12 +147,12 @@
     ASSERT_LE(policy->queued_actions_.size(), 200U);
   }
 
-  static void CheckWrapper(const base::Callback<void(
-                               std::unique_ptr<Action::ActionVector>)>& checker,
-                           const base::Closure& done,
-                           std::unique_ptr<Action::ActionVector> results) {
-    checker.Run(std::move(results));
-    done.Run();
+  static void CheckWrapper(
+      base::OnceCallback<void(std::unique_ptr<Action::ActionVector>)> checker,
+      base::OnceClosure done,
+      std::unique_ptr<Action::ActionVector> results) {
+    std::move(checker).Run(std::move(results));
+    std::move(done).Run();
   }
 
   static void TimeoutCallback() {
@@ -302,8 +301,7 @@
   void CheckRemoveActions(
       ActivityLogDatabasePolicy* policy,
       const std::vector<int64_t>& action_ids,
-      const base::Callback<void(std::unique_ptr<Action::ActionVector>)>&
-          checker) {
+      base::OnceCallback<void(std::unique_ptr<Action::ActionVector>)> checker) {
     // Use a mock clock to ensure that events are not recorded on the wrong day
     // when the test is run close to local midnight.
     base::SimpleTestClock* mock_clock = new base::SimpleTestClock();
@@ -344,7 +342,7 @@
 
     // Check the result of the deletion. The checker function gets all
     // activities in the database.
-    CheckReadData(policy, "", -1, checker);
+    CheckReadData(policy, "", -1, std::move(checker));
 
     // Clean database.
     policy->DeleteDatabase();
@@ -442,10 +440,8 @@
   action->set_args(std::move(args));
 
   policy->ProcessAction(action);
-  CheckReadData(policy,
-                extension->id(),
-                0,
-                base::Bind(&CountingPolicyTest::Arguments_Stripped));
+  CheckReadData(policy, extension->id(), 0,
+                base::BindOnce(&CountingPolicyTest::Arguments_Stripped));
   policy->Close();
 }
 
@@ -503,10 +499,8 @@
   policy->ProcessAction(action);
 
   CheckReadData(
-      policy,
-      "punky",
-      0,
-      base::Bind(&CountingPolicyTest::Arguments_GetTodaysActions));
+      policy, "punky", 0,
+      base::BindOnce(&CountingPolicyTest::Arguments_GetTodaysActions));
   policy->Close();
 }
 
@@ -557,11 +551,8 @@
   action->set_page_url(GURL("http://www.google.com"));
   policy->ProcessAction(action);
 
-  CheckReadData(
-      policy,
-      "punky",
-      3,
-      base::Bind(&CountingPolicyTest::Arguments_GetOlderActions));
+  CheckReadData(policy, "punky", 3,
+                base::BindOnce(&CountingPolicyTest::Arguments_GetOlderActions));
 
   policy->Close();
 }
@@ -597,69 +588,36 @@
   policy->ProcessAction(action_dom);
 
   CheckReadFilteredData(
-      policy,
-      extension->id(),
-      Action::ACTION_API_CALL,
-      "tabs.testMethod",
-      "",
-      "",
-      -1,
-      base::Bind(
+      policy, extension->id(), Action::ACTION_API_CALL, "tabs.testMethod", "",
+      "", -1,
+      base::BindOnce(
           &CountingPolicyTest::RetrieveActions_FetchFilteredActions1));
 
   CheckReadFilteredData(
-      policy,
-      "",
-      Action::ACTION_DOM_ACCESS,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(
+      policy, "", Action::ACTION_DOM_ACCESS, "", "", "", -1,
+      base::BindOnce(
           &CountingPolicyTest::RetrieveActions_FetchFilteredActions1));
 
   CheckReadFilteredData(
-      policy,
-      "",
-      Action::ACTION_DOM_ACCESS,
-      "",
-      "http://www.google.com/",
-      "",
+      policy, "", Action::ACTION_DOM_ACCESS, "", "http://www.google.com/", "",
       -1,
-      base::Bind(
+      base::BindOnce(
           &CountingPolicyTest::RetrieveActions_FetchFilteredActions1));
 
   CheckReadFilteredData(
-      policy,
-      "",
-      Action::ACTION_DOM_ACCESS,
-      "",
-      "http://www.google.com",
-      "",
+      policy, "", Action::ACTION_DOM_ACCESS, "", "http://www.google.com", "",
       -1,
-      base::Bind(
+      base::BindOnce(
           &CountingPolicyTest::RetrieveActions_FetchFilteredActions1));
 
   CheckReadFilteredData(
-      policy,
-      "",
-      Action::ACTION_DOM_ACCESS,
-      "",
-      "http://www.goo",
-      "",
-      -1,
-      base::Bind(
+      policy, "", Action::ACTION_DOM_ACCESS, "", "http://www.goo", "", -1,
+      base::BindOnce(
           &CountingPolicyTest::RetrieveActions_FetchFilteredActions1));
 
   CheckReadFilteredData(
-      policy,
-      extension->id(),
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(
+      policy, extension->id(), Action::ACTION_ANY, "", "", "", -1,
+      base::BindOnce(
           &CountingPolicyTest::RetrieveActions_FetchFilteredActions2));
 
   policy->Close();
@@ -705,14 +663,12 @@
                       "brewster");
   policy->ProcessAction(action);
 
-  CheckReadData(policy,
-                "punky",
-                3,
-                base::Bind(&CountingPolicyTest::Arguments_CheckMergeCount, 2));
-  CheckReadData(policy,
-                "punky",
-                2,
-                base::Bind(&CountingPolicyTest::Arguments_CheckMergeCount, 1));
+  CheckReadData(
+      policy, "punky", 3,
+      base::BindOnce(&CountingPolicyTest::Arguments_CheckMergeCount, 2));
+  CheckReadData(
+      policy, "punky", 2,
+      base::BindOnce(&CountingPolicyTest::Arguments_CheckMergeCount, 1));
 
   // Clean actions before midnight two days ago.  Force expiration to run by
   // clearing last_database_cleaning_time_ and submitting a new action.
@@ -724,14 +680,12 @@
                       "brewster");
   policy->ProcessAction(action);
 
-  CheckReadData(policy,
-                "punky",
-                3,
-                base::Bind(&CountingPolicyTest::Arguments_CheckMergeCount, 0));
-  CheckReadData(policy,
-                "punky",
-                2,
-                base::Bind(&CountingPolicyTest::Arguments_CheckMergeCount, 1));
+  CheckReadData(
+      policy, "punky", 3,
+      base::BindOnce(&CountingPolicyTest::Arguments_CheckMergeCount, 0));
+  CheckReadData(
+      policy, "punky", 2,
+      base::BindOnce(&CountingPolicyTest::Arguments_CheckMergeCount, 1));
 
   policy->Close();
 }
@@ -829,17 +783,13 @@
   policy->ProcessAction(action);
 
   CheckReadData(
-      policy,
-      "punky",
-      2,
-      base::Bind(
-          &CountingPolicyTest::Arguments_CheckMergeCountAndTime, 2, time3));
+      policy, "punky", 2,
+      base::BindOnce(&CountingPolicyTest::Arguments_CheckMergeCountAndTime, 2,
+                     time3));
   CheckReadData(
-      policy,
-      "punky",
-      1,
-      base::Bind(
-          &CountingPolicyTest::Arguments_CheckMergeCountAndTime, 1, time2));
+      policy, "punky", 1,
+      base::BindOnce(&CountingPolicyTest::Arguments_CheckMergeCountAndTime, 1,
+                     time2));
 
   // Create three actions today, where the merges should happen in memory.
   // Again these are not chronological; timestamp time5 should win out since it
@@ -858,11 +808,9 @@
   policy->ProcessAction(action);
 
   CheckReadData(
-      policy,
-      "punky",
-      0,
-      base::Bind(
-          &CountingPolicyTest::Arguments_CheckMergeCountAndTime, 3, time5));
+      policy, "punky", 0,
+      base::BindOnce(&CountingPolicyTest::Arguments_CheckMergeCountAndTime, 3,
+                     time5));
   policy->Close();
 }
 
@@ -904,14 +852,8 @@
   WaitOnActivityLogSequence();
 
   CheckReadFilteredData(
-      policy,
-      "punky",
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(
+      policy, "punky", Action::ACTION_ANY, "", "", "", -1,
+      base::BindOnce(
           &CountingPolicyTest::RetrieveActions_FetchFilteredActions300));
   policy->Close();
 }
@@ -951,11 +893,8 @@
   std::vector<GURL> no_url_restrictions;
   policy->RemoveURLs(no_url_restrictions);
 
-  CheckReadData(
-      policy,
-      "punky",
-      0,
-      base::Bind(&CountingPolicyTest::AllURLsRemoved));
+  CheckReadData(policy, "punky", 0,
+                base::BindOnce(&CountingPolicyTest::AllURLsRemoved));
   policy->Close();
 }
 
@@ -1028,11 +967,8 @@
   urls.push_back(GURL("http://www.url_not_in_db.com"));
   policy->RemoveURLs(urls);
 
-  CheckReadData(
-      policy,
-      "punky",
-      0,
-      base::Bind(&CountingPolicyTest::SomeURLsRemoved));
+  CheckReadData(policy, "punky", 0,
+                base::BindOnce(&CountingPolicyTest::SomeURLsRemoved));
   policy->Close();
 }
 
@@ -1072,25 +1008,13 @@
   policy->RemoveExtensionData("deleteextensiondata");
 
   CheckReadFilteredData(
-      policy,
-      "deleteextensiondata",
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(
+      policy, "deleteextensiondata", Action::ACTION_ANY, "", "", "", -1,
+      base::BindOnce(
           &CountingPolicyTest::RetrieveActions_FetchFilteredActions0));
 
   CheckReadFilteredData(
-      policy,
-      "dontdelete",
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(
+      policy, "dontdelete", Action::ACTION_ANY, "", "", "", -1,
+      base::BindOnce(
           &CountingPolicyTest::RetrieveActions_FetchFilteredActions1));
   policy->Close();
 }
@@ -1149,22 +1073,14 @@
   policy->ProcessAction(action);
 
   CheckReadData(
-      policy,
-      "punky",
-      0,
-      base::Bind(&CountingPolicyTest::Arguments_GetTodaysActions));
+      policy, "punky", 0,
+      base::BindOnce(&CountingPolicyTest::Arguments_GetTodaysActions));
 
   policy->DeleteDatabase();
 
   CheckReadFilteredData(
-      policy,
-      "",
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(
+      policy, "", Action::ACTION_ANY, "", "", "", -1,
+      base::BindOnce(
           &CountingPolicyTest::RetrieveActions_FetchFilteredActions0));
 
   // The following code tests that the caches of url and string tables were
@@ -1177,22 +1093,14 @@
   policy->ProcessAction(action);
 
   CheckReadData(
-      policy,
-      "",
-      -1,
-      base::Bind(&CountingPolicyTest::Arguments_GetSinglesAction));
+      policy, "", -1,
+      base::BindOnce(&CountingPolicyTest::Arguments_GetSinglesAction));
 
   policy->DeleteDatabase();
 
   CheckReadFilteredData(
-      policy,
-      "",
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(
+      policy, "", Action::ACTION_ANY, "", "", "", -1,
+      base::BindOnce(
           &CountingPolicyTest::RetrieveActions_FetchFilteredActions0));
 
   policy->Close();
@@ -1231,11 +1139,8 @@
       "punky", mock_clock->Now(), Action::ACTION_API_CALL, "brewster");
   policy->ProcessAction(action);
 
-  CheckReadData(
-      policy,
-      "punky",
-      0,
-      base::Bind(&CountingPolicyTest::CheckDuplicates));
+  CheckReadData(policy, "punky", 0,
+                base::BindOnce(&CountingPolicyTest::CheckDuplicates));
   policy->Close();
 }
 
@@ -1245,41 +1150,41 @@
 
   std::vector<int64_t> action_ids;
 
-  CheckRemoveActions(
-      policy, action_ids, base::Bind(&CountingPolicyTest::NoActionsDeleted));
+  CheckRemoveActions(policy, action_ids,
+                     base::BindOnce(&CountingPolicyTest::NoActionsDeleted));
 
   action_ids.push_back(-1);
   action_ids.push_back(-10);
   action_ids.push_back(0);
   action_ids.push_back(5);
   action_ids.push_back(10);
-  CheckRemoveActions(
-      policy, action_ids, base::Bind(&CountingPolicyTest::NoActionsDeleted));
+  CheckRemoveActions(policy, action_ids,
+                     base::BindOnce(&CountingPolicyTest::NoActionsDeleted));
   action_ids.clear();
 
   for (int i = 0; i < 50; i++) {
     action_ids.push_back(i + 3);
   }
-  CheckRemoveActions(
-      policy, action_ids, base::Bind(&CountingPolicyTest::NoActionsDeleted));
+  CheckRemoveActions(policy, action_ids,
+                     base::BindOnce(&CountingPolicyTest::NoActionsDeleted));
   action_ids.clear();
 
   // CheckRemoveActions pushes two actions to the Activity Log database with IDs
   // 1 and 2.
   action_ids.push_back(1);
   action_ids.push_back(2);
-  CheckRemoveActions(
-      policy, action_ids, base::Bind(&CountingPolicyTest::AllActionsDeleted));
+  CheckRemoveActions(policy, action_ids,
+                     base::BindOnce(&CountingPolicyTest::AllActionsDeleted));
   action_ids.clear();
 
   action_ids.push_back(1);
-  CheckRemoveActions(
-      policy, action_ids, base::Bind(&CountingPolicyTest::Action1Deleted));
+  CheckRemoveActions(policy, action_ids,
+                     base::BindOnce(&CountingPolicyTest::Action1Deleted));
   action_ids.clear();
 
   action_ids.push_back(2);
-  CheckRemoveActions(
-      policy, action_ids, base::Bind(&CountingPolicyTest::Action2Deleted));
+  CheckRemoveActions(policy, action_ids,
+                     base::BindOnce(&CountingPolicyTest::Action2Deleted));
   action_ids.clear();
 
   policy->Close();
diff --git a/chrome/browser/extensions/activity_log/fullstream_ui_policy.cc b/chrome/browser/extensions/activity_log/fullstream_ui_policy.cc
index 0f5c33c..be2da419 100644
--- a/chrome/browser/extensions/activity_log/fullstream_ui_policy.cc
+++ b/chrome/browser/extensions/activity_log/fullstream_ui_policy.cc
@@ -29,7 +29,6 @@
 #include "sql/transaction.h"
 #include "url/gurl.h"
 
-using base::Callback;
 using base::FilePath;
 using base::Time;
 using base::Unretained;
@@ -395,14 +394,13 @@
     const std::string& page_url,
     const std::string& arg_url,
     const int days_ago,
-    const base::Callback<void(std::unique_ptr<Action::ActionVector>)>&
-        callback) {
+    base::OnceCallback<void(std::unique_ptr<Action::ActionVector>)> callback) {
   base::PostTaskAndReplyWithResult(
       GetActivityLogTaskRunner().get(), FROM_HERE,
-      base::Bind(&FullStreamUIPolicy::DoReadFilteredData,
-                 base::Unretained(this), extension_id, type, api_name, page_url,
-                 arg_url, days_ago),
-      callback);
+      base::BindOnce(&FullStreamUIPolicy::DoReadFilteredData,
+                     base::Unretained(this), extension_id, type, api_name,
+                     page_url, arg_url, days_ago),
+      std::move(callback));
 }
 
 void FullStreamUIPolicy::RemoveActions(const std::vector<int64_t>& action_ids) {
diff --git a/chrome/browser/extensions/activity_log/fullstream_ui_policy.h b/chrome/browser/extensions/activity_log/fullstream_ui_policy.h
index a85b93ec..0caeb5d 100644
--- a/chrome/browser/extensions/activity_log/fullstream_ui_policy.h
+++ b/chrome/browser/extensions/activity_log/fullstream_ui_policy.h
@@ -37,8 +37,8 @@
       const std::string& page_url,
       const std::string& arg_url,
       const int days_ago,
-      const base::Callback<void(std::unique_ptr<Action::ActionVector>)>&
-          callback) override;
+      base::OnceCallback<void(std::unique_ptr<Action::ActionVector>)> callback)
+      override;
 
   void Close() override;
 
diff --git a/chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc b/chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc
index 812333b..a0fdd066 100644
--- a/chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc
+++ b/chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc
@@ -70,13 +70,13 @@
 
   // A wrapper function for CheckReadFilteredData, so that we don't need to
   // enter empty string values for parameters we don't care about.
-  void CheckReadData(ActivityLogDatabasePolicy* policy,
-                     const std::string& extension_id,
-                     int day,
-                     const base::Callback<void(
-                         std::unique_ptr<Action::ActionVector>)>& checker) {
-    CheckReadFilteredData(
-        policy, extension_id, Action::ACTION_ANY, "", "", "", day, checker);
+  void CheckReadData(
+      ActivityLogDatabasePolicy* policy,
+      const std::string& extension_id,
+      int day,
+      base::OnceCallback<void(std::unique_ptr<Action::ActionVector>)> checker) {
+    CheckReadFilteredData(policy, extension_id, Action::ACTION_ANY, "", "", "",
+                          day, std::move(checker));
   }
 
   // A helper function to call ReadFilteredData on a policy object and wait for
@@ -89,20 +89,20 @@
       const std::string& page_url,
       const std::string& arg_url,
       const int days_ago,
-      const base::Callback<void(std::unique_ptr<Action::ActionVector>)>&
-          checker) {
+      base::OnceCallback<void(std::unique_ptr<Action::ActionVector>)> checker) {
     // Submit a request to the policy to read back some data, and call the
     // checker function when results are available.  This will happen on the
     // database thread.
     policy->ReadFilteredData(
         extension_id, type, api_name, page_url, arg_url, days_ago,
-        base::Bind(&FullStreamUIPolicyTest::CheckWrapper, checker,
-                   base::MessageLoop::current()->QuitWhenIdleClosure()));
+        base::BindOnce(&FullStreamUIPolicyTest::CheckWrapper,
+                       std::move(checker),
+                       base::MessageLoop::current()->QuitWhenIdleClosure()));
 
     // Set up a timeout for receiving results; if we haven't received anything
     // when the timeout triggers then assume that the test is broken.
-    base::CancelableClosure timeout(
-        base::Bind(&FullStreamUIPolicyTest::TimeoutCallback));
+    base::CancelableOnceClosure timeout(
+        base::BindOnce(&FullStreamUIPolicyTest::TimeoutCallback));
     base::ThreadTaskRunnerHandle::Get()->PostDelayedTask(
         FROM_HERE, timeout.callback(), TestTimeouts::action_timeout());
 
@@ -113,12 +113,12 @@
     timeout.Cancel();
   }
 
-  static void CheckWrapper(const base::Callback<void(
-                               std::unique_ptr<Action::ActionVector>)>& checker,
-                           const base::Closure& done,
-                           std::unique_ptr<Action::ActionVector> results) {
-    checker.Run(std::move(results));
-    done.Run();
+  static void CheckWrapper(
+      base::OnceCallback<void(std::unique_ptr<Action::ActionVector>)> checker,
+      base::OnceClosure done,
+      std::unique_ptr<Action::ActionVector> results) {
+    std::move(checker).Run(std::move(results));
+    std::move(done).Run();
   }
 
   static void TimeoutCallback() {
@@ -226,8 +226,7 @@
   void CheckRemoveActions(
       ActivityLogDatabasePolicy* policy,
       const std::vector<int64_t>& action_ids,
-      const base::Callback<void(std::unique_ptr<Action::ActionVector>)>&
-          checker) {
+      base::OnceCallback<void(std::unique_ptr<Action::ActionVector>)> checker) {
     // Use a mock clock to ensure that events are not recorded on the wrong day
     // when the test is run close to local midnight.
     base::SimpleTestClock* mock_clock = new base::SimpleTestClock();
@@ -268,7 +267,7 @@
 
     // Check the result of the deletion. The checker function gets all
     // activities in the database.
-    CheckReadData(policy, "", -1, checker);
+    CheckReadData(policy, "", -1, std::move(checker));
 
     // Clean database.
     policy->DeleteDatabase();
@@ -390,10 +389,9 @@
   policy->ProcessAction(action_dom);
 
   CheckReadData(
-      policy,
-      extension->id(),
-      0,
-      base::Bind(&FullStreamUIPolicyTest::RetrieveActions_LogAndFetchActions));
+      policy, extension->id(), 0,
+      base::BindOnce(
+          &FullStreamUIPolicyTest::RetrieveActions_LogAndFetchActions));
 
   policy->Close();
 }
@@ -429,69 +427,36 @@
   policy->ProcessAction(action_dom);
 
   CheckReadFilteredData(
-      policy,
-      extension->id(),
-      Action::ACTION_API_CALL,
-      "tabs.testMethod",
-      "",
-      "",
-      -1,
-      base::Bind(
+      policy, extension->id(), Action::ACTION_API_CALL, "tabs.testMethod", "",
+      "", -1,
+      base::BindOnce(
           &FullStreamUIPolicyTest::RetrieveActions_FetchFilteredActions1));
 
   CheckReadFilteredData(
-      policy,
-      "",
-      Action::ACTION_DOM_ACCESS,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(
+      policy, "", Action::ACTION_DOM_ACCESS, "", "", "", -1,
+      base::BindOnce(
           &FullStreamUIPolicyTest::RetrieveActions_FetchFilteredActions1));
 
   CheckReadFilteredData(
-      policy,
-      "",
-      Action::ACTION_DOM_ACCESS,
-      "",
-      "http://www.google.com/",
-      "",
+      policy, "", Action::ACTION_DOM_ACCESS, "", "http://www.google.com/", "",
       -1,
-      base::Bind(
+      base::BindOnce(
           &FullStreamUIPolicyTest::RetrieveActions_FetchFilteredActions1));
 
   CheckReadFilteredData(
-      policy,
-      "",
-      Action::ACTION_DOM_ACCESS,
-      "",
-      "http://www.google.com",
-      "",
+      policy, "", Action::ACTION_DOM_ACCESS, "", "http://www.google.com", "",
       -1,
-      base::Bind(
+      base::BindOnce(
           &FullStreamUIPolicyTest::RetrieveActions_FetchFilteredActions1));
 
   CheckReadFilteredData(
-      policy,
-      "",
-      Action::ACTION_DOM_ACCESS,
-      "",
-      "http://www.goo",
-      "",
-      -1,
-      base::Bind(
+      policy, "", Action::ACTION_DOM_ACCESS, "", "http://www.goo", "", -1,
+      base::BindOnce(
           &FullStreamUIPolicyTest::RetrieveActions_FetchFilteredActions1));
 
   CheckReadFilteredData(
-      policy,
-      extension->id(),
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(
+      policy, extension->id(), Action::ACTION_ANY, "", "", "", -1,
+      base::BindOnce(
           &FullStreamUIPolicyTest::RetrieveActions_FetchFilteredActions2));
 
   policy->Close();
@@ -520,10 +485,8 @@
   action->set_args(std::move(args));
 
   policy->ProcessAction(action);
-  CheckReadData(policy,
-                extension->id(),
-                0,
-                base::Bind(&FullStreamUIPolicyTest::Arguments_Present));
+  CheckReadData(policy, extension->id(), 0,
+                base::BindOnce(&FullStreamUIPolicyTest::Arguments_Present));
   policy->Close();
 }
 
@@ -568,10 +531,8 @@
   policy->ProcessAction(action);
 
   CheckReadData(
-      policy,
-      "punky",
-      0,
-      base::Bind(&FullStreamUIPolicyTest::Arguments_GetTodaysActions));
+      policy, "punky", 0,
+      base::BindOnce(&FullStreamUIPolicyTest::Arguments_GetTodaysActions));
   policy->Close();
 }
 
@@ -622,10 +583,8 @@
   policy->ProcessAction(action);
 
   CheckReadData(
-      policy,
-      "punky",
-      3,
-      base::Bind(&FullStreamUIPolicyTest::Arguments_GetOlderActions));
+      policy, "punky", 3,
+      base::BindOnce(&FullStreamUIPolicyTest::Arguments_GetOlderActions));
   policy->Close();
 }
 
@@ -664,11 +623,8 @@
   std::vector<GURL> no_url_restrictions;
   policy->RemoveURLs(no_url_restrictions);
 
-  CheckReadData(
-      policy,
-      "punky",
-      0,
-      base::Bind(&FullStreamUIPolicyTest::AllURLsRemoved));
+  CheckReadData(policy, "punky", 0,
+                base::BindOnce(&FullStreamUIPolicyTest::AllURLsRemoved));
   policy->Close();
 }
 
@@ -740,11 +696,8 @@
   urls.push_back(GURL("http://www.url_not_in_db.com"));
   policy->RemoveURLs(urls);
 
-  CheckReadData(
-      policy,
-      "punky",
-      0,
-      base::Bind(&FullStreamUIPolicyTest::SomeURLsRemoved));
+  CheckReadData(policy, "punky", 0,
+                base::BindOnce(&FullStreamUIPolicyTest::SomeURLsRemoved));
   policy->Close();
 }
 
@@ -784,25 +737,13 @@
   policy->RemoveExtensionData("deleteextensiondata");
 
   CheckReadFilteredData(
-      policy,
-      "deleteextensiondata",
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(
+      policy, "deleteextensiondata", Action::ACTION_ANY, "", "", "", -1,
+      base::BindOnce(
           &FullStreamUIPolicyTest::RetrieveActions_FetchFilteredActions0));
 
   CheckReadFilteredData(
-      policy,
-      "dontdelete",
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(
+      policy, "dontdelete", Action::ACTION_ANY, "", "", "", -1,
+      base::BindOnce(
           &FullStreamUIPolicyTest::RetrieveActions_FetchFilteredActions1));
   policy->Close();
 }
@@ -827,14 +768,8 @@
   base::RunLoop().Run();
 
   CheckReadFilteredData(
-      policy,
-      "punky",
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(
+      policy, "punky", Action::ACTION_ANY, "", "", "", -1,
+      base::BindOnce(
           &FullStreamUIPolicyTest::RetrieveActions_FetchFilteredActions300));
   policy->Close();
 }
@@ -870,23 +805,16 @@
   policy->ProcessAction(action_dom);
 
   CheckReadData(
-      policy,
-      extension->id(),
-      0,
-      base::Bind(&FullStreamUIPolicyTest::RetrieveActions_LogAndFetchActions));
+      policy, extension->id(), 0,
+      base::BindOnce(
+          &FullStreamUIPolicyTest::RetrieveActions_LogAndFetchActions));
 
   // Now delete them.
   policy->DeleteDatabase();
 
   CheckReadFilteredData(
-      policy,
-      "",
-      Action::ACTION_ANY,
-      "",
-      "",
-      "",
-      -1,
-      base::Bind(
+      policy, "", Action::ACTION_ANY, "", "", "", -1,
+      base::BindOnce(
           &FullStreamUIPolicyTest::RetrieveActions_FetchFilteredActions0));
 
   policy->Close();
@@ -898,26 +826,23 @@
 
   std::vector<int64_t> action_ids;
 
-  CheckRemoveActions(policy,
-                     action_ids,
-                     base::Bind(&FullStreamUIPolicyTest::NoActionsDeleted));
+  CheckRemoveActions(policy, action_ids,
+                     base::BindOnce(&FullStreamUIPolicyTest::NoActionsDeleted));
 
   action_ids.push_back(-1);
   action_ids.push_back(-10);
   action_ids.push_back(0);
   action_ids.push_back(5);
   action_ids.push_back(10);
-  CheckRemoveActions(policy,
-                     action_ids,
-                     base::Bind(&FullStreamUIPolicyTest::NoActionsDeleted));
+  CheckRemoveActions(policy, action_ids,
+                     base::BindOnce(&FullStreamUIPolicyTest::NoActionsDeleted));
   action_ids.clear();
 
   for (int i = 0; i < 50; i++) {
     action_ids.push_back(i + 5);
   }
-  CheckRemoveActions(policy,
-                     action_ids,
-                     base::Bind(&FullStreamUIPolicyTest::NoActionsDeleted));
+  CheckRemoveActions(policy, action_ids,
+                     base::BindOnce(&FullStreamUIPolicyTest::NoActionsDeleted));
   action_ids.clear();
 
   // CheckRemoveActions pushes four actions to the Activity Log database with
@@ -926,21 +851,21 @@
   action_ids.push_back(2);
   action_ids.push_back(3);
   action_ids.push_back(4);
-  CheckRemoveActions(policy,
-                     action_ids,
-                     base::Bind(&FullStreamUIPolicyTest::AllActionsDeleted));
+  CheckRemoveActions(
+      policy, action_ids,
+      base::BindOnce(&FullStreamUIPolicyTest::AllActionsDeleted));
   action_ids.clear();
 
   action_ids.push_back(1);
   action_ids.push_back(2);
-  CheckRemoveActions(
-      policy, action_ids, base::Bind(&FullStreamUIPolicyTest::Action1Deleted));
+  CheckRemoveActions(policy, action_ids,
+                     base::BindOnce(&FullStreamUIPolicyTest::Action1Deleted));
   action_ids.clear();
 
   action_ids.push_back(3);
   action_ids.push_back(4);
-  CheckRemoveActions(
-      policy, action_ids, base::Bind(&FullStreamUIPolicyTest::Action2Deleted));
+  CheckRemoveActions(policy, action_ids,
+                     base::BindOnce(&FullStreamUIPolicyTest::Action2Deleted));
   action_ids.clear();
 
   policy->Close();
diff --git a/chrome/browser/media/router/discovery/discovery_network_monitor_metric_observer_unittest.cc b/chrome/browser/media/router/discovery/discovery_network_monitor_metric_observer_unittest.cc
index b48163d0..7cca342 100644
--- a/chrome/browser/media/router/discovery/discovery_network_monitor_metric_observer_unittest.cc
+++ b/chrome/browser/media/router/discovery/discovery_network_monitor_metric_observer_unittest.cc
@@ -80,27 +80,21 @@
             std::make_unique<MockNetworkChangeNotifier>()),
         task_runner_(new base::TestMockTimeTaskRunner()),
         task_runner_handle_(task_runner_),
-        mock_clock_(task_runner_->GetMockTickClock()),
-        start_ticks_(mock_clock_->NowTicks()),
+        start_ticks_(task_runner_->NowTicks()),
         metrics_(std::make_unique<MockMetrics>()),
         mock_metrics_(metrics_.get()),
-        clock_(task_runner_->GetMockTickClock()),
-        metric_observer_(clock_.get(), std::move(metrics_)) {}
+        metric_observer_(task_runner_->GetMockTickClock(),
+                         std::move(metrics_)) {}
 
  protected:
   base::TimeDelta time_advance_ = base::TimeDelta::FromMilliseconds(10);
   std::unique_ptr<MockNetworkChangeNotifier> mock_network_change_notifier_;
   scoped_refptr<base::TestMockTimeTaskRunner> task_runner_;
   base::ThreadTaskRunnerHandle task_runner_handle_;
-  std::unique_ptr<base::TickClock> mock_clock_;
   const base::TimeTicks start_ticks_;
   std::unique_ptr<MockMetrics> metrics_;
   MockMetrics* mock_metrics_;
 
-  // TODO(tzik): Remove |clock_| after updating GetMockTickClock to own the
-  // instance.
-  std::unique_ptr<base::TickClock> clock_;
-
   DiscoveryNetworkMonitorMetricObserver metric_observer_;
 };
 
@@ -311,7 +305,7 @@
   metric_observer_.OnNetworksChanged("network1");
 
   task_runner_->FastForwardBy(time_advance_);
-  const auto disconnect_ticks = mock_clock_->NowTicks();
+  const auto disconnect_ticks = task_runner_->NowTicks();
   mock_network_change_notifier_->SetConnectionType(
       net::NetworkChangeNotifier::CONNECTION_NONE);
   metric_observer_.OnNetworksChanged(
@@ -329,7 +323,7 @@
   task_runner_->RunUntilIdle();
 
   task_runner_->FastForwardBy(time_advance_);
-  const auto second_ethernet_ticks = mock_clock_->NowTicks();
+  const auto second_ethernet_ticks = task_runner_->NowTicks();
   EXPECT_CALL(*mock_metrics_, RecordTimeBetweenNetworkChangeEvents(
                                   second_ethernet_ticks - disconnect_ticks));
   EXPECT_CALL(
diff --git a/chrome/browser/notifications/notification_launch_id.cc b/chrome/browser/notifications/notification_launch_id.cc
index 8d720f5..4bb4873 100644
--- a/chrome/browser/notifications/notification_launch_id.cc
+++ b/chrome/browser/notifications/notification_launch_id.cc
@@ -13,6 +13,7 @@
 enum LaunchIdComponents {
   NORMAL = 0,
   BUTTON_INDEX = 1,
+  CONTEXT_MENU = 2,
 };
 
 NotificationLaunchId::NotificationLaunchId() = default;
@@ -47,14 +48,22 @@
     return;
   LaunchIdComponents components = static_cast<LaunchIdComponents>(number);
 
+  // The final token may contain the separation character.
   size_t min_num_tokens;
   switch (components) {
     case NORMAL:
+      // type|notification_type|profile_id|incognito|origin|notification_id
       min_num_tokens = 6;
       break;
     case BUTTON_INDEX:
+      // type|button_index|notification_type|profile_id|incognito|origin|notification_id
       min_num_tokens = 7;
       break;
+    case CONTEXT_MENU:
+      // type|notification_type|profile_id|incognito|origin|notification_id
+      min_num_tokens = 6;
+      is_for_context_menu_ = true;
+      break;
     default:
       // |components| has an invalid value.
       return;
@@ -97,11 +106,13 @@
   // and unsafe for origins -- and should therefore be encoded (as per
   // http://www.ietf.org/rfc/rfc1738.txt).
   std::string prefix;
-  if (button_index_ > -1) {
+  LaunchIdComponents type = is_for_context_menu_
+                                ? CONTEXT_MENU
+                                : (button_index_ > -1 ? BUTTON_INDEX : NORMAL);
+  if (button_index_ > -1)
     prefix = base::StringPrintf("|%d", button_index_);
-  }
   return base::StringPrintf(
-      "%d%s|%d|%s|%d|%s|%s", button_index_ > -1 ? 1 : 0, prefix.c_str(),
+      "%d%s|%d|%s|%d|%s|%s", type, prefix.c_str(),
       static_cast<int>(notification_type_), profile_id_.c_str(), incognito_,
       origin_url_.spec().c_str(), notification_id_.c_str());
 }
diff --git a/chrome/browser/notifications/notification_launch_id.h b/chrome/browser/notifications/notification_launch_id.h
index e786d70f..8cc5322c 100644
--- a/chrome/browser/notifications/notification_launch_id.h
+++ b/chrome/browser/notifications/notification_launch_id.h
@@ -34,7 +34,15 @@
 
   std::string Serialize() const;
 
-  void set_button_index(int index) { button_index_ = index; }
+  void set_button_index(int index) {
+    DCHECK(!is_for_context_menu_);
+    button_index_ = index;
+  }
+
+  void set_is_for_context_menu() {
+    DCHECK_EQ(-1, button_index_);
+    is_for_context_menu_ = true;
+  }
 
   NotificationHandler::Type notification_type() const {
     DCHECK(is_valid());
@@ -60,6 +68,10 @@
     DCHECK(is_valid());
     return button_index_;
   }
+  bool is_for_context_menu() const {
+    DCHECK(is_valid());
+    return is_for_context_menu_;
+  }
 
  private:
   NotificationHandler::Type notification_type_;
@@ -68,6 +80,7 @@
   bool incognito_ = false;
   GURL origin_url_;
   int button_index_ = -1;
+  bool is_for_context_menu_ = false;
 
   bool is_valid_ = false;
 };
diff --git a/chrome/browser/notifications/notification_launch_id_unittest.cc b/chrome/browser/notifications/notification_launch_id_unittest.cc
index a05941e..efbed12b 100644
--- a/chrome/browser/notifications/notification_launch_id_unittest.cc
+++ b/chrome/browser/notifications/notification_launch_id_unittest.cc
@@ -10,12 +10,34 @@
 #include "testing/gtest/include/gtest/gtest.h"
 
 TEST(NotificationLaunchIdTest, SerializationTests) {
-  NotificationLaunchId id(NotificationHandler::Type::WEB_PERSISTENT,
-                          "notification_id", "Default", true,
-                          GURL("https://example.com"));
-  EXPECT_TRUE(id.is_valid());
-  EXPECT_EQ("0|0|Default|1|https://example.com/|notification_id",
-            id.Serialize());
+  {
+    NotificationLaunchId id(NotificationHandler::Type::WEB_PERSISTENT,
+                            "notification_id", "Default", true,
+                            GURL("https://example.com"));
+    ASSERT_TRUE(id.is_valid());
+    EXPECT_EQ("0|0|Default|1|https://example.com/|notification_id",
+              id.Serialize());
+  }
+
+  {
+    NotificationLaunchId id(NotificationHandler::Type::WEB_PERSISTENT,
+                            "notification_id", "Default", true,
+                            GURL("https://example.com"));
+    id.set_button_index(0);
+    ASSERT_TRUE(id.is_valid());
+    EXPECT_EQ("1|0|0|Default|1|https://example.com/|notification_id",
+              id.Serialize());
+  }
+
+  {
+    NotificationLaunchId id(NotificationHandler::Type::WEB_PERSISTENT,
+                            "notification_id", "Default", true,
+                            GURL("https://example.com"));
+    id.set_is_for_context_menu();
+    ASSERT_TRUE(id.is_valid());
+    EXPECT_EQ("2|0|Default|1|https://example.com/|notification_id",
+              id.Serialize());
+  }
 }
 
 TEST(NotificationLaunchIdTest, ParsingTests) {
@@ -24,8 +46,9 @@
     std::string encoded = "0|0|Default|1|https://example.com/|notification_id";
     NotificationLaunchId id(encoded);
 
-    EXPECT_TRUE(id.is_valid());
+    ASSERT_TRUE(id.is_valid());
     EXPECT_EQ(-1, id.button_index());
+    EXPECT_FALSE(id.is_for_context_menu());
     EXPECT_EQ(NotificationHandler::Type::WEB_PERSISTENT,
               id.notification_type());
     EXPECT_TRUE(id.incognito());
@@ -39,8 +62,9 @@
         "0|0|Default|1|https://example.com/|notification_id|Extra|Data";
     NotificationLaunchId id(encoded);
 
-    EXPECT_TRUE(id.is_valid());
+    ASSERT_TRUE(id.is_valid());
     EXPECT_EQ(-1, id.button_index());
+    EXPECT_FALSE(id.is_for_context_menu());
     EXPECT_EQ(NotificationHandler::Type::WEB_PERSISTENT,
               id.notification_type());
     EXPECT_TRUE(id.incognito());
@@ -54,8 +78,9 @@
         "1|0|0|Default|1|https://example.com/|notification_id";
     NotificationLaunchId id(encoded);
 
-    EXPECT_TRUE(id.is_valid());
+    ASSERT_TRUE(id.is_valid());
     EXPECT_EQ(0, id.button_index());
+    EXPECT_FALSE(id.is_for_context_menu());
     EXPECT_EQ(NotificationHandler::Type::WEB_PERSISTENT,
               id.notification_type());
     EXPECT_TRUE(id.incognito());
@@ -67,18 +92,33 @@
   // id.
   {
     std::string encoded =
-        "1|0|0|Default|1|https://example.com/"
-        "|notification_id|Extra|Data|";
+        "1|0|0|Default|1|https://example.com/|notification_id|Extra|Data|";
     NotificationLaunchId id(encoded);
 
-    EXPECT_TRUE(id.is_valid());
+    ASSERT_TRUE(id.is_valid());
     EXPECT_EQ(0, id.button_index());
+    EXPECT_FALSE(id.is_for_context_menu());
     EXPECT_EQ(NotificationHandler::Type::WEB_PERSISTENT,
               id.notification_type());
     EXPECT_TRUE(id.incognito());
     EXPECT_EQ("Default", id.profile_id());
     EXPECT_EQ("notification_id|Extra|Data|", id.notification_id());
   }
+
+  // Input string for when the context menu item is selected.
+  {
+    std::string encoded = "2|0|Default|1|https://example.com/|notification_id";
+    NotificationLaunchId id(encoded);
+
+    ASSERT_TRUE(id.is_valid());
+    EXPECT_EQ(-1, id.button_index());
+    EXPECT_TRUE(id.is_for_context_menu());
+    EXPECT_EQ(NotificationHandler::Type::WEB_PERSISTENT,
+              id.notification_type());
+    EXPECT_TRUE(id.incognito());
+    EXPECT_EQ("Default", id.profile_id());
+    EXPECT_EQ("notification_id", id.notification_id());
+  }
 }
 
 TEST(NotificationLaunchIdTest, ParsingErrorCases) {
@@ -102,6 +142,8 @@
       {"0"},
       // Missing all but the component type (type BUTTON_INDEX).
       {"1"},
+      // Missing all but the component type (type CONTEXT_MENU).
+      {"2"},
   };
 
   for (const auto& test_case : cases) {
diff --git a/chrome/browser/notifications/notification_platform_bridge_win.cc b/chrome/browser/notifications/notification_platform_bridge_win.cc
index 7e8b7686..791196d 100644
--- a/chrome/browser/notifications/notification_platform_bridge_win.cc
+++ b/chrome/browser/notifications/notification_platform_bridge_win.cc
@@ -740,10 +740,14 @@
   if (!launch_id.is_valid())
     return false;
 
+  NotificationCommon::Operation operation = launch_id.is_for_context_menu()
+                                                ? NotificationCommon::SETTINGS
+                                                : NotificationCommon::CLICK;
+
   ForwardNotificationOperationOnUiThread(
-      NotificationCommon::CLICK, launch_id.notification_type(),
-      launch_id.origin_url(), launch_id.notification_id(),
-      launch_id.profile_id(), launch_id.incognito(),
+      operation, launch_id.notification_type(), launch_id.origin_url(),
+      launch_id.notification_id(), launch_id.profile_id(),
+      launch_id.incognito(),
       /*action_index=*/base::nullopt, /*by_user=*/true);
 
   return true;
diff --git a/chrome/browser/notifications/notification_platform_bridge_win.h b/chrome/browser/notifications/notification_platform_bridge_win.h
index f54da95..a585a5e 100644
--- a/chrome/browser/notifications/notification_platform_bridge_win.h
+++ b/chrome/browser/notifications/notification_platform_bridge_win.h
@@ -54,6 +54,7 @@
   FRIEND_TEST_ALL_PREFIXES(NotificationPlatformBridgeWinTest, Suppress);
   FRIEND_TEST_ALL_PREFIXES(NotificationPlatformBridgeWinUITest, GetDisplayed);
   FRIEND_TEST_ALL_PREFIXES(NotificationPlatformBridgeWinUITest, HandleEvent);
+  FRIEND_TEST_ALL_PREFIXES(NotificationPlatformBridgeWinUITest, HandleSettings);
 
   void PostTaskToTaskRunnerThread(base::OnceClosure closure) const;
 
diff --git a/chrome/browser/notifications/notification_platform_bridge_win_interactive_uitest.cc b/chrome/browser/notifications/notification_platform_bridge_win_interactive_uitest.cc
index b6db02de..41b7134 100644
--- a/chrome/browser/notifications/notification_platform_bridge_win_interactive_uitest.cc
+++ b/chrome/browser/notifications/notification_platform_bridge_win_interactive_uitest.cc
@@ -189,6 +189,54 @@
   EXPECT_EQ(base::nullopt, last_by_user_);
 }
 
+IN_PROC_BROWSER_TEST_F(NotificationPlatformBridgeWinUITest, HandleSettings) {
+  // This test exercises a feature that is not enabled in older versions of
+  // Windows.
+  if (base::win::GetVersion() < base::win::VERSION_WIN8)
+    return;
+
+  const wchar_t kXmlDoc[] =
+      LR"(<toast launch="0|0|Default|0|https://example.com/|notification_id">
+ <visual>
+  <binding template="ToastGeneric">
+   <text>My Title</text>
+   <text placement="attribution">example.com</text>
+  </binding>
+ </visual>
+ <actions>
+   <action content="settings" placement="contextMenu" activationType="foreground" arguments="2|0|Default|0|https://example.com/|notification_id"/>
+ </actions>
+</toast>
+)";
+
+  MockIToastNotification toast(kXmlDoc, L"tag");
+  MockIToastActivatedEventArgs args(
+      L"2|0|Default|0|https://example.com/|notification_id");
+
+  base::RunLoop run_loop;
+  display_service_tester_->SetProcessNotificationOperationDelegate(
+      base::BindRepeating(&NotificationPlatformBridgeWinUITest::HandleOperation,
+                          base::Unretained(this), run_loop.QuitClosure()));
+
+  // Simulate clicks on the toast.
+  NotificationPlatformBridgeWin* bridge =
+      static_cast<NotificationPlatformBridgeWin*>(
+          g_browser_process->notification_platform_bridge());
+  ASSERT_TRUE(bridge);
+  bridge->ForwardHandleEventForTesting(NotificationCommon::SETTINGS, &toast,
+                                       &args, base::nullopt);
+  run_loop.Run();
+
+  // Validate the click values.
+  EXPECT_EQ(NotificationCommon::SETTINGS, last_operation_);
+  EXPECT_EQ(NotificationHandler::Type::WEB_PERSISTENT, last_notification_type_);
+  EXPECT_EQ(GURL("https://example.com/"), last_origin_);
+  EXPECT_EQ("notification_id", last_notification_id_);
+  EXPECT_EQ(base::nullopt, last_action_index_);
+  EXPECT_EQ(base::nullopt, last_reply_);
+  EXPECT_EQ(base::nullopt, last_by_user_);
+}
+
 IN_PROC_BROWSER_TEST_F(NotificationPlatformBridgeWinUITest, GetDisplayed) {
   // This test requires WinRT core functions, which are not available in
   // older versions of Windows.
diff --git a/chrome/browser/notifications/notification_template_builder.cc b/chrome/browser/notifications/notification_template_builder.cc
index b6de3f3..d194fa8 100644
--- a/chrome/browser/notifications/notification_template_builder.cc
+++ b/chrome/browser/notifications/notification_template_builder.cc
@@ -48,7 +48,6 @@
 const char kInputId[] = "id";
 const char kInputType[] = "type";
 const char kStatus[] = "status";
-const char kNotificationSettings[] = "notificationSettings";
 const char kPlaceholderContent[] = "placeHolderContent";
 const char kPlacement[] = "placement";
 const char kPlacementAppLogoOverride[] = "appLogoOverride";
@@ -130,7 +129,7 @@
   builder->StartActionsElement();
   if (!notification.buttons().empty())
     builder->AddActions(notification, launch_id);
-  builder->AddContextMenu();
+  builder->AddContextMenu(launch_id);
   builder->EndActionsElement();
 
   if (notification.silent())
@@ -317,12 +316,16 @@
     WriteActionElement(buttons[i], i, notification.origin_url(), launch_id);
 }
 
-void NotificationTemplateBuilder::AddContextMenu() {
+void NotificationTemplateBuilder::AddContextMenu(
+    NotificationLaunchId copied_launch_id) {
   std::string notification_settings_msg = l10n_util::GetStringUTF8(
       IDS_WIN_NOTIFICATION_SETTINGS_CONTEXT_MENU_ITEM_NAME);
   if (context_menu_label_override_)
     notification_settings_msg = context_menu_label_override_;
-  WriteContextMenuElement(notification_settings_msg, kNotificationSettings);
+
+  copied_launch_id.set_is_for_context_menu();
+  WriteContextMenuElement(notification_settings_msg,
+                          copied_launch_id.Serialize());
 }
 
 void NotificationTemplateBuilder::StartActionsElement() {
@@ -343,12 +346,12 @@
     const message_center::ButtonInfo& button,
     int index,
     const GURL& origin,
-    NotificationLaunchId launch_id) {
+    NotificationLaunchId copied_launch_id) {
   xml_writer_->StartElement(kActionElement);
   xml_writer_->AddAttribute(kActivationType, kForeground);
   xml_writer_->AddAttribute(kContent, base::UTF16ToUTF8(button.title));
-  launch_id.set_button_index(index);
-  xml_writer_->AddAttribute(kArguments, launch_id.Serialize());
+  copied_launch_id.set_button_index(index);
+  xml_writer_->AddAttribute(kArguments, copied_launch_id.Serialize());
 
   if (!button.icon.IsEmpty()) {
     base::FilePath path = image_retainer_->RegisterTemporaryImage(
diff --git a/chrome/browser/notifications/notification_template_builder.h b/chrome/browser/notifications/notification_template_builder.h
index 451314739..0c56d51 100644
--- a/chrome/browser/notifications/notification_template_builder.h
+++ b/chrome/browser/notifications/notification_template_builder.h
@@ -123,10 +123,10 @@
   void WriteActionElement(const message_center::ButtonInfo& button,
                           int index,
                           const GURL& origin,
-                          NotificationLaunchId launch_id);
+                          NotificationLaunchId copied_launch_id);
 
   // Adds context menu actions to the notification sent by |origin|.
-  void AddContextMenu();
+  void AddContextMenu(NotificationLaunchId copied_launch_id);
   void WriteContextMenuElement(const std::string& content,
                                const std::string& arguments);
 
diff --git a/chrome/browser/notifications/notification_template_builder_unittest.cc b/chrome/browser/notifications/notification_template_builder_unittest.cc
index 7eb21d11..5599bc8 100644
--- a/chrome/browser/notifications/notification_template_builder_unittest.cc
+++ b/chrome/browser/notifications/notification_template_builder_unittest.cc
@@ -114,7 +114,7 @@
   </binding>
  </visual>
  <actions>
-  <action content="settings" placement="contextMenu" activationType="foreground" arguments="notificationSettings"/>
+  <action content="settings" placement="contextMenu" activationType="foreground" arguments="2|0|Default|0|https://example.com/|notification_id"/>
  </actions>
 </toast>
 )";
@@ -143,7 +143,7 @@
  <actions>
   <action activationType="foreground" content="Button1" arguments="1|0|0|Default|0|https://example.com/|notification_id"/>
   <action activationType="foreground" content="Button2" arguments="1|1|0|Default|0|https://example.com/|notification_id"/>
-  <action content="settings" placement="contextMenu" activationType="foreground" arguments="notificationSettings"/>
+  <action content="settings" placement="contextMenu" activationType="foreground" arguments="2|0|Default|0|https://example.com/|notification_id"/>
  </actions>
 </toast>
 )";
@@ -175,7 +175,7 @@
   <input id="userResponse" type="text" placeHolderContent="Reply here"/>
   <action activationType="foreground" content="Button1" arguments="1|0|0|Default|0|https://example.com/|notification_id"/>
   <action activationType="foreground" content="Button2" arguments="1|1|0|Default|0|https://example.com/|notification_id"/>
-  <action content="settings" placement="contextMenu" activationType="foreground" arguments="notificationSettings"/>
+  <action content="settings" placement="contextMenu" activationType="foreground" arguments="2|0|Default|0|https://example.com/|notification_id"/>
  </actions>
 </toast>
 )";
@@ -209,7 +209,7 @@
   <input id="userResponse" type="text" placeHolderContent="Reply here"/>
   <action activationType="foreground" content="Button1" arguments="1|0|0|Default|0|https://example.com/|notification_id"/>
   <action activationType="foreground" content="Button2" arguments="1|1|0|Default|0|https://example.com/|notification_id"/>
-  <action content="settings" placement="contextMenu" activationType="foreground" arguments="notificationSettings"/>
+  <action content="settings" placement="contextMenu" activationType="foreground" arguments="2|0|Default|0|https://example.com/|notification_id"/>
  </actions>
 </toast>
 )";
@@ -241,7 +241,7 @@
   <input id="userResponse" type="text" placeHolderContent="Reply here"/>
   <action activationType="foreground" content="Button1" arguments="1|0|0|Default|0|https://example.com/|notification_id"/>
   <action activationType="foreground" content="Button2" arguments="1|1|0|Default|0|https://example.com/|notification_id"/>
-  <action content="settings" placement="contextMenu" activationType="foreground" arguments="notificationSettings"/>
+  <action content="settings" placement="contextMenu" activationType="foreground" arguments="2|0|Default|0|https://example.com/|notification_id"/>
  </actions>
 </toast>
 )";
@@ -264,7 +264,7 @@
   </binding>
  </visual>
  <actions>
-  <action content="settings" placement="contextMenu" activationType="foreground" arguments="notificationSettings"/>
+  <action content="settings" placement="contextMenu" activationType="foreground" arguments="2|0|Default|0|https://example.com/|notification_id"/>
  </actions>
  <audio silent="true"/>
 </toast>
@@ -293,7 +293,7 @@
  </visual>
  <actions>
   <action activationType="foreground" content="Button1" arguments="1|0|0|Default|0|https://example.com/|notification_id"/>
-  <action content="settings" placement="contextMenu" activationType="foreground" arguments="notificationSettings"/>
+  <action content="settings" placement="contextMenu" activationType="foreground" arguments="2|0|Default|0|https://example.com/|notification_id"/>
  </actions>
 </toast>
 )";
@@ -317,7 +317,7 @@
   </binding>
  </visual>
  <actions>
-  <action content="settings" placement="contextMenu" activationType="foreground" arguments="notificationSettings"/>
+  <action content="settings" placement="contextMenu" activationType="foreground" arguments="2|0|Default|0|https://example.com/|notification_id"/>
  </actions>
 </toast>
 )";
@@ -341,7 +341,7 @@
   </binding>
  </visual>
  <actions>
-  <action content="%ls" placement="contextMenu" activationType="foreground" arguments="notificationSettings"/>
+  <action content="%ls" placement="contextMenu" activationType="foreground" arguments="2|0|Default|0|https://example.com/|notification_id"/>
  </actions>
 </toast>
 )";
@@ -386,7 +386,7 @@
  <actions>
   <input id="userResponse" type="text" placeHolderContent="Reply here"/>
   <action activationType="foreground" content="Button1" arguments="1|0|0|Default|0|https://example.com/|notification_id" imageUri="c:\temp\img2.tmp"/>
-  <action content="settings" placement="contextMenu" activationType="foreground" arguments="notificationSettings"/>
+  <action content="settings" placement="contextMenu" activationType="foreground" arguments="2|0|Default|0|https://example.com/|notification_id"/>
  </actions>
 </toast>
 )";
@@ -410,7 +410,7 @@
   </binding>
  </visual>
  <actions>
-  <action content="settings" placement="contextMenu" activationType="foreground" arguments="notificationSettings"/>
+  <action content="settings" placement="contextMenu" activationType="foreground" arguments="2|0|Default|0|https://example.com/|notification_id"/>
  </actions>
 </toast>
 )";
@@ -437,7 +437,7 @@
   </binding>
  </visual>
  <actions>
-  <action content="settings" placement="contextMenu" activationType="foreground" arguments="notificationSettings"/>
+  <action content="settings" placement="contextMenu" activationType="foreground" arguments="2|0|Default|0|https://example.com/|notification_id"/>
  </actions>
 </toast>
 )";
@@ -463,7 +463,7 @@
   </binding>
  </visual>
  <actions>
-  <action content="settings" placement="contextMenu" activationType="foreground" arguments="notificationSettings"/>
+  <action content="settings" placement="contextMenu" activationType="foreground" arguments="2|0|Default|0|https://example.com/|notification_id"/>
  </actions>
 </toast>
 )";
@@ -498,7 +498,7 @@
   </binding>
  </visual>
  <actions>
-  <action content="settings" placement="contextMenu" activationType="foreground" arguments="notificationSettings"/>
+  <action content="settings" placement="contextMenu" activationType="foreground" arguments="2|0|Default|0|https://example.com/|notification_id"/>
  </actions>
 </toast>
 )";
diff --git a/chrome/browser/offline_pages/prefetch/prefetch_background_task_handler_impl_unittest.cc b/chrome/browser/offline_pages/prefetch/prefetch_background_task_handler_impl_unittest.cc
index adfd750..023961e 100644
--- a/chrome/browser/offline_pages/prefetch/prefetch_background_task_handler_impl_unittest.cc
+++ b/chrome/browser/offline_pages/prefetch/prefetch_background_task_handler_impl_unittest.cc
@@ -30,7 +30,7 @@
   std::unique_ptr<PrefetchBackgroundTaskHandlerImpl> CreateHandler() {
     auto result = std::make_unique<PrefetchBackgroundTaskHandlerImpl>(
         profile_.GetPrefs());
-    result->SetTickClockForTesting(clock_.get());
+    result->SetTickClockForTesting(task_runner_->GetMockTickClock());
     return result;
   }
 
@@ -38,7 +38,6 @@
   content::TestBrowserThreadBundle thread_bundle_;
   TestingProfile profile_;
   scoped_refptr<base::TestMockTimeTaskRunner> task_runner_;
-  std::unique_ptr<base::TickClock> clock_;
   std::unique_ptr<PrefetchBackgroundTaskHandlerImpl> task_handler_;
 
  private:
@@ -47,8 +46,7 @@
 
 PrefetchBackgroundTaskHandlerImplTest::PrefetchBackgroundTaskHandlerImplTest()
     : task_runner_(new base::TestMockTimeTaskRunner(base::Time::Now(),
-                                                    base::TimeTicks::Now())),
-      clock_(task_runner_->GetMockTickClock()) {
+                                                    base::TimeTicks::Now())) {
   task_handler_ = CreateHandler();
 }
 
diff --git a/chrome/browser/page_load_metrics/observers/use_counter/ukm_features.cc b/chrome/browser/page_load_metrics/observers/use_counter/ukm_features.cc
index a97d07d22..30c38cd 100644
--- a/chrome/browser/page_load_metrics/observers/use_counter/ukm_features.cc
+++ b/chrome/browser/page_load_metrics/observers/use_counter/ukm_features.cc
@@ -14,7 +14,6 @@
       const base::flat_set<WebFeature>, opt_in_features,
       ({
           WebFeature::kNavigatorVibrate, WebFeature::kNavigatorVibrateSubFrame,
-          WebFeature::kVibrateWithoutUserGesture,
           WebFeature::kTouchEventPreventedNoTouchAction,
           WebFeature::kTouchEventPreventedForcedDocumentPassiveNoTouchAction,
           // kDataUriHasOctothorpe may not be recorded correctly for iframes.
diff --git a/chrome/browser/picture_in_picture/picture_in_picture_window_controller.cc b/chrome/browser/picture_in_picture/picture_in_picture_window_controller.cc
index c46eece..51fb3336 100644
--- a/chrome/browser/picture_in_picture/picture_in_picture_window_controller.cc
+++ b/chrome/browser/picture_in_picture/picture_in_picture_window_controller.cc
@@ -31,11 +31,7 @@
     content::WebContents* initiator)
     : initiator_(initiator) {
   DCHECK(initiator_);
-}
-
-void PictureInPictureWindowController::Init() {
-  if (!window_)
-    window_ = OverlayWindow::Create();
+  window_ = OverlayWindow::Create();
   window_->Init();
 }
 
@@ -52,9 +48,10 @@
 void PictureInPictureWindowController::EmbedSurface(viz::SurfaceId surface_id) {
   DCHECK(window_);
   DCHECK(surface_id.is_valid());
-
-  embedder_.reset(new OverlaySurfaceEmbedder(window_.get()));
   surface_id_ = surface_id;
+
+  if (!embedder_)
+    embedder_.reset(new OverlaySurfaceEmbedder(window_.get()));
   embedder_->SetPrimarySurfaceId(surface_id_);
 }
 
diff --git a/chrome/browser/picture_in_picture/picture_in_picture_window_controller.h b/chrome/browser/picture_in_picture/picture_in_picture_window_controller.h
index de4eab64..79c83b0 100644
--- a/chrome/browser/picture_in_picture/picture_in_picture_window_controller.h
+++ b/chrome/browser/picture_in_picture/picture_in_picture_window_controller.h
@@ -36,7 +36,6 @@
   static PictureInPictureWindowController* GetOrCreateForWebContents(
       content::WebContents* initiator);
 
-  void Init();
   void Show();
   void Close();
   void EmbedSurface(viz::SurfaceId);
diff --git a/chrome/browser/picture_in_picture/picture_in_picture_window_controller_browsertest.cc b/chrome/browser/picture_in_picture/picture_in_picture_window_controller_browsertest.cc
index 661e6ed..cd8fb747 100644
--- a/chrome/browser/picture_in_picture/picture_in_picture_window_controller_browsertest.cc
+++ b/chrome/browser/picture_in_picture/picture_in_picture_window_controller_browsertest.cc
@@ -44,8 +44,7 @@
   SetUpWindowController(active_web_contents);
   ASSERT_TRUE(window_controller() != nullptr);
 
-  ASSERT_TRUE(window_controller()->GetWindowForTesting() == nullptr);
-  window_controller()->Init();
+  ASSERT_TRUE(window_controller()->GetWindowForTesting() != nullptr);
   ASSERT_FALSE(window_controller()->GetWindowForTesting()->IsVisible());
   window_controller()->Show();
   ASSERT_TRUE(window_controller()->GetWindowForTesting()->IsVisible());
diff --git a/chrome/browser/resource_coordinator/tab_lifecycle_unit.cc b/chrome/browser/resource_coordinator/tab_lifecycle_unit.cc
index 254c872..102cd21 100644
--- a/chrome/browser/resource_coordinator/tab_lifecycle_unit.cc
+++ b/chrome/browser/resource_coordinator/tab_lifecycle_unit.cc
@@ -27,11 +27,11 @@
     base::ObserverList<TabLifecycleObserver>* observers,
     content::WebContents* web_contents,
     TabStripModel* tab_strip_model)
-    : observers_(observers),
-      web_contents_(web_contents),
+    : content::WebContentsObserver(web_contents),
+      observers_(observers),
       tab_strip_model_(tab_strip_model) {
   DCHECK(observers_);
-  DCHECK(web_contents_);
+  DCHECK(GetWebContents());
   DCHECK(tab_strip_model_);
 }
 
@@ -48,7 +48,7 @@
 void TabLifecycleUnitSource::TabLifecycleUnit::SetWebContents(
     content::WebContents* web_contents) {
   DCHECK(web_contents);
-  web_contents_ = web_contents;
+  Observe(web_contents);
 }
 
 void TabLifecycleUnitSource::TabLifecycleUnit::SetFocused(bool focused) {
@@ -268,7 +268,7 @@
 
 content::WebContents* TabLifecycleUnitSource::TabLifecycleUnit::GetWebContents()
     const {
-  return web_contents_;
+  return web_contents();
 }
 
 bool TabLifecycleUnitSource::TabLifecycleUnit::IsMediaTab() const {
@@ -328,7 +328,7 @@
   return GetWebContents()->GetMainFrame()->GetProcess();
 }
 
-void TabLifecycleUnitSource::TabLifecycleUnit::OnDidStartLoading() {
+void TabLifecycleUnitSource::TabLifecycleUnit::DidStartLoading() {
   if (GetState() == State::DISCARDED) {
     SetState(State::LOADED);
     OnDiscardedStateChange();
diff --git a/chrome/browser/resource_coordinator/tab_lifecycle_unit.h b/chrome/browser/resource_coordinator/tab_lifecycle_unit.h
index f39c46b..2573efc 100644
--- a/chrome/browser/resource_coordinator/tab_lifecycle_unit.h
+++ b/chrome/browser/resource_coordinator/tab_lifecycle_unit.h
@@ -12,6 +12,7 @@
 #include "chrome/browser/resource_coordinator/tab_lifecycle_unit_external.h"
 #include "chrome/browser/resource_coordinator/tab_lifecycle_unit_source.h"
 #include "chrome/browser/resource_coordinator/time.h"
+#include "content/public/browser/web_contents_observer.h"
 
 class TabStripModel;
 
@@ -35,7 +36,8 @@
 // Represents a tab.
 class TabLifecycleUnitSource::TabLifecycleUnit
     : public LifecycleUnitBase,
-      public TabLifecycleUnitExternal {
+      public TabLifecycleUnitExternal,
+      public content::WebContentsObserver {
  public:
   // |observers| is a list of observers to notify when the discarded state or
   // the auto-discardable state of this tab changes. It can be modified outside
@@ -67,10 +69,6 @@
   // "recently audible" state of the tab changes.
   void SetRecentlyAudible(bool recently_audible);
 
-  // Invoked when we receive a DidStartLoading notification for the WebContents
-  // used by this tab.
-  void OnDidStartLoading();
-
   // LifecycleUnit:
   TabLifecycleUnitExternal* AsTabLifecycleUnitExternal() override;
   base::string16 GetTitle() const override;
@@ -98,13 +96,13 @@
   // Returns the RenderProcessHost associated with this tab.
   content::RenderProcessHost* GetRenderProcessHost() const;
 
+  // content::WebContentsObserver:
+  void DidStartLoading() override;
+
   // List of observers to notify when the discarded state or the auto-
   // discardable state of this tab changes.
   base::ObserverList<TabLifecycleObserver>* observers_;
 
-  // The WebContents for this tab.
-  content::WebContents* web_contents_;
-
   // TabStripModel to which this tab belongs.
   TabStripModel* tab_strip_model_;
 
diff --git a/chrome/browser/resource_coordinator/tab_lifecycle_unit_source.cc b/chrome/browser/resource_coordinator/tab_lifecycle_unit_source.cc
index df85ded..e3093d3c 100644
--- a/chrome/browser/resource_coordinator/tab_lifecycle_unit_source.cc
+++ b/chrome/browser/resource_coordinator/tab_lifecycle_unit_source.cc
@@ -14,7 +14,6 @@
 #include "chrome/browser/ui/browser_list.h"
 #include "chrome/browser/ui/browser_window.h"
 #include "chrome/browser/ui/tabs/tab_strip_model.h"
-#include "content/public/browser/web_contents_observer.h"
 
 namespace resource_coordinator {
 
@@ -64,41 +63,6 @@
   UpdateFocusedTab();
 }
 
-// A specialization of content::WebContentsObserver that allows to properly
-// track the destruction of tabs.
-class TabLifecycleUnitSource::TabLifecycleUnitWebContentsObserver
-    : public content::WebContentsObserver {
- public:
-  TabLifecycleUnitWebContentsObserver(
-      content::WebContents* web_contents,
-      TabLifecycleUnit* lifecycle_unit,
-      TabLifecycleUnitSource* lifecycle_unit_source)
-      : content::WebContentsObserver(web_contents),
-        lifecycle_unit_(lifecycle_unit),
-        lifecycle_unit_source_(lifecycle_unit_source) {}
-
-  void DidStartLoading() override {
-    DCHECK(lifecycle_unit_);
-    lifecycle_unit_->OnDidStartLoading();
-  }
-
-  void WebContentsDestroyed() override {
-    lifecycle_unit_source_->OnWebContentsDestroyed(web_contents());
-    // The call above will free |this| and so nothing should be done on this
-    // object starting from here.
-  }
-
- private:
-  // The lifecycle unit for this tab.
-  TabLifecycleUnit* lifecycle_unit_;
-
-  // The lifecycle unit source that should get notified when the observed
-  // WebContents is about to be destroyed.
-  TabLifecycleUnitSource* lifecycle_unit_source_;
-
-  DISALLOW_COPY_AND_ASSIGN(TabLifecycleUnitWebContentsObserver);
-};
-
 TabStripModel* TabLifecycleUnitSource::GetFocusedTabStripModel() const {
   if (focused_tab_strip_model_for_testing_)
     return focused_tab_strip_model_for_testing_;
@@ -149,11 +113,6 @@
     // Add a self-owned observer to the LifecycleUnit to record metrics.
     lifecycle_unit->AddObserver(new DiscardMetricsLifecycleUnitObserver());
 
-    // Track the WebContents used by this tab.
-    web_contents_observers_.insert(std::make_pair(
-        contents, std::make_unique<TabLifecycleUnitWebContentsObserver>(
-                      contents, lifecycle_unit, this)));
-
     NotifyLifecycleUnitCreated(lifecycle_unit);
   } else {
     // A tab was moved to another window.
@@ -163,6 +122,18 @@
   }
 }
 
+void TabLifecycleUnitSource::TabClosingAt(TabStripModel* tab_strip_model,
+                                          content::WebContents* contents,
+                                          int index) {
+  auto it = tabs_.find(contents);
+  DCHECK(it != tabs_.end());
+  TabLifecycleUnit* lifecycle_unit = it->second.get();
+  if (focused_tab_lifecycle_unit_ == lifecycle_unit)
+    focused_tab_lifecycle_unit_ = nullptr;
+  NotifyLifecycleUnitDestroyed(lifecycle_unit);
+  tabs_.erase(contents);
+}
+
 void TabLifecycleUnitSource::ActiveTabChanged(
     content::WebContents* old_contents,
     content::WebContents* new_contents,
@@ -180,11 +151,7 @@
   DCHECK(it != tabs_.end());
   std::unique_ptr<TabLifecycleUnit> lifecycle_unit = std::move(it->second);
   lifecycle_unit->SetWebContents(new_contents);
-  web_contents_observers_.erase(old_contents);
   tabs_.erase(it);
-  web_contents_observers_.insert(std::make_pair(
-      new_contents, std::make_unique<TabLifecycleUnitWebContentsObserver>(
-                        new_contents, lifecycle_unit.get(), this)));
   tabs_[new_contents] = std::move(lifecycle_unit);
 }
 
@@ -211,15 +178,4 @@
   UpdateFocusedTab();
 }
 
-void TabLifecycleUnitSource::OnWebContentsDestroyed(
-    content::WebContents* contents) {
-  auto it = tabs_.find(contents);
-  DCHECK(it != tabs_.end());
-  TabLifecycleUnit* lifecycle_unit = it->second.get();
-  if (focused_tab_lifecycle_unit_ == lifecycle_unit)
-    focused_tab_lifecycle_unit_ = nullptr;
-  NotifyLifecycleUnitDestroyed(lifecycle_unit);
-  tabs_.erase(contents);
-}
-
 }  // namespace resource_coordinator
diff --git a/chrome/browser/resource_coordinator/tab_lifecycle_unit_source.h b/chrome/browser/resource_coordinator/tab_lifecycle_unit_source.h
index e48f83a..cbcb7a4f 100644
--- a/chrome/browser/resource_coordinator/tab_lifecycle_unit_source.h
+++ b/chrome/browser/resource_coordinator/tab_lifecycle_unit_source.h
@@ -53,7 +53,6 @@
   friend class TabLifecycleUnitTest;
 
   class TabLifecycleUnit;
-  class TabLifecycleUnitWebContentsObserver;
 
   // Returns the TabStripModel of the focused browser window, if any.
   TabStripModel* GetFocusedTabStripModel() const;
@@ -72,6 +71,9 @@
                      content::WebContents* contents,
                      int index,
                      bool foreground) override;
+  void TabClosingAt(TabStripModel* tab_strip_model,
+                    content::WebContents* contents,
+                    int index) override;
   void ActiveTabChanged(content::WebContents* old_contents,
                         content::WebContents* new_contents,
                         int index,
@@ -88,8 +90,6 @@
   void OnBrowserSetLastActive(Browser* browser) override;
   void OnBrowserNoLongerActive(Browser* browser) override;
 
-  void OnWebContentsDestroyed(content::WebContents* contents);
-
   // Tracks the BrowserList and all TabStripModels.
   BrowserTabStripTracker browser_tab_strip_tracker_;
 
@@ -108,12 +108,6 @@
   // changes.
   base::ObserverList<TabLifecycleObserver> tab_lifecycle_observers_;
 
-  // Map from content::WebContents to TabLifecycleUnitWebContentsObserver,
-  // used to track the WebContents destruction.
-  base::flat_map<content::WebContents*,
-                 std::unique_ptr<TabLifecycleUnitWebContentsObserver>>
-      web_contents_observers_;
-
   DISALLOW_COPY_AND_ASSIGN(TabLifecycleUnitSource);
 };
 
diff --git a/chrome/browser/resource_coordinator/tab_lifecycle_unit_source_unittest.cc b/chrome/browser/resource_coordinator/tab_lifecycle_unit_source_unittest.cc
index 1641972..c05c8c6 100644
--- a/chrome/browser/resource_coordinator/tab_lifecycle_unit_source_unittest.cc
+++ b/chrome/browser/resource_coordinator/tab_lifecycle_unit_source_unittest.cc
@@ -73,7 +73,8 @@
 class TabLifecycleUnitSourceTest : public ChromeRenderViewHostTestHarness {
  protected:
   TabLifecycleUnitSourceTest()
-      : scoped_set_tick_clock_for_testing_(&test_clock_) {}
+      : scoped_set_tick_clock_for_testing_(&test_clock_) {
+  }
 
   void SetUp() override {
     ChromeRenderViewHostTestHarness::SetUp();
@@ -442,22 +443,4 @@
 #endif
 }
 
-TEST_F(TabLifecycleUnitSourceTest, HandleWebContentsDestruction) {
-  LifecycleUnit* first_lifecycle_unit = nullptr;
-  LifecycleUnit* second_lifecycle_unit = nullptr;
-  CreateTwoTabs(true /* focus_tab_strip */, &first_lifecycle_unit,
-                &second_lifecycle_unit);
-
-  // Detach the second WebContents and manually destroy it, the
-  // observer should be notified.
-  EXPECT_CALL(source_observer_,
-              OnLifecycleUnitDestroyed(second_lifecycle_unit));
-  delete tab_strip_model_->DetachWebContentsAt(1);
-
-  testing::Mock::VerifyAndClear(&source_observer_);
-
-  EXPECT_CALL(source_observer_, OnLifecycleUnitDestroyed(first_lifecycle_unit));
-  tab_strip_model_->CloseAllTabs();
-}
-
 }  // namespace resource_coordinator
diff --git a/chrome/browser/resource_coordinator/tab_manager.cc b/chrome/browser/resource_coordinator/tab_manager.cc
index 387fa9a9..143a574e 100644
--- a/chrome/browser/resource_coordinator/tab_manager.cc
+++ b/chrome/browser/resource_coordinator/tab_manager.cc
@@ -482,7 +482,13 @@
     DCHECK(tab_lifecycle_unit_external);
     content::WebContents* content =
         tab_lifecycle_unit_external->GetWebContents();
-    DCHECK(content);
+    // TODO(fdoray): Check if TabLifecycleUnitSource should override
+    // WebContentsObserver::WebContentsDestroyed() as in some situations a
+    // WebContents might get destroyed without a call to
+    // TabStripModelObserver::TabClosingAt, in this case we'll have a
+    // TabLifecycleUnitExternal that points to a null WebContents.
+    if (content == nullptr)
+      return;
 
     content::RenderProcessHost* render_process_host =
         content->GetMainFrame()->GetProcess();
diff --git a/chrome/browser/resource_coordinator/tab_manager_unittest.cc b/chrome/browser/resource_coordinator/tab_manager_unittest.cc
index 1aed28b..4120139 100644
--- a/chrome/browser/resource_coordinator/tab_manager_unittest.cc
+++ b/chrome/browser/resource_coordinator/tab_manager_unittest.cc
@@ -134,7 +134,8 @@
 
 class TabManagerTest : public ChromeRenderViewHostTestHarness {
  public:
-  TabManagerTest() : scoped_set_tick_clock_for_testing_(tick_clock_.get()) {
+  TabManagerTest()
+      : scoped_set_tick_clock_for_testing_(task_runner_->GetMockTickClock()) {
     base::MessageLoop::current()->SetTaskRunner(task_runner_);
   }
 
@@ -252,8 +253,6 @@
   TabManager* tab_manager_ = nullptr;
   scoped_refptr<base::TestMockTimeTaskRunner> task_runner_ =
       base::MakeRefCounted<base::TestMockTimeTaskRunner>();
-  std::unique_ptr<base::TickClock> tick_clock_ =
-      task_runner_->GetMockTickClock();
   ScopedSetTickClockForTesting scoped_set_tick_clock_for_testing_;
   std::unique_ptr<BackgroundTabNavigationThrottle> throttle1_;
   std::unique_ptr<BackgroundTabNavigationThrottle> throttle2_;
diff --git a/chrome/browser/resources/md_extensions/detail_view.html b/chrome/browser/resources/md_extensions/detail_view.html
index f730ba93..e8159c04 100644
--- a/chrome/browser/resources/md_extensions/detail_view.html
+++ b/chrome/browser/resources/md_extensions/detail_view.html
@@ -110,11 +110,6 @@
         justify-content: space-between;
       }
 
-      .section.continuation.warning {
-        padding-left: 21px;
-        padding-right: 8px;
-      }
-
       .section:first-child {
         border: none;
       }
@@ -140,41 +135,25 @@
       .warning .action-button {
         background: white;
         color: var(--google-blue-500);
-        margin-left: 14px;
-        width: 78px;
       }
 
       #reload-button {
         color: var(--google-blue-500);
       }
 
-      .warning div {
-        display: flex;
-      }
-
       .warning span {
-        color: var(--paper-red-700);
-        width: 484px;
+        color: var(--google-red-700);
+        flex: 1;
       }
 
       .warning-icon {
-        --iron-icon-fill-color: var(--paper-red-700);
-        -webkit-margin-end: 16px;
-        height: 19px;
-        width: 19px;
-      }
-
-      #error-icon {
         --iron-icon-fill-color: var(--google-red-700);
-        -webkit-margin-end: 4px;
+        -webkit-margin-end: 8px;
+        flex-shrink: 0;
         height: 18px;
         width: 18px;
       }
 
-      #runtime-warnings {
-        color: var(--google-red-700);
-      }
-
       ul {
         -webkit-padding-start: 20px;
         margin: 0;
@@ -244,36 +223,34 @@
         <div id="warnings" hidden$="[[!hasWarnings_(data.*)]]">
           <div id="runtime-warnings" aria-describedby="a11yAssociation"
               hidden$="[[!data.runtimeWarnings.length]]"
-              class="section continuation control-line">
-            <div>
-              <iron-icon id="error-icon" icon="error"></iron-icon>
+              class="section continuation warning control-line">
+            <iron-icon class="warning-icon" icon="error"></iron-icon>
+            <span>
               <template is="dom-repeat" items="[[data.runtimeWarnings]]">
                 [[item]]
               </template>
-            </div>
-            <paper-button id="reload-button" on-click="onReloadTap_">
+            </span>
+            <paper-button id="reload-button" class="action-button"
+                on-click="onReloadTap_">
               $i18n{itemReload}
             </paper-button>
           </div>
           <div class="section continuation warning" id="suspicious-warning"
               hidden$="[[!data.disableReasons.suspiciousInstall]]">
-            <div>
-              <iron-icon class="warning-icon" icon="cr:warning"></iron-icon>
-              <span>
-                $i18n{itemSuspiciousInstall}
-                <a target="_blank" id="learn-more-link"
-                    href="$i18n{suspiciousInstallHelpUrl}">
-                  $i18n{learnMore}
-                </a>
-              </span>
-            </div>
+            <iron-icon class="warning-icon" icon="cr:warning"></iron-icon>
+            <span>
+              $i18n{itemSuspiciousInstall}
+              <a target="_blank" id="learn-more-link"
+                  href="$i18n{suspiciousInstallHelpUrl}">
+                $i18n{learnMore}
+              </a>
+            </span>
           </div>
-          <div class="section continuation warning" id="corrupted-warning"
+          <div class="section continuation warning control-line"
+              id="corrupted-warning"
               hidden$="[[!data.disableReasons.corruptInstall]]">
-            <div>
-              <iron-icon class="warning-icon" icon="cr:warning"></iron-icon>
-              <span>$i18n{itemCorruptInstall}</span>
-            </div>
+            <iron-icon class="warning-icon" icon="cr:warning"></iron-icon>
+            <span>$i18n{itemCorruptInstall}</span>
             <paper-button id="repair-button" class="action-button"
                 on-click="onRepairTap_">
               $i18n{itemRepair}
@@ -281,17 +258,13 @@
           </div>
           <div class="section continuation warning" id="blacklisted-warning"
               hidden$="[[!data.blacklistText]]">
-            <div>
-              <iron-icon class="warning-icon" icon="cr:warning"></iron-icon>
-              <span>[[data.blacklistText]]</span>
-            </div>
+            <iron-icon class="warning-icon" icon="cr:warning"></iron-icon>
+            <span>[[data.blacklistText]]</span>
           </div>
           <div class="section continuation warning" id="update-required-warning"
               hidden$="[[!data.disableReasons.updateRequired]]">
-            <div>
-              <iron-icon class="warning-icon" icon="cr:warning"></iron-icon>
-              <span>$i18n{updateRequiredByPolicy}</span>
-            </div>
+            <iron-icon class="warning-icon" icon="cr:warning"></iron-icon>
+            <span>$i18n{updateRequiredByPolicy}</span>
           </div>
         </div>
         <div class="section continuation block">
diff --git a/chrome/browser/safe_browsing/BUILD.gn b/chrome/browser/safe_browsing/BUILD.gn
index 3837130..f6384717 100644
--- a/chrome/browser/safe_browsing/BUILD.gn
+++ b/chrome/browser/safe_browsing/BUILD.gn
@@ -120,6 +120,7 @@
       "//components/safe_browsing/db:whitelist_checker_client",
       "//components/safe_browsing/password_protection",
       "//components/safe_browsing/triggers:ad_sampler_trigger",
+      "//components/safe_browsing/triggers:suspicious_site_trigger",
       "//components/safe_browsing/triggers:trigger_throttler",
       "//components/safe_browsing/triggers:triggers",
     ]
diff --git a/chrome/browser/safe_browsing/client_side_detection_host.cc b/chrome/browser/safe_browsing/client_side_detection_host.cc
index 705f7176..933483f 100644
--- a/chrome/browser/safe_browsing/client_side_detection_host.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_host.cc
@@ -33,7 +33,6 @@
 #include "content/public/browser/render_process_host.h"
 #include "content/public/browser/web_contents.h"
 #include "content/public/common/frame_navigate_params.h"
-#include "content/public/common/subresource_load_info.mojom.h"
 #include "content/public/common/url_constants.h"
 #include "net/http/http_response_headers.h"
 #include "services/service_manager/public/cpp/interface_provider.h"
@@ -446,15 +445,13 @@
 }
 
 void ClientSideDetectionHost::SubresourceResponseStarted(
-    const content::mojom::SubresourceLoadInfoPtr& subresource_load_info) {
-  if (browse_info_.get() && should_extract_malware_features_ &&
-      subresource_load_info->url.is_valid()) {
-    UpdateIPUrlMap(subresource_load_info->ip->ToString(),
-                   subresource_load_info->url.spec(),
-                   subresource_load_info->method,
-                   subresource_load_info->referrer.spec(),
-                   subresource_load_info->resource_type);
-  }
+    const GURL& url,
+    const GURL& referrer,
+    const std::string& method,
+    content::ResourceType resource_type,
+    const std::string& ip) {
+  if (browse_info_.get() && should_extract_malware_features_ && url.is_valid())
+    UpdateIPUrlMap(ip, url.spec(), method, referrer.spec(), resource_type);
 }
 
 void ClientSideDetectionHost::OnSafeBrowsingHit(
diff --git a/chrome/browser/safe_browsing/client_side_detection_host.h b/chrome/browser/safe_browsing/client_side_detection_host.h
index 5955107..aa7d747 100644
--- a/chrome/browser/safe_browsing/client_side_detection_host.h
+++ b/chrome/browser/safe_browsing/client_side_detection_host.h
@@ -45,8 +45,11 @@
   // we should classify the new URL.
   void DidFinishNavigation(
       content::NavigationHandle* navigation_handle) override;
-  void SubresourceResponseStarted(const content::mojom::SubresourceLoadInfoPtr&
-                                      subresource_load_info) override;
+  void SubresourceResponseStarted(const GURL& url,
+                                  const GURL& referrer,
+                                  const std::string& method,
+                                  content::ResourceType resource_type,
+                                  const std::string& ip) override;
 
   // Called when the SafeBrowsingService found a hit with one of the
   // SafeBrowsing lists.  This method is called on the UI thread.
diff --git a/chrome/browser/safe_browsing/trigger_creator.cc b/chrome/browser/safe_browsing/trigger_creator.cc
index 6ccd0cc..6577ee9 100644
--- a/chrome/browser/safe_browsing/trigger_creator.cc
+++ b/chrome/browser/safe_browsing/trigger_creator.cc
@@ -10,6 +10,7 @@
 #include "chrome/browser/safe_browsing/safe_browsing_service.h"
 #include "components/prefs/pref_service.h"
 #include "components/safe_browsing/triggers/ad_sampler_trigger.h"
+#include "components/safe_browsing/triggers/suspicious_site_trigger.h"
 #include "components/safe_browsing/triggers/trigger_manager.h"
 #include "components/safe_browsing/triggers/trigger_throttler.h"
 #include "components/security_interstitials/core/base_safe_browsing_error_ui.h"
@@ -53,6 +54,14 @@
         HistoryServiceFactory::GetForProfile(
             profile, ServiceAccessType::EXPLICIT_ACCESS));
   }
+  if (trigger_manager->CanStartDataCollection(options,
+                                              TriggerType::SUSPICIOUS_SITE)) {
+    safe_browsing::SuspiciousSiteTrigger::CreateForWebContents(
+        web_contents, trigger_manager, profile->GetPrefs(),
+        profile->GetRequestContext(),
+        HistoryServiceFactory::GetForProfile(
+            profile, ServiceAccessType::EXPLICIT_ACCESS));
+  }
 }
 
 }  // namespace safe_browsing
diff --git a/chrome/browser/ssl/security_state_tab_helper.cc b/chrome/browser/ssl/security_state_tab_helper.cc
index a73442a..ca033ee 100644
--- a/chrome/browser/ssl/security_state_tab_helper.cc
+++ b/chrome/browser/ssl/security_state_tab_helper.cc
@@ -294,6 +294,7 @@
       case safe_browsing::SB_THREAT_TYPE_SUBRESOURCE_FILTER:
       case safe_browsing::SB_THREAT_TYPE_CSD_WHITELIST:
       case safe_browsing::SB_THREAT_TYPE_AD_SAMPLE:
+      case safe_browsing::SB_THREAT_TYPE_SUSPICIOUS_SITE:
         // These threat types are not currently associated with
         // interstitials, and thus resources with these threat types are
         // not ever whitelisted or pending whitelisting.
diff --git a/chrome/browser/sync/chrome_sync_client.cc b/chrome/browser/sync/chrome_sync_client.cc
index f053b4f..40bdebf 100644
--- a/chrome/browser/sync/chrome_sync_client.cc
+++ b/chrome/browser/sync/chrome_sync_client.cc
@@ -156,10 +156,6 @@
   ~SyncSessionsClientImpl() override {}
 
   // SyncSessionsClient implementation.
-  bookmarks::BookmarkModel* GetBookmarkModel() override {
-    DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
-    return BookmarkModelFactory::GetForBrowserContext(profile_);
-  }
   favicon::FaviconService* GetFaviconService() override {
     DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
     return FaviconServiceFactory::GetForProfile(
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 115c01c..49d5264 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1411,10 +1411,10 @@
   if (!surface_id.is_valid())
     return;
 
-  pip_window_controller_.reset(
-      PictureInPictureWindowController::GetOrCreateForWebContents(
-          tab_strip_model_->GetActiveWebContents()));
-  pip_window_controller_->Init();
+  if (!pip_window_controller_)
+    pip_window_controller_.reset(
+        PictureInPictureWindowController::GetOrCreateForWebContents(
+            tab_strip_model_->GetActiveWebContents()));
   pip_window_controller_->EmbedSurface(surface_id);
   pip_window_controller_->Show();
 }
diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc
index 4e1221a..66eb6a6 100644
--- a/chrome/browser/ui/browser_command_controller.cc
+++ b/chrome/browser/ui/browser_command_controller.cc
@@ -679,7 +679,7 @@
       break;
     case IDC_HOSTED_APP_MENU_APP_INFO:
       ShowPageInfoDialog(browser_->tab_strip_model()->GetActiveWebContents(),
-                         bubble_anchor_util::kHostedAppMenu);
+                         bubble_anchor_util::kAppMenuButton);
       break;
 
     default:
diff --git a/chrome/browser/ui/bubble_anchor_util.h b/chrome/browser/ui/bubble_anchor_util.h
index 77237db..69cfe0b3 100644
--- a/chrome/browser/ui/bubble_anchor_util.h
+++ b/chrome/browser/ui/bubble_anchor_util.h
@@ -19,7 +19,7 @@
 // Used as a parameter of GetPageInfoAnchorView().
 enum Anchor {
   kLocationBar,
-  kHostedAppMenu,
+  kAppMenuButton,
 };
 
 // Offset from the window edge to show bubbles when there is no location bar.
diff --git a/chrome/browser/ui/cocoa/app_menu/app_menu_controller_unittest.mm b/chrome/browser/ui/cocoa/app_menu/app_menu_controller_unittest.mm
index 5e87d7a..aa225c7 100644
--- a/chrome/browser/ui/cocoa/app_menu/app_menu_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/app_menu/app_menu_controller_unittest.mm
@@ -77,14 +77,6 @@
   MOCK_METHOD2(ExecuteCommand, void(int command_id, int event_flags));
 };
 
-class DummyRouter : public sync_sessions::LocalSessionEventRouter {
- public:
-  ~DummyRouter() override {}
-  void StartRoutingTo(
-      sync_sessions::LocalSessionEventHandler* handler) override {}
-  void Stop() override {}
-};
-
 class BrowserRemovedObserver : public BrowserListObserver {
  public:
   BrowserRemovedObserver() { BrowserList::AddObserver(this); }
@@ -132,8 +124,7 @@
         ProfileSyncServiceFactory::GetForProfile(profile())
             ->GetSyncClient()
             ->GetSyncSessionsClient(),
-        sync_prefs_.get(), local_device_.get(), &dummy_router_,
-        base::Closure());
+        sync_prefs_.get(), local_device_.get(), base::Closure());
 
     manager_->MergeDataAndStartSyncing(
         syncer::SESSIONS, syncer::SyncDataList(),
@@ -190,7 +181,6 @@
 
  private:
   std::unique_ptr<syncer::LocalDeviceInfoProviderMock> local_device_;
-  DummyRouter dummy_router_;
   std::unique_ptr<syncer::SyncPrefs> sync_prefs_;
   browser_sync::ProfileSyncServiceMock* mock_sync_service_ = nullptr;
   std::unique_ptr<sync_sessions::SessionsSyncManager> manager_;
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
index 79c4d50..b8f86d7 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
@@ -69,7 +69,6 @@
   void SetCaretPos(size_t caret_pos) override;
   void EnterKeywordModeForDefaultSearchProvider() override;
   bool IsSelectAll() const override;
-  bool DeleteAtEndPressed() override;
   void GetSelectionBounds(base::string16::size_type* start,
                           base::string16::size_type* end) const override;
   void SelectAll(bool reversed) override;
@@ -221,9 +220,6 @@
   // Was delete pressed?
   bool delete_was_pressed_;
 
-  // Was the delete key pressed with an empty selection at the end of the edit?
-  bool delete_at_end_pressed_;
-
   // State used to coalesce changes to text and selection to avoid drawing
   // transient state.
   bool in_coalesced_update_block_;
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
index eabeec6..c7a12b4 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
@@ -170,7 +170,6 @@
       saved_temporary_selection_(NSMakeRange(0, 0)),
       marked_range_before_change_(NSMakeRange(0, 0)),
       delete_was_pressed_(false),
-      delete_at_end_pressed_(false),
       in_coalesced_update_block_(false),
       do_coalesced_text_update_(false),
       do_coalesced_range_update_(false),
@@ -352,10 +351,6 @@
   return NSEqualRanges(all_range, GetSelectedRange());
 }
 
-bool OmniboxViewMac::DeleteAtEndPressed() {
-  return delete_at_end_pressed_;
-}
-
 void OmniboxViewMac::GetSelectionBounds(base::string16::size_type* start,
                                         base::string16::size_type* end) const {
   if (![field_ currentEditor]) {
@@ -666,16 +661,9 @@
   OmniboxView::StateChanges state_changes =
       GetStateChanges(state_before_change_, new_state);
 
-  const bool at_end_of_edit = (new_state.text.length() == new_state.sel_end);
-
-  delete_at_end_pressed_ = false;
-
   const bool something_changed = model()->OnAfterPossibleChange(
       state_changes, allow_keyword_ui_change && !IsImeComposing());
 
-  if (delete_was_pressed_ && at_end_of_edit)
-    delete_at_end_pressed_ = true;
-
   // Restyle in case the user changed something.
   // TODO(shess): I believe there are multiple-redraw cases, here.
   // Linux watches for something_changed && text_differs, but that
diff --git a/chrome/browser/ui/input_method/input_method_engine.cc b/chrome/browser/ui/input_method/input_method_engine.cc
index d6ac803..8f1a719 100644
--- a/chrome/browser/ui/input_method/input_method_engine.cc
+++ b/chrome/browser/ui/input_method/input_method_engine.cc
@@ -141,7 +141,7 @@
   if (composition_.ime_text_spans.empty()) {
     composition_.ime_text_spans.push_back(ui::ImeTextSpan(
         ui::ImeTextSpan::Type::kComposition, 0, composition_.text.length(),
-        SK_ColorBLACK, false /* thick */, SK_ColorTRANSPARENT));
+        SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT));
   }
 
   ui::IMEInputContextHandlerInterface* input_context =
diff --git a/chrome/browser/ui/input_method/input_method_engine_base.cc b/chrome/browser/ui/input_method/input_method_engine_base.cc
index 77e312c..ae22b86 100644
--- a/chrome/browser/ui/input_method/input_method_engine_base.cc
+++ b/chrome/browser/ui/input_method/input_method_engine_base.cc
@@ -211,13 +211,14 @@
     switch (segment->style) {
       case SEGMENT_STYLE_UNDERLINE:
         ime_text_span.underline_color = SK_ColorBLACK;
+        ime_text_span.thickness = ui::ImeTextSpan::Thickness::kThin;
         break;
       case SEGMENT_STYLE_DOUBLE_UNDERLINE:
         ime_text_span.underline_color = SK_ColorBLACK;
-        ime_text_span.thick = true;
+        ime_text_span.thickness = ui::ImeTextSpan::Thickness::kThick;
         break;
       case SEGMENT_STYLE_NO_UNDERLINE:
-        ime_text_span.underline_color = SK_ColorTRANSPARENT;
+        ime_text_span.thickness = ui::ImeTextSpan::Thickness::kNone;
         break;
       default:
         continue;
diff --git a/chrome/browser/ui/startup/startup_browser_creator.cc b/chrome/browser/ui/startup/startup_browser_creator.cc
index 1c2a8755..696ec685 100644
--- a/chrome/browser/ui/startup/startup_browser_creator.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator.cc
@@ -402,8 +402,11 @@
       user_manager::UserManager::Get()->IsCurrentUserNew();
   // On ChromeOS restarts force the user to login again. The expectation is that
   // after a login the user gets clean state. For this reason we ignore
-  // StartupBrowserCreator::WasRestarted().
+  // StartupBrowserCreator::WasRestarted(). However
+  // StartupBrowserCreator::WasRestarted has to be called in order to correctly
+  // update pref values.
   const bool did_restart = false;
+  StartupBrowserCreator::WasRestarted();
 #else
   const bool is_first_run = first_run::IsChromeFirstRun();
   const bool did_restart = StartupBrowserCreator::WasRestarted();
@@ -954,8 +957,7 @@
   }
 
 #if defined(OS_WIN)
-  if (command_line.HasSwitch(switches::kNotificationLaunchId) &&
-      NotificationPlatformBridgeWin::NativeNotificationEnabled()) {
+  if (command_line.HasSwitch(switches::kNotificationLaunchId)) {
     std::string profile_id =
         NotificationPlatformBridgeWin::GetProfileIdFromLaunchId(
             command_line.GetSwitchValueASCII(switches::kNotificationLaunchId));
diff --git a/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc b/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
index 7da1b6a..2370a648 100644
--- a/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
@@ -10,8 +10,10 @@
 
 #include "base/command_line.h"
 #include "base/files/file_path.h"
+#include "base/json/json_writer.h"
 #include "base/macros.h"
 #include "base/memory/ptr_util.h"
+#include "base/path_service.h"
 #include "base/strings/utf_string_conversions.h"
 #include "base/test/histogram_tester.h"
 #include "base/threading/thread_restrictions.h"
@@ -44,6 +46,7 @@
 #include "chrome/browser/ui/startup/startup_tab_provider.h"
 #include "chrome/browser/ui/tabs/tab_strip_model.h"
 #include "chrome/common/buildflags.h"
+#include "chrome/common/chrome_constants.h"
 #include "chrome/common/chrome_switches.h"
 #include "chrome/common/extensions/extension_constants.h"
 #include "chrome/common/pref_names.h"
@@ -1393,3 +1396,36 @@
                    PolicyVariant(policy::POLICY_LEVEL_RECOMMENDED)));
   ExpectUrlInBrowserAtPosition(GURL("http://managed.site.com/"), 0);
 }
+
+// Validates that prefs::kWasRestarted is automatically reset after next browser
+// start.
+class StartupBrowserCreatorWasRestartedFlag : public InProcessBrowserTest {
+ public:
+  StartupBrowserCreatorWasRestartedFlag() = default;
+  ~StartupBrowserCreatorWasRestartedFlag() override = default;
+
+  void SetUpCommandLine(base::CommandLine* command_line) override {
+    InProcessBrowserTest::SetUpCommandLine(command_line);
+    ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
+    command_line->AppendSwitchPath(switches::kUserDataDir, temp_dir_.GetPath());
+    std::string json;
+    base::DictionaryValue local_state;
+    local_state.SetBoolean(prefs::kWasRestarted, true);
+    base::JSONWriter::Write(local_state, &json);
+    ASSERT_EQ(json.length(),
+              static_cast<size_t>(base::WriteFile(
+                  temp_dir_.GetPath().Append(chrome::kLocalStateFilename),
+                  json.c_str(), json.length())));
+  }
+
+ private:
+  base::ScopedTempDir temp_dir_;
+
+  DISALLOW_COPY_AND_ASSIGN(StartupBrowserCreatorWasRestartedFlag);
+};
+
+IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorWasRestartedFlag, Test) {
+  EXPECT_TRUE(StartupBrowserCreator::WasRestarted());
+  EXPECT_FALSE(
+      g_browser_process->local_state()->GetBoolean(prefs::kWasRestarted));
+}
diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
index 09c9478..f37f47d4 100644
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
@@ -335,8 +335,7 @@
   // Launch() call is from notification_helper.exe to process toast activation.
   // Delegate to the notification system; do not open a browser window here.
   if (command_line_.HasSwitch(switches::kNotificationLaunchId)) {
-    if (NotificationPlatformBridgeWin::NativeNotificationEnabled() &&
-        NotificationPlatformBridgeWin::HandleActivation(
+    if (NotificationPlatformBridgeWin::HandleActivation(
             command_line_.GetSwitchValueASCII(
                 switches::kNotificationLaunchId))) {
       RecordLaunchModeHistogram(LM_WIN_PLATFORM_NOTIFICATION);
diff --git a/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc b/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc
index 0c25ac5..63d9d7b 100644
--- a/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc
+++ b/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc
@@ -113,14 +113,6 @@
   DISALLOW_COPY_AND_ASSIGN(TestRecentTabsMenuModelDelegate);
 };
 
-class DummyRouter : public sync_sessions::LocalSessionEventRouter {
- public:
-  ~DummyRouter() override {}
-  void StartRoutingTo(
-      sync_sessions::LocalSessionEventHandler* handler) override {}
-  void Stop() override {}
-};
-
 class FakeSyncServiceObserverList {
  public:
   FakeSyncServiceObserverList() {}
@@ -185,7 +177,7 @@
 
     manager_ = std::make_unique<sync_sessions::SessionsSyncManager>(
         mock_sync_service_->GetSyncClient()->GetSyncSessionsClient(),
-        sync_prefs_.get(), local_device_.get(), &dummy_router_,
+        sync_prefs_.get(), local_device_.get(),
         base::Bind(&FakeSyncServiceObserverList::NotifyForeignSessionUpdated,
                    base::Unretained(&fake_sync_service_observer_list_)));
 
@@ -256,7 +248,6 @@
       will_create_browser_context_services_subscription_;
 
   std::unique_ptr<syncer::LocalDeviceInfoProviderMock> local_device_;
-  DummyRouter dummy_router_;
   std::unique_ptr<syncer::SyncPrefs> sync_prefs_;
   FakeSyncServiceObserverList fake_sync_service_observer_list_;
   browser_sync::ProfileSyncServiceMock* mock_sync_service_ = nullptr;
diff --git a/chrome/browser/ui/views/bubble_anchor_util_views.cc b/chrome/browser/ui/views/bubble_anchor_util_views.cc
index 4d305089..faebd9a3 100644
--- a/chrome/browser/ui/views/bubble_anchor_util_views.cc
+++ b/chrome/browser/ui/views/bubble_anchor_util_views.cc
@@ -28,11 +28,8 @@
 
   if (anchor == kLocationBar)
     return browser_view->GetLocationBarView()->GetSecurityBubbleAnchorView();
-  if (anchor == kHostedAppMenu) {
-    auto* frame_view = static_cast<BrowserNonClientFrameView*>(
-        browser_view->GetWidget()->non_client_view()->frame_view());
-    return frame_view->GetHostedAppMenuView();
-  }
+  if (anchor == kAppMenuButton)
+    return browser_view->button_provider()->GetAppMenuButton();
   NOTREACHED();
   return nullptr;
 }
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
index 9f843ea..df37909 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
@@ -86,11 +86,6 @@
   return profile_switcher_.view();
 }
 
-views::View* BrowserNonClientFrameView::GetHostedAppMenuView() {
-  NOTREACHED();
-  return nullptr;
-}
-
 void BrowserNonClientFrameView::UpdateClientArea() {}
 
 void BrowserNonClientFrameView::UpdateMinimumSize() {}
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view.h b/chrome/browser/ui/views/frame/browser_non_client_frame_view.h
index 9c89849..63f0a60 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view.h
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view.h
@@ -71,9 +71,6 @@
   // doesn't.
   views::View* GetProfileSwitcherView() const;
 
-  // Returns the hosted app menu, asserts that it is present.
-  virtual views::View* GetHostedAppMenuView();
-
   // Provided for mus. Updates the client-area of the WindowTreeHostMus.
   virtual void UpdateClientArea();
 
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
index 08c42f7..f1972d1 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
@@ -245,11 +245,6 @@
   }
 }
 
-views::View* BrowserNonClientFrameViewAsh::GetHostedAppMenuView() {
-  DCHECK(hosted_app_button_container_);
-  return hosted_app_button_container_;
-}
-
 ///////////////////////////////////////////////////////////////////////////////
 // views::NonClientFrameView:
 
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h
index e6d956d36..de2fde8 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h
@@ -47,7 +47,6 @@
   int GetThemeBackgroundXInset() const override;
   void UpdateThrobber(bool running) override;
   void UpdateMinimumSize() override;
-  views::View* GetHostedAppMenuView() override;
 
   // views::NonClientFrameView:
   gfx::Rect GetBoundsForClientView() const override;
diff --git a/chrome/browser/ui/views/ime/input_ime_apitest_nonchromeos.cc b/chrome/browser/ui/views/ime/input_ime_apitest_nonchromeos.cc
index 7c5a211..dbeaeb7 100644
--- a/chrome/browser/ui/views/ime/input_ime_apitest_nonchromeos.cc
+++ b/chrome/browser/ui/views/ime/input_ime_apitest_nonchromeos.cc
@@ -93,7 +93,7 @@
   composition.text = base::UTF8ToUTF16("test_set_composition");
   composition.ime_text_spans.push_back(ui::ImeTextSpan(
       ui::ImeTextSpan::Type::kComposition, 0, composition.text.length(),
-      SK_ColorBLACK, false /* thick */, SK_ColorTRANSPARENT));
+      SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT));
   composition.selection = gfx::Range(2, 2);
   const std::vector<ui::CompositionText>& composition_history =
       client->composition_history();
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
index 4ef2516..f049721b 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
@@ -124,7 +124,6 @@
       security_level_(security_state::NONE),
       saved_selection_for_focus_change_(gfx::Range::InvalidRange()),
       ime_composing_before_change_(false),
-      delete_at_end_pressed_(false),
       location_bar_view_(location_bar),
       ime_candidate_window_open_(false),
       is_mouse_pressed_(false),
@@ -455,10 +454,6 @@
   return !text().empty() && text() == GetSelectedText();
 }
 
-bool OmniboxViewViews::DeleteAtEndPressed() {
-  return delete_at_end_pressed_;
-}
-
 void OmniboxViewViews::UpdatePopup() {
   // Prevent inline autocomplete when the caret isn't at the end of the text.
   const gfx::Range sel = GetSelectedRange();
@@ -606,8 +601,6 @@
     TextChanged();
   else if (state_changes.selection_differs)
     EmphasizeURLComponents();
-  else if (delete_at_end_pressed_)
-    model()->OnChanged();
 
   return something_changed;
 }
@@ -1076,8 +1069,6 @@
     return false;
   }
 
-  delete_at_end_pressed_ = false;
-
   // Skip processing of [Alt]+<num-pad digit> Unicode alt key codes.
   // Otherwise, if num-lock is off, the events are handled as [Up], [Down], etc.
   if (event.IsUnicodeKeyCode())
@@ -1107,9 +1098,6 @@
     case ui::VKEY_DELETE:
       if (shift && model()->popup_model()->IsOpen())
         model()->popup_model()->TryDeletingCurrentItem();
-
-      delete_at_end_pressed_ = (!event.IsAltDown() && !HasSelection() &&
-                                GetCursorPosition() == text().length());
       break;
 
     case ui::VKEY_UP:
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.h b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
index f525333..4319ffc 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
@@ -156,7 +156,6 @@
                                 bool notify_text_changed) override;
   void SetCaretPos(size_t caret_pos) override;
   bool IsSelectAll() const override;
-  bool DeleteAtEndPressed() override;
   void UpdatePopup() override;
   void ApplyCaretVisibility() override;
   void OnTemporaryTextMaybeChanged(const base::string16& display_text,
@@ -251,9 +250,6 @@
   State state_before_change_;
   bool ime_composing_before_change_;
 
-  // Was the delete key pressed with an empty selection at the end of the edit?
-  bool delete_at_end_pressed_;
-
   // |location_bar_view_| can be NULL in tests.
   LocationBarView* location_bar_view_;
 
diff --git a/chrome/browser/ui/views/overlay/OWNERS b/chrome/browser/ui/views/overlay/OWNERS
index d735a53..f40e817 100644
--- a/chrome/browser/ui/views/overlay/OWNERS
+++ b/chrome/browser/ui/views/overlay/OWNERS
@@ -1 +1 @@
-file://chrome/browser/ui/overlay/OWNERS
+file://chrome/browser/overlay/OWNERS
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc b/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc
index 1e70bc6..d394cb5f 100644
--- a/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc
@@ -52,6 +52,7 @@
 
 #if defined(USE_AURA)
 #include "ui/aura/client/aura_constants.h"
+#include "ui/aura/env.h"
 #include "ui/aura/test/test_window_delegate.h"
 #include "ui/aura/test/test_windows.h"
 #include "ui/aura/window_targeter.h"
@@ -214,6 +215,16 @@
   tab_strip->drag_controller_->window_finder_ = std::move(window_finder);
 }
 
+void TabDragControllerTest::SetUp() {
+#if defined(USE_AURA)
+  // This needs to be disabled as it can interfere with when events are
+  // processed. In particular if input throttling is turned on, then when an
+  // event ack runs the event may not have been processed.
+  aura::Env::set_initial_throttle_input_on_resize_for_testing(false);
+#endif
+  InProcessBrowserTest::SetUp();
+}
+
 void TabDragControllerTest::SetUpCommandLine(base::CommandLine* command_line) {
   command_line->AppendSwitch(switches::kDisableResizeLock);
 }
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.h b/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.h
index f322752..b6b2169 100644
--- a/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.h
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.h
@@ -45,6 +45,7 @@
 
  protected:
   // InProcessBrowserTest:
+  void SetUp() override;
   void SetUpCommandLine(base::CommandLine* command_line) override;
 
  private:
diff --git a/chrome/browser/ui/webui/signin/dice_turn_sync_on_helper.cc b/chrome/browser/ui/webui/signin/dice_turn_sync_on_helper.cc
index b664c08..707c0a05 100644
--- a/chrome/browser/ui/webui/signin/dice_turn_sync_on_helper.cc
+++ b/chrome/browser/ui/webui/signin/dice_turn_sync_on_helper.cc
@@ -26,6 +26,7 @@
 #include "chrome/browser/ui/webui/signin/dice_turn_sync_on_helper_delegate_impl.h"
 #include "chrome/browser/ui/webui/signin/signin_utils_desktop.h"
 #include "components/browser_sync/profile_sync_service.h"
+#include "components/policy/core/browser/browser_policy_connector.h"
 #include "components/prefs/pref_service.h"
 #include "components/signin/core/browser/account_info.h"
 #include "components/signin/core/browser/account_tracker_service.h"
@@ -318,10 +319,14 @@
     // progress.
     // TODO(https://crbug.com/811211): Remove this handle.
     sync_blocker_ = sync_service->GetSetupInProgressHandle();
-
-    if (SyncStartupTracker::GetSyncServiceState(profile_) ==
-        SyncStartupTracker::SYNC_STARTUP_PENDING) {
-      // Wait until sync is initialized so that the confirmation UI can be
+    bool is_enterprise_user =
+        !policy::BrowserPolicyConnector::IsNonEnterpriseUser(
+            account_info_.email);
+    if (is_enterprise_user &&
+        SyncStartupTracker::GetSyncServiceState(profile_) ==
+            SyncStartupTracker::SYNC_STARTUP_PENDING) {
+      // For enterprise users it is important to wait until sync is initialized
+      // so that the confirmation UI can be
       // aware of startup errors. This is needed to make sure that the sync
       // confirmation dialog is shown only after the sync service had a chance
       // to check whether sync was disabled by admin.
diff --git a/chrome/browser/ui/webui/signin/dice_turn_sync_on_helper_unittest.cc b/chrome/browser/ui/webui/signin/dice_turn_sync_on_helper_unittest.cc
index d3925d2..ec518a4 100644
--- a/chrome/browser/ui/webui/signin/dice_turn_sync_on_helper_unittest.cc
+++ b/chrome/browser/ui/webui/signin/dice_turn_sync_on_helper_unittest.cc
@@ -45,9 +45,12 @@
 
 namespace {
 
-const char kEmail[] = "email@foo.com";
+const char kEmail[] = "foo@gmail.com";
+const char kGaiaID[] = "foo_gaia_id";
 const char kPreviousEmail[] = "notme@bar.com";
-const char kGaiaID[] = "gaia_id";
+const char kEnterpriseEmail[] = "enterprise@managed.com";
+const char kEnterpriseGaiaID[] = "enterprise_gaia_id";
+
 const signin_metrics::AccessPoint kAccessPoint =
     signin_metrics::AccessPoint::ACCESS_POINT_BOOKMARK_MANAGER;
 const signin_metrics::Reason kSigninReason =
@@ -128,8 +131,9 @@
 
   void set_dm_token(const std::string& dm_token) { dm_token_ = dm_token; }
   void set_client_id(const std::string& client_id) { client_id_ = client_id; }
-  void set_account_id(const std::string& account_id) {
+  void set_account(const std::string& account_id, const std::string& email) {
     account_id_ = account_id;
+    email_ = email;
   }
 
   // policy::UserPolicySigninService:
@@ -137,7 +141,7 @@
       const std::string& username,
       const std::string& account_id,
       const PolicyRegistrationCallback& callback) override {
-    EXPECT_EQ(kEmail, username);
+    EXPECT_EQ(email_, username);
     EXPECT_EQ(account_id_, account_id);
     callback.Run(dm_token_, client_id_);
   }
@@ -156,6 +160,7 @@
   std::string dm_token_;
   std::string client_id_;
   std::string account_id_;
+  std::string email_;
 };
 
 }  // namespace
@@ -182,13 +187,12 @@
         policy::UserPolicySigninServiceFactory::GetInstance(),
         &FakeUserPolicySigninService::Build);
     profile_ = profile_builder.Build();
-
-    account_id_ =
-        AccountTrackerServiceFactory::GetForProfile(profile())->SeedAccountInfo(
-            kGaiaID, kEmail);
+    account_tracker_service_ =
+        AccountTrackerServiceFactory::GetForProfile(profile());
+    account_id_ = account_tracker_service_->SeedAccountInfo(kGaiaID, kEmail);
     user_policy_signin_service_ = static_cast<FakeUserPolicySigninService*>(
         policy::UserPolicySigninServiceFactory::GetForProfile(profile()));
-    user_policy_signin_service_->set_account_id(account_id_);
+    user_policy_signin_service_->set_account(account_id_, kEmail);
     token_service_ = ProfileOAuth2TokenServiceFactory::GetForProfile(profile());
     token_service_->UpdateCredentials(account_id_, "refresh_token");
     signin_manager_ = SigninManagerFactory::GetForProfile(profile());
@@ -224,6 +228,13 @@
         std::make_unique<TestDiceTurnSyncOnHelperDelegate>(this));
   }
 
+  void UseEnterpriseAccount() {
+    account_id_ = account_tracker_service_->SeedAccountInfo(kEnterpriseGaiaID,
+                                                            kEnterpriseEmail);
+    user_policy_signin_service_->set_account(account_id_, kEnterpriseEmail);
+    token_service_->UpdateCredentials(account_id_, "enterprise_refresh_token");
+  }
+
   void SetExpectationsForSyncStartupCompleted() {
     browser_sync::ProfileSyncServiceMock* sync_service_mock =
         GetProfileSyncServiceMock();
@@ -356,6 +367,7 @@
   ScopedTestingLocalState local_state_;
   std::string account_id_;
   std::unique_ptr<TestingProfile> profile_;
+  AccountTrackerService* account_tracker_service_ = nullptr;
   ProfileOAuth2TokenService* token_service_ = nullptr;
   SigninManager* signin_manager_ = nullptr;
   FakeUserPolicySigninService* user_policy_signin_service_ = nullptr;
@@ -619,8 +631,33 @@
 
 // Tests that the user is signed in and Sync configuration is complete.
 // Regression test for http://crbug.com/812546
+TEST_F(DiceTurnSyncOnHelperTest, ShowSyncDialogForEndConsumerAccount) {
+  // Set expectations.
+  expected_sync_confirmation_shown_ = true;
+  sync_confirmation_result_ = LoginUIService::SyncConfirmationUIClosedResult::
+      SYNC_WITH_DEFAULT_SETTINGS;
+  SetExpectationsForSyncStartupCompleted();
+  EXPECT_CALL(*GetProfileSyncServiceMock(), SetFirstSetupComplete()).Times(1);
+
+  // Signin flow.
+  EXPECT_FALSE(signin_manager()->IsAuthenticated());
+  CreateDiceTurnOnSyncHelper(
+      DiceTurnSyncOnHelper::SigninAbortedMode::REMOVE_ACCOUNT);
+
+  // Check expectations.
+  EXPECT_TRUE(token_service()->RefreshTokenIsAvailable(account_id()));
+  EXPECT_EQ(account_id(), signin_manager()->GetAuthenticatedAccountId());
+  CheckDelegateCalls();
+}
+
+// For enterprise user, tests that the user is signed in only after Sync engine
+// starts.
+// Regression test for http://crbug.com/812546
 TEST_F(DiceTurnSyncOnHelperTest,
-       ShowSyncDialogBlockedUntilSyncStartupCompleted) {
+       ShowSyncDialogBlockedUntilSyncStartupCompletedForEnterpriseAccount) {
+  // Reset the account info to be an enterprise account.
+  UseEnterpriseAccount();
+
   // Set expectations.
   expected_sync_confirmation_shown_ = false;
   SetExpectationsForSyncStartupPending();
@@ -645,9 +682,14 @@
   CheckDelegateCalls();
 }
 
-// Tests that the user is signed in and Sync configuration is complete.
+// For enterprise user, tests that the user is signed in only after Sync engine
+// fails to start.
 // Regression test for http://crbug.com/812546
-TEST_F(DiceTurnSyncOnHelperTest, ShowSyncDialogBlockedUntilSyncStartupFailed) {
+TEST_F(DiceTurnSyncOnHelperTest,
+       ShowSyncDialogBlockedUntilSyncStartupFailedForEnterpriseAccount) {
+  // Reset the account info to be an enterprise account.
+  UseEnterpriseAccount();
+
   // Set expectations.
   expected_sync_confirmation_shown_ = false;
   SetExpectationsForSyncStartupPending();
diff --git a/chrome/common/chrome_features.cc b/chrome/common/chrome_features.cc
index 05047e97..a24ba80e 100644
--- a/chrome/common/chrome_features.cc
+++ b/chrome/common/chrome_features.cc
@@ -186,8 +186,8 @@
                                          base::FEATURE_DISABLED_BY_DEFAULT};
 
 // Enables or disables Desktop PWAs capturing links.
-const base::Feature kDesktopPWAsLinkCapturing{"DesktopPWAsLinkCapturing",
-                                              base::FEATURE_ENABLED_BY_DEFAULT};
+const base::Feature kDesktopPWAsLinkCapturing{
+    "DesktopPWAsLinkCapturing", base::FEATURE_DISABLED_BY_DEFAULT};
 
 #if !defined(OS_ANDROID)
 const base::Feature kDoodlesOnLocalNtp{"DoodlesOnLocalNtp",
diff --git a/chrome/test/data/webui/extensions/extension_detail_view_test.js b/chrome/test/data/webui/extensions/extension_detail_view_test.js
index e4bcbb5..1a8a6cc 100644
--- a/chrome/test/data/webui/extensions/extension_detail_view_test.js
+++ b/chrome/test/data/webui/extensions/extension_detail_view_test.js
@@ -149,10 +149,10 @@
       Polymer.dom.flush();
       assertTrue(extensionOptions.disabled);
 
-      expectFalse(testIsVisible('#error-icon'));
+      expectFalse(testIsVisible('.warning-icon'));
       item.set('data.runtimeWarnings', ['Dummy warning']);
       Polymer.dom.flush();
-      expectTrue(testIsVisible('#error-icon'));
+      expectTrue(testIsVisible('.warning-icon'));
     });
 
     test(assert(TestNames.LayoutSource), function() {
diff --git a/chromecast/media/cma/backend/audio_decoder_for_mixer.cc b/chromecast/media/cma/backend/audio_decoder_for_mixer.cc
index 00c47536..6f86237 100644
--- a/chromecast/media/cma/backend/audio_decoder_for_mixer.cc
+++ b/chromecast/media/cma/backend/audio_decoder_for_mixer.cc
@@ -132,6 +132,7 @@
   if (!rate_shifter_) {
     CreateRateShifter(config_.samples_per_second);
   }
+  av_sync_->NotifyStart();
   return true;
 }
 
@@ -141,6 +142,7 @@
   mixer_input_.reset();
   rate_shifter_.reset();
   weak_factory_.InvalidateWeakPtrs();
+  av_sync_->NotifyStop();
 
   Initialize();
 }
@@ -150,6 +152,7 @@
   DCHECK(mixer_input_);
   mixer_input_->SetPaused(true);
   paused_pts_ = GetCurrentPts();
+  av_sync_->NotifyPause();
   return true;
 }
 
@@ -158,6 +161,7 @@
   DCHECK(mixer_input_);
   paused_pts_ = kInvalidTimestamp;
   mixer_input_->SetPaused(false);
+  av_sync_->NotifyResume();
   return true;
 }
 
diff --git a/chromecast/media/cma/backend/av_sync.h b/chromecast/media/cma/backend/av_sync.h
index deb67ce..0b40b77 100644
--- a/chromecast/media/cma/backend/av_sync.h
+++ b/chromecast/media/cma/backend/av_sync.h
@@ -19,6 +19,16 @@
 
 class MediaPipelineBackendForMixer;
 
+// Interface to an AV sync module. This AV sync treats the audio as master and
+// syncs the video to it, while attempting to minimize jitter in the video. It
+// is typically owned by the audio decoder, but it may be owned by any
+// component willing to notify it about the state of the audio playback as
+// below.
+//
+// Whatever the owner of this component is, it should include and depend on
+// this interface rather the implementation header file. It should be possible
+// for someone in the future to provide their own implementation of this class
+// by linking in their AvSync::Create method statically defined below.
 class AvSync {
  public:
   static std::unique_ptr<AvSync> Create(
@@ -27,9 +37,36 @@
 
   virtual ~AvSync() = default;
 
+  // Notify that an audio buffer has been pushed to the mixer, and what was the
+  // rendering delay corresponding to this audio buffer. The AV sync code may
+  // choose to use this information however it pleases, but typically it would
+  // use it to understand what is the audio PTS at any moment, and use this
+  // information to sync the video accordingly.
   virtual void NotifyAudioBufferPushed(
       int64_t buffer_timestamp,
       MediaPipelineBackend::AudioDecoder::RenderingDelay delay) = 0;
+
+  // Notify that the audio playback has been started. The AV sync will typically
+  // start upkeeping AV sync. The AV sync code is *not* responsible for
+  // starting the video.
+  // TODO(almasrymina): consider actually changing AV sync's responsibilities
+  // to pause/resume/stop/start playback.
+  virtual void NotifyStart() = 0;
+
+  // Notify that the audio playback has been stopped. The AV sync will typically
+  // stop upkeeping AV sync. The AV sync code is *not* responsible for stopping
+  // the video.
+  virtual void NotifyStop() = 0;
+
+  // Notify that the audio playback has been paused. The AV sync code will
+  // typically stop upkeeping AV sync until the audio playback is resumed again.
+  // The AV sync code is *not* responsible for pausing the video.
+  virtual void NotifyPause() = 0;
+
+  // Notify that the audio playback has been resumed. The AV sync code will
+  // typically start upkeeping AV sync again after this is called. The AV sync
+  // code is *not* responsible for resuming the video.
+  virtual void NotifyResume() = 0;
 };
 
 }  // namespace media
diff --git a/chromecast/media/cma/backend/av_sync_dummy.cc b/chromecast/media/cma/backend/av_sync_dummy.cc
index b8fc527..1deac5b 100644
--- a/chromecast/media/cma/backend/av_sync_dummy.cc
+++ b/chromecast/media/cma/backend/av_sync_dummy.cc
@@ -17,6 +17,10 @@
   void NotifyAudioBufferPushed(
       int64_t buffer_timestamp,
       MediaPipelineBackend::AudioDecoder::RenderingDelay delay) override;
+  void NotifyStart() override;
+  void NotifyStop() override;
+  void NotifyPause() override;
+  void NotifyResume() override;
 };
 
 std::unique_ptr<AvSync> AvSync::Create(
@@ -31,5 +35,13 @@
     int64_t buffer_timestamp,
     MediaPipelineBackend::AudioDecoder::RenderingDelay delay) {}
 
+void AvSyncDummy::NotifyStart() {}
+
+void AvSyncDummy::NotifyStop() {}
+
+void AvSyncDummy::NotifyPause() {}
+
+void AvSyncDummy::NotifyResume() {}
+
 }  // namespace media
 }  // namespace chromecast
diff --git a/chromecast/media/cma/backend/media_pipeline_backend_for_mixer.cc b/chromecast/media/cma/backend/media_pipeline_backend_for_mixer.cc
index 7805017..29861e5 100644
--- a/chromecast/media/cma/backend/media_pipeline_backend_for_mixer.cc
+++ b/chromecast/media/cma/backend/media_pipeline_backend_for_mixer.cc
@@ -58,10 +58,8 @@
 
 bool MediaPipelineBackendForMixer::Start(int64_t start_pts) {
   DCHECK_EQ(kStateInitialized, state_);
-
   if (audio_decoder_ && !audio_decoder_->Start(start_pts))
     return false;
-
   if (video_decoder_ && !video_decoder_->Start(start_pts, true))
     return false;
 
@@ -84,7 +82,8 @@
   DCHECK_EQ(kStatePlaying, state_);
   if (audio_decoder_ && !audio_decoder_->Pause())
     return false;
-  // TODO(almasrymina): Implement pause/resume.
+  if (video_decoder_ && !video_decoder_->Pause())
+    return false;
 
   state_ = kStatePaused;
   return true;
@@ -94,7 +93,8 @@
   DCHECK_EQ(kStatePaused, state_);
   if (audio_decoder_ && !audio_decoder_->Resume())
     return false;
-  // TODO(almasrymina): Implement pause/resume.
+  if (video_decoder_ && !video_decoder_->Resume())
+    return false;
 
   state_ = kStatePlaying;
   return true;
diff --git a/chromecast/media/cma/backend/video/av_sync_video.cc b/chromecast/media/cma/backend/video/av_sync_video.cc
index d7d82b8..bbdd6cdf 100644
--- a/chromecast/media/cma/backend/video/av_sync_video.cc
+++ b/chromecast/media/cma/backend/video/av_sync_video.cc
@@ -66,27 +66,8 @@
       buffer_timestamp == INT64_MAX)
     return;
 
-  int64_t absolute_ts = delay.delay_microseconds + delay.timestamp_microseconds;
-
   audio_pts_->AddSample(delay.timestamp_microseconds,
                         buffer_timestamp - (delay.delay_microseconds), 1.0);
-
-  if (!setup_video_clock_ && backend_->video_decoder()) {
-    // TODO(almasrymina): If we don't have a valid delay at the start of
-    // playback, we should push silence to the mixer to get a valid delay
-    // before we start content playback.
-    LOG(INFO) << "Got valid delay. buffer_timestamp=" << buffer_timestamp
-              << " delay.delay_microseconds=" << delay.delay_microseconds
-              << " delay.timestamp_microseconds="
-              << delay.timestamp_microseconds;
-
-    backend_->video_decoder()->SetCurrentPts(
-        ((int64_t)buffer_timestamp) -
-        (absolute_ts - backend_->MonotonicClockNow()));
-    setup_video_clock_ = true;
-    timer_.Start(FROM_HERE, kAvSyncUpkeepInterval, this,
-                 &AvSyncVideo::UpkeepAvSync);
-  }
 }
 
 // TODO(almasrymina): this code is the core of the av sync logic, and the
@@ -99,13 +80,29 @@
 // - Current requirements for number of samples in the linear regression is
 // arbitrary.
 void AvSyncVideo::UpkeepAvSync() {
-  DCHECK(setup_video_clock_);
   if (!backend_->video_decoder()) {
     VLOG(4) << "No video decoder available.";
     return;
   }
 
   int64_t now = backend_->MonotonicClockNow();  // 'now'...
+  int64_t current_apts;
+  double error;
+
+  if (!setup_video_clock_) {
+    // TODO(almasrymina): If we don't have a valid delay at the start of
+    // playback, we should push silence to the mixer to get a valid delay
+    // before we start content playback.
+    if (audio_pts_->num_samples() > 1) {
+      audio_pts_->EstimateY(now, &current_apts, &error);
+
+      LOG(INFO) << "Setting up video clock. current_apts=" << current_apts;
+
+      backend_->video_decoder()->SetCurrentPts(current_apts);
+      setup_video_clock_ = true;
+    }
+    return;
+  }
 
   video_pts_->AddSample(now, backend_->video_decoder()->GetCurrentPts(), 1.0);
 
@@ -117,8 +114,6 @@
   }
 
   int64_t current_vpts;
-  int64_t current_apts;
-  double error;
   double vpts_slope;
   double apts_slope;
   video_pts_->EstimateY(now, &current_vpts, &error);
@@ -187,6 +182,35 @@
   }
 }
 
+void AvSyncVideo::StopAvSync() {
+  audio_pts_.reset(
+      new WeightedMovingLinearRegression(kLinearRegressionDataLifetimeUs));
+  video_pts_.reset(
+      new WeightedMovingLinearRegression(kLinearRegressionDataLifetimeUs));
+  error_.reset(
+      new WeightedMovingLinearRegression(kLinearRegressionDataLifetimeUs));
+  timer_.Stop();
+}
+
+void AvSyncVideo::NotifyStart() {
+  timer_.Start(FROM_HERE, kAvSyncUpkeepInterval, this,
+               &AvSyncVideo::UpkeepAvSync);
+}
+
+void AvSyncVideo::NotifyStop() {
+  StopAvSync();
+  setup_video_clock_ = false;
+}
+
+void AvSyncVideo::NotifyPause() {
+  StopAvSync();
+}
+
+void AvSyncVideo::NotifyResume() {
+  timer_.Start(FROM_HERE, kAvSyncUpkeepInterval, this,
+               &AvSyncVideo::UpkeepAvSync);
+}
+
 AvSyncVideo::~AvSyncVideo() = default;
 
 }  // namespace media
diff --git a/chromecast/media/cma/backend/video/av_sync_video.h b/chromecast/media/cma/backend/video/av_sync_video.h
index 63fa15a..17b9630 100644
--- a/chromecast/media/cma/backend/video/av_sync_video.h
+++ b/chromecast/media/cma/backend/video/av_sync_video.h
@@ -32,9 +32,14 @@
   void NotifyAudioBufferPushed(
       int64_t buffer_timestamp,
       MediaPipelineBackend::AudioDecoder::RenderingDelay delay) override;
+  void NotifyStart() override;
+  void NotifyStop() override;
+  void NotifyPause() override;
+  void NotifyResume() override;
 
  private:
   void UpkeepAvSync();
+  void StopAvSync();
 
   base::RepeatingTimer timer_;
   bool setup_video_clock_ = false;
diff --git a/chromecast/media/cma/backend/video_decoder_for_mixer.h b/chromecast/media/cma/backend/video_decoder_for_mixer.h
index 4536bfd..d600245 100644
--- a/chromecast/media/cma/backend/video_decoder_for_mixer.h
+++ b/chromecast/media/cma/backend/video_decoder_for_mixer.h
@@ -44,10 +44,12 @@
   // Stop playback.
   virtual void Stop() = 0;
 
-  // Pause playback.
+  // Pause playback. The video decoder must retain its playback rate after
+  // resume.
   virtual bool Pause() = 0;
 
-  // Resume playback.
+  // Resume playback. The video decoder must resume playback at the same
+  // playback rate prior to pausing.
   virtual bool Resume() = 0;
 
   // Get the current video PTS. This will typically be the pts of the last
diff --git a/chromeos/CHROMEOS_LKGM b/chromeos/CHROMEOS_LKGM
index 73e805a..66421bf 100644
--- a/chromeos/CHROMEOS_LKGM
+++ b/chromeos/CHROMEOS_LKGM
@@ -1 +1 @@
-10466.0.0
\ No newline at end of file
+10470.0.0
\ No newline at end of file
diff --git a/chromeos/services/assistant/service_unittest.cc b/chromeos/services/assistant/service_unittest.cc
index f435220..6ce9ea75 100644
--- a/chromeos/services/assistant/service_unittest.cc
+++ b/chromeos/services/assistant/service_unittest.cc
@@ -138,8 +138,8 @@
   // Set up a timer for testing.
   auto task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>(
       base::Time::Now(), base::TimeTicks::Now());
-  auto tick_clock = task_runner->GetMockTickClock();
-  auto timer = std::make_unique<base::OneShotTimer>(tick_clock.get());
+  auto timer =
+      std::make_unique<base::OneShotTimer>(task_runner->GetMockTickClock());
   timer->SetTaskRunner(task_runner);
   service()->SetTimerForTesting(std::move(timer));
 
diff --git a/components/arc/common/notifications.mojom b/components/arc/common/notifications.mojom
index 165b6069..a15c33b 100644
--- a/components/arc/common/notifications.mojom
+++ b/components/arc/common/notifications.mojom
@@ -31,6 +31,7 @@
   DEPRECATED_IMAGE = 1,
   DEPRECATED_PROGRESS = 2,
   DEPRECATED_LIST = 3,
+  BUNDLED = 4,
 };
 
 // These values are corresponding to the priorities of Android notification.
diff --git a/components/arc/ime/arc_ime_bridge_impl.cc b/components/arc/ime/arc_ime_bridge_impl.cc
index 5dad7767..348b2da 100644
--- a/components/arc/ime/arc_ime_bridge_impl.cc
+++ b/components/arc/ime/arc_ime_bridge_impl.cc
@@ -64,7 +64,7 @@
     segment->start_offset = ime_text_span.start_offset;
     segment->end_offset = ime_text_span.end_offset;
     segment->emphasized =
-        (ime_text_span.thick ||
+        (ime_text_span.thickness == ui::ImeTextSpan::Thickness::kThick ||
          (composition.selection.start() == ime_text_span.start_offset &&
           composition.selection.end() == ime_text_span.end_offset));
     segments.push_back(std::move(segment));
diff --git a/components/autofill/ios/browser/autofill_agent.h b/components/autofill/ios/browser/autofill_agent.h
index 7a2cd59..10cc33e 100644
--- a/components/autofill/ios/browser/autofill_agent.h
+++ b/components/autofill/ios/browser/autofill_agent.h
@@ -9,13 +9,13 @@
 
 #include "base/memory/weak_ptr.h"
 #include "components/autofill/core/browser/autofill_metrics.h"
+#include "components/autofill/core/common/form_data_predictions.h"
 #import "components/autofill/ios/browser/form_suggestion_provider.h"
 #import "ios/web/public/web_state/web_state_observer_bridge.h"
 
 namespace autofill {
 class AutofillPopupDelegate;
 struct FormData;
-class FormStructure;
 }
 
 class PrefService;
@@ -53,7 +53,7 @@
 // Renders the field type predictions specified in |forms|. This method is a
 // no-op if the relevant experiment is not enabled.
 - (void)renderAutofillTypePredictions:
-    (const std::vector<autofill::FormStructure*>&)forms;
+    (const std::vector<autofill::FormDataPredictions>&)forms;
 
 @end
 
diff --git a/components/autofill/ios/browser/autofill_agent.mm b/components/autofill/ios/browser/autofill_agent.mm
index a2458ab79..4752dde 100644
--- a/components/autofill/ios/browser/autofill_agent.mm
+++ b/components/autofill/ios/browser/autofill_agent.mm
@@ -925,24 +925,21 @@
 }
 
 - (void)renderAutofillTypePredictions:
-    (const std::vector<autofill::FormStructure*>&)structure {
+    (const std::vector<autofill::FormDataPredictions>&)forms {
   if (!base::FeatureList::IsEnabled(
           autofill::features::kAutofillShowTypePredictions)) {
     return;
   }
 
   base::DictionaryValue predictionData;
-  for (autofill::FormStructure* form : structure) {
+  for (const auto& form : forms) {
     auto formJSONData = std::make_unique<base::DictionaryValue>();
-    autofill::FormData formData = form->ToFormData();
-    for (const auto& field : *form) {
-      autofill::AutofillType type(field->Type());
-      if (type.IsUnknown())
-        continue;
-      formJSONData->SetKey(base::UTF16ToUTF8(field->name),
-                           base::Value(type.ToString()));
+    DCHECK(form.fields.size() == form.data.fields.size());
+    for (size_t i = 0; i < form.fields.size(); i++) {
+      formJSONData->SetKey(base::UTF16ToUTF8(form.data.fields[i].name),
+                           base::Value(form.fields[i].overall_type));
     }
-    predictionData.SetWithoutPathExpansion(base::UTF16ToUTF8(formData.name),
+    predictionData.SetWithoutPathExpansion(base::UTF16ToUTF8(form.data.name),
                                            std::move(formJSONData));
   }
   std::string dataString;
diff --git a/components/autofill/ios/browser/autofill_driver_ios.mm b/components/autofill/ios/browser/autofill_driver_ios.mm
index 870786d..6d1e612 100644
--- a/components/autofill/ios/browser/autofill_driver_ios.mm
+++ b/components/autofill/ios/browser/autofill_driver_ios.mm
@@ -5,6 +5,7 @@
 #include "components/autofill/ios/browser/autofill_driver_ios.h"
 
 #include "base/memory/ptr_util.h"
+#include "components/autofill/core/browser/form_structure.h"
 #include "components/autofill/ios/browser/autofill_driver_ios_bridge.h"
 #include "ios/web/public/browser_state.h"
 #import "ios/web/public/origin_util.h"
@@ -76,7 +77,8 @@
 
 void AutofillDriverIOS::SendAutofillTypePredictionsToRenderer(
     const std::vector<FormStructure*>& forms) {
-  [bridge_ sendAutofillTypePredictionsToRenderer:forms];
+  [bridge_ sendAutofillTypePredictionsToRenderer:
+               FormStructure::GetFieldTypePredictions(forms)];
 }
 
 void AutofillDriverIOS::RendererShouldAcceptDataListSuggestion(
diff --git a/components/autofill/ios/browser/autofill_driver_ios_bridge.h b/components/autofill/ios/browser/autofill_driver_ios_bridge.h
index 1a816e6e..ad9f314 100644
--- a/components/autofill/ios/browser/autofill_driver_ios_bridge.h
+++ b/components/autofill/ios/browser/autofill_driver_ios_bridge.h
@@ -9,9 +9,10 @@
 
 #include <vector>
 
+#include "components/autofill/core/common/form_data_predictions.h"
+
 namespace autofill {
 struct FormData;
-class FormStructure;
 }
 
 // Interface used to pipe form data from AutofillDriverIOS to the embedder.
@@ -21,7 +22,7 @@
                   result:(const autofill::FormData&)result;
 
 - (void)sendAutofillTypePredictionsToRenderer:
-        (const std::vector<autofill::FormStructure*>&)forms;
+    (const std::vector<autofill::FormDataPredictions>&)forms;
 
 @end
 
diff --git a/components/browser_sync/profile_sync_service.cc b/components/browser_sync/profile_sync_service.cc
index 4d99038..32b541e 100644
--- a/components/browser_sync/profile_sync_service.cc
+++ b/components/browser_sync/profile_sync_service.cc
@@ -224,8 +224,6 @@
       base::Bind(&ProfileSyncService::CanEngineStart, base::Unretained(this)),
       base::Bind(&ProfileSyncService::StartUpSlowEngineComponents,
                  weak_factory_.GetWeakPtr()));
-  sync_sessions::LocalSessionEventRouter* router =
-      sync_client_->GetSyncSessionsClient()->GetLocalSessionEventRouter();
   local_device_ = sync_client_->GetSyncApiComponentFactory()
                       ->CreateLocalDeviceInfoProvider();
   sync_stopped_reporter_ = std::make_unique<syncer::SyncStoppedReporter>(
@@ -233,7 +231,6 @@
       url_request_context_, syncer::SyncStoppedReporter::ResultCallback());
   sessions_sync_manager_ = std::make_unique<SessionsSyncManager>(
       sync_client_->GetSyncSessionsClient(), &sync_prefs_, local_device_.get(),
-      router,
       base::Bind(&ProfileSyncService::NotifyForeignSessionUpdated,
                  sync_enabled_weak_factory_.GetWeakPtr()));
 
diff --git a/components/cast_channel/keep_alive_delegate_unittest.cc b/components/cast_channel/keep_alive_delegate_unittest.cc
index feb23dd..8cc31d88 100644
--- a/components/cast_channel/keep_alive_delegate_unittest.cc
+++ b/components/cast_channel/keep_alive_delegate_unittest.cc
@@ -232,13 +232,10 @@
 TEST_F(KeepAliveDelegateTest, TestLivenessTimerResetAfterSendingMessage) {
   scoped_refptr<base::TestMockTimeTaskRunner> mock_time_task_runner(
       new base::TestMockTimeTaskRunner());
-  std::unique_ptr<base::TickClock> tick_clock =
-      mock_time_task_runner->GetMockTickClock();
-
-  std::unique_ptr<base::Timer> liveness_timer =
-      std::make_unique<base::Timer>(true, false, tick_clock.get());
-  std::unique_ptr<base::Timer> ping_timer =
-      std::make_unique<base::Timer>(true, false, tick_clock.get());
+  std::unique_ptr<base::Timer> liveness_timer = std::make_unique<base::Timer>(
+      true, false, mock_time_task_runner->GetMockTickClock());
+  std::unique_ptr<base::Timer> ping_timer = std::make_unique<base::Timer>(
+      true, false, mock_time_task_runner->GetMockTickClock());
   ping_timer->SetTaskRunner(mock_time_task_runner);
   liveness_timer->SetTaskRunner(mock_time_task_runner);
   keep_alive_->SetTimersForTest(std::move(ping_timer),
diff --git a/components/cronet/ios/Cronet.mm b/components/cronet/ios/Cronet.mm
index 88870f0e..224fea7 100644
--- a/components/cronet/ios/Cronet.mm
+++ b/components/cronet/ios/Cronet.mm
@@ -17,6 +17,7 @@
 #include "components/cronet/ios/accept_languages_table.h"
 #include "components/cronet/ios/cronet_environment.h"
 #include "components/cronet/ios/cronet_metrics.h"
+#include "components/cronet/native/url_request.h"
 #include "components/cronet/url_request_context_config.h"
 #include "ios/net/crn_http_protocol_handler.h"
 #include "ios/net/empty_nsurlcache.h"
@@ -480,12 +481,18 @@
       base::SysNSStringToUTF8(hostResolverRulesForTesting));
 }
 
-// This is a non-public dummy method that prevents the linker from stripping out
-// the otherwise non-referenced methods from 'bidirectional_stream.cc'.
+// This is a private dummy method that prevents the linker from stripping out
+// the otherwise unreferenced methods from 'bidirectional_stream.cc'.
 + (void)preventStrippingCronetBidirectionalStream {
   bidirectional_stream_create(NULL, 0, 0);
 }
 
+// This is a private dummy method that prevents the linker from stripping out
+// the otherwise unreferenced methods from 'native/url_request.cc'.
++ (void)preventStrippingNativeCronetUrlRequest {
+  Cronet_UrlRequest_Create();
+}
+
 + (NSError*)createIllegalArgumentErrorWithArgument:(NSString*)argumentName
                                             reason:(NSString*)reason {
   NSMutableDictionary* errorDictionary =
diff --git a/components/invalidation/impl/p2p_invalidator.cc b/components/invalidation/impl/p2p_invalidator.cc
index 50206ab..7578029 100644
--- a/components/invalidation/impl/p2p_invalidator.cc
+++ b/components/invalidation/impl/p2p_invalidator.cc
@@ -203,9 +203,41 @@
       notifier::SubscriptionList(1, subscription));
   // If already logged in, the new credentials will take effect on the
   // next reconnection.
-  // TODO(https://crbug.com/656607): Add proper annotation here.
-  push_client_->UpdateCredentials(email, token,
-                                  NO_TRAFFIC_ANNOTATION_BUG_656607);
+  net::NetworkTrafficAnnotationTag traffic_annotation =
+      net::DefineNetworkTrafficAnnotation("p2p_invalidator", R"(
+        semantics {
+          sender: "P2P Invalidator"
+          description:
+            "Chromium uses cacheinvalidation library to receive push "
+            "notifications from the server about sync items (bookmarks, "
+            "passwords, preferences, etc.) modified on other clients. It uses "
+            "XMPP PushClient to communicate with server."
+          trigger:
+            "Initial communication happens after browser startup to register "
+            "client device with server and update online status. Consecutive "
+            "communications are triggered by heartbeat timer and push "
+            "notifications from server."
+          data:
+            "Protocol buffers including server generated client_token, "
+            "ObjectIds identifying subscriptions, and versions for these "
+            "subscriptions. ObjectId is not unique to user. Version is not "
+            "related to sync data, it is an internal concept of invalidations "
+            "protocol."
+          destination: OTHER
+          destination_other:
+            "The P2P client that user is connected to."
+        }
+        policy {
+          cookies_allowed: NO
+          setting:
+            "This feature is only used for integration testing, never used in "
+            "released Chrome."
+          policy_exception_justification:
+            "This feature is only used for integration testing, never used in "
+            "released Chrome."
+        }
+    )");
+  push_client_->UpdateCredentials(email, token, traffic_annotation);
   logged_in_ = true;
 }
 
diff --git a/components/invalidation/impl/push_client_channel.cc b/components/invalidation/impl/push_client_channel.cc
index 14aac30..709d8e5 100644
--- a/components/invalidation/impl/push_client_channel.cc
+++ b/components/invalidation/impl/push_client_channel.cc
@@ -43,9 +43,41 @@
 
 void PushClientChannel::UpdateCredentials(
     const std::string& email, const std::string& token) {
-  // TODO(https://crbug.com/656607): Add proper annotation.
-  push_client_->UpdateCredentials(email, token,
-                                  NO_TRAFFIC_ANNOTATION_BUG_656607);
+  net::NetworkTrafficAnnotationTag traffic_annotation =
+      net::DefineNetworkTrafficAnnotation("puch_client_channel", R"(
+        semantics {
+          sender: "Push Client Channel"
+          description:
+            "Chromium uses cacheinvalidation library to receive push "
+            "notifications from the server about sync items (bookmarks, "
+            "passwords, preferences, etc.) modified on other clients. It uses "
+            "XMPP PushClient to communicate with server."
+          trigger:
+            "Initial communication happens after browser startup to register "
+            "client device with server and update online status. Consecutive "
+            "communications are triggered by heartbeat timer and push "
+            "notifications from server."
+          data:
+            "Protocol buffers including server generated client_token, "
+            "ObjectIds identifying subscriptions, and versions for these "
+            "subscriptions. ObjectId is not unique to user. Version is not "
+            "related to sync data, it is an internal concept of invalidations "
+            "protocol."
+          destination: GOOGLE_OWNED_SERVICE
+        }
+        policy {
+          cookies_allowed: NO
+          setting:
+            "This feature is disabled by default and cannot be enabled by "
+            "settings. It is controlled by sync server experiments."
+          chrome_policy {
+            SyncDisabled {
+              SyncDisabled: true
+            }
+          }
+        }
+    )");
+  push_client_->UpdateCredentials(email, token, traffic_annotation);
 }
 
 int PushClientChannel::GetInvalidationClientType() {
diff --git a/components/ntp_snippets/breaking_news/breaking_news_gcm_app_handler_unittest.cc b/components/ntp_snippets/breaking_news/breaking_news_gcm_app_handler_unittest.cc
index b262a3ff..c56f3fc 100644
--- a/components/ntp_snippets/breaking_news/breaking_news_gcm_app_handler_unittest.cc
+++ b/components/ntp_snippets/breaking_news/breaking_news_gcm_app_handler_unittest.cc
@@ -254,9 +254,6 @@
 
   std::unique_ptr<BreakingNewsGCMAppHandler> MakeHandler(
       scoped_refptr<TestMockTimeTaskRunner> timer_mock_task_runner) {
-    tick_clock_ = timer_mock_task_runner->GetMockTickClock();
-    clock_ = timer_mock_task_runner->GetMockClock();
-
     message_loop_.SetTaskRunner(timer_mock_task_runner);
 
     // TODO(vitaliii): Initialize MockSubscriptionManager in the constructor, so
@@ -265,18 +262,19 @@
         std::make_unique<NiceMock<MockSubscriptionManager>>();
     mock_subscription_manager_ = wrapped_mock_subscription_manager.get();
 
-    auto token_validation_timer =
-        std::make_unique<base::OneShotTimer>(tick_clock_.get());
+    auto token_validation_timer = std::make_unique<base::OneShotTimer>(
+        timer_mock_task_runner->GetMockTickClock());
     token_validation_timer->SetTaskRunner(timer_mock_task_runner);
 
-    auto forced_subscription_timer =
-        std::make_unique<base::OneShotTimer>(tick_clock_.get());
+    auto forced_subscription_timer = std::make_unique<base::OneShotTimer>(
+        timer_mock_task_runner->GetMockTickClock());
     forced_subscription_timer->SetTaskRunner(timer_mock_task_runner);
 
     return std::make_unique<BreakingNewsGCMAppHandler>(
         mock_gcm_driver_.get(), mock_instance_id_driver_.get(), pref_service(),
         std::move(wrapped_mock_subscription_manager), base::Bind(&ParseJson),
-        clock_.get(), std::move(token_validation_timer),
+        timer_mock_task_runner->GetMockClock(),
+        std::move(token_validation_timer),
         std::move(forced_subscription_timer));
   }
 
@@ -312,8 +310,6 @@
   std::unique_ptr<StrictMock<MockGCMDriver>> mock_gcm_driver_;
   std::unique_ptr<StrictMock<MockInstanceIDDriver>> mock_instance_id_driver_;
   std::unique_ptr<StrictMock<MockInstanceID>> mock_instance_id_;
-  std::unique_ptr<TickClock> tick_clock_;
-  std::unique_ptr<Clock> clock_;
 };
 
 TEST_F(BreakingNewsGCMAppHandlerTest,
diff --git a/components/ntp_snippets/remote/json_request_unittest.cc b/components/ntp_snippets/remote/json_request_unittest.cc
index 08af196..24da870e 100644
--- a/components/ntp_snippets/remote/json_request_unittest.cc
+++ b/components/ntp_snippets/remote/json_request_unittest.cc
@@ -65,7 +65,6 @@
             {ntp_snippets::kArticleSuggestionsFeature.name}),
         pref_service_(std::make_unique<TestingPrefServiceSimple>()),
         mock_task_runner_(new base::TestMockTimeTaskRunner()),
-        clock_(mock_task_runner_->GetMockClock()),
         request_context_getter_(
             new net::TestURLRequestContextGetter(mock_task_runner_.get())) {
     language::UrlLanguageHistogram::RegisterProfilePrefs(
@@ -88,7 +87,7 @@
   JsonRequest::Builder CreateMinimalBuilder() {
     JsonRequest::Builder builder;
     builder.SetUrl(GURL("http://valid-url.test"))
-        .SetClock(clock_.get())
+        .SetClock(mock_task_runner_->GetMockClock())
         .SetUrlRequestContextGetter(request_context_getter_.get());
     return builder;
   }
@@ -97,7 +96,6 @@
   variations::testing::VariationParamsManager params_manager_;
   std::unique_ptr<TestingPrefServiceSimple> pref_service_;
   scoped_refptr<base::TestMockTimeTaskRunner> mock_task_runner_;
-  std::unique_ptr<base::Clock> clock_;
   scoped_refptr<net::TestURLRequestContextGetter> request_context_getter_;
   net::TestURLFetcherFactory fetcher_factory_;
 
diff --git a/components/ntp_snippets/remote/remote_suggestions_fetcher_impl_unittest.cc b/components/ntp_snippets/remote/remote_suggestions_fetcher_impl_unittest.cc
index f748abd..fe213ab6 100644
--- a/components/ntp_snippets/remote/remote_suggestions_fetcher_impl_unittest.cc
+++ b/components/ntp_snippets/remote/remote_suggestions_fetcher_impl_unittest.cc
@@ -288,8 +288,7 @@
         GetFetchEndpoint(version_info::Channel::STABLE), api_key,
         user_classifier_.get());
 
-    clock_ = mock_task_runner_->GetMockClock();
-    fetcher_->SetClockForTesting(clock_.get());
+    fetcher_->SetClockForTesting(mock_task_runner_->GetMockClock());
   }
 
   void SignIn() { identity_test_env_.MakePrimaryAccountAvailable(kTestEmail); }
@@ -348,10 +347,6 @@
   identity::IdentityTestEnvironment identity_test_env_;
 
  private:
-  // TODO(tzik): Remove |clock_| after updating GetMockTickClock to own the
-  // instance. http://crbug.com/789079
-  std::unique_ptr<base::Clock> clock_;
-
   test::RemoteSuggestionsTestUtils utils_;
   variations::testing::VariationParamsManager params_manager_;
   scoped_refptr<base::TestMockTimeTaskRunner> mock_task_runner_;
diff --git a/components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc b/components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc
index 6e55a78..e1a8c43e 100644
--- a/components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc
+++ b/components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc
@@ -344,7 +344,6 @@
     RemoteSuggestionsProviderImpl::RegisterProfilePrefs(
         utils_.pref_service()->registry());
     RequestThrottler::RegisterProfilePrefs(utils_.pref_service()->registry());
-    tick_clock_ = timer_mock_task_runner_->GetMockTickClock();
 
     EXPECT_TRUE(database_dir_.CreateUniqueTempDir());
   }
@@ -422,8 +421,8 @@
         std::make_unique<RemoteSuggestionsDatabase>(database_dir_.GetPath());
     database_ = database.get();
 
-    auto fetch_timeout_timer =
-        std::make_unique<base::OneShotTimer>(tick_clock_.get());
+    auto fetch_timeout_timer = std::make_unique<base::OneShotTimer>(
+        timer_mock_task_runner_->GetMockTickClock());
     fetch_timeout_timer->SetTaskRunner(timer_mock_task_runner_);
 
     return std::make_unique<RemoteSuggestionsProviderImpl>(
@@ -719,11 +718,6 @@
   RemoteSuggestionsDatabase* database_;
 
   Logger debug_logger_;
-
-  // TODO(tzik): Remove |mock_tick_clock_| after updating GetMockTickClock to
-  // own the instance. http://crbug.com/789079
-  std::unique_ptr<base::TickClock> tick_clock_;
-
   scoped_refptr<TestMockTimeTaskRunner> timer_mock_task_runner_;
 
   DISALLOW_COPY_AND_ASSIGN(RemoteSuggestionsProviderImplTest);
diff --git a/components/offline_pages/core/model/offline_page_model_taskified_unittest.cc b/components/offline_pages/core/model/offline_page_model_taskified_unittest.cc
index 685b871..a086994 100644
--- a/components/offline_pages/core/model/offline_page_model_taskified_unittest.cc
+++ b/components/offline_pages/core/model/offline_page_model_taskified_unittest.cc
@@ -233,7 +233,7 @@
   model_ = std::make_unique<OfflinePageModelTaskified>(
       store_test_util()->ReleaseStore(), std::move(archive_manager),
       std::move(download_manager), base::ThreadTaskRunnerHandle::Get(),
-      task_runner_->GetMockClock());
+      task_runner_->DeprecatedGetMockClock());
   model_->AddObserver(this);
   histogram_tester_ = std::make_unique<base::HistogramTester>();
   ResetResults();
diff --git a/components/omnibox/browser/omnibox_field_trial.cc b/components/omnibox/browser/omnibox_field_trial.cc
index 97b8540..e06e18f 100644
--- a/components/omnibox/browser/omnibox_field_trial.cc
+++ b/components/omnibox/browser/omnibox_field_trial.cc
@@ -144,11 +144,7 @@
 // query.
 const base::Feature kSpeculativeServiceWorkerStartOnQueryInput{
   "OmniboxSpeculativeServiceWorkerStartOnQueryInput",
-#if defined(OS_ANDROID)
       base::FEATURE_ENABLED_BY_DEFAULT
-#else
-      base::FEATURE_DISABLED_BY_DEFAULT
-#endif
 };
 
 // Feature used to allow breaking words at underscores in building
diff --git a/components/omnibox/browser/omnibox_view.h b/components/omnibox/browser/omnibox_view.h
index f859eec78..036d1a8 100644
--- a/components/omnibox/browser/omnibox_view.h
+++ b/components/omnibox/browser/omnibox_view.h
@@ -112,9 +112,6 @@
   // Returns true if all text is selected or there is no text at all.
   virtual bool IsSelectAll() const = 0;
 
-  // Returns true if the user deleted the suggested text.
-  virtual bool DeleteAtEndPressed() = 0;
-
   // Fills |start| and |end| with the indexes of the current selection's bounds.
   // It is not guaranteed that |*start < *end|, as the selection can be
   // directed.  If there is no selection, |start| and |end| will both be equal
diff --git a/components/omnibox/browser/test_omnibox_view.cc b/components/omnibox/browser/test_omnibox_view.cc
index 98eb3ee..67c9815 100644
--- a/components/omnibox/browser/test_omnibox_view.cc
+++ b/components/omnibox/browser/test_omnibox_view.cc
@@ -25,10 +25,6 @@
   return false;
 }
 
-bool TestOmniboxView::DeleteAtEndPressed() {
-  return false;
-}
-
 void TestOmniboxView::OnTemporaryTextMaybeChanged(
     const base::string16& display_text,
     const AutocompleteMatch& match,
diff --git a/components/omnibox/browser/test_omnibox_view.h b/components/omnibox/browser/test_omnibox_view.h
index a9db669..45f82e1 100644
--- a/components/omnibox/browser/test_omnibox_view.h
+++ b/components/omnibox/browser/test_omnibox_view.h
@@ -40,7 +40,6 @@
   void SetCaretPos(size_t caret_pos) override {}
   void EnterKeywordModeForDefaultSearchProvider() override {}
   bool IsSelectAll() const override;
-  bool DeleteAtEndPressed() override;
   void GetSelectionBounds(size_t* start, size_t* end) const override {}
   void SelectAll(bool reversed) override {}
   void RevertAll() override {}
diff --git a/components/password_manager/core/browser/android_affiliation/affiliation_backend_unittest.cc b/components/password_manager/core/browser/android_affiliation/affiliation_backend_unittest.cc
index 12ef7c4..4a63887 100644
--- a/components/password_manager/core/browser/android_affiliation/affiliation_backend_unittest.cc
+++ b/components/password_manager/core/browser/android_affiliation/affiliation_backend_unittest.cc
@@ -154,8 +154,6 @@
   AffiliationBackendTest()
       : backend_task_runner_(new base::TestMockTimeTaskRunner),
         consumer_task_runner_(new base::TestSimpleTaskRunner),
-        clock_(backend_task_runner_->GetMockClock()),
-        tick_clock_(backend_task_runner_->GetMockTickClock()),
         mock_fetch_throttler_(nullptr) {}
   ~AffiliationBackendTest() override {}
 
@@ -297,11 +295,14 @@
   }
 
   bool IsCachedDataFreshForFacetURI(const FacetURI& facet_uri) {
-    return FacetManager(facet_uri, backend(), clock_.get()).IsCachedDataFresh();
+    return FacetManager(facet_uri, backend(),
+                        backend_task_runner_->GetMockClock())
+        .IsCachedDataFresh();
   }
 
   bool IsCachedDataNearStaleForFacetURI(const FacetURI& facet_uri) {
-    return FacetManager(facet_uri, backend(), clock_.get())
+    return FacetManager(facet_uri, backend(),
+                        backend_task_runner_->GetMockClock())
         .IsCachedDataNearStale();
   }
 
@@ -331,8 +332,9 @@
   // testing::Test:
   void SetUp() override {
     ASSERT_TRUE(CreateTemporaryFile(&db_path_));
-    backend_.reset(new AffiliationBackend(nullptr, backend_task_runner_,
-                                          clock_.get(), tick_clock_.get()));
+    backend_.reset(new AffiliationBackend(
+        nullptr, backend_task_runner_, backend_task_runner_->GetMockClock(),
+        backend_task_runner_->GetMockTickClock()));
     backend_->Initialize(db_path());
     auto mock_fetch_throttler =
         std::make_unique<MockAffiliationFetchThrottler>(backend_.get());
@@ -350,11 +352,6 @@
   scoped_refptr<base::TestMockTimeTaskRunner> backend_task_runner_;
   scoped_refptr<base::TestSimpleTaskRunner> consumer_task_runner_;
 
-  // TODO(tzik): Remove |clock_| and |tick_clock_| after updating
-  // TestMockTimeTaskRunner to own the clock instances.
-  std::unique_ptr<base::Clock> clock_;
-  std::unique_ptr<base::TickClock> tick_clock_;
-
   base::FilePath db_path_;
   ScopedFakeAffiliationAPI fake_affiliation_api_;
   MockAffiliationConsumer mock_consumer_;
diff --git a/components/password_manager/core/browser/android_affiliation/affiliation_fetch_throttler_unittest.cc b/components/password_manager/core/browser/android_affiliation/affiliation_fetch_throttler_unittest.cc
index 9354d0b1..43082316 100644
--- a/components/password_manager/core/browser/android_affiliation/affiliation_fetch_throttler_unittest.cc
+++ b/components/password_manager/core/browser/android_affiliation/affiliation_fetch_throttler_unittest.cc
@@ -65,13 +65,12 @@
   AffiliationFetchThrottlerTest()
       : network_change_notifier_(net::NetworkChangeNotifier::CreateMock()),
         task_runner_(new base::TestMockTimeTaskRunner),
-        mock_tick_clock_(task_runner_->GetMockTickClock()),
-        mock_delegate_(mock_tick_clock_.get()) {}
+        mock_delegate_(task_runner_->GetMockTickClock()) {}
   ~AffiliationFetchThrottlerTest() override {}
 
   std::unique_ptr<AffiliationFetchThrottler> CreateThrottler() {
     return std::make_unique<AffiliationFetchThrottler>(
-        &mock_delegate_, task_runner_, mock_tick_clock_.get());
+        &mock_delegate_, task_runner_, task_runner_->GetMockTickClock());
   }
 
   void SimulateHasNetworkConnectivity(bool has_connectivity) {
@@ -126,9 +125,6 @@
   base::test::ScopedTaskEnvironment scoped_task_environment_;
   std::unique_ptr<net::NetworkChangeNotifier> network_change_notifier_;
   scoped_refptr<base::TestMockTimeTaskRunner> task_runner_;
-  // TODO(tzik): Remove |mock_tick_clock_| after updating TestMockTimeTaskRunner
-  // to own the clock instances.
-  std::unique_ptr<base::TickClock> mock_tick_clock_;
   MockAffiliationFetchThrottlerDelegate mock_delegate_;
 
   DISALLOW_COPY_AND_ASSIGN(AffiliationFetchThrottlerTest);
diff --git a/components/password_manager/core/browser/android_affiliation/facet_manager_unittest.cc b/components/password_manager/core/browser/android_affiliation/facet_manager_unittest.cc
index 29e6fa2..95b2e07 100644
--- a/components/password_manager/core/browser/android_affiliation/facet_manager_unittest.cc
+++ b/components/password_manager/core/browser/android_affiliation/facet_manager_unittest.cc
@@ -221,7 +221,6 @@
   FacetManagerTest()
       : consumer_task_runner_(new base::TestSimpleTaskRunner),
         main_task_runner_(new base::TestMockTimeTaskRunner),
-        main_clock_(main_task_runner_->GetMockClock()),
         facet_manager_notifier_(main_task_runner_, GetShortTestPeriod()),
         facet_manager_host_(&facet_manager_notifier_) {}
 
@@ -241,7 +240,7 @@
         FacetURI::FromCanonicalSpec(kTestFacetURI1));
     facet_manager_ = std::make_unique<FacetManager>(
         FacetURI::FromCanonicalSpec(kTestFacetURI1), fake_facet_manager_host(),
-        main_clock_.get());
+        main_task_runner_->GetMockClock());
     facet_manager_notifier_.set_facet_manager(facet_manager_.get());
     facet_manager_creation_ = Now();
   }
@@ -413,9 +412,6 @@
   MockAffiliationConsumer mock_consumer_;
   scoped_refptr<base::TestSimpleTaskRunner> consumer_task_runner_;
   scoped_refptr<base::TestMockTimeTaskRunner> main_task_runner_;
-  // TODO(tzik): Remove |main_clock_| after updating TestMockTimeTaskRunner to
-  // own the clock instances.
-  std::unique_ptr<base::Clock> main_clock_;
   TestFacetManagerNotifier facet_manager_notifier_;
   MockFacetManagerHost facet_manager_host_;
 
diff --git a/components/policy/core/common/remote_commands/remote_commands_queue_unittest.cc b/components/policy/core/common/remote_commands/remote_commands_queue_unittest.cc
index 7dda6349..30b9173e 100644
--- a/components/policy/core/common/remote_commands/remote_commands_queue_unittest.cc
+++ b/components/policy/core/common/remote_commands/remote_commands_queue_unittest.cc
@@ -107,11 +107,9 @@
 }
 
 void RemoteCommandsQueueTest::SetUp() {
-  std::unique_ptr<base::TickClock> clock(task_runner_->GetMockTickClock());
-  test_start_time_ = clock->NowTicks();
-
-  clock_ = clock.get();
-  queue_.SetClockForTesting(std::move(clock));
+  clock_ = task_runner_->GetMockTickClock();
+  test_start_time_ = clock_->NowTicks();
+  queue_.SetClockForTesting(task_runner_->DeprecatedGetMockTickClock());
   queue_.AddObserver(&observer_);
 }
 
diff --git a/components/policy/core/common/remote_commands/remote_commands_service_unittest.cc b/components/policy/core/common/remote_commands/remote_commands_service_unittest.cc
index d735a3d..1875773 100644
--- a/components/policy/core/common/remote_commands/remote_commands_service_unittest.cc
+++ b/components/policy/core/common/remote_commands/remote_commands_service_unittest.cc
@@ -181,7 +181,7 @@
 
   void SetUp() override {
     server_.reset(new TestingRemoteCommandsServer());
-    server_->SetClock(mock_task_runner_->GetMockTickClock());
+    server_->SetClock(mock_task_runner_->DeprecatedGetMockTickClock());
     cloud_policy_client_.reset(
         new TestingCloudPolicyClientForRemoteCommands(server_.get()));
   }
@@ -196,7 +196,7 @@
     remote_commands_service_.reset(new RemoteCommandsService(
         std::move(factory), cloud_policy_client_.get()));
     remote_commands_service_->SetClockForTesting(
-        mock_task_runner_->GetMockTickClock());
+        mock_task_runner_->DeprecatedGetMockTickClock());
   }
 
   void FlushAllTasks() { mock_task_runner_->FastForwardUntilNoTasksRemain(); }
diff --git a/components/safe_browsing/browser/threat_details.cc b/components/safe_browsing/browser/threat_details.cc
index d33cbfb..c8afb20b 100644
--- a/components/safe_browsing/browser/threat_details.cc
+++ b/components/safe_browsing/browser/threat_details.cc
@@ -89,6 +89,8 @@
       return ClientSafeBrowsingReportRequest::AD_SAMPLE;
     case SB_THREAT_TYPE_PASSWORD_REUSE:
       return ClientSafeBrowsingReportRequest::URL_PASSWORD_PROTECTION_PHISHING;
+    case SB_THREAT_TYPE_SUSPICIOUS_SITE:
+      return ClientSafeBrowsingReportRequest::URL_SUSPICIOUS;
     default:  // Gated by SafeBrowsingBlockingPage::ShouldReportThreatDetails.
       NOTREACHED() << "We should not send report for threat type "
                    << threat_type;
diff --git a/components/safe_browsing/db/v4_protocol_manager_util.h b/components/safe_browsing/db/v4_protocol_manager_util.h
index 3e56845a..cbf365d 100644
--- a/components/safe_browsing/db/v4_protocol_manager_util.h
+++ b/components/safe_browsing/db/v4_protocol_manager_util.h
@@ -134,6 +134,9 @@
 
   // A sample of an ad was collected
   SB_THREAT_TYPE_AD_SAMPLE,
+
+  // The page loaded a resource from the Suspicious Site list.
+  SB_THREAT_TYPE_SUSPICIOUS_SITE,
 };
 
 using SBThreatTypeSet = base::flat_set<SBThreatType>;
diff --git a/components/safe_browsing/proto/csd.proto b/components/safe_browsing/proto/csd.proto
index f844538..79e3264 100644
--- a/components/safe_browsing/proto/csd.proto
+++ b/components/safe_browsing/proto/csd.proto
@@ -977,6 +977,7 @@
     URL_PASSWORD_PROTECTION_PHISHING = 12;
     DANGEROUS_DOWNLOAD_OPENED = 13;
     AD_SAMPLE = 14;
+    URL_SUSPICIOUS = 15;
   }
 
   message HTTPHeader {
diff --git a/components/safe_browsing/triggers/BUILD.gn b/components/safe_browsing/triggers/BUILD.gn
index a7afc01e..74c0284 100644
--- a/components/safe_browsing/triggers/BUILD.gn
+++ b/components/safe_browsing/triggers/BUILD.gn
@@ -50,6 +50,23 @@
   ]
 }
 
+source_set("suspicious_site_trigger") {
+  sources = [
+    "suspicious_site_trigger.cc",
+    "suspicious_site_trigger.h",
+  ]
+  deps = [
+    ":trigger_throttler",
+    ":triggers",
+    "//base:base",
+    "//components/history/core/browser:browser",
+    "//components/prefs:prefs",
+    "//components/safe_browsing:features",
+    "//content/public/browser",
+    "//net:net",
+  ]
+}
+
 source_set("unit_tests") {
   testonly = true
   sources = [
diff --git a/components/safe_browsing/triggers/DEPS b/components/safe_browsing/triggers/DEPS
index d25d0af..6b0d03f 100644
--- a/components/safe_browsing/triggers/DEPS
+++ b/components/safe_browsing/triggers/DEPS
@@ -1,4 +1,5 @@
 include_rules = [
-  "+content/public/test",
+  "+components/history/core/browser",
   "+components/prefs",
+  "+content/public/test",
 ]
diff --git a/components/safe_browsing/triggers/suspicious_site_trigger.cc b/components/safe_browsing/triggers/suspicious_site_trigger.cc
new file mode 100644
index 0000000..84fa8f3
--- /dev/null
+++ b/components/safe_browsing/triggers/suspicious_site_trigger.cc
@@ -0,0 +1,45 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/safe_browsing/triggers/suspicious_site_trigger.h"
+
+#include "components/history/core/browser/history_service.h"
+#include "components/prefs/pref_service.h"
+#include "components/safe_browsing/triggers/trigger_manager.h"
+#include "content/public/browser/web_contents.h"
+#include "net/url_request/url_request_context_getter.h"
+
+DEFINE_WEB_CONTENTS_USER_DATA_KEY(safe_browsing::SuspiciousSiteTrigger);
+
+namespace safe_browsing {
+SuspiciousSiteTrigger::SuspiciousSiteTrigger(
+    content::WebContents* web_contents,
+    TriggerManager* trigger_manager,
+    PrefService* prefs,
+    net::URLRequestContextGetter* request_context,
+    history::HistoryService* history_service)
+    : content::WebContentsObserver(web_contents),
+      trigger_manager_(trigger_manager),
+      prefs_(prefs),
+      request_context_(request_context),
+      history_service_(history_service) {}
+
+SuspiciousSiteTrigger::~SuspiciousSiteTrigger() {}
+
+// static
+void SuspiciousSiteTrigger::CreateForWebContents(
+    content::WebContents* web_contents,
+    TriggerManager* trigger_manager,
+    PrefService* prefs,
+    net::URLRequestContextGetter* request_context,
+    history::HistoryService* history_service) {
+  if (!FromWebContents(web_contents)) {
+    web_contents->SetUserData(UserDataKey(),
+                              base::WrapUnique(new SuspiciousSiteTrigger(
+                                  web_contents, trigger_manager, prefs,
+                                  request_context, history_service)));
+  }
+}
+
+}  // namespace safe_browsing
diff --git a/components/safe_browsing/triggers/suspicious_site_trigger.h b/components/safe_browsing/triggers/suspicious_site_trigger.h
new file mode 100644
index 0000000..386d0d08
--- /dev/null
+++ b/components/safe_browsing/triggers/suspicious_site_trigger.h
@@ -0,0 +1,65 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_SAFE_BROWSING_TRIGGERS_SUSPICIOUS_SITE_TRIGGER_H_
+#define COMPONENTS_SAFE_BROWSING_TRIGGERS_SUSPICIOUS_SITE_TRIGGER_H_
+
+#include "base/macros.h"
+#include "content/public/browser/web_contents_observer.h"
+#include "content/public/browser/web_contents_user_data.h"
+
+class PrefService;
+
+namespace history {
+class HistoryService;
+}
+
+namespace net {
+class URLRequestContextGetter;
+}
+
+namespace safe_browsing {
+class TriggerManager;
+
+// This class watches tab-level events such as the start and end of a page
+// load, and also listens for events from the SuspiciousSiteURLThrottle that
+// indicate there was a hit on the suspicious site list. This trigger is
+// repsonsible for creating reports about the page at the right time, based on
+// the sequence of such events.
+class SuspiciousSiteTrigger
+    : public content::WebContentsObserver,
+      public content::WebContentsUserData<SuspiciousSiteTrigger> {
+ public:
+  ~SuspiciousSiteTrigger() override;
+
+  static void CreateForWebContents(
+      content::WebContents* web_contents,
+      TriggerManager* trigger_manager,
+      PrefService* prefs,
+      net::URLRequestContextGetter* request_context,
+      history::HistoryService* history_service);
+
+ private:
+  friend class content::WebContentsUserData<SuspiciousSiteTrigger>;
+
+  SuspiciousSiteTrigger(content::WebContents* web_contents,
+                        TriggerManager* trigger_manager,
+                        PrefService* prefs,
+                        net::URLRequestContextGetter* request_context,
+                        history::HistoryService* history_service);
+
+  // TriggerManager gets called if this trigger detects a suspicious site and
+  // wants to collect data abou tit. Not owned.
+  TriggerManager* trigger_manager_;
+
+  PrefService* prefs_;
+  net::URLRequestContextGetter* request_context_;
+  history::HistoryService* history_service_;
+
+  DISALLOW_COPY_AND_ASSIGN(SuspiciousSiteTrigger);
+};
+
+}  // namespace safe_browsing
+
+#endif  // COMPONENTS_SAFE_BROWSING_TRIGGERS_SUSPICIOUS_SITE_TRIGGER_H_
diff --git a/components/safe_browsing/triggers/trigger_manager.cc b/components/safe_browsing/triggers/trigger_manager.cc
index ad7a05f..e9cfbfa 100644
--- a/components/safe_browsing/triggers/trigger_manager.cc
+++ b/components/safe_browsing/triggers/trigger_manager.cc
@@ -27,11 +27,14 @@
       // Security interstitials only need legacy SBER opt-in.
       return false;
     case TriggerType::AD_SAMPLE:
-      // Ad samples need Scout-level opt-in.
+      // Ad samples need Scout-level opt-in (background data collection).
       return true;
     case TriggerType::GAIA_PASSWORD_REUSE:
       // Gaia password reuses only need legacy SBER opt-in.
       return false;
+    case TriggerType::SUSPICIOUS_SITE:
+      // Suspicious sites need Scout-level opt-in (background data collection).
+      return true;
   }
   // By default, require Scout so we are more restrictive on data collection.
   return true;
@@ -52,6 +55,10 @@
       // while the trigger runs, so we require opt-in for collection to avoid
       // overheads.
       return true;
+    case TriggerType::SUSPICIOUS_SITE:
+      // Suspicious site collection happens in the background so the user must
+      // already be opted in before the trigger is allowed to run.
+      return true;
   }
   // By default, require opt-in for all triggers.
   return true;
@@ -62,7 +69,7 @@
   // If the |kAdSamplerCollectButDontSendFeature| feature is enabled then we
   // will overlook other checks to force the report to be created (which is safe
   // because we ensure it will be discarded downstream).
-  // TODO(crbug.com/776893): Remote the feature and this logic.
+  // TODO(crbug.com/776893): Remove the feature and this logic.
   if (trigger_type == TriggerType::AD_SAMPLE &&
       base::FeatureList::IsEnabled(kAdSamplerCollectButDontSendFeature)) {
     return true;
diff --git a/components/safe_browsing/triggers/trigger_throttler.cc b/components/safe_browsing/triggers/trigger_throttler.cc
index 9ef8868b6e..335f91d30 100644
--- a/components/safe_browsing/triggers/trigger_throttler.cc
+++ b/components/safe_browsing/triggers/trigger_throttler.cc
@@ -182,8 +182,8 @@
     case TriggerType::GAIA_PASSWORD_REUSE:
       return kUnlimitedTriggerQuota;
     case TriggerType::AD_SAMPLE:
-      // These triggers have quota configured via Finch, lookup the value in
-      // |trigger_quota_list|. If it's not found, return the default quota.
+      // Ad Samples have a non-zero default quota, but it can be overwritten
+      // through Finch.
       if (TryFindQuotaForTrigger(trigger_type, trigger_type_and_quota_list_,
                                  &quota_from_finch)) {
         return quota_from_finch;
@@ -192,6 +192,13 @@
       }
 
       break;
+    case TriggerType::SUSPICIOUS_SITE:
+      // Suspicious Sites are disabled unless they are configured through Finch.
+      if (TryFindQuotaForTrigger(trigger_type, trigger_type_and_quota_list_,
+                                 &quota_from_finch)) {
+        return quota_from_finch;
+      }
+      break;
   }
   // By default, unhandled or unconfigured trigger types have no quota.
   return 0;
diff --git a/components/safe_browsing/triggers/trigger_throttler.h b/components/safe_browsing/triggers/trigger_throttler.h
index 2fb499e..6de4d53 100644
--- a/components/safe_browsing/triggers/trigger_throttler.h
+++ b/components/safe_browsing/triggers/trigger_throttler.h
@@ -26,6 +26,7 @@
   SECURITY_INTERSTITIAL = 1,
   AD_SAMPLE = 2,
   GAIA_PASSWORD_REUSE = 3,
+  SUSPICIOUS_SITE = 4,
 };
 
 struct TriggerTypeHash {
@@ -61,7 +62,7 @@
 
  private:
   friend class TriggerThrottlerTest;
-  FRIEND_TEST_ALL_PREFIXES(TriggerThrottlerTestFinch, AdSamplerDefaultQuota);
+  friend class TriggerThrottlerTestFinch;
 
   // Called to periodically clean-up the list of event timestamps.
   void CleanupOldEvents();
diff --git a/components/safe_browsing/triggers/trigger_throttler_unittest.cc b/components/safe_browsing/triggers/trigger_throttler_unittest.cc
index b8d94a28..e0288d76 100644
--- a/components/safe_browsing/triggers/trigger_throttler_unittest.cc
+++ b/components/safe_browsing/triggers/trigger_throttler_unittest.cc
@@ -138,26 +138,41 @@
               ElementsAre(advanced_ts));
 }
 
-TEST(TriggerThrottlerTestFinch, ConfigureQuotaViaFinch) {
-  // Make sure that setting the quota param via Finch params works as expected.
+class TriggerThrottlerTestFinch : public ::testing::Test {
+ public:
+  std::unique_ptr<base::FeatureList> SetupQuotaInFinch(
+      const TriggerType trigger_type,
+      const std::string& group_name,
+      int quota) {
+    base::FieldTrial* trial = base::FieldTrialList::CreateFieldTrial(
+        safe_browsing::kTriggerThrottlerDailyQuotaFeature.name, group_name);
+    std::map<std::string, std::string> feature_params;
+    feature_params[std::string(safe_browsing::kTriggerTypeAndQuotaParam)] =
+        base::StringPrintf("%d,%d", trigger_type, quota);
+    base::AssociateFieldTrialParams(
+        safe_browsing::kTriggerThrottlerDailyQuotaFeature.name, group_name,
+        feature_params);
+    std::unique_ptr<base::FeatureList> feature_list(new base::FeatureList);
+    feature_list->InitializeFromCommandLine(
+        safe_browsing::kTriggerThrottlerDailyQuotaFeature.name, std::string());
+    feature_list->AssociateReportingFieldTrial(
+        safe_browsing::kTriggerThrottlerDailyQuotaFeature.name,
+        base::FeatureList::OVERRIDE_ENABLE_FEATURE, trial);
+    return feature_list;
+  }
+
+  size_t GetDailyQuotaForTrigger(const TriggerThrottler& throttler,
+                                 const TriggerType trigger_type) {
+    return throttler.GetDailyQuotaForTrigger(trigger_type);
+  }
+};
+
+TEST_F(TriggerThrottlerTestFinch, ConfigureQuotaViaFinch) {
   base::FieldTrialList field_trial_list(nullptr);
-  base::FieldTrial* trial = base::FieldTrialList::CreateFieldTrial(
-      safe_browsing::kTriggerThrottlerDailyQuotaFeature.name,
-      "Group_ConfigureQuotaViaFinch");
-  std::map<std::string, std::string> feature_params;
-  feature_params[std::string(safe_browsing::kTriggerTypeAndQuotaParam)] =
-      base::StringPrintf("%d,%d", TriggerType::AD_SAMPLE, 3);
-  base::AssociateFieldTrialParams(
-      safe_browsing::kTriggerThrottlerDailyQuotaFeature.name,
-      "Group_ConfigureQuotaViaFinch", feature_params);
-  std::unique_ptr<base::FeatureList> feature_list(new base::FeatureList);
-  feature_list->InitializeFromCommandLine(
-      safe_browsing::kTriggerThrottlerDailyQuotaFeature.name, std::string());
-  feature_list->AssociateReportingFieldTrial(
-      safe_browsing::kTriggerThrottlerDailyQuotaFeature.name,
-      base::FeatureList::OVERRIDE_ENABLE_FEATURE, trial);
   base::test::ScopedFeatureList scoped_feature_list;
-  scoped_feature_list.InitWithFeatureList(std::move(feature_list));
+  scoped_feature_list.InitWithFeatureList(SetupQuotaInFinch(
+      TriggerType::AD_SAMPLE, "Group_ConfigureQuotaViaFinch", 3));
+  // Make sure that setting the quota param via Finch params works as expected.
 
   // The throttler has been configured (above) to allow ad samples to fire three
   // times per day.
@@ -175,35 +190,38 @@
   EXPECT_FALSE(throttler.TriggerCanFire(TriggerType::AD_SAMPLE));
 }
 
-TEST(TriggerThrottlerTestFinch, AdSamplerDefaultQuota) {
+TEST_F(TriggerThrottlerTestFinch, AdSamplerDefaultQuota) {
   // Make sure that the ad sampler gets its own default quota when no finch
   // config exists, but the quota can be overwritten through Finch.
   TriggerThrottler throttler_default;
   EXPECT_EQ(kAdSamplerTriggerDefaultQuota,
-            throttler_default.GetDailyQuotaForTrigger(TriggerType::AD_SAMPLE));
+            GetDailyQuotaForTrigger(throttler_default, TriggerType::AD_SAMPLE));
+  EXPECT_TRUE(throttler_default.TriggerCanFire(TriggerType::AD_SAMPLE));
 
-  size_t quota_from_finch = 4;
   base::FieldTrialList field_trial_list(nullptr);
-  base::FieldTrial* trial = base::FieldTrialList::CreateFieldTrial(
-      safe_browsing::kTriggerThrottlerDailyQuotaFeature.name,
-      "Group_AdSamplerDefaultQuota");
-  std::map<std::string, std::string> feature_params;
-  feature_params[std::string(safe_browsing::kTriggerTypeAndQuotaParam)] =
-      base::StringPrintf("%d,%zu", TriggerType::AD_SAMPLE, quota_from_finch);
-  base::AssociateFieldTrialParams(
-      safe_browsing::kTriggerThrottlerDailyQuotaFeature.name,
-      "Group_AdSamplerDefaultQuota", feature_params);
-  std::unique_ptr<base::FeatureList> feature_list(new base::FeatureList);
-  feature_list->InitializeFromCommandLine(
-      safe_browsing::kTriggerThrottlerDailyQuotaFeature.name, std::string());
-  feature_list->AssociateReportingFieldTrial(
-      safe_browsing::kTriggerThrottlerDailyQuotaFeature.name,
-      base::FeatureList::OVERRIDE_ENABLE_FEATURE, trial);
   base::test::ScopedFeatureList scoped_feature_list;
-  scoped_feature_list.InitWithFeatureList(std::move(feature_list));
-
+  scoped_feature_list.InitWithFeatureList(SetupQuotaInFinch(
+      TriggerType::AD_SAMPLE, "Group_AdSamplerDefaultQuota", 4));
   TriggerThrottler throttler_finch;
-  EXPECT_EQ(quota_from_finch,
-            throttler_finch.GetDailyQuotaForTrigger(TriggerType::AD_SAMPLE));
+  EXPECT_EQ(4u,
+            GetDailyQuotaForTrigger(throttler_finch, TriggerType::AD_SAMPLE));
 }
+
+TEST_F(TriggerThrottlerTestFinch, SuspiciousSiteTriggerDefaultQuota) {
+  // Ensure that suspicious site trigger is disabled by default.
+  TriggerThrottler throttler_default;
+  EXPECT_EQ(0u, GetDailyQuotaForTrigger(throttler_default,
+                                        TriggerType::SUSPICIOUS_SITE));
+  EXPECT_FALSE(throttler_default.TriggerCanFire(TriggerType::SUSPICIOUS_SITE));
+
+  base::FieldTrialList field_trial_list(nullptr);
+  base::test::ScopedFeatureList scoped_feature_list;
+  scoped_feature_list.InitWithFeatureList(
+      SetupQuotaInFinch(TriggerType::SUSPICIOUS_SITE,
+                        "Group_SuspiciousSiteTriggerDefaultQuota", 5));
+  TriggerThrottler throttler_finch;
+  EXPECT_EQ(5u, GetDailyQuotaForTrigger(throttler_finch,
+                                        TriggerType::SUSPICIOUS_SITE));
+}
+
 }  // namespace safe_browsing
diff --git a/components/security_interstitials/content/unsafe_resource.cc b/components/security_interstitials/content/unsafe_resource.cc
index 51707fd..cedabfe 100644
--- a/components/security_interstitials/content/unsafe_resource.cc
+++ b/components/security_interstitials/content/unsafe_resource.cc
@@ -47,6 +47,8 @@
     case safe_browsing::SB_THREAT_TYPE_URL_CLIENT_SIDE_MALWARE:
     // Ad sampling happens in the background.
     case safe_browsing::SB_THREAT_TYPE_AD_SAMPLE:
+    // Suspicious site collection happens in the background
+    case safe_browsing::SB_THREAT_TYPE_SUSPICIOUS_SITE:
       return false;
 
     default:
diff --git a/components/suggestions/suggestions_service_impl_unittest.cc b/components/suggestions/suggestions_service_impl_unittest.cc
index 8e88e9f..07bc68d 100644
--- a/components/suggestions/suggestions_service_impl_unittest.cc
+++ b/components/suggestions/suggestions_service_impl_unittest.cc
@@ -171,7 +171,7 @@
         request_context_.get(), base::WrapUnique(test_suggestions_store_),
         base::WrapUnique(mock_thumbnail_manager_),
         base::WrapUnique(mock_blacklist_store_),
-        task_runner_->GetMockTickClock());
+        task_runner_->DeprecatedGetMockTickClock());
   }
 
   GURL GetCurrentlyQueriedUrl() {
diff --git a/components/sync/driver/model_type_controller.h b/components/sync/driver/model_type_controller.h
index ae9007d..a1ee29f 100644
--- a/components/sync/driver/model_type_controller.h
+++ b/components/sync/driver/model_type_controller.h
@@ -95,8 +95,9 @@
   // Callbacks for use when starting the datatype.
   ModelLoadCallback model_load_callback_;
 
-  // Controller receives |activation_context_| from SharedModelTypeProcessor
-  // callback and must temporarily own it until ActivateDataType is called.
+  // Controller receives |activation_context_| from
+  // ClientTagBasedModelTypeProcessor callback and must temporarily own it until
+  // ActivateDataType is called.
   std::unique_ptr<ActivationContext> activation_context_;
 
   // This is a hack to prevent reconfigurations from crashing, because USS
diff --git a/components/sync/engine_impl/cycle/non_blocking_type_debug_info_emitter.cc b/components/sync/engine_impl/cycle/non_blocking_type_debug_info_emitter.cc
index a3b5bdf..b71da218 100644
--- a/components/sync/engine_impl/cycle/non_blocking_type_debug_info_emitter.cc
+++ b/components/sync/engine_impl/cycle/non_blocking_type_debug_info_emitter.cc
@@ -15,7 +15,7 @@
 
 void NonBlockingTypeDebugInfoEmitter::EmitStatusCountersUpdate() {
   // TODO(gangwu): Allow driving emission of status counters from here. This is
-  // tricky because we do not have access to SharedModelTypeProcessor or
+  // tricky because we do not have access to ClientTagBasedModelTypeProcessor or
   // ModelTypeStore currently. This method is fairly redundant since counters
   // are also emitted from the UI thread, unclear how important this is.
 }
diff --git a/components/sync/model_impl/processor_entity_tracker.h b/components/sync/model_impl/processor_entity_tracker.h
index d39f602..173723c 100644
--- a/components/sync/model_impl/processor_entity_tracker.h
+++ b/components/sync/model_impl/processor_entity_tracker.h
@@ -19,9 +19,9 @@
 struct CommitResponseData;
 struct UpdateResponseData;
 
-// This class is used by the SharedModelTypeProcessor to track the state of each
-// entity with its type. It can be considered a helper class internal to the
-// processor. It manages the metadata for its entity and caches entity data
+// This class is used by the ClientTagBasedModelTypeProcessor to track the state
+// of each entity with its type. It can be considered a helper class internal to
+// the processor. It manages the metadata for its entity and caches entity data
 // upon a local change until commit confirmation is received.
 class ProcessorEntityTracker {
  public:
diff --git a/components/sync/model_impl/processor_entity_tracker_unittest.cc b/components/sync/model_impl/processor_entity_tracker_unittest.cc
index 998ac2a3..f086360 100644
--- a/components/sync/model_impl/processor_entity_tracker_unittest.cc
+++ b/components/sync/model_impl/processor_entity_tracker_unittest.cc
@@ -92,12 +92,13 @@
 // Some simple sanity tests for the ProcessorEntityTracker.
 //
 // A lot of the more complicated sync logic is implemented in the
-// SharedModelTypeProcessor that owns the ProcessorEntityTracker.  We can't unit
-// test it here.
+// ClientTagBasedModelTypeProcessor that owns the ProcessorEntityTracker.  We
+// can't unit test it here.
 //
 // Instead, we focus on simple tests to make sure that variables are getting
 // properly intialized and flags properly set.  Anything more complicated would
-// be a redundant and incomplete version of the SharedModelTypeProcessor tests.
+// be a redundant and incomplete version of the ClientTagBasedModelTypeProcessor
+// tests.
 class ProcessorEntityTrackerTest : public ::testing::Test {
  public:
   ProcessorEntityTrackerTest()
diff --git a/components/sync_sessions/mock_sync_sessions_client.h b/components/sync_sessions/mock_sync_sessions_client.h
index c2c20c5..562fabb 100644
--- a/components/sync_sessions/mock_sync_sessions_client.h
+++ b/components/sync_sessions/mock_sync_sessions_client.h
@@ -17,7 +17,6 @@
   MockSyncSessionsClient();
   ~MockSyncSessionsClient() override;
 
-  MOCK_METHOD0(GetBookmarkModel, bookmarks::BookmarkModel*());
   MOCK_METHOD0(GetFaviconService, favicon::FaviconService*());
   MOCK_METHOD0(GetHistoryService, history::HistoryService*());
   MOCK_CONST_METHOD1(ShouldSyncURL, bool(const GURL& url));
diff --git a/components/sync_sessions/sessions_sync_manager.cc b/components/sync_sessions/sessions_sync_manager.cc
index 13727dc8d..b52b075 100644
--- a/components/sync_sessions/sessions_sync_manager.cc
+++ b/components/sync_sessions/sessions_sync_manager.cc
@@ -20,6 +20,7 @@
 #include "components/sync/model/sync_error_factory.h"
 #include "components/sync/model/sync_merge_result.h"
 #include "components/sync/model/time.h"
+#include "components/sync_sessions/local_session_event_router.h"
 #include "components/sync_sessions/sync_sessions_client.h"
 #include "components/sync_sessions/tab_node_pool.h"
 
@@ -137,7 +138,6 @@
     sync_sessions::SyncSessionsClient* sessions_client,
     syncer::SyncPrefs* sync_prefs,
     LocalDeviceInfoProvider* local_device,
-    LocalSessionEventRouter* router,
     const base::RepeatingClosure& sessions_updated_callback)
     : sessions_client_(sessions_client),
       session_tracker_(sessions_client),
@@ -153,9 +153,7 @@
       local_tab_pool_out_of_sync_(true),
       sync_prefs_(sync_prefs),
       local_device_(local_device),
-      local_session_header_node_id_(TabNodePool::kInvalidTabNodeID),
       stale_session_threshold_days_(kDefaultStaleSessionThresholdDays),
-      local_event_router_(router),
       sessions_updated_callback_(sessions_updated_callback) {}
 
 SessionsSyncManager::~SessionsSyncManager() {}
@@ -201,8 +199,6 @@
     sync_processor_->AddLocalChangeObserver(lost_navigations_recorder_.get());
   }
 
-  local_session_header_node_id_ = TabNodePool::kInvalidTabNodeID;
-
   // Make sure we have a machine tag.  We do this now (versus earlier) as it's
   // a conveniently safe time to assert sync is ready and the cache_guid is
   // initialized.
@@ -245,7 +241,8 @@
   merge_result.set_error(sync_processor_->ProcessSyncChanges(
       FROM_HERE, *batch.sync_change_list()));
 
-  local_event_router_->StartRoutingTo(local_session_event_handler_.get());
+  sessions_client_->GetLocalSessionEventRouter()->StartRoutingTo(
+      local_session_event_handler_.get());
   return merge_result;
 }
 
@@ -263,7 +260,7 @@
 }
 
 void SessionsSyncManager::StopSyncing(syncer::ModelType type) {
-  local_event_router_->Stop();
+  sessions_client_->GetLocalSessionEventRouter()->Stop();
   local_session_event_handler_.reset();
   if (sync_processor_.get() && lost_navigations_recorder_.get()) {
     sync_processor_->RemoveLocalChangeObserver(
@@ -275,7 +272,6 @@
   session_tracker_.Clear();
   current_machine_tag_.clear();
   current_session_name_.clear();
-  local_session_header_node_id_ = TabNodePool::kInvalidTabNodeID;
 }
 
 syncer::SyncDataList SessionsSyncManager::GetAllSyncData(
diff --git a/components/sync_sessions/sessions_sync_manager.h b/components/sync_sessions/sessions_sync_manager.h
index 5c4377b..f6bef70 100644
--- a/components/sync_sessions/sessions_sync_manager.h
+++ b/components/sync_sessions/sessions_sync_manager.h
@@ -26,7 +26,6 @@
 #include "components/sync/model/syncable_service.h"
 #include "components/sync_sessions/favicon_cache.h"
 #include "components/sync_sessions/local_session_event_handler_impl.h"
-#include "components/sync_sessions/local_session_event_router.h"
 #include "components/sync_sessions/lost_navigations_recorder.h"
 #include "components/sync_sessions/open_tabs_ui_delegate_impl.h"
 #include "components/sync_sessions/sessions_global_id_mapper.h"
@@ -58,7 +57,6 @@
   SessionsSyncManager(SyncSessionsClient* sessions_client,
                       syncer::SyncPrefs* sync_prefs,
                       syncer::LocalDeviceInfoProvider* local_device,
-                      LocalSessionEventRouter* router,
                       const base::RepeatingClosure& sessions_updated_callback);
   ~SessionsSyncManager() override;
 
@@ -199,16 +197,10 @@
   // User-visible machine name to populate header.
   std::string current_session_name_;
 
-  // SyncID for the sync node containing all the window information for this
-  // client.
-  int local_session_header_node_id_;
-
   // Number of days without activity after which we consider a session to be
   // stale and a candidate for garbage collection.
   int stale_session_threshold_days_;
 
-  LocalSessionEventRouter* local_event_router_;
-
   std::unique_ptr<sync_sessions::LostNavigationsRecorder>
       lost_navigations_recorder_;
 
diff --git a/components/sync_sessions/sessions_sync_manager_unittest.cc b/components/sync_sessions/sessions_sync_manager_unittest.cc
index b1161a8..300a6fa 100644
--- a/components/sync_sessions/sessions_sync_manager_unittest.cc
+++ b/components/sync_sessions/sessions_sync_manager_unittest.cc
@@ -141,7 +141,7 @@
   }
 
   SyncDataList GetAllSyncData(syncer::ModelType type) const override {
-    return sync_data_to_return_;
+    return SyncDataList();
   }
 
   void AddLocalChangeObserver(syncer::LocalChangeObserver* observer) override {
@@ -160,14 +160,9 @@
 
   void FailProcessSyncChangesWith(const SyncError& error) { error_ = error; }
 
-  void SetSyncDataToReturn(const SyncDataList& data) {
-    sync_data_to_return_ = data;
-  }
-
  private:
   SyncError error_;
   SyncChangeList* output_;
-  SyncDataList sync_data_to_return_;
   base::ObserverList<syncer::LocalChangeObserver> local_change_observers_;
 };
 
@@ -178,6 +173,8 @@
   void SetUp() override {
     ON_CALL(mock_sync_sessions_client_, GetSyncedWindowDelegatesGetter())
         .WillByDefault(testing::Return(&window_getter_));
+    ON_CALL(mock_sync_sessions_client_, GetLocalSessionEventRouter())
+        .WillByDefault(testing::Return(window_getter_.router()));
 
     local_device_ = std::make_unique<LocalDeviceInfoProviderMock>(
         "cache_guid", "Wayne Gretzky's Hacking Box", "Chromium 10k",
@@ -187,7 +184,6 @@
         std::make_unique<syncer::SyncPrefs>(sync_client_->GetPrefService());
     manager_ = std::make_unique<SessionsSyncManager>(
         &mock_sync_sessions_client_, sync_prefs_.get(), local_device_.get(),
-        window_getter_.router(),
         base::Bind(&SessionNotificationObserver::NotifyOfUpdate,
                    base::Unretained(&observer_)));
   }
@@ -233,10 +229,6 @@
         FROM_HERE, SyncError::DATATYPE_ERROR, "Error", syncer::SESSIONS));
   }
 
-  void SetSyncData(const SyncDataList& data) {
-    test_processor_->SetSyncDataToReturn(data);
-  }
-
   void VerifyLocalHeaderChange(const SyncChange& change,
                                int num_windows,
                                int num_tabs) {
diff --git a/components/sync_sessions/sync_sessions_client.h b/components/sync_sessions/sync_sessions_client.h
index e8b4874..79aa4949 100644
--- a/components/sync_sessions/sync_sessions_client.h
+++ b/components/sync_sessions/sync_sessions_client.h
@@ -11,10 +11,6 @@
 
 class GURL;
 
-namespace bookmarks {
-class BookmarkModel;
-}
-
 namespace favicon {
 class FaviconService;
 }
@@ -36,7 +32,6 @@
   virtual ~SyncSessionsClient();
 
   // Getters for services that sessions depends on.
-  virtual bookmarks::BookmarkModel* GetBookmarkModel() = 0;
   virtual favicon::FaviconService* GetFaviconService() = 0;
   virtual history::HistoryService* GetHistoryService() = 0;
 
diff --git a/components/ukm/ukm_recorder_impl.cc b/components/ukm/ukm_recorder_impl.cc
index 8d86162..d4c91dec 100644
--- a/components/ukm/ukm_recorder_impl.cc
+++ b/components/ukm/ukm_recorder_impl.cc
@@ -154,6 +154,10 @@
 UkmRecorderImpl::UkmRecorderImpl() : recording_enabled_(false) {}
 UkmRecorderImpl::~UkmRecorderImpl() = default;
 
+void UkmRecorderImpl::SourceCounts::Reset() {
+  *this = SourceCounts();
+}
+
 void UkmRecorderImpl::EnableRecording(bool extensions) {
   DVLOG(1) << "UkmRecorderImpl::EnableRecording, extensions=" << extensions;
   recording_enabled_ = true;
@@ -169,6 +173,7 @@
 void UkmRecorderImpl::Purge() {
   DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
   sources_.clear();
+  source_counts_.Reset();
   carryover_urls_whitelist_.clear();
   entries_.clear();
   event_aggregations_.clear();
@@ -194,6 +199,7 @@
   AppendWhitelistedUrls(sources_, &url_whitelist);
 
   std::vector<std::unique_ptr<UkmSource>> unsent_sources;
+  int unmatched_sources = 0;
   for (auto& kv : sources_) {
     // If the source id is not whitelisted, don't send it unless it has
     // associated entries and the URL matches a URL of a whitelisted source.
@@ -205,6 +211,7 @@
       DCHECK(kv.second->initial_url().is_empty());
       if (!url_whitelist.count(kv.second->url().spec())) {
         RecordDroppedSource(DroppedDataReason::NOT_MATCHED);
+        unmatched_sources++;
         continue;
       }
       if (!base::ContainsKey(ids_seen, kv.first)) {
@@ -256,7 +263,17 @@
   UMA_HISTOGRAM_COUNTS_100000("UKM.Entries.SerializedCount2", entries_.size());
   UMA_HISTOGRAM_COUNTS_1000("UKM.Sources.UnsentSourcesCount",
                             unsent_sources.size());
+
+  Report::SourceCounts* source_counts_proto = report->mutable_source_counts();
+  source_counts_proto->set_observed(source_counts_.observed);
+  source_counts_proto->set_navigation_sources(
+      source_counts_.navigation_sources);
+  source_counts_proto->set_unmatched_sources(unmatched_sources);
+  source_counts_proto->set_deferred_sources(unsent_sources.size());
+  source_counts_proto->set_carryover_sources(source_counts_.carryover_sources);
+
   sources_.clear();
+  source_counts_.Reset();
   entries_.clear();
   event_aggregations_.clear();
 
@@ -281,6 +298,7 @@
     sources_.emplace(source->id(), std::move(source));
   }
   UMA_HISTOGRAM_COUNTS_1000("UKM.Sources.KeptSourcesCount", sources_.size());
+  source_counts_.carryover_sources = sources_.size();
 }
 
 bool UkmRecorderImpl::ShouldRestrictToWhitelistedSourceIds() const {
@@ -306,6 +324,10 @@
     return;
   }
 
+  source_counts_.observed++;
+  if (GetSourceIdType(source_id) == SourceIdType::NAVIGATION_ID)
+    source_counts_.navigation_sources++;
+
   GURL url = SanitizeURL(unsanitized_url);
 
   if (!HasSupportedScheme(url)) {
diff --git a/components/ukm/ukm_recorder_impl.h b/components/ukm/ukm_recorder_impl.h
index 1e6a413f..f9d2b04c 100644
--- a/components/ukm/ukm_recorder_impl.h
+++ b/components/ukm/ukm_recorder_impl.h
@@ -128,6 +128,20 @@
   // Aggregate information for collected event metrics.
   std::map<uint64_t, EventAggregate> event_aggregations_;
 
+  // Aggregated counters about Sources recorded in the current log.
+  struct SourceCounts {
+    // Count of URLs recorded for all sources.
+    size_t observed = 0;
+    // Count of URLs recorded for all SourceIdType::NAVIGATION_ID Sources.
+    size_t navigation_sources = 0;
+    // Sources carried over (not recorded) from a previous logging rotation.
+    size_t carryover_sources = 0;
+
+    // Resets all of the data.
+    void Reset();
+  };
+  SourceCounts source_counts_;
+
   SEQUENCE_CHECKER(sequence_checker_);
 };
 
diff --git a/components/ukm/ukm_service_unittest.cc b/components/ukm/ukm_service_unittest.cc
index 7734c5d..101f1f7 100644
--- a/components/ukm/ukm_service_unittest.cc
+++ b/components/ukm/ukm_service_unittest.cc
@@ -737,8 +737,20 @@
     auto proto_report = GetPersistedReport();
 
     if (restrict_to_whitelisted_source_ids) {
+      EXPECT_EQ(1, proto_report.source_counts().observed());
+      EXPECT_EQ(1, proto_report.source_counts().navigation_sources());
+      EXPECT_EQ(0, proto_report.source_counts().unmatched_sources());
+      EXPECT_EQ(0, proto_report.source_counts().deferred_sources());
+      EXPECT_EQ(0, proto_report.source_counts().carryover_sources());
+
       ASSERT_EQ(1, proto_report.sources_size());
     } else {
+      EXPECT_EQ(7, proto_report.source_counts().observed());
+      EXPECT_EQ(1, proto_report.source_counts().navigation_sources());
+      EXPECT_EQ(0, proto_report.source_counts().unmatched_sources());
+      EXPECT_EQ(4, proto_report.source_counts().deferred_sources());
+      EXPECT_EQ(0, proto_report.source_counts().carryover_sources());
+
       ASSERT_EQ(3, proto_report.sources_size());
       EXPECT_EQ(ids[0], proto_report.sources(0).id());
       EXPECT_EQ(kURL.spec(), proto_report.sources(0).url());
@@ -762,8 +774,20 @@
     proto_report = GetPersistedReport();
 
     if (restrict_to_whitelisted_source_ids) {
+      EXPECT_EQ(0, proto_report.source_counts().observed());
+      EXPECT_EQ(0, proto_report.source_counts().navigation_sources());
+      EXPECT_EQ(0, proto_report.source_counts().unmatched_sources());
+      EXPECT_EQ(0, proto_report.source_counts().deferred_sources());
+      EXPECT_EQ(0, proto_report.source_counts().carryover_sources());
+
       ASSERT_EQ(0, proto_report.sources_size());
     } else {
+      EXPECT_EQ(0, proto_report.source_counts().observed());
+      EXPECT_EQ(0, proto_report.source_counts().navigation_sources());
+      EXPECT_EQ(0, proto_report.source_counts().unmatched_sources());
+      EXPECT_EQ(1, proto_report.source_counts().deferred_sources());
+      EXPECT_EQ(3, proto_report.source_counts().carryover_sources());
+
       ASSERT_EQ(2, proto_report.sources_size());
       EXPECT_EQ(ids[3], proto_report.sources(0).id());
       EXPECT_EQ(kURL.spec(), proto_report.sources(0).url());
@@ -813,13 +837,17 @@
     EXPECT_EQ(1, GetPersistedLogCount());
     auto proto_report = GetPersistedReport();
 
+    EXPECT_EQ(2, proto_report.source_counts().observed());
+    EXPECT_EQ(1, proto_report.source_counts().navigation_sources());
     if (test.expected_kept) {
+      EXPECT_EQ(0, proto_report.source_counts().unmatched_sources());
       EXPECT_EQ(2, proto_report.sources_size());
       EXPECT_EQ(whitelist_id, proto_report.sources(0).id());
       EXPECT_EQ(kURL, proto_report.sources(0).url());
       EXPECT_EQ(nonwhitelist_id, proto_report.sources(1).id());
       EXPECT_EQ(test.url, proto_report.sources(1).url());
     } else {
+      EXPECT_EQ(1, proto_report.source_counts().unmatched_sources());
       EXPECT_EQ(1, proto_report.sources_size());
       EXPECT_EQ(whitelist_id, proto_report.sources(0).id());
       EXPECT_EQ(kURL, proto_report.sources(0).url());
@@ -892,6 +920,16 @@
     EXPECT_EQ(1, GetPersistedLogCount());
     auto proto_report = GetPersistedReport();
 
+    EXPECT_EQ(2, proto_report.source_counts().observed());
+    EXPECT_EQ(1, proto_report.source_counts().navigation_sources());
+    EXPECT_EQ(0, proto_report.source_counts().carryover_sources());
+    if (test.expect_source1) {
+      EXPECT_EQ(0, proto_report.source_counts().unmatched_sources());
+      EXPECT_EQ(1, proto_report.source_counts().deferred_sources());
+    } else {
+      EXPECT_EQ(1, proto_report.source_counts().unmatched_sources());
+      EXPECT_EQ(0, proto_report.source_counts().deferred_sources());
+    }
     EXPECT_EQ(1, proto_report.sources_size());
     EXPECT_EQ(whitelist_id, proto_report.sources(0).id());
     EXPECT_EQ(kURL, proto_report.sources(0).url());
@@ -906,14 +944,23 @@
     EXPECT_EQ(2, GetPersistedLogCount());
     proto_report = GetPersistedReport();
 
+    EXPECT_EQ(1, proto_report.source_counts().observed());
+    EXPECT_EQ(0, proto_report.source_counts().navigation_sources());
+    EXPECT_EQ(0, proto_report.source_counts().deferred_sources());
     if (!test.expect_source1) {
       EXPECT_FALSE(test.expect_source2);
+      EXPECT_EQ(1, proto_report.source_counts().unmatched_sources());
+      EXPECT_EQ(0, proto_report.source_counts().carryover_sources());
       EXPECT_EQ(0, proto_report.sources_size());
     } else if (!test.expect_source2) {
+      EXPECT_EQ(1, proto_report.source_counts().unmatched_sources());
+      EXPECT_EQ(1, proto_report.source_counts().carryover_sources());
       EXPECT_EQ(1, proto_report.sources_size());
       EXPECT_EQ(nonwhitelist_id1, proto_report.sources(0).id());
       EXPECT_EQ(test.source1_url, proto_report.sources(0).url());
     } else {
+      EXPECT_EQ(0, proto_report.source_counts().unmatched_sources());
+      EXPECT_EQ(1, proto_report.source_counts().carryover_sources());
       EXPECT_EQ(2, proto_report.sources_size());
       EXPECT_EQ(nonwhitelist_id1, proto_report.sources(0).id());
       EXPECT_EQ(test.source1_url, proto_report.sources(0).url());
diff --git a/components/viz/service/frame_sinks/video_capture/frame_sink_video_capturer_impl_unittest.cc b/components/viz/service/frame_sinks/video_capture/frame_sink_video_capturer_impl_unittest.cc
index 20680135..8c60845 100644
--- a/components/viz/service/frame_sinks/video_capture/frame_sink_video_capturer_impl_unittest.cc
+++ b/components/viz/service/frame_sinks/video_capture/frame_sink_video_capturer_impl_unittest.cc
@@ -284,12 +284,12 @@
         base::Time::Now(), base::TimeTicks() + base::TimeDelta::FromSeconds(1),
         base::TestMockTimeTaskRunner::Type::kStandalone);
     start_time_ = task_runner_->NowTicks();
-    clock_ = task_runner_->GetMockTickClock();
-    capturer_.clock_ = clock_.get();
+    capturer_.clock_ = task_runner_->GetMockTickClock();
 
     // Replace the retry timer with one that uses this test's fake clock and
     // task runner.
-    capturer_.refresh_frame_retry_timer_.emplace(clock_.get());
+    capturer_.refresh_frame_retry_timer_.emplace(
+        task_runner_->GetMockTickClock());
     capturer_.refresh_frame_retry_timer_->SetTaskRunner(task_runner_);
 
     // Before setting the format, ensure the defaults are in-place. Then, for
@@ -374,7 +374,6 @@
  protected:
   scoped_refptr<base::TestMockTimeTaskRunner> task_runner_;
   base::TimeTicks start_time_;
-  std::unique_ptr<base::TickClock> clock_;
   MockFrameSinkManager frame_sink_manager_;
   FakeCapturableFrameSink frame_sink_;
   FrameSinkVideoCapturerImpl capturer_;
diff --git a/components/viz/service/frame_sinks/video_detector_unittest.cc b/components/viz/service/frame_sinks/video_detector_unittest.cc
index b7e87ce..52bc5ce 100644
--- a/components/viz/service/frame_sinks/video_detector_unittest.cc
+++ b/components/viz/service/frame_sinks/video_detector_unittest.cc
@@ -84,7 +84,7 @@
     mock_task_runner_ = base::MakeRefCounted<base::TestMockTimeTaskRunner>();
 
     detector_ = frame_sink_manager_.CreateVideoDetectorForTesting(
-        mock_task_runner_->GetMockTickClock(), mock_task_runner_);
+        mock_task_runner_->DeprecatedGetMockTickClock(), mock_task_runner_);
 
     mojom::VideoDetectorObserverPtr video_detector_observer;
     observer_.Bind(mojo::MakeRequest(&video_detector_observer));
diff --git a/content/browser/android/ime_adapter_android.cc b/content/browser/android/ime_adapter_android.cc
index 82f32a98a..a27bfd20 100644
--- a/content/browser/android/ime_adapter_android.cc
+++ b/content/browser/android/ime_adapter_android.cc
@@ -85,11 +85,12 @@
   // Do not check |background_color|.
   std::vector<ui::ImeTextSpan>* ime_text_spans =
       reinterpret_cast<std::vector<ui::ImeTextSpan>*>(ime_text_spans_ptr);
-  ime_text_spans->push_back(ui::ImeTextSpan(
-      ui::ImeTextSpan::Type::kComposition, static_cast<unsigned>(start),
-      static_cast<unsigned>(end), SK_ColorTRANSPARENT, false,
-      static_cast<unsigned>(background_color), SK_ColorTRANSPARENT,
-      std::vector<std::string>()));
+  ime_text_spans->push_back(
+      ui::ImeTextSpan(ui::ImeTextSpan::Type::kComposition,
+                      static_cast<unsigned>(start), static_cast<unsigned>(end),
+                      SK_ColorTRANSPARENT, ui::ImeTextSpan::Thickness::kNone,
+                      static_cast<unsigned>(background_color),
+                      SK_ColorTRANSPARENT, std::vector<std::string>()));
 }
 
 // Callback from Java to convert SuggestionSpan data to a
@@ -117,7 +118,8 @@
   AppendJavaStringArrayToStringVector(env, suggestions, &suggestions_vec);
   ime_text_spans->push_back(ui::ImeTextSpan(
       type, static_cast<unsigned>(start), static_cast<unsigned>(end),
-      static_cast<unsigned>(underline_color), true, SK_ColorTRANSPARENT,
+      static_cast<unsigned>(underline_color),
+      ui::ImeTextSpan::Thickness::kThick, SK_ColorTRANSPARENT,
       static_cast<unsigned>(suggestion_highlight_color), suggestions_vec));
 }
 
@@ -134,7 +136,8 @@
       reinterpret_cast<std::vector<ui::ImeTextSpan>*>(ime_text_spans_ptr);
   ime_text_spans->push_back(ui::ImeTextSpan(
       ui::ImeTextSpan::Type::kComposition, static_cast<unsigned>(start),
-      static_cast<unsigned>(end), SK_ColorBLACK, false, SK_ColorTRANSPARENT,
+      static_cast<unsigned>(end), SK_ColorBLACK,
+      ui::ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT,
       SK_ColorTRANSPARENT, std::vector<std::string>()));
 }
 
@@ -255,10 +258,10 @@
 
   // Default to plain underline if we didn't find any span that we care about.
   if (ime_text_spans.empty()) {
-    ime_text_spans.push_back(
-        ui::ImeTextSpan(ui::ImeTextSpan::Type::kComposition, 0, text16.length(),
-                        SK_ColorBLACK, false, SK_ColorTRANSPARENT,
-                        SK_ColorTRANSPARENT, std::vector<std::string>()));
+    ime_text_spans.push_back(ui::ImeTextSpan(
+        ui::ImeTextSpan::Type::kComposition, 0, text16.length(), SK_ColorBLACK,
+        ui::ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT,
+        SK_ColorTRANSPARENT, std::vector<std::string>()));
   }
 
   // relative_cursor_pos is as described in the Android API for
@@ -380,8 +383,9 @@
 
   std::vector<ui::ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ui::ImeTextSpan(
-      ui::ImeTextSpan::Type::kComposition, 0, end - start, SK_ColorBLACK, false,
-      SK_ColorTRANSPARENT, SK_ColorTRANSPARENT, std::vector<std::string>()));
+      ui::ImeTextSpan::Type::kComposition, 0, end - start, SK_ColorBLACK,
+      ui::ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT,
+      SK_ColorTRANSPARENT, std::vector<std::string>()));
 
   rfh->GetFrameInputHandler()->SetCompositionFromExistingText(start, end,
                                                               ime_text_spans);
diff --git a/content/browser/android/synchronous_compositor_host.h b/content/browser/android/synchronous_compositor_host.h
index 577266a..dbe31477 100644
--- a/content/browser/android/synchronous_compositor_host.h
+++ b/content/browser/android/synchronous_compositor_host.h
@@ -51,10 +51,6 @@
   ~SynchronousCompositorHost() override;
 
   // SynchronousCompositor overrides.
-  SynchronousCompositor::Frame DemandDrawHw(
-      const gfx::Size& viewport_size,
-      const gfx::Rect& viewport_rect_for_tile_priority,
-      const gfx::Transform& transform_for_tile_priority) override;
   scoped_refptr<FrameFuture> DemandDrawHwAsync(
       const gfx::Size& viewport_size,
       const gfx::Rect& viewport_rect_for_tile_priority,
@@ -100,6 +96,10 @@
 
   SynchronousCompositorHost(RenderWidgetHostViewAndroid* rwhva,
                             bool use_in_proc_software_draw);
+  SynchronousCompositor::Frame DemandDrawHw(
+      const gfx::Size& viewport_size,
+      const gfx::Rect& viewport_rect_for_tile_priority,
+      const gfx::Transform& transform_for_tile_priority);
   bool DemandDrawSwInProc(SkCanvas* canvas);
   void SetSoftwareDrawSharedMemoryIfNeeded(size_t stride, size_t buffer_size);
   void SendZeroMemory();
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc
index 3e1786a..7739a9f 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.cc
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc
@@ -71,7 +71,8 @@
     ui_ime_text_spans.emplace_back(ui::ImeTextSpan(
         ConvertWebImeTextSpanTypeToUiType(ime_text_span.type),
         ime_text_span.start_offset, ime_text_span.end_offset,
-        ime_text_span.underline_color, ime_text_span.thick,
+        ime_text_span.underline_color,
+        ConvertUiImeTextSpanThicknessToUiThickness(ime_text_span.thickness),
         ime_text_span.background_color,
         ime_text_span.suggestion_highlight_color, ime_text_span.suggestions));
   }
diff --git a/content/browser/download/download_browsertest.cc b/content/browser/download/download_browsertest.cc
index 72b3820..5ae140ab 100644
--- a/content/browser/download/download_browsertest.cc
+++ b/content/browser/download/download_browsertest.cc
@@ -927,18 +927,23 @@
       TestDownloadHttpResponse::Parameters& parameters) {
     std::string output;
     int64_t total_bytes = 0u;
+    const int64_t kBufferSize = 64 * 1024;
     {
       base::ScopedAllowBlockingForTesting allow_io_for_test_setup;
       base::File file(path, base::File::FLAG_CREATE | base::File::FLAG_WRITE);
       for (const auto& slice : slices) {
-        total_bytes += slice.received_bytes;
-
         EXPECT_TRUE(file.IsValid());
-        output = TestDownloadHttpResponse::GetPatternBytes(
-            parameters.pattern_generator_seed, slice.offset,
-            slice.received_bytes);
-        EXPECT_EQ(slice.received_bytes, file.Write(slice.offset, output.data(),
-                                                   slice.received_bytes));
+        int64_t length = slice.offset + slice.received_bytes;
+        for (int64_t offset = slice.offset; offset < length;) {
+          int64_t bytes_to_write =
+              length - offset > kBufferSize ? kBufferSize : length - offset;
+          output = TestDownloadHttpResponse::GetPatternBytes(
+              parameters.pattern_generator_seed, offset, bytes_to_write);
+          EXPECT_EQ(bytes_to_write,
+                    file.Write(offset, output.data(), bytes_to_write));
+          total_bytes += bytes_to_write;
+          offset += bytes_to_write;
+        }
       }
       file.Close();
     }
diff --git a/content/browser/frame_host/input/legacy_ipc_frame_input_handler.cc b/content/browser/frame_host/input/legacy_ipc_frame_input_handler.cc
index 592c24e..3c26e080 100644
--- a/content/browser/frame_host/input/legacy_ipc_frame_input_handler.cc
+++ b/content/browser/frame_host/input/legacy_ipc_frame_input_handler.cc
@@ -27,7 +27,8 @@
     blink::WebImeTextSpan blink_ime_text_span(
         ConvertUiImeTextSpanTypeToWebType(ime_text_span.type),
         ime_text_span.start_offset, ime_text_span.end_offset,
-        ime_text_span.underline_color, ime_text_span.thick,
+        ime_text_span.underline_color,
+        ConvertUiThicknessToUiImeTextSpanThickness(ime_text_span.thickness),
         ime_text_span.background_color,
         ime_text_span.suggestion_highlight_color, ime_text_span.suggestions);
     ime_text_spans.push_back(blink_ime_text_span);
diff --git a/content/browser/frame_host/navigation_controller_impl_browsertest.cc b/content/browser/frame_host/navigation_controller_impl_browsertest.cc
index 7add424f..14f2af7 100644
--- a/content/browser/frame_host/navigation_controller_impl_browsertest.cc
+++ b/content/browser/frame_host/navigation_controller_impl_browsertest.cc
@@ -11,6 +11,7 @@
 
 #include "base/bind.h"
 #include "base/command_line.h"
+#include "base/files/scoped_temp_dir.h"
 #include "base/macros.h"
 #include "base/memory/ref_counted.h"
 #include "base/memory/weak_ptr.h"
@@ -19,6 +20,7 @@
 #include "base/strings/utf_string_conversions.h"
 #include "base/test/histogram_tester.h"
 #include "base/threading/sequenced_task_runner_handle.h"
+#include "base/threading/thread_restrictions.h"
 #include "build/build_config.h"
 #include "content/browser/frame_host/frame_navigation_entry.h"
 #include "content/browser/frame_host/frame_tree.h"
@@ -32,6 +34,7 @@
 #include "content/browser/web_contents/web_contents_view.h"
 #include "content/common/frame_messages.h"
 #include "content/common/page_state_serialization.h"
+#include "content/public/browser/browser_context.h"
 #include "content/public/browser/navigation_controller.h"
 #include "content/public/browser/render_view_host.h"
 #include "content/public/browser/resource_dispatcher_host.h"
@@ -49,9 +52,11 @@
 #include "content/public/test/browser_test_utils.h"
 #include "content/public/test/content_browser_test.h"
 #include "content/public/test/content_browser_test_utils.h"
+#include "content/public/test/download_test_observer.h"
 #include "content/public/test/test_navigation_observer.h"
 #include "content/public/test/test_utils.h"
 #include "content/shell/browser/shell.h"
+#include "content/shell/browser/shell_download_manager_delegate.h"
 #include "content/shell/common/shell_switches.h"
 #include "content/test/content_browser_test_utils_internal.h"
 #include "content/test/did_commit_provisional_load_interceptor.h"
@@ -8031,12 +8036,29 @@
       static_cast<const NavigationControllerImpl&>(
           shell()->web_contents()->GetController());
 
-  OpenURLParams params(url, Referrer(), WindowOpenDisposition::CURRENT_TAB,
-                       ui::PAGE_TRANSITION_LINK, true);
-  params.suggested_filename = std::string("foo");
+  {
+    base::ScopedAllowBlockingForTesting allow_blocking;
+    base::ScopedTempDir downloads_directory;
+    ASSERT_TRUE(downloads_directory.CreateUniqueTempDir());
+    DownloadManager* download_manager = BrowserContext::GetDownloadManager(
+        shell()->web_contents()->GetBrowserContext());
+    ShellDownloadManagerDelegate* download_delegate =
+        static_cast<ShellDownloadManagerDelegate*>(
+            download_manager->GetDelegate());
+    download_delegate->SetDownloadBehaviorForTesting(
+        downloads_directory.GetPath());
 
-  shell()->web_contents()->OpenURL(params);
-  WaitForLoadStop(shell()->web_contents());
+    DownloadTestObserverTerminal observer(
+        download_manager, 1, DownloadTestObserver::ON_DANGEROUS_DOWNLOAD_FAIL);
+
+    OpenURLParams params(url, Referrer(), WindowOpenDisposition::CURRENT_TAB,
+                         ui::PAGE_TRANSITION_LINK, true);
+    params.suggested_filename = std::string("foo");
+
+    shell()->web_contents()->OpenURL(params);
+    WaitForLoadStop(shell()->web_contents());
+    observer.WaitForFinished();
+  }
 
   EXPECT_FALSE(controller.GetPendingEntry());
   EXPECT_FALSE(controller.GetVisibleEntry());
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h
index 78f3ce8..967330b9 100644
--- a/content/browser/frame_host/render_frame_host_delegate.h
+++ b/content/browser/frame_host/render_frame_host_delegate.h
@@ -20,7 +20,6 @@
 #include "content/public/common/javascript_dialog_type.h"
 #include "content/public/common/media_stream_request.h"
 #include "content/public/common/resource_type.h"
-#include "content/public/common/subresource_load_info.mojom.h"
 #include "mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h"
 #include "net/cert/cert_status_flags.h"
 #include "net/http/http_response_headers.h"
@@ -345,8 +344,12 @@
   virtual bool IsBeingDestroyed() const;
 
   // Notifies that the render frame started loading a subresource.
-  virtual void SubresourceResponseStarted(
-      mojom::SubresourceLoadInfoPtr subresource_load_info) {}
+  virtual void SubresourceResponseStarted(const GURL& url,
+                                          const GURL& referrer,
+                                          const std::string& method,
+                                          ResourceType resource_type,
+                                          const std::string& ip,
+                                          net::CertStatus cert_status) {}
 
   // Request to print a frame that is in a different process than its parent.
   virtual void PrintCrossProcessSubframe(const gfx::Rect& rect,
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 2d3957ae..3f85398 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -3069,9 +3069,14 @@
       frame_tree_node(), validated_params, std::move(begin_params));
 }
 
-void RenderFrameHostImpl::SubresourceResponseStarted(
-    mojom::SubresourceLoadInfoPtr subresource_load_info) {
-  delegate_->SubresourceResponseStarted(std::move(subresource_load_info));
+void RenderFrameHostImpl::SubresourceResponseStarted(const GURL& url,
+                                                     const GURL& referrer,
+                                                     const std::string& method,
+                                                     ResourceType resource_type,
+                                                     const std::string& ip,
+                                                     uint32_t cert_status) {
+  delegate_->SubresourceResponseStarted(url, referrer, method, resource_type,
+                                        ip, cert_status);
 }
 
 namespace {
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 2a941a5..2f94378 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -108,7 +108,7 @@
 namespace network {
 class ResourceRequestBody;
 struct ResourceResponse;
-}  // namespace network
+}
 
 namespace content {
 class AssociatedInterfaceProviderImpl;
@@ -892,8 +892,12 @@
           validated_params) override;
   void BeginNavigation(const CommonNavigationParams& common_params,
                        mojom::BeginNavigationParamsPtr begin_params) override;
-  void SubresourceResponseStarted(
-      mojom::SubresourceLoadInfoPtr subresource_load_info) override;
+  void SubresourceResponseStarted(const GURL& url,
+                                  const GURL& referrer,
+                                  const std::string& method,
+                                  ResourceType resource_type,
+                                  const std::string& ip,
+                                  uint32_t cert_status) override;
   void DidChangeName(const std::string& name,
                      const std::string& unique_name) override;
   void EnforceInsecureRequestPolicy(
diff --git a/content/browser/media/capture/desktop_capture_device_unittest.cc b/content/browser/media/capture/desktop_capture_device_unittest.cc
index 3ca88ac..c1a86a9 100644
--- a/content/browser/media/capture/desktop_capture_device_unittest.cc
+++ b/content/browser/media/capture/desktop_capture_device_unittest.cc
@@ -602,7 +602,7 @@
               base::TestMockTimeTaskRunner::Type::kStandalone);
 
           capture_device_->SetMockTimeForTesting(
-              task_runner, task_runner->GetMockTickClock());
+              task_runner, task_runner->DeprecatedGetMockTickClock());
         }));
 
     EXPECT_CALL(*client, OnIncomingCapturedData(_, _, _, _, _, _, _))
diff --git a/content/browser/memory/memory_coordinator_impl_unittest.cc b/content/browser/memory/memory_coordinator_impl_unittest.cc
index 2418018..43f703e 100644
--- a/content/browser/memory/memory_coordinator_impl_unittest.cc
+++ b/content/browser/memory/memory_coordinator_impl_unittest.cc
@@ -158,9 +158,7 @@
                               std::make_unique<MockMemoryMonitor>()) {
     SetDelegateForTesting(std::make_unique<TestMemoryCoordinatorDelegate>());
     SetPolicyForTesting(std::make_unique<MockMemoryCoordinatorPolicy>(this));
-
-    clock_ = task_runner->GetMockTickClock();
-    SetTickClockForTesting(clock_.get());
+    SetTickClockForTesting(task_runner->GetMockTickClock());
   }
 
   ~TestMemoryCoordinatorImpl() override {}
@@ -206,10 +204,6 @@
     return result;
   }
 
-  // TODO(tzik): Remove |clock_| after updating GetMockTickClock to own the
-  // instance.
-  std::unique_ptr<base::TickClock> clock_;
-
   TestBrowserContext browser_context_;
   std::vector<std::unique_ptr<Child>> children_;
   std::map<int, std::unique_ptr<MockRenderProcessHost>> render_process_hosts_;
diff --git a/content/browser/renderer_host/input/legacy_ipc_widget_input_handler.cc b/content/browser/renderer_host/input/legacy_ipc_widget_input_handler.cc
index afe47ce..3d6fe16 100644
--- a/content/browser/renderer_host/input/legacy_ipc_widget_input_handler.cc
+++ b/content/browser/renderer_host/input/legacy_ipc_widget_input_handler.cc
@@ -22,7 +22,8 @@
     ime_text_spans.emplace_back(blink::WebImeTextSpan(
         ConvertUiImeTextSpanTypeToWebType(ime_text_span.type),
         ime_text_span.start_offset, ime_text_span.end_offset,
-        ime_text_span.underline_color, ime_text_span.thick,
+        ime_text_span.underline_color,
+        ConvertUiThicknessToUiImeTextSpanThickness(ime_text_span.thickness),
         ime_text_span.background_color,
         ime_text_span.suggestion_highlight_color, ime_text_span.suggestions));
   }
diff --git a/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc b/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
index 0f25393..db0e5a9 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
@@ -1465,13 +1465,14 @@
   composition_text.text = base::ASCIIToUTF16("|a|b");
 
   // Focused segment
-  composition_text.ime_text_spans.push_back(ui::ImeTextSpan(
-      ui::ImeTextSpan::Type::kComposition, 0, 3, 0xff000000, true, 0x78563412));
+  composition_text.ime_text_spans.push_back(
+      ui::ImeTextSpan(ui::ImeTextSpan::Type::kComposition, 0, 3, 0xff000000,
+                      ui::ImeTextSpan::Thickness::kThick, 0x78563412));
 
   // Non-focused segment, with different background color.
   composition_text.ime_text_spans.push_back(
       ui::ImeTextSpan(ui::ImeTextSpan::Type::kComposition, 3, 4, 0xff000000,
-                      false, 0xefcdab90));
+                      ui::ImeTextSpan::Thickness::kThin, 0xefcdab90));
 
   const ui::ImeTextSpans& ime_text_spans = composition_text.ime_text_spans;
 
@@ -1522,13 +1523,14 @@
   composition_text.text = base::ASCIIToUTF16("|a|b");
 
   // Focused segment
-  composition_text.ime_text_spans.push_back(ui::ImeTextSpan(
-      ui::ImeTextSpan::Type::kComposition, 0, 3, 0xff000000, true, 0x78563412));
+  composition_text.ime_text_spans.push_back(
+      ui::ImeTextSpan(ui::ImeTextSpan::Type::kComposition, 0, 3, 0xff000000,
+                      ui::ImeTextSpan::Thickness::kThick, 0x78563412));
 
   // Non-focused segment, with different background color.
   composition_text.ime_text_spans.push_back(
       ui::ImeTextSpan(ui::ImeTextSpan::Type::kComposition, 3, 4, 0xff000000,
-                      false, 0xefcdab90));
+                      ui::ImeTextSpan::Thickness::kThin, 0xefcdab90));
 
   // Caret is at the end. (This emulates Japanese MSIME 2007 and later)
   composition_text.selection = gfx::Range(4);
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index f598a5f..5084a18f 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -270,9 +270,12 @@
         color = WebColorFromNSColor(
             [colorAttr colorUsingColorSpaceName:NSDeviceRGBColorSpace]);
       }
+      ui::ImeTextSpan::Thickness thickness =
+          [style intValue] > 1 ? ui::ImeTextSpan::Thickness::kThick
+                               : ui::ImeTextSpan::Thickness::kThin;
       ime_text_spans->push_back(ui::ImeTextSpan(
           ui::ImeTextSpan::Type::kComposition, range.location,
-          NSMaxRange(range), color, [style intValue] > 1, SK_ColorTRANSPARENT));
+          NSMaxRange(range), color, thickness, SK_ColorTRANSPARENT));
     }
     i = range.location + range.length;
   }
@@ -3348,9 +3351,9 @@
     ExtractUnderlines(string, &ime_text_spans_);
   } else {
     // Use a thin black underline by default.
-    ime_text_spans_.push_back(
-        ui::ImeTextSpan(ui::ImeTextSpan::Type::kComposition, 0, length,
-                        SK_ColorBLACK, false, SK_ColorTRANSPARENT));
+    ime_text_spans_.push_back(ui::ImeTextSpan(
+        ui::ImeTextSpan::Type::kComposition, 0, length, SK_ColorBLACK,
+        ui::ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT));
   }
 
   // If we are handling a key down event, then SetComposition() will be
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index bb2f4e3..3d9de22 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -4030,14 +4030,18 @@
   // AddNewContents method call.
 }
 
-void WebContentsImpl::SubresourceResponseStarted(
-    mojom::SubresourceLoadInfoPtr subresource_load_info) {
+void WebContentsImpl::SubresourceResponseStarted(const GURL& url,
+                                                 const GURL& referrer,
+                                                 const std::string& method,
+                                                 ResourceType resource_type,
+                                                 const std::string& ip,
+                                                 net::CertStatus cert_status) {
   for (auto& observer : observers_) {
-    observer.SubresourceResponseStarted(subresource_load_info);
+    observer.SubresourceResponseStarted(url, referrer, method, resource_type,
+                                        ip);
   }
 
-  controller_.ssl_manager()->DidStartResourceResponse(
-      subresource_load_info->url, subresource_load_info->cert_status);
+  controller_.ssl_manager()->DidStartResourceResponse(url, cert_status);
   SetNotWaitingForResponse();
 }
 
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 527f0a461..ead9ccc 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -573,8 +573,12 @@
   base::android::ScopedJavaLocalRef<jobject> GetJavaRenderFrameHostDelegate()
       override;
 #endif
-  void SubresourceResponseStarted(
-      mojom::SubresourceLoadInfoPtr subresource_load_information) override;
+  void SubresourceResponseStarted(const GURL& url,
+                                  const GURL& referrer,
+                                  const std::string& method,
+                                  ResourceType resource_type,
+                                  const std::string& ip,
+                                  net::CertStatus cert_status) override;
   void UpdatePictureInPictureSurfaceId(viz::SurfaceId surface_id) override;
 
   // RenderViewHostDelegate ----------------------------------------------------
diff --git a/content/browser/webauth/authenticator_impl_unittest.cc b/content/browser/webauth/authenticator_impl_unittest.cc
index 4b7248d..f0d2a5a 100644
--- a/content/browser/webauth/authenticator_impl_unittest.cc
+++ b/content/browser/webauth/authenticator_impl_unittest.cc
@@ -473,8 +473,8 @@
   // Set up a timer for testing.
   auto task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>(
       base::Time::Now(), base::TimeTicks::Now());
-  auto tick_clock = task_runner->GetMockTickClock();
-  auto timer = std::make_unique<base::OneShotTimer>(tick_clock.get());
+  auto timer =
+      std::make_unique<base::OneShotTimer>(task_runner->GetMockTickClock());
   timer->SetTaskRunner(task_runner);
   AuthenticatorPtr authenticator =
       ConnectToAuthenticator(connector.get(), std::move(timer));
@@ -586,8 +586,8 @@
   // Set up a timer for testing.
   auto task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>(
       base::Time::Now(), base::TimeTicks::Now());
-  auto tick_clock = task_runner->GetMockTickClock();
-  auto timer = std::make_unique<base::OneShotTimer>(tick_clock.get());
+  auto timer =
+      std::make_unique<base::OneShotTimer>(task_runner->GetMockTickClock());
   timer->SetTaskRunner(task_runner);
   AuthenticatorPtr authenticator =
       ConnectToAuthenticator(connector.get(), std::move(timer));
diff --git a/content/common/content_param_traits_macros.h b/content/common/content_param_traits_macros.h
index 6ccdc68d..f9c2d4e 100644
--- a/content/common/content_param_traits_macros.h
+++ b/content/common/content_param_traits_macros.h
@@ -45,13 +45,15 @@
                           blink::mojom::PageVisibilityState::kLast)
 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebImeTextSpan::Type,
                           blink::WebImeTextSpan::Type::kMisspellingSuggestion)
+IPC_ENUM_TRAITS_MAX_VALUE(ui::mojom::ImeTextSpanThickness,
+                          ui::mojom::ImeTextSpanThickness::kThick)
 
 IPC_STRUCT_TRAITS_BEGIN(blink::WebImeTextSpan)
   IPC_STRUCT_TRAITS_MEMBER(type)
   IPC_STRUCT_TRAITS_MEMBER(start_offset)
   IPC_STRUCT_TRAITS_MEMBER(end_offset)
   IPC_STRUCT_TRAITS_MEMBER(underline_color)
-  IPC_STRUCT_TRAITS_MEMBER(thick)
+  IPC_STRUCT_TRAITS_MEMBER(thickness)
   IPC_STRUCT_TRAITS_MEMBER(background_color)
   IPC_STRUCT_TRAITS_MEMBER(suggestion_highlight_color)
   IPC_STRUCT_TRAITS_MEMBER(suggestions)
diff --git a/content/common/frame.mojom b/content/common/frame.mojom
index 1d485095..793a801 100644
--- a/content/common/frame.mojom
+++ b/content/common/frame.mojom
@@ -8,7 +8,6 @@
 import "content/common/service_worker/controller_service_worker.mojom";
 import "content/common/url_loader_factory_bundle.mojom";
 import "content/public/common/resource_type.mojom";
-import "content/public/common/subresource_load_info.mojom";
 import "content/public/common/transferrable_url_loader.mojom";
 import "content/public/common/window_container_type.mojom";
 import "mojo/common/unguessable_token.mojom";
@@ -99,7 +98,7 @@
   // (i.e. flattened HTML, JS, CSS).
   //
   // When the Network Service is enabled, |subresource_loader_factories| may
-  // also be provided by the browser as a means for the renderer to load
+  // also be provided by the browser as a a means for the renderer to load
   // subresources where applicable.
   CommitFailedNavigation(
       CommonNavigationParams common_params,
@@ -273,7 +272,12 @@
 
   // Sent when a subresource response has started.
   SubresourceResponseStarted(
-      SubresourceLoadInfo url_load_info);
+      url.mojom.Url url,
+      url.mojom.Url referrer,
+      string method,
+      ResourceType resource_type,
+      string ip,
+      uint32 cert_status);
 
   // Sent when the frame changes its window.name.
   DidChangeName(string name, string unique_name);
diff --git a/content/common/input/ime_text_span_conversions.cc b/content/common/input/ime_text_span_conversions.cc
index 59ef7f35..77eb93b 100644
--- a/content/common/input/ime_text_span_conversions.cc
+++ b/content/common/input/ime_text_span_conversions.cc
@@ -38,4 +38,34 @@
   return ui::ImeTextSpan::Type::kComposition;
 }
 
+ui::mojom::ImeTextSpanThickness ConvertUiThicknessToUiImeTextSpanThickness(
+    ui::ImeTextSpan::Thickness thickness) {
+  switch (thickness) {
+    case ui::ImeTextSpan::Thickness::kNone:
+      return ui::mojom::ImeTextSpanThickness::kNone;
+    case ui::ImeTextSpan::Thickness::kThin:
+      return ui::mojom::ImeTextSpanThickness::kThin;
+    case ui::ImeTextSpan::Thickness::kThick:
+      return ui::mojom::ImeTextSpanThickness::kThick;
+  }
+
+  NOTREACHED();
+  return ui::mojom::ImeTextSpanThickness::kThin;
+}
+
+ui::ImeTextSpan::Thickness ConvertUiImeTextSpanThicknessToUiThickness(
+    ui::mojom::ImeTextSpanThickness thickness) {
+  switch (thickness) {
+    case ui::mojom::ImeTextSpanThickness::kNone:
+      return ui::ImeTextSpan::Thickness::kNone;
+    case ui::mojom::ImeTextSpanThickness::kThin:
+      return ui::ImeTextSpan::Thickness::kThin;
+    case ui::mojom::ImeTextSpanThickness::kThick:
+      return ui::ImeTextSpan::Thickness::kThick;
+  }
+
+  NOTREACHED();
+  return ui::ImeTextSpan::Thickness::kThin;
+}
+
 }  // namespace content
diff --git a/content/common/input/ime_text_span_conversions.h b/content/common/input/ime_text_span_conversions.h
index 50d78de2..c5d92383 100644
--- a/content/common/input/ime_text_span_conversions.h
+++ b/content/common/input/ime_text_span_conversions.h
@@ -14,6 +14,10 @@
     ui::ImeTextSpan::Type type);
 ui::ImeTextSpan::Type ConvertWebImeTextSpanTypeToUiType(
     blink::WebImeTextSpan::Type type);
+ui::mojom::ImeTextSpanThickness ConvertUiThicknessToUiImeTextSpanThickness(
+    ui::ImeTextSpan::Thickness thickness);
+ui::ImeTextSpan::Thickness ConvertUiImeTextSpanThicknessToUiThickness(
+    ui::mojom::ImeTextSpanThickness thickness);
 
 }  // namespace content
 
diff --git a/content/public/android/java/res/OWNERS b/content/public/android/java/res/OWNERS
index 6a43cbc..a1d76438 100644
--- a/content/public/android/java/res/OWNERS
+++ b/content/public/android/java/res/OWNERS
@@ -1,6 +1,12 @@
+# This restriction is in place to avoid accidential addition to our top level
+# layout files, such as add duplicated assets, or introducing new colors when
+# we don't want them.
 set noparent
-tedchoc@chromium.org
+
+bauerb@chromium.org
 dtrainor@chromium.org
+tedchoc@chromium.org
+twellington@chromium.org
 yusufo@chromium.org
 
 # COMPONENT: Content>Core
diff --git a/content/public/android/java/src/org/chromium/content/browser/accessibility/WebContentsAccessibilityImpl.java b/content/public/android/java/src/org/chromium/content/browser/accessibility/WebContentsAccessibilityImpl.java
index 387dec1f..7ebe493 100644
--- a/content/public/android/java/src/org/chromium/content/browser/accessibility/WebContentsAccessibilityImpl.java
+++ b/content/public/android/java/src/org/chromium/content/browser/accessibility/WebContentsAccessibilityImpl.java
@@ -432,9 +432,11 @@
                 }
                 return true;
             case AccessibilityNodeInfo.ACTION_CLICK:
+                if (!mView.hasFocus()) mView.requestFocus();
                 nativeClick(mNativeObj, virtualViewId);
                 return true;
             case AccessibilityNodeInfo.ACTION_FOCUS:
+                if (!mView.hasFocus()) mView.requestFocus();
                 nativeFocus(mNativeObj, virtualViewId);
                 return true;
             case AccessibilityNodeInfo.ACTION_CLEAR_FOCUS:
diff --git a/content/public/browser/android/synchronous_compositor.h b/content/public/browser/android/synchronous_compositor.h
index c9f6047..a086271 100644
--- a/content/public/browser/android/synchronous_compositor.h
+++ b/content/public/browser/android/synchronous_compositor.h
@@ -79,12 +79,6 @@
   // |viewport_size| is the current size to improve results during resize.
   // |viewport_rect_for_tile_priority| and |transform_for_tile_priority| are
   // used to customize the tiling decisions of compositor.
-  virtual Frame DemandDrawHw(
-      const gfx::Size& viewport_size,
-      const gfx::Rect& viewport_rect_for_tile_priority,
-      const gfx::Transform& transform_for_tile_priority) = 0;
-
-  // Same as DemandDrawHw, but uses asynchronous IPC messages.
   virtual scoped_refptr<FrameFuture> DemandDrawHwAsync(
       const gfx::Size& viewport_size,
       const gfx::Rect& viewport_rect_for_tile_priority,
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index 75beffa9..ca08f2f34 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -17,7 +17,6 @@
 #include "content/public/browser/visibility.h"
 #include "content/public/common/frame_navigate_params.h"
 #include "content/public/common/resource_type.h"
-#include "content/public/common/subresource_load_info.mojom.h"
 #include "ipc/ipc_listener.h"
 #include "mojo/public/cpp/system/message_pipe.h"
 #include "services/service_manager/public/cpp/bind_source_info.h"
@@ -258,8 +257,11 @@
 
   // This method is invoked when a response has been received for a subresource
   // request.
-  virtual void SubresourceResponseStarted(
-      const mojom::SubresourceLoadInfoPtr& subresource_load_info) {}
+  virtual void SubresourceResponseStarted(const GURL& url,
+                                          const GURL& referrer,
+                                          const std::string& method,
+                                          ResourceType resource_type,
+                                          const std::string& ip) {}
 
   // This method is invoked when a new non-pending navigation entry is created.
   // This corresponds to one NavigationController entry being created
diff --git a/content/public/common/BUILD.gn b/content/public/common/BUILD.gn
index 36b764c..f2f3d55 100644
--- a/content/public/common/BUILD.gn
+++ b/content/public/common/BUILD.gn
@@ -370,7 +370,6 @@
     "fullscreen_video_element.mojom",
     "push_messaging_status.mojom",
     "resource_usage_reporter.mojom",
-    "subresource_load_info.mojom",
     "transferrable_url_loader.mojom",
     "webplugininfo.mojom",
     "window_container_type.mojom",
diff --git a/content/public/common/subresource_load_info.mojom b/content/public/common/subresource_load_info.mojom
deleted file mode 100644
index 4f45ddb9..0000000
--- a/content/public/common/subresource_load_info.mojom
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2018 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module content.mojom;
-
-import "content/public/common/resource_type.mojom";
-import "net/interfaces/ip_address.mojom";
-import "url/mojom/url.mojom";
-
-// Information pertaining to subresource loading.
-// This will be passed to SubresourceResponse callback methods.
-struct SubresourceLoadInfo {
-  // The URL of the response.
-  url.mojom.Url url;
-
-  // The response referrer.
-  url.mojom.Url referrer;
-
-  // The request method used to fetch this response.
-  string method;
-
-  // The resource type.
-  ResourceType resource_type;
-
-  // The host IP.
-  net.interfaces.IPAddress? ip;
-
-  // Bitmask of status info of the SSL certificate.
-  // See net/cert/cert_status_flags.h
-  uint32 cert_status;
-};
diff --git a/content/public/test/test_synchronous_compositor_android.cc b/content/public/test/test_synchronous_compositor_android.cc
index 51b091e..793c2eeb 100644
--- a/content/public/test/test_synchronous_compositor_android.cc
+++ b/content/public/test/test_synchronous_compositor_android.cc
@@ -26,19 +26,14 @@
     client_->DidInitializeCompositor(this, process_id_, routing_id_);
 }
 
-SynchronousCompositor::Frame TestSynchronousCompositor::DemandDrawHw(
-    const gfx::Size& viewport_size,
-    const gfx::Rect& viewport_rect_for_tile_priority,
-    const gfx::Transform& transform_for_tile_priority) {
-  return std::move(hardware_frame_);
-}
-
 scoped_refptr<SynchronousCompositor::FrameFuture>
 TestSynchronousCompositor::DemandDrawHwAsync(
     const gfx::Size& viewport_size,
     const gfx::Rect& viewport_rect_for_tile_priority,
     const gfx::Transform& transform_for_tile_priority) {
-  return nullptr;
+  auto future = base::MakeRefCounted<FrameFuture>();
+  future->SetFrame(std::move(hardware_frame_));
+  return future;
 }
 
 void TestSynchronousCompositor::ReturnResources(
@@ -63,8 +58,9 @@
 void TestSynchronousCompositor::SetHardwareFrame(
     uint32_t layer_tree_frame_sink_id,
     std::unique_ptr<viz::CompositorFrame> frame) {
-  hardware_frame_.layer_tree_frame_sink_id = layer_tree_frame_sink_id;
-  hardware_frame_.frame = std::move(frame);
+  hardware_frame_ = std::make_unique<Frame>();
+  hardware_frame_->layer_tree_frame_sink_id = layer_tree_frame_sink_id;
+  hardware_frame_->frame = std::move(frame);
 }
 
 TestSynchronousCompositor::ReturnedResources::ReturnedResources()
diff --git a/content/public/test/test_synchronous_compositor_android.h b/content/public/test/test_synchronous_compositor_android.h
index cd57123..3dfd21a1 100644
--- a/content/public/test/test_synchronous_compositor_android.h
+++ b/content/public/test/test_synchronous_compositor_android.h
@@ -23,11 +23,6 @@
 
   void SetClient(SynchronousCompositorClient* client);
 
-  // SynchronousCompositor overrides.
-  SynchronousCompositor::Frame DemandDrawHw(
-      const gfx::Size& viewport_size,
-      const gfx::Rect& viewport_rect_for_tile_priority,
-      const gfx::Transform& transform_for_tile_priority) override;
   scoped_refptr<FrameFuture> DemandDrawHwAsync(
       const gfx::Size& viewport_size,
       const gfx::Rect& viewport_rect_for_tile_priority,
@@ -61,7 +56,7 @@
   SynchronousCompositorClient* client_;
   const int process_id_;
   const int routing_id_;
-  SynchronousCompositor::Frame hardware_frame_;
+  std::unique_ptr<Frame> hardware_frame_;
   FrameAckArray frame_ack_array_;
 
   DISALLOW_COPY_AND_ASSIGN(TestSynchronousCompositor);
diff --git a/content/renderer/input/frame_input_handler_impl.cc b/content/renderer/input/frame_input_handler_impl.cc
index 45bba34..a58e0c9 100644
--- a/content/renderer/input/frame_input_handler_impl.cc
+++ b/content/renderer/input/frame_input_handler_impl.cc
@@ -85,7 +85,8 @@
     blink::WebImeTextSpan blink_ime_text_span(
         ConvertUiImeTextSpanTypeToWebType(ime_text_span.type),
         ime_text_span.start_offset, ime_text_span.end_offset,
-        ime_text_span.underline_color, ime_text_span.thick,
+        ime_text_span.underline_color,
+        ConvertUiThicknessToUiImeTextSpanThickness(ime_text_span.thickness),
         ime_text_span.background_color,
         ime_text_span.suggestion_highlight_color, ime_text_span.suggestions);
     ime_text_spans.push_back(blink_ime_text_span);
diff --git a/content/renderer/input/widget_input_handler_impl.cc b/content/renderer/input/widget_input_handler_impl.cc
index 2d0b1d2..0dac1c9 100644
--- a/content/renderer/input/widget_input_handler_impl.cc
+++ b/content/renderer/input/widget_input_handler_impl.cc
@@ -32,7 +32,8 @@
     blink::WebImeTextSpan blink_ime_text_span(
         ConvertUiImeTextSpanTypeToWebType(ime_text_span.type),
         ime_text_span.start_offset, ime_text_span.end_offset,
-        ime_text_span.underline_color, ime_text_span.thick,
+        ime_text_span.underline_color,
+        ConvertUiThicknessToUiImeTextSpanThickness(ime_text_span.thickness),
         ime_text_span.background_color,
         ime_text_span.suggestion_highlight_color, ime_text_span.suggestions);
     ime_text_spans.push_back(blink_ime_text_span);
diff --git a/content/renderer/loader/request_extra_data.h b/content/renderer/loader/request_extra_data.h
index 7310395..d32c610e 100644
--- a/content/renderer/loader/request_extra_data.h
+++ b/content/renderer/loader/request_extra_data.h
@@ -98,6 +98,16 @@
     stream_override_ = std::move(stream_override);
   }
 
+  // NavigationMojoResponse: |continue_navigation| is used to continue a
+  // navigation on the renderer process that has already been started on the
+  // browser process.
+  base::OnceClosure TakeContinueNavigationFunctionOwnerShip() {
+    return std::move(continue_navigation_function_);
+  }
+  void set_continue_navigation_function(base::OnceClosure continue_navigation) {
+    continue_navigation_function_ = std::move(continue_navigation);
+  }
+
   void set_initiated_in_secure_context(bool secure) {
     initiated_in_secure_context_ = secure;
   }
@@ -158,6 +168,9 @@
   blink::WebString custom_user_agent_;
   blink::WebString requested_with_;
   std::unique_ptr<StreamOverrideParameters> stream_override_;
+  // TODO(arthursonzogni): Once NavigationMojoResponse is launched, move most of
+  // the |stream_override_| content as parameters of this function.
+  base::OnceClosure continue_navigation_function_;
   bool initiated_in_secure_context_;
   bool is_for_no_state_prefetch_;
   bool download_to_network_cache_only_;
diff --git a/content/renderer/loader/resource_dispatcher.cc b/content/renderer/loader/resource_dispatcher.cc
index a1fc96fd..31bcbd40 100644
--- a/content/renderer/loader/resource_dispatcher.cc
+++ b/content/renderer/loader/resource_dispatcher.cc
@@ -25,7 +25,6 @@
 #include "content/common/navigation_params.h"
 #include "content/common/throttling_url_loader.h"
 #include "content/public/common/resource_type.h"
-#include "content/public/common/subresource_load_info.mojom.h"
 #include "content/public/renderer/fixed_received_data.h"
 #include "content/public/renderer/request_peer.h"
 #include "content/public/renderer/resource_dispatcher_delegate.h"
@@ -74,15 +73,20 @@
 void NotifySubresourceStarted(
     scoped_refptr<base::SingleThreadTaskRunner> thread_task_runner,
     int render_frame_id,
-    mojom::SubresourceLoadInfoPtr subresource_load_info) {
+    const GURL& url,
+    const GURL& referrer,
+    const std::string& method,
+    ResourceType resource_type,
+    const std::string& ip,
+    uint32_t cert_status) {
   if (!thread_task_runner)
     return;
 
   if (!thread_task_runner->BelongsToCurrentThread()) {
     thread_task_runner->PostTask(
-        FROM_HERE,
-        base::BindOnce(NotifySubresourceStarted, thread_task_runner,
-                       render_frame_id, std::move(subresource_load_info)));
+        FROM_HERE, base::BindOnce(NotifySubresourceStarted, thread_task_runner,
+                                  render_frame_id, url, referrer, method,
+                                  resource_type, ip, cert_status));
     return;
   }
 
@@ -92,7 +96,7 @@
     return;
 
   render_frame->GetFrameHost()->SubresourceResponseStarted(
-      std::move(subresource_load_info));
+      url, referrer, method, resource_type, ip, cert_status);
 }
 
 }  // namespace
@@ -150,22 +154,12 @@
   }
 
   if (!IsResourceTypeFrame(request_info->resource_type)) {
-    mojom::SubresourceLoadInfoPtr subresource_load_info =
-        mojom::SubresourceLoadInfo::New();
-    subresource_load_info->url = request_info->response_url;
-    subresource_load_info->referrer = request_info->response_referrer;
-    subresource_load_info->method = request_info->response_method;
-    subresource_load_info->resource_type = request_info->resource_type;
-    if (!response_head.socket_address.host().empty()) {
-      subresource_load_info->ip = base::make_optional<net::IPAddress>();
-      bool result = subresource_load_info->ip->AssignFromIPLiteral(
-          response_head.socket_address.host());
-      DCHECK(result);
-    }
-    subresource_load_info->cert_status = response_head.cert_status;
-    NotifySubresourceStarted(RenderThreadImpl::DeprecatedGetMainTaskRunner(),
-                             request_info->render_frame_id,
-                             std::move(subresource_load_info));
+    NotifySubresourceStarted(
+        RenderThreadImpl::DeprecatedGetMainTaskRunner(),
+        request_info->render_frame_id, request_info->response_url,
+        request_info->response_referrer, request_info->response_method,
+        request_info->resource_type, response_head.socket_address.host(),
+        response_head.cert_status);
   }
 
   network::ResourceResponseInfo renderer_response_info;
@@ -418,7 +412,8 @@
     std::unique_ptr<RequestPeer> peer,
     scoped_refptr<SharedURLLoaderFactory> url_loader_factory,
     std::vector<std::unique_ptr<URLLoaderThrottle>> throttles,
-    network::mojom::URLLoaderClientEndpointsPtr url_loader_client_endpoints) {
+    network::mojom::URLLoaderClientEndpointsPtr url_loader_client_endpoints,
+    base::OnceClosure* continue_navigation_function) {
   CheckSchemeForReferrerPolicy(*request);
 
   // Compute a unique request_id for this renderer process.
@@ -433,10 +428,10 @@
         std::make_unique<URLLoaderClientImpl>(request_id, this,
                                               loading_task_runner);
 
-    loading_task_runner->PostTask(
-        FROM_HERE, base::BindOnce(&ResourceDispatcher::ContinueForNavigation,
-                                  weak_factory_.GetWeakPtr(), request_id,
-                                  std::move(url_loader_client_endpoints)));
+    DCHECK(continue_navigation_function);
+    *continue_navigation_function = base::BindOnce(
+        &ResourceDispatcher::ContinueForNavigation, weak_factory_.GetWeakPtr(),
+        request_id, std::move(url_loader_client_endpoints));
 
     return request_id;
   }
diff --git a/content/renderer/loader/resource_dispatcher.h b/content/renderer/loader/resource_dispatcher.h
index f90e524..44de7552 100644
--- a/content/renderer/loader/resource_dispatcher.h
+++ b/content/renderer/loader/resource_dispatcher.h
@@ -110,7 +110,8 @@
       std::unique_ptr<RequestPeer> peer,
       scoped_refptr<SharedURLLoaderFactory> url_loader_factory,
       std::vector<std::unique_ptr<URLLoaderThrottle>> throttles,
-      network::mojom::URLLoaderClientEndpointsPtr url_loader_client_endpoints);
+      network::mojom::URLLoaderClientEndpointsPtr url_loader_client_endpoints,
+      base::OnceClosure* continue_navigation_function);
 
   // Removes a request from the |pending_requests_| list, returning true if the
   // request was found and removed.
diff --git a/content/renderer/loader/resource_dispatcher_unittest.cc b/content/renderer/loader/resource_dispatcher_unittest.cc
index 11c57e31..5f1a87e6 100644
--- a/content/renderer/loader/resource_dispatcher_unittest.cc
+++ b/content/renderer/loader/resource_dispatcher_unittest.cc
@@ -120,7 +120,8 @@
         TRAFFIC_ANNOTATION_FOR_TESTS, false, std::move(peer),
         base::MakeRefCounted<WeakWrapperSharedURLLoaderFactory>(this),
         std::vector<std::unique_ptr<URLLoaderThrottle>>(),
-        network::mojom::URLLoaderClientEndpointsPtr());
+        network::mojom::URLLoaderClientEndpointsPtr(),
+        nullptr /* continue_navigation_function */);
     peer_context->request_id = request_id;
     return request_id;
   }
diff --git a/content/renderer/loader/sync_load_context.cc b/content/renderer/loader/sync_load_context.cc
index a7c3959..70c9ead 100644
--- a/content/renderer/loader/sync_load_context.cc
+++ b/content/renderer/loader/sync_load_context.cc
@@ -35,7 +35,8 @@
       std::move(request), routing_id, std::move(loading_task_runner),
       frame_origin, traffic_annotation, true /* is_sync */,
       base::WrapUnique(context), context->url_loader_factory_,
-      std::move(throttles), network::mojom::URLLoaderClientEndpointsPtr());
+      std::move(throttles), network::mojom::URLLoaderClientEndpointsPtr(),
+      nullptr /* continue_for_navigation */);
 }
 
 SyncLoadContext::SyncLoadContext(
diff --git a/content/renderer/loader/url_loader_client_impl_unittest.cc b/content/renderer/loader/url_loader_client_impl_unittest.cc
index 19e20e3..b71a08ed 100644
--- a/content/renderer/loader/url_loader_client_impl_unittest.cc
+++ b/content/renderer/loader/url_loader_client_impl_unittest.cc
@@ -33,7 +33,8 @@
                                           &request_peer_context_),
         base::MakeRefCounted<WeakWrapperSharedURLLoaderFactory>(this),
         std::vector<std::unique_ptr<URLLoaderThrottle>>(),
-        network::mojom::URLLoaderClientEndpointsPtr());
+        network::mojom::URLLoaderClientEndpointsPtr(),
+        nullptr /* continue_navigation_function */);
     request_peer_context_.request_id = request_id_;
 
     base::RunLoop().RunUntilIdle();
diff --git a/content/renderer/loader/url_response_body_consumer_unittest.cc b/content/renderer/loader/url_response_body_consumer_unittest.cc
index 02a73d593..c7a6630f1 100644
--- a/content/renderer/loader/url_response_body_consumer_unittest.cc
+++ b/content/renderer/loader/url_response_body_consumer_unittest.cc
@@ -155,7 +155,8 @@
         std::make_unique<TestRequestPeer>(context, message_loop_.task_runner()),
         base::MakeRefCounted<WeakWrapperSharedURLLoaderFactory>(&factory_),
         std::vector<std::unique_ptr<URLLoaderThrottle>>(),
-        network::mojom::URLLoaderClientEndpointsPtr());
+        network::mojom::URLLoaderClientEndpointsPtr(),
+        nullptr /* continue_navigation_function */);
   }
 
   void Run(TestRequestPeer::Context* context) {
diff --git a/content/renderer/loader/web_url_loader_impl.cc b/content/renderer/loader/web_url_loader_impl.cc
index 250b5f2..718af1e 100644
--- a/content/renderer/loader/web_url_loader_impl.cc
+++ b/content/renderer/loader/web_url_loader_impl.cc
@@ -757,12 +757,15 @@
 
   TRACE_EVENT_WITH_FLOW0("loading", "WebURLLoaderImpl::Context::Start", this,
                          TRACE_EVENT_FLAG_FLOW_OUT);
+  base::OnceClosure continue_navigation_function;
   request_id_ = resource_dispatcher_->StartAsync(
       std::move(resource_request), request.RequestorID(), task_runner_,
       extra_data->frame_origin(), GetTrafficAnnotationTag(request),
       false /* is_sync */, std::move(peer), url_loader_factory_,
       extra_data->TakeURLLoaderThrottles(),
-      std::move(url_loader_client_endpoints));
+      std::move(url_loader_client_endpoints), &continue_navigation_function);
+  extra_data->set_continue_navigation_function(
+      std::move(continue_navigation_function));
 
   if (defers_loading_ != NOT_DEFERRING)
     resource_dispatcher_->SetDefersLoading(request_id_, true);
diff --git a/content/renderer/loader/web_url_loader_impl_unittest.cc b/content/renderer/loader/web_url_loader_impl_unittest.cc
index 17e7af6..350aea17 100644
--- a/content/renderer/loader/web_url_loader_impl_unittest.cc
+++ b/content/renderer/loader/web_url_loader_impl_unittest.cc
@@ -91,8 +91,8 @@
       std::unique_ptr<RequestPeer> peer,
       scoped_refptr<SharedURLLoaderFactory> url_loader_factory,
       std::vector<std::unique_ptr<URLLoaderThrottle>> throttles,
-      network::mojom::URLLoaderClientEndpointsPtr url_loader_client_endpoints)
-      override {
+      network::mojom::URLLoaderClientEndpointsPtr url_loader_client_endpoints,
+      base::OnceClosure* continue_navigation_function) override {
     EXPECT_FALSE(peer_);
     if (sync_load_response_.encoded_body_length != -1)
       EXPECT_TRUE(is_sync);
diff --git a/content/renderer/media/webrtc/rtc_peer_connection_handler.cc b/content/renderer/media/webrtc/rtc_peer_connection_handler.cc
index fd71ccd..a9bc65e 100644
--- a/content/renderer/media/webrtc/rtc_peer_connection_handler.cc
+++ b/content/renderer/media/webrtc/rtc_peer_connection_handler.cc
@@ -844,6 +844,12 @@
             static_cast<webrtc::SdpSemanticNegotiated>(counter),
             webrtc::kSdpSemanticNegotiatedMax);
         break;
+      case webrtc::kEnumCounterKeyProtocolMediaType:
+        UMA_HISTOGRAM_ENUMERATION(
+            "WebRTC.PeerConnection.KeyProtocolByMedia",
+            static_cast<webrtc::KeyExchangeProtocolMedia>(counter),
+            webrtc::kEnumCounterKeyProtocolMediaTypeMax);
+        break;
       default:
         // The default clause is expected to be reached when new enum types are
         // added.
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc
index c78f6a11..268a0c6 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
@@ -1025,7 +1025,8 @@
 
   // Set the composition target.
   for (size_t i = 0; i < ime_text_spans.size(); ++i) {
-    if (ime_text_spans[i].thick) {
+    if (ime_text_spans[i].thickness ==
+        ui::mojom::ImeTextSpanThickness::kThick) {
       std::vector<uint32_t>::iterator it =
           std::find(event.composition_segment_offsets.begin(),
                     event.composition_segment_offsets.end(),
@@ -2351,7 +2352,7 @@
     ime_text_span.start_offset = offsets[i];
     ime_text_span.end_offset = offsets[i + 1];
     if (input_event.composition_target_segment == static_cast<int32_t>(i - 2))
-      ime_text_span.thick = true;
+      ime_text_span.thickness = ui::mojom::ImeTextSpanThickness::kThick;
     ime_text_spans.push_back(ime_text_span);
   }
 
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 7c53fcb7..d4dbc776 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -3156,6 +3156,7 @@
         &item_for_history_navigation, &load_type);
   }
 
+  base::OnceClosure continue_navigation;
   if (commit_status == blink::mojom::CommitResult::Ok) {
     base::WeakPtr<RenderFrameImpl> weak_this = weak_factory_.GetWeakPtr();
     // Check if the navigation being committed originated as a client redirect.
@@ -3181,13 +3182,17 @@
       frame_->Load(request, load_type, item_for_history_navigation,
                    blink::kWebHistoryDifferentDocumentLoad, is_client_redirect,
                    devtools_navigation_token);
-
       // The load of the URL can result in this frame being removed. Use a
       // WeakPtr as an easy way to detect whether this has occured. If so, this
       // method should return immediately and not touch any part of the object,
       // otherwise it will result in a use-after-free bug.
       if (!weak_this)
         return;
+
+      RequestExtraData* extra_data =
+          static_cast<RequestExtraData*>(request.GetExtraData());
+      continue_navigation =
+          extra_data->TakeContinueNavigationFunctionOwnerShip();
     }
   } else {
     // The browser expects the frame to be loading this navigation. Inform it
@@ -3203,6 +3208,15 @@
   frame_->GetDocumentLoader()->ResetSourceLocation();
   if (frame_->GetProvisionalDocumentLoader())
     frame_->GetProvisionalDocumentLoader()->ResetSourceLocation();
+
+  // Continue the navigation.
+  // TODO(arthursonzogni): Pass the data needed to continue the navigation to
+  // this function instead of storing it in the StreamOverrideParameters.
+  // The architecture of committing the navigation in the renderer process
+  // should be simplified and avoid going through the ResourceFetcher for the
+  // main resource.
+  if (continue_navigation)
+    std::move(continue_navigation).Run();
 }
 
 void RenderFrameImpl::CommitFailedNavigation(
diff --git a/content/renderer/service_worker/service_worker_context_client_unittest.cc b/content/renderer/service_worker/service_worker_context_client_unittest.cc
index f7ba94f3..bd0b49f 100644
--- a/content/renderer/service_worker/service_worker_context_client_unittest.cc
+++ b/content/renderer/service_worker/service_worker_context_client_unittest.cc
@@ -343,7 +343,7 @@
   bool is_idle = false;
   auto timer = std::make_unique<ServiceWorkerTimeoutTimer>(
       CreateCallbackWithCalledFlag(&is_idle),
-      task_runner()->GetMockTickClock());
+      task_runner()->DeprecatedGetMockTickClock());
   context_client->SetTimeoutTimerForTesting(std::move(timer));
 
   // The dispatched fetch event should be recorded by |mock_proxy|.
@@ -382,7 +382,7 @@
   bool is_idle = false;
   auto timer = std::make_unique<ServiceWorkerTimeoutTimer>(
       CreateCallbackWithCalledFlag(&is_idle),
-      task_runner()->GetMockTickClock());
+      task_runner()->DeprecatedGetMockTickClock());
   context_client->SetTimeoutTimerForTesting(std::move(timer));
 
   // Ensure the idle state.
@@ -430,7 +430,7 @@
   bool is_idle = false;
   auto timer = std::make_unique<ServiceWorkerTimeoutTimer>(
       CreateCallbackWithCalledFlag(&is_idle),
-      task_runner()->GetMockTickClock());
+      task_runner()->DeprecatedGetMockTickClock());
   context_client->SetTimeoutTimerForTesting(std::move(timer));
 
   // Ensure the idle state.
diff --git a/content/renderer/service_worker/service_worker_timeout_timer_unittest.cc b/content/renderer/service_worker/service_worker_timeout_timer_unittest.cc
index c1c1946..2ffd8422 100644
--- a/content/renderer/service_worker/service_worker_timeout_timer_unittest.cc
+++ b/content/renderer/service_worker/service_worker_timeout_timer_unittest.cc
@@ -83,7 +83,7 @@
 
   bool is_idle = false;
   ServiceWorkerTimeoutTimer timer(CreateReceiverWithCalledFlag(&is_idle),
-                                  task_runner()->GetMockTickClock());
+                                  task_runner()->DeprecatedGetMockTickClock());
   task_runner()->FastForwardBy(kIdleInterval);
   // |idle_callback| should be fired since there is no event.
   EXPECT_TRUE(is_idle);
@@ -114,7 +114,7 @@
   EnableServicification();
 
   ServiceWorkerTimeoutTimer timer(base::DoNothing(),
-                                  task_runner()->GetMockTickClock());
+                                  task_runner()->DeprecatedGetMockTickClock());
   MockEvent event1, event2;
 
   int event_id1 = timer.StartEvent(event1.CreateAbortCallback());
@@ -138,7 +138,7 @@
   EnableServicification();
 
   ServiceWorkerTimeoutTimer timer(base::DoNothing(),
-                                  task_runner()->GetMockTickClock());
+                                  task_runner()->DeprecatedGetMockTickClock());
   MockEvent event1, event2;
   int event_id1 = timer.StartEventWithCustomTimeout(
       event1.CreateAbortCallback(), ServiceWorkerTimeoutTimer::kUpdateInterval -
@@ -166,7 +166,7 @@
 
   bool is_idle = false;
   ServiceWorkerTimeoutTimer timer(CreateReceiverWithCalledFlag(&is_idle),
-                                  task_runner()->GetMockTickClock());
+                                  task_runner()->DeprecatedGetMockTickClock());
 
   MockEvent event;
   int event_id = timer.StartEvent(event.CreateAbortCallback());
@@ -186,8 +186,8 @@
 
   MockEvent event1, event2;
   {
-    ServiceWorkerTimeoutTimer timer(base::DoNothing(),
-                                    task_runner()->GetMockTickClock());
+    ServiceWorkerTimeoutTimer timer(
+        base::DoNothing(), task_runner()->DeprecatedGetMockTickClock());
 
     int event_id1 = timer.StartEvent(event1.CreateAbortCallback());
     int event_id2 = timer.StartEvent(event2.CreateAbortCallback());
@@ -207,7 +207,7 @@
 TEST_F(ServiceWorkerTimeoutTimerTest, PushPendingTask) {
   EnableServicification();
   ServiceWorkerTimeoutTimer timer(base::DoNothing(),
-                                  task_runner()->GetMockTickClock());
+                                  task_runner()->DeprecatedGetMockTickClock());
   task_runner()->FastForwardBy(ServiceWorkerTimeoutTimer::kIdleDelay +
                                ServiceWorkerTimeoutTimer::kUpdateInterval +
                                base::TimeDelta::FromSeconds(1));
@@ -228,8 +228,9 @@
   EnableServicification();
   {
     bool is_idle = false;
-    ServiceWorkerTimeoutTimer timer(CreateReceiverWithCalledFlag(&is_idle),
-                                    task_runner()->GetMockTickClock());
+    ServiceWorkerTimeoutTimer timer(
+        CreateReceiverWithCalledFlag(&is_idle),
+        task_runner()->DeprecatedGetMockTickClock());
     EXPECT_FALSE(is_idle);
 
     timer.SetIdleTimerDelayToZero();
@@ -239,8 +240,9 @@
 
   {
     bool is_idle = false;
-    ServiceWorkerTimeoutTimer timer(CreateReceiverWithCalledFlag(&is_idle),
-                                    task_runner()->GetMockTickClock());
+    ServiceWorkerTimeoutTimer timer(
+        CreateReceiverWithCalledFlag(&is_idle),
+        task_runner()->DeprecatedGetMockTickClock());
     int event_id = timer.StartEvent(base::BindRepeating([](int) {}));
     timer.SetIdleTimerDelayToZero();
     // Nothing happens since there is an inflight event.
@@ -253,8 +255,9 @@
 
   {
     bool is_idle = false;
-    ServiceWorkerTimeoutTimer timer(CreateReceiverWithCalledFlag(&is_idle),
-                                    task_runner()->GetMockTickClock());
+    ServiceWorkerTimeoutTimer timer(
+        CreateReceiverWithCalledFlag(&is_idle),
+        task_runner()->DeprecatedGetMockTickClock());
     int event_id_1 = timer.StartEvent(base::BindRepeating([](int) {}));
     int event_id_2 = timer.StartEvent(base::BindRepeating([](int) {}));
     timer.SetIdleTimerDelayToZero();
@@ -281,7 +284,7 @@
     ServiceWorkerTimeoutTimer timer(
         base::BindRepeating([](bool* out_is_idle) { *out_is_idle = true; },
                             &is_idle),
-        task_runner()->GetMockTickClock());
+        task_runner()->DeprecatedGetMockTickClock());
 
     int event_id = timer.StartEvent(event.CreateAbortCallback());
     event.set_event_id(event_id);
diff --git a/content/shell/test_runner/text_input_controller.cc b/content/shell/test_runner/text_input_controller.cc
index 3a3f655d..3193a76 100644
--- a/content/shell/test_runner/text_input_controller.cc
+++ b/content/shell/test_runner/text_input_controller.cc
@@ -272,12 +272,12 @@
     ime_text_span.start_offset = start;
     ime_text_span.end_offset = start + length;
   }
-  ime_text_span.thick = true;
+  ime_text_span.thickness = ui::mojom::ImeTextSpanThickness::kThick;
   ime_text_spans.push_back(ime_text_span);
   if (start + length < static_cast<int>(web_text.length())) {
     ime_text_span.start_offset = ime_text_span.end_offset;
     ime_text_span.end_offset = web_text.length();
-    ime_text_span.thick = false;
+    ime_text_span.thickness = ui::mojom::ImeTextSpanThickness::kThin;
     ime_text_spans.push_back(ime_text_span);
   }
 
@@ -383,7 +383,7 @@
   std::vector<blink::WebImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(blink::WebImeTextSpan(
       blink::WebImeTextSpan::Type::kComposition, 0, textLength, SK_ColorBLACK,
-      false, SK_ColorTRANSPARENT));
+      ui::mojom::ImeTextSpanThickness::kThin, SK_ColorTRANSPARENT));
   if (auto* controller = GetInputMethodController()) {
     controller->SetComposition(
         newText, blink::WebVector<blink::WebImeTextSpan>(ime_text_spans),
diff --git a/content/test/gpu/generate_buildbot_json.py b/content/test/gpu/generate_buildbot_json.py
index 62761d3..d94bacb 100755
--- a/content/test/gpu/generate_buildbot_json.py
+++ b/content/test/gpu/generate_buildbot_json.py
@@ -1258,47 +1258,45 @@
     ],
   },
 
-  # Temporarily disabled while we roll Vulkan.
-  # TODO(jmadill): Re-enable after roll. http://anglebug.com/2393
-  # 'angle_deqp_gles2_vulkan_tests': {
-  #   'tester_configs': [
-  #     {
-  #       'predicate': Predicates.DEQP,
-  #       'swarming_dimension_sets': [
-  #         # NVIDIA Win 10
-  #         {
-  #           'gpu': NVIDIA_QUADRO_P400_ALL_DRIVERS,
-  #           'os': WIN10_NVIDIA_QUADRO_P400_STABLE_OS,
-  #         },
-  #         # AMD Win 7
-  #         {
-  #           'gpu': '1002:6613',
-  #           'os': 'Windows-2008ServerR2-SP1'
-  #         },
-  #         # NVIDIA Linux Quadro P400
-  #         {
-  #           'gpu': LINUX_QUADRO_P400_STABLE_DRIVER,
-  #           'os': 'Ubuntu'
-  #         },
-  #       ],
-  #     },
-  #   ],
-  #   'disabled_tester_configs': [
-  #     {
-  #       'names': [
-  #         'Linux FYI Ozone (Intel)',
-  #       ],
-  #     },
-  #   ],
-  #   'desktop_swarming': {
-  #     'shards': 4,
-  #   },
-  #   'test': 'angle_deqp_gles2_tests',
-  #   'args': [
-  #     '--test-launcher-batch-limit=400',
-  #     '--deqp-egl-display-type=angle-vulkan'
-  #   ]
-  # },
+  'angle_deqp_gles2_vulkan_tests': {
+    'tester_configs': [
+      {
+        'predicate': Predicates.DEQP,
+        'swarming_dimension_sets': [
+          # NVIDIA Win 10
+          {
+            'gpu': NVIDIA_QUADRO_P400_ALL_DRIVERS,
+            'os': WIN10_NVIDIA_QUADRO_P400_STABLE_OS,
+          },
+          # AMD Win 7
+          {
+            'gpu': '1002:6613',
+            'os': 'Windows-2008ServerR2-SP1'
+          },
+          # NVIDIA Linux Quadro P400
+          {
+            'gpu': LINUX_QUADRO_P400_STABLE_DRIVER,
+            'os': 'Ubuntu'
+          },
+        ],
+      },
+    ],
+    'disabled_tester_configs': [
+      {
+        'names': [
+          'Linux FYI Ozone (Intel)',
+        ],
+      },
+    ],
+    'desktop_swarming': {
+      'shards': 4,
+    },
+    'test': 'angle_deqp_gles2_tests',
+    'args': [
+      '--test-launcher-batch-limit=400',
+      '--deqp-egl-display-type=angle-vulkan'
+    ]
+  },
 
   'angle_deqp_gles3_gles_tests': {
     'tester_configs': [
diff --git a/content/test/gpu/gpu_tests/color_profile_manager.py b/content/test/gpu/gpu_tests/color_profile_manager.py
index 27883bd..abdc7b2 100644
--- a/content/test/gpu/gpu_tests/color_profile_manager.py
+++ b/content/test/gpu/gpu_tests/color_profile_manager.py
@@ -2,16 +2,34 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import os
-import subprocess
+import atexit
 import sys
 
-IMPL_PY = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(
-  __file__))), 'utilities', 'color_profile_manager_impl.py')
-
+has_forced_srgb = False
+# Force all displays to use an sRGB color profile. By default, restore
+# them at exit.
 def ForceUntilExitSRGB(skip_restoring_color_profile=False):
+  global has_forced_srgb
   if not sys.platform.startswith('darwin'):
     return
-  # The Mac-specific Python packages used by the other scripts are only
-  # available via the system-installed Python.
-  subprocess.call(['/usr/bin/python', IMPL_PY])
+  if has_forced_srgb:
+    return
+  has_forced_srgb = True
+
+  from gpu_tests import color_profile_manager_mac
+  # Record the current color profiles.
+  display_profile_url_map = \
+      color_profile_manager_mac.GetDisplaysToProfileURLMap()
+  # Force to sRGB.
+  for display_id in display_profile_url_map:
+    color_profile_manager_mac.SetDisplayCustomProfile(
+        display_id, color_profile_manager_mac.GetSRGBProfileURL())
+  # Register an atexit handler to restore the previous color profiles.
+  def Restore():
+    if skip_restoring_color_profile:
+      print "Skipping restoring the original color profile"
+      return
+    for display_id in display_profile_url_map:
+      color_profile_manager_mac.SetDisplayCustomProfile(
+          display_id, display_profile_url_map[display_id])
+  atexit.register(Restore)
diff --git a/content/test/gpu/utilities/color_profile_manager_mac.py b/content/test/gpu/gpu_tests/color_profile_manager_mac.py
similarity index 100%
rename from content/test/gpu/utilities/color_profile_manager_mac.py
rename to content/test/gpu/gpu_tests/color_profile_manager_mac.py
diff --git a/content/test/gpu/gpu_tests/pixel_test_pages.py b/content/test/gpu/gpu_tests/pixel_test_pages.py
index 2a337382f..f2b56ee 100644
--- a/content/test/gpu/gpu_tests/pixel_test_pages.py
+++ b/content/test/gpu/gpu_tests/pixel_test_pages.py
@@ -444,42 +444,42 @@
       'pixel_offscreenCanvas_2d_commit_main.html',
       base_name + '_OffscreenCanvasAccelerated2D',
       test_rect=[0, 0, 360, 200],
-      revision=8,
+      revision=9,
       browser_args=browser_args),
 
     PixelTestPage(
       'pixel_offscreenCanvas_2d_commit_worker.html',
       base_name + '_OffscreenCanvasAccelerated2DWorker',
       test_rect=[0, 0, 360, 200],
-      revision=8,
+      revision=9,
       browser_args=browser_args),
 
     PixelTestPage(
       'pixel_offscreenCanvas_2d_commit_main.html',
       base_name + '_OffscreenCanvasUnaccelerated2D',
       test_rect=[0, 0, 360, 200],
-      revision=6,
+      revision=7,
       browser_args=browser_args + unaccelerated_args),
 
     PixelTestPage(
       'pixel_offscreenCanvas_2d_commit_worker.html',
       base_name + '_OffscreenCanvasUnaccelerated2DWorker',
       test_rect=[0, 0, 360, 200],
-      revision=6,
+      revision=7,
       browser_args=browser_args + unaccelerated_args),
 
     PixelTestPage(
       'pixel_offscreenCanvas_2d_commit_main.html',
       base_name + '_OffscreenCanvasUnaccelerated2DGPUCompositing',
       test_rect=[0, 0, 360, 200],
-      revision=9,
+      revision=10,
       browser_args=browser_args + ['--disable-accelerated-2d-canvas']),
 
     PixelTestPage(
       'pixel_offscreenCanvas_2d_commit_worker.html',
       base_name + '_OffscreenCanvasUnaccelerated2DGPUCompositingWorker',
       test_rect=[0, 0, 360, 200],
-      revision=9,
+      revision=10,
       browser_args=browser_args + ['--disable-accelerated-2d-canvas']),
 
     PixelTestPage(
diff --git a/content/test/gpu/utilities/color_profile_manager_impl.py b/content/test/gpu/utilities/color_profile_manager_impl.py
deleted file mode 100644
index fafe52ad..0000000
--- a/content/test/gpu/utilities/color_profile_manager_impl.py
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 2017 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import atexit
-import sys
-
-has_forced_srgb = False
-# Force all displays to use an sRGB color profile. By default, restore
-# them at exit.
-def ForceUntilExitSRGB(skip_restoring_color_profile=False):
-  global has_forced_srgb
-  if not sys.platform.startswith('darwin'):
-    return
-  if has_forced_srgb:
-    return
-  has_forced_srgb = True
-
-  import color_profile_manager_mac
-  # Record the current color profiles.
-  display_profile_url_map = \
-      color_profile_manager_mac.GetDisplaysToProfileURLMap()
-  # Force to sRGB.
-  for display_id in display_profile_url_map:
-    color_profile_manager_mac.SetDisplayCustomProfile(
-        display_id, color_profile_manager_mac.GetSRGBProfileURL())
-  # Register an atexit handler to restore the previous color profiles.
-  def Restore():
-    if skip_restoring_color_profile:
-      print "Skipping restoring the original color profile"
-      return
-    for display_id in display_profile_url_map:
-      color_profile_manager_mac.SetDisplayCustomProfile(
-          display_id, display_profile_url_map[display_id])
-  atexit.register(Restore)
-
-# If invoked as a top-level script, assume that we want to run
-# ForceUntilExitSRGB with skip_restoring_color_profile=True (which is
-# what all the tests in this directory want).
-def main():
-  ForceUntilExitSRGB(skip_restoring_color_profile=True)
-
-if __name__ == '__main__':
-  sys.exit(main())
diff --git a/content/test/test_render_frame.cc b/content/test/test_render_frame.cc
index a09d1ea..9c432bf 100644
--- a/content/test/test_render_frame.cc
+++ b/content/test/test_render_frame.cc
@@ -84,8 +84,12 @@
   void BeginNavigation(const CommonNavigationParams& common_params,
                        mojom::BeginNavigationParamsPtr begin_params) override {}
 
-  void SubresourceResponseStarted(
-      mojom::SubresourceLoadInfoPtr subresource_load_info) override {}
+  void SubresourceResponseStarted(const GURL& url,
+                                  const GURL& referrer,
+                                  const std::string& method,
+                                  ResourceType resource_type,
+                                  const std::string& ip,
+                                  uint32_t cert_status) override {}
 
   void DidChangeName(const std::string& name,
                      const std::string& unique_name) override {}
diff --git a/courgette/adjustment_method_unittest.cc b/courgette/adjustment_method_unittest.cc
index 540877a..cefd510 100644
--- a/courgette/adjustment_method_unittest.cc
+++ b/courgette/adjustment_method_unittest.cc
@@ -54,7 +54,7 @@
     Label* labelA = prog->FindAbs32Label(kRvaA);
     Label* labelB = prog->FindAbs32Label(kRvaB);
 
-    InstructionGenerator gen = base::Bind(
+    InstructionGenerator gen = base::BindRepeating(
         [](Label* labelA, Label* labelB,
            InstructionReceptor* receptor) -> CheckBool {
           EXPECT_TRUE(receptor->EmitAbs32(labelA));
diff --git a/courgette/disassembler_elf_32.cc b/courgette/disassembler_elf_32.cc
index 14f0383..fac661c7 100644
--- a/courgette/disassembler_elf_32.cc
+++ b/courgette/disassembler_elf_32.cc
@@ -391,8 +391,8 @@
 
 InstructionGenerator DisassemblerElf32::GetInstructionGenerator(
     AssemblyProgram* program) {
-  return base::Bind(&DisassemblerElf32::ParseFile, base::Unretained(this),
-                    program);
+  return base::BindRepeating(&DisassemblerElf32::ParseFile,
+                             base::Unretained(this), program);
 }
 
 CheckBool DisassemblerElf32::ParseFile(AssemblyProgram* program,
diff --git a/courgette/disassembler_win32.cc b/courgette/disassembler_win32.cc
index ec36485..772f0701 100644
--- a/courgette/disassembler_win32.cc
+++ b/courgette/disassembler_win32.cc
@@ -421,8 +421,8 @@
 
 InstructionGenerator DisassemblerWin32::GetInstructionGenerator(
     AssemblyProgram* program) {
-  return base::Bind(&DisassemblerWin32::ParseFile, base::Unretained(this),
-                    program);
+  return base::BindRepeating(&DisassemblerWin32::ParseFile,
+                             base::Unretained(this), program);
 }
 
 CheckBool DisassemblerWin32::ParseFile(AssemblyProgram* program,
diff --git a/courgette/instruction_utils.h b/courgette/instruction_utils.h
index df12aa6..32287a9 100644
--- a/courgette/instruction_utils.h
+++ b/courgette/instruction_utils.h
@@ -59,7 +59,8 @@
 
 // A rerunable callback that emit instructions to a provided receptor. Returns
 // true on success, and false otherwise.
-using InstructionGenerator = base::Callback<CheckBool(InstructionReceptor*)>;
+using InstructionGenerator =
+    base::RepeatingCallback<CheckBool(InstructionReceptor*)>;
 
 // A counter that increments via .push_back(), so it can be passed via template
 // to substitute std::vector<T>, to count elements instead of storing them.
diff --git a/docs/servicification.md b/docs/servicification.md
index 5e985492..e57b35f3 100644
--- a/docs/servicification.md
+++ b/docs/servicification.md
@@ -73,11 +73,8 @@
 - If you are looking to convert all or part of a component (i.e., a feature in
   //components) into a service, the question arises of whether your new service
   is worthy of being in //services (i.e., is it a foundational service?). If
-  not, then it can be placed in an appropriate subdirectory of the component
-  itself. See this [email
-  thread](https://groups.google.com/a/chromium.org/forum/#!topic/services-dev/3AJx3gjHbZE) and its [resulting CL](https://codereview.chromium.org/2832633002)
-  for discussion of this point, and if in doubt, start a similar email thread
-  discussing your feature.
+  not, then it can be placed in //components/services. See this
+  [document](https://docs.google.com/document/d/1Zati5ZohwjUM0vz5qj6sWg5r-_I0iisUoSoAMNdd7C8/edit#) for discussion of this point.
 
 ### If your service is embedded in the browser process, what is its threading model?
 
diff --git a/docs/speed/perf_bot_sheriffing.md b/docs/speed/perf_bot_sheriffing.md
index 303f5fc..ef703ed 100644
--- a/docs/speed/perf_bot_sheriffing.md
+++ b/docs/speed/perf_bot_sheriffing.md
@@ -351,9 +351,11 @@
 
 A list of supported conditions can be found [here](https://cs.chromium.org/chromium/src/third_party/catapult/telemetry/telemetry/story/expectations.py).
 
-Multiple conditions when listed in a single expectation are treated as logical
-_AND_ so a platform must meet all conditions to be disabled. Each failing
-platform requires its own expectations entry.
+When multiple conditions are listed in a single expectation they are treated
+as a logical _AND_, so the platform must meet _all_ conditions to be disabled.
+
+If you need to disable a single story on multiple different platforms, you must
+list each platform separately on its own line as a separate entry.
 
 To determine which stories are failing in a given run, go to the buildbot page
 for that run and search for `Unexpected failures` in the failing test entry.
diff --git a/infra/config/global/luci-scheduler.cfg b/infra/config/global/luci-scheduler.cfg
index b5ee430..20dbe4c 100644
--- a/infra/config/global/luci-scheduler.cfg
+++ b/infra/config/global/luci-scheduler.cfg
@@ -30,6 +30,10 @@
     granted_to: "chromium-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
   }
   acls {
+    role: TRIGGERER
+    granted_to: "chromium-ci-gpu-builder@chops-service-accounts.iam.gserviceaccount.com"
+  }
+  acls {
     role: OWNER
     granted_to: "group:project-chromium-committers"
   }
@@ -58,7 +62,7 @@
   triggers: "GPU FYI Linux Ozone Builder"
   triggers: "GPU Linux Builder"
   triggers: "linux-blink-heap-incremental-marking"
-  triggers: "linux-blink-heap-verificaton"
+  triggers: "linux-blink-heap-verification"
   triggers: "Linux Builder (dbg)"
   triggers: "Linux Builder"
   triggers: "Linux FYI GPU TSAN Release"
@@ -228,6 +232,22 @@
 }
 
 job {
+  id: "Optional Linux Release (Intel HD 630)"
+  # Triggered by "GPU FYI Linux Builder".
+  acl_sets: "triggered-by-parent-builders"
+  # This bot doesn't actually exist, so it's noop'ed out. crbug.com/819899
+  noop: {}
+}
+
+job {
+  id: "Optional Linux Release (NVIDIA)"
+  # Triggered by "GPU FYI Linux Builder".
+  acl_sets: "triggered-by-parent-builders"
+  # This bot doesn't actually exist, so it's noop'ed out. crbug.com/819899
+  noop: {}
+}
+
+job {
   id: "GPU FYI Linux Builder (dbg)"
   acl_sets: "default"
   buildbucket: {
@@ -398,17 +418,6 @@
 }
 
 job {
-  id: "Mac FYI Experimental Release (AMD)"
-  # Triggered by "GPU FYI Mac Builder".
-  acl_sets: "triggered-by-parent-builders"
-  buildbucket: {
-    server: "cr-buildbucket.appspot.com"
-    bucket: "luci.chromium.ci"
-    builder: "Mac FYI Experimental Release (AMD)"
-  }
-}
-
-job {
   id: "Mac FYI Experimental Release (Intel)"
   # Triggered by "GPU FYI Mac Builder".
   acl_sets: "triggered-by-parent-builders"
@@ -420,13 +429,24 @@
 }
 
 job {
-  id: "Mac FYI Experimental Release (NVIDIA)"
+  id: "Mac FYI Experimental Retina Release (AMD)"
   # Triggered by "GPU FYI Mac Builder".
   acl_sets: "triggered-by-parent-builders"
   buildbucket: {
     server: "cr-buildbucket.appspot.com"
     bucket: "luci.chromium.ci"
-    builder: "Mac FYI Experimental Release (NVIDIA)"
+    builder: "Mac FYI Experimental Retina Release (AMD)"
+  }
+}
+
+job {
+  id: "Mac FYI Experimental Retina Release (NVIDIA)"
+  # Triggered by "GPU FYI Mac Builder".
+  acl_sets: "triggered-by-parent-builders"
+  buildbucket: {
+    server: "cr-buildbucket.appspot.com"
+    bucket: "luci.chromium.ci"
+    builder: "Mac FYI Experimental Retina Release (NVIDIA)"
   }
 }
 
@@ -475,6 +495,30 @@
 }
 
 job {
+  id: "Optional Mac Release (Intel)"
+  # Triggered by "GPU FYI Mac Builder".
+  acl_sets: "triggered-by-parent-builders"
+  # This bot doesn't actually exist, so it's noop'ed out. crbug.com/819899
+  noop: {}
+}
+
+job {
+  id: "Optional Mac Retina Release (NVIDIA)"
+  # Triggered by "GPU FYI Mac Builder".
+  acl_sets: "triggered-by-parent-builders"
+  # This bot doesn't actually exist, so it's noop'ed out. crbug.com/819899
+  noop: {}
+}
+
+job {
+  id: "Optional Mac Retina Release (AMD)"
+  # Triggered by "GPU FYI Mac Builder".
+  acl_sets: "triggered-by-parent-builders"
+  # This bot doesn't actually exist, so it's noop'ed out. crbug.com/819899
+  noop: {}
+}
+
+job {
   id: "GPU FYI Mac Builder (dbg)"
   acl_sets: "default"
   buildbucket: {
diff --git a/ios/chrome/app/main_controller.mm b/ios/chrome/app/main_controller.mm
index 846d209..5502a6f 100644
--- a/ios/chrome/app/main_controller.mm
+++ b/ios/chrome/app/main_controller.mm
@@ -1118,7 +1118,6 @@
                           ios::GetChromeBrowserProvider()
                               ->GetChromeIdentityService();
                       provider->PrepareMailtoHandling(
-                          identityService,
                           ^ChromeIdentity* {
                             // TODO:(crbug.com/810904) Replace with currently
                             // signed-in user.
diff --git a/ios/chrome/browser/autofill/autofill_controller.h b/ios/chrome/browser/autofill/autofill_controller.h
index 0b25ed8e..d69dc441 100644
--- a/ios/chrome/browser/autofill/autofill_controller.h
+++ b/ios/chrome/browser/autofill/autofill_controller.h
@@ -7,13 +7,11 @@
 #import <UIKit/UIKit.h>
 #include <vector>
 
+#include "components/autofill/core/common/form_data_predictions.h"
+
 @class AutofillAgent;
 @protocol FormSuggestionProvider;
 
-namespace autofill {
-class FormStructure;
-}
-
 namespace ios {
 class ChromeBrowserState;
 }
@@ -61,7 +59,7 @@
 // Sends the field type predictions specified in |forms| to the renderer. This
 // method is a no-op if the appropriate experiment is not set.
 - (void)sendAutofillTypePredictionsToRenderer:
-    (const std::vector<autofill::FormStructure*>&)forms;
+    (const std::vector<autofill::FormDataPredictions>&)forms;
 
 // Sets a weak reference to the view controller used to present UI.
 - (void)setBaseViewController:(UIViewController*)baseViewController;
diff --git a/ios/chrome/browser/autofill/autofill_controller.mm b/ios/chrome/browser/autofill/autofill_controller.mm
index d99c5720..f7fffeb 100644
--- a/ios/chrome/browser/autofill/autofill_controller.mm
+++ b/ios/chrome/browser/autofill/autofill_controller.mm
@@ -179,7 +179,7 @@
 }
 
 - (void)sendAutofillTypePredictionsToRenderer:
-    (const std::vector<autofill::FormStructure*>&)forms {
+    (const std::vector<autofill::FormDataPredictions>&)forms {
   [_autofillAgent renderAutofillTypePredictions:forms];
 }
 
diff --git a/ios/chrome/browser/providers/images/chromium_branded_image_provider.h b/ios/chrome/browser/providers/images/chromium_branded_image_provider.h
index e02dbd3..6f25ca9f 100644
--- a/ios/chrome/browser/providers/images/chromium_branded_image_provider.h
+++ b/ios/chrome/browser/providers/images/chromium_branded_image_provider.h
@@ -19,6 +19,7 @@
   UIImage* GetSigninConfirmationSyncSettingsImage() override;
   UIImage* GetSigninConfirmationPersonalizeServicesImage() override;
   bool GetToolbarVoiceSearchButtonImageId(int* image_id) override;
+  NSArray<UIImage*>* GetToolbarVoiceSearchButtonImages(bool incognito) override;
   UIImage* GetWhatsNewIconImage(WhatsNewIcon type) override;
   UIImage* GetToolbarSearchButtonImage(SearchEngineIcon type) override;
   UIImage* GetDownloadGoogleDriveImage() override;
diff --git a/ios/chrome/browser/providers/images/chromium_branded_image_provider.mm b/ios/chrome/browser/providers/images/chromium_branded_image_provider.mm
index 34b882c..48d199e 100644
--- a/ios/chrome/browser/providers/images/chromium_branded_image_provider.mm
+++ b/ios/chrome/browser/providers/images/chromium_branded_image_provider.mm
@@ -50,6 +50,23 @@
   return false;
 }
 
+NSArray<UIImage*>*
+ChromiumBrandedImageProvider::GetToolbarVoiceSearchButtonImages(
+    bool incognito) {
+  ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
+  if (incognito) {
+    return @[
+      rb.GetNativeImageNamed(IDR_IOS_TOOLBAR_DARK_VOICE).ToUIImage(),
+      rb.GetNativeImageNamed(IDR_IOS_TOOLBAR_DARK_VOICE_PRESSED).ToUIImage()
+    ];
+  }
+
+  return @[
+    rb.GetNativeImageNamed(IDR_IOS_TOOLBAR_LIGHT_VOICE).ToUIImage(),
+    rb.GetNativeImageNamed(IDR_IOS_TOOLBAR_LIGHT_VOICE_PRESSED).ToUIImage()
+  ];
+}
+
 UIImage* ChromiumBrandedImageProvider::GetWhatsNewIconImage(WhatsNewIcon type) {
   ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
   return rb.GetNativeImageNamed(IDR_IOS_PROMO_INFO).ToUIImage();
diff --git a/ios/chrome/browser/sync/ios_chrome_sync_client.mm b/ios/chrome/browser/sync/ios_chrome_sync_client.mm
index 7ecdcde..935966a 100644
--- a/ios/chrome/browser/sync/ios_chrome_sync_client.mm
+++ b/ios/chrome/browser/sync/ios_chrome_sync_client.mm
@@ -91,11 +91,6 @@
   ~SyncSessionsClientImpl() override {}
 
   // SyncSessionsClient implementation.
-  bookmarks::BookmarkModel* GetBookmarkModel() override {
-    DCHECK_CURRENTLY_ON(web::WebThread::UI);
-    return ios::BookmarkModelFactory::GetForBrowserState(browser_state_);
-  }
-
   favicon::FaviconService* GetFaviconService() override {
     DCHECK_CURRENTLY_ON(web::WebThread::UI);
     return ios::FaviconServiceFactory::GetForBrowserState(
diff --git a/ios/chrome/browser/ui/browser_view_controller.mm b/ios/chrome/browser/ui/browser_view_controller.mm
index 22501e08..5169c38 100644
--- a/ios/chrome/browser/ui/browser_view_controller.mm
+++ b/ios/chrome/browser/ui/browser_view_controller.mm
@@ -220,6 +220,7 @@
 #import "ios/chrome/browser/ui/uikit_ui_util.h"
 #import "ios/chrome/browser/ui/util/constraints_ui_util.h"
 #import "ios/chrome/browser/ui/util/named_guide.h"
+#import "ios/chrome/browser/ui/util/named_guide_util.h"
 #import "ios/chrome/browser/ui/util/pasteboard_util.h"
 #import "ios/chrome/browser/ui/voice/text_to_speech_player.h"
 #include "ios/chrome/browser/upgrade/upgrade_center.h"
@@ -2173,7 +2174,8 @@
         LayoutSides::kBottom | LayoutSides::kLeading | LayoutSides::kTrailing);
 
     UILayoutGuide* guide =
-        AddNamedGuide(kSecondaryToolbarNoFullscreen, self.view);
+        [[NamedGuide alloc] initWithName:kSecondaryToolbarNoFullscreen];
+    [self.view addLayoutGuide:guide];
     self.secondaryToolbarNoFullscreenHeightConstraint = [guide.heightAnchor
         constraintEqualToConstant:[self secondaryToolbarHeightWithInset]];
     self.secondaryToolbarNoFullscreenHeightConstraint.active = YES;
@@ -2300,12 +2302,15 @@
           insertSubview:self.secondaryToolbarCoordinator.viewController.view
            aboveSubview:self.primaryToolbarCoordinator.viewController.view];
     }
-    AddNamedGuide(kOmniboxGuide, self.view);
-    AddNamedGuide(kBackButtonGuide, self.view);
-    AddNamedGuide(kForwardButtonGuide, self.view);
-    AddNamedGuide(kToolsMenuGuide, self.view);
-    AddNamedGuide(kTabSwitcherGuide, self.view);
-    AddNamedGuide(kSecondaryToolbar, self.view);
+    NSArray<GuideName*>* guideNames = @[
+      kOmniboxGuide,
+      kBackButtonGuide,
+      kForwardButtonGuide,
+      kToolsMenuGuide,
+      kTabSwitcherGuide,
+      kSecondaryToolbar,
+    ];
+    AddNamedGuidesToView(guideNames, self.view);
   }
   if (initialLayout) {
     [self.primaryToolbarCoordinator.viewController
@@ -2626,7 +2631,8 @@
     tabSwitcherAnchor = [self.tabStripCoordinator
         anchorPointForTabSwitcherButton:BubbleArrowDirectionUp];
   } else {
-    UILayoutGuide* guide = FindNamedGuide(kTabSwitcherGuide, self.view);
+    UILayoutGuide* guide =
+        [NamedGuide guideWithName:kTabSwitcherGuide view:self.view];
     DCHECK(guide);
     CGPoint anchorPoint =
         bubble_util::AnchorPoint(guide.layoutFrame, BubbleArrowDirectionUp);
@@ -2688,7 +2694,8 @@
   NSString* text = l10n_util::GetNSStringWithFixup(
       IDS_IOS_NEW_INCOGNITO_TAB_IPH_PROMOTION_TEXT);
   CGPoint toolsButtonAnchor;
-  UILayoutGuide* guide = FindNamedGuide(kToolsMenuGuide, self.view);
+  UILayoutGuide* guide =
+      [NamedGuide guideWithName:kToolsMenuGuide view:self.view];
   DCHECK(guide);
   CGPoint anchorPoint =
       bubble_util::AnchorPoint(guide.layoutFrame, BubbleArrowDirectionUp);
@@ -2738,8 +2745,8 @@
     referenceFrame = _contentArea.frame;
   }
 
-  CGRect omniboxFrame;
-  omniboxFrame = FindNamedGuide(kOmniboxGuide, self.view).layoutFrame;
+  CGRect omniboxFrame =
+      [NamedGuide guideWithName:kOmniboxGuide view:self.view].layoutFrame;
   [_findBarController addFindBarView:animate
                             intoView:self.view
                            withFrame:referenceFrame
diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_view.mm b/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_view.mm
index b7d98af..b2134f1 100644
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_view.mm
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_view.mm
@@ -17,6 +17,7 @@
 #import "ios/chrome/browser/ui/uikit_ui_util.h"
 #import "ios/chrome/browser/ui/util/constraints_ui_util.h"
 #import "ios/chrome/browser/ui/util/named_guide.h"
+#import "ios/chrome/browser/ui/util/named_guide_util.h"
 #import "ui/gfx/ios/NSString+CrStringDrawing.h"
 #import "ui/gfx/ios/uikit_util.h"
 
@@ -65,11 +66,14 @@
   [self addSubview:self.toolBarView];
   // TODO(crbug.com/808431) This logic is duplicated in various places and
   // should be refactored away for content suggestions.
-  AddNamedGuide(kOmniboxGuide, self);
-  AddNamedGuide(kBackButtonGuide, self);
-  AddNamedGuide(kForwardButtonGuide, self);
-  AddNamedGuide(kToolsMenuGuide, self);
-  AddNamedGuide(kTabSwitcherGuide, self);
+  NSArray<GuideName*>* guideNames = @[
+    kOmniboxGuide,
+    kBackButtonGuide,
+    kForwardButtonGuide,
+    kToolsMenuGuide,
+    kTabSwitcherGuide,
+  ];
+  AddNamedGuidesToView(guideNames, self);
   [NSLayoutConstraint activateConstraints:@[
     [self.toolBarView.leadingAnchor constraintEqualToAnchor:self.leadingAnchor],
     [self.toolBarView.topAnchor constraintEqualToAnchor:self.topAnchor],
diff --git a/ios/chrome/browser/ui/download/download_manager_view_controller.mm b/ios/chrome/browser/ui/download/download_manager_view_controller.mm
index d22e7295..f8c57230 100644
--- a/ios/chrome/browser/ui/download/download_manager_view_controller.mm
+++ b/ios/chrome/browser/ui/download/download_manager_view_controller.mm
@@ -109,8 +109,10 @@
   [self.installDriveControlsRow addSubview:self.installDriveButton];
   [self.installDriveControlsRow addSubview:self.horizontalLine];
 
-  AddNamedGuide(kActionButtonGuide, self.view);
-  ConstrainNamedGuideToView(kActionButtonGuide, self.actionButton);
+  NamedGuide* actionButtonGuide =
+      [[NamedGuide alloc] initWithName:kActionButtonGuide];
+  [self.view addLayoutGuide:actionButtonGuide];
+  actionButtonGuide.constrainedView = self.actionButton;
 }
 
 - (void)updateViewConstraints {
@@ -446,7 +448,8 @@
       SEL selector = @selector
           (downloadManagerViewController:presentOpenInMenuWithLayoutGuide:);
       if ([_delegate respondsToSelector:selector]) {
-        UILayoutGuide* guide = FindNamedGuide(kActionButtonGuide, self.view);
+        UILayoutGuide* guide =
+            [NamedGuide guideWithName:kActionButtonGuide view:self.view];
         [_delegate downloadManagerViewController:self
                 presentOpenInMenuWithLayoutGuide:guide];
       }
diff --git a/ios/chrome/browser/ui/history_popup/tab_history_legacy_coordinator.mm b/ios/chrome/browser/ui/history_popup/tab_history_legacy_coordinator.mm
index 2d83750a..2e86908 100644
--- a/ios/chrome/browser/ui/history_popup/tab_history_legacy_coordinator.mm
+++ b/ios/chrome/browser/ui/history_popup/tab_history_legacy_coordinator.mm
@@ -124,8 +124,10 @@
 
 // Returns the origin point of the popup for the |guideName|.
 - (CGPoint)popupOriginForNamedGuide:(GuideName*)guideName {
-  UILayoutGuide* guide = FindNamedGuide(
-      guideName, [self.presentationProvider viewForTabHistoryPresentation]);
+  UIView* presentationView =
+      [self.presentationProvider viewForTabHistoryPresentation];
+  UILayoutGuide* guide =
+      [NamedGuide guideWithName:guideName view:presentationView];
   DCHECK(guide);
   CGPoint leadingBottomCorner =
       CGPointMake(CGRectGetLeadingEdge(guide.layoutFrame),
diff --git a/ios/chrome/browser/ui/infobars/BUILD.gn b/ios/chrome/browser/ui/infobars/BUILD.gn
index eec1388..8d3618a 100644
--- a/ios/chrome/browser/ui/infobars/BUILD.gn
+++ b/ios/chrome/browser/ui/infobars/BUILD.gn
@@ -47,6 +47,19 @@
   ]
 }
 
+source_set("test_support") {
+  configs += [ "//build/config/compiler:enable_arc" ]
+  testonly = true
+  sources = [
+    "test_infobar_delegate.h",
+    "test_infobar_delegate.mm",
+  ]
+  deps = [
+    "//base",
+    "//components/infobars/core",
+  ]
+}
+
 source_set("eg_tests") {
   configs += [ "//build/config/compiler:enable_arc" ]
   testonly = true
@@ -54,6 +67,7 @@
     "infobar_egtest.mm",
   ]
   deps = [
+    ":test_support",
     "//base",
     "//components/infobars/core",
     "//ios/chrome/app:app_internal",
diff --git a/ios/chrome/browser/ui/infobars/infobar_egtest.mm b/ios/chrome/browser/ui/infobars/infobar_egtest.mm
index 16b1a42..b59d5a2 100644
--- a/ios/chrome/browser/ui/infobars/infobar_egtest.mm
+++ b/ios/chrome/browser/ui/infobars/infobar_egtest.mm
@@ -6,14 +6,13 @@
 #import <XCTest/XCTest.h>
 
 #include "base/strings/sys_string_conversions.h"
-#include "base/strings/utf_string_conversions.h"
-#include "components/infobars/core/confirm_infobar_delegate.h"
 #include "components/infobars/core/infobar.h"
 #include "components/infobars/core/infobar_manager.h"
 #import "ios/chrome/app/main_controller.h"
 #include "ios/chrome/browser/infobars/infobar_manager_impl.h"
 #import "ios/chrome/browser/tabs/tab.h"
 #import "ios/chrome/browser/tabs/tab_model.h"
+#import "ios/chrome/browser/ui/infobars/test_infobar_delegate.h"
 #import "ios/chrome/test/app/chrome_test_util.h"
 #import "ios/chrome/test/app/tab_test_util.h"
 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
@@ -30,36 +29,9 @@
 
 namespace {
 
-// The title of the test infobar.
-const char kTestInfoBarTitle[] = "TestInfoBar";
-
 // Timeout for how long to wait for an infobar to appear or disapper.
 const CFTimeInterval kTimeout = 4.0;
 
-// An infobar that displays a single line of text and no buttons.
-class TestInfoBarDelegate : public ConfirmInfoBarDelegate {
- public:
-  static bool Create(infobars::InfoBarManager* infobar_manager);
-
-  // InfoBarDelegate implementation.
-  InfoBarIdentifier GetIdentifier() const override { return TEST_INFOBAR; }
-
-  // ConfirmInfoBarDelegate implementation.
-  base::string16 GetMessageText() const override {
-    return base::ASCIIToUTF16(kTestInfoBarTitle);
-  }
-
-  int GetButtons() const override {
-    return ConfirmInfoBarDelegate::BUTTON_NONE;
-  }
-};
-
-bool TestInfoBarDelegate::Create(infobars::InfoBarManager* infobar_manager) {
-  DCHECK(infobar_manager);
-  return !!infobar_manager->AddInfoBar(infobar_manager->CreateConfirmInfoBar(
-      std::unique_ptr<ConfirmInfoBarDelegate>(new TestInfoBarDelegate)));
-}
-
 // Returns the InfoBarManager for the current tab.  Only works in normal
 // (non-incognito) mode.
 infobars::InfoBarManager* GetCurrentInfoBarManager() {
diff --git a/ios/chrome/browser/ui/infobars/infobar_view.mm b/ios/chrome/browser/ui/infobars/infobar_view.mm
index 0bbdde4..7474f78 100644
--- a/ios/chrome/browser/ui/infobars/infobar_view.mm
+++ b/ios/chrome/browser/ui/infobars/infobar_view.mm
@@ -621,9 +621,9 @@
   CGFloat bottomSafeAreaInset = SafeAreaInsetsForView(self).bottom;
   requiredHeight += bottomSafeAreaInset;
 
-  UILayoutGuide* guide = FindNamedGuide(kSecondaryToolbar, self);
+  UILayoutGuide* guide = [NamedGuide guideWithName:kSecondaryToolbar view:self];
   UILayoutGuide* guideNoFullscreen =
-      FindNamedGuide(kSecondaryToolbarNoFullscreen, self);
+      [NamedGuide guideWithName:kSecondaryToolbarNoFullscreen view:self];
   if (guide && guideNoFullscreen) {
     CGFloat toolbarHeightCurrent = guide.layoutFrame.size.height;
     CGFloat toolbarHeightMax = guideNoFullscreen.layoutFrame.size.height;
diff --git a/ios/chrome/browser/ui/infobars/test_infobar_delegate.h b/ios/chrome/browser/ui/infobars/test_infobar_delegate.h
new file mode 100644
index 0000000..7bce922
--- /dev/null
+++ b/ios/chrome/browser/ui/infobars/test_infobar_delegate.h
@@ -0,0 +1,26 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_CHROME_BROWSER_UI_INFOBARS_TEST_INFOBAR_DELEGATE_H_
+#define IOS_CHROME_BROWSER_UI_INFOBARS_TEST_INFOBAR_DELEGATE_H_
+
+#include "base/strings/utf_string_conversions.h"
+#include "components/infobars/core/confirm_infobar_delegate.h"
+
+// The title of the test infobar.
+extern const char kTestInfoBarTitle[];
+
+// An infobar that displays a single line of text and no buttons.
+class TestInfoBarDelegate : public ConfirmInfoBarDelegate {
+ public:
+  static bool Create(infobars::InfoBarManager* infobar_manager);
+
+  // InfoBarDelegate implementation.
+  InfoBarIdentifier GetIdentifier() const override;
+  // ConfirmInfoBarDelegate implementation.
+  base::string16 GetMessageText() const override;
+  int GetButtons() const override;
+};
+
+#endif  // IOS_CHROME_BROWSER_UI_INFOBARS_TEST_INFOBAR_DELEGATE_H_
diff --git a/ios/chrome/browser/ui/infobars/test_infobar_delegate.mm b/ios/chrome/browser/ui/infobars/test_infobar_delegate.mm
new file mode 100644
index 0000000..8166f9a
--- /dev/null
+++ b/ios/chrome/browser/ui/infobars/test_infobar_delegate.mm
@@ -0,0 +1,32 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "ios/chrome/browser/ui/infobars/test_infobar_delegate.h"
+
+#include "components/infobars/core/infobar.h"
+
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
+const char kTestInfoBarTitle[] = "TestInfoBar";
+
+bool TestInfoBarDelegate::Create(infobars::InfoBarManager* infobar_manager) {
+  DCHECK(infobar_manager);
+  return !!infobar_manager->AddInfoBar(infobar_manager->CreateConfirmInfoBar(
+      std::unique_ptr<ConfirmInfoBarDelegate>(new TestInfoBarDelegate)));
+}
+
+TestInfoBarDelegate::InfoBarIdentifier TestInfoBarDelegate::GetIdentifier()
+    const {
+  return TEST_INFOBAR;
+}
+
+base::string16 TestInfoBarDelegate::GetMessageText() const {
+  return base::ASCIIToUTF16(kTestInfoBarTitle);
+}
+
+int TestInfoBarDelegate::GetButtons() const {
+  return ConfirmInfoBarDelegate::BUTTON_OK;
+}
diff --git a/ios/chrome/browser/ui/omnibox/omnibox_view_ios.h b/ios/chrome/browser/ui/omnibox/omnibox_view_ios.h
index b650c08..b8d772e 100644
--- a/ios/chrome/browser/ui/omnibox/omnibox_view_ios.h
+++ b/ios/chrome/browser/ui/omnibox/omnibox_view_ios.h
@@ -85,7 +85,6 @@
   void Update() override {}
   void EnterKeywordModeForDefaultSearchProvider() override {}
   bool IsSelectAll() const override;
-  bool DeleteAtEndPressed() override;
   void GetSelectionBounds(base::string16::size_type* start,
                           base::string16::size_type* end) const override;
   void SelectAll(bool reversed) override {}
diff --git a/ios/chrome/browser/ui/omnibox/omnibox_view_ios.mm b/ios/chrome/browser/ui/omnibox/omnibox_view_ios.mm
index 3deee35..04605ea 100644
--- a/ios/chrome/browser/ui/omnibox/omnibox_view_ios.mm
+++ b/ios/chrome/browser/ui/omnibox/omnibox_view_ios.mm
@@ -367,10 +367,6 @@
   return false;
 }
 
-bool OmniboxViewIOS::DeleteAtEndPressed() {
-  return false;
-}
-
 void OmniboxViewIOS::GetSelectionBounds(base::string16::size_type* start,
                                         base::string16::size_type* end) const {
   if ([field_ isFirstResponder]) {
diff --git a/ios/chrome/browser/ui/omnibox/popup/omnibox_popup_presenter.mm b/ios/chrome/browser/ui/omnibox/popup/omnibox_popup_presenter.mm
index 375d7777..4615562 100644
--- a/ios/chrome/browser/ui/omnibox/popup/omnibox_popup_presenter.mm
+++ b/ios/chrome/browser/ui/omnibox/popup/omnibox_popup_presenter.mm
@@ -166,7 +166,8 @@
 
   // Position the top anchor of the popup relatively to the layout guide
   // positioned on the omnibox.
-  UILayoutGuide* topLayout = FindNamedGuide(kOmniboxGuide, popup);
+  UILayoutGuide* topLayout =
+      [NamedGuide guideWithName:kOmniboxGuide view:popup];
   NSLayoutConstraint* topConstraint =
       [popup.topAnchor constraintEqualToAnchor:topLayout.bottomAnchor];
   if (IsIPadIdiom()) {
diff --git a/ios/chrome/browser/ui/omnibox_perftest.mm b/ios/chrome/browser/ui/omnibox_perftest.mm
index 35f759c..c12c976 100644
--- a/ios/chrome/browser/ui/omnibox_perftest.mm
+++ b/ios/chrome/browser/ui/omnibox_perftest.mm
@@ -18,6 +18,7 @@
 #import "ios/chrome/browser/ui/toolbar/clean/toolbar_coordinator_delegate.h"
 #include "ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.h"
 #import "ios/chrome/browser/ui/util/named_guide.h"
+#import "ios/chrome/browser/ui/util/named_guide_util.h"
 #include "ios/chrome/browser/web_state_list/fake_web_state_list_delegate.h"
 #include "ios/chrome/browser/web_state_list/web_state_list.h"
 #import "ios/chrome/browser/web_state_list/web_state_opener.h"
@@ -120,11 +121,11 @@
     toolbarView.frame = toolbarFrame;
     // Add toolbar to window.
     [window_ addSubview:toolbarView];
-    AddNamedGuide(kOmniboxGuide, window_);
-    AddNamedGuide(kBackButtonGuide, window_);
-    AddNamedGuide(kForwardButtonGuide, window_);
-    AddNamedGuide(kToolsMenuGuide, window_);
-    AddNamedGuide(kTabSwitcherGuide, window_);
+    NSArray* guides = @[
+      kOmniboxGuide, kBackButtonGuide, kForwardButtonGuide, kToolsMenuGuide,
+      kTabSwitcherGuide
+    ];
+    AddNamedGuidesToView(guides, window_);
     [coordinator_.viewController didMoveToParentViewController:nil];
     base::test::ios::WaitUntilCondition(^bool() {
       return IsToolbarLoaded(window_);
diff --git a/ios/chrome/browser/ui/toolbar/adaptive/BUILD.gn b/ios/chrome/browser/ui/toolbar/adaptive/BUILD.gn
index e895be2..12bffc37 100644
--- a/ios/chrome/browser/ui/toolbar/adaptive/BUILD.gn
+++ b/ios/chrome/browser/ui/toolbar/adaptive/BUILD.gn
@@ -94,7 +94,9 @@
     "//base",
     "//components/strings",
     "//ios/chrome/app/strings",
+    "//ios/chrome/browser/infobars",
     "//ios/chrome/browser/ui:ui_util",
+    "//ios/chrome/browser/ui/infobars:test_support",
     "//ios/chrome/browser/ui/toolbar/buttons",
     "//ios/chrome/browser/ui/toolbar/public",
     "//ios/chrome/browser/ui/util",
diff --git a/ios/chrome/browser/ui/toolbar/adaptive/adaptive_toolbar_egtest.mm b/ios/chrome/browser/ui/toolbar/adaptive/adaptive_toolbar_egtest.mm
index d02f3d45..f61b0fa8 100644
--- a/ios/chrome/browser/ui/toolbar/adaptive/adaptive_toolbar_egtest.mm
+++ b/ios/chrome/browser/ui/toolbar/adaptive/adaptive_toolbar_egtest.mm
@@ -5,12 +5,16 @@
 #import <EarlGrey/EarlGrey.h>
 #import <XCTest/XCTest.h>
 
+#include "base/strings/sys_string_conversions.h"
 #include "components/strings/grit/components_strings.h"
+#include "ios/chrome/browser/infobars/infobar_manager_impl.h"
+#import "ios/chrome/browser/ui/infobars/test_infobar_delegate.h"
 #import "ios/chrome/browser/ui/toolbar/adaptive/primary_toolbar_view.h"
 #import "ios/chrome/browser/ui/toolbar/adaptive/secondary_toolbar_view.h"
 #import "ios/chrome/browser/ui/toolbar/buttons/toolbar_constants.h"
 #include "ios/chrome/browser/ui/ui_util.h"
 #import "ios/chrome/browser/ui/uikit_ui_util.h"
+#import "ios/chrome/browser/ui/util/named_guide.h"
 #import "ios/chrome/browser/ui/util/top_view_controller.h"
 #include "ios/chrome/grit/ios_strings.h"
 #include "ios/chrome/test/app/bookmarks_test_util.h"
@@ -35,6 +39,7 @@
 const char kPageURL2[] = "/test-page-2.html";
 const char kPageURL3[] = "/test-page-3.html";
 const char kLinkID[] = "linkID";
+const char kTextID[] = "textID";
 const char kPageLoadedString[] = "Page loaded!";
 
 // Provides responses for redirect and changed window location URLs.
@@ -49,6 +54,18 @@
   return std::move(http_response);
 }
 
+// Provides response for a very tall page.
+std::unique_ptr<net::test_server::HttpResponse> TallPageResponse(
+    const net::test_server::HttpRequest& request) {
+  std::unique_ptr<net::test_server::BasicHttpResponse> http_response =
+      std::make_unique<net::test_server::BasicHttpResponse>();
+  http_response->set_code(net::HTTP_OK);
+  http_response->set_content(
+      "<html><body><p style=\"height:2000pt\"></p><p id=\"" +
+      std::string(kTextID) + "\">" + kPageLoadedString + "</p></body></html>");
+  return std::move(http_response);
+}
+
 // Returns a matcher for the bookmark button.
 id<GREYMatcher> BookmarkButton() {
   return chrome_test_util::ButtonWithAccessibilityLabelId(IDS_TOOLTIP_STAR);
@@ -90,6 +107,12 @@
       grey_sufficientlyVisible(), nil);
 }
 
+bool AddInfobar() {
+  infobars::InfoBarManager* manager =
+      InfoBarManagerImpl::FromWebState(chrome_test_util::GetCurrentWebState());
+  return TestInfoBarDelegate::Create(manager);
+}
+
 // Rotate the device if it is an iPhone or change the trait collection to
 // compact width if it is an iPad. Returns the new trait collection.
 UITraitCollection* RotateOrChangeTraitCollection(
@@ -375,6 +398,94 @@
   }
 }
 
+// Tests the interactions between the infobars and the bottom toolbar during
+// fullscreen.
+- (void)testInfobarFullscreen {
+  if (!IsSplitToolbarMode()) {
+    // The interaction between the infobar and fullscreen only happens in split
+    // toolbar mode.
+    return;
+  }
+
+  // Setup the server.
+  self.testServer->RegisterRequestHandler(
+      base::BindRepeating(&TallPageResponse));
+  GREYAssertTrue(self.testServer->Start(), @"Test server failed to start.");
+
+  // Navigate to a page and check the bookmark button is not selected.
+  [ChromeEarlGrey loadURL:self.testServer->GetURL(kPageURL)];
+
+  GREYAssert(AddInfobar(), @"Failed to add infobar.");
+
+  [[GREYCondition
+      conditionWithName:@"Waiting for infobar to show"
+                  block:^BOOL {
+                    NSError* error = nil;
+                    [[EarlGrey
+                        selectElementWithMatcher:
+                            chrome_test_util::StaticTextWithAccessibilityLabel(
+                                base::SysUTF8ToNSString(kTestInfoBarTitle))]
+                        assertWithMatcher:grey_sufficientlyVisible()
+                                    error:&error];
+                    return error == nil;
+                  }] waitWithTimeout:4];
+
+  // Check that the button is visible.
+  [[EarlGrey selectElementWithMatcher:chrome_test_util::OKButton()]
+      assertWithMatcher:grey_sufficientlyVisible()];
+
+  UIWindow* window = [[UIApplication sharedApplication] keyWindow];
+
+  GREYElementMatcherBlock* positionMatcher = [GREYElementMatcherBlock
+      matcherWithMatchesBlock:^BOOL(UIView* element) {
+        UILayoutGuide* guide =
+            [NamedGuide guideWithName:kSecondaryToolbar view:element];
+        CGFloat toolbarTopPoint = CGRectGetMinY(
+            [window convertRect:guide.layoutFrame fromView:guide.owningView]);
+        CGFloat buttonBottomPoint = CGRectGetMaxY(
+            [window convertRect:element.frame fromView:element.superview]);
+
+        CGFloat bottomSafeArea = CGFLOAT_MAX;
+        if (@available(iOS 11, *)) {
+          bottomSafeArea =
+              CGRectGetMaxY(window.safeAreaLayoutGuide.layoutFrame);
+        }
+        CGFloat infobarContentBottomPoint =
+            MIN(bottomSafeArea, toolbarTopPoint);
+        BOOL buttonIsAbove = buttonBottomPoint < infobarContentBottomPoint - 10;
+        BOOL buttonIsNear = buttonBottomPoint > infobarContentBottomPoint - 30;
+        return buttonIsAbove && buttonIsNear;
+      }
+      descriptionBlock:^void(id<GREYDescription> description) {
+        [description
+            appendText:@"Infobar is position on top of the bottom toolbar."];
+      }];
+
+  // Check that the button is positionned above the bottom toolbar.
+  [[EarlGrey selectElementWithMatcher:chrome_test_util::OKButton()]
+      assertWithMatcher:positionMatcher];
+
+  // Scroll down
+  [[EarlGrey
+      selectElementWithMatcher:web::WebViewScrollView(
+                                   chrome_test_util::GetCurrentWebState())]
+      performAction:grey_swipeFastInDirection(kGREYDirectionUp)];
+
+  // Check that the button is visible.
+  [[EarlGrey selectElementWithMatcher:chrome_test_util::OKButton()]
+      assertWithMatcher:grey_sufficientlyVisible()];
+
+  // Check that the secondary toolbar is not visible.
+  [[EarlGrey
+      selectElementWithMatcher:grey_kindOfClass([SecondaryToolbarView class])]
+      assertWithMatcher:grey_not(grey_sufficientlyVisible())];
+
+  // Check that the button is positionned above the bottom toolbar (i.e. at the
+  // bottom).
+  [[EarlGrey selectElementWithMatcher:chrome_test_util::OKButton()]
+      assertWithMatcher:positionMatcher];
+}
+
 // Verifies that the back/forward buttons are working and are correctly enabled
 // during navigations.
 - (void)testNavigationButtons {
diff --git a/ios/chrome/browser/ui/toolbar/adaptive/primary_toolbar_view_controller.mm b/ios/chrome/browser/ui/toolbar/adaptive/primary_toolbar_view_controller.mm
index d0098cf..35e99ee 100644
--- a/ios/chrome/browser/ui/toolbar/adaptive/primary_toolbar_view_controller.mm
+++ b/ios/chrome/browser/ui/toolbar/adaptive/primary_toolbar_view_controller.mm
@@ -106,7 +106,9 @@
 
 - (void)didMoveToParentViewController:(UIViewController*)parent {
   [super didMoveToParentViewController:parent];
-  ConstrainNamedGuideToView(kOmniboxGuide, self.view.locationBarContainer);
+  UIView* omniboxView = self.view.locationBarContainer;
+  [NamedGuide guideWithName:kOmniboxGuide view:omniboxView].constrainedView =
+      omniboxView;
 }
 
 - (void)traitCollectionDidChange:(UITraitCollection*)previousTraitCollection {
diff --git a/ios/chrome/browser/ui/toolbar/adaptive/secondary_toolbar_view_controller.mm b/ios/chrome/browser/ui/toolbar/adaptive/secondary_toolbar_view_controller.mm
index 579ada2..1b600ab 100644
--- a/ios/chrome/browser/ui/toolbar/adaptive/secondary_toolbar_view_controller.mm
+++ b/ios/chrome/browser/ui/toolbar/adaptive/secondary_toolbar_view_controller.mm
@@ -35,7 +35,8 @@
 
 - (void)didMoveToParentViewController:(UIViewController*)parent {
   [super didMoveToParentViewController:parent];
-  ConstrainNamedGuideToView(kSecondaryToolbar, self.view);
+  [NamedGuide guideWithName:kSecondaryToolbar view:self.view].constrainedView =
+      self.view;
 }
 
 @end
diff --git a/ios/chrome/browser/ui/toolbar/buttons/toolbar_button.mm b/ios/chrome/browser/ui/toolbar/buttons/toolbar_button.mm
index 197f1073..03ed46c0 100644
--- a/ios/chrome/browser/ui/toolbar/buttons/toolbar_button.mm
+++ b/ios/chrome/browser/ui/toolbar/buttons/toolbar_button.mm
@@ -113,7 +113,7 @@
   if (!self.hidden && previouslyHidden != self.hidden && self.guideName) {
     // The button is appearing. At this point, if it has a layout guide
     // associated, it should constraint it to itself.
-    UILayoutGuide* guide = FindNamedGuide(self.guideName, self);
+    UILayoutGuide* guide = [NamedGuide guideWithName:self.guideName view:self];
     if (!guide)
       return;
 
diff --git a/ios/chrome/browser/ui/toolbar/buttons/toolbar_button_factory.mm b/ios/chrome/browser/ui/toolbar/buttons/toolbar_button_factory.mm
index a106ae4..2e22c8ce 100644
--- a/ios/chrome/browser/ui/toolbar/buttons/toolbar_button_factory.mm
+++ b/ios/chrome/browser/ui/toolbar/buttons/toolbar_button_factory.mm
@@ -469,19 +469,9 @@
 
 - (NSArray<UIImage*>*)voiceSearchImages {
   // The voice search images can be overridden by the branded image provider.
-  int imageID;
-  if (ios::GetChromeBrowserProvider()
-          ->GetBrandedImageProvider()
-          ->GetToolbarVoiceSearchButtonImageId(&imageID)) {
-    return [NSArray
-        arrayWithObjects:NativeImage(imageID), NativeImage(imageID), nil];
-  }
-  int voiceSearchImages[styleCount][TOOLBAR_STATE_COUNT] =
-      TOOLBAR_IDR_TWO_STATE(VOICE);
-  return [NSArray
-      arrayWithObjects:NativeImage(voiceSearchImages[self.style][DEFAULT]),
-                       NativeImage(voiceSearchImages[self.style][PRESSED]),
-                       nil];
+  return ios::GetChromeBrowserProvider()
+      ->GetBrandedImageProvider()
+      ->GetToolbarVoiceSearchButtonImages(self.style == INCOGNITO);
 }
 
 - (NSArray<UIImage*>*)TTSImages {
diff --git a/ios/chrome/browser/ui/toolbar/clean/BUILD.gn b/ios/chrome/browser/ui/toolbar/clean/BUILD.gn
index 98a215c..a2eb6ca 100644
--- a/ios/chrome/browser/ui/toolbar/clean/BUILD.gn
+++ b/ios/chrome/browser/ui/toolbar/clean/BUILD.gn
@@ -53,10 +53,6 @@
     "//ios/public/provider/chrome/browser/voice",
     "//ios/third_party/material_components_ios",
     "//ios/web",
-
-    # Remove this dependency when the code uses the method
-    # GetToolbarSearchButtonImage(SearchEngineIcon) overload.
-    "//ios/chrome/browser/ui/toolbar/buttons/resources:toolbar_search",
   ]
 
   allow_circular_includes_from = [ "//ios/chrome/browser/ui/location_bar" ]
diff --git a/ios/chrome/browser/ui/toolbar/clean/toolbar_mediator.mm b/ios/chrome/browser/ui/toolbar/clean/toolbar_mediator.mm
index 9cea431..169fe60 100644
--- a/ios/chrome/browser/ui/toolbar/clean/toolbar_mediator.mm
+++ b/ios/chrome/browser/ui/toolbar/clean/toolbar_mediator.mm
@@ -314,27 +314,18 @@
 #pragma mark - SearchEngineObserving
 
 - (void)searchEngineChanged {
-  BOOL showBrandedSearchIcon = NO;
-  if (self.templateURLService) {
-    const TemplateURL* defaultURL =
-        self.templateURLService->GetDefaultSearchProvider();
-    if (defaultURL) {
-      showBrandedSearchIcon =
-          defaultURL->GetEngineType(
-              self.templateURLService->search_terms_data()) ==
-          SEARCH_ENGINE_GOOGLE;
-    }
+  SearchEngineIcon searchEngineIcon = SEARCH_ENGINE_ICON_OTHER;
+  if (self.templateURLService &&
+      self.templateURLService->GetDefaultSearchProvider() &&
+      self.templateURLService->GetDefaultSearchProvider()->GetEngineType(
+          self.templateURLService->search_terms_data()) ==
+          SEARCH_ENGINE_GOOGLE) {
+    searchEngineIcon = SEARCH_ENGINE_ICON_GOOGLE_SEARCH;
   }
 
-  UIImage* searchIcon = nil;
-  if (showBrandedSearchIcon) {
-    searchIcon = ios::GetChromeBrowserProvider()
-                     ->GetBrandedImageProvider()
-                     ->GetToolbarSearchButtonImage();
-  }
-  if (!searchIcon) {
-    searchIcon = [UIImage imageNamed:@"toolbar_search"];
-  }
+  UIImage* searchIcon = ios::GetChromeBrowserProvider()
+                            ->GetBrandedImageProvider()
+                            ->GetToolbarSearchButtonImage(searchEngineIcon);
   [self.consumer setSearchIcon:searchIcon];
 }
 
diff --git a/ios/chrome/browser/ui/toolbar/clean/toolbar_view_controller.mm b/ios/chrome/browser/ui/toolbar/clean/toolbar_view_controller.mm
index 10d5fdc..056608b 100644
--- a/ios/chrome/browser/ui/toolbar/clean/toolbar_view_controller.mm
+++ b/ios/chrome/browser/ui/toolbar/clean/toolbar_view_controller.mm
@@ -29,6 +29,7 @@
 #import "ios/chrome/browser/ui/uikit_ui_util.h"
 #import "ios/chrome/browser/ui/util/constraints_ui_util.h"
 #import "ios/chrome/browser/ui/util/named_guide.h"
+#import "ios/chrome/browser/ui/util/named_guide_util.h"
 #import "ios/chrome/common/material_timing.h"
 #include "ios/chrome/grit/ios_theme_resources.h"
 #import "ios/third_party/material_components_ios/src/components/ProgressView/src/MaterialProgressView.h"
@@ -434,14 +435,16 @@
 }
 
 - (void)didMoveToParentViewController:(UIViewController*)parent {
-  ConstrainNamedGuideToView(kOmniboxGuide, self.view.locationBarContainer);
-  ConstrainNamedGuideToView(kBackButtonGuide, self.view.backButton.imageView);
-  ConstrainNamedGuideToView(kForwardButtonGuide,
-                            self.view.forwardButton.imageView);
-  ConstrainNamedGuideToView(kToolsMenuGuide, self.view.toolsMenuButton);
+  SetNamedGuideConstrainedViews(@{
+    kOmniboxGuide : self.view.locationBarContainer,
+    kBackButtonGuide : self.view.backButton.imageView,
+    kForwardButtonGuide : self.view.forwardButton.imageView,
+    kToolsMenuGuide : self.view.toolsMenuButton,
+  });
   if (!IsIPadIdiom()) {
-    ConstrainNamedGuideToView(kTabSwitcherGuide,
-                              self.view.tabSwitchStripButton.imageView);
+    UIView* tabSwitcherButton = self.view.tabSwitchStripButton.imageView;
+    [NamedGuide guideWithName:kTabSwitcherGuide view:tabSwitcherButton]
+        .constrainedView = tabSwitcherButton;
   }
 }
 
diff --git a/ios/chrome/browser/ui/util/BUILD.gn b/ios/chrome/browser/ui/util/BUILD.gn
index b12b95b..a97881a2 100644
--- a/ios/chrome/browser/ui/util/BUILD.gn
+++ b/ios/chrome/browser/ui/util/BUILD.gn
@@ -17,10 +17,14 @@
     "label_link_controller.mm",
     "label_observer.h",
     "label_observer.mm",
+    "layout_guide_names.h",
+    "layout_guide_names.mm",
     "manual_text_framer.h",
     "manual_text_framer.mm",
     "named_guide.h",
     "named_guide.mm",
+    "named_guide_util.h",
+    "named_guide_util.mm",
     "pasteboard_util.h",
     "pasteboard_util.mm",
     "relaxed_bounds_constraints_hittest.h",
diff --git a/ios/chrome/browser/ui/util/layout_guide_names.h b/ios/chrome/browser/ui/util/layout_guide_names.h
new file mode 100644
index 0000000..36f80e8
--- /dev/null
+++ b/ios/chrome/browser/ui/util/layout_guide_names.h
@@ -0,0 +1,32 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_CHROME_BROWSER_UI_UTIL_LAYOUT_GUIDE_NAMES_H_
+#define IOS_CHROME_BROWSER_UI_UTIL_LAYOUT_GUIDE_NAMES_H_
+
+#import <UIKit/UIKit.h>
+
+typedef NSString GuideName;
+
+// The list of well-known UILayoutGuides.  When adding a new guide to the app,
+// create a constant for it below.
+
+// A guide that is constrained to match the frame of the secondary toolbar.
+extern GuideName* const kSecondaryToolbar;
+// A guide that is constrained to match the frame the secondary toolbar would
+// have if fullscreen was disabled.
+extern GuideName* const kSecondaryToolbarNoFullscreen;
+// A guide that is constrained to match the frame of the omnibox.
+extern GuideName* const kOmniboxGuide;
+// A guide that is constrained to match the frame of the back button's image.
+extern GuideName* const kBackButtonGuide;
+// A guide that is constrained to match the frame of the forward button's image.
+extern GuideName* const kForwardButtonGuide;
+// A guide that is constrained to match the frame of the TabSwitcher button's
+// image.
+extern GuideName* const kTabSwitcherGuide;
+// A guide that is constrained to match the frame of the ToolsMenu button.
+extern GuideName* const kToolsMenuGuide;
+
+#endif  // IOS_CHROME_BROWSER_UI_UTIL_LAYOUT_GUIDE_NAMES_H_
diff --git a/ios/chrome/browser/ui/util/layout_guide_names.mm b/ios/chrome/browser/ui/util/layout_guide_names.mm
new file mode 100644
index 0000000..5f68014
--- /dev/null
+++ b/ios/chrome/browser/ui/util/layout_guide_names.mm
@@ -0,0 +1,18 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "ios/chrome/browser/ui/util/layout_guide_names.h"
+
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
+GuideName* const kSecondaryToolbar = @"kSecondaryToolbar";
+GuideName* const kSecondaryToolbarNoFullscreen =
+    @"kSecondaryToolbarNoFullscreen";
+GuideName* const kOmniboxGuide = @"kOmniboxGuide";
+GuideName* const kBackButtonGuide = @"kBackButtonGuide";
+GuideName* const kForwardButtonGuide = @"kForwardButtonGuide";
+GuideName* const kTabSwitcherGuide = @"kTabSwitcherGuide";
+GuideName* const kToolsMenuGuide = @"kToolsMenuGuide";
diff --git a/ios/chrome/browser/ui/util/named_guide.h b/ios/chrome/browser/ui/util/named_guide.h
index bf3aa6a..487339b 100644
--- a/ios/chrome/browser/ui/util/named_guide.h
+++ b/ios/chrome/browser/ui/util/named_guide.h
@@ -5,45 +5,32 @@
 #ifndef IOS_CHROME_BROWSER_UI_UTIL_NAMED_GUIDE_H_
 #define IOS_CHROME_BROWSER_UI_UTIL_NAMED_GUIDE_H_
 
-#import <UIKit/UIKit.h>
+#import "ios/chrome/browser/ui/util/layout_guide_names.h"
 
-typedef NSString GuideName;
+// A UILayoutGuide subclass that represents the layout of a well-known piece of
+// UI.  See layout_guide_names.h for a list of the UI components for which named
+// guides are created.
+@interface NamedGuide : UILayoutGuide
 
-//////////////////////////////////////////
-// The list of well-known UILayoutGuides.  When adding a new guide to the app,
-// create a constant for it below.
+// Designated initializer for a guide with |name|.
+- (instancetype)initWithName:(GuideName*)name NS_DESIGNATED_INITIALIZER;
 
-// A guide that is constrained to match the frame of the secondary toolbar.
-extern GuideName* const kSecondaryToolbar;
-// A guide that is constrained to match the frame the secondary toolbar would
-// have if fullscreen was disabled.
-extern GuideName* const kSecondaryToolbarNoFullscreen;
-// A guide that is constrained to match the frame of the omnibox.
-extern GuideName* const kOmniboxGuide;
-// A guide that is constrained to match the frame of the back button's image.
-extern GuideName* const kBackButtonGuide;
-// A guide that is constrained to match the frame of the forward button's image.
-extern GuideName* const kForwardButtonGuide;
-// A guide that is constrained to match the frame of the TabSwitcher button's
-// image.
-extern GuideName* const kTabSwitcherGuide;
-// A guide that is constrained to match the frame of the ToolsMenu button.
-extern GuideName* const kToolsMenuGuide;
+// NamedGuides must be created using |-initWithName:|.
+- (instancetype)init NS_UNAVAILABLE;
+- (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE;
 
-//
-//////////////////////////////////////////
-
-// Returns the UILayoutGuide with the given |name|, if one is attached to |view|
+// Returns the NamedGuide with the given |name|, if one is attached to |view|
 // or one of |view|'s ancestors.  If no guide is found, returns nil.
-UILayoutGuide* FindNamedGuide(GuideName* name, UIView* view);
++ (instancetype)guideWithName:(GuideName*)name view:(UIView*)view;
 
-// Creates and attaches a new UILayoutGuide to the given |view| and makes it
-// globally accessible under the given |name|.  It is an error to add a guide
-// with the same name as an existing guide.  Returns the newly-created guide.
-UILayoutGuide* AddNamedGuide(GuideName* name, UIView* view);
+// The GuideName passed on initialization.
+@property(nonatomic, readonly) GuideName* name;
 
-// Adds constraints such as the layoutGuide with |guideName| matches the |view|.
-// The layout guide has to be owned by |view| or one of its superview.
-void ConstrainNamedGuideToView(GuideName* guideName, UIView* view);
+// The view to which this guide should be constrained.  Setting this property
+// to a new value will update the guide's constraints to match the new view.
+// Setting to nil removes constraints.
+@property(nonatomic, weak) UIView* constrainedView;
+
+@end
 
 #endif  // IOS_CHROME_BROWSER_UI_UTIL_NAMED_GUIDE_H_
diff --git a/ios/chrome/browser/ui/util/named_guide.mm b/ios/chrome/browser/ui/util/named_guide.mm
index e768b84..3c3130f 100644
--- a/ios/chrome/browser/ui/util/named_guide.mm
+++ b/ios/chrome/browser/ui/util/named_guide.mm
@@ -5,43 +5,78 @@
 #import "ios/chrome/browser/ui/util/named_guide.h"
 
 #include "base/logging.h"
+#import "base/mac/foundation_util.h"
 #import "ios/chrome/browser/ui/util/constraints_ui_util.h"
 
 #if !defined(__has_feature) || !__has_feature(objc_arc)
 #error "This file requires ARC support."
 #endif
 
-// Named guide constants.
-GuideName* const kSecondaryToolbar = @"kSecondaryToolbar";
-GuideName* const kSecondaryToolbarNoFullscreen =
-    @"kSecondaryToolbarNoFullscreen";
-GuideName* const kOmniboxGuide = @"kOmniboxGuide";
-GuideName* const kBackButtonGuide = @"kBackButtonGuide";
-GuideName* const kForwardButtonGuide = @"kForwardButtonGuide";
-GuideName* const kTabSwitcherGuide = @"kTabSwitcherGuide";
-GuideName* const kToolsMenuGuide = @"kToolsMenuGuide";
+@interface NamedGuide ()
 
-UILayoutGuide* FindNamedGuide(GuideName* name, UIView* view) {
+// The constraints used to connect the guide to |constrainedView|.
+@property(nonatomic, strong) NSArray* constrainedViewConstraints;
+
+@end
+
+@implementation NamedGuide
+@synthesize name = _name;
+@synthesize constrainedView = _constrainedView;
+@synthesize constrainedViewConstraints = _constrainedViewConstraints;
+
+- (instancetype)initWithName:(GuideName*)name {
+  if (self = [super init]) {
+    _name = name;
+  }
+  return self;
+}
+
+- (void)dealloc {
+  self.constrainedView = nil;
+}
+
+#pragma mark - Accessors
+
+- (void)setConstrainedView:(UIView*)constrainedView {
+  if (_constrainedView == constrainedView)
+    return;
+  _constrainedView = constrainedView;
+  if (_constrainedView) {
+    self.constrainedViewConstraints = @[
+      [self.leadingAnchor
+          constraintEqualToAnchor:_constrainedView.leadingAnchor],
+      [self.trailingAnchor
+          constraintEqualToAnchor:_constrainedView.trailingAnchor],
+      [self.topAnchor constraintEqualToAnchor:_constrainedView.topAnchor],
+      [self.bottomAnchor constraintEqualToAnchor:_constrainedView.bottomAnchor]
+    ];
+  } else {
+    self.constrainedViewConstraints = nil;
+  }
+}
+
+- (void)setConstrainedViewConstraints:(NSArray*)constrainedViewConstraints {
+  if (_constrainedViewConstraints == constrainedViewConstraints)
+    return;
+  if (_constrainedViewConstraints.count)
+    [NSLayoutConstraint deactivateConstraints:_constrainedViewConstraints];
+  _constrainedViewConstraints = constrainedViewConstraints;
+  if (_constrainedViewConstraints.count)
+    [NSLayoutConstraint activateConstraints:_constrainedViewConstraints];
+}
+
+#pragma mark - Public
+
++ (instancetype)guideWithName:(GuideName*)name view:(UIView*)view {
   while (view) {
     for (UILayoutGuide* guide in view.layoutGuides) {
-      if ([guide.identifier isEqualToString:name])
-        return guide;
+      NamedGuide* namedGuide = base::mac::ObjCCast<NamedGuide>(guide);
+      if ([namedGuide.name isEqualToString:name])
+        return namedGuide;
     }
     view = view.superview;
   }
   return nil;
 }
 
-UILayoutGuide* AddNamedGuide(GuideName* name, UIView* view) {
-  DCHECK(!FindNamedGuide(name, view));
-  UILayoutGuide* guide = [[UILayoutGuide alloc] init];
-  guide.identifier = name;
-  [view addLayoutGuide:guide];
-  return guide;
-}
-
-void ConstrainNamedGuideToView(GuideName* guideName, UIView* view) {
-  UILayoutGuide* layoutGuide = FindNamedGuide(guideName, view);
-  DCHECK(layoutGuide);
-  AddSameConstraints(view, layoutGuide);
-}
+@end
diff --git a/ios/chrome/browser/ui/util/named_guide_unittest.mm b/ios/chrome/browser/ui/util/named_guide_unittest.mm
index 26476d67..343fafe 100644
--- a/ios/chrome/browser/ui/util/named_guide_unittest.mm
+++ b/ios/chrome/browser/ui/util/named_guide_unittest.mm
@@ -19,11 +19,12 @@
   GuideName* test_guide = @"NamedGuideTest";
 
   UIView* view = [[UIView alloc] init];
-  EXPECT_EQ(nil, FindNamedGuide(test_guide, view));
+  EXPECT_EQ(nil, [NamedGuide guideWithName:test_guide view:view]);
 
   // The test_guide should be reachable after adding it.
-  EXPECT_NE(nil, AddNamedGuide(test_guide, view));
-  EXPECT_NE(nil, FindNamedGuide(test_guide, view));
+  NamedGuide* guide = [[NamedGuide alloc] initWithName:test_guide];
+  [view addLayoutGuide:guide];
+  EXPECT_EQ(guide, [NamedGuide guideWithName:test_guide view:view]);
 }
 
 // Tests that guides added to a child view are not reachable from the parent.
@@ -34,10 +35,12 @@
   UIView* childView = [[UIView alloc] init];
   [view addSubview:childView];
 
-  EXPECT_TRUE(AddNamedGuide(test_guide, childView));
+  NamedGuide* guide = [[NamedGuide alloc] initWithName:test_guide];
+  [childView addLayoutGuide:guide];
+
   // This guide should be reachable from the child, but not from the parent.
-  EXPECT_TRUE(FindNamedGuide(test_guide, childView));
-  EXPECT_FALSE(FindNamedGuide(test_guide, view));
+  EXPECT_EQ(guide, [NamedGuide guideWithName:test_guide view:childView]);
+  EXPECT_EQ(nil, [NamedGuide guideWithName:test_guide view:view]);
 }
 
 // Tests that children can reach guides that are added to ancestors.
@@ -50,10 +53,36 @@
   [view addSubview:childView];
   [childView addSubview:grandChildView];
 
-  // Add a guide to the parent view and ensure that it is reachable from all
-  // three views.
-  EXPECT_TRUE(AddNamedGuide(test_guide, view));
-  EXPECT_TRUE(FindNamedGuide(test_guide, grandChildView));
-  EXPECT_TRUE(FindNamedGuide(test_guide, childView));
-  EXPECT_TRUE(FindNamedGuide(test_guide, view));
+  NamedGuide* guide = [[NamedGuide alloc] initWithName:test_guide];
+  [view addLayoutGuide:guide];
+
+  // The guide added to the top-level view should be accessible from all
+  // descendent views.
+  EXPECT_EQ(guide, [NamedGuide guideWithName:test_guide view:grandChildView]);
+  EXPECT_EQ(guide, [NamedGuide guideWithName:test_guide view:childView]);
+  EXPECT_EQ(guide, [NamedGuide guideWithName:test_guide view:view]);
+}
+
+// Tests that resetting the constrained view updates the guide.
+TEST_F(NamedGuideTest, TestConstrainedViewUpdate) {
+  GuideName* test_guide = @"NamedGuideTest";
+
+  UIWindow* window =
+      [[UIWindow alloc] initWithFrame:CGRectMake(0, 0, 100, 100)];
+  UIView* view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)];
+  [window addSubview:view];
+  [view addSubview:[[UIView alloc] initWithFrame:CGRectMake(0, 0, 50, 100)]];
+  [view addSubview:[[UIView alloc] initWithFrame:CGRectMake(50, 0, 50, 100)]];
+
+  NamedGuide* guide = [[NamedGuide alloc] initWithName:test_guide];
+  [view addLayoutGuide:guide];
+
+  // Set the constrained view to the subviews and verify that the layout frame
+  // is updated.
+  for (UIView* subview in view.subviews) {
+    guide.constrainedView = subview;
+    [view setNeedsLayout];
+    [view layoutIfNeeded];
+    EXPECT_TRUE(CGRectEqualToRect(guide.layoutFrame, subview.frame));
+  }
 }
diff --git a/ios/chrome/browser/ui/util/named_guide_util.h b/ios/chrome/browser/ui/util/named_guide_util.h
new file mode 100644
index 0000000..147ca8a
--- /dev/null
+++ b/ios/chrome/browser/ui/util/named_guide_util.h
@@ -0,0 +1,18 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_CHROME_BROWSER_UI_UTIL_NAMED_GUIDE_UTIL_H_
+#define IOS_CHROME_BROWSER_UI_UTIL_NAMED_GUIDE_UTIL_H_
+
+#import "ios/chrome/browser/ui/util/layout_guide_names.h"
+
+// Adds NamedGuides with the GuideNames in |names| to |view|.
+void AddNamedGuidesToView(NSArray<GuideName*>* names, UIView* view);
+
+// Sets the constrained views for the NamedGuides indicated by the keys of
+// |views_for_names| to their corresponding values in the |views_for_names|.
+void SetNamedGuideConstrainedViews(
+    NSDictionary<GuideName*, UIView*>* views_for_names);
+
+#endif  // IOS_CHROME_BROWSER_UI_UTIL_NAMED_GUIDE_UTIL_H_
diff --git a/ios/chrome/browser/ui/util/named_guide_util.mm b/ios/chrome/browser/ui/util/named_guide_util.mm
new file mode 100644
index 0000000..0482cc1
--- /dev/null
+++ b/ios/chrome/browser/ui/util/named_guide_util.mm
@@ -0,0 +1,25 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "ios/chrome/browser/ui/util/named_guide_util.h"
+
+#import "ios/chrome/browser/ui/util/named_guide.h"
+
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
+void AddNamedGuidesToView(NSArray<GuideName*>* names, UIView* view) {
+  for (GuideName* name in names) {
+    [view addLayoutGuide:[[NamedGuide alloc] initWithName:name]];
+  }
+}
+
+void SetNamedGuideConstrainedViews(
+    NSDictionary<GuideName*, UIView*>* views_for_names) {
+  for (GuideName* name in [views_for_names allKeys]) {
+    UIView* view = views_for_names[name];
+    [NamedGuide guideWithName:name view:view].constrainedView = view;
+  }
+}
diff --git a/ios/public/provider/chrome/browser/images/BUILD.gn b/ios/public/provider/chrome/browser/images/BUILD.gn
index 596c2149..d5dd1c2 100644
--- a/ios/public/provider/chrome/browser/images/BUILD.gn
+++ b/ios/public/provider/chrome/browser/images/BUILD.gn
@@ -8,15 +8,12 @@
     "branded_image_icon_types.h",
     "branded_image_provider.h",
     "branded_image_provider.mm",
-
-    # This header is deprecated. It will be removed once downstream code
-    # has been fixed to use branded_image_icon_types.h instead.
-    "whats_new_icon.h",
   ]
   deps = [
     "//base",
     "//components/search_engines",
   ]
+  libs = [ "UIKit.framework" ]
 }
 
 source_set("test_support") {
diff --git a/ios/public/provider/chrome/browser/images/branded_image_provider.h b/ios/public/provider/chrome/browser/images/branded_image_provider.h
index 90ebfa8..a3c88406 100644
--- a/ios/public/provider/chrome/browser/images/branded_image_provider.h
+++ b/ios/public/provider/chrome/browser/images/branded_image_provider.h
@@ -5,11 +5,11 @@
 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_IMAGES_BRANDED_IMAGE_PROVIDER_H_
 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_IMAGES_BRANDED_IMAGE_PROVIDER_H_
 
+#import <UIKit/UIKit.h>
+
 #include "base/macros.h"
 #include "ios/public/provider/chrome/browser/images/branded_image_icon_types.h"
 
-@class UIImage;
-
 // BrandedImageProvider vends images that contain embedder-specific branding.
 // When adding method to this class, do not forget to add Chromium specific
 // implementation to ChromiumBrandedImageProvider (the file may not be in the
@@ -43,15 +43,16 @@
   // image for the toolbar voice search button.  If this method returns false,
   // |image_id| is invalid and callers should fall back to a default image.  The
   // returned image should be used for all toolbar styles and all button states.
+  // Deprecated, use GetToolbarVoiceSearchButtonImages(bool) instead.
   virtual bool GetToolbarVoiceSearchButtonImageId(int* image_id);
 
+  // Returns two 24pt x 24pt images to use for toolbar voice search button. The
+  // images corresponds to the normal and pressed state.
+  virtual NSArray<UIImage*>* GetToolbarVoiceSearchButtonImages(bool incognito);
+
   // Returns the 24pt x 24pt image corresponding to the given icon |type|.
   virtual UIImage* GetWhatsNewIconImage(WhatsNewIcon type);
 
-  // Returns the 38pt x 38pt image to use for the "search the web" button.
-  // Deprecated, instead use GetToolbarSearchButtonImage(SEARCH_ENGINE_GOOGLE).
-  virtual UIImage* GetToolbarSearchButtonImage();
-
   // Returns the 38pt x 38pt image to use for the "search the web" button
   // corresponding to the |type| search engine.
   virtual UIImage* GetToolbarSearchButtonImage(SearchEngineIcon type);
diff --git a/ios/public/provider/chrome/browser/images/branded_image_provider.mm b/ios/public/provider/chrome/browser/images/branded_image_provider.mm
index edb6046d..552f7d7 100644
--- a/ios/public/provider/chrome/browser/images/branded_image_provider.mm
+++ b/ios/public/provider/chrome/browser/images/branded_image_provider.mm
@@ -38,12 +38,13 @@
   return false;
 }
 
-UIImage* BrandedImageProvider::GetWhatsNewIconImage(WhatsNewIcon type) {
+NSArray<UIImage*>* BrandedImageProvider::GetToolbarVoiceSearchButtonImages(
+    bool incognito) {
   return nil;
 }
 
-UIImage* BrandedImageProvider::GetToolbarSearchButtonImage() {
-  return GetToolbarSearchButtonImage(SEARCH_ENGINE_ICON_GOOGLE_SEARCH);
+UIImage* BrandedImageProvider::GetWhatsNewIconImage(WhatsNewIcon type) {
+  return nil;
 }
 
 UIImage* BrandedImageProvider::GetToolbarSearchButtonImage(
diff --git a/ios/public/provider/chrome/browser/images/whats_new_icon.h b/ios/public/provider/chrome/browser/images/whats_new_icon.h
deleted file mode 100644
index 11a95fb..0000000
--- a/ios/public/provider/chrome/browser/images/whats_new_icon.h
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_IMAGES_WHATS_NEW_ICON_H_
-#define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_IMAGES_WHATS_NEW_ICON_H_
-
-// This forwarding header is deprecated. It will be removed once the downstream
-// code has been fixed to instead use branded_image_icon_types.h instead.
-
-#include "ios/public/provider/chrome/browser/images/branded_image_icon_types.h"
-
-#endif  // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_IMAGES_WHATS_NEW_ICON_H_
diff --git a/ios/web_view/internal/autofill/cwv_autofill_controller.mm b/ios/web_view/internal/autofill/cwv_autofill_controller.mm
index 70e2f90..34e6ec51 100644
--- a/ios/web_view/internal/autofill/cwv_autofill_controller.mm
+++ b/ios/web_view/internal/autofill/cwv_autofill_controller.mm
@@ -260,7 +260,7 @@
 }
 
 - (void)sendAutofillTypePredictionsToRenderer:
-    (const std::vector<autofill::FormStructure*>&)forms {
+    (const std::vector<autofill::FormDataPredictions>&)forms {
   // Not supported.
 }
 
diff --git a/ipc/README.md b/ipc/README.md
index 79bf3f8..5c73120e 100644
--- a/ipc/README.md
+++ b/ipc/README.md
@@ -54,7 +54,7 @@
 pertaining to foundational system services (more info at
 [https://www.chromium.org/servicification](https://www.chromium.org/servicification).)
 For other code it may make sense to introduce services elsewhere (*e.g.*, in
-`//chrome/services` or `//components/foo/service`), or to simply
+`//chrome/services` or `//components/services`), or to simply
 avoid using services altogether for now and instead define some one-off Mojom
 interface alongside the old messages file.
 
diff --git a/media/audio/audio_output_device.cc b/media/audio/audio_output_device.cc
index 8f54894..2a862e8 100644
--- a/media/audio/audio_output_device.cc
+++ b/media/audio/audio_output_device.cc
@@ -217,11 +217,7 @@
     case IPC_CLOSED:
       // We must make sure to not access |callback_| in case Stop() has already
       // been called.
-      {
-        base::AutoLock auto_lock_(audio_thread_lock_);
-        if (!stopping_hack_)
-          callback_->OnRenderError();
-      }
+      NotifyRenderCallbackOfError();
       break;
 
     case IDLE:
@@ -330,11 +326,7 @@
   // TODO(tommi): Add an explicit contract for clearing the callback
   // object.  Possibly require calling Initialize again or provide
   // a callback object via Start() and clear it in Stop().
-  {
-    base::AutoLock auto_lock_(audio_thread_lock_);
-    if (audio_thread_)
-      callback_->OnRenderError();
-  }
+  NotifyRenderCallbackOfError();
 }
 
 void AudioOutputDevice::OnDeviceAuthorized(
@@ -407,8 +399,8 @@
     // indefinitely after this method returns.
     ipc_->CloseStream();
     OnIPCClosed();
-    if (callback_)
-      callback_->OnRenderError();
+
+    NotifyRenderCallbackOfError();
   }
 }
 
@@ -473,6 +465,19 @@
   did_receive_auth_.Signal();
 }
 
+void AudioOutputDevice::NotifyRenderCallbackOfError() {
+  TRACE_EVENT0("audio", "AudioOutputDevice::NotifyRenderCallbackOfError");
+  DCHECK(task_runner()->BelongsToCurrentThread());
+
+  {
+    base::AutoLock auto_lock(audio_thread_lock_);
+    // Avoid signaling error if Initialize() hasn't been called yet, or if
+    // Stop() has already been called.
+    if (callback_ && !stopping_hack_)
+      callback_->OnRenderError();
+  }
+}
+
 void AudioOutputDevice::WillDestroyCurrentMessageLoop() {
   LOG(ERROR) << "IO loop going away before the audio device has been stopped";
   ShutDownOnIOThread();
diff --git a/media/audio/audio_output_device.h b/media/audio/audio_output_device.h
index edc6f320..679d7dc 100644
--- a/media/audio/audio_output_device.h
+++ b/media/audio/audio_output_device.h
@@ -160,6 +160,8 @@
       const std::string& matched_device_id,
       bool timed_out);
 
+  void NotifyRenderCallbackOfError();
+
   // base::MessageLoop::DestructionObserver implementation for the IO loop.
   // If the IO loop dies before we do, we shut down the audio thread from here.
   void WillDestroyCurrentMessageLoop() override;
diff --git a/media/audio/audio_output_device_unittest.cc b/media/audio/audio_output_device_unittest.cc
index 600a858b..b03f236e 100644
--- a/media/audio/audio_output_device_unittest.cc
+++ b/media/audio/audio_output_device_unittest.cc
@@ -392,6 +392,31 @@
   StopAudioDevice();
 }
 
+TEST_F(AudioOutputDeviceTest, AuthorizationFailsBeforeInitialize_NoError) {
+  // Clear audio device set by fixture.
+  StopAudioDevice();
+  audio_output_ipc_ = new MockAudioOutputIPC();
+  audio_device_ = new AudioOutputDevice(
+      base::WrapUnique(audio_output_ipc_), io_loop_.task_runner(), 0,
+      kDefaultDeviceId, url::Origin(),
+      base::TimeDelta::FromMilliseconds(kAuthTimeoutForTestingMs));
+  EXPECT_CALL(
+      *audio_output_ipc_,
+      RequestDeviceAuthorization(audio_device_.get(), 0, kDefaultDeviceId, _));
+
+  audio_device_->RequestDeviceAuthorization();
+  audio_device_->Initialize(default_audio_parameters_, &callback_);
+  base::RunLoop().RunUntilIdle();
+  audio_device_->Stop();
+
+  // We've stopped, so accessing |callback_| isn't ok.
+  EXPECT_CALL(callback_, OnRenderError()).Times(0);
+  audio_device_->OnDeviceAuthorized(OUTPUT_DEVICE_STATUS_ERROR_NOT_AUTHORIZED,
+                                    default_audio_parameters_,
+                                    kDefaultDeviceId);
+  base::RunLoop().RunUntilIdle();
+}
+
 TEST_F(AudioOutputDeviceTest, AuthorizationTimedOut) {
   base::Thread thread("DeviceInfo");
   thread.Start();
diff --git a/media/base/android/media_codec_loop_unittest.cc b/media/base/android/media_codec_loop_unittest.cc
index 5c034e48..2ed5946 100644
--- a/media/base/android/media_codec_loop_unittest.cc
+++ b/media/base/android/media_codec_loop_unittest.cc
@@ -95,7 +95,7 @@
     EXPECT_CALL(*client_, OnCodecLoopError()).Times(0);
     codec_loop_.reset(new MediaCodecLoop(sdk_int, client_.get(),
                                          std::move(codec), mock_task_runner_));
-    codec_loop_->SetTestTickClock(clock_.get());
+    codec_loop_->SetTestTickClock(mock_task_runner_->GetMockTickClock());
     Mock::VerifyAndClearExpectations(client_.get());
   }
 
@@ -190,10 +190,6 @@
       new base::TestMockTimeTaskRunner;
   base::ThreadTaskRunnerHandle task_runner_handle_;
 
-  // A reference to |mock_task_runner_|'s TickClock handed to |codec_loop_|.
-  std::unique_ptr<base::TickClock> clock_ =
-      mock_task_runner_->GetMockTickClock();
-
   std::unique_ptr<MediaCodecLoop> codec_loop_;
   std::unique_ptr<MockMediaCodecLoopClient> client_;
 
diff --git a/media/blink/video_decode_stats_reporter_unittest.cc b/media/blink/video_decode_stats_reporter_unittest.cc
index e956ba5..07cf13e 100644
--- a/media/blink/video_decode_stats_reporter_unittest.cc
+++ b/media/blink/video_decode_stats_reporter_unittest.cc
@@ -91,7 +91,6 @@
   void SetUp() override {
     // Do this first. Lots of pieces depend on the task runner.
     task_runner_ = new base::TestMockTimeTaskRunner();
-    clock_ = task_runner_->GetMockTickClock();
     message_loop_.SetTaskRunner(task_runner_);
 
     // Make reporter with default configuration. Connects RecordInterceptor as
@@ -174,7 +173,8 @@
         base::Bind(&VideoDecodeStatsReporterTest::GetPipelineStatsCB,
                    base::Unretained(this)),
         MakeDefaultVideoConfig(),
-        blink::scheduler::GetSingleThreadTaskRunnerForTesting(), clock_.get());
+        blink::scheduler::GetSingleThreadTaskRunnerForTesting(),
+        task_runner_->GetMockTickClock());
   }
 
   // Fast forward the task runner (and associated tick clock) by |milliseconds|.
@@ -340,10 +340,6 @@
   // used by message_loop_ in Setup().
   scoped_refptr<base::TestMockTimeTaskRunner> task_runner_;
 
-  // TODO(tzik): Remove |clock_| after updating GetMockTickClock to own the
-  // instance.
-  std::unique_ptr<base::TickClock> clock_;
-
   // Points to the interceptor that acts as a VideoDecodeStatsRecorder. The
   // object is owned by VideoDecodeStatsRecorderPtr, which is itself owned by
   // |reporter_|.
diff --git a/mojo/edk/system/message_unittest.cc b/mojo/edk/system/message_unittest.cc
index 290bbd6..8a3df87 100644
--- a/mojo/edk/system/message_unittest.cc
+++ b/mojo/edk/system/message_unittest.cc
@@ -705,11 +705,11 @@
     ASSERT_GE(buffer_size, static_cast<uint32_t>(kTestMessageHeader.size()));
     memcpy(buffer, kTestMessageHeader.data(), kTestMessageHeader.size());
 
-    // 5 MB should be well beyond any reasonable default buffer size for the
+    // 512 kB should be well beyond any reasonable default buffer size for the
     // system implementation to choose, meaning that this test should guarantee
     // several reallocations of the serialized message buffer as we
     // progressively extend the payload to this size.
-    constexpr size_t kTestMessagePayloadSize = 5 * 1024 * 1024;
+    constexpr size_t kTestMessagePayloadSize = 512 * 1024;
     std::vector<uint8_t> test_payload(kTestMessagePayloadSize);
     base::RandBytes(test_payload.data(), kTestMessagePayloadSize);
 
diff --git a/net/http/broken_alternative_services_unittest.cc b/net/http/broken_alternative_services_unittest.cc
index 341419d..aac8f64f 100644
--- a/net/http/broken_alternative_services_unittest.cc
+++ b/net/http/broken_alternative_services_unittest.cc
@@ -23,7 +23,7 @@
       : test_task_runner_(new base::TestMockTimeTaskRunner()),
         test_task_runner_context_(test_task_runner_),
         broken_services_clock_(test_task_runner_->GetMockTickClock()),
-        broken_services_(this, broken_services_clock_.get()) {}
+        broken_services_(this, broken_services_clock_) {}
 
   // BrokenAlternativeServices::Delegate implementation
   void OnExpireBrokenAlternativeService(
@@ -37,7 +37,7 @@
   scoped_refptr<base::TestMockTimeTaskRunner> test_task_runner_;
   base::TestMockTimeTaskRunner::ScopedContext test_task_runner_context_;
 
-  std::unique_ptr<base::TickClock> broken_services_clock_;
+  base::TickClock* broken_services_clock_;
   BrokenAlternativeServices broken_services_;
 
   std::vector<AlternativeService> expired_alt_svcs_;
@@ -634,4 +634,4 @@
 
 }  // namespace
 
-}  // namespace net
\ No newline at end of file
+}  // namespace net
diff --git a/net/http/http_server_properties_impl_unittest.cc b/net/http/http_server_properties_impl_unittest.cc
index ef8e7643..4c460bb 100644
--- a/net/http/http_server_properties_impl_unittest.cc
+++ b/net/http/http_server_properties_impl_unittest.cc
@@ -67,7 +67,7 @@
   HttpServerPropertiesImplTest()
       : test_task_runner_(new base::TestMockTimeTaskRunner()),
         test_tick_clock_(test_task_runner_->GetMockTickClock()),
-        impl_(test_tick_clock_.get(), &test_clock_) {
+        impl_(test_tick_clock_, &test_clock_) {
     // Set |test_clock_| to some random time.
     test_clock_.Advance(base::TimeDelta::FromSeconds(12345));
   }
@@ -98,7 +98,7 @@
 
   scoped_refptr<base::TestMockTimeTaskRunner> test_task_runner_;
 
-  std::unique_ptr<base::TickClock> test_tick_clock_;
+  base::TickClock* test_tick_clock_;
   base::SimpleTestClock test_clock_;
 
   HttpServerPropertiesImpl impl_;
diff --git a/net/http/http_server_properties_manager_unittest.cc b/net/http/http_server_properties_manager_unittest.cc
index 20e835cf0..5e44a1fd 100644
--- a/net/http/http_server_properties_manager_unittest.cc
+++ b/net/http/http_server_properties_manager_unittest.cc
@@ -114,8 +114,7 @@
     advertised_versions_ = HttpNetworkSession::Params().quic_supported_versions;
     pref_delegate_ = new MockPrefDelegate;
 
-    clock_ = test_task_runner_->GetMockTickClock();
-    net_test_task_runner_clock_ = clock_.get();
+    net_test_task_runner_clock_ = test_task_runner_->GetMockTickClock();
     http_server_props_manager_ = std::make_unique<HttpServerPropertiesManager>(
         base::WrapUnique(pref_delegate_), /*net_log=*/nullptr,
         net_test_task_runner_clock_);
@@ -151,10 +150,6 @@
   // Overrides the main thread's message loop with a mock tick clock.
   base::ScopedMockTimeMessageLoopTaskRunner test_task_runner_;
 
-  // TODO(tzik): Remove |clock_| after updating GetMockTickClock to own the
-  // instance.
-  std::unique_ptr<base::TickClock> clock_;
-
   base::TickClock* net_test_task_runner_clock_;
 
  private:
diff --git a/net/quic/core/quic_flags_list.h b/net/quic/core/quic_flags_list.h
index 82539b7..cc59183 100644
--- a/net/quic/core/quic_flags_list.h
+++ b/net/quic/core/quic_flags_list.h
@@ -152,7 +152,7 @@
 QUIC_FLAG(bool, FLAGS_quic_enable_version_99, false)
 
 // If true, enable QUIC version 42.
-QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_42_2, false)
+QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_42_2, true)
 
 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_disable_version_37, false)
 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_disable_version_38, false)
diff --git a/net/spdy/chromium/spdy_session.cc b/net/spdy/chromium/spdy_session.cc
index c5103db..e129f268 100644
--- a/net/spdy/chromium/spdy_session.cc
+++ b/net/spdy/chromium/spdy_session.cc
@@ -1739,11 +1739,32 @@
                  stream_id),
       base::TimeDelta::FromSeconds(kPushedStreamLifetimeSeconds));
 
-  // TODO(https://crbug.com/656607): Add proper annotation here.
+  net::NetworkTrafficAnnotationTag traffic_annotation =
+      net::DefineNetworkTrafficAnnotation("spdy_push_stream", R"(
+        semantics {
+          sender: "Spdy Session"
+          description:
+            "When a web server needs to push a response to a client, an "
+            "incoming stream is created to reply the client with pushed "
+            "message instead of a message from the network."
+          trigger:
+            "A request by a server to push a response to the client."
+          data: "None."
+          destination: OTHER
+          destination_other:
+            "This stream is not used for sending data."
+        }
+        policy {
+          cookies_allowed: NO
+          setting: "This feature cannot be disabled."
+          policy_exception_justification: "Essential for navigation."
+        }
+    )");
+
   auto stream = std::make_unique<SpdyStream>(
       SPDY_PUSH_STREAM, GetWeakPtr(), gurl, request_priority,
       stream_initial_send_window_size_, stream_max_recv_window_size_, net_log_,
-      NO_TRAFFIC_ANNOTATION_BUG_656607);
+      traffic_annotation);
   stream->set_stream_id(stream_id);
 
   // Convert RequestPriority to a SpdyPriority to send in a PRIORITY frame.
diff --git a/remoting/host/gcd_state_updater_unittest.cc b/remoting/host/gcd_state_updater_unittest.cc
index 5d74872..1458db2 100644
--- a/remoting/host/gcd_state_updater_unittest.cc
+++ b/remoting/host/gcd_state_updater_unittest.cc
@@ -31,7 +31,6 @@
   GcdStateUpdaterTest()
       : task_runner_(new base::TestMockTimeTaskRunner()),
         runner_handler_(task_runner_),
-        clock_(task_runner_->GetMockClock()),
         token_getter_(OAuthTokenGetter::SUCCESS,
                       "<fake_user_email>",
                       "<fake_access_token>"),
@@ -50,9 +49,6 @@
  protected:
   scoped_refptr<base::TestMockTimeTaskRunner> task_runner_;
   base::ThreadTaskRunnerHandle runner_handler_;
-  // TODO(tzik): Remove |clock_| after updating TestMockTimeTaskRunner to own
-  // the clock instances.
-  std::unique_ptr<base::Clock> clock_;
   base::SimpleTestClock test_clock_;
   net::TestURLFetcherFactory url_fetcher_factory_;
   FakeOAuthTokenGetter token_getter_;
@@ -143,7 +139,7 @@
   fetcher->set_response_code(0);
   fetcher->delegate()->OnURLFetchComplete(fetcher);
   task_runner_->FastForwardBy(base::TimeDelta::FromSeconds(1));
-  EXPECT_EQ(1.0, clock_->Now().ToDoubleT());
+  EXPECT_EQ(1.0, task_runner_->Now().ToDoubleT());
   fetcher = url_fetcher_factory_.GetFetcherByID(0);
   ASSERT_TRUE(fetcher);
   fetcher->set_response_code(200);
diff --git a/services/audio/BUILD.gn b/services/audio/BUILD.gn
index b5a0b53..4722654 100644
--- a/services/audio/BUILD.gn
+++ b/services/audio/BUILD.gn
@@ -25,6 +25,8 @@
     "service.h",
     "service_factory.cc",
     "service_factory.h",
+    "stream_factory.cc",
+    "stream_factory.h",
     "system_info.cc",
     "system_info.h",
   ]
diff --git a/services/audio/output_stream_unittest.cc b/services/audio/output_stream_unittest.cc
index 650b0fc3..c4905cc 100644
--- a/services/audio/output_stream_unittest.cc
+++ b/services/audio/output_stream_unittest.cc
@@ -8,11 +8,13 @@
 
 #include "base/test/mock_callback.h"
 #include "base/test/scoped_task_environment.h"
+#include "base/unguessable_token.h"
 #include "media/audio/audio_io.h"
 #include "media/audio/mock_audio_manager.h"
 #include "media/audio/test_audio_thread.h"
 #include "mojo/edk/system/core.h"
 #include "mojo/public/cpp/bindings/associated_binding.h"
+#include "services/audio/stream_factory.h"
 #include "services/audio/test/mock_log.h"
 #include "testing/gmock/include/gmock/gmock.h"
 #include "testing/gtest/include/gtest/gtest.h"
@@ -74,12 +76,12 @@
   MockObserver() : binding_(this) {}
 
   // Should only be called once.
-  media::mojom::AudioOutputStreamObserverAssociatedPtr MakePtr() {
-    media::mojom::AudioOutputStreamObserverAssociatedPtr ptr;
-    binding_.Bind(mojo::MakeRequestAssociatedWithDedicatedPipe(&ptr));
+  media::mojom::AudioOutputStreamObserverAssociatedPtrInfo MakePtrInfo() {
+    media::mojom::AudioOutputStreamObserverAssociatedPtrInfo ptr_info;
+    binding_.Bind(mojo::MakeRequest(&ptr_info));
     binding_.set_connection_error_handler(base::BindOnce(
         &MockObserver::BindingConnectionError, base::Unretained(this)));
-    return ptr;
+    return ptr_info;
   }
 
   void CloseBinding() { binding_.Close(); }
@@ -124,7 +126,10 @@
 class TestEnvironment {
  public:
   TestEnvironment()
-      : audio_manager_(std::make_unique<media::TestAudioThread>(false)) {
+      : audio_manager_(std::make_unique<media::TestAudioThread>(false)),
+        stream_factory_(&audio_manager_),
+        stream_factory_binding_(&stream_factory_,
+                                mojo::MakeRequest(&stream_factory_ptr_)) {
     mojo::edk::SetDefaultProcessErrorCallback(bad_message_callback_.Get());
   }
 
@@ -134,12 +139,14 @@
   using MockBadMessageCallback =
       base::MockCallback<base::RepeatingCallback<void(const std::string&)>>;
 
-  std::unique_ptr<OutputStream> CreateStream(
-      media::mojom::AudioOutputStreamRequest request) {
-    return std::make_unique<OutputStream>(
-        created_callback_.Get(), delete_callback_.Get(), std::move(request),
-        client_.MakePtr(), observer_.MakePtr(), log_.MakePtr(), &audio_manager_,
-        "", media::AudioParameters::UnavailableDeviceParams());
+  media::mojom::AudioOutputStreamPtr CreateStream() {
+    media::mojom::AudioOutputStreamPtr stream_ptr;
+    stream_factory_ptr_->CreateOutputStream(
+        mojo::MakeRequest(&stream_ptr), client_.MakePtr(),
+        observer_.MakePtrInfo(), log_.MakePtr(), "",
+        media::AudioParameters::UnavailableDeviceParams(),
+        base::UnguessableToken::Create(), created_callback_.Get());
+    return stream_ptr;
   }
 
   media::MockAudioManager& audio_manager() { return audio_manager_; }
@@ -152,8 +159,6 @@
 
   MockCreatedCallback& created_callback() { return created_callback_; }
 
-  MockDeleteCallback& delete_callback() { return delete_callback_; }
-
   MockBadMessageCallback& bad_message_callback() {
     return bad_message_callback_;
   }
@@ -161,11 +166,13 @@
  private:
   base::test::ScopedTaskEnvironment tasks_;
   media::MockAudioManager audio_manager_;
+  StreamFactory stream_factory_;
+  mojom::StreamFactoryPtr stream_factory_ptr_;
+  mojo::Binding<mojom::StreamFactory> stream_factory_binding_;
   StrictMock<MockClient> client_;
   StrictMock<MockObserver> observer_;
   NiceMock<MockLog> log_;
   StrictMock<MockCreatedCallback> created_callback_;
-  StrictMock<MockDeleteCallback> delete_callback_;
   StrictMock<MockBadMessageCallback> bad_message_callback_;
 
   DISALLOW_COPY_AND_ASSIGN(TestEnvironment);
@@ -184,9 +191,7 @@
   EXPECT_CALL(mock_stream, SetVolume(1));
   EXPECT_CALL(env.log(), OnCreated(_, _));
 
-  media::mojom::AudioOutputStreamPtr stream_ptr;
-  std::unique_ptr<OutputStream> stream =
-      env.CreateStream(mojo::MakeRequest(&stream_ptr));
+  media::mojom::AudioOutputStreamPtr stream_ptr = env.CreateStream();
   base::RunLoop().RunUntilIdle();
   Mock::VerifyAndClear(&mock_stream);
   Mock::VerifyAndClear(&env.created_callback());
@@ -195,6 +200,8 @@
   EXPECT_CALL(mock_stream, Close());
   EXPECT_CALL(env.observer(), BindingConnectionError());
   EXPECT_CALL(env.client(), BindingConnectionError());
+  stream_ptr.reset();
+  base::RunLoop().RunUntilIdle();
 }
 
 TEST(OutputStreamTest, ConstructStreamAndDestructObserver_DestructsStream) {
@@ -209,22 +216,17 @@
   EXPECT_CALL(mock_stream, Open()).WillOnce(Return(true));
   EXPECT_CALL(mock_stream, SetVolume(1));
 
-  media::mojom::AudioOutputStreamPtr stream_ptr;
-  std::unique_ptr<OutputStream> stream =
-      env.CreateStream(mojo::MakeRequest(&stream_ptr));
+  media::mojom::AudioOutputStreamPtr stream_ptr = env.CreateStream();
   base::RunLoop().RunUntilIdle();
   Mock::VerifyAndClear(&mock_stream);
   Mock::VerifyAndClear(&env.created_callback());
 
   EXPECT_CALL(mock_stream, Close());
   EXPECT_CALL(env.client(), BindingConnectionError());
-  EXPECT_CALL(env.delete_callback(), Run(stream.release()))
-      .WillOnce(DeleteArg<0>());
 
   env.observer().CloseBinding();
   base::RunLoop().RunUntilIdle();
 
-  Mock::VerifyAndClear(&env.delete_callback());
   Mock::VerifyAndClear(&mock_stream);
   Mock::VerifyAndClear(&env.client());
 }
@@ -241,22 +243,17 @@
   EXPECT_CALL(mock_stream, Open()).WillOnce(Return(true));
   EXPECT_CALL(mock_stream, SetVolume(1));
 
-  media::mojom::AudioOutputStreamPtr stream_ptr;
-  std::unique_ptr<OutputStream> stream =
-      env.CreateStream(mojo::MakeRequest(&stream_ptr));
+  media::mojom::AudioOutputStreamPtr stream_ptr = env.CreateStream();
   base::RunLoop().RunUntilIdle();
   Mock::VerifyAndClear(&mock_stream);
   Mock::VerifyAndClear(&env.created_callback());
 
   EXPECT_CALL(mock_stream, Close());
   EXPECT_CALL(env.observer(), BindingConnectionError());
-  EXPECT_CALL(env.delete_callback(), Run(stream.release()))
-      .WillOnce(DeleteArg<0>());
 
   env.client().CloseBinding();
   base::RunLoop().RunUntilIdle();
 
-  Mock::VerifyAndClear(&env.delete_callback());
   Mock::VerifyAndClear(&mock_stream);
   Mock::VerifyAndClear(&env.observer());
 }
@@ -273,9 +270,7 @@
   EXPECT_CALL(mock_stream, Open()).WillOnce(Return(true));
   EXPECT_CALL(mock_stream, SetVolume(1));
 
-  media::mojom::AudioOutputStreamPtr stream_ptr;
-  std::unique_ptr<OutputStream> stream =
-      env.CreateStream(mojo::MakeRequest(&stream_ptr));
+  media::mojom::AudioOutputStreamPtr stream_ptr = env.CreateStream();
   base::RunLoop().RunUntilIdle();
   Mock::VerifyAndClear(&mock_stream);
   Mock::VerifyAndClear(&env.created_callback());
@@ -283,13 +278,10 @@
   EXPECT_CALL(mock_stream, Close());
   EXPECT_CALL(env.observer(), BindingConnectionError());
   EXPECT_CALL(env.client(), BindingConnectionError());
-  EXPECT_CALL(env.delete_callback(), Run(stream.release()))
-      .WillOnce(DeleteArg<0>());
 
   stream_ptr.reset();
   base::RunLoop().RunUntilIdle();
 
-  Mock::VerifyAndClear(&env.delete_callback());
   Mock::VerifyAndClear(&mock_stream);
   Mock::VerifyAndClear(&env.client());
   Mock::VerifyAndClear(&env.observer());
@@ -307,9 +299,7 @@
   EXPECT_CALL(mock_stream, Open()).WillOnce(Return(true));
   EXPECT_CALL(mock_stream, SetVolume(1));
 
-  media::mojom::AudioOutputStreamPtr stream_ptr;
-  std::unique_ptr<OutputStream> stream =
-      env.CreateStream(mojo::MakeRequest(&stream_ptr));
+  media::mojom::AudioOutputStreamPtr stream_ptr = env.CreateStream();
   base::RunLoop().RunUntilIdle();
   Mock::VerifyAndClear(&mock_stream);
   Mock::VerifyAndClear(&env.created_callback());
@@ -331,6 +321,8 @@
   EXPECT_CALL(env.observer(), DidStopPlaying()).Times(AtMost(1));
   EXPECT_CALL(env.observer(), BindingConnectionError());
   EXPECT_CALL(env.client(), BindingConnectionError());
+  stream_ptr.reset();
+  base::RunLoop().RunUntilIdle();
 }
 
 TEST(OutputStreamTest, PlayAndPause_PlaysAndStops) {
@@ -345,9 +337,7 @@
   EXPECT_CALL(mock_stream, Open()).WillOnce(Return(true));
   EXPECT_CALL(mock_stream, SetVolume(1));
 
-  media::mojom::AudioOutputStreamPtr stream_ptr;
-  std::unique_ptr<OutputStream> stream =
-      env.CreateStream(mojo::MakeRequest(&stream_ptr));
+  media::mojom::AudioOutputStreamPtr stream_ptr = env.CreateStream();
   base::RunLoop().RunUntilIdle();
   Mock::VerifyAndClear(&mock_stream);
   Mock::VerifyAndClear(&env.created_callback());
@@ -374,6 +364,8 @@
   EXPECT_CALL(mock_stream, Close());
   EXPECT_CALL(env.observer(), BindingConnectionError());
   EXPECT_CALL(env.client(), BindingConnectionError());
+  stream_ptr.reset();
+  base::RunLoop().RunUntilIdle();
 }
 
 TEST(OutputStreamTest, SetVolume_SetsVolume) {
@@ -389,9 +381,7 @@
   EXPECT_CALL(mock_stream, Open()).WillOnce(Return(true));
   EXPECT_CALL(mock_stream, SetVolume(1));
 
-  media::mojom::AudioOutputStreamPtr stream_ptr;
-  std::unique_ptr<OutputStream> stream =
-      env.CreateStream(mojo::MakeRequest(&stream_ptr));
+  media::mojom::AudioOutputStreamPtr stream_ptr = env.CreateStream();
   base::RunLoop().RunUntilIdle();
   Mock::VerifyAndClear(&mock_stream);
   Mock::VerifyAndClear(&env.created_callback());
@@ -405,6 +395,8 @@
   EXPECT_CALL(mock_stream, Close());
   EXPECT_CALL(env.observer(), BindingConnectionError());
   EXPECT_CALL(env.client(), BindingConnectionError());
+  stream_ptr.reset();
+  base::RunLoop().RunUntilIdle();
 }
 
 TEST(OutputStreamTest, SetNegativeVolume_BadMessage) {
@@ -419,9 +411,7 @@
   EXPECT_CALL(mock_stream, Open()).WillOnce(Return(true));
   EXPECT_CALL(mock_stream, SetVolume(1));
 
-  media::mojom::AudioOutputStreamPtr stream_ptr;
-  std::unique_ptr<OutputStream> stream =
-      env.CreateStream(mojo::MakeRequest(&stream_ptr));
+  media::mojom::AudioOutputStreamPtr stream_ptr = env.CreateStream();
   base::RunLoop().RunUntilIdle();
   Mock::VerifyAndClear(&mock_stream);
   Mock::VerifyAndClear(&env.created_callback());
@@ -430,8 +420,6 @@
   EXPECT_CALL(env.observer(), BindingConnectionError());
   EXPECT_CALL(env.client(), BindingConnectionError());
   EXPECT_CALL(env.bad_message_callback(), Run(_));
-  EXPECT_CALL(env.delete_callback(), Run(stream.release()))
-      .WillOnce(DeleteArg<0>());
   stream_ptr->SetVolume(-0.1);
   base::RunLoop().RunUntilIdle();
 }
@@ -448,9 +436,7 @@
   EXPECT_CALL(mock_stream, Open()).WillOnce(Return(true));
   EXPECT_CALL(mock_stream, SetVolume(1));
 
-  media::mojom::AudioOutputStreamPtr stream_ptr;
-  std::unique_ptr<OutputStream> stream =
-      env.CreateStream(mojo::MakeRequest(&stream_ptr));
+  media::mojom::AudioOutputStreamPtr stream_ptr = env.CreateStream();
   base::RunLoop().RunUntilIdle();
   Mock::VerifyAndClear(&mock_stream);
   Mock::VerifyAndClear(&env.created_callback());
@@ -459,8 +445,6 @@
   EXPECT_CALL(env.observer(), BindingConnectionError());
   EXPECT_CALL(env.client(), BindingConnectionError());
   EXPECT_CALL(env.bad_message_callback(), Run(_));
-  EXPECT_CALL(env.delete_callback(), Run(stream.release()))
-      .WillOnce(DeleteArg<0>());
   stream_ptr->SetVolume(1.1);
   base::RunLoop().RunUntilIdle();
 }
@@ -470,19 +454,14 @@
 
   // By default, the MockAudioManager fails to create a stream.
 
-  media::mojom::AudioOutputStreamPtr stream_ptr;
-  std::unique_ptr<OutputStream> stream =
-      env.CreateStream(mojo::MakeRequest(&stream_ptr));
+  media::mojom::AudioOutputStreamPtr stream_ptr = env.CreateStream();
 
   EXPECT_CALL(env.created_callback(), Created(unsuccessfully_));
   EXPECT_CALL(env.observer(), BindingConnectionError());
   EXPECT_CALL(env.log(), OnError());
   EXPECT_CALL(env.client(), OnError());
   EXPECT_CALL(env.client(), BindingConnectionError());
-  EXPECT_CALL(env.delete_callback(), Run(stream.release()))
-      .WillOnce(DeleteArg<0>());
   base::RunLoop().RunUntilIdle();
-  Mock::VerifyAndClear(&env.delete_callback());
   Mock::VerifyAndClear(&env.client());
   Mock::VerifyAndClear(&env.observer());
 }
@@ -495,16 +474,12 @@
 
   // By default, the MockAudioManager fails to create a stream.
 
-  media::mojom::AudioOutputStreamPtr stream_ptr;
-  {
-    EXPECT_CALL(env.created_callback(), Created(unsuccessfully_));
-    std::unique_ptr<OutputStream> stream =
-        env.CreateStream(mojo::MakeRequest(&stream_ptr));
+  media::mojom::AudioOutputStreamPtr stream_ptr = env.CreateStream();
+  EXPECT_CALL(env.created_callback(), Created(unsuccessfully_));
 
-    EXPECT_CALL(env.observer(), BindingConnectionError());
-    EXPECT_CALL(env.client(), OnError());
-    EXPECT_CALL(env.client(), BindingConnectionError());
-  }
+  EXPECT_CALL(env.observer(), BindingConnectionError());
+  EXPECT_CALL(env.client(), OnError());
+  EXPECT_CALL(env.client(), BindingConnectionError());
 
   base::RunLoop().RunUntilIdle();
   Mock::VerifyAndClear(&env.client());
diff --git a/services/audio/public/mojom/BUILD.gn b/services/audio/public/mojom/BUILD.gn
index 079f324..330ebef 100644
--- a/services/audio/public/mojom/BUILD.gn
+++ b/services/audio/public/mojom/BUILD.gn
@@ -8,6 +8,7 @@
   sources = [
     "audio_device_description.mojom",
     "debug_recording.mojom",
+    "stream_factory.mojom",
     "system_info.mojom",
   ]
 
diff --git a/services/audio/public/mojom/stream_factory.mojom b/services/audio/public/mojom/stream_factory.mojom
new file mode 100644
index 0000000..cabdc24
--- /dev/null
+++ b/services/audio/public/mojom/stream_factory.mojom
@@ -0,0 +1,29 @@
+module audio.mojom;
+
+import "media/mojo/interfaces/audio_data_pipe.mojom";
+import "media/mojo/interfaces/audio_logging.mojom";
+import "media/mojo/interfaces/audio_output_stream.mojom";
+import "media/mojo/interfaces/audio_parameters.mojom";
+import "mojo/common/unguessable_token.mojom";
+
+// This interface is exposed by the audio service to allow trusted clients
+// (like the browser process) to create streams. Note that while the factory
+// interface itself is only for trusted clients, the created streams and data
+// pipes may be forwarded to untrusted clients.
+// TODO(803102): Add other stream creation functionality to this interface.
+interface StreamFactory {
+  // Creates an AudioOutputStream and returns the AudioDataPipe it reads data
+  // from. |data_pipe| is null in case stream creation failed.
+  // |device_id| is either the |unique_id| field from an AudioDeviceDescription
+  // obtained from the audio.mojom.SystemInfo interface, or "default".
+  // |stream_group_id| will later be used for muting streams or capturing them
+  // for loopback.
+  CreateOutputStream(
+    media.mojom.AudioOutputStream& stream,
+    media.mojom.AudioOutputStreamClient client,
+    associated media.mojom.AudioOutputStreamObserver observer,
+    media.mojom.AudioLog log,
+    string device_id, media.mojom.AudioParameters params,
+    mojo.common.mojom.UnguessableToken stream_group_id)
+    => (media.mojom.AudioDataPipe? data_pipe);
+};
diff --git a/services/audio/stream_factory.cc b/services/audio/stream_factory.cc
new file mode 100644
index 0000000..67e235c
--- /dev/null
+++ b/services/audio/stream_factory.cc
@@ -0,0 +1,55 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "services/audio/stream_factory.h"
+
+#include <utility>
+
+#include "services/audio/output_stream.h"
+
+namespace audio {
+
+StreamFactory::StreamFactory(media::AudioManager* audio_manager)
+    : audio_manager_(audio_manager) {}
+
+StreamFactory::~StreamFactory() {
+  DCHECK_CALLED_ON_VALID_SEQUENCE(owning_sequence_);
+}
+
+void StreamFactory::BindRequest(mojom::StreamFactoryRequest request) {
+  DCHECK_CALLED_ON_VALID_SEQUENCE(owning_sequence_);
+  bindings_.AddBinding(this, std::move(request));
+}
+
+void StreamFactory::CreateOutputStream(
+    media::mojom::AudioOutputStreamRequest stream_request,
+    media::mojom::AudioOutputStreamClientPtr client,
+    media::mojom::AudioOutputStreamObserverAssociatedPtrInfo observer_info,
+    media::mojom::AudioLogPtr log,
+    const std::string& output_device_id,
+    const media::AudioParameters& params,
+    const base::UnguessableToken& group_id,
+    CreateOutputStreamCallback created_callback) {
+  DCHECK_CALLED_ON_VALID_SEQUENCE(owning_sequence_);
+
+  media::mojom::AudioOutputStreamObserverAssociatedPtr observer;
+  observer.Bind(std::move(observer_info));
+
+  // Unretained is safe since |this| indirectly owns the OutputStream.
+  auto deleter_callback = base::BindOnce(&StreamFactory::RemoveOutputStream,
+                                         base::Unretained(this));
+
+  output_streams_.insert(std::make_unique<OutputStream>(
+      std::move(created_callback), std::move(deleter_callback),
+      std::move(stream_request), std::move(client), std::move(observer),
+      std::move(log), audio_manager_, output_device_id, params));
+}
+
+void StreamFactory::RemoveOutputStream(OutputStream* stream) {
+  DCHECK_CALLED_ON_VALID_SEQUENCE(owning_sequence_);
+  size_t erased = output_streams_.erase(stream);
+  DCHECK_EQ(1u, erased);
+}
+
+}  // namespace audio
diff --git a/services/audio/stream_factory.h b/services/audio/stream_factory.h
new file mode 100644
index 0000000..f610e63
--- /dev/null
+++ b/services/audio/stream_factory.h
@@ -0,0 +1,74 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef SERVICES_AUDIO_STREAM_FACTORY_H_
+#define SERVICES_AUDIO_STREAM_FACTORY_H_
+
+#include <memory>
+#include <string>
+
+#include "base/callback.h"
+#include "base/containers/flat_set.h"
+#include "base/containers/unique_ptr_adapters.h"
+#include "base/macros.h"
+#include "base/sequence_checker.h"
+#include "media/mojo/interfaces/audio_logging.mojom.h"
+#include "media/mojo/interfaces/audio_output_stream.mojom.h"
+#include "mojo/public/cpp/bindings/binding_set.h"
+#include "services/audio/public/mojom/stream_factory.mojom.h"
+
+namespace base {
+class UnguessableToken;
+}
+
+namespace media {
+class AudioManager;
+class AudioParameters;
+}  // namespace media
+
+namespace audio {
+
+class OutputStream;
+
+// This class is used to provide the StreamFactory interface. It will typically
+// be instantiated when needed and remain for the lifetime of the service.
+// Destructing the factory will also destroy all the streams it has created.
+// |audio_manager| must outlive the factory.
+class StreamFactory final : public mojom::StreamFactory {
+ public:
+  explicit StreamFactory(media::AudioManager* audio_manager);
+  ~StreamFactory() final;
+
+  void BindRequest(mojom::StreamFactoryRequest request);
+
+  // StreamFactory implementation.
+  void CreateOutputStream(
+      media::mojom::AudioOutputStreamRequest stream_request,
+      media::mojom::AudioOutputStreamClientPtr client,
+      media::mojom::AudioOutputStreamObserverAssociatedPtrInfo observer_info,
+      media::mojom::AudioLogPtr log,
+      const std::string& output_device_id,
+      const media::AudioParameters& params,
+      const base::UnguessableToken& group_id,
+      CreateOutputStreamCallback created_callback) final;
+
+ private:
+  using OutputStreamSet =
+      base::flat_set<std::unique_ptr<OutputStream>, base::UniquePtrComparator>;
+
+  void RemoveOutputStream(OutputStream* stream);
+
+  SEQUENCE_CHECKER(owning_sequence_);
+
+  media::AudioManager* const audio_manager_;
+
+  mojo::BindingSet<mojom::StreamFactory> bindings_;
+  OutputStreamSet output_streams_;
+
+  DISALLOW_COPY_AND_ASSIGN(StreamFactory);
+};
+
+}  // namespace audio
+
+#endif  // SERVICES_AUDIO_STREAM_FACTORY_H_
diff --git a/services/ui/public/interfaces/ime/ime.mojom b/services/ui/public/interfaces/ime/ime.mojom
index 582d083..b4ff0a0 100644
--- a/services/ui/public/interfaces/ime/ime.mojom
+++ b/services/ui/public/interfaces/ime/ime.mojom
@@ -65,6 +65,18 @@
   kMisspellingSuggestion,
 };
 
+// This enum represents the thickness of an underline segment of text,
+// the thickness of a ui::ImeTextSpan element.
+// The possible values are:
+// * kNone: When you don't want to paint the underline.
+// * kThin: For regular size.
+// * kThick: For thick underlines.
+enum ImeTextSpanThickness {
+  kNone,
+  kThin,
+  kThick,
+};
+
 // Represents an underlined segment of text currently composed by IME.
 // Corresponds to ui::ImeTextSpan.
 struct ImeTextSpan {
@@ -72,7 +84,7 @@
   uint32 start_offset;
   uint32 end_offset;
   uint32 underline_color;
-  bool thick;
+  ImeTextSpanThickness thickness;
   uint32 background_color;
   uint32 suggestion_highlight_color;
   array<string> suggestions;
diff --git a/services/ui/public/interfaces/ime/ime.typemap b/services/ui/public/interfaces/ime/ime.typemap
index 1e764ba..feb425d31 100644
--- a/services/ui/public/interfaces/ime/ime.typemap
+++ b/services/ui/public/interfaces/ime/ime.typemap
@@ -27,6 +27,7 @@
   "ui.mojom.CandidateWindowProperties=ui::CandidateWindow::CandidateWindowProperty",
   "ui.mojom.CompositionText=ui::CompositionText",
   "ui.mojom.ImeTextSpan=ui::ImeTextSpan",
+  "ui.mojom.ImeTextSpanThickness=ui::ImeTextSpan::Thickness",
   "ui.mojom.TextInputMode=ui::TextInputMode",
   "ui.mojom.TextInputType=ui::TextInputType",
 ]
diff --git a/services/ui/public/interfaces/ime/ime_struct_traits.cc b/services/ui/public/interfaces/ime/ime_struct_traits.cc
index de4d4b4..e05a5e8 100644
--- a/services/ui/public/interfaces/ime/ime_struct_traits.cc
+++ b/services/ui/public/interfaces/ime/ime_struct_traits.cc
@@ -51,7 +51,8 @@
   out->start_offset = data.start_offset();
   out->end_offset = data.end_offset();
   out->underline_color = data.underline_color();
-  out->thick = data.thick();
+  if (!data.ReadThickness(&out->thickness))
+    return false;
   out->background_color = data.background_color();
   out->suggestion_highlight_color = data.suggestion_highlight_color();
   if (!data.ReadSuggestions(&out->suggestions))
@@ -105,6 +106,43 @@
 }
 
 // static
+ui::mojom::ImeTextSpanThickness EnumTraits<
+    ui::mojom::ImeTextSpanThickness,
+    ui::ImeTextSpan::Thickness>::ToMojom(ui::ImeTextSpan::Thickness thickness) {
+  switch (thickness) {
+    case ui::ImeTextSpan::Thickness::kNone:
+      return ui::mojom::ImeTextSpanThickness::kNone;
+    case ui::ImeTextSpan::Thickness::kThin:
+      return ui::mojom::ImeTextSpanThickness::kThin;
+    case ui::ImeTextSpan::Thickness::kThick:
+      return ui::mojom::ImeTextSpanThickness::kThick;
+  }
+
+  NOTREACHED();
+  return ui::mojom::ImeTextSpanThickness::kThin;
+}
+
+// static
+bool EnumTraits<ui::mojom::ImeTextSpanThickness, ui::ImeTextSpan::Thickness>::
+    FromMojom(ui::mojom::ImeTextSpanThickness input,
+              ui::ImeTextSpan::Thickness* out) {
+  switch (input) {
+    case ui::mojom::ImeTextSpanThickness::kNone:
+      *out = ui::ImeTextSpan::Thickness::kNone;
+      return true;
+    case ui::mojom::ImeTextSpanThickness::kThin:
+      *out = ui::ImeTextSpan::Thickness::kThin;
+      return true;
+    case ui::mojom::ImeTextSpanThickness::kThick:
+      *out = ui::ImeTextSpan::Thickness::kThick;
+      return true;
+  }
+
+  NOTREACHED();
+  return false;
+}
+
+// static
 ui::mojom::TextInputMode
 EnumTraits<ui::mojom::TextInputMode, ui::TextInputMode>::ToMojom(
     ui::TextInputMode text_input_mode) {
diff --git a/services/ui/public/interfaces/ime/ime_struct_traits.h b/services/ui/public/interfaces/ime/ime_struct_traits.h
index 1d942af..a90bdb9 100644
--- a/services/ui/public/interfaces/ime/ime_struct_traits.h
+++ b/services/ui/public/interfaces/ime/ime_struct_traits.h
@@ -95,7 +95,9 @@
   static uint32_t underline_color(const ui::ImeTextSpan& c) {
     return c.underline_color;
   }
-  static uint32_t thick(const ui::ImeTextSpan& c) { return c.thick; }
+  static ui::ImeTextSpan::Thickness thickness(const ui::ImeTextSpan& i) {
+    return i.thickness;
+  }
   static uint32_t background_color(const ui::ImeTextSpan& c) {
     return c.background_color;
   }
@@ -128,6 +130,14 @@
   static bool FromMojom(ui::mojom::TextInputType input, ui::TextInputType* out);
 };
 
+template <>
+struct EnumTraits<ui::mojom::ImeTextSpanThickness, ui::ImeTextSpan::Thickness> {
+  static ui::mojom::ImeTextSpanThickness ToMojom(
+      ui::ImeTextSpan::Thickness thickness);
+  static bool FromMojom(ui::mojom::ImeTextSpanThickness input,
+                        ui::ImeTextSpan::Thickness* out);
+};
+
 }  // namespace mojo
 
 #endif  // SERVICES_UI_PUBLIC_INTERFACES_IME_IME_STRUCT_TRAITS_H_
diff --git a/services/ui/public/interfaces/ime/ime_struct_traits_unittest.cc b/services/ui/public/interfaces/ime/ime_struct_traits_unittest.cc
index 06846e2..c1a57db 100644
--- a/services/ui/public/interfaces/ime/ime_struct_traits_unittest.cc
+++ b/services/ui/public/interfaces/ime/ime_struct_traits_unittest.cc
@@ -111,9 +111,11 @@
 TEST_F(IMEStructTraitsTest, CompositionText) {
   CompositionText input;
   input.text = base::UTF8ToUTF16("abcdefghij");
-  input.ime_text_spans.push_back(ImeTextSpan(0, 2, SK_ColorGRAY, false));
-  input.ime_text_spans.push_back(ImeTextSpan(
-      ImeTextSpan::Type::kComposition, 3, 6, SK_ColorRED, true, SK_ColorGREEN));
+  input.ime_text_spans.push_back(
+      ImeTextSpan(0, 2, SK_ColorGRAY, ImeTextSpan::Thickness::kThin));
+  input.ime_text_spans.push_back(
+      ImeTextSpan(ImeTextSpan::Type::kComposition, 3, 6, SK_ColorRED,
+                  ImeTextSpan::Thickness::kThick, SK_ColorGREEN));
   input.selection = gfx::Range(1, 7);
 
   CompositionText output;
diff --git a/services/ui/ws/user_activity_monitor_unittest.cc b/services/ui/ws/user_activity_monitor_unittest.cc
index 10d53ebc..652f655c 100644
--- a/services/ui/ws/user_activity_monitor_unittest.cc
+++ b/services/ui/ws/user_activity_monitor_unittest.cc
@@ -92,7 +92,7 @@
   void SetUp() override {
     TaskRunnerTestBase::SetUp();
     monitor_ = std::make_unique<UserActivityMonitor>(
-        task_runner()->GetMockTickClock());
+        task_runner()->DeprecatedGetMockTickClock());
   }
 
   std::unique_ptr<UserActivityMonitor> monitor_;
diff --git a/testing/buildbot/chromium.gpu.fyi.json b/testing/buildbot/chromium.gpu.fyi.json
index 2192ca5..6d0b3d9 100644
--- a/testing/buildbot/chromium.gpu.fyi.json
+++ b/testing/buildbot/chromium.gpu.fyi.json
@@ -5705,6 +5705,26 @@
       {
         "args": [
           "--test-launcher-batch-limit=400",
+          "--deqp-egl-display-type=angle-vulkan"
+        ],
+        "name": "angle_deqp_gles2_vulkan_tests",
+        "swarming": {
+          "can_use_on_swarming_builders": true,
+          "dimension_sets": [
+            {
+              "gpu": "10de:1cb3-384.90",
+              "os": "Ubuntu",
+              "pool": "Chrome-GPU"
+            }
+          ],
+          "shards": 4
+        },
+        "test": "angle_deqp_gles2_tests",
+        "use_xvfb": false
+      },
+      {
+        "args": [
+          "--test-launcher-batch-limit=400",
           "--deqp-egl-display-type=angle-gl"
         ],
         "name": "angle_deqp_gles31_gl_tests",
@@ -15126,6 +15146,26 @@
       {
         "args": [
           "--test-launcher-batch-limit=400",
+          "--deqp-egl-display-type=angle-vulkan"
+        ],
+        "name": "angle_deqp_gles2_vulkan_tests",
+        "swarming": {
+          "can_use_on_swarming_builders": true,
+          "dimension_sets": [
+            {
+              "gpu": "10de:1cb3-23.21.13.8816",
+              "os": "Windows-10",
+              "pool": "Chrome-GPU"
+            }
+          ],
+          "shards": 4
+        },
+        "test": "angle_deqp_gles2_tests",
+        "use_xvfb": false
+      },
+      {
+        "args": [
+          "--test-launcher-batch-limit=400",
           "--deqp-egl-display-type=angle-d3d11"
         ],
         "name": "angle_deqp_gles31_d3d11_tests",
@@ -18277,6 +18317,26 @@
         },
         "test": "angle_deqp_gles2_tests",
         "use_xvfb": false
+      },
+      {
+        "args": [
+          "--test-launcher-batch-limit=400",
+          "--deqp-egl-display-type=angle-vulkan"
+        ],
+        "name": "angle_deqp_gles2_vulkan_tests",
+        "swarming": {
+          "can_use_on_swarming_builders": true,
+          "dimension_sets": [
+            {
+              "gpu": "1002:6613",
+              "os": "Windows-2008ServerR2-SP1",
+              "pool": "Chrome-GPU"
+            }
+          ],
+          "shards": 4
+        },
+        "test": "angle_deqp_gles2_tests",
+        "use_xvfb": false
       }
     ],
     "isolated_scripts": []
diff --git a/testing/buildbot/filters/mojo.fyi.network_content_browsertests.filter b/testing/buildbot/filters/mojo.fyi.network_content_browsertests.filter
index 967bc43..39aacc40 100644
--- a/testing/buildbot/filters/mojo.fyi.network_content_browsertests.filter
+++ b/testing/buildbot/filters/mojo.fyi.network_content_browsertests.filter
@@ -35,6 +35,13 @@
 -DataUrlNavigationBrowserTest.PDF_NavigationFromFrame_Block
 -DataUrlNavigationBrowserTest.PDF_NavigationFromFrame_TopFrameIsDataURL_Block
 
+# http://crbug.com/820060
+-PreviewsStateResourceDispatcherHostBrowserTest.ShouldEnableLoFiModeNavigateBackThenForward
+-PreviewsStateResourceDispatcherHostBrowserTest.ShouldEnableLoFiModeOff
+-PreviewsStateResourceDispatcherHostBrowserTest.ShouldEnableLoFiModeOn
+-PreviewsStateResourceDispatcherHostBrowserTest.ShouldEnableLoFiModeReload
+-PreviewsStateResourceDispatcherHostBrowserTest.ShouldEnableLoFiModeReloadDisableLoFi
+
 -AsyncResourceHandlerBrowserTest/AsyncResourceHandlerBrowserTest.UploadProgress*
 -DevToolsDownloadContentTest.MultiDownload
 -DevToolsDownloadContentTest.DefaultDownload
@@ -51,11 +58,6 @@
 -PowerMonitorTest.TestGpuProcess
 -PowerMonitorTest.TestRendererProcess
 -PowerMonitorTest.TestUtilityProcess
--PreviewsStateResourceDispatcherHostBrowserTest.ShouldEnableLoFiModeNavigateBackThenForward
--PreviewsStateResourceDispatcherHostBrowserTest.ShouldEnableLoFiModeOff
--PreviewsStateResourceDispatcherHostBrowserTest.ShouldEnableLoFiModeOn
--PreviewsStateResourceDispatcherHostBrowserTest.ShouldEnableLoFiModeReload
--PreviewsStateResourceDispatcherHostBrowserTest.ShouldEnableLoFiModeReloadDisableLoFi
 -RenderViewBrowserTest.ConfirmCacheInformationPlumbed
 -RequestDataResourceDispatcherHostBrowserTest.Basic
 -RequestDataResourceDispatcherHostBrowserTest.BasicCrossSite
diff --git a/third_party/WebKit/LayoutTests/FlagExpectations/enable-blink-features=LayoutNG b/third_party/WebKit/LayoutTests/FlagExpectations/enable-blink-features=LayoutNG
index 5a51ccc9..a9835990 100644
--- a/third_party/WebKit/LayoutTests/FlagExpectations/enable-blink-features=LayoutNG
+++ b/third_party/WebKit/LayoutTests/FlagExpectations/enable-blink-features=LayoutNG
@@ -172,7 +172,7 @@
 crbug.com/591099 css2.1/t1005-c5524-width-00-b-g.html [ Failure Pass ]
 crbug.com/591099 css2.1/t1005-c5524-width-01-b-g.html [ Failure Pass ]
 crbug.com/591099 css2.1/t1008-c44-ln-box-00-d-ag.html [ Failure Pass ]
-crbug.com/591099 css2.1/t1008-c44-ln-box-03-d-ag.html [ Failure ]
+crbug.com/591099 css2.1/t1008-c44-ln-box-03-d-ag.html [ Failure Pass ]
 crbug.com/591099 css2.1/t100801-c544-valgn-00-a-ag.html [ Failure ]
 crbug.com/591099 css2.1/t100801-c544-valgn-03-d-agi.html [ Failure ]
 crbug.com/591099 css2.1/t1202-counter-04-b.html [ Failure ]
@@ -246,7 +246,7 @@
 crbug.com/591099 editing/execCommand/format-block-multiple-paragraphs.html [ Failure ]
 crbug.com/591099 editing/execCommand/insertImage.html [ Failure ]
 crbug.com/591099 editing/execCommand/query-command-state.html [ Timeout ]
-crbug.com/591099 editing/execCommand/query-format-block.html [ Pass Timeout ]
+crbug.com/591099 editing/execCommand/query-format-block.html [ Timeout ]
 crbug.com/591099 editing/execCommand/remove-list-from-range-selection.html [ Failure ]
 crbug.com/591099 editing/input/linux_rtl_composition_underline.html [ Failure ]
 crbug.com/591099 editing/inserting/4875189-1.html [ Failure ]
@@ -384,7 +384,7 @@
 crbug.com/591099 external/wpt/WebCryptoAPI/generateKey/failures_RSA-PSS.worker.html [ Timeout ]
 crbug.com/591099 external/wpt/WebCryptoAPI/generateKey/failures_RSASSA-PKCS1-v1_5.worker.html [ Timeout ]
 crbug.com/591099 external/wpt/WebCryptoAPI/generateKey/successes.worker.html [ Timeout ]
-crbug.com/591099 external/wpt/WebCryptoAPI/import_export/rsa_importKey.https.worker.html [ Pass Timeout ]
+crbug.com/591099 external/wpt/WebCryptoAPI/import_export/rsa_importKey.https.worker.html [ Timeout ]
 crbug.com/591099 external/wpt/WebCryptoAPI/import_export/rsa_importKey.worker.html [ Timeout ]
 crbug.com/709227 external/wpt/WebCryptoAPI/import_export/symmetric_importKey.worker.html [ Failure ]
 crbug.com/714962 external/wpt/WebCryptoAPI/import_export/test_rsa_importKey.https.html [ Pass Timeout ]
@@ -607,6 +607,7 @@
 crbug.com/714962 external/wpt/css/css-paint-api/style-first-letter-pseudo.https.html [ Failure Pass ]
 crbug.com/591099 external/wpt/css/css-position/position-relative-table-tbody-top.html [ Pass ]
 crbug.com/591099 external/wpt/css/css-position/position-sticky-nested-inline.html [ Crash ]
+crbug.com/591099 external/wpt/css/css-position/position-sticky-overflow-padding.html [ Failure ]
 crbug.com/591099 external/wpt/css/css-position/position-sticky-writing-modes.html [ Failure ]
 crbug.com/591099 external/wpt/css/css-pseudo/first-letter-003.html [ Pass ]
 crbug.com/591099 external/wpt/css/css-rhythm/line-height-step-basic-001.html [ Failure ]
@@ -767,6 +768,8 @@
 crbug.com/591099 external/wpt/css/css-text/line-breaking/line-breaking-011.html [ Pass ]
 crbug.com/591099 external/wpt/css/css-text/line-breaking/line-breaking-ic-002.html [ Pass ]
 crbug.com/591099 external/wpt/css/css-text/line-breaking/line-breaking-ic-003.html [ Pass ]
+crbug.com/591099 external/wpt/css/css-text/text-transform/text-transform-upperlower-028.html [ Pass ]
+crbug.com/591099 external/wpt/css/css-text/text-transform/text-transform-upperlower-029.html [ Pass ]
 crbug.com/591099 external/wpt/css/css-text/white-space/pre-wrap-002.html [ Pass ]
 crbug.com/591099 external/wpt/css/css-text/white-space/pre-wrap-011.html [ Failure ]
 crbug.com/591099 external/wpt/css/css-text/white-space/seg-break-transformation-001.html [ Failure ]
@@ -1237,7 +1240,7 @@
 crbug.com/591099 external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-align-self-horiz-001-table.xhtml [ Pass ]
 crbug.com/591099 external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-align-self-vert-001.xhtml [ Pass ]
 crbug.com/591099 external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-align-self-vert-rtl-001.xhtml [ Pass ]
-crbug.com/591099 external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-baseline-multi-item-vert-001b.html [ Failure ]
+crbug.com/591099 external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-baseline-multi-item-vert-001b.html [ Failure Pass ]
 crbug.com/591099 external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-break-request-horiz-001a.html [ Pass ]
 crbug.com/591099 external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-intrinsic-ratio-003v.html [ Pass ]
 crbug.com/714962 external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-items-as-stacking-contexts-002.html [ Failure ]
@@ -1252,7 +1255,7 @@
 crbug.com/591099 external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/selectors4/dir-style-03a.html [ Pass ]
 crbug.com/591099 external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/variables/variable-declaration-15.html [ Failure Pass ]
 crbug.com/591099 external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/variables/variable-font-face-01.html [ Failure Pass ]
-crbug.com/591099 external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/variables/variable-font-face-02.html [ Failure ]
+crbug.com/591099 external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/variables/variable-font-face-02.html [ Failure Pass ]
 crbug.com/591099 external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/writing-modes-3/text-combine-upright-break-inside-001.html [ Failure ]
 crbug.com/591099 external/wpt/dom/interfaces.html [ Timeout ]
 crbug.com/591099 external/wpt/dom/nodes/Document-contentType/contentType/contenttype_datauri_02.html [ Pass ]
@@ -1271,7 +1274,7 @@
 crbug.com/591099 external/wpt/dom/ranges/Range-mutations-dataChange.html [ Timeout ]
 crbug.com/591099 external/wpt/dom/ranges/Range-set.html [ Timeout ]
 crbug.com/591099 external/wpt/dom/ranges/Range-surroundContents.html [ Timeout ]
-crbug.com/591099 external/wpt/domxpath/xml_xpath_runner.html [ Pass Timeout ]
+crbug.com/591099 external/wpt/domxpath/xml_xpath_runner.html [ Timeout ]
 crbug.com/591099 external/wpt/editing/run/backcolor.html [ Pass Timeout ]
 crbug.com/591099 external/wpt/editing/run/bold.html [ Timeout ]
 crbug.com/591099 external/wpt/editing/run/fontname.html [ Timeout ]
@@ -1396,7 +1399,7 @@
 crbug.com/591099 external/wpt/encoding/textdecoder-fatal-single-byte.html [ Timeout ]
 crbug.com/591099 external/wpt/feature-policy/payment-allowed-by-feature-policy.https.sub.html [ Pass ]
 crbug.com/591099 external/wpt/feature-policy/payment-disabled-by-feature-policy.https.sub.html [ Pass ]
-crbug.com/591099 external/wpt/geolocation-API/PositionOptions.https.html [ Failure Pass ]
+crbug.com/591099 external/wpt/geolocation-API/PositionOptions.https.html [ Failure ]
 crbug.com/591099 external/wpt/html-media-capture/capture_audio_cancel-manual.html [ Failure ]
 crbug.com/591099 external/wpt/html-media-capture/capture_image_cancel-manual.html [ Failure ]
 crbug.com/591099 external/wpt/html-media-capture/capture_video_cancel-manual.html [ Failure ]
@@ -1462,7 +1465,7 @@
 crbug.com/714962 external/wpt/pointerevents/pointerevent_touch-action-auto-css_touch-manual.html [ Timeout ]
 crbug.com/591099 external/wpt/pointerevents/pointerevent_touch-action-button-test_touch-manual.html [ Timeout ]
 crbug.com/714962 external/wpt/pointerevents/pointerevent_touch-action-keyboard-manual.html [ Timeout ]
-crbug.com/714962 external/wpt/pointerevents/pointerevent_touch-action-mouse-manual.html [ Pass Timeout ]
+crbug.com/714962 external/wpt/pointerevents/pointerevent_touch-action-mouse-manual.html [ Timeout ]
 crbug.com/714962 external/wpt/pointerevents/pointerevent_touch-action-pan-left-css_touch-manual.html [ Pass ]
 crbug.com/714962 external/wpt/pointerevents/pointerevent_touch-action-pan-right-css_touch-manual.html [ Failure ]
 crbug.com/714962 external/wpt/pointerevents/pointerevent_touch-action-pan-x-pan-y_touch-manual.html [ Timeout ]
@@ -1998,7 +2001,6 @@
 crbug.com/714962 fast/dom/elementsFromPoint/elementsFromPoint-inline.html [ Failure ]
 crbug.com/714962 fast/dom/empty-anchor-in-overflow-scroller.html [ Failure ]
 crbug.com/714962 fast/dom/inert/inert-inlines.html [ Failure ]
-crbug.com/714962 fast/dom/inert/inert-node-is-uneditable.html [ Failure Pass ]
 crbug.com/591099 fast/dom/inner-text-first-letter.html [ Failure ]
 crbug.com/591099 fast/dom/inner-text.html [ Failure ]
 crbug.com/591099 fast/dom/nodesFromRect/nodesFromRect-basic.html [ Failure ]
@@ -2081,8 +2083,10 @@
 crbug.com/591099 fast/forms/label/label-selection-by-textSelection-and-click.html [ Failure Pass ]
 crbug.com/591099 fast/forms/long-text-in-input.html [ Crash Failure ]
 crbug.com/591099 fast/forms/number/number-spinbutton-in-multi-column.html [ Failure ]
+crbug.com/591099 fast/forms/placeholder-position.html [ Failure ]
 crbug.com/591099 fast/forms/range/range-stepup-stepdown-from-renderer.html [ Pass Timeout ]
 crbug.com/591099 fast/forms/range/slider-in-multi-column.html [ Failure ]
+crbug.com/591099 fast/forms/select-popup/popup-menu-appearance-transform.html [ Failure ]
 crbug.com/591099 fast/forms/select/listbox-in-multi-column.html [ Failure ]
 crbug.com/591099 fast/forms/select/select-initial-position.html [ Failure ]
 crbug.com/591099 fast/forms/select/select-style.html [ Failure ]
@@ -3237,6 +3241,7 @@
 crbug.com/591099 http/tests/csspaint/invalidation-background-image.html [ Timeout ]
 crbug.com/591099 http/tests/csspaint/invalidation-border-image.html [ Timeout ]
 crbug.com/591099 http/tests/csspaint/invalidation-content-image.html [ Timeout ]
+crbug.com/591099 http/tests/devtools/console/console-prompt-keyboard.js [ Failure ]
 crbug.com/591099 http/tests/devtools/console/console-search.js [ Timeout ]
 crbug.com/591099 http/tests/devtools/console/console-uncaught-promise.js [ Failure ]
 crbug.com/591099 http/tests/devtools/console/console-viewport-control.js [ Failure ]
@@ -3259,7 +3264,6 @@
 crbug.com/591099 http/tests/devtools/elements/styles-3/style-rule-from-imported-stylesheet.js [ Pass ]
 crbug.com/591099 http/tests/devtools/elements/styles-3/styles-change-node-while-editing.js [ Pass ]
 crbug.com/591099 http/tests/devtools/elements/styles-3/styles-disable-inherited.js [ Failure ]
-crbug.com/591099 http/tests/devtools/elements/styles-4/styles-formatting.js [ Pass Timeout ]
 crbug.com/714962 http/tests/devtools/jump-to-previous-editing-location.js [ Failure ]
 crbug.com/591099 http/tests/devtools/network/network-datareceived.js [ Failure ]
 crbug.com/591099 http/tests/devtools/oopif/oopif-elements-navigate-in.js [ Failure ]
@@ -3397,6 +3401,7 @@
 crbug.com/591099 paint/inline/focus-ring-under-absolute-with-relative-continuation.html [ Failure ]
 crbug.com/591099 paint/invalidation/4776765.html [ Failure ]
 crbug.com/591099 paint/invalidation/background/backgroundSizeRepaint.html [ Failure ]
+crbug.com/591099 paint/invalidation/background/obscured-background-no-repaint.html [ Pass ]
 crbug.com/591099 paint/invalidation/block-layout-inline-children-replaced.html [ Failure ]
 crbug.com/591099 paint/invalidation/block-no-inflow-children.html [ Failure ]
 crbug.com/591099 paint/invalidation/box/border-radius-repaint.html [ Failure ]
diff --git a/third_party/WebKit/LayoutTests/MSANExpectations b/third_party/WebKit/LayoutTests/MSANExpectations
index 659f5ae..ad6dfa693 100644
--- a/third_party/WebKit/LayoutTests/MSANExpectations
+++ b/third_party/WebKit/LayoutTests/MSANExpectations
@@ -34,6 +34,7 @@
 
 # Times out on MSAN
 crbug.com/462190 [ Linux ] inspector-protocol/heap-profiler/heap-samples-in-snapshot.js [ Timeout ]
+crbug.com/462190 [ Linux ] inspector-protocol/heap-profiler/heap-snapshot-merged-nodes.js [ Timeout ]
 crbug.com/462190 [ Linux ] inspector-protocol/heap-profiler/heap-snapshot-with-active-dom-object.js [ Timeout ]
 crbug.com/462190 [ Linux ] inspector-protocol/heap-profiler/heap-snapshot-with-event-listener.js [ Timeout ]
 crbug.com/462190 [ Linux ] inspector-protocol/heap-profiler/heap-snapshot-with-multiple-retainers.js [ Timeout ]
diff --git a/third_party/WebKit/LayoutTests/SmokeTests b/third_party/WebKit/LayoutTests/SmokeTests
index 50f3c9d0..18818f3 100644
--- a/third_party/WebKit/LayoutTests/SmokeTests
+++ b/third_party/WebKit/LayoutTests/SmokeTests
@@ -64,7 +64,6 @@
 css3/selectors3/xml/css3-modsel-61.xml
 css3/style-zoomed-image.html
 css3/supports-crash.html
-cssom/cssimportrule-media.html
 css-parser/color-escape-parsing.html
 css-parser/font-size-adjust.html
 custom-elements/array-squat-crash.html
diff --git a/third_party/WebKit/LayoutTests/TestExpectations b/third_party/WebKit/LayoutTests/TestExpectations
index fd73944..d835476 100644
--- a/third_party/WebKit/LayoutTests/TestExpectations
+++ b/third_party/WebKit/LayoutTests/TestExpectations
@@ -3406,3 +3406,4 @@
 crbug.com/819683 [ Linux ] paint/invalidation/background/obscured-background-no-repaint.html [ Crash ]
 crbug.com/819851 [ Mac ] paint/invalidation/forms/checkbox-focus-by-mouse-then-keydown.html [ Skip ]
 crbug.com/819851 [ Mac ] paint/invalidation/forms/radio-focus-by-mouse-then-keydown.html [ Skip ]
+crbug.com/819778 [ Linux ] external/wpt/css/cssom-view/interfaces.html [ Pass Timeout ]
diff --git a/third_party/WebKit/LayoutTests/css3/masking/clip-path-inherit-across-scope-boundary-expected.html b/third_party/WebKit/LayoutTests/css3/masking/clip-path-inherit-across-scope-boundary-expected.html
new file mode 100644
index 0000000..f718ea6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/masking/clip-path-inherit-across-scope-boundary-expected.html
@@ -0,0 +1,2 @@
+<!DOCTYPE html>
+<div style="width: 100px; height: 100px; background-color: green"></div>
diff --git a/third_party/WebKit/LayoutTests/css3/masking/clip-path-inherit-across-scope-boundary.html b/third_party/WebKit/LayoutTests/css3/masking/clip-path-inherit-across-scope-boundary.html
new file mode 100644
index 0000000..22632e4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/masking/clip-path-inherit-across-scope-boundary.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<div style="clip-path: url(#c)"></div>
+<svg height="0">
+  <clipPath id="c" clipPathUnits="objectBoundingBox">
+    <rect width="0.5" height="1"/>
+  </clipPath>
+</svg>
+<script>
+let div = document.querySelector('div');
+div.attachShadow({ mode: 'open' });
+div.shadowRoot.innerHTML = '<div style="width: 100px; height: 100px; background-color: green; clip-path: inherit; border-right: 100px solid red"></div>';
+</script>
diff --git a/third_party/WebKit/LayoutTests/css3/parsing-css3-nthchild-expected.txt b/third_party/WebKit/LayoutTests/css3/parsing-css3-nthchild-expected.txt
deleted file mode 100644
index d53be79..0000000
--- a/third_party/WebKit/LayoutTests/css3/parsing-css3-nthchild-expected.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-SUCCESS
-
-Rules from the stylesheet:
-
-#a:nth-child(n-1) { color: green; }
-#b:nth-child(n-10) { color: green; }
-#g:nth-child(-n-1) { color: green; }
-#h:nth-child(-n-10) { color: green; }
-#n:nth-child(-n-1) { color: green; }
-#o:nth-child(-n+13) { color: green; }
-Expected result:
-
-#a:nth-child(n-1) { color: green; }
-#b:nth-child(n-10) { color: green; }
-#g:nth-child(-n-1) { color: green; }
-#h:nth-child(-n-10) { color: green; }
-#n:nth-child(-n-1) { color: green; }
-#o:nth-child(-n+13) { color: green; }
-
diff --git a/third_party/WebKit/LayoutTests/css3/parsing-css3-nthchild.html b/third_party/WebKit/LayoutTests/css3/parsing-css3-nthchild.html
deleted file mode 100644
index 3270092..0000000
--- a/third_party/WebKit/LayoutTests/css3/parsing-css3-nthchild.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<head>
-<style type="text/css">
-#a:nth-child(n-1) { color: green; }
-#b:nth-child(n- 10) { color: green; }
-#c:nth-child(n- 1 2) { color: green; }
-#d:nth-child(n-b1) { color: green; }
-#e:nth-child(n-+1) { color: green; }
-#f:nth-child(n-1n) { color: green; }
-#g:nth-child(-n-1) { color: green; }
-#h:nth-child(-n- 10) { color: green; }
-#i:nth-child(-n -b1) { color: green; }
-#j:nth-child(-1n- b1) { color: green; }
-#k:nth-child(-n-13b1) { color: green; }
-#l:nth-child(-n-+1) { color: green; }
-#m:nth-child(-n+n) { color: green; }
-#n:nth-child(-n
-    - 1) { color: green; }
-#o:nth-child(-n
-    +13) { color: green; }
-</style>
-<script>
-
-/** Changes the result text font size. */
-function runTest()
-{
-    if (window.testRunner)
-        testRunner.dumpAsText();
-
-    var rules = document.styleSheets[0].cssRules;
-    var text = "";
-    for (var i = 0; i < rules.length; i++) {
-        text += rules.item(i).cssText;
-        text += "\n";
-    }
-
-    document.getElementById("result").appendChild(document.createTextNode(text));
-
-    if (document.getElementById("result").firstChild.data === document.getElementById("expected").firstChild.data)
-        document.getElementById("message").firstChild.data = "SUCCESS";
-    else
-        document.getElementById("message").firstChild.data = "FAILURE";
-}
-
-</script>
-</head>
-<body onload="runTest()">
-<p id="message">TEST DID NOT COMPLETE</p>
-
-<p>Rules from the stylesheet:</p>
-
-<pre id="result"></pre>
-
-<p>Expected result:</p>
-
-<pre id="expected">#a:nth-child(n-1) { color: green; }
-#b:nth-child(n-10) { color: green; }
-#g:nth-child(-n-1) { color: green; }
-#h:nth-child(-n-10) { color: green; }
-#n:nth-child(-n-1) { color: green; }
-#o:nth-child(-n+13) { color: green; }
-</pre>
-</body>
diff --git a/third_party/WebKit/LayoutTests/cssom/README.txt b/third_party/WebKit/LayoutTests/cssom/README.txt
deleted file mode 100644
index a2498ff..0000000
--- a/third_party/WebKit/LayoutTests/cssom/README.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-This directory will contain a copy of W3C's CSSOM test suite [1] when it
-is completed. In the mean time the tests found here are snapshots of specific,
-preliminary tests being prepared by the editors of CSSOM [2] or having been
-submitted and accepted for adoption in the CSSOM test suite.
-
-[1] http://hg.csswg.org/test/file/tip/approved/cssom
-[2] http://hg.csswg.org/test/file/tip/contributors/gadams/incoming/cssom
-
-Until the CSSWG has concluded work on the CSSOM test suite, it is expected
-that the files in this directory will be modified as needed.
-
diff --git a/third_party/WebKit/LayoutTests/cssom/cssimportrule-media.html b/third_party/WebKit/LayoutTests/cssom/cssimportrule-media.html
deleted file mode 100644
index 72733f0..0000000
--- a/third_party/WebKit/LayoutTests/cssom/cssimportrule-media.html
+++ /dev/null
@@ -1,64 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <title>CSSOM - CSSImportRule - Media</title>
-    <link rel="author" title="Glenn Adams" href="mailto:glenn@skynav.com"/>
-    <link rel="help" href="http://www.w3.org/TR/cssom/#the-cssimportrule-interface"/>
-    <meta name="flags" content="dom"/>
-    <script src="../resources/testharness.js"></script>
-    <script src="../resources/testharnessreport.js"></script>
-    <style id="sheet1">
-      @import "resources/import.css";
-    </style>
-    <style id="sheet2">
-      @import "resources/import.css" all;
-    </style>
-    <style id="sheet3">
-      @import "resources/import.css" not tv;
-    </style>
-    <style id="sheet4">
-      @import "resources/import.css" screen, tv;
-    </style>
-  </head>
-  <body>
-    <div id="log"></div>
-    <div id="box"></div>
-    <script>
-
-      var doc = window.document;
-
-      var sheet1 = doc.styleSheets[0];
-
-      test(function(){
-
-        assert_equals(sheet1.cssRules[0].cssText, '@import url(\"resources/import.css\");');
-
-      }, 'doc.styleSheets[0].cssRules[0].cssText == \'@import url(\"resources/import.css\");\'');
-
-      var sheet2 = doc.styleSheets[1];
-
-      test(function(){
-
-        assert_equals(sheet2.cssRules[0].cssText, '@import url(\"resources/import.css\") all;');
-
-      }, 'doc.styleSheets[1].cssRules[0].cssText == \'@import url(\"resources/import.css\") all;\'');
-
-      var sheet3 = doc.styleSheets[2];
-
-      test(function(){
-
-        assert_equals(sheet3.cssRules[0].cssText, '@import url(\"resources/import.css\") not tv;');
-
-      }, 'doc.styleSheets[2].cssRules[0].cssText == \'@import url(\"resources/import.css\") not tv;\'');
-
-      var sheet4 = doc.styleSheets[3];
-
-      test(function(){
-
-        assert_equals(sheet4.cssRules[0].cssText, '@import url(\"resources/import.css\") screen, tv;');
-
-      }, 'doc.styleSheets[3].cssRules[0].cssText == \'@import url(\"resources/import.css\") screen, tv;\'');
-
-    </script>
-  </body>
-</html>
diff --git a/third_party/WebKit/LayoutTests/cssom/cssom-view-img-attributes-001.html b/third_party/WebKit/LayoutTests/cssom/cssom-view-img-attributes-001.html
deleted file mode 100644
index 949f2e1e..0000000
--- a/third_party/WebKit/LayoutTests/cssom/cssom-view-img-attributes-001.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<html>
-    <head>
-        <title>CSSOM-View: HTMLImageElement x and y attributes</title>
-        <link rel="author" title="Adobe" href="http://html.adobe.com/">
-        <link rel="author" title="Alan Stearns" href="mailto:stearns@adobe.com">
-        <link rel="reviewer" title="" href="">
-        <link rel="help" href="http://dev.w3.org/csswg/cssom-view/#excensions-to-the-htmlimageelement-interface">
-        <meta name="assert" content="HTMLImageElement attributes give x and y position of CSS layout box">
-        <meta name="flags" content="dom">
-        <script src="../resources/testharness.js"></script>
-        <script src="../resources/testharnessreport.js"></script>
-    </head>
-    <body>
-        <div id="log"></div>
-        <script type="text/javascript">
-
-        function testIMGAttributes(attribute_name, display_none) {
-            var element = document.createElement("img");
-            document.body.appendChild(element);
-            element.style.setProperty("position", "absolute");
-            element.style.setProperty("left", "10px");
-            element.style.setProperty("top", "10px");
-            element.style.setProperty("width", "10px");
-            element.style.setProperty("height", "10px");
-            if (display_none) {
-                element.style.setProperty("display", "none");
-            }
-            var attributeValue = element[attribute_name];
-            document.body.removeChild(element);
-            return attributeValue;
-        }
-
-        var imgAttributes = [
-            ["x", false, 10], 
-            ["y", false, 10],
-            ["x", true, 0], 
-            ["y", true, 0],
-        ];
-
-        imgAttributes.forEach(function(test_data) {
-            test (function() { assert_equals(testIMGAttributes(test_data[0], test_data[1]), test_data[2])}, 
-                "test " + test_data[0] + " with display " + test_data[1]) 
-            }
-        );
-        </script>
-    </body>
-</html>
diff --git a/third_party/WebKit/LayoutTests/cssom/cssstyledeclaration-csstext-final-delimiter.html b/third_party/WebKit/LayoutTests/cssom/cssstyledeclaration-csstext-final-delimiter.html
deleted file mode 100644
index 3294c72f..0000000
--- a/third_party/WebKit/LayoutTests/cssom/cssstyledeclaration-csstext-final-delimiter.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <title>CSSOM - CSSStyleDeclaration - Text - Serialization - Delimiters</title>
-    <link rel="author" title="Glenn Adams" href="mailto:glenn@skynav.com"/>
-    <link rel="help" href="http://www.w3.org/TR/cssom/#the-cssstyledeclaration-interface"/>
-    <meta name="flags" content="dom"/>
-    <script src="../resources/testharness.js"></script>
-    <script src="../resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <div id="box"></div>
-    <script>
-      var style = document.getElementById('box').style;
-      var delim = new RegExp ( /(\s*\;\s*)/ );
-
-      function countDelimiters(s) {
-        var k = ( s.split(delim).length - 1 ) / 2;
-        return k;
-      }
-
-      function getNthDelimiter(s,n) {
-        if ( n > 0 ) {
-          var sa = s.split(delim);
-          var k = 1;
-          for ( var i in sa ) {
-            var s = sa[i];
-            var m = delim.exec(s);
-            if ( m && ( m.length > 1 ) ) {
-              if ( k++ == n ) {
-                return s;
-              }                          
-            }
-          }
-        }
-        return '';
-      }
-
-      test(function(){
-
-        style.cssText = "";
-        assert_equals(countDelimiters(style.cssText), 0);
-        assert_equals(getNthDelimiter(style.cssText,0), "");
-        assert_equals(style.cssText, "");
-
-      }, 'inline style - text - delimiters - zero declarations');
-
-      test(function(){
-
-        style.cssText = "left: 10px";
-        assert_equals(countDelimiters(style.cssText), 1);
-        assert_equals(getNthDelimiter(style.cssText,1), ";");
-        assert_equals(style.cssText, "left: 10px;");
-
-      }, 'inline style - text - delimiters - one declaration');
-
-      test(function(){
-
-        style.cssText = "left: 10px; right: 20px";
-        assert_equals(countDelimiters(style.cssText), 2);
-        assert_equals(getNthDelimiter(style.cssText,1), "; ");
-        assert_equals(getNthDelimiter(style.cssText,2), ";");
-        assert_equals(style.cssText, "left: 10px; right: 20px;");
-
-      }, 'inline style - text - delimiters - two declarations');
-    </script>
-  </body>
-</html>
diff --git a/third_party/WebKit/LayoutTests/cssom/cssstyledeclaration-csstext-important.html b/third_party/WebKit/LayoutTests/cssom/cssstyledeclaration-csstext-important.html
deleted file mode 100644
index c7a10643..0000000
--- a/third_party/WebKit/LayoutTests/cssom/cssstyledeclaration-csstext-important.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-
-<style>
-    #box {}
-</style>
-
-<div id="box"></div>
-
-<script>
-  var style = document.getElementById('box').style;
-  test(function(){
-      style.cssText = "padding: 10px !important; padding-left: 20px;";
-      assert_equals(style.getPropertyValue("padding-left"), "10px");
-  }, "padding-left should be taken from the !important property");
-</script>
diff --git a/third_party/WebKit/LayoutTests/cssom/insertrule-syntax-error-01-expected.html b/third_party/WebKit/LayoutTests/cssom/insertrule-syntax-error-01-expected.html
deleted file mode 100644
index ed7b1237..0000000
--- a/third_party/WebKit/LayoutTests/cssom/insertrule-syntax-error-01-expected.html
+++ /dev/null
@@ -1,2 +0,0 @@
-<!DOCTYPE html>
-<p style="color:green">This text should be green.</p>
diff --git a/third_party/WebKit/LayoutTests/cssom/insertrule-syntax-error-01.html b/third_party/WebKit/LayoutTests/cssom/insertrule-syntax-error-01.html
deleted file mode 100644
index 83d592e..0000000
--- a/third_party/WebKit/LayoutTests/cssom/insertrule-syntax-error-01.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE html>
-<style>
-p { color: green; }
-</style>
-<script>
-document.styleSheets[0].insertRule("p { color: red; } garbage", 1);
-</script>
-<p>This text should be green.</p>
diff --git a/third_party/WebKit/LayoutTests/cssom/serialize-attribute-selectors.html b/third_party/WebKit/LayoutTests/cssom/serialize-attribute-selectors.html
deleted file mode 100644
index fcdf3ab..0000000
--- a/third_party/WebKit/LayoutTests/cssom/serialize-attribute-selectors.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<title>Attribute selector serialization</title>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<style id="teststyles">
-</style>
-<script>
-    var escaped_ns_rule = "@namespace ns\\:odd url(ns);";
-
-    function assert_selector_serializes_to(source, expected_result) {
-        var style_element = document.getElementById("teststyles");
-        style_element.firstChild.data = source + "{ font-size: 1em; }";
-        var sheet = style_element.sheet;
-        assert_equals(sheet.cssRules[sheet.cssRules.length - 1].selectorText, expected_result);
-    }
-    test(function() {
-        assert_selector_serializes_to("[ns\\:foo]", "[ns\\:foo]");
-    }, document.title+", escaped character in attribute name");
-    test(function() {
-        assert_selector_serializes_to("[\\30zonk]", "[\\30 zonk]");
-    }, document.title+", escaped character as code point in attribute name");
-    test(function() {
-        assert_selector_serializes_to("[\\@]", "[\\@]");
-    }, document.title+", escaped character (@) in attribute name");
-    test(function() {
-        assert_selector_serializes_to("[*|ns\\:foo]", "[*|ns\\:foo]");
-    }, document.title+", escaped character in attribute name with any namespace");
-    test(function() {
-        assert_selector_serializes_to(escaped_ns_rule + "[ns\\:odd|foo]", "[ns\\:odd|foo]");
-    }, document.title+", escaped character in attribute prefix");
-    test(function() {
-        assert_selector_serializes_to(escaped_ns_rule + "[ns\\:odd|odd\\:name]", "[ns\\:odd|odd\\:name]");
-    }, document.title+", escaped character in both attribute prefix and name");
-</script>
diff --git a/third_party/WebKit/LayoutTests/cssom/serialize-namespaced-type-selectors.html b/third_party/WebKit/LayoutTests/cssom/serialize-namespaced-type-selectors.html
deleted file mode 100644
index eb509d6..0000000
--- a/third_party/WebKit/LayoutTests/cssom/serialize-namespaced-type-selectors.html
+++ /dev/null
@@ -1,99 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<style id="teststyles">
-</style>
-<script>
-    var ns_rule = "@namespace ns url(ns);";
-    var default_ns_rules = "@namespace url(default_ns); @namespace nsdefault url(default_ns);" + ns_rule;
-    var escaped_ns_rule = "@namespace ns\\:odd url(ns);";
-
-    function assert_selector_serializes_to(source, expected_result) {
-        var style_element = document.getElementById("teststyles");
-        style_element.firstChild.data = source + "{ font-size: 1em; }";
-        var sheet = style_element.sheet;
-        assert_equals(sheet.cssRules[sheet.cssRules.length - 1].selectorText, expected_result);
-    }
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "e", "e");
-        assert_selector_serializes_to(default_ns_rules + "e", "e");
-    }, "Simple type selector");
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "|e", "|e");
-        assert_selector_serializes_to(default_ns_rules + "|e", "|e");
-    }, "Type selector without a namespace");
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "*|e", "e");
-        assert_selector_serializes_to(default_ns_rules + "*|e", "*|e");
-    }, "Type selector with any namespace");
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "*", "*");
-        assert_selector_serializes_to(default_ns_rules + "*", "*");
-    }, "Universal selector");
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "|*", "|*");
-        assert_selector_serializes_to(default_ns_rules + "|*", "|*");
-    }, "Universal selector without a namespace");
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "*|*", "*");
-        assert_selector_serializes_to(default_ns_rules + "*|*", "*|*");
-    }, "Universal selector in any namespace");
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "ns|e", "ns|e");
-        assert_selector_serializes_to(default_ns_rules + "ns|e", "ns|e");
-    }, "Type selector with namespace");
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "ns|*", "ns|*");
-        assert_selector_serializes_to(default_ns_rules + "ns|*", "ns|*");
-    }, "Universal selector with namespace");
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "e.c", "e.c");
-        assert_selector_serializes_to(default_ns_rules + "e.c", "e.c");
-    }, "Simple type selector followed by class");
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "|e.c", "|e.c");
-        assert_selector_serializes_to(default_ns_rules + "|e.c", "|e.c");
-    }, "Type selector without a namespace followed by class");
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "*|e.c", "e.c");
-        assert_selector_serializes_to(default_ns_rules + "*|e.c", "*|e.c");
-    }, "Type selector with any namespace followed by class");
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "*.c", ".c");
-        assert_selector_serializes_to(default_ns_rules + "*.c", ".c");
-    }, "Universal selector followed by class");
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "|*.c", "|*.c");
-        assert_selector_serializes_to(default_ns_rules + "|*.c", "|*.c");
-    }, "Universal selector without a namespace followed by class");
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "*|*.c", ".c");
-        assert_selector_serializes_to(default_ns_rules + "*|*.c", "*|*.c");
-    }, "Universal selector in any namespace followed by class");
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "ns|e.c", "ns|e.c");
-        assert_selector_serializes_to(default_ns_rules + "ns|e.c", "ns|e.c");
-    }, "Type selector with namespace followed by class");
-    test(function() {
-        assert_selector_serializes_to(ns_rule + "ns|*.c", "ns|*.c");
-        assert_selector_serializes_to(default_ns_rules + "ns|*.c", "ns|*.c");
-    }, "Universal selector with namespace followed by class");
-    test(function() {
-        assert_selector_serializes_to(default_ns_rules + "nsdefault|e", "e");
-    }, "Type selector with namespace equal to default namespace");
-    test(function() {
-        assert_selector_serializes_to(default_ns_rules + "nsdefault|*", "*");
-    }, "Universal selector with namespace equal to default namespace");
-    test(function() {
-        assert_selector_serializes_to(default_ns_rules + "nsdefault|e.c", "e.c");
-    }, "Type selector with namespace equal to default namespace followed by class");
-    test(function() {
-        assert_selector_serializes_to(default_ns_rules + "nsdefault|*.c", ".c");
-    }, "Universal selector with namespace equal to default namespace followed by class");
-    test(function() {
-        assert_selector_serializes_to(escaped_ns_rule + "ns\\:odd|e", "ns\\:odd|e");
-    }, "Type selector with namespace with escaped character");
-    test(function() {
-        assert_selector_serializes_to(escaped_ns_rule + "ns\\:odd|odd\\:e", "ns\\:odd|odd\\:e");
-    }, "Type selector with escaped character and namespace with escaped character");
-</script>
diff --git a/third_party/WebKit/LayoutTests/external/WPT_BASE_MANIFEST.json b/third_party/WebKit/LayoutTests/external/WPT_BASE_MANIFEST.json
index 9c0ea2e3..0a19f98 100644
--- a/third_party/WebKit/LayoutTests/external/WPT_BASE_MANIFEST.json
+++ b/third_party/WebKit/LayoutTests/external/WPT_BASE_MANIFEST.json
@@ -96862,11 +96862,6 @@
      {}
     ]
    ],
-   "FileAPI/idlharness.idl": [
-    [
-     {}
-    ]
-   ],
    "FileAPI/reading-data-section/support/blue-100x100.png": [
     [
      {}
@@ -96977,11 +96972,6 @@
      {}
     ]
    ],
-   "IndexedDB/interfaces.idl": [
-    [
-     {}
-    ]
-   ],
    "IndexedDB/interleaved-cursors-common.js": [
     [
      {}
@@ -98337,11 +98327,6 @@
      {}
     ]
    ],
-   "background-fetch/interfaces.idl": [
-    [
-     {}
-    ]
-   ],
    "background-fetch/interfaces.worker-expected.txt": [
     [
      {}
@@ -99952,11 +99937,6 @@
      {}
     ]
    ],
-   "cookie-store/cookie-store.idl": [
-    [
-     {}
-    ]
-   ],
    "cookie-store/idlharness_serviceworker.js": [
     [
      {}
@@ -134137,11 +134117,6 @@
      {}
     ]
    ],
-   "encrypted-media/EncryptedMediaExtensions.idl": [
-    [
-     {}
-    ]
-   ],
    "encrypted-media/OWNERS": [
     [
      {}
@@ -134547,11 +134522,6 @@
      {}
     ]
    ],
-   "entries-api/interfaces.idl": [
-    [
-     {}
-    ]
-   ],
    "entries-api/support.js": [
     [
      {}
@@ -149657,6 +149627,16 @@
      {}
     ]
    ],
+   "interfaces/FileAPI.idl": [
+    [
+     {}
+    ]
+   ],
+   "interfaces/IndexedDB.idl": [
+    [
+     {}
+    ]
+   ],
    "interfaces/WebCryptoAPI.idl": [
     [
      {}
@@ -149672,6 +149652,11 @@
      {}
     ]
    ],
+   "interfaces/background-fetch.idl": [
+    [
+     {}
+    ]
+   ],
    "interfaces/clipboard-apis.idl": [
     [
      {}
@@ -149682,6 +149667,11 @@
      {}
     ]
    ],
+   "interfaces/cookie-store.idl": [
+    [
+     {}
+    ]
+   ],
    "interfaces/css-typed-om.idl": [
     [
      {}
@@ -149707,6 +149697,16 @@
      {}
     ]
    ],
+   "interfaces/encrypted-media.idl": [
+    [
+     {}
+    ]
+   ],
+   "interfaces/entries-api.idl": [
+    [
+     {}
+    ]
+   ],
    "interfaces/fullscreen.idl": [
     [
      {}
@@ -149792,6 +149792,11 @@
      {}
     ]
    ],
+   "interfaces/storage.idl": [
+    [
+     {}
+    ]
+   ],
    "interfaces/touchevents.idl": [
     [
      {}
@@ -149817,6 +149822,11 @@
      {}
     ]
    ],
+   "interfaces/webauthn.idl": [
+    [
+     {}
+    ]
+   ],
    "interfaces/webidl.idl": [
     [
      {}
@@ -157832,11 +157842,6 @@
      {}
     ]
    ],
-   "storage/interfaces.idl": [
-    [
-     {}
-    ]
-   ],
    "storage/persist-permission-manual.https-expected.txt": [
     [
      {}
@@ -158152,11 +158157,31 @@
      {}
     ]
    ],
+   "streams/readable-streams/garbage-collection-expected.txt": [
+    [
+     {}
+    ]
+   ],
+   "streams/readable-streams/garbage-collection.dedicatedworker-expected.txt": [
+    [
+     {}
+    ]
+   ],
    "streams/readable-streams/garbage-collection.js": [
     [
      {}
     ]
    ],
+   "streams/readable-streams/garbage-collection.serviceworker.https-expected.txt": [
+    [
+     {}
+    ]
+   ],
+   "streams/readable-streams/garbage-collection.sharedworker-expected.txt": [
+    [
+     {}
+    ]
+   ],
    "streams/readable-streams/general.dedicatedworker-expected.txt": [
     [
      {}
@@ -160227,11 +160252,6 @@
      {}
     ]
    ],
-   "webauthn/interfaces.idl": [
-    [
-     {}
-    ]
-   ],
    "webmessaging/MessageEvent-trusted-worker.js": [
     [
      {}
@@ -181851,12 +181871,6 @@
      {}
     ]
    ],
-   "css/css-typed-om/stylevalue-objects/interface.html": [
-    [
-     "/css/css-typed-om/stylevalue-objects/interface.html",
-     {}
-    ]
-   ],
    "css/css-typed-om/stylevalue-objects/parse-invalid.html": [
     [
      "/css/css-typed-om/stylevalue-objects/parse-invalid.html",
@@ -183837,6 +183851,18 @@
      {}
     ]
    ],
+   "css/cssom/cssstyledeclaration-csstext-final-delimiter.html": [
+    [
+     "/css/cssom/cssstyledeclaration-csstext-final-delimiter.html",
+     {}
+    ]
+   ],
+   "css/cssom/cssstyledeclaration-csstext-important.html": [
+    [
+     "/css/cssom/cssstyledeclaration-csstext-important.html",
+     {}
+    ]
+   ],
    "css/cssom/cssstyledeclaration-csstext.html": [
     [
      "/css/cssom/cssstyledeclaration-csstext.html",
@@ -183909,6 +183935,12 @@
      {}
     ]
    ],
+   "css/cssom/insertRule-syntax-error-01.html": [
+    [
+     "/css/cssom/insertRule-syntax-error-01.html",
+     {}
+    ]
+   ],
    "css/cssom/interfaces.html": [
     [
      "/css/cssom/interfaces.html",
@@ -245813,15 +245845,11 @@
    "testharness"
   ],
   "FileAPI/idlharness.html": [
-   "66720cf090912985b9ea4e9cfe01126778f61e36",
+   "b12d3e9d4d69b4b922f8fb588f94db7bbdacbef9",
    "testharness"
   ],
-  "FileAPI/idlharness.idl": [
-   "2a12d457a38d00109c0f6423bf3e3f16fcc700c9",
-   "support"
-  ],
   "FileAPI/idlharness.worker.js": [
-   "b1a1f7256b08c42c278ffe972b9ed3f51d17389b",
+   "cda6c4911582d2cd707598bbb7be17400eab2517",
    "testharness"
   ],
   "FileAPI/reading-data-section/Determining-Encoding.html": [
@@ -247205,15 +247233,11 @@
    "testharness"
   ],
   "IndexedDB/interfaces.html": [
-   "ad40586fec970a4907546e3a33aef14f23e378ff",
+   "348a7350d749c4ea11d383d1f3e07e54a9d0d377",
    "testharness"
   ],
-  "IndexedDB/interfaces.idl": [
-   "f367517cad717e2066ad8179df9ba5aa3b402c97",
-   "support"
-  ],
   "IndexedDB/interfaces.worker.js": [
-   "fdacaee0ed6b2a97b579495f5944df04e70b7deb",
+   "a74350d69819f73cf9f75ac636f8793f018ba2fd",
    "testharness"
   ],
   "IndexedDB/interleaved-cursors-common.js": [
@@ -249005,19 +249029,15 @@
    "testharness"
   ],
   "background-fetch/interfaces.html": [
-   "b8a8e6792e6f3df1057e1c1b38c5e62291838a22",
+   "d95f416256134d8c4e50946c39668849c7f66298",
    "testharness"
   ],
-  "background-fetch/interfaces.idl": [
-   "f2c8fc84af7bf785ba42f1398181e2ab08c3826a",
-   "support"
-  ],
   "background-fetch/interfaces.worker-expected.txt": [
    "db5baa6abbe13cb1d79f2624265fe6d09f215f81",
    "support"
   ],
   "background-fetch/interfaces.worker.js": [
-   "5027979889540dc52a763f3877f4a739a633aa0a",
+   "b1c9c41179028dc432b3a1bb988df4b23b3105af",
    "testharness"
   ],
   "background-fetch/mixed-content-and-allowed-schemes.https.window.js": [
@@ -249253,7 +249273,7 @@
    "testharness"
   ],
   "bluetooth/characteristic/getDescriptor/gen-characteristic-is-removed.https.html": [
-   "6ba1c71fa5c34f7b0321b5430fa79c75c907fc14",
+   "df68f7bf4028cf7d2f32bb291a008d562eac3cad",
    "testharness"
   ],
   "bluetooth/characteristic/getDescriptor/gen-descriptor-get-same-object.https.html": [
@@ -249261,15 +249281,15 @@
    "testharness"
   ],
   "bluetooth/characteristic/getDescriptor/gen-service-is-removed.https.html": [
-   "80c7782e7c2bba33e43d2661a3ba0d069b49e727",
+   "ba4c6477eaa5978599e7c77d3227bc63fe6b5a3f",
    "testharness"
   ],
   "bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed-with-uuid.https.html": [
-   "fa068af0ac6d1629622f207b77ae95fe3f50b6cc",
+   "ae775a150cda67893dcace79396468134b5b8a60",
    "testharness"
   ],
   "bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed.https.html": [
-   "82084e965ad35f176505631cb0b9007422bf3fd4",
+   "64c51958f8d520e9608e695ddf0115f460081f2f",
    "testharness"
   ],
   "bluetooth/characteristic/getDescriptors/gen-descriptor-get-same-object.https.html": [
@@ -249277,11 +249297,11 @@
    "testharness"
   ],
   "bluetooth/characteristic/getDescriptors/gen-service-is-removed-with-uuid.https.html": [
-   "ad2b25c264ae236332715ae92e30452c5b97954c",
+   "67a1b69b198711e8c824529c2afe5513284e449f",
    "testharness"
   ],
   "bluetooth/characteristic/getDescriptors/gen-service-is-removed.https.html": [
-   "1132700853cbfd7fbc0772e44a407d72f710ffb5",
+   "e0746e2c992231bac0ed213b3f9b17a863db0902",
    "testharness"
   ],
   "bluetooth/characteristic/notifications/characteristic-is-removed.https.html": [
@@ -249289,7 +249309,7 @@
    "testharness"
   ],
   "bluetooth/characteristic/notifications/service-is-removed.https.html": [
-   "f6a5be53c85a190dca81a9b425b63d77bc6c193f",
+   "c38cba83787c54f68d57f4403a0ec0242c169035",
    "testharness"
   ],
   "bluetooth/characteristic/readValue/add-multiple-event-listeners.https.html": [
@@ -249305,7 +249325,7 @@
    "testharness"
   ],
   "bluetooth/characteristic/readValue/gen-characteristic-is-removed.https.html": [
-   "1700dfa9ba6e1aa44d42630ef7ba61d4beeed330",
+   "e775062bd01919af48f2c3e11ea2e90702b29064",
    "testharness"
   ],
   "bluetooth/characteristic/readValue/read-succeeds.https.html": [
@@ -249317,7 +249337,7 @@
    "testharness"
   ],
   "bluetooth/characteristic/readValue/service-is-removed.https.html": [
-   "b79a74ccf33bc76e6582ee7c1e2f3c277f99ddfb",
+   "1267b87396e49b063db2a7e5fe8611ef4f39845d",
    "testharness"
   ],
   "bluetooth/characteristic/service-same-from-2-characteristics.https.html": [
@@ -249329,7 +249349,7 @@
    "testharness"
   ],
   "bluetooth/characteristic/startNotifications/gen-characteristic-is-removed.https.html": [
-   "97f5d01743721207c5addfb9625fd3da7c0c61e3",
+   "471854c3309862acd121c7ef8d115b037ec297dd",
    "testharness"
   ],
   "bluetooth/characteristic/writeValue/characteristic-is-removed.https.html": [
@@ -249337,11 +249357,11 @@
    "testharness"
   ],
   "bluetooth/characteristic/writeValue/gen-characteristic-is-removed.https.html": [
-   "62b4bd66196c9c833631916761b41e973aa2a554",
+   "2bad4acf374516e29cb5a259d29a97160917ec58",
    "testharness"
   ],
   "bluetooth/characteristic/writeValue/service-is-removed.https.html": [
-   "857ae985ba4d15bcc5d78671a7f21d990c8db9c5",
+   "570bba21ad98a428dd5575dc544962b8ae6a05d8",
    "testharness"
   ],
   "bluetooth/characteristic/writeValue/write-succeeds.https.html": [
@@ -249349,7 +249369,7 @@
    "testharness"
   ],
   "bluetooth/descriptor/readValue/gen-service-is-removed.https.html": [
-   "47f1bd316ae7d2637524a1b5d4436a3f11b20fd0",
+   "c1954f13b95b9f5d0dbfd4f696aa0874e2a47c88",
    "testharness"
   ],
   "bluetooth/descriptor/readValue/read-succeeds.https.html": [
@@ -249357,7 +249377,7 @@
    "testharness"
   ],
   "bluetooth/descriptor/writeValue/gen-service-is-removed.https.html": [
-   "07c2dc0a081786302040942a989cc49f6b3fa3ca",
+   "99c77b594dcdfa971bdf96b28c176bf2e44a98ca",
    "testharness"
   ],
   "bluetooth/device/gattserverdisconnected-event/disconnected.https.html": [
@@ -249561,7 +249581,7 @@
    "support"
   ],
   "bluetooth/script-tests/characteristic/characteristic-is-removed.js": [
-   "7b7cd34d4c480e62fcde4667f50212cbae7f7b07",
+   "a82d6a1761e402906aa89a790166bccf1dd0a2c2",
    "support"
   ],
   "bluetooth/script-tests/characteristic/descriptor-get-same-object.js": [
@@ -249569,11 +249589,11 @@
    "support"
   ],
   "bluetooth/script-tests/characteristic/service-is-removed.js": [
-   "a9fa621bca75da2887835c529b40429a20ebdff8",
+   "c4703192b632d2bc63609b717d5f7829aad6168e",
    "support"
   ],
   "bluetooth/script-tests/descriptor/service-is-removed.js": [
-   "d442ab654680a3f4c7eae6036f74a20f0b730351",
+   "ef6afb686e14a5b77cc88f6c51c18529739fc7ea",
    "support"
   ],
   "bluetooth/script-tests/server/disconnect-called-before.js": [
@@ -249665,7 +249685,7 @@
    "support"
   ],
   "bluetooth/script-tests/service/service-is-removed.js": [
-   "ef77b77f70ac720b536882e9b48d7fe66fe4ecf4",
+   "209d46cebac1cf324dacb9741bbd7a320b70651c",
    "support"
   ],
   "bluetooth/server/connect/connection-succeeds.https.html": [
@@ -249937,7 +249957,7 @@
    "testharness"
   ],
   "bluetooth/service/getCharacteristic/gen-service-is-removed.https.html": [
-   "9f698f4e02985f21f772d38942d7fe9f383600f0",
+   "8680cb14d493830e9e5ded9d4d07a6e12e2f2fee",
    "testharness"
   ],
   "bluetooth/service/getCharacteristics/blocklisted-characteristics.https.html": [
@@ -249993,11 +250013,11 @@
    "testharness"
   ],
   "bluetooth/service/getCharacteristics/gen-service-is-removed-with-uuid.https.html": [
-   "d8e4257645340adfd45f069c4cebbc3ca88f2348",
+   "b67765aaf66b9ac679e018014127836ae9a1753e",
    "testharness"
   ],
   "bluetooth/service/getCharacteristics/gen-service-is-removed.https.html": [
-   "417d39a317f55a95180c806d28047c85dd959d65",
+   "baadfc8451547b9b1a863b222009f230fc2b032b",
    "testharness"
   ],
   "clear-site-data/OWNERS": [
@@ -252628,10 +252648,6 @@
    "f2c101203c2a2d82a4191164943e79734530d124",
    "support"
   ],
-  "cookie-store/cookie-store.idl": [
-   "5284cfc7bbb5282d670c59ef7baaa39e166bebe9",
-   "support"
-  ],
   "cookie-store/cookieStore_delete_arguments.tentative.window.js": [
    "f33ce9a975c759ce6da8a5caa371ca026dd537c4",
    "testharness"
@@ -252769,11 +252785,11 @@
    "testharness"
   ],
   "cookie-store/idlharness.tentative.html": [
-   "80fd85490924312c3684cc0a7bf1b7a8c39a176e",
+   "551813353483102be5004ac6ddc325ced659f9eb",
    "testharness"
   ],
   "cookie-store/idlharness_serviceworker.js": [
-   "34790d2326bc4c23b1a3dcf0435d987654955170",
+   "b274b66237c0d83e9b8e770f6cf13fedd9a39b8f",
    "support"
   ],
   "cookie-store/idlharness_serviceworker.tentative.https.html": [
@@ -301256,16 +301272,12 @@
    "f5078badde83ca4823844a9df5cde800593efbfc",
    "testharness"
   ],
-  "css/css-typed-om/stylevalue-objects/interface.html": [
-   "5c9086db5b7f3a9d6e3109f1ce47385ad345f474",
-   "testharness"
-  ],
   "css/css-typed-om/stylevalue-objects/parse-invalid.html": [
    "5c699b58f44dfc6d352cfae423eca4981eb78f1e",
    "testharness"
   ],
   "css/css-typed-om/stylevalue-objects/parse.html": [
-   "afb2b2dabf80ba3d96812e63205f9903589595eb",
+   "863df0a575d1209387b29e186fb73cfc6acd3859",
    "testharness"
   ],
   "css/css-typed-om/stylevalue-objects/parseAll-invalid.html": [
@@ -301273,7 +301285,7 @@
    "testharness"
   ],
   "css/css-typed-om/stylevalue-objects/parseAll.html": [
-   "0b45c2f4fce50274d41f6d836377e965e9b9a1eb",
+   "f4018787ff06606bcf22a3d36b3d8e43aa47b481",
    "testharness"
   ],
   "css/css-typed-om/stylevalue-serialization/cssImageValue.html": [
@@ -311597,7 +311609,7 @@
    "testharness"
   ],
   "css/cssom/cssimportrule.html": [
-   "fbd8c0e93fbb53b289fd3a52a1b53c1c236e347d",
+   "c7a70c7836b5a31631b12cc47f280d507542571d",
    "testharness"
   ],
   "css/cssom/cssom-cssText-serialize.html": [
@@ -311624,6 +311636,14 @@
    "14c752e5dbeab2d58983d53aceab08519379bf0f",
    "testharness"
   ],
+  "css/cssom/cssstyledeclaration-csstext-final-delimiter.html": [
+   "f1954aef1c01c1590211ed852f2ea2bb80ac14ab",
+   "testharness"
+  ],
+  "css/cssom/cssstyledeclaration-csstext-important.html": [
+   "9be338b6188e5c8eb2011f81ec295844a7cf0fc5",
+   "testharness"
+  ],
   "css/cssom/cssstyledeclaration-csstext.html": [
    "aa2adbfcc58f3a844e2e1f2c96e5efed2c81f2c3",
    "testharness"
@@ -311684,6 +311704,10 @@
    "812f2b02d7694dd270b7a3e1ef205b99890ab216",
    "testharness"
   ],
+  "css/cssom/insertRule-syntax-error-01.html": [
+   "36f824b24dd56e20b7c524111512d8743745daaa",
+   "testharness"
+  ],
   "css/cssom/interfaces-expected.txt": [
    "ceb2d0acbc844494a42404ecd00ea5cae5fd6d8a",
    "support"
@@ -311733,7 +311757,7 @@
    "testharness"
   ],
   "css/cssom/selectorSerialize.html": [
-   "002777c7c598eb1131ab625365ee3fe08650e830",
+   "d93c31a8261ddc3b83bb4def15f7c8eb765b9dc7",
    "testharness"
   ],
   "css/cssom/selectorText-modification-restyle-001-ref.html": [
@@ -320836,10 +320860,6 @@
    "d2d4255745538e257877dab134f0604d40ee4972",
    "testharness"
   ],
-  "encrypted-media/EncryptedMediaExtensions.idl": [
-   "ef1f1432c42fc6d01f3bfbd576fa5c7de349de96",
-   "support"
-  ],
   "encrypted-media/OWNERS": [
    "948172577050ec0e9340ca85f773bf47371be965",
    "support"
@@ -321297,7 +321317,7 @@
    "testharness"
   ],
   "encrypted-media/idlharness.https.html": [
-   "eece848c772a39b29d6d8ece532e7807d737f50d",
+   "49b0c8508501b73ba979f7c86ebcc40de0073caf",
    "testharness"
   ],
   "encrypted-media/polyfill/cast-polyfill.js": [
@@ -321621,17 +321641,13 @@
    "support"
   ],
   "entries-api/interfaces-manual.html": [
-   "2e92f27db496e6463372faaabf733fd5b3bf7d94",
+   "89bdb2795359f394735f598da8bb0a551959f061",
    "manual"
   ],
   "entries-api/interfaces.html": [
-   "0ba0779cb78e322054b7c4d268d0697b747d6cb9",
+   "57dc2a22df0cdeff6c14a1e4ba9e06fe19b703ad",
    "testharness"
   ],
-  "entries-api/interfaces.idl": [
-   "7fc7361fd635d7377169a756c3369c082f41d5d2",
-   "support"
-  ],
   "entries-api/support.js": [
    "e8a802cfcd96ceb96db13d86548513f2df4d7654",
    "support"
@@ -323217,7 +323233,7 @@
    "testharness"
   ],
   "fetch/corb/README.md": [
-   "95e1cbd716945e9cc53297243af4cec1ac35493e",
+   "7f3ebd888c16f457c7f137362cff620ae2cc82b3",
    "support"
   ],
   "fetch/corb/img-html-correctly-labeled.sub-expected.html": [
@@ -323373,7 +323389,7 @@
    "support"
   ],
   "fetch/data-urls/processing.any-expected.txt": [
-   "cc09f7bb1a7900c813911b6a46dddded0466475c",
+   "ab294538e1879d2c51dab2818cd108568923d4c8",
    "support"
   ],
   "fetch/data-urls/processing.any.js": [
@@ -323381,7 +323397,7 @@
    "testharness"
   ],
   "fetch/data-urls/processing.any.worker-expected.txt": [
-   "cc09f7bb1a7900c813911b6a46dddded0466475c",
+   "ab294538e1879d2c51dab2818cd108568923d4c8",
    "support"
   ],
   "fetch/data-urls/resources/base64.json": [
@@ -323389,7 +323405,7 @@
    "support"
   ],
   "fetch/data-urls/resources/data-urls.json": [
-   "8f2ea63fb10ffe403125fb01b0afb848ed7ccb28",
+   "f743417aa319c29e73620daac1d6f3fe1d4a5a28",
    "support"
   ],
   "fetch/http-cache/304-update.html": [
@@ -344200,6 +344216,14 @@
    "f585014db144083ee2f70f6fd65f78bf2e289093",
    "manual"
   ],
+  "interfaces/FileAPI.idl": [
+   "2a12d457a38d00109c0f6423bf3e3f16fcc700c9",
+   "support"
+  ],
+  "interfaces/IndexedDB.idl": [
+   "f367517cad717e2066ad8179df9ba5aa3b402c97",
+   "support"
+  ],
   "interfaces/WebCryptoAPI.idl": [
    "87b02fc82a1b204ac59a51932e58f9369b4a77c6",
    "support"
@@ -344212,6 +344236,10 @@
    "bdede54deab80b5465f904a9726ee86f1260858d",
    "support"
   ],
+  "interfaces/background-fetch.idl": [
+   "f2c8fc84af7bf785ba42f1398181e2ab08c3826a",
+   "support"
+  ],
   "interfaces/clipboard-apis.idl": [
    "66b014c6a2ba5cd8e0fbc83081d4c16ac4d46d39",
    "support"
@@ -344220,6 +344248,10 @@
    "43ced34008dc73d05c79140d8dc33c60e2d9df3a",
    "support"
   ],
+  "interfaces/cookie-store.idl": [
+   "5284cfc7bbb5282d670c59ef7baaa39e166bebe9",
+   "support"
+  ],
   "interfaces/css-typed-om.idl": [
    "3c918afebfb20266dd4003e71a008ed19c448fbc",
    "support"
@@ -344240,6 +344272,14 @@
    "605bb139c7695e46f8657097cf2d9bc6240a2d38",
    "support"
   ],
+  "interfaces/encrypted-media.idl": [
+   "ef1f1432c42fc6d01f3bfbd576fa5c7de349de96",
+   "support"
+  ],
+  "interfaces/entries-api.idl": [
+   "7fc7361fd635d7377169a756c3369c082f41d5d2",
+   "support"
+  ],
   "interfaces/fullscreen.idl": [
    "fda57b55aabdc54d674851851451c6c69c514ed1",
    "support"
@@ -344308,6 +344348,10 @@
    "3b2cb524838f2274463664621fddc7c927ac95af",
    "support"
   ],
+  "interfaces/storage.idl": [
+   "fe2e879ca5662f3b1714404734fd033faf3268ec",
+   "support"
+  ],
   "interfaces/touchevents.idl": [
    "6ce4f601cda6cd3b99a300e0b28d2886647f06d3",
    "support"
@@ -344328,8 +344372,12 @@
    "d3ab33fa078f1b3bd4b29e174369073aab3963d5",
    "support"
   ],
+  "interfaces/webauthn.idl": [
+   "77076f0828383c0f48f36131a81b25186622b3a3",
+   "support"
+  ],
   "interfaces/webidl.idl": [
-   "19271414e0e602d5bb4ec8343a9a5e10a9b65d3c",
+   "d466ddd18ed621e15cc416863502069ffccfa5b9",
    "support"
   ],
   "interfaces/webrtc-pc.idl": [
@@ -344341,7 +344389,7 @@
    "support"
   ],
   "interfaces/webxr.idl": [
-   "7a275cb5317c967a1058cab3a711c9262abfbf59",
+   "b1bbaa67765ce6eb20c39e6f2234912e4853e148",
    "support"
   ],
   "interfaces/xhr.idl": [
@@ -366777,17 +366825,13 @@
    "testharness"
   ],
   "storage/interfaces.https.html": [
-   "76fa61c3a87485266a7f9d6f66e5d08bb7881ff7",
+   "dc8d3737af0e715198898a8e353e4c60d1ffefa3",
    "testharness"
   ],
   "storage/interfaces.https.worker.js": [
-   "da11cf56486fe08214f91d181b3a19775f6aa59c",
+   "c4f6ecec5c22e498ee9375d5a44e07ec41231171",
    "testharness"
   ],
-  "storage/interfaces.idl": [
-   "fe2e879ca5662f3b1714404734fd033faf3268ec",
-   "support"
-  ],
   "storage/opaque-origin.https.html": [
    "6ce5a9b14d80030f0adfa1808857294e8c923cb2",
    "testharness"
@@ -367309,11 +367353,11 @@
    "testharness"
   ],
   "streams/readable-streams/bad-underlying-sources-expected.txt": [
-   "cb48f2e968f899782636860ec21cff8073df3b91",
+   "b082b3b2884e8e5c681980f4c77ec512cebbc469",
    "support"
   ],
   "streams/readable-streams/bad-underlying-sources.dedicatedworker-expected.txt": [
-   "cb48f2e968f899782636860ec21cff8073df3b91",
+   "b082b3b2884e8e5c681980f4c77ec512cebbc469",
    "support"
   ],
   "streams/readable-streams/bad-underlying-sources.dedicatedworker.html": [
@@ -367325,11 +367369,11 @@
    "testharness"
   ],
   "streams/readable-streams/bad-underlying-sources.js": [
-   "ad4715f225949b4405dea61c0bff003d572e8afa",
+   "1135be491a7a5663041b8d6d6b65f0206970ab0e",
    "support"
   ],
   "streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt": [
-   "ada9589a935576ffdf9f09ddaba41e1a0e38041d",
+   "6464c7060aa0afeb13876942251a962dd00acb46",
    "support"
   ],
   "streams/readable-streams/bad-underlying-sources.serviceworker.https.html": [
@@ -367337,7 +367381,7 @@
    "testharness"
   ],
   "streams/readable-streams/bad-underlying-sources.sharedworker-expected.txt": [
-   "cb48f2e968f899782636860ec21cff8073df3b91",
+   "b082b3b2884e8e5c681980f4c77ec512cebbc469",
    "support"
   ],
   "streams/readable-streams/bad-underlying-sources.sharedworker.html": [
@@ -367444,6 +367488,14 @@
    "00af09f46d126d6d2944d13831896e648094d1a8",
    "testharness"
   ],
+  "streams/readable-streams/garbage-collection-expected.txt": [
+   "b747a6f0943c9a5a472b3a4c0ca39bd1aca30c6d",
+   "support"
+  ],
+  "streams/readable-streams/garbage-collection.dedicatedworker-expected.txt": [
+   "b747a6f0943c9a5a472b3a4c0ca39bd1aca30c6d",
+   "support"
+  ],
   "streams/readable-streams/garbage-collection.dedicatedworker.html": [
    "0c774ff797fda7a5b5a828a4600a39dae72cac0c",
    "testharness"
@@ -367453,13 +367505,21 @@
    "testharness"
   ],
   "streams/readable-streams/garbage-collection.js": [
-   "aea6c64d62b25ee9bf9ccf29214ec9bef7eab993",
+   "67871c1324ce268721015fcc59c6e78edc0a8e79",
+   "support"
+  ],
+  "streams/readable-streams/garbage-collection.serviceworker.https-expected.txt": [
+   "465f75ace54b32df180cab25d64d02621fb0d573",
    "support"
   ],
   "streams/readable-streams/garbage-collection.serviceworker.https.html": [
    "c35eb996cbf796eadbb52f4a3288c8452765b952",
    "testharness"
   ],
+  "streams/readable-streams/garbage-collection.sharedworker-expected.txt": [
+   "b747a6f0943c9a5a472b3a4c0ca39bd1aca30c6d",
+   "support"
+  ],
   "streams/readable-streams/garbage-collection.sharedworker.html": [
    "d22e9b8bc231b3c00be2de557c0f91dbb76dcd81",
    "testharness"
@@ -371317,13 +371377,9 @@
    "support"
   ],
   "webauthn/interfaces.https.html": [
-   "5a30981934a38e09328a946352b21a8abc90851f",
+   "80609bdf53a5919205b235549cd57a859e56ee3b",
    "testharness"
   ],
-  "webauthn/interfaces.idl": [
-   "77076f0828383c0f48f36131a81b25186622b3a3",
-   "support"
-  ],
   "webauthn/securecontext.http.html": [
    "7abf48e74debed79578e39934d1b84655731a3ea",
    "testharness"
@@ -376737,7 +376793,7 @@
    "support"
   ],
   "webxr/interfaces.https-expected.txt": [
-   "fe96b9c5044285839074195dd2e6a0b8bbe62677",
+   "6d7b736abed474d52ff0104d74207c97b6ffff73",
    "support"
   ],
   "webxr/interfaces.https.html": [
diff --git a/third_party/WebKit/LayoutTests/external/wpt/FileAPI/idlharness.html b/third_party/WebKit/LayoutTests/external/wpt/FileAPI/idlharness.html
index 7b706ad..0cd604c 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/FileAPI/idlharness.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/FileAPI/idlharness.html
@@ -25,7 +25,7 @@
     var idl_array = new IdlArray();
 
     var request = new XMLHttpRequest();
-    request.open("GET", "idlharness.idl");
+    request.open("GET", "/interfaces/FileAPI.idl");
     request.send();
     request.onload = function() {
         var idls = request.responseText;
diff --git a/third_party/WebKit/LayoutTests/external/wpt/FileAPI/idlharness.worker.js b/third_party/WebKit/LayoutTests/external/wpt/FileAPI/idlharness.worker.js
index 138325b..fdf208df 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/FileAPI/idlharness.worker.js
+++ b/third_party/WebKit/LayoutTests/external/wpt/FileAPI/idlharness.worker.js
@@ -2,7 +2,7 @@
 importScripts("/resources/WebIDLParser.js", "/resources/idlharness.js");
 
 var request = new XMLHttpRequest();
-request.open("GET", "idlharness.idl");
+request.open("GET", "/interfaces/FileAPI.idl");
 request.send();
 request.onload = function() {
     var idl_array = new IdlArray();
diff --git a/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interfaces.html b/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interfaces.html
index 30372b6..8bffa622 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interfaces.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interfaces.html
@@ -13,7 +13,7 @@
 "use strict";
 async_test(function(t) {
   var request = new XMLHttpRequest();
-  request.open("GET", "interfaces.idl");
+  request.open("GET", "/interfaces/IndexedDB.idl");
   request.send();
   request.onload = t.step_func(function() {
     var idlArray = new IdlArray();
diff --git a/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interfaces.worker.js b/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interfaces.worker.js
index 22aa386..547b07b 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interfaces.worker.js
+++ b/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interfaces.worker.js
@@ -5,7 +5,7 @@
 
 async_test(function(t) {
   var request = new XMLHttpRequest();
-  request.open("GET", "interfaces.idl");
+  request.open("GET", "/interfaces/IndexedDB.idl");
   request.send();
   request.onload = t.step_func(function() {
     var idlArray = new IdlArray();
diff --git a/third_party/WebKit/LayoutTests/external/wpt/background-fetch/interfaces.html b/third_party/WebKit/LayoutTests/external/wpt/background-fetch/interfaces.html
index 0cd200f2..f512e45 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/background-fetch/interfaces.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/background-fetch/interfaces.html
@@ -13,7 +13,7 @@
 'use strict';
 
 promise_test(function() {
-  return fetch('interfaces.idl')
+  return fetch('/interfaces/background-fetch.idl')
     .then(response => response.text())
     .then(idls => {
       var idlArray = new IdlArray();
diff --git a/third_party/WebKit/LayoutTests/external/wpt/background-fetch/interfaces.worker.js b/third_party/WebKit/LayoutTests/external/wpt/background-fetch/interfaces.worker.js
index a5fc4ed..89a7cb3d 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/background-fetch/interfaces.worker.js
+++ b/third_party/WebKit/LayoutTests/external/wpt/background-fetch/interfaces.worker.js
@@ -4,7 +4,7 @@
 importScripts('/resources/WebIDLParser.js', '/resources/idlharness.js');
 
 promise_test(function() {
-  return fetch('interfaces.idl')
+  return fetch('/interfaces/background-fetch.idl')
     .then(response => response.text())
     .then(idls => {
       var idlArray = new IdlArray();
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/anchor-navigation-always-allowed.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/anchor-navigation-always-allowed.html
new file mode 100644
index 0000000..1cf01a7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/anchor-navigation-always-allowed.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+
+<a name="anchor"></a>
+
+<script>
+  var t = async_test("Test that anchor navigation is allowed regardless of the `navigate-to` directive");
+  
+  window.addEventListener('securitypolicyviolation', t.unreached_func("Should not have triggered any violation"));
+  
+  try {
+    window.location.hash = "anchor";
+    t.done();
+  } catch(ex) {}
+</script>
+
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/anchor-navigation-always-allowed.html.headers b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/anchor-navigation-always-allowed.html.headers
new file mode 100644
index 0000000..739a2ce
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/anchor-navigation-always-allowed.html.headers
@@ -0,0 +1,4 @@
+Expires: Mon, 26 Jul 1997 05:00:00 GMT
+Cache-Control: no-store, no-cache, must-revalidate
+Pragma: no-cache
+Content-Security-Policy: navigate-to 'none'
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/child-navigates-parent-allowed.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/child-navigates-parent-allowed.html
new file mode 100644
index 0000000..3848c2f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/child-navigates-parent-allowed.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child can navigate the parent because the relevant policy belongs to the navigation initiator (in this case the child)");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+</script>
+
+<iframe srcdoc="<iframe src='support/navigate_parent.sub.html?csp=navigate-to%20%27self%27'>">
+
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/child-navigates-parent-allowed.html.headers b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/child-navigates-parent-allowed.html.headers
new file mode 100644
index 0000000..7d5e85e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/child-navigates-parent-allowed.html.headers
@@ -0,0 +1,4 @@
+Expires: Mon, 26 Jul 1997 05:00:00 GMT
+Cache-Control: no-store, no-cache, must-revalidate
+Pragma: no-cache
+Content-Security-Policy: navigate-to support/navigate_parent.sub.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/child-navigates-parent-blocked-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/child-navigates-parent-blocked-expected.txt
new file mode 100644
index 0000000..1a4d1706
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/child-navigates-parent-blocked-expected.txt
@@ -0,0 +1,4 @@
+This is a testharness.js-based test.
+FAIL Test that the child can't navigate the parent because the relevant policy belongs to the navigation initiator (in this case the child) assert_equals: expected "fail" but got "success"
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/child-navigates-parent-blocked.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/child-navigates-parent-blocked.html
new file mode 100644
index 0000000..a5bea3ff
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/child-navigates-parent-blocked.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child can't navigate the parent because the relevant policy belongs to the navigation initiator (in this case the child)");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'fail');
+    assert_equals(e.data.violatedDirective, 'navigate-to');
+  });
+</script>
+
+<iframe srcdoc="<iframe src='support/navigate_parent.sub.html?csp=navigate-to%20%27none%27'>">
+
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/child-navigates-parent-blocked.html.headers b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/child-navigates-parent-blocked.html.headers
new file mode 100644
index 0000000..9cb770b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/child-navigates-parent-blocked.html.headers
@@ -0,0 +1,4 @@
+Expires: Mon, 26 Jul 1997 05:00:00 GMT
+Cache-Control: no-store, no-cache, must-revalidate
+Pragma: no-cache
+Content-Security-Policy: navigate-to 'self'
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-action/form-action-allows-navigate-to-allows.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-action/form-action-allows-navigate-to-allows.html
new file mode 100644
index 0000000..452b88182
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-action/form-action-allows-navigate-to-allows.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that form-action overrides navigate-to when present.");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+</script>
+<iframe src="../support/form_action_navigation.sub.html?csp=navigate-to%20%27self%27%3B%20form-action%20%27self%27%3B&action=post_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-action/form-action-allows-navigate-to-blocks.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-action/form-action-allows-navigate-to-blocks.html
new file mode 100644
index 0000000..44dcc51
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-action/form-action-allows-navigate-to-blocks.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that form-action overrides navigate-to when present.");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+</script>
+<iframe src="../support/form_action_navigation.sub.html?csp=navigate-to%20%27none%27%3B%20form-action%20%27self%27%3B&action=post_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.html
new file mode 100644
index 0000000..5e6557d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that form-action overrides navigate-to when present.");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'fail');
+    assert_equals(e.data.violatedDirective, 'form-action');
+  });
+</script>
+<iframe src="../support/form_action_navigation.sub.html?csp=navigate-to%20%27self%27%3B%20form-action%20%27none%27%3B&action=post_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-blocks.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-blocks.html
new file mode 100644
index 0000000..9f9c803d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-blocks.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that form-action overrides navigate-to when present.");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'fail');
+    assert_equals(e.data.violatedDirective, 'form-action');
+  });
+</script>
+<iframe src="../support/form_action_navigation.sub.html?csp=navigate-to%20%27none%27%3B%20form-action%20%27none%27%3B&action=post_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-allowed.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-allowed.html
new file mode 100644
index 0000000..c1a88b27
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-allowed.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is allowed");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+</script>
+<iframe src="support/form_action_navigation.sub.html?csp=navigate-to%20%27self%27&action=post_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-blocked-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-blocked-expected.txt
new file mode 100644
index 0000000..cf4f79d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-blocked-expected.txt
@@ -0,0 +1,4 @@
+This is a testharness.js-based test.
+FAIL Test that the child iframe navigation is blocked assert_equals: expected "fail" but got "success"
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-blocked.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-blocked.html
new file mode 100644
index 0000000..233db53
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-blocked.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is blocked");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'fail');
+    assert_equals(e.data.violatedDirective, 'navigate-to');
+  });
+</script>
+<iframe src="support/form_action_navigation.sub.html?csp=navigate-to%20%27none%27&action=post_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-cross-origin-allowed.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-cross-origin-allowed.sub.html
new file mode 100644
index 0000000..a082786
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-cross-origin-allowed.sub.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is allowed");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+</script>
+<iframe src="support/form_action_navigation.sub.html?csp=navigate-to%20http%3A%2F%2F{{domains[www1]}}:{{ports[http][0]}}&action=http%3A%2F%2F{{domains[www1]}}:{{ports[http][0]}}%2Fcontent-security-policy%2Fnavigate-to%2Fsupport%2Fpost_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-cross-origin-blocked.sub-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-cross-origin-blocked.sub-expected.txt
new file mode 100644
index 0000000..cf4f79d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-cross-origin-blocked.sub-expected.txt
@@ -0,0 +1,4 @@
+This is a testharness.js-based test.
+FAIL Test that the child iframe navigation is blocked assert_equals: expected "fail" but got "success"
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-cross-origin-blocked.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-cross-origin-blocked.sub.html
new file mode 100644
index 0000000..e8e653c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-cross-origin-blocked.sub.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is blocked");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'fail');
+    assert_equals(e.data.violatedDirective, 'navigate-to');
+  });
+</script>
+<iframe src="support/form_action_navigation.sub.html?csp=navigate-to%20%27self%27&action=http%3A%2F%2F{{domains[www1]}}:{{ports[http][0]}}%2Fcontent-security-policy%2Fnavigate-to%2Fsupport%2Fpost_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-redirected-allowed.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-redirected-allowed.html
new file mode 100644
index 0000000..7612d206
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-redirected-allowed.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is allowed");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+</script>
+<iframe src="support/form_action_navigation.sub.html?csp=navigate-to%20%27self%27&action=redirect_to_post_message_to_frame_owner.py">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-redirected-blocked.sub-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-redirected-blocked.sub-expected.txt
new file mode 100644
index 0000000..cf4f79d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-redirected-blocked.sub-expected.txt
@@ -0,0 +1,4 @@
+This is a testharness.js-based test.
+FAIL Test that the child iframe navigation is blocked assert_equals: expected "fail" but got "success"
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-redirected-blocked.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-redirected-blocked.sub.html
new file mode 100644
index 0000000..6f4e1ac8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/form-redirected-blocked.sub.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is blocked");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'fail');
+    assert_equals(e.data.violatedDirective, 'navigate-to');
+  });
+</script>
+<iframe src="support/form_action_navigation.sub.html?csp=navigate-to%20{{location[server]}}/content-security-policy/navigate-to/support/redirect_to_post_message_to_frame_owner.py&action=redirect_to_post_message_to_frame_owner.py">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-allowed.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-allowed.html
new file mode 100644
index 0000000..e8896c8d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-allowed.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is allowed");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+
+  window.open("support/href_location_navigation.sub.html?csp=navigate-to%20%27self%27&target=post_message_to_frame_owner.html", "_blank");
+</script>
+
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-blocked-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-blocked-expected.txt
new file mode 100644
index 0000000..cf4f79d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-blocked-expected.txt
@@ -0,0 +1,4 @@
+This is a testharness.js-based test.
+FAIL Test that the child iframe navigation is blocked assert_equals: expected "fail" but got "success"
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-blocked.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-blocked.html
new file mode 100644
index 0000000..50947848
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-blocked.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is blocked");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'fail');
+    assert_equals(e.data.violatedDirective, 'navigate-to');
+  });
+
+  window.open("support/href_location_navigation.sub.html?csp=navigate-to%20%27none%27&target=post_message_to_frame_owner.html", "_blank");
+</script>
+
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-cross-origin-allowed.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-cross-origin-allowed.sub.html
new file mode 100644
index 0000000..0009b6c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-cross-origin-allowed.sub.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is allowed");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+
+  window.open("support/href_location_navigation.sub.html?csp=navigate-to%20http%3A%2F%2F{{domains[www1]}}:{{ports[http][0]}}&target=http%3A%2F%2F{{domains[www1]}}:{{ports[http][0]}}%2Fcontent-security-policy%2Fnavigate-to%2Fsupport%2Fpost_message_to_frame_owner.html", "_blank");
+</script>
+
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-cross-origin-blocked.sub-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-cross-origin-blocked.sub-expected.txt
new file mode 100644
index 0000000..cf4f79d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-cross-origin-blocked.sub-expected.txt
@@ -0,0 +1,4 @@
+This is a testharness.js-based test.
+FAIL Test that the child iframe navigation is blocked assert_equals: expected "fail" but got "success"
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-cross-origin-blocked.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-cross-origin-blocked.sub.html
new file mode 100644
index 0000000..ef0d787
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-cross-origin-blocked.sub.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is blocked");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'fail');
+    assert_equals(e.data.violatedDirective, 'navigate-to');
+  });
+
+  window.open("support/href_location_navigation.sub.html?csp=navigate-to%20%27self%27&target=http%3A%2F%2F{{domains[www1]}}:{{ports[http][0]}}%2Fcontent-security-policy%2Fnavigate-to%2Fsupport%2Fpost_message_to_frame_owner.html", "_blank");
+</script>
+
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-redirected-allowed.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-redirected-allowed.html
new file mode 100644
index 0000000..4f535bf3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-redirected-allowed.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is allowed");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+
+  window.open("support/href_location_navigation.sub.html?csp=navigate-to%20%27self%27&target=redirect_to_post_message_to_frame_owner.py", "_blank");
+</script>
+
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-redirected-blocked.sub-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-redirected-blocked.sub-expected.txt
new file mode 100644
index 0000000..cf4f79d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-redirected-blocked.sub-expected.txt
@@ -0,0 +1,4 @@
+This is a testharness.js-based test.
+FAIL Test that the child iframe navigation is blocked assert_equals: expected "fail" but got "success"
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-redirected-blocked.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-redirected-blocked.sub.html
new file mode 100644
index 0000000..8a0047d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/href-location-redirected-blocked.sub.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is blocked");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'fail');
+    assert_equals(e.data.violatedDirective, 'navigate-to');
+  });
+
+  window.open("support/href_location_navigation.sub.html?csp=navigate-to%20{{location[server]}}/content-security-policy/navigate-to/support/redirect_to_post_message_to_frame_owner.py&target=redirect_to_post_message_to_frame_owner.py", "_blank");
+</script>
+
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-allowed.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-allowed.html
new file mode 100644
index 0000000..977b85d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-allowed.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is allowed");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+</script>
+<iframe src="support/link_click_navigation.sub.html?csp=navigate-to%20%27self%27&target=post_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-blocked-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-blocked-expected.txt
new file mode 100644
index 0000000..cf4f79d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-blocked-expected.txt
@@ -0,0 +1,4 @@
+This is a testharness.js-based test.
+FAIL Test that the child iframe navigation is blocked assert_equals: expected "fail" but got "success"
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-blocked.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-blocked.html
new file mode 100644
index 0000000..6817da2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-blocked.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is blocked");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'fail');
+    assert_equals(e.data.violatedDirective, 'navigate-to');
+  });
+</script>
+<iframe src="support/link_click_navigation.sub.html?csp=navigate-to%20%27none%27&target=post_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-cross-origin-allowed.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-cross-origin-allowed.sub.html
new file mode 100644
index 0000000..4381bcb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-cross-origin-allowed.sub.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is allowed");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+</script>
+<iframe src="support/link_click_navigation.sub.html?csp=navigate-to%20http%3A%2F%2F{{domains[www1]}}:{{ports[http][0]}}&target=http%3A%2F%2F{{domains[www1]}}:{{ports[http][0]}}%2Fcontent-security-policy%2Fnavigate-to%2Fsupport%2Fpost_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-cross-origin-blocked.sub-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-cross-origin-blocked.sub-expected.txt
new file mode 100644
index 0000000..cf4f79d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-cross-origin-blocked.sub-expected.txt
@@ -0,0 +1,4 @@
+This is a testharness.js-based test.
+FAIL Test that the child iframe navigation is blocked assert_equals: expected "fail" but got "success"
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-cross-origin-blocked.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-cross-origin-blocked.sub.html
new file mode 100644
index 0000000..1041506e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-cross-origin-blocked.sub.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is blocked");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'fail');
+    assert_equals(e.data.violatedDirective, 'navigate-to');
+  });
+</script>
+<iframe src="support/link_click_navigation.sub.html?csp=navigate-to%20%27self%27&target=http%3A%2F%2F{{domains[www1]}}:{{ports[http][0]}}%2Fcontent-security-policy%2Fnavigate-to%2Fsupport%2Fpost_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-redirected-allowed.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-redirected-allowed.html
new file mode 100644
index 0000000..87dea95
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-redirected-allowed.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is allowed");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+</script>
+<iframe src="support/link_click_navigation.sub.html?csp=navigate-to%20%27self%27&target=redirect_to_post_message_to_frame_owner.py">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-redirected-blocked.sub-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-redirected-blocked.sub-expected.txt
new file mode 100644
index 0000000..cf4f79d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-redirected-blocked.sub-expected.txt
@@ -0,0 +1,4 @@
+This is a testharness.js-based test.
+FAIL Test that the child iframe navigation is blocked assert_equals: expected "fail" but got "success"
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-redirected-blocked.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-redirected-blocked.sub.html
new file mode 100644
index 0000000..f0bf4df
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/link-click-redirected-blocked.sub.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is blocked");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'fail');
+    assert_equals(e.data.violatedDirective, 'navigate-to');
+  });
+</script>
+<iframe src="support/link_click_navigation.sub.html?csp=navigate-to%20{{location[server]}}/content-security-policy/navigate-to/support/redirect_to_post_message_to_frame_owner.py&target=redirect_to_post_message_to_frame_owner.py">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-allowed.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-allowed.html
new file mode 100644
index 0000000..eeaefc4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-allowed.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is allowed");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+</script>
+<iframe src="support/meta_refresh_navigation.sub.html?csp=navigate-to%20%27self%27&target=post_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-blocked-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-blocked-expected.txt
new file mode 100644
index 0000000..cf4f79d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-blocked-expected.txt
@@ -0,0 +1,4 @@
+This is a testharness.js-based test.
+FAIL Test that the child iframe navigation is blocked assert_equals: expected "fail" but got "success"
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-blocked.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-blocked.html
new file mode 100644
index 0000000..7acf68dd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-blocked.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is blocked");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'fail');
+    assert_equals(e.data.violatedDirective, 'navigate-to');
+  });
+</script>
+<iframe src="support/meta_refresh_navigation.sub.html?csp=navigate-to%20%27none%27&target=post_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-cross-origin-allowed.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-cross-origin-allowed.sub.html
new file mode 100644
index 0000000..39e887e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-cross-origin-allowed.sub.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is allowed");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+</script>
+<iframe src="support/meta_refresh_navigation.sub.html?csp=navigate-to%20http%3A%2F%2F{{domains[www1]}}:{{ports[http][0]}}&target=http%3A%2F%2F{{domains[www1]}}:{{ports[http][0]}}%2Fcontent-security-policy%2Fnavigate-to%2Fsupport%2Fpost_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-cross-origin-blocked.sub-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-cross-origin-blocked.sub-expected.txt
new file mode 100644
index 0000000..cf4f79d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-cross-origin-blocked.sub-expected.txt
@@ -0,0 +1,4 @@
+This is a testharness.js-based test.
+FAIL Test that the child iframe navigation is blocked assert_equals: expected "fail" but got "success"
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-cross-origin-blocked.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-cross-origin-blocked.sub.html
new file mode 100644
index 0000000..627744e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-cross-origin-blocked.sub.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is blocked");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'fail');
+    assert_equals(e.data.violatedDirective, 'navigate-to');
+  });
+</script>
+<iframe src="support/meta_refresh_navigation.sub.html?csp=navigate-to%20%27self%27&target=http%3A%2F%2F{{domains[www1]}}:{{ports[http][0]}}%2Fcontent-security-policy%2Fnavigate-to%2Fsupport%2Fpost_message_to_frame_owner.html">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-redirected-allowed.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-redirected-allowed.html
new file mode 100644
index 0000000..de756bc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-redirected-allowed.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is allowed");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+</script>
+<iframe src="support/meta_refresh_navigation.sub.html?csp=navigate-to%20%27self%27&target=redirect_to_post_message_to_frame_owner.py">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-redirected-blocked.sub-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-redirected-blocked.sub-expected.txt
new file mode 100644
index 0000000..cf4f79d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-redirected-blocked.sub-expected.txt
@@ -0,0 +1,4 @@
+This is a testharness.js-based test.
+FAIL Test that the child iframe navigation is blocked assert_equals: expected "fail" but got "success"
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-redirected-blocked.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-redirected-blocked.sub.html
new file mode 100644
index 0000000..598600f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/meta-refresh-redirected-blocked.sub.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the child iframe navigation is blocked");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'fail');
+    assert_equals(e.data.violatedDirective, 'navigate-to');
+  });
+</script>
+<iframe src="support/meta_refresh_navigation.sub.html?csp=navigate-to%20{{location[server]}}/content-security-policy/navigate-to/support/redirect_to_post_message_to_frame_owner.py&target=redirect_to_post_message_to_frame_owner.py">
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/parent-navigates-child-allowed.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/parent-navigates-child-allowed.html
new file mode 100644
index 0000000..e5455ce
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/parent-navigates-child-allowed.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the parent can navigate the child because the relevant policy belongs to the navigation initiator (in this case the parent)");
+  window.onmessage = t.step_func_done(function(e) {
+    assert_equals(e.data.result, 'success');
+  });
+  window.addEventListener('securitypolicyviolation', t.unreached_func("Should not have triggered a policy violation"));
+
+  var i = document.createElement('iframe');
+  var src_changed = false;
+  i.onload = function() {
+    if (src_changed) return;
+    src_changed = true;
+    i.src = "support/post_message_to_frame_owner.html";
+  }
+  i.src = "support/wait_for_navigation.html?csp=navigate-to%20%none%27";
+  document.body.appendChild(i);
+</script>
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/parent-navigates-child-allowed.html.headers b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/parent-navigates-child-allowed.html.headers
new file mode 100644
index 0000000..9cb770b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/parent-navigates-child-allowed.html.headers
@@ -0,0 +1,4 @@
+Expires: Mon, 26 Jul 1997 05:00:00 GMT
+Cache-Control: no-store, no-cache, must-revalidate
+Pragma: no-cache
+Content-Security-Policy: navigate-to 'self'
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/parent-navigates-child-blocked-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/parent-navigates-child-blocked-expected.txt
new file mode 100644
index 0000000..7a7b264
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/parent-navigates-child-blocked-expected.txt
@@ -0,0 +1,4 @@
+This is a testharness.js-based test.
+FAIL Test that the parent can't navigate the child because the relevant policy belongs to the navigation initiator (in this case the parent) assert_unreached: Should not have received a message from the child Reached unreachable code
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/parent-navigates-child-blocked.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/parent-navigates-child-blocked.html
new file mode 100644
index 0000000..8353d39
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/parent-navigates-child-blocked.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+
+<head>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+
+<body>
+<script>
+  var t = async_test("Test that the parent can't navigate the child because the relevant policy belongs to the navigation initiator (in this case the parent)");
+  window.addEventListener('securitypolicyviolation', t.step_func_done(function(e) {
+    assert_equals(e.violatedDirective, 'navigate-to');
+  }));
+  window.onmessage = t.unreached_func("Should not have received a message from the child");
+
+  var i = document.createElement('iframe');
+  var src_changed = false;
+  i.onload = function() {
+    if (src_changed) return;
+    src_changed = true;
+    i.src = "support/post_message_to_frame_owner.html";
+  }
+  i.src = "support/wait_for_navigation.html?csp=navigate-to%20%self%27";
+  document.body.appendChild(i);
+</script>
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/parent-navigates-child-blocked.html.headers b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/parent-navigates-child-blocked.html.headers
new file mode 100644
index 0000000..c2b8cd3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/parent-navigates-child-blocked.html.headers
@@ -0,0 +1,4 @@
+Expires: Mon, 26 Jul 1997 05:00:00 GMT
+Cache-Control: no-store, no-cache, must-revalidate
+Pragma: no-cache
+Content-Security-Policy: navigate-to support/wait_for_navigation.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/form_action_navigation.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/form_action_navigation.sub.html
new file mode 100644
index 0000000..be5be01
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/form_action_navigation.sub.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<head>
+  <script src="/resources/testharness.js"></script>
+  <script src="/resources/testharnessreport.js"></script>
+
+  <script>
+    window.addEventListener('securitypolicyviolation', function(e) {
+      top.postMessage({result: 'fail', violatedDirective: e.violatedDirective}, '*');
+    });
+  </script>
+</head>
+
+<body>
+<form action='{{GET[action]}}' target='_self' id='form'>
+  <input type="text" name="dummy">
+</form>
+
+<script>
+  document.getElementById('form').submit();
+</script>
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/form_action_navigation.sub.html.sub.headers b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/form_action_navigation.sub.html.sub.headers
new file mode 100644
index 0000000..d3c635b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/form_action_navigation.sub.html.sub.headers
@@ -0,0 +1,4 @@
+Expires: Mon, 26 Jul 1997 05:00:00 GMT
+Cache-Control: no-store, no-cache, must-revalidate
+Pragma: no-cache
+Content-Security-Policy: {{GET[csp]}}
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/href_location_navigation.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/href_location_navigation.sub.html
new file mode 100644
index 0000000..2e8fad6d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/href_location_navigation.sub.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<head>
+  <script src="/resources/testharness.js"></script>
+  <script src="/resources/testharnessreport.js"></script>
+
+  <script>
+    window.addEventListener('securitypolicyviolation', function(e) {
+      window.opener.postMessage({result: 'fail', violatedDirective: e.violatedDirective}, '*');
+    });
+  </script>
+</head>
+
+<body>
+<script>
+  try {
+    location.href = "{{GET[target]}}";
+  } catch(ex) {}
+</script>
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/href_location_navigation.sub.html.sub.headers b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/href_location_navigation.sub.html.sub.headers
new file mode 100644
index 0000000..d3c635b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/href_location_navigation.sub.html.sub.headers
@@ -0,0 +1,4 @@
+Expires: Mon, 26 Jul 1997 05:00:00 GMT
+Cache-Control: no-store, no-cache, must-revalidate
+Pragma: no-cache
+Content-Security-Policy: {{GET[csp]}}
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/link_click_navigation.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/link_click_navigation.sub.html
new file mode 100644
index 0000000..2469ed6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/link_click_navigation.sub.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<head>
+  <script src="/resources/testharness.js"></script>
+  <script src="/resources/testharnessreport.js"></script>
+
+  <script>
+    window.addEventListener('securitypolicyviolation', function(e) {
+      top.postMessage({result: 'fail', violatedDirective: e.violatedDirective}, '*');
+    });
+  </script>
+</head>
+
+<body>
+<a href="{{GET[target]}}" id="link">dummy link</a>
+<script>
+  document.getElementById('link').click();
+</script>
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/link_click_navigation.sub.html.sub.headers b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/link_click_navigation.sub.html.sub.headers
new file mode 100644
index 0000000..d3c635b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/link_click_navigation.sub.html.sub.headers
@@ -0,0 +1,4 @@
+Expires: Mon, 26 Jul 1997 05:00:00 GMT
+Cache-Control: no-store, no-cache, must-revalidate
+Pragma: no-cache
+Content-Security-Policy: {{GET[csp]}}
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/meta_refresh_navigation.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/meta_refresh_navigation.sub.html
new file mode 100644
index 0000000..3a841410
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/meta_refresh_navigation.sub.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<head>
+  <script src="/resources/testharness.js"></script>
+  <script src="/resources/testharnessreport.js"></script>
+
+  <script>
+    window.addEventListener('securitypolicyviolation', function(e) {
+      top.postMessage({result: 'fail', violatedDirective: e.violatedDirective}, '*');
+    });
+  </script>
+
+  <meta http-equiv="refresh" content="1; url={{GET[target]}}">
+</head>
+
+<body>
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/meta_refresh_navigation.sub.html.sub.headers b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/meta_refresh_navigation.sub.html.sub.headers
new file mode 100644
index 0000000..d3c635b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/meta_refresh_navigation.sub.html.sub.headers
@@ -0,0 +1,4 @@
+Expires: Mon, 26 Jul 1997 05:00:00 GMT
+Cache-Control: no-store, no-cache, must-revalidate
+Pragma: no-cache
+Content-Security-Policy: {{GET[csp]}}
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/navigate_parent.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/navigate_parent.sub.html
new file mode 100644
index 0000000..a84c9c6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/navigate_parent.sub.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<head>
+  <script src="/resources/testharness.js"></script>
+  <script src="/resources/testharnessreport.js"></script>
+
+  <script>
+    window.addEventListener('securitypolicyviolation', function(e) {
+      top.postMessage({result: 'fail', violatedDirective: e.violatedDirective}, '*');
+    });
+  </script>
+</head>
+
+<body>
+<a href="post_message_to_frame_owner.html" id="link" target="_parent">dummy link</a>
+<script>
+  document.getElementById('link').click();
+</script>
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/navigate_parent.sub.html.sub.headers b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/navigate_parent.sub.html.sub.headers
new file mode 100644
index 0000000..d3c635b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/navigate_parent.sub.html.sub.headers
@@ -0,0 +1,4 @@
+Expires: Mon, 26 Jul 1997 05:00:00 GMT
+Cache-Control: no-store, no-cache, must-revalidate
+Pragma: no-cache
+Content-Security-Policy: {{GET[csp]}}
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/post_message_to_frame_owner.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/post_message_to_frame_owner.html
new file mode 100644
index 0000000..c25e49d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/post_message_to_frame_owner.html
@@ -0,0 +1,6 @@
+<script>
+  if (window.opener)
+    window.opener.postMessage({result: 'success'}, '*');
+  else
+    top.postMessage({result: 'success'}, '*');
+</script>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/redirect_to_post_message_to_frame_owner.py b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/redirect_to_post_message_to_frame_owner.py
new file mode 100644
index 0000000..77e725b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/redirect_to_post_message_to_frame_owner.py
@@ -0,0 +1,3 @@
+def main(request, response):
+    response.status = 302
+    response.headers.set("Location", "post_message_to_frame_owner.html")
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/wait_for_navigation.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/wait_for_navigation.html
new file mode 100644
index 0000000..2450ff1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/wait_for_navigation.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<head>
+  <script src="/resources/testharness.js"></script>
+  <script src="/resources/testharnessreport.js"></script>
+
+  <script>
+    window.addEventListener('securitypolicyviolation', function(e) {
+      top.postMessage({result: 'fail', violatedDirective: e.violatedDirective}, '*');
+    });
+  </script>
+</head>
+
+<body>
+</body>
\ No newline at end of file
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/wait_for_navigation.html.sub.headers b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/wait_for_navigation.html.sub.headers
new file mode 100644
index 0000000..d3c635b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/navigate-to/support/wait_for_navigation.html.sub.headers
@@ -0,0 +1,4 @@
+Expires: Mon, 26 Jul 1997 05:00:00 GMT
+Cache-Control: no-store, no-cache, must-revalidate
+Pragma: no-cache
+Content-Security-Policy: {{GET[csp]}}
diff --git a/third_party/WebKit/LayoutTests/external/wpt/cookie-store/idlharness.tentative.html b/third_party/WebKit/LayoutTests/external/wpt/cookie-store/idlharness.tentative.html
index cf802464..00dc29d7 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/cookie-store/idlharness.tentative.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/cookie-store/idlharness.tentative.html
@@ -10,7 +10,7 @@
 'use strict';
 
 promise_test(async t => {
-  const urls = ['/interfaces/html.idl', 'cookie-store.idl'];
+  const urls = ['/interfaces/html.idl', '/interfaces/cookie-store.idl'];
   const [html, cookie_store] = await Promise.all(
     urls.map(url => fetch(url).then(response => response.text())));
 
diff --git a/third_party/WebKit/LayoutTests/external/wpt/cookie-store/idlharness_serviceworker.js b/third_party/WebKit/LayoutTests/external/wpt/cookie-store/idlharness_serviceworker.js
index 35eccfd4..aa2e79a 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/cookie-store/idlharness_serviceworker.js
+++ b/third_party/WebKit/LayoutTests/external/wpt/cookie-store/idlharness_serviceworker.js
@@ -7,7 +7,7 @@
               '/resources/idlharness.js');
 
 promise_test(async t => {
-  const urls = ['cookie-store.idl'];
+  const urls = ['/interfaces/cookie-store.idl'];
   const [cookie_store] = await Promise.all(
     urls.map(url => fetch(url).then(response => response.text())));
 
diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/cssom/cssimportrule.html b/third_party/WebKit/LayoutTests/external/wpt/css/cssom/cssimportrule.html
index 691f886..1d7b18f6 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/css/cssom/cssimportrule.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/css/cssom/cssimportrule.html
@@ -14,6 +14,7 @@
     <style id="styleElement" type="text/css">
         @import url("support/a-green.css");
         @import url("support/a-green.css") screen;
+        @import url("support/a-green.css") all;
         @page { background-color: red; }
     </style>
 </head>
@@ -21,12 +22,13 @@
     <div id="log"></div>
 
     <script type="text/javascript">
-        var styleSheet, ruleList, rule, ruleWithMedia;
+        var styleSheet, ruleList, rule, ruleWithMedia, ruleWithMediaAll;
         setup(function() {
             styleSheet = document.getElementById("styleElement").sheet;
             ruleList = styleSheet.cssRules;
             rule = ruleList[0];
             ruleWithMedia = ruleList[1];
+            ruleWithMediaAll = ruleList[2];
         });
 
         test(function() {
@@ -63,6 +65,7 @@
             assert_equals(typeof rule.cssText, "string");
             assert_equals(rule.cssText, '@import url("support/a-green.css");');
             assert_equals(ruleWithMedia.cssText, '@import url("support/a-green.css") screen;');
+            assert_equals(ruleWithMediaAll.cssText, '@import url("support/a-green.css") all;');
             assert_equals(rule.parentRule, null);
             assert_true(rule.parentStyleSheet instanceof CSSStyleSheet);
         }, "Values of CSSRule attributes");
@@ -91,7 +94,7 @@
         }, "CSSImportRule : MediaList mediaText attribute should be updated due to [PutForwards]");
 
         test(function() {
-            var ruleWithPage = ruleList[2];
+            var ruleWithPage = ruleList[3];
             ruleWithPage.style = "background-color: green;"
             assert_equals(ruleWithPage.style.cssText, "background-color: green;");
         }, "CSSStyleDeclaration cssText attribute should be updated due to [PutForwards]");
diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/cssom/cssstyledeclaration-csstext-final-delimiter.html b/third_party/WebKit/LayoutTests/external/wpt/css/cssom/cssstyledeclaration-csstext-final-delimiter.html
new file mode 100644
index 0000000..01b0a32
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/css/cssom/cssstyledeclaration-csstext-final-delimiter.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <title>CSSOM - CSSStyleDeclaration - Text - Serialization - Delimiters</title>
+    <link rel="author" title="Glenn Adams" href="mailto:glenn@skynav.com"/>
+    <link rel="help" href="https://drafts.csswg.org/cssom/#the-cssstyledeclaration-interface"/>
+    <meta name="flags" content="dom"/>
+    <script src="/resources/testharness.js"></script>
+    <script src="/resources/testharnessreport.js"></script>
+  </head>
+  <body>
+    <div id="box"></div>
+    <script>
+      var style = document.getElementById('box').style;
+
+      test(function(){
+        style.cssText = "";
+        assert_equals(style.cssText, "");
+      }, 'inline style - text - delimiters - zero declarations');
+
+      test(function(){
+        style.cssText = "left: 10px";
+        assert_equals(style.cssText, "left: 10px;");
+      }, 'inline style - text - delimiters - one declaration');
+
+      test(function(){
+        style.cssText = "left: 10px; right: 20px";
+        assert_equals(style.cssText, "left: 10px; right: 20px;");
+      }, 'inline style - text - delimiters - two declarations');
+    </script>
+  </body>
+</html>
diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/cssom/cssstyledeclaration-csstext-important.html b/third_party/WebKit/LayoutTests/external/wpt/css/cssom/cssstyledeclaration-csstext-important.html
new file mode 100644
index 0000000..c12faf63
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/css/cssom/cssstyledeclaration-csstext-important.html
@@ -0,0 +1,12 @@
+<title>CSSOM test: setting a property with cssText and !important</title>
+<link rel="help" href="https://drafts.csswg.org/cssom-1/#dom-cssstyledeclaration-csstext">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<div id="box"></div>
+<script>
+  var style = document.getElementById('box').style;
+  test(function(){
+      style.cssText = "padding: 10px !important; padding-left: 20px;";
+      assert_equals(style.getPropertyValue("padding-left"), "10px");
+  }, "padding-left should be taken from the !important property");
+</script>
diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/cssom/insertRule-syntax-error-01.html b/third_party/WebKit/LayoutTests/external/wpt/css/cssom/insertRule-syntax-error-01.html
new file mode 100644
index 0000000..170213c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/css/cssom/insertRule-syntax-error-01.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/cssom-1/#insert-a-css-rule">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<style>
+p { color: green; }
+</style>
+<p id="test">This text should be green.</p>
+<script>
+    test(function() {
+        assert_throws("SyntaxError", () => document.styleSheets[0].insertRule("p { color: red; } garbage", 1));
+        assert_equals(getComputedStyle(document.getElementById("test")).color, "rgb(0, 128, 0)");
+    }, "A syntax error in insertRule should throw and not affect the style of the page");
+</script>
diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/cssom/selectorSerialize.html b/third_party/WebKit/LayoutTests/external/wpt/css/cssom/selectorSerialize.html
index fc9445c..e95f453b 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/css/cssom/selectorSerialize.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/css/cssom/selectorSerialize.html
@@ -19,7 +19,7 @@
               var style_element = document.getElementById("teststyles");
               style_element.firstChild.data = source + "{ font-size: 1em; }";
               var sheet = style_element.sheet;
-              assert_equals(sheet.cssRules[0].selectorText, expected_result);
+              assert_equals(sheet.cssRules[sheet.cssRules.length - 1].selectorText, expected_result);
             }
 
             function run_tests_on_anplusb_selector(source) {
@@ -73,8 +73,6 @@
             }, 'single pseudo (simple) selector "lang" which accepts arguments in the sequence of simple selectors that is not a universal selector')
 
 
-
-
             test(function(){
                 run_tests_on_anplusb_selector(':nth-child');
             }, 'single pseudo (simple) selector "nth-child" which accepts arguments in the sequence of simple selectors that is not a universal selector')
@@ -98,10 +96,25 @@
                 assert_selector_serializes_to(' :not(  :hover   ) ', ':not(:hover)');
             }, 'single pseudo (simple) selector ":not" which accepts arguments in the sequence of simple selectors that is not a universal selector')
 
-
-
-
-
+            var escaped_ns_rule = "@namespace ns\\:odd url(ns);";
+            test(function() {
+                assert_selector_serializes_to("[ns\\:foo]", "[ns\\:foo]");
+            }, "escaped character in attribute name");
+            test(function() {
+                assert_selector_serializes_to("[\\30zonk]", "[\\30 zonk]");
+            }, "escaped character as code point in attribute name");
+            test(function() {
+                assert_selector_serializes_to("[\\@]", "[\\@]");
+            }, "escaped character (@) in attribute name");
+            test(function() {
+                assert_selector_serializes_to("[*|ns\\:foo]", "[*|ns\\:foo]");
+            }, "escaped character in attribute name with any namespace");
+            test(function() {
+                assert_selector_serializes_to(escaped_ns_rule + "[ns\\:odd|foo]", "[ns\\:odd|foo]");
+            }, "escaped character in attribute prefix");
+            test(function() {
+                assert_selector_serializes_to(escaped_ns_rule + "[ns\\:odd|odd\\:name]", "[ns\\:odd|odd\\:name]");
+            }, "escaped character in both attribute prefix and name");
         </script>
     </body>
 </html>
diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/selectors/anplusb-selector-parsing.html b/third_party/WebKit/LayoutTests/external/wpt/css/selectors/anplusb-selector-parsing.html
new file mode 100644
index 0000000..b7cfd29
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/css/selectors/anplusb-selector-parsing.html
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+<html>
+    <head>
+        <title>CSS Selectors: Test parsing of an+b selectors</title>
+        <link rel="author" title="Chris Nardi" href="mailto:cnardi@chromium.org">
+        <link rel="help" href="https://drafts.csswg.org/selectors-3/#nth-child-pseudo">
+        <link rel="help" href="https://drafts.csswg.org/selectors-3/#nth-last-child-pseudo">
+        <link rel="help" href="https://drafts.csswg.org/selectors-3/#nth-of-type-pseudo">
+        <link rel="help" href="https://drafts.csswg.org/selectors-3/#nth-last-of-type-pseudo">
+        <meta charset="utf-8">
+        <script src="/resources/testharness.js"></script>
+        <script src="/resources/testharnessreport.js"></script>
+        <style id="teststyles">
+        </style>
+    </head>
+    <body>
+        <script>
+            function add_selector_style(source) {
+                var style_element = document.getElementById("teststyles");
+                style_element.firstChild.data = source + "{ font-size: 1em; }";
+                return style_element.sheet;
+            }
+
+            function assert_selector_serializes_to(source, expected_result) {
+                test(function() {
+                    var sheet = add_selector_style(source);
+                    assert_equals(sheet.cssRules[0].selectorText, expected_result);
+                }, source + " should be parsed and serialized correctly");
+            }
+
+            function assert_invalid_selector(source) {
+                test(function() {
+                    var sheet = add_selector_style(source);
+                    assert_equals(sheet.cssRules[0], undefined);
+                }, source + " should not parse");
+            }
+
+            function run_tests_on_anplusb_selector(source) {
+                assert_selector_serializes_to(source + '(1n+0)', source + '(n)');
+                assert_selector_serializes_to(source + '(n+0)', source + '(n)');
+                assert_selector_serializes_to(source + '(n)', source + '(n)');
+                assert_selector_serializes_to(source + '(-n+0)', source + '(-n)');
+                assert_selector_serializes_to(source + '(-n)', source + '(-n)');
+                assert_selector_serializes_to(source + '(N)', source + '(n)');
+                assert_selector_serializes_to(source + '(+n+3)', source + '(n+3)');
+                assert_selector_serializes_to(source + '( +n + 7 )', source + '(n+7)');
+                assert_selector_serializes_to(source + '(  N- 123)', source + '(n-123)');
+                assert_selector_serializes_to(source + '(n- 10)', source + '(n-10)');
+                assert_selector_serializes_to(source + '(-n\n- 1)', source + '(-n-1)');
+                assert_selector_serializes_to(source + '( 23n\n\n+\n\n123 )', source + '(23n+123)');
+
+                assert_invalid_selector(source + '(n- 1 2)');
+                assert_invalid_selector(source + '(n-b1)');
+                assert_invalid_selector(source + '(n-+1)');
+                assert_invalid_selector(source + '(n-1n)');
+                assert_invalid_selector(source + '(-n -b1)');
+                assert_invalid_selector(source + '(-1n- b1)');
+                assert_invalid_selector(source + '(-n-13b1)');
+                assert_invalid_selector(source + '(-n-+1)');
+                assert_invalid_selector(source + '(-n+n)');
+                assert_invalid_selector(source + '(+ 1n)');
+                assert_invalid_selector(source + '(  n +12 3)');
+                assert_invalid_selector(source + '(  12 n )');
+                assert_invalid_selector(source + '(+12n-0+1)');
+                assert_invalid_selector(source + '(+12N -- 1)');
+                assert_invalid_selector(source + '(+12 N )');
+                assert_invalid_selector(source + '(+ n + 7)');
+            }
+
+            run_tests_on_anplusb_selector(':nth-child');
+            run_tests_on_anplusb_selector(':nth-last-child');
+            run_tests_on_anplusb_selector(':nth-of-type');
+            run_tests_on_anplusb_selector(':nth-last-of-type');
+        </script>
+    </body>
+</html>
diff --git a/third_party/WebKit/LayoutTests/external/wpt/encrypted-media/idlharness.https.html b/third_party/WebKit/LayoutTests/external/wpt/encrypted-media/idlharness.https.html
index e7e035e..cd87ecd 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/encrypted-media/idlharness.https.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/encrypted-media/idlharness.https.html
@@ -22,7 +22,7 @@
     <script>
         setup(function() {
 
-            fetch( 'EncryptedMediaExtensions.idl')
+            fetch( '/interfaces/encrypted-media.idl' )
             .then( function( response ) {
                 if ( !response.ok ) throw new Error( 'IDL fetch failed' );
                 return response.text();
diff --git a/third_party/WebKit/LayoutTests/external/wpt/entries-api/interfaces-manual.html b/third_party/WebKit/LayoutTests/external/wpt/entries-api/interfaces-manual.html
index 8b484167..72bdf67d 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/entries-api/interfaces-manual.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/entries-api/interfaces-manual.html
@@ -14,7 +14,7 @@
   assert_true(entry.isDirectory);
   Promise.all([
     getEntriesAsPromise(entry),
-    fetch('interfaces.idl').then(r => r.text())
+    fetch('/interfaces/entries-api.idl').then(r => r.text())
   ]).then(t.step_func(([entries, idls]) => {
     window.samples = {
       item: item,
diff --git a/third_party/WebKit/LayoutTests/external/wpt/entries-api/interfaces.html b/third_party/WebKit/LayoutTests/external/wpt/entries-api/interfaces.html
index 7714155..091549e 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/entries-api/interfaces.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/entries-api/interfaces.html
@@ -10,7 +10,7 @@
 'use strict';
 
 promise_test(t => {
-  return fetch('interfaces.idl')
+  return fetch('/interfaces/entries-api.idl')
     .then(r => r.text())
     .then(idls => {
 
diff --git a/third_party/WebKit/LayoutTests/external/wpt/fetch/data-urls/processing.any-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/fetch/data-urls/processing.any-expected.txt
index 5e4f877..3ed08b40 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/fetch/data-urls/processing.any-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/fetch/data-urls/processing.any-expected.txt
@@ -1,5 +1,5 @@
 This is a testharness.js-based test.
-Found 68 tests; 42 PASS, 26 FAIL, 0 TIMEOUT, 0 NOTRUN.
+Found 71 tests; 44 PASS, 27 FAIL, 0 TIMEOUT, 0 NOTRUN.
 PASS Setup.
 PASS "data://test/,X"
 FAIL "data://test:test/,X" assert_unreached: Should have rejected: undefined Reached unreachable code
@@ -36,7 +36,10 @@
 PASS "data:†/†,X"
 PASS "data:X,X"
 FAIL "data:image/png,X X" assert_array_equals: lengths differ, expected 3 got 2
+FAIL "data:application/javascript,X X" assert_array_equals: lengths differ, expected 3 got 2
 PASS "data:application/xml,X X"
+PASS "data:text/javascript,X X"
+PASS "data:text/plain,X X"
 FAIL "data:unknown/unknown,X X" assert_array_equals: lengths differ, expected 3 got 2
 PASS "data:text/plain;a=\",\",X"
 FAIL "data:text/plain;a=%2C,X" assert_equals: expected "text/plain;a=%2C" but got "text/plain"
diff --git a/third_party/WebKit/LayoutTests/external/wpt/fetch/data-urls/processing.any.worker-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/fetch/data-urls/processing.any.worker-expected.txt
index 5e4f877..3ed08b40 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/fetch/data-urls/processing.any.worker-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/fetch/data-urls/processing.any.worker-expected.txt
@@ -1,5 +1,5 @@
 This is a testharness.js-based test.
-Found 68 tests; 42 PASS, 26 FAIL, 0 TIMEOUT, 0 NOTRUN.
+Found 71 tests; 44 PASS, 27 FAIL, 0 TIMEOUT, 0 NOTRUN.
 PASS Setup.
 PASS "data://test/,X"
 FAIL "data://test:test/,X" assert_unreached: Should have rejected: undefined Reached unreachable code
@@ -36,7 +36,10 @@
 PASS "data:†/†,X"
 PASS "data:X,X"
 FAIL "data:image/png,X X" assert_array_equals: lengths differ, expected 3 got 2
+FAIL "data:application/javascript,X X" assert_array_equals: lengths differ, expected 3 got 2
 PASS "data:application/xml,X X"
+PASS "data:text/javascript,X X"
+PASS "data:text/plain,X X"
 FAIL "data:unknown/unknown,X X" assert_array_equals: lengths differ, expected 3 got 2
 PASS "data:text/plain;a=\",\",X"
 FAIL "data:text/plain;a=%2C,X" assert_equals: expected "text/plain;a=%2C" but got "text/plain"
diff --git a/third_party/WebKit/LayoutTests/external/wpt/fetch/data-urls/resources/data-urls.json b/third_party/WebKit/LayoutTests/external/wpt/fetch/data-urls/resources/data-urls.json
index 2265b97..4311f59 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/fetch/data-urls/resources/data-urls.json
+++ b/third_party/WebKit/LayoutTests/external/wpt/fetch/data-urls/resources/data-urls.json
@@ -100,9 +100,18 @@
   ["data:image/png,X X",
    "image/png",
    [88, 32, 88]],
+  ["data:application/javascript,X X",
+   "application/javascript",
+   [88, 32, 88]],
   ["data:application/xml,X X",
    "application/xml",
    [88, 32, 88]],
+  ["data:text/javascript,X X",
+   "text/javascript",
+   [88, 32, 88]],
+  ["data:text/plain,X X",
+   "text/plain",
+   [88, 32, 88]],
   ["data:unknown/unknown,X X",
    "unknown/unknown",
    [88, 32, 88]],
diff --git a/third_party/WebKit/LayoutTests/external/wpt/FileAPI/idlharness.idl b/third_party/WebKit/LayoutTests/external/wpt/interfaces/FileAPI.idl
similarity index 100%
rename from third_party/WebKit/LayoutTests/external/wpt/FileAPI/idlharness.idl
rename to third_party/WebKit/LayoutTests/external/wpt/interfaces/FileAPI.idl
diff --git a/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interfaces.idl b/third_party/WebKit/LayoutTests/external/wpt/interfaces/IndexedDB.idl
similarity index 100%
rename from third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interfaces.idl
rename to third_party/WebKit/LayoutTests/external/wpt/interfaces/IndexedDB.idl
diff --git a/third_party/WebKit/LayoutTests/external/wpt/background-fetch/interfaces.idl b/third_party/WebKit/LayoutTests/external/wpt/interfaces/background-fetch.idl
similarity index 100%
rename from third_party/WebKit/LayoutTests/external/wpt/background-fetch/interfaces.idl
rename to third_party/WebKit/LayoutTests/external/wpt/interfaces/background-fetch.idl
diff --git a/third_party/WebKit/LayoutTests/external/wpt/cookie-store/cookie-store.idl b/third_party/WebKit/LayoutTests/external/wpt/interfaces/cookie-store.idl
similarity index 100%
rename from third_party/WebKit/LayoutTests/external/wpt/cookie-store/cookie-store.idl
rename to third_party/WebKit/LayoutTests/external/wpt/interfaces/cookie-store.idl
diff --git a/third_party/WebKit/LayoutTests/external/wpt/encrypted-media/EncryptedMediaExtensions.idl b/third_party/WebKit/LayoutTests/external/wpt/interfaces/encrypted-media.idl
similarity index 100%
rename from third_party/WebKit/LayoutTests/external/wpt/encrypted-media/EncryptedMediaExtensions.idl
rename to third_party/WebKit/LayoutTests/external/wpt/interfaces/encrypted-media.idl
diff --git a/third_party/WebKit/LayoutTests/external/wpt/entries-api/interfaces.idl b/third_party/WebKit/LayoutTests/external/wpt/interfaces/entries-api.idl
similarity index 100%
rename from third_party/WebKit/LayoutTests/external/wpt/entries-api/interfaces.idl
rename to third_party/WebKit/LayoutTests/external/wpt/interfaces/entries-api.idl
diff --git a/third_party/WebKit/LayoutTests/external/wpt/interfaces/mediacapture-main.idl b/third_party/WebKit/LayoutTests/external/wpt/interfaces/mediacapture-main.idl
index 498bd3e..0513f8fa 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/interfaces/mediacapture-main.idl
+++ b/third_party/WebKit/LayoutTests/external/wpt/interfaces/mediacapture-main.idl
@@ -167,6 +167,7 @@
     "videoinput"
 };
 
+[Exposed=Window]
 interface InputDeviceInfo : MediaDeviceInfo {
     MediaTrackCapabilities getCapabilities();
 };
diff --git a/third_party/WebKit/LayoutTests/external/wpt/storage/interfaces.idl b/third_party/WebKit/LayoutTests/external/wpt/interfaces/storage.idl
similarity index 100%
rename from third_party/WebKit/LayoutTests/external/wpt/storage/interfaces.idl
rename to third_party/WebKit/LayoutTests/external/wpt/interfaces/storage.idl
diff --git a/third_party/WebKit/LayoutTests/external/wpt/webauthn/interfaces.idl b/third_party/WebKit/LayoutTests/external/wpt/interfaces/webauthn.idl
similarity index 100%
rename from third_party/WebKit/LayoutTests/external/wpt/webauthn/interfaces.idl
rename to third_party/WebKit/LayoutTests/external/wpt/interfaces/webauthn.idl
diff --git a/third_party/WebKit/LayoutTests/external/wpt/interfaces/webidl.idl b/third_party/WebKit/LayoutTests/external/wpt/interfaces/webidl.idl
index 8eb1d06..924fc57 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/interfaces/webidl.idl
+++ b/third_party/WebKit/LayoutTests/external/wpt/interfaces/webidl.idl
@@ -6,7 +6,8 @@
 
 [
  Exposed=(Window,Worker),
- Constructor(optional DOMString message = "", optional DOMString name = "Error")]
+ Constructor(optional DOMString message = "", optional DOMString name = "Error")
+]
 interface DOMException { // but see below note about ECMAScript binding
   readonly attribute DOMString name;
   readonly attribute DOMString message;
@@ -40,5 +41,7 @@
 };
 
 typedef unsigned long long DOMTimeStamp;
+
 callback Function = any (any... arguments);
+
 callback VoidFunction = void ();
diff --git a/third_party/WebKit/LayoutTests/external/wpt/interfaces/webxr.idl b/third_party/WebKit/LayoutTests/external/wpt/interfaces/webxr.idl
index 4d16ddbe..b409009d 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/interfaces/webxr.idl
+++ b/third_party/WebKit/LayoutTests/external/wpt/interfaces/webxr.idl
@@ -12,9 +12,6 @@
 };
 
 [SecureContext, Exposed=Window] interface XRDevice : EventTarget {
-  // Attributes
-  readonly attribute boolean external;
-
   // Methods
   Promise<void> supportsSession(optional XRSessionCreationOptions options);
   Promise<XRSession> requestSession(optional XRSessionCreationOptions options);
@@ -97,8 +94,6 @@
 [SecureContext, Exposed=Window] interface XRView {
   readonly attribute XREye eye;
   readonly attribute Float32Array projectionMatrix;
-
-  XRViewport? getViewport(XRLayer layer);
 };
 
 [SecureContext, Exposed=Window] interface XRViewport {
@@ -146,6 +141,7 @@
   readonly attribute unsigned long framebufferHeight;
 
   // Methods
+  XRViewport? getViewport(XRView view);
   void requestViewportScaling(double viewportScaleFactor);
 };
 
diff --git a/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-IDL-all-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-IDL-all-expected.txt
index 66f2aaf..8ec1f47 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-IDL-all-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-IDL-all-expected.txt
@@ -1,5 +1,5 @@
 This is a testharness.js-based test.
-Found 135 tests; 118 PASS, 17 FAIL, 0 TIMEOUT, 0 NOTRUN.
+Found 135 tests; 125 PASS, 10 FAIL, 0 TIMEOUT, 0 NOTRUN.
 PASS Test driver
 PASS Navigator interface: attribute mediaDevices
 PASS Unscopable handled correctly for mediaDevices property on Navigator
@@ -127,13 +127,13 @@
 PASS Unscopable handled correctly for groupId property on MediaDeviceInfo
 PASS MediaDeviceInfo interface: operation toJSON()
 PASS Unscopable handled correctly for toJSON() on MediaDeviceInfo
-FAIL InputDeviceInfo interface: existence and properties of interface object assert_own_property: self does not have own property "InputDeviceInfo" expected property "InputDeviceInfo" missing
-FAIL InputDeviceInfo interface object length assert_own_property: self does not have own property "InputDeviceInfo" expected property "InputDeviceInfo" missing
-FAIL InputDeviceInfo interface object name assert_own_property: self does not have own property "InputDeviceInfo" expected property "InputDeviceInfo" missing
-FAIL InputDeviceInfo interface: existence and properties of interface prototype object assert_own_property: self does not have own property "InputDeviceInfo" expected property "InputDeviceInfo" missing
-FAIL InputDeviceInfo interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "InputDeviceInfo" expected property "InputDeviceInfo" missing
-FAIL InputDeviceInfo interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "InputDeviceInfo" expected property "InputDeviceInfo" missing
-FAIL InputDeviceInfo interface: operation getCapabilities() assert_own_property: self does not have own property "InputDeviceInfo" expected property "InputDeviceInfo" missing
+PASS InputDeviceInfo interface: existence and properties of interface object
+PASS InputDeviceInfo interface object length
+PASS InputDeviceInfo interface object name
+PASS InputDeviceInfo interface: existence and properties of interface prototype object
+PASS InputDeviceInfo interface: existence and properties of interface prototype object's "constructor" property
+PASS InputDeviceInfo interface: existence and properties of interface prototype object's @@unscopables property
+PASS InputDeviceInfo interface: operation getCapabilities()
 PASS Unscopable handled correctly for getCapabilities() on InputDeviceInfo
 Harness: the test ran to completion.
 
diff --git a/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-IDL-enumerateDevices-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-IDL-enumerateDevices-expected.txt
index a50274d..27b53f2a 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-IDL-enumerateDevices-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-IDL-enumerateDevices-expected.txt
@@ -1,5 +1,5 @@
 This is a testharness.js-based test.
-Found 133 tests; 118 PASS, 15 FAIL, 0 TIMEOUT, 0 NOTRUN.
+Found 134 tests; 126 PASS, 8 FAIL, 0 TIMEOUT, 0 NOTRUN.
 PASS Test MediaDevices.enumerateDevices call and result. Types only.
 PASS Navigator interface: attribute mediaDevices
 PASS Unscopable handled correctly for mediaDevices property on Navigator
@@ -117,21 +117,22 @@
 PASS Unscopable handled correctly for groupId property on MediaDeviceInfo
 PASS MediaDeviceInfo interface: operation toJSON()
 PASS Unscopable handled correctly for toJSON() on MediaDeviceInfo
-PASS MediaDeviceInfo must be primary interface of _mediaInfo
-PASS Stringification of _mediaInfo
-PASS MediaDeviceInfo interface: _mediaInfo must inherit property "deviceId" with the proper type
-PASS MediaDeviceInfo interface: _mediaInfo must inherit property "kind" with the proper type
-PASS MediaDeviceInfo interface: _mediaInfo must inherit property "label" with the proper type
-PASS MediaDeviceInfo interface: _mediaInfo must inherit property "groupId" with the proper type
-PASS MediaDeviceInfo interface: _mediaInfo must inherit property "toJSON()" with the proper type
-PASS Test default toJSON operation of MediaDeviceInfo
-FAIL InputDeviceInfo interface: existence and properties of interface object assert_own_property: self does not have own property "InputDeviceInfo" expected property "InputDeviceInfo" missing
-FAIL InputDeviceInfo interface object length assert_own_property: self does not have own property "InputDeviceInfo" expected property "InputDeviceInfo" missing
-FAIL InputDeviceInfo interface object name assert_own_property: self does not have own property "InputDeviceInfo" expected property "InputDeviceInfo" missing
-FAIL InputDeviceInfo interface: existence and properties of interface prototype object assert_own_property: self does not have own property "InputDeviceInfo" expected property "InputDeviceInfo" missing
-FAIL InputDeviceInfo interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "InputDeviceInfo" expected property "InputDeviceInfo" missing
-FAIL InputDeviceInfo interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "InputDeviceInfo" expected property "InputDeviceInfo" missing
-FAIL InputDeviceInfo interface: operation getCapabilities() assert_own_property: self does not have own property "InputDeviceInfo" expected property "InputDeviceInfo" missing
+PASS InputDeviceInfo interface: existence and properties of interface object
+PASS InputDeviceInfo interface object length
+PASS InputDeviceInfo interface object name
+PASS InputDeviceInfo interface: existence and properties of interface prototype object
+PASS InputDeviceInfo interface: existence and properties of interface prototype object's "constructor" property
+PASS InputDeviceInfo interface: existence and properties of interface prototype object's @@unscopables property
+PASS InputDeviceInfo interface: operation getCapabilities()
 PASS Unscopable handled correctly for getCapabilities() on InputDeviceInfo
+PASS InputDeviceInfo must be primary interface of [object InputDeviceInfo]
+PASS Stringification of [object InputDeviceInfo]
+PASS InputDeviceInfo interface: [object InputDeviceInfo] must inherit property "getCapabilities()" with the proper type
+PASS MediaDeviceInfo interface: [object InputDeviceInfo] must inherit property "deviceId" with the proper type
+PASS MediaDeviceInfo interface: [object InputDeviceInfo] must inherit property "kind" with the proper type
+PASS MediaDeviceInfo interface: [object InputDeviceInfo] must inherit property "label" with the proper type
+PASS MediaDeviceInfo interface: [object InputDeviceInfo] must inherit property "groupId" with the proper type
+PASS MediaDeviceInfo interface: [object InputDeviceInfo] must inherit property "toJSON()" with the proper type
+PASS Test default toJSON operation of MediaDeviceInfo
 Harness: the test ran to completion.
 
diff --git a/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-IDL-enumerateDevices.html b/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-IDL-enumerateDevices.html
index 2d9c96ab..c2449ae 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-IDL-enumerateDevices.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-IDL-enumerateDevices.html
@@ -34,15 +34,20 @@
     return navigator.mediaDevices.enumerateDevices()
     .then(function(list) {
       if( list.length > 0 ) {
-        window._mediaInfo = list[0];
-        MDI_idl.add_objects({MediaDeviceInfo: ["_mediaInfo"]});
+        var kind = list[0].kind;
+        if (kind == "audioinput" ||
+            kind == "videoinput") {
+          MDI_idl.add_objects({InputDeviceInfo: [list[0]]});
+        } else if (kind == "audiooutput" ) {
+          MDI_idl.add_objects({MediaDeviceInfo: [list[0]]});
+        }
       }
 
       for(const media of list) {
-        if( media.kind == "audioinput" ||
+        if (media.kind == "audioinput" ||
             media.kind == "videoinput") {
           // TODO -- Check InputDeviceInfo IDL, getCapabilities()
-        } else if ( media.kind == "audiooutput" ) {
+        } else if (media.kind == "audiooutput" ) {
           // TODO -- pass
         } else {
           assert_unreached("media.kind should be one of 'audioinput', 'videoinput', or 'audiooutput'.")
diff --git a/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-enumerateDevices.https.html b/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-enumerateDevices.https.html
index 806416e..c623aec 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-enumerateDevices.https.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaDevices-enumerateDevices.https.html
@@ -20,20 +20,18 @@
   assert_true(undefined !== navigator.mediaDevices.enumerateDevices, "navigator.mediaDevices.enumerateDevices exists");
   var p = navigator.mediaDevices.enumerateDevices()
   p.then(function(list){
-    for(let mediainfo of list){
-      // TODO check the type of mediainfo
+    for (let mediainfo of list) {
       assert_true(undefined !== mediainfo.deviceId, "mediaInfo's deviceId should exist.");
       assert_true(undefined !== mediainfo.kind,     "mediaInfo's kind     should exist.");
       assert_true(undefined !== mediainfo.label,    "mediaInfo's label    should exist.");
       assert_true(undefined !== mediainfo.groupId,  "mediaInfo's groupId  should exist.");
       // TODO the values of some of those fields should be empty string by default if no permission has been requested.
-      if( mediainfo.kind == "audioinput" ||
+      if ( mediainfo.kind == "audioinput" ||
           mediainfo.kind == "videoinput") {
-        // NOTE ALEX: looks like nobody has implemented that. How can I make it a separate test,
-        // ...        to have better granularity?
-        // assert_true(undefined !== mediainfo.getCapabilities(), "MediaDeviceInfo.getCapabilities() exists.");
-        // var cap = mediainfo.getcapabilities();
-      } else if ( mediainfo.kind !== "audiooutput" ) {
+        assert_true(mediainfo instanceof InputDeviceInfo);
+      } else if ( mediainfo.kind == "audiooutput" ) {
+        assert_true(mediainfo instanceof MediaDeviceInfo);
+      } else {
         assert_unreached("mediainfo.kind should be one of 'audioinput', 'videoinput', or 'audiooutput'.")
       }
     }
diff --git a/third_party/WebKit/LayoutTests/external/wpt/storage/interfaces.https.html b/third_party/WebKit/LayoutTests/external/wpt/storage/interfaces.https.html
index c390f3278..4e79ae2 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/storage/interfaces.https.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/storage/interfaces.https.html
@@ -9,7 +9,7 @@
 <script>
 'use strict';
 promise_test(t => {
-  return fetch('interfaces.idl')
+  return fetch('/interfaces/storage.idl')
     .then(response => response.text())
     .then(idls => {
       var idl_array = new IdlArray();
diff --git a/third_party/WebKit/LayoutTests/external/wpt/storage/interfaces.https.worker.js b/third_party/WebKit/LayoutTests/external/wpt/storage/interfaces.https.worker.js
index e6feed7d..c0d9e03 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/storage/interfaces.https.worker.js
+++ b/third_party/WebKit/LayoutTests/external/wpt/storage/interfaces.https.worker.js
@@ -4,7 +4,7 @@
 importScripts('/resources/WebIDLParser.js', '/resources/idlharness.js');
 
 promise_test(t => {
-  return fetch('interfaces.idl')
+  return fetch('/interfaces/storage.idl')
     .then(response => response.text())
     .then(idls => {
       var idl_array = new IdlArray();
diff --git a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources-expected.txt
index 5007fd8..51c23a8 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources-expected.txt
@@ -24,8 +24,8 @@
 PASS Underlying source: calling close on an empty canceled stream should throw
 PASS Underlying source: calling close on a non-empty canceled stream should throw
 PASS Underlying source: calling close after error should throw
-PASS Underlying source: calling error twice should throw the second time
-PASS Underlying source: calling error after close should throw
+FAIL Underlying source: calling error twice should not throw Cannot error a readable stream that is already errored
+FAIL Underlying source: calling error after close should not throw Cannot error a close readable stream
 PASS Underlying source: calling error and returning a rejected promise from start should cause the stream to error with the first error
 PASS Underlying source: calling error and returning a rejected promise from pull should cause the stream to error with the first error
 PASS read should not error if it dequeues and pull() throws
diff --git a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.dedicatedworker-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.dedicatedworker-expected.txt
index 5007fd8..51c23a8 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.dedicatedworker-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.dedicatedworker-expected.txt
@@ -24,8 +24,8 @@
 PASS Underlying source: calling close on an empty canceled stream should throw
 PASS Underlying source: calling close on a non-empty canceled stream should throw
 PASS Underlying source: calling close after error should throw
-PASS Underlying source: calling error twice should throw the second time
-PASS Underlying source: calling error after close should throw
+FAIL Underlying source: calling error twice should not throw Cannot error a readable stream that is already errored
+FAIL Underlying source: calling error after close should not throw Cannot error a close readable stream
 PASS Underlying source: calling error and returning a rejected promise from start should cause the stream to error with the first error
 PASS Underlying source: calling error and returning a rejected promise from pull should cause the stream to error with the first error
 PASS read should not error if it dequeues and pull() throws
diff --git a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.js b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.js
index 9fd958d..6fce7b1 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.js
+++ b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.js
@@ -306,7 +306,7 @@
   const closed = new ReadableStream({
     start(c) {
       c.error(theError);
-      assert_throws(new TypeError(), () => c.error(), 'second call to error should throw a TypeError');
+      c.error();
       startCalled = true;
     }
   }).getReader().closed;
@@ -316,7 +316,7 @@
     assert_equals(e, theError, 'closed should reject with the error');
   });
 
-}, 'Underlying source: calling error twice should throw the second time');
+}, 'Underlying source: calling error twice should not throw');
 
 promise_test(() => {
 
@@ -325,14 +325,14 @@
   const closed = new ReadableStream({
     start(c) {
       c.close();
-      assert_throws(new TypeError(), () => c.error(), 'second call to error should throw a TypeError');
+      c.error();
       startCalled = true;
     }
   }).getReader().closed;
 
   return closed.then(() => assert_true(startCalled));
 
-}, 'Underlying source: calling error after close should throw');
+}, 'Underlying source: calling error after close should not throw');
 
 promise_test(() => {
 
diff --git a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt
index 74f0304..8fe24a76 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt
@@ -25,8 +25,8 @@
 PASS Underlying source: calling close on an empty canceled stream should throw
 PASS Underlying source: calling close on a non-empty canceled stream should throw
 PASS Underlying source: calling close after error should throw
-PASS Underlying source: calling error twice should throw the second time
-PASS Underlying source: calling error after close should throw
+FAIL Underlying source: calling error twice should not throw Cannot error a readable stream that is already errored
+FAIL Underlying source: calling error after close should not throw Cannot error a close readable stream
 PASS Underlying source: calling error and returning a rejected promise from start should cause the stream to error with the first error
 PASS Underlying source: calling error and returning a rejected promise from pull should cause the stream to error with the first error
 PASS read should not error if it dequeues and pull() throws
diff --git a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.sharedworker-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.sharedworker-expected.txt
index 5007fd8..51c23a8 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.sharedworker-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/bad-underlying-sources.sharedworker-expected.txt
@@ -24,8 +24,8 @@
 PASS Underlying source: calling close on an empty canceled stream should throw
 PASS Underlying source: calling close on a non-empty canceled stream should throw
 PASS Underlying source: calling close after error should throw
-PASS Underlying source: calling error twice should throw the second time
-PASS Underlying source: calling error after close should throw
+FAIL Underlying source: calling error twice should not throw Cannot error a readable stream that is already errored
+FAIL Underlying source: calling error after close should not throw Cannot error a close readable stream
 PASS Underlying source: calling error and returning a rejected promise from start should cause the stream to error with the first error
 PASS Underlying source: calling error and returning a rejected promise from pull should cause the stream to error with the first error
 PASS read should not error if it dequeues and pull() throws
diff --git a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection-expected.txt
new file mode 100644
index 0000000..6dddfbf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection-expected.txt
@@ -0,0 +1,7 @@
+This is a testharness.js-based test.
+FAIL ReadableStreamController methods should continue working properly when scripts lose their reference to the readable stream promise_test: Unhandled rejection with value: object "TypeError: Cannot error a close readable stream"
+PASS ReadableStream closed promise should fulfill even if the stream and reader JS references are lost
+PASS ReadableStream closed promise should reject even if stream and reader JS references are lost
+PASS Garbage-collecting a ReadableStreamDefaultReader should not unlock its stream
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection.dedicatedworker-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection.dedicatedworker-expected.txt
new file mode 100644
index 0000000..6dddfbf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection.dedicatedworker-expected.txt
@@ -0,0 +1,7 @@
+This is a testharness.js-based test.
+FAIL ReadableStreamController methods should continue working properly when scripts lose their reference to the readable stream promise_test: Unhandled rejection with value: object "TypeError: Cannot error a close readable stream"
+PASS ReadableStream closed promise should fulfill even if the stream and reader JS references are lost
+PASS ReadableStream closed promise should reject even if stream and reader JS references are lost
+PASS Garbage-collecting a ReadableStreamDefaultReader should not unlock its stream
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection.js b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection.js
index ebc2d76..2d16526 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection.js
+++ b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection.js
@@ -19,7 +19,7 @@
   return delay(50).then(() => {
     controller.close();
     assert_throws(new TypeError(), () => controller.close(), 'close should throw a TypeError the second time');
-    assert_throws(new TypeError(), () => controller.error(), 'error should throw a TypeError on a closed stream');
+    controller.error();
   });
 
 }, 'ReadableStreamController methods should continue working properly when scripts lose their reference to the ' +
diff --git a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt
new file mode 100644
index 0000000..1187a9ef
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt
@@ -0,0 +1,8 @@
+This is a testharness.js-based test.
+PASS Service worker test setup
+FAIL ReadableStreamController methods should continue working properly when scripts lose their reference to the readable stream promise_test: Unhandled rejection with value: object "TypeError: Cannot error a close readable stream"
+PASS ReadableStream closed promise should fulfill even if the stream and reader JS references are lost
+PASS ReadableStream closed promise should reject even if stream and reader JS references are lost
+PASS Garbage-collecting a ReadableStreamDefaultReader should not unlock its stream
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection.sharedworker-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection.sharedworker-expected.txt
new file mode 100644
index 0000000..6dddfbf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/streams/readable-streams/garbage-collection.sharedworker-expected.txt
@@ -0,0 +1,7 @@
+This is a testharness.js-based test.
+FAIL ReadableStreamController methods should continue working properly when scripts lose their reference to the readable stream promise_test: Unhandled rejection with value: object "TypeError: Cannot error a close readable stream"
+PASS ReadableStream closed promise should fulfill even if the stream and reader JS references are lost
+PASS ReadableStream closed promise should reject even if stream and reader JS references are lost
+PASS Garbage-collecting a ReadableStreamDefaultReader should not unlock its stream
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/webauthn/interfaces.https.html b/third_party/WebKit/LayoutTests/external/wpt/webauthn/interfaces.https.html
index a09296b..c232659c 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/webauthn/interfaces.https.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/webauthn/interfaces.https.html
@@ -51,7 +51,7 @@
 
     // test harness function
     window.promise_test(function() {
-        return fetchIdl("interfaces.idl") // load the IDL file ...
+        return fetchIdl("/interfaces/webauthn.idl") // load the IDL file ...
             .then(function(idls) {
                 return runIdlTests(idls); // ... then run the tests.
             });
diff --git a/third_party/WebKit/LayoutTests/external/wpt/webxr/interfaces.https-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/webxr/interfaces.https-expected.txt
index 6ae9ac7b..6edbaec 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/webxr/interfaces.https-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/webxr/interfaces.https-expected.txt
@@ -19,8 +19,6 @@
 PASS XRDevice interface: existence and properties of interface prototype object
 PASS XRDevice interface: existence and properties of interface prototype object's "constructor" property
 PASS XRDevice interface: existence and properties of interface prototype object's @@unscopables property
-PASS XRDevice interface: attribute external
-PASS Unscopable handled correctly for external property on XRDevice
 PASS XRDevice interface: operation supportsSession(XRSessionCreationOptions)
 PASS Unscopable handled correctly for supportsSession(XRSessionCreationOptions) on XRDevice
 PASS XRDevice interface: operation requestSession(XRSessionCreationOptions)
@@ -117,8 +115,6 @@
 PASS Unscopable handled correctly for eye property on XRView
 PASS XRView interface: attribute projectionMatrix
 PASS Unscopable handled correctly for projectionMatrix property on XRView
-PASS XRView interface: operation getViewport(XRLayer)
-PASS Unscopable handled correctly for getViewport(XRLayer) on XRView
 PASS XRViewport interface: existence and properties of interface object
 PASS XRViewport interface object length
 PASS XRViewport interface object name
@@ -173,6 +169,8 @@
 PASS Unscopable handled correctly for framebufferWidth property on XRWebGLLayer
 PASS XRWebGLLayer interface: attribute framebufferHeight
 PASS Unscopable handled correctly for framebufferHeight property on XRWebGLLayer
+PASS XRWebGLLayer interface: operation getViewport(XRView)
+PASS Unscopable handled correctly for getViewport(XRView) on XRWebGLLayer
 PASS XRWebGLLayer interface: operation requestViewportScaling(double)
 PASS Unscopable handled correctly for requestViewportScaling(double) on XRWebGLLayer
 PASS XRPresentationContext interface: existence and properties of interface object
diff --git a/third_party/WebKit/LayoutTests/fast/css/parsing-css-nth-child-expected.txt b/third_party/WebKit/LayoutTests/fast/css/parsing-css-nth-child-expected.txt
deleted file mode 100644
index c01c212..0000000
--- a/third_party/WebKit/LayoutTests/fast/css/parsing-css-nth-child-expected.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-Test parsing of CSS nth-child tokens.
-
-SUCCESS
-
-Rules from the stylesheet:
-
-#a:nth-child(n) { color: green; }
-#b:nth-child(n) { color: green; }
-#c:nth-child(n) { color: green; }
-#d:nth-child(-n) { color: green; }
-#e:nth-child(-n) { color: green; }
-#f:nth-child(n) { color: green; }
-#g:nth-child(n) { color: green; }
-#h:nth-child(n) { color: green; }
-#i:nth-child(-n) { color: green; }
-#j:nth-child(-n) { color: green; }
-#l:nth-child(-n-123) { color: green; }
-#m:nth-child(n-123) { color: green; }
-#o:nth-child(23n+123) { color: green; }
-#t:nth-child(n+3) { color: green; }
-#u:nth-child(n+7) { color: green; }
-Expected result:
-
-#a:nth-child(n) { color: green; }
-#b:nth-child(n) { color: green; }
-#c:nth-child(n) { color: green; }
-#d:nth-child(-n) { color: green; }
-#e:nth-child(-n) { color: green; }
-#f:nth-child(n) { color: green; }
-#g:nth-child(n) { color: green; }
-#h:nth-child(n) { color: green; }
-#i:nth-child(-n) { color: green; }
-#j:nth-child(-n) { color: green; }
-#l:nth-child(-n-123) { color: green; }
-#m:nth-child(n-123) { color: green; }
-#o:nth-child(23n+123) { color: green; }
-#t:nth-child(n+3) { color: green; }
-#u:nth-child(n+7) { color: green; }
-
diff --git a/third_party/WebKit/LayoutTests/fast/css/parsing-css-nth-child.html b/third_party/WebKit/LayoutTests/fast/css/parsing-css-nth-child.html
deleted file mode 100644
index 75b58cd9..0000000
--- a/third_party/WebKit/LayoutTests/fast/css/parsing-css-nth-child.html
+++ /dev/null
@@ -1,94 +0,0 @@
-<head>
-<style>
-#a:nth-child(1n+0) { color: green; }
-#b:nth-child(n+0)  { color: green; }
-#c:nth-child(n)    { color: green; }
-#d:nth-child(-n+0) { color: green; }
-#e:nth-child(-n)   { color: green; }
-
-#f:nth-child(1N+0) { color: green; }
-#g:nth-child(N+0)  { color: green; }
-#h:nth-child(N)    { color: green; }
-#i:nth-child(-N+0) { color: green; }
-#j:nth-child(-N)   { color: green; }
-
-#k:nth-child(+ 1n) { color: green; }
-#l:nth-child(-1N
-  -
-  123  ) { color: green; }
-#m:nth-child(  N- 123) { color: green; }
-#n:nth-child(  n +12 3) { color: green; }
-#o:nth-child( 23n
-
- +
-
-123  ) { color: green; }
-#p:nth-child(  12 n ) { color: green; }
-#q:nth-child(+12n-0+1) { color: green; }
-#r:nth-child(+12N -- 1) { color: green; }
-#s:nth-child(+12 N ) { color: green; }
-#t:nth-child(+n+3) { color: green; }
-#u:nth-child( +n + 7 ) { color: green; }
-#v:nth-child(+ n + 7) { color: green; }
-</style>
-
-<script>
-
-/** Changes the result text font size. */
-function runTest()
-{
-    if (window.testRunner)
-        testRunner.dumpAsText();
-
-    var rules = document.styleSheets[0].cssRules;
-    var text = "";
-    for (var i = 0; i < rules.length; i++) {
-        text += rules.item(i).cssText;
-        text += "\n";
-    }
-
-    document.getElementById("result").appendChild(document.createTextNode(text));
-
-    if (document.getElementById("result").firstChild.data === document.getElementById("expected").firstChild.data)
-        document.getElementById("message").firstChild.data = "SUCCESS";
-    else
-        document.getElementById("message").firstChild.data = "FAILURE";
-}
-
-</script>
-
-</head>
-
-<body onload="runTest()">
-
-<p>Test parsing of CSS nth-child tokens.</p>
-
-<p id="message">TEST DID NOT COMPLETE</p>
-
-<p>Rules from the stylesheet:</p>
-
-<pre id="result"></pre>
-
-<p>Expected result:</p>
-
-<pre id="expected">#a:nth-child(n) { color: green; }
-#b:nth-child(n) { color: green; }
-#c:nth-child(n) { color: green; }
-#d:nth-child(-n) { color: green; }
-#e:nth-child(-n) { color: green; }
-#f:nth-child(n) { color: green; }
-#g:nth-child(n) { color: green; }
-#h:nth-child(n) { color: green; }
-#i:nth-child(-n) { color: green; }
-#j:nth-child(-n) { color: green; }
-#l:nth-child(-n-123) { color: green; }
-#m:nth-child(n-123) { color: green; }
-#o:nth-child(23n+123) { color: green; }
-#t:nth-child(n+3) { color: green; }
-#u:nth-child(n+7) { color: green; }
-</pre>
-
-<script>
-
-</script>
-</body>
diff --git a/third_party/WebKit/LayoutTests/fast/dom/css-selectorText-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/css-selectorText-expected.txt
index 79ea5c1..535b186 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/css-selectorText-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/css-selectorText-expected.txt
@@ -1,10 +1,7 @@
-*
-div
 div span
 div ~ span
 div > span
 div + span
-#temp
 div#temp
 div.test[title="test"]
 .test[title~="test"]
@@ -19,37 +16,14 @@
 div span#foo.test div:hover#bar a
 :link
 :visited
-:hover
 :active
 :focus
 :target
-:lang(en)
-:not(table)
 :root
 :enabled
 :disabled
 :checked
 :indeterminate
-:nth-child(2n+1)
-:nth-child(2n)
-:nth-child(2n)
-:nth-child(2n+1)
-:nth-child(-n+6)
-:nth-last-child(2n+1)
-:nth-last-child(2n)
-:nth-last-child(2n)
-:nth-last-child(2n+1)
-:nth-last-child(-n+6)
-:nth-of-type(2n+1)
-:nth-of-type(2n)
-:nth-of-type(2n)
-:nth-of-type(2n+1)
-:nth-of-type(-n+6)
-:nth-last-of-type(2n+1)
-:nth-last-of-type(2n)
-:nth-last-of-type(2n)
-:nth-last-of-type(2n+1)
-:nth-last-of-type(-n+6)
 :first-child
 :last-child
 :first-of-type
diff --git a/third_party/WebKit/LayoutTests/fast/dom/css-selectorText.html b/third_party/WebKit/LayoutTests/fast/dom/css-selectorText.html
index 761e4b1..3d0fc4e1 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/css-selectorText.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/css-selectorText.html
@@ -1,13 +1,10 @@
 <html>
 <head>
 <style>
-* { margin: 2px; }
-div { margin: 2px; }
 div span { margin 2px; }
 div ~ span { margin 2px; }
 div > span { margin 2px; }
 div + span { margin 2px; }
-#temp { margin 2px; }
 div#temp { margin 2px; }
 div.test[title="test"] { margin: 2px; }
 .test[title~="test"] { margin: 2px; }
@@ -23,38 +20,15 @@
 /* Pseudo-classes */
 :link{ margin: 2px; }
 :visited{ margin: 2px; }
-:hover{ margin: 2px; }
 :active{ margin: 2px; }
 :focus{ margin: 2px; }
 :target{ margin: 2px; }
-:lang(en){ margin: 2px; }
-:not(table){ margin: 2px; }
 :root{ margin: 2px; }
 :foobarSelectorNotToBePrinted{ color: green; }
 :enabled{ margin: 2px; }
 :disabled{ margin: 2px; }
 :checked{ margin: 2px; }
 :indeterminate{ margin: 2px; }
-:nth-child(odd){ margin: 2px; }
-:nth-child(even){ margin: 2px; }
-:nth-child(2n){ margin: 2px; }
-:nth-child(2n+1){ margin: 2px; }
-:nth-child(-n+6){ margin: 2px; }
-:nth-last-child(odd){ margin: 2px; }
-:nth-last-child(even){ margin: 2px; }
-:nth-last-child(2n){ margin: 2px; }
-:nth-last-child(2n+1){ margin: 2px; }
-:nth-last-child(-n+6){ margin: 2px; }
-:nth-of-type(odd){ margin: 2px; }
-:nth-of-type(even){ margin: 2px; }
-:nth-of-type(2n){ margin: 2px; }
-:nth-of-type(2n+1){ margin: 2px; }
-:nth-of-type(-n+6){ margin: 2px; }
-:nth-last-of-type(odd){ margin: 2px; }
-:nth-last-of-type(even){ margin: 2px; }
-:nth-last-of-type(2n){ margin: 2px; }
-:nth-last-of-type(2n+1){ margin: 2px; }
-:nth-last-of-type(-n+6){ margin: 2px; }
 :first-child{ margin: 2px; }
 :last-child{ margin: 2px; }
 :first-of-type{ margin: 2px; }
diff --git a/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-prompt-keyboard-expected.txt b/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-prompt-keyboard-expected.txt
index 78632c9a..5456d37 100644
--- a/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-prompt-keyboard-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-prompt-keyboard-expected.txt
@@ -1,37 +1,39 @@
 Tests that console prompt keyboard events work.
 
-Adding first message: First
-multiline command
-Setting prompt text: Second
-multiline command
+Adding first message: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
+Setting prompt text: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
 
 Test that arrow Up stays in the same command
 {"startLine":1,"startColumn":0,"endLine":1,"endColumn":0}
-Prompt text:Second
-multiline command
+Prompt is displaying SECOND message
 
 Test that ArrowUp+shift stays in the same command
 {"startLine":0,"startColumn":0,"endLine":0,"endColumn":1}
-Prompt text:Second
-multiline command
+Prompt is displaying SECOND message
+
+Test that arrow Up on the first line, second visual row stays in the same command
+{"startLine":0,"startColumn":100,"endLine":0,"endColumn":100}
+Prompt is displaying SECOND message
 
 Test that arrow Up from the first line loads previous command
 {"startLine":0,"startColumn":0,"endLine":0,"endColumn":0}
-Prompt text:First
-multiline command
+Prompt is displaying FIRST message
 
 Test that arrow Down stays in the same command
 {"startLine":0,"startColumn":0,"endLine":0,"endColumn":0}
-Prompt text:First
-multiline command
+Prompt is displaying FIRST message
 
 Test that ArrowDown+shift stays in the same command
 {"startLine":1,"startColumn":0,"endLine":1,"endColumn":1}
-Prompt text:First
-multiline command
+Prompt is displaying FIRST message
+
+Test that arrow Down on the last line, first visual row stays in the same command
+{"startLine":1,"startColumn":0,"endLine":1,"endColumn":0}
+Prompt is displaying FIRST message
 
 Test that arrow Down from the first line loads next command
-{"startLine":1,"startColumn":0,"endLine":1,"endColumn":0}
-Prompt text:Second
-multiline command
+{"startLine":1,"startColumn":100,"endLine":1,"endColumn":100}
+Prompt is displaying SECOND message
 
diff --git a/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-prompt-keyboard.js b/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-prompt-keyboard.js
index 4331caf..aa4e718 100644
--- a/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-prompt-keyboard.js
+++ b/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-prompt-keyboard.js
@@ -8,12 +8,15 @@
   await TestRunner.loadModule('console_test_runner');
   await TestRunner.showPanel('console');
   await ConsoleTestRunner.waitUntilConsoleEditorLoaded();
+  // Make sure that `singleLineCharCount` wraps onto multiple lines.
+  var singleLineCharCount = 100;
+  ConsoleTestRunner.fixConsoleViewportDimensions(300, 200);
 
-  var firstCommand = 'First\nmultiline command';
-  var secondCommand = 'Second\nmultiline command';
+  var firstCommand = 'a'.repeat(singleLineCharCount) + '\n' + 'b'.repeat(singleLineCharCount);
   TestRunner.addResult('Adding first message: ' + firstCommand);
   await ConsoleTestRunner.evaluateInConsolePromise(firstCommand);
 
+  var secondCommand = 'x'.repeat(singleLineCharCount) + '\n' + 'y'.repeat(singleLineCharCount);
   TestRunner.addResult('Setting prompt text: ' + secondCommand);
   var prompt = Console.ConsoleView.instance()._prompt;
   prompt.setText(secondCommand);
@@ -22,41 +25,62 @@
   prompt._editor.setSelection(TextUtils.TextRange.createFromLocation(1, 0));
   dumpSelection();
   sendKeyUpToPrompt();
-  TestRunner.addResult('Prompt text:' + prompt.text());
+  printSelectedCommand();
 
   TestRunner.addResult('\nTest that ArrowUp+shift stays in the same command');
   prompt._editor.setSelection(new TextUtils.TextRange(0, 0, 0, 1));
   dumpSelection();
   sendKeyUpToPrompt(true);
-  TestRunner.addResult('Prompt text:' + prompt.text());
+  printSelectedCommand();
+
+  TestRunner.addResult('\nTest that arrow Up on the first line, second visual row stays in the same command');
+  prompt._editor.setSelection(TextUtils.TextRange.createFromLocation(0, singleLineCharCount));
+  dumpSelection();
+  sendKeyUpToPrompt();
+  printSelectedCommand();
 
   TestRunner.addResult('\nTest that arrow Up from the first line loads previous command');
   prompt._editor.setSelection(TextUtils.TextRange.createFromLocation(0, 0));
   dumpSelection();
   sendKeyUpToPrompt();
-  TestRunner.addResult('Prompt text:' + prompt.text());
+  printSelectedCommand();
 
 
   TestRunner.addResult('\nTest that arrow Down stays in the same command');
   prompt._editor.setSelection(TextUtils.TextRange.createFromLocation(0, 0));
   dumpSelection();
   sendKeyDownToPrompt();
-  TestRunner.addResult('Prompt text:' + prompt.text());
+  printSelectedCommand();
 
   TestRunner.addResult('\nTest that ArrowDown+shift stays in the same command');
   prompt._editor.setSelection(new TextUtils.TextRange(1, 0, 1, 1));
   dumpSelection();
   sendKeyDownToPrompt(true);
-  TestRunner.addResult('Prompt text:' + prompt.text());
+  printSelectedCommand();
 
-  TestRunner.addResult('\nTest that arrow Down from the first line loads next command');
+  TestRunner.addResult('\nTest that arrow Down on the last line, first visual row stays in the same command');
   prompt._editor.setSelection(TextUtils.TextRange.createFromLocation(1, 0));
   dumpSelection();
   sendKeyDownToPrompt();
-  TestRunner.addResult('Prompt text:' + prompt.text());
+  printSelectedCommand();
+
+  TestRunner.addResult('\nTest that arrow Down from the first line loads next command');
+  prompt._editor.setSelection(TextUtils.TextRange.createFromLocation(1, singleLineCharCount));
+  dumpSelection();
+  sendKeyDownToPrompt();
+  printSelectedCommand();
 
   TestRunner.completeTest();
 
+  function printSelectedCommand() {
+    if (prompt.text().startsWith('a'))
+      TestRunner.addResult('Prompt is displaying FIRST message');
+    else if (prompt.text().startsWith('x'))
+      TestRunner.addResult('Prompt is displaying SECOND message');
+    else
+      TestRunner.addResult('TEST FAILURE');
+  }
+
   /**
    * @param {boolean} shiftKey
    */
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-merged-nodes-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-merged-nodes-expected.txt
new file mode 100644
index 0000000..f506e097
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-merged-nodes-expected.txt
@@ -0,0 +1,6 @@
+Test that DOM node and its JS wrapper appear as a single node.
+Took heap snapshot
+Parsed snapshot
+SUCCESS: found leaking
+SUCCESS: retaining path = [EventListener, InternalNode, HTMLDivElement, Window / file://, ]
+
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-merged-nodes.js b/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-merged-nodes.js
new file mode 100644
index 0000000..f804ff2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-merged-nodes.js
@@ -0,0 +1,38 @@
+(async function(testRunner) {
+  var {page, session, dp} = await testRunner.startBlank(
+      `Test that DOM node and its JS wrapper appear as a single node.`);
+
+  await session.evaluate(`
+    var retainer = null;
+    function run() {
+      function leaking() {
+        console.log('leaking');
+      }
+      var div = document.createElement('div');
+      div.addEventListener('click', leaking, true);
+      retainer = div;
+    }
+    run();
+  `);
+
+  var Helper = await testRunner.loadScript('resources/heap-snapshot-common.js');
+  var helper = await Helper(testRunner, session);
+
+  var snapshot = await helper.takeHeapSnapshot();
+  var node;
+  for (var it = snapshot._allNodes(); it.hasNext(); it.next()) {
+    if (it.node.type() === 'closure' && it.node.name() === 'leaking') {
+      node = it.node;
+      break;
+    }
+  }
+  if (node)
+    testRunner.log('SUCCESS: found ' + node.name());
+  else
+    return testRunner.fail('cannot find leaking node');
+
+  var retainers = helper.firstRetainingPath(node).map(node => node.name());
+  var actual = retainers.join(', ');
+  testRunner.log(`SUCCESS: retaining path = [${actual}]`);
+  testRunner.completeTest();
+})
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener-expected.txt
index a67ac3b..6fa89ac 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener-expected.txt
@@ -2,5 +2,5 @@
 Took heap snapshot
 Parsed snapshot
 SUCCESS: found myEventListener
-SUCCESS: retaining path = [EventListener, InternalNode, HTMLBodyElement, HTMLHtmlElement, HTMLDocument]
+SUCCESS: retaining path = [EventListener, InternalNode, HTMLBodyElement, HTMLHtmlElement, HTMLDocument, Window / file://, ]
 
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener.js b/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener.js
index 68c6f12..1fa20236b 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener.js
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener.js
@@ -29,9 +29,6 @@
     return testRunner.fail('cannot find myEventListener node');
 
   var retainers = helper.firstRetainingPath(node).map(node => node.name());
-  // Limit to the retainers until the Window object to keep the test robust
-  // against root node name changes.
-  retainers = retainers.slice(0, retainers.indexOf('Window'));
   var actual = retainers.join(', ');
   testRunner.log(`SUCCESS: retaining path = [${actual}]`);
   testRunner.completeTest();
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-multiple-retainers-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-multiple-retainers-expected.txt
index 1022d56..fecccaa 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-multiple-retainers-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-multiple-retainers-expected.txt
@@ -4,6 +4,6 @@
 SUCCESS: found leaking
 SUCCESS: immediate retainer is EventListener.
 SUCCESS: found multiple retaining paths.
-SUCCESS: path1 = [HTMLBodyElement, HTMLHtmlElement, HTMLDocument]
-SUCCESS: path2 = [HTMLDivElement, HTMLBodyElement, HTMLHtmlElement, HTMLDocument]
+SUCCESS: path1 = [HTMLBodyElement, HTMLHtmlElement, HTMLDocument, Window / file://, ]
+SUCCESS: path2 = [HTMLDivElement, HTMLBodyElement, HTMLHtmlElement, HTMLDocument, Window / file://, ]
 
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-multiple-retainers.js b/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-multiple-retainers.js
index 04f648b..a2d852e 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-multiple-retainers.js
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-multiple-retainers.js
@@ -43,9 +43,6 @@
   for (var iter = eventListener.retainers(); iter.hasNext(); iter.next()) {
     var path = helper.firstRetainingPath(iter.retainer.node());
     path = path.map(node => node.name());
-    // Limit the path until the Window object to keep the test robust
-    // against root node name changes.
-    path = path.slice(0, path.indexOf('Window'));
     retainingPaths.push(path.join(', '));
   }
 
diff --git a/third_party/WebKit/LayoutTests/media/media-controls-grey-scrubber-expected.png b/third_party/WebKit/LayoutTests/media/media-controls-grey-scrubber-expected.png
new file mode 100644
index 0000000..cedd939
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/media/media-controls-grey-scrubber-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/media/media-controls-grey-scrubber-expected.txt b/third_party/WebKit/LayoutTests/media/media-controls-grey-scrubber-expected.txt
new file mode 100644
index 0000000..aaaa176
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/media/media-controls-grey-scrubber-expected.txt
@@ -0,0 +1,32 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x171
+  LayoutBlockFlow {HTML} at (0,0) size 800x171
+    LayoutBlockFlow {BODY} at (8,8) size 784x155
+      LayoutBlockFlow {DIV} at (0,0) size 784x155
+layer at (8,8) size 300x150
+  LayoutVideo {VIDEO} at (0,0) size 300x150
+layer at (8,8) size 300x150
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 300x150
+    LayoutBlockFlow {DIV} at (0,118) size 300x32
+layer at (8,8) size 300x108
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 300x108
+layer at (8,126) size 300x32 scrollHeight 40
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 300x32 [bgcolor=#FAFAFA]
+    LayoutButton {INPUT} at (0,0) size 32x32
+    LayoutFlexibleBox {DIV} at (32,0) size 24x32 [color=#5A5A5A]
+      LayoutBlockFlow (anonymous) at (0,0) size 24x32
+        LayoutText {#text} at (0,8) size 24x15
+          text run at (0,8) width 24: "0:00"
+    LayoutSlider {INPUT} at (74,1) size 208x30
+      LayoutFlexibleBox {DIV} at (0,14) size 208x2
+layer at (64,142) size 244x0
+  LayoutBlockFlow (relative positioned) {DIV} at (-18,1) size 244x0
+layer at (82,141) size 208x2
+  LayoutBlockFlow (positioned) {DIV} at (18,-1) size 208x2 [bgcolor=#DADADA]
+layer at (82,141) size 0x2
+  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#5A5A5A]
+layer at (82,141) size 0x2
+  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#4285F4]
+layer at (64,118) size 36x48 backgroundClip at (8,126) size 300x32 clip at (8,126) size 300x32
+  LayoutBlockFlow (positioned) zI: 2 {DIV} at (0,-24) size 36x48
diff --git a/third_party/WebKit/LayoutTests/media/media-controls-grey-scrubber.html b/third_party/WebKit/LayoutTests/media/media-controls-grey-scrubber.html
new file mode 100644
index 0000000..8adcdc85
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/media/media-controls-grey-scrubber.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<body>
+<!--
+  A <video> object with a valid source and
+  preload set to "none" should show a greyed
+  timeslider element.
+ -->
+<div><video controls preload="none" src="content/test.mp4" ></video></div>
+<script>
+</script>
+</body>
diff --git a/third_party/WebKit/LayoutTests/platform/android/css3/selectors3/html/css3-modsel-18-expected.txt b/third_party/WebKit/LayoutTests/platform/android/css3/selectors3/html/css3-modsel-18-expected.txt
new file mode 100644
index 0000000..f97476cc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/css3/selectors3/html/css3-modsel-18-expected.txt
@@ -0,0 +1,114 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x294
+  LayoutBlockFlow {HTML} at (0,0) size 800x294
+    LayoutBlockFlow {BODY} at (8,16) size 784x270
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 674x19
+          text run at (0,0) width 423: "The background color of this paragraph should turn to green when "
+          text run at (423,0) width 251: "the mouse pointer hovers either its text ("
+        LayoutInline {STRONG} at (0,0) size 30x19
+          LayoutText {#text} at (674,0) size 30x19
+            text run at (674,0) width 30: "here"
+        LayoutText {#text} at (703,0) size 744x39
+          text run at (703,0) width 41: ") or its"
+          text run at (0,20) width 157: "whitespace background, "
+        LayoutInline {STRONG} at (0,0) size 30x19
+          LayoutText {#text} at (157,20) size 30x19
+            text run at (157,20) width 30: "here"
+        LayoutText {#text} at (186,20) size 5x19
+          text run at (186,20) width 5: ":"
+      LayoutBlockFlow {ADDRESS} at (0,56) size 784x20
+        LayoutText {#text} at (0,0) size 161x19
+          text run at (0,0) width 161: "The background color of "
+        LayoutInline {A} at (0,0) size 115x19 [color=#0000EE]
+          LayoutText {#text} at (160,0) size 81x19
+            text run at (160,0) width 81: "this anchor ("
+          LayoutInline {STRONG} at (0,0) size 30x19
+            LayoutText {#text} at (240,0) size 30x19
+              text run at (240,0) width 30: "here"
+          LayoutText {#text} at (269,0) size 6x19
+            text run at (269,0) width 6: ")"
+        LayoutText {#text} at (274,0) size 387x19
+          text run at (274,0) width 387: " should turn to green when the pointing device hovers over it."
+      LayoutTable {TABLE} at (0,76) size 278x194
+        LayoutTableSection {TBODY} at (0,0) size 278x194
+          LayoutTableRow {TR} at (0,5) size 278x22
+            LayoutTableCell {TD} at (5,5) size 78x22 [r=0 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 73x19
+                text run at (1,1) width 73: "The cells in"
+            LayoutTableCell {TD} at (88,5) size 81x22 [r=0 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 56x19
+                text run at (1,1) width 56: "this table"
+            LayoutTableCell {TD} at (174,5) size 99x22 [r=0 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 62x19
+                text run at (1,1) width 62: "should go"
+          LayoutTableRow {TR} at (0,32) size 278x22
+            LayoutTableCell {TD} at (5,32) size 78x22 [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 74x19
+                text run at (1,1) width 74: "green when"
+            LayoutTableCell {TD} at (88,32) size 81x22 [r=1 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 64x19
+                text run at (1,1) width 64: "you hover"
+            LayoutTableCell {TD} at (174,32) size 99x22 [r=1 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 75x19
+                text run at (1,1) width 75: "the pointing"
+          LayoutTableRow {TR} at (0,59) size 278x22
+            LayoutTableCell {TD} at (5,59) size 78x22 [r=2 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 73x19
+                text run at (1,1) width 73: "device over"
+            LayoutTableCell {TD} at (88,59) size 81x22 [r=2 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 40x19
+                text run at (1,1) width 40: "them ("
+              LayoutInline {STRONG} at (0,0) size 30x19
+                LayoutText {#text} at (41,1) size 30x19
+                  text run at (41,1) width 30: "here"
+              LayoutText {#text} at (70,1) size 10x19
+                text run at (70,1) width 10: ")."
+            LayoutTableCell {TD} at (174,69) size 99x2 [r=2 c=2 rs=1 cs=1]
+          LayoutTableRow {TR} at (0,86) size 278x22
+            LayoutTableCell {TD} at (5,86) size 78x22 [r=3 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 76x19
+                text run at (1,1) width 76: "The rows in"
+            LayoutTableCell {TD} at (88,86) size 81x22 [r=3 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 56x19
+                text run at (1,1) width 56: "this table"
+            LayoutTableCell {TD} at (174,86) size 99x22 [r=3 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 62x19
+                text run at (1,1) width 62: "should go"
+          LayoutTableRow {TR} at (0,113) size 278x22
+            LayoutTableCell {TD} at (5,113) size 78x22 [r=4 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 67x19
+                text run at (1,1) width 67: "dark green"
+            LayoutTableCell {TD} at (88,113) size 81x22 [r=4 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 58x19
+                text run at (1,1) width 58: "when the"
+            LayoutTableCell {TD} at (174,113) size 99x22 [r=4 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 97x19
+                text run at (1,1) width 97: "pointing device"
+          LayoutTableRow {TR} at (0,140) size 278x22
+            LayoutTableCell {TD} at (5,140) size 78x22 [r=5 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 65x19
+                text run at (1,1) width 65: "is over the"
+            LayoutTableCell {TD} at (88,140) size 81x22 [r=5 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 32x19
+                text run at (1,1) width 32: "cells "
+              LayoutInline {STRONG} at (0,0) size 35x19
+                LayoutText {#text} at (33,1) size 35x19
+                  text run at (33,1) width 35: "there"
+              LayoutText {#text} at (67,1) size 5x19
+                text run at (67,1) width 5: ":"
+            LayoutTableCell {TD} at (174,150) size 99x2 [r=5 c=2 rs=1 cs=1]
+          LayoutTableRow {TR} at (0,167) size 278x22
+            LayoutTableCell {TD} at (5,167) size 78x22 [r=6 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 32x19
+                text run at (1,1) width 32: "And "
+              LayoutInline {STRONG} at (0,0) size 30x19
+                LayoutText {#text} at (33,1) size 30x19
+                  text run at (33,1) width 30: "here"
+              LayoutText {#text} at (62,1) size 5x19
+                text run at (62,1) width 5: ":"
+            LayoutTableCell {TD} at (88,177) size 81x2 [r=6 c=1 rs=1 cs=1]
+            LayoutTableCell {TD} at (174,167) size 99x22 [r=6 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 81x19
+                text run at (1,1) width 81: "(blank cells)."
diff --git a/third_party/WebKit/LayoutTests/platform/android/css3/selectors3/xhtml/css3-modsel-18-expected.txt b/third_party/WebKit/LayoutTests/platform/android/css3/selectors3/xhtml/css3-modsel-18-expected.txt
new file mode 100644
index 0000000..6ce21d7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/css3/selectors3/xhtml/css3-modsel-18-expected.txt
@@ -0,0 +1,114 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x294
+  LayoutBlockFlow {html} at (0,0) size 800x294
+    LayoutBlockFlow {body} at (8,16) size 784x270
+      LayoutBlockFlow {p} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 674x19
+          text run at (0,0) width 423: "The background color of this paragraph should turn to green when "
+          text run at (423,0) width 251: "the mouse pointer hovers either its text ("
+        LayoutInline {strong} at (0,0) size 30x19
+          LayoutText {#text} at (674,0) size 30x19
+            text run at (674,0) width 30: "here"
+        LayoutText {#text} at (703,0) size 744x39
+          text run at (703,0) width 41: ") or its"
+          text run at (0,20) width 157: "whitespace background, "
+        LayoutInline {strong} at (0,0) size 30x19
+          LayoutText {#text} at (157,20) size 30x19
+            text run at (157,20) width 30: "here"
+        LayoutText {#text} at (186,20) size 5x19
+          text run at (186,20) width 5: ":"
+      LayoutBlockFlow {address} at (0,56) size 784x20
+        LayoutText {#text} at (0,0) size 161x19
+          text run at (0,0) width 161: "The background color of "
+        LayoutInline {a} at (0,0) size 115x19 [color=#0000EE]
+          LayoutText {#text} at (160,0) size 81x19
+            text run at (160,0) width 81: "this anchor ("
+          LayoutInline {strong} at (0,0) size 30x19
+            LayoutText {#text} at (240,0) size 30x19
+              text run at (240,0) width 30: "here"
+          LayoutText {#text} at (269,0) size 6x19
+            text run at (269,0) width 6: ")"
+        LayoutText {#text} at (274,0) size 387x19
+          text run at (274,0) width 387: " should turn to green when the pointing device hovers over it."
+      LayoutTable {table} at (0,76) size 278x194
+        LayoutTableSection {tbody} at (0,0) size 278x194
+          LayoutTableRow {tr} at (0,5) size 278x22
+            LayoutTableCell {td} at (5,5) size 78x22 [r=0 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 73x19
+                text run at (1,1) width 73: "The cells in"
+            LayoutTableCell {td} at (88,5) size 81x22 [r=0 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 56x19
+                text run at (1,1) width 56: "this table"
+            LayoutTableCell {td} at (174,5) size 99x22 [r=0 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 62x19
+                text run at (1,1) width 62: "should go"
+          LayoutTableRow {tr} at (0,32) size 278x22
+            LayoutTableCell {td} at (5,32) size 78x22 [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 74x19
+                text run at (1,1) width 74: "green when"
+            LayoutTableCell {td} at (88,32) size 81x22 [r=1 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 64x19
+                text run at (1,1) width 64: "you hover"
+            LayoutTableCell {td} at (174,32) size 99x22 [r=1 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 75x19
+                text run at (1,1) width 75: "the pointing"
+          LayoutTableRow {tr} at (0,59) size 278x22
+            LayoutTableCell {td} at (5,59) size 78x22 [r=2 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 73x19
+                text run at (1,1) width 73: "device over"
+            LayoutTableCell {td} at (88,59) size 81x22 [r=2 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 40x19
+                text run at (1,1) width 40: "them ("
+              LayoutInline {strong} at (0,0) size 30x19
+                LayoutText {#text} at (41,1) size 30x19
+                  text run at (41,1) width 30: "here"
+              LayoutText {#text} at (70,1) size 10x19
+                text run at (70,1) width 10: ")."
+            LayoutTableCell {td} at (174,69) size 99x2 [r=2 c=2 rs=1 cs=1]
+          LayoutTableRow {tr} at (0,86) size 278x22
+            LayoutTableCell {td} at (5,86) size 78x22 [r=3 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 76x19
+                text run at (1,1) width 76: "The rows in"
+            LayoutTableCell {td} at (88,86) size 81x22 [r=3 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 56x19
+                text run at (1,1) width 56: "this table"
+            LayoutTableCell {td} at (174,86) size 99x22 [r=3 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 62x19
+                text run at (1,1) width 62: "should go"
+          LayoutTableRow {tr} at (0,113) size 278x22
+            LayoutTableCell {td} at (5,113) size 78x22 [r=4 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 67x19
+                text run at (1,1) width 67: "dark green"
+            LayoutTableCell {td} at (88,113) size 81x22 [r=4 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 58x19
+                text run at (1,1) width 58: "when the"
+            LayoutTableCell {td} at (174,113) size 99x22 [r=4 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 97x19
+                text run at (1,1) width 97: "pointing device"
+          LayoutTableRow {tr} at (0,140) size 278x22
+            LayoutTableCell {td} at (5,140) size 78x22 [r=5 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 65x19
+                text run at (1,1) width 65: "is over the"
+            LayoutTableCell {td} at (88,140) size 81x22 [r=5 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 32x19
+                text run at (1,1) width 32: "cells "
+              LayoutInline {strong} at (0,0) size 35x19
+                LayoutText {#text} at (33,1) size 35x19
+                  text run at (33,1) width 35: "there"
+              LayoutText {#text} at (67,1) size 5x19
+                text run at (67,1) width 5: ":"
+            LayoutTableCell {td} at (174,150) size 99x2 [r=5 c=2 rs=1 cs=1]
+          LayoutTableRow {tr} at (0,167) size 278x22
+            LayoutTableCell {td} at (5,167) size 78x22 [r=6 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 32x19
+                text run at (1,1) width 32: "And "
+              LayoutInline {strong} at (0,0) size 30x19
+                LayoutText {#text} at (33,1) size 30x19
+                  text run at (33,1) width 30: "here"
+              LayoutText {#text} at (62,1) size 5x19
+                text run at (62,1) width 5: ":"
+            LayoutTableCell {td} at (88,177) size 81x2 [r=6 c=1 rs=1 cs=1]
+            LayoutTableCell {td} at (174,167) size 99x22 [r=6 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 81x19
+                text run at (1,1) width 81: "(blank cells)."
diff --git a/third_party/WebKit/LayoutTests/platform/android/css3/selectors3/xml/css3-modsel-18-expected.txt b/third_party/WebKit/LayoutTests/platform/android/css3/selectors3/xml/css3-modsel-18-expected.txt
new file mode 100644
index 0000000..30505a0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/css3/selectors3/xml/css3-modsel-18-expected.txt
@@ -0,0 +1,113 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x286
+  LayoutBlockFlow {test} at (0,0) size 800x286
+    LayoutBlockFlow {p} at (0,16) size 800x40
+      LayoutText {#text} at (0,0) size 674x19
+        text run at (0,0) width 423: "The background color of this paragraph should turn to green when "
+        text run at (423,0) width 251: "the mouse pointer hovers either its text ("
+      LayoutInline {strong} at (0,0) size 30x19
+        LayoutText {#text} at (674,0) size 30x19
+          text run at (674,0) width 30: "here"
+      LayoutText {#text} at (703,0) size 744x39
+        text run at (703,0) width 41: ") or its"
+        text run at (0,20) width 157: "whitespace background, "
+      LayoutInline {strong} at (0,0) size 30x19
+        LayoutText {#text} at (157,20) size 30x19
+          text run at (157,20) width 30: "here"
+      LayoutText {#text} at (186,20) size 5x19
+        text run at (186,20) width 5: ":"
+    LayoutBlockFlow {address} at (0,72) size 800x20
+      LayoutText {#text} at (0,0) size 161x19
+        text run at (0,0) width 161: "The background color of "
+      LayoutInline {a} at (0,0) size 115x19 [color=#0000EE]
+        LayoutText {#text} at (160,0) size 81x19
+          text run at (160,0) width 81: "this anchor ("
+        LayoutInline {strong} at (0,0) size 30x19
+          LayoutText {#text} at (240,0) size 30x19
+            text run at (240,0) width 30: "here"
+        LayoutText {#text} at (269,0) size 6x19
+          text run at (269,0) width 6: ")"
+      LayoutText {#text} at (274,0) size 387x19
+        text run at (274,0) width 387: " should turn to green when the pointing device hovers over it."
+    LayoutTable {table} at (0,92) size 278x194
+      LayoutTableSection {tbody} at (0,0) size 278x194
+        LayoutTableRow {tr} at (0,5) size 278x22
+          LayoutTableCell {td} at (5,5) size 78x22 [r=0 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 73x19
+              text run at (1,1) width 73: "The cells in"
+          LayoutTableCell {td} at (88,5) size 81x22 [r=0 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 56x19
+              text run at (1,1) width 56: "this table"
+          LayoutTableCell {td} at (174,5) size 99x22 [r=0 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 62x19
+              text run at (1,1) width 62: "should go"
+        LayoutTableRow {tr} at (0,32) size 278x22
+          LayoutTableCell {td} at (5,32) size 78x22 [r=1 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 74x19
+              text run at (1,1) width 74: "green when"
+          LayoutTableCell {td} at (88,32) size 81x22 [r=1 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 64x19
+              text run at (1,1) width 64: "you hover"
+          LayoutTableCell {td} at (174,32) size 99x22 [r=1 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 75x19
+              text run at (1,1) width 75: "the pointing"
+        LayoutTableRow {tr} at (0,59) size 278x22
+          LayoutTableCell {td} at (5,59) size 78x22 [r=2 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 73x19
+              text run at (1,1) width 73: "device over"
+          LayoutTableCell {td} at (88,59) size 81x22 [r=2 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 40x19
+              text run at (1,1) width 40: "them ("
+            LayoutInline {strong} at (0,0) size 30x19
+              LayoutText {#text} at (41,1) size 30x19
+                text run at (41,1) width 30: "here"
+            LayoutText {#text} at (70,1) size 10x19
+              text run at (70,1) width 10: ")."
+          LayoutTableCell {td} at (174,69) size 99x2 [r=2 c=2 rs=1 cs=1]
+        LayoutTableRow {tr} at (0,86) size 278x22
+          LayoutTableCell {td} at (5,86) size 78x22 [r=3 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 76x19
+              text run at (1,1) width 76: "The rows in"
+          LayoutTableCell {td} at (88,86) size 81x22 [r=3 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 56x19
+              text run at (1,1) width 56: "this table"
+          LayoutTableCell {td} at (174,86) size 99x22 [r=3 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 62x19
+              text run at (1,1) width 62: "should go"
+        LayoutTableRow {tr} at (0,113) size 278x22
+          LayoutTableCell {td} at (5,113) size 78x22 [r=4 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 67x19
+              text run at (1,1) width 67: "dark green"
+          LayoutTableCell {td} at (88,113) size 81x22 [r=4 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 58x19
+              text run at (1,1) width 58: "when the"
+          LayoutTableCell {td} at (174,113) size 99x22 [r=4 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 97x19
+              text run at (1,1) width 97: "pointing device"
+        LayoutTableRow {tr} at (0,140) size 278x22
+          LayoutTableCell {td} at (5,140) size 78x22 [r=5 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 65x19
+              text run at (1,1) width 65: "is over the"
+          LayoutTableCell {td} at (88,140) size 81x22 [r=5 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 32x19
+              text run at (1,1) width 32: "cells "
+            LayoutInline {strong} at (0,0) size 35x19
+              LayoutText {#text} at (33,1) size 35x19
+                text run at (33,1) width 35: "there"
+            LayoutText {#text} at (67,1) size 5x19
+              text run at (67,1) width 5: ":"
+          LayoutTableCell {td} at (174,150) size 99x2 [r=5 c=2 rs=1 cs=1]
+        LayoutTableRow {tr} at (0,167) size 278x22
+          LayoutTableCell {td} at (5,167) size 78x22 [r=6 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 32x19
+              text run at (1,1) width 32: "And "
+            LayoutInline {strong} at (0,0) size 30x19
+              LayoutText {#text} at (33,1) size 30x19
+                text run at (33,1) width 30: "here"
+            LayoutText {#text} at (62,1) size 5x19
+              text run at (62,1) width 5: ":"
+          LayoutTableCell {td} at (88,177) size 81x2 [r=6 c=1 rs=1 cs=1]
+          LayoutTableCell {td} at (174,167) size 99x22 [r=6 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 81x19
+              text run at (1,1) width 81: "(blank cells)."
diff --git a/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/drop-text-without-selection-expected.txt b/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/drop-text-without-selection-expected.txt
new file mode 100644
index 0000000..0bf88688
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/drop-text-without-selection-expected.txt
@@ -0,0 +1,41 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 104x19
+          text run at (0,0) width 104: "This is a test for "
+        LayoutInline {I} at (0,0) size 750x39
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (104,0) size 348x19
+              text run at (104,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8394"
+          LayoutText {#text} at (451,0) size 750x39
+            text run at (451,0) width 5: " "
+            text run at (455,0) width 295: "Editable region does not accept dropped text if"
+            text run at (0,20) width 125: "there is no selection"
+        LayoutText {#text} at (124,20) size 5x19
+          text run at (124,20) width 5: "."
+      LayoutBlockFlow {P} at (0,56) size 784x20
+        LayoutText {#text} at (0,0) size 653x19
+          text run at (0,0) width 478: "The text field should accept drag-and-dropped text, such as the link, even if "
+          text run at (478,0) width 175: "no text is currently selected."
+      LayoutBlockFlow (anonymous) at (0,102) size 784x22
+        LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
+        LayoutText {#text} at (154,1) size 4x19
+          text run at (154,1) width 4: " "
+        LayoutInline {A} at (0,0) size 162x19 [color=#0000EE]
+          LayoutText {#text} at (158,1) size 162x19
+            text run at (158,1) width 162: "drop me into the text field"
+        LayoutText {#text} at (0,0) size 0x0
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (10,113) size 150x16
+  LayoutBlockFlow {DIV} at (2,3) size 150x16
+    LayoutText {#text} at (0,0) size 119x16
+      text run at (0,0) width 119: "http://www.ibm.com/"
+selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 7 {INPUT} of body
+selection end:   position 19 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 7 {INPUT} of body
diff --git a/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/paste-line-endings-001-expected.txt b/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/paste-line-endings-001-expected.txt
new file mode 100644
index 0000000..45eca9b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/paste-line-endings-001-expected.txt
@@ -0,0 +1,45 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {DIV} at (0,0) size 784x210 [border: (2px solid #0000FF)]
+        LayoutBlockFlow {DIV} at (14,14) size 756x83
+          LayoutText {#text} at (0,0) size 65x26
+            text run at (0,0) width 65: "Tests: "
+          LayoutBR {BR} at (0,0) size 0x0
+          LayoutText {#text} at (0,27) size 162x27
+            text run at (0,27) width 162: "Fix for this bug: "
+          LayoutInline {A} at (0,0) size 260x27 [color=#0000EE]
+            LayoutText {#text} at (162,27) size 260x27
+              text run at (162,27) width 260: "<rdar://problem/4045511>"
+          LayoutText {#text} at (421,27) size 705x55
+            text run at (421,27) width 284: " Copying and pasting end-of-"
+            text run at (0,55) width 533: "paragraph selection puts insertion point in wrong place"
+        LayoutBlockFlow {DIV} at (14,113) size 756x83
+          LayoutText {#text} at (0,0) size 189x26
+            text run at (0,0) width 189: "Expected Results: "
+          LayoutBR {BR} at (189,21) size 0x0
+          LayoutText {#text} at (0,27) size 715x55
+            text run at (0,27) width 707: "Should see two lines of text below, self-documenting themselves as \"line"
+            text run at (0,55) width 715: "one\" and \"line two\". The insertion point must be at the start of \"line two\"."
+      LayoutBlockFlow {DIV} at (0,234) size 784x60
+        LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
+          LayoutText {#text} at (2,2) size 78x27
+            text run at (2,2) width 78: "line one"
+          LayoutBR {BR} at (80,23) size 0x0
+          LayoutText {#text} at (2,30) size 79x27
+            text run at (2,30) width 79: "line two"
+caret: position 0 of child 2 {#text} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/paste-line-endings-002-expected.txt b/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/paste-line-endings-002-expected.txt
new file mode 100644
index 0000000..285079e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/paste-line-endings-002-expected.txt
@@ -0,0 +1,46 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {DIV} at (0,0) size 784x210 [border: (2px solid #0000FF)]
+        LayoutBlockFlow {DIV} at (14,14) size 756x83
+          LayoutText {#text} at (0,0) size 65x26
+            text run at (0,0) width 65: "Tests: "
+          LayoutBR {BR} at (0,0) size 0x0
+          LayoutText {#text} at (0,27) size 162x27
+            text run at (0,27) width 162: "Fix for this bug: "
+          LayoutInline {A} at (0,0) size 260x27 [color=#0000EE]
+            LayoutText {#text} at (162,27) size 260x27
+              text run at (162,27) width 260: "<rdar://problem/4045511>"
+          LayoutText {#text} at (421,27) size 705x55
+            text run at (421,27) width 284: " Copying and pasting end-of-"
+            text run at (0,55) width 533: "paragraph selection puts insertion point in wrong place"
+        LayoutBlockFlow {DIV} at (14,113) size 756x83
+          LayoutText {#text} at (0,0) size 189x26
+            text run at (0,0) width 189: "Expected Results: "
+          LayoutBR {BR} at (189,21) size 0x0
+          LayoutText {#text} at (0,27) size 715x55
+            text run at (0,27) width 707: "Should see two lines of text below, self-documenting themselves as \"line"
+            text run at (0,55) width 715: "one\" and \"line two\". The insertion point must be at the start of \"line two\"."
+      LayoutBlockFlow {DIV} at (0,234) size 784x60
+        LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
+          LayoutBlockFlow (anonymous) at (2,2) size 780x28
+            LayoutText {#text} at (0,0) size 78x27
+              text run at (0,0) width 78: "line one"
+          LayoutBlockFlow {DIV} at (2,30) size 780x28
+            LayoutText {#text} at (0,0) size 79x27
+              text run at (0,0) width 79: "line two"
+caret: position 0 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/paste-line-endings-003-expected.txt b/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/paste-line-endings-003-expected.txt
new file mode 100644
index 0000000..8232d2c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/paste-line-endings-003-expected.txt
@@ -0,0 +1,46 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {DIV} at (0,0) size 784x210 [border: (2px solid #0000FF)]
+        LayoutBlockFlow {DIV} at (14,14) size 756x83
+          LayoutText {#text} at (0,0) size 65x26
+            text run at (0,0) width 65: "Tests: "
+          LayoutBR {BR} at (0,0) size 0x0
+          LayoutText {#text} at (0,27) size 162x27
+            text run at (0,27) width 162: "Fix for this bug: "
+          LayoutInline {A} at (0,0) size 260x27 [color=#0000EE]
+            LayoutText {#text} at (162,27) size 260x27
+              text run at (162,27) width 260: "<rdar://problem/4045511>"
+          LayoutText {#text} at (421,27) size 705x55
+            text run at (421,27) width 284: " Copying and pasting end-of-"
+            text run at (0,55) width 533: "paragraph selection puts insertion point in wrong place"
+        LayoutBlockFlow {DIV} at (14,113) size 756x83
+          LayoutText {#text} at (0,0) size 189x26
+            text run at (0,0) width 189: "Expected Results: "
+          LayoutBR {BR} at (189,21) size 0x0
+          LayoutText {#text} at (0,27) size 715x55
+            text run at (0,27) width 707: "Should see two lines of text below, self-documenting themselves as \"line"
+            text run at (0,55) width 715: "one\" and \"line two\". The insertion point must be at the start of \"line two\"."
+      LayoutBlockFlow {DIV} at (0,234) size 784x60
+        LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
+          LayoutBlockFlow {DIV} at (2,2) size 780x28
+            LayoutText {#text} at (0,0) size 78x27
+              text run at (0,0) width 78: "line one"
+          LayoutBlockFlow {DIV} at (2,30) size 780x28
+            LayoutText {#text} at (0,0) size 79x27
+              text run at (0,0) width 79: "line two"
+caret: position 0 of child 0 {#text} of child 2 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/paste-line-endings-004-expected.txt b/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/paste-line-endings-004-expected.txt
new file mode 100644
index 0000000..4143c3ec
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/paste-line-endings-004-expected.txt
@@ -0,0 +1,47 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {DIV} at (0,0) size 784x210 [border: (2px solid #0000FF)]
+        LayoutBlockFlow {DIV} at (14,14) size 756x83
+          LayoutText {#text} at (0,0) size 65x26
+            text run at (0,0) width 65: "Tests: "
+          LayoutBR {BR} at (0,0) size 0x0
+          LayoutText {#text} at (0,27) size 162x27
+            text run at (0,27) width 162: "Fix for this bug: "
+          LayoutInline {A} at (0,0) size 260x27 [color=#0000EE]
+            LayoutText {#text} at (162,27) size 260x27
+              text run at (162,27) width 260: "<rdar://problem/4045511>"
+          LayoutText {#text} at (421,27) size 705x55
+            text run at (421,27) width 284: " Copying and pasting end-of-"
+            text run at (0,55) width 533: "paragraph selection puts insertion point in wrong place"
+        LayoutBlockFlow {DIV} at (14,113) size 756x83
+          LayoutText {#text} at (0,0) size 189x26
+            text run at (0,0) width 189: "Expected Results: "
+          LayoutBR {BR} at (189,21) size 0x0
+          LayoutText {#text} at (0,27) size 715x55
+            text run at (0,27) width 707: "Should see two lines of text below, self-documenting themselves as \"line"
+            text run at (0,55) width 715: "one\" and \"line two\". The insertion point must be at the start of \"line two\"."
+      LayoutBlockFlow {DIV} at (0,234) size 784x60
+        LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
+          LayoutBlockFlow {DIV} at (2,2) size 780x56
+            LayoutBlockFlow (anonymous) at (0,0) size 780x28
+              LayoutText {#text} at (0,0) size 78x27
+                text run at (0,0) width 78: "line one"
+            LayoutBlockFlow {DIV} at (0,28) size 780x28
+              LayoutText {#text} at (0,0) size 79x27
+                text run at (0,0) width 79: "line two"
+caret: position 0 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/paste-line-endings-005-expected.txt b/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/paste-line-endings-005-expected.txt
new file mode 100644
index 0000000..da2f1d6b3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/editing/pasteboard/paste-line-endings-005-expected.txt
@@ -0,0 +1,47 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {DIV} at (0,0) size 784x210 [border: (2px solid #0000FF)]
+        LayoutBlockFlow {DIV} at (14,14) size 756x83
+          LayoutText {#text} at (0,0) size 65x26
+            text run at (0,0) width 65: "Tests: "
+          LayoutBR {BR} at (0,0) size 0x0
+          LayoutText {#text} at (0,27) size 162x27
+            text run at (0,27) width 162: "Fix for this bug: "
+          LayoutInline {A} at (0,0) size 260x27 [color=#0000EE]
+            LayoutText {#text} at (162,27) size 260x27
+              text run at (162,27) width 260: "<rdar://problem/4045511>"
+          LayoutText {#text} at (421,27) size 705x55
+            text run at (421,27) width 284: " Copying and pasting end-of-"
+            text run at (0,55) width 533: "paragraph selection puts insertion point in wrong place"
+        LayoutBlockFlow {DIV} at (14,113) size 756x83
+          LayoutText {#text} at (0,0) size 189x26
+            text run at (0,0) width 189: "Expected Results: "
+          LayoutBR {BR} at (189,21) size 0x0
+          LayoutText {#text} at (0,27) size 715x55
+            text run at (0,27) width 707: "Should see two lines of text below, self-documenting themselves as \"line"
+            text run at (0,55) width 715: "one\" and \"line two\". The insertion point must be at the start of \"line two\"."
+      LayoutBlockFlow {DIV} at (0,234) size 784x60
+        LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
+          LayoutBlockFlow {DIV} at (2,2) size 780x56
+            LayoutBlockFlow {DIV} at (0,0) size 780x28
+              LayoutText {#text} at (0,0) size 78x27
+                text run at (0,0) width 78: "line one"
+            LayoutBlockFlow (anonymous) at (0,28) size 780x28
+              LayoutText {#text} at (0,0) size 79x27
+                text run at (0,0) width 79: "line two"
+caret: position 0 of child 1 {#text} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/android/editing/selection/6476-expected.txt b/third_party/WebKit/LayoutTests/platform/android/editing/selection/6476-expected.txt
new file mode 100644
index 0000000..885a6af
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/editing/selection/6476-expected.txt
@@ -0,0 +1,36 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x576
+      LayoutBlockFlow {DIV} at (0,0) size 250x40
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "Try to create a caret after this lin"
+        LayoutInline {SPAN} at (0,0) size 8x19
+          LayoutText {#text} at (202,0) size 8x19
+            text run at (202,0) width 8: "e"
+        LayoutText {#text} at (209,0) size 5x19
+          text run at (209,0) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 1x19
+        LayoutText {#text} at (0,20) size 181x19
+          text run at (0,20) width 181: "thisshouldbeonthesecondline"
+      LayoutBlockFlow {P} at (0,66) size 784x40
+        LayoutText {#text} at (0,0) size 131x19
+          text run at (0,0) width 131: "This is a testcase for "
+        LayoutInline {A} at (0,0) size 343x19 [color=#0000EE]
+          LayoutText {#text} at (131,0) size 343x19
+            text run at (131,0) width 343: "http://bugzilla.opendarwin.org/show_bug.cgi?id=6476"
+        LayoutText {#text} at (473,0) size 779x39
+          text run at (473,0) width 9: ". "
+          text run at (481,0) width 298: "Creating an upstream caret with the mouse was"
+          text run at (0,20) width 591: "impossible if the upstream and downstream carets were separated only by unrendered content."
+      LayoutBlockFlow {P} at (0,122) size 784x40
+        LayoutText {#text} at (0,0) size 764x39
+          text run at (0,0) width 318: "This test uses the eventSender to do mouse clicks. "
+          text run at (318,0) width 446: "To run it manually, click in the space after all the text on the first line in"
+          text run at (0,20) width 166: "the above editable region. "
+          text run at (166,20) width 384: "Clicking should create a caret after the first space after the 'e'."
+layer at (8,56) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,48) size 784x2 [border: (1px inset #EEEEEE)]
+caret: position 1 of child 2 {#text} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/android/editing/selection/leave-requested-block-expected.txt b/third_party/WebKit/LayoutTests/platform/android/editing/selection/leave-requested-block-expected.txt
new file mode 100644
index 0000000..b5f967e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/editing/selection/leave-requested-block-expected.txt
@@ -0,0 +1,30 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x576
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 126x19
+          text run at (0,0) width 126: "Test case for fix for "
+        LayoutInline {A} at (0,0) size 344x19 [color=#0000EE]
+          LayoutText {#text} at (125,0) size 344x19
+            text run at (125,0) width 344: "http://bugzilla.opendarwin.org/show_bug.cgi?id=5354"
+        LayoutText {#text} at (468,0) size 5x19
+          text run at (468,0) width 5: "."
+      LayoutBlockFlow {P} at (0,36) size 784x40
+        LayoutText {#text} at (0,0) size 772x39
+          text run at (0,0) width 772: "Changes were made to VisiblePosition's so that init() will not leave the block containing the requested position unless there"
+          text run at (0,20) width 231: "are no VisiblePositions in that block."
+      LayoutBlockFlow {P} at (0,92) size 784x0
+      LayoutBlockFlow {DIV} at (0,92) size 784x56 [border: (2px solid #AAAAFF)]
+        LayoutBlockFlow {P} at (2,18) size 780x20
+          LayoutText {#text} at (0,0) size 682x19
+            text run at (0,0) width 682: "Select All while inside this editable block should create a selection that does not extend outside of this block."
+layer at (8,172) size 784x20
+  LayoutBlockFlow {P} at (0,164) size 784x20
+    LayoutText {#text} at (0,0) size 424x19
+      text run at (0,0) width 424: "This is a paragraph outside the editable block with overflow:hidden"
+selection start: position 0 of child 0 {#text} of child 1 {P} of child 5 {DIV} of body
+selection end:   position 113 of child 0 {#text} of child 1 {P} of child 5 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/android/fast/backgrounds/background-clip-text-expected.txt b/third_party/WebKit/LayoutTests/platform/android/fast/backgrounds/background-clip-text-expected.txt
new file mode 100644
index 0000000..2705fc7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/fast/backgrounds/background-clip-text-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x282
+  LayoutBlockFlow {HTML} at (0,0) size 800x282
+    LayoutBlockFlow {BODY} at (8,16) size 784x258
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
+          LayoutText {#text} at (0,0) size 305x19
+            text run at (0,0) width 305: "https://bugs.webkit.org/show_bug.cgi?id=25829"
+        LayoutBR {BR} at (304,15) size 1x0
+        LayoutText {#text} at (0,20) size 570x19
+          text run at (0,20) width 570: "You should see no areas of read below. (This paragraph is required for the test to be valid.)"
+      LayoutBlockFlow {DIV} at (0,56) size 502x202 [color=#008000] [bgcolor=#FF0000] [border: (1px solid #000000)]
+        LayoutText {#text} at (1,2) size 431x149
+          text run at (1,2) width 431: "This background"
+          text run at (1,78) width 409: "clips to the text."
diff --git a/third_party/WebKit/LayoutTests/platform/android/fast/css/compare-content-style-expected.txt b/third_party/WebKit/LayoutTests/platform/android/fast/css/compare-content-style-expected.txt
new file mode 100644
index 0000000..8b7ff4d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/fast/css/compare-content-style-expected.txt
@@ -0,0 +1,48 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x256
+  LayoutBlockFlow {HTML} at (0,0) size 800x256
+    LayoutBlockFlow {BODY} at (8,8) size 784x232
+      LayoutBlockFlow {DIV} at (0,0) size 784x120
+        LayoutBlockFlow {DIV} at (0,0) size 784x20
+          LayoutInline {<pseudo:before>} at (0,0) size 38x19
+            LayoutTextFragment (anonymous) at (0,0) size 38x19
+              text run at (0,0) width 38: "PASS"
+        LayoutBlockFlow {DIV} at (0,20) size 784x20
+          LayoutInline {<pseudo:before>} at (0,0) size 38x19
+            LayoutTextFragment (anonymous) at (0,0) size 38x19
+              text run at (0,0) width 38: "PASS"
+        LayoutBlockFlow {DIV} at (0,40) size 784x20
+          LayoutInline {<pseudo:before>} at (0,0) size 38x19
+            LayoutTextFragment (anonymous) at (0,0) size 38x19
+              text run at (0,0) width 38: "PASS"
+        LayoutBlockFlow {DIV} at (0,60) size 784x20
+          LayoutInline {<pseudo:before>} at (0,0) size 38x19
+            LayoutTextFragment (anonymous) at (0,0) size 38x19
+              text run at (0,0) width 38: "PASS"
+        LayoutBlockFlow {DIV} at (0,80) size 784x20
+          LayoutInline {<pseudo:before>} at (0,0) size 38x19
+            LayoutTextFragment (anonymous) at (0,0) size 38x19
+              text run at (0,0) width 38: "PASS"
+        LayoutBlockFlow {DIV} at (0,100) size 784x20
+          LayoutInline {<pseudo:before>} at (0,0) size 38x19
+            LayoutTextFragment (anonymous) at (0,0) size 38x19
+              text run at (0,0) width 38: "PASS"
+      LayoutBlockFlow {DIV} at (0,136) size 784x96
+        LayoutBlockFlow {P} at (0,0) size 784x20
+          LayoutInline {A} at (0,0) size 671x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 671x19
+              text run at (0,0) width 671: "Bug 23741: StyleRareNonInheritedData::operator==() should not compare ContentData objects by pointer"
+        LayoutBlockFlow {OL} at (0,36) size 784x60
+          LayoutListItem {LI} at (40,0) size 744x20
+            LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
+            LayoutText {#text} at (0,0) size 344x19
+              text run at (0,0) width 344: "All lines above should be \"PASS\" on initial page load."
+          LayoutListItem {LI} at (40,20) size 744x20
+            LayoutListMarker (anonymous) at (-16,0) size 16x19: "2"
+            LayoutText {#text} at (0,0) size 140x19
+              text run at (0,0) width 140: "Reload the page once."
+          LayoutListItem {LI} at (40,40) size 744x20
+            LayoutListMarker (anonymous) at (-16,0) size 16x19: "3"
+            LayoutText {#text} at (0,0) size 246x19
+              text run at (0,0) width 246: "All lines above should still be \"PASS\"."
diff --git a/third_party/WebKit/LayoutTests/platform/android/fast/css/first-letter-hover-expected.txt b/third_party/WebKit/LayoutTests/platform/android/fast/css/first-letter-hover-expected.txt
new file mode 100644
index 0000000..5059446
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/fast/css/first-letter-hover-expected.txt
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 52x19
+          text run at (0,0) width 52: "Test for "
+        LayoutInline {A} at (0,0) size 296x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 296x19
+            text run at (51,0) width 296: "http://bugs.webkit.org/show_bug.cgi?id=4104 "
+        LayoutText {#text} at (346,0) size 249x19
+          text run at (346,0) width 249: "first-letter not updating style with hover"
+      LayoutBlockFlow {P} at (0,36) size 784x20
+        LayoutText {#text} at (0,0) size 391x19
+          text run at (0,0) width 391: "The next line of text should turn green when we hover over it."
+      LayoutBlockFlow {DIV} at (0,72) size 784x40 [color=#008000]
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 10x19 [color=#0000FF]
+          LayoutTextFragment (anonymous) at (0,0) size 10x19
+            text run at (0,0) width 10: "T"
+        LayoutTextFragment {#text} at (10,0) size 775x39
+          text run at (10,0) width 765: "he first letter of this paragraph should be larger than the rest. If you hover over this paragraph, all of the text (including the"
+          text run at (0,20) width 501: "first letter) should turn green. If the first letter remains black, then there is a bug!"
diff --git a/third_party/WebKit/LayoutTests/platform/android/fast/css/first-letter-visibility-expected.txt b/third_party/WebKit/LayoutTests/platform/android/fast/css/first-letter-visibility-expected.txt
new file mode 100644
index 0000000..a62fdb2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/fast/css/first-letter-visibility-expected.txt
@@ -0,0 +1,22 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 52x19
+          text run at (0,0) width 52: "Test for "
+        LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 304x19
+            text run at (51,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=13169 "
+        LayoutText {#text} at (354,0) size 299x19
+          text run at (354,0) width 299: "css-formatted first letter won't hide dynamically"
+      LayoutBlockFlow {P} at (0,36) size 784x20
+        LayoutText {#text} at (0,0) size 417x19
+          text run at (0,0) width 417: "The next line of text should become invisible, including first letter."
+      LayoutBlockFlow {DIV} at (0,72) size 784x20
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 11x19 [color=#0000FF]
+          LayoutTextFragment (anonymous) at (0,0) size 11x19
+            text run at (0,0) width 11: "C"
+        LayoutTextFragment {#text} at (11,0) size 70x19
+          text run at (11,0) width 70: "lick to hide"
diff --git a/third_party/WebKit/LayoutTests/platform/android/fast/css/invalid-percentage-property-expected.txt b/third_party/WebKit/LayoutTests/platform/android/fast/css/invalid-percentage-property-expected.txt
new file mode 100644
index 0000000..c744ad8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/fast/css/invalid-percentage-property-expected.txt
@@ -0,0 +1,22 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x573.28
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 52x19
+          text run at (0,0) width 52: "Test for "
+        LayoutInline {A} at (0,0) size 300x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 300x19
+            text run at (51,0) width 300: "http://bugs.webkit.org/show_bug.cgi?id=15260"
+        LayoutText {#text} at (350,0) size 155x19
+          text run at (350,0) width 155: "Any styles defined after "
+        LayoutInline {ELEMENT} at (0,0) size 203x19
+          LayoutText {#text} at (504,0) size 9x19
+            text run at (504,0) width 9: "{"
+          LayoutInline {PROPERTY} at (0,0) size 195x19
+            LayoutText {#text} at (512,0) size 195x19
+              text run at (512,0) width 195: ":%} style are ignored by Safari"
+      LayoutBlockFlow {H3} at (0,38.72) size 784x23 [color=#008000]
+        LayoutText {#text} at (0,0) size 254x22
+          text run at (0,0) width 254: "This text should show in green."
diff --git a/third_party/WebKit/LayoutTests/platform/android/fast/css/nth-child-dynamic-expected.txt b/third_party/WebKit/LayoutTests/platform/android/fast/css/nth-child-dynamic-expected.txt
new file mode 100644
index 0000000..351c1f83
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/fast/css/nth-child-dynamic-expected.txt
@@ -0,0 +1,88 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x582
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 323x19
+          text run at (0,0) width 323: "Test :nth-child() when dynamically adding siblings."
+      LayoutBlockFlow {P} at (0,36) size 784x20
+        LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
+          LayoutText {#text} at (0,0) size 305x19
+            text run at (0,0) width 305: "https://bugs.webkit.org/show_bug.cgi?id=26362"
+      LayoutBlockFlow {DIV} at (10,72) size 764x232 [border: (1px solid #000000)]
+        LayoutBlockFlow {P} at (11,6) size 747x20 [color=#FF0000]
+          LayoutText {#text} at (0,0) size 60x19
+            text run at (0,0) width 13: "P "
+            text run at (13,0) width 47: "red text"
+        LayoutBlockFlow {DIV} at (6,26) size 752x20
+          LayoutText {#text} at (0,0) size 29x19
+            text run at (0,0) width 29: "DIV"
+        LayoutBlockFlow {P} at (11,46) size 747x20
+          LayoutText {#text} at (0,0) size 9x19
+            text run at (0,0) width 9: "P"
+        LayoutBlockFlow {DIV} at (6,66) size 752x20 [color=#FF0000] [bgcolor=#9999FF]
+          LayoutText {#text} at (0,0) size 131x19
+            text run at (0,0) width 33: "DIV "
+            text run at (33,0) width 51: "red text "
+            text run at (84,0) width 47: "blue bg"
+        LayoutBlockFlow {P} at (11,86) size 747x20
+          LayoutText {#text} at (0,0) size 9x19
+            text run at (0,0) width 9: "P"
+        LayoutBlockFlow {DIV} at (6,106) size 752x20
+          LayoutText {#text} at (0,0) size 29x19
+            text run at (0,0) width 29: "DIV"
+        LayoutBlockFlow {P} at (11,126) size 747x20 [color=#FF0000]
+          LayoutText {#text} at (0,0) size 60x19
+            text run at (0,0) width 13: "P "
+            text run at (13,0) width 47: "red text"
+        LayoutBlockFlow {DIV} at (6,146) size 752x20
+          LayoutText {#text} at (0,0) size 29x19
+            text run at (0,0) width 29: "DIV"
+        LayoutBlockFlow {P} at (11,166) size 747x20
+          LayoutText {#text} at (0,0) size 9x19
+            text run at (0,0) width 9: "P"
+        LayoutBlockFlow {DIV} at (6,186) size 752x20 [color=#FF0000]
+          LayoutText {#text} at (0,0) size 80x19
+            text run at (0,0) width 33: "DIV "
+            text run at (33,0) width 47: "red text"
+        LayoutBlockFlow {P} at (11,206) size 747x20
+          LayoutText {#text} at (0,0) size 9x19
+            text run at (0,0) width 9: "P"
+      LayoutBlockFlow {DIV} at (10,314) size 764x252 [border: (1px solid #000000)]
+        LayoutText {#text} at (6,6) size 261x19
+          text run at (6,6) width 261: "child 0: PASS: found color rgb(255, 0, 0)"
+        LayoutBR {BR} at (266,21) size 1x0
+        LayoutText {#text} at (6,26) size 245x19
+          text run at (6,26) width 245: "child 1: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,41) size 1x0
+        LayoutText {#text} at (6,46) size 245x19
+          text run at (6,46) width 245: "child 2: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,61) size 1x0
+        LayoutText {#text} at (6,66) size 261x19
+          text run at (6,66) width 261: "child 3: PASS: found color rgb(255, 0, 0)"
+        LayoutBR {BR} at (266,81) size 1x0
+        LayoutText {#text} at (6,86) size 245x19
+          text run at (6,86) width 245: "child 4: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,101) size 1x0
+        LayoutText {#text} at (6,106) size 245x19
+          text run at (6,106) width 245: "child 5: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,121) size 1x0
+        LayoutText {#text} at (6,126) size 261x19
+          text run at (6,126) width 261: "child 6: PASS: found color rgb(255, 0, 0)"
+        LayoutBR {BR} at (266,141) size 1x0
+        LayoutText {#text} at (6,146) size 245x19
+          text run at (6,146) width 245: "child 7: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,161) size 1x0
+        LayoutText {#text} at (6,166) size 245x19
+          text run at (6,166) width 245: "child 8: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,181) size 1x0
+        LayoutText {#text} at (6,186) size 261x19
+          text run at (6,186) width 261: "child 9: PASS: found color rgb(255, 0, 0)"
+        LayoutBR {BR} at (266,201) size 1x0
+        LayoutText {#text} at (6,206) size 253x19
+          text run at (6,206) width 253: "child 10: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (258,221) size 1x0
+        LayoutText {#text} at (6,226) size 282x19
+          text run at (6,226) width 282: "div 1: PASS: found color rgb(153, 153, 255)"
+        LayoutBR {BR} at (287,241) size 1x0
diff --git a/third_party/WebKit/LayoutTests/platform/android/fast/css/text-overflow-ellipsis-expected.txt b/third_party/WebKit/LayoutTests/platform/android/fast/css/text-overflow-ellipsis-expected.txt
new file mode 100644
index 0000000..c9c8b6c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/fast/css/text-overflow-ellipsis-expected.txt
@@ -0,0 +1,105 @@
+layer at (0,0) size 800x600 scrollHeight 770
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x770 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x770
+    LayoutBlockFlow {BODY} at (8,8) size 784x742
+      LayoutBlockFlow (anonymous) at (0,0) size 784x100
+        LayoutText {#text} at (0,0) size 557x19
+          text run at (0,0) width 557: "This tests checks that the text-overflow:ellipsis property is handled correctly for bidi text."
+        LayoutBR {BR} at (557,15) size 0x0
+        LayoutBR {BR} at (0,20) size 0x19
+        LayoutText {#text} at (0,40) size 741x19
+          text run at (0,40) width 741: "Pass if the ellipsis do not overlap the text and the underlines for the links are placed under the text and not the ellipsis. "
+        LayoutBR {BR} at (741,55) size 0x0
+        LayoutBR {BR} at (0,60) size 0x19
+        LayoutText {#text} at (0,80) size 35x19
+          text run at (0,80) width 35: "RTL:"
+      LayoutBlockFlow (anonymous) at (0,142) size 784x20
+        LayoutText {#text} at (0,0) size 95x19
+          text run at (0,0) width 95: "RTL Override:"
+      LayoutBlockFlow (anonymous) at (0,204) size 784x20
+        LayoutText {#text} at (0,0) size 63x19
+          text run at (0,0) width 63: "RTL link:"
+      LayoutBlockFlow (anonymous) at (0,266) size 784x20
+        LayoutText {#text} at (0,0) size 134x19
+          text run at (0,0) width 134: "RTL with ltr content:"
+      LayoutBlockFlow (anonymous) at (0,328) size 784x20
+        LayoutText {#text} at (0,0) size 162x19
+          text run at (0,0) width 162: "RTL link with ltr content:"
+      LayoutBlockFlow (anonymous) at (0,390) size 784x20
+        LayoutText {#text} at (0,0) size 62x19
+          text run at (0,0) width 62: "LTR link:"
+      LayoutBlockFlow (anonymous) at (0,452) size 784x20
+        LayoutText {#text} at (0,0) size 34x19
+          text run at (0,0) width 34: "LTR:"
+      LayoutBlockFlow (anonymous) at (0,514) size 784x20
+        LayoutText {#text} at (0,0) size 133x19
+          text run at (0,0) width 133: "LTR with rtl content:"
+      LayoutBlockFlow (anonymous) at (0,576) size 784x20
+        LayoutText {#text} at (0,0) size 177x19
+          text run at (0,0) width 177: "LTR with forced rtl content:"
+      LayoutBlockFlow (anonymous) at (0,638) size 784x20
+        LayoutText {#text} at (0,0) size 161x19
+          text run at (0,0) width 161: "LTR link with rtl content:"
+      LayoutBlockFlow (anonymous) at (0,700) size 784x20
+        LayoutText {#text} at (0,0) size 205x19
+          text run at (0,0) width 205: "LTR link with forced rtl content:"
+layer at (8,108) size 182x22 clip at (9,109) size 180x20 scrollX 118.00 scrollWidth 298
+  LayoutBlockFlow {DIV} at (0,100) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (-117,1) size 298x19
+      text run at (-117,1) width 298 RTL: "\x{5DB}\x{5E9}\x{5D4}\x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5E8}\x{5D5}\x{5DA} \x{5DE}\x{5D3}\x{5D9} \x{5E0}\x{5E8}\x{5E6}\x{5D4} \x{5DC}\x{5D4}\x{5D5}\x{5E1}\x{5D9}\x{5E3} \x{5D0}\x{5DC}\x{5D9}\x{5E4}\x{5E1}\x{5D5}\x{5EA} \x{5D1}\x{5E1}\x{5D5}\x{5E3} \x{5E9}\x{5D5}\x{5E8}\x{5D4}"
+layer at (8,170) size 182x22 clip at (9,171) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,162) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (-139,1) size 320x19
+      text run at (-139,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+layer at (8,232) size 182x22 clip at (9,233) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,224) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (-139,1) size 320x19
+        text run at (-139,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,294) size 182x22 clip at (9,295) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,286) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (-139,1) size 320x19
+      text run at (-139,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+layer at (8,356) size 182x22 clip at (9,357) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,348) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (-139,1) size 320x19
+        text run at (-139,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,418) size 182x22 clip at (9,419) size 180x20 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,410) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (1,1) size 320x19
+        text run at (1,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,480) size 182x22 clip at (9,481) size 180x20 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,472) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (1,1) size 320x19
+      text run at (1,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+layer at (8,542) size 182x22 clip at (9,543) size 180x20 scrollWidth 298
+  LayoutBlockFlow {DIV} at (0,534) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (1,1) size 298x19
+      text run at (1,1) width 298 RTL: "\x{5DB}\x{5E9}\x{5D4}\x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5E8}\x{5D5}\x{5DA} \x{5DE}\x{5D3}\x{5D9} \x{5E0}\x{5E8}\x{5E6}\x{5D4} \x{5DC}\x{5D4}\x{5D5}\x{5E1}\x{5D9}\x{5E3} \x{5D0}\x{5DC}\x{5D9}\x{5E4}\x{5E1}\x{5D5}\x{5EA} \x{5D1}\x{5E1}\x{5D5}\x{5E3} \x{5E9}\x{5D5}\x{5E8}\x{5D4}"
+layer at (8,604) size 182x22 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,596) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {SPAN} at (0,0) size 320x19
+      LayoutText {#text} at (1,1) size 320x19
+        text run at (1,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,666) size 182x22 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollWidth 298
+  LayoutBlockFlow {DIV} at (0,658) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 298x19 [color=#0000EE]
+      LayoutText {#text} at (1,1) size 298x19
+        text run at (1,1) width 298 RTL: "\x{5DB}\x{5E9}\x{5D4}\x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5E8}\x{5D5}\x{5DA} \x{5DE}\x{5D3}\x{5D9} \x{5E0}\x{5E8}\x{5E6}\x{5D4} \x{5DC}\x{5D4}\x{5D5}\x{5E1}\x{5D9}\x{5E3} \x{5D0}\x{5DC}\x{5D9}\x{5E4}\x{5E1}\x{5D5}\x{5EA} \x{5D1}\x{5E1}\x{5D5}\x{5E3} \x{5E9}\x{5D5}\x{5E8}\x{5D4}"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,728) size 182x22 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,720) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (0,0) size 0x0
+      LayoutInline {SPAN} at (0,0) size 320x19
+        LayoutText {#text} at (1,1) size 320x19
+          text run at (1,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+      LayoutText {#text} at (0,0) size 0x0
+    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/android/fast/css/text-overflow-ellipsis-strict-expected.txt b/third_party/WebKit/LayoutTests/platform/android/fast/css/text-overflow-ellipsis-strict-expected.txt
new file mode 100644
index 0000000..42f6988a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/fast/css/text-overflow-ellipsis-strict-expected.txt
@@ -0,0 +1,105 @@
+layer at (0,0) size 800x600 scrollHeight 770
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x770 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x770
+    LayoutBlockFlow {BODY} at (8,8) size 784x742
+      LayoutBlockFlow (anonymous) at (0,0) size 784x100
+        LayoutText {#text} at (0,0) size 557x19
+          text run at (0,0) width 557: "This tests checks that the text-overflow:ellipsis property is handled correctly for bidi text."
+        LayoutBR {BR} at (557,0) size 0x19
+        LayoutBR {BR} at (0,20) size 0x19
+        LayoutText {#text} at (0,40) size 741x19
+          text run at (0,40) width 741: "Pass if the ellipsis do not overlap the text and the underlines for the links are placed under the text and not the ellipsis. "
+        LayoutBR {BR} at (741,40) size 0x19
+        LayoutBR {BR} at (0,60) size 0x19
+        LayoutText {#text} at (0,80) size 35x19
+          text run at (0,80) width 35: "RTL:"
+      LayoutBlockFlow (anonymous) at (0,142) size 784x20
+        LayoutText {#text} at (0,0) size 95x19
+          text run at (0,0) width 95: "RTL Override:"
+      LayoutBlockFlow (anonymous) at (0,204) size 784x20
+        LayoutText {#text} at (0,0) size 63x19
+          text run at (0,0) width 63: "RTL link:"
+      LayoutBlockFlow (anonymous) at (0,266) size 784x20
+        LayoutText {#text} at (0,0) size 134x19
+          text run at (0,0) width 134: "RTL with ltr content:"
+      LayoutBlockFlow (anonymous) at (0,328) size 784x20
+        LayoutText {#text} at (0,0) size 162x19
+          text run at (0,0) width 162: "RTL link with ltr content:"
+      LayoutBlockFlow (anonymous) at (0,390) size 784x20
+        LayoutText {#text} at (0,0) size 62x19
+          text run at (0,0) width 62: "LTR link:"
+      LayoutBlockFlow (anonymous) at (0,452) size 784x20
+        LayoutText {#text} at (0,0) size 34x19
+          text run at (0,0) width 34: "LTR:"
+      LayoutBlockFlow (anonymous) at (0,514) size 784x20
+        LayoutText {#text} at (0,0) size 133x19
+          text run at (0,0) width 133: "LTR with rtl content:"
+      LayoutBlockFlow (anonymous) at (0,576) size 784x20
+        LayoutText {#text} at (0,0) size 177x19
+          text run at (0,0) width 177: "LTR with forced rtl content:"
+      LayoutBlockFlow (anonymous) at (0,638) size 784x20
+        LayoutText {#text} at (0,0) size 161x19
+          text run at (0,0) width 161: "LTR link with rtl content:"
+      LayoutBlockFlow (anonymous) at (0,700) size 784x20
+        LayoutText {#text} at (0,0) size 205x19
+          text run at (0,0) width 205: "LTR link with forced rtl content:"
+layer at (8,108) size 182x22 clip at (9,109) size 180x20 scrollX 118.00 scrollWidth 298
+  LayoutBlockFlow {DIV} at (0,100) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (-117,1) size 298x19
+      text run at (-117,1) width 298 RTL: "\x{5DB}\x{5E9}\x{5D4}\x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5E8}\x{5D5}\x{5DA} \x{5DE}\x{5D3}\x{5D9} \x{5E0}\x{5E8}\x{5E6}\x{5D4} \x{5DC}\x{5D4}\x{5D5}\x{5E1}\x{5D9}\x{5E3} \x{5D0}\x{5DC}\x{5D9}\x{5E4}\x{5E1}\x{5D5}\x{5EA} \x{5D1}\x{5E1}\x{5D5}\x{5E3} \x{5E9}\x{5D5}\x{5E8}\x{5D4}"
+layer at (8,170) size 182x22 clip at (9,171) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,162) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (-139,1) size 320x19
+      text run at (-139,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+layer at (8,232) size 182x22 clip at (9,233) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,224) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (-139,1) size 320x19
+        text run at (-139,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,294) size 182x22 clip at (9,295) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,286) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (-139,1) size 320x19
+      text run at (-139,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+layer at (8,356) size 182x22 clip at (9,357) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,348) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (-139,1) size 320x19
+        text run at (-139,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,418) size 182x22 clip at (9,419) size 180x20 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,410) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (1,1) size 320x19
+        text run at (1,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,480) size 182x22 clip at (9,481) size 180x20 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,472) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (1,1) size 320x19
+      text run at (1,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+layer at (8,542) size 182x22 clip at (9,543) size 180x20 scrollWidth 298
+  LayoutBlockFlow {DIV} at (0,534) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (1,1) size 298x19
+      text run at (1,1) width 298 RTL: "\x{5DB}\x{5E9}\x{5D4}\x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5E8}\x{5D5}\x{5DA} \x{5DE}\x{5D3}\x{5D9} \x{5E0}\x{5E8}\x{5E6}\x{5D4} \x{5DC}\x{5D4}\x{5D5}\x{5E1}\x{5D9}\x{5E3} \x{5D0}\x{5DC}\x{5D9}\x{5E4}\x{5E1}\x{5D5}\x{5EA} \x{5D1}\x{5E1}\x{5D5}\x{5E3} \x{5E9}\x{5D5}\x{5E8}\x{5D4}"
+layer at (8,604) size 182x22 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,596) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {SPAN} at (0,0) size 320x19
+      LayoutText {#text} at (1,1) size 320x19
+        text run at (1,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,666) size 182x22 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollWidth 298
+  LayoutBlockFlow {DIV} at (0,658) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 298x19 [color=#0000EE]
+      LayoutText {#text} at (1,1) size 298x19
+        text run at (1,1) width 298 RTL: "\x{5DB}\x{5E9}\x{5D4}\x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5E8}\x{5D5}\x{5DA} \x{5DE}\x{5D3}\x{5D9} \x{5E0}\x{5E8}\x{5E6}\x{5D4} \x{5DC}\x{5D4}\x{5D5}\x{5E1}\x{5D9}\x{5E3} \x{5D0}\x{5DC}\x{5D9}\x{5E4}\x{5E1}\x{5D5}\x{5EA} \x{5D1}\x{5E1}\x{5D5}\x{5E3} \x{5E9}\x{5D5}\x{5E8}\x{5D4}"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,728) size 182x22 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,720) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (0,0) size 0x0
+      LayoutInline {SPAN} at (0,0) size 320x19
+        LayoutText {#text} at (1,1) size 320x19
+          text run at (1,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+      LayoutText {#text} at (0,0) size 0x0
+    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/android/fast/layers/normal-flow-hit-test-expected.txt b/third_party/WebKit/LayoutTests/platform/android/fast/layers/normal-flow-hit-test-expected.txt
new file mode 100644
index 0000000..45ff275
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/fast/layers/normal-flow-hit-test-expected.txt
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x325
+  LayoutBlockFlow {HTML} at (0,0) size 800x325
+    LayoutBlockFlow {BODY} at (8,16) size 784x301
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 58x19
+          text run at (0,0) width 58: "Tests for "
+        LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
+          LayoutText {#text} at (57,0) size 306x19
+            text run at (57,0) width 306: "https://bugs.webkit.org/show_bug.cgi?id=24552"
+      LayoutBlockFlow (anonymous) at (0,36) size 784x125
+        LayoutText {#text} at (120,105) size 4x19
+          text run at (120,105) width 4: " "
+        LayoutInline {A} at (0,0) size 61x19 [color=#0000EE]
+          LayoutText {#text} at (124,105) size 61x19
+            text run at (124,105) width 61: "Link here"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (0,281) size 784x20
+        LayoutText {#text} at (0,0) size 168x19
+          text run at (0,0) width 168: "Found link node, so PASS"
+layer at (18,62) size 100x100
+  LayoutBlockFlow {DIV} at (10,10) size 100x100 [bgcolor=#808080]
diff --git a/third_party/WebKit/LayoutTests/platform/android/fast/layers/opacity-transforms-expected.txt b/third_party/WebKit/LayoutTests/platform/android/fast/layers/opacity-transforms-expected.txt
new file mode 100644
index 0000000..b96e99a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/fast/layers/opacity-transforms-expected.txt
@@ -0,0 +1,20 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x88
+  LayoutBlockFlow {HTML} at (0,0) size 800x88
+    LayoutBlockFlow {BODY} at (8,16) size 784x56
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
+          LayoutText {#text} at (0,0) size 305x19
+            text run at (0,0) width 305: "https://bugs.webkit.org/show_bug.cgi?id=22026"
+      LayoutBlockFlow {P} at (0,36) size 784x20
+        LayoutText {#text} at (0,0) size 651x19
+          text run at (0,0) width 651: "Test that elements with transform and opacity on a parent are not clipped. You should see no red below."
+layer at (150,200) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (150,200) size 100x100 [bgcolor=#FF0000]
+layer at (100,150) size 100x100 transparent
+  LayoutBlockFlow (positioned) {DIV} at (100,150) size 100x100
+layer at (100,150) size 10x10
+  LayoutBlockFlow {DIV} at (0,0) size 10x10
+layer at (150,200) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/android/fast/selectors/018-expected.txt b/third_party/WebKit/LayoutTests/platform/android/fast/selectors/018-expected.txt
new file mode 100644
index 0000000..55a0dd2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/fast/selectors/018-expected.txt
@@ -0,0 +1,119 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x321
+  LayoutBlockFlow {HTML} at (0,0) size 800x321
+    LayoutBlockFlow {BODY} at (8,16) size 784x297
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 674x19
+          text run at (0,0) width 423: "The background color of this paragraph should turn to green when "
+          text run at (423,0) width 251: "the mouse pointer hovers either its text ("
+        LayoutInline {STRONG} at (0,0) size 30x19
+          LayoutText {#text} at (674,0) size 30x19
+            text run at (674,0) width 30: "here"
+        LayoutText {#text} at (703,0) size 744x39
+          text run at (703,0) width 41: ") or its"
+          text run at (0,20) width 157: "whitespace background, "
+        LayoutInline {STRONG} at (0,0) size 30x19
+          LayoutText {#text} at (157,20) size 30x19
+            text run at (157,20) width 30: "here"
+        LayoutText {#text} at (186,20) size 5x19
+          text run at (186,20) width 5: ":"
+      LayoutBlockFlow {ADDRESS} at (0,56) size 784x20
+        LayoutText {#text} at (0,0) size 161x19
+          text run at (0,0) width 161: "The background color of "
+        LayoutInline {A} at (0,0) size 115x19 [color=#0000EE]
+          LayoutText {#text} at (160,0) size 81x19
+            text run at (160,0) width 81: "this anchor ("
+          LayoutInline {STRONG} at (0,0) size 30x19
+            LayoutText {#text} at (240,0) size 30x19
+              text run at (240,0) width 30: "here"
+          LayoutText {#text} at (269,0) size 6x19
+            text run at (269,0) width 6: ")"
+        LayoutText {#text} at (274,0) size 387x19
+          text run at (274,0) width 387: " should turn to green when the pointing device hovers over it."
+      LayoutTable {TABLE} at (0,76) size 308x221
+        LayoutTableSection {TBODY} at (0,0) size 308x221
+          LayoutTableRow {TR} at (0,5) size 308x22
+            LayoutTableCell {TD} at (5,5) size 100x22 [r=0 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 73x19
+                text run at (1,1) width 73: "The cells in"
+            LayoutTableCell {TD} at (110,5) size 89x22 [r=0 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 56x19
+                text run at (1,1) width 56: "this table"
+            LayoutTableCell {TD} at (204,5) size 99x22 [r=0 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 62x19
+                text run at (1,1) width 62: "should go"
+          LayoutTableRow {TR} at (0,32) size 308x22
+            LayoutTableCell {TD} at (5,32) size 100x22 [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 74x19
+                text run at (1,1) width 74: "green when"
+            LayoutTableCell {TD} at (110,32) size 89x22 [r=1 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 64x19
+                text run at (1,1) width 64: "you hover"
+            LayoutTableCell {TD} at (204,32) size 99x22 [r=1 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 75x19
+                text run at (1,1) width 75: "the pointing"
+          LayoutTableRow {TR} at (0,59) size 308x22
+            LayoutTableCell {TD} at (5,59) size 100x22 [r=2 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 73x19
+                text run at (1,1) width 73: "device over"
+            LayoutTableCell {TD} at (110,59) size 89x22 [r=2 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 40x19
+                text run at (1,1) width 40: "them ("
+              LayoutInline {STRONG} at (0,0) size 30x19
+                LayoutText {#text} at (41,1) size 30x19
+                  text run at (41,1) width 30: "here"
+              LayoutText {#text} at (70,1) size 10x19
+                text run at (70,1) width 10: ")."
+            LayoutTableCell {TD} at (204,69) size 99x2 [r=2 c=2 rs=1 cs=1]
+          LayoutTableRow {TR} at (0,86) size 308x22
+            LayoutTableCell {TD} at (5,86) size 100x22 [r=3 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 76x19
+                text run at (1,1) width 76: "The rows in"
+            LayoutTableCell {TD} at (110,86) size 89x22 [r=3 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 56x19
+                text run at (1,1) width 56: "this table"
+            LayoutTableCell {TD} at (204,86) size 99x22 [r=3 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 62x19
+                text run at (1,1) width 62: "should go"
+          LayoutTableRow {TR} at (0,113) size 308x22
+            LayoutTableCell {TD} at (5,113) size 100x22 [r=4 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 67x19
+                text run at (1,1) width 67: "dark green"
+            LayoutTableCell {TD} at (110,113) size 89x22 [r=4 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 58x19
+                text run at (1,1) width 58: "when the"
+            LayoutTableCell {TD} at (204,113) size 99x22 [r=4 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 97x19
+                text run at (1,1) width 97: "pointing device"
+          LayoutTableRow {TR} at (0,140) size 308x22
+            LayoutTableCell {TD} at (5,140) size 100x22 [r=5 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 65x19
+                text run at (1,1) width 65: "is over the"
+            LayoutTableCell {TD} at (110,140) size 89x22 [r=5 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 59x19
+                text run at (1,1) width 59: "five pixel"
+            LayoutTableCell {TD} at (204,140) size 99x22 [r=5 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 93x19
+                text run at (1,1) width 93: "border spacing"
+          LayoutTableRow {TR} at (0,167) size 308x22
+            LayoutTableCell {TD} at (5,167) size 100x22 [r=6 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 88x19
+                text run at (1,1) width 88: "and when it is"
+            LayoutTableCell {TD} at (110,167) size 89x22 [r=6 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 87x19
+                text run at (1,1) width 87: "over the cells."
+            LayoutTableCell {TD} at (204,177) size 99x2 [r=6 c=2 rs=1 cs=1]
+          LayoutTableRow {TR} at (0,194) size 308x22
+            LayoutTableCell {TD} at (5,194) size 100x22 [r=7 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 64x19
+                text run at (1,1) width 64: "Including "
+              LayoutInline {STRONG} at (0,0) size 30x19
+                LayoutText {#text} at (65,1) size 30x19
+                  text run at (65,1) width 30: "here"
+              LayoutText {#text} at (94,1) size 5x19
+                text run at (94,1) width 5: ","
+            LayoutTableCell {TD} at (110,204) size 89x2 [r=7 c=1 rs=1 cs=1]
+            LayoutTableCell {TD} at (204,194) size 99x22 [r=7 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 71x19
+                text run at (1,1) width 71: "blank cells."
diff --git a/third_party/WebKit/LayoutTests/platform/android/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt b/third_party/WebKit/LayoutTests/platform/android/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt
new file mode 100644
index 0000000..2c5771c5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/android/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x60
+        LayoutText {#text} at (0,0) size 770x39
+          text run at (0,0) width 770: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that the focus ring color is not inherited"
+          text run at (0,20) width 207: "for an <area> (by default) as per "
+        LayoutInline {A} at (0,0) size 467x19 [color=#0000EE]
+          LayoutText {#text} at (207,20) size 467x19
+            text run at (207,20) width 467: "section 18.4 \"Dynamic outlines: the 'outline' property\" of the CSS2.1 spec"
+        LayoutText {#text} at (674,20) size 735x39
+          text run at (674,20) width 61: ". This test"
+          text run at (0,40) width 566: "FAILED if a red-colored focus ring is drawn around the <area> in the imagemap (below)."
+      LayoutBlockFlow (anonymous) at (0,76) size 784x128
+        LayoutInline {MAP} at (0,0) size 0x0
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {AREA} at (0,0) size 0x0
+          LayoutText {#text} at (0,0) size 0x0
+        LayoutText {#text} at (0,0) size 0x0
+        LayoutImage {IMG} at (0,0) size 128x128
+        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/compositing/sibling-positioning-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/compositing/sibling-positioning-expected.png
new file mode 100644
index 0000000..e578d37
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/compositing/sibling-positioning-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/html/css3-modsel-18-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/html/css3-modsel-18-expected.png
new file mode 100644
index 0000000..e84791e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/html/css3-modsel-18-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/html/css3-modsel-18-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/html/css3-modsel-18-expected.txt
new file mode 100644
index 0000000..f97476cc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/html/css3-modsel-18-expected.txt
@@ -0,0 +1,114 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x294
+  LayoutBlockFlow {HTML} at (0,0) size 800x294
+    LayoutBlockFlow {BODY} at (8,16) size 784x270
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 674x19
+          text run at (0,0) width 423: "The background color of this paragraph should turn to green when "
+          text run at (423,0) width 251: "the mouse pointer hovers either its text ("
+        LayoutInline {STRONG} at (0,0) size 30x19
+          LayoutText {#text} at (674,0) size 30x19
+            text run at (674,0) width 30: "here"
+        LayoutText {#text} at (703,0) size 744x39
+          text run at (703,0) width 41: ") or its"
+          text run at (0,20) width 157: "whitespace background, "
+        LayoutInline {STRONG} at (0,0) size 30x19
+          LayoutText {#text} at (157,20) size 30x19
+            text run at (157,20) width 30: "here"
+        LayoutText {#text} at (186,20) size 5x19
+          text run at (186,20) width 5: ":"
+      LayoutBlockFlow {ADDRESS} at (0,56) size 784x20
+        LayoutText {#text} at (0,0) size 161x19
+          text run at (0,0) width 161: "The background color of "
+        LayoutInline {A} at (0,0) size 115x19 [color=#0000EE]
+          LayoutText {#text} at (160,0) size 81x19
+            text run at (160,0) width 81: "this anchor ("
+          LayoutInline {STRONG} at (0,0) size 30x19
+            LayoutText {#text} at (240,0) size 30x19
+              text run at (240,0) width 30: "here"
+          LayoutText {#text} at (269,0) size 6x19
+            text run at (269,0) width 6: ")"
+        LayoutText {#text} at (274,0) size 387x19
+          text run at (274,0) width 387: " should turn to green when the pointing device hovers over it."
+      LayoutTable {TABLE} at (0,76) size 278x194
+        LayoutTableSection {TBODY} at (0,0) size 278x194
+          LayoutTableRow {TR} at (0,5) size 278x22
+            LayoutTableCell {TD} at (5,5) size 78x22 [r=0 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 73x19
+                text run at (1,1) width 73: "The cells in"
+            LayoutTableCell {TD} at (88,5) size 81x22 [r=0 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 56x19
+                text run at (1,1) width 56: "this table"
+            LayoutTableCell {TD} at (174,5) size 99x22 [r=0 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 62x19
+                text run at (1,1) width 62: "should go"
+          LayoutTableRow {TR} at (0,32) size 278x22
+            LayoutTableCell {TD} at (5,32) size 78x22 [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 74x19
+                text run at (1,1) width 74: "green when"
+            LayoutTableCell {TD} at (88,32) size 81x22 [r=1 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 64x19
+                text run at (1,1) width 64: "you hover"
+            LayoutTableCell {TD} at (174,32) size 99x22 [r=1 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 75x19
+                text run at (1,1) width 75: "the pointing"
+          LayoutTableRow {TR} at (0,59) size 278x22
+            LayoutTableCell {TD} at (5,59) size 78x22 [r=2 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 73x19
+                text run at (1,1) width 73: "device over"
+            LayoutTableCell {TD} at (88,59) size 81x22 [r=2 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 40x19
+                text run at (1,1) width 40: "them ("
+              LayoutInline {STRONG} at (0,0) size 30x19
+                LayoutText {#text} at (41,1) size 30x19
+                  text run at (41,1) width 30: "here"
+              LayoutText {#text} at (70,1) size 10x19
+                text run at (70,1) width 10: ")."
+            LayoutTableCell {TD} at (174,69) size 99x2 [r=2 c=2 rs=1 cs=1]
+          LayoutTableRow {TR} at (0,86) size 278x22
+            LayoutTableCell {TD} at (5,86) size 78x22 [r=3 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 76x19
+                text run at (1,1) width 76: "The rows in"
+            LayoutTableCell {TD} at (88,86) size 81x22 [r=3 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 56x19
+                text run at (1,1) width 56: "this table"
+            LayoutTableCell {TD} at (174,86) size 99x22 [r=3 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 62x19
+                text run at (1,1) width 62: "should go"
+          LayoutTableRow {TR} at (0,113) size 278x22
+            LayoutTableCell {TD} at (5,113) size 78x22 [r=4 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 67x19
+                text run at (1,1) width 67: "dark green"
+            LayoutTableCell {TD} at (88,113) size 81x22 [r=4 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 58x19
+                text run at (1,1) width 58: "when the"
+            LayoutTableCell {TD} at (174,113) size 99x22 [r=4 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 97x19
+                text run at (1,1) width 97: "pointing device"
+          LayoutTableRow {TR} at (0,140) size 278x22
+            LayoutTableCell {TD} at (5,140) size 78x22 [r=5 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 65x19
+                text run at (1,1) width 65: "is over the"
+            LayoutTableCell {TD} at (88,140) size 81x22 [r=5 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 32x19
+                text run at (1,1) width 32: "cells "
+              LayoutInline {STRONG} at (0,0) size 35x19
+                LayoutText {#text} at (33,1) size 35x19
+                  text run at (33,1) width 35: "there"
+              LayoutText {#text} at (67,1) size 5x19
+                text run at (67,1) width 5: ":"
+            LayoutTableCell {TD} at (174,150) size 99x2 [r=5 c=2 rs=1 cs=1]
+          LayoutTableRow {TR} at (0,167) size 278x22
+            LayoutTableCell {TD} at (5,167) size 78x22 [r=6 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 32x19
+                text run at (1,1) width 32: "And "
+              LayoutInline {STRONG} at (0,0) size 30x19
+                LayoutText {#text} at (33,1) size 30x19
+                  text run at (33,1) width 30: "here"
+              LayoutText {#text} at (62,1) size 5x19
+                text run at (62,1) width 5: ":"
+            LayoutTableCell {TD} at (88,177) size 81x2 [r=6 c=1 rs=1 cs=1]
+            LayoutTableCell {TD} at (174,167) size 99x22 [r=6 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 81x19
+                text run at (1,1) width 81: "(blank cells)."
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xhtml/css3-modsel-17-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xhtml/css3-modsel-17-expected.png
new file mode 100644
index 0000000..2d95de0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xhtml/css3-modsel-17-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xhtml/css3-modsel-18-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xhtml/css3-modsel-18-expected.png
new file mode 100644
index 0000000..e84791e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xhtml/css3-modsel-18-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xhtml/css3-modsel-18-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xhtml/css3-modsel-18-expected.txt
new file mode 100644
index 0000000..6ce21d7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xhtml/css3-modsel-18-expected.txt
@@ -0,0 +1,114 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x294
+  LayoutBlockFlow {html} at (0,0) size 800x294
+    LayoutBlockFlow {body} at (8,16) size 784x270
+      LayoutBlockFlow {p} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 674x19
+          text run at (0,0) width 423: "The background color of this paragraph should turn to green when "
+          text run at (423,0) width 251: "the mouse pointer hovers either its text ("
+        LayoutInline {strong} at (0,0) size 30x19
+          LayoutText {#text} at (674,0) size 30x19
+            text run at (674,0) width 30: "here"
+        LayoutText {#text} at (703,0) size 744x39
+          text run at (703,0) width 41: ") or its"
+          text run at (0,20) width 157: "whitespace background, "
+        LayoutInline {strong} at (0,0) size 30x19
+          LayoutText {#text} at (157,20) size 30x19
+            text run at (157,20) width 30: "here"
+        LayoutText {#text} at (186,20) size 5x19
+          text run at (186,20) width 5: ":"
+      LayoutBlockFlow {address} at (0,56) size 784x20
+        LayoutText {#text} at (0,0) size 161x19
+          text run at (0,0) width 161: "The background color of "
+        LayoutInline {a} at (0,0) size 115x19 [color=#0000EE]
+          LayoutText {#text} at (160,0) size 81x19
+            text run at (160,0) width 81: "this anchor ("
+          LayoutInline {strong} at (0,0) size 30x19
+            LayoutText {#text} at (240,0) size 30x19
+              text run at (240,0) width 30: "here"
+          LayoutText {#text} at (269,0) size 6x19
+            text run at (269,0) width 6: ")"
+        LayoutText {#text} at (274,0) size 387x19
+          text run at (274,0) width 387: " should turn to green when the pointing device hovers over it."
+      LayoutTable {table} at (0,76) size 278x194
+        LayoutTableSection {tbody} at (0,0) size 278x194
+          LayoutTableRow {tr} at (0,5) size 278x22
+            LayoutTableCell {td} at (5,5) size 78x22 [r=0 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 73x19
+                text run at (1,1) width 73: "The cells in"
+            LayoutTableCell {td} at (88,5) size 81x22 [r=0 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 56x19
+                text run at (1,1) width 56: "this table"
+            LayoutTableCell {td} at (174,5) size 99x22 [r=0 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 62x19
+                text run at (1,1) width 62: "should go"
+          LayoutTableRow {tr} at (0,32) size 278x22
+            LayoutTableCell {td} at (5,32) size 78x22 [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 74x19
+                text run at (1,1) width 74: "green when"
+            LayoutTableCell {td} at (88,32) size 81x22 [r=1 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 64x19
+                text run at (1,1) width 64: "you hover"
+            LayoutTableCell {td} at (174,32) size 99x22 [r=1 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 75x19
+                text run at (1,1) width 75: "the pointing"
+          LayoutTableRow {tr} at (0,59) size 278x22
+            LayoutTableCell {td} at (5,59) size 78x22 [r=2 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 73x19
+                text run at (1,1) width 73: "device over"
+            LayoutTableCell {td} at (88,59) size 81x22 [r=2 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 40x19
+                text run at (1,1) width 40: "them ("
+              LayoutInline {strong} at (0,0) size 30x19
+                LayoutText {#text} at (41,1) size 30x19
+                  text run at (41,1) width 30: "here"
+              LayoutText {#text} at (70,1) size 10x19
+                text run at (70,1) width 10: ")."
+            LayoutTableCell {td} at (174,69) size 99x2 [r=2 c=2 rs=1 cs=1]
+          LayoutTableRow {tr} at (0,86) size 278x22
+            LayoutTableCell {td} at (5,86) size 78x22 [r=3 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 76x19
+                text run at (1,1) width 76: "The rows in"
+            LayoutTableCell {td} at (88,86) size 81x22 [r=3 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 56x19
+                text run at (1,1) width 56: "this table"
+            LayoutTableCell {td} at (174,86) size 99x22 [r=3 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 62x19
+                text run at (1,1) width 62: "should go"
+          LayoutTableRow {tr} at (0,113) size 278x22
+            LayoutTableCell {td} at (5,113) size 78x22 [r=4 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 67x19
+                text run at (1,1) width 67: "dark green"
+            LayoutTableCell {td} at (88,113) size 81x22 [r=4 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 58x19
+                text run at (1,1) width 58: "when the"
+            LayoutTableCell {td} at (174,113) size 99x22 [r=4 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 97x19
+                text run at (1,1) width 97: "pointing device"
+          LayoutTableRow {tr} at (0,140) size 278x22
+            LayoutTableCell {td} at (5,140) size 78x22 [r=5 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 65x19
+                text run at (1,1) width 65: "is over the"
+            LayoutTableCell {td} at (88,140) size 81x22 [r=5 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 32x19
+                text run at (1,1) width 32: "cells "
+              LayoutInline {strong} at (0,0) size 35x19
+                LayoutText {#text} at (33,1) size 35x19
+                  text run at (33,1) width 35: "there"
+              LayoutText {#text} at (67,1) size 5x19
+                text run at (67,1) width 5: ":"
+            LayoutTableCell {td} at (174,150) size 99x2 [r=5 c=2 rs=1 cs=1]
+          LayoutTableRow {tr} at (0,167) size 278x22
+            LayoutTableCell {td} at (5,167) size 78x22 [r=6 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 32x19
+                text run at (1,1) width 32: "And "
+              LayoutInline {strong} at (0,0) size 30x19
+                LayoutText {#text} at (33,1) size 30x19
+                  text run at (33,1) width 30: "here"
+              LayoutText {#text} at (62,1) size 5x19
+                text run at (62,1) width 5: ":"
+            LayoutTableCell {td} at (88,177) size 81x2 [r=6 c=1 rs=1 cs=1]
+            LayoutTableCell {td} at (174,167) size 99x22 [r=6 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 81x19
+                text run at (1,1) width 81: "(blank cells)."
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xml/css3-modsel-17-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xml/css3-modsel-17-expected.png
new file mode 100644
index 0000000..b5a915f2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xml/css3-modsel-17-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xml/css3-modsel-18-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xml/css3-modsel-18-expected.png
new file mode 100644
index 0000000..b3fc8eb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xml/css3-modsel-18-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xml/css3-modsel-18-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xml/css3-modsel-18-expected.txt
new file mode 100644
index 0000000..30505a0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/css3/selectors3/xml/css3-modsel-18-expected.txt
@@ -0,0 +1,113 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x286
+  LayoutBlockFlow {test} at (0,0) size 800x286
+    LayoutBlockFlow {p} at (0,16) size 800x40
+      LayoutText {#text} at (0,0) size 674x19
+        text run at (0,0) width 423: "The background color of this paragraph should turn to green when "
+        text run at (423,0) width 251: "the mouse pointer hovers either its text ("
+      LayoutInline {strong} at (0,0) size 30x19
+        LayoutText {#text} at (674,0) size 30x19
+          text run at (674,0) width 30: "here"
+      LayoutText {#text} at (703,0) size 744x39
+        text run at (703,0) width 41: ") or its"
+        text run at (0,20) width 157: "whitespace background, "
+      LayoutInline {strong} at (0,0) size 30x19
+        LayoutText {#text} at (157,20) size 30x19
+          text run at (157,20) width 30: "here"
+      LayoutText {#text} at (186,20) size 5x19
+        text run at (186,20) width 5: ":"
+    LayoutBlockFlow {address} at (0,72) size 800x20
+      LayoutText {#text} at (0,0) size 161x19
+        text run at (0,0) width 161: "The background color of "
+      LayoutInline {a} at (0,0) size 115x19 [color=#0000EE]
+        LayoutText {#text} at (160,0) size 81x19
+          text run at (160,0) width 81: "this anchor ("
+        LayoutInline {strong} at (0,0) size 30x19
+          LayoutText {#text} at (240,0) size 30x19
+            text run at (240,0) width 30: "here"
+        LayoutText {#text} at (269,0) size 6x19
+          text run at (269,0) width 6: ")"
+      LayoutText {#text} at (274,0) size 387x19
+        text run at (274,0) width 387: " should turn to green when the pointing device hovers over it."
+    LayoutTable {table} at (0,92) size 278x194
+      LayoutTableSection {tbody} at (0,0) size 278x194
+        LayoutTableRow {tr} at (0,5) size 278x22
+          LayoutTableCell {td} at (5,5) size 78x22 [r=0 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 73x19
+              text run at (1,1) width 73: "The cells in"
+          LayoutTableCell {td} at (88,5) size 81x22 [r=0 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 56x19
+              text run at (1,1) width 56: "this table"
+          LayoutTableCell {td} at (174,5) size 99x22 [r=0 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 62x19
+              text run at (1,1) width 62: "should go"
+        LayoutTableRow {tr} at (0,32) size 278x22
+          LayoutTableCell {td} at (5,32) size 78x22 [r=1 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 74x19
+              text run at (1,1) width 74: "green when"
+          LayoutTableCell {td} at (88,32) size 81x22 [r=1 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 64x19
+              text run at (1,1) width 64: "you hover"
+          LayoutTableCell {td} at (174,32) size 99x22 [r=1 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 75x19
+              text run at (1,1) width 75: "the pointing"
+        LayoutTableRow {tr} at (0,59) size 278x22
+          LayoutTableCell {td} at (5,59) size 78x22 [r=2 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 73x19
+              text run at (1,1) width 73: "device over"
+          LayoutTableCell {td} at (88,59) size 81x22 [r=2 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 40x19
+              text run at (1,1) width 40: "them ("
+            LayoutInline {strong} at (0,0) size 30x19
+              LayoutText {#text} at (41,1) size 30x19
+                text run at (41,1) width 30: "here"
+            LayoutText {#text} at (70,1) size 10x19
+              text run at (70,1) width 10: ")."
+          LayoutTableCell {td} at (174,69) size 99x2 [r=2 c=2 rs=1 cs=1]
+        LayoutTableRow {tr} at (0,86) size 278x22
+          LayoutTableCell {td} at (5,86) size 78x22 [r=3 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 76x19
+              text run at (1,1) width 76: "The rows in"
+          LayoutTableCell {td} at (88,86) size 81x22 [r=3 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 56x19
+              text run at (1,1) width 56: "this table"
+          LayoutTableCell {td} at (174,86) size 99x22 [r=3 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 62x19
+              text run at (1,1) width 62: "should go"
+        LayoutTableRow {tr} at (0,113) size 278x22
+          LayoutTableCell {td} at (5,113) size 78x22 [r=4 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 67x19
+              text run at (1,1) width 67: "dark green"
+          LayoutTableCell {td} at (88,113) size 81x22 [r=4 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 58x19
+              text run at (1,1) width 58: "when the"
+          LayoutTableCell {td} at (174,113) size 99x22 [r=4 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 97x19
+              text run at (1,1) width 97: "pointing device"
+        LayoutTableRow {tr} at (0,140) size 278x22
+          LayoutTableCell {td} at (5,140) size 78x22 [r=5 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 65x19
+              text run at (1,1) width 65: "is over the"
+          LayoutTableCell {td} at (88,140) size 81x22 [r=5 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 32x19
+              text run at (1,1) width 32: "cells "
+            LayoutInline {strong} at (0,0) size 35x19
+              LayoutText {#text} at (33,1) size 35x19
+                text run at (33,1) width 35: "there"
+            LayoutText {#text} at (67,1) size 5x19
+              text run at (67,1) width 5: ":"
+          LayoutTableCell {td} at (174,150) size 99x2 [r=5 c=2 rs=1 cs=1]
+        LayoutTableRow {tr} at (0,167) size 278x22
+          LayoutTableCell {td} at (5,167) size 78x22 [r=6 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 32x19
+              text run at (1,1) width 32: "And "
+            LayoutInline {strong} at (0,0) size 30x19
+              LayoutText {#text} at (33,1) size 30x19
+                text run at (33,1) width 30: "here"
+            LayoutText {#text} at (62,1) size 5x19
+              text run at (62,1) width 5: ":"
+          LayoutTableCell {td} at (88,177) size 81x2 [r=6 c=1 rs=1 cs=1]
+          LayoutTableCell {td} at (174,167) size 99x22 [r=6 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 81x19
+              text run at (1,1) width 81: "(blank cells)."
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/drop-text-without-selection-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/drop-text-without-selection-expected.png
new file mode 100644
index 0000000..e86abff
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/drop-text-without-selection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/drop-text-without-selection-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/drop-text-without-selection-expected.txt
new file mode 100644
index 0000000..0bf88688
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/drop-text-without-selection-expected.txt
@@ -0,0 +1,41 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 104x19
+          text run at (0,0) width 104: "This is a test for "
+        LayoutInline {I} at (0,0) size 750x39
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (104,0) size 348x19
+              text run at (104,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8394"
+          LayoutText {#text} at (451,0) size 750x39
+            text run at (451,0) width 5: " "
+            text run at (455,0) width 295: "Editable region does not accept dropped text if"
+            text run at (0,20) width 125: "there is no selection"
+        LayoutText {#text} at (124,20) size 5x19
+          text run at (124,20) width 5: "."
+      LayoutBlockFlow {P} at (0,56) size 784x20
+        LayoutText {#text} at (0,0) size 653x19
+          text run at (0,0) width 478: "The text field should accept drag-and-dropped text, such as the link, even if "
+          text run at (478,0) width 175: "no text is currently selected."
+      LayoutBlockFlow (anonymous) at (0,102) size 784x22
+        LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
+        LayoutText {#text} at (154,1) size 4x19
+          text run at (154,1) width 4: " "
+        LayoutInline {A} at (0,0) size 162x19 [color=#0000EE]
+          LayoutText {#text} at (158,1) size 162x19
+            text run at (158,1) width 162: "drop me into the text field"
+        LayoutText {#text} at (0,0) size 0x0
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (10,113) size 150x16
+  LayoutBlockFlow {DIV} at (2,3) size 150x16
+    LayoutText {#text} at (0,0) size 119x16
+      text run at (0,0) width 119: "http://www.ibm.com/"
+selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 7 {INPUT} of body
+selection end:   position 19 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 7 {INPUT} of body
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-001-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-001-expected.png
new file mode 100644
index 0000000..0f9be97
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-001-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-001-expected.txt
new file mode 100644
index 0000000..45eca9b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-001-expected.txt
@@ -0,0 +1,45 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {DIV} at (0,0) size 784x210 [border: (2px solid #0000FF)]
+        LayoutBlockFlow {DIV} at (14,14) size 756x83
+          LayoutText {#text} at (0,0) size 65x26
+            text run at (0,0) width 65: "Tests: "
+          LayoutBR {BR} at (0,0) size 0x0
+          LayoutText {#text} at (0,27) size 162x27
+            text run at (0,27) width 162: "Fix for this bug: "
+          LayoutInline {A} at (0,0) size 260x27 [color=#0000EE]
+            LayoutText {#text} at (162,27) size 260x27
+              text run at (162,27) width 260: "<rdar://problem/4045511>"
+          LayoutText {#text} at (421,27) size 705x55
+            text run at (421,27) width 284: " Copying and pasting end-of-"
+            text run at (0,55) width 533: "paragraph selection puts insertion point in wrong place"
+        LayoutBlockFlow {DIV} at (14,113) size 756x83
+          LayoutText {#text} at (0,0) size 189x26
+            text run at (0,0) width 189: "Expected Results: "
+          LayoutBR {BR} at (189,21) size 0x0
+          LayoutText {#text} at (0,27) size 715x55
+            text run at (0,27) width 707: "Should see two lines of text below, self-documenting themselves as \"line"
+            text run at (0,55) width 715: "one\" and \"line two\". The insertion point must be at the start of \"line two\"."
+      LayoutBlockFlow {DIV} at (0,234) size 784x60
+        LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
+          LayoutText {#text} at (2,2) size 78x27
+            text run at (2,2) width 78: "line one"
+          LayoutBR {BR} at (80,23) size 0x0
+          LayoutText {#text} at (2,30) size 79x27
+            text run at (2,30) width 79: "line two"
+caret: position 0 of child 2 {#text} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-002-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-002-expected.png
new file mode 100644
index 0000000..0f9be97
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-002-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-002-expected.txt
new file mode 100644
index 0000000..285079e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-002-expected.txt
@@ -0,0 +1,46 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {DIV} at (0,0) size 784x210 [border: (2px solid #0000FF)]
+        LayoutBlockFlow {DIV} at (14,14) size 756x83
+          LayoutText {#text} at (0,0) size 65x26
+            text run at (0,0) width 65: "Tests: "
+          LayoutBR {BR} at (0,0) size 0x0
+          LayoutText {#text} at (0,27) size 162x27
+            text run at (0,27) width 162: "Fix for this bug: "
+          LayoutInline {A} at (0,0) size 260x27 [color=#0000EE]
+            LayoutText {#text} at (162,27) size 260x27
+              text run at (162,27) width 260: "<rdar://problem/4045511>"
+          LayoutText {#text} at (421,27) size 705x55
+            text run at (421,27) width 284: " Copying and pasting end-of-"
+            text run at (0,55) width 533: "paragraph selection puts insertion point in wrong place"
+        LayoutBlockFlow {DIV} at (14,113) size 756x83
+          LayoutText {#text} at (0,0) size 189x26
+            text run at (0,0) width 189: "Expected Results: "
+          LayoutBR {BR} at (189,21) size 0x0
+          LayoutText {#text} at (0,27) size 715x55
+            text run at (0,27) width 707: "Should see two lines of text below, self-documenting themselves as \"line"
+            text run at (0,55) width 715: "one\" and \"line two\". The insertion point must be at the start of \"line two\"."
+      LayoutBlockFlow {DIV} at (0,234) size 784x60
+        LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
+          LayoutBlockFlow (anonymous) at (2,2) size 780x28
+            LayoutText {#text} at (0,0) size 78x27
+              text run at (0,0) width 78: "line one"
+          LayoutBlockFlow {DIV} at (2,30) size 780x28
+            LayoutText {#text} at (0,0) size 79x27
+              text run at (0,0) width 79: "line two"
+caret: position 0 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-003-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-003-expected.png
new file mode 100644
index 0000000..0f9be97
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-003-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-003-expected.txt
new file mode 100644
index 0000000..8232d2c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-003-expected.txt
@@ -0,0 +1,46 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {DIV} at (0,0) size 784x210 [border: (2px solid #0000FF)]
+        LayoutBlockFlow {DIV} at (14,14) size 756x83
+          LayoutText {#text} at (0,0) size 65x26
+            text run at (0,0) width 65: "Tests: "
+          LayoutBR {BR} at (0,0) size 0x0
+          LayoutText {#text} at (0,27) size 162x27
+            text run at (0,27) width 162: "Fix for this bug: "
+          LayoutInline {A} at (0,0) size 260x27 [color=#0000EE]
+            LayoutText {#text} at (162,27) size 260x27
+              text run at (162,27) width 260: "<rdar://problem/4045511>"
+          LayoutText {#text} at (421,27) size 705x55
+            text run at (421,27) width 284: " Copying and pasting end-of-"
+            text run at (0,55) width 533: "paragraph selection puts insertion point in wrong place"
+        LayoutBlockFlow {DIV} at (14,113) size 756x83
+          LayoutText {#text} at (0,0) size 189x26
+            text run at (0,0) width 189: "Expected Results: "
+          LayoutBR {BR} at (189,21) size 0x0
+          LayoutText {#text} at (0,27) size 715x55
+            text run at (0,27) width 707: "Should see two lines of text below, self-documenting themselves as \"line"
+            text run at (0,55) width 715: "one\" and \"line two\". The insertion point must be at the start of \"line two\"."
+      LayoutBlockFlow {DIV} at (0,234) size 784x60
+        LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
+          LayoutBlockFlow {DIV} at (2,2) size 780x28
+            LayoutText {#text} at (0,0) size 78x27
+              text run at (0,0) width 78: "line one"
+          LayoutBlockFlow {DIV} at (2,30) size 780x28
+            LayoutText {#text} at (0,0) size 79x27
+              text run at (0,0) width 79: "line two"
+caret: position 0 of child 0 {#text} of child 2 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-004-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-004-expected.png
new file mode 100644
index 0000000..0f9be97
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-004-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-004-expected.txt
new file mode 100644
index 0000000..4143c3ec
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-004-expected.txt
@@ -0,0 +1,47 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {DIV} at (0,0) size 784x210 [border: (2px solid #0000FF)]
+        LayoutBlockFlow {DIV} at (14,14) size 756x83
+          LayoutText {#text} at (0,0) size 65x26
+            text run at (0,0) width 65: "Tests: "
+          LayoutBR {BR} at (0,0) size 0x0
+          LayoutText {#text} at (0,27) size 162x27
+            text run at (0,27) width 162: "Fix for this bug: "
+          LayoutInline {A} at (0,0) size 260x27 [color=#0000EE]
+            LayoutText {#text} at (162,27) size 260x27
+              text run at (162,27) width 260: "<rdar://problem/4045511>"
+          LayoutText {#text} at (421,27) size 705x55
+            text run at (421,27) width 284: " Copying and pasting end-of-"
+            text run at (0,55) width 533: "paragraph selection puts insertion point in wrong place"
+        LayoutBlockFlow {DIV} at (14,113) size 756x83
+          LayoutText {#text} at (0,0) size 189x26
+            text run at (0,0) width 189: "Expected Results: "
+          LayoutBR {BR} at (189,21) size 0x0
+          LayoutText {#text} at (0,27) size 715x55
+            text run at (0,27) width 707: "Should see two lines of text below, self-documenting themselves as \"line"
+            text run at (0,55) width 715: "one\" and \"line two\". The insertion point must be at the start of \"line two\"."
+      LayoutBlockFlow {DIV} at (0,234) size 784x60
+        LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
+          LayoutBlockFlow {DIV} at (2,2) size 780x56
+            LayoutBlockFlow (anonymous) at (0,0) size 780x28
+              LayoutText {#text} at (0,0) size 78x27
+                text run at (0,0) width 78: "line one"
+            LayoutBlockFlow {DIV} at (0,28) size 780x28
+              LayoutText {#text} at (0,0) size 79x27
+                text run at (0,0) width 79: "line two"
+caret: position 0 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-005-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-005-expected.png
new file mode 100644
index 0000000..0f9be97
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-005-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-005-expected.txt
new file mode 100644
index 0000000..da2f1d6b3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/pasteboard/paste-line-endings-005-expected.txt
@@ -0,0 +1,47 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {DIV} at (0,0) size 784x210 [border: (2px solid #0000FF)]
+        LayoutBlockFlow {DIV} at (14,14) size 756x83
+          LayoutText {#text} at (0,0) size 65x26
+            text run at (0,0) width 65: "Tests: "
+          LayoutBR {BR} at (0,0) size 0x0
+          LayoutText {#text} at (0,27) size 162x27
+            text run at (0,27) width 162: "Fix for this bug: "
+          LayoutInline {A} at (0,0) size 260x27 [color=#0000EE]
+            LayoutText {#text} at (162,27) size 260x27
+              text run at (162,27) width 260: "<rdar://problem/4045511>"
+          LayoutText {#text} at (421,27) size 705x55
+            text run at (421,27) width 284: " Copying and pasting end-of-"
+            text run at (0,55) width 533: "paragraph selection puts insertion point in wrong place"
+        LayoutBlockFlow {DIV} at (14,113) size 756x83
+          LayoutText {#text} at (0,0) size 189x26
+            text run at (0,0) width 189: "Expected Results: "
+          LayoutBR {BR} at (189,21) size 0x0
+          LayoutText {#text} at (0,27) size 715x55
+            text run at (0,27) width 707: "Should see two lines of text below, self-documenting themselves as \"line"
+            text run at (0,55) width 715: "one\" and \"line two\". The insertion point must be at the start of \"line two\"."
+      LayoutBlockFlow {DIV} at (0,234) size 784x60
+        LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
+          LayoutBlockFlow {DIV} at (2,2) size 780x56
+            LayoutBlockFlow {DIV} at (0,0) size 780x28
+              LayoutText {#text} at (0,0) size 78x27
+                text run at (0,0) width 78: "line one"
+            LayoutBlockFlow (anonymous) at (0,28) size 780x28
+              LayoutText {#text} at (0,0) size 79x27
+                text run at (0,0) width 79: "line two"
+caret: position 0 of child 1 {#text} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/selection/6476-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/selection/6476-expected.png
new file mode 100644
index 0000000..1706ec7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/selection/6476-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/selection/6476-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/selection/6476-expected.txt
new file mode 100644
index 0000000..885a6af
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/selection/6476-expected.txt
@@ -0,0 +1,36 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x576
+      LayoutBlockFlow {DIV} at (0,0) size 250x40
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "Try to create a caret after this lin"
+        LayoutInline {SPAN} at (0,0) size 8x19
+          LayoutText {#text} at (202,0) size 8x19
+            text run at (202,0) width 8: "e"
+        LayoutText {#text} at (209,0) size 5x19
+          text run at (209,0) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 1x19
+        LayoutText {#text} at (0,20) size 181x19
+          text run at (0,20) width 181: "thisshouldbeonthesecondline"
+      LayoutBlockFlow {P} at (0,66) size 784x40
+        LayoutText {#text} at (0,0) size 131x19
+          text run at (0,0) width 131: "This is a testcase for "
+        LayoutInline {A} at (0,0) size 343x19 [color=#0000EE]
+          LayoutText {#text} at (131,0) size 343x19
+            text run at (131,0) width 343: "http://bugzilla.opendarwin.org/show_bug.cgi?id=6476"
+        LayoutText {#text} at (473,0) size 779x39
+          text run at (473,0) width 9: ". "
+          text run at (481,0) width 298: "Creating an upstream caret with the mouse was"
+          text run at (0,20) width 591: "impossible if the upstream and downstream carets were separated only by unrendered content."
+      LayoutBlockFlow {P} at (0,122) size 784x40
+        LayoutText {#text} at (0,0) size 764x39
+          text run at (0,0) width 318: "This test uses the eventSender to do mouse clicks. "
+          text run at (318,0) width 446: "To run it manually, click in the space after all the text on the first line in"
+          text run at (0,20) width 166: "the above editable region. "
+          text run at (166,20) width 384: "Clicking should create a caret after the first space after the 'e'."
+layer at (8,56) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,48) size 784x2 [border: (1px inset #EEEEEE)]
+caret: position 1 of child 2 {#text} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/selection/leave-requested-block-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/selection/leave-requested-block-expected.png
new file mode 100644
index 0000000..9ca9bcb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/selection/leave-requested-block-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/selection/leave-requested-block-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/selection/leave-requested-block-expected.txt
new file mode 100644
index 0000000..b5f967e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/selection/leave-requested-block-expected.txt
@@ -0,0 +1,30 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x576
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 126x19
+          text run at (0,0) width 126: "Test case for fix for "
+        LayoutInline {A} at (0,0) size 344x19 [color=#0000EE]
+          LayoutText {#text} at (125,0) size 344x19
+            text run at (125,0) width 344: "http://bugzilla.opendarwin.org/show_bug.cgi?id=5354"
+        LayoutText {#text} at (468,0) size 5x19
+          text run at (468,0) width 5: "."
+      LayoutBlockFlow {P} at (0,36) size 784x40
+        LayoutText {#text} at (0,0) size 772x39
+          text run at (0,0) width 772: "Changes were made to VisiblePosition's so that init() will not leave the block containing the requested position unless there"
+          text run at (0,20) width 231: "are no VisiblePositions in that block."
+      LayoutBlockFlow {P} at (0,92) size 784x0
+      LayoutBlockFlow {DIV} at (0,92) size 784x56 [border: (2px solid #AAAAFF)]
+        LayoutBlockFlow {P} at (2,18) size 780x20
+          LayoutText {#text} at (0,0) size 682x19
+            text run at (0,0) width 682: "Select All while inside this editable block should create a selection that does not extend outside of this block."
+layer at (8,172) size 784x20
+  LayoutBlockFlow {P} at (0,164) size 784x20
+    LayoutText {#text} at (0,0) size 424x19
+      text run at (0,0) width 424: "This is a paragraph outside the editable block with overflow:hidden"
+selection start: position 0 of child 0 {#text} of child 1 {P} of child 5 {DIV} of body
+selection end:   position 113 of child 0 {#text} of child 1 {P} of child 5 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/editing/selection/previous-line-position-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/selection/previous-line-position-expected.png
new file mode 100644
index 0000000..6bbc491a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/editing/selection/previous-line-position-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/backgrounds/background-clip-text-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/backgrounds/background-clip-text-expected.png
new file mode 100644
index 0000000..e4792f4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/backgrounds/background-clip-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/backgrounds/background-clip-text-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/backgrounds/background-clip-text-expected.txt
new file mode 100644
index 0000000..2705fc7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/backgrounds/background-clip-text-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x282
+  LayoutBlockFlow {HTML} at (0,0) size 800x282
+    LayoutBlockFlow {BODY} at (8,16) size 784x258
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
+          LayoutText {#text} at (0,0) size 305x19
+            text run at (0,0) width 305: "https://bugs.webkit.org/show_bug.cgi?id=25829"
+        LayoutBR {BR} at (304,15) size 1x0
+        LayoutText {#text} at (0,20) size 570x19
+          text run at (0,20) width 570: "You should see no areas of read below. (This paragraph is required for the test to be valid.)"
+      LayoutBlockFlow {DIV} at (0,56) size 502x202 [color=#008000] [bgcolor=#FF0000] [border: (1px solid #000000)]
+        LayoutText {#text} at (1,2) size 431x149
+          text run at (1,2) width 431: "This background"
+          text run at (1,78) width 409: "clips to the text."
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/block/float/002-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/block/float/002-expected.png
new file mode 100644
index 0000000..bb9faf3b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/block/float/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/block/float/centered-float-avoidance-complexity-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/block/float/centered-float-avoidance-complexity-expected.png
new file mode 100644
index 0000000..6d27d36
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/block/float/centered-float-avoidance-complexity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/block/float/float-in-float-hit-testing-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/block/float/float-in-float-hit-testing-expected.png
new file mode 100644
index 0000000..880ff2e2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/block/float/float-in-float-hit-testing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/block/float/float-in-float-painting-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/block/float/float-in-float-painting-expected.png
new file mode 100644
index 0000000..28090f17
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/block/float/float-in-float-painting-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/clip-zooming-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/clip-zooming-expected.png
new file mode 100644
index 0000000..93f37025
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/clip-zooming-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/compare-content-style-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/compare-content-style-expected.png
new file mode 100644
index 0000000..aa223e1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/compare-content-style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/compare-content-style-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/compare-content-style-expected.txt
new file mode 100644
index 0000000..8b7ff4d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/compare-content-style-expected.txt
@@ -0,0 +1,48 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x256
+  LayoutBlockFlow {HTML} at (0,0) size 800x256
+    LayoutBlockFlow {BODY} at (8,8) size 784x232
+      LayoutBlockFlow {DIV} at (0,0) size 784x120
+        LayoutBlockFlow {DIV} at (0,0) size 784x20
+          LayoutInline {<pseudo:before>} at (0,0) size 38x19
+            LayoutTextFragment (anonymous) at (0,0) size 38x19
+              text run at (0,0) width 38: "PASS"
+        LayoutBlockFlow {DIV} at (0,20) size 784x20
+          LayoutInline {<pseudo:before>} at (0,0) size 38x19
+            LayoutTextFragment (anonymous) at (0,0) size 38x19
+              text run at (0,0) width 38: "PASS"
+        LayoutBlockFlow {DIV} at (0,40) size 784x20
+          LayoutInline {<pseudo:before>} at (0,0) size 38x19
+            LayoutTextFragment (anonymous) at (0,0) size 38x19
+              text run at (0,0) width 38: "PASS"
+        LayoutBlockFlow {DIV} at (0,60) size 784x20
+          LayoutInline {<pseudo:before>} at (0,0) size 38x19
+            LayoutTextFragment (anonymous) at (0,0) size 38x19
+              text run at (0,0) width 38: "PASS"
+        LayoutBlockFlow {DIV} at (0,80) size 784x20
+          LayoutInline {<pseudo:before>} at (0,0) size 38x19
+            LayoutTextFragment (anonymous) at (0,0) size 38x19
+              text run at (0,0) width 38: "PASS"
+        LayoutBlockFlow {DIV} at (0,100) size 784x20
+          LayoutInline {<pseudo:before>} at (0,0) size 38x19
+            LayoutTextFragment (anonymous) at (0,0) size 38x19
+              text run at (0,0) width 38: "PASS"
+      LayoutBlockFlow {DIV} at (0,136) size 784x96
+        LayoutBlockFlow {P} at (0,0) size 784x20
+          LayoutInline {A} at (0,0) size 671x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 671x19
+              text run at (0,0) width 671: "Bug 23741: StyleRareNonInheritedData::operator==() should not compare ContentData objects by pointer"
+        LayoutBlockFlow {OL} at (0,36) size 784x60
+          LayoutListItem {LI} at (40,0) size 744x20
+            LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
+            LayoutText {#text} at (0,0) size 344x19
+              text run at (0,0) width 344: "All lines above should be \"PASS\" on initial page load."
+          LayoutListItem {LI} at (40,20) size 744x20
+            LayoutListMarker (anonymous) at (-16,0) size 16x19: "2"
+            LayoutText {#text} at (0,0) size 140x19
+              text run at (0,0) width 140: "Reload the page once."
+          LayoutListItem {LI} at (40,40) size 744x20
+            LayoutListMarker (anonymous) at (-16,0) size 16x19: "3"
+            LayoutText {#text} at (0,0) size 246x19
+              text run at (0,0) width 246: "All lines above should still be \"PASS\"."
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/first-letter-hover-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/first-letter-hover-expected.png
new file mode 100644
index 0000000..98c522b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/first-letter-hover-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/first-letter-hover-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/first-letter-hover-expected.txt
new file mode 100644
index 0000000..5059446
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/first-letter-hover-expected.txt
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 52x19
+          text run at (0,0) width 52: "Test for "
+        LayoutInline {A} at (0,0) size 296x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 296x19
+            text run at (51,0) width 296: "http://bugs.webkit.org/show_bug.cgi?id=4104 "
+        LayoutText {#text} at (346,0) size 249x19
+          text run at (346,0) width 249: "first-letter not updating style with hover"
+      LayoutBlockFlow {P} at (0,36) size 784x20
+        LayoutText {#text} at (0,0) size 391x19
+          text run at (0,0) width 391: "The next line of text should turn green when we hover over it."
+      LayoutBlockFlow {DIV} at (0,72) size 784x40 [color=#008000]
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 10x19 [color=#0000FF]
+          LayoutTextFragment (anonymous) at (0,0) size 10x19
+            text run at (0,0) width 10: "T"
+        LayoutTextFragment {#text} at (10,0) size 775x39
+          text run at (10,0) width 765: "he first letter of this paragraph should be larger than the rest. If you hover over this paragraph, all of the text (including the"
+          text run at (0,20) width 501: "first letter) should turn green. If the first letter remains black, then there is a bug!"
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/first-letter-visibility-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/first-letter-visibility-expected.png
new file mode 100644
index 0000000..ea6a2f8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/first-letter-visibility-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/first-letter-visibility-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/first-letter-visibility-expected.txt
new file mode 100644
index 0000000..a62fdb2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/first-letter-visibility-expected.txt
@@ -0,0 +1,22 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 52x19
+          text run at (0,0) width 52: "Test for "
+        LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 304x19
+            text run at (51,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=13169 "
+        LayoutText {#text} at (354,0) size 299x19
+          text run at (354,0) width 299: "css-formatted first letter won't hide dynamically"
+      LayoutBlockFlow {P} at (0,36) size 784x20
+        LayoutText {#text} at (0,0) size 417x19
+          text run at (0,0) width 417: "The next line of text should become invisible, including first letter."
+      LayoutBlockFlow {DIV} at (0,72) size 784x20
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 11x19 [color=#0000FF]
+          LayoutTextFragment (anonymous) at (0,0) size 11x19
+            text run at (0,0) width 11: "C"
+        LayoutTextFragment {#text} at (11,0) size 70x19
+          text run at (11,0) width 70: "lick to hide"
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/invalid-percentage-property-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/invalid-percentage-property-expected.png
new file mode 100644
index 0000000..06aece0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/invalid-percentage-property-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/invalid-percentage-property-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/invalid-percentage-property-expected.txt
new file mode 100644
index 0000000..c744ad8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/invalid-percentage-property-expected.txt
@@ -0,0 +1,22 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x573.28
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 52x19
+          text run at (0,0) width 52: "Test for "
+        LayoutInline {A} at (0,0) size 300x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 300x19
+            text run at (51,0) width 300: "http://bugs.webkit.org/show_bug.cgi?id=15260"
+        LayoutText {#text} at (350,0) size 155x19
+          text run at (350,0) width 155: "Any styles defined after "
+        LayoutInline {ELEMENT} at (0,0) size 203x19
+          LayoutText {#text} at (504,0) size 9x19
+            text run at (504,0) width 9: "{"
+          LayoutInline {PROPERTY} at (0,0) size 195x19
+            LayoutText {#text} at (512,0) size 195x19
+              text run at (512,0) width 195: ":%} style are ignored by Safari"
+      LayoutBlockFlow {H3} at (0,38.72) size 784x23 [color=#008000]
+        LayoutText {#text} at (0,0) size 254x22
+          text run at (0,0) width 254: "This text should show in green."
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/nth-child-dynamic-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/nth-child-dynamic-expected.png
new file mode 100644
index 0000000..ed438b7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/nth-child-dynamic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/nth-child-dynamic-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/nth-child-dynamic-expected.txt
new file mode 100644
index 0000000..351c1f83
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/nth-child-dynamic-expected.txt
@@ -0,0 +1,88 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x582
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 323x19
+          text run at (0,0) width 323: "Test :nth-child() when dynamically adding siblings."
+      LayoutBlockFlow {P} at (0,36) size 784x20
+        LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
+          LayoutText {#text} at (0,0) size 305x19
+            text run at (0,0) width 305: "https://bugs.webkit.org/show_bug.cgi?id=26362"
+      LayoutBlockFlow {DIV} at (10,72) size 764x232 [border: (1px solid #000000)]
+        LayoutBlockFlow {P} at (11,6) size 747x20 [color=#FF0000]
+          LayoutText {#text} at (0,0) size 60x19
+            text run at (0,0) width 13: "P "
+            text run at (13,0) width 47: "red text"
+        LayoutBlockFlow {DIV} at (6,26) size 752x20
+          LayoutText {#text} at (0,0) size 29x19
+            text run at (0,0) width 29: "DIV"
+        LayoutBlockFlow {P} at (11,46) size 747x20
+          LayoutText {#text} at (0,0) size 9x19
+            text run at (0,0) width 9: "P"
+        LayoutBlockFlow {DIV} at (6,66) size 752x20 [color=#FF0000] [bgcolor=#9999FF]
+          LayoutText {#text} at (0,0) size 131x19
+            text run at (0,0) width 33: "DIV "
+            text run at (33,0) width 51: "red text "
+            text run at (84,0) width 47: "blue bg"
+        LayoutBlockFlow {P} at (11,86) size 747x20
+          LayoutText {#text} at (0,0) size 9x19
+            text run at (0,0) width 9: "P"
+        LayoutBlockFlow {DIV} at (6,106) size 752x20
+          LayoutText {#text} at (0,0) size 29x19
+            text run at (0,0) width 29: "DIV"
+        LayoutBlockFlow {P} at (11,126) size 747x20 [color=#FF0000]
+          LayoutText {#text} at (0,0) size 60x19
+            text run at (0,0) width 13: "P "
+            text run at (13,0) width 47: "red text"
+        LayoutBlockFlow {DIV} at (6,146) size 752x20
+          LayoutText {#text} at (0,0) size 29x19
+            text run at (0,0) width 29: "DIV"
+        LayoutBlockFlow {P} at (11,166) size 747x20
+          LayoutText {#text} at (0,0) size 9x19
+            text run at (0,0) width 9: "P"
+        LayoutBlockFlow {DIV} at (6,186) size 752x20 [color=#FF0000]
+          LayoutText {#text} at (0,0) size 80x19
+            text run at (0,0) width 33: "DIV "
+            text run at (33,0) width 47: "red text"
+        LayoutBlockFlow {P} at (11,206) size 747x20
+          LayoutText {#text} at (0,0) size 9x19
+            text run at (0,0) width 9: "P"
+      LayoutBlockFlow {DIV} at (10,314) size 764x252 [border: (1px solid #000000)]
+        LayoutText {#text} at (6,6) size 261x19
+          text run at (6,6) width 261: "child 0: PASS: found color rgb(255, 0, 0)"
+        LayoutBR {BR} at (266,21) size 1x0
+        LayoutText {#text} at (6,26) size 245x19
+          text run at (6,26) width 245: "child 1: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,41) size 1x0
+        LayoutText {#text} at (6,46) size 245x19
+          text run at (6,46) width 245: "child 2: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,61) size 1x0
+        LayoutText {#text} at (6,66) size 261x19
+          text run at (6,66) width 261: "child 3: PASS: found color rgb(255, 0, 0)"
+        LayoutBR {BR} at (266,81) size 1x0
+        LayoutText {#text} at (6,86) size 245x19
+          text run at (6,86) width 245: "child 4: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,101) size 1x0
+        LayoutText {#text} at (6,106) size 245x19
+          text run at (6,106) width 245: "child 5: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,121) size 1x0
+        LayoutText {#text} at (6,126) size 261x19
+          text run at (6,126) width 261: "child 6: PASS: found color rgb(255, 0, 0)"
+        LayoutBR {BR} at (266,141) size 1x0
+        LayoutText {#text} at (6,146) size 245x19
+          text run at (6,146) width 245: "child 7: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,161) size 1x0
+        LayoutText {#text} at (6,166) size 245x19
+          text run at (6,166) width 245: "child 8: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,181) size 1x0
+        LayoutText {#text} at (6,186) size 261x19
+          text run at (6,186) width 261: "child 9: PASS: found color rgb(255, 0, 0)"
+        LayoutBR {BR} at (266,201) size 1x0
+        LayoutText {#text} at (6,206) size 253x19
+          text run at (6,206) width 253: "child 10: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (258,221) size 1x0
+        LayoutText {#text} at (6,226) size 282x19
+          text run at (6,226) width 282: "div 1: PASS: found color rgb(153, 153, 255)"
+        LayoutBR {BR} at (287,241) size 1x0
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/text-overflow-ellipsis-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/text-overflow-ellipsis-expected.png
new file mode 100644
index 0000000..434103a6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/text-overflow-ellipsis-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/text-overflow-ellipsis-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/text-overflow-ellipsis-expected.txt
new file mode 100644
index 0000000..c9c8b6c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/text-overflow-ellipsis-expected.txt
@@ -0,0 +1,105 @@
+layer at (0,0) size 800x600 scrollHeight 770
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x770 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x770
+    LayoutBlockFlow {BODY} at (8,8) size 784x742
+      LayoutBlockFlow (anonymous) at (0,0) size 784x100
+        LayoutText {#text} at (0,0) size 557x19
+          text run at (0,0) width 557: "This tests checks that the text-overflow:ellipsis property is handled correctly for bidi text."
+        LayoutBR {BR} at (557,15) size 0x0
+        LayoutBR {BR} at (0,20) size 0x19
+        LayoutText {#text} at (0,40) size 741x19
+          text run at (0,40) width 741: "Pass if the ellipsis do not overlap the text and the underlines for the links are placed under the text and not the ellipsis. "
+        LayoutBR {BR} at (741,55) size 0x0
+        LayoutBR {BR} at (0,60) size 0x19
+        LayoutText {#text} at (0,80) size 35x19
+          text run at (0,80) width 35: "RTL:"
+      LayoutBlockFlow (anonymous) at (0,142) size 784x20
+        LayoutText {#text} at (0,0) size 95x19
+          text run at (0,0) width 95: "RTL Override:"
+      LayoutBlockFlow (anonymous) at (0,204) size 784x20
+        LayoutText {#text} at (0,0) size 63x19
+          text run at (0,0) width 63: "RTL link:"
+      LayoutBlockFlow (anonymous) at (0,266) size 784x20
+        LayoutText {#text} at (0,0) size 134x19
+          text run at (0,0) width 134: "RTL with ltr content:"
+      LayoutBlockFlow (anonymous) at (0,328) size 784x20
+        LayoutText {#text} at (0,0) size 162x19
+          text run at (0,0) width 162: "RTL link with ltr content:"
+      LayoutBlockFlow (anonymous) at (0,390) size 784x20
+        LayoutText {#text} at (0,0) size 62x19
+          text run at (0,0) width 62: "LTR link:"
+      LayoutBlockFlow (anonymous) at (0,452) size 784x20
+        LayoutText {#text} at (0,0) size 34x19
+          text run at (0,0) width 34: "LTR:"
+      LayoutBlockFlow (anonymous) at (0,514) size 784x20
+        LayoutText {#text} at (0,0) size 133x19
+          text run at (0,0) width 133: "LTR with rtl content:"
+      LayoutBlockFlow (anonymous) at (0,576) size 784x20
+        LayoutText {#text} at (0,0) size 177x19
+          text run at (0,0) width 177: "LTR with forced rtl content:"
+      LayoutBlockFlow (anonymous) at (0,638) size 784x20
+        LayoutText {#text} at (0,0) size 161x19
+          text run at (0,0) width 161: "LTR link with rtl content:"
+      LayoutBlockFlow (anonymous) at (0,700) size 784x20
+        LayoutText {#text} at (0,0) size 205x19
+          text run at (0,0) width 205: "LTR link with forced rtl content:"
+layer at (8,108) size 182x22 clip at (9,109) size 180x20 scrollX 118.00 scrollWidth 298
+  LayoutBlockFlow {DIV} at (0,100) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (-117,1) size 298x19
+      text run at (-117,1) width 298 RTL: "\x{5DB}\x{5E9}\x{5D4}\x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5E8}\x{5D5}\x{5DA} \x{5DE}\x{5D3}\x{5D9} \x{5E0}\x{5E8}\x{5E6}\x{5D4} \x{5DC}\x{5D4}\x{5D5}\x{5E1}\x{5D9}\x{5E3} \x{5D0}\x{5DC}\x{5D9}\x{5E4}\x{5E1}\x{5D5}\x{5EA} \x{5D1}\x{5E1}\x{5D5}\x{5E3} \x{5E9}\x{5D5}\x{5E8}\x{5D4}"
+layer at (8,170) size 182x22 clip at (9,171) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,162) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (-139,1) size 320x19
+      text run at (-139,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+layer at (8,232) size 182x22 clip at (9,233) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,224) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (-139,1) size 320x19
+        text run at (-139,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,294) size 182x22 clip at (9,295) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,286) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (-139,1) size 320x19
+      text run at (-139,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+layer at (8,356) size 182x22 clip at (9,357) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,348) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (-139,1) size 320x19
+        text run at (-139,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,418) size 182x22 clip at (9,419) size 180x20 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,410) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (1,1) size 320x19
+        text run at (1,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,480) size 182x22 clip at (9,481) size 180x20 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,472) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (1,1) size 320x19
+      text run at (1,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+layer at (8,542) size 182x22 clip at (9,543) size 180x20 scrollWidth 298
+  LayoutBlockFlow {DIV} at (0,534) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (1,1) size 298x19
+      text run at (1,1) width 298 RTL: "\x{5DB}\x{5E9}\x{5D4}\x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5E8}\x{5D5}\x{5DA} \x{5DE}\x{5D3}\x{5D9} \x{5E0}\x{5E8}\x{5E6}\x{5D4} \x{5DC}\x{5D4}\x{5D5}\x{5E1}\x{5D9}\x{5E3} \x{5D0}\x{5DC}\x{5D9}\x{5E4}\x{5E1}\x{5D5}\x{5EA} \x{5D1}\x{5E1}\x{5D5}\x{5E3} \x{5E9}\x{5D5}\x{5E8}\x{5D4}"
+layer at (8,604) size 182x22 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,596) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {SPAN} at (0,0) size 320x19
+      LayoutText {#text} at (1,1) size 320x19
+        text run at (1,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,666) size 182x22 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollWidth 298
+  LayoutBlockFlow {DIV} at (0,658) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 298x19 [color=#0000EE]
+      LayoutText {#text} at (1,1) size 298x19
+        text run at (1,1) width 298 RTL: "\x{5DB}\x{5E9}\x{5D4}\x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5E8}\x{5D5}\x{5DA} \x{5DE}\x{5D3}\x{5D9} \x{5E0}\x{5E8}\x{5E6}\x{5D4} \x{5DC}\x{5D4}\x{5D5}\x{5E1}\x{5D9}\x{5E3} \x{5D0}\x{5DC}\x{5D9}\x{5E4}\x{5E1}\x{5D5}\x{5EA} \x{5D1}\x{5E1}\x{5D5}\x{5E3} \x{5E9}\x{5D5}\x{5E8}\x{5D4}"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,728) size 182x22 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,720) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (0,0) size 0x0
+      LayoutInline {SPAN} at (0,0) size 320x19
+        LayoutText {#text} at (1,1) size 320x19
+          text run at (1,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+      LayoutText {#text} at (0,0) size 0x0
+    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/text-overflow-ellipsis-strict-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/text-overflow-ellipsis-strict-expected.png
new file mode 100644
index 0000000..434103a6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/text-overflow-ellipsis-strict-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/text-overflow-ellipsis-strict-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/text-overflow-ellipsis-strict-expected.txt
new file mode 100644
index 0000000..42f6988a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css/text-overflow-ellipsis-strict-expected.txt
@@ -0,0 +1,105 @@
+layer at (0,0) size 800x600 scrollHeight 770
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x770 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x770
+    LayoutBlockFlow {BODY} at (8,8) size 784x742
+      LayoutBlockFlow (anonymous) at (0,0) size 784x100
+        LayoutText {#text} at (0,0) size 557x19
+          text run at (0,0) width 557: "This tests checks that the text-overflow:ellipsis property is handled correctly for bidi text."
+        LayoutBR {BR} at (557,0) size 0x19
+        LayoutBR {BR} at (0,20) size 0x19
+        LayoutText {#text} at (0,40) size 741x19
+          text run at (0,40) width 741: "Pass if the ellipsis do not overlap the text and the underlines for the links are placed under the text and not the ellipsis. "
+        LayoutBR {BR} at (741,40) size 0x19
+        LayoutBR {BR} at (0,60) size 0x19
+        LayoutText {#text} at (0,80) size 35x19
+          text run at (0,80) width 35: "RTL:"
+      LayoutBlockFlow (anonymous) at (0,142) size 784x20
+        LayoutText {#text} at (0,0) size 95x19
+          text run at (0,0) width 95: "RTL Override:"
+      LayoutBlockFlow (anonymous) at (0,204) size 784x20
+        LayoutText {#text} at (0,0) size 63x19
+          text run at (0,0) width 63: "RTL link:"
+      LayoutBlockFlow (anonymous) at (0,266) size 784x20
+        LayoutText {#text} at (0,0) size 134x19
+          text run at (0,0) width 134: "RTL with ltr content:"
+      LayoutBlockFlow (anonymous) at (0,328) size 784x20
+        LayoutText {#text} at (0,0) size 162x19
+          text run at (0,0) width 162: "RTL link with ltr content:"
+      LayoutBlockFlow (anonymous) at (0,390) size 784x20
+        LayoutText {#text} at (0,0) size 62x19
+          text run at (0,0) width 62: "LTR link:"
+      LayoutBlockFlow (anonymous) at (0,452) size 784x20
+        LayoutText {#text} at (0,0) size 34x19
+          text run at (0,0) width 34: "LTR:"
+      LayoutBlockFlow (anonymous) at (0,514) size 784x20
+        LayoutText {#text} at (0,0) size 133x19
+          text run at (0,0) width 133: "LTR with rtl content:"
+      LayoutBlockFlow (anonymous) at (0,576) size 784x20
+        LayoutText {#text} at (0,0) size 177x19
+          text run at (0,0) width 177: "LTR with forced rtl content:"
+      LayoutBlockFlow (anonymous) at (0,638) size 784x20
+        LayoutText {#text} at (0,0) size 161x19
+          text run at (0,0) width 161: "LTR link with rtl content:"
+      LayoutBlockFlow (anonymous) at (0,700) size 784x20
+        LayoutText {#text} at (0,0) size 205x19
+          text run at (0,0) width 205: "LTR link with forced rtl content:"
+layer at (8,108) size 182x22 clip at (9,109) size 180x20 scrollX 118.00 scrollWidth 298
+  LayoutBlockFlow {DIV} at (0,100) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (-117,1) size 298x19
+      text run at (-117,1) width 298 RTL: "\x{5DB}\x{5E9}\x{5D4}\x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5E8}\x{5D5}\x{5DA} \x{5DE}\x{5D3}\x{5D9} \x{5E0}\x{5E8}\x{5E6}\x{5D4} \x{5DC}\x{5D4}\x{5D5}\x{5E1}\x{5D9}\x{5E3} \x{5D0}\x{5DC}\x{5D9}\x{5E4}\x{5E1}\x{5D5}\x{5EA} \x{5D1}\x{5E1}\x{5D5}\x{5E3} \x{5E9}\x{5D5}\x{5E8}\x{5D4}"
+layer at (8,170) size 182x22 clip at (9,171) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,162) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (-139,1) size 320x19
+      text run at (-139,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+layer at (8,232) size 182x22 clip at (9,233) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,224) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (-139,1) size 320x19
+        text run at (-139,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,294) size 182x22 clip at (9,295) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,286) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (-139,1) size 320x19
+      text run at (-139,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+layer at (8,356) size 182x22 clip at (9,357) size 180x20 scrollX 140.00 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,348) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (-139,1) size 320x19
+        text run at (-139,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,418) size 182x22 clip at (9,419) size 180x20 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,410) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (1,1) size 320x19
+        text run at (1,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,480) size 182x22 clip at (9,481) size 180x20 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,472) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (1,1) size 320x19
+      text run at (1,1) width 320: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+layer at (8,542) size 182x22 clip at (9,543) size 180x20 scrollWidth 298
+  LayoutBlockFlow {DIV} at (0,534) size 182x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (1,1) size 298x19
+      text run at (1,1) width 298 RTL: "\x{5DB}\x{5E9}\x{5D4}\x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5E8}\x{5D5}\x{5DA} \x{5DE}\x{5D3}\x{5D9} \x{5E0}\x{5E8}\x{5E6}\x{5D4} \x{5DC}\x{5D4}\x{5D5}\x{5E1}\x{5D9}\x{5E3} \x{5D0}\x{5DC}\x{5D9}\x{5E4}\x{5E1}\x{5D5}\x{5EA} \x{5D1}\x{5E1}\x{5D5}\x{5E3} \x{5E9}\x{5D5}\x{5E8}\x{5D4}"
+layer at (8,604) size 182x22 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,596) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {SPAN} at (0,0) size 320x19
+      LayoutText {#text} at (1,1) size 320x19
+        text run at (1,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,666) size 182x22 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollWidth 298
+  LayoutBlockFlow {DIV} at (0,658) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 298x19 [color=#0000EE]
+      LayoutText {#text} at (1,1) size 298x19
+        text run at (1,1) width 298 RTL: "\x{5DB}\x{5E9}\x{5D4}\x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5E8}\x{5D5}\x{5DA} \x{5DE}\x{5D3}\x{5D9} \x{5E0}\x{5E8}\x{5E6}\x{5D4} \x{5DC}\x{5D4}\x{5D5}\x{5E1}\x{5D9}\x{5E3} \x{5D0}\x{5DC}\x{5D9}\x{5E4}\x{5E1}\x{5D5}\x{5EA} \x{5D1}\x{5E1}\x{5D5}\x{5E3} \x{5E9}\x{5D5}\x{5E8}\x{5D4}"
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,728) size 182x22 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollWidth 320
+  LayoutBlockFlow {DIV} at (0,720) size 182x22 [border: (1px solid #000000)]
+    LayoutInline {A} at (0,0) size 320x19 [color=#0000EE]
+      LayoutText {#text} at (0,0) size 0x0
+      LayoutInline {SPAN} at (0,0) size 320x19
+        LayoutText {#text} at (1,1) size 320x19
+          text run at (1,1) width 320 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing"
+      LayoutText {#text} at (0,0) size 0x0
+    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-expected.png
new file mode 100644
index 0000000..5e6aa82
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links-expected.png
new file mode 100644
index 0000000..ef17cad
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-not-propagated-by-out-of-flow-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-not-propagated-by-out-of-flow-expected.png
new file mode 100644
index 0000000..44b92f6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-not-propagated-by-out-of-flow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-simple-underlines-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-simple-underlines-expected.png
new file mode 100644
index 0000000..c587dc5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-simple-underlines-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline-block/14498-positionForCoordinates-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline-block/14498-positionForCoordinates-expected.png
new file mode 100644
index 0000000..b32f06d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline-block/14498-positionForCoordinates-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline-block/overflow-clip-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline-block/overflow-clip-expected.png
new file mode 100644
index 0000000..340e778
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline-block/overflow-clip-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline/inline-box-background-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline/inline-box-background-expected.png
new file mode 100644
index 0000000..c09b652
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline/inline-box-background-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline/inline-box-background-repeat-x-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline/inline-box-background-repeat-x-expected.png
new file mode 100644
index 0000000..a98e9e7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline/inline-box-background-repeat-x-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline/inline-box-background-repeat-y-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline/inline-box-background-repeat-y-expected.png
new file mode 100644
index 0000000..29fdc3a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline/inline-box-background-repeat-y-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline/inline-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline/inline-focus-ring-expected.png
new file mode 100644
index 0000000..bd7eb09
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/inline/inline-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/layers/normal-flow-hit-test-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/layers/normal-flow-hit-test-expected.png
new file mode 100644
index 0000000..63809c48
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/layers/normal-flow-hit-test-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/layers/normal-flow-hit-test-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/layers/normal-flow-hit-test-expected.txt
new file mode 100644
index 0000000..45ff275
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/layers/normal-flow-hit-test-expected.txt
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x325
+  LayoutBlockFlow {HTML} at (0,0) size 800x325
+    LayoutBlockFlow {BODY} at (8,16) size 784x301
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 58x19
+          text run at (0,0) width 58: "Tests for "
+        LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
+          LayoutText {#text} at (57,0) size 306x19
+            text run at (57,0) width 306: "https://bugs.webkit.org/show_bug.cgi?id=24552"
+      LayoutBlockFlow (anonymous) at (0,36) size 784x125
+        LayoutText {#text} at (120,105) size 4x19
+          text run at (120,105) width 4: " "
+        LayoutInline {A} at (0,0) size 61x19 [color=#0000EE]
+          LayoutText {#text} at (124,105) size 61x19
+            text run at (124,105) width 61: "Link here"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (0,281) size 784x20
+        LayoutText {#text} at (0,0) size 168x19
+          text run at (0,0) width 168: "Found link node, so PASS"
+layer at (18,62) size 100x100
+  LayoutBlockFlow {DIV} at (10,10) size 100x100 [bgcolor=#808080]
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/layers/opacity-transforms-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/layers/opacity-transforms-expected.png
new file mode 100644
index 0000000..b45a203fe
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/layers/opacity-transforms-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/layers/opacity-transforms-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/layers/opacity-transforms-expected.txt
new file mode 100644
index 0000000..b96e99a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/layers/opacity-transforms-expected.txt
@@ -0,0 +1,20 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x88
+  LayoutBlockFlow {HTML} at (0,0) size 800x88
+    LayoutBlockFlow {BODY} at (8,16) size 784x56
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
+          LayoutText {#text} at (0,0) size 305x19
+            text run at (0,0) width 305: "https://bugs.webkit.org/show_bug.cgi?id=22026"
+      LayoutBlockFlow {P} at (0,36) size 784x20
+        LayoutText {#text} at (0,0) size 651x19
+          text run at (0,0) width 651: "Test that elements with transform and opacity on a parent are not clipped. You should see no red below."
+layer at (150,200) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (150,200) size 100x100 [bgcolor=#FF0000]
+layer at (100,150) size 100x100 transparent
+  LayoutBlockFlow (positioned) {DIV} at (100,150) size 100x100
+layer at (100,150) size 10x10
+  LayoutBlockFlow {DIV} at (0,0) size 10x10
+layer at (150,200) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/lists/003-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/lists/003-expected.png
new file mode 100644
index 0000000..4ce5d7a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/lists/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/overflow/position-fixed-transform-clipping-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/overflow/position-fixed-transform-clipping-expected.png
new file mode 100644
index 0000000..b2d8daca
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/overflow/position-fixed-transform-clipping-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/replaced/selection-rect-transform-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/replaced/selection-rect-transform-expected.png
new file mode 100644
index 0000000..212e9234
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/replaced/selection-rect-transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/selectors/018-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/selectors/018-expected.png
new file mode 100644
index 0000000..d586210
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/selectors/018-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/selectors/018-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/selectors/018-expected.txt
new file mode 100644
index 0000000..55a0dd2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/selectors/018-expected.txt
@@ -0,0 +1,119 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x321
+  LayoutBlockFlow {HTML} at (0,0) size 800x321
+    LayoutBlockFlow {BODY} at (8,16) size 784x297
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 674x19
+          text run at (0,0) width 423: "The background color of this paragraph should turn to green when "
+          text run at (423,0) width 251: "the mouse pointer hovers either its text ("
+        LayoutInline {STRONG} at (0,0) size 30x19
+          LayoutText {#text} at (674,0) size 30x19
+            text run at (674,0) width 30: "here"
+        LayoutText {#text} at (703,0) size 744x39
+          text run at (703,0) width 41: ") or its"
+          text run at (0,20) width 157: "whitespace background, "
+        LayoutInline {STRONG} at (0,0) size 30x19
+          LayoutText {#text} at (157,20) size 30x19
+            text run at (157,20) width 30: "here"
+        LayoutText {#text} at (186,20) size 5x19
+          text run at (186,20) width 5: ":"
+      LayoutBlockFlow {ADDRESS} at (0,56) size 784x20
+        LayoutText {#text} at (0,0) size 161x19
+          text run at (0,0) width 161: "The background color of "
+        LayoutInline {A} at (0,0) size 115x19 [color=#0000EE]
+          LayoutText {#text} at (160,0) size 81x19
+            text run at (160,0) width 81: "this anchor ("
+          LayoutInline {STRONG} at (0,0) size 30x19
+            LayoutText {#text} at (240,0) size 30x19
+              text run at (240,0) width 30: "here"
+          LayoutText {#text} at (269,0) size 6x19
+            text run at (269,0) width 6: ")"
+        LayoutText {#text} at (274,0) size 387x19
+          text run at (274,0) width 387: " should turn to green when the pointing device hovers over it."
+      LayoutTable {TABLE} at (0,76) size 308x221
+        LayoutTableSection {TBODY} at (0,0) size 308x221
+          LayoutTableRow {TR} at (0,5) size 308x22
+            LayoutTableCell {TD} at (5,5) size 100x22 [r=0 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 73x19
+                text run at (1,1) width 73: "The cells in"
+            LayoutTableCell {TD} at (110,5) size 89x22 [r=0 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 56x19
+                text run at (1,1) width 56: "this table"
+            LayoutTableCell {TD} at (204,5) size 99x22 [r=0 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 62x19
+                text run at (1,1) width 62: "should go"
+          LayoutTableRow {TR} at (0,32) size 308x22
+            LayoutTableCell {TD} at (5,32) size 100x22 [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 74x19
+                text run at (1,1) width 74: "green when"
+            LayoutTableCell {TD} at (110,32) size 89x22 [r=1 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 64x19
+                text run at (1,1) width 64: "you hover"
+            LayoutTableCell {TD} at (204,32) size 99x22 [r=1 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 75x19
+                text run at (1,1) width 75: "the pointing"
+          LayoutTableRow {TR} at (0,59) size 308x22
+            LayoutTableCell {TD} at (5,59) size 100x22 [r=2 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 73x19
+                text run at (1,1) width 73: "device over"
+            LayoutTableCell {TD} at (110,59) size 89x22 [r=2 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 40x19
+                text run at (1,1) width 40: "them ("
+              LayoutInline {STRONG} at (0,0) size 30x19
+                LayoutText {#text} at (41,1) size 30x19
+                  text run at (41,1) width 30: "here"
+              LayoutText {#text} at (70,1) size 10x19
+                text run at (70,1) width 10: ")."
+            LayoutTableCell {TD} at (204,69) size 99x2 [r=2 c=2 rs=1 cs=1]
+          LayoutTableRow {TR} at (0,86) size 308x22
+            LayoutTableCell {TD} at (5,86) size 100x22 [r=3 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 76x19
+                text run at (1,1) width 76: "The rows in"
+            LayoutTableCell {TD} at (110,86) size 89x22 [r=3 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 56x19
+                text run at (1,1) width 56: "this table"
+            LayoutTableCell {TD} at (204,86) size 99x22 [r=3 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 62x19
+                text run at (1,1) width 62: "should go"
+          LayoutTableRow {TR} at (0,113) size 308x22
+            LayoutTableCell {TD} at (5,113) size 100x22 [r=4 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 67x19
+                text run at (1,1) width 67: "dark green"
+            LayoutTableCell {TD} at (110,113) size 89x22 [r=4 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 58x19
+                text run at (1,1) width 58: "when the"
+            LayoutTableCell {TD} at (204,113) size 99x22 [r=4 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 97x19
+                text run at (1,1) width 97: "pointing device"
+          LayoutTableRow {TR} at (0,140) size 308x22
+            LayoutTableCell {TD} at (5,140) size 100x22 [r=5 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 65x19
+                text run at (1,1) width 65: "is over the"
+            LayoutTableCell {TD} at (110,140) size 89x22 [r=5 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 59x19
+                text run at (1,1) width 59: "five pixel"
+            LayoutTableCell {TD} at (204,140) size 99x22 [r=5 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 93x19
+                text run at (1,1) width 93: "border spacing"
+          LayoutTableRow {TR} at (0,167) size 308x22
+            LayoutTableCell {TD} at (5,167) size 100x22 [r=6 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 88x19
+                text run at (1,1) width 88: "and when it is"
+            LayoutTableCell {TD} at (110,167) size 89x22 [r=6 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 87x19
+                text run at (1,1) width 87: "over the cells."
+            LayoutTableCell {TD} at (204,177) size 99x2 [r=6 c=2 rs=1 cs=1]
+          LayoutTableRow {TR} at (0,194) size 308x22
+            LayoutTableCell {TD} at (5,194) size 100x22 [r=7 c=0 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 64x19
+                text run at (1,1) width 64: "Including "
+              LayoutInline {STRONG} at (0,0) size 30x19
+                LayoutText {#text} at (65,1) size 30x19
+                  text run at (65,1) width 30: "here"
+              LayoutText {#text} at (94,1) size 5x19
+                text run at (94,1) width 5: ","
+            LayoutTableCell {TD} at (110,204) size 89x2 [r=7 c=1 rs=1 cs=1]
+            LayoutTableCell {TD} at (204,194) size 99x22 [r=7 c=2 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 71x19
+                text run at (1,1) width 71: "blank cells."
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/table/border-collapsing/004-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/table/border-collapsing/004-expected.png
new file mode 100644
index 0000000..eb2d9b8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/table/border-collapsing/004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/table/border-collapsing/004-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/table/border-collapsing/004-vertical-expected.png
new file mode 100644
index 0000000..e84c19d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/table/border-collapsing/004-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/text/international/bidi-LDB-2-HTML-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/text/international/bidi-LDB-2-HTML-expected.png
new file mode 100644
index 0000000..bdf46e8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/text/international/bidi-LDB-2-HTML-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/text/international/bidi-LDB-2-formatting-characters-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/text/international/bidi-LDB-2-formatting-characters-expected.png
new file mode 100644
index 0000000..9bde8f9e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/text/international/bidi-LDB-2-formatting-characters-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png
new file mode 100644
index 0000000..2e70305
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/text/stroking-decorations-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/text/stroking-decorations-expected.png
new file mode 100644
index 0000000..2d59d8ab
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/text/stroking-decorations-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/fast/writing-mode/english-lr-text-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/writing-mode/english-lr-text-expected.png
new file mode 100644
index 0000000..b06c38f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/fast/writing-mode/english-lr-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png
new file mode 100644
index 0000000..4e4a117
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt b/third_party/WebKit/LayoutTests/platform/fuchsia/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt
new file mode 100644
index 0000000..2c5771c5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x60
+        LayoutText {#text} at (0,0) size 770x39
+          text run at (0,0) width 770: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that the focus ring color is not inherited"
+          text run at (0,20) width 207: "for an <area> (by default) as per "
+        LayoutInline {A} at (0,0) size 467x19 [color=#0000EE]
+          LayoutText {#text} at (207,20) size 467x19
+            text run at (207,20) width 467: "section 18.4 \"Dynamic outlines: the 'outline' property\" of the CSS2.1 spec"
+        LayoutText {#text} at (674,20) size 735x39
+          text run at (674,20) width 61: ". This test"
+          text run at (0,40) width 566: "FAILED if a red-colored focus ring is drawn around the <area> in the imagemap (below)."
+      LayoutBlockFlow (anonymous) at (0,76) size 784x128
+        LayoutInline {MAP} at (0,0) size 0x0
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {AREA} at (0,0) size 0x0
+          LayoutText {#text} at (0,0) size 0x0
+        LayoutText {#text} at (0,0) size 0x0
+        LayoutImage {IMG} at (0,0) size 128x128
+        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/paint/invalidation/selection/selected-replaced-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/paint/invalidation/selection/selected-replaced-expected.png
new file mode 100644
index 0000000..6328120
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/paint/invalidation/selection/selected-replaced-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/bugs/bug1188-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/bugs/bug1188-expected.png
new file mode 100644
index 0000000..11299468
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/bugs/bug1188-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/bugs/bug2479-3-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/bugs/bug2479-3-expected.png
new file mode 100644
index 0000000..3b53ba30
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/bugs/bug2479-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/bugs/bug2479-4-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/bugs/bug2479-4-expected.png
new file mode 100644
index 0000000..cc37617a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/bugs/bug2479-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/bugs/bug59354-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/bugs/bug59354-expected.png
new file mode 100644
index 0000000..8a356dc1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/bugs/bug59354-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/bugs/bug7342-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/bugs/bug7342-expected.png
new file mode 100644
index 0000000..2f54f66
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/bugs/bug7342-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/collapsing_borders/bug41262-3-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/collapsing_borders/bug41262-3-expected.png
new file mode 100644
index 0000000..383d0dfe
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/collapsing_borders/bug41262-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/core/bloomberg-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/core/bloomberg-expected.png
new file mode 100644
index 0000000..9189ad5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla/core/bloomberg-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla_expected_failures/bugs/bug1010-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla_expected_failures/bugs/bug1010-expected.png
new file mode 100644
index 0000000..c163ade
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla_expected_failures/bugs/bug1010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png
new file mode 100644
index 0000000..f744c6a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png
new file mode 100644
index 0000000..076ef65
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/fuchsia/transforms/transformed-caret-expected.png b/third_party/WebKit/LayoutTests/platform/fuchsia/transforms/transformed-caret-expected.png
new file mode 100644
index 0000000..078a7ef
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/fuchsia/transforms/transformed-caret-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/animations/3d/matrix-transform-type-animation-expected.png b/third_party/WebKit/LayoutTests/platform/linux/animations/3d/matrix-transform-type-animation-expected.png
index 3f2dd16..7e33096 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/animations/3d/matrix-transform-type-animation-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/animations/3d/matrix-transform-type-animation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/compositing-visible-descendant-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/compositing-visible-descendant-expected.png
index 6f4a2fe..5fc965f2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/compositing-visible-descendant-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/compositing-visible-descendant-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/compositing-visible-descendant-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/compositing-visible-descendant-expected.txt
index f7cec71..5fa47ca4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/compositing-visible-descendant-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/compositing-visible-descendant-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 254x19
-          text run at (0,0) width 254: "You should see one green square below."
+        LayoutText {#text} at (0,0) size 252x19
+          text run at (0,0) width 252: "You should see one green square below."
 layer at (20,40) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (20,40) size 100x100 [bgcolor=#FF0000]
 hidden layer at (20,40) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/direct-image-compositing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/direct-image-compositing-expected.png
index 9366bbd..b7bdff9e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/direct-image-compositing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/direct-image-compositing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/direct-image-compositing-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/direct-image-compositing-expected.txt
index 3eeb73ab4..4cc9e31 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/direct-image-compositing-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/direct-image-compositing-expected.txt
@@ -11,7 +11,7 @@
           text run at (0,0) width 595: "This test exercises direct compositing of images with hardware acceleration. The visual results "
           text run at (595,0) width 34: "using"
           text run at (0,20) width 681: "ACCELERATED_COMPOSITING and regular TOT should be identical. Running this test manually with "
-          text run at (680,20) width 67: "the correct"
+          text run at (681,20) width 66: "the correct"
           text run at (0,40) width 442: "debug options will show which elements are directly composited. See "
         LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
           LayoutText {#text} at (442,40) size 305x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/generated-content-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/generated-content-expected.png
index d54a7e9..cec9baf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/generated-content-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/generated-content-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/generated-content-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/generated-content-expected.txt
index f35b92df..91e2760 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/generated-content-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/generated-content-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 305x19
             text run at (0,0) width 305: "https://bugs.webkit.org/show_bug.cgi?id=26095"
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 387x19
-          text run at (0,0) width 387: "Tests that a 3D transform on a generated node does not crash."
+        LayoutText {#text} at (0,0) size 386x19
+          text run at (0,0) width 386: "Tests that a 3D transform on a generated node does not crash."
       LayoutBlockFlow {DIV} at (0,72) size 202x202 [border: (1px solid #000000)]
 layer at (9,89) size 200x200
   LayoutBlockFlow {<pseudo:after>} at (1,1) size 200x200
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/abs-position-inside-opacity-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/abs-position-inside-opacity-expected.png
index 94da5a56..8da9496 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/abs-position-inside-opacity-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/abs-position-inside-opacity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/abs-position-inside-opacity-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/abs-position-inside-opacity-expected.txt
index fcd9335b..b9c0c0f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/abs-position-inside-opacity-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/abs-position-inside-opacity-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x542
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 327x19
-          text run at (0,0) width 327: "You should see two green boxes below, with no red"
+        LayoutText {#text} at (0,0) size 325x19
+          text run at (0,0) width 325: "You should see two green boxes below, with no red"
 layer at (58,78) size 120x120
   LayoutBlockFlow (relative positioned) {DIV} at (50,70) size 120x120 [border: (1px solid #000000)]
 layer at (69,89) size 100x100 transparent
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/clipping-foreground-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/clipping-foreground-expected.png
index 0bc0909..afd0f31 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/clipping-foreground-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/clipping-foreground-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/fixed-in-composited-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/fixed-in-composited-expected.txt
index 748e5808..8679498 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/fixed-in-composited-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/fixed-in-composited-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x1000
     LayoutBlockFlow {BODY} at (0,0) size 785x1000
       LayoutBlockFlow {P} at (0,210) size 785x20
-        LayoutText {#text} at (0,0) size 187x19
-          text run at (0,0) width 187: "You should see no red above."
+        LayoutText {#text} at (0,0) size 186x19
+          text run at (0,0) width 186: "You should see no red above."
 layer at (20,20) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (20,70) size 100x100 [bgcolor=#FF0000]
 layer at (220,70) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/fixed-position-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/fixed-position-expected.txt
index 621072e..5d8e7708 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/fixed-position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/fixed-position-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x1016
     LayoutBlockFlow {BODY} at (8,8) size 1000x1000
 layer at (0,116) size 437x20
-  LayoutBlockFlow (positioned) {P} at (50,166) size 437.41x20
-    LayoutText {#text} at (0,0) size 438x19
-      text run at (0,0) width 438: "You should see a green square in the top left corner of an orange box."
+  LayoutBlockFlow (positioned) {P} at (50,166) size 437x20
+    LayoutText {#text} at (0,0) size 437x19
+      text run at (0,0) width 437: "You should see a green square in the top left corner of an orange box."
 layer at (0,0) size 100x100 transparent
   LayoutBlockFlow (positioned) {DIV} at (0,0) size 100x100 [bgcolor=#FFA500]
 layer at (0,0) size 50x50
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/partial-layout-update-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/partial-layout-update-expected.png
index 9d3736d5..846d5f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/partial-layout-update-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/partial-layout-update-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/partial-layout-update-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/partial-layout-update-expected.txt
index 4c439fe3..a3e14cb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/partial-layout-update-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/partial-layout-update-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 360x19
-          text run at (0,0) width 360: "The green box should always obscure the red box below."
+        LayoutText {#text} at (0,0) size 359x19
+          text run at (0,0) width 359: "The green box should always obscure the red box below."
 layer at (8,44) size 402x202 clip at (9,45) size 400x200
   LayoutBlockFlow (relative positioned) {DIV} at (0,36) size 402x202 [border: (1px solid #000000)]
 layer at (9,45) size 200x200
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/root-layer-update-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/root-layer-update-expected.png
index d8520db..074839c0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/root-layer-update-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/root-layer-update-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/root-layer-update-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/root-layer-update-expected.txt
index 2ec2f64f..8156967 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/root-layer-update-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/root-layer-update-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 149x19
             text run at (0,0) width 149: "rdar://problem/7026010"
         LayoutBR {BR} at (149,0) size 0x19
-        LayoutText {#text} at (0,20) size 463x19
-          text run at (0,20) width 463: "Test for the root layer getting correctly positioned. You should see no red."
+        LayoutText {#text} at (0,20) size 461x19
+          text run at (0,20) width 461: "Test for the root layer getting correctly positioned. You should see no red."
 layer at (350,1) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (350,1) size 100x100 [bgcolor=#FF0000]
 layer at (-100,0) size 300x100 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.png
index 5ed74f4..6a76071 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt
index 28f576a..82224b11a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt
@@ -9,8 +9,8 @@
         LayoutInline {A} at (0,0) size 40x19 [color=#0000EE]
           LayoutText {#text} at (31,0) size 40x19
             text run at (31,0) width 40: "29495"
-        LayoutText {#text} at (71,0) size 325x19
-          text run at (71,0) width 325: ". You should see one green box below, with no red."
+        LayoutText {#text} at (71,0) size 323x19
+          text run at (71,0) width 323: ". You should see one green box below, with no red."
 layer at (10,60) size 50x50
   LayoutBlockFlow (positioned) {DIV} at (10,60) size 50x50 [bgcolor=#FF0000]
 layer at (10,10) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-pixel-rotated-div-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-pixel-rotated-div-expected.png
index 4358f1f5..bdb9f811 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-pixel-rotated-div-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-pixel-rotated-div-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-pixel-rotated-link-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-pixel-rotated-link-expected.png
index e0dd09e..67dc484 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-pixel-rotated-link-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-pixel-rotated-link-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-pixel-transparent-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-pixel-transparent-expected.png
index 27f2040..638b06b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-pixel-transparent-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-pixel-transparent-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-with-squashing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-with-squashing-expected.png
index 52af736a..02d5b302 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-with-squashing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/gestures/gesture-tapHighlight-with-squashing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/iframes/composited-iframe-alignment-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/iframes/composited-iframe-alignment-expected.png
index 327d491..4c8527d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/iframes/composited-iframe-alignment-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/iframes/composited-iframe-alignment-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/iframes/iframe-copy-on-scroll-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/iframes/iframe-copy-on-scroll-expected.png
index ae22394c..38a39741 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/iframes/iframe-copy-on-scroll-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/iframes/iframe-copy-on-scroll-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/iframes/iframe-copy-on-scroll-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/iframes/iframe-copy-on-scroll-expected.txt
index 4e1e6825..0d56820 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/iframes/iframe-copy-on-scroll-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/iframes/iframe-copy-on-scroll-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 375x19
-          text run at (0,0) width 375: "In pixel results, the blue box should be scrolled out of view."
+        LayoutText {#text} at (0,0) size 374x19
+          text run at (0,0) width 374: "In pixel results, the blue box should be scrolled out of view."
 layer at (8,52) size 0x0
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 0x0
 layer at (8,52) size 324x229
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/images/direct-image-background-color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/images/direct-image-background-color-expected.png
index 8b07da6a..0a96b80 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/images/direct-image-background-color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/images/direct-image-background-color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/images/direct-image-background-color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/images/direct-image-background-color-expected.txt
index c943644..284e5e8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/images/direct-image-background-color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/images/direct-image-background-color-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,20) size 784x564
       LayoutImage {IMG} at (20,0) size 280x200 [bgcolor=#00008080]
       LayoutBlockFlow {P} at (0,440) size 784x20
-        LayoutText {#text} at (0,0) size 241x19
-          text run at (0,0) width 241: "Top and bottom should look the same."
+        LayoutText {#text} at (0,0) size 240x19
+          text run at (0,0) width 240: "Top and bottom should look the same."
 layer at (28,240) size 280x200
   LayoutImage {IMG} at (20,220) size 280x200 [bgcolor=#00008080]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/layers-inside-overflow-scroll-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/layers-inside-overflow-scroll-expected.png
index 9b1e725..59e153f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/layers-inside-overflow-scroll-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/layers-inside-overflow-scroll-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/layers-inside-overflow-scroll-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/layers-inside-overflow-scroll-expected.txt
index e78ca64..1af5ffc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/layers-inside-overflow-scroll-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/layers-inside-overflow-scroll-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x431
     LayoutBlockFlow {BODY} at (8,16) size 784x405
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 436x19
-          text run at (0,0) width 436: "The red box in the overflow:scroll div should be scrolled out of view."
+        LayoutText {#text} at (0,0) size 435x19
+          text run at (0,0) width 435: "The red box in the overflow:scroll div should be scrolled out of view."
       LayoutBlockFlow {DIV} at (10,36) size 302x207 [border: (1px solid #000000)]
         LayoutText {#text} at (0,0) size 0x0
 layer at (19,53) size 300x200
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/direct-image-mask-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/direct-image-mask-expected.png
index 5d33323..22ffe4d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/direct-image-mask-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/direct-image-mask-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/direct-image-mask-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/direct-image-mask-expected.txt
index 09b17d30..55a1083 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/direct-image-mask-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/direct-image-mask-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 580x19
-          text run at (0,0) width 580: "Testing reflections on directly composited images. Left and right sides should look the same."
+        LayoutText {#text} at (0,0) size 579x19
+          text run at (0,0) width 579: "Testing reflections on directly composited images. Left and right sides should look the same."
       LayoutBlockFlow (anonymous) at (0,36) size 784x169
         LayoutText {#text} at (224,149) size 4x19
           text run at (224,149) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-added-filters-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-added-filters-expected.png
index 8bbc8e7..ad59e851 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-added-filters-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-added-filters-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-added-filters-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-added-filters-expected.txt
index 304050e..05b9b31 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-added-filters-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-added-filters-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x646
     LayoutBlockFlow {BODY} at (8,16) size 769x622
       LayoutBlockFlow {P} at (0,0) size 769x40
-        LayoutText {#text} at (0,0) size 748x39
-          text run at (0,0) width 748: "Testing masks with filters on compositing layers. Left and right columns should look almost the same, composited filter"
+        LayoutText {#text} at (0,0) size 747x39
+          text run at (0,0) width 747: "Testing masks with filters on compositing layers. Left and right columns should look almost the same, composited filter"
           text run at (0,20) width 139: "look slightly different."
       LayoutBlockFlow (anonymous) at (0,56) size 769x566
         LayoutText {#text} at (262,546) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-removed-filters-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-removed-filters-expected.png
index 10537ebd..7893432 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-removed-filters-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-removed-filters-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-removed-filters-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-removed-filters-expected.txt
index 97d01c58..c42f8f4e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-removed-filters-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/mask-with-removed-filters-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x626
     LayoutBlockFlow {BODY} at (8,16) size 769x602
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 594x19
-          text run at (0,0) width 594: "Testing masks with filters on compositing layers. Left and right columns should look the same."
+        LayoutText {#text} at (0,0) size 593x19
+          text run at (0,0) width 593: "Testing masks with filters on compositing layers. Left and right columns should look the same."
       LayoutBlockFlow (anonymous) at (0,36) size 769x566
         LayoutBlockFlow {DIV} at (0,0) size 262x562 [border: (1px solid #000000)]
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/masked-ancestor-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/masked-ancestor-expected.png
index 321cc1df..79c8456 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/masked-ancestor-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/masked-ancestor-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/masked-ancestor-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/masked-ancestor-expected.txt
index a8a7e4a..3eead25 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/masked-ancestor-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/masked-ancestor-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x619
     LayoutBlockFlow {BODY} at (8,8) size 769x603
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 523x19
-          text run at (0,0) width 523: "Testing masks on compositing layers. Left and right columns should look the same."
+        LayoutText {#text} at (0,0) size 522x19
+          text run at (0,0) width 522: "Testing masks on compositing layers. Left and right columns should look the same."
       LayoutBlockFlow (anonymous) at (0,36) size 769x567
         LayoutText {#text} at (262,547) size 4x19
           text run at (262,547) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/multiple-masks-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/multiple-masks-expected.png
index 415fe63b..844ced0c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/multiple-masks-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/multiple-masks-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/multiple-masks-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/multiple-masks-expected.txt
index 65fb9a0..18ebb0ee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/multiple-masks-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/multiple-masks-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x619
     LayoutBlockFlow {BODY} at (8,8) size 769x603
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 523x19
-          text run at (0,0) width 523: "Testing masks on compositing layers. Left and right columns should look the same."
+        LayoutText {#text} at (0,0) size 522x19
+          text run at (0,0) width 522: "Testing masks on compositing layers. Left and right columns should look the same."
       LayoutBlockFlow (anonymous) at (0,36) size 769x567
         LayoutBlockFlow {DIV} at (0,0) size 262x562 [border: (1px solid #000000)]
         LayoutText {#text} at (262,547) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/simple-composited-mask-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/simple-composited-mask-expected.png
index a624d4cc..74a48dbf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/simple-composited-mask-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/simple-composited-mask-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/simple-composited-mask-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/simple-composited-mask-expected.txt
index 1f5ee43..4e34930 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/simple-composited-mask-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/masks/simple-composited-mask-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x619
     LayoutBlockFlow {BODY} at (8,8) size 769x603
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 523x19
-          text run at (0,0) width 523: "Testing masks on compositing layers. Left and right columns should look the same."
+        LayoutText {#text} at (0,0) size 522x19
+          text run at (0,0) width 522: "Testing masks on compositing layers. Left and right columns should look the same."
       LayoutBlockFlow (anonymous) at (0,36) size 769x567
         LayoutBlockFlow {DIV} at (0,0) size 262x562 [border: (1px solid #000000)]
         LayoutText {#text} at (262,547) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/ancestor-overflow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/ancestor-overflow-expected.png
index 65df0fe..069b591a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/ancestor-overflow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/ancestor-overflow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/ancestor-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/ancestor-overflow-expected.txt
index cdaa1eb..c5c27bc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/ancestor-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/ancestor-overflow-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x434
     LayoutBlockFlow {BODY} at (8,16) size 784x410
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 458x19
-          text run at (0,0) width 458: "Test overflow clipping of composited elements in various configurations."
+        LayoutText {#text} at (0,0) size 457x19
+          text run at (0,0) width 457: "Test overflow clipping of composited elements in various configurations."
       LayoutBlockFlow (anonymous) at (0,36) size 784x374
         LayoutText {#text} at (182,167) size 4x19
           text run at (182,167) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/fixed-position-ancestor-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/fixed-position-ancestor-clip-expected.txt
index 32b4c458..0b5b47f0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/fixed-position-ancestor-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/fixed-position-ancestor-clip-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x1016
     LayoutBlockFlow {BODY} at (8,8) size 1000x1000
 layer at (0,116) size 316x20
-  LayoutBlockFlow (positioned) {P} at (50,166) size 316.41x20
-    LayoutText {#text} at (0,0) size 317x19
-      text run at (0,0) width 317: "You should see a single green square, with no red."
+  LayoutBlockFlow (positioned) {P} at (50,166) size 316x20
+    LayoutText {#text} at (0,0) size 316x19
+      text run at (0,0) width 316: "You should see a single green square, with no red."
 layer at (8,8) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (8,8) size 100x100 [bgcolor=#FF0000]
 layer at (8,8) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/mask-with-small-content-rect-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/mask-with-small-content-rect-expected.png
index 7cf935d..27bc303 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/mask-with-small-content-rect-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/mask-with-small-content-rect-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/mask-with-small-content-rect-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/mask-with-small-content-rect-expected.txt
index cdaeb8f..83719e5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/mask-with-small-content-rect-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/mask-with-small-content-rect-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x273
     LayoutBlockFlow {BODY} at (8,16) size 784x249
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 523x19
-          text run at (0,0) width 523: "Testing masks on compositing layers. Left and right columns should look the same."
+        LayoutText {#text} at (0,0) size 522x19
+          text run at (0,0) width 522: "Testing masks on compositing layers. Left and right columns should look the same."
       LayoutBlockFlow (anonymous) at (0,36) size 784x213
         LayoutText {#text} at (208,193) size 4x19
           text run at (208,193) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/nested-scrolling-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/nested-scrolling-expected.png
index 65f74c3..e4489218 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/nested-scrolling-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/nested-scrolling-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/nested-scrolling-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/nested-scrolling-expected.txt
index 223bac9..c62b081 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/nested-scrolling-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/nested-scrolling-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x838
     LayoutBlockFlow {BODY} at (8,8) size 769x822
       LayoutBlockFlow (anonymous) at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 81x19
-          text run at (0,0) width 81: "Text outside."
+        LayoutText {#text} at (0,0) size 80x19
+          text run at (0,0) width 80: "Text outside."
 layer at (8,28) size 702x802 backgroundClip at (8,28) size 702x572 clip at (9,29) size 685x571 scrollHeight 1286
   LayoutBlockFlow {DIV} at (0,20) size 702x802 [border: (1px solid #000000)]
     LayoutBlockFlow {P} at (1,17) size 685x165
@@ -13,28 +13,28 @@
         text run at (0,7) width 642: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
         text run at (0,40) width 670: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex"
         text run at (0,73) width 674: "ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat"
-        text run at (0,106) width 671: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
+        text run at (0,106) width 672: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
         text run at (0,139) width 93: "id est laborum."
     LayoutBlockFlow {P} at (1,230) size 685x165
       LayoutText {#text} at (0,7) size 674x151
         text run at (0,7) width 642: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
         text run at (0,40) width 670: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex"
         text run at (0,73) width 674: "ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat"
-        text run at (0,106) width 671: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
+        text run at (0,106) width 672: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
         text run at (0,139) width 93: "id est laborum."
     LayoutBlockFlow {P} at (1,861) size 685x165
       LayoutText {#text} at (0,7) size 674x151
         text run at (0,7) width 642: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
         text run at (0,40) width 670: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex"
         text run at (0,73) width 674: "ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat"
-        text run at (0,106) width 671: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
+        text run at (0,106) width 672: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
         text run at (0,139) width 93: "id est laborum."
     LayoutBlockFlow {P} at (1,1074) size 685x165
       LayoutText {#text} at (0,7) size 674x151
         text run at (0,7) width 642: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
         text run at (0,40) width 670: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex"
         text run at (0,73) width 674: "ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat"
-        text run at (0,106) width 671: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
+        text run at (0,106) width 672: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
         text run at (0,139) width 93: "id est laborum."
 layer at (19,471) size 602x402 backgroundClip at (19,471) size 602x129 clip at (20,472) size 585x128 scrollHeight 442
   LayoutBlockFlow {DIV} at (11,443) size 602x402 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/overflow-compositing-descendant-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/overflow-compositing-descendant-expected.txt
index 8d77995..0b7a7166 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/overflow-compositing-descendant-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/overflow-compositing-descendant-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 466x19
-          text run at (0,0) width 466: "You should see a green box under the video. If you see red, the test failed."
+        LayoutText {#text} at (0,0) size 465x19
+          text run at (0,0) width 465: "You should see a green box under the video. If you see red, the test failed."
 layer at (8,52) size 132x222 clip at (9,53) size 130x220 scrollHeight 225
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 132x222 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
     LayoutBlockFlow (anonymous) at (11,11) size 110x105
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scaled-mask-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scaled-mask-expected.png
index d01051d..8bff888 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scaled-mask-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scaled-mask-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scaled-mask-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scaled-mask-expected.txt
index c7afb2a3..1915dd9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scaled-mask-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scaled-mask-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 515x19
-          text run at (0,0) width 515: "Testing masks on compositing layers. Top and bottom rows should look the same."
+        LayoutText {#text} at (0,0) size 513x19
+          text run at (0,0) width 513: "Testing masks on compositing layers. Top and bottom rows should look the same."
 layer at (8,52) size 0x0
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 0x0
 layer at (8,52) size 208x208 clip at (12,56) size 200x200 scrollWidth 500 scrollHeight 500
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scroll-ancestor-update-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scroll-ancestor-update-expected.png
index 5d5a44a..46fe34d3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scroll-ancestor-update-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scroll-ancestor-update-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scrollbar-painting-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scrollbar-painting-expected.txt
index d94cf06..88bc438 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scrollbar-painting-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/scrollbar-painting-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x272
     LayoutBlockFlow {BODY} at (8,16) size 784x246
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 475x19
-          text run at (0,0) width 475: "You should see scrollbars on the gray square, and a resizer control below it."
+        LayoutText {#text} at (0,0) size 474x19
+          text run at (0,0) width 474: "You should see scrollbars on the gray square, and a resizer control below it."
 layer at (18,52) size 100x100 clip at (18,52) size 85x85 scrollWidth 500 scrollHeight 500
   LayoutBlockFlow (relative positioned) {DIV} at (10,36) size 100x100
 layer at (18,52) size 500x500 backgroundClip at (18,52) size 85x85 clip at (18,52) size 85x85
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/overlap-blending/reflection-opacity-huge-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/overlap-blending/reflection-opacity-huge-expected.png
index e00a249..8da21f5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/overlap-blending/reflection-opacity-huge-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/overlap-blending/reflection-opacity-huge-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/overlap-blending/reflection-opacity-huge-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/overlap-blending/reflection-opacity-huge-expected.txt
index b8f0e0b..cddfa1d5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/overlap-blending/reflection-opacity-huge-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/overlap-blending/reflection-opacity-huge-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x240
     LayoutBlockFlow {BODY} at (0,0) size 800x240
       LayoutBlockFlow {P} at (0,0) size 800x40
-        LayoutText {#text} at (0,0) size 776x39
-          text run at (0,0) width 776: "Opacity should be applied after reflection, so you should see a green rectangle below. The overlap between the original and"
+        LayoutText {#text} at (0,0) size 775x39
+          text run at (0,0) width 775: "Opacity should be applied after reflection, so you should see a green rectangle below. The overlap between the original and"
           text run at (0,20) width 197: "reflection should not be visible."
 layer at (0,40) size 2150x200 backgroundClip at (0,0) size 800x585 clip at (0,0) size 800x585 transparent
   LayoutBlockFlow (relative positioned) {DIV} at (0,40) size 2150x200 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/animation-inside-reflection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/animation-inside-reflection-expected.png
index ca973d1..54a2b4e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/animation-inside-reflection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/animation-inside-reflection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/compositing-change-inside-reflection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/compositing-change-inside-reflection-expected.png
index 01c2635..71dc7fb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/compositing-change-inside-reflection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/compositing-change-inside-reflection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/compositing-change-inside-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/compositing-change-inside-reflection-expected.txt
index dee57f7..7e569c4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/compositing-change-inside-reflection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/compositing-change-inside-reflection-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 571x19
-          text run at (0,0) width 571: "Test dynamically created compositing layer inside reflection. You should see no red below."
+        LayoutText {#text} at (0,0) size 568x19
+          text run at (0,0) width 568: "Test dynamically created compositing layer inside reflection. You should see no red below."
 layer at (8,52) size 784x0
   LayoutBlockFlow (relative positioned) {DIV} at (0,36) size 784x0
 layer at (19,183) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/load-video-in-reflection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/load-video-in-reflection-expected.png
index 31cc698..c947911 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/load-video-in-reflection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/load-video-in-reflection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/load-video-in-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/load-video-in-reflection-expected.txt
index fd870d0..3b4f65d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/load-video-in-reflection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/load-video-in-reflection-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x353
     LayoutBlockFlow {BODY} at (8,16) size 784x329
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 491x19
-          text run at (0,0) width 491: "You should see a reflected video below, rather than the red video background."
+        LayoutText {#text} at (0,0) size 489x19
+          text run at (0,0) width 489: "You should see a reflected video below, rather than the red video background."
 layer at (8,52) size 300x293
   LayoutBlockFlow {DIV} at (0,36) size 300x293
     LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-expected.txt
index 516e098d..ada19717 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x308
     LayoutBlockFlow {BODY} at (8,16) size 784x272
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 381x19
-          text run at (0,0) width 381: "You should see the original and three copies of the blue box."
+        LayoutText {#text} at (0,0) size 380x19
+          text run at (0,0) width 380: "You should see the original and three copies of the blue box."
 layer at (28,56) size 122x232
   LayoutBlockFlow {DIV} at (20,40) size 122x232 [border: (1px solid #000000)]
 layer at (39,67) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-on-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-on-overflow-expected.txt
index 92c1af3..ea46bc9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-on-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-on-overflow-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x308
     LayoutBlockFlow {BODY} at (8,16) size 784x272
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 448x19
-          text run at (0,0) width 448: "You should see the original and three copies of the green box with text."
+        LayoutText {#text} at (0,0) size 447x19
+          text run at (0,0) width 447: "You should see the original and three copies of the green box with text."
 layer at (28,56) size 122x232
   LayoutBlockFlow {DIV} at (20,40) size 122x232 [border: (1px solid #000000)]
 layer at (39,67) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed-expected.png
index fe2d7d5..cf07b3d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed-expected.txt
index dfb2ccf..6dead8d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x308
     LayoutBlockFlow {BODY} at (8,16) size 784x272
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 548x19
-          text run at (0,0) width 548: "Test transform change on reflected elements. Left and right side should be symmetrical."
+        LayoutText {#text} at (0,0) size 547x19
+          text run at (0,0) width 547: "Test transform change on reflected elements. Left and right side should be symmetrical."
 layer at (28,56) size 122x232
   LayoutBlockFlow {DIV} at (20,40) size 122x232 [border: (1px solid #000000)]
 layer at (39,67) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed2-expected.png
index 29ec3cd2..a1d97b3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed2-expected.txt
index 4896cf002..8f3e157 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/nested-reflection-transformed2-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x328
     LayoutBlockFlow {BODY} at (8,16) size 784x292
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 778x39
-          text run at (0,0) width 778: "Test transform change on reflected elements, with compositing layers larger than render layers. Left and right side should be"
+        LayoutText {#text} at (0,0) size 777x39
+          text run at (0,0) width 777: "Test transform change on reflected elements, with compositing layers larger than render layers. Left and right side should be"
           text run at (0,20) width 80: "symmetrical."
 layer at (28,76) size 122x232
   LayoutBlockFlow {DIV} at (20,60) size 122x232 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-in-composited-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-in-composited-expected.png
index f073f2f..d8c2374 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-in-composited-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-in-composited-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-opacity-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-opacity-expected.png
index c4f4808..5b489fdab 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-opacity-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-opacity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-opacity-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-opacity-expected.txt
index 2a8179c..0b217523 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-opacity-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-opacity-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x180
     LayoutBlockFlow {BODY} at (8,16) size 784x156
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 776x39
-          text run at (0,0) width 776: "Opacity should be applied after reflection, so you should see a green rectangle below. The overlap between the original and"
+        LayoutText {#text} at (0,0) size 775x39
+          text run at (0,0) width 775: "Opacity should be applied after reflection, so you should see a green rectangle below. The overlap between the original and"
           text run at (0,20) width 197: "reflection should not be visible."
 layer at (8,72) size 150x100 transparent
   LayoutBlockFlow (relative positioned) {DIV} at (0,56) size 150x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-ordering-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-ordering-expected.txt
index 4d2a03f..8dfe3466 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-ordering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-ordering-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x196
     LayoutBlockFlow {BODY} at (8,16) size 784x160
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 768x19
-          text run at (0,0) width 768: "You should see a black rectangle divided into two parts; the top part should be taller (reflection should be behind original)."
+        LayoutText {#text} at (0,0) size 767x19
+          text run at (0,0) width 767: "You should see a black rectangle divided into two parts; the top part should be taller (reflection should be behind original)."
 layer at (28,56) size 220x120
   LayoutBlockFlow {DIV} at (20,40) size 220x120 [bgcolor=#FFFFFF] [border: (10px solid #000000)]
     LayoutText {#text} at (67,10) size 86x27
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning-expected.png
index b47dd2126..aa28772 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning-expected.txt
index 963a121..129ef01 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 506x19
-          text run at (0,0) width 506: "Position of reflected layer should update correctly. You should see no red below."
+        LayoutText {#text} at (0,0) size 503x19
+          text run at (0,0) width 503: "Position of reflected layer should update correctly. You should see no red below."
 layer at (20,50) size 150x120
   LayoutBlockFlow (positioned) {DIV} at (20,50) size 150x120
 layer at (46,185) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning2-expected.png
index 6fcb3b6..60e0196a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning2-expected.txt
index b3582d8..9d85e13 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/reflection-positioning2-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 506x19
-          text run at (0,0) width 506: "Position of reflected layer should update correctly. You should see no red below."
+        LayoutText {#text} at (0,0) size 503x19
+          text run at (0,0) width 503: "Position of reflected layer should update correctly. You should see no red below."
 layer at (50,50) size 150x120
   LayoutBlockFlow (positioned) {DIV} at (50,50) size 150x120
 layer at (76,185) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/simple-composited-reflections-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/simple-composited-reflections-expected.png
index 45128c2..b55d25aa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/simple-composited-reflections-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/simple-composited-reflections-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/simple-composited-reflections-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/simple-composited-reflections-expected.txt
index 79e22ae1..dbbc9c5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/simple-composited-reflections-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/simple-composited-reflections-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 580x19
-          text run at (0,0) width 580: "Testing reflections on directly composited images. Left and right sides should look the same."
+        LayoutText {#text} at (0,0) size 579x19
+          text run at (0,0) width 579: "Testing reflections on directly composited images. Left and right sides should look the same."
       LayoutBlockFlow (anonymous) at (0,36) size 784x169
         LayoutText {#text} at (224,149) size 4x19
           text run at (224,149) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/transform-inside-reflection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/transform-inside-reflection-expected.png
index c603bb9..de77933a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/transform-inside-reflection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/transform-inside-reflection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/transform-inside-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/transform-inside-reflection-expected.txt
index dd10ab2..5fd9b1da5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/transform-inside-reflection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/reflections/transform-inside-reflection-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x328
     LayoutBlockFlow {BODY} at (8,16) size 784x292
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 783x39
-          text run at (0,0) width 783: "Transform inside nested reflections should be applied correctly. You should see four rotated green boxes, as mirror images of"
+        LayoutText {#text} at (0,0) size 782x39
+          text run at (0,0) width 782: "Transform inside nested reflections should be applied correctly. You should see four rotated green boxes, as mirror images of"
           text run at (0,20) width 69: "each other."
 layer at (28,76) size 122x232
   LayoutBlockFlow {DIV} at (20,60) size 122x232 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/self-painting-layers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/self-painting-layers-expected.txt
index b1e5e33..1b3ea284 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/self-painting-layers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/self-painting-layers-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x431
     LayoutBlockFlow {BODY} at (8,16) size 784x405
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 325x19
-          text run at (0,0) width 325: "You should not see double text when the div scrolls"
+        LayoutText {#text} at (0,0) size 324x19
+          text run at (0,0) width 324: "You should not see double text when the div scrolls"
       LayoutBlockFlow {DIV} at (10,36) size 302x207 [border: (1px solid #000000)]
         LayoutText {#text} at (0,0) size 0x0
 layer at (19,53) size 300x200
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/sibling-positioning-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/sibling-positioning-expected.png
index e578d37..2906dd21 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/sibling-positioning-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/sibling-positioning-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/text-on-large-layer-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/text-on-large-layer-expected.png
index 5ea38b6..759d9602 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/text-on-large-layer-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/text-on-large-layer-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/text-on-large-layer-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/text-on-large-layer-expected.txt
index 2c76efff..4ca38ef 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/text-on-large-layer-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/text-on-large-layer-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x0
 layer at (3,1) size 2000x10000 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
   LayoutBlockFlow (positioned) {DIV} at (3,1) size 2000x10000
-    LayoutText {#text} at (0,0) size 542x19
-      text run at (0,0) width 542: "This is some text inside a very large composited layer to test that it is rendered sharply."
-    LayoutBR {BR} at (541,0) size 1x19
+    LayoutText {#text} at (0,0) size 541x19
+      text run at (0,0) width 541: "This is some text inside a very large composited layer to test that it is rendered sharply."
+    LayoutBR {BR} at (541,0) size 0x19
     LayoutText {#text} at (0,20) size 212x19
       text run at (0,20) width 212: "The test passes if this text is crisp."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/text-on-scaled-surface-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/text-on-scaled-surface-expected.png
index c6129603..701ce649 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/text-on-scaled-surface-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/text-on-scaled-surface-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/transitions/scale-transition-no-start-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/transitions/scale-transition-no-start-expected.png
index ed9d6db..891bb29 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/transitions/scale-transition-no-start-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/transitions/scale-transition-no-start-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/transitions/singular-scale-transition-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/transitions/singular-scale-transition-expected.png
index 75adb54..51702b4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/transitions/singular-scale-transition-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/transitions/singular-scale-transition-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/video-frame-size-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/video-frame-size-change-expected.png
index 667f5187..4de05e8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/video-frame-size-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/video-frame-size-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/video-frame-size-change-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/video-frame-size-change-expected.txt
index a0940e4..7f058429 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/video-frame-size-change-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/video-frame-size-change-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x245
     LayoutBlockFlow {BODY} at (8,16) size 784x221
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 483x19
-          text run at (0,0) width 483: "Tests decoding and rendering a video element that has a changing resolution."
+        LayoutText {#text} at (0,0) size 482x19
+          text run at (0,0) width 482: "Tests decoding and rendering a video element that has a changing resolution."
       LayoutBlockFlow (anonymous) at (0,36) size 784x185
         LayoutText {#text} at (320,165) size 4x19
           text run at (320,165) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/webgl/webgl-background-color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/compositing/webgl/webgl-background-color-expected.png
index 699ce9af..9e6b46d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/webgl/webgl-background-color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/webgl/webgl-background-color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/webgl/webgl-background-color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/webgl/webgl-background-color-expected.txt
index a2cc0f6..9e99ab41 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/webgl/webgl-background-color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/webgl/webgl-background-color-expected.txt
@@ -7,7 +7,7 @@
       LayoutBlockFlow (anonymous) at (0,220) size 784x245
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,481) size 784x20
-        LayoutText {#text} at (0,0) size 241x19
-          text run at (0,0) width 241: "Top and bottom should look the same."
+        LayoutText {#text} at (0,0) size 240x19
+          text run at (0,0) width 240: "Top and bottom should look the same."
 layer at (28,260) size 240x200
   LayoutHTMLCanvas {CANVAS} at (20,20) size 240x200 [bgcolor=#00008080]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/compositing/webgl/webgl-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/compositing/webgl/webgl-reflection-expected.txt
index a015d95..b74f3bb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/compositing/webgl/webgl-reflection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/compositing/webgl/webgl-reflection-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x309
     LayoutBlockFlow {BODY} at (8,16) size 784x285
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 310x19
-          text run at (0,0) width 310: "You should see a green triangle and its reflection."
+        LayoutText {#text} at (0,0) size 309x19
+          text run at (0,0) width 309: "You should see a green triangle and its reflection."
       LayoutBlockFlow (anonymous) at (0,36) size 784x249
         LayoutText {#text} at (0,0) size 0x0
 layer at (28,72) size 244x204
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/comments-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/comments-expected.txt
index 37d2e51..335f9211 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/comments-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/comments-expected.txt
@@ -65,9 +65,9 @@
         LayoutTableSection {TBODY} at (1,1) size 214x308
           LayoutTableRow {TR} at (0,0) size 214x28
             LayoutTableCell {TD} at (0,0) size 214x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 214x280
             LayoutTableCell {TD} at (0,154) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/containment-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/containment-expected.txt
index 3e77590..74d2d3c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/containment-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/containment-expected.txt
@@ -115,9 +115,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x412
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x384
             LayoutTableCell {TD} at (0,206) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/contextual_selectors-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/contextual_selectors-expected.png
index 97690e2..da76cfee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/contextual_selectors-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/contextual_selectors-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/contextual_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/contextual_selectors-expected.txt
index 0c57862..1c08fbd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/contextual_selectors-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/contextual_selectors-expected.txt
@@ -24,8 +24,8 @@
         LayoutInline {EM} at (0,0) size 36x19 [color=#008000]
           LayoutText {#text} at (559,0) size 36x19
             text run at (559,0) width 36: "green"
-        LayoutText {#text} at (594,0) size 5x19
-          text run at (594,0) width 5: "."
+        LayoutText {#text} at (595,0) size 4x19
+          text run at (595,0) width 4: "."
       LayoutBlockFlow {UL} at (0,203) size 784x40
         LayoutListItem {LI} at (40,0) size 744x40
           LayoutBlockFlow (anonymous) at (0,0) size 744x20
@@ -45,9 +45,9 @@
         LayoutTableSection {TBODY} at (1,1) size 720x163
           LayoutTableRow {TR} at (0,0) size 720x28
             LayoutTableCell {TD} at (0,0) size 720x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 720x135
             LayoutTableCell {TD} at (0,81) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/grouping-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/grouping-expected.png
index 13d7815..777ed03 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/grouping-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/grouping-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/grouping-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/grouping-expected.txt
index 2b6ca6d..9acb5eb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/grouping-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/grouping-expected.txt
@@ -24,9 +24,9 @@
         LayoutTableSection {TBODY} at (1,1) size 214x128
           LayoutTableRow {TR} at (0,0) size 214x28
             LayoutTableCell {TD} at (0,0) size 214x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 214x100
             LayoutTableCell {TD} at (0,64) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/id_as_selector-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/id_as_selector-expected.png
index 967b12a..c5ff3d4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/id_as_selector-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/id_as_selector-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/id_as_selector-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/id_as_selector-expected.txt
index 05ba2d1..e7c37e4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/id_as_selector-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/id_as_selector-expected.txt
@@ -54,9 +54,9 @@
         LayoutTableSection {TBODY} at (1,1) size 420x241
           LayoutTableRow {TR} at (0,0) size 420x28
             LayoutTableCell {TD} at (0,0) size 420x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 420x213
             LayoutTableCell {TD} at (0,120) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/inheritance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/inheritance-expected.png
index f699062..c422a4f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/inheritance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/inheritance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/inheritance-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/inheritance-expected.txt
index 385205e..55a0eac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/inheritance-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/inheritance-expected.txt
@@ -49,8 +49,8 @@
         LayoutInline {EM} at (0,0) size 117x19 [color=#800080]
           LayoutText {#text} at (226,0) size 117x19
             text run at (226,0) width 117: "emphasized words"
-        LayoutText {#text} at (342,0) size 161x19
-          text run at (342,0) width 161: ", which should be purple."
+        LayoutText {#text} at (343,0) size 160x19
+          text run at (343,0) width 160: ", which should be purple."
       LayoutBlockFlow {H3} at (0,305.88) size 784x23 [color=#0000FF]
         LayoutText {#text} at (0,0) size 296x22
           text run at (0,0) width 296: "This should be blue and underlined."
@@ -102,9 +102,9 @@
         LayoutTableSection {TBODY} at (1,1) size 612x294
           LayoutTableRow {TR} at (0,0) size 612x28
             LayoutTableCell {TD} at (0,0) size 612x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 612x266
             LayoutTableCell {TD} at (0,147) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -137,8 +137,8 @@
                 LayoutInline {EM} at (0,0) size 117x19 [color=#800080]
                   LayoutText {#text} at (226,0) size 117x19
                     text run at (226,0) width 117: "emphasized words"
-                LayoutText {#text} at (342,0) size 161x19
-                  text run at (342,0) width 161: ", which should be purple."
+                LayoutText {#text} at (343,0) size 160x19
+                  text run at (343,0) width 160: ", which should be purple."
               LayoutBlockFlow {H3} at (4,128.16) size 592x23 [color=#0000FF]
                 LayoutText {#text} at (0,0) size 296x22
                   text run at (0,0) width 296: "This should be blue and underlined."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/acid_test-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/acid_test-expected.png
index a4c5de28..1d4fa6d4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/acid_test-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/acid_test-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/acid_test-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/acid_test-expected.txt
index 8ae428ec..670a8f6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/acid_test-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/acid_test-expected.txt
@@ -53,16 +53,16 @@
           text run at (0,0) width 473: "This is a nonsensical document, but syntactically valid HTML 4.0. All 100%-conformant CSS1"
           text run at (0,13) width 480: "agents should be able to render the document elements above this paragraph indistinguishably"
           text run at (0,26) width 122: "(to the pixel) from this "
-        LayoutInline {A} at (0,0) size 103x12 [color=#0000EE]
-          LayoutText {#text} at (121,26) size 103x12
-            text run at (121,26) width 103: "reference rendering,"
-        LayoutText {#text} at (223,26) size 474x38
-          text run at (223,26) width 5: " "
-          text run at (227,26) width 247: "(except font rasterization and form widgets). All"
+        LayoutInline {A} at (0,0) size 102x12 [color=#0000EE]
+          LayoutText {#text} at (122,26) size 102x12
+            text run at (122,26) width 102: "reference rendering,"
+        LayoutText {#text} at (224,26) size 474x38
+          text run at (224,26) width 4: " "
+          text run at (228,26) width 246: "(except font rasterization and form widgets). All"
           text run at (0,39) width 449: "discrepancies should be traceable to CSS1 implementation shortcomings. Once you have"
           text run at (0,52) width 259: "finished evaluating this test, you can return to the "
-        LayoutInline {A} at (0,0) size 61x12 [color=#0000EE]
-          LayoutText {#text} at (258,52) size 61x12
-            text run at (258,52) width 61: "parent page"
-        LayoutText {#text} at (318,52) size 5x12
-          text run at (318,52) width 5: "."
+        LayoutInline {A} at (0,0) size 60x12 [color=#0000EE]
+          LayoutText {#text} at (259,52) size 60x12
+            text run at (259,52) width 60: "parent page"
+        LayoutText {#text} at (319,52) size 4x12
+          text run at (319,52) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border-expected.png
index 72a9bb5..0b1b2d58 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border-expected.txt
index 088e98e..0ac5aa0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border-expected.txt
@@ -49,8 +49,8 @@
         LayoutInline {TT} at (0,0) size 96x16
           LayoutText {#text} at (348,3) size 96x16
             text run at (348,3) width 96: "border-style"
-        LayoutText {#text} at (444,0) size 322x19
-          text run at (444,0) width 322: " was not set, and it should not be offset in any way."
+        LayoutText {#text} at (444,0) size 321x19
+          text run at (444,0) width 321: " was not set, and it should not be offset in any way."
       LayoutBlockFlow {P} at (0,495) size 769x46 [border: (3px double #800000)]
         LayoutText {#text} at (3,3) size 535x19
           text run at (3,3) width 535: "This paragraph should have a medium maroon double border around it, even though "
@@ -69,17 +69,17 @@
             text run at (0,0) width 25: "The"
         LayoutText {#text} at (25,0) size 715x19
           text run at (25,0) width 715: " following image is also an anchor which points to a target on this page, but it should not have a border around it: "
-        LayoutInline {A} at (0,0) size 16x19 [color=#0000FF]
-          LayoutImage {IMG} at (739.70,0) size 15x15
-        LayoutText {#text} at (754,0) size 5x19
-          text run at (754,0) width 5: "."
+        LayoutInline {A} at (0,0) size 15x19 [color=#0000FF]
+          LayoutImage {IMG} at (740,0) size 15x15
+        LayoutText {#text} at (755,0) size 4x19
+          text run at (755,0) width 4: "."
       LayoutTable {TABLE} at (0,629) size 769x121 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x119
           LayoutTableRow {TR} at (0,5) size 767x46
             LayoutTableCell {TD} at (5,5) size 757x46 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
               LayoutText {#text} at (3,3) size 711x39
                 text run at (3,3) width 405: "Every cell in this table should have a 2-pixel solid green border. "
-                text run at (407,3) width 307: "This is also true of the table-testing section in the"
+                text run at (408,3) width 306: "This is also true of the table-testing section in the"
                 text run at (3,23) width 175: "second half of the test page."
           LayoutTableRow {TR} at (0,56) size 767x58
             LayoutTableCell {TD} at (5,72) size 194x26 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
@@ -102,9 +102,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x655
           LayoutTableRow {TR} at (0,0) size 767x30
             LayoutTableCell {TD} at (0,0) size 767x30 [bgcolor=#C0C0C0] [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (5,5) size 161x19
-                  text run at (5,5) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (5,5) size 159x19
+                  text run at (5,5) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,30) size 767x625
             LayoutTableCell {TD} at (0,327) size 14x30 [bgcolor=#C0C0C0] [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (5,5) size 4x19
@@ -135,7 +135,7 @@
                     text run at (348,3) width 96: "border-style"
                 LayoutText {#text} at (444,0) size 732x39
                   text run at (444,0) width 288: " was not set, and it should not be offset in any"
-                  text run at (0,20) width 30: "way."
+                  text run at (0,20) width 29: "way."
               LayoutBlockFlow {P} at (5,309) size 743x46 [border: (3px double #800000)]
                 LayoutText {#text} at (3,3) size 535x19
                   text run at (3,3) width 535: "This paragraph should have a medium maroon double border around it, even though "
@@ -164,7 +164,7 @@
                     LayoutTableCell {TD} at (5,5) size 731x46 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
                       LayoutText {#text} at (3,3) size 711x39
                         text run at (3,3) width 405: "Every cell in this table should have a 2-pixel solid green border. "
-                        text run at (407,3) width 307: "This is also true of the table-testing section in the"
+                        text run at (408,3) width 306: "This is also true of the table-testing section in the"
                         text run at (3,23) width 175: "second half of the test page."
                   LayoutTableRow {TR} at (0,56) size 741x58
                     LayoutTableCell {TD} at (5,72) size 187x26 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom-expected.png
index d27a587..5897df28 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom-expected.txt
index e44fb27..6330958 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom-expected.txt
@@ -33,7 +33,7 @@
             LayoutTableCell {TD} at (5,5) size 757x45 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               LayoutText {#text} at (2,2) size 736x39
                 text run at (2,2) width 453: "Every cell in this table should have a 2-pixel solid green bottom border. "
-                text run at (454,2) width 284: "This is also true of the table-testing section in"
+                text run at (455,2) width 283: "This is also true of the table-testing section in"
                 text run at (2,22) width 198: "the second half of the test page."
           LayoutTableRow {TR} at (0,55) size 767x56
             LayoutTableCell {TD} at (5,70) size 192x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
@@ -86,9 +86,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x476
           LayoutTableRow {TR} at (0,0) size 767x29
             LayoutTableCell {TD} at (0,0) size 767x29 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,29) size 767x447
             LayoutTableCell {TD} at (0,238) size 12x29 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -111,7 +111,7 @@
                     LayoutTableCell {TD} at (5,5) size 735x45 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
                       LayoutText {#text} at (2,2) size 720x39
                         text run at (2,2) width 453: "Every cell in this table should have a 2-pixel solid green bottom border. "
-                        text run at (454,2) width 268: "This is also true of the table-testing section"
+                        text run at (455,2) width 267: "This is also true of the table-testing section"
                         text run at (2,22) width 214: "in the second half of the test page."
                   LayoutTableRow {TR} at (0,55) size 745x56
                     LayoutTableCell {TD} at (5,70) size 186x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_inline-expected.png
index 3bc2598..f0d68ddd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_inline-expected.txt
index 46324cd2..57e6b47 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_inline-expected.txt
@@ -16,11 +16,11 @@
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 666x19
           text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
-        LayoutInline {SPAN} at (0,0) size 58x29 [border: none (10px double #800080) none]
-          LayoutText {#text} at (665,0) size 58x19
-            text run at (665,0) width 58: "class one"
-        LayoutText {#text} at (722,0) size 770x39
-          text run at (722,0) width 48: ", which"
+        LayoutInline {SPAN} at (0,0) size 57x29 [border: none (10px double #800080) none]
+          LayoutText {#text} at (666,0) size 57x19
+            text run at (666,0) width 57: "class one"
+        LayoutText {#text} at (723,0) size 770x39
+          text run at (723,0) width 47: ", which"
           text run at (0,20) width 362: "should have a 10-pixel purple double bottom border; and "
         LayoutInline {SPAN} at (0,0) size 58x20 [border: none (1px solid #800080) none]
           LayoutText {#text} at (362,20) size 58x19
@@ -32,9 +32,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x96
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x68
             LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -43,11 +43,11 @@
               LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 666x19
                   text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
-                LayoutInline {SPAN} at (0,0) size 58x29 [border: none (10px double #800080) none]
-                  LayoutText {#text} at (665,0) size 58x19
-                    text run at (665,0) width 58: "class one"
-                LayoutText {#text} at (722,0) size 727x39
-                  text run at (722,0) width 5: ","
+                LayoutInline {SPAN} at (0,0) size 57x29 [border: none (10px double #800080) none]
+                  LayoutText {#text} at (666,0) size 57x19
+                    text run at (666,0) width 57: "class one"
+                LayoutText {#text} at (723,0) size 727x39
+                  text run at (723,0) width 4: ","
                   text run at (0,20) width 405: "which should have a 10-pixel purple double bottom border; and "
                 LayoutInline {SPAN} at (0,0) size 58x20 [border: none (1px solid #800080) none]
                   LayoutText {#text} at (405,20) size 58x19
@@ -55,6 +55,6 @@
                 LayoutText {#text} at (463,20) size 755x39
                   text run at (463,20) width 292: ", which should have a thin solid purple bottom"
                   text run at (0,40) width 49: "border. "
-                  text run at (48,40) width 430: "The line-height of the parent element should not change on any line."
+                  text run at (49,40) width 429: "The line-height of the parent element should not change on any line."
 layer at (8,105) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width-expected.png
index 26248fd0..0a11b1a0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width-expected.txt
index 46eecd0..cce0c7e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width-expected.txt
@@ -58,9 +58,9 @@
         LayoutTableSection {TBODY} at (1,1) size 707x379
           LayoutTableRow {TR} at (0,0) size 707x28
             LayoutTableCell {TD} at (0,0) size 707x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 707x351
             LayoutTableCell {TD} at (0,189) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width_inline-expected.png
index 4e61d83e..4fbe51d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width_inline-expected.txt
index aaa790c..6db4346 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width_inline-expected.txt
@@ -23,14 +23,14 @@
         LayoutText {#text} at (199,3) size 162x19
           text run at (199,3) width 8: ". "
           text run at (207,3) width 154: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 174x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
-          LayoutText {#text} at (363,3) size 144x19
-            text run at (363,3) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (506,6) size 25x16
-              text run at (506,6) width 25: "two"
-        LayoutText {#text} at (533,3) size 767x59
-          text run at (533,3) width 221: ", which should result in a thin solid"
+        LayoutInline {SPAN} at (0,0) size 173x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (364,3) size 143x19
+            text run at (364,3) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (507,6) size 24x16
+              text run at (507,6) width 24: "two"
+        LayoutText {#text} at (534,3) size 767x59
+          text run at (534,3) width 220: ", which should result in a thin solid"
           text run at (3,23) width 716: "border on the bottom side of each box in the inline element (and the UA's default border on the other three sides). "
           text run at (719,23) width 51: "There is"
           text run at (3,43) width 48: "also an "
@@ -47,9 +47,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x144
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x116
             LayoutTableCell {TD} at (0,72) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -64,14 +64,14 @@
                 LayoutText {#text} at (199,3) size 162x19
                   text run at (199,3) width 8: ". "
                   text run at (207,3) width 154: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 174x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
-                  LayoutText {#text} at (363,3) size 144x19
-                    text run at (363,3) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (506,6) size 25x16
-                      text run at (506,6) width 25: "two"
-                LayoutText {#text} at (533,3) size 753x59
-                  text run at (533,3) width 221: ", which should result in a thin solid"
+                LayoutInline {SPAN} at (0,0) size 173x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                  LayoutText {#text} at (364,3) size 143x19
+                    text run at (364,3) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (507,6) size 24x16
+                      text run at (507,6) width 24: "two"
+                LayoutText {#text} at (534,3) size 753x59
+                  text run at (534,3) width 220: ", which should result in a thin solid"
                   text run at (3,23) width 716: "border on the bottom side of each box in the inline element (and the UA's default border on the other three sides). "
                   text run at (719,23) width 37: "There"
                   text run at (3,43) width 62: "is also an "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color-expected.png
index bdfef32a1..10fdfcd7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color-expected.txt
index 0a59aac0..a99f7ae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color-expected.txt
@@ -28,9 +28,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x166
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x138
             LayoutTableCell {TD} at (0,83) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color_inline-expected.png
index c1275a3..0552264 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color_inline-expected.txt
index 28bc9a3..616a4c8d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color_inline-expected.txt
@@ -17,14 +17,14 @@
       LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 677x19
           text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
-        LayoutInline {SPAN} at (0,0) size 64x25 [border: (3px solid #800080)]
-          LayoutText {#text} at (679,0) size 58x19
-            text run at (679,0) width 58: "class one"
-        LayoutText {#text} at (739,0) size 9x19
-          text run at (739,0) width 9: ", "
+        LayoutInline {SPAN} at (0,0) size 63x25 [border: (3px solid #800080)]
+          LayoutText {#text} at (680,0) size 57x19
+            text run at (680,0) width 57: "class one"
+        LayoutText {#text} at (740,0) size 8x19
+          text run at (740,0) width 8: ", "
         LayoutInline {SPAN} at (0,0) size 781x45 [border: (3px solid #800080)]
-          LayoutText {#text} at (750,0) size 781x39
-            text run at (750,0) width 31: "class"
+          LayoutText {#text} at (751,0) size 781x39
+            text run at (751,0) width 30: "class"
             text run at (0,20) width 24: "two"
         LayoutText {#text} at (27,20) size 35x19
           text run at (27,20) width 35: ", and "
@@ -41,9 +41,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x116
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x88
             LayoutTableCell {TD} at (0,58) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -52,11 +52,11 @@
               LayoutBlockFlow {P} at (4,4) size 762x80 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 677x19
                   text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
-                LayoutInline {SPAN} at (0,0) size 64x25 [border: (3px solid #800080)]
-                  LayoutText {#text} at (679,0) size 58x19
-                    text run at (679,0) width 58: "class one"
-                LayoutText {#text} at (739,0) size 5x19
-                  text run at (739,0) width 5: ","
+                LayoutInline {SPAN} at (0,0) size 63x25 [border: (3px solid #800080)]
+                  LayoutText {#text} at (680,0) size 57x19
+                    text run at (680,0) width 57: "class one"
+                LayoutText {#text} at (740,0) size 4x19
+                  text run at (740,0) width 4: ","
                 LayoutInline {SPAN} at (0,0) size 64x25 [border: (3px solid #800080)]
                   LayoutText {#text} at (3,20) size 58x19
                     text run at (3,20) width 58: "class two"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_inline-expected.png
index 69627cc..f4191ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_inline-expected.txt
index 9e6aee4..c5a1621 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_inline-expected.txt
@@ -16,11 +16,11 @@
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 677x19
           text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
-        LayoutInline {SPAN} at (0,0) size 78x39 [border: (10px outset #008080)]
-          LayoutText {#text} at (686,0) size 58x19
-            text run at (686,0) width 58: "class one"
-        LayoutText {#text} at (753,0) size 758x39
-          text run at (753,0) width 5: ","
+        LayoutInline {SPAN} at (0,0) size 77x39 [border: (10px outset #008080)]
+          LayoutText {#text} at (687,0) size 57x19
+            text run at (687,0) width 57: "class one"
+        LayoutText {#text} at (754,0) size 758x39
+          text run at (754,0) width 4: ","
           text run at (0,20) width 353: "which should result in a 10-pixel outset teal border; and "
         LayoutInline {SPAN} at (0,0) size 78x39 [border: (10px inset #808000)]
           LayoutText {#text} at (363,20) size 58x19
@@ -32,9 +32,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x96
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x68
             LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -43,11 +43,11 @@
               LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 677x19
                   text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
-                LayoutInline {SPAN} at (0,0) size 78x39 [border: (10px outset #008080)]
-                  LayoutText {#text} at (686,0) size 58x19
-                    text run at (686,0) width 58: "class one"
-                LayoutText {#text} at (753,0) size 758x39
-                  text run at (753,0) width 5: ","
+                LayoutInline {SPAN} at (0,0) size 77x39 [border: (10px outset #008080)]
+                  LayoutText {#text} at (687,0) size 57x19
+                    text run at (687,0) width 57: "class one"
+                LayoutText {#text} at (754,0) size 758x39
+                  text run at (754,0) width 4: ","
                   text run at (0,20) width 353: "which should result in a 10-pixel outset teal border; and "
                 LayoutInline {SPAN} at (0,0) size 78x39 [border: (10px inset #808000)]
                   LayoutText {#text} at (363,20) size 58x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left-expected.png
index eca0a7f..abeb9f3b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left-expected.txt
index e8bd419..fa1595f1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left-expected.txt
@@ -39,7 +39,7 @@
             LayoutTableCell {TD} at (5,5) size 757x44 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
               LayoutText {#text} at (3,2) size 735x39
                 text run at (3,2) width 429: "Every cell in this table should have a 2-pixel solid green left border. "
-                text run at (431,2) width 307: "This is also true of the table-testing section in the"
+                text run at (432,2) width 306: "This is also true of the table-testing section in the"
                 text run at (3,22) width 175: "second half of the test page."
           LayoutTableRow {TR} at (0,54) size 767x54
             LayoutTableCell {TD} at (5,69) size 193x24 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
@@ -89,9 +89,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x471
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (5,4) size 161x19
-                  text run at (5,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (5,4) size 159x19
+                  text run at (5,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x443
             LayoutTableCell {TD} at (0,235) size 13x28 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (5,4) size 4x19
@@ -114,7 +114,7 @@
                     LayoutTableCell {TD} at (5,5) size 733x44 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
                       LayoutText {#text} at (3,2) size 712x39
                         text run at (3,2) width 429: "Every cell in this table should have a 2-pixel solid green left border. "
-                        text run at (431,2) width 284: "This is also true of the table-testing section in"
+                        text run at (432,2) width 283: "This is also true of the table-testing section in"
                         text run at (3,22) width 198: "the second half of the test page."
                   LayoutTableRow {TR} at (0,54) size 743x54
                     LayoutTableCell {TD} at (5,69) size 187x24 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_inline-expected.png
index a229c84..ce9c537 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_inline-expected.txt
index 2ba28bc1..98ca969 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_inline-expected.txt
@@ -29,14 +29,14 @@
         LayoutText {#text} at (515,20) size 759x39
           text run at (515,20) width 244: ", which should have a thin solid purple"
           text run at (0,40) width 73: "left border. "
-          text run at (72,40) width 430: "The line-height of the parent element should not change on any line."
+          text run at (73,40) width 429: "The line-height of the parent element should not change on any line."
       LayoutTable {TABLE} at (0,207) size 784x98 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x96
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x68
             LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -57,6 +57,6 @@
                 LayoutText {#text} at (579,20) size 717x39
                   text run at (579,20) width 138: ", which should have a"
                   text run at (0,40) width 179: "thin solid purple left border. "
-                  text run at (178,40) width 430: "The line-height of the parent element should not change on any line."
+                  text run at (179,40) width 429: "The line-height of the parent element should not change on any line."
 layer at (8,121) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width-expected.png
index 0b1197a..e7861b1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width-expected.txt
index c86cbcfa..1f17ce29 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width-expected.txt
@@ -57,9 +57,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x376
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x348
             LayoutTableCell {TD} at (0,188) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width_inline-expected.png
index 29c5264c..09405b1b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width_inline-expected.txt
index 289bb38..700a685 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width_inline-expected.txt
@@ -23,14 +23,14 @@
         LayoutText {#text} at (221,3) size 162x19
           text run at (221,3) width 8: ". "
           text run at (229,3) width 154: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 172x25 [border: (3px solid #000000) (1px solid #000000)]
-          LayoutText {#text} at (383,3) size 144x19
-            text run at (383,3) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (526,6) size 25x16
-              text run at (526,6) width 25: "two"
-        LayoutText {#text} at (553,3) size 749x39
-          text run at (553,3) width 221: ", which should result in a thin solid"
+        LayoutInline {SPAN} at (0,0) size 171x25 [border: (3px solid #000000) (1px solid #000000)]
+          LayoutText {#text} at (384,3) size 143x19
+            text run at (384,3) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (527,6) size 24x16
+              text run at (527,6) width 24: "two"
+        LayoutText {#text} at (554,3) size 749x39
+          text run at (554,3) width 220: ", which should result in a thin solid"
           text run at (25,23) width 181: "border on the left side of the "
         LayoutInline {STRONG} at (0,0) size 27x19
           LayoutText {#text} at (206,23) size 27x19
@@ -52,9 +52,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x122
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x94
             LayoutTableCell {TD} at (0,61) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -69,14 +69,14 @@
                 LayoutText {#text} at (221,3) size 162x19
                   text run at (221,3) width 8: ". "
                   text run at (229,3) width 154: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 172x25 [border: (3px solid #000000) (1px solid #000000)]
-                  LayoutText {#text} at (383,3) size 144x19
-                    text run at (383,3) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (526,6) size 25x16
-                      text run at (526,6) width 25: "two"
-                LayoutText {#text} at (553,3) size 715x39
-                  text run at (553,3) width 187: ", which should result in a thin"
+                LayoutInline {SPAN} at (0,0) size 171x25 [border: (3px solid #000000) (1px solid #000000)]
+                  LayoutText {#text} at (384,3) size 143x19
+                    text run at (384,3) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (527,6) size 24x16
+                      text run at (527,6) width 24: "two"
+                LayoutText {#text} at (554,3) size 715x39
+                  text run at (554,3) width 186: ", which should result in a thin"
                   text run at (25,23) width 215: "solid border on the left side of the "
                 LayoutInline {STRONG} at (0,0) size 27x19
                   LayoutText {#text} at (240,23) size 27x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right-expected.png
index ba4205aa..6e7a625 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right-expected.txt
index 550508a9..c78691d0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right-expected.txt
@@ -30,14 +30,14 @@
         LayoutText {#text} at (541,20) size 741x39
           text run at (541,20) width 200: ", which should have a thin solid"
           text run at (0,40) width 126: "purple right border. "
-          text run at (125,40) width 430: "The line-height of the parent element should not change on any line."
+          text run at (126,40) width 429: "The line-height of the parent element should not change on any line."
       LayoutTable {TABLE} at (0,207) size 784x98 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x96
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x68
             LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -58,6 +58,6 @@
                 LayoutText {#text} at (588,20) size 726x39
                   text run at (588,20) width 138: ", which should have a"
                   text run at (0,40) width 188: "thin solid purple right border. "
-                  text run at (187,40) width 430: "The line-height of the parent element should not change on any line."
+                  text run at (188,40) width 429: "The line-height of the parent element should not change on any line."
 layer at (8,121) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_inline-expected.png
index ce1af30d6..bbd6792 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_inline-expected.txt
index e6faca3..9872537 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_inline-expected.txt
@@ -39,7 +39,7 @@
             LayoutTableCell {TD} at (5,5) size 757x44 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               LayoutText {#text} at (2,2) size 744x39
                 text run at (2,2) width 438: "Every cell in this table should have a 2-pixel solid green right border. "
-                text run at (439,2) width 307: "This is also true of the table-testing section in the"
+                text run at (440,2) width 306: "This is also true of the table-testing section in the"
                 text run at (2,22) width 175: "second half of the test page."
           LayoutTableRow {TR} at (0,54) size 767x54
             LayoutTableCell {TD} at (5,69) size 193x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
@@ -85,14 +85,14 @@
             text run at (0,20) width 704: "The first item's border should travel the entire height the nested list (to end near the baseline of the line \"...nested"
             text run at (0,40) width 538: "within the list item.\"), even though the nested list does not have any border styles set. "
             text run at (538,40) width 169: "The borders should line up"
-            text run at (0,60) width 620: "together at the right edge of the document's body, as each list element has a default width of 100%."
+            text run at (0,60) width 619: "together at the right edge of the document's body, as each list element has a default width of 100%."
       LayoutTable {TABLE} at (0,634) size 769x513 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x511
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x483
             LayoutTableCell {TD} at (0,255) size 13x28 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -115,7 +115,7 @@
                     LayoutTableCell {TD} at (5,5) size 733x44 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
                       LayoutText {#text} at (2,2) size 721x39
                         text run at (2,2) width 438: "Every cell in this table should have a 2-pixel solid green right border. "
-                        text run at (439,2) width 284: "This is also true of the table-testing section in"
+                        text run at (440,2) width 283: "This is also true of the table-testing section in"
                         text run at (2,22) width 198: "the second half of the test page."
                   LayoutTableRow {TR} at (0,54) size 743x54
                     LayoutTableCell {TD} at (5,69) size 186x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
@@ -161,7 +161,7 @@
                     text run at (0,20) width 641: "The first item's border should travel the entire height the nested list (to end near the baseline of the line"
                     text run at (0,40) width 601: "\"...nested within the list item.\"), even though the nested list does not have any border styles set. "
                     text run at (601,40) width 76: "The borders"
-                    text run at (0,60) width 668: "should line up together at the right edge of the document's body, as each list element has a default width of"
+                    text run at (0,60) width 667: "should line up together at the right edge of the document's body, as each list element has a default width of"
                     text run at (0,80) width 41: "100%."
 layer at (8,169) size 769x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width-expected.png
index 18fc7139..d9d3ddc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width-expected.txt
index d2aa7db..e9d10d5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width-expected.txt
@@ -58,9 +58,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x376
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x348
             LayoutTableCell {TD} at (0,188) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width_inline-expected.png
index 5a74601ad..2cc87866 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width_inline-expected.txt
index bb033458..389385a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width_inline-expected.txt
@@ -23,14 +23,14 @@
         LayoutText {#text} at (199,3) size 162x19
           text run at (199,3) width 8: ". "
           text run at (207,3) width 154: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 172x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
-          LayoutText {#text} at (363,3) size 144x19
-            text run at (363,3) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (506,6) size 25x16
-              text run at (506,6) width 25: "two"
-        LayoutText {#text} at (531,3) size 749x39
-          text run at (531,3) width 221: ", which should result in a thin solid"
+        LayoutInline {SPAN} at (0,0) size 171x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (364,3) size 143x19
+            text run at (364,3) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (507,6) size 24x16
+              text run at (507,6) width 24: "two"
+        LayoutText {#text} at (532,3) size 749x39
+          text run at (532,3) width 220: ", which should result in a thin solid"
           text run at (3,23) width 190: "border on the right side of the "
         LayoutInline {STRONG} at (0,0) size 23x19
           LayoutText {#text} at (193,23) size 23x19
@@ -52,9 +52,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x122
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x94
             LayoutTableCell {TD} at (0,61) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -69,14 +69,14 @@
                 LayoutText {#text} at (199,3) size 162x19
                   text run at (199,3) width 8: ". "
                   text run at (207,3) width 154: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 172x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
-                  LayoutText {#text} at (363,3) size 144x19
-                    text run at (363,3) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (506,6) size 25x16
-                      text run at (506,6) width 25: "two"
-                LayoutText {#text} at (531,3) size 715x39
-                  text run at (531,3) width 187: ", which should result in a thin"
+                LayoutInline {SPAN} at (0,0) size 171x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                  LayoutText {#text} at (364,3) size 143x19
+                    text run at (364,3) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (507,6) size 24x16
+                      text run at (507,6) width 24: "two"
+                LayoutText {#text} at (532,3) size 715x39
+                  text run at (532,3) width 186: ", which should result in a thin"
                   text run at (3,23) width 224: "solid border on the right side of the "
                 LayoutInline {STRONG} at (0,0) size 23x19
                   LayoutText {#text} at (227,23) size 23x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style-expected.txt
index bfd7463..4fc5fdf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style-expected.txt
@@ -64,7 +64,7 @@
       LayoutBlockFlow {P} at (0,693) size 769x50 [border: (5px double #800080) (5px groove #800080) (5px ridge #800080) (5px inset #800080)]
         LayoutText {#text} at (5,5) size 727x39
           text run at (5,5) width 702: "This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border. "
-          text run at (706,5) width 26: "The"
+          text run at (707,5) width 25: "The"
           text run at (5,25) width 306: "color of all four sides should be based on purple."
       LayoutBlockFlow {P} at (0,759) size 769x20
         LayoutText {#text} at (0,0) size 278x19
@@ -73,9 +73,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x556
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x528
             LayoutTableCell {TD} at (0,278) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -113,7 +113,7 @@
               LayoutBlockFlow {P} at (4,438) size 747x50 [border: (5px double #800080) (5px groove #800080) (5px ridge #800080) (5px inset #800080)]
                 LayoutText {#text} at (5,5) size 727x39
                   text run at (5,5) width 702: "This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border. "
-                  text run at (706,5) width 26: "The"
+                  text run at (707,5) width 25: "The"
                   text run at (5,25) width 306: "color of all four sides should be based on purple."
               LayoutBlockFlow {P} at (4,504) size 747x20
                 LayoutText {#text} at (0,0) size 278x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style_inline-expected.png
index 08c3d1f..4c8567e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style_inline-expected.txt
index 8ff3921f..5dfc6526 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style_inline-expected.txt
@@ -17,31 +17,31 @@
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 664x19
           text run at (0,0) width 664: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
-        LayoutInline {SPAN} at (0,0) size 68x29 [border: (5px dashed #000000)]
-          LayoutText {#text} at (668,0) size 58x19
-            text run at (668,0) width 58: "class one"
-        LayoutText {#text} at (730,0) size 778x39
-          text run at (730,0) width 48: ", which"
+        LayoutInline {SPAN} at (0,0) size 67x29 [border: (5px dashed #000000)]
+          LayoutText {#text} at (669,0) size 57x19
+            text run at (669,0) width 57: "class one"
+        LayoutText {#text} at (731,0) size 778x39
+          text run at (731,0) width 47: ", which"
           text run at (0,20) width 263: "will result in a dashed thick black border; "
         LayoutInline {SPAN} at (0,0) size 68x29 [border: (5px groove #FF0000)]
           LayoutText {#text} at (268,20) size 58x19
             text run at (268,20) width 58: "class two"
         LayoutText {#text} at (331,20) size 373x19
           text run at (331,20) width 373: ", which should result in a grooved thick purple border, and "
-        LayoutInline {SPAN} at (0,0) size 66x19
-          LayoutText {#text} at (703,20) size 66x19
-            text run at (703,20) width 66: "class three"
-        LayoutText {#text} at (768,20) size 773x39
-          text run at (768,20) width 5: ","
+        LayoutInline {SPAN} at (0,0) size 65x19
+          LayoutText {#text} at (704,20) size 65x19
+            text run at (704,20) width 65: "class three"
+        LayoutText {#text} at (769,20) size 773x39
+          text run at (769,20) width 4: ","
           text run at (0,40) width 246: "which should result in no border at all. "
           text run at (246,40) width 433: "The line-height of the parent element should not change, on any line."
       LayoutTable {TABLE} at (0,191) size 784x98 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x96
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x68
             LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -50,11 +50,11 @@
               LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 664x19
                   text run at (0,0) width 664: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
-                LayoutInline {SPAN} at (0,0) size 68x29 [border: (5px dashed #000000)]
-                  LayoutText {#text} at (668,0) size 58x19
-                    text run at (668,0) width 58: "class one"
-                LayoutText {#text} at (730,0) size 735x39
-                  text run at (730,0) width 5: ","
+                LayoutInline {SPAN} at (0,0) size 67x29 [border: (5px dashed #000000)]
+                  LayoutText {#text} at (669,0) size 57x19
+                    text run at (669,0) width 57: "class one"
+                LayoutText {#text} at (731,0) size 735x39
+                  text run at (731,0) width 4: ","
                   text run at (0,20) width 306: "which will result in a dashed thick black border; "
                 LayoutInline {SPAN} at (0,0) size 68x29 [border: (5px groove #FF0000)]
                   LayoutText {#text} at (311,20) size 58x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top-expected.png
index f06c5ff..55a2817 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top-expected.txt
index 4bcea375..620c3fc6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top-expected.txt
@@ -33,7 +33,7 @@
             LayoutTableCell {TD} at (5,5) size 757x45 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
               LayoutText {#text} at (2,3) size 735x39
                 text run at (2,3) width 429: "Every cell in this table should have a 2-pixel solid green top border. "
-                text run at (430,3) width 307: "This is also true of the table-testing section in the"
+                text run at (431,3) width 306: "This is also true of the table-testing section in the"
                 text run at (2,23) width 175: "second half of the test page."
           LayoutTableRow {TR} at (0,55) size 767x56
             LayoutTableCell {TD} at (5,70) size 192x25 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
@@ -80,9 +80,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x456
           LayoutTableRow {TR} at (0,0) size 767x29
             LayoutTableCell {TD} at (0,0) size 767x29 [bgcolor=#C0C0C0] [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,5) size 161x19
-                  text run at (4,5) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,5) size 159x19
+                  text run at (4,5) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,29) size 767x427
             LayoutTableCell {TD} at (0,228) size 12x29 [bgcolor=#C0C0C0] [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,5) size 4x19
@@ -105,7 +105,7 @@
                     LayoutTableCell {TD} at (5,5) size 735x45 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
                       LayoutText {#text} at (2,3) size 712x39
                         text run at (2,3) width 429: "Every cell in this table should have a 2-pixel solid green top border. "
-                        text run at (430,3) width 284: "This is also true of the table-testing section in"
+                        text run at (431,3) width 283: "This is also true of the table-testing section in"
                         text run at (2,23) width 198: "the second half of the test page."
                   LayoutTableRow {TR} at (0,55) size 745x56
                     LayoutTableCell {TD} at (5,70) size 187x25 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_inline-expected.png
index 2324fb74..ae499fe2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_inline-expected.txt
index 65b75a3..8191406 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_inline-expected.txt
@@ -16,26 +16,26 @@
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 666x19
           text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
-        LayoutInline {SPAN} at (0,0) size 58x29 [border: (10px double #800080) none]
-          LayoutText {#text} at (665,0) size 58x19
-            text run at (665,0) width 58: "class one"
-        LayoutText {#text} at (722,0) size 770x39
-          text run at (722,0) width 48: ", which"
+        LayoutInline {SPAN} at (0,0) size 57x29 [border: (10px double #800080) none]
+          LayoutText {#text} at (666,0) size 57x19
+            text run at (666,0) width 57: "class one"
+        LayoutText {#text} at (723,0) size 770x39
+          text run at (723,0) width 47: ", which"
           text run at (0,20) width 338: "should have a 10-pixel purple double top border; and "
         LayoutInline {SPAN} at (0,0) size 58x20 [border: (1px solid #800080) none]
           LayoutText {#text} at (338,20) size 58x19
             text run at (338,20) width 58: "class two"
         LayoutText {#text} at (396,20) size 774x39
           text run at (396,20) width 321: ", which should have a thin solid purple top border. "
-          text run at (716,20) width 58: "The line-"
+          text run at (717,20) width 57: "The line-"
           text run at (0,40) width 372: "height of the parent element should not change on any line."
       LayoutTable {TABLE} at (0,191) size 784x98 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x96
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x68
             LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -44,11 +44,11 @@
               LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 666x19
                   text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
-                LayoutInline {SPAN} at (0,0) size 58x29 [border: (10px double #800080) none]
-                  LayoutText {#text} at (665,0) size 58x19
-                    text run at (665,0) width 58: "class one"
-                LayoutText {#text} at (722,0) size 727x39
-                  text run at (722,0) width 5: ","
+                LayoutInline {SPAN} at (0,0) size 57x29 [border: (10px double #800080) none]
+                  LayoutText {#text} at (666,0) size 57x19
+                    text run at (666,0) width 57: "class one"
+                LayoutText {#text} at (723,0) size 727x39
+                  text run at (723,0) width 4: ","
                   text run at (0,20) width 381: "which should have a 10-pixel purple double top border; and "
                 LayoutInline {SPAN} at (0,0) size 58x20 [border: (1px solid #800080) none]
                   LayoutText {#text} at (381,20) size 58x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width-expected.png
index b263abe4..14639444 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width-expected.txt
index 6b05407..fa8bd0ed 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width-expected.txt
@@ -55,9 +55,9 @@
         LayoutTableSection {TBODY} at (1,1) size 697x318
           LayoutTableRow {TR} at (0,0) size 697x28
             LayoutTableCell {TD} at (0,0) size 697x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 697x290
             LayoutTableCell {TD} at (0,159) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width_inline-expected.png
index 6e896ab..9e93194b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width_inline-expected.txt
index 62c8bdd4..2f843d3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width_inline-expected.txt
@@ -23,14 +23,14 @@
         LayoutText {#text} at (199,25) size 162x19
           text run at (199,25) width 8: ". "
           text run at (207,25) width 154: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 174x23 [border: (1px solid #000000) (3px solid #000000)]
-          LayoutText {#text} at (363,25) size 144x19
-            text run at (363,25) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (506,28) size 25x16
-              text run at (506,28) width 25: "two"
-        LayoutText {#text} at (533,25) size 772x59
-          text run at (533,25) width 221: ", which should result in a thin solid"
+        LayoutInline {SPAN} at (0,0) size 173x23 [border: (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (364,25) size 143x19
+            text run at (364,25) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (507,28) size 24x16
+              text run at (507,28) width 24: "two"
+        LayoutText {#text} at (534,25) size 772x59
+          text run at (534,25) width 220: ", which should result in a thin solid"
           text run at (3,45) width 692: "border on the top side of each box in the inline element (and the UA's default border on the other three sides). "
           text run at (695,45) width 80: "There is also"
           text run at (3,65) width 19: "an "
@@ -46,9 +46,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x144
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x116
             LayoutTableCell {TD} at (0,72) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -63,14 +63,14 @@
                 LayoutText {#text} at (199,25) size 162x19
                   text run at (199,25) width 8: ". "
                   text run at (207,25) width 154: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 174x23 [border: (1px solid #000000) (3px solid #000000)]
-                  LayoutText {#text} at (363,25) size 144x19
-                    text run at (363,25) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (506,28) size 25x16
-                      text run at (506,28) width 25: "two"
-                LayoutText {#text} at (533,25) size 751x59
-                  text run at (533,25) width 221: ", which should result in a thin solid"
+                LayoutInline {SPAN} at (0,0) size 173x23 [border: (1px solid #000000) (3px solid #000000)]
+                  LayoutText {#text} at (364,25) size 143x19
+                    text run at (364,25) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (507,28) size 24x16
+                      text run at (507,28) width 24: "two"
+                LayoutText {#text} at (534,25) size 751x59
+                  text run at (534,25) width 220: ", which should result in a thin solid"
                   text run at (3,45) width 692: "border on the top side of each box in the inline element (and the UA's default border on the other three sides). "
                   text run at (695,45) width 51: "There is"
                   text run at (3,65) width 48: "also an "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width-expected.png
index 05713d6..24b0907 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width-expected.txt
index fda2646..796149b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width-expected.txt
@@ -55,9 +55,9 @@
         LayoutTableSection {TBODY} at (1,1) size 668x390
           LayoutTableRow {TR} at (0,0) size 668x28
             LayoutTableCell {TD} at (0,0) size 668x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 668x362
             LayoutTableCell {TD} at (0,195) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width_inline-expected.png
index f040266..b4b7d93e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width_inline-expected.txt
index 6465ff64..c9f7d25e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width_inline-expected.txt
@@ -23,14 +23,14 @@
         LayoutText {#text} at (221,25) size 162x19
           text run at (221,25) width 8: ". "
           text run at (229,25) width 154: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 170x21 [border: (1px solid #000000)]
-          LayoutText {#text} at (383,25) size 144x19
-            text run at (383,25) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (526,28) size 25x16
-              text run at (526,28) width 25: "two"
-        LayoutText {#text} at (551,25) size 713x39
-          text run at (551,25) width 187: ", which should result in a thin"
+        LayoutInline {SPAN} at (0,0) size 169x21 [border: (1px solid #000000)]
+          LayoutText {#text} at (384,25) size 143x19
+            text run at (384,25) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (527,28) size 24x16
+              text run at (527,28) width 24: "two"
+        LayoutText {#text} at (552,25) size 713x39
+          text run at (552,25) width 186: ", which should result in a thin"
           text run at (25,45) width 374: "solid border on each side of each box in the inline element. "
           text run at (399,45) width 103: "There is also an "
         LayoutInline {SPAN} at (0,0) size 183x19
@@ -46,9 +46,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x146
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x118
             LayoutTableCell {TD} at (0,73) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -63,14 +63,14 @@
                 LayoutText {#text} at (221,25) size 162x19
                   text run at (221,25) width 8: ". "
                   text run at (229,25) width 154: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 170x21 [border: (1px solid #000000)]
-                  LayoutText {#text} at (383,25) size 144x19
-                    text run at (383,25) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (526,28) size 25x16
-                      text run at (526,28) width 25: "two"
-                LayoutText {#text} at (551,25) size 685x39
-                  text run at (551,25) width 159: ", which should result in a"
+                LayoutInline {SPAN} at (0,0) size 169x21 [border: (1px solid #000000)]
+                  LayoutText {#text} at (384,25) size 143x19
+                    text run at (384,25) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (527,28) size 24x16
+                      text run at (527,28) width 24: "two"
+                LayoutText {#text} at (552,25) size 685x39
+                  text run at (552,25) width 158: ", which should result in a"
                   text run at (25,45) width 402: "thin solid border on each side of each box in the inline element. "
                   text run at (427,45) width 103: "There is also an "
                 LayoutInline {SPAN} at (0,0) size 183x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear-expected.png
index 2fa89e0..c1837e1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear-expected.txt
index 345d819..a45646d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear-expected.txt
@@ -18,8 +18,8 @@
           text run at (160,48) width 0: " "
       LayoutImage (floating) {IMG} at (0,123) size 15x50
       LayoutBlockFlow {P} at (0,131) size 769x20
-        LayoutText {#text} at (18,0) size 594x19
-          text run at (18,0) width 594: "This text should be flowing past a tall orange rectangle on the left side of the browser window."
+        LayoutText {#text} at (18,0) size 593x19
+          text run at (18,0) width 593: "This text should be flowing past a tall orange rectangle on the left side of the browser window."
       LayoutBlockFlow (anonymous) at (0,167) size 769x20
         LayoutBR {BR} at (18,0) size 0x19
         LayoutImage (floating) {IMG} at (0,20) size 15x50
@@ -50,9 +50,9 @@
         LayoutTableSection {TBODY} at (1,1) size 678x446
           LayoutTableRow {TR} at (0,0) size 678x28
             LayoutTableCell {TD} at (0,0) size 678x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 678x418
             LayoutTableCell {TD} at (0,223) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -60,8 +60,8 @@
             LayoutTableCell {TD} at (12,28) size 666x418 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutImage (floating) {IMG} at (4,4) size 15x50
               LayoutBlockFlow {P} at (4,4) size 658x20
-                LayoutText {#text} at (18,0) size 594x19
-                  text run at (18,0) width 594: "This text should be flowing past a tall orange rectangle on the left side of the browser window."
+                LayoutText {#text} at (18,0) size 593x19
+                  text run at (18,0) width 593: "This text should be flowing past a tall orange rectangle on the left side of the browser window."
               LayoutBlockFlow (anonymous) at (4,40) size 658x20
                 LayoutBR {BR} at (18,0) size 0x19
                 LayoutImage (floating) {IMG} at (0,20) size 15x50
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear_float-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear_float-expected.png
index 9a2e9e2..9e214ebd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear_float-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear_float-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear_float-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear_float-expected.txt
index 088bc55..2d5fbbe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear_float-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear_float-expected.txt
@@ -26,8 +26,8 @@
           text run at (0,128) width 0: " "
       LayoutBlockFlow (floating) {DIV} at (0,200) size 192x125.38 [color=#FFFFFF] [bgcolor=#008000]
         LayoutBlockFlow {H1} at (8,8) size 176x23
-          LayoutText {#text} at (0,0) size 84x22
-            text run at (0,0) width 84: "Top menu"
+          LayoutText {#text} at (0,0) size 83x22
+            text run at (0,0) width 83: "Top menu"
         LayoutBlockFlow {UL} at (24,34.19) size 155.20x80
           LayoutListItem {LI} at (0,0) size 155.20x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
@@ -86,9 +86,9 @@
         LayoutTableSection {TBODY} at (1,1) size 590x372
           LayoutTableRow {TR} at (0,0) size 590x28
             LayoutTableCell {TD} at (0,0) size 590x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 590x344
             LayoutTableCell {TD} at (0,186) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -96,8 +96,8 @@
             LayoutTableCell {TD} at (12,28) size 578x343.88 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow (floating) {DIV} at (4,4) size 192x125.38 [color=#FFFFFF] [bgcolor=#008000]
                 LayoutBlockFlow {H1} at (8,8) size 176x23
-                  LayoutText {#text} at (0,0) size 84x22
-                    text run at (0,0) width 84: "Top menu"
+                  LayoutText {#text} at (0,0) size 83x22
+                    text run at (0,0) width 83: "Top menu"
                 LayoutBlockFlow {UL} at (24,34.19) size 155.20x80
                   LayoutListItem {LI} at (0,0) size 155.20x20
                     LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float-expected.png
index 145777c..7a3f7dcf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float-expected.txt
index d306f80..46ba0ee1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float-expected.txt
@@ -15,25 +15,25 @@
           text run at (0,32) width 0: " "
       LayoutImage (floating) {IMG} at (0,107) size 15x50
       LayoutBlockFlow {P} at (0,115) size 784x40
-        LayoutText {#text} at (15,0) size 763x39
-          text run at (15,0) width 598: "This text should be flowing past a tall orange rectangle on the left side of the browser window. "
-          text run at (612,0) width 166: "In this case, it is the image"
+        LayoutText {#text} at (15,0) size 762x39
+          text run at (15,0) width 597: "This text should be flowing past a tall orange rectangle on the left side of the browser window. "
+          text run at (612,0) width 165: "In this case, it is the image"
           text run at (15,20) width 212: "which has been floated to the left."
       LayoutBlockFlow (anonymous) at (0,171) size 784x20
         LayoutBR {BR} at (0,0) size 0x19
       LayoutImage (floating) {IMG} at (769,209) size 15x50
       LayoutBlockFlow {P} at (0,217) size 784x40
-        LayoutText {#text} at (0,0) size 730x39
-          text run at (0,0) width 607: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
-          text run at (606,0) width 124: "In this case, it is the"
+        LayoutText {#text} at (0,0) size 729x39
+          text run at (0,0) width 606: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
+          text run at (606,0) width 123: "In this case, it is the"
           text run at (0,20) width 263: "image which has been floated to the right."
       LayoutTable {TABLE} at (0,273) size 784x182 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x180
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x152
             LayoutTableCell {TD} at (0,90) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -41,17 +41,17 @@
             LayoutTableCell {TD} at (12,28) size 770x152 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutImage (floating) {IMG} at (4,4) size 15x50
               LayoutBlockFlow {P} at (4,4) size 762x40
-                LayoutText {#text} at (15,0) size 721x39
-                  text run at (15,0) width 598: "This text should be flowing past a tall orange rectangle on the left side of the browser window. "
-                  text run at (612,0) width 124: "In this case, it is the"
+                LayoutText {#text} at (15,0) size 720x39
+                  text run at (15,0) width 597: "This text should be flowing past a tall orange rectangle on the left side of the browser window. "
+                  text run at (612,0) width 123: "In this case, it is the"
                   text run at (15,20) width 254: "image which has been floated to the left."
               LayoutBlockFlow (anonymous) at (4,60) size 762x20
                 LayoutBR {BR} at (0,0) size 0x19
               LayoutImage (floating) {IMG} at (751,98) size 15x50
               LayoutBlockFlow {P} at (4,106) size 762x40
-                LayoutText {#text} at (0,0) size 730x39
-                  text run at (0,0) width 607: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
-                  text run at (606,0) width 124: "In this case, it is the"
+                LayoutText {#text} at (0,0) size 729x39
+                  text run at (0,0) width 606: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
+                  text run at (606,0) width 123: "In this case, it is the"
                   text run at (0,20) width 263: "image which has been floated to the right."
 layer at (8,105) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_elements_in_series-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_elements_in_series-expected.png
index a6d4d61..dd3cabda 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_elements_in_series-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_elements_in_series-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_elements_in_series-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_elements_in_series-expected.txt
index 527a8af1..f27a01c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_elements_in_series-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_elements_in_series-expected.txt
@@ -35,12 +35,12 @@
       LayoutBlockFlow {P} at (0,264) size 769x40
         LayoutText {#text} at (0,0) size 769x39
           text run at (0,0) width 769: "The four floating DIV elements below should appear next to each other horizontally. The table at the bottom of this page"
-          text run at (0,20) width 404: "indicates how the DIV elements should be laid out horizontally. "
-          text run at (403,20) width 220: "They should align with each other."
+          text run at (0,20) width 403: "indicates how the DIV elements should be laid out horizontally. "
+          text run at (403,20) width 219: "They should align with each other."
       LayoutBlockFlow (floating) {DIV} at (0,314) size 140x100 [bgcolor=#FFFF00] [border: (20px solid #000000)]
         LayoutBlockFlow {P} at (40,40) size 60x20
-          LayoutText {#text} at (0,0) size 46x19
-            text run at (0,0) width 46: "Yellow"
+          LayoutText {#text} at (0,0) size 45x19
+            text run at (0,0) width 45: "Yellow"
       LayoutBlockFlow (floating) {DIV} at (160,314) size 140x100 [color=#FFFFFF] [bgcolor=#0000FF] [border: (20px solid #000000)]
         LayoutBlockFlow {P} at (40,40) size 60x20
           LayoutText {#text} at (0,0) size 30x19
@@ -92,9 +92,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x237
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x209
             LayoutTableCell {TD} at (0,118) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -103,12 +103,12 @@
               LayoutBlockFlow {P} at (4,4) size 747x40
                 LayoutText {#text} at (0,0) size 747x39
                   text run at (0,0) width 747: "The four floating DIV elements below should appear next to each other horizontally. The table at the bottom of this"
-                  text run at (0,20) width 438: "page indicates how the DIV elements should be laid out horizontally. "
-                  text run at (437,20) width 220: "They should align with each other."
+                  text run at (0,20) width 437: "page indicates how the DIV elements should be laid out horizontally. "
+                  text run at (437,20) width 219: "They should align with each other."
               LayoutBlockFlow (floating) {DIV} at (4,54) size 140x100 [bgcolor=#FFFF00] [border: (20px solid #000000)]
                 LayoutBlockFlow {P} at (40,40) size 60x20
-                  LayoutText {#text} at (0,0) size 46x19
-                    text run at (0,0) width 46: "Yellow"
+                  LayoutText {#text} at (0,0) size 45x19
+                    text run at (0,0) width 45: "Yellow"
               LayoutBlockFlow (floating) {DIV} at (164,54) size 140x100 [color=#FFFFFF] [bgcolor=#0000FF] [border: (20px solid #000000)]
                 LayoutBlockFlow {P} at (40,40) size 60x20
                   LayoutText {#text} at (0,0) size 30x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_margin-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_margin-expected.png
index 74ce629..ebce81b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_margin-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_margin-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_margin-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_margin-expected.txt
index b620475..6ec6e49 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_margin-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_margin-expected.txt
@@ -26,11 +26,11 @@
           text run at (400,112) width 0: " "
           text run at (0,128) width 0: " "
       LayoutBlockFlow {P} at (30,215) size 729x92 [bgcolor=#FFFFFF]
-        LayoutText {#text} at (0,0) size 729x91
+        LayoutText {#text} at (0,0) size 728x91
           text run at (0,0) width 663: "This paragraph should have a white background which extends to the edges of the"
           text run at (0,23) width 122: "element's box. "
-          text run at (122,23) width 441: "There is no padding set on this paragraph whatsoever. "
-          text run at (562,23) width 167: "If the background of"
+          text run at (122,23) width 440: "There is no padding set on this paragraph whatsoever. "
+          text run at (562,23) width 166: "If the background of"
           text run at (0,46) width 721: "the entire box is not white, this may cause problems with the following tests; at any rate,"
           text run at (0,69) width 240: "it must be taken into account."
       LayoutBlockFlow {P} at (30,327) size 729x115 [bgcolor=#FFFFFF]
@@ -43,17 +43,17 @@
           text run at (256,46) width 454: "This paragraph should have a white background, first of"
           text run at (0,69) width 428: "all, which extends to the edges of the element's box. "
           text run at (428,69) width 249: "There is no padding set on this"
-          text run at (0,92) width 182: "paragraph whatsoever."
+          text run at (0,92) width 181: "paragraph whatsoever."
       LayoutBlockFlow {P} at (30,462) size 729x115 [bgcolor=#FFFFFF]
         LayoutImage (floating) {IMG} at (30,30) size 60x60
-        LayoutText {#text} at (90,0) size 717x114
+        LayoutText {#text} at (90,0) size 716x114
           text run at (90,0) width 615: "The image in the upper left corner of this paragraph should be pushed down"
           text run at (90,23) width 611: "and to the right 30 pixels each from the upper left corner of the paragraph's"
-          text run at (90,46) width 403: "box, and displace the paragraph text accordingly. "
-          text run at (492,46) width 225: "This paragraph should have"
+          text run at (90,46) width 402: "box, and displace the paragraph text accordingly. "
+          text run at (492,46) width 224: "This paragraph should have"
           text run at (90,69) width 613: "a white background, first of all, which extends to the edges of the element's"
           text run at (0,92) width 40: "box. "
-          text run at (40,92) width 436: "There is no padding set on this paragraph whatsoever."
+          text run at (40,92) width 435: "There is no padding set on this paragraph whatsoever."
       LayoutBlockFlow {P} at (30,597) size 729x115 [bgcolor=#FFFFFF]
         LayoutImage (floating) {IMG} at (-30,-30) size 60x60
         LayoutText {#text} at (30,0) size 721x114
@@ -63,7 +63,7 @@
           text run at (633,46) width 36: "This"
           text run at (0,69) width 719: "paragraph should have a white background, first of all, which extends to the edges of the"
           text run at (0,92) width 122: "element's box. "
-          text run at (122,92) width 436: "There is no padding set on this paragraph whatsoever."
+          text run at (122,92) width 435: "There is no padding set on this paragraph whatsoever."
       LayoutBlockFlow {P} at (30,732) size 729x138 [bgcolor=#FFFFFF]
         LayoutImage (floating) {IMG} at (0,0) size 60x60
         LayoutText {#text} at (90,0) size 728x137
@@ -75,7 +75,7 @@
           text run at (614,69) width 36: "This"
           text run at (0,92) width 719: "paragraph should have a white background, first of all, which extends to the edges of the"
           text run at (0,115) width 122: "element's box. "
-          text run at (122,115) width 436: "There is no padding set on this paragraph whatsoever."
+          text run at (122,115) width 435: "There is no padding set on this paragraph whatsoever."
       LayoutBlockFlow {P} at (30,890) size 729x138 [bgcolor=#FFFFFF]
         LayoutImage (floating) {IMG} at (0,0) size 60x60
         LayoutText {#text} at (30,0) size 706x137
@@ -87,25 +87,25 @@
           text run at (313,69) width 393: "This paragraph should have a white background,"
           text run at (0,92) width 489: "first of all, which extends to the edges of the element's box. "
           text run at (489,92) width 214: "There is no padding set on"
-          text run at (0,115) width 217: "this paragraph whatsoever."
+          text run at (0,115) width 216: "this paragraph whatsoever."
       LayoutTable {TABLE} at (0,1048) size 769x851 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x849
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x821
             LayoutTableCell {TD} at (0,424) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 755x821 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (34,4) size 707x92 [bgcolor=#FFFFFF]
-                LayoutText {#text} at (0,0) size 707x91
+                LayoutText {#text} at (0,0) size 706x91
                   text run at (0,0) width 663: "This paragraph should have a white background which extends to the edges of the"
                   text run at (0,23) width 122: "element's box. "
-                  text run at (122,23) width 441: "There is no padding set on this paragraph whatsoever. "
-                  text run at (562,23) width 145: "If the background"
+                  text run at (122,23) width 440: "There is no padding set on this paragraph whatsoever. "
+                  text run at (562,23) width 144: "If the background"
                   text run at (0,46) width 702: "of the entire box is not white, this may cause problems with the following tests; at any"
                   text run at (0,69) width 281: "rate, it must be taken into account."
               LayoutBlockFlow {P} at (34,116) size 707x115 [bgcolor=#FFFFFF]
@@ -118,17 +118,17 @@
                   text run at (290,46) width 393: "This paragraph should have a white background,"
                   text run at (0,69) width 489: "first of all, which extends to the edges of the element's box. "
                   text run at (489,69) width 214: "There is no padding set on"
-                  text run at (0,92) width 217: "this paragraph whatsoever."
+                  text run at (0,92) width 216: "this paragraph whatsoever."
               LayoutBlockFlow {P} at (34,251) size 707x115 [bgcolor=#FFFFFF]
                 LayoutImage (floating) {IMG} at (30,30) size 60x60
                 LayoutText {#text} at (90,0) size 705x114
                   text run at (90,0) width 615: "The image in the upper left corner of this paragraph should be pushed down"
                   text run at (90,23) width 611: "and to the right 30 pixels each from the upper left corner of the paragraph's"
-                  text run at (90,46) width 403: "box, and displace the paragraph text accordingly. "
-                  text run at (492,46) width 182: "This paragraph should"
+                  text run at (90,46) width 402: "box, and displace the paragraph text accordingly. "
+                  text run at (492,46) width 181: "This paragraph should"
                   text run at (90,69) width 574: "have a white background, first of all, which extends to the edges of the"
                   text run at (0,92) width 122: "element's box. "
-                  text run at (122,92) width 436: "There is no padding set on this paragraph whatsoever."
+                  text run at (122,92) width 435: "There is no padding set on this paragraph whatsoever."
               LayoutBlockFlow {P} at (34,386) size 707x115 [bgcolor=#FFFFFF]
                 LayoutImage (floating) {IMG} at (-30,-30) size 60x60
                 LayoutText {#text} at (30,0) size 706x114
@@ -138,7 +138,7 @@
                   text run at (663,46) width 36: "This"
                   text run at (0,69) width 689: "paragraph should have a white background, first of all, which extends to the edges of"
                   text run at (0,92) width 152: "the element's box. "
-                  text run at (152,92) width 436: "There is no padding set on this paragraph whatsoever."
+                  text run at (152,92) width 435: "There is no padding set on this paragraph whatsoever."
               LayoutBlockFlow {P} at (34,521) size 707x138 [bgcolor=#FFFFFF]
                 LayoutImage (floating) {IMG} at (0,0) size 60x60
                 LayoutText {#text} at (90,0) size 694x137
@@ -149,7 +149,7 @@
                   text run at (90,69) width 593: "the right and bottom edges of the image and the paragraph text around it."
                   text run at (0,92) width 657: "This paragraph should have a white background, first of all, which extends to the"
                   text run at (0,115) width 225: "edges of the element's box. "
-                  text run at (225,115) width 436: "There is no padding set on this paragraph whatsoever."
+                  text run at (225,115) width 435: "There is no padding set on this paragraph whatsoever."
               LayoutBlockFlow {P} at (34,679) size 707x138 [bgcolor=#FFFFFF]
                 LayoutImage (floating) {IMG} at (0,0) size 60x60
                 LayoutText {#text} at (30,0) size 706x137
@@ -161,6 +161,6 @@
                   text run at (313,69) width 393: "This paragraph should have a white background,"
                   text run at (0,92) width 489: "first of all, which extends to the edges of the element's box. "
                   text run at (489,92) width 214: "There is no padding set on"
-                  text run at (0,115) width 217: "this paragraph whatsoever."
+                  text run at (0,115) width 216: "this paragraph whatsoever."
 layer at (8,201) size 769x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_on_text_elements-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_on_text_elements-expected.png
index 897dd92..6ca90f0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_on_text_elements-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_on_text_elements-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_on_text_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_on_text_elements-expected.txt
index d883c0ad..fadfa0f1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_on_text_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_on_text_elements-expected.txt
@@ -29,11 +29,11 @@
         LayoutBR {BR} at (19,95) size 0x0
       LayoutBlockFlow (anonymous) at (0,256) size 769x120
         LayoutBlockFlow (floating) {P} at (0,0) size 384.50x120 [bgcolor=#FFFF00]
-          LayoutText {#text} at (0,0) size 385x119
+          LayoutText {#text} at (0,0) size 384x119
             text run at (0,0) width 384: "This paragraph is floated to the left and the orange square"
             text run at (0,20) width 384: "image should appear to the right of the paragraph. This"
             text run at (0,40) width 384: "paragraph has a yellow background and no padding, margin"
-            text run at (0,60) width 385: "or border. The right edge of this yellow box should be"
+            text run at (0,60) width 384: "or border. The right edge of this yellow box should be"
             text run at (0,80) width 384: "horizontally aligned with the left edge of the yellow box"
             text run at (0,100) width 79: "undernearth."
         LayoutImage {IMG} at (384.50,0) size 15x15
@@ -60,7 +60,7 @@
         LayoutText {#text} at (48,0) size 769x59
           text run at (48,0) width 721: "he first letter (a \"T\") of this paragraph should float left and be twice the font-size of the rest of the paragraph, as"
           text run at (48,20) width 496: "well as bold, with a content width of 1.5em and a background-color of silver. "
-          text run at (543,20) width 226: "The top of the big letter \"T\" should"
+          text run at (544,20) width 225: "The top of the big letter \"T\" should"
           text run at (0,40) width 675: "be vertically aligned with the top of the first line of this paragraph. This is commonly known as \"drop-cap\"."
       LayoutBlockFlow (anonymous) at (0,592) size 769x20
         LayoutBR {BR} at (0,0) size 0x19
@@ -82,8 +82,8 @@
           text run at (0,20) width 413: "content of the paragraph should appear on the left side of the"
           text run at (0,40) width 193: "yellow \"sidebar\" on the right. "
           text run at (193,40) width 220: "The content of this element should"
-          text run at (0,60) width 220: "flow around the floated element. "
-          text run at (220,60) width 193: "However, the floated element"
+          text run at (0,60) width 219: "flow around the floated element. "
+          text run at (219,60) width 194: "However, the floated element"
           text run at (0,80) width 413: "may or may not be obscured by the blue background of this"
           text run at (0,100) width 413: "element, as the specification does not say which is drawn \"on"
           text run at (0,120) width 37: "top.\" "
@@ -145,7 +145,7 @@
                 text run at (0,0) width 144: "See description in the"
                 text run at (0,20) width 124: "box on the left side."
           LayoutBlockFlow {P} at (0,0) size 576.75x140
-            LayoutText {#text} at (0,0) size 577x139
+            LayoutText {#text} at (0,0) size 576x139
               text run at (0,0) width 422: "This paragraph is inside a DIV which is floated left. The"
               text run at (0,20) width 422: "background of the DIV element is blue and its width is 75%. This"
               text run at (0,40) width 365: "text should all be inside the blue rectangle. The blue DIV "
@@ -154,9 +154,9 @@
               text run at (166,60) width 362: "background color and is floated to the right. Since it is a "
               text run at (528,60) width 48: "child of"
               text run at (0,80) width 373: "the blue DIV, the yellow DIV should appear inside the "
-              text run at (372,80) width 204: "blue rectangle. Due to it being"
+              text run at (373,80) width 203: "blue rectangle. Due to it being"
               text run at (0,100) width 193: "floated to the right and having "
-              text run at (193,100) width 384: "a 10px right margin, the yellow rectange should have a 10px"
+              text run at (193,100) width 383: "a 10px right margin, the yellow rectange should have a 10px"
               text run at (0,120) width 31: "blue "
               text run at (31,120) width 138: "stripe on its right side."
         LayoutBR {BR} at (576,0) size 1x19
@@ -164,9 +164,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x1492
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x1464
             LayoutTableCell {TD} at (0,746) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -229,7 +229,7 @@
                 LayoutText {#text} at (48,0) size 747x59
                   text run at (48,0) width 699: "he first letter (a \"T\") of this paragraph should float left and be twice the font-size of the rest of the paragraph, as"
                   text run at (48,20) width 513: "well as bold, with a content width of 1.5em and a background-color of silver. "
-                  text run at (560,20) width 187: "The top of the big letter \"T\""
+                  text run at (561,20) width 186: "The top of the big letter \"T\""
                   text run at (0,40) width 721: "should be vertically aligned with the top of the first line of this paragraph. This is commonly known as \"drop-cap\"."
               LayoutBlockFlow (anonymous) at (4,596) size 747x20
                 LayoutBR {BR} at (0,0) size 0x19
@@ -326,7 +326,7 @@
                       text run at (217,60) width 343: "background color and is floated to the right. Since it is"
                       text run at (0,80) width 11: "a "
                       text run at (11,80) width 408: "child of the blue DIV, the yellow DIV should appear inside the "
-                      text run at (418,80) width 142: "blue rectangle. Due to"
+                      text run at (419,80) width 141: "blue rectangle. Due to"
                       text run at (0,100) width 252: "it being floated to the right and having "
                       text run at (252,100) width 308: "a 10px right margin, the yellow rectange should"
                       text run at (0,120) width 112: "have a 10px blue "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/height-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/height-expected.png
index 5e1929e..805b24c2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/height-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/height-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/height-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/height-expected.txt
index 6f7f6591..1ffae493 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/height-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/height-expected.txt
@@ -41,9 +41,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x446
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x418
             LayoutTableCell {TD} at (0,223) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin-expected.txt
index f2cf7468..2c7d0d0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin-expected.txt
@@ -80,8 +80,8 @@
           text run at (0,0) width 758: "This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and pull"
           text run at (0,20) width 369: "subsequent text up toward it, and a light blue background. "
           text run at (369,20) width 386: "In all other respects, however, the element should be normal. "
-          text run at (754,20) width 21: "No"
-          text run at (0,40) width 527: "styles have been applied to it besides the negative margin and the background color."
+          text run at (755,20) width 20: "No"
+          text run at (0,40) width 528: "styles have been applied to it besides the negative margin and the background color."
       LayoutBlockFlow {P} at (0,1393) size 784x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "This element has a class of zero."
@@ -89,9 +89,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x1279
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x1251
             LayoutTableCell {TD} at (0,639) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -156,8 +156,8 @@
                   text run at (0,0) width 758: "This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and pull"
                   text run at (0,20) width 369: "subsequent text up toward it, and a light blue background. "
                   text run at (369,20) width 386: "In all other respects, however, the element should be normal. "
-                  text run at (754,20) width 21: "No"
-                  text run at (0,40) width 527: "styles have been applied to it besides the negative margin and the background color."
+                  text run at (755,20) width 20: "No"
+                  text run at (0,40) width 528: "styles have been applied to it besides the negative margin and the background color."
               LayoutBlockFlow {P} at (4,1227) size 762x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 203x19
                   text run at (0,0) width 203: "This element has a class of zero."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom-expected.png
index 143704ee..6ec6745 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom-expected.txt
index 4ad886b..d195684 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom-expected.txt
@@ -68,11 +68,11 @@
           LayoutText {#text} at (0,0) size 294x19
             text run at (0,0) width 294: "This list item has no special styles applied to it."
       LayoutBlockFlow {P} at (0,898.25) size 769x60 [bgcolor=#00FFFF]
-        LayoutText {#text} at (0,0) size 759x59
+        LayoutText {#text} at (0,0) size 760x59
           text run at (0,0) width 748: "This paragraph has a bottom margin of -10px, which should cause elements after it to be shifted \"upward\" on the page,"
           text run at (0,20) width 123: "and no top margin. "
-          text run at (122,20) width 488: "No other styles have been applied to it besides a light blue background color. "
-          text run at (609,20) width 150: "In all other respects, the"
+          text run at (123,20) width 488: "No other styles have been applied to it besides a light blue background color. "
+          text run at (611,20) width 149: "In all other respects, the"
           text run at (0,40) width 166: "element should be normal."
       LayoutBlockFlow {P} at (0,948.25) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 203x19
@@ -84,9 +84,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x816
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x788
             LayoutTableCell {TD} at (0,408) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -135,11 +135,11 @@
                   LayoutText {#text} at (0,0) size 294x19
                     text run at (0,0) width 294: "This list item has no special styles applied to it."
               LayoutBlockFlow {P} at (4,693.75) size 747x60 [bgcolor=#00FFFF]
-                LayoutText {#text} at (0,0) size 716x59
+                LayoutText {#text} at (0,0) size 717x59
                   text run at (0,0) width 710: "This paragraph has a bottom margin of -10px, which should cause elements after it to be shifted \"upward\" on the"
                   text run at (0,20) width 161: "page, and no top margin. "
-                  text run at (160,20) width 488: "No other styles have been applied to it besides a light blue background color. "
-                  text run at (647,20) width 69: "In all other"
+                  text run at (161,20) width 488: "No other styles have been applied to it besides a light blue background color. "
+                  text run at (649,20) width 68: "In all other"
                   text run at (0,40) width 247: "respects, the element should be normal."
               LayoutBlockFlow {P} at (4,743.75) size 747x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 203x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom_inline-expected.png
index 9442667..d21d1f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom_inline-expected.txt
index 7399d38f..7f0ae302 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom_inline-expected.txt
@@ -13,84 +13,84 @@
           text run at (0,16) width 416: ".two {margin-bottom: -10px; background-color: aqua;}"
           text run at (416,16) width 0: " "
       LayoutBlockFlow {P} at (0,99) size 784x60 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 480x19
-          text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
-          text run at (391,0) width 89: "It contains an "
-        LayoutInline {SPAN} at (0,0) size 760x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (479,0) size 144x19
-            text run at (479,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (622,3) size 25x16
-              text run at (622,3) width 25: "one"
-          LayoutText {#text} at (646,0) size 760x39
-            text run at (646,0) width 114: ", giving it an aqua"
+        LayoutText {#text} at (0,0) size 479x19
+          text run at (0,0) width 391: "This element is unstyled save for a background color of gray.. "
+          text run at (391,0) width 88: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 759x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (479,0) size 143x19
+            text run at (479,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (622,3) size 24x16
+              text run at (622,3) width 24: "one"
+          LayoutText {#text} at (646,0) size 759x39
+            text run at (646,0) width 113: ", giving it an aqua"
             text run at (0,20) width 245: "background and a 25px bottom margin"
-        LayoutText {#text} at (244,20) size 784x39
-          text run at (244,20) width 9: ". "
-          text run at (252,20) width 532: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+        LayoutText {#text} at (245,20) size 784x39
+          text run at (245,20) width 8: ". "
+          text run at (253,20) width 531: "Margins on inline elements does not affect line-height calculations, so all lines in this"
           text run at (0,40) width 263: "element should have the same line-height."
       LayoutBlockFlow {P} at (0,175) size 784x60 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 480x19
-          text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
-          text run at (391,0) width 89: "It contains an "
-        LayoutInline {SPAN} at (0,0) size 760x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (479,0) size 144x19
-            text run at (479,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (622,3) size 25x16
-              text run at (622,3) width 25: "two"
-          LayoutText {#text} at (646,0) size 760x39
-            text run at (646,0) width 114: ", giving it an aqua"
+        LayoutText {#text} at (0,0) size 479x19
+          text run at (0,0) width 391: "This element is unstyled save for a background color of gray.. "
+          text run at (391,0) width 88: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 759x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (479,0) size 143x19
+            text run at (479,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (622,3) size 24x16
+              text run at (622,3) width 24: "two"
+          LayoutText {#text} at (646,0) size 759x39
+            text run at (646,0) width 113: ", giving it an aqua"
             text run at (0,20) width 250: "background and a -10px bottom margin"
-        LayoutText {#text} at (249,20) size 763x39
-          text run at (249,20) width 9: ". "
-          text run at (257,20) width 506: "Margins on inline elements does not affect line-height calculations, so all lines in"
+        LayoutText {#text} at (250,20) size 763x39
+          text run at (250,20) width 8: ". "
+          text run at (258,20) width 505: "Margins on inline elements does not affect line-height calculations, so all lines in"
           text run at (0,40) width 289: "this element should have the same line-height."
       LayoutTable {TABLE} at (0,251) size 784x174 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x172
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x144
             LayoutTableCell {TD} at (0,86) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x144 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 480x19
-                  text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
-                  text run at (391,0) width 89: "It contains an "
-                LayoutInline {SPAN} at (0,0) size 760x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (479,0) size 144x19
-                    text run at (479,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (622,3) size 25x16
-                      text run at (622,3) width 25: "one"
-                  LayoutText {#text} at (646,0) size 760x39
-                    text run at (646,0) width 114: ", giving it an aqua"
+                LayoutText {#text} at (0,0) size 479x19
+                  text run at (0,0) width 391: "This element is unstyled save for a background color of gray.. "
+                  text run at (391,0) width 88: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 759x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (479,0) size 143x19
+                    text run at (479,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (622,3) size 24x16
+                      text run at (622,3) width 24: "one"
+                  LayoutText {#text} at (646,0) size 759x39
+                    text run at (646,0) width 113: ", giving it an aqua"
                     text run at (0,20) width 245: "background and a 25px bottom margin"
-                LayoutText {#text} at (244,20) size 758x39
-                  text run at (244,20) width 9: ". "
-                  text run at (252,20) width 506: "Margins on inline elements does not affect line-height calculations, so all lines in"
+                LayoutText {#text} at (245,20) size 758x39
+                  text run at (245,20) width 8: ". "
+                  text run at (253,20) width 505: "Margins on inline elements does not affect line-height calculations, so all lines in"
                   text run at (0,40) width 289: "this element should have the same line-height."
               LayoutBlockFlow {P} at (4,80) size 762x60 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 480x19
-                  text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
-                  text run at (391,0) width 89: "It contains an "
-                LayoutInline {SPAN} at (0,0) size 760x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (479,0) size 144x19
-                    text run at (479,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (622,3) size 25x16
-                      text run at (622,3) width 25: "two"
-                  LayoutText {#text} at (646,0) size 760x39
-                    text run at (646,0) width 114: ", giving it an aqua"
+                LayoutText {#text} at (0,0) size 479x19
+                  text run at (0,0) width 391: "This element is unstyled save for a background color of gray.. "
+                  text run at (391,0) width 88: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 759x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (479,0) size 143x19
+                    text run at (479,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (622,3) size 24x16
+                      text run at (622,3) width 24: "two"
+                  LayoutText {#text} at (646,0) size 759x39
+                    text run at (646,0) width 113: ", giving it an aqua"
                     text run at (0,20) width 250: "background and a -10px bottom margin"
-                LayoutText {#text} at (249,20) size 747x39
-                  text run at (249,20) width 9: ". "
-                  text run at (257,20) width 490: "Margins on inline elements does not affect line-height calculations, so all lines"
+                LayoutText {#text} at (250,20) size 747x39
+                  text run at (250,20) width 8: ". "
+                  text run at (258,20) width 489: "Margins on inline elements does not affect line-height calculations, so all lines"
                   text run at (0,40) width 305: "in this element should have the same line-height."
 layer at (8,89) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_inline-expected.png
index 8859390..3e93bdf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_inline-expected.txt
index 29f7c7d..97719191 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_inline-expected.txt
@@ -18,43 +18,43 @@
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "This element has a class of zero."
       LayoutBlockFlow {P} at (0,143) size 784x80 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 480x19
-          text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
-          text run at (391,0) width 89: "It contains an "
-        LayoutInline {SPAN} at (0,0) size 751x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (504,0) size 144x19
-            text run at (504,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (647,3) size 25x16
-              text run at (647,3) width 25: "one"
-          LayoutText {#text} at (671,0) size 751x39
-            text run at (671,0) width 80: ", giving it an"
-            text run at (0,20) width 231: "aqua background and a 25px margin"
-        LayoutText {#text} at (255,20) size 769x59
-          text run at (255,20) width 9: ". "
-          text run at (263,20) width 506: "Margins on inline elements does not affect line-height calculations, so all lines in"
-          text run at (0,40) width 293: "this element should have the same line-height. "
-          text run at (293,40) width 473: "However, there should be a 25px margin to the left side of the inline box in"
-          text run at (0,60) width 727: "the first line it appears, and a 25px margin to the right side of the inline element box in the last line where it appears."
+        LayoutText {#text} at (0,0) size 479x19
+          text run at (0,0) width 391: "This element is unstyled save for a background color of gray.. "
+          text run at (391,0) width 88: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 784x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (504,0) size 143x19
+            text run at (504,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (647,3) size 24x16
+              text run at (647,3) width 24: "one"
+          LayoutText {#text} at (671,0) size 784x39
+            text run at (671,0) width 113: ", giving it an aqua"
+            text run at (0,20) width 197: "background and a 25px margin"
+        LayoutText {#text} at (222,20) size 763x59
+          text run at (222,20) width 8: ". "
+          text run at (230,20) width 531: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+          text run at (0,40) width 267: "element should have the same line-height. "
+          text run at (267,40) width 496: "However, there should be a 25px margin to the left side of the inline box in the"
+          text run at (0,60) width 704: "first line it appears, and a 25px margin to the right side of the inline element box in the last line where it appears."
       LayoutBlockFlow {P} at (0,239) size 784x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "This element has a class of zero."
       LayoutBlockFlow {P} at (0,275) size 784x80 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 480x19
-          text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
-          text run at (391,0) width 89: "It contains an "
-        LayoutInline {SPAN} at (0,0) size 750x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (469,0) size 144x19
-            text run at (469,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (612,3) size 25x16
-              text run at (612,3) width 25: "two"
-          LayoutText {#text} at (636,0) size 750x39
-            text run at (636,0) width 114: ", giving it an aqua"
+        LayoutText {#text} at (0,0) size 479x19
+          text run at (0,0) width 391: "This element is unstyled save for a background color of gray.. "
+          text run at (391,0) width 88: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 749x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (469,0) size 143x19
+            text run at (469,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (612,3) size 24x16
+              text run at (612,3) width 24: "two"
+          LayoutText {#text} at (636,0) size 749x39
+            text run at (636,0) width 113: ", giving it an aqua"
             text run at (0,20) width 202: "background and a -10px margin"
-        LayoutText {#text} at (191,20) size 784x59
-          text run at (191,20) width 9: ". "
-          text run at (199,20) width 585: "Margins on inline elements does not affect line-height calculations, so all lines in this element"
+        LayoutText {#text} at (192,20) size 784x59
+          text run at (192,20) width 8: ". "
+          text run at (200,20) width 584: "Margins on inline elements does not affect line-height calculations, so all lines in this element"
           text run at (0,40) width 214: "should have the same line-height. "
           text run at (214,40) width 568: "However, there should be a -10px margin to the left side of the inline box in the first line it"
           text run at (0,60) width 642: "appears, and a -10px margin to the right side of the inline element box in the last line where it appears."
@@ -65,9 +65,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x340
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x312
             LayoutTableCell {TD} at (0,170) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -77,21 +77,21 @@
                 LayoutText {#text} at (0,0) size 203x19
                   text run at (0,0) width 203: "This element has a class of zero."
               LayoutBlockFlow {P} at (4,40) size 762x100 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 480x19
-                  text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
-                  text run at (391,0) width 89: "It contains an "
-                LayoutInline {SPAN} at (0,0) size 751x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (504,0) size 144x19
-                    text run at (504,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (647,3) size 25x16
-                      text run at (647,3) width 25: "one"
-                  LayoutText {#text} at (671,0) size 751x39
-                    text run at (671,0) width 80: ", giving it an"
+                LayoutText {#text} at (0,0) size 479x19
+                  text run at (0,0) width 391: "This element is unstyled save for a background color of gray.. "
+                  text run at (391,0) width 88: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 750x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (504,0) size 143x19
+                    text run at (504,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (647,3) size 24x16
+                      text run at (647,3) width 24: "one"
+                  LayoutText {#text} at (671,0) size 750x39
+                    text run at (671,0) width 79: ", giving it an"
                     text run at (0,20) width 231: "aqua background and a 25px margin"
-                LayoutText {#text} at (255,20) size 753x79
-                  text run at (255,20) width 9: ". "
-                  text run at (263,20) width 490: "Margins on inline elements does not affect line-height calculations, so all lines"
+                LayoutText {#text} at (256,20) size 753x79
+                  text run at (256,20) width 8: ". "
+                  text run at (264,20) width 489: "Margins on inline elements does not affect line-height calculations, so all lines"
                   text run at (0,40) width 309: "in this element should have the same line-height. "
                   text run at (309,40) width 429: "However, there should be a 25px margin to the left side of the inline"
                   text run at (0,60) width 715: "box in the first line it appears, and a 25px margin to the right side of the inline element box in the last line where it"
@@ -100,21 +100,21 @@
                 LayoutText {#text} at (0,0) size 203x19
                   text run at (0,0) width 203: "This element has a class of zero."
               LayoutBlockFlow {P} at (4,192) size 762x80 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 480x19
-                  text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
-                  text run at (391,0) width 89: "It contains an "
-                LayoutInline {SPAN} at (0,0) size 750x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (469,0) size 144x19
-                    text run at (469,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (612,3) size 25x16
-                      text run at (612,3) width 25: "two"
-                  LayoutText {#text} at (636,0) size 750x39
-                    text run at (636,0) width 114: ", giving it an aqua"
+                LayoutText {#text} at (0,0) size 479x19
+                  text run at (0,0) width 391: "This element is unstyled save for a background color of gray.. "
+                  text run at (391,0) width 88: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 749x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (469,0) size 143x19
+                    text run at (469,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (612,3) size 24x16
+                      text run at (612,3) width 24: "two"
+                  LayoutText {#text} at (636,0) size 749x39
+                    text run at (636,0) width 113: ", giving it an aqua"
                     text run at (0,20) width 202: "background and a -10px margin"
-                LayoutText {#text} at (191,20) size 745x59
-                  text run at (191,20) width 9: ". "
-                  text run at (199,20) width 532: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+                LayoutText {#text} at (192,20) size 745x59
+                  text run at (192,20) width 8: ". "
+                  text run at (200,20) width 531: "Margins on inline elements does not affect line-height calculations, so all lines in this"
                   text run at (0,40) width 267: "element should have the same line-height. "
                   text run at (267,40) width 478: "However, there should be a -10px margin to the left side of the inline box in"
                   text run at (0,60) width 732: "the first line it appears, and a -10px margin to the right side of the inline element box in the last line where it appears."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left-expected.png
index a154bf04..3c6cd09b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left-expected.txt
index 287e2e8..9c220105e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left-expected.txt
@@ -39,8 +39,8 @@
       LayoutBlockFlow {UL} at (25,363) size 744x100 [bgcolor=#808080]
         LayoutListItem {LI} at (40,0) size 704x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (0,0) size 685x19
-            text run at (0,0) width 685: "The left margin on this unordered list has been set to 25 pixels, and its background color has been set to gray."
+          LayoutText {#text} at (0,0) size 684x19
+            text run at (0,0) width 684: "The left margin on this unordered list has been set to 25 pixels, and its background color has been set to gray."
         LayoutListItem {LI} at (65,20) size 679x60 [bgcolor=#FFFFFF]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutText {#text} at (0,0) size 668x59
@@ -60,15 +60,15 @@
           text run at (0,0) width 758: "This paragraph has a left margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light"
           text run at (0,20) width 114: "blue background. "
           text run at (114,20) width 386: "In all other respects, however, the element should be normal. "
-          text run at (499,20) width 279: "No styles have been applied to it besides the"
-          text run at (0,40) width 293: "negative left margin and the background color."
+          text run at (500,20) width 278: "No styles have been applied to it besides the"
+          text run at (0,40) width 294: "negative left margin and the background color."
       LayoutTable {TABLE} at (0,591) size 769x470 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x468
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x440
             LayoutTableCell {TD} at (0,234) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -95,7 +95,7 @@
                   LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
                   LayoutText {#text} at (0,0) size 650x39
                     text run at (0,0) width 650: "The left margin on this unordered list has been set to 25 pixels, and its background color has been set to"
-                    text run at (0,20) width 31: "gray."
+                    text run at (0,20) width 30: "gray."
                 LayoutListItem {LI} at (65,40) size 657x60 [bgcolor=#FFFFFF]
                   LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
                   LayoutText {#text} at (0,0) size 656x59
@@ -115,7 +115,7 @@
                   text run at (0,0) width 726: "This paragraph has a left margin of -10px, which should cause it to be wider than it might otherwise be, and it has a"
                   text run at (0,20) width 146: "light blue background. "
                   text run at (146,20) width 386: "In all other respects, however, the element should be normal. "
-                  text run at (531,20) width 206: "No styles have been applied to it"
-                  text run at (0,40) width 366: "besides the negative left margin and the background color."
+                  text run at (532,20) width 205: "No styles have been applied to it"
+                  text run at (0,40) width 367: "besides the negative left margin and the background color."
 layer at (8,153) size 769x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left_inline-expected.png
index b075e90..28a1c6c7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left_inline-expected.txt
index a9c479c..aa5abb4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left_inline-expected.txt
@@ -13,88 +13,88 @@
           text run at (0,16) width 400: ".two {margin-left: -10px; background-color: aqua;}"
           text run at (400,16) width 0: " "
       LayoutBlockFlow {P} at (0,99) size 784x40 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 542x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 155: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (566,0) size 144x19
-            text run at (566,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (709,3) size 25x16
-              text run at (709,3) width 25: "one"
-        LayoutText {#text} at (733,0) size 781x39
-          text run at (733,0) width 48: ", which"
+        LayoutText {#text} at (0,0) size 541x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 154: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 167x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (566,0) size 143x19
+            text run at (566,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (709,3) size 24x16
+              text run at (709,3) width 24: "one"
+        LayoutText {#text} at (733,0) size 780x39
+          text run at (733,0) width 47: ", which"
           text run at (0,20) width 299: "should result in 25-pixel left margin only in the "
-        LayoutInline {STRONG} at (0,0) size 28x19
-          LayoutText {#text} at (298,20) size 28x19
-            text run at (298,20) width 28: "first"
-        LayoutText {#text} at (325,20) size 233x19
-          text run at (325,20) width 233: " line in which the inline box appears."
+        LayoutInline {STRONG} at (0,0) size 27x19
+          LayoutText {#text} at (299,20) size 27x19
+            text run at (299,20) width 27: "first"
+        LayoutText {#text} at (326,20) size 232x19
+          text run at (326,20) width 232: " line in which the inline box appears."
       LayoutBlockFlow {P} at (0,155) size 784x40 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 542x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 155: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (531,0) size 144x19
-            text run at (531,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (674,3) size 25x16
-              text run at (674,3) width 25: "two"
-        LayoutText {#text} at (698,0) size 746x39
-          text run at (698,0) width 48: ", which"
+        LayoutText {#text} at (0,0) size 541x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 154: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 167x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (531,0) size 143x19
+            text run at (531,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (674,3) size 24x16
+              text run at (674,3) width 24: "two"
+        LayoutText {#text} at (698,0) size 745x39
+          text run at (698,0) width 47: ", which"
           text run at (0,20) width 284: "should result in -10px left margin only in the "
-        LayoutInline {STRONG} at (0,0) size 28x19
-          LayoutText {#text} at (283,20) size 28x19
-            text run at (283,20) width 28: "first"
-        LayoutText {#text} at (310,20) size 233x19
-          text run at (310,20) width 233: " line in which the inline box appears."
+        LayoutInline {STRONG} at (0,0) size 27x19
+          LayoutText {#text} at (284,20) size 27x19
+            text run at (284,20) width 27: "first"
+        LayoutText {#text} at (311,20) size 232x19
+          text run at (311,20) width 232: " line in which the inline box appears."
       LayoutTable {TABLE} at (0,211) size 784x134 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x132
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x104
             LayoutTableCell {TD} at (0,66) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x104 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x40 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 542x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 155: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (566,0) size 144x19
-                    text run at (566,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (709,3) size 25x16
-                      text run at (709,3) width 25: "one"
-                LayoutText {#text} at (733,0) size 738x39
-                  text run at (733,0) width 5: ","
+                LayoutText {#text} at (0,0) size 541x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 154: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 167x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (566,0) size 143x19
+                    text run at (566,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (709,3) size 24x16
+                      text run at (709,3) width 24: "one"
+                LayoutText {#text} at (733,0) size 737x39
+                  text run at (733,0) width 4: ","
                   text run at (0,20) width 342: "which should result in 25-pixel left margin only in the "
-                LayoutInline {STRONG} at (0,0) size 28x19
-                  LayoutText {#text} at (341,20) size 28x19
-                    text run at (341,20) width 28: "first"
-                LayoutText {#text} at (368,20) size 233x19
-                  text run at (368,20) width 233: " line in which the inline box appears."
+                LayoutInline {STRONG} at (0,0) size 27x19
+                  LayoutText {#text} at (342,20) size 27x19
+                    text run at (342,20) width 27: "first"
+                LayoutText {#text} at (369,20) size 232x19
+                  text run at (369,20) width 232: " line in which the inline box appears."
               LayoutBlockFlow {P} at (4,60) size 762x40 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 542x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 155: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (531,0) size 144x19
-                    text run at (531,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (674,3) size 25x16
-                      text run at (674,3) width 25: "two"
-                LayoutText {#text} at (698,0) size 746x39
-                  text run at (698,0) width 48: ", which"
+                LayoutText {#text} at (0,0) size 541x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 154: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 167x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (531,0) size 143x19
+                    text run at (531,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (674,3) size 24x16
+                      text run at (674,3) width 24: "two"
+                LayoutText {#text} at (698,0) size 745x39
+                  text run at (698,0) width 47: ", which"
                   text run at (0,20) width 284: "should result in -10px left margin only in the "
-                LayoutInline {STRONG} at (0,0) size 28x19
-                  LayoutText {#text} at (283,20) size 28x19
-                    text run at (283,20) width 28: "first"
-                LayoutText {#text} at (310,20) size 233x19
-                  text run at (310,20) width 233: " line in which the inline box appears."
+                LayoutInline {STRONG} at (0,0) size 27x19
+                  LayoutText {#text} at (284,20) size 27x19
+                    text run at (284,20) width 27: "first"
+                LayoutText {#text} at (311,20) size 232x19
+                  text run at (311,20) width 232: " line in which the inline box appears."
 layer at (8,89) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right-expected.png
index 8d65f88f..35828ab 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right-expected.txt
index fcacfb5..5f9e308 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right-expected.txt
@@ -39,13 +39,13 @@
       LayoutBlockFlow {UL} at (0,363) size 759x100 [bgcolor=#808080]
         LayoutListItem {LI} at (40,0) size 719x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (20,0) size 699x19
-            text run at (20,0) width 699: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to gray."
+          LayoutText {#text} at (21,0) size 698x19
+            text run at (21,0) width 698: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to gray."
         LayoutListItem {LI} at (40,20) size 694x60 [bgcolor=#FFFFFF]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutText {#text} at (38,0) size 693x59
             text run at (38,0) width 656: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
-            text run at (1,20) width 61: "checked. "
+            text run at (1,20) width 60: "checked. "
             text run at (61,20) width 633: "This list item has its right margin also set to 25 pixels, which should combine with the list's margin to"
             text run at (230,40) width 464: "make 50 pixels of margin, and its background-color has been set to white."
         LayoutListItem {LI} at (40,80) size 719x20
@@ -60,15 +60,15 @@
           text run at (0,0) width 767: "This paragraph has a right margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light"
           text run at (0,20) width 114: "blue background. "
           text run at (114,20) width 386: "In all other respects, however, the element should be normal. "
-          text run at (499,20) width 279: "No styles have been applied to it besides the"
-          text run at (0,40) width 302: "negative right margin and the background color."
+          text run at (500,20) width 278: "No styles have been applied to it besides the"
+          text run at (0,40) width 303: "negative right margin and the background color."
       LayoutTable {TABLE} at (0,591) size 784x470 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x468
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x440
             LayoutTableCell {TD} at (0,234) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -95,12 +95,12 @@
                   LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
                   LayoutText {#text} at (33,0) size 664x39
                     text run at (33,0) width 664: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to"
-                    text run at (666,20) width 31: "gray."
+                    text run at (667,20) width 30: "gray."
                 LayoutListItem {LI} at (40,40) size 672x60 [bgcolor=#FFFFFF]
                   LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
                   LayoutText {#text} at (16,0) size 656x59
                     text run at (16,0) width 656: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
-                    text run at (43,20) width 61: "checked. "
+                    text run at (43,20) width 60: "checked. "
                     text run at (103,20) width 569: "This list item has its right margin also set to 25 pixels, which should combine with the list's"
                     text run at (144,40) width 528: "margin to make 50 pixels of margin, and its background-color has been set to white."
                 LayoutListItem {LI} at (40,100) size 697x20
@@ -115,7 +115,7 @@
                   text run at (0,0) width 767: "This paragraph has a right margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light"
                   text run at (0,20) width 114: "blue background. "
                   text run at (114,20) width 386: "In all other respects, however, the element should be normal. "
-                  text run at (499,20) width 256: "No styles have been applied to it besides"
-                  text run at (0,40) width 325: "the negative right margin and the background color."
+                  text run at (500,20) width 255: "No styles have been applied to it besides"
+                  text run at (0,40) width 326: "the negative right margin and the background color."
 layer at (8,153) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,145) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right_inline-expected.png
index df781c4c..221a558 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right_inline-expected.txt
index 389f43a..ca05e9c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right_inline-expected.txt
@@ -13,88 +13,88 @@
           text run at (0,16) width 408: ".two {margin-right: -10px; background-color: aqua;}"
           text run at (408,16) width 0: " "
       LayoutBlockFlow {P} at (0,99) size 784x40 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 542x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 155: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (541,0) size 144x19
-            text run at (541,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (684,3) size 25x16
-              text run at (684,3) width 25: "one"
-        LayoutText {#text} at (733,0) size 781x39
-          text run at (733,0) width 48: ", which"
+        LayoutText {#text} at (0,0) size 541x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 154: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 167x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (541,0) size 143x19
+            text run at (541,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (684,3) size 24x16
+              text run at (684,3) width 24: "one"
+        LayoutText {#text} at (733,0) size 780x39
+          text run at (733,0) width 47: ", which"
           text run at (0,20) width 308: "should result in 25-pixel right margin only in the "
-        LayoutInline {STRONG} at (0,0) size 24x19
-          LayoutText {#text} at (307,20) size 24x19
-            text run at (307,20) width 24: "last"
-        LayoutText {#text} at (330,20) size 233x19
-          text run at (330,20) width 233: " line in which the inline box appears."
+        LayoutInline {STRONG} at (0,0) size 23x19
+          LayoutText {#text} at (308,20) size 23x19
+            text run at (308,20) width 23: "last"
+        LayoutText {#text} at (331,20) size 232x19
+          text run at (331,20) width 232: " line in which the inline box appears."
       LayoutBlockFlow {P} at (0,155) size 784x40 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 542x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 155: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (541,0) size 144x19
-            text run at (541,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (684,3) size 25x16
-              text run at (684,3) width 25: "two"
-        LayoutText {#text} at (698,0) size 746x39
-          text run at (698,0) width 48: ", which"
+        LayoutText {#text} at (0,0) size 541x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 154: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 167x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (541,0) size 143x19
+            text run at (541,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (684,3) size 24x16
+              text run at (684,3) width 24: "two"
+        LayoutText {#text} at (698,0) size 745x39
+          text run at (698,0) width 47: ", which"
           text run at (0,20) width 293: "should result in -10px right margin only in the "
-        LayoutInline {STRONG} at (0,0) size 24x19
-          LayoutText {#text} at (292,20) size 24x19
-            text run at (292,20) width 24: "last"
-        LayoutText {#text} at (315,20) size 233x19
-          text run at (315,20) width 233: " line in which the inline box appears."
+        LayoutInline {STRONG} at (0,0) size 23x19
+          LayoutText {#text} at (293,20) size 23x19
+            text run at (293,20) width 23: "last"
+        LayoutText {#text} at (316,20) size 232x19
+          text run at (316,20) width 232: " line in which the inline box appears."
       LayoutTable {TABLE} at (0,211) size 784x134 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x132
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x104
             LayoutTableCell {TD} at (0,66) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x104 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x40 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 542x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 155: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (541,0) size 144x19
-                    text run at (541,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (684,3) size 25x16
-                      text run at (684,3) width 25: "one"
-                LayoutText {#text} at (733,0) size 738x39
-                  text run at (733,0) width 5: ","
+                LayoutText {#text} at (0,0) size 541x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 154: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 167x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (541,0) size 143x19
+                    text run at (541,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (684,3) size 24x16
+                      text run at (684,3) width 24: "one"
+                LayoutText {#text} at (733,0) size 737x39
+                  text run at (733,0) width 4: ","
                   text run at (0,20) width 351: "which should result in 25-pixel right margin only in the "
-                LayoutInline {STRONG} at (0,0) size 24x19
-                  LayoutText {#text} at (350,20) size 24x19
-                    text run at (350,20) width 24: "last"
-                LayoutText {#text} at (373,20) size 233x19
-                  text run at (373,20) width 233: " line in which the inline box appears."
+                LayoutInline {STRONG} at (0,0) size 23x19
+                  LayoutText {#text} at (351,20) size 23x19
+                    text run at (351,20) width 23: "last"
+                LayoutText {#text} at (374,20) size 232x19
+                  text run at (374,20) width 232: " line in which the inline box appears."
               LayoutBlockFlow {P} at (4,60) size 762x40 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 542x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 155: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (541,0) size 144x19
-                    text run at (541,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (684,3) size 25x16
-                      text run at (684,3) width 25: "two"
-                LayoutText {#text} at (698,0) size 746x39
-                  text run at (698,0) width 48: ", which"
+                LayoutText {#text} at (0,0) size 541x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 154: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 167x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (541,0) size 143x19
+                    text run at (541,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (684,3) size 24x16
+                      text run at (684,3) width 24: "two"
+                LayoutText {#text} at (698,0) size 745x39
+                  text run at (698,0) width 47: ", which"
                   text run at (0,20) width 293: "should result in -10px right margin only in the "
-                LayoutInline {STRONG} at (0,0) size 24x19
-                  LayoutText {#text} at (292,20) size 24x19
-                    text run at (292,20) width 24: "last"
-                LayoutText {#text} at (315,20) size 233x19
-                  text run at (315,20) width 233: " line in which the inline box appears."
+                LayoutInline {STRONG} at (0,0) size 23x19
+                  LayoutText {#text} at (293,20) size 23x19
+                    text run at (293,20) width 23: "last"
+                LayoutText {#text} at (316,20) size 232x19
+                  text run at (316,20) width 232: " line in which the inline box appears."
 layer at (8,89) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top-expected.png
index 9025be9..1c501f0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top-expected.txt
index cceec31b..dc29259 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top-expected.txt
@@ -45,7 +45,7 @@
       LayoutBlockFlow {P} at (0,689.25) size 769x40 [bgcolor=#00FFFF]
         LayoutText {#text} at (0,0) size 753x39
           text run at (0,0) width 725: "This element should have a top margin of 25%, which is calculated with respect to the width of the parent element. "
-          text run at (724,0) width 29: "This"
+          text run at (725,0) width 28: "This"
           text run at (0,20) width 232: "will require extra text in order to test."
       LayoutBlockFlow {UL} at (0,754.25) size 769x105 [bgcolor=#00FFFF]
         LayoutListItem {LI} at (40,0) size 729x20
@@ -71,15 +71,15 @@
         LayoutText {#text} at (0,0) size 766x59
           text run at (0,0) width 766: "This element has a top margin of -10px, which should cause it to be shifted \"upward\" on the page, and no bottom margin."
           text run at (0,20) width 488: "No other styles have been applied to it besides a light blue background color. "
-          text run at (487,20) width 268: "In all other respects, the element should be"
+          text run at (488,20) width 267: "In all other respects, the element should be"
           text run at (0,40) width 48: "normal."
       LayoutTable {TABLE} at (0,929.25) size 769x778 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x776
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x748
             LayoutTableCell {TD} at (0,388) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -128,11 +128,11 @@
                 LayoutText {#text} at (0,0) size 203x19
                   text run at (0,0) width 203: "This element has a class of zero."
               LayoutBlockFlow {P} at (4,683.75) size 747x60 [bgcolor=#00FFFF]
-                LayoutText {#text} at (0,0) size 741x59
+                LayoutText {#text} at (0,0) size 742x59
                   text run at (0,0) width 714: "This element has a top margin of -10px, which should cause it to be shifted \"upward\" on the page, and no bottom"
                   text run at (0,20) width 52: "margin. "
-                  text run at (51,20) width 488: "No other styles have been applied to it besides a light blue background color. "
-                  text run at (538,20) width 203: "In all other respects, the element"
+                  text run at (52,20) width 488: "No other styles have been applied to it besides a light blue background color. "
+                  text run at (540,20) width 202: "In all other respects, the element"
                   text run at (0,40) width 113: "should be normal."
 layer at (8,182) size 769x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,174) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top_inline-expected.png
index 20c60324..cb4a411 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top_inline-expected.txt
index 5a863e0..89b86f5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top_inline-expected.txt
@@ -16,84 +16,84 @@
           text run at (392,32) width 0: " "
           text run at (0,48) width 0: " "
       LayoutBlockFlow {P} at (0,131) size 784x60 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 476x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 89: "It contains an "
-        LayoutInline {SPAN} at (0,0) size 756x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (475,0) size 144x19
-            text run at (475,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (618,3) size 25x16
-              text run at (618,3) width 25: "one"
-          LayoutText {#text} at (642,0) size 756x39
-            text run at (642,0) width 114: ", giving it an aqua"
+        LayoutText {#text} at (0,0) size 475x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 88: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 755x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (475,0) size 143x19
+            text run at (475,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (618,3) size 24x16
+              text run at (618,3) width 24: "one"
+          LayoutText {#text} at (642,0) size 755x39
+            text run at (642,0) width 113: ", giving it an aqua"
             text run at (0,20) width 221: "background and a 25px top margin"
-        LayoutText {#text} at (220,20) size 747x39
-          text run at (220,20) width 9: ". "
-          text run at (228,20) width 519: "Margins on inline elements do not affect line-height calculations, so all lines in this"
+        LayoutText {#text} at (221,20) size 747x39
+          text run at (221,20) width 8: ". "
+          text run at (229,20) width 518: "Margins on inline elements do not affect line-height calculations, so all lines in this"
           text run at (0,40) width 263: "element should have the same line-height."
       LayoutBlockFlow {P} at (0,207) size 784x60 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 476x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 89: "It contains an "
-        LayoutInline {SPAN} at (0,0) size 753x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (475,0) size 144x19
-            text run at (475,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (618,3) size 25x16
-              text run at (618,3) width 25: "two"
-          LayoutText {#text} at (642,0) size 753x39
-            text run at (642,0) width 111: ", giving the inline"
+        LayoutText {#text} at (0,0) size 475x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 88: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 752x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (475,0) size 143x19
+            text run at (475,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (618,3) size 24x16
+              text run at (618,3) width 24: "two"
+          LayoutText {#text} at (642,0) size 752x39
+            text run at (642,0) width 110: ", giving the inline"
             text run at (0,20) width 332: "element an aqua background and a -10px top margin"
-        LayoutText {#text} at (331,20) size 783x39
-          text run at (331,20) width 9: ". "
-          text run at (339,20) width 444: "Margins on inline elements do not affect line-height calculations, so all"
+        LayoutText {#text} at (332,20) size 783x39
+          text run at (332,20) width 8: ". "
+          text run at (340,20) width 443: "Margins on inline elements do not affect line-height calculations, so all"
           text run at (0,40) width 338: "lines in this element should have the same line-height."
       LayoutTable {TABLE} at (0,283) size 784x174 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x172
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x144
             LayoutTableCell {TD} at (0,86) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x144 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 476x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 89: "It contains an "
-                LayoutInline {SPAN} at (0,0) size 756x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (475,0) size 144x19
-                    text run at (475,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (618,3) size 25x16
-                      text run at (618,3) width 25: "one"
-                  LayoutText {#text} at (642,0) size 756x39
-                    text run at (642,0) width 114: ", giving it an aqua"
+                LayoutText {#text} at (0,0) size 475x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 88: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 755x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (475,0) size 143x19
+                    text run at (475,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (618,3) size 24x16
+                      text run at (618,3) width 24: "one"
+                  LayoutText {#text} at (642,0) size 755x39
+                    text run at (642,0) width 113: ", giving it an aqua"
                     text run at (0,20) width 221: "background and a 25px top margin"
-                LayoutText {#text} at (220,20) size 747x39
-                  text run at (220,20) width 9: ". "
-                  text run at (228,20) width 519: "Margins on inline elements do not affect line-height calculations, so all lines in this"
+                LayoutText {#text} at (221,20) size 747x39
+                  text run at (221,20) width 8: ". "
+                  text run at (229,20) width 518: "Margins on inline elements do not affect line-height calculations, so all lines in this"
                   text run at (0,40) width 263: "element should have the same line-height."
               LayoutBlockFlow {P} at (4,80) size 762x60 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 476x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 89: "It contains an "
-                LayoutInline {SPAN} at (0,0) size 753x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (475,0) size 144x19
-                    text run at (475,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (618,3) size 25x16
-                      text run at (618,3) width 25: "two"
-                  LayoutText {#text} at (642,0) size 753x39
-                    text run at (642,0) width 111: ", giving the inline"
+                LayoutText {#text} at (0,0) size 475x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 88: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 752x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (475,0) size 143x19
+                    text run at (475,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (618,3) size 24x16
+                      text run at (618,3) width 24: "two"
+                  LayoutText {#text} at (642,0) size 752x39
+                    text run at (642,0) width 110: ", giving the inline"
                     text run at (0,20) width 332: "element an aqua background and a -10px top margin"
-                LayoutText {#text} at (331,20) size 746x39
-                  text run at (331,20) width 9: ". "
-                  text run at (339,20) width 407: "Margins on inline elements do not affect line-height calculations,"
+                LayoutText {#text} at (332,20) size 746x39
+                  text run at (332,20) width 8: ". "
+                  text run at (340,20) width 406: "Margins on inline elements do not affect line-height calculations,"
                   text run at (0,40) width 375: "so all lines in this element should have the same line-height."
 layer at (8,121) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding-expected.txt
index f7a70c2..96b8d9b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding-expected.txt
@@ -52,9 +52,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x1056
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x1028
             LayoutTableCell {TD} at (0,528) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom-expected.txt
index c2d5034..e8c728b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom-expected.txt
@@ -55,9 +55,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x732
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x704
             LayoutTableCell {TD} at (0,366) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom_inline-expected.png
index 01823bf..4bedc25 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom_inline-expected.txt
index 165bd15..2198fd70d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom_inline-expected.txt
@@ -14,36 +14,36 @@
           text run at (424,16) width 0: " "
           text run at (0,32) width 0: " "
       LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 476x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 89: "It contains an "
-        LayoutInline {SPAN} at (0,0) size 756x64 [bgcolor=#00FFFF]
-          LayoutText {#text} at (475,0) size 144x19
-            text run at (475,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (618,3) size 25x16
-              text run at (618,3) width 25: "one"
-          LayoutText {#text} at (642,0) size 756x39
-            text run at (642,0) width 114: ", giving it an aqua"
+        LayoutText {#text} at (0,0) size 475x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 88: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 755x64 [bgcolor=#00FFFF]
+          LayoutText {#text} at (475,0) size 143x19
+            text run at (475,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (618,3) size 24x16
+              text run at (618,3) width 24: "one"
+          LayoutText {#text} at (642,0) size 755x39
+            text run at (642,0) width 113: ", giving it an aqua"
             text run at (0,20) width 252: "background and a 25px bottom padding"
         LayoutText {#text} at (252,20) size 781x59
           text run at (252,20) width 8: ". "
           text run at (260,20) width 505: "Padding on inline elements does not affect line-height calculations, so all lines in"
           text run at (0,40) width 293: "this element should have the same line-height. "
           text run at (293,40) width 488: "There may be implementation-specific limits on how much of the padding the"
-          text run at (0,60) width 176: "user agent is able to display."
+          text run at (0,60) width 175: "user agent is able to display."
       LayoutBlockFlow {P} at (0,211) size 784x60 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 476x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 89: "It contains an "
-        LayoutInline {SPAN} at (0,0) size 756x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (475,0) size 144x19
-            text run at (475,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (618,3) size 25x16
-              text run at (618,3) width 25: "two"
-          LayoutText {#text} at (642,0) size 756x39
-            text run at (642,0) width 114: ", giving it an aqua"
+        LayoutText {#text} at (0,0) size 475x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 88: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 755x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (475,0) size 143x19
+            text run at (475,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (618,3) size 24x16
+              text run at (618,3) width 24: "two"
+          LayoutText {#text} at (642,0) size 755x39
+            text run at (642,0) width 113: ", giving it an aqua"
             text run at (0,20) width 522: "background and no bottom padding, since negative padding values are not allowed"
         LayoutText {#text} at (522,20) size 757x39
           text run at (522,20) width 8: ". "
@@ -53,45 +53,45 @@
         LayoutTableSection {TBODY} at (1,1) size 782x192
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x164
             LayoutTableCell {TD} at (0,96) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x164 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x80 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 476x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 89: "It contains an "
-                LayoutInline {SPAN} at (0,0) size 756x64 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (475,0) size 144x19
-                    text run at (475,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (618,3) size 25x16
-                      text run at (618,3) width 25: "one"
-                  LayoutText {#text} at (642,0) size 756x39
-                    text run at (642,0) width 114: ", giving it an aqua"
+                LayoutText {#text} at (0,0) size 475x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 88: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 755x64 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (475,0) size 143x19
+                    text run at (475,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (618,3) size 24x16
+                      text run at (618,3) width 24: "one"
+                  LayoutText {#text} at (642,0) size 755x39
+                    text run at (642,0) width 113: ", giving it an aqua"
                     text run at (0,20) width 252: "background and a 25px bottom padding"
                 LayoutText {#text} at (252,20) size 749x59
                   text run at (252,20) width 8: ". "
                   text run at (260,20) width 489: "Padding on inline elements does not affect line-height calculations, so all lines"
                   text run at (0,40) width 309: "in this element should have the same line-height. "
                   text run at (309,40) width 410: "There may be implementation-specific limits on how much of the"
-                  text run at (0,60) width 254: "padding the user agent is able to display."
+                  text run at (0,60) width 253: "padding the user agent is able to display."
               LayoutBlockFlow {P} at (4,100) size 762x60 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 476x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 89: "It contains an "
-                LayoutInline {SPAN} at (0,0) size 756x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (475,0) size 144x19
-                    text run at (475,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (618,3) size 25x16
-                      text run at (618,3) width 25: "two"
-                  LayoutText {#text} at (642,0) size 756x39
-                    text run at (642,0) width 114: ", giving it an aqua"
+                LayoutText {#text} at (0,0) size 475x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 88: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 755x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (475,0) size 143x19
+                    text run at (475,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (618,3) size 24x16
+                      text run at (618,3) width 24: "two"
+                  LayoutText {#text} at (642,0) size 755x39
+                    text run at (642,0) width 113: ", giving it an aqua"
                     text run at (0,20) width 522: "background and no bottom padding, since negative padding values are not allowed"
                 LayoutText {#text} at (522,20) size 757x39
                   text run at (522,20) width 8: ". "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_inline-expected.png
index 1901a6c..5f70127 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_inline-expected.txt
index de24b3d..f454e3c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_inline-expected.txt
@@ -19,17 +19,17 @@
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "This element has a class of zero."
       LayoutBlockFlow {P} at (0,167) size 769x120 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 476x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 89: "It contains an "
-        LayoutInline {SPAN} at (0,0) size 747x89 [bgcolor=#00FFFF]
-          LayoutText {#text} at (500,0) size 144x19
-            text run at (500,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (643,3) size 25x16
-              text run at (643,3) width 25: "one"
-          LayoutText {#text} at (667,0) size 747x39
-            text run at (667,0) width 80: ", giving it an"
+        LayoutText {#text} at (0,0) size 475x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 88: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 746x89 [bgcolor=#00FFFF]
+          LayoutText {#text} at (500,0) size 143x19
+            text run at (500,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (643,3) size 24x16
+              text run at (643,3) width 24: "one"
+          LayoutText {#text} at (667,0) size 746x39
+            text run at (667,0) width 79: ", giving it an"
             text run at (0,20) width 238: "aqua background and a 25px padding"
         LayoutText {#text} at (263,20) size 765x99
           text run at (263,20) width 8: ". "
@@ -44,17 +44,17 @@
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "This element has a class of zero."
       LayoutBlockFlow {P} at (0,339) size 769x60 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 476x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 89: "It contains an "
-        LayoutInline {SPAN} at (0,0) size 756x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (475,0) size 144x19
-            text run at (475,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (618,3) size 25x16
-              text run at (618,3) width 25: "two"
-          LayoutText {#text} at (642,0) size 756x39
-            text run at (642,0) width 114: ", giving it an aqua"
+        LayoutText {#text} at (0,0) size 475x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 88: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 755x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (475,0) size 143x19
+            text run at (475,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (618,3) size 24x16
+              text run at (618,3) width 24: "two"
+          LayoutText {#text} at (642,0) size 755x39
+            text run at (642,0) width 113: ", giving it an aqua"
             text run at (0,20) width 474: "background and no padding, since negative padding values are not allowed"
         LayoutText {#text} at (474,20) size 748x39
           text run at (474,20) width 8: ". "
@@ -67,9 +67,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x340
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x312
             LayoutTableCell {TD} at (0,170) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -79,17 +79,17 @@
                 LayoutText {#text} at (0,0) size 203x19
                   text run at (0,0) width 203: "This element has a class of zero."
               LayoutBlockFlow {P} at (4,40) size 747x120 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 476x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 89: "It contains an "
-                LayoutInline {SPAN} at (0,0) size 747x89 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (500,0) size 144x19
-                    text run at (500,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (643,3) size 25x16
-                      text run at (643,3) width 25: "one"
-                  LayoutText {#text} at (667,0) size 747x39
-                    text run at (667,0) width 80: ", giving it an"
+                LayoutText {#text} at (0,0) size 475x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 88: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 746x89 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (500,0) size 143x19
+                    text run at (500,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (643,3) size 24x16
+                      text run at (643,3) width 24: "one"
+                  LayoutText {#text} at (667,0) size 746x39
+                    text run at (667,0) width 79: ", giving it an"
                     text run at (0,20) width 238: "aqua background and a 25px padding"
                 LayoutText {#text} at (263,20) size 729x99
                   text run at (263,20) width 8: ". "
@@ -104,17 +104,17 @@
                 LayoutText {#text} at (0,0) size 203x19
                   text run at (0,0) width 203: "This element has a class of zero."
               LayoutBlockFlow {P} at (4,212) size 747x60 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 476x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 89: "It contains an "
-                LayoutInline {SPAN} at (0,0) size 722x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (475,0) size 144x19
-                    text run at (475,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (618,3) size 25x16
-                      text run at (618,3) width 25: "two"
-                  LayoutText {#text} at (642,0) size 722x39
-                    text run at (642,0) width 80: ", giving it an"
+                LayoutText {#text} at (0,0) size 475x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 88: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 721x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (475,0) size 143x19
+                    text run at (475,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (618,3) size 24x16
+                      text run at (618,3) width 24: "two"
+                  LayoutText {#text} at (642,0) size 721x39
+                    text run at (642,0) width 79: ", giving it an"
                     text run at (0,20) width 508: "aqua background and no padding, since negative padding values are not allowed"
                 LayoutText {#text} at (508,20) size 743x39
                   text run at (508,20) width 8: ". "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left-expected.png
index d913fcf..5f2e79b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left-expected.txt
index 6fea302..d8fd164 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left-expected.txt
@@ -64,9 +64,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x452
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x424
             LayoutTableCell {TD} at (0,226) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left_inline-expected.png
index e30e4e8..d1f4f06d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left_inline-expected.txt
index 25146a6..020fd86 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left_inline-expected.txt
@@ -14,17 +14,17 @@
           text run at (408,16) width 0: " "
           text run at (0,32) width 0: " "
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 542x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 155: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 193x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (566,0) size 144x19
-            text run at (566,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (709,3) size 25x16
-              text run at (709,3) width 25: "one"
-        LayoutText {#text} at (733,0) size 777x39
-          text run at (733,0) width 44: " which"
+        LayoutText {#text} at (0,0) size 541x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 154: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 192x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (566,0) size 143x19
+            text run at (566,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (709,3) size 24x16
+              text run at (709,3) width 24: "one"
+        LayoutText {#text} at (733,0) size 776x39
+          text run at (733,0) width 43: " which"
           text run at (0,20) width 527: "should result in 25-pixel left padding (which should also be a light blue) only in the "
         LayoutInline {STRONG} at (0,0) size 27x19
           LayoutText {#text} at (527,20) size 27x19
@@ -33,17 +33,17 @@
           text run at (554,20) width 176: " line in which the inline box"
           text run at (0,40) width 52: "appears."
       LayoutBlockFlow {P} at (0,191) size 784x40 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 542x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 155: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (541,0) size 144x19
-            text run at (541,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (684,3) size 25x16
-              text run at (684,3) width 25: "two"
-        LayoutText {#text} at (708,0) size 752x39
-          text run at (708,0) width 44: " which"
+        LayoutText {#text} at (0,0) size 541x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 154: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 167x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (541,0) size 143x19
+            text run at (541,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (684,3) size 24x16
+              text run at (684,3) width 24: "two"
+        LayoutText {#text} at (708,0) size 751x39
+          text run at (708,0) width 43: " which"
           text run at (0,20) width 512: "should result in -10px left padding (which should also be a light blue) only in the "
         LayoutInline {STRONG} at (0,0) size 27x19
           LayoutText {#text} at (512,20) size 27x19
@@ -54,24 +54,24 @@
         LayoutTableSection {TBODY} at (1,1) size 782x172
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x144
             LayoutTableCell {TD} at (0,86) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x144 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 542x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 155: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 193x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (566,0) size 144x19
-                    text run at (566,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (709,3) size 25x16
-                      text run at (709,3) width 25: "one"
+                LayoutText {#text} at (0,0) size 541x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 154: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 192x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (566,0) size 143x19
+                    text run at (566,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (709,3) size 24x16
+                      text run at (709,3) width 24: "one"
                 LayoutText {#text} at (0,20) size 570x19
                   text run at (0,20) width 570: "which should result in 25-pixel left padding (which should also be a light blue) only in the "
                 LayoutInline {STRONG} at (0,0) size 27x19
@@ -81,17 +81,17 @@
                   text run at (597,20) width 148: " line in which the inline"
                   text run at (0,40) width 80: "box appears."
               LayoutBlockFlow {P} at (4,80) size 762x60 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 542x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 155: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (541,0) size 144x19
-                    text run at (541,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (684,3) size 25x16
-                      text run at (684,3) width 25: "two"
-                LayoutText {#text} at (708,0) size 752x39
-                  text run at (708,0) width 44: " which"
+                LayoutText {#text} at (0,0) size 541x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 154: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 167x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (541,0) size 143x19
+                    text run at (541,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (684,3) size 24x16
+                      text run at (684,3) width 24: "two"
+                LayoutText {#text} at (708,0) size 751x39
+                  text run at (708,0) width 43: " which"
                   text run at (0,20) width 512: "should result in -10px left padding (which should also be a light blue) only in the "
                 LayoutInline {STRONG} at (0,0) size 27x19
                   LayoutText {#text} at (512,20) size 27x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right-expected.txt
index d318d8e..725d2939 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right-expected.txt
@@ -73,9 +73,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x552
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x524
             LayoutTableCell {TD} at (0,276) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right_inline-expected.png
index 687ebfc..66beeae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right_inline-expected.txt
index 4ed3e6b..c8caf06 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right_inline-expected.txt
@@ -14,17 +14,17 @@
           text run at (568,16) width 0: " "
           text run at (0,32) width 0: " "
       LayoutBlockFlow {P} at (0,115) size 784x40 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 542x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 155: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 193x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (541,0) size 144x19
-            text run at (541,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (684,3) size 25x16
-              text run at (684,3) width 25: "one"
-        LayoutText {#text} at (733,0) size 781x39
-          text run at (733,0) width 48: ", which"
+        LayoutText {#text} at (0,0) size 541x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 154: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 192x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (541,0) size 143x19
+            text run at (541,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (684,3) size 24x16
+              text run at (684,3) width 24: "one"
+        LayoutText {#text} at (733,0) size 780x39
+          text run at (733,0) width 47: ", which"
           text run at (0,20) width 525: "should result in 25-pixel right padding (which should also be light blue) only in the "
         LayoutInline {STRONG} at (0,0) size 23x19
           LayoutText {#text} at (525,20) size 23x19
@@ -32,17 +32,17 @@
         LayoutText {#text} at (548,20) size 232x19
           text run at (548,20) width 232: " line in which the inline box appears."
       LayoutBlockFlow {P} at (0,171) size 784x60 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 542x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 155: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (541,0) size 144x19
-            text run at (541,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (684,3) size 25x16
-              text run at (684,3) width 25: "two"
-        LayoutText {#text} at (708,0) size 756x39
-          text run at (708,0) width 48: ", which"
+        LayoutText {#text} at (0,0) size 541x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 154: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 167x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (541,0) size 143x19
+            text run at (541,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (684,3) size 24x16
+              text run at (684,3) width 24: "two"
+        LayoutText {#text} at (708,0) size 755x39
+          text run at (708,0) width 47: ", which"
           text run at (0,20) width 548: "should result in no right padding, since negative padding values are not allowed, in the "
         LayoutInline {STRONG} at (0,0) size 23x19
           LayoutText {#text} at (548,20) size 23x19
@@ -54,26 +54,26 @@
         LayoutTableSection {TBODY} at (1,1) size 782x172
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x144
             LayoutTableCell {TD} at (0,86) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x144 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 542x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 155: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 193x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (541,0) size 144x19
-                    text run at (541,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (684,3) size 25x16
-                      text run at (684,3) width 25: "one"
-                LayoutText {#text} at (733,0) size 738x39
-                  text run at (733,0) width 5: ","
+                LayoutText {#text} at (0,0) size 541x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 154: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 192x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (541,0) size 143x19
+                    text run at (541,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (684,3) size 24x16
+                      text run at (684,3) width 24: "one"
+                LayoutText {#text} at (733,0) size 737x39
+                  text run at (733,0) width 4: ","
                   text run at (0,20) width 568: "which should result in 25-pixel right padding (which should also be light blue) only in the "
                 LayoutInline {STRONG} at (0,0) size 23x19
                   LayoutText {#text} at (568,20) size 23x19
@@ -82,17 +82,17 @@
                   text run at (591,20) width 148: " line in which the inline"
                   text run at (0,40) width 80: "box appears."
               LayoutBlockFlow {P} at (4,80) size 762x60 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 542x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 155: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (541,0) size 144x19
-                    text run at (541,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (684,3) size 25x16
-                      text run at (684,3) width 25: "two"
-                LayoutText {#text} at (708,0) size 756x39
-                  text run at (708,0) width 48: ", which"
+                LayoutText {#text} at (0,0) size 541x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 154: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 167x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (541,0) size 143x19
+                    text run at (541,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (684,3) size 24x16
+                      text run at (684,3) width 24: "two"
+                LayoutText {#text} at (708,0) size 755x39
+                  text run at (708,0) width 47: ", which"
                   text run at (0,20) width 548: "should result in no right padding, since negative padding values are not allowed, in the "
                 LayoutInline {STRONG} at (0,0) size 23x19
                   LayoutText {#text} at (548,20) size 23x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top-expected.txt
index 174b7f4..fda67de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top-expected.txt
@@ -53,9 +53,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x676
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x648
             LayoutTableCell {TD} at (0,338) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top_inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top_inline-expected.png
index 7eaa7c7..62214cc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top_inline-expected.txt
index 643a2d8f..7732183 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top_inline-expected.txt
@@ -14,36 +14,36 @@
           text run at (400,16) width 0: " "
           text run at (0,32) width 0: " "
       LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 476x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 89: "It contains an "
-        LayoutInline {SPAN} at (0,0) size 756x64 [bgcolor=#00FFFF]
-          LayoutText {#text} at (475,0) size 144x19
-            text run at (475,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (618,3) size 25x16
-              text run at (618,3) width 25: "one"
-          LayoutText {#text} at (642,0) size 756x39
-            text run at (642,0) width 114: ", giving it an aqua"
+        LayoutText {#text} at (0,0) size 475x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 88: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 755x64 [bgcolor=#00FFFF]
+          LayoutText {#text} at (475,0) size 143x19
+            text run at (475,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (618,3) size 24x16
+              text run at (618,3) width 24: "one"
+          LayoutText {#text} at (642,0) size 755x39
+            text run at (642,0) width 113: ", giving it an aqua"
             text run at (0,20) width 228: "background and a 25px top padding"
         LayoutText {#text} at (228,20) size 767x59
           text run at (228,20) width 8: ". "
           text run at (236,20) width 531: "Padding on inline elements does not affect line-height calculations, so all lines in this"
           text run at (0,40) width 267: "element should have the same line-height. "
           text run at (267,40) width 488: "There may be implementation-specific limits on how much of the padding the"
-          text run at (0,60) width 176: "user agent is able to display."
+          text run at (0,60) width 175: "user agent is able to display."
       LayoutBlockFlow {P} at (0,211) size 784x60 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 476x19
-          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-          text run at (387,0) width 89: "It contains an "
-        LayoutInline {SPAN} at (0,0) size 756x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (475,0) size 144x19
-            text run at (475,0) width 144: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (618,3) size 25x16
-              text run at (618,3) width 25: "two"
-          LayoutText {#text} at (642,0) size 756x39
-            text run at (642,0) width 114: ", giving it an aqua"
+        LayoutText {#text} at (0,0) size 475x19
+          text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 88: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 755x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (475,0) size 143x19
+            text run at (475,0) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (618,3) size 24x16
+              text run at (618,3) width 24: "two"
+          LayoutText {#text} at (642,0) size 755x39
+            text run at (642,0) width 113: ", giving it an aqua"
             text run at (0,20) width 498: "background and no top padding, since negative padding values are not allowed"
         LayoutText {#text} at (498,20) size 772x39
           text run at (498,20) width 8: ". "
@@ -53,45 +53,45 @@
         LayoutTableSection {TBODY} at (1,1) size 782x192
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x164
             LayoutTableCell {TD} at (0,96) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x164 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x80 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 476x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 89: "It contains an "
-                LayoutInline {SPAN} at (0,0) size 756x64 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (475,0) size 144x19
-                    text run at (475,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (618,3) size 25x16
-                      text run at (618,3) width 25: "one"
-                  LayoutText {#text} at (642,0) size 756x39
-                    text run at (642,0) width 114: ", giving it an aqua"
+                LayoutText {#text} at (0,0) size 475x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 88: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 755x64 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (475,0) size 143x19
+                    text run at (475,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (618,3) size 24x16
+                      text run at (618,3) width 24: "one"
+                  LayoutText {#text} at (642,0) size 755x39
+                    text run at (642,0) width 113: ", giving it an aqua"
                     text run at (0,20) width 228: "background and a 25px top padding"
                 LayoutText {#text} at (228,20) size 758x59
                   text run at (228,20) width 8: ". "
                   text run at (236,20) width 505: "Padding on inline elements does not affect line-height calculations, so all lines in"
                   text run at (0,40) width 293: "this element should have the same line-height. "
                   text run at (293,40) width 465: "There may be implementation-specific limits on how much of the padding"
-                  text run at (0,60) width 199: "the user agent is able to display."
+                  text run at (0,60) width 198: "the user agent is able to display."
               LayoutBlockFlow {P} at (4,100) size 762x60 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 476x19
-                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
-                  text run at (387,0) width 89: "It contains an "
-                LayoutInline {SPAN} at (0,0) size 756x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (475,0) size 144x19
-                    text run at (475,0) width 144: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (618,3) size 25x16
-                      text run at (618,3) width 25: "two"
-                  LayoutText {#text} at (642,0) size 756x39
-                    text run at (642,0) width 114: ", giving it an aqua"
+                LayoutText {#text} at (0,0) size 475x19
+                  text run at (0,0) width 387: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 88: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 755x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (475,0) size 143x19
+                    text run at (475,0) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (618,3) size 24x16
+                      text run at (618,3) width 24: "two"
+                  LayoutText {#text} at (642,0) size 755x39
+                    text run at (642,0) width 113: ", giving it an aqua"
                     text run at (0,20) width 498: "background and no top padding, since negative padding values are not allowed"
                 LayoutText {#text} at (498,20) size 733x39
                   text run at (498,20) width 8: ". "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/width-expected.txt
index a2825eb..0464b62 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/width-expected.txt
@@ -36,16 +36,16 @@
         LayoutInline {CODE} at (0,0) size 40x16
           LayoutText {#text} at (246,63) size 40x16
             text run at (246,63) width 40: "width"
-        LayoutText {#text} at (286,60) size 373x39
+        LayoutText {#text} at (286,60) size 372x39
           text run at (286,60) width 57: " property"
-          text run at (0,80) width 373: "without the need for the user to resize the viewing window."
+          text run at (0,80) width 372: "without the need for the user to resize the viewing window."
       LayoutTable {TABLE} at (0,761.50) size 384x613 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 382x611
           LayoutTableRow {TR} at (0,0) size 382x28
             LayoutTableCell {TD} at (0,0) size 382x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 382x583
             LayoutTableCell {TD} at (0,305) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -79,9 +79,9 @@
                 LayoutInline {CODE} at (0,0) size 40x16
                   LayoutText {#text} at (23,163) size 40x16
                     text run at (23,163) width 40: "width"
-                LayoutText {#text} at (63,160) size 173x59
+                LayoutText {#text} at (63,160) size 172x59
                   text run at (63,160) width 109: " property without"
                   text run at (0,180) width 144: "the need for the user to"
-                  text run at (0,200) width 173: "resize the viewing window."
+                  text run at (0,200) width 172: "resize the viewing window."
 layer at (8,105) size 769x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,97) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/cascade_order-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/cascade_order-expected.png
index 37baba9d..93d81f7c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/cascade_order-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/cascade_order-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/cascade_order-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/cascade_order-expected.txt
index c6fb7ba60..92427bc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/cascade_order-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/cascade_order-expected.txt
@@ -42,8 +42,8 @@
           LayoutBlockFlow {UL} at (0,20) size 729x60
             LayoutListItem {LI} at (40,0) size 689x20 [color=#808080]
               LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
-              LayoutText {#text} at (0,0) size 189x19
-                text run at (0,0) width 189: "This list item should be gray..."
+              LayoutText {#text} at (0,0) size 188x19
+                text run at (0,0) width 188: "This list item should be gray..."
             LayoutListItem {LI} at (40,20) size 689x20 [color=#808080]
               LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
               LayoutText {#text} at (0,0) size 113x19
@@ -82,9 +82,9 @@
         LayoutTableSection {TBODY} at (1,1) size 703x304
           LayoutTableRow {TR} at (0,0) size 703x28
             LayoutTableCell {TD} at (0,0) size 703x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 703x276
             LayoutTableCell {TD} at (0,152) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -103,8 +103,8 @@
                   LayoutBlockFlow {UL} at (0,20) size 643x60
                     LayoutListItem {LI} at (40,0) size 603x20 [color=#808080]
                       LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
-                      LayoutText {#text} at (0,0) size 189x19
-                        text run at (0,0) width 189: "This list item should be gray..."
+                      LayoutText {#text} at (0,0) size 188x19
+                        text run at (0,0) width 188: "This list item should be gray..."
                     LayoutListItem {LI} at (40,20) size 603x20 [color=#808080]
                       LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
                       LayoutText {#text} at (0,0) size 113x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/important-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/important-expected.png
index ddbf65eb..678d6980 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/important-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/important-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/important-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/important-expected.txt
index 56bb801..08c14b8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/important-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/important-expected.txt
@@ -38,9 +38,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x188
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x160
             LayoutTableCell {TD} at (0,94) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/display-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/display-expected.png
index 0735a99d..278633e5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/display-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/display-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/display-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/display-expected.txt
index 049d050d..d9abc166 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/display-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/display-expected.txt
@@ -70,9 +70,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x372
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x344
             LayoutTableCell {TD} at (0,186) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style-expected.png
index 50397b4..929fba1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style-expected.txt
index 4c4676f5..4f80b5ee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style-expected.txt
@@ -29,9 +29,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x148
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x120
             LayoutTableCell {TD} at (0,74) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_image-expected.png
index fe5d4fd..77bddcf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_image-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_image-expected.txt
index b2b4173..5047e92 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_image-expected.txt
@@ -43,9 +43,9 @@
         LayoutTableSection {TBODY} at (1,1) size 291x188
           LayoutTableRow {TR} at (0,0) size 291x28
             LayoutTableCell {TD} at (0,0) size 291x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 291x160
             LayoutTableCell {TD} at (0,94) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_position-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_position-expected.png
index 44839a39..a639c0a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_position-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_position-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_position-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_position-expected.txt
index 98bde63..e16edfd5e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_position-expected.txt
@@ -29,9 +29,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x148
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x120
             LayoutTableCell {TD} at (0,74) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_type-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_type-expected.txt
index 387eec5d..11e5eef 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_type-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_type-expected.txt
@@ -145,9 +145,9 @@
         LayoutTableSection {TBODY} at (1,1) size 336x720
           LayoutTableRow {TR} at (0,0) size 336x28
             LayoutTableCell {TD} at (0,0) size 336x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 336x692
             LayoutTableCell {TD} at (0,360) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/white_space-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/white_space-expected.png
index b365602..a365686 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/white_space-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/white_space-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/white_space-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/white_space-expected.txt
index 242c504b..8313e6f3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/white_space-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/white_space-expected.txt
@@ -16,10 +16,10 @@
           text run at (232,32) width 0: " "
           text run at (0,48) width 0: " "
       LayoutBlockFlow {P} at (0,131) size 784x100
-        LayoutText {#text} at (0,0) size 568x99
+        LayoutText {#text} at (0,0) size 567x99
           text run at (0,0) width 0: " "
-          text run at (0,20) width 568: "This sentence should     show extra space  where there    would ordinarily         not be any."
-          text run at (567,20) width 1: " "
+          text run at (0,20) width 567: "This sentence should     show extra space  where there    would ordinarily         not be any."
+          text run at (567,20) width 0: " "
           text run at (0,40) width 296: "     There should also be preservation of returns"
           text run at (296,40) width 0: " "
           text run at (0,60) width 97: "as this sentence"
@@ -44,19 +44,19 @@
         LayoutTableSection {TBODY} at (1,1) size 911x228
           LayoutTableRow {TR} at (0,0) size 911x28
             LayoutTableCell {TD} at (0,0) size 911x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 911x200
             LayoutTableCell {TD} at (0,114) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 899x200 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 891x100
-                LayoutText {#text} at (0,0) size 568x99
+                LayoutText {#text} at (0,0) size 567x99
                   text run at (0,0) width 0: " "
-                  text run at (0,20) width 568: "This sentence should     show extra space  where there    would ordinarily         not be any."
-                  text run at (567,20) width 1: " "
+                  text run at (0,20) width 567: "This sentence should     show extra space  where there    would ordinarily         not be any."
+                  text run at (567,20) width 0: " "
                   text run at (0,40) width 296: "     There should also be preservation of returns"
                   text run at (296,40) width 0: " "
                   text run at (0,60) width 97: "as this sentence"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background-expected.png
index 089897e..8f15f94 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background-expected.txt
index 6b255d11..401c8d1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background-expected.txt
@@ -26,32 +26,32 @@
           text run at (64,20) width 298: " indicates tiling in both directions of the x-axis. "
           text run at (362,20) width 298: "Furthermore, the strip should be fixed in place. "
           text run at (660,20) width 93: "I'll have to add"
-          text run at (0,40) width 491: "extra text at the end of this page to make it long enough to scroll conveniently."
+          text run at (0,40) width 490: "extra text at the end of this page to make it long enough to scroll conveniently."
       LayoutBlockFlow {P} at (0,207) size 769x60 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 762x59
           text run at (0,0) width 743: "This paragraph should have a lime background and an orange strip which starts at the top right and runs to the bottom."
           text run at (0,20) width 762: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
           text run at (0,40) width 119: "these declarations. "
-          text run at (119,40) width 306: "Hey, I didn't say the page would be pretty, did I?"
+          text run at (119,40) width 304: "Hey, I didn't say the page would be pretty, did I?"
       LayoutBlockFlow {P} at (0,283) size 769x60 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 762x59
           text run at (0,0) width 752: "This paragraph should have a lime background and an orange strip which starts at the center top and runs to the bottom."
           text run at (0,20) width 762: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
           text run at (0,40) width 119: "these declarations. "
-          text run at (119,40) width 306: "Hey, I didn't say the page would be pretty, did I?"
+          text run at (119,40) width 304: "Hey, I didn't say the page would be pretty, did I?"
       LayoutBlockFlow {P} at (0,359) size 769x60 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 762x59
           text run at (0,0) width 743: "This paragraph should have a lime background and an orange strip which starts at the top left and runs to the top right."
           text run at (0,20) width 762: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
           text run at (0,40) width 119: "these declarations. "
-          text run at (119,40) width 306: "Hey, I didn't say the page would be pretty, did I?"
+          text run at (119,40) width 304: "Hey, I didn't say the page would be pretty, did I?"
       LayoutTable {TABLE} at (0,435) size 769x326 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x324
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x296
             LayoutTableCell {TD} at (0,162) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -67,25 +67,25 @@
                   text run at (64,20) width 298: " indicates tiling in both directions of the x-axis. "
                   text run at (362,20) width 298: "Furthermore, the strip should be fixed in place. "
                   text run at (660,20) width 66: "I'll have to"
-                  text run at (0,40) width 518: "add extra text at the end of this page to make it long enough to scroll conveniently."
+                  text run at (0,40) width 517: "add extra text at the end of this page to make it long enough to scroll conveniently."
               LayoutBlockFlow {P} at (4,80) size 747x60 [bgcolor=#00FF00]
                 LayoutText {#text} at (0,0) size 743x59
                   text run at (0,0) width 743: "This paragraph should have a lime background and an orange strip which starts at the top right and runs to the bottom."
                   text run at (0,20) width 703: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in"
                   text run at (0,40) width 178: "handling these declarations. "
-                  text run at (178,40) width 306: "Hey, I didn't say the page would be pretty, did I?"
+                  text run at (178,40) width 304: "Hey, I didn't say the page would be pretty, did I?"
               LayoutBlockFlow {P} at (4,156) size 747x60 [bgcolor=#00FF00]
                 LayoutText {#text} at (0,0) size 739x59
                   text run at (0,0) width 700: "This paragraph should have a lime background and an orange strip which starts at the center top and runs to the"
                   text run at (0,20) width 52: "bottom. "
                   text run at (52,20) width 687: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser"
                   text run at (0,40) width 194: "in handling these declarations. "
-                  text run at (194,40) width 306: "Hey, I didn't say the page would be pretty, did I?"
+                  text run at (194,40) width 304: "Hey, I didn't say the page would be pretty, did I?"
               LayoutBlockFlow {P} at (4,232) size 747x60 [bgcolor=#00FF00]
                 LayoutText {#text} at (0,0) size 743x59
                   text run at (0,0) width 743: "This paragraph should have a lime background and an orange strip which starts at the top left and runs to the top right."
                   text run at (0,20) width 703: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in"
                   text run at (0,40) width 178: "handling these declarations. "
-                  text run at (178,40) width 306: "Hey, I didn't say the page would be pretty, did I?"
+                  text run at (178,40) width 304: "Hey, I didn't say the page would be pretty, did I?"
 layer at (8,121) size 769x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_attachment-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_attachment-expected.png
index b660bb6..3b6bc81f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_attachment-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_attachment-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_attachment-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_attachment-expected.txt
index b1aaa57..cddb2d3b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_attachment-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_attachment-expected.txt
@@ -12,15 +12,15 @@
           text run at (872,0) width 0: " "
           text run at (0,16) width 0: " "
       LayoutBlockFlow {P} at (0,99) size 784x100
-        LayoutText {#text} at (0,0) size 780x99
+        LayoutText {#text} at (0,0) size 779x99
           text run at (0,0) width 763: "This document should have a green grid-pattern line across the top of the page (or at least a tiled background) which does"
           text run at (0,20) width 201: "NOT scroll with the document. "
           text run at (201,20) width 575: "It should, instead, appear to be a fixed pattern past which the content scrolls, even when the"
           text run at (0,40) width 172: "end of the page is reached. "
-          text run at (172,40) width 608: "In addition, the default Test Suite background should NOT appear, as it's been overridden by the"
+          text run at (172,40) width 607: "In addition, the default Test Suite background should NOT appear, as it's been overridden by the"
           text run at (0,60) width 131: "styles shown above. "
           text run at (131,60) width 644: "I'll have to add a lot of extra text to the page in order to make all this something we can actually check."
-          text run at (0,80) width 226: "Don't worry, I'll think of something."
+          text run at (0,80) width 225: "Don't worry, I'll think of something."
       LayoutBlockFlow {P} at (0,215) size 784x20
         LayoutText {#text} at (0,0) size 508x19
           text run at (0,0) width 417: "In fact, why not the relevant section from the CSS1 specification? "
@@ -31,12 +31,12 @@
             text run at (0,0) width 220: "5.3.5    'background-attachment'"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,325.53) size 784x100
-        LayoutInline {EM} at (0,0) size 41x19
-          LayoutText {#text} at (0,0) size 41x19
-            text run at (0,0) width 41: "Value:"
-        LayoutText {#text} at (40,0) size 82x19
-          text run at (40,0) width 82: " scroll | fixed"
-        LayoutBR {BR} at (121,15) size 1x0
+        LayoutInline {EM} at (0,0) size 40x19
+          LayoutText {#text} at (0,0) size 40x19
+            text run at (0,0) width 40: "Value:"
+        LayoutText {#text} at (40,0) size 81x19
+          text run at (40,0) width 81: " scroll | fixed"
+        LayoutBR {BR} at (121,15) size 0x0
         LayoutInline {EM} at (0,0) size 42x19
           LayoutText {#text} at (0,20) size 42x19
             text run at (0,20) width 42: "Initial:"
@@ -58,9 +58,9 @@
         LayoutInline {EM} at (0,0) size 121x19
           LayoutText {#text} at (0,80) size 121x19
             text run at (0,80) width 121: "Percentage values:"
-        LayoutText {#text} at (120,80) size 33x19
-          text run at (120,80) width 33: " N/A"
-        LayoutBR {BR} at (152,95) size 1x0
+        LayoutText {#text} at (121,80) size 32x19
+          text run at (121,80) width 32: " N/A"
+        LayoutBR {BR} at (153,95) size 0x0
       LayoutBlockFlow {P} at (0,441.53) size 784x40
         LayoutText {#text} at (0,0) size 782x39
           text run at (0,0) width 782: "If a background image is specified, the value of 'background-attachment' determines if it is fixed with regard to the canvas or"
@@ -81,17 +81,17 @@
         LayoutInline {EM} at (0,0) size 72x19
           LayoutText {#text} at (0,0) size 72x19
             text run at (0,0) width 72: "CSS1 core:"
-        LayoutText {#text} at (71,0) size 767x59
-          text run at (71,0) width 670: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the"
+        LayoutText {#text} at (72,0) size 767x59
+          text run at (72,0) width 669: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the"
           text run at (0,20) width 767: "HTML and BODY elements, since there is no way for an author to provide an image only for those browsers that support"
           text run at (0,40) width 42: "'fixed'."
       LayoutTable {TABLE} at (0,669.53) size 784x593 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x591
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x563
             LayoutTableCell {TD} at (0,295) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -103,11 +103,11 @@
                   text run at (0,20) width 234: "does NOT scroll with the document. "
                   text run at (234,20) width 513: "It should, instead, appear to be a fixed pattern past which the content scrolls, even"
                   text run at (0,40) width 234: "when the end of the page is reached. "
-                  text run at (234,40) width 493: "In addition, the default Test Suite background should NOT appear, as it's been"
+                  text run at (234,40) width 492: "In addition, the default Test Suite background should NOT appear, as it's been"
                   text run at (0,60) width 246: "overridden by the styles shown above. "
                   text run at (246,60) width 497: "I'll have to add a lot of extra text to the page in order to make all this something"
                   text run at (0,80) width 147: "we can actually check. "
-                  text run at (147,80) width 226: "Don't worry, I'll think of something."
+                  text run at (147,80) width 225: "Don't worry, I'll think of something."
               LayoutBlockFlow {P} at (4,120) size 762x20
                 LayoutText {#text} at (0,0) size 508x19
                   text run at (0,0) width 417: "In fact, why not the relevant section from the CSS1 specification? "
@@ -118,12 +118,12 @@
                     text run at (0,0) width 220: "5.3.5    'background-attachment'"
                 LayoutText {#text} at (0,0) size 0x0
               LayoutBlockFlow {P} at (4,230.53) size 762x100
-                LayoutInline {EM} at (0,0) size 41x19
-                  LayoutText {#text} at (0,0) size 41x19
-                    text run at (0,0) width 41: "Value:"
-                LayoutText {#text} at (40,0) size 82x19
-                  text run at (40,0) width 82: " scroll | fixed"
-                LayoutBR {BR} at (121,15) size 1x0
+                LayoutInline {EM} at (0,0) size 40x19
+                  LayoutText {#text} at (0,0) size 40x19
+                    text run at (0,0) width 40: "Value:"
+                LayoutText {#text} at (40,0) size 81x19
+                  text run at (40,0) width 81: " scroll | fixed"
+                LayoutBR {BR} at (121,15) size 0x0
                 LayoutInline {EM} at (0,0) size 42x19
                   LayoutText {#text} at (0,20) size 42x19
                     text run at (0,20) width 42: "Initial:"
@@ -145,9 +145,9 @@
                 LayoutInline {EM} at (0,0) size 121x19
                   LayoutText {#text} at (0,80) size 121x19
                     text run at (0,80) width 121: "Percentage values:"
-                LayoutText {#text} at (120,80) size 33x19
-                  text run at (120,80) width 33: " N/A"
-                LayoutBR {BR} at (152,95) size 1x0
+                LayoutText {#text} at (121,80) size 32x19
+                  text run at (121,80) width 32: " N/A"
+                LayoutBR {BR} at (153,95) size 0x0
               LayoutBlockFlow {P} at (4,346.53) size 762x40
                 LayoutText {#text} at (0,0) size 718x39
                   text run at (0,0) width 718: "If a background image is specified, the value of 'background-attachment' determines if it is fixed with regard to the"
@@ -168,8 +168,8 @@
                 LayoutInline {EM} at (0,0) size 72x19
                   LayoutText {#text} at (0,0) size 72x19
                     text run at (0,0) width 72: "CSS1 core:"
-                LayoutText {#text} at (71,0) size 741x59
-                  text run at (71,0) width 670: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the"
+                LayoutText {#text} at (72,0) size 741x59
+                  text run at (72,0) width 669: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the"
                   text run at (0,20) width 716: "HTML and BODY elements, since there is no way for an author to provide an image only for those browsers that"
                   text run at (0,40) width 93: "support 'fixed'."
 layer at (8,89) size 784x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_color-expected.png
index 9637cf72..6e5fcd9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_color-expected.txt
index 8a60759..271b6969 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_color-expected.txt
@@ -27,10 +27,10 @@
         LayoutInline {SPAN} at (0,0) size 75x19
           LayoutText {#text} at (652,0) size 75x19
             text run at (652,0) width 75: "background"
-        LayoutText {#text} at (727,0) size 778x59
+        LayoutText {#text} at (727,0) size 777x59
           text run at (727,0) width 8: ". "
           text run at (735,0) width 42: "This is"
-          text run at (0,20) width 778: "because the background color of the parent element (the paragraph) should \"shine through\" the SPANned word \"sentence,\""
+          text run at (0,20) width 777: "because the background color of the parent element (the paragraph) should \"shine through\" the SPANned word \"sentence,\""
           text run at (0,40) width 109: "which was set to "
         LayoutInline {CODE} at (0,0) size 88x16
           LayoutText {#text} at (109,43) size 88x16
@@ -46,9 +46,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x204
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x176
             LayoutTableCell {TD} at (0,102) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -66,9 +66,9 @@
                 LayoutInline {SPAN} at (0,0) size 75x19
                   LayoutText {#text} at (652,0) size 75x19
                     text run at (652,0) width 75: "background"
-                LayoutText {#text} at (727,0) size 748x59
+                LayoutText {#text} at (727,0) size 747x59
                   text run at (727,0) width 4: "."
-                  text run at (0,20) width 748: "This is because the background color of the parent element (the paragraph) should \"shine through\" the SPANned word"
+                  text run at (0,20) width 747: "This is because the background color of the parent element (the paragraph) should \"shine through\" the SPANned word"
                   text run at (0,40) width 185: "\"sentence,\" which was set to "
                 LayoutInline {CODE} at (0,0) size 88x16
                   LayoutText {#text} at (185,43) size 88x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_image-expected.png
index 2f8cdc8..053f6dd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_image-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_image-expected.txt
index 543ce73..b33f933 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_image-expected.txt
@@ -32,14 +32,14 @@
         LayoutInline {CODE} at (0,0) size 32x16
           LayoutText {#text} at (31,23) size 32x16
             text run at (31,23) width 32: "none"
-        LayoutText {#text} at (63,20) size 168x19
-          text run at (63,20) width 163: " is interpreted incorrectly. "
-          text run at (225,20) width 6: "("
-        LayoutInline {CODE} at (0,0) size 33x16
-          LayoutText {#text} at (230,23) size 33x16
-            text run at (230,23) width 33: "none"
+        LayoutText {#text} at (63,20) size 167x19
+          text run at (63,20) width 162: " is interpreted incorrectly. "
+          text run at (225,20) width 5: "("
+        LayoutInline {CODE} at (0,0) size 32x16
+          LayoutText {#text} at (230,23) size 32x16
+            text run at (230,23) width 32: "none"
         LayoutText {#text} at (262,20) size 771x59
-          text run at (262,20) width 503: " means that the element has no background image, allowing the parent to \"shine"
+          text run at (262,20) width 502: " means that the element has no background image, allowing the parent to \"shine"
           text run at (0,40) width 771: "through\" by default; since the parent of the words \"in this sentence\" is the paragraph, then the paragraph's image should be"
           text run at (0,60) width 50: "visible.)"
       LayoutBlockFlow {P} at (0,267) size 784x40
@@ -50,9 +50,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x228
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x200
             LayoutTableCell {TD} at (0,114) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -77,14 +77,14 @@
                 LayoutInline {CODE} at (0,0) size 32x16
                   LayoutText {#text} at (59,23) size 32x16
                     text run at (59,23) width 32: "none"
-                LayoutText {#text} at (91,20) size 168x19
-                  text run at (91,20) width 163: " is interpreted incorrectly. "
-                  text run at (253,20) width 6: "("
-                LayoutInline {CODE} at (0,0) size 33x16
-                  LayoutText {#text} at (258,23) size 33x16
-                    text run at (258,23) width 33: "none"
+                LayoutText {#text} at (91,20) size 167x19
+                  text run at (91,20) width 162: " is interpreted incorrectly. "
+                  text run at (253,20) width 5: "("
+                LayoutInline {CODE} at (0,0) size 32x16
+                  LayoutText {#text} at (258,23) size 32x16
+                    text run at (258,23) width 32: "none"
                 LayoutText {#text} at (290,20) size 750x59
-                  text run at (290,20) width 459: " means that the element has no background image, allowing the parent to"
+                  text run at (290,20) width 458: " means that the element has no background image, allowing the parent to"
                   text run at (0,40) width 750: "\"shine through\" by default; since the parent of the words \"in this sentence\" is the paragraph, then the paragraph's image"
                   text run at (0,60) width 115: "should be visible.)"
               LayoutBlockFlow {P} at (4,156) size 762x40
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_position-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_position-expected.png
index df4cca7..615b7c5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_position-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_position-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_position-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_position-expected.txt
index 6350d97..78c7d394 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_position-expected.txt
@@ -90,9 +90,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x628
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x600
             LayoutTableCell {TD} at (0,314) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_repeat-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_repeat-expected.png
index 6925281..49265b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_repeat-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_repeat-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_repeat-expected.txt
index 624f90b..eb67def 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_repeat-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_repeat-expected.txt
@@ -47,7 +47,7 @@
           text run at (152,20) width 320: " is '0% 0%' and that property is not declared here). "
           text run at (472,20) width 307: "This is extra text included for the sole purpose of"
           text run at (0,40) width 189: "making the paragraph longer. "
-          text run at (188,40) width 222: "Thank you for your understanding."
+          text run at (189,40) width 221: "Thank you for your understanding."
       LayoutBlockFlow {P} at (0,383) size 784x60
         LayoutText {#text} at (0,0) size 784x19
           text run at (0,0) width 784: "This sentence should have an orange stripe repeated in the \"x\" direction, starting at the upper left corner (since the default for"
@@ -58,7 +58,7 @@
           text run at (152,20) width 320: " is '0% 0%' and that property is not declared here). "
           text run at (472,20) width 307: "This is extra text included for the sole purpose of"
           text run at (0,40) width 189: "making the paragraph longer. "
-          text run at (188,40) width 222: "Thank you for your understanding."
+          text run at (189,40) width 221: "Thank you for your understanding."
       LayoutBlockFlow {P} at (0,459) size 784x60
         LayoutText {#text} at (0,0) size 697x19
           text run at (0,0) width 697: "This sentence should have a single orange square behind it, placed at the upper left corner (since the default for"
@@ -69,7 +69,7 @@
           text run at (152,20) width 320: " is '0% 0%' and that property is not declared here). "
           text run at (472,20) width 307: "This is extra text included for the sole purpose of"
           text run at (0,40) width 189: "making the paragraph longer. "
-          text run at (188,40) width 222: "Thank you for your understanding."
+          text run at (189,40) width 221: "Thank you for your understanding."
       LayoutBlockFlow {P} at (0,535) size 784x80
         LayoutText {#text} at (0,0) size 762x39
           text run at (0,0) width 762: "This sentence should have a green-hatch stripe running vertically down the center of the paragraph, with the origin image"
@@ -134,22 +134,22 @@
           text run at (0,0) width 764: "This sentence should have a fully tiled background which starts at its center top; that is, the background's origin should be"
           text run at (0,20) width 277: "the exact center of the top of the paragraph. "
           text run at (277,20) width 505: "I'll fill it with extra text to make the conformance (or lack thereof) more obvious."
-          text run at (0,40) width 653: "A background color is present, although if it is visible, then the image may not have been tiled correctly."
+          text run at (0,40) width 652: "A background color is present, although if it is visible, then the image may not have been tiled correctly."
       LayoutBlockFlow {P} at (0,823) size 784x60 [bgcolor=#FF0000]
         LayoutText {#text} at (0,0) size 777x59
           text run at (0,0) width 488: "This sentence should have a fully tiled background which starts at its top left. "
           text run at (488,0) width 220: "I'll fill it with extra text to make the"
           text run at (0,20) width 285: "conformance (or lack thereof) more obvious. "
           text run at (285,20) width 492: "A background color is present, although if it is visible, then the image may not"
-          text run at (0,40) width 157: "have been tiled correctly."
+          text run at (0,40) width 156: "have been tiled correctly."
       LayoutBlockFlow {P} at (0,899) size 784x80 [bgcolor=#FF0000]
         LayoutText {#text} at (0,0) size 784x79
           text run at (0,0) width 783: "This sentence should have a fully tiled background which starts at its bottom right; in other words, a complete instance of the"
           text run at (0,20) width 665: "image should be anchored in the bottom right corner, with the tiled background extending out from there. "
-          text run at (664,20) width 117: "I'll fill it with extra"
+          text run at (665,20) width 116: "I'll fill it with extra"
           text run at (0,40) width 389: "text to make the conformance (or lack thereof) more obvious. "
           text run at (389,40) width 395: "A background color is present, although if it is visible, then the"
-          text run at (0,60) width 254: "image may not have been tiled correctly."
+          text run at (0,60) width 253: "image may not have been tiled correctly."
       LayoutBlockFlow {P} at (0,995) size 784x120 [bgcolor=#FF0000]
         LayoutText {#text} at (0,0) size 769x119
           text run at (0,0) width 718: "This sentence should have a fully tiled background which starts at its center and is tiled in all directions; that is, the"
@@ -162,14 +162,14 @@
           text run at (0,80) width 116: "this circumstance. "
           text run at (116,80) width 241: "This ought to be enough text, though. "
           text run at (357,80) width 395: "A background color is present, although if it is visible, then the"
-          text run at (0,100) width 254: "image may not have been tiled correctly."
+          text run at (0,100) width 253: "image may not have been tiled correctly."
       LayoutTable {TABLE} at (0,1131) size 784x846 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x844
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x816
             LayoutTableCell {TD} at (0,422) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -186,7 +186,7 @@
                   text run at (174,20) width 320: " is '0% 0%' and that property is not declared here). "
                   text run at (494,20) width 236: "This is extra text included for the sole"
                   text run at (0,40) width 260: "purpose of making the paragraph longer. "
-                  text run at (259,40) width 222: "Thank you for your understanding."
+                  text run at (260,40) width 221: "Thank you for your understanding."
               LayoutBlockFlow {P} at (4,80) size 762x60
                 LayoutText {#text} at (0,0) size 762x39
                   text run at (0,0) width 762: "This sentence should have an orange stripe repeated in the \"x\" direction, starting at the upper left corner (since the default"
@@ -198,7 +198,7 @@
                   text run at (174,20) width 320: " is '0% 0%' and that property is not declared here). "
                   text run at (494,20) width 236: "This is extra text included for the sole"
                   text run at (0,40) width 260: "purpose of making the paragraph longer. "
-                  text run at (259,40) width 222: "Thank you for your understanding."
+                  text run at (260,40) width 221: "Thank you for your understanding."
               LayoutBlockFlow {P} at (4,156) size 762x60
                 LayoutText {#text} at (0,0) size 697x19
                   text run at (0,0) width 697: "This sentence should have a single orange square behind it, placed at the upper left corner (since the default for"
@@ -209,7 +209,7 @@
                   text run at (152,20) width 320: " is '0% 0%' and that property is not declared here). "
                   text run at (472,20) width 290: "This is extra text included for the sole purpose"
                   text run at (0,40) width 206: "of making the paragraph longer. "
-                  text run at (205,40) width 222: "Thank you for your understanding."
+                  text run at (206,40) width 221: "Thank you for your understanding."
               LayoutBlockFlow {P} at (4,232) size 762x80
                 LayoutText {#text} at (0,0) size 762x39
                   text run at (0,0) width 762: "This sentence should have a green-hatch stripe running vertically down the center of the paragraph, with the origin image"
@@ -275,22 +275,22 @@
                   text run at (0,20) width 296: "be the exact center of the top of the paragraph. "
                   text run at (296,20) width 447: "I'll fill it with extra text to make the conformance (or lack thereof) more"
                   text run at (0,40) width 58: "obvious. "
-                  text run at (58,40) width 653: "A background color is present, although if it is visible, then the image may not have been tiled correctly."
+                  text run at (58,40) width 652: "A background color is present, although if it is visible, then the image may not have been tiled correctly."
               LayoutBlockFlow {P} at (4,520) size 762x60 [bgcolor=#FF0000]
                 LayoutText {#text} at (0,0) size 753x59
                   text run at (0,0) width 488: "This sentence should have a fully tiled background which starts at its top left. "
                   text run at (488,0) width 220: "I'll fill it with extra text to make the"
                   text run at (0,20) width 285: "conformance (or lack thereof) more obvious. "
                   text run at (285,20) width 468: "A background color is present, although if it is visible, then the image may"
-                  text run at (0,40) width 181: "not have been tiled correctly."
+                  text run at (0,40) width 180: "not have been tiled correctly."
               LayoutBlockFlow {P} at (4,596) size 762x80 [bgcolor=#FF0000]
                 LayoutText {#text} at (0,0) size 760x79
                   text run at (0,0) width 760: "This sentence should have a fully tiled background which starts at its bottom right; in other words, a complete instance of"
                   text run at (0,20) width 688: "the image should be anchored in the bottom right corner, with the tiled background extending out from there. "
-                  text run at (687,20) width 50: "I'll fill it"
+                  text run at (688,20) width 49: "I'll fill it"
                   text run at (0,40) width 456: "with extra text to make the conformance (or lack thereof) more obvious. "
                   text run at (456,40) width 292: "A background color is present, although if it is"
-                  text run at (0,60) width 357: "visible, then the image may not have been tiled correctly."
+                  text run at (0,60) width 356: "visible, then the image may not have been tiled correctly."
               LayoutBlockFlow {P} at (4,692) size 762x120 [bgcolor=#FF0000]
                 LayoutText {#text} at (0,0) size 755x119
                   text run at (0,0) width 718: "This sentence should have a fully tiled background which starts at its center and is tiled in all directions; that is, the"
@@ -303,6 +303,6 @@
                   text run at (0,80) width 173: "to use in this circumstance. "
                   text run at (173,80) width 241: "This ought to be enough text, though. "
                   text run at (414,80) width 341: "A background color is present, although if it is visible,"
-                  text run at (0,100) width 308: "then the image may not have been tiled correctly."
+                  text run at (0,100) width 307: "then the image may not have been tiled correctly."
 layer at (8,297) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,289) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/color-expected.png
index 5dbe7d03..e16eb05 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/color-expected.txt
index c3b1fc7..0fe47ca 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/color-expected.txt
@@ -21,9 +21,9 @@
         LayoutTableSection {TBODY} at (1,1) size 214x92
           LayoutTableRow {TR} at (0,0) size 214x28
             LayoutTableCell {TD} at (0,0) size 214x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 214x64
             LayoutTableCell {TD} at (0,46) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/conformance/forward_compatible_parsing-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/conformance/forward_compatible_parsing-expected.txt
index 4972027..7dbbecf6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/conformance/forward_compatible_parsing-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/conformance/forward_compatible_parsing-expected.txt
@@ -117,8 +117,8 @@
         LayoutText {#text} at (0,0) size 485x19
           text run at (0,0) width 485: "This paragraph should be green, because only the rotation should be ignored."
       LayoutBlockFlow {P} at (0,967) size 769x20 [color=#008000]
-        LayoutText {#text} at (0,0) size 622x19
-          text run at (0,0) width 622: "This paragraph should be green, since error-checking should be done before calculating specificity."
+        LayoutText {#text} at (0,0) size 621x19
+          text run at (0,0) width 621: "This paragraph should be green, since error-checking should be done before calculating specificity."
       LayoutBlockFlow {P} at (0,1003) size 769x40
         LayoutText {#text} at (0,0) size 560x19
           text run at (0,0) width 560: "This paragraph should have a solid gray background (or a white grid), because in CSS1, "
@@ -129,11 +129,11 @@
           text run at (616,0) width 144: " is an invalid keyword,"
           text run at (0,20) width 520: "and in CSS2, it will cause the gray background (not the white grid) to be inherited."
       LayoutBlockFlow {P} at (0,1059) size 769x20
-        LayoutText {#text} at (0,0) size 638x19
-          text run at (0,0) width 638: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+        LayoutText {#text} at (0,0) size 637x19
+          text run at (0,0) width 637: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
       LayoutBlockFlow {P} at (0,1095) size 769x20
-        LayoutText {#text} at (0,0) size 638x19
-          text run at (0,0) width 638: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+        LayoutText {#text} at (0,0) size 637x19
+          text run at (0,0) width 637: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
       LayoutBlockFlow {P} at (0,1131) size 769x20
         LayoutText {#text} at (0,0) size 526x19
           text run at (0,0) width 526: "This paragraph should have a white background, since keywords cannot be quoted."
@@ -146,18 +146,18 @@
         LayoutText {#text} at (3,3) size 740x39
           text run at (3,3) width 740: "This paragraph should have a medium-width border around it (the same as the previous and the next two paragraphs),"
           text run at (3,23) width 228: "because the border-width is invalid. "
-          text run at (230,23) width 436: "This should cause the user agent to use the default value of 'medium'."
+          text run at (231,23) width 435: "This should cause the user agent to use the default value of 'medium'."
       LayoutBlockFlow {P} at (0,1291) size 769x66 [border: (3px solid #000000)]
         LayoutText {#text} at (3,3) size 754x59
           text run at (3,3) width 740: "This paragraph should have a medium-width border around it (the same as the next and the previous two paragraphs),"
           text run at (3,23) width 588: "because the border-width units are invalid, and therefore the border-width should be ignored. "
-          text run at (590,23) width 167: "This should cause the user"
+          text run at (591,23) width 166: "This should cause the user"
           text run at (3,43) width 265: "agent to use the default value of 'medium'."
       LayoutBlockFlow {P} at (0,1373) size 769x66 [border: (3px solid #000000)]
         LayoutText {#text} at (3,3) size 751x59
           text run at (3,3) width 743: "This paragraph should have a medium-width border around it (the same as the previous three paragraphs), because the"
           text run at (3,23) width 547: "border-width does not have any value to go with its pixel unit, and is therefore invalid. "
-          text run at (549,23) width 205: "This should cause the user agent"
+          text run at (550,23) width 204: "This should cause the user agent"
           text run at (3,43) width 227: "to use the default value of 'medium'."
       LayoutBlockFlow {P} at (0,1455) size 769x20
         LayoutText {#text} at (0,0) size 660x19
@@ -181,25 +181,25 @@
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutText {#text} at (0,0) size 690x39
             text run at (0,0) width 690: "This unordered list item should be black, because, according to CSS1, the selector is invalid, and according to"
-            text run at (0,20) width 228: "CSS2, the selector should not apply."
+            text run at (0,20) width 227: "CSS2, the selector should not apply."
       LayoutBlockFlow {BLOCKQUOTE} at (40,1695) size 689x40
         LayoutText {#text} at (0,0) size 688x39
           text run at (0,0) width 688: "This blockquote should be black, because, according to CSS1, the selector is invalid, and according to CSS2,"
-          text run at (0,20) width 183: "the selector should not apply."
+          text run at (0,20) width 182: "the selector should not apply."
       LayoutBlockFlow {P} at (0,1751) size 769x40
         LayoutInline {ACRONYM} at (0,0) size 748x39
           LayoutText {#text} at (0,0) size 748x39
             text run at (0,0) width 748: "This acronym should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
-            text run at (0,20) width 108: "should not apply."
+            text run at (0,20) width 107: "should not apply."
       LayoutBlockFlow {ADDRESS} at (0,1807) size 769x40
-        LayoutText {#text} at (0,0) size 744x39
-          text run at (0,0) width 744: "This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
+        LayoutText {#text} at (0,0) size 745x39
+          text run at (0,0) width 745: "This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
           text run at (0,20) width 109: "should not apply."
       LayoutBlockFlow {P} at (0,1863) size 769x40
         LayoutInline {SPAN} at (0,0) size 768x39
           LayoutText {#text} at (0,0) size 768x39
             text run at (0,0) width 768: "This span should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector should"
-            text run at (0,20) width 62: "not apply."
+            text run at (0,20) width 61: "not apply."
       LayoutBlockFlow {P} at (0,1919) size 769x40
         LayoutText {#text} at (0,0) size 753x39
           text run at (0,0) width 664: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule. "
@@ -231,9 +231,9 @@
         LayoutInline {CODE} at (0,0) size 32x16
           LayoutText {#text} at (23,43) size 32x16
             text run at (23,43) width 32: "font"
-        LayoutText {#text} at (55,40) size 720x39
-          text run at (55,40) width 178: " property, making it invalid. "
-          text run at (232,40) width 488: "Therefore, this paragraph's font should be the UA default, and match the next"
+        LayoutText {#text} at (55,40) size 719x39
+          text run at (55,40) width 177: " property, making it invalid. "
+          text run at (232,40) width 487: "Therefore, this paragraph's font should be the UA default, and match the next"
           text run at (0,60) width 71: "paragraph. "
           text run at (71,60) width 190: "If this is not the case, then the "
         LayoutInline {CODE} at (0,0) size 32x16
@@ -264,9 +264,9 @@
         LayoutInline {CODE} at (0,0) size 32x16
           LayoutText {#text} at (23,43) size 32x16
             text run at (23,43) width 32: "font"
-        LayoutText {#text} at (55,40) size 747x39
-          text run at (55,40) width 178: " property, making it invalid. "
-          text run at (232,40) width 515: "Therefore, this paragraph's font should be the UA default, and match the previous"
+        LayoutText {#text} at (55,40) size 746x39
+          text run at (55,40) width 177: " property, making it invalid. "
+          text run at (232,40) width 514: "Therefore, this paragraph's font should be the UA default, and match the previous"
           text run at (0,60) width 71: "paragraph. "
           text run at (71,60) width 190: "If this is not the case, then the "
         LayoutInline {CODE} at (0,0) size 32x16
@@ -297,7 +297,7 @@
             text run at (464,0) width 22: "not"
         LayoutText {#text} at (486,0) size 743x39
           text run at (486,0) width 257: " a comment and therefore the selector for"
-          text run at (0,20) width 138: "P.nineteenb is invalid."
+          text run at (0,20) width 137: "P.nineteenb is invalid."
       LayoutBlockFlow {P} at (0,2335) size 769x20 [color=#0000FF]
         LayoutText {#text} at (0,0) size 470x19
           text run at (0,0) width 470: "This paragraph should be blue, because only the first declaration is invalid."
@@ -325,9 +325,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x1696
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x1668
             LayoutTableCell {TD} at (0,848) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -337,8 +337,8 @@
                 LayoutText {#text} at (0,0) size 485x19
                   text run at (0,0) width 485: "This paragraph should be green, because only the rotation should be ignored."
               LayoutBlockFlow {P} at (4,40) size 747x20 [color=#008000]
-                LayoutText {#text} at (0,0) size 622x19
-                  text run at (0,0) width 622: "This paragraph should be green, since error-checking should be done before calculating specificity."
+                LayoutText {#text} at (0,0) size 621x19
+                  text run at (0,0) width 621: "This paragraph should be green, since error-checking should be done before calculating specificity."
               LayoutBlockFlow {P} at (4,76) size 747x40
                 LayoutText {#text} at (0,0) size 560x19
                   text run at (0,0) width 560: "This paragraph should have a solid gray background (or a white grid), because in CSS1, "
@@ -349,11 +349,11 @@
                   text run at (616,0) width 80: " is an invalid"
                   text run at (0,20) width 584: "keyword, and in CSS2, it will cause the gray background (not the white grid) to be inherited."
               LayoutBlockFlow {P} at (4,132) size 747x20
-                LayoutText {#text} at (0,0) size 638x19
-                  text run at (0,0) width 638: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+                LayoutText {#text} at (0,0) size 637x19
+                  text run at (0,0) width 637: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
               LayoutBlockFlow {P} at (4,168) size 747x20
-                LayoutText {#text} at (0,0) size 638x19
-                  text run at (0,0) width 638: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+                LayoutText {#text} at (0,0) size 637x19
+                  text run at (0,0) width 637: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
               LayoutBlockFlow {P} at (4,204) size 747x20
                 LayoutText {#text} at (0,0) size 526x19
                   text run at (0,0) width 526: "This paragraph should have a white background, since keywords cannot be quoted."
@@ -366,18 +366,18 @@
                 LayoutText {#text} at (3,3) size 740x39
                   text run at (3,3) width 740: "This paragraph should have a medium-width border around it (the same as the previous and the next two paragraphs),"
                   text run at (3,23) width 228: "because the border-width is invalid. "
-                  text run at (230,23) width 436: "This should cause the user agent to use the default value of 'medium'."
+                  text run at (231,23) width 435: "This should cause the user agent to use the default value of 'medium'."
               LayoutBlockFlow {P} at (4,364) size 747x66 [border: (3px solid #000000)]
                 LayoutText {#text} at (3,3) size 740x59
                   text run at (3,3) width 740: "This paragraph should have a medium-width border around it (the same as the next and the previous two paragraphs),"
                   text run at (3,23) width 588: "because the border-width units are invalid, and therefore the border-width should be ignored. "
-                  text run at (590,23) width 137: "This should cause the"
+                  text run at (591,23) width 136: "This should cause the"
                   text run at (3,43) width 295: "user agent to use the default value of 'medium'."
               LayoutBlockFlow {P} at (4,446) size 747x66 [border: (3px solid #000000)]
                 LayoutText {#text} at (3,3) size 736x59
                   text run at (3,3) width 720: "This paragraph should have a medium-width border around it (the same as the previous three paragraphs), because"
                   text run at (3,23) width 570: "the border-width does not have any value to go with its pixel unit, and is therefore invalid. "
-                  text run at (572,23) width 167: "This should cause the user"
+                  text run at (573,23) width 166: "This should cause the user"
                   text run at (3,43) width 265: "agent to use the default value of 'medium'."
               LayoutBlockFlow {P} at (4,528) size 747x20
                 LayoutText {#text} at (0,0) size 660x19
@@ -401,25 +401,25 @@
                   LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
                   LayoutText {#text} at (0,0) size 690x39
                     text run at (0,0) width 690: "This unordered list item should be black, because, according to CSS1, the selector is invalid, and according to"
-                    text run at (0,20) width 228: "CSS2, the selector should not apply."
+                    text run at (0,20) width 227: "CSS2, the selector should not apply."
               LayoutBlockFlow {BLOCKQUOTE} at (44,768) size 667x40
                 LayoutText {#text} at (0,0) size 643x39
                   text run at (0,0) width 643: "This blockquote should be black, because, according to CSS1, the selector is invalid, and according to"
-                  text run at (0,20) width 228: "CSS2, the selector should not apply."
+                  text run at (0,20) width 227: "CSS2, the selector should not apply."
               LayoutBlockFlow {P} at (4,824) size 747x40
                 LayoutInline {ACRONYM} at (0,0) size 696x39
                   LayoutText {#text} at (0,0) size 696x39
                     text run at (0,0) width 696: "This acronym should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the"
-                    text run at (0,20) width 160: "selector should not apply."
+                    text run at (0,20) width 159: "selector should not apply."
               LayoutBlockFlow {ADDRESS} at (4,880) size 747x40
-                LayoutText {#text} at (0,0) size 744x39
-                  text run at (0,0) width 744: "This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
+                LayoutText {#text} at (0,0) size 745x39
+                  text run at (0,0) width 745: "This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
                   text run at (0,20) width 109: "should not apply."
               LayoutBlockFlow {P} at (4,936) size 747x40
                 LayoutInline {SPAN} at (0,0) size 722x39
                   LayoutText {#text} at (0,0) size 722x39
                     text run at (0,0) width 722: "This span should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
-                    text run at (0,20) width 108: "should not apply."
+                    text run at (0,20) width 107: "should not apply."
               LayoutBlockFlow {P} at (4,992) size 747x40
                 LayoutText {#text} at (0,0) size 739x39
                   text run at (0,0) width 664: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule. "
@@ -451,9 +451,9 @@
                 LayoutInline {CODE} at (0,0) size 32x16
                   LayoutText {#text} at (40,43) size 32x16
                     text run at (40,43) width 32: "font"
-                LayoutText {#text} at (72,40) size 737x39
-                  text run at (72,40) width 178: " property, making it invalid. "
-                  text run at (249,40) width 488: "Therefore, this paragraph's font should be the UA default, and match the next"
+                LayoutText {#text} at (72,40) size 736x39
+                  text run at (72,40) width 177: " property, making it invalid. "
+                  text run at (249,40) width 487: "Therefore, this paragraph's font should be the UA default, and match the next"
                   text run at (0,60) width 71: "paragraph. "
                   text run at (71,60) width 190: "If this is not the case, then the "
                 LayoutInline {CODE} at (0,0) size 32x16
@@ -484,9 +484,9 @@
                 LayoutInline {CODE} at (0,0) size 32x16
                   LayoutText {#text} at (40,43) size 32x16
                     text run at (40,43) width 32: "font"
-                LayoutText {#text} at (72,40) size 706x39
-                  text run at (72,40) width 178: " property, making it invalid. "
-                  text run at (249,40) width 457: "Therefore, this paragraph's font should be the UA default, and match the"
+                LayoutText {#text} at (72,40) size 705x39
+                  text run at (72,40) width 177: " property, making it invalid. "
+                  text run at (249,40) width 456: "Therefore, this paragraph's font should be the UA default, and match the"
                   text run at (0,60) width 129: "previous paragraph. "
                   text run at (129,60) width 190: "If this is not the case, then the "
                 LayoutInline {CODE} at (0,0) size 32x16
@@ -518,7 +518,7 @@
                     text run at (464,0) width 22: "not"
                 LayoutText {#text} at (486,0) size 743x39
                   text run at (486,0) width 257: " a comment and therefore the selector for"
-                  text run at (0,20) width 138: "P.nineteenb is invalid."
+                  text run at (0,20) width 137: "P.nineteenb is invalid."
               LayoutBlockFlow {P} at (4,1408) size 747x20 [color=#0000FF]
                 LayoutText {#text} at (0,0) size 470x19
                   text run at (0,0) width 470: "This paragraph should be blue, because only the first declaration is invalid."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/font_properties/font-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/font_properties/font-expected.png
index 2fedb21..f16eb38e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/font_properties/font-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/font_properties/font-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/font_properties/font_style-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/font_properties/font_style-expected.png
index 33e7506..00029a2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/font_properties/font_style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/font_properties/font_style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/font_properties/font_variant-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/font_properties/font_variant-expected.png
index c45818c4..529e775d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/font_properties/font_variant-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/font_properties/font_variant-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/canvas-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/canvas-expected.png
index a02bac0..a47a1c5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/canvas-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/canvas-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/canvas-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/canvas-expected.txt
index a027deb..07b6ec3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/canvas-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/canvas-expected.txt
@@ -17,15 +17,15 @@
           text run at (0,0) width 387: "The body of this document should have a green background. "
           text run at (387,0) width 308: "It also has a margin of 25 pixels, so the light blue"
           text run at (0,20) width 430: "background set for the HTML element should surround the BODY. "
-          text run at (429,20) width 308: "If the BODY content is significantly shorter than"
+          text run at (430,20) width 307: "If the BODY content is significantly shorter than"
           text run at (0,40) width 519: "the browser's window height, then the bottom border may be larger than 25 pixels."
       LayoutTable {TABLE} at (0,175) size 750x98 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 748x96
           LayoutTableRow {TR} at (0,0) size 748x28
             LayoutTableCell {TD} at (0,0) size 748x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 748x68
             LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -36,7 +36,7 @@
                   text run at (0,0) width 387: "The body of this document should have a green background. "
                   text run at (387,0) width 308: "It also has a margin of 25 pixels, so the light blue"
                   text run at (0,20) width 430: "background set for the HTML element should surround the BODY. "
-                  text run at (429,20) width 277: "If the BODY content is significantly shorter"
+                  text run at (430,20) width 276: "If the BODY content is significantly shorter"
                   text run at (0,40) width 550: "than the browser's window height, then the bottom border may be larger than 25 pixels."
 layer at (25,106) size 750x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,81) size 750x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/floating_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/floating_elements-expected.txt
index a92b1b2..cd0c3b3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/floating_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/floating_elements-expected.txt
@@ -43,7 +43,7 @@
             text run at (17,57) width 50: "source)."
         LayoutText {#text} at (199,5) size 363x99
           text run at (199,5) width 175: "This is text within the DIV. "
-          text run at (373,5) width 181: "The floating elements within"
+          text run at (374,5) width 180: "The floating elements within"
           text run at (199,25) width 363: "this DIV should not go beyond the left or right inner edge"
           text run at (199,45) width 354: "of this DIV, which means that the borders of the floating"
           text run at (199,65) width 360: "elements should not overlap the top or side borders of the"
@@ -53,7 +53,7 @@
         LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
         LayoutText {#text} at (20,5) size 726x59
           text run at (20,5) width 175: "This is text within the DIV. "
-          text run at (194,5) width 537: "The floating images within this DIV should not go beyond the left or right inner edge"
+          text run at (195,5) width 536: "The floating images within this DIV should not go beyond the left or right inner edge"
           text run at (20,25) width 707: "of this DIV, which means that the borders of the floating images should not overlap the top or side borders of the"
           text run at (5,45) width 31: "DIV."
       LayoutBlockFlow {DIV} at (2,549) size 442x250 [border: (5px solid #800080)]
@@ -75,13 +75,13 @@
           text run at (393,45) width 40: "within"
           text run at (393,65) width 19: "the"
           text run at (199,85) width 35: "DIV. "
-          text run at (233,85) width 181: "The floating elements within"
+          text run at (234,85) width 180: "The floating elements within"
           text run at (199,105) width 219: "this DIV should not go beyond the"
           text run at (199,125) width 218: "left or right inner edge of this DIV,"
           text run at (199,145) width 224: "which means that the borders of the"
           text run at (5,165) width 412: "floating elements should not overlap the top or side borders of the"
-          text run at (5,185) width 110: "DIV in any way. "
-          text run at (114,185) width 298: "In addition, they should not overlap each other."
+          text run at (5,185) width 109: "DIV in any way. "
+          text run at (114,185) width 297: "In addition, they should not overlap each other."
           text run at (5,205) width 425: "The first two should be side by side, whereas the third should be on"
           text run at (5,225) width 95: "the next \"line.\""
       LayoutBlockFlow {DIV} at (2,817) size 360x210 [border: (5px solid #800080)]
@@ -92,15 +92,15 @@
           text run at (317,5) width 28: "This"
           text run at (317,25) width 37: "is text"
           text run at (161,45) width 102: "within the DIV. "
-          text run at (262,45) width 78: "The floating"
+          text run at (263,45) width 77: "The floating"
           text run at (161,65) width 193: "images within this DIV should"
           text run at (5,85) width 336: "not go beyond the left or right inner edge of this DIV,"
           text run at (5,105) width 324: "which means that the borders of the floating images"
           text run at (5,125) width 350: "should not overlap the top or side borders of the DIV in"
-          text run at (5,145) width 61: "any way. "
-          text run at (65,145) width 258: "In addition, they should not overlap each"
+          text run at (5,145) width 60: "any way. "
+          text run at (65,145) width 257: "In addition, they should not overlap each"
           text run at (5,165) width 40: "other. "
-          text run at (44,165) width 308: "The first two should be side by side, whereas the"
+          text run at (45,165) width 307: "The first two should be side by side, whereas the"
           text run at (5,185) width 213: "third should be on the next \"line.\""
       LayoutBlockFlow {DIV} at (2,1077) size 314x384 [border: (5px solid #800080)]
         LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
@@ -125,9 +125,9 @@
           text run at (5,179) width 74: "DIV, which"
           text run at (5,199) width 292: "means that the borders of the floating elements"
           text run at (5,219) width 301: "should not overlap the top or side borders of the"
-          text run at (5,239) width 110: "DIV in any way. "
-          text run at (114,239) width 174: "In addition, they should not"
-          text run at (5,259) width 287: "overlap each other in any way, nor should the"
+          text run at (5,239) width 109: "DIV in any way. "
+          text run at (114,239) width 173: "In addition, they should not"
+          text run at (5,259) width 286: "overlap each other in any way, nor should the"
           text run at (5,279) width 304: "floated elements be overwritten by the DIV text."
           text run at (5,299) width 290: "In addition, the floated elements should not be"
           text run at (5,319) width 268: "side-by-side, but instead the first should be"
@@ -136,20 +136,20 @@
       LayoutBlockFlow {DIV} at (2,1479) size 410x246 [border: (5px solid #800080)]
         LayoutImage (floating) {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
-        LayoutText {#text} at (261,5) size 398x235
+        LayoutText {#text} at (261,5) size 400x235
           text run at (261,5) width 136: "This is text within the"
           text run at (5,41) width 35: "DIV. "
-          text run at (39,41) width 78: "The floating"
+          text run at (40,41) width 77: "The floating"
           text run at (5,61) width 114: "images within this"
           text run at (5,81) width 380: "DIV should not go beyond the left or right inner edge of this"
           text run at (5,101) width 359: "DIV, which means that the borders of the floating images"
           text run at (5,121) width 377: "should not overlap the top or side borders of the DIV in any"
-          text run at (5,141) width 34: "way. "
-          text run at (38,141) width 337: "In addition, they should not overlap each other in any"
-          text run at (5,161) width 368: "way, nor should the floated elements be overwritten by the"
-          text run at (5,181) width 64: "DIV text. "
-          text run at (69,181) width 334: "In addition, the floated images should not be side-by-"
-          text run at (5,201) width 390: "side, but instead the first should be floated left, and the second"
+          text run at (5,141) width 33: "way. "
+          text run at (38,141) width 336: "In addition, they should not overlap each other in any"
+          text run at (5,161) width 400: "way, nor should the floated elements be overwritten by the DIV"
+          text run at (5,181) width 31: "text. "
+          text run at (36,181) width 363: "In addition, the floated images should not be side-by-side,"
+          text run at (5,201) width 357: "but instead the first should be floated left, and the second"
           text run at (5,221) width 213: "floated to the right below the first."
       LayoutBlockFlow {DIV} at (2,1775) size 765x130 [border: (5px solid #800080)]
         LayoutBlockFlow (floating) {P} at (566,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
@@ -164,33 +164,33 @@
             text run at (17,57) width 50: "source)."
         LayoutText {#text} at (199,5) size 549x119
           text run at (199,5) width 175: "This is text within the DIV. "
-          text run at (373,5) width 181: "The floating elements within"
+          text run at (374,5) width 180: "The floating elements within"
           text run at (199,25) width 350: "this DIV should not go beyond the top side of this DIV,"
           text run at (199,45) width 335: "which means that the borders of the floating elements"
           text run at (199,65) width 350: "should not overlap the top or side borders of the DIV in"
-          text run at (199,85) width 61: "any way. "
-          text run at (259,85) width 265: "In addition, the top of the left-floating box"
+          text run at (199,85) width 60: "any way. "
+          text run at (259,85) width 264: "In addition, the top of the left-floating box"
           text run at (5,105) width 365: "should not be higher than the top of the right-floating box."
       LayoutBlockFlow {DIV} at (2,1923) size 765x70 [border: (5px solid #800080)]
         LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
         LayoutText {#text} at (20,5) size 720x59
           text run at (20,5) width 175: "This is text within the DIV. "
-          text run at (194,5) width 524: "The floating images within this DIV should not go beyond the top side of this DIV,"
+          text run at (195,5) width 523: "The floating images within this DIV should not go beyond the top side of this DIV,"
           text run at (20,25) width 705: "which means that the borders of the floating images should not overlap the top or side borders of the DIV in any"
-          text run at (5,45) width 34: "way. "
-          text run at (38,45) width 662: "In addition, the top of the left-floating image should not be higher than the top of the right-floating image."
+          text run at (5,45) width 33: "way. "
+          text run at (38,45) width 661: "In addition, the top of the left-floating image should not be higher than the top of the right-floating image."
       LayoutBlockFlow {DIV} at (2,2043) size 765x150 [border: (5px solid #800080)]
         LayoutText {#text} at (199,5) size 183x19
           text run at (199,5) width 175: "This is text within the DIV. "
-          text run at (373,5) width 9: "*"
+          text run at (374,5) width 8: "*"
         LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 130x59
             text run at (17,17) width 130: "This is a left-floating"
             text run at (17,37) width 112: "paragraph (first in"
             text run at (17,57) width 50: "source)."
-        LayoutText {#text} at (381,5) size 543x39
-          text run at (381,5) width 361: " The floating elements within this DIV should not go any"
+        LayoutText {#text} at (382,5) size 543x39
+          text run at (382,5) width 360: " The floating elements within this DIV should not go any"
           text run at (199,25) width 477: "higher than the line-box containing the inline content which precedes them. "
           text run at (676,25) width 12: "* "
         LayoutBlockFlow (floating) {P} at (566,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
@@ -204,15 +204,15 @@
           text run at (199,65) width 352: "the top edge of the inline element containing the content"
           text run at (199,85) width 331: "just before the floating elements occur in the source. "
           text run at (530,85) width 13: "In"
-          text run at (5,105) width 544: "order to mark these points clearly, an asterisk has been inserted just before each floated"
+          text run at (5,105) width 543: "order to mark these points clearly, an asterisk has been inserted just before each floated"
           text run at (5,125) width 53: "element."
       LayoutBlockFlow {DIV} at (2,2211) size 765x90 [border: (5px solid #800080)]
         LayoutText {#text} at (20,5) size 183x19
           text run at (20,5) width 175: "This is text within the DIV. "
-          text run at (194,5) width 9: "*"
+          text run at (195,5) width 8: "*"
         LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
-        LayoutText {#text} at (202,5) size 686x39
-          text run at (202,5) width 504: " The floating images within this DIV should not go any higher than the line-box"
+        LayoutText {#text} at (203,5) size 686x39
+          text run at (203,5) width 503: " The floating images within this DIV should not go any higher than the line-box"
           text run at (20,25) width 323: "containing the inline content which precedes them. "
           text run at (343,25) width 12: "* "
         LayoutImage (floating) {IMG} at (745,25) size 15x36 [border: (3px solid #000000)]
@@ -220,18 +220,18 @@
           text run at (355,25) width 376: "This means that the top side of each float can be, at most, as"
           text run at (5,45) width 725: "high as the top edge of the inline element containing the content just before the floating images occur in the source. "
           text run at (730,45) width 13: "In"
-          text run at (5,65) width 590: "order to mark these points clearly, an asterisk has been inserted just before each floated image."
+          text run at (5,65) width 589: "order to mark these points clearly, an asterisk has been inserted just before each floated image."
       LayoutBlockFlow {DIV} at (2,2351) size 765x290 [border: (5px solid #800080)]
         LayoutText {#text} at (199,5) size 183x19
           text run at (199,5) width 175: "This is text within the DIV. "
-          text run at (373,5) width 9: "*"
+          text run at (374,5) width 8: "*"
         LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 130x59
             text run at (17,17) width 130: "This is a left-floating"
             text run at (17,37) width 112: "paragraph (first in"
             text run at (17,57) width 50: "source)."
-        LayoutText {#text} at (381,5) size 543x39
-          text run at (381,5) width 361: " The floating elements within this DIV should not go any"
+        LayoutText {#text} at (382,5) size 543x39
+          text run at (382,5) width 360: " The floating elements within this DIV should not go any"
           text run at (199,25) width 477: "higher than the line-box containing the inline content which precedes them. "
           text run at (676,25) width 12: "* "
         LayoutBlockFlow (floating) {P} at (566,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
@@ -260,9 +260,9 @@
             text run at (17,17) width 130: "This is a left-floating"
             text run at (17,37) width 126: "paragraph (fourth in"
             text run at (17,57) width 50: "source)."
-        LayoutText {#text} at (667,145) size 741x139
+        LayoutText {#text} at (667,145) size 740x139
           text run at (667,145) width 70: " In order to"
-          text run at (587,165) width 159: "mark these points clearly,"
+          text run at (587,165) width 158: "mark these points clearly,"
           text run at (587,185) width 125: "an asterisk has been"
           text run at (587,205) width 152: "inserted just before each"
           text run at (587,225) width 104: "floated element. "
@@ -273,10 +273,10 @@
       LayoutBlockFlow {DIV} at (2,2659) size 765x130 [border: (5px solid #800080)]
         LayoutText {#text} at (20,5) size 183x19
           text run at (20,5) width 175: "This is text within the DIV. "
-          text run at (194,5) width 9: "*"
+          text run at (195,5) width 8: "*"
         LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
-        LayoutText {#text} at (202,5) size 671x39
-          text run at (202,5) width 504: " The floating images within this DIV should not go any higher than the line-box"
+        LayoutText {#text} at (203,5) size 671x39
+          text run at (203,5) width 503: " The floating images within this DIV should not go any higher than the line-box"
           text run at (35,25) width 323: "containing the inline content which precedes them. "
           text run at (358,25) width 12: "* "
         LayoutImage (floating) {IMG} at (745,25) size 15x36 [border: (3px solid #000000)]
@@ -290,9 +290,9 @@
           text run at (20,65) width 49: "source. "
           text run at (69,65) width 8: "*"
         LayoutImage (floating) {IMG} at (5,65) size 15x36 [border: (3px solid #000000)]
-        LayoutText {#text} at (77,65) size 735x59
-          text run at (77,65) width 615: " In order to mark these points clearly, an asterisk has been inserted just before each floated image. "
-          text run at (691,65) width 49: "If a line"
+        LayoutText {#text} at (77,65) size 734x59
+          text run at (77,65) width 614: " In order to mark these points clearly, an asterisk has been inserted just before each floated image. "
+          text run at (691,65) width 48: "If a line"
           text run at (20,85) width 700: "has room for a floated image, then the image should float so that its top is aligned with the top of the line-box in"
           text run at (5,105) width 173: "which the asterisk appears. "
           text run at (178,105) width 402: "Otherwise, its top should align with the top of the next line-box."
@@ -314,12 +314,12 @@
         LayoutText {#text} at (199,25) size 475x299
           text run at (199,25) width 90: "text within the"
           text run at (199,45) width 35: "DIV. "
-          text run at (233,45) width 41: "Under"
+          text run at (234,45) width 40: "Under"
           text run at (199,65) width 88: "CSS1, the left"
           text run at (199,85) width 48: "floating"
           text run at (5,105) width 475: "element should be placed in the upper left corner of the DIV, and the purple"
           text run at (5,125) width 447: "border of the DIV should abut the green border of the floating element."
-          text run at (5,145) width 443: "Similarly, the right floating element should be placed in the upper right"
+          text run at (5,145) width 442: "Similarly, the right floating element should be placed in the upper right"
           text run at (5,165) width 466: "corner of the DIV, and the purple border of the DIV should abut the green"
           text run at (5,185) width 451: "border of the floating element. The text of the DIV element should flow"
           text run at (5,205) width 461: "between and under the two floating elements. The two asterisk characters"
@@ -337,10 +337,10 @@
         LayoutImage (floating) {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
         LayoutText {#text} at (86,5) size 480x239
           text run at (86,5) width 133: " text within the DIV. "
-          text run at (218,5) width 227: "Under CSS1, the left floating image"
+          text run at (219,5) width 226: "Under CSS1, the left floating image"
           text run at (20,25) width 422: "should be placed in the upper left corner of the DIV, and the purple"
           text run at (5,45) width 436: "border of the DIV should abut the green border of the floating image."
-          text run at (5,65) width 476: "Similarly, the right floating image should be placed in the upper right corner"
+          text run at (5,65) width 475: "Similarly, the right floating image should be placed in the upper right corner"
           text run at (5,85) width 467: "of the DIV, and the purple border of the DIV should abut the green border"
           text run at (5,105) width 479: "of the floating image. The text of the DIV element should flow between and"
           text run at (5,125) width 477: "under the two floating image. The two asterisk characters mark the insertion"
@@ -354,9 +354,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x3293
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x3265
             LayoutTableCell {TD} at (0,1646) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -381,7 +381,7 @@
                     text run at (17,57) width 50: "source)."
                 LayoutText {#text} at (199,5) size 337x99
                   text run at (199,5) width 175: "This is text within the DIV. "
-                  text run at (373,5) width 137: "The floating elements"
+                  text run at (374,5) width 136: "The floating elements"
                   text run at (199,25) width 337: "within this DIV should not go beyond the left or right"
                   text run at (199,45) width 332: "inner edge of this DIV, which means that the borders"
                   text run at (199,65) width 332: "of the floating elements should not overlap the top or"
@@ -391,7 +391,7 @@
                 LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
                 LayoutText {#text} at (20,5) size 716x59
                   text run at (20,5) width 175: "This is text within the DIV. "
-                  text run at (194,5) width 503: "The floating images within this DIV should not go beyond the left or right inner"
+                  text run at (195,5) width 502: "The floating images within this DIV should not go beyond the left or right inner"
                   text run at (20,25) width 701: "edge of this DIV, which means that the borders of the floating images should not overlap the top or side borders"
                   text run at (5,45) width 71: "of the DIV."
               LayoutBlockFlow {DIV} at (6,362) size 442x250 [border: (5px solid #800080)]
@@ -413,13 +413,13 @@
                   text run at (393,45) width 40: "within"
                   text run at (393,65) width 19: "the"
                   text run at (199,85) width 35: "DIV. "
-                  text run at (233,85) width 181: "The floating elements within"
+                  text run at (234,85) width 180: "The floating elements within"
                   text run at (199,105) width 219: "this DIV should not go beyond the"
                   text run at (199,125) width 218: "left or right inner edge of this DIV,"
                   text run at (199,145) width 224: "which means that the borders of the"
                   text run at (5,165) width 412: "floating elements should not overlap the top or side borders of the"
-                  text run at (5,185) width 110: "DIV in any way. "
-                  text run at (114,185) width 298: "In addition, they should not overlap each other."
+                  text run at (5,185) width 109: "DIV in any way. "
+                  text run at (114,185) width 297: "In addition, they should not overlap each other."
                   text run at (5,205) width 425: "The first two should be side by side, whereas the third should be on"
                   text run at (5,225) width 95: "the next \"line.\""
               LayoutBlockFlow {DIV} at (6,630) size 360x210 [border: (5px solid #800080)]
@@ -430,15 +430,15 @@
                   text run at (317,5) width 28: "This"
                   text run at (317,25) width 37: "is text"
                   text run at (161,45) width 102: "within the DIV. "
-                  text run at (262,45) width 78: "The floating"
+                  text run at (263,45) width 77: "The floating"
                   text run at (161,65) width 193: "images within this DIV should"
                   text run at (5,85) width 336: "not go beyond the left or right inner edge of this DIV,"
                   text run at (5,105) width 324: "which means that the borders of the floating images"
                   text run at (5,125) width 350: "should not overlap the top or side borders of the DIV in"
-                  text run at (5,145) width 61: "any way. "
-                  text run at (65,145) width 258: "In addition, they should not overlap each"
+                  text run at (5,145) width 60: "any way. "
+                  text run at (65,145) width 257: "In addition, they should not overlap each"
                   text run at (5,165) width 40: "other. "
-                  text run at (44,165) width 308: "The first two should be side by side, whereas the"
+                  text run at (45,165) width 307: "The first two should be side by side, whereas the"
                   text run at (5,185) width 213: "third should be on the next \"line.\""
               LayoutBlockFlow {DIV} at (6,890) size 314x384 [border: (5px solid #800080)]
                 LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
@@ -463,9 +463,9 @@
                   text run at (5,179) width 74: "DIV, which"
                   text run at (5,199) width 292: "means that the borders of the floating elements"
                   text run at (5,219) width 301: "should not overlap the top or side borders of the"
-                  text run at (5,239) width 110: "DIV in any way. "
-                  text run at (114,239) width 174: "In addition, they should not"
-                  text run at (5,259) width 287: "overlap each other in any way, nor should the"
+                  text run at (5,239) width 109: "DIV in any way. "
+                  text run at (114,239) width 173: "In addition, they should not"
+                  text run at (5,259) width 286: "overlap each other in any way, nor should the"
                   text run at (5,279) width 304: "floated elements be overwritten by the DIV text."
                   text run at (5,299) width 290: "In addition, the floated elements should not be"
                   text run at (5,319) width 268: "side-by-side, but instead the first should be"
@@ -474,20 +474,20 @@
               LayoutBlockFlow {DIV} at (6,1292) size 410x246 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
                 LayoutImage (floating) {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
-                LayoutText {#text} at (261,5) size 398x235
+                LayoutText {#text} at (261,5) size 400x235
                   text run at (261,5) width 136: "This is text within the"
                   text run at (5,41) width 35: "DIV. "
-                  text run at (39,41) width 78: "The floating"
+                  text run at (40,41) width 77: "The floating"
                   text run at (5,61) width 114: "images within this"
                   text run at (5,81) width 380: "DIV should not go beyond the left or right inner edge of this"
                   text run at (5,101) width 359: "DIV, which means that the borders of the floating images"
                   text run at (5,121) width 377: "should not overlap the top or side borders of the DIV in any"
-                  text run at (5,141) width 34: "way. "
-                  text run at (38,141) width 337: "In addition, they should not overlap each other in any"
-                  text run at (5,161) width 368: "way, nor should the floated elements be overwritten by the"
-                  text run at (5,181) width 64: "DIV text. "
-                  text run at (69,181) width 334: "In addition, the floated images should not be side-by-"
-                  text run at (5,201) width 390: "side, but instead the first should be floated left, and the second"
+                  text run at (5,141) width 33: "way. "
+                  text run at (38,141) width 336: "In addition, they should not overlap each other in any"
+                  text run at (5,161) width 400: "way, nor should the floated elements be overwritten by the DIV"
+                  text run at (5,181) width 31: "text. "
+                  text run at (36,181) width 363: "In addition, the floated images should not be side-by-side,"
+                  text run at (5,201) width 357: "but instead the first should be floated left, and the second"
                   text run at (5,221) width 213: "floated to the right below the first."
               LayoutBlockFlow {DIV} at (6,1588) size 743x130 [border: (5px solid #800080)]
                 LayoutBlockFlow (floating) {P} at (544,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
@@ -502,33 +502,33 @@
                     text run at (17,57) width 50: "source)."
                 LayoutText {#text} at (199,5) size 531x119
                   text run at (199,5) width 175: "This is text within the DIV. "
-                  text run at (373,5) width 137: "The floating elements"
+                  text run at (374,5) width 136: "The floating elements"
                   text run at (199,25) width 333: "within this DIV should not go beyond the top side of"
                   text run at (199,45) width 337: "this DIV, which means that the borders of the floating"
                   text run at (199,65) width 337: "elements should not overlap the top or side borders of"
-                  text run at (199,85) width 133: "the DIV in any way. "
-                  text run at (331,85) width 189: "In addition, the top of the left-"
+                  text run at (199,85) width 132: "the DIV in any way. "
+                  text run at (331,85) width 188: "In addition, the top of the left-"
                   text run at (5,105) width 445: "floating box should not be higher than the top of the right-floating box."
               LayoutBlockFlow {DIV} at (6,1736) size 743x70 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
                 LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
-                LayoutText {#text} at (20,5) size 722x59
+                LayoutText {#text} at (20,5) size 721x59
                   text run at (20,5) width 175: "This is text within the DIV. "
-                  text run at (194,5) width 524: "The floating images within this DIV should not go beyond the top side of this DIV,"
+                  text run at (195,5) width 523: "The floating images within this DIV should not go beyond the top side of this DIV,"
                   text run at (20,25) width 678: "which means that the borders of the floating images should not overlap the top or side borders of the DIV in"
-                  text run at (5,45) width 61: "any way. "
-                  text run at (65,45) width 662: "In addition, the top of the left-floating image should not be higher than the top of the right-floating image."
+                  text run at (5,45) width 60: "any way. "
+                  text run at (65,45) width 661: "In addition, the top of the left-floating image should not be higher than the top of the right-floating image."
               LayoutBlockFlow {DIV} at (6,1856) size 743x150 [border: (5px solid #800080)]
                 LayoutText {#text} at (199,5) size 183x19
                   text run at (199,5) width 175: "This is text within the DIV. "
-                  text run at (373,5) width 9: "*"
+                  text run at (374,5) width 8: "*"
                 LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 130x59
                     text run at (17,17) width 130: "This is a left-floating"
                     text run at (17,37) width 112: "paragraph (first in"
                     text run at (17,57) width 50: "source)."
-                LayoutText {#text} at (381,5) size 516x39
-                  text run at (381,5) width 334: " The floating elements within this DIV should not go"
+                LayoutText {#text} at (382,5) size 516x39
+                  text run at (382,5) width 333: " The floating elements within this DIV should not go"
                   text run at (199,25) width 504: "any higher than the line-box containing the inline content which precedes them. "
                   text run at (703,25) width 8: "*"
                 LayoutBlockFlow (floating) {P} at (544,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
@@ -536,20 +536,20 @@
                     text run at (17,17) width 139: "This is a right-floating"
                     text run at (17,37) width 132: "paragraph (second in"
                     text run at (17,57) width 50: "source)."
-                LayoutText {#text} at (199,45) size 538x99
+                LayoutText {#text} at (199,45) size 537x99
                   text run at (199,45) width 321: "This means that the top side of each float can be, at"
                   text run at (199,65) width 313: "most, as high as the top edge of the inline element"
                   text run at (199,85) width 343: "containing the content just before the floating elements"
                   text run at (5,105) width 127: "occur in the source. "
-                  text run at (132,105) width 411: "In order to mark these points clearly, an asterisk has been inserted"
+                  text run at (132,105) width 410: "In order to mark these points clearly, an asterisk has been inserted"
                   text run at (5,125) width 203: "just before each floated element."
               LayoutBlockFlow {DIV} at (6,2024) size 743x90 [border: (5px solid #800080)]
                 LayoutText {#text} at (20,5) size 183x19
                   text run at (20,5) width 175: "This is text within the DIV. "
-                  text run at (194,5) width 9: "*"
+                  text run at (195,5) width 8: "*"
                 LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
-                LayoutText {#text} at (202,5) size 686x39
-                  text run at (202,5) width 504: " The floating images within this DIV should not go any higher than the line-box"
+                LayoutText {#text} at (203,5) size 686x39
+                  text run at (203,5) width 503: " The floating images within this DIV should not go any higher than the line-box"
                   text run at (20,25) width 323: "containing the inline content which precedes them. "
                   text run at (343,25) width 12: "* "
                 LayoutImage (floating) {IMG} at (723,25) size 15x36 [border: (3px solid #000000)]
@@ -557,18 +557,18 @@
                   text run at (355,25) width 359: "This means that the top side of each float can be, at most,"
                   text run at (5,45) width 689: "as high as the top edge of the inline element containing the content just before the floating images occur in the"
                   text run at (5,65) width 49: "source. "
-                  text run at (54,65) width 607: "In order to mark these points clearly, an asterisk has been inserted just before each floated image."
+                  text run at (54,65) width 606: "In order to mark these points clearly, an asterisk has been inserted just before each floated image."
               LayoutBlockFlow {DIV} at (6,2164) size 743x250 [border: (5px solid #800080)]
                 LayoutText {#text} at (199,5) size 183x19
                   text run at (199,5) width 175: "This is text within the DIV. "
-                  text run at (373,5) width 9: "*"
+                  text run at (374,5) width 8: "*"
                 LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 130x59
                     text run at (17,17) width 130: "This is a left-floating"
                     text run at (17,37) width 112: "paragraph (first in"
                     text run at (17,57) width 50: "source)."
-                LayoutText {#text} at (381,5) size 516x39
-                  text run at (381,5) width 334: " The floating elements within this DIV should not go"
+                LayoutText {#text} at (382,5) size 516x39
+                  text run at (382,5) width 333: " The floating elements within this DIV should not go"
                   text run at (199,25) width 504: "any higher than the line-box containing the inline content which precedes them. "
                   text run at (703,25) width 8: "*"
                 LayoutBlockFlow (floating) {P} at (544,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
@@ -598,7 +598,7 @@
                     text run at (17,57) width 50: "source)."
                 LayoutText {#text} at (639,145) size 539x99
                   text run at (639,145) width 70: " In order to"
-                  text run at (199,165) width 491: "mark these points clearly, an asterisk has been inserted just before each floated"
+                  text run at (199,165) width 490: "mark these points clearly, an asterisk has been inserted just before each floated"
                   text run at (199,185) width 57: "element. "
                   text run at (256,185) width 477: "If a line has room for a floated element, then the element should float so that"
                   text run at (199,205) width 470: "its top is aligned with the top of the line-box in which the asterisk appears. "
@@ -607,10 +607,10 @@
               LayoutBlockFlow {DIV} at (6,2433) size 743x130 [border: (5px solid #800080)]
                 LayoutText {#text} at (20,5) size 183x19
                   text run at (20,5) width 175: "This is text within the DIV. "
-                  text run at (194,5) width 9: "*"
+                  text run at (195,5) width 8: "*"
                 LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
-                LayoutText {#text} at (202,5) size 671x39
-                  text run at (202,5) width 504: " The floating images within this DIV should not go any higher than the line-box"
+                LayoutText {#text} at (203,5) size 671x39
+                  text run at (203,5) width 503: " The floating images within this DIV should not go any higher than the line-box"
                   text run at (35,25) width 323: "containing the inline content which precedes them. "
                   text run at (358,25) width 12: "* "
                 LayoutImage (floating) {IMG} at (723,25) size 15x36 [border: (3px solid #000000)]
@@ -625,7 +625,7 @@
                   text run at (108,65) width 8: "*"
                 LayoutImage (floating) {IMG} at (5,65) size 15x36 [border: (3px solid #000000)]
                 LayoutText {#text} at (116,65) size 727x59
-                  text run at (116,65) width 611: " In order to mark these points clearly, an asterisk has been inserted just before each floated image."
+                  text run at (116,65) width 610: " In order to mark these points clearly, an asterisk has been inserted just before each floated image."
                   text run at (20,85) width 712: "If a line has room for a floated image, then the image should float so that its top is aligned with the top of the line-"
                   text run at (5,105) width 217: "box in which the asterisk appears. "
                   text run at (222,105) width 402: "Otherwise, its top should align with the top of the next line-box."
@@ -647,12 +647,12 @@
                 LayoutText {#text} at (199,25) size 475x299
                   text run at (199,25) width 90: "text within the"
                   text run at (199,45) width 35: "DIV. "
-                  text run at (233,45) width 41: "Under"
+                  text run at (234,45) width 40: "Under"
                   text run at (199,65) width 88: "CSS1, the left"
                   text run at (199,85) width 48: "floating"
                   text run at (5,105) width 475: "element should be placed in the upper left corner of the DIV, and the purple"
                   text run at (5,125) width 447: "border of the DIV should abut the green border of the floating element."
-                  text run at (5,145) width 443: "Similarly, the right floating element should be placed in the upper right"
+                  text run at (5,145) width 442: "Similarly, the right floating element should be placed in the upper right"
                   text run at (5,165) width 466: "corner of the DIV, and the purple border of the DIV should abut the green"
                   text run at (5,185) width 451: "border of the floating element. The text of the DIV element should flow"
                   text run at (5,205) width 461: "between and under the two floating elements. The two asterisk characters"
@@ -670,10 +670,10 @@
                 LayoutImage (floating) {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
                 LayoutText {#text} at (86,5) size 480x239
                   text run at (86,5) width 133: " text within the DIV. "
-                  text run at (218,5) width 227: "Under CSS1, the left floating image"
+                  text run at (219,5) width 226: "Under CSS1, the left floating image"
                   text run at (20,25) width 422: "should be placed in the upper left corner of the DIV, and the purple"
                   text run at (5,45) width 436: "border of the DIV should abut the green border of the floating image."
-                  text run at (5,65) width 476: "Similarly, the right floating image should be placed in the upper right corner"
+                  text run at (5,65) width 475: "Similarly, the right floating image should be placed in the upper right corner"
                   text run at (5,85) width 467: "of the DIV, and the purple border of the DIV should abut the green border"
                   text run at (5,105) width 479: "of the floating image. The text of the DIV element should flow between and"
                   text run at (5,125) width 477: "under the two floating image. The two asterisk characters mark the insertion"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/height_of_lines-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/height_of_lines-expected.txt
index 114d900..f7cbf6cc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/height_of_lines-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/height_of_lines-expected.txt
@@ -64,12 +64,12 @@
           text run at (0,22) width 79: "by six pixels. "
           text run at (79,22) width 652: "Any images within the paragraph should increase the height of the line-box so that they fit, including their padding"
           text run at (0,184) width 396: "(5px), border (10px) and margins (15px) within the line box, such as "
-        LayoutImage {IMG} at (410.73,55) size 130x130 [border: (10px solid #000000)]
-        LayoutText {#text} at (555,184) size 29x16
-          text run at (555,184) width 29: " and "
-        LayoutImage {IMG} at (598.73,199) size 130x130 [border: (10px solid #000000)]
-        LayoutText {#text} at (743,184) size 759x256
-          text run at (743,184) width 5: "."
+        LayoutImage {IMG} at (411,55) size 130x130 [border: (10px solid #000000)]
+        LayoutText {#text} at (556,184) size 28x16
+          text run at (556,184) width 28: " and "
+        LayoutImage {IMG} at (599,199) size 130x130 [border: (10px solid #000000)]
+        LayoutText {#text} at (744,184) size 759x256
+          text run at (744,184) width 4: "."
           text run at (0,346) width 755: "This is additional text to make sure that there is enough room left below the image so that this line does not hit the image that is text-"
           text run at (0,366) width 71: "top aligned. "
           text run at (71,366) width 683: "It is the outer edge of the margin that should be text-bottom and text-top aligned in this paragraph, so for the first image"
@@ -84,9 +84,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x998
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x970
             LayoutTableCell {TD} at (0,499) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -114,9 +114,9 @@
                   text run at (0,22) width 135: "separated by six pixels. "
                   text run at (135,22) width 603: "Any images within the paragraph should increase the height of the line-box so that they fit, including their"
                   text run at (0,184) width 445: "padding (5px), border (10px) and margins (15px) within the line box, such as "
-                LayoutImage {IMG} at (459.73,55) size 130x130 [border: (10px solid #000000)]
-                LayoutText {#text} at (604,184) size 29x16
-                  text run at (604,184) width 29: " and "
+                LayoutImage {IMG} at (460,55) size 130x130 [border: (10px solid #000000)]
+                LayoutText {#text} at (605,184) size 28x16
+                  text run at (605,184) width 28: " and "
                 LayoutImage {IMG} at (15,219) size 130x130 [border: (10px solid #000000)]
                 LayoutText {#text} at (160,204) size 736x236
                   text run at (160,204) width 8: ". "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/inline_elements-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/inline_elements-expected.png
index 9ee24fb7..9d0951a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/inline_elements-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/inline_elements-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/inline_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/inline_elements-expected.txt
index 23fb586..976ab2c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/inline_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/inline_elements-expected.txt
@@ -28,15 +28,15 @@
           LayoutText {#text} at (239,6) size 761x147
             text run at (239,6) width 522: "very long span in it, and the span has a 10px red border separated from the span by"
             text run at (0,38) width 167: "2pt, and a margin of 30pt. "
-            text run at (166,38) width 561: "The padding and border should be present on all sides of the span (although vertical lines"
+            text run at (167,38) width 560: "The padding and border should be present on all sides of the span (although vertical lines"
             text run at (0,70) width 539: "should appear only at the beginning and the end of the whole span, not on each line). "
             text run at (539,70) width 208: "The padding, border, and margin"
             text run at (0,102) width 388: "should all be noticeable at the beginning and end of the span. "
             text run at (388,102) width 366: "However, the line height should not be changed by any of"
             text run at (0,134) width 585: "them, so the margin should be unnoticeable and the border should overlap text on other lines."
-        LayoutText {#text} at (636,134) size 761x51
-          text run at (636,134) width 5: " "
-          text run at (640,134) width 121: "The line spacing in"
+        LayoutText {#text} at (637,134) size 761x51
+          text run at (637,134) width 4: " "
+          text run at (641,134) width 120: "The line spacing in"
           text run at (0,166) width 336: "the whole paragraph should be 200% of the font size."
       LayoutBlockFlow {P} at (0,387) size 769x64
         LayoutText {#text} at (0,0) size 159x15
@@ -46,7 +46,7 @@
             text run at (173,0) width 552: "very long span in it, and the span has a 12px red border separated from the span by 2pt of padding (the"
             text run at (0,16) width 764: "difference between the line-height and the font-size), which should overlap with the lines of text above and below the span, since the padding"
             text run at (0,32) width 240: "and border should not effect the line height. "
-            text run at (239,32) width 525: "The span's border should have vertical lines only at the beginning and end of the whole span, not"
+            text run at (240,32) width 524: "The span's border should have vertical lines only at the beginning and end of the whole span, not"
             text run at (0,48) width 69: "on each line."
         LayoutText {#text} at (83,48) size 415x15
           text run at (83,48) width 3: " "
@@ -55,9 +55,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x308
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x280
             LayoutTableCell {TD} at (0,154) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -70,15 +70,15 @@
                   LayoutText {#text} at (239,6) size 747x147
                     text run at (239,6) width 502: "very long span in it, and the span has a 10px red border separated from the span"
                     text run at (0,38) width 187: "by 2pt, and a margin of 30pt. "
-                    text run at (186,38) width 561: "The padding and border should be present on all sides of the span (although vertical lines"
+                    text run at (187,38) width 560: "The padding and border should be present on all sides of the span (although vertical lines"
                     text run at (0,70) width 539: "should appear only at the beginning and the end of the whole span, not on each line). "
                     text run at (539,70) width 208: "The padding, border, and margin"
                     text run at (0,102) width 388: "should all be noticeable at the beginning and end of the span. "
                     text run at (388,102) width 349: "However, the line height should not be changed by any"
                     text run at (0,134) width 602: "of them, so the margin should be unnoticeable and the border should overlap text on other lines."
-                LayoutText {#text} at (653,134) size 710x51
-                  text run at (653,134) width 5: " "
-                  text run at (657,134) width 53: "The line"
+                LayoutText {#text} at (654,134) size 710x51
+                  text run at (654,134) width 4: " "
+                  text run at (658,134) width 52: "The line"
                   text run at (0,166) width 404: "spacing in the whole paragraph should be 200% of the font size."
               LayoutBlockFlow {P} at (4,212) size 747x64
                 LayoutText {#text} at (0,0) size 159x15
@@ -88,7 +88,7 @@
                     text run at (173,0) width 552: "very long span in it, and the span has a 12px red border separated from the span by 2pt of padding (the"
                     text run at (0,16) width 716: "difference between the line-height and the font-size), which should overlap with the lines of text above and below the span, since the"
                     text run at (0,32) width 288: "padding and border should not effect the line height. "
-                    text run at (287,32) width 437: "The span's border should have vertical lines only at the beginning and end of the"
+                    text run at (288,32) width 436: "The span's border should have vertical lines only at the beginning and end of the"
                     text run at (0,48) width 157: "whole span, not on each line."
                 LayoutText {#text} at (171,48) size 415x15
                   text run at (171,48) width 3: " "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/replaced_elements-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/replaced_elements-expected.png
index c2dfaa2..e52ee9e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/replaced_elements-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/replaced_elements-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/replaced_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/replaced_elements-expected.txt
index bf3b75c2..448b59d7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/replaced_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/replaced_elements-expected.txt
@@ -52,9 +52,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x1081
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x1053
             LayoutTableCell {TD} at (0,540) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/vertical_formatting-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/vertical_formatting-expected.png
index 7a7b891..b5df2cc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/vertical_formatting-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/vertical_formatting-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/vertical_formatting-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/vertical_formatting-expected.txt
index c0137c4..bf653304 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/vertical_formatting-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/vertical_formatting-expected.txt
@@ -69,16 +69,16 @@
           text run at (0,0) width 164: "This is another paragraph."
       LayoutBlockFlow {DIV} at (0,805.73) size 769x135.56
         LayoutBlockFlow {P} at (0,75.56) size 769x60
-          LayoutText {#text} at (0,0) size 759x59
+          LayoutText {#text} at (0,0) size 758x59
             text run at (0,0) width 757: "There should be three centimeters between this text and the text above, but only one centimeter between this text and the"
-            text run at (0,20) width 759: "text below, because vertical margins of nested elements should collapse only if there is no border or padding between the"
+            text run at (0,20) width 758: "text below, because vertical margins of nested elements should collapse only if there is no border or padding between the"
             text run at (0,40) width 54: "margins."
       LayoutBlockFlow {P} at (0,979.08) size 769x20
         LayoutText {#text} at (0,0) size 109x19
           text run at (0,0) width 109: "This is more text."
       LayoutBlockFlow {P} at (0,1015.08) size 769x115.58
-        LayoutText {#text} at (0,0) size 725x39
-          text run at (0,0) width 725: "There should be two centimeters between this paragraph and the one below, because negative margins collapse to a"
+        LayoutText {#text} at (0,0) size 724x39
+          text run at (0,0) width 724: "There should be two centimeters between this paragraph and the one below, because negative margins collapse to a"
           text run at (0,20) width 456: "negative margin with the largest absolute value of the margins collapsed."
       LayoutBlockFlow {P} at (0,1092.88) size 769x77.78
         LayoutText {#text} at (0,37) size 765x40
@@ -95,9 +95,9 @@
           text run at (384,20) width 357: "the (non-floating) one above it, since the float should not"
           text run at (384,40) width 182: "effect the paragraph spacing."
       LayoutBlockFlow {P} at (0,1322.22) size 769x77.78
-        LayoutText {#text} at (0,0) size 749x39
-          text run at (0,0) width 554: "There should be two centimeters of padding between this paragraph and the one below. "
-          text run at (553,0) width 196: "Padding does not collapse, and"
+        LayoutText {#text} at (0,0) size 748x39
+          text run at (0,0) width 553: "There should be two centimeters of padding between this paragraph and the one below. "
+          text run at (553,0) width 195: "Padding does not collapse, and"
           text run at (0,20) width 234: "there is 1cm of padding on each side."
       LayoutBlockFlow {P} at (0,1400) size 769x57.78
         LayoutText {#text} at (0,37) size 167x20
@@ -106,9 +106,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x1107
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x1079
             LayoutTableCell {TD} at (0,553) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -138,14 +138,14 @@
                 LayoutBlockFlow {P} at (0,75.56) size 747x60
                   LayoutText {#text} at (0,0) size 734x59
                     text run at (0,0) width 734: "There should be three centimeters between this text and the text above, but only one centimeter between this text and"
-                    text run at (0,20) width 702: "the text below, because vertical margins of nested elements should collapse only if there is no border or padding"
+                    text run at (0,20) width 701: "the text below, because vertical margins of nested elements should collapse only if there is no border or padding"
                     text run at (0,40) width 134: "between the margins."
               LayoutBlockFlow {P} at (4,596.08) size 747x20
                 LayoutText {#text} at (0,0) size 109x19
                   text run at (0,0) width 109: "This is more text."
               LayoutBlockFlow {P} at (4,632.08) size 747x115.58
-                LayoutText {#text} at (0,0) size 725x39
-                  text run at (0,0) width 725: "There should be two centimeters between this paragraph and the one below, because negative margins collapse to a"
+                LayoutText {#text} at (0,0) size 724x39
+                  text run at (0,0) width 724: "There should be two centimeters between this paragraph and the one below, because negative margins collapse to a"
                   text run at (0,20) width 456: "negative margin with the largest absolute value of the margins collapsed."
               LayoutBlockFlow {P} at (4,709.88) size 747x77.78
                 LayoutText {#text} at (0,37) size 742x40
@@ -162,9 +162,9 @@
                   text run at (373,20) width 360: "and the (non-floating) one above it, since the float should"
                   text run at (373,40) width 206: "not effect the paragraph spacing."
               LayoutBlockFlow {P} at (4,939.22) size 747x77.78
-                LayoutText {#text} at (0,0) size 722x39
-                  text run at (0,0) width 554: "There should be two centimeters of padding between this paragraph and the one below. "
-                  text run at (553,0) width 169: "Padding does not collapse,"
+                LayoutText {#text} at (0,0) size 721x39
+                  text run at (0,0) width 553: "There should be two centimeters of padding between this paragraph and the one below. "
+                  text run at (553,0) width 168: "Padding does not collapse,"
                   text run at (0,20) width 261: "and there is 1cm of padding on each side."
               LayoutBlockFlow {P} at (4,1017) size 747x57.78
                 LayoutText {#text} at (0,37) size 167x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/anchor-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/anchor-expected.png
index b4e611b..a3fae0e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/anchor-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/anchor-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/anchor-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/anchor-expected.txt
index dde77cd5..49ffc5b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/anchor-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/anchor-expected.txt
@@ -31,27 +31,27 @@
           LayoutBlockFlow {UL} at (0,20) size 729x100
             LayoutListItem {LI} at (40,0) size 689x20
               LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
-              LayoutInline {A} at (0,0) size 109x19 [color=#800080]
-                LayoutText {#text} at (0,0) size 109x19
-                  text run at (0,0) width 109: "W3C Web server"
+              LayoutInline {A} at (0,0) size 108x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 108x19
+                  text run at (0,0) width 108: "W3C Web server"
               LayoutText {#text} at (0,0) size 0x0
             LayoutListItem {LI} at (40,20) size 689x20
               LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
-              LayoutInline {A} at (0,0) size 111x19 [color=#800080]
-                LayoutText {#text} at (0,0) size 111x19
-                  text run at (0,0) width 111: "NIST Web server"
+              LayoutInline {A} at (0,0) size 110x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 110x19
+                  text run at (0,0) width 110: "NIST Web server"
               LayoutText {#text} at (0,0) size 0x0
             LayoutListItem {LI} at (40,40) size 689x20
               LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
-              LayoutInline {A} at (0,0) size 124x19 [color=#800080]
-                LayoutText {#text} at (0,0) size 124x19
-                  text run at (0,0) width 124: "CWRU Web server"
+              LayoutInline {A} at (0,0) size 123x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 123x19
+                  text run at (0,0) width 123: "CWRU Web server"
               LayoutText {#text} at (0,0) size 0x0
             LayoutListItem {LI} at (40,60) size 689x20
               LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
-              LayoutInline {A} at (0,0) size 47x19 [color=#800080]
-                LayoutText {#text} at (0,0) size 47x19
-                  text run at (0,0) width 47: "Yahoo!"
+              LayoutInline {A} at (0,0) size 46x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 46x19
+                  text run at (0,0) width 46: "Yahoo!"
               LayoutText {#text} at (0,0) size 0x0
             LayoutListItem {LI} at (40,80) size 689x20
               LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
@@ -68,9 +68,9 @@
           LayoutBlockFlow {UL} at (0,20) size 729x20
             LayoutListItem {LI} at (40,0) size 689x20
               LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
-              LayoutInline {A} at (0,0) size 124x19 [color=#006600]
-                LayoutText {#text} at (0,0) size 124x19
-                  text run at (0,0) width 124: "CWRU Web server"
+              LayoutInline {A} at (0,0) size 123x19 [color=#006600]
+                LayoutText {#text} at (0,0) size 123x19
+                  text run at (0,0) width 123: "CWRU Web server"
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,375) size 769x40
         LayoutText {#text} at (0,0) size 120x19
@@ -78,18 +78,18 @@
         LayoutInline {A} at (0,0) size 43x19 [color=#008000]
           LayoutText {#text} at (120,0) size 43x19
             text run at (120,0) width 43: "anchor"
-        LayoutText {#text} at (163,0) size 731x39
+        LayoutText {#text} at (163,0) size 732x39
           text run at (163,0) width 377: "\" should be green, NOT purple, since it's part of an anchor. "
-          text run at (539,0) width 192: "It's a named anchor, and styles"
+          text run at (540,0) width 192: "It's a named anchor, and styles"
           text run at (0,20) width 350: "declared for the A tag are applied to them under CSS1. "
           text run at (350,20) width 326: "It also should NOT turn orange when clicked upon."
       LayoutTable {TABLE} at (0,431) size 769x290 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x288
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x260
             LayoutTableCell {TD} at (0,144) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -107,27 +107,27 @@
                   LayoutBlockFlow {UL} at (0,20) size 707x100
                     LayoutListItem {LI} at (40,0) size 667x20
                       LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
-                      LayoutInline {A} at (0,0) size 109x19 [color=#800080]
-                        LayoutText {#text} at (0,0) size 109x19
-                          text run at (0,0) width 109: "W3C Web server"
+                      LayoutInline {A} at (0,0) size 108x19 [color=#800080]
+                        LayoutText {#text} at (0,0) size 108x19
+                          text run at (0,0) width 108: "W3C Web server"
                       LayoutText {#text} at (0,0) size 0x0
                     LayoutListItem {LI} at (40,20) size 667x20
                       LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
-                      LayoutInline {A} at (0,0) size 111x19 [color=#800080]
-                        LayoutText {#text} at (0,0) size 111x19
-                          text run at (0,0) width 111: "NIST Web server"
+                      LayoutInline {A} at (0,0) size 110x19 [color=#800080]
+                        LayoutText {#text} at (0,0) size 110x19
+                          text run at (0,0) width 110: "NIST Web server"
                       LayoutText {#text} at (0,0) size 0x0
                     LayoutListItem {LI} at (40,40) size 667x20
                       LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
-                      LayoutInline {A} at (0,0) size 124x19 [color=#800080]
-                        LayoutText {#text} at (0,0) size 124x19
-                          text run at (0,0) width 124: "CWRU Web server"
+                      LayoutInline {A} at (0,0) size 123x19 [color=#800080]
+                        LayoutText {#text} at (0,0) size 123x19
+                          text run at (0,0) width 123: "CWRU Web server"
                       LayoutText {#text} at (0,0) size 0x0
                     LayoutListItem {LI} at (40,60) size 667x20
                       LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
-                      LayoutInline {A} at (0,0) size 47x19 [color=#800080]
-                        LayoutText {#text} at (0,0) size 47x19
-                          text run at (0,0) width 47: "Yahoo!"
+                      LayoutInline {A} at (0,0) size 46x19 [color=#800080]
+                        LayoutText {#text} at (0,0) size 46x19
+                          text run at (0,0) width 46: "Yahoo!"
                       LayoutText {#text} at (0,0) size 0x0
                     LayoutListItem {LI} at (40,80) size 667x20
                       LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
@@ -144,9 +144,9 @@
                   LayoutBlockFlow {UL} at (0,20) size 707x20
                     LayoutListItem {LI} at (40,0) size 667x20
                       LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
-                      LayoutInline {A} at (0,0) size 124x19 [color=#006600]
-                        LayoutText {#text} at (0,0) size 124x19
-                          text run at (0,0) width 124: "CWRU Web server"
+                      LayoutInline {A} at (0,0) size 123x19 [color=#006600]
+                        LayoutText {#text} at (0,0) size 123x19
+                          text run at (0,0) width 123: "CWRU Web server"
                       LayoutText {#text} at (0,0) size 0x0
               LayoutBlockFlow {P} at (4,216) size 747x40
                 LayoutText {#text} at (0,0) size 120x19
@@ -154,9 +154,9 @@
                 LayoutInline {A} at (0,0) size 43x19 [color=#008000]
                   LayoutText {#text} at (120,0) size 43x19
                     text run at (120,0) width 43: "anchor"
-                LayoutText {#text} at (163,0) size 731x39
+                LayoutText {#text} at (163,0) size 732x39
                   text run at (163,0) width 377: "\" should be green, NOT purple, since it's part of an anchor. "
-                  text run at (539,0) width 192: "It's a named anchor, and styles"
+                  text run at (540,0) width 192: "It's a named anchor, and styles"
                   text run at (0,20) width 350: "declared for the A tag are applied to them under CSS1. "
                   text run at (350,20) width 326: "It also should NOT turn orange when clicked upon."
 layer at (8,153) size 769x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstletter-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstletter-expected.png
index 508325c6..00a605e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstletter-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstletter-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstletter-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstletter-expected.txt
index f4b18344..8eb4c26 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstletter-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstletter-expected.txt
@@ -34,9 +34,9 @@
             text run at (0,0) width 20: "T"
         LayoutTextFragment {#text} at (20,13) size 757x63
           text run at (20,13) width 611: "he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. "
-          text run at (630,13) width 85: "If this precise"
+          text run at (631,13) width 84: "If this precise"
           text run at (0,37) width 423: "combination does not occur, then the user agent has failed this test. "
-          text run at (422,37) width 335: "Remember that in order to ensure a complete test, the"
+          text run at (423,37) width 334: "Remember that in order to ensure a complete test, the"
           text run at (0,57) width 325: "paragraph must be displayed on more than one line."
       LayoutBlockFlow {P} at (0,300) size 769x106
         LayoutInline {<pseudo:first-letter>} at (0,0) size 76x64 [color=#800000]
@@ -52,9 +52,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x311
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x283
             LayoutTableCell {TD} at (0,155) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -76,9 +76,9 @@
                     text run at (0,0) width 20: "T"
                 LayoutTextFragment {#text} at (20,13) size 734x63
                   text run at (20,13) width 611: "he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. "
-                  text run at (630,13) width 85: "If this precise"
+                  text run at (631,13) width 84: "If this precise"
                   text run at (0,37) width 423: "combination does not occur, then the user agent has failed this test. "
-                  text run at (422,37) width 312: "Remember that in order to ensure a complete test,"
+                  text run at (423,37) width 311: "Remember that in order to ensure a complete test,"
                   text run at (0,57) width 348: "the paragraph must be displayed on more than one line."
               LayoutBlockFlow {P} at (4,173) size 747x106
                 LayoutInline {<pseudo:first-letter>} at (0,0) size 76x64 [color=#800000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstline-expected.png
index a867f30b..915bac3b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstline-expected.txt
index e3fe5eb..ac916d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstline-expected.txt
@@ -26,12 +26,12 @@
         LayoutText {#text} at (0,0) size 767x76
           text run at (0,0) width 767: "The first line of this paragraph, and only that one, should be"
           text run at (0,37) width 216: "a larger font size as well as green. "
-          text run at (215,37) width 508: "If this precise combination does not occur, then the user agent has failed this test."
+          text run at (216,37) width 507: "If this precise combination does not occur, then the user agent has failed this test."
           text run at (0,57) width 663: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
       LayoutBlockFlow {P} at (0,300) size 769x80
         LayoutText {#text} at (0,0) size 762x59
-          text run at (0,0) width 604: "The first line of this paragraph, and only that one, should be displayed in small-caps style. "
-          text run at (603,0) width 155: "Thus, if the first line is"
+          text run at (0,0) width 600: "The first line of this paragraph, and only that one, should be displayed in small-caps style. "
+          text run at (600,0) width 154: "Thus, if the first line is"
           text run at (0,20) width 762: "not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test (although"
           text run at (0,40) width 165: "the problem might be that "
         LayoutInline {CODE} at (0,0) size 80x16
@@ -45,9 +45,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x285
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x257
             LayoutTableCell {TD} at (0,142) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -64,12 +64,12 @@
                 LayoutText {#text} at (0,0) size 742x76
                   text run at (0,0) width 729: "The first line of this paragraph, and only that one, should"
                   text run at (0,37) width 235: "be a larger font size as well as green. "
-                  text run at (234,37) width 508: "If this precise combination does not occur, then the user agent has failed this test."
+                  text run at (235,37) width 507: "If this precise combination does not occur, then the user agent has failed this test."
                   text run at (0,57) width 663: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
               LayoutBlockFlow {P} at (4,173) size 747x80
-                LayoutText {#text} at (0,0) size 744x59
-                  text run at (0,0) width 604: "The first line of this paragraph, and only that one, should be displayed in small-caps style. "
-                  text run at (603,0) width 141: "Thus, if the first line"
+                LayoutText {#text} at (0,0) size 740x59
+                  text run at (0,0) width 600: "The first line of this paragraph, and only that one, should be displayed in small-caps style. "
+                  text run at (600,0) width 140: "Thus, if the first line"
                   text run at (0,20) width 712: "is not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test"
                   text run at (0,40) width 229: "(although the problem might be that "
                 LayoutInline {CODE} at (0,0) size 80x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/multiple_pseudo_elements-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/multiple_pseudo_elements-expected.png
index 2113b53..f30dea0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/multiple_pseudo_elements-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/multiple_pseudo_elements-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/multiple_pseudo_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/multiple_pseudo_elements-expected.txt
index dc49c2e..a8f76e94 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/multiple_pseudo_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/multiple_pseudo_elements-expected.txt
@@ -32,7 +32,7 @@
           text run at (10,0) width 717: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be"
           text run at (0,20) width 43: "green. "
           text run at (43,20) width 511: "If this precise combination does not occur, then the user agent has failed this test. "
-          text run at (553,20) width 211: "Remember that in order to ensure"
+          text run at (554,20) width 210: "Remember that in order to ensure"
           text run at (0,40) width 449: "a complete test, the paragraph must be displayed on more than one line."
       LayoutBlockFlow {P} at (0,255) size 769x192
         LayoutInline {<pseudo:first-letter>} at (0,0) size 68x127 [color=#800000]
@@ -50,8 +50,8 @@
           LayoutTextFragment (anonymous) at (0,1) size 76x64
             text run at (0,1) width 76: "\"W"
         LayoutTextFragment {#text} at (76,36) size 765x89
-          text run at (76,36) width 333: "e should check for quotation support,\" it was said. "
-          text run at (408,36) width 354: "The first two characters in this paragraph-- a double-"
+          text run at (76,36) width 332: "e should check for quotation support,\" it was said. "
+          text run at (408,36) width 353: "The first two characters in this paragraph-- a double-"
           text run at (0,66) width 683: "quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red). "
           text run at (683,66) width 81: "Note that the"
           text run at (0,86) width 765: "inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but it is recommended."
@@ -60,9 +60,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x466
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x438
             LayoutTableCell {TD} at (0,233) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -76,7 +76,7 @@
                   text run at (10,0) width 717: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be"
                   text run at (0,20) width 43: "green. "
                   text run at (43,20) width 511: "If this precise combination does not occur, then the user agent has failed this test. "
-                  text run at (553,20) width 166: "Remember that in order to"
+                  text run at (554,20) width 165: "Remember that in order to"
                   text run at (0,40) width 494: "ensure a complete test, the paragraph must be displayed on more than one line."
               LayoutBlockFlow {P} at (4,80) size 747x212
                 LayoutInline {<pseudo:first-letter>} at (0,0) size 68x127 [color=#800000]
@@ -95,8 +95,8 @@
                   LayoutTextFragment (anonymous) at (0,1) size 76x64
                     text run at (0,1) width 76: "\"W"
                 LayoutTextFragment {#text} at (76,36) size 739x89
-                  text run at (76,36) width 333: "e should check for quotation support,\" it was said. "
-                  text run at (408,36) width 300: "The first two characters in this paragraph-- a"
+                  text run at (76,36) width 332: "e should check for quotation support,\" it was said. "
+                  text run at (408,36) width 299: "The first two characters in this paragraph-- a"
                   text run at (0,66) width 727: "double-quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red)."
                   text run at (0,86) width 739: "Note that the inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but it"
                   text run at (0,106) width 111: "is recommended. "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/pseudo_elements_in_selectors-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/pseudo_elements_in_selectors-expected.png
index e780cc7..e53ff6e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/pseudo_elements_in_selectors-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/pseudo_elements_in_selectors-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/pseudo_elements_in_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/pseudo_elements_in_selectors-expected.txt
index 92c169e..2a659ef 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/pseudo_elements_in_selectors-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/pseudo_elements_in_selectors-expected.txt
@@ -21,30 +21,30 @@
           text run at (339,0) width 379: "This test is included simply to establish a baseline for the"
           text run at (0,20) width 636: "following tests, since if this test fails, then the rest of the tests on this page are expected to fail as well."
       LayoutBlockFlow {P} at (0,187) size 769x40
-        LayoutText {#text} at (0,0) size 754x39
-          text run at (0,0) width 555: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
-          text run at (554,0) width 200: "If this is not the case, then the"
+        LayoutText {#text} at (0,0) size 753x39
+          text run at (0,0) width 554: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
+          text run at (554,0) width 199: "If this is not the case, then the"
           text run at (0,20) width 565: "user agent may have failed to properly parse the selector, or it may simply not support the "
-        LayoutInline {TT} at (0,0) size 89x16
-          LayoutText {#text} at (564,23) size 89x16
-            text run at (564,23) width 89: ":first-line"
-        LayoutText {#text} at (652,20) size 108x19
-          text run at (652,20) width 108: " pseudo-element."
+        LayoutInline {TT} at (0,0) size 88x16
+          LayoutText {#text} at (565,23) size 88x16
+            text run at (565,23) width 88: ":first-line"
+        LayoutText {#text} at (653,20) size 107x19
+          text run at (653,20) width 107: " pseudo-element."
       LayoutBlockFlow {P} at (0,243) size 769x80
         LayoutText {#text} at (0,0) size 766x79
           text run at (0,0) width 339: "The first line of this sentence should be boldfaced. "
           text run at (339,0) width 415: "If it is red, then the user agent has violated the specification in"
           text run at (0,20) width 431: "allowing pseudo-elements at a point other than the end of a selector. "
-          text run at (430,20) width 336: "If neither is the case, then the user agent has correctly"
+          text run at (431,20) width 335: "If neither is the case, then the user agent has correctly"
           text run at (0,40) width 750: "ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered to have"
           text run at (0,60) width 87: "failed the test."
       LayoutTable {TABLE} at (0,339) size 769x250 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x248
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x220
             LayoutTableCell {TD} at (0,124) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -56,22 +56,22 @@
                   text run at (339,0) width 379: "This test is included simply to establish a baseline for the"
                   text run at (0,20) width 636: "following tests, since if this test fails, then the rest of the tests on this page are expected to fail as well."
               LayoutBlockFlow {P} at (4,60) size 747x60
-                LayoutText {#text} at (0,0) size 729x39
-                  text run at (0,0) width 555: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
-                  text run at (554,0) width 175: "If this is not the case, then"
+                LayoutText {#text} at (0,0) size 728x39
+                  text run at (0,0) width 554: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
+                  text run at (554,0) width 174: "If this is not the case, then"
                   text run at (0,20) width 588: "the user agent may have failed to properly parse the selector, or it may simply not support the "
-                LayoutInline {TT} at (0,0) size 89x16
-                  LayoutText {#text} at (587,23) size 89x16
-                    text run at (587,23) width 89: ":first-line"
-                LayoutText {#text} at (675,20) size 730x39
-                  text run at (675,20) width 55: " pseudo-"
+                LayoutInline {TT} at (0,0) size 88x16
+                  LayoutText {#text} at (588,23) size 88x16
+                    text run at (588,23) width 88: ":first-line"
+                LayoutText {#text} at (676,20) size 730x39
+                  text run at (676,20) width 54: " pseudo-"
                   text run at (0,40) width 53: "element."
               LayoutBlockFlow {P} at (4,136) size 747x80
                 LayoutText {#text} at (0,0) size 737x79
                   text run at (0,0) width 339: "The first line of this sentence should be boldfaced. "
                   text run at (339,0) width 398: "If it is red, then the user agent has violated the specification"
                   text run at (0,20) width 447: "in allowing pseudo-elements at a point other than the end of a selector. "
-                  text run at (446,20) width 277: "If neither is the case, then the user agent has"
+                  text run at (447,20) width 276: "If neither is the case, then the user agent has"
                   text run at (0,40) width 687: "correctly ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be"
                   text run at (0,60) width 209: "considered to have failed the test."
 layer at (8,121) size 769x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/text_align-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/text_align-expected.png
index f3c86e42..ba3dae05 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/text_align-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/text_align-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/text_decoration-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/text_decoration-expected.png
index cb83a824..8214012 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/text_decoration-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/text_decoration-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/text_transform-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/text_transform-expected.png
index 725af72..a790815 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/text_transform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/text_transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/word_spacing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/word_spacing-expected.png
index badd717a..9047266 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/word_spacing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/text_properties/word_spacing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/units/color_units-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/units/color_units-expected.png
index f4bae11..65b41713 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/units/color_units-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/units/color_units-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/units/color_units-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/units/color_units-expected.txt
index ac0a5e34..887037aa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/units/color_units-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/units/color_units-expected.txt
@@ -36,8 +36,8 @@
         LayoutText {#text} at (0,0) size 193x19
           text run at (0,0) width 193: "This sentence should be black."
       LayoutBlockFlow {P} at (0,295) size 769x20 [color=#008800]
-        LayoutText {#text} at (0,0) size 506x19
-          text run at (0,0) width 506: "This sentence should be green, although slightly different from those that follow."
+        LayoutText {#text} at (0,0) size 505x19
+          text run at (0,0) width 505: "This sentence should be green, although slightly different from those that follow."
       LayoutBlockFlow {P} at (0,331) size 769x20 [color=#008000]
         LayoutText {#text} at (0,0) size 194x19
           text run at (0,0) width 194: "This sentence should be green."
@@ -62,19 +62,19 @@
         LayoutText {#text} at (455,0) size 65x19
           text run at (455,0) width 65: " is invalid."
       LayoutBlockFlow {P} at (0,547) size 769x40 [color=#0080FF]
-        LayoutText {#text} at (0,0) size 725x39
-          text run at (0,0) width 725: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next"
+        LayoutText {#text} at (0,0) size 724x39
+          text run at (0,0) width 724: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next"
           text run at (0,20) width 67: "paragraph."
       LayoutBlockFlow {P} at (0,603) size 769x40 [color=#0080FF]
-        LayoutText {#text} at (0,0) size 752x39
-          text run at (0,0) width 752: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the previous"
+        LayoutText {#text} at (0,0) size 751x39
+          text run at (0,0) width 751: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the previous"
           text run at (0,20) width 67: "paragraph."
       LayoutBlockFlow {P} at (0,659) size 769x20 [color=#800099]
-        LayoutText {#text} at (0,0) size 769x19
-          text run at (0,0) width 769: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next paragraph."
+        LayoutText {#text} at (0,0) size 768x19
+          text run at (0,0) width 768: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next paragraph."
       LayoutBlockFlow {P} at (0,695) size 769x40 [color=#800099]
-        LayoutText {#text} at (0,0) size 725x39
-          text run at (0,0) width 725: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous"
+        LayoutText {#text} at (0,0) size 724x39
+          text run at (0,0) width 724: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous"
           text run at (0,20) width 67: "paragraph."
       LayoutBlockFlow {P} at (0,751) size 769x20
         LayoutText {#text} at (0,0) size 193x19
@@ -82,11 +82,11 @@
       LayoutBlockFlow {P} at (0,787) size 769x20 [color=#008800]
         LayoutText {#text} at (0,0) size 399x19
           text run at (0,0) width 399: "This sentence should be a slightly different green, and used the "
-        LayoutInline {TT} at (0,0) size 41x16
-          LayoutText {#text} at (398,3) size 41x16
-            text run at (398,3) width 41: "style"
-        LayoutText {#text} at (438,0) size 60x19
-          text run at (438,0) width 60: " attribute."
+        LayoutInline {TT} at (0,0) size 40x16
+          LayoutText {#text} at (399,3) size 40x16
+            text run at (399,3) width 40: "style"
+        LayoutText {#text} at (439,0) size 59x19
+          text run at (439,0) width 59: " attribute."
       LayoutBlockFlow {P} at (0,823) size 769x20 [color=#008000]
         LayoutText {#text} at (0,0) size 281x19
           text run at (0,0) width 281: "This sentence should be green, and used the "
@@ -131,9 +131,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x784
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x756
             LayoutTableCell {TD} at (0,392) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -143,8 +143,8 @@
                 LayoutText {#text} at (0,0) size 193x19
                   text run at (0,0) width 193: "This sentence should be black."
               LayoutBlockFlow {P} at (4,40) size 747x20 [color=#008800]
-                LayoutText {#text} at (0,0) size 506x19
-                  text run at (0,0) width 506: "This sentence should be green, although slightly different from those that follow."
+                LayoutText {#text} at (0,0) size 505x19
+                  text run at (0,0) width 505: "This sentence should be green, although slightly different from those that follow."
               LayoutBlockFlow {P} at (4,76) size 747x20 [color=#008000]
                 LayoutText {#text} at (0,0) size 194x19
                   text run at (0,0) width 194: "This sentence should be green."
@@ -169,20 +169,20 @@
                 LayoutText {#text} at (455,0) size 65x19
                   text run at (455,0) width 65: " is invalid."
               LayoutBlockFlow {P} at (4,292) size 747x40 [color=#0080FF]
-                LayoutText {#text} at (0,0) size 725x39
-                  text run at (0,0) width 725: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next"
+                LayoutText {#text} at (0,0) size 724x39
+                  text run at (0,0) width 724: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next"
                   text run at (0,20) width 67: "paragraph."
               LayoutBlockFlow {P} at (4,348) size 747x40 [color=#0080FF]
-                LayoutText {#text} at (0,0) size 694x39
-                  text run at (0,0) width 694: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the"
+                LayoutText {#text} at (0,0) size 693x39
+                  text run at (0,0) width 693: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the"
                   text run at (0,20) width 125: "previous paragraph."
               LayoutBlockFlow {P} at (4,404) size 747x40 [color=#800099]
-                LayoutText {#text} at (0,0) size 698x39
-                  text run at (0,0) width 698: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next"
+                LayoutText {#text} at (0,0) size 697x39
+                  text run at (0,0) width 697: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next"
                   text run at (0,20) width 67: "paragraph."
               LayoutBlockFlow {P} at (4,460) size 747x40 [color=#800099]
-                LayoutText {#text} at (0,0) size 725x39
-                  text run at (0,0) width 725: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous"
+                LayoutText {#text} at (0,0) size 724x39
+                  text run at (0,0) width 724: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous"
                   text run at (0,20) width 67: "paragraph."
               LayoutBlockFlow {P} at (4,516) size 747x20
                 LayoutText {#text} at (0,0) size 193x19
@@ -190,11 +190,11 @@
               LayoutBlockFlow {P} at (4,552) size 747x20 [color=#008800]
                 LayoutText {#text} at (0,0) size 399x19
                   text run at (0,0) width 399: "This sentence should be a slightly different green, and used the "
-                LayoutInline {TT} at (0,0) size 41x16
-                  LayoutText {#text} at (398,3) size 41x16
-                    text run at (398,3) width 41: "style"
-                LayoutText {#text} at (438,0) size 60x19
-                  text run at (438,0) width 60: " attribute."
+                LayoutInline {TT} at (0,0) size 40x16
+                  LayoutText {#text} at (399,3) size 40x16
+                    text run at (399,3) width 40: "style"
+                LayoutText {#text} at (439,0) size 59x19
+                  text run at (439,0) width 59: " attribute."
               LayoutBlockFlow {P} at (4,588) size 747x20 [color=#008000]
                 LayoutText {#text} at (0,0) size 281x19
                   text run at (0,0) width 281: "This sentence should be green, and used the "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/units/length_units-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/units/length_units-expected.png
index 88cfcd4..3c3b7a1a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/units/length_units-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/units/length_units-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/units/length_units-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/units/length_units-expected.txt
index a8965ee..2e1dd30 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/units/length_units-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/units/length_units-expected.txt
@@ -97,9 +97,9 @@
         LayoutTableSection {TBODY} at (1,1) size 767x728
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x700
             LayoutTableCell {TD} at (0,364) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/units/percentage_units-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/units/percentage_units-expected.png
index 5f2ae23..40fc73b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/units/percentage_units-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/units/percentage_units-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/units/percentage_units-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/units/percentage_units-expected.txt
index c629852..9ba993b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/units/percentage_units-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/units/percentage_units-expected.txt
@@ -33,14 +33,14 @@
       LayoutBlockFlow {P} at (192.25,299) size 576.75x40
         LayoutText {#text} at (0,0) size 549x39
           text run at (0,0) width 549: "This paragraph should have a left margin of 25% the width of its parent element, which"
-          text run at (0,20) width 356: "should require some extra text in order to test effectively."
+          text run at (0,20) width 355: "should require some extra text in order to test effectively."
       LayoutTable {TABLE} at (0,355) size 769x230 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x228
           LayoutTableRow {TR} at (0,0) size 767x28
             LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 767x200
             LayoutTableCell {TD} at (0,114) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
@@ -62,6 +62,6 @@
               LayoutBlockFlow {P} at (190.75,156) size 560.25x40
                 LayoutText {#text} at (0,0) size 549x39
                   text run at (0,0) width 549: "This paragraph should have a left margin of 25% the width of its parent element, which"
-                  text run at (0,20) width 356: "should require some extra text in order to test effectively."
+                  text run at (0,20) width 355: "should require some extra text in order to test effectively."
 layer at (8,137) size 769x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,129) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/units/urls-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css1/units/urls-expected.png
index 6c22c11..e103a4c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/units/urls-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/units/urls-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/units/urls-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/units/urls-expected.txt
index 1c05dc9..95d5226 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/units/urls-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/units/urls-expected.txt
@@ -34,9 +34,9 @@
         LayoutTableSection {TBODY} at (1,1) size 782x208
           LayoutTableRow {TR} at (0,0) size 782x28
             LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutInline {STRONG} at (0,0) size 161x19
-                LayoutText {#text} at (4,4) size 161x19
-                  text run at (4,4) width 161: "TABLE Testing Section"
+              LayoutInline {STRONG} at (0,0) size 159x19
+                LayoutText {#text} at (4,4) size 159x19
+                  text run at (4,4) width 159: "TABLE Testing Section"
           LayoutTableRow {TR} at (0,28) size 782x180
             LayoutTableCell {TD} at (0,104) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (4,4) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-079-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-079-expected.png
index 0a02c45..d21ac44 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-079-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-079-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-079-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-079-expected.txt
index 60225e8..fa2b248 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-079-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-079-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x310
     LayoutBlockFlow {BODY} at (8,16) size 784x286
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 465x19
-          text run at (0,0) width 465: "Test passes if the center box in the table below has a border similar to this:"
+        LayoutText {#text} at (0,0) size 464x19
+          text run at (0,0) width 464: "Test passes if the center box in the table below has a border similar to this:"
       LayoutTable {TABLE} at (0,36) size 60x60 [border: (2px none #808080)]
         LayoutTableSection {TBODY} at (2,2) size 55x55
           LayoutTableRow {TR} at (0,0) size 55x55
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-088-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-088-expected.png
index f197cdd..2356c53 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-088-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-088-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-088-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-088-expected.txt
index ac4fbbdb..eadc808 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-088-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-conflict-style-088-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x310
     LayoutBlockFlow {BODY} at (8,16) size 784x286
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 465x19
-          text run at (0,0) width 465: "Test passes if the center box in the table below has a border similar to this:"
+        LayoutText {#text} at (0,0) size 464x19
+          text run at (0,0) width 464: "Test passes if the center box in the table below has a border similar to this:"
       LayoutTable {TABLE} at (0,36) size 60x60 [border: (2px none #808080)]
         LayoutTableSection {TBODY} at (2,2) size 55x55
           LayoutTableRow {TR} at (0,0) size 55x55
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-spacing-applies-to-015-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-spacing-applies-to-015-expected.png
index 64d6d12..7bc5a88 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-spacing-applies-to-015-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-spacing-applies-to-015-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-spacing-applies-to-015-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-spacing-applies-to-015-expected.txt
index 9573e4a..dc5e639 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-spacing-applies-to-015-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/border-spacing-applies-to-015-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x300
     LayoutBlockFlow {BODY} at (8,16) size 784x276
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 644x19
-          text run at (0,0) width 644: "Test passes if there is a blue and orange square below and there is no vertical gap between the squares."
+        LayoutText {#text} at (0,0) size 643x19
+          text run at (0,0) width 643: "Test passes if there is a blue and orange square below and there is no vertical gap between the squares."
       LayoutTable {DIV} at (0,36) size 120x240
         LayoutBlockFlow {DIV} at (0,0) size 120x120 [border: (10px solid #0000FF)]
         LayoutBlockFlow {DIV} at (0,120) size 120x120 [border: (10px solid #FFA500)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/c543-txt-decor-000-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/c543-txt-decor-000-expected.png
index 16e8980b..a038fd1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/c543-txt-decor-000-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/c543-txt-decor-000-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/c543-txt-decor-000-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/c543-txt-decor-000-expected.txt
index 11b707fe5..291b041 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/c543-txt-decor-000-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/c543-txt-decor-000-expected.txt
@@ -66,11 +66,11 @@
         LayoutText {#text} at (0,0) size 568x19
           text run at (0,0) width 478: "This sentence should have a long blue underline including between the two "
           text run at (478,0) width 90: "arrows here\x{2192}"
-        LayoutInline {SPAN} at (0,0) size 160x19 [color=#FFFFFF]
-          LayoutText {#text} at (568,0) size 160x19
-            text run at (568,0) width 160: " FAIL FAIL FAIL FAIL "
-        LayoutText {#text} at (727,0) size 767x39
-          text run at (727,0) width 40: "\x{2190}and"
+        LayoutInline {SPAN} at (0,0) size 156x19 [color=#FFFFFF]
+          LayoutText {#text} at (568,0) size 156x19
+            text run at (568,0) width 156: " FAIL FAIL FAIL FAIL "
+        LayoutText {#text} at (724,0) size 763x39
+          text run at (724,0) width 39: "\x{2190}and"
           text run at (0,20) width 31: "here."
       LayoutBlockFlow {P} at (0,402) size 784x20 [color=#000080]
         LayoutText {#text} at (0,0) size 343x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-inline-table-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-inline-table-001-expected.png
index ff0a5f7..5d6cb680 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-inline-table-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-inline-table-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-inline-table-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-inline-table-001-expected.txt
index 852a666..a703a49 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-inline-table-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-inline-table-001-expected.txt
@@ -7,13 +7,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x165
     LayoutBlockFlow {BODY} at (8,16) size 784x141
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 294x19
-          text run at (0,0) width 294: "Test passes if there is a filled green square and "
-        LayoutInline {STRONG} at (0,0) size 45x19
-          LayoutText {#text} at (293,0) size 45x19
-            text run at (293,0) width 45: "no red"
-        LayoutText {#text} at (337,0) size 5x19
-          text run at (337,0) width 5: "."
+        LayoutText {#text} at (0,0) size 293x19
+          text run at (0,0) width 293: "Test passes if there is a filled green square and "
+        LayoutInline {STRONG} at (0,0) size 44x19
+          LayoutText {#text} at (293,0) size 44x19
+            text run at (293,0) width 44: "no red"
+        LayoutText {#text} at (337,0) size 4x19
+          text run at (337,0) width 4: "."
       LayoutBlockFlow (anonymous) at (0,36) size 784x105
         LayoutTable {DIV} at (0,0) size 100x100 [bgcolor=#008000] [border: (25px solid #008000)]
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-table-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-table-001-expected.png
index ff0a5f7..5d6cb680 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-table-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-table-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-table-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-table-001-expected.txt
index c5f5204..1bd991cd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-table-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/height-width-table-001-expected.txt
@@ -7,11 +7,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x160
     LayoutBlockFlow {BODY} at (8,16) size 784x136
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 294x19
-          text run at (0,0) width 294: "Test passes if there is a filled green square and "
-        LayoutInline {STRONG} at (0,0) size 45x19
-          LayoutText {#text} at (293,0) size 45x19
-            text run at (293,0) width 45: "no red"
-        LayoutText {#text} at (337,0) size 5x19
-          text run at (337,0) width 5: "."
+        LayoutText {#text} at (0,0) size 293x19
+          text run at (0,0) width 293: "Test passes if there is a filled green square and "
+        LayoutInline {STRONG} at (0,0) size 44x19
+          LayoutText {#text} at (293,0) size 44x19
+            text run at (293,0) width 44: "no red"
+        LayoutText {#text} at (337,0) size 4x19
+          text run at (337,0) width 4: "."
       LayoutTable {DIV} at (0,36) size 100x100 [bgcolor=#008000] [border: (25px solid #008000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/inline-table-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/inline-table-001-expected.png
index c04dab51..9eae6db2f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/inline-table-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/inline-table-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/inline-table-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/inline-table-001-expected.txt
index 623a375..f510adb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/inline-table-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/inline-table-001-expected.txt
@@ -4,18 +4,18 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 375x19
-          text run at (0,0) width 375: "Test passes if the \"Filler Text\" below is all on the same line."
+        LayoutText {#text} at (0,0) size 373x19
+          text run at (0,0) width 373: "Test passes if the \"Filler Text\" below is all on the same line."
       LayoutBlockFlow {DIV} at (0,36) size 784x96
-        LayoutInline {SPAN} at (0,0) size 65x19
-          LayoutText {#text} at (0,0) size 65x19
-            text run at (0,0) width 65: "Filler Text"
-        LayoutText {#text} at (64,0) size 5x19
-          text run at (64,0) width 5: " "
-        LayoutTable {DIV} at (68.88,0) size 96x96 [bgcolor=#FFA500]
+        LayoutInline {SPAN} at (0,0) size 64x19
+          LayoutText {#text} at (0,0) size 64x19
+            text run at (0,0) width 64: "Filler Text"
+        LayoutText {#text} at (64,0) size 4x19
+          text run at (64,0) width 4: " "
+        LayoutTable {DIV} at (68,0) size 96x96 [bgcolor=#FFA500]
           LayoutTableSection (anonymous) at (0,0) size 96x96
             LayoutTableRow {DIV} at (0,0) size 96x96
               LayoutTableCell {DIV} at (0,0) size 96x20 [r=0 c=0 rs=1 cs=1]
-                LayoutText {#text} at (0,0) size 65x19
-                  text run at (0,0) width 65: "Filler Text"
+                LayoutText {#text} at (0,0) size 64x19
+                  text run at (0,0) width 64: "Filler Text"
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/list-style-position-005-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/list-style-position-005-expected.png
index 0fb8f4b6..7d87131 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/list-style-position-005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/list-style-position-005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/list-style-position-005-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/list-style-position-005-expected.txt
index 81c4ffd..fa5201b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/list-style-position-005-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/list-style-position-005-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x262
     LayoutBlockFlow {BODY} at (8,16) size 784x238
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 91x19
-          text run at (0,0) width 91: "To pass, there "
-        LayoutInline {STRONG} at (0,0) size 34x19
-          LayoutText {#text} at (90,0) size 34x19
-            text run at (90,0) width 34: "must"
+        LayoutText {#text} at (0,0) size 90x19
+          text run at (0,0) width 90: "To pass, there "
+        LayoutInline {STRONG} at (0,0) size 33x19
+          LayoutText {#text} at (90,0) size 33x19
+            text run at (90,0) width 33: "must"
         LayoutText {#text} at (123,0) size 275x19
           text run at (123,0) width 275: " be a green bar stacked on top of a blue bar."
       LayoutListItem {DIV} at (0,36) size 784x202 [color=#00FF00] [bgcolor=#00FF00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-001-expected.png
index a81b883..e0def0c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-001-expected.txt
index 0f8e4eb..f1af11e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-001-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 455x19
-          text run at (0,0) width 455: "Test passes if there is no space between the blue and orange lines below."
+        LayoutText {#text} at (0,0) size 453x19
+          text run at (0,0) width 453: "Test passes if there is no space between the blue and orange lines below."
 layer at (8,52) size 240x240
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 240x240 [border: (10px solid #0000FF)]
     LayoutTable {DIV} at (10,10) size 220x220
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-002-expected.png
index a81b883..e0def0c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-002-expected.txt
index 0f8e4eb..f1af11e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-002-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 455x19
-          text run at (0,0) width 455: "Test passes if there is no space between the blue and orange lines below."
+        LayoutText {#text} at (0,0) size 453x19
+          text run at (0,0) width 453: "Test passes if there is no space between the blue and orange lines below."
 layer at (8,52) size 240x240
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 240x240 [border: (10px solid #0000FF)]
     LayoutTable {DIV} at (10,10) size 220x220
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-003-expected.png
index a81b883..e0def0c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-003-expected.txt
index 0f8e4eb..f1af11e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-003-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 455x19
-          text run at (0,0) width 455: "Test passes if there is no space between the blue and orange lines below."
+        LayoutText {#text} at (0,0) size 453x19
+          text run at (0,0) width 453: "Test passes if there is no space between the blue and orange lines below."
 layer at (8,52) size 240x240
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 240x240 [border: (10px solid #0000FF)]
     LayoutTable {DIV} at (10,10) size 220x220
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-004-expected.png
index a81b883..e0def0c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-004-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-004-expected.txt
index a5133b1..c1bce9d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-004-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 455x19
-          text run at (0,0) width 455: "Test passes if there is no space between the blue and orange lines below."
+        LayoutText {#text} at (0,0) size 453x19
+          text run at (0,0) width 453: "Test passes if there is no space between the blue and orange lines below."
 layer at (8,52) size 240x240
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 240x240 [border: (10px solid #0000FF)]
     LayoutTable {DIV} at (10,10) size 220x220
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-005-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-005-expected.png
index a81b883..e0def0c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-005-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-005-expected.txt
index fbca2c1..da903f4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-005-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-005-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 455x19
-          text run at (0,0) width 455: "Test passes if there is no space between the blue and orange lines below."
+        LayoutText {#text} at (0,0) size 453x19
+          text run at (0,0) width 453: "Test passes if there is no space between the blue and orange lines below."
 layer at (8,52) size 240x240
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 240x240 [border: (10px solid #0000FF)]
     LayoutTable {DIV} at (10,10) size 220x220
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-006-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-006-expected.png
index a81b883..e0def0c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-006-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-006-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-006-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-006-expected.txt
index fbca2c1..da903f4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-006-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-006-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 455x19
-          text run at (0,0) width 455: "Test passes if there is no space between the blue and orange lines below."
+        LayoutText {#text} at (0,0) size 453x19
+          text run at (0,0) width 453: "Test passes if there is no space between the blue and orange lines below."
 layer at (8,52) size 240x240
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 240x240 [border: (10px solid #0000FF)]
     LayoutTable {DIV} at (10,10) size 220x220
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-007-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-007-expected.png
index a81b883..e0def0c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-007-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-007-expected.txt
index a5133b1..c1bce9d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-007-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-007-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 455x19
-          text run at (0,0) width 455: "Test passes if there is no space between the blue and orange lines below."
+        LayoutText {#text} at (0,0) size 453x19
+          text run at (0,0) width 453: "Test passes if there is no space between the blue and orange lines below."
 layer at (8,52) size 240x240
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 240x240 [border: (10px solid #0000FF)]
     LayoutTable {DIV} at (10,10) size 220x220
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-008-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-008-expected.png
index 689255b9..ad5161c9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-008-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-008-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-008-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-008-expected.txt
index f9612aac..d617554e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-008-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-008-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x80
     LayoutBlockFlow {BODY} at (8,16) size 784x56
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 435x19
-          text run at (0,0) width 435: "Test passes if there is space between the blue and orange lines below."
+        LayoutText {#text} at (0,0) size 433x19
+          text run at (0,0) width 433: "Test passes if there is space between the blue and orange lines below."
       LayoutBlockFlow (anonymous) at (0,36) size 784x20
-        LayoutInline {DIV} at (0,0) size 185x19 [border: none (5px solid #0000FF) none (5px solid #0000FF)]
+        LayoutInline {DIV} at (0,0) size 184x19 [border: none (5px solid #0000FF) none (5px solid #0000FF)]
           LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {DIV} at (0,0) size 75x19 [border: none (5px solid #FFA500) none (5px solid #FFA500)]
-            LayoutText {#text} at (60,0) size 65x19
-              text run at (60,0) width 65: "Filler Text"
+          LayoutInline {DIV} at (0,0) size 74x19 [border: none (5px solid #FFA500) none (5px solid #FFA500)]
+            LayoutText {#text} at (60,0) size 64x19
+              text run at (60,0) width 64: "Filler Text"
           LayoutText {#text} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-009-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-009-expected.png
index ed56056..9d75c34c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-009-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-009-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-009-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-009-expected.txt
index b3e429e4..933334ac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-009-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-009-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 435x19
-          text run at (0,0) width 435: "Test passes if there is space between the blue and orange lines below."
+        LayoutText {#text} at (0,0) size 433x19
+          text run at (0,0) width 433: "Test passes if there is space between the blue and orange lines below."
 layer at (8,52) size 340x340
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 340x340 [border: (10px solid #0000FF)]
     LayoutBlockFlow {DIV} at (60,60) size 220x220 [border: (10px solid #FFA500)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-010-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-010-expected.png
index ca94462..fefa4acf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-010-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-010-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-010-expected.txt
index 0d2eb8e..a9ca217 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-010-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-010-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x72
     LayoutBlockFlow {BODY} at (8,16) size 784x40
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 778x39
-          text run at (0,0) width 778: "Test passes if there is space between the blue and orange lines below and there is a marker bullet on the left-hand side of the"
+        LayoutText {#text} at (0,0) size 777x39
+          text run at (0,0) width 777: "Test passes if there is space between the blue and orange lines below and there is a marker bullet on the left-hand side of the"
           text run at (0,20) width 75: "orange box."
 layer at (8,72) size 340x340
   LayoutBlockFlow (positioned) {DIV} at (8,72) size 340x340 [border: (10px solid #0000FF)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-012-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-012-expected.png
index 3a7a3ff..439fab3d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-012-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-012-expected.txt
index cebf85b..4a30bb368 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-012-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-012-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 435x19
-          text run at (0,0) width 435: "Test passes if there is space between the blue and orange lines below."
+        LayoutText {#text} at (0,0) size 433x19
+          text run at (0,0) width 433: "Test passes if there is space between the blue and orange lines below."
 layer at (8,52) size 340x345
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 340x345 [border: (10px solid #0000FF)]
     LayoutBlockFlow {DIV} at (60,60) size 220x220 [border: (10px solid #FFA500)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-013-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-013-expected.png
index ed56056..9d75c34c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-013-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-013-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-013-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-013-expected.txt
index c977f8a..451997890 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-013-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-013-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 435x19
-          text run at (0,0) width 435: "Test passes if there is space between the blue and orange lines below."
+        LayoutText {#text} at (0,0) size 433x19
+          text run at (0,0) width 433: "Test passes if there is space between the blue and orange lines below."
 layer at (8,52) size 340x340
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 340x340 [border: (10px solid #0000FF)]
     LayoutTable {DIV} at (60,60) size 220x220 [border: (10px solid #FFA500)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-015-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-015-expected.png
index ed56056..9d75c34c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-015-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-015-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-015-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-015-expected.txt
index a52ae335..dd0cfdd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-015-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/margin-applies-to-015-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 435x19
-          text run at (0,0) width 435: "Test passes if there is space between the blue and orange lines below."
+        LayoutText {#text} at (0,0) size 433x19
+          text run at (0,0) width 433: "Test passes if there is space between the blue and orange lines below."
 layer at (8,52) size 340x340
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 340x340 [border: (10px solid #0000FF)]
     LayoutTable {DIV} at (10,10) size 320x320
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-008-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-008-expected.png
index e39258bad..aee42b3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-008-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-008-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-008-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-008-expected.txt
index 35ae2f68..8a36212 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-008-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-008-expected.txt
@@ -4,10 +4,10 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x80
     LayoutBlockFlow {BODY} at (8,16) size 784x56
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 226x19
-          text run at (0,0) width 226: "Test passes if the box below is blue."
+        LayoutText {#text} at (0,0) size 225x19
+          text run at (0,0) width 225: "Test passes if the box below is blue."
       LayoutBlockFlow (anonymous) at (0,36) size 784x20
-        LayoutInline {DIV} at (0,0) size 65x19
-          LayoutText {#text} at (0,0) size 65x19
-            text run at (0,0) width 65: "Filler Text"
+        LayoutInline {DIV} at (0,0) size 64x19
+          LayoutText {#text} at (0,0) size 64x19
+            text run at (0,0) width 64: "Filler Text"
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-014-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-014-expected.png
index 0c28c49..da70cfff 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-014-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-014-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-014-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-014-expected.txt
index c8a31f7..530c419 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-014-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/outline-color-applies-to-014-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x171
     LayoutBlockFlow {BODY} at (8,16) size 784x147
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 226x19
-          text run at (0,0) width 226: "Test passes if the box below is blue."
+        LayoutText {#text} at (0,0) size 225x19
+          text run at (0,0) width 225: "Test passes if the box below is blue."
       LayoutBlockFlow (anonymous) at (0,36) size 784x111
         LayoutTable {DIV} at (0,15) size 96x96
           LayoutTableSection (anonymous) at (0,0) size 96x96
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-001-expected.png
index a97ce5a..1d5a6c2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-001-expected.txt
index cd74f38d..7dfb1f6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-001-expected.txt
@@ -4,12 +4,12 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x176
     LayoutBlockFlow {BODY} at (8,16) size 784x152
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 300x19
-          text run at (0,0) width 300: "Test passes if the \"Filler Text\" is above the box."
+        LayoutText {#text} at (0,0) size 298x19
+          text run at (0,0) width 298: "Test passes if the \"Filler Text\" is above the box."
       LayoutTable {DIV} at (0,36) size 96x116
         LayoutBlockFlow {DIV} at (0,0) size 96x20
-          LayoutText {#text} at (0,0) size 65x19
-            text run at (0,0) width 65: "Filler Text"
+          LayoutText {#text} at (0,0) size 64x19
+            text run at (0,0) width 64: "Filler Text"
         LayoutTableSection (anonymous) at (0,20) size 96x96
           LayoutTableRow {DIV} at (0,0) size 96x48
             LayoutTableCell {DIV} at (0,0) size 48x0 [bgcolor=#000000] [r=0 c=0 rs=1 cs=1]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-002-expected.png
index 4e0cb1c..f25bb088 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-002-expected.txt
index 8da7c807..8954193 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-002-expected.txt
@@ -6,8 +6,8 @@
       LayoutTableSection (anonymous) at (0,60) size 784x60
         LayoutTableRow (anonymous) at (0,0) size 784x40
           LayoutTableCell {DIV} at (0,0) size 784x40 [r=0 c=0 rs=1 cs=1]
-            LayoutText {#text} at (0,0) size 742x39
-              text run at (0,0) width 742: "Test passes if the numbers above are in order from top-to-bottom (1-3) and the number below are in order from top-to-"
+            LayoutText {#text} at (0,0) size 741x39
+              text run at (0,0) width 741: "Test passes if the numbers above are in order from top-to-bottom (1-3) and the number below are in order from top-to-"
               text run at (0,20) width 83: "bottom (4-6)."
         LayoutTableRow {DIV} at (0,40) size 784x20 [color=#008000]
           LayoutTableCell (anonymous) at (0,40) size 784x20 [r=1 c=0 rs=1 cs=1]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-horizontal-alignment-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-horizontal-alignment-001-expected.png
index aea88e3a..247302b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-horizontal-alignment-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-horizontal-alignment-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-horizontal-alignment-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-horizontal-alignment-001-expected.txt
index 10f1f052..357dafd1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-horizontal-alignment-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-horizontal-alignment-001-expected.txt
@@ -4,12 +4,12 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x88
     LayoutBlockFlow {BODY} at (8,16) size 784x64
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 423x19
-          text run at (0,0) width 423: "Test passes if the \"Filler Text\" below is on the right side of the box."
+        LayoutText {#text} at (0,0) size 421x19
+          text run at (0,0) width 421: "Test passes if the \"Filler Text\" below is on the right side of the box."
       LayoutTable {TABLE} at (0,36) size 202x28
         LayoutBlockFlow {CAPTION} at (0,0) size 202x22 [border: (1px solid #000000)]
-          LayoutText {#text} at (136,1) size 65x19
-            text run at (136,1) width 65: "Filler Text"
+          LayoutText {#text} at (137,1) size 64x19
+            text run at (137,1) width 64: "Filler Text"
         LayoutTableSection {TBODY} at (0,22) size 202x6
           LayoutTableRow {TR} at (0,2) size 202x2
             LayoutTableCell {TD} at (2,2) size 198x2 [r=0 c=0 rs=1 cs=1]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-001-expected.png
index 0088907..2918307 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-001-expected.txt
index 3e8aa0e..fe6f2d4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-001-expected.txt
@@ -4,12 +4,12 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x300
     LayoutBlockFlow {BODY} at (8,16) size 784x276
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 635x19
-          text run at (0,0) width 635: "Test passes if the top square below has \"Filler Text\" directly above it and the bottom square does not."
+        LayoutText {#text} at (0,0) size 633x19
+          text run at (0,0) width 633: "Test passes if the top square below has \"Filler Text\" directly above it and the bottom square does not."
       LayoutTable {DIV} at (0,36) size 100x120
         LayoutBlockFlow {DIV} at (0,0) size 100x20
-          LayoutText {#text} at (0,0) size 65x19
-            text run at (0,0) width 65: "Filler Text"
+          LayoutText {#text} at (0,0) size 64x19
+            text run at (0,0) width 64: "Filler Text"
         LayoutTableSection (anonymous) at (0,20) size 100x100
           LayoutTableRow {DIV} at (0,0) size 100x50
             LayoutTableCell {DIV} at (0,0) size 50x0 [bgcolor=#000000] [r=0 c=0 rs=1 cs=1]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-002-expected.png
index f275dd6a..c0dc012 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-002-expected.txt
index 579adeab..e1b621b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-caption-optional-002-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x180
     LayoutBlockFlow {BODY} at (8,16) size 784x156
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 663x19
-          text run at (0,0) width 663: "Test passes if the left square below has \"Filler Text\" directly above it and the square on the right does not."
+        LayoutText {#text} at (0,0) size 661x19
+          text run at (0,0) width 661: "Test passes if the left square below has \"Filler Text\" directly above it and the square on the right does not."
       LayoutBlockFlow {DIV} at (0,36) size 784x120
         LayoutTable {SPAN} at (0,0) size 100x120
           LayoutBlockFlow {SPAN} at (0,0) size 100x20
-            LayoutText {#text} at (0,0) size 65x19
-              text run at (0,0) width 65: "Filler Text"
+            LayoutText {#text} at (0,0) size 64x19
+              text run at (0,0) width 64: "Filler Text"
           LayoutTableSection (anonymous) at (0,20) size 100x100
             LayoutTableRow {SPAN} at (0,0) size 100x50
               LayoutTableCell {SPAN} at (0,0) size 50x0 [bgcolor=#000000] [r=0 c=0 rs=1 cs=1]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-023-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-023-expected.png
index cbb5249..5309df74 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-023-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-023-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-023-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-023-expected.txt
index e0adeeb..d02f28f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-023-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-023-expected.txt
@@ -4,20 +4,20 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x160
     LayoutBlockFlow {BODY} at (8,16) size 784x136
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 388x19
-          text run at (0,0) width 388: "Test passes if the bottom of the \"Filler Text\" below is aligned."
-      LayoutTable {TABLE} at (0,36) size 355x100
-        LayoutTableSection {TBODY} at (0,0) size 355x100
-          LayoutTableRow {TR} at (0,2) size 355x96
+        LayoutText {#text} at (0,0) size 386x19
+          text run at (0,0) width 386: "Test passes if the bottom of the \"Filler Text\" below is aligned."
+      LayoutTable {TABLE} at (0,36) size 354x100
+        LayoutTableSection {TBODY} at (0,0) size 354x100
+          LayoutTableRow {TR} at (0,2) size 354x96
             LayoutTableCell {TD} at (2,27) size 59x18 [r=0 c=0 rs=1 cs=1]
               LayoutBlockFlow {DIV} at (1,1) size 57x16
                 LayoutText {#text} at (0,0) size 57x15
                   text run at (0,0) width 57: "Filler Text"
-            LayoutTableCell {TD} at (63,15) size 119x34 [r=0 c=1 rs=1 cs=1]
-              LayoutBlockFlow {DIV} at (1,1) size 117x32
-                LayoutText {#text} at (0,0) size 117x31
-                  text run at (0,0) width 117: "Filler Text"
-            LayoutTableCell {TD} at (184,2) size 169x50 [r=0 c=2 rs=1 cs=1]
+            LayoutTableCell {TD} at (63,15) size 118x34 [r=0 c=1 rs=1 cs=1]
+              LayoutBlockFlow {DIV} at (1,1) size 116x32
+                LayoutText {#text} at (0,0) size 116x31
+                  text run at (0,0) width 116: "Filler Text"
+            LayoutTableCell {TD} at (183,2) size 169x50 [r=0 c=2 rs=1 cs=1]
               LayoutBlockFlow {DIV} at (1,1) size 167x48
                 LayoutText {#text} at (0,1) size 167x46
                   text run at (0,1) width 167: "Filler Text"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-024-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-024-expected.png
index cbb5249..5309df74 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-024-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-024-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-024-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-024-expected.txt
index e0adeeb..d02f28f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-024-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/20110323/table-height-algorithm-024-expected.txt
@@ -4,20 +4,20 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x160
     LayoutBlockFlow {BODY} at (8,16) size 784x136
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 388x19
-          text run at (0,0) width 388: "Test passes if the bottom of the \"Filler Text\" below is aligned."
-      LayoutTable {TABLE} at (0,36) size 355x100
-        LayoutTableSection {TBODY} at (0,0) size 355x100
-          LayoutTableRow {TR} at (0,2) size 355x96
+        LayoutText {#text} at (0,0) size 386x19
+          text run at (0,0) width 386: "Test passes if the bottom of the \"Filler Text\" below is aligned."
+      LayoutTable {TABLE} at (0,36) size 354x100
+        LayoutTableSection {TBODY} at (0,0) size 354x100
+          LayoutTableRow {TR} at (0,2) size 354x96
             LayoutTableCell {TD} at (2,27) size 59x18 [r=0 c=0 rs=1 cs=1]
               LayoutBlockFlow {DIV} at (1,1) size 57x16
                 LayoutText {#text} at (0,0) size 57x15
                   text run at (0,0) width 57: "Filler Text"
-            LayoutTableCell {TD} at (63,15) size 119x34 [r=0 c=1 rs=1 cs=1]
-              LayoutBlockFlow {DIV} at (1,1) size 117x32
-                LayoutText {#text} at (0,0) size 117x31
-                  text run at (0,0) width 117: "Filler Text"
-            LayoutTableCell {TD} at (184,2) size 169x50 [r=0 c=2 rs=1 cs=1]
+            LayoutTableCell {TD} at (63,15) size 118x34 [r=0 c=1 rs=1 cs=1]
+              LayoutBlockFlow {DIV} at (1,1) size 116x32
+                LayoutText {#text} at (0,0) size 116x31
+                  text run at (0,0) width 116: "Filler Text"
+            LayoutTableCell {TD} at (183,2) size 169x50 [r=0 c=2 rs=1 cs=1]
               LayoutBlockFlow {DIV} at (1,1) size 167x48
                 LayoutText {#text} at (0,1) size 167x46
                   text run at (0,1) width 167: "Filler Text"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t010403-shand-border-00-c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t010403-shand-border-00-c-expected.png
index 30505bd..9f6749d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t010403-shand-border-00-c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t010403-shand-border-00-c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040102-keywords-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040102-keywords-01-b-expected.png
index 52db98d5..1a5f622b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040102-keywords-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040102-keywords-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040102-keywords-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040102-keywords-01-b-expected.txt
index 9ca485e..2acde1c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040102-keywords-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040102-keywords-01-b-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 296x19
           text run at (0,0) width 296: "The next two paragraphs should look identical:"
       LayoutBlockFlow {P} at (0,36) size 166x26 [border: (3px solid #000000)]
-        LayoutText {#text} at (3,3) size 30x19
-          text run at (3,3) width 30: "Test."
+        LayoutText {#text} at (3,3) size 29x19
+          text run at (3,3) width 29: "Test."
       LayoutBlockFlow {P} at (0,78) size 166x26 [border: (3px solid #000000)]
-        LayoutText {#text} at (3,3) size 30x19
-          text run at (3,3) width 30: "Test."
+        LayoutText {#text} at (3,3) size 29x19
+          text run at (3,3) width 29: "Test."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0402-c71-fwd-parsing-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0402-c71-fwd-parsing-01-f-expected.png
index e7aa8eb..8cad0f2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0402-c71-fwd-parsing-01-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0402-c71-fwd-parsing-01-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0402-c71-fwd-parsing-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0402-c71-fwd-parsing-01-f-expected.txt
index 2f495dd..d865e55 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0402-c71-fwd-parsing-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0402-c71-fwd-parsing-01-f-expected.txt
@@ -7,14 +7,14 @@
         LayoutText {#text} at (0,0) size 348x19
           text run at (0,0) width 348: "The next four blocks should look identical, to the pixel."
       LayoutBlockFlow {P} at (0,36) size 784x26 [border: (3px solid #000080)]
-        LayoutText {#text} at (3,3) size 26x19
-          text run at (3,3) width 26: "Test"
+        LayoutText {#text} at (3,3) size 25x19
+          text run at (3,3) width 25: "Test"
       LayoutBlockFlow {P} at (0,78) size 784x26 [border: (3px solid #000080)]
-        LayoutText {#text} at (3,3) size 26x19
-          text run at (3,3) width 26: "Test"
+        LayoutText {#text} at (3,3) size 25x19
+          text run at (3,3) width 25: "Test"
       LayoutBlockFlow {P} at (0,120) size 784x26 [border: (3px solid #000080)]
-        LayoutText {#text} at (3,3) size 26x19
-          text run at (3,3) width 26: "Test"
+        LayoutText {#text} at (3,3) size 25x19
+          text run at (3,3) width 25: "Test"
       LayoutBlockFlow {P} at (0,162) size 784x26 [border: (3px solid #000080)]
-        LayoutText {#text} at (3,3) size 26x19
-          text run at (3,3) width 26: "Test"
+        LayoutText {#text} at (3,3) size 25x19
+          text run at (3,3) width 25: "Test"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0402-c71-fwd-parsing-02-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0402-c71-fwd-parsing-02-f-expected.png
index 2a13c38a..407f844 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0402-c71-fwd-parsing-02-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0402-c71-fwd-parsing-02-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-phys-len-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-phys-len-00-b-expected.png
index 6767877e..0c8654d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-phys-len-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-phys-len-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-phys-len-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-phys-len-00-b-expected.txt
index 4461651..dea63c8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-phys-len-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-phys-len-00-b-expected.txt
@@ -4,12 +4,12 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x212
     LayoutBlockFlow {BODY} at (8,16) size 784x188
       LayoutBlockFlow {P} at (0,0) size 784x20 [color=#000080]
-        LayoutText {#text} at (0,0) size 320x19
-          text run at (0,0) width 320: "There should be two unbroken vertical bars below."
+        LayoutText {#text} at (0,0) size 319x19
+          text run at (0,0) width 319: "There should be two unbroken vertical bars below."
       LayoutBlockFlow {P} at (0,36) size 784x40 [color=#000080]
-        LayoutText {#text} at (0,0) size 784x39
-          text run at (0,0) width 402: "Hold up a credit card to your display. The distance between the "
-          text run at (401,0) width 383: "two vertical bars should be exactly the length of a credit card"
+        LayoutText {#text} at (0,0) size 783x39
+          text run at (0,0) width 401: "Hold up a credit card to your display. The distance between the "
+          text run at (401,0) width 382: "two vertical bars should be exactly the length of a credit card"
           text run at (0,20) width 74: "(85.60mm)."
       LayoutBlockFlow {DIV} at (0,92) size 784x96 [border: none (3px solid #000000)]
         LayoutBlockFlow {DIV} at (326.52,0) size 457.48x16 [border: none (3px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-rel-len-00-b-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-rel-len-00-b-ag-expected.png
index dbc1b34..40c5532 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-rel-len-00-b-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-rel-len-00-b-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-rel-len-00-b-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-rel-len-00-b-ag-expected.txt
index b5372e7..cb93093 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-rel-len-00-b-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040302-c61-rel-len-00-b-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x120
     LayoutBlockFlow {BODY} at (8,16) size 784x96
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 323x19
-          text run at (0,0) width 323: "There should be a solid vertical bar of green below."
+        LayoutText {#text} at (0,0) size 322x19
+          text run at (0,0) width 322: "There should be a solid vertical bar of green below."
       LayoutBlockFlow {DIV} at (0,36) size 784x60 [color=#008000]
         LayoutBlockFlow {DIV} at (0,0) size 784x15
           LayoutText {#text} at (0,0) size 60x15
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040303-c62-percent-00-b-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040303-c62-percent-00-b-ag-expected.png
index 6ad8f8ec..ede496f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040303-c62-percent-00-b-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040303-c62-percent-00-b-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040303-c62-percent-00-b-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040303-c62-percent-00-b-ag-expected.txt
index 1eae142..d556e4b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040303-c62-percent-00-b-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040303-c62-percent-00-b-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x336
     LayoutBlockFlow {BODY} at (8,16) size 784x312
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 226x19
-          text run at (0,0) width 226: "There should be a green box below."
+        LayoutText {#text} at (0,0) size 225x19
+          text run at (0,0) width 225: "There should be a green box below."
       LayoutBlockFlow {DIV} at (0,36) size 186x276 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutBlockFlow {DIV} at (48,18) size 90x75
           LayoutBlockFlow {P} at (0,0) size 90x75
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040304-c64-uri-00-a-g-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040304-c64-uri-00-a-g-expected.png
index edd1492..9724485 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040304-c64-uri-00-a-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040304-c64-uri-00-a-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040304-c64-uri-00-a-g-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040304-c64-uri-00-a-g-expected.txt
index 95af65f..681674e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040304-c64-uri-00-a-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040304-c64-uri-00-a-g-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x160
     LayoutBlockFlow {BODY} at (8,16) size 784x128
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 255x19
-          text run at (0,0) width 255: "There should be three green lines below."
+        LayoutText {#text} at (0,0) size 254x19
+          text run at (0,0) width 254: "There should be three green lines below."
       LayoutBlockFlow {P} at (0,36) size 784x20 [color=#FFFFFF] [bgcolor=#FF0000]
         LayoutText {#text} at (0,0) size 163x19
           text run at (0,0) width 163: "This line should be green."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040306-c63-color-00-b-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040306-c63-color-00-b-ag-expected.png
index 50d1ec87..bb2ff8e1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040306-c63-color-00-b-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040306-c63-color-00-b-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040306-c63-color-00-b-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040306-c63-color-00-b-ag-expected.txt
index 30448454..bbb53a7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040306-c63-color-00-b-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t040306-c63-color-00-b-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x120
     LayoutBlockFlow {BODY} at (8,16) size 784x96 [color=#0000FF]
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 649x19
-          text run at (0,0) width 649: "There should be three solid bars of colour below, each longer than the last, each of the colour specified."
+        LayoutText {#text} at (0,0) size 648x19
+          text run at (0,0) width 648: "There should be three solid bars of colour below, each longer than the last, each of the colour specified."
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 38x19
           text run at (0,0) width 38: "Blue: "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0510-c25-pseudo-elmnt-00-c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0510-c25-pseudo-elmnt-00-c-expected.png
index 6206ad6..3d2ebf05 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0510-c25-pseudo-elmnt-00-c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0510-c25-pseudo-elmnt-00-c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0510-c25-pseudo-elmnt-00-c-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0510-c25-pseudo-elmnt-00-c-expected.txt
index 8ade7cf..889940d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0510-c25-pseudo-elmnt-00-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0510-c25-pseudo-elmnt-00-c-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x116
     LayoutBlockFlow {BODY} at (8,8) size 784x92
       LayoutBlockFlow {DIV} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 253x19
-          text run at (0,0) width 253: "There should be two lines of text below."
+        LayoutText {#text} at (0,0) size 252x19
+          text run at (0,0) width 252: "There should be two lines of text below."
       LayoutBlockFlow {P} at (0,36) size 784x20 [color=#FF0000]
         LayoutText {#text} at (0,0) size 222x19
           text run at (0,0) width 222: "This line should be white on green."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051201-c23-first-line-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051201-c23-first-line-00-b-expected.png
index 21fc26c..6228918 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051201-c23-first-line-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051201-c23-first-line-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051201-c23-first-line-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051201-c23-first-line-00-b-expected.txt
index f8de459e..f533c78 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051201-c23-first-line-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051201-c23-first-line-00-b-expected.txt
@@ -15,9 +15,9 @@
         LayoutInline {STRONG} at (0,0) size 38x19
           LayoutText {#text} at (384,0) size 38x19
             text run at (384,0) width 38: "green"
-        LayoutText {#text} at (421,0) size 780x119
-          text run at (421,0) width 179: ". If this precise combination "
-          text run at (599,0) width 181: "does not occur, then the user"
+        LayoutText {#text} at (422,0) size 780x119
+          text run at (422,0) width 178: ". If this precise combination "
+          text run at (600,0) width 180: "does not occur, then the user"
           text run at (0,20) width 230: "agent has failed this test. Remember "
           text run at (230,20) width 385: "that in order to ensure a complete test, the paragraph must be "
           text run at (615,20) width 147: "displayed on more than"
@@ -47,9 +47,9 @@
         LayoutInline {STRONG} at (0,0) size 38x19
           LayoutText {#text} at (178,38) size 38x19
             text run at (178,38) width 38: "green"
-        LayoutText {#text} at (215,38) size 779x99
-          text run at (215,38) width 279: ". If this precise combination does not occur, "
-          text run at (493,38) width 238: "then the user agent has failed this test."
+        LayoutText {#text} at (216,38) size 779x99
+          text run at (216,38) width 278: ". If this precise combination does not occur, "
+          text run at (494,38) width 237: "then the user agent has failed this test."
           text run at (0,58) width 169: "Remember that in order to "
           text run at (169,58) width 409: "ensure a complete test, the paragraph must be displayed on more "
           text run at (578,58) width 172: "than one line. Dummy text."
@@ -67,20 +67,20 @@
         LayoutInline {STRONG} at (0,0) size 62x19
           LayoutText {#text} at (29,0) size 62x19
             text run at (29,0) width 62: "first line"
-        LayoutText {#text} at (91,0) size 398x19
-          text run at (91,0) width 219: " of this paragraph, and only that "
-          text run at (309,0) width 180: "one, should be displayed in "
-        LayoutInline {STRONG} at (0,0) size 73x19
-          LayoutText {#text} at (488,0) size 73x19
-            text run at (488,0) width 73: "small-caps"
-        LayoutText {#text} at (560,0) size 115x19
-          text run at (560,0) width 62: " style as "
-          text run at (621,0) width 54: "well as "
-        LayoutInline {STRONG} at (0,0) size 40x19
-          LayoutText {#text} at (674,0) size 40x19
-            text run at (674,0) width 40: "green"
-        LayoutText {#text} at (713,0) size 784x119
-          text run at (713,0) width 59: ". Thus, if"
+        LayoutText {#text} at (91,0) size 394x19
+          text run at (91,0) width 216: " of this paragraph, and only that "
+          text run at (307,0) width 178: "one, should be displayed in "
+        LayoutInline {STRONG} at (0,0) size 72x19
+          LayoutText {#text} at (485,0) size 72x19
+            text run at (485,0) width 72: "small-caps"
+        LayoutText {#text} at (557,0) size 114x19
+          text run at (557,0) width 61: " style as "
+          text run at (618,0) width 53: "well as "
+        LayoutInline {STRONG} at (0,0) size 39x19
+          LayoutText {#text} at (671,0) size 39x19
+            text run at (671,0) width 39: "green"
+        LayoutText {#text} at (710,0) size 784x119
+          text run at (710,0) width 58: ". Thus, if"
           text run at (0,20) width 132: "the first line is not in "
           text run at (132,20) width 341: "small-caps style, or if the entire paragraph turns out in "
           text run at (473,20) width 311: "small-caps, then the user agent has failed this test."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c24-first-lttr-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c24-first-lttr-00-b-expected.png
index 98031e6..3b8b0bb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c24-first-lttr-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c24-first-lttr-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c24-first-lttr-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c24-first-lttr-00-b-expected.txt
index d9d81b5e..dfd099b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c24-first-lttr-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c24-first-lttr-00-b-expected.txt
@@ -18,9 +18,9 @@
         LayoutInline {STRONG} at (0,0) size 38x19
           LayoutText {#text} at (395,0) size 38x19
             text run at (395,0) width 38: "green"
-        LayoutText {#text} at (432,0) size 761x39
-          text run at (432,0) width 179: ". If this precise combination "
-          text run at (610,0) width 151: "does not occur, then the"
+        LayoutText {#text} at (433,0) size 761x39
+          text run at (433,0) width 178: ". If this precise combination "
+          text run at (611,0) width 150: "does not occur, then the"
           text run at (0,20) width 183: "user agent has failed this test."
       LayoutBlockFlow {P} at (0,56) size 784x57
         LayoutInline {<pseudo:first-letter>} at (0,0) size 20x36 [color=#008000]
@@ -42,10 +42,10 @@
         LayoutInline {STRONG} at (0,0) size 38x19
           LayoutText {#text} at (603,13) size 38x19
             text run at (603,13) width 38: "green"
-        LayoutText {#text} at (640,13) size 733x43
-          text run at (640,13) width 93: ". If this precise"
+        LayoutText {#text} at (641,13) size 733x43
+          text run at (641,13) width 92: ". If this precise"
           text run at (0,37) width 182: "combination does not occur, "
-          text run at (181,37) width 238: "then the user agent has failed this test."
+          text run at (182,37) width 237: "then the user agent has failed this test."
       LayoutBlockFlow {P} at (0,129) size 784x106
         LayoutInline {<pseudo:first-letter>} at (0,0) size 57x64 [color=#008000]
           LayoutTextFragment (anonymous) at (0,1) size 57x64
@@ -68,7 +68,7 @@
         LayoutInline {STRONG} at (0,0) size 38x19
           LayoutText {#text} at (246,66) size 38x19
             text run at (246,66) width 38: "green"
-        LayoutText {#text} at (283,66) size 770x39
-          text run at (283,66) width 279: ". If this precise combination does not occur, "
-          text run at (561,66) width 209: "then the user agent has failed this"
+        LayoutText {#text} at (284,66) size 770x39
+          text run at (284,66) width 278: ". If this precise combination does not occur, "
+          text run at (562,66) width 208: "then the user agent has failed this"
           text run at (0,86) width 25: "test."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c26-psudo-nest-00-c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c26-psudo-nest-00-c-expected.png
index 02254f2..e4bbb136 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c26-psudo-nest-00-c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c26-psudo-nest-00-c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c26-psudo-nest-00-c-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c26-psudo-nest-00-c-expected.txt
index 1a6860f..5ab63d2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c26-psudo-nest-00-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t051202-c26-psudo-nest-00-c-expected.txt
@@ -56,13 +56,13 @@
         LayoutInline {STRONG} at (0,0) size 108x19
           LayoutText {#text} at (131,13) size 108x19
             text run at (131,13) width 108: "two characters"
-        LayoutText {#text} at (239,13) size 447x19
-          text run at (239,13) width 118: " in this paragraph "
-          text run at (356,13) width 330: "(a double-quote mark and a capital 'T') should be "
-        LayoutInline {STRONG} at (0,0) size 89x19
-          LayoutText {#text} at (685,13) size 89x19
-            text run at (685,13) width 45: "200% "
-            text run at (729,13) width 45: "bigger"
+        LayoutText {#text} at (239,13) size 446x19
+          text run at (239,13) width 117: " in this paragraph "
+          text run at (356,13) width 329: "(a double-quote mark and a capital 'T') should be "
+        LayoutInline {STRONG} at (0,0) size 88x19
+          LayoutText {#text} at (685,13) size 88x19
+            text run at (685,13) width 44: "200% "
+            text run at (729,13) width 44: "bigger"
         LayoutText {#text} at (0,37) size 218x19
           text run at (0,37) width 218: "than the rest of the paragraph, and "
         LayoutInline {STRONG} at (0,0) size 34x19
@@ -113,25 +113,25 @@
           text run at (686,0) width 22: ". If "
           text run at (708,0) width 70: "this precise"
           text run at (0,20) width 329: "combination does not occur, then the user agent has "
-          text run at (328,20) width 410: "failed this test. Remember that in order to ensure a complete test, "
-          text run at (737,20) width 20: "the"
+          text run at (329,20) width 409: "failed this test. Remember that in order to ensure a complete test, "
+          text run at (738,20) width 19: "the"
           text run at (0,40) width 386: "paragraph must be displayed on more than one line. (TEST3)"
       LayoutBlockFlow {DIV} at (0,435) size 784x20
-        LayoutText {#text} at (0,0) size 167x19
-          text run at (0,0) width 167: "You should see the words "
-        LayoutInline {STRONG} at (0,0) size 69x19
-          LayoutText {#text} at (166,0) size 69x19
-            text run at (166,0) width 69: "\"TEST1\""
-        LayoutText {#text} at (234,0) size 9x19
-          text run at (234,0) width 9: ", "
-        LayoutInline {STRONG} at (0,0) size 69x19
-          LayoutText {#text} at (242,0) size 69x19
-            text run at (242,0) width 69: "\"TEST2\""
-        LayoutText {#text} at (310,0) size 36x19
-          text run at (310,0) width 36: ", and "
-        LayoutInline {STRONG} at (0,0) size 69x19
-          LayoutText {#text} at (345,0) size 69x19
-            text run at (345,0) width 69: "\"TEST3\""
-        LayoutText {#text} at (413,0) size 237x19
-          text run at (413,0) width 87: " at the end of "
-          text run at (499,0) width 151: "three paragraphs above."
+        LayoutText {#text} at (0,0) size 166x19
+          text run at (0,0) width 166: "You should see the words "
+        LayoutInline {STRONG} at (0,0) size 68x19
+          LayoutText {#text} at (166,0) size 68x19
+            text run at (166,0) width 68: "\"TEST1\""
+        LayoutText {#text} at (234,0) size 8x19
+          text run at (234,0) width 8: ", "
+        LayoutInline {STRONG} at (0,0) size 68x19
+          LayoutText {#text} at (242,0) size 68x19
+            text run at (242,0) width 68: "\"TEST2\""
+        LayoutText {#text} at (310,0) size 35x19
+          text run at (310,0) width 35: ", and "
+        LayoutInline {STRONG} at (0,0) size 68x19
+          LayoutText {#text} at (345,0) size 68x19
+            text run at (345,0) width 68: "\"TEST3\""
+        LayoutText {#text} at (413,0) size 236x19
+          text run at (413,0) width 86: " at the end of "
+          text run at (499,0) width 150: "three paragraphs above."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-c13-inheritance-00-e-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-c13-inheritance-00-e-expected.png
index 62a812e3..46345f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-c13-inheritance-00-e-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-c13-inheritance-00-e-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-c13-inheritance-00-e-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-c13-inheritance-00-e-expected.txt
index 12599d2b..7b312c4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-c13-inheritance-00-e-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-c13-inheritance-00-e-expected.txt
@@ -18,16 +18,16 @@
         LayoutInline {EM} at (0,0) size 34x19 [color=#008000]
           LayoutText {#text} at (0,0) size 34x19
             text run at (0,0) width 34: "PASS"
-        LayoutText {#text} at (33,0) size 5x19
-          text run at (33,0) width 5: " "
-        LayoutInline {STRONG} at (0,0) size 39x19
-          LayoutText {#text} at (37,0) size 39x19
-            text run at (37,0) width 39: "FAIL"
+        LayoutText {#text} at (34,0) size 4x19
+          text run at (34,0) width 4: " "
+        LayoutInline {STRONG} at (0,0) size 37x19
+          LayoutText {#text} at (38,0) size 37x19
+            text run at (38,0) width 37: "FAIL"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,108) size 784x20
-        LayoutText {#text} at (0,0) size 42x19
-          text run at (0,0) width 42: "PASS "
-        LayoutInline {DFN} at (0,0) size 33x19 [color=#FFFFFF]
-          LayoutText {#text} at (41,0) size 33x19
-            text run at (41,0) width 33: "FAIL"
+        LayoutText {#text} at (0,0) size 41x19
+          text run at (0,0) width 41: "PASS "
+        LayoutInline {DFN} at (0,0) size 32x19 [color=#FFFFFF]
+          LayoutText {#text} at (41,0) size 32x19
+            text run at (41,0) width 32: "FAIL"
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-inherit-bdr-pad-b-00-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-inherit-bdr-pad-b-00-expected.png
index b40e784..e0d57837 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-inherit-bdr-pad-b-00-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-inherit-bdr-pad-b-00-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-inherit-bdr-pad-b-00-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-inherit-bdr-pad-b-00-expected.txt
index ff293642c..bb2bb5d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-inherit-bdr-pad-b-00-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0602-inherit-bdr-pad-b-00-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 239x19
           text run at (0,0) width 239: "This sentence should have no border. "
         LayoutInline {SPAN} at (0,0) size 275x29 [border: (5px solid #00FF00)]
-          LayoutText {#text} at (243,0) size 265x19
-            text run at (243,0) width 265: "This sentence should have a green border."
+          LayoutText {#text} at (244,0) size 265x19
+            text run at (244,0) width 265: "This sentence should have a green border."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 374x35 [bgcolor=#FF0000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t060403-c21-pseu-cls-00-e-i-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t060403-c21-pseu-cls-00-e-i-expected.png
index 238d7d44f..7d4518c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t060403-c21-pseu-cls-00-e-i-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t060403-c21-pseu-cls-00-e-i-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t060403-c21-pseu-id-00-e-i-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t060403-c21-pseu-id-00-e-i-expected.png
index 238d7d44f..7d4518c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t060403-c21-pseu-id-00-e-i-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t060403-c21-pseu-id-00-e-i-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5502-mrgn-r-02-c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5502-mrgn-r-02-c-expected.png
index 102546dd..b8c7a11 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5502-mrgn-r-02-c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5502-mrgn-r-02-c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5504-mrgn-l-02-c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5504-mrgn-l-02-c-expected.png
index 3bbfadc..6dedac8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5504-mrgn-l-02-c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5504-mrgn-l-02-c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5504-mrgn-l-02-c-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5504-mrgn-l-02-c-expected.txt
index 2a74a6c..7ed7dee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5504-mrgn-l-02-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5504-mrgn-l-02-c-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x68
     LayoutBlockFlow {BODY} at (8,24) size 784x20
       LayoutBlockFlow {P} at (-10,0) size 794x20 [color=#000080]
-        LayoutText {#text} at (0,0) size 293x19
-          text run at (0,0) width 293: "  This page should have a horizontal scroll bar."
+        LayoutText {#text} at (0,0) size 294x19
+          text run at (0,0) width 294: "  This page should have a horizontal scroll bar."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5505-mrgn-02-c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5505-mrgn-02-c-expected.png
index 570392e..91816ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5505-mrgn-02-c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5505-mrgn-02-c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5505-mrgn-02-c-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5505-mrgn-02-c-expected.txt
index b361319..21dac70 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5505-mrgn-02-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0803-c5505-mrgn-02-c-expected.txt
@@ -5,5 +5,5 @@
     LayoutBlockFlow {BODY} at (8,-2) size 784x40
       LayoutBlockFlow {P} at (-10,0) size 804x40 [color=#000080]
         LayoutBR {BR} at (0,0) size 0x19
-        LayoutText {#text} at (0,20) size 293x19
-          text run at (0,20) width 293: "  This page should have a horizontal scroll bar."
+        LayoutText {#text} at (0,20) size 294x19
+          text run at (0,20) width 294: "  This page should have a horizontal scroll bar."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.png
index 1815d41..1341a05 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.png
index f7a6fad..96d4aa2c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.png
index fc3c425..fc8b0a9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.png
index a615d93b..2d300d52 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5515-ibrdr-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5515-ibrdr-00-b-expected.png
index a1cb4aca..8b12e14 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5515-ibrdr-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5515-ibrdr-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-brdr-c-00-a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-brdr-c-00-a-expected.png
index 5472e18..2f22c20 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-brdr-c-00-a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-brdr-c-00-a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-brdr-c-00-a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-brdr-c-00-a-expected.txt
index fb1a4d9..3e672582 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-brdr-c-00-a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-brdr-c-00-a-expected.txt
@@ -10,5 +10,5 @@
         LayoutText {#text} at (3,3) size 300x19
           text run at (3,3) width 300: "This box should have an identical green border."
       LayoutBlockFlow {P} at (0,84) size 784x84 [border: (32px solid #800080) (32px solid #008000) (32px solid #0000FF) (32px solid #FFFF00)]
-        LayoutText {#text} at (32,32) size 531x19
-          text run at (32,32) width 531: "Clockwise from top, the borders should be: PURPLE, GREEN, BLUE, YELLOW."
+        LayoutText {#text} at (32,32) size 530x19
+          text run at (32,32) width 530: "Clockwise from top, the borders should be: PURPLE, GREEN, BLUE, YELLOW."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-ibrdr-c-00-a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-ibrdr-c-00-a-expected.png
index 2d612c10..60614add 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-ibrdr-c-00-a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-ibrdr-c-00-a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-ibrdr-c-00-a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-ibrdr-c-00-a-expected.txt
index 394fc4bf..811ea30 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-ibrdr-c-00-a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5516-ibrdr-c-00-a-expected.txt
@@ -14,7 +14,7 @@
             text run at (3,0) width 235: "This box should have a green border."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (48,136) size 688x20
-        LayoutInline {SPAN} at (0,0) size 595x83 [border: (32px solid #800080) (32px solid #008000) (32px solid #0000FF) (32px solid #FFFF00)]
-          LayoutText {#text} at (32,0) size 531x19
-            text run at (32,0) width 531: "Clockwise from top, the borders should be: PURPLE, GREEN, BLUE, YELLOW."
+        LayoutInline {SPAN} at (0,0) size 594x83 [border: (32px solid #800080) (32px solid #008000) (32px solid #0000FF) (32px solid #FFFF00)]
+          LayoutText {#text} at (32,0) size 530x19
+            text run at (32,0) width 530: "Clockwise from top, the borders should be: PURPLE, GREEN, BLUE, YELLOW."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5517-ibrdr-s-00-a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5517-ibrdr-s-00-a-expected.png
index 88194fd5..00cd493 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5517-ibrdr-s-00-a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5517-ibrdr-s-00-a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5519-brdr-r-02-e-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5519-brdr-r-02-e-expected.png
index ab6e4de..050fab5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5519-brdr-r-02-e-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5519-brdr-r-02-e-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5519-brdr-r-02-e-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5519-brdr-r-02-e-expected.txt
index f31d5d0..c0f5fb6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5519-brdr-r-02-e-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5519-brdr-r-02-e-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x368
     LayoutBlockFlow {BODY} at (8,16) size 784x336 [color=#0000FF]
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 747x19
-          text run at (0,0) width 363: "There should be a solid line to the right of the text below, "
-          text run at (362,0) width 385: "having three segments each of a different colour as indicated."
+        LayoutText {#text} at (0,0) size 746x19
+          text run at (0,0) width 362: "There should be a solid line to the right of the text below, "
+          text run at (362,0) width 384: "having three segments each of a different colour as indicated."
       LayoutBlockFlow {UL} at (0,36) size 588x300
         LayoutListItem {LI} at (40,0) size 548x80 [border: none (3px solid #FFA500) none]
           LayoutBlockFlow (anonymous) at (0,0) size 545x20
@@ -32,9 +32,9 @@
             text run at (0,0) width 37: "Lime."
         LayoutListItem {LI} at (40,100) size 548x200 [border: none (3px solid #FFFF00) none]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (0,0) size 516x199
-            text run at (0,0) width 332: "Yellow yellow yellow yellow yellow yellow yellow "
-            text run at (331,0) width 185: "yellow yellow yellow yellow"
+          LayoutText {#text} at (0,0) size 515x199
+            text run at (0,0) width 331: "Yellow yellow yellow yellow yellow yellow yellow "
+            text run at (331,0) width 184: "yellow yellow yellow yellow"
             text run at (0,20) width 235: "yellow yellow yellow yellow yellow "
             text run at (235,20) width 278: "yellow yellow yellow yellow yellow yellow"
             text run at (0,40) width 141: "yellow yellow yellow "
@@ -52,4 +52,4 @@
             text run at (94,140) width 419: "yellow yellow yellow yellow yellow yellow yellow yellow yellow"
             text run at (0,160) width 423: "yellow yellow yellow yellow yellow yellow yellow yellow yellow "
             text run at (423,160) width 90: "yellow yellow"
-            text run at (0,180) width 281: "yellow yellow yellow yellow yellow yellow."
+            text run at (0,180) width 280: "yellow yellow yellow yellow yellow yellow."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5521-brdr-l-02-e-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5521-brdr-l-02-e-expected.png
index 81a1b5b..03ae562 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5521-brdr-l-02-e-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5521-brdr-l-02-e-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5521-brdr-l-02-e-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5521-brdr-l-02-e-expected.txt
index c7a6e491..698d6990 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5521-brdr-l-02-e-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5521-brdr-l-02-e-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x308
     LayoutBlockFlow {BODY} at (8,16) size 784x276 [color=#0000FF]
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 738x19
-          text run at (0,0) width 354: "There should be a solid line to the left of the text below, "
-          text run at (353,0) width 385: "having three segments each of a different colour as indicated."
+        LayoutText {#text} at (0,0) size 737x19
+          text run at (0,0) width 353: "There should be a solid line to the left of the text below, "
+          text run at (353,0) width 384: "having three segments each of a different colour as indicated."
       LayoutBlockFlow {UL} at (0,36) size 784x240
         LayoutListItem {LI} at (40,0) size 744x80 [border: none (3px solid #FFA500)]
           LayoutBlockFlow (anonymous) at (3,0) size 741x20
@@ -32,9 +32,9 @@
             text run at (3,0) width 37: "Lime."
         LayoutListItem {LI} at (40,100) size 744x140 [border: none (3px solid #FFFF00)]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (3,0) size 704x139
-            text run at (3,0) width 332: "Yellow yellow yellow yellow yellow yellow yellow "
-            text run at (334,0) width 373: "yellow yellow yellow yellow yellow yellow yellow yellow"
+          LayoutText {#text} at (3,0) size 703x139
+            text run at (3,0) width 331: "Yellow yellow yellow yellow yellow yellow yellow "
+            text run at (334,0) width 372: "yellow yellow yellow yellow yellow yellow yellow yellow"
             text run at (3,20) width 47: "yellow "
             text run at (50,20) width 423: "yellow yellow yellow yellow yellow yellow yellow yellow yellow "
             text run at (473,20) width 231: "yellow yellow yellow yellow yellow"
@@ -50,4 +50,4 @@
             text run at (191,100) width 423: "yellow yellow yellow yellow yellow yellow yellow yellow yellow "
             text run at (614,100) width 90: "yellow yellow"
             text run at (3,120) width 329: "yellow yellow yellow yellow yellow yellow yellow "
-            text run at (332,120) width 375: "yellow yellow yellow yellow yellow yellow yellow yellow."
+            text run at (332,120) width 374: "yellow yellow yellow yellow yellow yellow yellow yellow."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5522-brdr-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5522-brdr-00-b-expected.png
index e35719f9..ae832c4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5522-brdr-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0805-c5522-brdr-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t09-c5526c-display-00-e-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t09-c5526c-display-00-e-expected.png
index 15b8eeb..8eb0566 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t09-c5526c-display-00-e-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t09-c5526c-display-00-e-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t09-c5526c-display-00-e-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t09-c5526c-display-00-e-expected.txt
index 05ff298..d4c3bf01 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t09-c5526c-display-00-e-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t09-c5526c-display-00-e-expected.txt
@@ -53,17 +53,17 @@
           text run at (0,0) width 473: "This is a nonsensical document, but syntactically valid HTML 4.0. All 100%-conformant CSS1"
           text run at (0,13) width 480: "agents should be able to render the document elements above this paragraph indistinguishably"
           text run at (0,26) width 122: "(to the pixel) from this "
-        LayoutInline {A} at (0,0) size 103x12 [color=#999999]
-          LayoutText {#text} at (121,26) size 103x12
-            text run at (121,26) width 103: "reference rendering,"
-        LayoutText {#text} at (223,26) size 474x25
-          text run at (223,26) width 5: " "
-          text run at (227,26) width 247: "(except font rasterization and form widgets). All"
+        LayoutInline {A} at (0,0) size 102x12 [color=#999999]
+          LayoutText {#text} at (122,26) size 102x12
+            text run at (122,26) width 102: "reference rendering,"
+        LayoutText {#text} at (224,26) size 474x25
+          text run at (224,26) width 4: " "
+          text run at (228,26) width 246: "(except font rasterization and form widgets). All"
           text run at (0,39) width 374: "discrepancies should be traceable to CSS1 implementation shortcomings. "
-          text run at (373,39) width 37: "Please "
+          text run at (374,39) width 36: "Please "
         LayoutInline {A} at (0,0) size 462x25 [color=#CC0000]
-          LayoutText {#text} at (409,39) size 462x25
-            text run at (409,39) width 53: "report any"
+          LayoutText {#text} at (410,39) size 462x25
+            text run at (410,39) width 52: "report any"
             text run at (0,52) width 29: "errors"
         LayoutText {#text} at (29,52) size 284x12
           text run at (29,52) width 284: " you find between the CSS and the reference rendering."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090204-display-change-01-b-ao-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090204-display-change-01-b-ao-expected.png
index 50472d2..85db163 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090204-display-change-01-b-ao-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090204-display-change-01-b-ao-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090204-display-change-01-b-ao-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090204-display-change-01-b-ao-expected.txt
index abf2af0..5d6d155 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090204-display-change-01-b-ao-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090204-display-change-01-b-ao-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x92
     LayoutBlockFlow {BODY} at (8,16) size 784x68
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 267x19
-          text run at (0,0) width 267: "There should be no red below, only green."
+        LayoutText {#text} at (0,0) size 266x19
+          text run at (0,0) width 266: "There should be no red below, only green."
       LayoutBlockFlow (floating) {DIV} at (0,36) size 784x16 [color=#008000] [bgcolor=#FF0000]
         LayoutText {#text} at (0,0) size 16x16
           text run at (0,0) width 16: "X"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-04-c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-04-c-expected.png
index 53096571..e750217 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-04-c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-04-c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-fit-00-d-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-fit-00-d-expected.png
index c4843cc..e38dcf8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-fit-00-d-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-fit-00-d-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-fit-01-d-g-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-fit-01-d-g-expected.png
index af377e2..0cdf102 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-fit-01-d-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-fit-01-d-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-fit-01-d-g-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-fit-01-d-g-expected.txt
index 0a0c1a9..d80ea6a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-fit-01-d-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-fit-01-d-g-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x272
     LayoutBlockFlow {BODY} at (8,16) size 784x246
       LayoutBlockFlow {P} at (0,0) size 784x20 [color=#000080]
-        LayoutText {#text} at (0,0) size 765x19
-          text run at (0,0) width 765: "There should be a complete unbroken drawing of a yin-yang (\x{262F}) symbol below, slightly on the left (\x{21E6}) inside a blue box."
+        LayoutText {#text} at (0,0) size 764x19
+          text run at (0,0) width 764: "There should be a complete unbroken drawing of a yin-yang (\x{262F}) symbol below, slightly on the left (\x{21E6}) inside a blue box."
       LayoutBlockFlow {DIV} at (10,36) size 260x210 [border: (5px solid #0000FF)]
         LayoutBlockFlow (floating) {P} at (5,5) size 100x100 [color=#000080]
           LayoutImage {IMG} at (0,0) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-00-e-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-00-e-expected.png
index acec0e4..abefa04 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-00-e-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-00-e-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-00-e-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-00-e-expected.txt
index acd5e5b..3ffcf235 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-00-e-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-00-e-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x208.63
     LayoutBlockFlow {BODY} at (8,16) size 784x176.63
       LayoutBlockFlow {P} at (0,0) size 784x20 [color=#000080]
-        LayoutText {#text} at (0,0) size 262x19
-          text run at (0,0) width 262: "The word \"fail\" should not appear below."
+        LayoutText {#text} at (0,0) size 261x19
+          text run at (0,0) width 261: "The word \"fail\" should not appear below."
       LayoutBlockFlow {DIV} at (16,36) size 240x140.63 [color=#FFFFFF] [bgcolor=#FFFFFF]
-        LayoutBlockFlow (floating) {P} at (0,0) size 42.52x20.31 [color=#000080]
-          LayoutText {#text} at (0,0) size 43x20
-            text run at (0,0) width 43: "TEST:"
+        LayoutBlockFlow (floating) {P} at (0,0) size 43.31x20.31 [color=#000080]
+          LayoutText {#text} at (0,0) size 44x20
+            text run at (0,0) width 44: "TEST:"
         LayoutBlockFlow (floating) {P} at (0.02,20.31) size 239.98x20.31 [color=#00FFFF] [bgcolor=#008080]
           LayoutText {#text} at (101,0) size 38x20
             text run at (101,0) width 38: "PASS"
-        LayoutText {#text} at (42,0) size 236x140
-          text run at (42,0) width 189: "fail fail fail fail fail fail fail fail"
+        LayoutText {#text} at (43,0) size 236x140
+          text run at (43,0) width 189: "fail fail fail fail fail fail fail fail"
           text run at (0,40) width 48: "fail fail "
           text run at (48,40) width 188: "fail fail fail fail fail fail fail fail"
           text run at (0,60) width 48: "fail fail "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-01-d-g-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-01-d-g-expected.png
index 42ed7c16..03e1cc57 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-01-d-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-01-d-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt
index 0dda41a..5cbcd62 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x165
     LayoutBlockFlow {BODY} at (8,16) size 784x119
       LayoutBlockFlow {P} at (0,0) size 784x20 [color=#000080]
-        LayoutText {#text} at (0,0) size 381x19
-          text run at (0,0) width 381: "The word \"fail\" should not appear below, just a green block."
+        LayoutText {#text} at (0,0) size 380x19
+          text run at (0,0) width 380: "The word \"fail\" should not appear below, just a green block."
       LayoutBlockFlow {DIV} at (16,36) size 240x83 [color=#FFFFFF] [bgcolor=#FFFFFF]
         LayoutImage (floating) {IMG} at (0,0) size 1x1
         LayoutImage (floating) {IMG} at (0,1) size 240x112
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltblck-01-d-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltblck-01-d-expected.txt
index b264368..fda4134 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltblck-01-d-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltblck-01-d-expected.txt
@@ -11,5 +11,5 @@
               text run at (0,20) width 81: "and spill out "
               text run at (81,20) width 171: "onto the blue area below it."
         LayoutBlockFlow {P} at (3,3) size 778x20
-          LayoutText {#text} at (0,0) size 255x19
-            text run at (0,0) width 255: "You should see a teal box to the right. \x{21E8}"
+          LayoutText {#text} at (0,0) size 254x19
+            text run at (0,0) width 254: "You should see a teal box to the right. \x{21E8}"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltclr-00-c-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltclr-00-c-ag-expected.png
index 35f5b44..9d18b4d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltclr-00-c-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltclr-00-c-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltclr-00-c-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltclr-00-c-ag-expected.txt
index bde1405..8a6c610c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltclr-00-c-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltclr-00-c-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x711
     LayoutBlockFlow {BODY} at (8,16) size 784x687
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 250x19
-          text run at (0,0) width 250: "There should be a big green box below."
+        LayoutText {#text} at (0,0) size 249x19
+          text run at (0,0) width 249: "There should be a big green box below."
       LayoutBlockFlow {DIV} at (0,36) size 306x651 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (3,3) size 50x50
         LayoutBlockFlow {P} at (3,18) size 300x90
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltcont-00-d-g-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltcont-00-d-g-expected.png
index 334cd18c..d6e8f14 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltcont-00-d-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltcont-00-d-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt
index 1dcac1d64..879ec0b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt
@@ -16,32 +16,32 @@
         LayoutBlockFlow {P} at (0,0) size 588x280
           LayoutText {#text} at (0,0) size 277x39
             text run at (0,0) width 277: "Inside this blue block on the right there"
-            text run at (0,20) width 161: "should be a teal box. \x{21E8} "
+            text run at (0,20) width 163: "should be a teal box. \x{21E8} "
           LayoutInline {SPAN} at (0,0) size 588x259 [color=#000080]
-            LayoutText {#text} at (161,20) size 588x259
-              text run at (161,20) width 116: "FAIL FAIL FAIL"
+            LayoutText {#text} at (163,20) size 588x259
+              text run at (163,20) width 114: "FAIL FAIL FAIL"
               text run at (0,40) width 277: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
               text run at (0,60) width 81: "FAIL FAIL "
-              text run at (80,60) width 197: "FAIL FAIL FAIL FAIL FAIL"
-              text run at (0,80) width 276: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
-              text run at (275,80) width 313: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
+              text run at (81,60) width 196: "FAIL FAIL FAIL FAIL FAIL"
+              text run at (0,80) width 277: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
+              text run at (277,80) width 311: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
               text run at (0,100) width 158: "FAIL FAIL FAIL FAIL "
-              text run at (157,100) width 431: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
+              text run at (158,100) width 430: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
               text run at (0,120) width 39: "FAIL "
-              text run at (38,120) width 476: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
-              text run at (513,120) width 75: "FAIL FAIL"
-              text run at (0,140) width 396: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
+              text run at (39,120) width 475: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
+              text run at (514,120) width 74: "FAIL FAIL"
+              text run at (0,140) width 395: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
               text run at (395,140) width 193: "FAIL FAIL FAIL FAIL FAIL"
-              text run at (0,160) width 276: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
-              text run at (275,160) width 313: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
+              text run at (0,160) width 277: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
+              text run at (277,160) width 311: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
               text run at (0,180) width 158: "FAIL FAIL FAIL FAIL "
-              text run at (157,180) width 431: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
+              text run at (158,180) width 430: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
               text run at (0,200) width 39: "FAIL "
-              text run at (38,200) width 476: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
-              text run at (513,200) width 75: "FAIL FAIL"
-              text run at (0,220) width 396: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
+              text run at (39,200) width 475: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
+              text run at (514,200) width 74: "FAIL FAIL"
+              text run at (0,220) width 395: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
               text run at (395,220) width 193: "FAIL FAIL FAIL FAIL FAIL"
-              text run at (0,240) width 276: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
-              text run at (275,240) width 313: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
-              text run at (0,260) width 152: "FAIL FAIL FAIL FAIL"
+              text run at (0,240) width 277: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
+              text run at (277,240) width 311: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
+              text run at (0,260) width 148: "FAIL FAIL FAIL FAIL"
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-flthw-00-c-g-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-flthw-00-c-g-expected.png
index b8e32ea..d45639d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-flthw-00-c-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-flthw-00-c-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-flthw-00-c-g-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-flthw-00-c-g-expected.txt
index 71f6af9a..d6a84bb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-flthw-00-c-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-flthw-00-c-g-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x260
     LayoutBlockFlow {BODY} at (8,16) size 784x236
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 506x19
-          text run at (0,0) width 506: "There should be a complete unbroken drawing of a yin-yang (\x{262F}) symbol below."
+        LayoutText {#text} at (0,0) size 505x19
+          text run at (0,0) width 505: "There should be a complete unbroken drawing of a yin-yang (\x{262F}) symbol below."
       LayoutBlockFlow {DIV} at (0,36) size 784x200
         LayoutBlockFlow (floating) {DIV} at (0,0) size 100x100
         LayoutBlockFlow (floating) {DIV} at (0,100) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltinln-00-c-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltinln-00-c-ag-expected.png
index d2224b6..62c97f1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltinln-00-c-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltinln-00-c-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltinln-00-c-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltinln-00-c-ag-expected.txt
index d1552df..a77a39f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltinln-00-c-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltinln-00-c-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x184
     LayoutBlockFlow {BODY} at (8,16) size 784x153
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 273x19
-          text run at (0,0) width 273: "There should be two boxes of green below."
+        LayoutText {#text} at (0,0) size 272x19
+          text run at (0,0) width 272: "There should be two boxes of green below."
       LayoutBlockFlow {DIV} at (15,36) size 96x51 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutBlockFlow (floating) {SPAN} at (3,3) size 45x30
           LayoutText {#text} at (0,0) size 30x30
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png
index 4c482c08..b039951a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.txt
index 9fa3c7c..4b0f266 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x621
     LayoutBlockFlow {BODY} at (8,16) size 784x597
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 329x19
-          text run at (0,0) width 329: "There should be a tall green box below, with no red."
+        LayoutText {#text} at (0,0) size 328x19
+          text run at (0,0) width 328: "There should be a tall green box below, with no red."
       LayoutBlockFlow {DIV} at (0,36) size 126x561 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutBlockFlow {P} at (18,18) size 90x45
           LayoutText {#text} at (0,0) size 90x45
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltmult-00-d-g-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltmult-00-d-g-expected.png
index d41cce5..fbd1a1186 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltmult-00-d-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltmult-00-d-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png
index 721f83a..5bb3f8b8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt
index b091796..da8f9b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt
@@ -10,41 +10,41 @@
           text run at (81,39) width 560: "of the viewport, on the left of the 50% ruler"
           text run at (0,76) width 74: "mark."
       LayoutBlockFlow (floating) {DIV} at (0,145) size 384.50x380 [color=#FFFFFF] [bgcolor=#0000FF]
-        LayoutText {#text} at (0,0) size 385x379
+        LayoutText {#text} at (0,0) size 384x379
           text run at (0,0) width 384: "ignore this float text ignore this float text ignore this"
-          text run at (0,20) width 41: "float "
-          text run at (40,20) width 345: "text ignore this float text ignore this float text"
+          text run at (0,20) width 40: "float "
+          text run at (40,20) width 344: "text ignore this float text ignore this float text"
           text run at (0,40) width 79: "ignore this "
           text run at (79,40) width 305: "float text ignore this float text ignore this"
           text run at (0,60) width 125: "float text ignore "
-          text run at (124,60) width 261: "this float text ignore this float text"
+          text run at (125,60) width 259: "this float text ignore this float text"
           text run at (0,80) width 155: "ignore this float text "
-          text run at (154,80) width 230: "ignore this float text ignore this"
+          text run at (155,80) width 229: "ignore this float text ignore this"
           text run at (0,100) width 198: "float text ignore this float "
-          text run at (197,100) width 188: "text ignore this float text"
+          text run at (198,100) width 186: "text ignore this float text"
           text run at (0,120) width 235: "ignore this float text ignore this "
-          text run at (234,120) width 150: "float text ignore this"
-          text run at (0,140) width 283: "float text ignore this float text ignore "
-          text run at (282,140) width 103: "this float text"
+          text run at (235,120) width 149: "float text ignore this"
+          text run at (0,140) width 282: "float text ignore this float text ignore "
+          text run at (282,140) width 102: "this float text"
           text run at (0,160) width 311: "ignore this float text ignore this float text "
-          text run at (310,160) width 74: "ignore this"
-          text run at (0,180) width 356: "float text ignore this float text ignore this float "
-          text run at (355,180) width 30: "text"
+          text run at (311,160) width 73: "ignore this"
+          text run at (0,180) width 355: "float text ignore this float text ignore this float "
+          text run at (355,180) width 29: "text"
           text run at (0,200) width 384: "ignore this float text ignore this float text ignore this"
-          text run at (0,220) width 385: "float text ignore this float text ignore this float text"
+          text run at (0,220) width 384: "float text ignore this float text ignore this float text"
           text run at (0,240) width 48: "ignore "
           text run at (48,240) width 336: "this float text ignore this float text ignore this"
-          text run at (0,260) width 77: "float text "
-          text run at (76,260) width 309: "ignore this float text ignore this float text"
+          text run at (0,260) width 76: "float text "
+          text run at (76,260) width 308: "ignore this float text ignore this float text"
           text run at (0,280) width 120: "ignore this float "
-          text run at (119,280) width 265: "text ignore this float text ignore this"
+          text run at (120,280) width 264: "text ignore this float text ignore this"
           text run at (0,300) width 157: "float text ignore this "
-          text run at (156,300) width 229: "float text ignore this float text"
-          text run at (0,320) width 204: "ignore this float text ignore "
+          text run at (157,300) width 227: "float text ignore this float text"
+          text run at (0,320) width 203: "ignore this float text ignore "
           text run at (203,320) width 181: "this float text ignore this"
           text run at (0,340) width 234: "float text ignore this float text "
-          text run at (233,340) width 152: "ignore this float text"
-          text run at (0,360) width 257: "ignore this float text ignore this float"
+          text run at (234,340) width 150: "ignore this float text"
+          text run at (0,360) width 255: "ignore this float text ignore this float"
       LayoutBlockFlow {DIV} at (0,145) size 769x520 [color=#C0C0C0]
         LayoutText {#text} at (384,0) size 769x519
           text run at (384,0) width 385: "this is some dummy text this is some dummy text this is"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-02-c-g-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-02-c-g-expected.png
index ab6629b2..33d36e65 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-02-c-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-02-c-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt
index 517aa2a..9e53e37 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt
@@ -7,6 +7,6 @@
         LayoutBlockFlow (floating) {P} at (0,0) size 392x48
           LayoutText {#text} at (0,0) size 352x47
             text run at (0,0) width 352: "There should be a green square to the right,"
-            text run at (0,25) width 311: "roughly in the middle, horizontally. \x{21E8}"
+            text run at (0,25) width 310: "roughly in the middle, horizontally. \x{21E8}"
         LayoutImage {IMG} at (392,0) size 15x15 [color=#FF0000]
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-03-c-g-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-03-c-g-expected.png
index 5bfc85ca..a64d2a0a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-03-c-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-03-c-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt
index 8c08201..0b565f4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt
@@ -10,6 +10,6 @@
             LayoutText {#text} at (15,0) size 359x39
               text run at (15,0) width 4: " "
               text run at (19,0) width 340: "\x{21E6} There should be a green square at the top left of the"
-              text run at (0,20) width 55: "window."
+              text run at (0,20) width 54: "window."
           LayoutImage {IMG} at (0,0) size 15x15 [color=#FF0000]
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-fltclr-00-c-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-fltclr-00-c-ag-expected.png
index 35f5b44..9d18b4d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-fltclr-00-c-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-fltclr-00-c-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-fltclr-00-c-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-fltclr-00-c-ag-expected.txt
index bde1405..8a6c610c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-fltclr-00-c-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-fltclr-00-c-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x711
     LayoutBlockFlow {BODY} at (8,16) size 784x687
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 250x19
-          text run at (0,0) width 250: "There should be a big green box below."
+        LayoutText {#text} at (0,0) size 249x19
+          text run at (0,0) width 249: "There should be a big green box below."
       LayoutBlockFlow {DIV} at (0,36) size 306x651 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (3,3) size 50x50
         LayoutBlockFlow {P} at (3,18) size 300x90
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-flthw-00-c-g-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-flthw-00-c-g-expected.png
index b8e32ea..d45639d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-flthw-00-c-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-flthw-00-c-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-flthw-00-c-g-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-flthw-00-c-g-expected.txt
index 71f6af9a..d6a84bb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-flthw-00-c-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t0905-c5526-flthw-00-c-g-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x260
     LayoutBlockFlow {BODY} at (8,16) size 784x236
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 506x19
-          text run at (0,0) width 506: "There should be a complete unbroken drawing of a yin-yang (\x{262F}) symbol below."
+        LayoutText {#text} at (0,0) size 505x19
+          text run at (0,0) width 505: "There should be a complete unbroken drawing of a yin-yang (\x{262F}) symbol below."
       LayoutBlockFlow {DIV} at (0,36) size 784x200
         LayoutBlockFlow (floating) {DIV} at (0,0) size 100x100
         LayoutBlockFlow (floating) {DIV} at (0,100) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-00-d-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-00-d-expected.png
index ba07e4a..ac2b14e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-00-d-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-00-d-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-00-d-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-00-d-expected.txt
index 0f9bf845..e6c059f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-00-d-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-00-d-expected.txt
@@ -10,17 +10,17 @@
       LayoutBlockFlow {DIV} at (0,36) size 784x116
         LayoutBlockFlow {DIV} at (16,0) size 752x116 [color=#0000FF] [bgcolor=#000080] [border: (8px solid #0000FF) none (8px solid #0000FF)]
           LayoutBlockFlow (floating) {P} at (8,8) size 176x96 [color=#00FFFF] [bgcolor=#008080] [border: (4px solid #00FFFF)]
-            LayoutText {#text} at (8,8) size 144x79
-              text run at (8,8) width 144: "Teal block. Teal block."
-              text run at (8,28) width 144: "Teal block. Teal block."
-              text run at (8,48) width 144: "Teal block. Teal block."
-              text run at (8,68) width 144: "Teal block. Teal block."
+            LayoutText {#text} at (8,8) size 142x79
+              text run at (8,8) width 142: "Teal block. Teal block."
+              text run at (8,28) width 142: "Teal block. Teal block."
+              text run at (8,48) width 142: "Teal block. Teal block."
+              text run at (8,68) width 142: "Teal block. Teal block."
           LayoutBlockFlow (floating) {P} at (568,8) size 176x96 [color=#00FFFF] [bgcolor=#008080] [border: (4px solid #00FFFF)]
-            LayoutText {#text} at (8,8) size 144x79
-              text run at (8,8) width 144: "Teal block. Teal block."
-              text run at (8,28) width 144: "Teal block. Teal block."
-              text run at (8,48) width 144: "Teal block. Teal block."
-              text run at (8,68) width 144: "Teal block. Teal block."
+            LayoutText {#text} at (8,8) size 142x79
+              text run at (8,8) width 142: "Teal block. Teal block."
+              text run at (8,28) width 142: "Teal block. Teal block."
+              text run at (8,48) width 142: "Teal block. Teal block."
+              text run at (8,68) width 142: "Teal block. Teal block."
           LayoutText {#text} at (184,8) size 358x99
             text run at (184,8) width 327: "Blue rectangle. Blue rectangle. Blue rectangle. Blue"
             text run at (184,28) width 358: "rectangle. Blue rectangle. Blue rectangle. Blue rectangle."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-01-b-expected.png
index 51c44568..2839a9a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-01-b-expected.txt
index 10d6497..8258ef15 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t090501-c414-flt-01-b-expected.txt
@@ -16,8 +16,8 @@
             LayoutText {#text} at (8,8) size 141x39
               text run at (8,8) width 115: "\x{21E8} This blue block"
               text run at (8,28) width 141: "should be on the right."
-          LayoutText {#text} at (184,8) size 380x59
-            text run at (184,8) width 380: "Teal rectangle. Teal rectangle. Teal rectangle. Teal rectangle."
-            text run at (184,28) width 192: "Teal rectangle. Teal rectangle. "
-            text run at (375,28) width 189: "Teal rectangle. Teal rectangle."
-            text run at (184,48) width 380: "Teal rectangle. Teal rectangle. Teal rectangle. Teal rectangle."
+          LayoutText {#text} at (184,8) size 376x59
+            text run at (184,8) width 376: "Teal rectangle. Teal rectangle. Teal rectangle. Teal rectangle."
+            text run at (184,28) width 190: "Teal rectangle. Teal rectangle. "
+            text run at (374,28) width 186: "Teal rectangle. Teal rectangle."
+            text run at (184,48) width 376: "Teal rectangle. Teal rectangle. Teal rectangle. Teal rectangle."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1002-c5523-width-00-b-g-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1002-c5523-width-00-b-g-expected.png
index 722d399..e4e69ab 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1002-c5523-width-00-b-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1002-c5523-width-00-b-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1002-c5523-width-02-b-g-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1002-c5523-width-02-b-g-expected.png
index 6d3dca24..6cf15fb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1002-c5523-width-02-b-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1002-c5523-width-02-b-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1002-c5523-width-02-b-g-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1002-c5523-width-02-b-g-expected.txt
index b06a249..0c9d140 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1002-c5523-width-02-b-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1002-c5523-width-02-b-g-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x660
     LayoutBlockFlow {BODY} at (8,16) size 769x636
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 416x19
+        LayoutText {#text} at (0,0) size 415x19
           text run at (0,0) width 374: "The blue text should not go past the 50% mark on the ruler "
-          text run at (374,0) width 42: "below."
+          text run at (374,0) width 41: "below."
       LayoutBlockFlow {DIV} at (0,36) size 384.50x560 [color=#0000FF]
         LayoutText {#text} at (0,0) size 377x559
           text run at (0,0) width 377: "a bit of dummy text a bit of dummy text a bit of dummy text"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100303-c412-blockw-00-d-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100303-c412-blockw-00-d-ag-expected.png
index 11b34eb..e0f679a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100303-c412-blockw-00-d-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100303-c412-blockw-00-d-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100303-c412-blockw-00-d-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100303-c412-blockw-00-d-ag-expected.txt
index d3b86e2..3934065 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100303-c412-blockw-00-d-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100303-c412-blockw-00-d-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x312
     LayoutBlockFlow {BODY} at (8,16) size 784x286
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 340x19
-          text run at (0,0) width 340: "There should be no red below, just two green squares."
+        LayoutText {#text} at (0,0) size 339x19
+          text run at (0,0) width 339: "There should be no red below, just two green squares."
       LayoutBlockFlow {DIV} at (10,36) size 120x120 [color=#008000] [bgcolor=#FF0000] [border: (10px solid #008000)]
         LayoutBlockFlow {P} at (20,10) size 90x10
           LayoutText {#text} at (0,0) size 10x10
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.png
index 47ec11c5..36e8e0e6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt
index 3d7dc2b1..985c9f53 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x480
     LayoutBlockFlow {BODY} at (8,16) size 784x448
       LayoutBlockFlow {P} at (0,0) size 784x40 [color=#000080]
-        LayoutText {#text} at (0,0) size 768x39
+        LayoutText {#text} at (0,0) size 767x39
           text run at (0,0) width 396: "Below this paragraph there should be a big teal square half the "
-          text run at (396,0) width 372: "width of the window, aligned flush with the right hand side"
+          text run at (396,0) width 371: "width of the window, aligned flush with the right hand side"
           text run at (0,20) width 27: "(\x{21E8})."
       LayoutBlockFlow {P} at (0,56) size 784x392 [color=#000080]
         LayoutImage {IMG} at (392,0) size 392x392
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1005-c5524-width-00-b-g-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1005-c5524-width-00-b-g-expected.png
index 217ff62..b550466 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1005-c5524-width-00-b-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1005-c5524-width-00-b-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1005-c5524-width-01-b-g-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1005-c5524-width-01-b-g-expected.png
index 34c2ec3..4a680c45 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1005-c5524-width-01-b-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1005-c5524-width-01-b-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-00-d-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-00-d-ag-expected.png
index 76d5f57..4c9ad54d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-00-d-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-00-d-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-00-d-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-00-d-ag-expected.txt
index 241ae51..121aa62 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-00-d-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-00-d-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x220
     LayoutBlockFlow {BODY} at (8,16) size 784x196
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 438x19
-          text run at (0,0) width 438: "There should be no red below, just the outline of an empty green box."
+        LayoutText {#text} at (0,0) size 437x19
+          text run at (0,0) width 437: "There should be no red below, just the outline of an empty green box."
       LayoutBlockFlow {DIV} at (0,36) size 230x160 [color=#FFFFFF] [bgcolor=#FF0000] [border: (10px solid #008000)]
         LayoutText {#text} at (20,20) size 190x30
           text run at (20,20) width 190: "xxxx xxxx xxxx xxxx"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-01-d-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-01-d-ag-expected.png
index 210f8e1e..f0d8674 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-01-d-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-01-d-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-01-d-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-01-d-ag-expected.txt
index 63ba3d6..f8f42bc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-01-d-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-01-d-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x300
     LayoutBlockFlow {BODY} at (8,16) size 784x276
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 438x19
-          text run at (0,0) width 438: "There should be no red below, just the outline of an empty green box."
+        LayoutText {#text} at (0,0) size 437x19
+          text run at (0,0) width 437: "There should be no red below, just the outline of an empty green box."
       LayoutBlockFlow {DIV} at (0,36) size 430x240 [color=#FFFFFF] [bgcolor=#FF0000] [border: (10px solid #008000)]
         LayoutText {#text} at (20,20) size 390x105
           text run at (20,20) width 390: "xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-02-d-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-02-d-ag-expected.png
index 0cc293a..026708f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-02-d-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-02-d-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-02-d-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-02-d-ag-expected.txt
index d27c688..623645c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-02-d-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-02-d-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x322
     LayoutBlockFlow {BODY} at (8,16) size 784x298
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 438x19
-          text run at (0,0) width 438: "There should be no red below, just the outline of an empty green box."
+        LayoutText {#text} at (0,0) size 437x19
+          text run at (0,0) width 437: "There should be no red below, just the outline of an empty green box."
       LayoutBlockFlow {DIV} at (0,36) size 360x262 [color=#FFFFFF] [bgcolor=#FF0000] [border: (20px solid #008000)]
         LayoutText {#text} at (40,40) size 280x102
           text run at (40,40) width 280: "xxxx xxxx xxxx"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-03-d-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-03-d-ag-expected.png
index 4bbbdf8..e3f236c6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-03-d-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-03-d-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-03-d-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-03-d-ag-expected.txt
index b96e044..b8fc482 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-03-d-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1008-c44-ln-box-03-d-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x320
     LayoutBlockFlow {BODY} at (8,16) size 784x296
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 438x19
-          text run at (0,0) width 438: "There should be no red below, just the outline of an empty green box."
+        LayoutText {#text} at (0,0) size 437x19
+          text run at (0,0) width 437: "There should be no red below, just the outline of an empty green box."
       LayoutBlockFlow {DIV} at (0,36) size 360x260 [color=#FFFFFF] [bgcolor=#FF0000] [border: (20px solid #008000)]
         LayoutText {#text} at (40,40) size 280x100
           text run at (40,40) width 280: "xxxx xxxx xxxx"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c42-ibx-ht-00-d-a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c42-ibx-ht-00-d-a-expected.png
index 629e41b..c1854606 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c42-ibx-ht-00-d-a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c42-ibx-ht-00-d-a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c42-ibx-ht-00-d-a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c42-ibx-ht-00-d-a-expected.txt
index 553dae99..96c3854 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c42-ibx-ht-00-d-a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c42-ibx-ht-00-d-a-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x120
     LayoutBlockFlow {BODY} at (8,16) size 784x96
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 357x19
-          text run at (0,0) width 357: "There should be no red below, only green lines and dots."
+        LayoutText {#text} at (0,0) size 356x19
+          text run at (0,0) width 356: "There should be no red below, only green lines and dots."
       LayoutBlockFlow {DIV} at (0,36) size 200x60 [color=#008000]
         LayoutText {#text} at (0,1) size 40x10
           text run at (0,1) width 40: "z z "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-00-a-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-00-a-ag-expected.png
index 66f181c5..af41b40 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-00-a-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-00-a-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-00-a-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-00-a-ag-expected.txt
index a09a8ded..cfbbd30 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-00-a-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-00-a-ag-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x259
     LayoutBlockFlow {BODY} at (8,16) size 784x193
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 754x39
-          text run at (0,0) width 754: "There should be four identical white boxes in the teal block below, all the same size, each one a little lower down on the"
-          text run at (0,20) width 134: "line, in a step pattern."
+        LayoutText {#text} at (0,0) size 784x39
+          text run at (0,0) width 784: "There should be four identical white boxes in the teal block below, all the same size, each one a little lower down on the line,"
+          text run at (0,20) width 103: "in a step pattern."
       LayoutBlockFlow {DIV} at (50,90) size 684x103 [color=#FFFFFF] [bgcolor=#008080]
         LayoutInline {SPAN} at (0,0) size 51x51
           LayoutText {#text} at (12,12) size 51x51
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-01-d-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-01-d-ag-expected.png
index adbc82d..e3b177f8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-01-d-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-01-d-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-01-d-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-01-d-ag-expected.txt
index f6d5343..168f4ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-01-d-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c544-valgn-01-d-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x300
     LayoutBlockFlow {BODY} at (8,16) size 784x276
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 313x19
-          text run at (0,0) width 313: "There should be a green block with no red below."
+        LayoutText {#text} at (0,0) size 312x19
+          text run at (0,0) width 312: "There should be a green block with no red below."
       LayoutBlockFlow {DIV} at (15,36) size 90x240 [color=#008000] [bgcolor=#FF0000]
         LayoutBlockFlow {DIV} at (0,0) size 90x33
           LayoutImage {IMG} at (0,0) size 30x30
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-leadin-00-d-a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-leadin-00-d-a-expected.png
index 1f378ae..7c1aa81 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-leadin-00-d-a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-leadin-00-d-a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-leadin-00-d-a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-leadin-00-d-a-expected.txt
index 1b42d93..d134657 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-leadin-00-d-a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-leadin-00-d-a-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x166
     LayoutBlockFlow {BODY} at (8,16) size 784x142
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 458x19
-          text run at (0,0) width 458: "There should be stripes of dark green and light green below, with no red."
+        LayoutText {#text} at (0,0) size 457x19
+          text run at (0,0) width 457: "There should be stripes of dark green and light green below, with no red."
       LayoutBlockFlow {DIV} at (0,36) size 81x106 [color=#00FF00] [bgcolor=#008000] [border: (3px solid #000000)]
         LayoutInline {SPAN} at (0,0) size 75x75 [bgcolor=#FF0000]
           LayoutText {#text} at (3,15) size 75x75
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-01-b-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-01-b-ag-expected.png
index 0840fb5..a09fc66e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-01-b-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-01-b-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-01-b-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-01-b-ag-expected.txt
index 9f78a7e6..fd7f2ff 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-01-b-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-01-b-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x348
     LayoutBlockFlow {BODY} at (8,8) size 784x332
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 503x19
-          text run at (0,0) width 503: "There should be a big pattern of green and lime dots below, with no red present."
+        LayoutText {#text} at (0,0) size 502x19
+          text run at (0,0) width 502: "There should be a big pattern of green and lime dots below, with no red present."
       LayoutBlockFlow {DIV} at (6,26) size 66x306 [color=#00FF00] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutBlockFlow {P} at (15,9) size 48x48
           LayoutText {#text} at (0,6) size 36x36
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-02-b-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-02-b-ag-expected.png
index 93c1df61..6f19b69 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-02-b-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-02-b-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-02-b-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-02-b-ag-expected.txt
index e0211cd..699f21ba 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-02-b-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t100801-c548-ln-ht-02-b-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x300
     LayoutBlockFlow {BODY} at (8,8) size 784x284
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 503x19
-          text run at (0,0) width 503: "There should be a big pattern of green and lime dots below, with no red present."
+        LayoutText {#text} at (0,0) size 502x19
+          text run at (0,0) width 502: "There should be a big pattern of green and lime dots below, with no red present."
       LayoutBlockFlow {DIV} at (6,26) size 66x258 [color=#00FF00] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutBlockFlow {P} at (15,9) size 48x48
           LayoutText {#text} at (0,6) size 36x36
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-00-b-expected.png
index dff3b40..04ecf18 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-00-b-expected.txt
index c53d5bb..db7d541 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-00-b-expected.txt
@@ -71,12 +71,12 @@
           LayoutInline {<pseudo:before>} at (0,0) size 16x19
             LayoutCounter (anonymous) at (128,0) size 16x19
               text run at (128,0) width 16: "11"
-        LayoutText {#text} at (143,0) size 5x19
-          text run at (143,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {<pseudo:before>} at (0,0) size 17x19
-            LayoutCounter (anonymous) at (147,0) size 17x19
-              text run at (147,0) width 17: "12"
+        LayoutText {#text} at (144,0) size 4x19
+          text run at (144,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 16x19
+          LayoutInline {<pseudo:before>} at (0,0) size 16x19
+            LayoutCounter (anonymous) at (148,0) size 16x19
+              text run at (148,0) width 16: "12"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 164x19
@@ -91,4 +91,4 @@
           text run at (96,0) width 12: "9 "
           text run at (108,0) width 20: "10 "
           text run at (128,0) width 20: "11 "
-          text run at (147,0) width 17: "12"
+          text run at (148,0) width 16: "12"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-01-b-expected.png
index 7094737..ca4eef9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-01-b-expected.txt
index 3c7a943..0a748a6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-01-b-expected.txt
@@ -9,8 +9,8 @@
         LayoutInline {EM} at (0,0) size 91x19
           LayoutText {#text} at (233,0) size 91x19
             text run at (233,0) width 91: "approximately"
-        LayoutText {#text} at (323,0) size 64x19
-          text run at (323,0) width 64: " the same:"
+        LayoutText {#text} at (324,0) size 63x19
+          text run at (324,0) width 63: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 7x19
           LayoutInline {<pseudo:before>} at (0,0) size 7x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-02-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-02-b-expected.png
index dd15f42..e48a6ca 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-02-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-02-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-02-b-expected.txt
index 0848352..752fc80 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-02-b-expected.txt
@@ -9,8 +9,8 @@
         LayoutInline {EM} at (0,0) size 91x19
           LayoutText {#text} at (233,0) size 91x19
             text run at (233,0) width 91: "approximately"
-        LayoutText {#text} at (323,0) size 64x19
-          text run at (323,0) width 64: " the same:"
+        LayoutText {#text} at (324,0) size 63x19
+          text run at (324,0) width 63: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 6x19
           LayoutInline {<pseudo:before>} at (0,0) size 6x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-03-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-03-b-expected.png
index 2e4bc8f..36b35e0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-03-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-03-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-03-b-expected.txt
index b6b52a7..4ae4b9a7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-03-b-expected.txt
@@ -9,8 +9,8 @@
         LayoutInline {EM} at (0,0) size 91x19
           LayoutText {#text} at (233,0) size 91x19
             text run at (233,0) width 91: "approximately"
-        LayoutText {#text} at (323,0) size 64x19
-          text run at (323,0) width 64: " the same:"
+        LayoutText {#text} at (324,0) size 63x19
+          text run at (324,0) width 63: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 6x19
           LayoutInline {<pseudo:before>} at (0,0) size 6x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-04-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-04-b-expected.png
index 1c77c82c6..253910a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-04-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-04-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-04-b-expected.txt
index 2d6d0013..b5d1c845 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-04-b-expected.txt
@@ -9,8 +9,8 @@
         LayoutInline {EM} at (0,0) size 91x19
           LayoutText {#text} at (233,0) size 91x19
             text run at (233,0) width 91: "approximately"
-        LayoutText {#text} at (323,0) size 64x19
-          text run at (323,0) width 64: " the same:"
+        LayoutText {#text} at (324,0) size 63x19
+          text run at (324,0) width 63: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 10x19
           LayoutInline {<pseudo:before>} at (0,0) size 10x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-05-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-05-b-expected.png
index dff3b40..04ecf18 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-05-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-05-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-05-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-05-b-expected.txt
index c53d5bb..db7d541 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-05-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-05-b-expected.txt
@@ -71,12 +71,12 @@
           LayoutInline {<pseudo:before>} at (0,0) size 16x19
             LayoutCounter (anonymous) at (128,0) size 16x19
               text run at (128,0) width 16: "11"
-        LayoutText {#text} at (143,0) size 5x19
-          text run at (143,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {<pseudo:before>} at (0,0) size 17x19
-            LayoutCounter (anonymous) at (147,0) size 17x19
-              text run at (147,0) width 17: "12"
+        LayoutText {#text} at (144,0) size 4x19
+          text run at (144,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 16x19
+          LayoutInline {<pseudo:before>} at (0,0) size 16x19
+            LayoutCounter (anonymous) at (148,0) size 16x19
+              text run at (148,0) width 16: "12"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 164x19
@@ -91,4 +91,4 @@
           text run at (96,0) width 12: "9 "
           text run at (108,0) width 20: "10 "
           text run at (128,0) width 20: "11 "
-          text run at (147,0) width 17: "12"
+          text run at (148,0) width 16: "12"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-06-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-06-b-expected.png
index 93d511e..60ebc2b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-06-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-06-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-06-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-06-b-expected.txt
index 36f06fc2..d4e482f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-06-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-06-b-expected.txt
@@ -71,30 +71,30 @@
           LayoutInline {<pseudo:before>} at (0,0) size 16x19
             LayoutCounter (anonymous) at (200,0) size 16x19
               text run at (200,0) width 16: "11"
-        LayoutText {#text} at (215,0) size 5x19
-          text run at (215,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {<pseudo:before>} at (0,0) size 17x19
-            LayoutCounter (anonymous) at (219,0) size 17x19
-              text run at (219,0) width 17: "12"
-        LayoutText {#text} at (235,0) size 5x19
-          text run at (235,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {<pseudo:before>} at (0,0) size 17x19
-            LayoutCounter (anonymous) at (239,0) size 17x19
-              text run at (239,0) width 17: "99"
-        LayoutText {#text} at (255,0) size 5x19
-          text run at (255,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 25x19
-          LayoutInline {<pseudo:before>} at (0,0) size 25x19
-            LayoutCounter (anonymous) at (259,0) size 25x19
-              text run at (259,0) width 25: "100"
-        LayoutText {#text} at (283,0) size 5x19
-          text run at (283,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 25x19
-          LayoutInline {<pseudo:before>} at (0,0) size 25x19
-            LayoutCounter (anonymous) at (287,0) size 25x19
-              text run at (287,0) width 25: "101"
+        LayoutText {#text} at (216,0) size 4x19
+          text run at (216,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 16x19
+          LayoutInline {<pseudo:before>} at (0,0) size 16x19
+            LayoutCounter (anonymous) at (220,0) size 16x19
+              text run at (220,0) width 16: "12"
+        LayoutText {#text} at (236,0) size 4x19
+          text run at (236,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 16x19
+          LayoutInline {<pseudo:before>} at (0,0) size 16x19
+            LayoutCounter (anonymous) at (240,0) size 16x19
+              text run at (240,0) width 16: "99"
+        LayoutText {#text} at (256,0) size 4x19
+          text run at (256,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 24x19
+          LayoutInline {<pseudo:before>} at (0,0) size 24x19
+            LayoutCounter (anonymous) at (260,0) size 24x19
+              text run at (260,0) width 24: "100"
+        LayoutText {#text} at (284,0) size 4x19
+          text run at (284,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 24x19
+          LayoutInline {<pseudo:before>} at (0,0) size 24x19
+            LayoutCounter (anonymous) at (288,0) size 24x19
+              text run at (288,0) width 24: "101"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 312x19
@@ -109,7 +109,7 @@
           text run at (160,0) width 20: "09 "
           text run at (180,0) width 20: "10 "
           text run at (200,0) width 20: "11 "
-          text run at (219,0) width 21: "12 "
-          text run at (239,0) width 21: "99 "
-          text run at (259,0) width 29: "100 "
-          text run at (287,0) width 25: "101"
+          text run at (220,0) width 20: "12 "
+          text run at (240,0) width 20: "99 "
+          text run at (260,0) width 28: "100 "
+          text run at (288,0) width 24: "101"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-16-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-16-f-expected.png
index dff3b40..04ecf18 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-16-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-16-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-16-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-16-f-expected.txt
index c53d5bb..db7d541 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-16-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counter-16-f-expected.txt
@@ -71,12 +71,12 @@
           LayoutInline {<pseudo:before>} at (0,0) size 16x19
             LayoutCounter (anonymous) at (128,0) size 16x19
               text run at (128,0) width 16: "11"
-        LayoutText {#text} at (143,0) size 5x19
-          text run at (143,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {<pseudo:before>} at (0,0) size 17x19
-            LayoutCounter (anonymous) at (147,0) size 17x19
-              text run at (147,0) width 17: "12"
+        LayoutText {#text} at (144,0) size 4x19
+          text run at (144,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 16x19
+          LayoutInline {<pseudo:before>} at (0,0) size 16x19
+            LayoutCounter (anonymous) at (148,0) size 16x19
+              text run at (148,0) width 16: "12"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 164x19
@@ -91,4 +91,4 @@
           text run at (96,0) width 12: "9 "
           text run at (108,0) width 20: "10 "
           text run at (128,0) width 20: "11 "
-          text run at (147,0) width 17: "12"
+          text run at (148,0) width 16: "12"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-00-b-expected.png
index d162056..f49af28 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-00-b-expected.txt
index de2878c0..4fa42e86 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-00-b-expected.txt
@@ -71,12 +71,12 @@
           LayoutInline {<pseudo:before>} at (0,0) size 28x19
             LayoutCounter (anonymous) at (248,0) size 28x19
               text run at (248,0) width 28: "1.11"
-        LayoutText {#text} at (275,0) size 5x19
-          text run at (275,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 29x19
-          LayoutInline {<pseudo:before>} at (0,0) size 29x19
-            LayoutCounter (anonymous) at (279,0) size 29x19
-              text run at (279,0) width 29: "1.12"
+        LayoutText {#text} at (276,0) size 4x19
+          text run at (276,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 28x19
+          LayoutInline {<pseudo:before>} at (0,0) size 28x19
+            LayoutCounter (anonymous) at (280,0) size 28x19
+              text run at (280,0) width 28: "1.12"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 308x19
@@ -91,4 +91,4 @@
           text run at (192,0) width 24: "1.9 "
           text run at (216,0) width 32: "1.10 "
           text run at (248,0) width 32: "1.11 "
-          text run at (279,0) width 29: "1.12"
+          text run at (280,0) width 28: "1.12"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-01-b-expected.png
index b4200b31..fd53929 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-01-b-expected.txt
index a6060d1..b634b9b5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-01-b-expected.txt
@@ -9,8 +9,8 @@
         LayoutInline {EM} at (0,0) size 91x19
           LayoutText {#text} at (233,0) size 91x19
             text run at (233,0) width 91: "approximately"
-        LayoutText {#text} at (323,0) size 64x19
-          text run at (323,0) width 64: " the same:"
+        LayoutText {#text} at (324,0) size 63x19
+          text run at (324,0) width 63: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 11x19
           LayoutInline {<pseudo:before>} at (0,0) size 11x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-02-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-02-b-expected.png
index 19449ed..9eaa7e6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-02-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-02-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-02-b-expected.txt
index a23e0d9c..f4d2d18 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-02-b-expected.txt
@@ -9,8 +9,8 @@
         LayoutInline {EM} at (0,0) size 91x19
           LayoutText {#text} at (233,0) size 91x19
             text run at (233,0) width 91: "approximately"
-        LayoutText {#text} at (323,0) size 64x19
-          text run at (323,0) width 64: " the same:"
+        LayoutText {#text} at (324,0) size 63x19
+          text run at (324,0) width 63: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 16x19
           LayoutInline {<pseudo:before>} at (0,0) size 16x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-03-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-03-b-expected.png
index 68ffd64..3ee79343 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-03-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-03-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-03-b-expected.txt
index ba6f898..fcb2bfe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-03-b-expected.txt
@@ -9,8 +9,8 @@
         LayoutInline {EM} at (0,0) size 91x19
           LayoutText {#text} at (233,0) size 91x19
             text run at (233,0) width 91: "approximately"
-        LayoutText {#text} at (323,0) size 64x19
-          text run at (323,0) width 64: " the same:"
+        LayoutText {#text} at (324,0) size 63x19
+          text run at (324,0) width 63: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 16x19
           LayoutInline {<pseudo:before>} at (0,0) size 16x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-04-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-04-b-expected.png
index 0393f771..a670cca1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-04-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-04-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-04-b-expected.txt
index 2f2d094..8092dfc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-04-b-expected.txt
@@ -9,8 +9,8 @@
         LayoutInline {EM} at (0,0) size 91x19
           LayoutText {#text} at (233,0) size 91x19
             text run at (233,0) width 91: "approximately"
-        LayoutText {#text} at (323,0) size 64x19
-          text run at (323,0) width 64: " the same:"
+        LayoutText {#text} at (324,0) size 63x19
+          text run at (324,0) width 63: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 24x19
           LayoutInline {<pseudo:before>} at (0,0) size 24x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-05-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-05-b-expected.png
index d162056..f49af28 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-05-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-05-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-05-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-05-b-expected.txt
index de2878c0..4fa42e86 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-05-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-05-b-expected.txt
@@ -71,12 +71,12 @@
           LayoutInline {<pseudo:before>} at (0,0) size 28x19
             LayoutCounter (anonymous) at (248,0) size 28x19
               text run at (248,0) width 28: "1.11"
-        LayoutText {#text} at (275,0) size 5x19
-          text run at (275,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 29x19
-          LayoutInline {<pseudo:before>} at (0,0) size 29x19
-            LayoutCounter (anonymous) at (279,0) size 29x19
-              text run at (279,0) width 29: "1.12"
+        LayoutText {#text} at (276,0) size 4x19
+          text run at (276,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 28x19
+          LayoutInline {<pseudo:before>} at (0,0) size 28x19
+            LayoutCounter (anonymous) at (280,0) size 28x19
+              text run at (280,0) width 28: "1.12"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 308x19
@@ -91,4 +91,4 @@
           text run at (192,0) width 24: "1.9 "
           text run at (216,0) width 32: "1.10 "
           text run at (248,0) width 32: "1.11 "
-          text run at (279,0) width 29: "1.12"
+          text run at (280,0) width 28: "1.12"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-06-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-06-b-expected.png
index d90d182..f6f6420c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-06-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-06-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-06-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-06-b-expected.txt
index 63c7993..ad593e0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-06-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-06-b-expected.txt
@@ -71,30 +71,30 @@
           LayoutInline {<pseudo:before>} at (0,0) size 36x19
             LayoutCounter (anonymous) at (400,0) size 36x19
               text run at (400,0) width 36: "01.11"
-        LayoutText {#text} at (435,0) size 5x19
-          text run at (435,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 37x19
-          LayoutInline {<pseudo:before>} at (0,0) size 37x19
-            LayoutCounter (anonymous) at (439,0) size 37x19
-              text run at (439,0) width 37: "01.12"
-        LayoutText {#text} at (475,0) size 5x19
-          text run at (475,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 37x19
-          LayoutInline {<pseudo:before>} at (0,0) size 37x19
-            LayoutCounter (anonymous) at (479,0) size 37x19
-              text run at (479,0) width 37: "01.99"
-        LayoutText {#text} at (515,0) size 5x19
-          text run at (515,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 45x19
-          LayoutInline {<pseudo:before>} at (0,0) size 45x19
-            LayoutCounter (anonymous) at (519,0) size 45x19
-              text run at (519,0) width 45: "01.100"
-        LayoutText {#text} at (563,0) size 5x19
-          text run at (563,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 45x19
-          LayoutInline {<pseudo:before>} at (0,0) size 45x19
-            LayoutCounter (anonymous) at (567,0) size 45x19
-              text run at (567,0) width 45: "01.101"
+        LayoutText {#text} at (436,0) size 4x19
+          text run at (436,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 36x19
+          LayoutInline {<pseudo:before>} at (0,0) size 36x19
+            LayoutCounter (anonymous) at (440,0) size 36x19
+              text run at (440,0) width 36: "01.12"
+        LayoutText {#text} at (476,0) size 4x19
+          text run at (476,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 36x19
+          LayoutInline {<pseudo:before>} at (0,0) size 36x19
+            LayoutCounter (anonymous) at (480,0) size 36x19
+              text run at (480,0) width 36: "01.99"
+        LayoutText {#text} at (516,0) size 4x19
+          text run at (516,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 44x19
+          LayoutInline {<pseudo:before>} at (0,0) size 44x19
+            LayoutCounter (anonymous) at (520,0) size 44x19
+              text run at (520,0) width 44: "01.100"
+        LayoutText {#text} at (564,0) size 4x19
+          text run at (564,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 44x19
+          LayoutInline {<pseudo:before>} at (0,0) size 44x19
+            LayoutCounter (anonymous) at (568,0) size 44x19
+              text run at (568,0) width 44: "01.101"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 612x19
@@ -109,7 +109,7 @@
           text run at (320,0) width 40: "01.09 "
           text run at (360,0) width 40: "01.10 "
           text run at (400,0) width 40: "01.11 "
-          text run at (439,0) width 41: "01.12 "
-          text run at (479,0) width 41: "01.99 "
-          text run at (519,0) width 49: "01.100 "
-          text run at (567,0) width 45: "01.101"
+          text run at (440,0) width 40: "01.12 "
+          text run at (480,0) width 40: "01.99 "
+          text run at (520,0) width 48: "01.100 "
+          text run at (568,0) width 44: "01.101"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-18-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-18-f-expected.png
index d162056..f49af28 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-18-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-18-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-18-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-18-f-expected.txt
index de2878c0..4fa42e86 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-18-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1202-counters-18-f-expected.txt
@@ -71,12 +71,12 @@
           LayoutInline {<pseudo:before>} at (0,0) size 28x19
             LayoutCounter (anonymous) at (248,0) size 28x19
               text run at (248,0) width 28: "1.11"
-        LayoutText {#text} at (275,0) size 5x19
-          text run at (275,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 29x19
-          LayoutInline {<pseudo:before>} at (0,0) size 29x19
-            LayoutCounter (anonymous) at (279,0) size 29x19
-              text run at (279,0) width 29: "1.12"
+        LayoutText {#text} at (276,0) size 4x19
+          text run at (276,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 28x19
+          LayoutInline {<pseudo:before>} at (0,0) size 28x19
+            LayoutCounter (anonymous) at (280,0) size 28x19
+              text run at (280,0) width 28: "1.12"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 308x19
@@ -91,4 +91,4 @@
           text run at (192,0) width 24: "1.9 "
           text run at (216,0) width 32: "1.10 "
           text run at (248,0) width 32: "1.11 "
-          text run at (279,0) width 29: "1.12"
+          text run at (280,0) width 28: "1.12"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-00-c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-00-c-expected.png
index 9eb70f98..2658689 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-00-c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-00-c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-00-c-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-00-c-expected.txt
index e04ea8db..7a46ca7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-00-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-00-c-expected.txt
@@ -89,34 +89,34 @@
             LayoutInline {<pseudo:before>} at (0,0) size 16x19
               LayoutCounter (anonymous) at (140,0) size 16x19
                 text run at (140,0) width 16: "11"
-        LayoutText {#text} at (155,0) size 5x19
-          text run at (155,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {SPAN} at (0,0) size 17x19
-            LayoutInline {<pseudo:before>} at (0,0) size 17x19
-              LayoutCounter (anonymous) at (159,0) size 17x19
-                text run at (159,0) width 17: "12"
-        LayoutText {#text} at (175,0) size 5x19
-          text run at (175,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {SPAN} at (0,0) size 17x19
-            LayoutInline {<pseudo:before>} at (0,0) size 17x19
-              LayoutCounter (anonymous) at (179,0) size 17x19
-                text run at (179,0) width 17: "12"
-        LayoutText {#text} at (195,0) size 5x19
-          text run at (195,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {SPAN} at (0,0) size 17x19
-            LayoutInline {<pseudo:before>} at (0,0) size 17x19
-              LayoutCounter (anonymous) at (199,0) size 17x19
-                text run at (199,0) width 17: "12"
-        LayoutText {#text} at (215,0) size 5x19
-          text run at (215,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {SPAN} at (0,0) size 17x19
-            LayoutInline {<pseudo:before>} at (0,0) size 17x19
-              LayoutCounter (anonymous) at (219,0) size 17x19
-                text run at (219,0) width 17: "12"
+        LayoutText {#text} at (156,0) size 4x19
+          text run at (156,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 16x19
+          LayoutInline {SPAN} at (0,0) size 16x19
+            LayoutInline {<pseudo:before>} at (0,0) size 16x19
+              LayoutCounter (anonymous) at (160,0) size 16x19
+                text run at (160,0) width 16: "12"
+        LayoutText {#text} at (176,0) size 4x19
+          text run at (176,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 16x19
+          LayoutInline {SPAN} at (0,0) size 16x19
+            LayoutInline {<pseudo:before>} at (0,0) size 16x19
+              LayoutCounter (anonymous) at (180,0) size 16x19
+                text run at (180,0) width 16: "12"
+        LayoutText {#text} at (196,0) size 4x19
+          text run at (196,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 16x19
+          LayoutInline {SPAN} at (0,0) size 16x19
+            LayoutInline {<pseudo:before>} at (0,0) size 16x19
+              LayoutCounter (anonymous) at (200,0) size 16x19
+                text run at (200,0) width 16: "12"
+        LayoutText {#text} at (216,0) size 4x19
+          text run at (216,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 16x19
+          LayoutInline {SPAN} at (0,0) size 16x19
+            LayoutInline {<pseudo:before>} at (0,0) size 16x19
+              LayoutCounter (anonymous) at (220,0) size 16x19
+                text run at (220,0) width 16: "12"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 236x19
@@ -132,7 +132,7 @@
           text run at (108,0) width 12: "9 "
           text run at (120,0) width 20: "10 "
           text run at (140,0) width 20: "11 "
-          text run at (159,0) width 21: "12 "
-          text run at (179,0) width 21: "12 "
-          text run at (199,0) width 21: "12 "
-          text run at (219,0) width 17: "12"
+          text run at (160,0) width 20: "12 "
+          text run at (180,0) width 20: "12 "
+          text run at (200,0) width 20: "12 "
+          text run at (220,0) width 16: "12"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-01-d-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-01-d-expected.png
index 9864ee6..c4174a68 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-01-d-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-01-d-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-01-d-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-01-d-expected.txt
index e9bbd969..d1d941e0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-01-d-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1204-order-01-d-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x191
     LayoutBlockFlow {BODY} at (8,16) size 784x167
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 727x19
-          text run at (0,0) width 406: "You should see nine boxes below, each just containing a unique "
-          text run at (405,0) width 322: "multiple of eleven, from 11 to 99, and nothing else."
+        LayoutText {#text} at (0,0) size 726x19
+          text run at (0,0) width 404: "You should see nine boxes below, each just containing a unique "
+          text run at (404,0) width 322: "multiple of eleven, from 11 to 99, and nothing else."
       LayoutBlockFlow {UL} at (0,36) size 784x131
         LayoutBlockFlow {LI} at (0,0) size 50x22 [border: (1px solid #000000)]
           LayoutInline {<pseudo:before>} at (0,0) size 8x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-00-b-expected.png
index a264af9..40ae3e6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-00-b-expected.txt
index 79095223..4ff5468 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-00-b-expected.txt
@@ -59,4 +59,4 @@
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 99x19
           text run at (0,0) width 51: "122111 "
-          text run at (50,0) width 49: "133331"
+          text run at (51,0) width 48: "133331"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-01-c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-01-c-expected.png
index b5c5833..739f40c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-01-c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-01-c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-01-c-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-01-c-expected.txt
index 0647203..4903bf3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-01-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t120401-scope-01-c-expected.txt
@@ -103,15 +103,15 @@
                 text run at (421,0) width 12: "A"
               LayoutCounter (anonymous) at (433,0) size 28x19
                 text run at (433,0) width 28: "2.11"
-              LayoutTextFragment (anonymous) at (460,0) size 6x19
-                text run at (460,0) width 6: "-"
-          LayoutInline {<pseudo:after>} at (0,0) size 26x19
-            LayoutTextFragment (anonymous) at (465,0) size 13x19
-              text run at (465,0) width 13: "A"
-            LayoutCounter (anonymous) at (477,0) size 9x19
-              text run at (477,0) width 9: "3"
-            LayoutTextFragment (anonymous) at (485,0) size 6x19
-              text run at (485,0) width 6: "-"
+              LayoutTextFragment (anonymous) at (461,0) size 5x19
+                text run at (461,0) width 5: "-"
+          LayoutInline {<pseudo:after>} at (0,0) size 25x19
+            LayoutTextFragment (anonymous) at (466,0) size 12x19
+              text run at (466,0) width 12: "A"
+            LayoutCounter (anonymous) at (478,0) size 8x19
+              text run at (478,0) width 8: "3"
+            LayoutTextFragment (anonymous) at (486,0) size 5x19
+              text run at (486,0) width 5: "-"
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 491x19
           text run at (0,0) width 491: "B1-B2-B2.1-B2.2-A2.3-B2.4-A2.5-A2.6-B2.7-B2.8-A2.9-A2.10-A2.11-A3-"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c561-list-displ-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c561-list-displ-00-b-expected.png
index 07b71e8..d8aa6333 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c561-list-displ-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c561-list-displ-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c561-list-displ-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c561-list-displ-00-b-expected.txt
index c2acb10e..1caa65a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c561-list-displ-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c561-list-displ-00-b-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x220
     LayoutBlockFlow {BODY} at (8,16) size 784x196
       LayoutBlockFlow {P} at (0,0) size 784x20 [color=#000080]
-        LayoutText {#text} at (0,0) size 756x19
-          text run at (0,0) width 756: "There should be eight numbered lines below, all identical except for the numbering, which should match the description."
+        LayoutText {#text} at (0,0) size 755x19
+          text run at (0,0) width 755: "There should be eight numbered lines below, all identical except for the numbering, which should match the description."
       LayoutListItem {DIV} at (0,36) size 784x20 [color=#000080]
         LayoutListMarker (anonymous) at (0,0) size 16x19: "1"
         LayoutText {#text} at (16,0) size 151x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c565-list-pos-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c565-list-pos-00-b-expected.png
index 798c136e..7f109628 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c565-list-pos-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c565-list-pos-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c565-list-pos-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c565-list-pos-00-b-expected.txt
index a315b1f1..38f3a10 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c565-list-pos-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c565-list-pos-00-b-expected.txt
@@ -12,11 +12,11 @@
           LayoutInline {SPAN} at (0,0) size 12x19 [color=#000080]
             LayoutText {#text} at (0,0) size 12x19
               text run at (0,0) width 12: "1."
-          LayoutText {#text} at (12,0) size 30x19
-            text run at (12,0) width 30: " Test"
+          LayoutText {#text} at (12,0) size 29x19
+            text run at (12,0) width 29: " Test"
       LayoutBlockFlow {OL} at (80,57.59) size 160x20 [color=#000080] [bgcolor=#000080]
         LayoutListItem {LI} at (0,0) size 160x20
           LayoutListMarker (anonymous) at (0,0) size 16x19: "1"
-          LayoutInline {SPAN} at (0,0) size 26x19 [color=#FFFFFF]
-            LayoutText {#text} at (16,0) size 26x19
-              text run at (16,0) width 26: "Test"
+          LayoutInline {SPAN} at (0,0) size 25x19 [color=#FFFFFF]
+            LayoutText {#text} at (16,0) size 25x19
+              text run at (16,0) width 25: "Test"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c566-list-stl-00-e-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c566-list-stl-00-e-ag-expected.png
index fa35a01..27a34be 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c566-list-stl-00-e-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c566-list-stl-00-e-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c566-list-stl-00-e-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c566-list-stl-00-e-ag-expected.txt
index 9a599ec..1775289 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c566-list-stl-00-e-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1205-c566-list-stl-00-e-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x118
     LayoutBlockFlow {BODY} at (8,16) size 784x87
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 192x19
-          text run at (0,0) width 192: "There should be no red below."
+        LayoutText {#text} at (0,0) size 191x19
+          text run at (0,0) width 191: "There should be no red below."
       LayoutBlockFlow {UL} at (75,36) size 96x51 [color=#00FF00] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutListItem {LI} at (3,3) size 90x45
           LayoutListMarker (anonymous) at (0,0) size 45x15: "A"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-00-b-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-00-b-ag-expected.png
index 876a2f59..03994bdc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-00-b-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-00-b-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-00-b-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-00-b-ag-expected.txt
index dc5f948..a06289f0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-00-b-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-00-b-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x291
     LayoutBlockFlow {BODY} at (8,16) size 784x267
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 237x19
-          text run at (0,0) width 237: "There should be a green block below."
+        LayoutText {#text} at (0,0) size 236x19
+          text run at (0,0) width 236: "There should be a green block below."
       LayoutBlockFlow {DIV} at (0,36) size 156x231 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutBlockFlow {DIV} at (3,3) size 150x75
           LayoutText {#text} at (0,0) size 150x75
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-01-b-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-01-b-ag-expected.png
index 876a2f59..03994bdc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-01-b-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-01-b-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-01-b-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-01-b-ag-expected.txt
index 2da870e..aaa8d0c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-01-b-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgre-01-b-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x291
     LayoutBlockFlow {BODY} at (8,16) size 784x267
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 237x19
-          text run at (0,0) width 237: "There should be a green block below."
+        LayoutText {#text} at (0,0) size 236x19
+          text run at (0,0) width 236: "There should be a green block below."
       LayoutBlockFlow {DIV} at (0,36) size 156x231 [color=#008000] [bgcolor=#008000] [border: (3px solid #000000)]
         LayoutBlockFlow {DIV} at (3,3) size 150x75
           LayoutText {#text} at (0,0) size 150x75
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-00-c-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-00-c-ag-expected.png
index 147f167..2765668 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-00-c-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-00-c-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-00-c-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-00-c-ag-expected.txt
index e7b4c524..c4c3ddf5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-00-c-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-00-c-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x136
     LayoutBlockFlow {BODY} at (8,16) size 784x112
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 237x19
-          text run at (0,0) width 237: "There should be a green block below."
+        LayoutText {#text} at (0,0) size 236x19
+          text run at (0,0) width 236: "There should be a green block below."
       LayoutBlockFlow {DIV} at (0,36) size 160x76 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutBlockFlow {DIV} at (3,3) size 154x70
           LayoutText {#text} at (0,0) size 154x70
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-01-c-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-01-c-ag-expected.png
index 147f167..2765668 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-01-c-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-01-c-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-01-c-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-01-c-ag-expected.txt
index fd0f29f..8aadf59 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-01-c-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-01-c-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x136
     LayoutBlockFlow {BODY} at (8,16) size 784x112
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 237x19
-          text run at (0,0) width 237: "There should be a green block below."
+        LayoutText {#text} at (0,0) size 236x19
+          text run at (0,0) width 236: "There should be a green block below."
       LayoutBlockFlow {DIV} at (0,36) size 160x76 [color=#008000] [bgcolor=#008000] [border: (3px solid #000000)]
         LayoutBlockFlow {DIV} at (3,3) size 154x70
           LayoutText {#text} at (0,0) size 154x70
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-02-c-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-02-c-ag-expected.png
index a80e3dbb..6b95222 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-02-c-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-02-c-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-02-c-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-02-c-ag-expected.txt
index 19dcf6b..1dd85b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-02-c-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-02-c-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x136
     LayoutBlockFlow {BODY} at (8,16) size 784x112
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 237x19
-          text run at (0,0) width 237: "There should be a green block below."
+        LayoutText {#text} at (0,0) size 236x19
+          text run at (0,0) width 236: "There should be a green block below."
       LayoutBlockFlow {DIV} at (0,36) size 160x76 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutBlockFlow {DIV} at (3,3) size 154x70
           LayoutText {#text} at (0,0) size 154x70
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-03-c-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-03-c-ag-expected.png
index 147f167..2765668 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-03-c-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-03-c-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-03-c-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-03-c-ag-expected.txt
index ae78048..1631bb011 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-03-c-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-03-c-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x136
     LayoutBlockFlow {BODY} at (8,16) size 784x112
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 237x19
-          text run at (0,0) width 237: "There should be a green block below."
+        LayoutText {#text} at (0,0) size 236x19
+          text run at (0,0) width 236: "There should be a green block below."
       LayoutBlockFlow {DIV} at (0,36) size 160x76 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutBlockFlow {DIV} at (3,3) size 154x70
           LayoutText {#text} at (0,0) size 154x70
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-04-c-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-04-c-ag-expected.png
index 147f167..2765668 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-04-c-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-04-c-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-04-c-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-04-c-ag-expected.txt
index 2e0c0704..ad886aa85 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-04-c-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-04-c-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x136
     LayoutBlockFlow {BODY} at (8,16) size 784x112
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 237x19
-          text run at (0,0) width 237: "There should be a green block below."
+        LayoutText {#text} at (0,0) size 236x19
+          text run at (0,0) width 236: "There should be a green block below."
       LayoutBlockFlow {DIV} at (0,36) size 160x76 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutBlockFlow {DIV} at (3,3) size 154x70
           LayoutText {#text} at (0,0) size 154x70
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-05-c-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-05-c-ag-expected.png
index 147f167..2765668 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-05-c-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-05-c-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-05-c-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-05-c-ag-expected.txt
index 29457d13..bfeb677 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-05-c-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c534-bgreps-05-c-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x136
     LayoutBlockFlow {BODY} at (8,16) size 784x112
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 237x19
-          text run at (0,0) width 237: "There should be a green block below."
+        LayoutText {#text} at (0,0) size 236x19
+          text run at (0,0) width 236: "There should be a green block below."
       LayoutBlockFlow {DIV} at (0,36) size 160x76 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutBlockFlow {DIV} at (3,3) size 154x70
           LayoutText {#text} at (0,0) size 154x70
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png
index bf93671c..e38ccb5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c537-bgfxps-00-c-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c537-bgfxps-00-c-ag-expected.txt
index 47970e9e..c9814ba5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c537-bgfxps-00-c-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t140201-c537-bgfxps-00-c-ag-expected.txt
@@ -17,7 +17,7 @@
           text run at (0,0) width 396: "Scroll this document. A line of blue should remain stuck at the "
           text run at (396,0) width 368: "top of the viewport the whole time, and there should be no"
           text run at (0,20) width 24: "red "
-          text run at (24,20) width 178: "below, just a block of green."
+          text run at (24,20) width 177: "below, just a block of green."
       LayoutBlockFlow {DIV} at (30,164) size 165x75 [color=#008000] [bgcolor=#008000]
         LayoutText {#text} at (0,0) size 165x75
           text run at (0,0) width 165: "          X"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1503-c522-font-family-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1503-c522-font-family-00-b-expected.txt
index 5198c8f..22325ac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1503-c522-font-family-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1503-c522-font-family-00-b-expected.txt
@@ -17,8 +17,8 @@
           LayoutText {#text} at (0,0) size 308x23
             text run at (0,0) width 308: "This sentence should be in a cursive font."
         LayoutBlockFlow {P} at (0,82) size 784x20 [color=#000080]
-          LayoutText {#text} at (0,0) size 268x20
-            text run at (0,0) width 268: "This sentence should be in a fantasy font."
+          LayoutText {#text} at (0,0) size 267x20
+            text run at (0,0) width 267: "This sentence should be in a fantasy font."
         LayoutBlockFlow {P} at (0,102) size 784x16 [color=#000080]
           LayoutText {#text} at (0,0) size 352x16
             text run at (0,0) width 352: "This sentence should be in a monospace font."
@@ -42,8 +42,8 @@
           LayoutText {#text} at (0,0) size 308x23
             text run at (0,0) width 308: "This sentence should be in a cursive font."
         LayoutBlockFlow {P} at (0,78) size 784x20 [color=#000080]
-          LayoutText {#text} at (0,0) size 268x20
-            text run at (0,0) width 268: "This sentence should be in a fantasy font."
+          LayoutText {#text} at (0,0) size 267x20
+            text run at (0,0) width 267: "This sentence should be in a fantasy font."
         LayoutBlockFlow {P} at (0,98) size 784x16 [color=#000080]
           LayoutText {#text} at (0,0) size 352x16
             text run at (0,0) width 352: "This sentence should be in a monospace font."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-00-b-expected.png
index 34adacf..13cdd6b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-00-b-expected.txt
index bc991e97..c0a4a9dc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-00-b-expected.txt
@@ -39,21 +39,21 @@
       LayoutBlockFlow {P} at (10,208) size 764x21 [color=#000080]
         LayoutText {#text} at (0,0) size 225x20
           text run at (0,0) width 225: "This sentence should be large. "
-        LayoutInline {SPAN} at (0,0) size 254x19
-          LayoutText {#text} at (224,1) size 254x19
-            text run at (224,1) width 254: "This sentence should be back to normal."
+        LayoutInline {SPAN} at (0,0) size 253x19
+          LayoutText {#text} at (225,1) size 253x19
+            text run at (225,1) width 253: "This sentence should be back to normal."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (10,239) size 764x28 [color=#000080]
         LayoutText {#text} at (0,0) size 362x27
           text run at (0,0) width 362: "This sentence should be rather large. "
-        LayoutInline {SPAN} at (0,0) size 254x19
-          LayoutText {#text} at (361,6) size 254x19
-            text run at (361,6) width 254: "This sentence should be back to normal."
+        LayoutInline {SPAN} at (0,0) size 253x19
+          LayoutText {#text} at (362,6) size 253x19
+            text run at (362,6) width 253: "This sentence should be back to normal."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (10,277) size 764x37 [color=#000080]
         LayoutText {#text} at (0,0) size 458x36
           text run at (0,0) width 458: "This sentence should be very large. "
-        LayoutInline {SPAN} at (0,0) size 254x19
-          LayoutText {#text} at (457,13) size 254x19
-            text run at (457,13) width 254: "This sentence should be back to normal."
+        LayoutInline {SPAN} at (0,0) size 253x19
+          LayoutText {#text} at (458,13) size 253x19
+            text run at (458,13) width 253: "This sentence should be back to normal."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-01-b-a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-01-b-a-expected.png
index b20e450..a46332ad 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-01-b-a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-01-b-a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-01-b-a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-01-b-a-expected.txt
index 984bfc1..49c5a58 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-01-b-a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-01-b-a-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x348
     LayoutBlockFlow {BODY} at (8,16) size 784x324
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 471x19
-          text run at (0,0) width 471: "There should be a solid single uninterrupted smooth column of blue below."
+        LayoutText {#text} at (0,0) size 470x19
+          text run at (0,0) width 470: "There should be a solid single uninterrupted smooth column of blue below."
       LayoutBlockFlow {DIV} at (96,36) size 592x48 [color=#000080]
         LayoutText {#text} at (0,0) size 48x48
           text run at (0,0) width 48: "x"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-02-b-a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-02-b-a-expected.png
index eca189a..ea6c93b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-02-b-a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-02-b-a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-02-b-a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-02-b-a-expected.txt
index edd7967..f436bb51 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-02-b-a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1507-c526-font-sz-02-b-a-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x156
     LayoutBlockFlow {BODY} at (8,16) size 784x132
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 471x19
-          text run at (0,0) width 471: "There should be a solid single uninterrupted smooth column of blue below."
+        LayoutText {#text} at (0,0) size 470x19
+          text run at (0,0) width 470: "There should be a solid single uninterrupted smooth column of blue below."
       LayoutBlockFlow {DIV} at (0,36) size 784x96 [color=#000080]
         LayoutBlockFlow {DIV} at (0,0) size 784x32
           LayoutText {#text} at (0,0) size 32x32
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-00-b-expected.png
index 90fe5bd3..c2c48d7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-00-b-expected.txt
index b64aa9fe..350e404 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-00-b-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x106
     LayoutBlockFlow {BODY} at (8,13) size 784x80 [color=#000080]
       LayoutBlockFlow {P} at (0,0) size 784x80
-        LayoutText {#text} at (0,0) size 636x16
-          text run at (0,0) width 636: "This text should be 13px Helvetica in small-caps and italicized. There should be a small gap between each line. "
+        LayoutText {#text} at (0,0) size 637x16
+          text run at (0,0) width 637: "This text should be 13px Helvetica in small-caps and italicized. There should be a small gap between each line. "
         LayoutInline {SPAN} at (0,0) size 784x80 [color=#C0C0C0]
-          LayoutText {#text} at (635,0) size 784x80
-            text run at (635,0) width 133: "dummy text dummy text"
+          LayoutText {#text} at (637,0) size 784x80
+            text run at (637,0) width 132: "dummy text dummy text"
             text run at (0,16) width 244: "dummy text dummy text dummy text dummy "
             text run at (244,16) width 408: "text dummy text dummy text dummy text dummy text dummy text dummy "
             text run at (652,16) width 132: "text dummy text dummy"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-04-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-04-b-expected.png
index fee85ef..c4d6746 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-04-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-04-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-04-b-expected.txt
index 7f89b7e..87eaf13 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-04-b-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x252
     LayoutBlockFlow {BODY} at (8,18) size 784x216 [color=#000080]
       LayoutBlockFlow {P} at (0,0) size 784x216
-        LayoutText {#text} at (0,3) size 784x48
-          text run at (0,3) width 784: "This text should be 18px sans-serif, in small-caps, italicized, and very bold. There should be a 9px"
-          text run at (0,30) width 184: "gap between each line. "
-        LayoutInline {SPAN} at (0,0) size 739x183 [color=#C0C0C0]
-          LayoutText {#text} at (184,30) size 739x183
-            text run at (184,30) width 519: "dummy text dummy text dummy text dummy text dummy text dummy "
-            text run at (703,30) width 34: "text"
+        LayoutText {#text} at (0,3) size 752x48
+          text run at (0,3) width 752: "This text should be 18px sans-serif, in small-caps, italicized, and very bold. There should be a"
+          text run at (0,30) width 217: "9px gap between each line. "
+        LayoutInline {SPAN} at (0,0) size 770x183 [color=#C0C0C0]
+          LayoutText {#text} at (217,30) size 770x183
+            text run at (217,30) width 519: "dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (736,30) width 34: "text"
             text run at (0,57) width 519: "dummy text dummy text dummy text dummy text dummy text dummy "
             text run at (519,57) width 220: "text dummy text dummy text"
             text run at (0,84) width 333: "dummy text dummy text dummy text dummy "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-05-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-05-b-expected.png
index 705e828..fa337833 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-05-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-05-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-05-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-05-b-expected.txt
index 75229244..c06e463 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-05-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-05-b-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x468
     LayoutBlockFlow {BODY} at (8,18) size 784x432 [color=#000080]
       LayoutBlockFlow {P} at (0,0) size 784x432
-        LayoutText {#text} at (0,16) size 748x76
-          text run at (0,16) width 748: "This text should be 18px sans-serif, in small-caps, italicized, and very light. There should be a"
+        LayoutText {#text} at (0,16) size 749x76
+          text run at (0,16) width 749: "This text should be 18px sans-serif, in small-caps, italicized, and very light. There should be a"
           text run at (0,70) width 226: "36px gap between each line. "
         LayoutInline {SPAN} at (0,0) size 779x346 [color=#C0C0C0]
           LayoutText {#text} at (226,70) size 779x346
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-07-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-07-b-expected.png
index bfe9a34e..f3cc995 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-07-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-07-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-07-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-07-b-expected.txt
index b5d32d7..3d230f7e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-07-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-07-b-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x672
         LayoutText {#text} at (0,37) size 735x118
           text run at (0,37) width 735: "This text should be 18px sans-serif, in small-caps and italicized. The lines should be one inch"
-          text run at (0,133) width 53: "apart. "
+          text run at (0,133) width 54: "apart. "
         LayoutInline {SPAN} at (0,0) size 778x502 [color=#C0C0C0]
-          LayoutText {#text} at (52,133) size 778x502
-            text run at (52,133) width 520: "dummy text dummy text dummy text dummy text dummy text dummy "
-            text run at (571,133) width 182: "text dummy text dummy"
+          LayoutText {#text} at (54,133) size 778x502
+            text run at (54,133) width 519: "dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (573,133) width 181: "text dummy text dummy"
             text run at (0,229) width 372: "text dummy text dummy text dummy text dummy "
             text run at (372,229) width 406: "text dummy text dummy text dummy text dummy text"
             text run at (0,325) width 147: "dummy text dummy "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-10-c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-10-c-expected.png
index 86a3fa32..c52586f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-10-c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-10-c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-10-c-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-10-c-expected.txt
index 37d9dce6..6d16c59 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-10-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1508-c527-font-10-c-expected.txt
@@ -5,14 +5,14 @@
     LayoutBlockFlow {BODY} at (8,18) size 784x432
       LayoutBlockFlow {P} at (0,0) size 784x432
         LayoutInline {SPAN} at (0,0) size 778x400 [color=#FFFFFF] [bgcolor=#000080]
-          LayoutText {#text} at (0,16) size 748x76
+          LayoutText {#text} at (0,16) size 749x76
             text run at (0,16) width 486: "This text should be 18px sans-serif, in small-caps, italicized, "
-            text run at (485,16) width 263: "and very light. There should be a"
+            text run at (486,16) width 263: "and very light. There should be a"
             text run at (0,70) width 251: "36px gap betwen each line. The "
             text run at (251,70) width 452: "text should have a blue background, the gap should not. "
           LayoutInline {SPAN} at (0,0) size 778x346 [color=#0000FF]
-            LayoutText {#text} at (702,70) size 778x346
-              text run at (702,70) width 50: "dummy"
+            LayoutText {#text} at (703,70) size 778x346
+              text run at (703,70) width 49: "dummy"
               text run at (0,124) width 465: "text dummy text dummy text dummy text dummy text dummy "
               text run at (465,124) width 313: "text dummy text dummy text dummy text"
               text run at (0,178) width 240: "dummy text dummy text dummy "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-00-b-a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-00-b-a-expected.png
index 7e3daaf..976b819 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-00-b-a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-00-b-a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-00-b-a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-00-b-a-expected.txt
index 1422a600..7f53e7e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-00-b-a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-00-b-a-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x300
     LayoutBlockFlow {BODY} at (8,16) size 784x276
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 379x19
-          text run at (0,0) width 379: "There should be a tall solid unbroken column of blue below."
+        LayoutText {#text} at (0,0) size 378x19
+          text run at (0,0) width 378: "There should be a tall solid unbroken column of blue below."
       LayoutBlockFlow {DIV} at (0,36) size 432x24 [color=#0000FF]
         LayoutText {#text} at (0,0) size 48x24
           text run at (0,0) width 48: " x"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-01-d-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-01-d-expected.png
index 70c2a4e..5014daa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-01-d-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-01-d-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-01-d-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-01-d-expected.txt
index 2d570ce..f1c25e0e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-01-d-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1601-c547-indent-01-d-expected.txt
@@ -8,7 +8,7 @@
           text run at (392,0) width 359: "The first line of this sentence should be indented halfway"
           text run at (0,20) width 66: "across the "
           text run at (66,20) width 415: "page, but the rest of it should be flush with the normal left margin "
-          text run at (480,20) width 75: "of the page."
+          text run at (481,20) width 74: "of the page."
       LayoutBlockFlow {P} at (0,56) size 784x80 [bgcolor=#00FFFF]
         LayoutText {#text} at (80,0) size 211x19
           text run at (80,0) width 211: "Only the first line of this sentence"
@@ -22,11 +22,11 @@
         LayoutInline {EM} at (0,0) size 113x19
           LayoutText {#text} at (0,60) size 113x19
             text run at (0,60) width 113: "aligned on the left"
-        LayoutText {#text} at (113,60) size 99x19
-          text run at (113,60) width 99: " of the window."
+        LayoutText {#text} at (113,60) size 98x19
+          text run at (113,60) width 98: " of the window."
       LayoutBlockFlow {DIV} at (0,152) size 196x80 [bgcolor=#00FFFF]
         LayoutText {#text} at (392,0) size 404x79
           text run at (392,0) width 12: "X"
           text run at (0,20) width 169: "The X on the previous line"
           text run at (0,40) width 184: "should be centered across the"
-          text run at (0,60) width 55: "window."
+          text run at (0,60) width 54: "window."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1602-c546-txt-align-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1602-c546-txt-align-00-b-expected.png
index df06f65..656ea67 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1602-c546-txt-align-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1602-c546-txt-align-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1602-c546-txt-align-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1602-c546-txt-align-00-b-expected.txt
index 2c2aefb8..74ecfd5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1602-c546-txt-align-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1602-c546-txt-align-00-b-expected.txt
@@ -15,10 +15,10 @@
       LayoutBlockFlow {P} at (0,108) size 784x280 [color=#000080]
         LayoutText {#text} at (0,0) size 496x19
           text run at (0,0) width 392: "This paragraph should be justified (the right and left margins "
-          text run at (391,0) width 105: "should line up). "
+          text run at (392,0) width 104: "should line up). "
         LayoutInline {SPAN} at (0,0) size 784x279 [color=#C0C0C0]
-          LayoutText {#text} at (495,0) size 784x279
-            text run at (495,0) width 289: "This is just lovely dummy text. Dummy text."
+          LayoutText {#text} at (496,0) size 784x279
+            text run at (496,0) width 288: "This is just lovely dummy text. Dummy text."
             text run at (0,20) width 56: "Dummy "
             text run at (56,20) width 529: "text. This is just lovely dummy text. This is just lovely dummy text. Dummy text. "
             text run at (585,20) width 199: "This is just lovely dummy text."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1605-c545-txttrans-00-b-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1605-c545-txttrans-00-b-ag-expected.png
index fad780c..1b4f389 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1605-c545-txttrans-00-b-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1605-c545-txttrans-00-b-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt
index bccb80c3..6c6409b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x192
     LayoutBlockFlow {BODY} at (8,8) size 784x176
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 226x19
-          text run at (0,0) width 226: "There should be a green box below."
+        LayoutText {#text} at (0,0) size 225x19
+          text run at (0,0) width 225: "There should be a green box below."
       LayoutBlockFlow {DIV} at (0,20) size 326x156 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutBlockFlow {P} at (3,3) size 320x30
           LayoutText {#text} at (0,0) size 230x10
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1606-c562-white-sp-00-b-ag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1606-c562-white-sp-00-b-ag-expected.png
index 10139f1f..cea5268 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1606-c562-white-sp-00-b-ag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1606-c562-white-sp-00-b-ag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1606-c562-white-sp-00-b-ag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1606-c562-white-sp-00-b-ag-expected.txt
index 564eeb6..f223858 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1606-c562-white-sp-00-b-ag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css2.1/t1606-c562-white-sp-00-b-ag-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x156
     LayoutBlockFlow {BODY} at (8,16) size 784x132
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 278x19
-          text run at (0,0) width 278: "There should be a single green block below."
+        LayoutText {#text} at (0,0) size 277x19
+          text run at (0,0) width 277: "There should be a single green block below."
       LayoutBlockFlow {DIV} at (0,36) size 231x96 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
         LayoutBlockFlow {P} at (3,3) size 225x45
           LayoutText {#text} at (0,0) size 165x45
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-35-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-35-expected.png
index e6e546f..f76410e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-35-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-35-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-35-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-35-expected.txt
index 83bdfae0..5c99207 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-35-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-35-expected.txt
@@ -5,14 +5,14 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x128
       LayoutBlockFlow {DIV} at (0,0) size 784x128
         LayoutBlockFlow {ADDRESS} at (16,0) size 768x20
-          LayoutText {#text} at (0,0) size 251x19
-            text run at (0,0) width 251: "A first address with normal background"
+          LayoutText {#text} at (0,0) size 252x19
+            text run at (0,0) width 252: "A first address with normal background"
         LayoutBlockFlow {ADDRESS} at (16,36) size 768x20
-          LayoutText {#text} at (0,0) size 271x19
-            text run at (0,0) width 271: "A second address with normal background"
+          LayoutText {#text} at (0,0) size 272x19
+            text run at (0,0) width 272: "A second address with normal background"
         LayoutBlockFlow {ADDRESS} at (16,72) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 335x19
-            text run at (0,0) width 335: "A third address that should have a green background"
+          LayoutText {#text} at (0,0) size 337x19
+            text run at (0,0) width 337: "A third address that should have a green background"
         LayoutBlockFlow (anonymous) at (0,108) size 784x20
           LayoutText {#text} at (0,0) size 314x19
             text run at (0,0) width 314: "This div contains 3 addresses above this sentence."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-37-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-37-expected.png
index c3146f5..ce0ee5a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-37-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-37-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-37-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-37-expected.txt
index 3870c95a..00a166f0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-37-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/css3-modsel-37-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 302x19
             text run at (0,0) width 302: "This paragraph should have normal background"
         LayoutBlockFlow {ADDRESS} at (0,36) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 300x19
-            text run at (0,0) width 300: "But this address should have green background"
+          LayoutText {#text} at (0,0) size 301x19
+            text run at (0,0) width 301: "But this address should have green background"
         LayoutBlockFlow {P} at (0,72) size 784x20
           LayoutText {#text} at (0,0) size 302x19
             text run at (0,0) width 302: "This paragraph should have normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/flexbox/button-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/flexbox/button-expected.png
index 2ac90c9..9a26a1dd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/flexbox/button-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/flexbox/button-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/flexbox/flexbox-baseline-margins-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/flexbox/flexbox-baseline-margins-expected.png
index dd9dade..c6f9bed 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/flexbox/flexbox-baseline-margins-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/flexbox/flexbox-baseline-margins-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/font-feature-settings-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/font-feature-settings-rendering-expected.png
index c3d047ed..4b66317 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/font-feature-settings-rendering-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/font-feature-settings-rendering-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/font-feature-settings-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/font-feature-settings-rendering-expected.txt
index b5eaa85..443ea9ddd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/font-feature-settings-rendering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/font-feature-settings-rendering-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 780x39
-          text run at (0,0) width 241: "Test for font-feature-settings property. "
-          text run at (240,0) width 540: "The first word of the following three words should be displayed like \"WebKit\", while"
+        LayoutText {#text} at (0,0) size 777x39
+          text run at (0,0) width 239: "Test for font-feature-settings property. "
+          text run at (239,0) width 538: "The first word of the following three words should be displayed like \"WebKit\", while"
           text run at (0,20) width 267: "others should be displayed as black boxes."
       LayoutBlockFlow {DIV} at (0,56) size 784x17
         LayoutText {#text} at (0,0) size 30x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-13-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-13-expected.png
index b7cde7f..57bf87c91 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-13-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-13-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-13-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-13-expected.txt
index 2933d14..7dd208a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-13-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-13-expected.txt
@@ -14,8 +14,8 @@
             text run at (0,0) width 429: "This list item should have green background because its class is \"t2\""
         LayoutListItem {LI} at (40,40) size 744x20 [bgcolor=#00FF00]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {SPAN} at (0,0) size 597x19
-            LayoutText {#text} at (0,0) size 597x19
+          LayoutInline {SPAN} at (0,0) size 595x19
+            LayoutText {#text} at (0,0) size 595x19
               text run at (0,0) width 337: "This list item should have green background because "
-              text run at (337,0) width 260: "the inner SPAN does not match SPAN.t3"
+              text run at (337,0) width 258: "the inner SPAN does not match SPAN.t3"
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-14c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-14c-expected.png
index a4d2327..9280a20 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-14c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-14c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-14e-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-14e-expected.png
index a4d2327..9280a20 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-14e-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-14e-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-15-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-15-expected.png
index ca551ab..8beb09f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-15-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-15-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-15-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-15-expected.txt
index 96a4449..f0b7e3c8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-15-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-15-expected.txt
@@ -14,6 +14,6 @@
             text run at (0,0) width 431: "This list item should have a green background. because its ID is \"t2\""
         LayoutListItem {LI} at (40,40) size 744x20 [bgcolor=#00FF00]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {SPAN} at (0,0) size 589x19
-            LayoutText {#text} at (0,0) size 589x19
-              text run at (0,0) width 589: "This list item should have a green background. because the inner SPAN does not match \"#t4\""
+          LayoutInline {SPAN} at (0,0) size 588x19
+            LayoutText {#text} at (0,0) size 588x19
+              text run at (0,0) width 588: "This list item should have a green background. because the inner SPAN does not match \"#t4\""
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-159-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-159-expected.png
index 7bdd9ca..84c0aa9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-159-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-159-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168-expected.png
index 6b610a4..9ebb2de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168-expected.txt
index 91a118f..955b8b1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168-expected.txt
@@ -6,12 +6,12 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 82x19
           text run at (0,0) width 82: "This test has "
-        LayoutInline {SPAN} at (0,0) size 60x19
-          LayoutInline {<pseudo:before>} at (0,0) size 60x19 [bgcolor=#00FF00]
-            LayoutTextFragment (anonymous) at (82,0) size 60x19
-              text run at (82,0) width 60: "PASSED"
-        LayoutText {#text} at (141,0) size 5x19
-          text run at (141,0) width 5: "."
+        LayoutInline {SPAN} at (0,0) size 59x19
+          LayoutInline {<pseudo:before>} at (0,0) size 59x19 [bgcolor=#00FF00]
+            LayoutTextFragment (anonymous) at (82,0) size 59x19
+              text run at (82,0) width 59: "PASSED"
+        LayoutText {#text} at (141,0) size 4x19
+          text run at (141,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 445x19
           text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168a-expected.png
index 6b610a4..9ebb2de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168a-expected.txt
index 91a118f..955b8b1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-168a-expected.txt
@@ -6,12 +6,12 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 82x19
           text run at (0,0) width 82: "This test has "
-        LayoutInline {SPAN} at (0,0) size 60x19
-          LayoutInline {<pseudo:before>} at (0,0) size 60x19 [bgcolor=#00FF00]
-            LayoutTextFragment (anonymous) at (82,0) size 60x19
-              text run at (82,0) width 60: "PASSED"
-        LayoutText {#text} at (141,0) size 5x19
-          text run at (141,0) width 5: "."
+        LayoutInline {SPAN} at (0,0) size 59x19
+          LayoutInline {<pseudo:before>} at (0,0) size 59x19 [bgcolor=#00FF00]
+            LayoutTextFragment (anonymous) at (82,0) size 59x19
+              text run at (82,0) width 59: "PASSED"
+        LayoutText {#text} at (141,0) size 4x19
+          text run at (141,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 445x19
           text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169-expected.png
index 6b610a4..9ebb2de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169-expected.txt
index 055d65f..3cd9b8fe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169-expected.txt
@@ -6,12 +6,12 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 82x19
           text run at (0,0) width 82: "This test has "
-        LayoutInline {SPAN} at (0,0) size 60x19
-          LayoutInline {<pseudo:after>} at (0,0) size 60x19 [bgcolor=#00FF00]
-            LayoutTextFragment (anonymous) at (82,0) size 60x19
-              text run at (82,0) width 60: "PASSED"
-        LayoutText {#text} at (141,0) size 5x19
-          text run at (141,0) width 5: "."
+        LayoutInline {SPAN} at (0,0) size 59x19
+          LayoutInline {<pseudo:after>} at (0,0) size 59x19 [bgcolor=#00FF00]
+            LayoutTextFragment (anonymous) at (82,0) size 59x19
+              text run at (82,0) width 59: "PASSED"
+        LayoutText {#text} at (141,0) size 4x19
+          text run at (141,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 445x19
           text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169a-expected.png
index 6b610a4..9ebb2de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169a-expected.txt
index 055d65f..3cd9b8fe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-169a-expected.txt
@@ -6,12 +6,12 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 82x19
           text run at (0,0) width 82: "This test has "
-        LayoutInline {SPAN} at (0,0) size 60x19
-          LayoutInline {<pseudo:after>} at (0,0) size 60x19 [bgcolor=#00FF00]
-            LayoutTextFragment (anonymous) at (82,0) size 60x19
-              text run at (82,0) width 60: "PASSED"
-        LayoutText {#text} at (141,0) size 5x19
-          text run at (141,0) width 5: "."
+        LayoutInline {SPAN} at (0,0) size 59x19
+          LayoutInline {<pseudo:after>} at (0,0) size 59x19 [bgcolor=#00FF00]
+            LayoutTextFragment (anonymous) at (82,0) size 59x19
+              text run at (82,0) width 59: "PASSED"
+        LayoutText {#text} at (141,0) size 4x19
+          text run at (141,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 445x19
           text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-17-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-17-expected.png
index 2d95de0..54a72f1f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-17-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-17-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18-expected.png
index e84791e..f29b31ee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18-expected.txt
index f97476cc..45f91be 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18-expected.txt
@@ -10,27 +10,27 @@
         LayoutInline {STRONG} at (0,0) size 30x19
           LayoutText {#text} at (674,0) size 30x19
             text run at (674,0) width 30: "here"
-        LayoutText {#text} at (703,0) size 744x39
-          text run at (703,0) width 41: ") or its"
+        LayoutText {#text} at (704,0) size 744x39
+          text run at (704,0) width 40: ") or its"
           text run at (0,20) width 157: "whitespace background, "
         LayoutInline {STRONG} at (0,0) size 30x19
           LayoutText {#text} at (157,20) size 30x19
             text run at (157,20) width 30: "here"
-        LayoutText {#text} at (186,20) size 5x19
-          text run at (186,20) width 5: ":"
+        LayoutText {#text} at (187,20) size 4x19
+          text run at (187,20) width 4: ":"
       LayoutBlockFlow {ADDRESS} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 161x19
           text run at (0,0) width 161: "The background color of "
-        LayoutInline {A} at (0,0) size 115x19 [color=#0000EE]
-          LayoutText {#text} at (160,0) size 81x19
-            text run at (160,0) width 81: "this anchor ("
-          LayoutInline {STRONG} at (0,0) size 30x19
-            LayoutText {#text} at (240,0) size 30x19
-              text run at (240,0) width 30: "here"
-          LayoutText {#text} at (269,0) size 6x19
-            text run at (269,0) width 6: ")"
-        LayoutText {#text} at (274,0) size 387x19
-          text run at (274,0) width 387: " should turn to green when the pointing device hovers over it."
+        LayoutInline {A} at (0,0) size 114x19 [color=#0000EE]
+          LayoutText {#text} at (161,0) size 80x19
+            text run at (161,0) width 80: "this anchor ("
+          LayoutInline {STRONG} at (0,0) size 29x19
+            LayoutText {#text} at (241,0) size 29x19
+              text run at (241,0) width 29: "here"
+          LayoutText {#text} at (270,0) size 5x19
+            text run at (270,0) width 5: ")"
+        LayoutText {#text} at (275,0) size 387x19
+          text run at (275,0) width 387: " should turn to green when the pointing device hovers over it."
       LayoutTable {TABLE} at (0,76) size 278x194
         LayoutTableSection {TBODY} at (0,0) size 278x194
           LayoutTableRow {TR} at (0,5) size 278x22
@@ -63,8 +63,8 @@
               LayoutInline {STRONG} at (0,0) size 30x19
                 LayoutText {#text} at (41,1) size 30x19
                   text run at (41,1) width 30: "here"
-              LayoutText {#text} at (70,1) size 10x19
-                text run at (70,1) width 10: ")."
+              LayoutText {#text} at (71,1) size 9x19
+                text run at (71,1) width 9: ")."
             LayoutTableCell {TD} at (174,69) size 99x2 [r=2 c=2 rs=1 cs=1]
           LayoutTableRow {TR} at (0,86) size 278x22
             LayoutTableCell {TD} at (5,86) size 78x22 [r=3 c=0 rs=1 cs=1]
@@ -96,8 +96,8 @@
               LayoutInline {STRONG} at (0,0) size 35x19
                 LayoutText {#text} at (33,1) size 35x19
                   text run at (33,1) width 35: "there"
-              LayoutText {#text} at (67,1) size 5x19
-                text run at (67,1) width 5: ":"
+              LayoutText {#text} at (68,1) size 4x19
+                text run at (68,1) width 4: ":"
             LayoutTableCell {TD} at (174,150) size 99x2 [r=5 c=2 rs=1 cs=1]
           LayoutTableRow {TR} at (0,167) size 278x22
             LayoutTableCell {TD} at (5,167) size 78x22 [r=6 c=0 rs=1 cs=1]
@@ -106,8 +106,8 @@
               LayoutInline {STRONG} at (0,0) size 30x19
                 LayoutText {#text} at (33,1) size 30x19
                   text run at (33,1) width 30: "here"
-              LayoutText {#text} at (62,1) size 5x19
-                text run at (62,1) width 5: ":"
+              LayoutText {#text} at (63,1) size 4x19
+                text run at (63,1) width 4: ":"
             LayoutTableCell {TD} at (88,177) size 81x2 [r=6 c=1 rs=1 cs=1]
             LayoutTableCell {TD} at (174,167) size 99x22 [r=6 c=2 rs=1 cs=1]
               LayoutText {#text} at (1,1) size 81x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18a-expected.png
index 9b8c217..6a8bb86 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18a-expected.txt
index b52dd81..a1d8a018 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18a-expected.txt
@@ -12,10 +12,10 @@
           LayoutInline {STRONG} at (0,0) size 30x19
             LayoutText {#text} at (239,0) size 30x19
               text run at (239,0) width 30: "here"
-          LayoutText {#text} at (268,0) size 6x19
-            text run at (268,0) width 6: ")"
-        LayoutText {#text} at (273,0) size 388x19
-          text run at (273,0) width 388: " should turn to green when the pointing device hovers over it."
+          LayoutText {#text} at (269,0) size 5x19
+            text run at (269,0) width 5: ")"
+        LayoutText {#text} at (274,0) size 387x19
+          text run at (274,0) width 387: " should turn to green when the pointing device hovers over it."
       LayoutBlockFlow {P} at (0,36) size 784x20 [color=#000080]
         LayoutText {#text} at (0,0) size 161x19
           text run at (0,0) width 161: "The background color of "
@@ -25,15 +25,15 @@
           LayoutInline {STRONG} at (0,0) size 30x19
             LayoutText {#text} at (239,0) size 30x19
               text run at (239,0) width 30: "here"
-          LayoutText {#text} at (268,0) size 6x19
-            text run at (268,0) width 6: ")"
-        LayoutText {#text} at (273,0) size 51x19
-          text run at (273,0) width 51: " should "
-        LayoutInline {STRONG} at (0,0) size 217x19
-          LayoutText {#text} at (323,0) size 217x19
-            text run at (323,0) width 217: "remain green when you hover it"
-        LayoutText {#text} at (539,0) size 5x19
-          text run at (539,0) width 5: "."
+          LayoutText {#text} at (269,0) size 5x19
+            text run at (269,0) width 5: ")"
+        LayoutText {#text} at (274,0) size 50x19
+          text run at (274,0) width 50: " should "
+        LayoutInline {STRONG} at (0,0) size 216x19
+          LayoutText {#text} at (324,0) size 216x19
+            text run at (324,0) width 216: "remain green when you hover it"
+        LayoutText {#text} at (540,0) size 4x19
+          text run at (540,0) width 4: "."
       LayoutBlockFlow {P} at (0,72) size 784x40 [color=#000080]
         LayoutText {#text} at (0,0) size 161x19
           text run at (0,0) width 161: "The background color of "
@@ -43,13 +43,13 @@
           LayoutInline {STRONG} at (0,0) size 30x19
             LayoutText {#text} at (239,0) size 30x19
               text run at (239,0) width 30: "here"
-          LayoutText {#text} at (268,0) size 6x19
-            text run at (268,0) width 6: ")"
-        LayoutText {#text} at (273,0) size 51x19
-          text run at (273,0) width 51: " should "
-        LayoutInline {STRONG} at (0,0) size 359x19
-          LayoutText {#text} at (323,0) size 359x19
-            text run at (323,0) width 359: "remain green when the pointing device hovers over it"
-        LayoutText {#text} at (681,0) size 776x39
-          text run at (681,0) width 95: " (do not follow"
+          LayoutText {#text} at (269,0) size 5x19
+            text run at (269,0) width 5: ")"
+        LayoutText {#text} at (274,0) size 50x19
+          text run at (274,0) width 50: " should "
+        LayoutInline {STRONG} at (0,0) size 358x19
+          LayoutText {#text} at (324,0) size 358x19
+            text run at (324,0) width 358: "remain green when the pointing device hovers over it"
+        LayoutText {#text} at (682,0) size 776x39
+          text run at (682,0) width 94: " (do not follow"
           text run at (0,20) width 60: "that link)."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18c-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18c-expected.txt
index 93e31bd..ef4c9b3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-18c-expected.txt
@@ -10,10 +10,10 @@
           LayoutInline {STRONG} at (0,0) size 30x19
             LayoutText {#text} at (44,0) size 30x19
               text run at (44,0) width 30: "here"
-          LayoutText {#text} at (73,0) size 151x19
-            text run at (73,0) width 151: " and the background of "
-          LayoutInline {SPAN} at (0,0) size 155x19
-            LayoutText {#text} at (223,0) size 155x19
-              text run at (223,0) width 155: "this text should go green"
-          LayoutText {#text} at (377,0) size 5x19
-            text run at (377,0) width 5: "."
+          LayoutText {#text} at (74,0) size 150x19
+            text run at (74,0) width 150: " and the background of "
+          LayoutInline {SPAN} at (0,0) size 154x19
+            LayoutText {#text} at (224,0) size 154x19
+              text run at (224,0) width 154: "this text should go green"
+          LayoutText {#text} at (378,0) size 4x19
+            text run at (378,0) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-2-expected.png
index 2582b9b..7370e210 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-2-expected.txt
deleted file mode 100644
index b5d44f1..0000000
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-2-expected.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x36
-  LayoutBlockFlow {HTML} at (0,0) size 800x36
-    LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutBlockFlow {ADDRESS} at (0,0) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 348x19
-          text run at (0,0) width 348: "This address element should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-22-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-22-expected.png
index 89e06d0..08ce5d9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-22-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-22-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-22-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-22-expected.txt
index 7f93f81..df54c79 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-22-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-22-expected.txt
@@ -11,9 +11,9 @@
             text run at (336,0) width 94: "British English"
         LayoutListItem {LI} at (40,20) size 744x20 [bgcolor=#00FF00]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (0,0) size 482x19
+          LayoutText {#text} at (0,0) size 481x19
             text run at (0,0) width 322: "This list item should be green because its language "
-            text run at (322,0) width 160: "is British English (Wales)"
+            text run at (322,0) width 159: "is British English (Wales)"
       LayoutBlockFlow {OL} at (0,56) size 784x40
         LayoutListItem {LI} at (40,0) size 744x20
           LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-30-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-30-expected.png
index 8b65416..992d9ce3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-30-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-30-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-31-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-31-expected.png
index e350151..6572a76 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-31-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-31-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-31-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-31-expected.txt
index a62c54ec..c0437b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-31-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-31-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 293x19
           text run at (0,0) width 293: "This paragraph should have green background"
       LayoutBlockFlow {ADDRESS} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 332x19
-          text run at (0,0) width 332: "But this address is here only to fill space in the dom.."
+        LayoutText {#text} at (0,0) size 333x19
+          text run at (0,0) width 333: "But this address is here only to fill space in the dom.."
       LayoutBlockFlow {P} at (0,72) size 784x20
         LayoutText {#text} at (0,0) size 152x19
           text run at (0,0) width 152: "So does this paragraph !"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-34-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-34-expected.png
index 241ad98..f0373514 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-34-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-34-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-34-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-34-expected.txt
index 838e60ed..eaf19b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-34-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-34-expected.txt
@@ -8,11 +8,11 @@
           LayoutText {#text} at (0,0) size 188x19
             text run at (0,0) width 188: "This div contains 3 addresses:"
         LayoutBlockFlow {ADDRESS} at (16,20) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 330x19
-            text run at (0,0) width 330: "A first address that should have a green background"
+          LayoutText {#text} at (0,0) size 331x19
+            text run at (0,0) width 331: "A first address that should have a green background"
         LayoutBlockFlow {ADDRESS} at (16,56) size 768x20
-          LayoutText {#text} at (0,0) size 271x19
-            text run at (0,0) width 271: "A second address with normal background"
+          LayoutText {#text} at (0,0) size 272x19
+            text run at (0,0) width 272: "A second address with normal background"
         LayoutBlockFlow {ADDRESS} at (16,92) size 768x20
-          LayoutText {#text} at (0,0) size 257x19
-            text run at (0,0) width 257: "A third address with normal background"
+          LayoutText {#text} at (0,0) size 258x19
+            text run at (0,0) width 258: "A third address with normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-35-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-35-expected.png
index e6e546f..f76410e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-35-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-35-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-35-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-35-expected.txt
index 83bdfae0..5c99207 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-35-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-35-expected.txt
@@ -5,14 +5,14 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x128
       LayoutBlockFlow {DIV} at (0,0) size 784x128
         LayoutBlockFlow {ADDRESS} at (16,0) size 768x20
-          LayoutText {#text} at (0,0) size 251x19
-            text run at (0,0) width 251: "A first address with normal background"
+          LayoutText {#text} at (0,0) size 252x19
+            text run at (0,0) width 252: "A first address with normal background"
         LayoutBlockFlow {ADDRESS} at (16,36) size 768x20
-          LayoutText {#text} at (0,0) size 271x19
-            text run at (0,0) width 271: "A second address with normal background"
+          LayoutText {#text} at (0,0) size 272x19
+            text run at (0,0) width 272: "A second address with normal background"
         LayoutBlockFlow {ADDRESS} at (16,72) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 335x19
-            text run at (0,0) width 335: "A third address that should have a green background"
+          LayoutText {#text} at (0,0) size 337x19
+            text run at (0,0) width 337: "A third address that should have a green background"
         LayoutBlockFlow (anonymous) at (0,108) size 784x20
           LayoutText {#text} at (0,0) size 314x19
             text run at (0,0) width 314: "This div contains 3 addresses above this sentence."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-37-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-37-expected.png
index c3146f5..ce0ee5a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-37-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-37-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-37-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-37-expected.txt
index 3870c95a..00a166f0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-37-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-37-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 302x19
             text run at (0,0) width 302: "This paragraph should have normal background"
         LayoutBlockFlow {ADDRESS} at (0,36) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 300x19
-            text run at (0,0) width 300: "But this address should have green background"
+          LayoutText {#text} at (0,0) size 301x19
+            text run at (0,0) width 301: "But this address should have green background"
         LayoutBlockFlow {P} at (0,72) size 784x20
           LayoutText {#text} at (0,0) size 302x19
             text run at (0,0) width 302: "This paragraph should have normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39a-expected.png
index 803866c..e7d16a44 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39a-expected.txt
index f630f37..4d47efc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39a-expected.txt
@@ -10,8 +10,8 @@
               text run at (0,0) width 20: "T"
           LayoutTextFragment (anonymous) at (0,0) size 0x0
         LayoutText {#text} at (20,13) size 779x243
-          text run at (20,13) width 387: "his very long paragraph should have a big green first letter T. "
-          text run at (406,13) width 345: "Dummy text. Dummy text. Dummy text. Dummy text."
+          text run at (20,13) width 386: "his very long paragraph should have a big green first letter T. "
+          text run at (406,13) width 344: "Dummy text. Dummy text. Dummy text. Dummy text."
           text run at (0,37) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
           text run at (0,57) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
           text run at (0,77) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39c-expected.png
index 803866c..e7d16a44 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39c-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39c-expected.txt
index 7e1dec99e..a743b87 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-39c-expected.txt
@@ -10,7 +10,7 @@
               text run at (0,0) width 20: "T"
           LayoutTextFragment (anonymous) at (0,0) size 0x0
         LayoutText {#text} at (20,13) size 779x243
-          text run at (20,13) width 731: "his very long paragraph should have a big green first letter T. Dummy text. Dummy text. Dummy text. Dummy text."
+          text run at (20,13) width 730: "his very long paragraph should have a big green first letter T. Dummy text. Dummy text. Dummy text. Dummy text."
           text run at (0,37) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
           text run at (0,57) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
           text run at (0,77) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41-expected.png
index af7fc35..78f7714 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41-expected.txt
index dd7d810..24da676 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x72
     LayoutBlockFlow {BODY} at (8,16) size 784x40
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutInline {<pseudo:before>} at (0,0) size 183x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (0,0) size 183x19
-            text run at (0,0) width 183: "GENERATED CONTENT "
-        LayoutText {#text} at (182,0) size 735x39
-          text run at (182,0) width 553: "You should see before this paragraph the words GENERATED CONTENT over green"
+        LayoutInline {<pseudo:before>} at (0,0) size 182x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (0,0) size 182x19
+            text run at (0,0) width 182: "GENERATED CONTENT "
+        LayoutText {#text} at (182,0) size 734x39
+          text run at (182,0) width 552: "You should see before this paragraph the words GENERATED CONTENT over green"
           text run at (0,20) width 75: "background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41a-expected.png
index af7fc35..78f7714 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41a-expected.txt
index dd7d810..24da676 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-41a-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x72
     LayoutBlockFlow {BODY} at (8,16) size 784x40
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutInline {<pseudo:before>} at (0,0) size 183x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (0,0) size 183x19
-            text run at (0,0) width 183: "GENERATED CONTENT "
-        LayoutText {#text} at (182,0) size 735x39
-          text run at (182,0) width 553: "You should see before this paragraph the words GENERATED CONTENT over green"
+        LayoutInline {<pseudo:before>} at (0,0) size 182x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (0,0) size 182x19
+            text run at (0,0) width 182: "GENERATED CONTENT "
+        LayoutText {#text} at (182,0) size 734x39
+          text run at (182,0) width 552: "You should see before this paragraph the words GENERATED CONTENT over green"
           text run at (0,20) width 75: "background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42-expected.png
index 0fe91bcf..5ec7714 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42-expected.txt
index 1c87edcd..5c7fa77 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x72
     LayoutBlockFlow {BODY} at (8,16) size 784x40
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 620x19
-          text run at (0,0) width 620: "You should see after this paragraph the words GENERATED CONTENT over green background"
-        LayoutInline {<pseudo:after>} at (0,0) size 717x39 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (619,0) size 717x39
-            text run at (619,0) width 98: "GENERATED"
+        LayoutText {#text} at (0,0) size 619x19
+          text run at (0,0) width 619: "You should see after this paragraph the words GENERATED CONTENT over green background"
+        LayoutInline {<pseudo:after>} at (0,0) size 716x39 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (619,0) size 716x39
+            text run at (619,0) width 97: "GENERATED"
             text run at (0,20) width 77: "CONTENT"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42a-expected.png
index 0fe91bcf..5ec7714 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42a-expected.txt
index 1c87edcd..5c7fa77 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-42a-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x72
     LayoutBlockFlow {BODY} at (8,16) size 784x40
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 620x19
-          text run at (0,0) width 620: "You should see after this paragraph the words GENERATED CONTENT over green background"
-        LayoutInline {<pseudo:after>} at (0,0) size 717x39 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (619,0) size 717x39
-            text run at (619,0) width 98: "GENERATED"
+        LayoutText {#text} at (0,0) size 619x19
+          text run at (0,0) width 619: "You should see after this paragraph the words GENERATED CONTENT over green background"
+        LayoutInline {<pseudo:after>} at (0,0) size 716x39 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (619,0) size 716x39
+            text run at (619,0) width 97: "GENERATED"
             text run at (0,20) width 77: "CONTENT"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45-expected.png
index b3f7eea..dba39371 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45-expected.txt
index d76db36..e294e498 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 323x19
             text run at (0,0) width 323: "And this one should also have a green background."
         LayoutBlockFlow {ADDRESS} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 434x19
-            text run at (0,0) width 434: "This address is only here to fill some space between two paragraphs."
+          LayoutText {#text} at (0,0) size 435x19
+            text run at (0,0) width 435: "This address is only here to fill some space between two paragraphs."
         LayoutBlockFlow {P} at (0,144) size 784x20
           LayoutText {#text} at (0,0) size 221x19
             text run at (0,0) width 221: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45b-expected.png
index 66d12b43..45e8e0c9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45b-expected.txt
index 04a9de7..2806e4b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-45b-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 236x19
             text run at (0,0) width 236: "And this one should also be unstyled."
         LayoutBlockFlow {ADDRESS} at (0,108) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 673x19
-            text run at (0,0) width 673: "This address is only here to fill some space between two paragraphs and should have a green background."
+          LayoutText {#text} at (0,0) size 675x19
+            text run at (0,0) width 675: "This address is only here to fill some space between two paragraphs and should have a green background."
         LayoutBlockFlow {P} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 332x19
             text run at (0,0) width 332: "This paragraph should have a green background too."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46-expected.png
index b0c0e21a..c83b744 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46-expected.txt
index a12169c..daafc46 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 319x19
             text run at (0,0) width 319: "And this one should also have a green background"
         LayoutBlockFlow {ADDRESS} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 430x19
-            text run at (0,0) width 430: "This address is only here to fill some space between two paragraphs"
+          LayoutText {#text} at (0,0) size 431x19
+            text run at (0,0) width 431: "This address is only here to fill some space between two paragraphs"
         LayoutBlockFlow {P} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 304x19
             text run at (0,0) width 304: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46b-expected.png
index b0c0e21a..c83b744 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46b-expected.txt
index a12169c..daafc46 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-46b-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 319x19
             text run at (0,0) width 319: "And this one should also have a green background"
         LayoutBlockFlow {ADDRESS} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 430x19
-            text run at (0,0) width 430: "This address is only here to fill some space between two paragraphs"
+          LayoutText {#text} at (0,0) size 431x19
+            text run at (0,0) width 431: "This address is only here to fill some space between two paragraphs"
         LayoutBlockFlow {P} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 304x19
             text run at (0,0) width 304: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-6-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-6-expected.png
index 6c2849f..655931e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-6-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-6-expected.txt
deleted file mode 100644
index bcb35da6..0000000
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-6-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x36
-  LayoutBlockFlow {HTML} at (0,0) size 800x36
-    LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutBlockFlow {ADDRESS} at (0,0) size 784x20 [bgcolor=#00FF00]
-        LayoutInline {SPAN} at (0,0) size 104x19
-          LayoutText {#text} at (0,0) size 104x19
-            text run at (0,0) width 104: "This line should "
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutInline {SPAN} at (0,0) size 165x19
-          LayoutText {#text} at (104,0) size 165x19
-            text run at (104,0) width 165: "have a green background."
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-7-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-7-expected.png
index 680bf73..0af8130a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-7-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-7-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-7-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-7-expected.txt
index 3faa3d7..2abd4aa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-7-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-7-expected.txt
@@ -11,10 +11,10 @@
         LayoutInline {SPAN} at (0,0) size 156x19
           LayoutText {#text} at (0,0) size 156x19
             text run at (0,0) width 156: "This address should also"
-        LayoutText {#text} at (155,0) size 5x19
-          text run at (155,0) width 5: " "
+        LayoutText {#text} at (156,0) size 4x19
+          text run at (156,0) width 4: " "
         LayoutInline {SPAN} at (0,0) size 598x19
-          LayoutText {#text} at (159,0) size 598x19
-            text run at (159,0) width 350: "have green background because the selector in the last "
-            text run at (508,0) width 249: "rule does not apply to the inner SPANs."
+          LayoutText {#text} at (160,0) size 598x19
+            text run at (160,0) width 350: "have green background because the selector in the last "
+            text run at (510,0) width 248: "rule does not apply to the inner SPANs."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-75-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-75-expected.png
index 2f9bc2d..6e023cdd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-75-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-75-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-75b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-75b-expected.png
index 2f9bc2d..6e023cdd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-75b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-75b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-76-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-76-expected.png
index a508c321..1306651e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-76-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-76-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-76b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-76b-expected.png
index a508c321..1306651e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-76b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-76b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-79-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-79-expected.png
index 7bcf94b7..b10a1904 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-79-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-79-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-79-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-79-expected.txt
index 77b32ed..72d5371 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-79-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-79-expected.txt
@@ -8,11 +8,11 @@
           LayoutText {#text} at (0,0) size 192x19
             text run at (0,0) width 192: "This div contains 3 addresses :"
         LayoutBlockFlow {ADDRESS} at (16,20) size 768x20
-          LayoutText {#text} at (0,0) size 251x19
-            text run at (0,0) width 251: "A first address with normal background"
+          LayoutText {#text} at (0,0) size 252x19
+            text run at (0,0) width 252: "A first address with normal background"
         LayoutBlockFlow {ADDRESS} at (16,56) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 350x19
-            text run at (0,0) width 350: "A second address that should have a green background"
+          LayoutText {#text} at (0,0) size 351x19
+            text run at (0,0) width 351: "A second address that should have a green background"
         LayoutBlockFlow {ADDRESS} at (16,92) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 335x19
-            text run at (0,0) width 335: "A third address that should have a green background"
+          LayoutText {#text} at (0,0) size 337x19
+            text run at (0,0) width 337: "A third address that should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-8-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-8-expected.png
index 4f2c3c8..b94336e1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-8-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-8-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-8-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-8-expected.txt
index fe478c0..c165edb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-8-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-8-expected.txt
@@ -10,10 +10,10 @@
         LayoutInline {SPAN} at (0,0) size 156x19
           LayoutText {#text} at (0,0) size 156x19
             text run at (0,0) width 156: "This address should also"
-        LayoutText {#text} at (155,0) size 5x19
-          text run at (155,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 505x19
-          LayoutText {#text} at (159,0) size 505x19
-            text run at (159,0) width 418: "have green background because the language of the inner SPANs "
-            text run at (576,0) width 88: "is not French."
+        LayoutText {#text} at (156,0) size 4x19
+          text run at (156,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 506x19
+          LayoutText {#text} at (160,0) size 506x19
+            text run at (160,0) width 418: "have green background because the language of the inner SPANs "
+            text run at (578,0) width 88: "is not French."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-80-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-80-expected.png
index 378470e..66a9ef8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-80-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-80-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-80-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-80-expected.txt
index bc7ac2ee..452bd2b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-80-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-80-expected.txt
@@ -5,14 +5,14 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x128
       LayoutBlockFlow {DIV} at (0,0) size 784x128
         LayoutBlockFlow {ADDRESS} at (16,0) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 330x19
-            text run at (0,0) width 330: "A first address that should have a green background"
+          LayoutText {#text} at (0,0) size 331x19
+            text run at (0,0) width 331: "A first address that should have a green background"
         LayoutBlockFlow {ADDRESS} at (16,36) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 350x19
-            text run at (0,0) width 350: "A second address that should have a green background"
+          LayoutText {#text} at (0,0) size 351x19
+            text run at (0,0) width 351: "A second address that should have a green background"
         LayoutBlockFlow {ADDRESS} at (16,72) size 768x20
-          LayoutText {#text} at (0,0) size 257x19
-            text run at (0,0) width 257: "A third address with normal background"
+          LayoutText {#text} at (0,0) size 258x19
+            text run at (0,0) width 258: "A third address with normal background"
         LayoutBlockFlow (anonymous) at (0,108) size 784x20
           LayoutText {#text} at (0,0) size 289x19
             text run at (0,0) width 289: "This div should have three addresses above it."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-82-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-82-expected.png
index 9956da9..f6ce0a2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-82-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-82-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-82b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-82b-expected.png
index 9956da9..f6ce0a2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-82b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/html/css3-modsel-82b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-113-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-113-expected.png
index 1fa1558e..bc4d71a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-113-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-113-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-113b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-113b-expected.png
index 1fa1558e..bc4d71a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-113b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-113b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-114-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-114-expected.png
index 44f9648..73e579b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-114-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-114-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-114b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-114b-expected.png
index 44f9648..73e579b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-114b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-114b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-119-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-119-expected.png
index a62ce8fb..1def6f9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-119-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-119-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-119-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-119-expected.txt
index a5abf92b..7dd4ef5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-119-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-119-expected.txt
@@ -18,8 +18,8 @@
             LayoutText {#text} at (0,0) size 308x19
               text run at (0,0) width 308: "This paragraph should have a green background."
         LayoutBlockFlow {address} at (0,144) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 295x19
-            text run at (0,0) width 295: "This address should have a green background."
+          LayoutText {#text} at (0,0) size 296x19
+            text run at (0,0) width 296: "This address should have a green background."
         LayoutBlockFlow {s} at (0,180) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 308x19
             text run at (0,0) width 308: "This paragraph should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-121-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-121-expected.png
index b51ef20..21080a7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-121-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-121-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-121-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-121-expected.txt
index 29e79af2..3c5f205 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-121-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-121-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {body} at (8,8) size 784x128
       LayoutBlockFlow {div} at (0,0) size 784x128
         LayoutBlockFlow {address} at (0,0) size 784x20 [color=#008000]
-          LayoutText {#text} at (0,0) size 275x19
-            text run at (0,0) width 275: "This address should be in green characters."
+          LayoutText {#text} at (0,0) size 276x19
+            text run at (0,0) width 276: "This address should be in green characters."
         LayoutBlockFlow {s} at (0,36) size 784x20 [color=#008000]
           LayoutText {#text} at (0,0) size 286x19
             text run at (0,0) width 286: "This paragraph should be in green characters."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-122-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-122-expected.png
index cef2f2e..35e2833 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-122-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-122-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-122-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-122-expected.txt
index a1dc4171..48a667c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-122-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-122-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {body} at (8,8) size 784x128
       LayoutBlockFlow {div} at (0,0) size 784x128
         LayoutBlockFlow {address} at (0,0) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 291x19
-            text run at (0,0) width 291: "This address should have a green background"
+          LayoutText {#text} at (0,0) size 292x19
+            text run at (0,0) width 292: "This address should have a green background"
         LayoutBlockFlow {s} at (0,36) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 304x19
             text run at (0,0) width 304: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-123-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-123-expected.png
index 0e3df23..34e92a57 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-123-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-123-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-123-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-123-expected.txt
index db2fdcc4..4310c3b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-123-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-123-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {body} at (8,8) size 784x92
       LayoutBlockFlow {div} at (0,0) size 784x92
         LayoutBlockFlow {address} at (0,0) size 784x20 [color=#008000]
-          LayoutText {#text} at (0,0) size 275x19
-            text run at (0,0) width 275: "This address should be in green characters."
+          LayoutText {#text} at (0,0) size 276x19
+            text run at (0,0) width 276: "This address should be in green characters."
         LayoutBlockFlow {s} at (0,36) size 784x20 [color=#008000]
           LayoutText {#text} at (0,0) size 286x19
             text run at (0,0) width 286: "This paragraph should be in green characters."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-13-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-13-expected.png
index b7cde7f..57bf87c91 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-13-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-13-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-13-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-13-expected.txt
index 46ff5dd..6f81397 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-13-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-13-expected.txt
@@ -14,8 +14,8 @@
             text run at (0,0) width 429: "This list item should have green background because its class is \"t2\""
         LayoutListItem {li} at (40,40) size 744x20 [bgcolor=#00FF00]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {span} at (0,0) size 597x19
-            LayoutText {#text} at (0,0) size 597x19
+          LayoutInline {span} at (0,0) size 595x19
+            LayoutText {#text} at (0,0) size 595x19
               text run at (0,0) width 337: "This list item should have green background because "
-              text run at (337,0) width 260: "the inner SPAN does not match SPAN.t3"
+              text run at (337,0) width 258: "the inner SPAN does not match SPAN.t3"
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139-expected.png
index 92390d5..998cfcb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139-expected.txt
index a57cfcf4..7b03878 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 221x19
             text run at (0,0) width 221: "This paragraph should be unstyled."
         LayoutBlockFlow {address} at (0,36) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 295x19
-            text run at (0,0) width 295: "This address should have a green background."
+          LayoutText {#text} at (0,0) size 296x19
+            text run at (0,0) width 296: "This address should have a green background."
         LayoutBlockFlow {q} at (0,72) size 784x20
           LayoutText {#text} at (0,0) size 221x19
             text run at (0,0) width 221: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139b-expected.png
index 92390d5..998cfcb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139b-expected.txt
index a57cfcf4..7b03878 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-139b-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 221x19
             text run at (0,0) width 221: "This paragraph should be unstyled."
         LayoutBlockFlow {address} at (0,36) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 295x19
-            text run at (0,0) width 295: "This address should have a green background."
+          LayoutText {#text} at (0,0) size 296x19
+            text run at (0,0) width 296: "This address should have a green background."
         LayoutBlockFlow {q} at (0,72) size 784x20
           LayoutText {#text} at (0,0) size 221x19
             text run at (0,0) width 221: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140-expected.png
index 98699fc..9f9625c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140-expected.txt
index 3d53a85d..bb3d723 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140-expected.txt
@@ -8,11 +8,11 @@
           LayoutText {#text} at (0,0) size 221x19
             text run at (0,0) width 221: "This paragraph should be unstyled."
         LayoutBlockFlow {address} at (0,36) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 295x19
-            text run at (0,0) width 295: "This address should have a green background."
+          LayoutText {#text} at (0,0) size 296x19
+            text run at (0,0) width 296: "This address should have a green background."
         LayoutBlockFlow {address} at (0,72) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 295x19
-            text run at (0,0) width 295: "This address should have a green background."
+          LayoutText {#text} at (0,0) size 296x19
+            text run at (0,0) width 296: "This address should have a green background."
         LayoutBlockFlow {q} at (0,108) size 784x20
           LayoutText {#text} at (0,0) size 221x19
             text run at (0,0) width 221: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140b-expected.png
index 98699fc..9f9625c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140b-expected.txt
index 3d53a85d..bb3d723 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-140b-expected.txt
@@ -8,11 +8,11 @@
           LayoutText {#text} at (0,0) size 221x19
             text run at (0,0) width 221: "This paragraph should be unstyled."
         LayoutBlockFlow {address} at (0,36) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 295x19
-            text run at (0,0) width 295: "This address should have a green background."
+          LayoutText {#text} at (0,0) size 296x19
+            text run at (0,0) width 296: "This address should have a green background."
         LayoutBlockFlow {address} at (0,72) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 295x19
-            text run at (0,0) width 295: "This address should have a green background."
+          LayoutText {#text} at (0,0) size 296x19
+            text run at (0,0) width 296: "This address should have a green background."
         LayoutBlockFlow {q} at (0,108) size 784x20
           LayoutText {#text} at (0,0) size 221x19
             text run at (0,0) width 221: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-14c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-14c-expected.png
index a4d2327..9280a20 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-14c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-14c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-14e-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-14e-expected.png
index a4d2327..9280a20 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-14e-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-14e-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-15-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-15-expected.png
index ca551ab..8beb09f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-15-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-15-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-15-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-15-expected.txt
index cb52e3b..5536caf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-15-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-15-expected.txt
@@ -14,6 +14,6 @@
             text run at (0,0) width 431: "This list item should have a green background. because its ID is \"t2\""
         LayoutListItem {li} at (40,40) size 744x20 [bgcolor=#00FF00]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {span} at (0,0) size 589x19
-            LayoutText {#text} at (0,0) size 589x19
-              text run at (0,0) width 589: "This list item should have a green background. because the inner SPAN does not match \"#t4\""
+          LayoutInline {span} at (0,0) size 588x19
+            LayoutText {#text} at (0,0) size 588x19
+              text run at (0,0) width 588: "This list item should have a green background. because the inner SPAN does not match \"#t4\""
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-159-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-159-expected.png
index 7bdd9ca..84c0aa9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-159-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-159-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168-expected.png
index 6b610a4..9ebb2de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168-expected.txt
index dd22d57..2eaeb50a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168-expected.txt
@@ -6,12 +6,12 @@
       LayoutBlockFlow {p} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 82x19
           text run at (0,0) width 82: "This test has "
-        LayoutInline {span} at (0,0) size 60x19
-          LayoutInline {<pseudo:before>} at (0,0) size 60x19 [bgcolor=#00FF00]
-            LayoutTextFragment (anonymous) at (82,0) size 60x19
-              text run at (82,0) width 60: "PASSED"
-        LayoutText {#text} at (141,0) size 5x19
-          text run at (141,0) width 5: "."
+        LayoutInline {span} at (0,0) size 59x19
+          LayoutInline {<pseudo:before>} at (0,0) size 59x19 [bgcolor=#00FF00]
+            LayoutTextFragment (anonymous) at (82,0) size 59x19
+              text run at (82,0) width 59: "PASSED"
+        LayoutText {#text} at (141,0) size 4x19
+          text run at (141,0) width 4: "."
       LayoutBlockFlow {p} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 445x19
           text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168a-expected.png
index 6b610a4..9ebb2de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168a-expected.txt
index dd22d57..2eaeb50a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-168a-expected.txt
@@ -6,12 +6,12 @@
       LayoutBlockFlow {p} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 82x19
           text run at (0,0) width 82: "This test has "
-        LayoutInline {span} at (0,0) size 60x19
-          LayoutInline {<pseudo:before>} at (0,0) size 60x19 [bgcolor=#00FF00]
-            LayoutTextFragment (anonymous) at (82,0) size 60x19
-              text run at (82,0) width 60: "PASSED"
-        LayoutText {#text} at (141,0) size 5x19
-          text run at (141,0) width 5: "."
+        LayoutInline {span} at (0,0) size 59x19
+          LayoutInline {<pseudo:before>} at (0,0) size 59x19 [bgcolor=#00FF00]
+            LayoutTextFragment (anonymous) at (82,0) size 59x19
+              text run at (82,0) width 59: "PASSED"
+        LayoutText {#text} at (141,0) size 4x19
+          text run at (141,0) width 4: "."
       LayoutBlockFlow {p} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 445x19
           text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169-expected.png
index 6b610a4..9ebb2de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169-expected.txt
index 8d6a9cd..7cabc39 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169-expected.txt
@@ -6,12 +6,12 @@
       LayoutBlockFlow {p} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 82x19
           text run at (0,0) width 82: "This test has "
-        LayoutInline {span} at (0,0) size 60x19
-          LayoutInline {<pseudo:after>} at (0,0) size 60x19 [bgcolor=#00FF00]
-            LayoutTextFragment (anonymous) at (82,0) size 60x19
-              text run at (82,0) width 60: "PASSED"
-        LayoutText {#text} at (141,0) size 5x19
-          text run at (141,0) width 5: "."
+        LayoutInline {span} at (0,0) size 59x19
+          LayoutInline {<pseudo:after>} at (0,0) size 59x19 [bgcolor=#00FF00]
+            LayoutTextFragment (anonymous) at (82,0) size 59x19
+              text run at (82,0) width 59: "PASSED"
+        LayoutText {#text} at (141,0) size 4x19
+          text run at (141,0) width 4: "."
       LayoutBlockFlow {p} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 445x19
           text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169a-expected.png
index 6b610a4..9ebb2de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169a-expected.txt
index 8d6a9cd..7cabc39 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-169a-expected.txt
@@ -6,12 +6,12 @@
       LayoutBlockFlow {p} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 82x19
           text run at (0,0) width 82: "This test has "
-        LayoutInline {span} at (0,0) size 60x19
-          LayoutInline {<pseudo:after>} at (0,0) size 60x19 [bgcolor=#00FF00]
-            LayoutTextFragment (anonymous) at (82,0) size 60x19
-              text run at (82,0) width 60: "PASSED"
-        LayoutText {#text} at (141,0) size 5x19
-          text run at (141,0) width 5: "."
+        LayoutInline {span} at (0,0) size 59x19
+          LayoutInline {<pseudo:after>} at (0,0) size 59x19 [bgcolor=#00FF00]
+            LayoutTextFragment (anonymous) at (82,0) size 59x19
+              text run at (82,0) width 59: "PASSED"
+        LayoutText {#text} at (141,0) size 4x19
+          text run at (141,0) width 4: "."
       LayoutBlockFlow {p} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 445x19
           text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-17-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-17-expected.png
index 2d95de0..54a72f1f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-17-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-17-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18-expected.png
index e84791e..f29b31ee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18-expected.txt
index 6ce21d7..f7bbfbe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18-expected.txt
@@ -10,27 +10,27 @@
         LayoutInline {strong} at (0,0) size 30x19
           LayoutText {#text} at (674,0) size 30x19
             text run at (674,0) width 30: "here"
-        LayoutText {#text} at (703,0) size 744x39
-          text run at (703,0) width 41: ") or its"
+        LayoutText {#text} at (704,0) size 744x39
+          text run at (704,0) width 40: ") or its"
           text run at (0,20) width 157: "whitespace background, "
         LayoutInline {strong} at (0,0) size 30x19
           LayoutText {#text} at (157,20) size 30x19
             text run at (157,20) width 30: "here"
-        LayoutText {#text} at (186,20) size 5x19
-          text run at (186,20) width 5: ":"
+        LayoutText {#text} at (187,20) size 4x19
+          text run at (187,20) width 4: ":"
       LayoutBlockFlow {address} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 161x19
           text run at (0,0) width 161: "The background color of "
-        LayoutInline {a} at (0,0) size 115x19 [color=#0000EE]
-          LayoutText {#text} at (160,0) size 81x19
-            text run at (160,0) width 81: "this anchor ("
-          LayoutInline {strong} at (0,0) size 30x19
-            LayoutText {#text} at (240,0) size 30x19
-              text run at (240,0) width 30: "here"
-          LayoutText {#text} at (269,0) size 6x19
-            text run at (269,0) width 6: ")"
-        LayoutText {#text} at (274,0) size 387x19
-          text run at (274,0) width 387: " should turn to green when the pointing device hovers over it."
+        LayoutInline {a} at (0,0) size 114x19 [color=#0000EE]
+          LayoutText {#text} at (161,0) size 80x19
+            text run at (161,0) width 80: "this anchor ("
+          LayoutInline {strong} at (0,0) size 29x19
+            LayoutText {#text} at (241,0) size 29x19
+              text run at (241,0) width 29: "here"
+          LayoutText {#text} at (270,0) size 5x19
+            text run at (270,0) width 5: ")"
+        LayoutText {#text} at (275,0) size 387x19
+          text run at (275,0) width 387: " should turn to green when the pointing device hovers over it."
       LayoutTable {table} at (0,76) size 278x194
         LayoutTableSection {tbody} at (0,0) size 278x194
           LayoutTableRow {tr} at (0,5) size 278x22
@@ -63,8 +63,8 @@
               LayoutInline {strong} at (0,0) size 30x19
                 LayoutText {#text} at (41,1) size 30x19
                   text run at (41,1) width 30: "here"
-              LayoutText {#text} at (70,1) size 10x19
-                text run at (70,1) width 10: ")."
+              LayoutText {#text} at (71,1) size 9x19
+                text run at (71,1) width 9: ")."
             LayoutTableCell {td} at (174,69) size 99x2 [r=2 c=2 rs=1 cs=1]
           LayoutTableRow {tr} at (0,86) size 278x22
             LayoutTableCell {td} at (5,86) size 78x22 [r=3 c=0 rs=1 cs=1]
@@ -96,8 +96,8 @@
               LayoutInline {strong} at (0,0) size 35x19
                 LayoutText {#text} at (33,1) size 35x19
                   text run at (33,1) width 35: "there"
-              LayoutText {#text} at (67,1) size 5x19
-                text run at (67,1) width 5: ":"
+              LayoutText {#text} at (68,1) size 4x19
+                text run at (68,1) width 4: ":"
             LayoutTableCell {td} at (174,150) size 99x2 [r=5 c=2 rs=1 cs=1]
           LayoutTableRow {tr} at (0,167) size 278x22
             LayoutTableCell {td} at (5,167) size 78x22 [r=6 c=0 rs=1 cs=1]
@@ -106,8 +106,8 @@
               LayoutInline {strong} at (0,0) size 30x19
                 LayoutText {#text} at (33,1) size 30x19
                   text run at (33,1) width 30: "here"
-              LayoutText {#text} at (62,1) size 5x19
-                text run at (62,1) width 5: ":"
+              LayoutText {#text} at (63,1) size 4x19
+                text run at (63,1) width 4: ":"
             LayoutTableCell {td} at (88,177) size 81x2 [r=6 c=1 rs=1 cs=1]
             LayoutTableCell {td} at (174,167) size 99x22 [r=6 c=2 rs=1 cs=1]
               LayoutText {#text} at (1,1) size 81x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18a-expected.png
index 9b8c217..6a8bb86 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18a-expected.txt
index cb3e69b..46a4182a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18a-expected.txt
@@ -12,10 +12,10 @@
           LayoutInline {strong} at (0,0) size 30x19
             LayoutText {#text} at (239,0) size 30x19
               text run at (239,0) width 30: "here"
-          LayoutText {#text} at (268,0) size 6x19
-            text run at (268,0) width 6: ")"
-        LayoutText {#text} at (273,0) size 388x19
-          text run at (273,0) width 388: " should turn to green when the pointing device hovers over it."
+          LayoutText {#text} at (269,0) size 5x19
+            text run at (269,0) width 5: ")"
+        LayoutText {#text} at (274,0) size 387x19
+          text run at (274,0) width 387: " should turn to green when the pointing device hovers over it."
       LayoutBlockFlow {p} at (0,36) size 784x20 [color=#000080]
         LayoutText {#text} at (0,0) size 161x19
           text run at (0,0) width 161: "The background color of "
@@ -25,15 +25,15 @@
           LayoutInline {strong} at (0,0) size 30x19
             LayoutText {#text} at (239,0) size 30x19
               text run at (239,0) width 30: "here"
-          LayoutText {#text} at (268,0) size 6x19
-            text run at (268,0) width 6: ")"
-        LayoutText {#text} at (273,0) size 51x19
-          text run at (273,0) width 51: " should "
-        LayoutInline {strong} at (0,0) size 217x19
-          LayoutText {#text} at (323,0) size 217x19
-            text run at (323,0) width 217: "remain green when you hover it"
-        LayoutText {#text} at (539,0) size 5x19
-          text run at (539,0) width 5: "."
+          LayoutText {#text} at (269,0) size 5x19
+            text run at (269,0) width 5: ")"
+        LayoutText {#text} at (274,0) size 50x19
+          text run at (274,0) width 50: " should "
+        LayoutInline {strong} at (0,0) size 216x19
+          LayoutText {#text} at (324,0) size 216x19
+            text run at (324,0) width 216: "remain green when you hover it"
+        LayoutText {#text} at (540,0) size 4x19
+          text run at (540,0) width 4: "."
       LayoutBlockFlow {p} at (0,72) size 784x40 [color=#000080]
         LayoutText {#text} at (0,0) size 161x19
           text run at (0,0) width 161: "The background color of "
@@ -43,13 +43,13 @@
           LayoutInline {strong} at (0,0) size 30x19
             LayoutText {#text} at (239,0) size 30x19
               text run at (239,0) width 30: "here"
-          LayoutText {#text} at (268,0) size 6x19
-            text run at (268,0) width 6: ")"
-        LayoutText {#text} at (273,0) size 51x19
-          text run at (273,0) width 51: " should "
-        LayoutInline {strong} at (0,0) size 359x19
-          LayoutText {#text} at (323,0) size 359x19
-            text run at (323,0) width 359: "remain green when the pointing device hovers over it"
-        LayoutText {#text} at (681,0) size 776x39
-          text run at (681,0) width 95: " (do not follow"
+          LayoutText {#text} at (269,0) size 5x19
+            text run at (269,0) width 5: ")"
+        LayoutText {#text} at (274,0) size 50x19
+          text run at (274,0) width 50: " should "
+        LayoutInline {strong} at (0,0) size 358x19
+          LayoutText {#text} at (324,0) size 358x19
+            text run at (324,0) width 358: "remain green when the pointing device hovers over it"
+        LayoutText {#text} at (682,0) size 776x39
+          text run at (682,0) width 94: " (do not follow"
           text run at (0,20) width 60: "that link)."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18c-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18c-expected.txt
index 842be365..7cdeec09 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-18c-expected.txt
@@ -10,10 +10,10 @@
           LayoutInline {strong} at (0,0) size 30x19
             LayoutText {#text} at (44,0) size 30x19
               text run at (44,0) width 30: "here"
-          LayoutText {#text} at (73,0) size 151x19
-            text run at (73,0) width 151: " and the background of "
-          LayoutInline {span} at (0,0) size 155x19
-            LayoutText {#text} at (223,0) size 155x19
-              text run at (223,0) width 155: "this text should go green"
-          LayoutText {#text} at (377,0) size 5x19
-            text run at (377,0) width 5: "."
+          LayoutText {#text} at (74,0) size 150x19
+            text run at (74,0) width 150: " and the background of "
+          LayoutInline {span} at (0,0) size 154x19
+            LayoutText {#text} at (224,0) size 154x19
+              text run at (224,0) width 154: "this text should go green"
+          LayoutText {#text} at (378,0) size 4x19
+            text run at (378,0) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-2-expected.png
index 2582b9b..7370e210 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-2-expected.txt
deleted file mode 100644
index 9c0fb1e9..0000000
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-2-expected.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x36
-  LayoutBlockFlow {html} at (0,0) size 800x36
-    LayoutBlockFlow {body} at (8,8) size 784x20
-      LayoutBlockFlow {address} at (0,0) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 348x19
-          text run at (0,0) width 348: "This address element should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-22-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-22-expected.png
index 89e06d0..08ce5d9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-22-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-22-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-22-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-22-expected.txt
index b6c2bf7a..e7b04a7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-22-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-22-expected.txt
@@ -11,9 +11,9 @@
             text run at (336,0) width 94: "British English"
         LayoutListItem {li} at (40,20) size 744x20 [bgcolor=#00FF00]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (0,0) size 482x19
+          LayoutText {#text} at (0,0) size 481x19
             text run at (0,0) width 322: "This list item should be green because its language "
-            text run at (322,0) width 160: "is British English (Wales)"
+            text run at (322,0) width 159: "is British English (Wales)"
       LayoutBlockFlow {ol} at (0,56) size 784x40
         LayoutListItem {li} at (40,0) size 744x20
           LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-30-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-30-expected.png
index 8b65416..992d9ce3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-30-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-30-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-31-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-31-expected.png
index e350151..6572a76 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-31-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-31-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-31-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-31-expected.txt
index 55ecacbd..f08e4fd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-31-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-31-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 293x19
           text run at (0,0) width 293: "This paragraph should have green background"
       LayoutBlockFlow {address} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 332x19
-          text run at (0,0) width 332: "But this address is here only to fill space in the dom.."
+        LayoutText {#text} at (0,0) size 333x19
+          text run at (0,0) width 333: "But this address is here only to fill space in the dom.."
       LayoutBlockFlow {p} at (0,72) size 784x20
         LayoutText {#text} at (0,0) size 152x19
           text run at (0,0) width 152: "So does this paragraph !"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-34-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-34-expected.png
index 241ad98..f0373514 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-34-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-34-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-34-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-34-expected.txt
index 99d21db..d415092 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-34-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-34-expected.txt
@@ -8,11 +8,11 @@
           LayoutText {#text} at (0,0) size 188x19
             text run at (0,0) width 188: "This div contains 3 addresses:"
         LayoutBlockFlow {address} at (16,20) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 330x19
-            text run at (0,0) width 330: "A first address that should have a green background"
+          LayoutText {#text} at (0,0) size 331x19
+            text run at (0,0) width 331: "A first address that should have a green background"
         LayoutBlockFlow {address} at (16,56) size 768x20
-          LayoutText {#text} at (0,0) size 271x19
-            text run at (0,0) width 271: "A second address with normal background"
+          LayoutText {#text} at (0,0) size 272x19
+            text run at (0,0) width 272: "A second address with normal background"
         LayoutBlockFlow {address} at (16,92) size 768x20
-          LayoutText {#text} at (0,0) size 257x19
-            text run at (0,0) width 257: "A third address with normal background"
+          LayoutText {#text} at (0,0) size 258x19
+            text run at (0,0) width 258: "A third address with normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-35-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-35-expected.png
index e6e546f..f76410e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-35-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-35-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-35-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-35-expected.txt
index 2d219616..15f6adb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-35-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-35-expected.txt
@@ -5,14 +5,14 @@
     LayoutBlockFlow {body} at (8,8) size 784x128
       LayoutBlockFlow {div} at (0,0) size 784x128
         LayoutBlockFlow {address} at (16,0) size 768x20
-          LayoutText {#text} at (0,0) size 251x19
-            text run at (0,0) width 251: "A first address with normal background"
+          LayoutText {#text} at (0,0) size 252x19
+            text run at (0,0) width 252: "A first address with normal background"
         LayoutBlockFlow {address} at (16,36) size 768x20
-          LayoutText {#text} at (0,0) size 271x19
-            text run at (0,0) width 271: "A second address with normal background"
+          LayoutText {#text} at (0,0) size 272x19
+            text run at (0,0) width 272: "A second address with normal background"
         LayoutBlockFlow {address} at (16,72) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 335x19
-            text run at (0,0) width 335: "A third address that should have a green background"
+          LayoutText {#text} at (0,0) size 337x19
+            text run at (0,0) width 337: "A third address that should have a green background"
         LayoutBlockFlow (anonymous) at (0,108) size 784x20
           LayoutText {#text} at (0,0) size 314x19
             text run at (0,0) width 314: "This div contains 3 addresses above this sentence."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-37-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-37-expected.png
index c3146f5..ce0ee5a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-37-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-37-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-37-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-37-expected.txt
index b8a49e1..2515450 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-37-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-37-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 302x19
             text run at (0,0) width 302: "This paragraph should have normal background"
         LayoutBlockFlow {address} at (0,36) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 300x19
-            text run at (0,0) width 300: "But this address should have green background"
+          LayoutText {#text} at (0,0) size 301x19
+            text run at (0,0) width 301: "But this address should have green background"
         LayoutBlockFlow {p} at (0,72) size 784x20
           LayoutText {#text} at (0,0) size 302x19
             text run at (0,0) width 302: "This paragraph should have normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39a-expected.png
index 803866c..e7d16a44 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39a-expected.txt
index ad46768..6974a4b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39a-expected.txt
@@ -10,8 +10,8 @@
               text run at (0,0) width 20: "T"
           LayoutTextFragment (anonymous) at (0,0) size 0x0
         LayoutText {#text} at (20,13) size 779x243
-          text run at (20,13) width 387: "his very long paragraph should have a big green first letter T. "
-          text run at (406,13) width 345: "Dummy text. Dummy text. Dummy text. Dummy text."
+          text run at (20,13) width 386: "his very long paragraph should have a big green first letter T. "
+          text run at (406,13) width 344: "Dummy text. Dummy text. Dummy text. Dummy text."
           text run at (0,37) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
           text run at (0,57) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
           text run at (0,77) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39c-expected.png
index 803866c..e7d16a44 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39c-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39c-expected.txt
index b479c39d..4d6fbe1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-39c-expected.txt
@@ -10,7 +10,7 @@
               text run at (0,0) width 20: "T"
           LayoutTextFragment (anonymous) at (0,0) size 0x0
         LayoutText {#text} at (20,13) size 779x243
-          text run at (20,13) width 731: "his very long paragraph should have a big green first letter T. Dummy text. Dummy text. Dummy text. Dummy text."
+          text run at (20,13) width 730: "his very long paragraph should have a big green first letter T. Dummy text. Dummy text. Dummy text. Dummy text."
           text run at (0,37) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
           text run at (0,57) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
           text run at (0,77) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41-expected.png
index af7fc35..78f7714 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41-expected.txt
index 53d783f..551f6fbb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {html} at (0,0) size 800x72
     LayoutBlockFlow {body} at (8,16) size 784x40
       LayoutBlockFlow {p} at (0,0) size 784x40
-        LayoutInline {<pseudo:before>} at (0,0) size 183x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (0,0) size 183x19
-            text run at (0,0) width 183: "GENERATED CONTENT "
-        LayoutText {#text} at (182,0) size 735x39
-          text run at (182,0) width 553: "You should see before this paragraph the words GENERATED CONTENT over green"
+        LayoutInline {<pseudo:before>} at (0,0) size 182x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (0,0) size 182x19
+            text run at (0,0) width 182: "GENERATED CONTENT "
+        LayoutText {#text} at (182,0) size 734x39
+          text run at (182,0) width 552: "You should see before this paragraph the words GENERATED CONTENT over green"
           text run at (0,20) width 75: "background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41a-expected.png
index af7fc35..78f7714 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41a-expected.txt
index 53d783f..551f6fbb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-41a-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {html} at (0,0) size 800x72
     LayoutBlockFlow {body} at (8,16) size 784x40
       LayoutBlockFlow {p} at (0,0) size 784x40
-        LayoutInline {<pseudo:before>} at (0,0) size 183x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (0,0) size 183x19
-            text run at (0,0) width 183: "GENERATED CONTENT "
-        LayoutText {#text} at (182,0) size 735x39
-          text run at (182,0) width 553: "You should see before this paragraph the words GENERATED CONTENT over green"
+        LayoutInline {<pseudo:before>} at (0,0) size 182x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (0,0) size 182x19
+            text run at (0,0) width 182: "GENERATED CONTENT "
+        LayoutText {#text} at (182,0) size 734x39
+          text run at (182,0) width 552: "You should see before this paragraph the words GENERATED CONTENT over green"
           text run at (0,20) width 75: "background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42-expected.png
index 0fe91bcf..5ec7714 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42-expected.txt
index 2580e66c..7bd87237 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {html} at (0,0) size 800x72
     LayoutBlockFlow {body} at (8,16) size 784x40
       LayoutBlockFlow {p} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 620x19
-          text run at (0,0) width 620: "You should see after this paragraph the words GENERATED CONTENT over green background"
-        LayoutInline {<pseudo:after>} at (0,0) size 717x39 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (619,0) size 717x39
-            text run at (619,0) width 98: "GENERATED"
+        LayoutText {#text} at (0,0) size 619x19
+          text run at (0,0) width 619: "You should see after this paragraph the words GENERATED CONTENT over green background"
+        LayoutInline {<pseudo:after>} at (0,0) size 716x39 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (619,0) size 716x39
+            text run at (619,0) width 97: "GENERATED"
             text run at (0,20) width 77: "CONTENT"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42a-expected.png
index 0fe91bcf..5ec7714 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42a-expected.txt
index 2580e66c..7bd87237 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-42a-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {html} at (0,0) size 800x72
     LayoutBlockFlow {body} at (8,16) size 784x40
       LayoutBlockFlow {p} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 620x19
-          text run at (0,0) width 620: "You should see after this paragraph the words GENERATED CONTENT over green background"
-        LayoutInline {<pseudo:after>} at (0,0) size 717x39 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (619,0) size 717x39
-            text run at (619,0) width 98: "GENERATED"
+        LayoutText {#text} at (0,0) size 619x19
+          text run at (0,0) width 619: "You should see after this paragraph the words GENERATED CONTENT over green background"
+        LayoutInline {<pseudo:after>} at (0,0) size 716x39 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (619,0) size 716x39
+            text run at (619,0) width 97: "GENERATED"
             text run at (0,20) width 77: "CONTENT"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45-expected.png
index b3f7eea..dba39371 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45-expected.txt
index a0069a1a..a38d032 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 323x19
             text run at (0,0) width 323: "And this one should also have a green background."
         LayoutBlockFlow {address} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 434x19
-            text run at (0,0) width 434: "This address is only here to fill some space between two paragraphs."
+          LayoutText {#text} at (0,0) size 435x19
+            text run at (0,0) width 435: "This address is only here to fill some space between two paragraphs."
         LayoutBlockFlow {p} at (0,144) size 784x20
           LayoutText {#text} at (0,0) size 221x19
             text run at (0,0) width 221: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45b-expected.png
index 66d12b43..45e8e0c9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45b-expected.txt
index def764c..3fc7c5d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-45b-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 236x19
             text run at (0,0) width 236: "And this one should also be unstyled."
         LayoutBlockFlow {address} at (0,108) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 673x19
-            text run at (0,0) width 673: "This address is only here to fill some space between two paragraphs and should have a green background."
+          LayoutText {#text} at (0,0) size 675x19
+            text run at (0,0) width 675: "This address is only here to fill some space between two paragraphs and should have a green background."
         LayoutBlockFlow {p} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 332x19
             text run at (0,0) width 332: "This paragraph should have a green background too."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46-expected.png
index b0c0e21a..c83b744 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46-expected.txt
index bb4f991..b119f62 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 319x19
             text run at (0,0) width 319: "And this one should also have a green background"
         LayoutBlockFlow {address} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 430x19
-            text run at (0,0) width 430: "This address is only here to fill some space between two paragraphs"
+          LayoutText {#text} at (0,0) size 431x19
+            text run at (0,0) width 431: "This address is only here to fill some space between two paragraphs"
         LayoutBlockFlow {p} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 304x19
             text run at (0,0) width 304: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46b-expected.png
index b0c0e21a..c83b744 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46b-expected.txt
index bb4f991..b119f62 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-46b-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 319x19
             text run at (0,0) width 319: "And this one should also have a green background"
         LayoutBlockFlow {address} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 430x19
-            text run at (0,0) width 430: "This address is only here to fill some space between two paragraphs"
+          LayoutText {#text} at (0,0) size 431x19
+            text run at (0,0) width 431: "This address is only here to fill some space between two paragraphs"
         LayoutBlockFlow {p} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 304x19
             text run at (0,0) width 304: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-47-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-47-expected.png
index 0352885b..cc6fd798 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-47-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-47-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-47-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-47-expected.txt
index 70668af6..4e05a875 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-47-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-47-expected.txt
@@ -10,8 +10,8 @@
               text run at (0,0) width 370: "The text in this paragraph should have a green background"
           LayoutText {#text} at (0,0) size 0x0
         LayoutBlockFlow {address} at (16,36) size 752x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 291x19
-            text run at (0,0) width 291: "This address should have a green background"
+          LayoutText {#text} at (0,0) size 292x19
+            text run at (0,0) width 292: "This address should have a green background"
         LayoutBlockFlow {q} at (16,72) size 752x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 434x19
             text run at (0,0) width 434: "This element in another namespace should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-48-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-48-expected.png
index cef2f2e..35e2833 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-48-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-48-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-48-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-48-expected.txt
index a1dc4171..48a667c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-48-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-48-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {body} at (8,8) size 784x128
       LayoutBlockFlow {div} at (0,0) size 784x128
         LayoutBlockFlow {address} at (0,0) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 291x19
-            text run at (0,0) width 291: "This address should have a green background"
+          LayoutText {#text} at (0,0) size 292x19
+            text run at (0,0) width 292: "This address should have a green background"
         LayoutBlockFlow {s} at (0,36) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 304x19
             text run at (0,0) width 304: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-49-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-49-expected.png
index cef2f2e..35e2833 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-49-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-49-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-49-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-49-expected.txt
index a1dc4171..48a667c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-49-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-49-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {body} at (8,8) size 784x128
       LayoutBlockFlow {div} at (0,0) size 784x128
         LayoutBlockFlow {address} at (0,0) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 291x19
-            text run at (0,0) width 291: "This address should have a green background"
+          LayoutText {#text} at (0,0) size 292x19
+            text run at (0,0) width 292: "This address should have a green background"
         LayoutBlockFlow {s} at (0,36) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 304x19
             text run at (0,0) width 304: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-6-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-6-expected.png
index 6c2849f..655931e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-6-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-6-expected.txt
deleted file mode 100644
index 5a42f26..0000000
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-6-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x36
-  LayoutBlockFlow {html} at (0,0) size 800x36
-    LayoutBlockFlow {body} at (8,8) size 784x20
-      LayoutBlockFlow {address} at (0,0) size 784x20 [bgcolor=#00FF00]
-        LayoutInline {span} at (0,0) size 104x19
-          LayoutText {#text} at (0,0) size 104x19
-            text run at (0,0) width 104: "This line should "
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutInline {span} at (0,0) size 165x19
-          LayoutText {#text} at (104,0) size 165x19
-            text run at (104,0) width 165: "have a green background."
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-7-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-7-expected.png
index 680bf73..0af8130a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-7-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-7-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-7-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-7-expected.txt
index c0a30a8..bb2f0a5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-7-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-7-expected.txt
@@ -11,10 +11,10 @@
         LayoutInline {span} at (0,0) size 156x19
           LayoutText {#text} at (0,0) size 156x19
             text run at (0,0) width 156: "This address should also"
-        LayoutText {#text} at (155,0) size 5x19
-          text run at (155,0) width 5: " "
+        LayoutText {#text} at (156,0) size 4x19
+          text run at (156,0) width 4: " "
         LayoutInline {span} at (0,0) size 598x19
-          LayoutText {#text} at (159,0) size 598x19
-            text run at (159,0) width 350: "have green background because the selector in the last "
-            text run at (508,0) width 249: "rule does not apply to the inner SPANs."
+          LayoutText {#text} at (160,0) size 598x19
+            text run at (160,0) width 350: "have green background because the selector in the last "
+            text run at (510,0) width 248: "rule does not apply to the inner SPANs."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-75-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-75-expected.png
index 2f9bc2d..6e023cdd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-75-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-75-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-75b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-75b-expected.png
index 2f9bc2d..6e023cdd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-75b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-75b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-76-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-76-expected.png
index a508c321..1306651e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-76-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-76-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-76b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-76b-expected.png
index a508c321..1306651e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-76b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-76b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-79-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-79-expected.png
index 7bcf94b7..b10a1904 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-79-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-79-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-79-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-79-expected.txt
index add5c4d..d7724e3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-79-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-79-expected.txt
@@ -8,11 +8,11 @@
           LayoutText {#text} at (0,0) size 192x19
             text run at (0,0) width 192: "This div contains 3 addresses :"
         LayoutBlockFlow {address} at (16,20) size 768x20
-          LayoutText {#text} at (0,0) size 251x19
-            text run at (0,0) width 251: "A first address with normal background"
+          LayoutText {#text} at (0,0) size 252x19
+            text run at (0,0) width 252: "A first address with normal background"
         LayoutBlockFlow {address} at (16,56) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 350x19
-            text run at (0,0) width 350: "A second address that should have a green background"
+          LayoutText {#text} at (0,0) size 351x19
+            text run at (0,0) width 351: "A second address that should have a green background"
         LayoutBlockFlow {address} at (16,92) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 335x19
-            text run at (0,0) width 335: "A third address that should have a green background"
+          LayoutText {#text} at (0,0) size 337x19
+            text run at (0,0) width 337: "A third address that should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-8-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-8-expected.png
index 4f2c3c8..b94336e1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-8-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-8-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-8-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-8-expected.txt
index 3f80261d..65fb70c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-8-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-8-expected.txt
@@ -10,10 +10,10 @@
         LayoutInline {span} at (0,0) size 156x19
           LayoutText {#text} at (0,0) size 156x19
             text run at (0,0) width 156: "This address should also"
-        LayoutText {#text} at (155,0) size 5x19
-          text run at (155,0) width 5: " "
-        LayoutInline {span} at (0,0) size 505x19
-          LayoutText {#text} at (159,0) size 505x19
-            text run at (159,0) width 418: "have green background because the language of the inner SPANs "
-            text run at (576,0) width 88: "is not French."
+        LayoutText {#text} at (156,0) size 4x19
+          text run at (156,0) width 4: " "
+        LayoutInline {span} at (0,0) size 506x19
+          LayoutText {#text} at (160,0) size 506x19
+            text run at (160,0) width 418: "have green background because the language of the inner SPANs "
+            text run at (578,0) width 88: "is not French."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-80-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-80-expected.png
index 378470e..66a9ef8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-80-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-80-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-80-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-80-expected.txt
index 415c67b6..0b1854c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-80-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-80-expected.txt
@@ -5,14 +5,14 @@
     LayoutBlockFlow {body} at (8,8) size 784x128
       LayoutBlockFlow {div} at (0,0) size 784x128
         LayoutBlockFlow {address} at (16,0) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 330x19
-            text run at (0,0) width 330: "A first address that should have a green background"
+          LayoutText {#text} at (0,0) size 331x19
+            text run at (0,0) width 331: "A first address that should have a green background"
         LayoutBlockFlow {address} at (16,36) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 350x19
-            text run at (0,0) width 350: "A second address that should have a green background"
+          LayoutText {#text} at (0,0) size 351x19
+            text run at (0,0) width 351: "A second address that should have a green background"
         LayoutBlockFlow {address} at (16,72) size 768x20
-          LayoutText {#text} at (0,0) size 257x19
-            text run at (0,0) width 257: "A third address with normal background"
+          LayoutText {#text} at (0,0) size 258x19
+            text run at (0,0) width 258: "A third address with normal background"
         LayoutBlockFlow (anonymous) at (0,108) size 784x20
           LayoutText {#text} at (0,0) size 289x19
             text run at (0,0) width 289: "This div should have three addresses above it."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-82-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-82-expected.png
index 9956da9..f6ce0a2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-82-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-82-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-82b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-82b-expected.png
index 9956da9..f6ce0a2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-82b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xhtml/css3-modsel-82b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-113-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-113-expected.png
index edaa1d7..98aee1c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-113-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-113-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-113b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-113b-expected.png
index edaa1d7..98aee1c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-113b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-113b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-114-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-114-expected.png
index c1501ce..3c00396 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-114-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-114-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-114b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-114b-expected.png
index c1501ce..3c00396 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-114b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-114b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-119-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-119-expected.png
index d1c5af1..12d0165 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-119-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-119-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-119-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-119-expected.txt
index a61f54cd..d617811 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-119-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-119-expected.txt
@@ -17,8 +17,8 @@
           LayoutText {#text} at (0,0) size 308x19
             text run at (0,0) width 308: "This paragraph should have a green background."
       LayoutBlockFlow {address} at (0,144) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 295x19
-          text run at (0,0) width 295: "This address should have a green background."
+        LayoutText {#text} at (0,0) size 296x19
+          text run at (0,0) width 296: "This address should have a green background."
       LayoutBlockFlow {s} at (0,180) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 308x19
           text run at (0,0) width 308: "This paragraph should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-121-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-121-expected.png
index efdd6289f..9fe9c3f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-121-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-121-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-121-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-121-expected.txt
index 885f9887..84ec1cf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-121-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-121-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {test} at (0,0) size 800x144
     LayoutBlockFlow {div} at (0,0) size 800x128
       LayoutBlockFlow {address} at (0,0) size 800x20 [color=#008000]
-        LayoutText {#text} at (0,0) size 275x19
-          text run at (0,0) width 275: "This address should be in green characters."
+        LayoutText {#text} at (0,0) size 276x19
+          text run at (0,0) width 276: "This address should be in green characters."
       LayoutBlockFlow {s} at (0,36) size 800x20 [color=#008000]
         LayoutText {#text} at (0,0) size 286x19
           text run at (0,0) width 286: "This paragraph should be in green characters."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-122-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-122-expected.png
index 610cefb..6133812f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-122-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-122-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-122-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-122-expected.txt
index 69129761..7db6e8f8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-122-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-122-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {test} at (0,0) size 800x144
     LayoutBlockFlow {div} at (0,0) size 800x128
       LayoutBlockFlow {address} at (0,0) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 291x19
-          text run at (0,0) width 291: "This address should have a green background"
+        LayoutText {#text} at (0,0) size 292x19
+          text run at (0,0) width 292: "This address should have a green background"
       LayoutBlockFlow {s} at (0,36) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 304x19
           text run at (0,0) width 304: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-123-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-123-expected.png
index 33cde2e..7bb599401 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-123-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-123-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-123-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-123-expected.txt
index 5673fdc..4db4a1a4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-123-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-123-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {test} at (0,0) size 800x108
     LayoutBlockFlow {div} at (0,0) size 800x92
       LayoutBlockFlow {address} at (0,0) size 800x20 [color=#008000]
-        LayoutText {#text} at (0,0) size 275x19
-          text run at (0,0) width 275: "This address should be in green characters."
+        LayoutText {#text} at (0,0) size 276x19
+          text run at (0,0) width 276: "This address should be in green characters."
       LayoutBlockFlow {s} at (0,36) size 800x20 [color=#008000]
         LayoutText {#text} at (0,0) size 286x19
           text run at (0,0) width 286: "This paragraph should be in green characters."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-13-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-13-expected.png
index 641fc61..d4b8d65 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-13-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-13-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-13-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-13-expected.txt
index a9f25b6..523ee97 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-13-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-13-expected.txt
@@ -13,8 +13,8 @@
           text run at (0,0) width 429: "This list item should have green background because its class is \"t2\""
       LayoutListItem {li} at (40,40) size 760x20 [bgcolor=#00FF00]
         LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-        LayoutInline {span} at (0,0) size 597x19
-          LayoutText {#text} at (0,0) size 597x19
+        LayoutInline {span} at (0,0) size 595x19
+          LayoutText {#text} at (0,0) size 595x19
             text run at (0,0) width 337: "This list item should have green background because "
-            text run at (337,0) width 260: "the inner SPAN does not match SPAN.t3"
+            text run at (337,0) width 258: "the inner SPAN does not match SPAN.t3"
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139-expected.png
index 001503518..b997253 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139-expected.txt
index 0f2e859..171b111 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 221x19
           text run at (0,0) width 221: "This paragraph should be unstyled."
       LayoutBlockFlow {address} at (0,36) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 295x19
-          text run at (0,0) width 295: "This address should have a green background."
+        LayoutText {#text} at (0,0) size 296x19
+          text run at (0,0) width 296: "This address should have a green background."
       LayoutBlockFlow {q} at (0,72) size 800x20
         LayoutText {#text} at (0,0) size 221x19
           text run at (0,0) width 221: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139b-expected.png
index 001503518..b997253 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139b-expected.txt
index 0f2e859..171b111 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-139b-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 221x19
           text run at (0,0) width 221: "This paragraph should be unstyled."
       LayoutBlockFlow {address} at (0,36) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 295x19
-          text run at (0,0) width 295: "This address should have a green background."
+        LayoutText {#text} at (0,0) size 296x19
+          text run at (0,0) width 296: "This address should have a green background."
       LayoutBlockFlow {q} at (0,72) size 800x20
         LayoutText {#text} at (0,0) size 221x19
           text run at (0,0) width 221: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140-expected.png
index 6df463b8..b2a3dbd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140-expected.txt
index 09f4bb9..dc940eb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140-expected.txt
@@ -7,11 +7,11 @@
         LayoutText {#text} at (0,0) size 221x19
           text run at (0,0) width 221: "This paragraph should be unstyled."
       LayoutBlockFlow {address} at (0,36) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 295x19
-          text run at (0,0) width 295: "This address should have a green background."
+        LayoutText {#text} at (0,0) size 296x19
+          text run at (0,0) width 296: "This address should have a green background."
       LayoutBlockFlow {address} at (0,72) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 295x19
-          text run at (0,0) width 295: "This address should have a green background."
+        LayoutText {#text} at (0,0) size 296x19
+          text run at (0,0) width 296: "This address should have a green background."
       LayoutBlockFlow {q} at (0,108) size 800x20
         LayoutText {#text} at (0,0) size 221x19
           text run at (0,0) width 221: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140b-expected.png
index 6df463b8..b2a3dbd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140b-expected.txt
index 09f4bb9..dc940eb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-140b-expected.txt
@@ -7,11 +7,11 @@
         LayoutText {#text} at (0,0) size 221x19
           text run at (0,0) width 221: "This paragraph should be unstyled."
       LayoutBlockFlow {address} at (0,36) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 295x19
-          text run at (0,0) width 295: "This address should have a green background."
+        LayoutText {#text} at (0,0) size 296x19
+          text run at (0,0) width 296: "This address should have a green background."
       LayoutBlockFlow {address} at (0,72) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 295x19
-          text run at (0,0) width 295: "This address should have a green background."
+        LayoutText {#text} at (0,0) size 296x19
+          text run at (0,0) width 296: "This address should have a green background."
       LayoutBlockFlow {q} at (0,108) size 800x20
         LayoutText {#text} at (0,0) size 221x19
           text run at (0,0) width 221: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-14c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-14c-expected.png
index 1405c84..70a00911 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-14c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-14c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-14e-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-14e-expected.png
index 1405c84..70a00911 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-14e-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-14e-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-15-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-15-expected.png
index 7d109b4b..bd00867d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-15-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-15-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-15-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-15-expected.txt
index 0f2c3ec..5382067 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-15-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-15-expected.txt
@@ -13,6 +13,6 @@
           text run at (0,0) width 431: "This list item should have a green background. because its ID is \"t2\""
       LayoutListItem {li} at (40,40) size 760x20 [bgcolor=#00FF00]
         LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-        LayoutInline {span} at (0,0) size 589x19
-          LayoutText {#text} at (0,0) size 589x19
-            text run at (0,0) width 589: "This list item should have a green background. because the inner SPAN does not match \"#t4\""
+        LayoutInline {span} at (0,0) size 588x19
+          LayoutText {#text} at (0,0) size 588x19
+            text run at (0,0) width 588: "This list item should have a green background. because the inner SPAN does not match \"#t4\""
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-159-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-159-expected.png
index 8089265e..065e50b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-159-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-159-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168-expected.png
index d2d4c004..d505059 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168-expected.txt
index 4976da7..622ccc2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168-expected.txt
@@ -5,12 +5,12 @@
     LayoutBlockFlow {p} at (0,16) size 800x20
       LayoutText {#text} at (0,0) size 82x19
         text run at (0,0) width 82: "This test has "
-      LayoutInline {span} at (0,0) size 60x19
-        LayoutInline {<pseudo:before>} at (0,0) size 60x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (82,0) size 60x19
-            text run at (82,0) width 60: "PASSED"
-      LayoutText {#text} at (141,0) size 5x19
-        text run at (141,0) width 5: "."
+      LayoutInline {span} at (0,0) size 59x19
+        LayoutInline {<pseudo:before>} at (0,0) size 59x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (82,0) size 59x19
+            text run at (82,0) width 59: "PASSED"
+      LayoutText {#text} at (141,0) size 4x19
+        text run at (141,0) width 4: "."
     LayoutBlockFlow {p} at (0,52) size 800x20
       LayoutText {#text} at (0,0) size 445x19
         text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168a-expected.png
index d2d4c004..d505059 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168a-expected.txt
index 4976da7..622ccc2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-168a-expected.txt
@@ -5,12 +5,12 @@
     LayoutBlockFlow {p} at (0,16) size 800x20
       LayoutText {#text} at (0,0) size 82x19
         text run at (0,0) width 82: "This test has "
-      LayoutInline {span} at (0,0) size 60x19
-        LayoutInline {<pseudo:before>} at (0,0) size 60x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (82,0) size 60x19
-            text run at (82,0) width 60: "PASSED"
-      LayoutText {#text} at (141,0) size 5x19
-        text run at (141,0) width 5: "."
+      LayoutInline {span} at (0,0) size 59x19
+        LayoutInline {<pseudo:before>} at (0,0) size 59x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (82,0) size 59x19
+            text run at (82,0) width 59: "PASSED"
+      LayoutText {#text} at (141,0) size 4x19
+        text run at (141,0) width 4: "."
     LayoutBlockFlow {p} at (0,52) size 800x20
       LayoutText {#text} at (0,0) size 445x19
         text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169-expected.png
index d2d4c004..d505059 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169-expected.txt
index 1665a21..f0795434 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169-expected.txt
@@ -5,12 +5,12 @@
     LayoutBlockFlow {p} at (0,16) size 800x20
       LayoutText {#text} at (0,0) size 82x19
         text run at (0,0) width 82: "This test has "
-      LayoutInline {span} at (0,0) size 60x19
-        LayoutInline {<pseudo:after>} at (0,0) size 60x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (82,0) size 60x19
-            text run at (82,0) width 60: "PASSED"
-      LayoutText {#text} at (141,0) size 5x19
-        text run at (141,0) width 5: "."
+      LayoutInline {span} at (0,0) size 59x19
+        LayoutInline {<pseudo:after>} at (0,0) size 59x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (82,0) size 59x19
+            text run at (82,0) width 59: "PASSED"
+      LayoutText {#text} at (141,0) size 4x19
+        text run at (141,0) width 4: "."
     LayoutBlockFlow {p} at (0,52) size 800x20
       LayoutText {#text} at (0,0) size 445x19
         text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169a-expected.png
index d2d4c004..d505059 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169a-expected.txt
index 1665a21..f0795434 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-169a-expected.txt
@@ -5,12 +5,12 @@
     LayoutBlockFlow {p} at (0,16) size 800x20
       LayoutText {#text} at (0,0) size 82x19
         text run at (0,0) width 82: "This test has "
-      LayoutInline {span} at (0,0) size 60x19
-        LayoutInline {<pseudo:after>} at (0,0) size 60x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (82,0) size 60x19
-            text run at (82,0) width 60: "PASSED"
-      LayoutText {#text} at (141,0) size 5x19
-        text run at (141,0) width 5: "."
+      LayoutInline {span} at (0,0) size 59x19
+        LayoutInline {<pseudo:after>} at (0,0) size 59x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (82,0) size 59x19
+            text run at (82,0) width 59: "PASSED"
+      LayoutText {#text} at (141,0) size 4x19
+        text run at (141,0) width 4: "."
     LayoutBlockFlow {p} at (0,52) size 800x20
       LayoutText {#text} at (0,0) size 445x19
         text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-17-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-17-expected.png
index b5a915f2..9c8713a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-17-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-17-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18-expected.png
index b3fc8eb..d97b93a3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18-expected.txt
index 30505a0..500eb18 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18-expected.txt
@@ -9,27 +9,27 @@
       LayoutInline {strong} at (0,0) size 30x19
         LayoutText {#text} at (674,0) size 30x19
           text run at (674,0) width 30: "here"
-      LayoutText {#text} at (703,0) size 744x39
-        text run at (703,0) width 41: ") or its"
+      LayoutText {#text} at (704,0) size 744x39
+        text run at (704,0) width 40: ") or its"
         text run at (0,20) width 157: "whitespace background, "
       LayoutInline {strong} at (0,0) size 30x19
         LayoutText {#text} at (157,20) size 30x19
           text run at (157,20) width 30: "here"
-      LayoutText {#text} at (186,20) size 5x19
-        text run at (186,20) width 5: ":"
+      LayoutText {#text} at (187,20) size 4x19
+        text run at (187,20) width 4: ":"
     LayoutBlockFlow {address} at (0,72) size 800x20
       LayoutText {#text} at (0,0) size 161x19
         text run at (0,0) width 161: "The background color of "
-      LayoutInline {a} at (0,0) size 115x19 [color=#0000EE]
-        LayoutText {#text} at (160,0) size 81x19
-          text run at (160,0) width 81: "this anchor ("
-        LayoutInline {strong} at (0,0) size 30x19
-          LayoutText {#text} at (240,0) size 30x19
-            text run at (240,0) width 30: "here"
-        LayoutText {#text} at (269,0) size 6x19
-          text run at (269,0) width 6: ")"
-      LayoutText {#text} at (274,0) size 387x19
-        text run at (274,0) width 387: " should turn to green when the pointing device hovers over it."
+      LayoutInline {a} at (0,0) size 114x19 [color=#0000EE]
+        LayoutText {#text} at (161,0) size 80x19
+          text run at (161,0) width 80: "this anchor ("
+        LayoutInline {strong} at (0,0) size 29x19
+          LayoutText {#text} at (241,0) size 29x19
+            text run at (241,0) width 29: "here"
+        LayoutText {#text} at (270,0) size 5x19
+          text run at (270,0) width 5: ")"
+      LayoutText {#text} at (275,0) size 387x19
+        text run at (275,0) width 387: " should turn to green when the pointing device hovers over it."
     LayoutTable {table} at (0,92) size 278x194
       LayoutTableSection {tbody} at (0,0) size 278x194
         LayoutTableRow {tr} at (0,5) size 278x22
@@ -62,8 +62,8 @@
             LayoutInline {strong} at (0,0) size 30x19
               LayoutText {#text} at (41,1) size 30x19
                 text run at (41,1) width 30: "here"
-            LayoutText {#text} at (70,1) size 10x19
-              text run at (70,1) width 10: ")."
+            LayoutText {#text} at (71,1) size 9x19
+              text run at (71,1) width 9: ")."
           LayoutTableCell {td} at (174,69) size 99x2 [r=2 c=2 rs=1 cs=1]
         LayoutTableRow {tr} at (0,86) size 278x22
           LayoutTableCell {td} at (5,86) size 78x22 [r=3 c=0 rs=1 cs=1]
@@ -95,8 +95,8 @@
             LayoutInline {strong} at (0,0) size 35x19
               LayoutText {#text} at (33,1) size 35x19
                 text run at (33,1) width 35: "there"
-            LayoutText {#text} at (67,1) size 5x19
-              text run at (67,1) width 5: ":"
+            LayoutText {#text} at (68,1) size 4x19
+              text run at (68,1) width 4: ":"
           LayoutTableCell {td} at (174,150) size 99x2 [r=5 c=2 rs=1 cs=1]
         LayoutTableRow {tr} at (0,167) size 278x22
           LayoutTableCell {td} at (5,167) size 78x22 [r=6 c=0 rs=1 cs=1]
@@ -105,8 +105,8 @@
             LayoutInline {strong} at (0,0) size 30x19
               LayoutText {#text} at (33,1) size 30x19
                 text run at (33,1) width 30: "here"
-            LayoutText {#text} at (62,1) size 5x19
-              text run at (62,1) width 5: ":"
+            LayoutText {#text} at (63,1) size 4x19
+              text run at (63,1) width 4: ":"
           LayoutTableCell {td} at (88,177) size 81x2 [r=6 c=1 rs=1 cs=1]
           LayoutTableCell {td} at (174,167) size 99x22 [r=6 c=2 rs=1 cs=1]
             LayoutText {#text} at (1,1) size 81x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18a-expected.png
index 7f826c7..55b1c2d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18a-expected.txt
index 3d5800b..eb2e4e7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18a-expected.txt
@@ -11,10 +11,10 @@
         LayoutInline {strong} at (0,0) size 30x19
           LayoutText {#text} at (239,0) size 30x19
             text run at (239,0) width 30: "here"
-        LayoutText {#text} at (268,0) size 6x19
-          text run at (268,0) width 6: ")"
-      LayoutText {#text} at (273,0) size 388x19
-        text run at (273,0) width 388: " should turn to green when the pointing device hovers over it."
+        LayoutText {#text} at (269,0) size 5x19
+          text run at (269,0) width 5: ")"
+      LayoutText {#text} at (274,0) size 387x19
+        text run at (274,0) width 387: " should turn to green when the pointing device hovers over it."
     LayoutBlockFlow {p} at (0,52) size 800x20 [color=#000080]
       LayoutText {#text} at (0,0) size 161x19
         text run at (0,0) width 161: "The background color of "
@@ -24,15 +24,15 @@
         LayoutInline {strong} at (0,0) size 30x19
           LayoutText {#text} at (239,0) size 30x19
             text run at (239,0) width 30: "here"
-        LayoutText {#text} at (268,0) size 6x19
-          text run at (268,0) width 6: ")"
-      LayoutText {#text} at (273,0) size 51x19
-        text run at (273,0) width 51: " should "
-      LayoutInline {strong} at (0,0) size 217x19
-        LayoutText {#text} at (323,0) size 217x19
-          text run at (323,0) width 217: "remain green when you hover it"
-      LayoutText {#text} at (539,0) size 5x19
-        text run at (539,0) width 5: "."
+        LayoutText {#text} at (269,0) size 5x19
+          text run at (269,0) width 5: ")"
+      LayoutText {#text} at (274,0) size 50x19
+        text run at (274,0) width 50: " should "
+      LayoutInline {strong} at (0,0) size 216x19
+        LayoutText {#text} at (324,0) size 216x19
+          text run at (324,0) width 216: "remain green when you hover it"
+      LayoutText {#text} at (540,0) size 4x19
+        text run at (540,0) width 4: "."
     LayoutBlockFlow {p} at (0,88) size 800x40 [color=#000080]
       LayoutText {#text} at (0,0) size 161x19
         text run at (0,0) width 161: "The background color of "
@@ -42,13 +42,13 @@
         LayoutInline {strong} at (0,0) size 30x19
           LayoutText {#text} at (239,0) size 30x19
             text run at (239,0) width 30: "here"
-        LayoutText {#text} at (268,0) size 6x19
-          text run at (268,0) width 6: ")"
-      LayoutText {#text} at (273,0) size 51x19
-        text run at (273,0) width 51: " should "
-      LayoutInline {strong} at (0,0) size 359x19
-        LayoutText {#text} at (323,0) size 359x19
-          text run at (323,0) width 359: "remain green when the pointing device hovers over it"
-      LayoutText {#text} at (681,0) size 776x39
-        text run at (681,0) width 95: " (do not follow"
+        LayoutText {#text} at (269,0) size 5x19
+          text run at (269,0) width 5: ")"
+      LayoutText {#text} at (274,0) size 50x19
+        text run at (274,0) width 50: " should "
+      LayoutInline {strong} at (0,0) size 358x19
+        LayoutText {#text} at (324,0) size 358x19
+          text run at (324,0) width 358: "remain green when the pointing device hovers over it"
+      LayoutText {#text} at (682,0) size 776x39
+        text run at (682,0) width 94: " (do not follow"
         text run at (0,20) width 60: "that link)."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18c-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18c-expected.txt
index 7599863c..118cf845 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-18c-expected.txt
@@ -9,10 +9,10 @@
         LayoutInline {strong} at (0,0) size 30x19
           LayoutText {#text} at (44,0) size 30x19
             text run at (44,0) width 30: "here"
-        LayoutText {#text} at (73,0) size 151x19
-          text run at (73,0) width 151: " and the background of "
-        LayoutInline {span} at (0,0) size 155x19
-          LayoutText {#text} at (223,0) size 155x19
-            text run at (223,0) width 155: "this text should go green"
-        LayoutText {#text} at (377,0) size 5x19
-          text run at (377,0) width 5: "."
+        LayoutText {#text} at (74,0) size 150x19
+          text run at (74,0) width 150: " and the background of "
+        LayoutInline {span} at (0,0) size 154x19
+          LayoutText {#text} at (224,0) size 154x19
+            text run at (224,0) width 154: "this text should go green"
+        LayoutText {#text} at (378,0) size 4x19
+          text run at (378,0) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-2-expected.png
index 087705b4..c5a48cf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-2-expected.txt
deleted file mode 100644
index 5e0a2f0..0000000
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-2-expected.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x20
-  LayoutBlockFlow {test} at (0,0) size 800x20
-    LayoutBlockFlow {address} at (0,0) size 800x20 [bgcolor=#00FF00]
-      LayoutText {#text} at (0,0) size 348x19
-        text run at (0,0) width 348: "This address element should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-22-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-22-expected.png
index accedb7b..dfbaa5ab 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-22-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-22-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-22-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-22-expected.txt
index 2ed3a505..cc6ba37 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-22-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-22-expected.txt
@@ -10,9 +10,9 @@
           text run at (336,0) width 94: "British English"
       LayoutListItem {li} at (40,20) size 760x20 [bgcolor=#00FF00]
         LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-        LayoutText {#text} at (0,0) size 482x19
+        LayoutText {#text} at (0,0) size 481x19
           text run at (0,0) width 322: "This list item should be green because its language "
-          text run at (322,0) width 160: "is British English (Wales)"
+          text run at (322,0) width 159: "is British English (Wales)"
     LayoutBlockFlow {ol} at (0,72) size 800x40
       LayoutListItem {li} at (40,0) size 760x20
         LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-30-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-30-expected.png
index 868ae2e..e2eda47 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-30-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-30-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-31-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-31-expected.png
index 1952040f..7f01973a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-31-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-31-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-31-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-31-expected.txt
index 596e147..a3a43a0b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-31-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-31-expected.txt
@@ -6,8 +6,8 @@
       LayoutText {#text} at (0,0) size 293x19
         text run at (0,0) width 293: "This paragraph should have green background"
     LayoutBlockFlow {address} at (0,52) size 800x20
-      LayoutText {#text} at (0,0) size 332x19
-        text run at (0,0) width 332: "But this address is here only to fill space in the dom.."
+      LayoutText {#text} at (0,0) size 333x19
+        text run at (0,0) width 333: "But this address is here only to fill space in the dom.."
     LayoutBlockFlow {p} at (0,88) size 800x20
       LayoutText {#text} at (0,0) size 152x19
         text run at (0,0) width 152: "So does this paragraph !"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-34-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-34-expected.png
index f2ab294..f76c7dd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-34-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-34-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-34-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-34-expected.txt
index dc81e01..fcf62b9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-34-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-34-expected.txt
@@ -7,11 +7,11 @@
         LayoutText {#text} at (0,0) size 188x19
           text run at (0,0) width 188: "This div contains 3 addresses:"
       LayoutBlockFlow {address} at (16,20) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 330x19
-          text run at (0,0) width 330: "A first address that should have a green background"
+        LayoutText {#text} at (0,0) size 331x19
+          text run at (0,0) width 331: "A first address that should have a green background"
       LayoutBlockFlow {address} at (16,56) size 784x20
-        LayoutText {#text} at (0,0) size 271x19
-          text run at (0,0) width 271: "A second address with normal background"
+        LayoutText {#text} at (0,0) size 272x19
+          text run at (0,0) width 272: "A second address with normal background"
       LayoutBlockFlow {address} at (16,92) size 784x20
-        LayoutText {#text} at (0,0) size 257x19
-          text run at (0,0) width 257: "A third address with normal background"
+        LayoutText {#text} at (0,0) size 258x19
+          text run at (0,0) width 258: "A third address with normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-35-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-35-expected.png
index 62c4a80..5fbf7ead 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-35-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-35-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-35-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-35-expected.txt
index ce93de7..4b7b36a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-35-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-35-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {test} at (0,0) size 800x128
     LayoutBlockFlow {div} at (0,0) size 800x128
       LayoutBlockFlow {address} at (16,0) size 784x20
-        LayoutText {#text} at (0,0) size 251x19
-          text run at (0,0) width 251: "A first address with normal background"
+        LayoutText {#text} at (0,0) size 252x19
+          text run at (0,0) width 252: "A first address with normal background"
       LayoutBlockFlow {address} at (16,36) size 784x20
-        LayoutText {#text} at (0,0) size 271x19
-          text run at (0,0) width 271: "A second address with normal background"
+        LayoutText {#text} at (0,0) size 272x19
+          text run at (0,0) width 272: "A second address with normal background"
       LayoutBlockFlow {address} at (16,72) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 335x19
-          text run at (0,0) width 335: "A third address that should have a green background"
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "A third address that should have a green background"
       LayoutBlockFlow (anonymous) at (0,108) size 800x20
         LayoutText {#text} at (0,0) size 314x19
           text run at (0,0) width 314: "This div contains 3 addresses above this sentence."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-37-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-37-expected.png
index 7e2709b..cd78b46 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-37-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-37-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-37-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-37-expected.txt
index 903d60b0..9ada8ec2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-37-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-37-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 302x19
           text run at (0,0) width 302: "This paragraph should have normal background"
       LayoutBlockFlow {address} at (0,36) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 300x19
-          text run at (0,0) width 300: "But this address should have green background"
+        LayoutText {#text} at (0,0) size 301x19
+          text run at (0,0) width 301: "But this address should have green background"
       LayoutBlockFlow {p} at (0,72) size 800x20
         LayoutText {#text} at (0,0) size 302x19
           text run at (0,0) width 302: "This paragraph should have normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39a-expected.png
index c52d64e..78a4e7c5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39a-expected.txt
index 193ecdd..cee4d43 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39a-expected.txt
@@ -9,8 +9,8 @@
             text run at (0,0) width 20: "T"
         LayoutTextFragment (anonymous) at (0,0) size 0x0
       LayoutText {#text} at (20,13) size 779x243
-        text run at (20,13) width 387: "his very long paragraph should have a big green first letter T. "
-        text run at (406,13) width 345: "Dummy text. Dummy text. Dummy text. Dummy text."
+        text run at (20,13) width 386: "his very long paragraph should have a big green first letter T. "
+        text run at (406,13) width 344: "Dummy text. Dummy text. Dummy text. Dummy text."
         text run at (0,37) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
         text run at (0,57) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
         text run at (0,77) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39c-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39c-expected.png
index c52d64e..78a4e7c5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39c-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39c-expected.txt
index eda22f99..b470833 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-39c-expected.txt
@@ -9,7 +9,7 @@
             text run at (0,0) width 20: "T"
         LayoutTextFragment (anonymous) at (0,0) size 0x0
       LayoutText {#text} at (20,13) size 779x243
-        text run at (20,13) width 731: "his very long paragraph should have a big green first letter T. Dummy text. Dummy text. Dummy text. Dummy text."
+        text run at (20,13) width 730: "his very long paragraph should have a big green first letter T. Dummy text. Dummy text. Dummy text. Dummy text."
         text run at (0,37) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
         text run at (0,57) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
         text run at (0,77) width 779: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41-expected.png
index a8688c7..1403cae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41-expected.txt
index ab5c6293..8bc12d7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x72
   LayoutBlockFlow {test} at (0,0) size 800x72
     LayoutBlockFlow {p} at (0,16) size 800x40
-      LayoutInline {<pseudo:before>} at (0,0) size 183x19 [bgcolor=#00FF00]
-        LayoutTextFragment (anonymous) at (0,0) size 183x19
-          text run at (0,0) width 183: "GENERATED CONTENT "
-      LayoutText {#text} at (182,0) size 735x39
-        text run at (182,0) width 553: "You should see before this paragraph the words GENERATED CONTENT over green"
+      LayoutInline {<pseudo:before>} at (0,0) size 182x19 [bgcolor=#00FF00]
+        LayoutTextFragment (anonymous) at (0,0) size 182x19
+          text run at (0,0) width 182: "GENERATED CONTENT "
+      LayoutText {#text} at (182,0) size 734x39
+        text run at (182,0) width 552: "You should see before this paragraph the words GENERATED CONTENT over green"
         text run at (0,20) width 75: "background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41a-expected.png
index a8688c7..1403cae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41a-expected.txt
index ab5c6293..8bc12d7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-41a-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x72
   LayoutBlockFlow {test} at (0,0) size 800x72
     LayoutBlockFlow {p} at (0,16) size 800x40
-      LayoutInline {<pseudo:before>} at (0,0) size 183x19 [bgcolor=#00FF00]
-        LayoutTextFragment (anonymous) at (0,0) size 183x19
-          text run at (0,0) width 183: "GENERATED CONTENT "
-      LayoutText {#text} at (182,0) size 735x39
-        text run at (182,0) width 553: "You should see before this paragraph the words GENERATED CONTENT over green"
+      LayoutInline {<pseudo:before>} at (0,0) size 182x19 [bgcolor=#00FF00]
+        LayoutTextFragment (anonymous) at (0,0) size 182x19
+          text run at (0,0) width 182: "GENERATED CONTENT "
+      LayoutText {#text} at (182,0) size 734x39
+        text run at (182,0) width 552: "You should see before this paragraph the words GENERATED CONTENT over green"
         text run at (0,20) width 75: "background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42-expected.png
index fd247c1..10470bf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42-expected.txt
index 17d63ac..de12050 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x52
   LayoutBlockFlow {test} at (0,0) size 800x52
     LayoutBlockFlow {p} at (0,16) size 800x20
-      LayoutText {#text} at (0,0) size 620x19
-        text run at (0,0) width 620: "You should see after this paragraph the words GENERATED CONTENT over green background"
-      LayoutInline {<pseudo:after>} at (0,0) size 179x19 [bgcolor=#00FF00]
-        LayoutTextFragment (anonymous) at (619,0) size 179x19
-          text run at (619,0) width 179: "GENERATED CONTENT"
+      LayoutText {#text} at (0,0) size 619x19
+        text run at (0,0) width 619: "You should see after this paragraph the words GENERATED CONTENT over green background"
+      LayoutInline {<pseudo:after>} at (0,0) size 178x19 [bgcolor=#00FF00]
+        LayoutTextFragment (anonymous) at (619,0) size 178x19
+          text run at (619,0) width 178: "GENERATED CONTENT"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42a-expected.png
index fd247c1..10470bf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42a-expected.txt
index 17d63ac..de12050 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-42a-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x52
   LayoutBlockFlow {test} at (0,0) size 800x52
     LayoutBlockFlow {p} at (0,16) size 800x20
-      LayoutText {#text} at (0,0) size 620x19
-        text run at (0,0) width 620: "You should see after this paragraph the words GENERATED CONTENT over green background"
-      LayoutInline {<pseudo:after>} at (0,0) size 179x19 [bgcolor=#00FF00]
-        LayoutTextFragment (anonymous) at (619,0) size 179x19
-          text run at (619,0) width 179: "GENERATED CONTENT"
+      LayoutText {#text} at (0,0) size 619x19
+        text run at (0,0) width 619: "You should see after this paragraph the words GENERATED CONTENT over green background"
+      LayoutInline {<pseudo:after>} at (0,0) size 178x19 [bgcolor=#00FF00]
+        LayoutTextFragment (anonymous) at (619,0) size 178x19
+          text run at (619,0) width 178: "GENERATED CONTENT"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45-expected.png
index 6fd67b08..301a996c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45-expected.txt
index d428a5ea..adcfa7a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45-expected.txt
@@ -13,8 +13,8 @@
         LayoutText {#text} at (0,0) size 323x19
           text run at (0,0) width 323: "And this one should also have a green background."
       LayoutBlockFlow {address} at (0,108) size 800x20
-        LayoutText {#text} at (0,0) size 434x19
-          text run at (0,0) width 434: "This address is only here to fill some space between two paragraphs."
+        LayoutText {#text} at (0,0) size 435x19
+          text run at (0,0) width 435: "This address is only here to fill some space between two paragraphs."
       LayoutBlockFlow {p} at (0,144) size 800x20
         LayoutText {#text} at (0,0) size 221x19
           text run at (0,0) width 221: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45b-expected.png
index 5597650..e61c2dc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45b-expected.txt
index 5a6e761..e038e99 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-45b-expected.txt
@@ -13,8 +13,8 @@
         LayoutText {#text} at (0,0) size 236x19
           text run at (0,0) width 236: "And this one should also be unstyled."
       LayoutBlockFlow {address} at (0,108) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 673x19
-          text run at (0,0) width 673: "This address is only here to fill some space between two paragraphs and should have a green background."
+        LayoutText {#text} at (0,0) size 675x19
+          text run at (0,0) width 675: "This address is only here to fill some space between two paragraphs and should have a green background."
       LayoutBlockFlow {p} at (0,144) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 332x19
           text run at (0,0) width 332: "This paragraph should have a green background too."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46-expected.png
index cd1b5aa0..bf14dee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46-expected.txt
index 44d73c40..1561c825 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46-expected.txt
@@ -13,8 +13,8 @@
         LayoutText {#text} at (0,0) size 319x19
           text run at (0,0) width 319: "And this one should also have a green background"
       LayoutBlockFlow {address} at (0,108) size 800x20
-        LayoutText {#text} at (0,0) size 430x19
-          text run at (0,0) width 430: "This address is only here to fill some space between two paragraphs"
+        LayoutText {#text} at (0,0) size 431x19
+          text run at (0,0) width 431: "This address is only here to fill some space between two paragraphs"
       LayoutBlockFlow {p} at (0,144) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 304x19
           text run at (0,0) width 304: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46b-expected.png
index cd1b5aa0..bf14dee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46b-expected.txt
index 44d73c40..1561c825 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-46b-expected.txt
@@ -13,8 +13,8 @@
         LayoutText {#text} at (0,0) size 319x19
           text run at (0,0) width 319: "And this one should also have a green background"
       LayoutBlockFlow {address} at (0,108) size 800x20
-        LayoutText {#text} at (0,0) size 430x19
-          text run at (0,0) width 430: "This address is only here to fill some space between two paragraphs"
+        LayoutText {#text} at (0,0) size 431x19
+          text run at (0,0) width 431: "This address is only here to fill some space between two paragraphs"
       LayoutBlockFlow {p} at (0,144) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 304x19
           text run at (0,0) width 304: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-47-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-47-expected.png
index 0241a5f6..ebb3451f6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-47-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-47-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-47-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-47-expected.txt
index 68669fc2..25a7c25 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-47-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-47-expected.txt
@@ -9,8 +9,8 @@
             text run at (0,0) width 370: "The text in this paragraph should have a green background"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {address} at (16,36) size 768x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 291x19
-          text run at (0,0) width 291: "This address should have a green background"
+        LayoutText {#text} at (0,0) size 292x19
+          text run at (0,0) width 292: "This address should have a green background"
       LayoutBlockFlow {q} at (16,72) size 768x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 434x19
           text run at (0,0) width 434: "This element in another namespace should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-48-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-48-expected.png
index 610cefb..6133812f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-48-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-48-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-48-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-48-expected.txt
index 69129761..7db6e8f8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-48-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-48-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {test} at (0,0) size 800x144
     LayoutBlockFlow {div} at (0,0) size 800x128
       LayoutBlockFlow {address} at (0,0) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 291x19
-          text run at (0,0) width 291: "This address should have a green background"
+        LayoutText {#text} at (0,0) size 292x19
+          text run at (0,0) width 292: "This address should have a green background"
       LayoutBlockFlow {s} at (0,36) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 304x19
           text run at (0,0) width 304: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-49-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-49-expected.png
index 610cefb..6133812f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-49-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-49-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-49-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-49-expected.txt
index 69129761..7db6e8f8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-49-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-49-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {test} at (0,0) size 800x144
     LayoutBlockFlow {div} at (0,0) size 800x128
       LayoutBlockFlow {address} at (0,0) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 291x19
-          text run at (0,0) width 291: "This address should have a green background"
+        LayoutText {#text} at (0,0) size 292x19
+          text run at (0,0) width 292: "This address should have a green background"
       LayoutBlockFlow {s} at (0,36) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 304x19
           text run at (0,0) width 304: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-6-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-6-expected.png
index 541c88e..02b7c7b0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-6-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-6-expected.txt
deleted file mode 100644
index af5c8172..0000000
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-6-expected.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x20
-  LayoutBlockFlow {test} at (0,0) size 800x20
-    LayoutBlockFlow {address} at (0,0) size 800x20 [bgcolor=#00FF00]
-      LayoutInline {span} at (0,0) size 104x19
-        LayoutText {#text} at (0,0) size 104x19
-          text run at (0,0) width 104: "This line should "
-      LayoutText {#text} at (0,0) size 0x0
-      LayoutInline {span} at (0,0) size 165x19
-        LayoutText {#text} at (104,0) size 165x19
-          text run at (104,0) width 165: "have a green background."
-      LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-7-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-7-expected.png
index 7c3cbf3..73f1190 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-7-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-7-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-7-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-7-expected.txt
index 4b9fce37..9025c98 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-7-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-7-expected.txt
@@ -10,10 +10,10 @@
       LayoutInline {span} at (0,0) size 156x19
         LayoutText {#text} at (0,0) size 156x19
           text run at (0,0) width 156: "This address should also"
-      LayoutText {#text} at (155,0) size 5x19
-        text run at (155,0) width 5: " "
+      LayoutText {#text} at (156,0) size 4x19
+        text run at (156,0) width 4: " "
       LayoutInline {span} at (0,0) size 598x19
-        LayoutText {#text} at (159,0) size 598x19
-          text run at (159,0) width 350: "have green background because the selector in the last "
-          text run at (508,0) width 249: "rule does not apply to the inner SPANs."
+        LayoutText {#text} at (160,0) size 598x19
+          text run at (160,0) width 350: "have green background because the selector in the last "
+          text run at (510,0) width 248: "rule does not apply to the inner SPANs."
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-75-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-75-expected.png
index d3ca28c..4174da2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-75-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-75-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-75b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-75b-expected.png
index d3ca28c..4174da2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-75b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-75b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-76-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-76-expected.png
index b95765e..4ef0eaa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-76-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-76-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-76b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-76b-expected.png
index b95765e..4ef0eaa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-76b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-76b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-79-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-79-expected.png
index 41b8c6c3..0f199fe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-79-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-79-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-79-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-79-expected.txt
index ce7c24f1..d39bbdd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-79-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-79-expected.txt
@@ -7,11 +7,11 @@
         LayoutText {#text} at (0,0) size 192x19
           text run at (0,0) width 192: "This div contains 3 addresses :"
       LayoutBlockFlow {address} at (16,20) size 784x20
-        LayoutText {#text} at (0,0) size 251x19
-          text run at (0,0) width 251: "A first address with normal background"
+        LayoutText {#text} at (0,0) size 252x19
+          text run at (0,0) width 252: "A first address with normal background"
       LayoutBlockFlow {address} at (16,56) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 350x19
-          text run at (0,0) width 350: "A second address that should have a green background"
+        LayoutText {#text} at (0,0) size 351x19
+          text run at (0,0) width 351: "A second address that should have a green background"
       LayoutBlockFlow {address} at (16,92) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 335x19
-          text run at (0,0) width 335: "A third address that should have a green background"
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "A third address that should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-8-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-8-expected.png
index be7dfda6..93129a5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-8-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-8-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-8-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-8-expected.txt
index d20eeb42f..9a55d75 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-8-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-8-expected.txt
@@ -9,10 +9,10 @@
       LayoutInline {span} at (0,0) size 156x19
         LayoutText {#text} at (0,0) size 156x19
           text run at (0,0) width 156: "This address should also"
-      LayoutText {#text} at (155,0) size 5x19
-        text run at (155,0) width 5: " "
-      LayoutInline {span} at (0,0) size 505x19
-        LayoutText {#text} at (159,0) size 505x19
-          text run at (159,0) width 418: "have green background because the language of the inner SPANs "
-          text run at (576,0) width 88: "is not French."
+      LayoutText {#text} at (156,0) size 4x19
+        text run at (156,0) width 4: " "
+      LayoutInline {span} at (0,0) size 506x19
+        LayoutText {#text} at (160,0) size 506x19
+          text run at (160,0) width 418: "have green background because the language of the inner SPANs "
+          text run at (578,0) width 88: "is not French."
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-80-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-80-expected.png
index fc68f50..fc3f6b6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-80-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-80-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-80-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-80-expected.txt
index 872b94a..32a08f8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-80-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-80-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {test} at (0,0) size 800x128
     LayoutBlockFlow {div} at (0,0) size 800x128
       LayoutBlockFlow {address} at (16,0) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 330x19
-          text run at (0,0) width 330: "A first address that should have a green background"
+        LayoutText {#text} at (0,0) size 331x19
+          text run at (0,0) width 331: "A first address that should have a green background"
       LayoutBlockFlow {address} at (16,36) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 350x19
-          text run at (0,0) width 350: "A second address that should have a green background"
+        LayoutText {#text} at (0,0) size 351x19
+          text run at (0,0) width 351: "A second address that should have a green background"
       LayoutBlockFlow {address} at (16,72) size 784x20
-        LayoutText {#text} at (0,0) size 257x19
-          text run at (0,0) width 257: "A third address with normal background"
+        LayoutText {#text} at (0,0) size 258x19
+          text run at (0,0) width 258: "A third address with normal background"
       LayoutBlockFlow (anonymous) at (0,108) size 800x20
         LayoutText {#text} at (0,0) size 289x19
           text run at (0,0) width 289: "This div should have three addresses above it."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-82-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-82-expected.png
index f4d03ed13..e0ae1bf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-82-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-82-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-82b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-82b-expected.png
index f4d03ed13..e0ae1bf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-82b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/css3/selectors3/xml/css3-modsel-82b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-001-expected.png
index 59e4d47..d1f02fe9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-001-expected.txt
index 2f94d06..5706091 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-001-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x215
     LayoutBlockFlow {BODY} at (8,16) size 784x191
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 588x19
-          text run at (0,0) width 588: "Test passes if, when the text area below is focused for editing, the text insertion caret is green."
+        LayoutText {#text} at (0,0) size 587x19
+          text run at (0,0) width 587: "Test passes if, when the text area below is focused for editing, the text insertion caret is green."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 432x19
           text run at (0,0) width 432: "The shape of the caret, and whether it flashes, are not part of the test."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-002-expected.png
index 59e4d47..d1f02fe9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-002-expected.txt
index c764366b..5698efe5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-002-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x215
     LayoutBlockFlow {BODY} at (8,16) size 784x191
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 588x19
-          text run at (0,0) width 588: "Test passes if, when the text area below is focused for editing, the text insertion caret is green."
+        LayoutText {#text} at (0,0) size 587x19
+          text run at (0,0) width 587: "Test passes if, when the text area below is focused for editing, the text insertion caret is green."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 432x19
           text run at (0,0) width 432: "The shape of the caret, and whether it flashes, are not part of the test."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-003-expected.png
index c863ef0..c94ac80 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-003-expected.txt
index 416974b..64b69a97 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-003-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x215
     LayoutBlockFlow {BODY} at (8,16) size 784x191
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 765x19
-          text run at (0,0) width 592: "Test passes if, when the text area below is focused for editing, the text insertion caret is green, "
-          text run at (591,0) width 174: "like the text in that textarea."
+        LayoutText {#text} at (0,0) size 764x19
+          text run at (0,0) width 591: "Test passes if, when the text area below is focused for editing, the text insertion caret is green, "
+          text run at (591,0) width 173: "like the text in that textarea."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 432x19
           text run at (0,0) width 432: "The shape of the caret, and whether it flashes, are not part of the test."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-004-expected.png
index ca31dd7b..4245d8e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-004-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-004-expected.txt
index 35cfd34..fa66d694 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-004-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x235
     LayoutBlockFlow {BODY} at (8,16) size 784x211
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 775x39
-          text run at (0,0) width 626: "Test passes if, when the text area below is focused for editing, the text insertion caret is either black "
-          text run at (625,0) width 150: "or some other color that"
+        LayoutText {#text} at (0,0) size 774x39
+          text run at (0,0) width 625: "Test passes if, when the text area below is focused for editing, the text insertion caret is either black "
+          text run at (625,0) width 149: "or some other color that"
           text run at (0,20) width 224: "contrasts well with the background."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 432x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-005-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-005-expected.png
index 635dede..28a3154 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-005-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-005-expected.txt
index 17248c5..71f69a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-005-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-005-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x235
     LayoutBlockFlow {BODY} at (8,16) size 784x211
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 776x39
-          text run at (0,0) width 627: "Test passes if, when the text area below is focused for editing, the text insertion caret is either white "
-          text run at (626,0) width 150: "or some other color that"
+        LayoutText {#text} at (0,0) size 775x39
+          text run at (0,0) width 626: "Test passes if, when the text area below is focused for editing, the text insertion caret is either white "
+          text run at (626,0) width 149: "or some other color that"
           text run at (0,20) width 224: "contrasts well with the background."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 432x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-007-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-007-expected.png
index 95786ff..0071f6d1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-007-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-007-expected.txt
index bf9d181..73ce8c73 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-007-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-007-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x215
     LayoutBlockFlow {BODY} at (8,16) size 784x191
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 584x19
-          text run at (0,0) width 584: "Test passes if, when the text area below is focused for editing, the text insertion caret is green"
+        LayoutText {#text} at (0,0) size 583x19
+          text run at (0,0) width 583: "Test passes if, when the text area below is focused for editing, the text insertion caret is green"
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 432x19
           text run at (0,0) width 432: "The shape of the caret, and whether it flashes, are not part of the test."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-010-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-010-expected.png
index 5b84e2d5..73b0368 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-010-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-010-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-010-expected.txt
index fcb99b4..4813fdc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-010-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-010-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x178
     LayoutBlockFlow {BODY} at (8,16) size 784x154
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 599x19
-          text run at (0,0) width 599: "Test passes if, when the input field below is focused for editing, the text insertion caret is green."
+        LayoutText {#text} at (0,0) size 598x19
+          text run at (0,0) width 598: "Test passes if, when the input field below is focused for editing, the text insertion caret is green."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 432x19
           text run at (0,0) width 432: "The shape of the caret, and whether it flashes, are not part of the test."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-011-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-011-expected.png
index 42b1da5..8e86dbd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-011-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-011-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-011-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-011-expected.txt
index 2f82ca2..7fcbac0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-011-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-011-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x230
     LayoutBlockFlow {BODY} at (8,16) size 784x206
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 743x19
-          text run at (0,0) width 743: "Test passes if, when when the editable element below is focused is focused for editing, the text insertion caret is green."
+        LayoutText {#text} at (0,0) size 742x19
+          text run at (0,0) width 742: "Test passes if, when when the editable element below is focused is focused for editing, the text insertion caret is green."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 432x19
           text run at (0,0) width 432: "The shape of the caret, and whether it flashes, are not part of the test."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-012-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-012-expected.png
index 59e4d47..d1f02fe9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-012-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-012-expected.txt
index 9dcda32f..dc85bffe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-012-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-012-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x215
     LayoutBlockFlow {BODY} at (8,16) size 784x191
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 588x19
-          text run at (0,0) width 588: "Test passes if, when the text area below is focused for editing, the text insertion caret is green."
+        LayoutText {#text} at (0,0) size 587x19
+          text run at (0,0) width 587: "Test passes if, when the text area below is focused for editing, the text insertion caret is green."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 432x19
           text run at (0,0) width 432: "The shape of the caret, and whether it flashes, are not part of the test."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-014-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-014-expected.png
index 00fa7d1..3077307 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-014-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-014-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-014-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-014-expected.txt
index b6298d2..a19df8a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-014-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-014-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x153
     LayoutBlockFlow {BODY} at (8,16) size 784x129
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 516x19
-          text run at (0,0) width 516: "Test passes if, when the link is focused for editing, the text insertion caret is green."
+        LayoutText {#text} at (0,0) size 515x19
+          text run at (0,0) width 515: "Test passes if, when the link is focused for editing, the text insertion caret is green."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 432x19
           text run at (0,0) width 432: "The shape of the caret, and whether it flashes, are not part of the test."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-015-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-015-expected.png
index fd154a2..d66f095 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-015-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-015-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-015-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-015-expected.txt
index fa01594..568add4c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-015-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-color-015-expected.txt
@@ -6,10 +6,10 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 765x39
           text run at (0,0) width 765: "Before running this test, the link below must have been visited. It will have yellow text if this is not the case. If it its text is"
-          text run at (0,20) width 283: "yellow, you need to navigate to this link first."
+          text run at (0,20) width 282: "yellow, you need to navigate to this link first."
       LayoutBlockFlow {P} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 559x19
-          text run at (0,0) width 559: "Test passes if, when the link below is focused for editing, the text insertion caret is green."
+        LayoutText {#text} at (0,0) size 558x19
+          text run at (0,0) width 558: "Test passes if, when the link below is focused for editing, the text insertion caret is green."
       LayoutBlockFlow {P} at (0,92) size 784x20
         LayoutText {#text} at (0,0) size 432x19
           text run at (0,0) width 432: "The shape of the caret, and whether it flashes, are not part of the test."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-position-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-position-expected.png
index 1e7a3e5..0bcbda25 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-position-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-position-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-position-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-position-expected.txt
index 7197e3f0..725134bf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/caret/caret-position-expected.txt
@@ -3,10 +3,10 @@
 layer at (0,0) size 800x38
   LayoutBlockFlow {HTML} at (0,0) size 800x38
     LayoutBlockFlow {BODY} at (8,8) size 784x22
-      LayoutText {#text} at (0,1) size 313x19
-        text run at (0,1) width 313: "This tests if the caret position is aligned correctly. "
-      LayoutTextControl {INPUT} at (312.95,0) size 205x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
+      LayoutText {#text} at (0,1) size 312x19
+        text run at (0,1) width 312: "This tests if the caret position is aligned correctly. "
+      LayoutTextControl {INPUT} at (312,0) size 205x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
       LayoutText {#text} at (0,0) size 0x0
-layer at (324,11) size 200x16
+layer at (323,11) size 200x16
   LayoutBlockFlow {DIV} at (3,3) size 200x16
 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/4922367-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/4922367-expected.png
index add0248..6f5a983f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/4922367-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/4922367-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/4922367-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/4922367-expected.txt
index 4458da8..79965b0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/4922367-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/4922367-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 774x39
+        LayoutText {#text} at (0,0) size 772x39
           text run at (0,0) width 386: "This tests selecting and deleting the paragraph before a table. "
-          text run at (386,0) width 388: "You should see only a table in the editable region below, with"
+          text run at (386,0) width 386: "You should see only a table in the editable region below, with"
           text run at (0,20) width 139: "the caret just before it."
       LayoutBlockFlow {DIV} at (0,56) size 784x30
         LayoutBlockFlow {DIV} at (0,0) size 784x30
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5369009-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5369009-expected.png
index d96435f..f37e7146 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5369009-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5369009-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5369009-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5369009-expected.txt
index 28f6c4a..8bcd810 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5369009-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5369009-expected.txt
@@ -6,12 +6,12 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 783x39
           text run at (0,0) width 783: "This tests for a hang on delete where a style rule would cause style spans in content moved after the delete to be displayed as"
-          text run at (0,20) width 185: "blocks. You should see Hello"
+          text run at (0,20) width 184: "blocks. You should see Hello"
         LayoutInline {B} at (0,0) size 44x19
           LayoutText {#text} at (184,20) size 44x19
             text run at (184,20) width 44: "World"
-        LayoutText {#text} at (227,20) size 47x19
-          text run at (227,20) width 47: " below."
+        LayoutText {#text} at (228,20) size 45x19
+          text run at (228,20) width 45: " below."
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutBlockFlow {DIV} at (0,0) size 784x20
           LayoutText {#text} at (0,0) size 35x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5433862-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5433862-2-expected.png
index 54b885f..8db2b32 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5433862-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5433862-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5433862-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5433862-2-expected.txt
index 58c0d50..1864fa5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5433862-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5433862-2-expected.txt
@@ -7,7 +7,7 @@
         LayoutText {#text} at (0,0) size 783x39
           text run at (0,0) width 579: "This tests for a bug where empty table rows well after the selection to delete were removed. "
           text run at (579,0) width 204: "There should be five rows in the"
-          text run at (0,20) width 260: "table below, before and after the deletion."
+          text run at (0,20) width 259: "table below, before and after the deletion."
       LayoutBlockFlow {DIV} at (0,56) size 784x140
         LayoutTable {TABLE} at (0,0) size 109x140 [border: (1px outset #808080)]
           LayoutTableSection {TBODY} at (1,1) size 107x138
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5483370-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5483370-expected.png
index aab02e4..df3f2d2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5483370-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5483370-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5483370-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5483370-expected.txt
index d54fcf8..213b56c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5483370-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/5483370-expected.txt
@@ -4,10 +4,10 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 760x39
-          text run at (0,0) width 705: "This tests for a problem where empty table rows after the selection being deleted would be removed incorrectly. "
-          text run at (704,0) width 56: "Only the"
-          text run at (0,20) width 343: "last letter in 'foo' should be removed during this delete."
+        LayoutText {#text} at (0,0) size 784x39
+          text run at (0,0) width 704: "This tests for a problem where empty table rows after the selection being deleted would be removed incorrectly. "
+          text run at (704,0) width 80: "Only the last"
+          text run at (0,20) width 318: "letter in 'foo' should be removed during this delete."
       LayoutBlockFlow {DIV} at (0,56) size 784x56
         LayoutTable {TABLE} at (0,0) size 29x56 [border: (1px outset #808080)]
           LayoutTableSection {TBODY} at (1,1) size 27x54
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/delete-at-paragraph-boundaries-011-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/delete-at-paragraph-boundaries-011-expected.png
index 73ea975..aeaf8db 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/delete-at-paragraph-boundaries-011-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/delete-at-paragraph-boundaries-011-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt
index 36d7f04..c27dc6f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt
@@ -15,7 +15,7 @@
           LayoutBR {BR} at (0,0) size 0x0
           LayoutText {#text} at (0,27) size 629x27
             text run at (0,27) width 629: "Delete at the end of document when there is a BR following a P. "
-          LayoutBR {BR} at (628,48) size 1x0
+          LayoutBR {BR} at (629,48) size 0x0
           LayoutText {#text} at (0,55) size 442x27
             text run at (0,55) width 442: "This is a test case for rdar://problem/4110366"
         LayoutBlockFlow {DIV} at (14,113) size 756x111
@@ -26,8 +26,8 @@
             text run at (0,27) width 240: "Red box with four lines. "
             text run at (240,27) width 480: "The second line is a nested red box with the word"
             text run at (0,55) width 81: "\"hello\". "
-            text run at (81,55) width 315: "The other three lines are empty. "
-          LayoutBR {BR} at (395,76) size 1x0
+            text run at (81,55) width 314: "The other three lines are empty. "
+          LayoutBR {BR} at (395,76) size 0x0
           LayoutText {#text} at (0,83) size 468x27
             text run at (0,83) width 468: "Selection is a caret at the start of the fourth line."
       LayoutBlockFlow {DIV} at (0,262) size 784x140 [border: (2px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/merge-endOfParagraph-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/merge-endOfParagraph-expected.txt
index c20a2b7..8b3ba7a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/merge-endOfParagraph-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/merge-endOfParagraph-expected.txt
@@ -19,9 +19,9 @@
       LayoutBlockFlow {P} at (0,112) size 784x60
         LayoutText {#text} at (0,0) size 779x59
           text run at (0,0) width 315: "Fixing that bug exposed a problem with merging. "
-          text run at (314,0) width 463: "If deletion empties out the block that contained the start of the selection to"
+          text run at (315,0) width 462: "If deletion empties out the block that contained the start of the selection to"
           text run at (0,20) width 472: "delete, that block can collapse away and become impossible to merge into. "
-          text run at (471,20) width 308: "So we insert a placeholder to prop it open so that"
+          text run at (472,20) width 307: "So we insert a placeholder to prop it open so that"
           text run at (0,40) width 142: "the merge can happen."
       LayoutBlockFlow {DIV} at (5,188) size 774x34 [border: (1px solid #000000)]
         LayoutBlockFlow {DIV} at (6,6) size 762x22 [border: (1px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/merge-no-br-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/merge-no-br-expected.png
index 24648296..14eb040 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/merge-no-br-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/merge-no-br-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/merge-no-br-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/merge-no-br-expected.txt
index 6feadbe..098fd0d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/merge-no-br-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/deleting/merge-no-br-expected.txt
@@ -7,13 +7,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 780x39
-          text run at (0,0) width 780: "This places the caret before the 'T' in 'Two' and Deletes. 'One' and 'Two' should be merged but the blocks containing 'Three'"
+        LayoutText {#text} at (0,0) size 778x39
+          text run at (0,0) width 778: "This places the caret before the 'T' in 'Two' and Deletes. 'One' and 'Two' should be merged but the blocks containing 'Three'"
           text run at (0,20) width 230: "and 'Four' should remain untouched."
       LayoutBlockFlow {DIV} at (8,56) size 768x182
         LayoutBlockFlow {DIV} at (16,16) size 736x42 [border: (3px solid #FF0000)]
-          LayoutText {#text} at (11,11) size 56x19
-            text run at (11,11) width 56: "OneTwo"
+          LayoutText {#text} at (11,11) size 55x19
+            text run at (11,11) width 55: "OneTwo"
         LayoutBlockFlow {DIV} at (16,66) size 736x100 [border: (3px solid #008000)]
           LayoutBlockFlow {DIV} at (19,19) size 698x42 [border: (3px solid #000000)]
             LayoutText {#text} at (11,11) size 37x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-1-expected.png
index 05371de..34e46a4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-1-expected.txt
index 109db99..c9d21db 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-1-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 765x39
+        LayoutText {#text} at (0,0) size 763x39
           text run at (0,0) width 474: "This tests to make sure that breaking a quoted list doesn't renumber the list. "
-          text run at (474,0) width 291: "You should see a list broken in two below, the"
+          text run at (474,0) width 289: "You should see a list broken in two below, the"
           text run at (0,20) width 186: "list items numbered 1, 2, 3, 4."
       LayoutBlockFlow {DIV} at (0,56) size 784x132
         LayoutBlockFlow {BLOCKQUOTE} at (2,0) size 742x40 [color=#0000FF] [border: none (2px solid #0000FF)]
@@ -17,8 +17,8 @@
                 text run at (0,0) width 27: "One"
             LayoutListItem {LI} at (40,20) size 700x20
               LayoutListMarker (anonymous) at (-16,0) size 16x19: "2"
-              LayoutText {#text} at (0,0) size 29x19
-                text run at (0,0) width 29: "Two"
+              LayoutText {#text} at (0,0) size 28x19
+                text run at (0,0) width 28: "Two"
         LayoutBlockFlow (anonymous) at (0,56) size 784x20
           LayoutBR {BR} at (0,0) size 0x19
         LayoutBlockFlow {BLOCKQUOTE} at (2,92) size 742x40 [color=#0000FF] [border: none (2px solid #0000FF)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-2-expected.png
index 76593ae..e064789 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-2-expected.txt
index 1479005..7a901a6a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/4580583-2-expected.txt
@@ -4,10 +4,10 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 765x39
+        LayoutText {#text} at (0,0) size 763x39
           text run at (0,0) width 474: "This tests to make sure that breaking a quoted list doesn't renumber the list. "
-          text run at (474,0) width 291: "You should see a list broken in two below, the"
-          text run at (0,20) width 667: "list items numbered 1, 2, 2, 3, 4. Two list items will be numbered '2' because the original item '2' was split."
+          text run at (474,0) width 289: "You should see a list broken in two below, the"
+          text run at (0,20) width 666: "list items numbered 1, 2, 2, 3, 4. Two list items will be numbered '2' because the original item '2' was split."
       LayoutBlockFlow {DIV} at (0,56) size 784x152
         LayoutBlockFlow {BLOCKQUOTE} at (2,0) size 742x40 [color=#0000FF] [border: none (2px solid #0000FF)]
           LayoutBlockFlow {OL} at (2,0) size 740x40
@@ -17,16 +17,16 @@
                 text run at (0,0) width 27: "One"
             LayoutListItem {LI} at (40,20) size 700x20
               LayoutListMarker (anonymous) at (-16,0) size 16x19: "2"
-              LayoutText {#text} at (0,0) size 29x19
-                text run at (0,0) width 29: "Two"
+              LayoutText {#text} at (0,0) size 28x19
+                text run at (0,0) width 28: "Two"
         LayoutBlockFlow (anonymous) at (0,56) size 784x20
           LayoutBR {BR} at (0,0) size 0x19
         LayoutBlockFlow {BLOCKQUOTE} at (2,92) size 742x60 [color=#0000FF] [border: none (2px solid #0000FF)]
           LayoutBlockFlow {OL} at (2,0) size 740x60
             LayoutListItem {LI} at (40,0) size 700x20
               LayoutListMarker (anonymous) at (-16,0) size 16x19: "2"
-              LayoutText {#text} at (0,0) size 29x19
-                text run at (0,0) width 29: "Two"
+              LayoutText {#text} at (0,0) size 28x19
+                text run at (0,0) width 28: "Two"
             LayoutListItem {LI} at (40,20) size 700x20
               LayoutListMarker (anonymous) at (-16,0) size 16x19: "3"
               LayoutText {#text} at (0,0) size 37x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5138441-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5138441-expected.png
index 72232be..5881e87 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5138441-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5138441-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5138441-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5138441-expected.txt
index ea85006..3ee5d482 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5138441-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5138441-expected.txt
@@ -4,10 +4,10 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x60
-        LayoutText {#text} at (0,0) size 775x59
+        LayoutText {#text} at (0,0) size 774x59
           text run at (0,0) width 493: "This tests for a bug where indented text would appear quoted in GoogleDocs. "
           text run at (493,0) width 218: "Google docs uses blockquotes and"
-          text run at (0,20) width 775: "FormatBlock to implement a \"Quote Text\" feature, and style rules for blockquotes appeared on the blockquotes that we use"
+          text run at (0,20) width 774: "FormatBlock to implement a \"Quote Text\" feature, and style rules for blockquotes appeared on the blockquotes that we use"
           text run at (0,40) width 149: "to implement indenting."
       LayoutBlockFlow {DIV} at (0,76) size 784x66
         LayoutBlockFlow {BLOCKQUOTE} at (40,0) size 744x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5142012-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5142012-1-expected.png
index fc0601b..18ff9bd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5142012-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5142012-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5142012-1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5142012-1-expected.txt
index a9d8474..f7b8448 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5142012-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/5142012-1-expected.txt
@@ -7,7 +7,7 @@
         LayoutText {#text} at (0,0) size 766x39
           text run at (0,0) width 449: "This tests for a bug when removing links from a selection with Unlink. "
           text run at (449,0) width 317: "There shouldn't be any links *inside the selection*"
-          text run at (0,20) width 42: "below."
+          text run at (0,20) width 41: "below."
       LayoutBlockFlow {DIV} at (0,56) size 784x40
         LayoutBlockFlow {DIV} at (0,0) size 784x20
           LayoutInline {A} at (0,0) size 23x19 [color=#0000EE]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/findString-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/findString-expected.png
index 7ff1868..2d3cdc5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/findString-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/findString-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/findString-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/findString-expected.txt
index cc594c0..b53460b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/findString-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/execCommand/findString-expected.txt
@@ -7,8 +7,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 349x19
-          text run at (0,0) width 349: "In the block below, the second 'bar ' should be selected."
+        LayoutText {#text} at (0,0) size 348x19
+          text run at (0,0) width 348: "In the block below, the second 'bar ' should be selected."
       LayoutBlockFlow {DIV} at (0,36) size 52x42 [border: (1px solid #000000)]
         LayoutText {#text} at (1,1) size 45x19
           text run at (1,1) width 45: "foo bar"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-at-the-edge-of-contenteditable-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-at-the-edge-of-contenteditable-expected.png
index 7800010..9e111f9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-at-the-edge-of-contenteditable-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-at-the-edge-of-contenteditable-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-at-the-edge-of-contenteditable-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-at-the-edge-of-contenteditable-expected.txt
index d9e5f5e0..35e0e45 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-at-the-edge-of-contenteditable-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-at-the-edge-of-contenteditable-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x78
     LayoutBlockFlow {BODY} at (8,8) size 784x62
       LayoutBlockFlow {DIV} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 768x39
-          text run at (0,0) width 768: "When the caret reaches the edge of the input box or content editable div, on the next input if must jump to the center of the"
+        LayoutText {#text} at (0,0) size 767x39
+          text run at (0,0) width 767: "When the caret reaches the edge of the input box or content editable div, on the next input if must jump to the center of the"
           text run at (0,20) width 48: "control."
 layer at (8,48) size 82x22 clip at (9,49) size 80x20 scrollX 41.00 scrollWidth 337
   LayoutBlockFlow {DIV} at (0,40) size 82x22 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-read-only-after-editable-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-read-only-after-editable-expected.png
index b7b5e66..f04df72 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-read-only-after-editable-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-read-only-after-editable-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-read-only-after-editable-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-read-only-after-editable-expected.txt
index d8167e5..cee385e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-read-only-after-editable-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/input/caret-read-only-after-editable-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x86
     LayoutBlockFlow {BODY} at (8,8) size 784x70
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 303x19
-          text run at (0,0) width 303: "Test passes if caret is visible after text is entered."
+        LayoutText {#text} at (0,0) size 302x19
+          text run at (0,0) width 302: "Test passes if caret is visible after text is entered."
       LayoutBlockFlow {DIV} at (0,20) size 784x50 [border: (1px solid #000000)]
         LayoutText {#text} at (1,2) size 38x46
           text run at (1,2) width 38: "ab"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/input/linux_ltr_composition_underline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/input/linux_ltr_composition_underline-expected.png
index ae1c9d8..43a1ad1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/input/linux_ltr_composition_underline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/input/linux_ltr_composition_underline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/input/linux_ltr_composition_underline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/input/linux_ltr_composition_underline-expected.txt
index 0df1f62..0dbf9b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/input/linux_ltr_composition_underline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/input/linux_ltr_composition_underline-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 706x19
-          text run at (0,0) width 706: "This tests that composition underline is painted correctly for LTR text on Linuxby typing hello world in English."
+        LayoutText {#text} at (0,0) size 705x19
+          text run at (0,0) width 705: "This tests that composition underline is painted correctly for LTR text on Linuxby typing hello world in English."
       LayoutBlockFlow {FORM} at (0,36) size 784x22
         LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
 layer at (10,47) size 150x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/input/linux_rtl_composition_underline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/input/linux_rtl_composition_underline-expected.png
index cbf76ce..f7bf9ad 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/input/linux_rtl_composition_underline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/input/linux_rtl_composition_underline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt
index 7cb0e66b..f167a1f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt
@@ -43,7 +43,7 @@
     LayoutBR {BR} at (17,201) size 0x19
     LayoutText {#text} at (1,221) size 16x19
       text run at (1,221) width 16: "11"
-    LayoutBR {BR} at (16,221) size 1x19
+    LayoutBR {BR} at (17,221) size 0x19
     LayoutText {#text} at (1,241) size 16x19
       text run at (1,241) width 16: "12"
     LayoutBR {BR} at (17,241) size 0x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/5510537-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/5510537-expected.png
index 50f58c9..069b94ae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/5510537-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/5510537-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/5510537-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/5510537-expected.txt
index 3cf612c..2eae1acc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/5510537-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/5510537-expected.txt
@@ -7,7 +7,7 @@
         LayoutText {#text} at (0,0) size 773x39
           text run at (0,0) width 639: "This tests that inserting a newline at the beginning of quoted content doesn't add an extra quoted line. "
           text run at (639,0) width 134: "The test has passed if"
-          text run at (0,20) width 400: "there are no empty lines (quoted or unquoted) in the box below."
+          text run at (0,20) width 399: "there are no empty lines (quoted or unquoted) in the box below."
       LayoutBlockFlow {DIV} at (0,56) size 784x100
         LayoutBlockFlow (anonymous) at (0,0) size 784x20
           LayoutText {#text} at (0,0) size 59x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/5549929-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/5549929-2-expected.txt
index 1ea02e8..7504d88 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/5549929-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/5549929-2-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 734x39
+        LayoutText {#text} at (0,0) size 733x39
           text run at (0,0) width 616: "This tests to make sure that a br isn't inserted into a tab span during an InsertLineBreak operation. "
-          text run at (616,0) width 118: "You can test for its"
+          text run at (616,0) width 117: "You can test for its"
           text run at (0,20) width 432: "existence with the DOM inspector or you can look at the render tree."
       LayoutBlockFlow {DIV} at (0,56) size 784x40
         LayoutBlockFlow {DIV} at (0,0) size 784x40
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/6703873-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/6703873-expected.png
index f7a4982..325a578 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/6703873-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/6703873-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/6703873-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/6703873-expected.txt
index 0681da5..37a7ab0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/6703873-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/6703873-expected.txt
@@ -7,7 +7,7 @@
         LayoutText {#text} at (0,0) size 742x39
           text run at (0,0) width 667: "This tests that inserting a newline in place of a full line of quoted content doesn't add an extra quoted line. "
           text run at (667,0) width 75: "The test has"
-          text run at (0,20) width 459: "passed if there are no empty lines (quoted or unquoted) in the box below."
+          text run at (0,20) width 458: "passed if there are no empty lines (quoted or unquoted) in the box below."
       LayoutBlockFlow {DIV} at (0,56) size 784x60
         LayoutBlockFlow {BLOCKQUOTE} at (0,0) size 784x20 [color=#0000FF] [border: none (2px solid #0000FF)]
           LayoutBlockFlow {DIV} at (12,0) size 772x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-3800346-fix-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-3800346-fix-expected.txt
index 4e3ca97..6991776 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-3800346-fix-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-3800346-fix-expected.txt
@@ -23,11 +23,11 @@
       LayoutBlockFlow {DIV} at (0,0) size 784x244 [border: (2px solid #FF0000)]
         LayoutBlockFlow {DIV} at (14,14) size 756x216
           LayoutBlockFlow (anonymous) at (0,0) size 756x28
-            LayoutText {#text} at (0,0) size 41x27
-              text run at (0,0) width 41: "Test"
+            LayoutText {#text} at (0,0) size 40x27
+              text run at (0,0) width 40: "Test"
           LayoutBlockFlow {BLOCKQUOTE} at (40,52) size 676x28
-            LayoutText {#text} at (0,0) size 41x27
-              text run at (0,0) width 41: "Test"
+            LayoutText {#text} at (0,0) size 40x27
+              text run at (0,0) width 40: "Test"
           LayoutBlockFlow (anonymous) at (0,104) size 756x112
             LayoutBR {BR} at (0,0) size 0x27
             LayoutBR {BR} at (0,28) size 0x27
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-001-expected.png
index 8c290f2..be149693 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-001-expected.txt
index 0469709..4f48bda 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-001-expected.txt
@@ -18,9 +18,9 @@
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
-          LayoutText {#text} at (0,27) size 370x19
-            text run at (0,27) width 370: "Two blockquotes, with an unquoted blank line in between."
-          LayoutBR {BR} at (369,42) size 1x0
+          LayoutText {#text} at (0,27) size 369x19
+            text run at (0,27) width 369: "Two blockquotes, with an unquoted blank line in between."
+          LayoutBR {BR} at (369,42) size 0x0
           LayoutText {#text} at (0,47) size 403x19
             text run at (0,47) width 403: "The first blockquote contains two lines, the second one is blank."
           LayoutBR {BR} at (403,62) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-002-expected.png
index 8c290f2..be149693 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-002-expected.txt
index c9d6c61d..c51e2ca 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-002-expected.txt
@@ -18,9 +18,9 @@
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
-          LayoutText {#text} at (0,27) size 370x19
-            text run at (0,27) width 370: "Two blockquotes, with an unquoted blank line in between."
-          LayoutBR {BR} at (369,42) size 1x0
+          LayoutText {#text} at (0,27) size 369x19
+            text run at (0,27) width 369: "Two blockquotes, with an unquoted blank line in between."
+          LayoutBR {BR} at (369,42) size 0x0
           LayoutText {#text} at (0,47) size 403x19
             text run at (0,47) width 403: "The first blockquote contains two lines, the second one is blank."
           LayoutBR {BR} at (403,62) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-003-expected.png
index 86bb42c6..8935f3e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-003-expected.txt
index 0041366..5ce541e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-003-expected.txt
@@ -18,9 +18,9 @@
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
-          LayoutText {#text} at (0,27) size 370x19
-            text run at (0,27) width 370: "Two blockquotes, with an unquoted blank line in between."
-          LayoutBR {BR} at (369,42) size 1x0
+          LayoutText {#text} at (0,27) size 369x19
+            text run at (0,27) width 369: "Two blockquotes, with an unquoted blank line in between."
+          LayoutBR {BR} at (369,42) size 0x0
           LayoutText {#text} at (0,47) size 403x19
             text run at (0,47) width 403: "The first blockquote contains two lines, the second one is blank."
           LayoutBR {BR} at (403,62) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-004-expected.png
index 86bb42c6..8935f3e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-004-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-004-expected.txt
index 82755eb..ff112a0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-004-expected.txt
@@ -18,9 +18,9 @@
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
-          LayoutText {#text} at (0,27) size 370x19
-            text run at (0,27) width 370: "Two blockquotes, with an unquoted blank line in between."
-          LayoutBR {BR} at (369,42) size 1x0
+          LayoutText {#text} at (0,27) size 369x19
+            text run at (0,27) width 369: "Two blockquotes, with an unquoted blank line in between."
+          LayoutBR {BR} at (369,42) size 0x0
           LayoutText {#text} at (0,47) size 403x19
             text run at (0,47) width 403: "The first blockquote contains two lines, the second one is blank."
           LayoutBR {BR} at (403,62) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-005-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-005-expected.png
index 8c290f2..be149693 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-005-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-005-expected.txt
index c9d6c61d..c51e2ca 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-005-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-005-expected.txt
@@ -18,9 +18,9 @@
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
-          LayoutText {#text} at (0,27) size 370x19
-            text run at (0,27) width 370: "Two blockquotes, with an unquoted blank line in between."
-          LayoutBR {BR} at (369,42) size 1x0
+          LayoutText {#text} at (0,27) size 369x19
+            text run at (0,27) width 369: "Two blockquotes, with an unquoted blank line in between."
+          LayoutBR {BR} at (369,42) size 0x0
           LayoutText {#text} at (0,47) size 403x19
             text run at (0,47) width 403: "The first blockquote contains two lines, the second one is blank."
           LayoutBR {BR} at (403,62) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-006-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-006-expected.png
index ea6f246..62a32a5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-006-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-006-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-006-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-006-expected.txt
index e5da923..1fb604e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-006-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/insert-br-quoted-006-expected.txt
@@ -18,9 +18,9 @@
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
-          LayoutText {#text} at (0,27) size 370x19
-            text run at (0,27) width 370: "Two blockquotes, with an unquoted blank line in between."
-          LayoutBR {BR} at (369,42) size 1x0
+          LayoutText {#text} at (0,27) size 369x19
+            text run at (0,27) width 369: "Two blockquotes, with an unquoted blank line in between."
+          LayoutBR {BR} at (369,42) size 0x0
           LayoutText {#text} at (0,47) size 403x19
             text run at (0,47) width 403: "The first blockquote contains two lines, the second one is blank."
           LayoutBR {BR} at (403,62) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-1-expected.png
index 65a113c..14adee8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-1-expected.txt
index 6295f7c..9ed82faf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-1-expected.txt
@@ -7,9 +7,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 612x19
+        LayoutText {#text} at (0,0) size 611x19
           text run at (0,0) width 337: "This tests InsertParagraphSeparator inside table cells. "
-          text run at (337,0) width 275: "'Cell' and 'Two' should be on separate lines."
+          text run at (337,0) width 274: "'Cell' and 'Two' should be on separate lines."
       LayoutBlockFlow {DIV} at (0,36) size 784x50
         LayoutTable {TABLE} at (0,0) size 103x50 [border: (1px outset #808080)]
           LayoutTableSection {TBODY} at (1,1) size 101x48
@@ -21,7 +21,7 @@
                 LayoutText {#text} at (2,2) size 30x19
                   text run at (2,2) width 30: "Cell "
                 LayoutBR {BR} at (32,17) size 0x0
-                LayoutInline {SPAN} at (0,0) size 29x19
-                  LayoutText {#text} at (2,22) size 29x19
-                    text run at (2,22) width 29: "Two"
+                LayoutInline {SPAN} at (0,0) size 28x19
+                  LayoutText {#text} at (2,22) size 28x19
+                    text run at (2,22) width 28: "Two"
 caret: position 0 of child 0 {#text} of child 2 {SPAN} of child 1 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-2-expected.png
index dcca4fc..17c9984 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-2-expected.txt
index 2a9545d..6eaa0fa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/paragraph-separator-in-table-2-expected.txt
@@ -10,17 +10,17 @@
         LayoutText {#text} at (0,0) size 768x39
           text run at (0,0) width 337: "This tests InsertParagraphSeparator inside table cells. "
           text run at (337,0) width 431: "The first cell should contain 'Cell' and a newline, and the second cell"
-          text run at (0,20) width 135: "should contain 'Two'."
+          text run at (0,20) width 134: "should contain 'Two'."
       LayoutBlockFlow {DIV} at (0,56) size 784x50
-        LayoutTable {TABLE} at (0,0) size 79x50 [border: (1px outset #808080)]
-          LayoutTableSection {TBODY} at (1,1) size 77x48
-            LayoutTableRow {TR} at (0,2) size 77x44
+        LayoutTable {TABLE} at (0,0) size 78x50 [border: (1px outset #808080)]
+          LayoutTableSection {TBODY} at (1,1) size 76x48
+            LayoutTableRow {TR} at (0,2) size 76x44
               LayoutTableCell {TD} at (2,2) size 34x44 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                 LayoutText {#text} at (2,2) size 30x19
                   text run at (2,2) width 30: "Cell "
                 LayoutBR {BR} at (32,17) size 0x0
                 LayoutBR {BR} at (2,22) size 0x19
-              LayoutTableCell {TD} at (38,12) size 37x24 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
-                LayoutText {#text} at (2,2) size 33x19
-                  text run at (2,2) width 33: " Two"
+              LayoutTableCell {TD} at (38,12) size 36x24 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
+                LayoutText {#text} at (2,2) size 32x19
+                  text run at (2,2) width 32: " Two"
 caret: position 0 of child 2 {BR} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4631972-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4631972-expected.png
index cf9a8831..eea9e7f9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4631972-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4631972-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4631972-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4631972-expected.txt
index a3deb796..4677ad6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4631972-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4631972-expected.txt
@@ -10,8 +10,8 @@
         LayoutText {#text} at (0,0) size 638x39
           text run at (0,0) width 423: "This tests pasting a fragment containing an <iframe> after a <div>. "
           text run at (423,0) width 215: "This used to fail on an assertion in"
-          text run at (0,20) width 323: "moveParagraphContentsToNewBlockIfNecessary. "
-          text run at (322,20) width 314: "You should see 'foo' and then an <iframe> below."
+          text run at (0,20) width 321: "moveParagraphContentsToNewBlockIfNecessary. "
+          text run at (321,20) width 311: "You should see 'foo' and then an <iframe> below."
       LayoutBlockFlow {DIV} at (0,56) size 784x72
         LayoutBlockFlow {DIV} at (0,0) size 784x20
           LayoutText {#text} at (0,0) size 21x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4806874-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4806874-expected.txt
index 6d14b9b..4438ace 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4806874-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4806874-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 544x19
+        LayoutText {#text} at (0,0) size 543x19
           text run at (0,0) width 245: "This tests for an infinite loop on Paste. "
-          text run at (245,0) width 299: "You should see 'Hello: ' and then an input field."
+          text run at (245,0) width 298: "You should see 'Hello: ' and then an input field."
       LayoutBlockFlow {DIV} at (0,36) size 784x22
         LayoutText {#text} at (0,1) size 35x19
           text run at (0,1) width 35: "Hello"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4947130-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4947130-expected.png
index 267d453..c41df55 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4947130-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4947130-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4947130-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4947130-expected.txt
index b4afea2..b05d98702 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4947130-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/4947130-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 779x39
+        LayoutText {#text} at (0,0) size 778x39
           text run at (0,0) width 491: "This tests to see if dragging an image is a move drag by default (it should be). "
-          text run at (491,0) width 288: "You should only see one picture and it should"
+          text run at (491,0) width 287: "You should only see one picture and it should"
           text run at (0,20) width 200: "be somewhere near the middle. "
         LayoutInline {B} at (0,0) size 492x19
           LayoutText {#text} at (200,20) size 492x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5006779-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5006779-expected.png
index 1a10377..24eafa3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5006779-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5006779-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5006779-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5006779-expected.txt
index 8748f50..b383c14 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5006779-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5006779-expected.txt
@@ -14,11 +14,11 @@
           LayoutBR {BR} at (20,15) size 0x0
           LayoutBR {BR} at (0,20) size 0x19
         LayoutBlockFlow {BLOCKQUOTE} at (0,40) size 784x20 [color=#0000FF] [border: none (2px solid #0000FF)]
-          LayoutText {#text} at (12,0) size 163x19
-            text run at (12,0) width 163: "On Tuesday, Dave wrote:"
+          LayoutText {#text} at (12,0) size 162x19
+            text run at (12,0) width 162: "On Tuesday, Dave wrote:"
         LayoutBlockFlow {BLOCKQUOTE} at (0,60) size 784x20 [color=#0000FF] [border: none (2px solid #0000FF)]
           LayoutBR {BR} at (12,0) size 0x19
         LayoutBlockFlow {BLOCKQUOTE} at (0,80) size 784x20 [color=#0000FF] [border: none (2px solid #0000FF)]
-          LayoutText {#text} at (12,0) size 82x19
-            text run at (12,0) width 82: "Hello World."
+          LayoutText {#text} at (12,0) size 81x19
+            text run at (12,0) width 81: "Hello World."
 caret: position 3 of child 0 {#text} of child 2 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5134759-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5134759-expected.png
index 07e554b..eedae283 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5134759-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5134759-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5134759-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5134759-expected.txt
index c9976d30..331aeb5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5134759-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5134759-expected.txt
@@ -4,20 +4,20 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 647x19
+        LayoutText {#text} at (0,0) size 646x19
           text run at (0,0) width 504: "This tests for a hang when pasting underlined content at the end of a paragraph. "
-          text run at (504,0) width 143: "You should see 'Hello "
-        LayoutInline {U} at (0,0) size 45x19
-          LayoutText {#text} at (646,0) size 45x19
-            text run at (646,0) width 45: "World!"
-        LayoutText {#text} at (690,0) size 50x19
-          text run at (690,0) width 50: "' below."
+          text run at (504,0) width 142: "You should see 'Hello "
+        LayoutInline {U} at (0,0) size 43x19
+          LayoutText {#text} at (646,0) size 43x19
+            text run at (646,0) width 43: "World!"
+        LayoutText {#text} at (689,0) size 48x19
+          text run at (689,0) width 48: "' below."
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutBlockFlow {DIV} at (0,0) size 784x20
           LayoutText {#text} at (0,0) size 39x19
             text run at (0,0) width 39: "Hello "
-          LayoutInline {SPAN} at (0,0) size 44x19
-            LayoutText {#text} at (39,0) size 44x19
-              text run at (39,0) width 44: "World!"
+          LayoutInline {SPAN} at (0,0) size 43x19
+            LayoutText {#text} at (39,0) size 43x19
+              text run at (39,0) width 43: "World!"
         LayoutBlockFlow (anonymous) at (0,20) size 784x0
 caret: position 6 of child 0 {#text} of child 1 {SPAN} of child 0 {DIV} of child 2 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5601583-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5601583-1-expected.png
index 53ea55f..8467876 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5601583-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5601583-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5601583-1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5601583-1-expected.txt
index 85e9c0a..da295ffb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5601583-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5601583-1-expected.txt
@@ -7,20 +7,20 @@
         LayoutText {#text} at (0,0) size 719x39
           text run at (0,0) width 407: "This tests for a bug where a copied link wouldn't paste as a link. "
           text run at (407,0) width 312: "Both editable regions below should contain a link"
-          text run at (0,20) width 104: "\"Hello\\nWorld\"."
+          text run at (0,20) width 103: "\"Hello\\nWorld\"."
       LayoutBlockFlow {DIV} at (0,56) size 784x40
-        LayoutInline {A} at (0,0) size 39x39 [color=#0000EE]
+        LayoutInline {A} at (0,0) size 38x39 [color=#0000EE]
           LayoutText {#text} at (0,0) size 35x19
             text run at (0,0) width 35: "Hello"
           LayoutBR {BR} at (35,15) size 0x0
-          LayoutText {#text} at (0,20) size 39x19
-            text run at (0,20) width 39: "World"
+          LayoutText {#text} at (0,20) size 38x19
+            text run at (0,20) width 38: "World"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,96) size 784x40
-        LayoutInline {A} at (0,0) size 39x39 [color=#0000EE]
+        LayoutInline {A} at (0,0) size 38x39 [color=#0000EE]
           LayoutText {#text} at (0,0) size 35x19
             text run at (0,0) width 35: "Hello"
           LayoutBR {BR} at (35,15) size 0x0
-          LayoutText {#text} at (0,20) size 39x19
-            text run at (0,20) width 39: "World"
+          LayoutText {#text} at (0,20) size 38x19
+            text run at (0,20) width 38: "World"
 caret: position 5 of child 2 {#text} of child 0 {A} of child 4 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/bad-placeholder-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/bad-placeholder-expected.png
index e569270..fb548beb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/bad-placeholder-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/bad-placeholder-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/bad-placeholder-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/bad-placeholder-expected.txt
index c9238b0..8de03fa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/bad-placeholder-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/bad-placeholder-expected.txt
@@ -13,8 +13,8 @@
           text run at (0,20) width 405: "collapsed away or when it has been displaced by pasted content."
       LayoutBlockFlow {P} at (0,56) size 784x40
         LayoutText {#text} at (0,0) size 763x39
-          text run at (0,0) width 694: "Placeholders with our special class can, through bugs in deletion, be inserted into the document unnecessarily. "
-          text run at (693,0) width 62: "Once that"
+          text run at (0,0) width 693: "Placeholders with our special class can, through bugs in deletion, be inserted into the document unnecessarily. "
+          text run at (693,0) width 61: "Once that"
           text run at (0,20) width 763: "happens, we don't want to make matters worse by removing them if they are acting as line breaks instead of placeholders."
       LayoutBlockFlow {DIV} at (0,112) size 784x40
         LayoutText {#text} at (0,0) size 99x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/copy-standalone-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/copy-standalone-image-expected.png
index 579d432..d599348 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/copy-standalone-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/copy-standalone-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/copy-standalone-image-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/copy-standalone-image-expected.txt
index da447b7d..41eff49 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/copy-standalone-image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/copy-standalone-image-expected.txt
@@ -10,8 +10,8 @@
         LayoutText {#text} at (0,0) size 354x19
           text run at (0,0) width 354: "This is an automatic test of copying an image document."
       LayoutBlockFlow {P} at (0,36) size 784x40
-        LayoutText {#text} at (0,0) size 757x39
-          text run at (0,0) width 757: "To perform this test manually, click once in the image frame, choose Edit -> Copy then click in the red box and paste the"
+        LayoutText {#text} at (0,0) size 755x39
+          text run at (0,0) width 755: "To perform this test manually, click once in the image frame, choose Edit -> Copy then click in the red box and paste the"
           text run at (0,20) width 355: "image. If the image pastes successfully the test is passed."
       LayoutBlockFlow (anonymous) at (0,92) size 784x154
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/drop-text-without-selection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/drop-text-without-selection-expected.png
index e86abff..af749537 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/drop-text-without-selection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/drop-text-without-selection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/drop-text-without-selection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/drop-text-without-selection-expected.txt
index 0bf88688..a0272966 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/drop-text-without-selection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/drop-text-without-selection-expected.txt
@@ -9,16 +9,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 104x19
           text run at (0,0) width 104: "This is a test for "
-        LayoutInline {I} at (0,0) size 750x39
+        LayoutInline {I} at (0,0) size 751x39
           LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
             LayoutText {#text} at (104,0) size 348x19
               text run at (104,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8394"
-          LayoutText {#text} at (451,0) size 750x39
-            text run at (451,0) width 5: " "
-            text run at (455,0) width 295: "Editable region does not accept dropped text if"
+          LayoutText {#text} at (452,0) size 751x39
+            text run at (452,0) width 4: " "
+            text run at (456,0) width 295: "Editable region does not accept dropped text if"
             text run at (0,20) width 125: "there is no selection"
-        LayoutText {#text} at (124,20) size 5x19
-          text run at (124,20) width 5: "."
+        LayoutText {#text} at (125,20) size 4x19
+          text run at (125,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 653x19
           text run at (0,0) width 478: "The text field should accept drag-and-dropped text, such as the link, even if "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/merge-start-list-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/merge-start-list-expected.txt
index 1476744..c3401025 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/merge-start-list-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/merge-start-list-expected.txt
@@ -10,9 +10,9 @@
         LayoutText {#text} at (0,0) size 679x19
           text run at (0,0) width 679: "This test makes sure that content inside a list in an incoming fragment isn't pulled out of the list during paste."
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutInline {B} at (0,0) size 252x19
-          LayoutText {#text} at (0,0) size 252x19
-            text run at (0,0) width 252: "You should see 'bar' inside a list item."
+        LayoutInline {B} at (0,0) size 251x19
+          LayoutText {#text} at (0,0) size 251x19
+            text run at (0,0) width 251: "You should see 'bar' inside a list item."
       LayoutBlockFlow {DIV} at (0,72) size 784x20
         LayoutBlockFlow {UL} at (0,0) size 784x20
           LayoutListItem {LI} at (40,0) size 744x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.png
index 049b71c..196c0ec 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.txt
index 0ac5688..ba545dee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 547x19
-          text run at (0,0) width 547: "This test passes if nothing is double-quoted, and \"Two\" and \"Four\" aren't quoted at all."
+        LayoutText {#text} at (0,0) size 546x19
+          text run at (0,0) width 546: "This test passes if nothing is double-quoted, and \"Two\" and \"Four\" aren't quoted at all."
       LayoutBlockFlow {DIV} at (0,36) size 784x100
         LayoutBlockFlow {BLOCKQUOTE} at (0,0) size 784x40 [color=#0000FF] [border: none (2px solid #0000FF)]
           LayoutText {#text} at (22,0) size 33x19
@@ -14,8 +14,8 @@
           LayoutText {#text} at (22,20) size 58x19
             text run at (22,20) width 58: "HereOne"
         LayoutBlockFlow (anonymous) at (0,40) size 784x20
-          LayoutText {#text} at (0,0) size 29x19
-            text run at (0,0) width 29: "Two"
+          LayoutText {#text} at (0,0) size 28x19
+            text run at (0,0) width 28: "Two"
         LayoutBlockFlow {BLOCKQUOTE} at (0,60) size 784x20 [color=#0000FF] [border: none (2px solid #0000FF)]
           LayoutText {#text} at (22,0) size 37x19
             text run at (22,0) width 37: "Three"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-001-expected.png
index 0f9be97..9426d6f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-001-expected.txt
index 45eca9b..4128d32c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-001-expected.txt
@@ -25,15 +25,15 @@
           LayoutInline {A} at (0,0) size 260x27 [color=#0000EE]
             LayoutText {#text} at (162,27) size 260x27
               text run at (162,27) width 260: "<rdar://problem/4045511>"
-          LayoutText {#text} at (421,27) size 705x55
-            text run at (421,27) width 284: " Copying and pasting end-of-"
+          LayoutText {#text} at (422,27) size 705x55
+            text run at (422,27) width 283: " Copying and pasting end-of-"
             text run at (0,55) width 533: "paragraph selection puts insertion point in wrong place"
         LayoutBlockFlow {DIV} at (14,113) size 756x83
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
           LayoutText {#text} at (0,27) size 715x55
-            text run at (0,27) width 707: "Should see two lines of text below, self-documenting themselves as \"line"
+            text run at (0,27) width 706: "Should see two lines of text below, self-documenting themselves as \"line"
             text run at (0,55) width 715: "one\" and \"line two\". The insertion point must be at the start of \"line two\"."
       LayoutBlockFlow {DIV} at (0,234) size 784x60
         LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-002-expected.png
index 0f9be97..9426d6f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-002-expected.txt
index 285079e..43bf459 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-002-expected.txt
@@ -25,15 +25,15 @@
           LayoutInline {A} at (0,0) size 260x27 [color=#0000EE]
             LayoutText {#text} at (162,27) size 260x27
               text run at (162,27) width 260: "<rdar://problem/4045511>"
-          LayoutText {#text} at (421,27) size 705x55
-            text run at (421,27) width 284: " Copying and pasting end-of-"
+          LayoutText {#text} at (422,27) size 705x55
+            text run at (422,27) width 283: " Copying and pasting end-of-"
             text run at (0,55) width 533: "paragraph selection puts insertion point in wrong place"
         LayoutBlockFlow {DIV} at (14,113) size 756x83
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
           LayoutText {#text} at (0,27) size 715x55
-            text run at (0,27) width 707: "Should see two lines of text below, self-documenting themselves as \"line"
+            text run at (0,27) width 706: "Should see two lines of text below, self-documenting themselves as \"line"
             text run at (0,55) width 715: "one\" and \"line two\". The insertion point must be at the start of \"line two\"."
       LayoutBlockFlow {DIV} at (0,234) size 784x60
         LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-003-expected.png
index 0f9be97..9426d6f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-003-expected.txt
index 8232d2c..2bdcd194 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-003-expected.txt
@@ -25,15 +25,15 @@
           LayoutInline {A} at (0,0) size 260x27 [color=#0000EE]
             LayoutText {#text} at (162,27) size 260x27
               text run at (162,27) width 260: "<rdar://problem/4045511>"
-          LayoutText {#text} at (421,27) size 705x55
-            text run at (421,27) width 284: " Copying and pasting end-of-"
+          LayoutText {#text} at (422,27) size 705x55
+            text run at (422,27) width 283: " Copying and pasting end-of-"
             text run at (0,55) width 533: "paragraph selection puts insertion point in wrong place"
         LayoutBlockFlow {DIV} at (14,113) size 756x83
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
           LayoutText {#text} at (0,27) size 715x55
-            text run at (0,27) width 707: "Should see two lines of text below, self-documenting themselves as \"line"
+            text run at (0,27) width 706: "Should see two lines of text below, self-documenting themselves as \"line"
             text run at (0,55) width 715: "one\" and \"line two\". The insertion point must be at the start of \"line two\"."
       LayoutBlockFlow {DIV} at (0,234) size 784x60
         LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-004-expected.png
index 0f9be97..9426d6f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-004-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-004-expected.txt
index 4143c3ec..06b54d9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-004-expected.txt
@@ -25,15 +25,15 @@
           LayoutInline {A} at (0,0) size 260x27 [color=#0000EE]
             LayoutText {#text} at (162,27) size 260x27
               text run at (162,27) width 260: "<rdar://problem/4045511>"
-          LayoutText {#text} at (421,27) size 705x55
-            text run at (421,27) width 284: " Copying and pasting end-of-"
+          LayoutText {#text} at (422,27) size 705x55
+            text run at (422,27) width 283: " Copying and pasting end-of-"
             text run at (0,55) width 533: "paragraph selection puts insertion point in wrong place"
         LayoutBlockFlow {DIV} at (14,113) size 756x83
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
           LayoutText {#text} at (0,27) size 715x55
-            text run at (0,27) width 707: "Should see two lines of text below, self-documenting themselves as \"line"
+            text run at (0,27) width 706: "Should see two lines of text below, self-documenting themselves as \"line"
             text run at (0,55) width 715: "one\" and \"line two\". The insertion point must be at the start of \"line two\"."
       LayoutBlockFlow {DIV} at (0,234) size 784x60
         LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-005-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-005-expected.png
index 0f9be97..9426d6f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-005-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-005-expected.txt
index da2f1d6b3..fb6a466 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-005-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/paste-line-endings-005-expected.txt
@@ -25,15 +25,15 @@
           LayoutInline {A} at (0,0) size 260x27 [color=#0000EE]
             LayoutText {#text} at (162,27) size 260x27
               text run at (162,27) width 260: "<rdar://problem/4045511>"
-          LayoutText {#text} at (421,27) size 705x55
-            text run at (421,27) width 284: " Copying and pasting end-of-"
+          LayoutText {#text} at (422,27) size 705x55
+            text run at (422,27) width 283: " Copying and pasting end-of-"
             text run at (0,55) width 533: "paragraph selection puts insertion point in wrong place"
         LayoutBlockFlow {DIV} at (14,113) size 756x83
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
           LayoutText {#text} at (0,27) size 715x55
-            text run at (0,27) width 707: "Should see two lines of text below, self-documenting themselves as \"line"
+            text run at (0,27) width 706: "Should see two lines of text below, self-documenting themselves as \"line"
             text run at (0,55) width 715: "one\" and \"line two\". The insertion point must be at the start of \"line two\"."
       LayoutBlockFlow {DIV} at (0,234) size 784x60
         LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/pasting-tabs-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/pasting-tabs-expected.png
index 1a7a656b..8507bb1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/pasting-tabs-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/pasting-tabs-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/pasting-tabs-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/pasting-tabs-expected.txt
index 74278e4..0cd61df 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/pasting-tabs-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/pasting-tabs-expected.txt
@@ -16,13 +16,13 @@
       LayoutBlockFlow (anonymous) at (0,56) size 784x36
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,92) size 784x20
-        LayoutText {#text} at (0,0) size 38x19
-          text run at (0,0) width 38: "Tab->"
+        LayoutText {#text} at (0,0) size 37x19
+          text run at (0,0) width 37: "Tab->"
         LayoutInline {SPAN} at (0,0) size 27x19
           LayoutText {#text} at (37,0) size 27x19
             text run at (37,0) width 27: "\x{9}"
-        LayoutText {#text} at (63,0) size 39x19
-          text run at (63,0) width 39: "<-Tab"
+        LayoutText {#text} at (64,0) size 37x19
+          text run at (64,0) width 37: "<-Tab"
 layer at (8,64) size 179x36 clip at (9,65) size 177x34
   LayoutTextControl {TEXTAREA} at (0,0) size 179x36 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
     LayoutBlockFlow {DIV} at (3,3) size 175x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/quirks-mode-br-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/quirks-mode-br-1-expected.png
index 9f533696..b126910 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/quirks-mode-br-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/quirks-mode-br-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/styled-element-markup-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/styled-element-markup-expected.png
index 2206a48..625a4b7c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/styled-element-markup-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/styled-element-markup-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4776665-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4776665-expected.png
index 2781343..cb272da 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4776665-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4776665-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4776665-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4776665-expected.txt
index 3fac670..8e72e1df 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4776665-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4776665-expected.txt
@@ -5,9 +5,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 583x19
+        LayoutText {#text} at (0,0) size 581x19
           text run at (0,0) width 217: "This tests for a caret painting bug. "
-          text run at (217,0) width 366: "You should not see a caret in the editable subframe below."
+          text run at (217,0) width 364: "You should not see a caret in the editable subframe below."
       LayoutBlockFlow (anonymous) at (0,36) size 784x154
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,44) size 304x154
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4960137-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4960137-expected.png
index a5f00db..65ee2a2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4960137-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4960137-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4975120-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4975120-expected.png
index debf70b..88d4819 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4975120-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4975120-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4975120-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4975120-expected.txt
index 8c5ceff4..3b478f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4975120-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4975120-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 783x39
-          text run at (0,0) width 783: "This tests for a bug that caused the parent of an active frame to paint as though it were active when its window becomes key."
-          text run at (0,20) width 774: "To run manually, make another window active and then make this window active. Only the subframe should appear active."
+        LayoutText {#text} at (0,0) size 782x39
+          text run at (0,0) width 782: "This tests for a bug that caused the parent of an active frame to paint as though it were active when its window becomes key."
+          text run at (0,20) width 772: "To run manually, make another window active and then make this window active. Only the subframe should appear active."
       LayoutBlockFlow (anonymous) at (0,56) size 784x176
         LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutBR {BR} at (154,16) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-1-expected.png
index b821230..d0b1a04 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-1-expected.txt
index bcf2a46..0de38d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-1-expected.txt
@@ -12,16 +12,16 @@
         LayoutBlockFlow {DIV} at (26,26) size 732x20
           LayoutText {#text} at (0,0) size 99x19
             text run at (0,0) width 99: "Paragraph One."
-        LayoutTable {TABLE} at (26,46) size 92x30 [border: (1px solid #BBBBBB)]
-          LayoutTableSection {TBODY} at (1,1) size 90x28
-            LayoutTableRow {TR} at (0,2) size 90x24 [border: (1px solid #BBBBBB)]
+        LayoutTable {TABLE} at (26,46) size 91x30 [border: (1px solid #BBBBBB)]
+          LayoutTableSection {TBODY} at (1,1) size 89x28
+            LayoutTableRow {TR} at (0,2) size 89x24 [border: (1px solid #BBBBBB)]
               LayoutTableCell {TD} at (2,2) size 8x24 [border: (1px solid #BBBBBB)] [r=0 c=0 rs=1 cs=1]
                 LayoutText {#text} at (2,2) size 4x19
                   text run at (2,2) width 4: " "
-              LayoutTableCell {TD} at (12,2) size 76x24 [border: (1px solid #BBBBBB)] [r=0 c=1 rs=1 cs=1]
-                LayoutText {#text} at (2,2) size 72x19
-                  text run at (2,2) width 72: "ToDo One."
+              LayoutTableCell {TD} at (12,2) size 75x24 [border: (1px solid #BBBBBB)] [r=0 c=1 rs=1 cs=1]
+                LayoutText {#text} at (2,2) size 71x19
+                  text run at (2,2) width 71: "ToDo One."
         LayoutBlockFlow {DIV} at (26,76) size 732x20
-          LayoutText {#text} at (0,0) size 101x19
-            text run at (0,0) width 101: "Paragraph Two."
+          LayoutText {#text} at (0,0) size 100x19
+            text run at (0,0) width 100: "Paragraph Two."
 caret: position 0 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-2-expected.png
index 807f4ec..0afffee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-2-expected.txt
index 3866ea1..f8868c8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-2-expected.txt
@@ -4,24 +4,24 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 776x39
+        LayoutText {#text} at (0,0) size 775x39
           text run at (0,0) width 446: "This tests clicking to place a caret in the padding of an editable region. "
-          text run at (446,0) width 330: "The eventSender clicks to the left of the ToDo in the"
-          text run at (0,20) width 503: "left padding of the editable region and the caret should be just before that ToDo."
+          text run at (446,0) width 329: "The eventSender clicks to the left of the ToDo in the"
+          text run at (0,20) width 502: "left padding of the editable region and the caret should be just before that ToDo."
       LayoutBlockFlow {DIV} at (0,56) size 784x122 [border: (1px solid #000000)]
         LayoutBlockFlow {DIV} at (26,26) size 732x20
           LayoutText {#text} at (0,0) size 99x19
             text run at (0,0) width 99: "Paragraph One."
-        LayoutTable {TABLE} at (26,46) size 92x30 [border: (1px solid #BBBBBB)]
-          LayoutTableSection {TBODY} at (1,1) size 90x28
-            LayoutTableRow {TR} at (0,2) size 90x24 [border: (1px solid #BBBBBB)]
+        LayoutTable {TABLE} at (26,46) size 91x30 [border: (1px solid #BBBBBB)]
+          LayoutTableSection {TBODY} at (1,1) size 89x28
+            LayoutTableRow {TR} at (0,2) size 89x24 [border: (1px solid #BBBBBB)]
               LayoutTableCell {TD} at (2,2) size 8x24 [border: (1px solid #BBBBBB)] [r=0 c=0 rs=1 cs=1]
                 LayoutText {#text} at (2,2) size 4x19
                   text run at (2,2) width 4: " "
-              LayoutTableCell {TD} at (12,2) size 76x24 [border: (1px solid #BBBBBB)] [r=0 c=1 rs=1 cs=1]
-                LayoutText {#text} at (2,2) size 72x19
-                  text run at (2,2) width 72: "ToDo One."
+              LayoutTableCell {TD} at (12,2) size 75x24 [border: (1px solid #BBBBBB)] [r=0 c=1 rs=1 cs=1]
+                LayoutText {#text} at (2,2) size 71x19
+                  text run at (2,2) width 71: "ToDo One."
         LayoutBlockFlow {DIV} at (26,76) size 732x20
-          LayoutText {#text} at (0,0) size 101x19
-            text run at (0,0) width 101: "Paragraph Two."
+          LayoutText {#text} at (0,0) size 100x19
+            text run at (0,0) width 100: "Paragraph Two."
 caret: position 0 of child 3 {TABLE} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-3-expected.png
index 184f31db..e5df555 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-3-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-3-expected.txt
index 0c82c02..8a0c726 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-3-expected.txt
@@ -12,16 +12,16 @@
         LayoutBlockFlow {DIV} at (26,26) size 732x20
           LayoutText {#text} at (0,0) size 99x19
             text run at (0,0) width 99: "Paragraph One."
-        LayoutTable {TABLE} at (26,46) size 92x30 [border: (1px solid #BBBBBB)]
-          LayoutTableSection {TBODY} at (1,1) size 90x28
-            LayoutTableRow {TR} at (0,2) size 90x24 [border: (1px solid #BBBBBB)]
+        LayoutTable {TABLE} at (26,46) size 91x30 [border: (1px solid #BBBBBB)]
+          LayoutTableSection {TBODY} at (1,1) size 89x28
+            LayoutTableRow {TR} at (0,2) size 89x24 [border: (1px solid #BBBBBB)]
               LayoutTableCell {TD} at (2,2) size 8x24 [border: (1px solid #BBBBBB)] [r=0 c=0 rs=1 cs=1]
                 LayoutText {#text} at (2,2) size 4x19
                   text run at (2,2) width 4: " "
-              LayoutTableCell {TD} at (12,2) size 76x24 [border: (1px solid #BBBBBB)] [r=0 c=1 rs=1 cs=1]
-                LayoutText {#text} at (2,2) size 72x19
-                  text run at (2,2) width 72: "ToDo One."
+              LayoutTableCell {TD} at (12,2) size 75x24 [border: (1px solid #BBBBBB)] [r=0 c=1 rs=1 cs=1]
+                LayoutText {#text} at (2,2) size 71x19
+                  text run at (2,2) width 71: "ToDo One."
         LayoutBlockFlow {DIV} at (26,76) size 732x20
-          LayoutText {#text} at (0,0) size 101x19
-            text run at (0,0) width 101: "Paragraph Two."
+          LayoutText {#text} at (0,0) size 100x19
+            text run at (0,0) width 100: "Paragraph Two."
 caret: position 0 of child 0 {#text} of child 5 {DIV} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-4-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-4-expected.png
index 4422ace..d45934ac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-4-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-4-expected.txt
index 0792921f..9daf290 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-4-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5131716-4-expected.txt
@@ -12,16 +12,16 @@
         LayoutBlockFlow {DIV} at (26,26) size 732x20
           LayoutText {#text} at (0,0) size 99x19
             text run at (0,0) width 99: "Paragraph One."
-        LayoutTable {TABLE} at (26,46) size 92x30 [border: (1px solid #BBBBBB)]
-          LayoutTableSection {TBODY} at (1,1) size 90x28
-            LayoutTableRow {TR} at (0,2) size 90x24 [border: (1px solid #BBBBBB)]
+        LayoutTable {TABLE} at (26,46) size 91x30 [border: (1px solid #BBBBBB)]
+          LayoutTableSection {TBODY} at (1,1) size 89x28
+            LayoutTableRow {TR} at (0,2) size 89x24 [border: (1px solid #BBBBBB)]
               LayoutTableCell {TD} at (2,2) size 8x24 [border: (1px solid #BBBBBB)] [r=0 c=0 rs=1 cs=1]
                 LayoutText {#text} at (2,2) size 4x19
                   text run at (2,2) width 4: " "
-              LayoutTableCell {TD} at (12,2) size 76x24 [border: (1px solid #BBBBBB)] [r=0 c=1 rs=1 cs=1]
-                LayoutText {#text} at (2,2) size 72x19
-                  text run at (2,2) width 72: "ToDo One."
+              LayoutTableCell {TD} at (12,2) size 75x24 [border: (1px solid #BBBBBB)] [r=0 c=1 rs=1 cs=1]
+                LayoutText {#text} at (2,2) size 71x19
+                  text run at (2,2) width 71: "ToDo One."
         LayoutBlockFlow {DIV} at (26,76) size 732x20
-          LayoutText {#text} at (0,0) size 101x19
-            text run at (0,0) width 101: "Paragraph Two."
+          LayoutText {#text} at (0,0) size 100x19
+            text run at (0,0) width 100: "Paragraph Two."
 caret: position 14 of child 0 {#text} of child 5 {DIV} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5232159-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5232159-expected.png
index 8b0bac8..389393d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5232159-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5232159-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5232159-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5232159-expected.txt
index 25b7446b..39f04e82 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5232159-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5232159-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 754x39
-          text run at (0,0) width 754: "This tests for a bug where autoscroll code would prevent text from being selected. To run manually create a selection by"
+        LayoutText {#text} at (0,0) size 753x39
+          text run at (0,0) width 753: "This tests for a bug where autoscroll code would prevent text from being selected. To run manually create a selection by"
           text run at (0,20) width 564: "clicking somewhere in the first sentence of the paragraph below and dragging downward."
 layer at (0,60) size 800x540
   LayoutBlockFlow (positioned) {DIV} at (0,60) size 800x540
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5354455-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5354455-2-expected.png
index a77709a..c9ee2002 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5354455-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5354455-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5354455-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5354455-2-expected.txt
index 0706456..0f8c66f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5354455-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/5354455-2-expected.txt
@@ -5,18 +5,18 @@
 layer at (8,8) size 612x150
   LayoutBlockFlow (positioned) {BODY} at (8,8) size 612x150.44 [border: (1px solid #000000)]
     LayoutBlockFlow {H1} at (6,6) size 600x37
-      LayoutText {#text} at (0,0) size 450x36
-        text run at (0,0) width 450: "Word selection on right click test"
+      LayoutText {#text} at (0,0) size 449x36
+        text run at (0,0) width 449: "Word selection on right click test"
     LayoutBlockFlow (anonymous) at (6,64.44) size 600x80
       LayoutText {#text} at (0,0) size 597x39
         text run at (0,0) width 597: "This tests to make sure that right clicking non-editable content only creates a word selection for"
         text run at (0,20) width 103: "clicks over text. "
-      LayoutInline {SPAN} at (0,0) size 17x19
-        LayoutText {#text} at (103,20) size 17x19
-          text run at (103,20) width 17: "To"
-      LayoutText {#text} at (119,20) size 599x59
-        text run at (119,20) width 411: " run manually, right click on text, and a word should be selected. "
-        text run at (529,20) width 70: "Right click"
+      LayoutInline {SPAN} at (0,0) size 16x19
+        LayoutText {#text} at (103,20) size 16x19
+          text run at (103,20) width 16: "To"
+      LayoutText {#text} at (119,20) size 597x59
+        text run at (119,20) width 409: " run manually, right click on text, and a word should be selected. "
+        text run at (528,20) width 69: "Right click"
         text run at (0,40) width 543: "on the empty space outside and to the right of the black border, the selection should be"
         text run at (0,60) width 59: "removed."
 caret: position 0 of child 0 {#text} of child 1 {H1} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/6476-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/6476-expected.png
index 1706ec7..713b090 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/6476-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/6476-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/6476-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/6476-expected.txt
index 885a6af..366c0ca1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/6476-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/6476-expected.txt
@@ -7,12 +7,12 @@
       LayoutBlockFlow {DIV} at (0,0) size 250x40
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "Try to create a caret after this lin"
-        LayoutInline {SPAN} at (0,0) size 8x19
-          LayoutText {#text} at (202,0) size 8x19
-            text run at (202,0) width 8: "e"
-        LayoutText {#text} at (209,0) size 5x19
-          text run at (209,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 1x19
+        LayoutInline {SPAN} at (0,0) size 7x19
+          LayoutText {#text} at (203,0) size 7x19
+            text run at (203,0) width 7: "e"
+        LayoutText {#text} at (210,0) size 4x19
+          text run at (210,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 0x19
         LayoutText {#text} at (0,20) size 181x19
           text run at (0,20) width 181: "thisshouldbeonthesecondline"
       LayoutBlockFlow {P} at (0,66) size 784x40
@@ -21,14 +21,14 @@
         LayoutInline {A} at (0,0) size 343x19 [color=#0000EE]
           LayoutText {#text} at (131,0) size 343x19
             text run at (131,0) width 343: "http://bugzilla.opendarwin.org/show_bug.cgi?id=6476"
-        LayoutText {#text} at (473,0) size 779x39
-          text run at (473,0) width 9: ". "
-          text run at (481,0) width 298: "Creating an upstream caret with the mouse was"
+        LayoutText {#text} at (474,0) size 779x39
+          text run at (474,0) width 8: ". "
+          text run at (482,0) width 297: "Creating an upstream caret with the mouse was"
           text run at (0,20) width 591: "impossible if the upstream and downstream carets were separated only by unrendered content."
       LayoutBlockFlow {P} at (0,122) size 784x40
-        LayoutText {#text} at (0,0) size 764x39
+        LayoutText {#text} at (0,0) size 762x39
           text run at (0,0) width 318: "This test uses the eventSender to do mouse clicks. "
-          text run at (318,0) width 446: "To run it manually, click in the space after all the text on the first line in"
+          text run at (318,0) width 444: "To run it manually, click in the space after all the text on the first line in"
           text run at (0,20) width 166: "the above editable region. "
           text run at (166,20) width 384: "Clicking should create a caret after the first space after the 'e'."
 layer at (8,56) size 784x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-and-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-and-focus-ring-expected.png
index a587634d..47e1f32e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-and-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-and-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-expected.png
index 7114080d..d20e05e0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-expected.txt
index 55cc7e2..df7f990 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x145
     LayoutBlockFlow {BODY} at (8,16) size 784x121
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 755x39
-          text run at (0,0) width 755: "This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a RTL block. To test"
-          text run at (0,20) width 464: "manually, click the right of the text. The caret should be on the right edge."
+        LayoutText {#text} at (0,0) size 754x39
+          text run at (0,0) width 754: "This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a RTL block. To test"
+          text run at (0,20) width 463: "manually, click the right of the text. The caret should be on the right edge."
       LayoutBlockFlow {DIV} at (0,56) size 202x45 [border: (1px solid #000000)]
-        LayoutText {#text} at (118,11) size 73x22
-          text run at (118,11) width 73: "WebKit2"
+        LayoutText {#text} at (119,11) size 72x22
+          text run at (119,11) width 72: "WebKit2"
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
-        LayoutText {#text} at (0,0) size 38x19
-          text run at (0,0) width 38: "PASS"
-        LayoutBR {BR} at (37,0) size 1x19
+        LayoutText {#text} at (0,0) size 37x19
+          text run at (0,0) width 37: "PASS"
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 0 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-left-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-left-expected.png
index c8622640..d86ba087 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-left-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-left-expected.txt
index e4a9a29f..048adf1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-2-left-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x145
     LayoutBlockFlow {BODY} at (8,16) size 784x121
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 755x39
-          text run at (0,0) width 755: "This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a RTL block. To test"
-          text run at (0,20) width 446: "manually, click the left of the text. The caret should be on the left edge."
+        LayoutText {#text} at (0,0) size 754x39
+          text run at (0,0) width 754: "This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a RTL block. To test"
+          text run at (0,20) width 445: "manually, click the left of the text. The caret should be on the left edge."
       LayoutBlockFlow {DIV} at (0,56) size 202x45 [border: (1px solid #000000)]
-        LayoutText {#text} at (118,11) size 73x22
-          text run at (118,11) width 73: "WebKit2"
+        LayoutText {#text} at (119,11) size 72x22
+          text run at (119,11) width 72: "WebKit2"
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
-        LayoutText {#text} at (0,0) size 38x19
-          text run at (0,0) width 38: "PASS"
-        LayoutBR {BR} at (37,0) size 1x19
+        LayoutText {#text} at (0,0) size 37x19
+          text run at (0,0) width 37: "PASS"
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 7 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-expected.png
index da0d1c2..f4f6ebf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-expected.txt
index 71b24df..8530148 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x145
     LayoutBlockFlow {BODY} at (8,16) size 784x121
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 754x39
-          text run at (0,0) width 754: "This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a LTR block. To test"
-          text run at (0,20) width 446: "manually, click the left of the text. The caret should be on the left edge."
+        LayoutText {#text} at (0,0) size 752x39
+          text run at (0,0) width 752: "This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a LTR block. To test"
+          text run at (0,20) width 445: "manually, click the left of the text. The caret should be on the left edge."
       LayoutBlockFlow {DIV} at (0,56) size 202x45 [border: (1px solid #000000)]
-        LayoutText {#text} at (11,11) size 73x22
-          text run at (11,11) width 73: "WebKit2"
+        LayoutText {#text} at (11,11) size 72x22
+          text run at (11,11) width 72: "WebKit2"
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
-        LayoutText {#text} at (0,0) size 38x19
-          text run at (0,0) width 38: "PASS"
-        LayoutBR {BR} at (37,0) size 1x19
+        LayoutText {#text} at (0,0) size 37x19
+          text run at (0,0) width 37: "PASS"
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 0 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-right-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-right-expected.png
index ddf4a0e..2e62fba 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-right-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-right-expected.txt
index 5a39f152..fc034a3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-ltr-right-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x145
     LayoutBlockFlow {BODY} at (8,16) size 784x121
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 754x39
-          text run at (0,0) width 754: "This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a LTR block. To test"
-          text run at (0,20) width 464: "manually, click the right of the text. The caret should be on the right edge."
+        LayoutText {#text} at (0,0) size 752x39
+          text run at (0,0) width 752: "This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a LTR block. To test"
+          text run at (0,20) width 463: "manually, click the right of the text. The caret should be on the right edge."
       LayoutBlockFlow {DIV} at (0,56) size 202x45 [border: (1px solid #000000)]
-        LayoutText {#text} at (11,11) size 73x22
-          text run at (11,11) width 73: "WebKit2"
+        LayoutText {#text} at (11,11) size 72x22
+          text run at (11,11) width 72: "WebKit2"
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
-        LayoutText {#text} at (0,0) size 38x19
-          text run at (0,0) width 38: "PASS"
-        LayoutBR {BR} at (37,0) size 1x19
+        LayoutText {#text} at (0,0) size 37x19
+          text run at (0,0) width 37: "PASS"
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 7 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-expected.png
index 89ce847..e0fdc21 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-expected.txt
index 45dd4545..c23952e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x145
     LayoutBlockFlow {BODY} at (8,16) size 784x121
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 755x39
-          text run at (0,0) width 755: "This tests that clicking in a contenteditable div will set the caret in the right position for RTL text in a RTL block. To test"
-          text run at (0,20) width 464: "manually, click the right of the text. The caret should be on the right edge."
+        LayoutText {#text} at (0,0) size 756x39
+          text run at (0,0) width 756: "This tests that clicking in a contenteditable div will set the caret in the right position for RTL text in a RTL block. To test"
+          text run at (0,20) width 463: "manually, click the right of the text. The caret should be on the right edge."
       LayoutBlockFlow {DIV} at (0,56) size 202x45 [border: (1px solid #000000)]
         LayoutText {#text} at (11,11) size 58x22
           text run at (11,11) width 58 RTL: "\x{5E9}\x{5D3}\x{5D4} \x{5D1}\x{5D5}\x{5E8}"
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
-        LayoutText {#text} at (0,0) size 38x19
-          text run at (0,0) width 38: "PASS"
-        LayoutBR {BR} at (37,0) size 1x19
+        LayoutText {#text} at (0,0) size 37x19
+          text run at (0,0) width 37: "PASS"
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 7 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-left-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-left-expected.png
index 842493d..8582d1ed 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-left-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-left-expected.txt
index a91c458..d2d9ca3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-2-left-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x145
     LayoutBlockFlow {BODY} at (8,16) size 784x121
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 755x39
-          text run at (0,0) width 755: "This tests that clicking in a contenteditable div will set the caret in the right position for RTL text in a LTR block. To test"
-          text run at (0,20) width 446: "manually, click the left of the text. The caret should be on the left edge."
+        LayoutText {#text} at (0,0) size 754x39
+          text run at (0,0) width 754: "This tests that clicking in a contenteditable div will set the caret in the right position for RTL text in a LTR block. To test"
+          text run at (0,20) width 445: "manually, click the left of the text. The caret should be on the left edge."
       LayoutBlockFlow {DIV} at (0,56) size 202x45 [border: (1px solid #000000)]
         LayoutText {#text} at (11,11) size 58x22
           text run at (11,11) width 58 RTL: "\x{5E9}\x{5D3}\x{5D4} \x{5D1}\x{5D5}\x{5E8}"
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
-        LayoutText {#text} at (0,0) size 38x19
-          text run at (0,0) width 38: "PASS"
-        LayoutBR {BR} at (37,0) size 1x19
+        LayoutText {#text} at (0,0) size 37x19
+          text run at (0,0) width 37: "PASS"
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 0 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-expected.png
index fb2b295..f110c78 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-expected.txt
index d501db2e..a1d3d8c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x145
     LayoutBlockFlow {BODY} at (8,16) size 784x121
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 755x39
-          text run at (0,0) width 755: "This tests that clicking in a contenteditable div will set the caret in the right position for RTL text in a RTL block. To test"
-          text run at (0,20) width 446: "manually, click the left of the text. The caret should be on the left edge."
+        LayoutText {#text} at (0,0) size 756x39
+          text run at (0,0) width 756: "This tests that clicking in a contenteditable div will set the caret in the right position for RTL text in a RTL block. To test"
+          text run at (0,20) width 445: "manually, click the left of the text. The caret should be on the left edge."
       LayoutBlockFlow {DIV} at (0,56) size 202x45 [border: (1px solid #000000)]
         LayoutText {#text} at (133,11) size 58x22
           text run at (133,11) width 58 RTL: "\x{5E9}\x{5D3}\x{5D4} \x{5D1}\x{5D5}\x{5E8}"
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
-        LayoutText {#text} at (0,0) size 38x19
-          text run at (0,0) width 38: "PASS"
-        LayoutBR {BR} at (37,0) size 1x19
+        LayoutText {#text} at (0,0) size 37x19
+          text run at (0,0) width 37: "PASS"
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 7 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-right-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-right-expected.png
index ab6d11ab9..51b39d72 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-right-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-right-expected.txt
index 35dc08c5..9a5e16b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/caret-rtl-right-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x145
     LayoutBlockFlow {BODY} at (8,16) size 784x121
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 755x39
-          text run at (0,0) width 755: "This tests that clicking in a contenteditable div will set the caret in the right position for RTL text in a RTL block. To test"
-          text run at (0,20) width 464: "manually, click the right of the text. The caret should be on the right edge."
+        LayoutText {#text} at (0,0) size 756x39
+          text run at (0,0) width 756: "This tests that clicking in a contenteditable div will set the caret in the right position for RTL text in a RTL block. To test"
+          text run at (0,20) width 463: "manually, click the right of the text. The caret should be on the right edge."
       LayoutBlockFlow {DIV} at (0,56) size 202x45 [border: (1px solid #000000)]
         LayoutText {#text} at (133,11) size 58x22
           text run at (133,11) width 58 RTL: "\x{5E9}\x{5D3}\x{5D4} \x{5D1}\x{5D5}\x{5E8}"
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
-        LayoutText {#text} at (0,0) size 38x19
-          text run at (0,0) width 38: "PASS"
-        LayoutBR {BR} at (37,0) size 1x19
+        LayoutText {#text} at (0,0) size 37x19
+          text run at (0,0) width 37: "PASS"
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 0 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/clear-selection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/clear-selection-expected.png
index d330b0c..176b287 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/clear-selection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/clear-selection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/clear-selection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/clear-selection-expected.txt
index 1180746..2a9b014 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/clear-selection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/clear-selection-expected.txt
@@ -6,6 +6,6 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 753x39
-          text run at (0,0) width 753: "This tests that window.getSelection().clear() clears the selection correctly. If this test is successful, this text should not be"
+        LayoutText {#text} at (0,0) size 751x39
+          text run at (0,0) width 751: "This tests that window.getSelection().clear() clears the selection correctly. If this test is successful, this text should not be"
           text run at (0,20) width 54: "selected."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/click-start-of-line-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/click-start-of-line-expected.png
index 613c819a..5238109 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/click-start-of-line-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/click-start-of-line-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/click-start-of-line-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/click-start-of-line-expected.txt
index 71cb288..b25a5b3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/click-start-of-line-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/click-start-of-line-expected.txt
@@ -11,21 +11,21 @@
           LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
             LayoutText {#text} at (104,0) size 348x19
               text run at (104,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9978"
-          LayoutText {#text} at (451,0) size 776x39
-            text run at (451,0) width 5: " "
-            text run at (455,0) width 321: "REGRESSION (r12949-r12988): Clicking the first"
-            text run at (0,20) width 383: "letter on a line places the caret at the end of the previous line"
-        LayoutText {#text} at (382,20) size 5x19
-          text run at (382,20) width 5: "."
+          LayoutText {#text} at (452,0) size 776x39
+            text run at (452,0) width 4: " "
+            text run at (456,0) width 320: "REGRESSION (r12949-r12988): Clicking the first"
+            text run at (0,20) width 384: "letter on a line places the caret at the end of the previous line"
+        LayoutText {#text} at (384,20) size 4x19
+          text run at (384,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 728x19
-          text run at (0,0) width 549: "To test interactively, click the left side of the W on the second line. The caret should be "
-          text run at (548,0) width 180: "move to the start of that line."
+        LayoutText {#text} at (0,0) size 726x19
+          text run at (0,0) width 547: "To test interactively, click the left side of the W on the second line. The caret should be "
+          text run at (547,0) width 179: "move to the start of that line."
       LayoutBlockFlow {DIV} at (0,102) size 250x114
-        LayoutText {#text} at (0,1) size 233x112
+        LayoutText {#text} at (0,1) size 232x112
           text run at (0,1) width 152: "Alice in"
           text run at (152,1) width 12: " "
-          text run at (0,58) width 233: "Wonderland"
+          text run at (0,58) width 232: "Wonderland"
 layer at (8,100) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 10 of child 0 {#text} of child 7 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/contains-boundaries-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/contains-boundaries-expected.png
index ceca659..7bddf2ae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/contains-boundaries-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/contains-boundaries-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/contains-boundaries-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/contains-boundaries-expected.txt
index 3c119a9..1a39a4c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/contains-boundaries-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/contains-boundaries-expected.txt
@@ -4,15 +4,15 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 743x39
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=14347"
-          LayoutText {#text} at (352,0) size 743x39
-            text run at (352,0) width 5: " "
-            text run at (356,0) width 387: "REGRESSION (r21291): Initiating a drag near the edge of a"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 742x39
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=14347"
+          LayoutText {#text} at (352,0) size 742x39
+            text run at (352,0) width 4: " "
+            text run at (356,0) width 386: "REGRESSION (r21291): Initiating a drag near the edge of a"
             text run at (0,20) width 127: "selection deselects it"
         LayoutText {#text} at (127,20) size 4x19
           text run at (127,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/designmode-no-caret-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/designmode-no-caret-expected.png
index abe1dcb..36b40b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/designmode-no-caret-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/designmode-no-caret-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/designmode-no-caret-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/designmode-no-caret-expected.txt
index 21fee9ae..7b25b5d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/designmode-no-caret-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/designmode-no-caret-expected.txt
@@ -4,12 +4,12 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x579
       LayoutBlockFlow (anonymous) at (0,0) size 784x60
-        LayoutText {#text} at (0,0) size 781x59
+        LayoutText {#text} at (0,0) size 778x59
           text run at (0,0) width 759: "This tests to see that a caret is placed inside an editable document that is entirely editable even when no caret is requested"
-          text run at (0,20) width 117: "programmatically. "
-          text run at (116,20) width 187: "We do this as a convenience. "
-          text run at (302,20) width 479: "Right now, we only do this convenience when a document's frame becomes"
-          text run at (0,40) width 377: "first responder or when a document's window becomes key."
+          text run at (0,20) width 116: "programmatically. "
+          text run at (116,20) width 185: "We do this as a convenience. "
+          text run at (301,20) width 477: "Right now, we only do this convenience when a document's frame becomes"
+          text run at (0,40) width 376: "first responder or when a document's window becomes key."
       LayoutBlockFlow {PRE} at (0,73) size 784x32
         LayoutText {#text} at (0,0) size 296x32
           text run at (0,0) width 296: "Test Failed - there should be a caret"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-expected.txt
index 4cf70683..96571d1d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-expected.txt
@@ -10,7 +10,7 @@
         LayoutBlockFlow {DT} at (0,22) size 384x22
           LayoutText {#text} at (0,0) size 212x21
             text run at (0,0) width 212: "Lorem ipsum dolor sit amet"
-layer at (248,52) size 344x22 scrollWidth 1217
+layer at (248,52) size 344x22 scrollWidth 1218
   LayoutBlockFlow {DD} at (40,0) size 344x22
     LayoutText {#text} at (0,0) size 1218x21
       text run at (0,0) width 1218: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-rtl-expected.txt
index be81bc5..181f4100 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-rtl-expected.txt
@@ -10,10 +10,10 @@
         LayoutBlockFlow {DT} at (0,22) size 384x22
           LayoutText {#text} at (0,0) size 212x21
             text run at (0,0) width 212: "Lorem ipsum dolor sit amet"
-layer at (208,52) size 344x22 scrollX 873.00 scrollWidth 1217
+layer at (208,52) size 344x22 scrollX 874.00 scrollWidth 1218
   LayoutBlockFlow {DD} at (0,0) size 344x22
-    LayoutText {#text} at (-873,0) size 1218x21
-      text run at (-873,0) width 5 RTL: "."
-      text run at (-868,0) width 1212: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua"
+    LayoutText {#text} at (-874,0) size 1218x21
+      text run at (-874,0) width 5 RTL: "."
+      text run at (-869,0) width 1213: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua"
 selection start: position 0 of child 0 {#text} of child 1 {DD} of child 2 {DL} of body
 selection end:   position 10 of child 0 {#text} of child 3 {DT} of child 2 {DL} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/drag-in-iframe-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/drag-in-iframe-expected.png
index c336ace..4b0fb4a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/drag-in-iframe-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/drag-in-iframe-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/drag-in-iframe-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/drag-in-iframe-expected.txt
index 53d462fc..1acdb6c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/drag-in-iframe-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/drag-in-iframe-expected.txt
@@ -4,10 +4,10 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 751x39
-          text run at (0,0) width 536: "This is an automatic pixel test. To test interactively, drag selected text onto the iframe "
-          text run at (535,0) width 212: "below and verify that a drag caret"
-          text run at (746,0) width 5: " "
+        LayoutText {#text} at (0,0) size 749x39
+          text run at (0,0) width 534: "This is an automatic pixel test. To test interactively, drag selected text onto the iframe "
+          text run at (534,0) width 211: "below and verify that a drag caret"
+          text run at (745,0) width 4: " "
           text run at (0,20) width 156: "appears inside the frame."
       LayoutBlockFlow (anonymous) at (0,56) size 784x152
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections-expected.png
index cd2a71a..aa21301d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections-expected.txt
index ccd1788..e8933c3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections-expected.txt
@@ -5,9 +5,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 775x39
-          text run at (0,0) width 413: "This tests double clicking inside and at the end of an editable div. "
-          text run at (412,0) width 363: "The selection that is created should not extend outside the"
+        LayoutText {#text} at (0,0) size 774x39
+          text run at (0,0) width 412: "This tests double clicking inside and at the end of an editable div. "
+          text run at (412,0) width 362: "The selection that is created should not extend outside the"
           text run at (0,20) width 97: "editable region."
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 206x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections2-expected.png
index 8a2db22..648e38a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections2-expected.txt
index 18ba8b9..07342a3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/expanding-selections2-expected.txt
@@ -5,9 +5,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 775x39
-          text run at (0,0) width 413: "This tests double clicking inside and at the end of an editable div. "
-          text run at (412,0) width 363: "The selection that is created should not extend outside the"
+        LayoutText {#text} at (0,0) size 774x39
+          text run at (0,0) width 412: "This tests double clicking inside and at the end of an editable div. "
+          text run at (412,0) width 362: "The selection that is created should not extend outside the"
           text run at (0,20) width 97: "editable region."
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 181x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/focus-body-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/focus-body-expected.png
index 67160ea..9b27e5f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/focus-body-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/focus-body-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/focus-body-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/focus-body-expected.txt
index 796d6d4..e527da5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/focus-body-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/focus-body-expected.txt
@@ -4,7 +4,7 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 437x19
-        text run at (0,0) width 219: "This test focuses an editable body. "
-        text run at (218,0) width 219: "Its contents should not be selected."
+      LayoutText {#text} at (0,0) size 436x19
+        text run at (0,0) width 218: "This test focuses an editable body. "
+        text run at (218,0) width 218: "Its contents should not be selected."
 caret: position 0 of child 0 {#text} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/inline-closest-leaf-child-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/inline-closest-leaf-child-expected.png
index 86aea0a..6150c9c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/inline-closest-leaf-child-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/inline-closest-leaf-child-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/inline-closest-leaf-child-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/inline-closest-leaf-child-expected.txt
index b04ee1b..d71c8a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/inline-closest-leaf-child-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/inline-closest-leaf-child-expected.txt
@@ -4,27 +4,27 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 726x39
-          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 301x19
-              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=14911"
-          LayoutText {#text} at (351,0) size 726x39
-            text run at (351,0) width 5: " "
-            text run at (355,0) width 371: "REGRESSION: Clicking in pasted text doesn't position the"
-            text run at (0,20) width 151: "insertion point correctly"
-        LayoutText {#text} at (150,20) size 5x19
-          text run at (150,20) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 783x39
+          LayoutInline {A} at (0,0) size 299x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 299x19
+              text run at (51,0) width 299: "http://bugs.webkit.org/show_bug.cgi?id=14911"
+          LayoutText {#text} at (350,0) size 783x39
+            text run at (350,0) width 4: " "
+            text run at (354,0) width 429: "REGRESSION: Clicking in pasted text doesn't position the insertion"
+            text run at (0,20) width 92: "point correctly"
+        LayoutText {#text} at (92,20) size 4x19
+          text run at (92,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 557x19
-          text run at (0,0) width 527: "You should be able to select individual letters in \x{201C}ipsum\x{201D} by dragging in the yellow "
-          text run at (526,0) width 31: "area "
-        LayoutInline {EM} at (0,0) size 39x19
-          LayoutText {#text} at (556,0) size 39x19
-            text run at (556,0) width 39: "above"
-        LayoutText {#text} at (594,0) size 40x19
-          text run at (594,0) width 40: " them."
+        LayoutText {#text} at (0,0) size 556x19
+          text run at (0,0) width 526: "You should be able to select individual letters in \x{201C}ipsum\x{201D} by dragging in the yellow "
+          text run at (526,0) width 30: "area "
+        LayoutInline {EM} at (0,0) size 38x19
+          LayoutText {#text} at (556,0) size 38x19
+            text run at (556,0) width 38: "above"
+        LayoutText {#text} at (594,0) size 39x19
+          text run at (594,0) width 39: " them."
       LayoutBlockFlow (floating) {DIV} at (0,92) size 84x80 [bgcolor=#FFFFAA]
         LayoutInline {SPAN} at (0,0) size 84x19 [bgcolor=#FFFFFF]
           LayoutText {#text} at (0,30) size 46x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/leave-requested-block-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/leave-requested-block-expected.png
index 9ca9bcb..1e7cf7c62 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/leave-requested-block-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/leave-requested-block-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/leave-requested-block-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/leave-requested-block-expected.txt
index b5f967e..86c00a2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/leave-requested-block-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/leave-requested-block-expected.txt
@@ -6,13 +6,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 126x19
-          text run at (0,0) width 126: "Test case for fix for "
-        LayoutInline {A} at (0,0) size 344x19 [color=#0000EE]
-          LayoutText {#text} at (125,0) size 344x19
-            text run at (125,0) width 344: "http://bugzilla.opendarwin.org/show_bug.cgi?id=5354"
-        LayoutText {#text} at (468,0) size 5x19
-          text run at (468,0) width 5: "."
+        LayoutText {#text} at (0,0) size 125x19
+          text run at (0,0) width 125: "Test case for fix for "
+        LayoutInline {A} at (0,0) size 343x19 [color=#0000EE]
+          LayoutText {#text} at (125,0) size 343x19
+            text run at (125,0) width 343: "http://bugzilla.opendarwin.org/show_bug.cgi?id=5354"
+        LayoutText {#text} at (468,0) size 4x19
+          text run at (468,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x40
         LayoutText {#text} at (0,0) size 772x39
           text run at (0,0) width 772: "Changes were made to VisiblePosition's so that init() will not leave the block containing the requested position unless there"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/line-wrap-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/line-wrap-2-expected.png
index 7d69af9..68afe86 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/line-wrap-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/line-wrap-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/line-wrap-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/line-wrap-2-expected.txt
index 40c9d35..20bea6b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/line-wrap-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/line-wrap-2-expected.txt
@@ -5,8 +5,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 229x19
-          text run at (0,0) width 229: "Only 'baz' should be selected below."
+        LayoutText {#text} at (0,0) size 228x19
+          text run at (0,0) width 228: "Only 'baz' should be selected below."
       LayoutBlockFlow {DIV} at (50,36) size 52x42 [border: (1px solid #000000)]
         LayoutText {#text} at (1,1) size 45x19
           text run at (1,1) width 45: "foo bar"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/linux_selection_color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/linux_selection_color-expected.png
index 19f0828..ff62eb6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/linux_selection_color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/linux_selection_color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/linux_selection_color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/linux_selection_color-expected.txt
index b8414bb..0c59ed6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/linux_selection_color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/linux_selection_color-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {DIV} at (0,0) size 784x56
         LayoutBlockFlow {P} at (0,0) size 784x20
-          LayoutText {#text} at (0,0) size 478x19
-            text run at (0,0) width 478: "This tests that the methods that set selection colors for Linux work correctly."
+          LayoutText {#text} at (0,0) size 477x19
+            text run at (0,0) width 477: "This tests that the methods that set selection colors for Linux work correctly."
         LayoutBlockFlow {P} at (0,36) size 784x20
           LayoutText {#text} at (0,0) size 481x19
             text run at (0,0) width 481: "(All the text in the above sentence should be highlighted red with green text)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-1-expected.png
index df24c02..14170f4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-1-expected.txt
index 0a5a2d6..36a4b7c1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-1-expected.txt
@@ -8,10 +8,10 @@
       LayoutInline {SPAN} at (0,0) size 20x19
         LayoutText {#text} at (0,0) size 20x19
           text run at (0,0) width 20: "On"
-      LayoutText {#text} at (20,0) size 784x39
+      LayoutText {#text} at (20,0) size 782x39
         text run at (20,0) width 464: "ly the first two letters of the first word in this sentence should be selected. "
-        text run at (484,0) width 296: "To run this test manually, double click between"
-        text run at (779,0) width 5: " "
+        text run at (484,0) width 294: "To run this test manually, double click between"
+        text run at (778,0) width 4: " "
         text run at (0,20) width 351: "the first two letters of the first word of the first sentence."
 selection start: position 0 of child 0 {#text} of child 0 {SPAN} of body
 selection end:   position 2 of child 0 {#text} of child 0 {SPAN} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-2-expected.png
index 1883126..5bd0b196 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-2-expected.txt
index f47f565..8d8d13a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-2-expected.txt
@@ -10,12 +10,12 @@
         LayoutInline {SPAN} at (0,0) size 32x19
           LayoutText {#text} at (57,0) size 32x19
             text run at (57,0) width 32: "Bold"
-        LayoutText {#text} at (89,0) size 73x19
-          text run at (89,0) width 73: "TextShould"
-        LayoutInline {SPAN} at (0,0) size 19x19
-          LayoutText {#text} at (161,0) size 19x19
-            text run at (161,0) width 19: "Be"
-        LayoutText {#text} at (179,0) size 54x19
-          text run at (179,0) width 54: "Selected"
+        LayoutText {#text} at (89,0) size 72x19
+          text run at (89,0) width 72: "TextShould"
+        LayoutInline {SPAN} at (0,0) size 18x19
+          LayoutText {#text} at (161,0) size 18x19
+            text run at (161,0) width 18: "Be"
+        LayoutText {#text} at (179,0) size 53x19
+          text run at (179,0) width 53: "Selected"
 selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
 selection end:   position 4 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-4-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-4-expected.png
index c8b5033..bdbfd1cc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-4-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-4-expected.txt
index 63687c9..f9d2ece 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-4-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-4-expected.txt
@@ -6,9 +6,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 753x39
-          text run at (0,0) width 458: "This tests moving the caret forward through content of mixed editability. "
-          text run at (457,0) width 296: "The caret should move down one line from the"
+        LayoutText {#text} at (0,0) size 752x39
+          text run at (0,0) width 457: "This tests moving the caret forward through content of mixed editability. "
+          text run at (457,0) width 295: "The caret should move down one line from the"
           text run at (0,20) width 470: "editable piece to the editable piece that's embedded in a non-editable piece."
       LayoutBlockFlow {DIV} at (0,56) size 784x70
         LayoutBlockFlow (anonymous) at (0,0) size 784x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-5-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-5-expected.png
index 0caf55eb..09e3b005 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-5-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-5-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-5-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-5-expected.txt
index 0ac528d..9ae13fb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-5-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-5-expected.txt
@@ -6,9 +6,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 753x39
-          text run at (0,0) width 458: "This tests moving the caret forward through content of mixed editability. "
-          text run at (457,0) width 296: "The caret should move down one line from the"
+        LayoutText {#text} at (0,0) size 752x39
+          text run at (0,0) width 457: "This tests moving the caret forward through content of mixed editability. "
+          text run at (457,0) width 295: "The caret should move down one line from the"
           text run at (0,20) width 470: "editable piece to the editable piece that's embedded in a non-editable piece."
       LayoutBlockFlow {DIV} at (0,56) size 784x70
         LayoutBlockFlow (anonymous) at (0,0) size 784x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-6-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-6-expected.png
index d9bbfdf7..8e0b254 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-6-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-6-expected.txt
index b7ba021f..d5b9fb5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-6-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-6-expected.txt
@@ -13,14 +13,14 @@
           LayoutText {#text} at (0,0) size 27x19
             text run at (0,0) width 27: "One"
         LayoutBlockFlow {DIV} at (0,20) size 784x20
-          LayoutInline {SPAN} at (0,0) size 29x19
-            LayoutText {#text} at (0,0) size 29x19
-              text run at (0,0) width 29: "Two"
-          LayoutText {#text} at (28,0) size 5x19
-            text run at (28,0) width 5: " "
-          LayoutInline {SPAN} at (0,0) size 38x19
-            LayoutText {#text} at (32,0) size 38x19
-              text run at (32,0) width 38: "Three"
+          LayoutInline {SPAN} at (0,0) size 28x19
+            LayoutText {#text} at (0,0) size 28x19
+              text run at (0,0) width 28: "Two"
+          LayoutText {#text} at (28,0) size 4x19
+            text run at (28,0) width 4: " "
+          LayoutInline {SPAN} at (0,0) size 37x19
+            LayoutText {#text} at (32,0) size 37x19
+              text run at (32,0) width 37: "Three"
         LayoutBlockFlow {DIV} at (0,40) size 784x20
           LayoutText {#text} at (0,0) size 30x19
             text run at (0,0) width 30: "Four"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-7-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-7-expected.png
index c714906..5870525f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-7-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-7-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-7-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-7-expected.txt
index 1cd76ed5..c8ce689 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-7-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-7-expected.txt
@@ -13,14 +13,14 @@
           LayoutText {#text} at (0,0) size 27x19
             text run at (0,0) width 27: "One"
         LayoutBlockFlow {DIV} at (0,20) size 784x20
-          LayoutInline {SPAN} at (0,0) size 29x19
-            LayoutText {#text} at (0,0) size 29x19
-              text run at (0,0) width 29: "Two"
-          LayoutText {#text} at (28,0) size 5x19
-            text run at (28,0) width 5: " "
-          LayoutInline {SPAN} at (0,0) size 38x19
-            LayoutText {#text} at (32,0) size 38x19
-              text run at (32,0) width 38: "Three"
+          LayoutInline {SPAN} at (0,0) size 28x19
+            LayoutText {#text} at (0,0) size 28x19
+              text run at (0,0) width 28: "Two"
+          LayoutText {#text} at (28,0) size 4x19
+            text run at (28,0) width 4: " "
+          LayoutInline {SPAN} at (0,0) size 37x19
+            LayoutText {#text} at (32,0) size 37x19
+              text run at (32,0) width 37: "Three"
         LayoutBlockFlow {DIV} at (0,40) size 784x20
           LayoutText {#text} at (0,0) size 30x19
             text run at (0,0) width 30: "Four"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-9-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-9-expected.png
index 728138e..856f76e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-9-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-9-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-9-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-9-expected.txt
index 15049a8..fb6509b1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-9-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/mixed-editability-9-expected.txt
@@ -7,8 +7,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 773x39
-          text run at (0,0) width 773: "This tests moving the caret backward through content of mixed editability. The caret should back to just before the outlined"
+        LayoutText {#text} at (0,0) size 772x39
+          text run at (0,0) width 772: "This tests moving the caret backward through content of mixed editability. The caret should back to just before the outlined"
           text run at (0,20) width 34: "table."
       LayoutBlockFlow {DIV} at (0,56) size 784x70
         LayoutBlockFlow (anonymous) at (0,0) size 784x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/paragraph-granularity-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/paragraph-granularity-expected.png
index 61a7b153..bb7f650 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/paragraph-granularity-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/paragraph-granularity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/paragraph-granularity-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/paragraph-granularity-expected.txt
index 5bcc886..201969b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/paragraph-granularity-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/paragraph-granularity-expected.txt
@@ -8,14 +8,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 696x19
+        LayoutText {#text} at (0,0) size 695x19
           text run at (0,0) width 368: "This tests modifying a selection created with a triple click. "
-          text run at (368,0) width 328: "The new selection should use paragraph granularity."
+          text run at (368,0) width 327: "The new selection should use paragraph granularity."
       LayoutBlockFlow {P} at (0,36) size 784x60 [color=#008000]
-        LayoutText {#text} at (0,0) size 775x59
-          text run at (0,0) width 223: "This test does not run interactively. "
-          text run at (222,0) width 353: "It uses the testRunners eventSender to do mouse clicks. "
-          text run at (574,0) width 201: "To run it manually, double click"
+        LayoutText {#text} at (0,0) size 774x59
+          text run at (0,0) width 222: "This test does not run interactively. "
+          text run at (222,0) width 352: "It uses the testRunners eventSender to do mouse clicks. "
+          text run at (574,0) width 198: "To run it manually, double click"
           text run at (0,20) width 284: "on the blue 'g', then drag down to the red 'g'. "
           text run at (284,20) width 490: "As you drag, watch the selection that is created, it should always start and end"
           text run at (0,40) width 160: "on paragraph boundaries."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/previous-line-position-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/previous-line-position-expected.png
index 6bbc491a..37b8104 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/previous-line-position-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/previous-line-position-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-element-paragraph-boundary-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-element-paragraph-boundary-expected.png
index 45f31a8..31b68020 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-element-paragraph-boundary-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-element-paragraph-boundary-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-element-paragraph-boundary-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-element-paragraph-boundary-expected.txt
index 4bc1b8e2..b34e0c6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-element-paragraph-boundary-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-element-paragraph-boundary-expected.txt
@@ -6,9 +6,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 749x39
+        LayoutText {#text} at (0,0) size 748x39
           text run at (0,0) width 326: "This tests paragraphBoundary selection navigation. "
-          text run at (326,0) width 423: "The caret should be at the end of the paragraph below, just after the"
+          text run at (326,0) width 422: "The caret should be at the end of the paragraph below, just after the"
           text run at (0,20) width 67: "select box."
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutMenuList {SELECT} at (0,0) size 29x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-expected.png
index 17d7493bf..8f2768e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-expected.txt
index 1217c50..20fa6a5b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {H3} at (0,0) size 784x23
-        LayoutText {#text} at (0,0) size 67x22
-          text run at (0,0) width 67: "Test for "
-        LayoutInline {A} at (0,0) size 156x22 [color=#0000EE]
-          LayoutText {#text} at (66,0) size 156x22
-            text run at (66,0) width 156: "WebKit bug 29968"
-        LayoutText {#text} at (221,0) size 561x22
-          text run at (221,0) width 561: ": Selecting text with text-overflow ellipsis should not show cut off text"
+        LayoutText {#text} at (0,0) size 66x22
+          text run at (0,0) width 66: "Test for "
+        LayoutInline {A} at (0,0) size 154x22 [color=#0000EE]
+          LayoutText {#text} at (66,0) size 154x22
+            text run at (66,0) width 154: "WebKit bug 29968"
+        LayoutText {#text} at (220,0) size 560x22
+          text run at (220,0) width 560: ": Selecting text with text-overflow ellipsis should not show cut off text"
 layer at (8,50) size 95x20 scrollWidth 121
   LayoutBlockFlow {DIV} at (0,41.72) size 95x20
     LayoutText {#text} at (0,0) size 121x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-2-expected.png
index 472d9af7..1eda411 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-2-expected.txt
index 9573c7eb..19f7849 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-2-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x82
     LayoutBlockFlow {BODY} at (8,16) size 784x58
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 692x19
-          text run at (0,0) width 692: "crbug.com/642454: Select all text in mixed ltr-rtl in rtl flow. None of the dots in the ellipsis should be selected."
+        LayoutText {#text} at (0,0) size 691x19
+          text run at (0,0) width 691: "crbug.com/642454: Select all text in mixed ltr-rtl in rtl flow. None of the dots in the ellipsis should be selected."
       LayoutBlockFlow {DL} at (200,36) size 384x22
 layer at (248,52) size 344x22 scrollWidth 509
   LayoutBlockFlow {DD} at (40,0) size 344x22
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-expected.png
index 4a214f6..efe4c28 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-expected.txt
index 14342adbc..bc0f068 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-ltr-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x82
     LayoutBlockFlow {BODY} at (8,16) size 784x58
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 374x19
-          text run at (0,0) width 374: "crbug.com/634445: Select all text in mixed ltr-rtl in ltr flow."
+        LayoutText {#text} at (0,0) size 373x19
+          text run at (0,0) width 373: "crbug.com/634445: Select all text in mixed ltr-rtl in ltr flow."
       LayoutBlockFlow {DL} at (200,36) size 384x22
 layer at (248,52) size 344x22 scrollWidth 395
   LayoutBlockFlow {DD} at (40,0) size 344x22
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-2-expected.png
index e0c1a8b..2983d9c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-2-expected.txt
index 3d869fb..e2a098c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-2-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x82
     LayoutBlockFlow {BODY} at (8,16) size 784x58
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 692x19
-          text run at (0,0) width 692: "crbug.com/642454: Select all text in mixed ltr-rtl in rtl flow. None of the dots in the ellipsis should be selected."
+        LayoutText {#text} at (0,0) size 691x19
+          text run at (0,0) width 691: "crbug.com/642454: Select all text in mixed ltr-rtl in rtl flow. None of the dots in the ellipsis should be selected."
       LayoutBlockFlow {DL} at (200,36) size 384x22
 layer at (208,52) size 344x22 scrollX 165.00 scrollWidth 509
   LayoutBlockFlow {DD} at (0,0) size 344x22
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-expected.png
index 380ce5a9..fd2cd95 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-expected.txt
index e3844963..49cbdc5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/select-text-overflow-ellipsis-mixed-in-rtl-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x82
     LayoutBlockFlow {BODY} at (8,16) size 784x58
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 374x19
-          text run at (0,0) width 374: "crbug.com/634445: Select all text in mixed ltr-rtl in rtl flow."
+        LayoutText {#text} at (0,0) size 373x19
+          text run at (0,0) width 373: "crbug.com/634445: Select all text in mixed ltr-rtl in rtl flow."
       LayoutBlockFlow {DL} at (200,36) size 384x22
 layer at (208,52) size 344x22 scrollX 51.00 scrollWidth 395
   LayoutBlockFlow {DD} at (0,0) size 344x22
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selectNode-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selectNode-expected.png
index 8cef760..3d91e61 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selectNode-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selectNode-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selectNodeContents-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selectNodeContents-expected.png
index c19425f..fa53aec 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selectNodeContents-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selectNodeContents-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-background-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-background-expected.png
index 6284637..e8bb795 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-background-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-background-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-button-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-button-text-expected.png
index 3085c75e..7693751 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-button-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-button-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-button-text-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-button-text-expected.txt
index d337082..f7619fe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-button-text-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-button-text-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x144
     LayoutBlockFlow {BODY} at (8,16) size 784x120
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 554x19
-          text run at (0,0) width 554: "To PASS this test case the text of the button label should not be selected in the selection."
+        LayoutText {#text} at (0,0) size 552x19
+          text run at (0,0) width 552: "To PASS this test case the text of the button label should not be selected in the selection."
       LayoutBlockFlow {DIV} at (0,36) size 784x84
         LayoutBlockFlow (anonymous) at (0,0) size 784x42
           LayoutText {#text} at (0,0) size 49x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-linebreaks-rtl-writing-modes-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-linebreaks-rtl-writing-modes-expected.png
index 4e24747..c7ff955 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-linebreaks-rtl-writing-modes-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/selection-linebreaks-rtl-writing-modes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/transformed-selection-rects-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/transformed-selection-rects-expected.png
index dee1d66..cbc6ffd3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/transformed-selection-rects-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/transformed-selection-rects-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/transformed-selection-rects-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/transformed-selection-rects-expected.txt
index 4e22052..cc19f5d0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/transformed-selection-rects-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/transformed-selection-rects-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x572
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 737x19
-          text run at (0,0) width 737: "Tests that selection rects take transforms into account. The red box should be the bounds of the transformed selection."
+        LayoutText {#text} at (0,0) size 736x19
+          text run at (0,0) width 736: "Tests that selection rects take transforms into account. The red box should be the bounds of the transformed selection."
 layer at (28,48) size 622x98
   LayoutBlockFlow {DIV} at (20,40) size 622x98 [border: (1px solid #000000)]
     LayoutBlockFlow {P} at (11,35) size 600x28
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/triple-click-in-pre-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/triple-click-in-pre-expected.png
index 64eff872..f57bde05 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/triple-click-in-pre-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/triple-click-in-pre-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/triple-click-in-pre-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/triple-click-in-pre-expected.txt
index e2cc23f..b0bb47adc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/triple-click-in-pre-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/triple-click-in-pre-expected.txt
@@ -6,14 +6,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 677x19
+        LayoutText {#text} at (0,0) size 676x19
           text run at (0,0) width 379: "This tests modifying a selection created with a double click. "
-          text run at (379,0) width 298: "The new selection should use word granularity."
+          text run at (379,0) width 297: "The new selection should use word granularity."
       LayoutBlockFlow {P} at (0,36) size 784x40 [color=#008000]
-        LayoutText {#text} at (0,0) size 784x39
-          text run at (0,0) width 223: "This test does not run interactively. "
-          text run at (222,0) width 353: "It uses the testRunners eventSender to do mouse clicks. "
-          text run at (574,0) width 210: "To run it manually, triple click on"
+        LayoutText {#text} at (0,0) size 781x39
+          text run at (0,0) width 222: "This test does not run interactively. "
+          text run at (222,0) width 352: "It uses the testRunners eventSender to do mouse clicks. "
+          text run at (574,0) width 207: "To run it manually, triple click on"
           text run at (0,20) width 432: "the second line in the box below (anywhere after \"whitespace:pre\"). "
           text run at (432,20) width 273: "The triple click should select the entire line."
       LayoutBlockFlow {DIV} at (0,92) size 784x60
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/word-granularity-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/word-granularity-expected.png
index 5f79914..533a13b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/word-granularity-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/word-granularity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/word-granularity-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/word-granularity-expected.txt
index b27bb50..4166305c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/word-granularity-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/word-granularity-expected.txt
@@ -7,14 +7,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 677x19
+        LayoutText {#text} at (0,0) size 676x19
           text run at (0,0) width 379: "This tests modifying a selection created with a double click. "
-          text run at (379,0) width 298: "The new selection should use word granularity."
+          text run at (379,0) width 297: "The new selection should use word granularity."
       LayoutBlockFlow {P} at (0,36) size 784x60 [color=#008000]
-        LayoutText {#text} at (0,0) size 775x59
-          text run at (0,0) width 223: "This test does not run interactively. "
-          text run at (222,0) width 353: "It uses the testRunners eventSender to do mouse clicks. "
-          text run at (574,0) width 201: "To run it manually, double click"
+        LayoutText {#text} at (0,0) size 774x59
+          text run at (0,0) width 222: "This test does not run interactively. "
+          text run at (222,0) width 352: "It uses the testRunners eventSender to do mouse clicks. "
+          text run at (574,0) width 198: "To run it manually, double click"
           text run at (0,20) width 284: "on the blue 'g', then drag down to the red 'g'. "
           text run at (284,20) width 490: "As you drag, watch the selection that is created, it should always start and end"
           text run at (0,40) width 130: "on word boundaries."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/style/5084241-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/style/5084241-expected.png
index 394a3dc..46327d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/style/5084241-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/style/5084241-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/style/5279521-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/style/5279521-expected.png
index 28fa8105..7080390 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/style/5279521-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/style/5279521-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/style/block-style-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/style/block-style-001-expected.png
index 4ffe125..89976e2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/style/block-style-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/style/block-style-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/style/block-style-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/style/block-style-002-expected.png
index 4ffe125..89976e2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/style/block-style-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/style/block-style-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/style/block-style-003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/style/block-style-003-expected.png
index cfc6f08a..8f11ad4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/style/block-style-003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/style/block-style-003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/style/font-family-with-space-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/style/font-family-with-space-expected.png
index 44a4b3d5..6dfb145 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/style/font-family-with-space-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/style/font-family-with-space-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/style/font-family-with-space-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/style/font-family-with-space-expected.txt
index f32fe83a..8289492 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/style/font-family-with-space-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/style/font-family-with-space-expected.txt
@@ -6,8 +6,8 @@
       LayoutInline {U} at (0,0) size 245x15
         LayoutText {#text} at (0,0) size 245x15
           text run at (0,0) width 245: "This text should be Times New Roman bold."
-      LayoutInline {U} at (0,0) size 246x15
-        LayoutText {#text} at (244,0) size 246x15
-          text run at (244,0) width 246: "This text should be Times New Roman bold."
+      LayoutInline {U} at (0,0) size 245x15
+        LayoutText {#text} at (245,0) size 245x15
+          text run at (245,0) width 245: "This text should be Times New Roman bold."
       LayoutText {#text} at (0,0) size 0x0
 caret: position 41 of child 0 {#text} of child 1 {U} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-after-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-after-expected.png
index e63cf32..567d9bbe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-after-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-after-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-after-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-after-expected.txt
index f2960e3f..01fcb88 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-after-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-after-expected.txt
@@ -24,8 +24,8 @@
           LayoutInline {I} at (0,0) size 99x20
             LayoutText {#text} at (0,48) size 99x20
               text run at (0,48) width 99: "For this test: "
-          LayoutText {#text} at (99,48) size 222x20
-            text run at (99,48) width 222: "Test typing at the end of a list."
+          LayoutText {#text} at (99,48) size 221x20
+            text run at (99,48) width 221: "Test typing at the end of a list."
         LayoutBlockFlow (anonymous) at (20,89) size 744x21
           LayoutBR {BR} at (0,0) size 0x20
         LayoutBlockFlow {DIV} at (20,110) size 744x90
@@ -39,8 +39,8 @@
           LayoutInline {I} at (0,0) size 99x20
             LayoutText {#text} at (0,69) size 99x20
               text run at (0,69) width 99: "For this test: "
-          LayoutText {#text} at (99,69) size 423x20
-            text run at (99,69) width 423: "Typed text should appear after (on the line below) the list."
+          LayoutText {#text} at (99,69) size 422x20
+            text run at (99,69) width 422: "Typed text should appear after (on the line below) the list."
       LayoutBlockFlow {DIV} at (0,230) size 784x136 [border: (2px solid #008000)]
         LayoutBlockFlow {UL} at (2,26) size 780x84
           LayoutListItem {LI} at (40,0) size 740x28
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-before-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-before-expected.png
index 3fa13398..fcc17ec 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-before-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-before-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-before-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-before-expected.txt
index 636af63..f7c1597 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-before-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/list-type-before-expected.txt
@@ -21,8 +21,8 @@
           LayoutInline {I} at (0,0) size 99x20
             LayoutText {#text} at (0,48) size 99x20
               text run at (0,48) width 99: "For this test: "
-          LayoutText {#text} at (99,48) size 227x20
-            text run at (99,48) width 227: "Test typing at the start of a list."
+          LayoutText {#text} at (99,48) size 226x20
+            text run at (99,48) width 226: "Test typing at the start of a list."
         LayoutBlockFlow (anonymous) at (20,89) size 744x21
           LayoutBR {BR} at (0,0) size 0x20
         LayoutBlockFlow {DIV} at (20,110) size 744x90
@@ -36,8 +36,8 @@
           LayoutInline {I} at (0,0) size 99x20
             LayoutText {#text} at (0,69) size 99x20
               text run at (0,69) width 99: "For this test: "
-          LayoutText {#text} at (99,69) size 414x20
-            text run at (99,69) width 414: "Typed text should appear at the start of the first list item."
+          LayoutText {#text} at (99,69) size 413x20
+            text run at (99,69) width 413: "Typed text should appear at the start of the first list item."
       LayoutBlockFlow {DIV} at (0,230) size 784x136 [border: (2px solid #008000)]
         LayoutBlockFlow {UL} at (2,26) size 780x84
           LayoutListItem {LI} at (40,0) size 740x28
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-delete-003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-delete-003-expected.png
index 32604f1..cc6babf1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-delete-003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-delete-003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-delete-003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-delete-003-expected.txt
index 6df1257..b837513 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-delete-003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-delete-003-expected.txt
@@ -46,7 +46,7 @@
             text run at (99,69) width 304: "Only selected content should get deleted. "
             text run at (403,69) width 341: "Surrounding content that is not selected should"
             text run at (0,90) width 206: "(obviously) not be affected. "
-          LayoutBR {BR} at (205,106) size 1x0
+          LayoutBR {BR} at (206,106) size 0x0
           LayoutInline {B} at (0,0) size 718x20
             LayoutText {#text} at (0,111) size 718x20
               text run at (0,111) width 718: "There is a bug: the caret ends up in the wrong position, it should be in the empty paragraph."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-after-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-after-expected.png
index c0900e13..a9ec5a1a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-after-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-after-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-after-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-after-expected.txt
index be476139..6c926d9e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-after-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-after-expected.txt
@@ -31,8 +31,8 @@
           LayoutInline {I} at (0,0) size 99x20
             LayoutText {#text} at (0,48) size 99x20
               text run at (0,48) width 99: "For this test: "
-          LayoutText {#text} at (99,48) size 177x20
-            text run at (99,48) width 177: "Test typing after a table."
+          LayoutText {#text} at (99,48) size 176x20
+            text run at (99,48) width 176: "Test typing after a table."
         LayoutBlockFlow (anonymous) at (20,89) size 744x21
           LayoutBR {BR} at (0,0) size 0x20
         LayoutBlockFlow {DIV} at (20,110) size 744x90
@@ -46,8 +46,8 @@
           LayoutInline {I} at (0,0) size 99x20
             LayoutText {#text} at (0,69) size 99x20
               text run at (0,69) width 99: "For this test: "
-          LayoutText {#text} at (99,69) size 436x20
-            text run at (99,69) width 436: "Typed text should appear after (on the line below) the table."
+          LayoutText {#text} at (99,69) size 435x20
+            text run at (99,69) width 435: "Typed text should appear after (on the line below) the table."
       LayoutBlockFlow {DIV} at (0,230) size 784x114 [border: (2px solid #008000)]
         LayoutTable {TABLE} at (2,2) size 46x82 [border: (1px outset #808080)]
           LayoutTableSection {TBODY} at (1,1) size 44x80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-before-expected.png b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-before-expected.png
index c3564ca..778a3740 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-before-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-before-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-before-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-before-expected.txt
index b0b619d..989e128 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-before-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/unsupported-content/table-type-before-expected.txt
@@ -21,8 +21,8 @@
           LayoutInline {I} at (0,0) size 99x20
             LayoutText {#text} at (0,48) size 99x20
               text run at (0,48) width 99: "For this test: "
-          LayoutText {#text} at (99,48) size 190x20
-            text run at (99,48) width 190: "Test typing before a table."
+          LayoutText {#text} at (99,48) size 189x20
+            text run at (99,48) width 189: "Test typing before a table."
         LayoutBlockFlow (anonymous) at (20,89) size 744x21
           LayoutBR {BR} at (0,0) size 0x20
         LayoutBlockFlow {DIV} at (20,110) size 744x90
@@ -36,8 +36,8 @@
           LayoutInline {I} at (0,0) size 99x20
             LayoutText {#text} at (0,69) size 99x20
               text run at (0,69) width 99: "For this test: "
-          LayoutText {#text} at (99,69) size 448x20
-            text run at (99,69) width 448: "Typed text should appear before (on the line above) the table."
+          LayoutText {#text} at (99,69) size 447x20
+            text run at (99,69) width 447: "Typed text should appear before (on the line above) the table."
       LayoutBlockFlow {DIV} at (0,230) size 784x114 [border: (2px solid #008000)]
         LayoutBlockFlow (anonymous) at (2,2) size 780x28
           LayoutText {#text} at (0,0) size 36x27
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/001-expected.png
index 02f40b6..c3b83e9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/001-expected.txt
index 4209b86..979822a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/001-expected.txt
@@ -6,6 +6,6 @@
       LayoutBlockFlow (anonymous) at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 776x39
           text run at (0,0) width 776: "The box below should be solid green. If there are 10 pixels of red visible on the top and left, the background image is being"
-          text run at (0,20) width 129: "repeated improperly."
+          text run at (0,20) width 128: "repeated improperly."
       LayoutBlockFlow {P} at (0,56) size 784x0
       LayoutBlockFlow {P} at (0,56) size 50x50 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/animated-gif-as-background-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/animated-gif-as-background-expected.png
index df8a58c..143e3f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/animated-gif-as-background-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/animated-gif-as-background-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/animated-gif-as-background-rounded-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/animated-gif-as-background-rounded-expected.png
index b0b9560..84ba3a9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/animated-gif-as-background-rounded-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/animated-gif-as-background-rounded-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/animated-svg-as-mask-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/animated-svg-as-mask-expected.png
index 3d42d5b..5d1dff0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/animated-svg-as-mask-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/animated-svg-as-mask-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-clip-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-clip-text-expected.png
index e4792f4..8d87ffa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-clip-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-clip-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-clip-text-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-clip-text-expected.txt
index 2705fc7..1cd8bfe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-clip-text-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-clip-text-expected.txt
@@ -7,9 +7,9 @@
         LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
           LayoutText {#text} at (0,0) size 305x19
             text run at (0,0) width 305: "https://bugs.webkit.org/show_bug.cgi?id=25829"
-        LayoutBR {BR} at (304,15) size 1x0
-        LayoutText {#text} at (0,20) size 570x19
-          text run at (0,20) width 570: "You should see no areas of read below. (This paragraph is required for the test to be valid.)"
+        LayoutBR {BR} at (305,15) size 0x0
+        LayoutText {#text} at (0,20) size 568x19
+          text run at (0,20) width 568: "You should see no areas of read below. (This paragraph is required for the test to be valid.)"
       LayoutBlockFlow {DIV} at (0,56) size 502x202 [color=#008000] [bgcolor=#FF0000] [border: (1px solid #000000)]
         LayoutText {#text} at (1,2) size 431x149
           text run at (1,2) width 431: "This background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-origin-root-element-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-origin-root-element-expected.png
index 4a0e7ee..21b71bf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-origin-root-element-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-origin-root-element-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-position-rounding-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-position-rounding-expected.png
index d4a848d..d41ddf4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-position-rounding-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-position-rounding-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-position-rounding-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-position-rounding-expected.txt
index 582a55f..4fe2a29 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-position-rounding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-position-rounding-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x160
     LayoutBlockFlow {BODY} at (8,8) size 784x136
       LayoutBlockFlow {DIV} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 192x19
-          text run at (0,0) width 192: "There should be no red below."
+        LayoutText {#text} at (0,0) size 191x19
+          text run at (0,0) width 191: "There should be no red below."
 layer at (8,44) size 100x100
   LayoutBlockFlow (relative positioned) {P} at (0,36) size 100x100
 layer at (44,44) size 64x32
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/body-generated-image-propagated-to-root-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/body-generated-image-propagated-to-root-expected.png
index 12c61cd6..02046cd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/body-generated-image-propagated-to-root-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/body-generated-image-propagated-to-root-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/body-generated-image-propagated-to-root-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/body-generated-image-propagated-to-root-expected.txt
index 92e2d279..6913b61 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/body-generated-image-propagated-to-root-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/body-generated-image-propagated-to-root-expected.txt
@@ -4,21 +4,21 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40 [bgcolor=#FFFFFF]
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 760x39
-          LayoutInline {A} at (0,0) size 308x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 308x19
-              text run at (51,0) width 308: "https://bugs.webkit.org/show_bug.cgi?id=18445"
+          LayoutInline {A} at (0,0) size 307x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 307x19
+              text run at (51,0) width 307: "https://bugs.webkit.org/show_bug.cgi?id=18445"
           LayoutText {#text} at (358,0) size 760x39
-            text run at (358,0) width 5: " "
+            text run at (358,0) width 4: " "
             text run at (362,0) width 398: "Assertion failure in CSSGradientValue::image() when the body"
             text run at (0,20) width 224: "element has a background gradient"
-        LayoutText {#text} at (223,20) size 5x19
-          text run at (223,20) width 5: "."
+        LayoutText {#text} at (224,20) size 4x19
+          text run at (224,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x40 [bgcolor=#FFFFFF]
         LayoutText {#text} at (0,0) size 747x39
           text run at (0,0) width 370: "The test passes if the root element\x{2019}s background is a linear "
-          text run at (369,0) width 378: "gradient from black at the top to white at the bottom, and no"
+          text run at (370,0) width 377: "gradient from black at the top to white at the bottom, and no"
           text run at (0,20) width 59: "assertion "
           text run at (59,20) width 89: "failure occurs."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/opacity-on-document-element-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/opacity-on-document-element-expected.png
index 20adea3..146b2fc0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/opacity-on-document-element-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/opacity-on-document-element-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/opacity-on-document-element-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/opacity-on-document-element-expected.txt
index 9593e93d..26b5b057 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/opacity-on-document-element-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/opacity-on-document-element-expected.txt
@@ -4,6 +4,6 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x140
     LayoutBlockFlow {BODY} at (50,50) size 700x40 [bgcolor=#808080]
       LayoutBlockFlow {P} at (0,0) size 700x40
-        LayoutText {#text} at (0,0) size 676x39
-          text run at (0,0) width 676: "The document background should be red, and the body gray. The rest of the viewport should be white. The"
+        LayoutText {#text} at (0,0) size 675x39
+          text run at (0,0) width 675: "The document background should be red, and the body gray. The rest of the viewport should be white. The"
           text run at (0,20) width 300: "document and body should have opacity of 0.3."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png
index 96692e6..30b516e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.txt
index 8ea1be7..098044e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 153x19
           text run at (0,0) width 153: "Mask version of test for "
-        LayoutInline {I} at (0,0) size 750x39
+        LayoutInline {I} at (0,0) size 751x39
           LayoutInline {A} at (0,0) size 293x19 [color=#0000EE]
             LayoutText {#text} at (153,0) size 293x19
               text run at (153,0) width 293: "http://bugs.webkit.org/show_bug.cgi?id=5399"
-          LayoutText {#text} at (445,0) size 750x39
-            text run at (445,0) width 5: " "
-            text run at (449,0) width 301: "no-repeat on negatively positioned fill images is"
+          LayoutText {#text} at (446,0) size 751x39
+            text run at (446,0) width 4: " "
+            text run at (450,0) width 301: "no-repeat on negatively positioned fill images is"
             text run at (0,20) width 49: "ignored"
-        LayoutText {#text} at (48,20) size 5x19
-          text run at (48,20) width 5: "."
+        LayoutText {#text} at (49,20) size 4x19
+          text run at (49,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 412x19
           text run at (0,0) width 412: "Element with mask image starting at (-13, -13) with no-repeat set:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-expected.png
index d5d70ea..b3aea828 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-expected.txt
index 7a7efe2..87aabd54 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x544
     LayoutBlockFlow {BODY} at (8,16) size 784x466
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 720x19
-          LayoutInline {A} at (0,0) size 294x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 294x19
-              text run at (51,0) width 294: "http://bugs.webkit.org/show_bug.cgi?id=5399"
-          LayoutText {#text} at (344,0) size 427x19
-            text run at (344,0) width 5: " "
-            text run at (348,0) width 423: "no-repeat on negatively positioned background images are ignored"
-        LayoutText {#text} at (770,0) size 5x19
-          text run at (770,0) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 722x19
+          LayoutInline {A} at (0,0) size 293x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 293x19
+              text run at (51,0) width 293: "http://bugs.webkit.org/show_bug.cgi?id=5399"
+          LayoutText {#text} at (344,0) size 429x19
+            text run at (344,0) width 4: " "
+            text run at (348,0) width 425: "no-repeat on negatively positioned background images are ignored"
+        LayoutText {#text} at (773,0) size 4x19
+          text run at (773,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 454x19
           text run at (0,0) width 454: "Element with background image starting at (-13, -13) with no-repeat set:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png
index 437080f3..6665012 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.txt
index ff0de87..1d68255 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x1026
     LayoutBlockFlow {BODY} at (8,16) size 784x1002
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 720x19
-          LayoutInline {A} at (0,0) size 294x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 294x19
-              text run at (51,0) width 294: "http://bugs.webkit.org/show_bug.cgi?id=5399"
-          LayoutText {#text} at (344,0) size 427x19
-            text run at (344,0) width 5: " "
-            text run at (348,0) width 423: "no-repeat on negatively positioned background images are ignored"
-        LayoutText {#text} at (770,0) size 5x19
-          text run at (770,0) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 722x19
+          LayoutInline {A} at (0,0) size 293x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 293x19
+              text run at (51,0) width 293: "http://bugs.webkit.org/show_bug.cgi?id=5399"
+          LayoutText {#text} at (344,0) size 429x19
+            text run at (344,0) width 4: " "
+            text run at (348,0) width 425: "no-repeat on negatively positioned background images are ignored"
+        LayoutText {#text} at (773,0) size 4x19
+          text run at (773,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 454x19
           text run at (0,0) width 454: "Element with background image starting at (-13, -13) with no-repeat set:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-image-list-style-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-image-list-style-expected.png
index 744b54f..a06472973 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-image-list-style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-image-list-style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-image-list-style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-image-list-style-expected.txt
index b509896..f36b55a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-image-list-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-image-list-style-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x76
       LayoutBlockFlow {DIV} at (0,0) size 784x76
         LayoutBlockFlow (anonymous) at (0,0) size 784x20
-          LayoutText {#text} at (0,0) size 359x19
-            text run at (0,0) width 359: "Test pass if background of image list style in ul is yellow."
+          LayoutText {#text} at (0,0) size 357x19
+            text run at (0,0) width 357: "Test pass if background of image list style in ul is yellow."
         LayoutBlockFlow {UL} at (0,36) size 784x40
           LayoutListItem {LI} at (40,0) size 744x20
             LayoutListMarker (anonymous) at (-17,5) size 10x10
@@ -14,7 +14,7 @@
               text run at (0,0) width 27: "One"
           LayoutListItem {LI} at (40,20) size 744x20
             LayoutListMarker (anonymous) at (-17,5) size 10x10
-            LayoutText {#text} at (0,0) size 29x19
-              text run at (0,0) width 29: "Two"
+            LayoutText {#text} at (0,0) size 28x19
+              text run at (0,0) width 28: "Two"
 selection start: position 66 of child 0 {#text} of child 0 {DIV} of body
 selection end:   position 3 of child 0 {#text} of child 3 {LI} of child 1 {UL} of child 0 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-list-style-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-list-style-expected.png
index a6e2f99d..35a690f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-list-style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-list-style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-list-style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-list-style-expected.txt
index df2003a..34b820f5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-list-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/selection-background-color-of-list-style-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x132
       LayoutBlockFlow {DIV} at (0,0) size 784x132
         LayoutBlockFlow (anonymous) at (0,0) size 784x20
-          LayoutText {#text} at (0,0) size 472x19
-            text run at (0,0) width 472: "Test passes if backgrounds of list style in ul and ol are each red and yellow."
+          LayoutText {#text} at (0,0) size 470x19
+            text run at (0,0) width 470: "Test passes if backgrounds of list style in ul and ol are each red and yellow."
         LayoutBlockFlow {UL} at (0,36) size 784x40
           LayoutListItem {LI} at (40,0) size 744x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
@@ -14,8 +14,8 @@
               text run at (0,0) width 27: "One"
           LayoutListItem {LI} at (40,20) size 744x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 29x19
-              text run at (0,0) width 29: "Two"
+            LayoutText {#text} at (0,0) size 28x19
+              text run at (0,0) width 28: "Two"
         LayoutBlockFlow {OL} at (0,92) size 784x40
           LayoutListItem {LI} at (40,0) size 744x20
             LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
@@ -23,7 +23,7 @@
               text run at (0,0) width 27: "One"
           LayoutListItem {LI} at (40,20) size 744x20
             LayoutListMarker (anonymous) at (-16,0) size 16x19: "2"
-            LayoutText {#text} at (0,0) size 29x19
-              text run at (0,0) width 29: "Two"
+            LayoutText {#text} at (0,0) size 28x19
+              text run at (0,0) width 28: "Two"
 selection start: position 84 of child 0 {#text} of child 0 {DIV} of body
 selection end:   position 3 of child 0 {#text} of child 3 {LI} of child 3 {OL} of child 0 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/size/zero-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/size/zero-expected.png
index e61922e..64f09ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/size/zero-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/size/zero-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/size/zero-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/size/zero-expected.txt
index 702117c..b57a5b36 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/size/zero-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/size/zero-expected.txt
@@ -4,19 +4,19 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 526x19
-          LayoutInline {A} at (0,0) size 496x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 496x19
-              text run at (51,0) width 496: "REGRESSION(r27173): Web Inspector freezes beneath Image::drawPattern()"
-          LayoutText {#text} at (546,0) size 31x19
-            text run at (546,0) width 31: " Bug"
-        LayoutText {#text} at (576,0) size 5x19
-          text run at (576,0) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 525x19
+          LayoutInline {A} at (0,0) size 495x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 495x19
+              text run at (51,0) width 495: "REGRESSION(r27173): Web Inspector freezes beneath Image::drawPattern()"
+          LayoutText {#text} at (546,0) size 30x19
+            text run at (546,0) width 30: " Bug"
+        LayoutText {#text} at (576,0) size 4x19
+          text run at (576,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x40
-        LayoutText {#text} at (0,0) size 771x39
-          text run at (0,0) width 771: "There should be three empty squares with black borders and the last one should have blue background. WebKit should not"
+        LayoutText {#text} at (0,0) size 770x39
+          text run at (0,0) width 770: "There should be three empty squares with black borders and the last one should have blue background. WebKit should not"
           text run at (0,20) width 91: "hang or assert."
       LayoutBlockFlow {DIV} at (8,92) size 106x106 [border: (3px solid #000000)]
       LayoutBlockFlow {DIV} at (8,206) size 106x106 [border: (3px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/001-expected.png
index a7dc67f..a72ab63 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/011-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/011-expected.png
index a4c5de28..1d4fa6d4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/011-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/011-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/014-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/014-expected.png
index 1cc9d8f..ea14232 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/014-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/014-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/015-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/015-expected.png
index 89989825..0b51eba 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/015-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/015-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/016-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/016-expected.png
index 031eb515..5eb4a5c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/016-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/016-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/adding-near-anonymous-block-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/adding-near-anonymous-block-expected.png
index 9a76f37..903cbd9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/adding-near-anonymous-block-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/adding-near-anonymous-block-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/minheight-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/minheight-expected.png
index 9c1e0dae..8709f06 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/minheight-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/minheight-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/text-indent-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/text-indent-rtl-expected.png
index 5240cfbf..b35c3f9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/text-indent-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/text-indent-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/truncation-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/truncation-rtl-expected.png
index a206a64..5917484 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/truncation-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/truncation-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/white-space-pre-wraps-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/white-space-pre-wraps-expected.png
index 53939cd2..60d3b93 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/white-space-pre-wraps-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/basic/white-space-pre-wraps-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/001-expected.png
index ba59c55a..7e1089e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/002-expected.png
index bb9faf3b..875ddee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/014-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/014-expected.png
index 4277173..2ef2739 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/014-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/014-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/015-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/015-expected.png
index ff792ff..378ac4cb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/015-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/015-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/021-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/021-expected.png
index 821d7c4e..6861b17 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/021-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/021-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/023-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/023-expected.png
index b903e52..1de7d341 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/023-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/023-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box-expected.png
index 12f2ab2e..c970a42 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/add-inline-to-block-flow-with-block-children-that-do-not-need-anonymous-boxes-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/add-inline-to-block-flow-with-block-children-that-do-not-need-anonymous-boxes-expected.png
index 4646ec6..ef600b6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/add-inline-to-block-flow-with-block-children-that-do-not-need-anonymous-boxes-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/add-inline-to-block-flow-with-block-children-that-do-not-need-anonymous-boxes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/centered-float-avoidance-complexity-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/centered-float-avoidance-complexity-expected.png
index 6d27d36..48edfd6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/centered-float-avoidance-complexity-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/centered-float-avoidance-complexity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/dynamic-unfloat-pref-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/dynamic-unfloat-pref-width-expected.png
index 511a0befe..3cb17b3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/dynamic-unfloat-pref-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/dynamic-unfloat-pref-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/editable-text-overlapping-float-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/editable-text-overlapping-float-expected.png
index fdc50f7..e9fb5f5a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/editable-text-overlapping-float-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/editable-text-overlapping-float-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/float-avoidance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/float-avoidance-expected.png
index 04755ab..d274c42e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/float-avoidance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/float-avoidance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/float-in-float-hit-testing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/float-in-float-hit-testing-expected.png
index 880ff2e2..bf47fef6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/float-in-float-hit-testing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/float-in-float-hit-testing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/float-in-float-painting-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/float-in-float-painting-expected.png
index 28090f17..6cf6afd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/float-in-float-painting-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/float-in-float-painting-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/floats-and-text-indent-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/floats-and-text-indent-expected.png
index 623df3e..38271296 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/floats-and-text-indent-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/floats-and-text-indent-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/independent-align-positioning-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/independent-align-positioning-expected.png
index 246369ea..e1b04ea3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/independent-align-positioning-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/independent-align-positioning-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/intruding-painted-twice-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/intruding-painted-twice-expected.png
index 5b749c4..dce33f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/intruding-painted-twice-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/intruding-painted-twice-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/multiple-float-positioning-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/multiple-float-positioning-expected.png
index 0a9dbaa..ae5c202 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/multiple-float-positioning-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/multiple-float-positioning-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/nestedAnonymousBlocks2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/nestedAnonymousBlocks2-expected.png
index 732a819..6e85942 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/nestedAnonymousBlocks2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/nestedAnonymousBlocks2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/nopaint-after-layer-destruction-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/nopaint-after-layer-destruction-expected.png
index cc4e279bc..2a17759 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/nopaint-after-layer-destruction-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/nopaint-after-layer-destruction-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/nopaint-after-layer-destruction2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/nopaint-after-layer-destruction2-expected.png
index 726403b..d3432514 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/nopaint-after-layer-destruction2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/nopaint-after-layer-destruction2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/overlapping-floats-with-overflow-hidden-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/overlapping-floats-with-overflow-hidden-expected.png
index 079e56c..8a36c27 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/overlapping-floats-with-overflow-hidden-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/overlapping-floats-with-overflow-hidden-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/shrink-to-avoid-float-complexity-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/shrink-to-avoid-float-complexity-expected.png
index a6dce9eef..225761f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/shrink-to-avoid-float-complexity-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/shrink-to-avoid-float-complexity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/shrink-to-fit-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/shrink-to-fit-width-expected.png
index c0e8429..cc9feef 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/shrink-to-fit-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/shrink-to-fit-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/table-relayout-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/table-relayout-expected.png
index 489ef6d..c5c5d991 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/table-relayout-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/table-relayout-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/vertical-move-relayout-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/vertical-move-relayout-expected.png
index 80953ca..ad3dfb3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/vertical-move-relayout-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/float/vertical-move-relayout-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/006-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/006-expected.png
index 37ecbcf1..6e262d3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/006-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/006-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/010-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/010-expected.png
index b564499..c6016157 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/010-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/011-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/011-expected.png
index b564499..c6016157 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/011-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/011-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/017-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/017-expected.png
index 314f4f7b..c403261 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/017-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/017-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/018-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/018-expected.png
index de77b435d..1ee44e22 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/018-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/018-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/026-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/026-expected.png
index e37b696..c6f290b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/026-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/026-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/027-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/027-expected.png
index 0583c78..a5c0e92 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/027-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/027-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/028-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/028-expected.png
index e37b696..c6f290b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/028-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/028-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/029-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/029-expected.png
index e37b696..c6f290b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/029-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/029-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/030-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/030-expected.png
index 17a30e67..7a007922 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/030-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/030-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/035-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/035-expected.png
index e37b696..c6f290b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/035-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/035-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/039-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/039-expected.png
index 7f1e3cb3..0c20d49 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/039-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/039-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/040-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/040-expected.png
index 7f1e3cb3..0c20d49 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/040-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/040-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/101-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/101-expected.png
index 6b259307..72b8b20a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/101-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/101-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/102-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/102-expected.png
index cf14453..c3a08095 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/102-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/102-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/103-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/103-expected.png
index 380643d..5269f8a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/103-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/103-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/104-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/104-expected.png
index e5a96215..db12112f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/104-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/104-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/006-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/006-expected.png
index 37ecbcf1..6e262d3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/006-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/006-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/010-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/010-expected.png
index b564499..c6016157 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/010-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/011-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/011-expected.png
index b564499..c6016157 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/011-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/011-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/017-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/017-expected.png
index 314f4f7b..c403261 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/017-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/017-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/018-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/018-expected.png
index de77b435d..1ee44e22 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/018-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/block-inside-inline/018-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/negative-margins-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/negative-margins-expected.png
index e76cdc8..929c2485 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/negative-margins-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/margin-collapse/negative-margins-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/051-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/051-expected.png
index c5c67325..84011bb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/051-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/051-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/053-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/053-expected.png
index efd79cf3..728c36c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/053-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/053-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/055-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/055-expected.png
index b1b5692..e4adc0e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/055-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/055-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/056-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/056-expected.png
index f56fb74..7980d76 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/056-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/056-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/057-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/057-expected.png
index 9ff06120..bd3efef5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/057-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/057-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/059-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/059-expected.png
index 7202116..3529376 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/059-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/059-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/060-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/060-expected.png
index 5e0d76d2..763f35d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/060-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/060-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-ltr-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-ltr-2-expected.png
index f76ffe3..2548db97 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-ltr-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-ltr-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-ltr-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-ltr-3-expected.png
index 5b25589e..0685404 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-ltr-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-ltr-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-ltr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-ltr-expected.png
index 5843cd89..acabe44d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-ltr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-ltr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-rtl-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-rtl-2-expected.png
index 00075b5..71551fd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-rtl-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-rtl-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-rtl-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-rtl-3-expected.png
index c7dfe44..58bc210 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-rtl-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-rtl-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-rtl-expected.png
index 5db3f47..f094ac7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-short-ltr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-short-ltr-expected.png
index 56a27c3d..84103272 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-short-ltr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-short-ltr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-short-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-short-rtl-expected.png
index 5abc0c8..3621cb8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-short-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-in-inline-short-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-positioning-no-scrollbar-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-positioning-no-scrollbar-expected.png
index b36872ab..10a9dc3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-positioning-no-scrollbar-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/absolute-positioning-no-scrollbar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/auto-height-with-top-and-bottom-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/auto-height-with-top-and-bottom-expected.png
index 7d5abeb..1a4d7ca 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/auto-height-with-top-and-bottom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/auto-height-with-top-and-bottom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.png
index b2aab39..09154c3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/height-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/height-change-expected.png
index 75d0c9f..71f94d1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/height-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/height-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/hiding-inside-relpositioned-inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/hiding-inside-relpositioned-inline-expected.png
index 4434686c..7a8fcf8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/hiding-inside-relpositioned-inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/hiding-inside-relpositioned-inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/leftmargin-topmargin-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/leftmargin-topmargin-expected.png
index 28508ee..3947833 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/leftmargin-topmargin-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/leftmargin-topmargin-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/relative-overflow-replaced-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/relative-overflow-replaced-expected.png
index 0ad16d59..80aa7b95 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/relative-overflow-replaced-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/relative-overflow-replaced-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/relative-overflow-replaced-float-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/relative-overflow-replaced-float-expected.png
index 263be7f..56197b6b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/relative-overflow-replaced-float-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/relative-overflow-replaced-float-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/relayout-on-position-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/relayout-on-position-change-expected.png
index 66767257..2494899d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/relayout-on-position-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/relayout-on-position-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/rtl-fixed-positioning-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/rtl-fixed-positioning-expected.png
index a92f947..34d78bb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/rtl-fixed-positioning-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/rtl-fixed-positioning-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/rtl-static-positioning-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/rtl-static-positioning-expected.png
index a6a28c5..6e570ea1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/rtl-static-positioning-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/rtl-static-positioning-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/rtl-static-positioning-inline-block-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/rtl-static-positioning-inline-block-expected.png
index a6a28c5..6e570ea1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/rtl-static-positioning-inline-block-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/rtl-static-positioning-inline-block-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/static-distance-with-positioned-ancestor-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/static-distance-with-positioned-ancestor-expected.png
index c7d1da9..76a7bd8f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/static-distance-with-positioned-ancestor-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/static-distance-with-positioned-ancestor-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/vertical-rl/fixed-positioning-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/vertical-rl/fixed-positioning-expected.png
index fa06430..dec2ac96 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/vertical-rl/fixed-positioning-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/vertical-rl/fixed-positioning-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/window-height-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/window-height-change-expected.png
index 6044768..b4e3da4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/window-height-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/block/positioning/window-height-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-expected.png
index 597a9725..f55cc87 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-expected.txt
index 59d4a11..cb59438 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20 [color=#000080] [bgcolor=#FFFF00]
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 239x19
-          text run at (0,0) width 239: "The entire viewport should be yellow."
+        LayoutText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "The entire viewport should be yellow."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-xhtml-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-xhtml-expected.png
index 597a9725..f55cc87 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-xhtml-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-xhtml-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-xhtml-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-xhtml-expected.txt
index 97f7190..88fee57 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-xhtml-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/001-xhtml-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {html} at (0,0) size 800x52
     LayoutBlockFlow {body} at (8,16) size 784x20 [color=#000080] [bgcolor=#FFFF00]
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 239x19
-          text run at (0,0) width 239: "The entire viewport should be yellow."
+        LayoutText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "The entire viewport should be yellow."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-declarative-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-declarative-expected.png
index a36c9ee..3118853c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-declarative-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-declarative-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-declarative-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-declarative-expected.txt
index e553e98..98cffcc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-declarative-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-declarative-expected.txt
@@ -6,5 +6,5 @@
       LayoutInline {body} at (0,0) size 0x0 [color=#000080] [bgcolor=#FFFF00]
     LayoutBlockFlow {body} at (8,16) size 784x20 [color=#000080] [bgcolor=#FFFF00]
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 187x19
-          text run at (0,0) width 187: "The canvas should be yellow."
+        LayoutText {#text} at (0,0) size 186x19
+          text run at (0,0) width 186: "The canvas should be yellow."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-expected.png
index 597a9725..f55cc87 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-expected.txt
index 07fc4f91..a672b9a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-expected.txt
@@ -6,5 +6,5 @@
       LayoutInline {body} at (0,0) size 0x0 [color=#000080] [bgcolor=#FFFF00]
     LayoutBlockFlow {BODY} at (8,16) size 784x20 [color=#000080] [bgcolor=#FFFF00]
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 239x19
-          text run at (0,0) width 239: "The entire viewport should be yellow."
+        LayoutText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "The entire viewport should be yellow."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-xhtml-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-xhtml-expected.png
index 597a9725..f55cc87 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-xhtml-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-xhtml-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-xhtml-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-xhtml-expected.txt
index 2ec225a9..87c93d3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-xhtml-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-color/005-xhtml-expected.txt
@@ -6,5 +6,5 @@
       LayoutInline {body} at (0,0) size 0x0 [color=#000080] [bgcolor=#FFFF00]
     LayoutBlockFlow {body} at (8,16) size 784x20 [color=#000080] [bgcolor=#FFFF00]
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 239x19
-          text run at (0,0) width 239: "The entire viewport should be yellow."
+        LayoutText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "The entire viewport should be yellow."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-expected.png
index a62b057..a68b763 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-expected.txt
index 6fcb340..d3177f9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20 [color=#000080]
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 226x19
-          text run at (0,0) width 226: "The entire canvas should be yellow."
+        LayoutText {#text} at (0,0) size 225x19
+          text run at (0,0) width 225: "The entire canvas should be yellow."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-xhtml-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-xhtml-expected.png
index a62b057..a68b763 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-xhtml-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-xhtml-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-xhtml-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-xhtml-expected.txt
index 8047fa9..bae5595 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-xhtml-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/001-xhtml-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {html} at (0,0) size 800x52
     LayoutBlockFlow {body} at (8,16) size 784x20 [color=#000080]
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 226x19
-          text run at (0,0) width 226: "The entire canvas should be yellow."
+        LayoutText {#text} at (0,0) size 225x19
+          text run at (0,0) width 225: "The entire canvas should be yellow."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-declarative-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-declarative-expected.png
index 597a9725..f55cc87 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-declarative-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-declarative-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-declarative-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-declarative-expected.txt
index f7634d9..0b9084e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-declarative-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-declarative-expected.txt
@@ -6,5 +6,5 @@
       LayoutInline {body} at (0,0) size 0x0 [color=#000080]
     LayoutBlockFlow {body} at (8,16) size 784x20 [color=#000080]
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 239x19
-          text run at (0,0) width 239: "The entire viewport should be yellow."
+        LayoutText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "The entire viewport should be yellow."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-expected.png
index 597a9725..f55cc87 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-expected.txt
index f1bd3a6..ea8061b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-expected.txt
@@ -6,5 +6,5 @@
       LayoutInline {body} at (0,0) size 0x0 [color=#000080]
     LayoutBlockFlow {BODY} at (8,16) size 784x20 [color=#000080]
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 239x19
-          text run at (0,0) width 239: "The entire viewport should be yellow."
+        LayoutText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "The entire viewport should be yellow."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-xhtml-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-xhtml-expected.png
index 597a9725..f55cc87 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-xhtml-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-xhtml-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-xhtml-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-xhtml-expected.txt
index f7634d9..0b9084e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-xhtml-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/005-xhtml-expected.txt
@@ -6,5 +6,5 @@
       LayoutInline {body} at (0,0) size 0x0 [color=#000080]
     LayoutBlockFlow {body} at (8,16) size 784x20 [color=#000080]
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 239x19
-          text run at (0,0) width 239: "The entire viewport should be yellow."
+        LayoutText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "The entire viewport should be yellow."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-expected.png
index 966a190..e23f966 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-expected.txt
index 682940f..6b7475e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-expected.txt
@@ -6,8 +6,8 @@
       LayoutBlockFlow {P} at (1,17) size 596x20
         LayoutText {#text} at (0,0) size 345x19
           text run at (0,0) width 345: "There should be a yellow square in the top-left corner, "
-        LayoutInline {EM} at (0,0) size 53x19
-          LayoutText {#text} at (344,0) size 53x19
-            text run at (344,0) width 53: "between"
-        LayoutText {#text} at (396,0) size 79x19
-          text run at (396,0) width 79: " the borders."
+        LayoutInline {EM} at (0,0) size 52x19
+          LayoutText {#text} at (345,0) size 52x19
+            text run at (345,0) width 52: "between"
+        LayoutText {#text} at (397,0) size 78x19
+          text run at (397,0) width 78: " the borders."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-xhtml-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-xhtml-expected.png
index 966a190..e23f966 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-xhtml-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-xhtml-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-xhtml-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-xhtml-expected.txt
index 1b892bf2..0a3e37c8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-xhtml-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/009-xhtml-expected.txt
@@ -6,8 +6,8 @@
       LayoutBlockFlow {p} at (1,17) size 596x20
         LayoutText {#text} at (0,0) size 345x19
           text run at (0,0) width 345: "There should be a yellow square in the top-left corner, "
-        LayoutInline {em} at (0,0) size 53x19
-          LayoutText {#text} at (344,0) size 53x19
-            text run at (344,0) width 53: "between"
-        LayoutText {#text} at (396,0) size 79x19
-          text run at (396,0) width 79: " the borders."
+        LayoutInline {em} at (0,0) size 52x19
+          LayoutText {#text} at (345,0) size 52x19
+            text run at (345,0) width 52: "between"
+        LayoutText {#text} at (397,0) size 78x19
+          text run at (397,0) width 78: " the borders."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-expected.png
index 3c0a339..65dae9d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-expected.txt
index 7408a4c..21f04a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-expected.txt
@@ -6,8 +6,8 @@
       LayoutBlockFlow {P} at (1,17) size 596x20
         LayoutText {#text} at (0,0) size 345x19
           text run at (0,0) width 345: "There should be a yellow square in the top-left corner, "
-        LayoutInline {EM} at (0,0) size 38x19
-          LayoutText {#text} at (344,0) size 38x19
-            text run at (344,0) width 38: "inside"
-        LayoutText {#text} at (381,0) size 108x19
-          text run at (381,0) width 108: " the inner border."
+        LayoutInline {EM} at (0,0) size 37x19
+          LayoutText {#text} at (345,0) size 37x19
+            text run at (345,0) width 37: "inside"
+        LayoutText {#text} at (382,0) size 108x19
+          text run at (382,0) width 108: " the inner border."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-xhtml-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-xhtml-expected.png
index 3c0a339..65dae9d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-xhtml-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-xhtml-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-xhtml-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-xhtml-expected.txt
index 91c3941..7806678 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-xhtml-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/background-image/010-xhtml-expected.txt
@@ -6,8 +6,8 @@
       LayoutBlockFlow {p} at (1,17) size 596x20
         LayoutText {#text} at (0,0) size 345x19
           text run at (0,0) width 345: "There should be a yellow square in the top-left corner, "
-        LayoutInline {em} at (0,0) size 38x19
-          LayoutText {#text} at (344,0) size 38x19
-            text run at (344,0) width 38: "inside"
-        LayoutText {#text} at (381,0) size 108x19
-          text run at (381,0) width 108: " the inner border."
+        LayoutInline {em} at (0,0) size 37x19
+          LayoutText {#text} at (345,0) size 37x19
+            text run at (345,0) width 37: "inside"
+        LayoutText {#text} at (382,0) size 108x19
+          text run at (382,0) width 108: " the inner border."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-declarative-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-declarative-expected.png
index bb2ac67..0ba1fe70 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-declarative-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-declarative-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-declarative-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-declarative-expected.txt
index 07f58d4..12c02980 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-declarative-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-declarative-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {html} at (0,0) size 785x340
     LayoutBlockFlow {body} at (8,170) size 162x162 [color=#000080] [border: (1px solid #000080)]
       LayoutBlockFlow {p} at (1,17) size 160x140
-        LayoutText {#text} at (0,0) size 154x139
+        LayoutText {#text} at (0,0) size 153x139
           text run at (0,0) width 102: "There should be"
           text run at (0,20) width 105: "scrollbars for the"
           text run at (0,40) width 142: "viewport -- not for this"
-          text run at (0,60) width 154: "box. (Additionally, there"
+          text run at (0,60) width 153: "box. (Additionally, there"
           text run at (0,80) width 142: "should be a box above"
           text run at (0,100) width 90: "that does have"
           text run at (0,120) width 69: "scrollbars.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-expected.png
index bb2ac67..0ba1fe70 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-expected.txt
index a81e0e3..560697b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x340
     LayoutBlockFlow {BODY} at (8,170) size 162x162 [color=#000080] [border: (1px solid #000080)]
       LayoutBlockFlow {P} at (1,17) size 160x140
-        LayoutText {#text} at (0,0) size 154x139
+        LayoutText {#text} at (0,0) size 153x139
           text run at (0,0) width 102: "There should be"
           text run at (0,20) width 105: "scrollbars for the"
           text run at (0,40) width 142: "viewport -- not for this"
-          text run at (0,60) width 154: "box. (Additionally, there"
+          text run at (0,60) width 153: "box. (Additionally, there"
           text run at (0,80) width 142: "should be a box above"
           text run at (0,100) width 90: "that does have"
           text run at (0,120) width 69: "scrollbars.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-xhtml-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-xhtml-expected.png
index bb2ac67..0ba1fe70 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-xhtml-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-xhtml-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-xhtml-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-xhtml-expected.txt
index 07f58d4..12c02980 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-xhtml-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/body-propagation/overflow/005-xhtml-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {html} at (0,0) size 785x340
     LayoutBlockFlow {body} at (8,170) size 162x162 [color=#000080] [border: (1px solid #000080)]
       LayoutBlockFlow {p} at (1,17) size 160x140
-        LayoutText {#text} at (0,0) size 154x139
+        LayoutText {#text} at (0,0) size 153x139
           text run at (0,0) width 102: "There should be"
           text run at (0,20) width 105: "scrollbars for the"
           text run at (0,40) width 142: "viewport -- not for this"
-          text run at (0,60) width 154: "box. (Additionally, there"
+          text run at (0,60) width 153: "box. (Additionally, there"
           text run at (0,80) width 142: "should be a box above"
           text run at (0,100) width 90: "that does have"
           text run at (0,120) width 69: "scrollbars.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/bidi-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/bidi-002-expected.png
index e4eab5a..7a500aac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/bidi-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/bidi-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/bidi-009a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/bidi-009a-expected.png
index c017866..b8a0dcc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/bidi-009a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/bidi-009a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/bidi-012-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/bidi-012-expected.png
index ca5a3a2d..12e032f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/bidi-012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/bidi-012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/block-mask-overlay-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/block-mask-overlay-image-expected.png
index e020d0c..66bb3d1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/block-mask-overlay-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/block-mask-overlay-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/block-mask-overlay-image-outset-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/block-mask-overlay-image-outset-expected.png
index 10227c4..f1a4651 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/block-mask-overlay-image-outset-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/block-mask-overlay-image-outset-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-constraints-double-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-constraints-double-expected.png
index e8abef2..1e7e3190 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-constraints-double-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-constraints-double-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-constraints-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-constraints-expected.png
index f2d4621..7bb6282 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-constraints-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-constraints-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-huge-assert-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-huge-assert-expected.png
index 8afade1..2e72b90 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-huge-assert-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-huge-assert-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-inline-flow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-inline-flow-expected.png
index 476bef2..a7ea7b9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-inline-flow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-inline-flow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-split-inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-split-inline-expected.png
index 17d3508..1cf373d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-split-inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-radius-split-inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/different-color-borders-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/different-color-borders-expected.png
index e039dd5..c3ba62c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/different-color-borders-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/different-color-borders-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/outline-alpha-inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/outline-alpha-inline-expected.png
index 3dad9d5..f01b0dcf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/outline-alpha-inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/outline-alpha-inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-01-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-01-expected.png
index 43ebf48..f6917a4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-01-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-01-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-02-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-02-expected.png
index 302086d..a669091 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-02-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-02-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-03-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-03-expected.png
index 4bfc994..3a3cf1e1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-03-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-03-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-04-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-04-expected.png
index 0dba649..4de34c63 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-04-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-04-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-05-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-05-expected.png
index 011fff0..c3673efc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-05-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/borders/rtl-border-05-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/box-shadow/basic-shadows-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/box-shadow/basic-shadows-expected.txt
index bd61bd5..4cb0a5c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/box-shadow/basic-shadows-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/box-shadow/basic-shadows-expected.txt
@@ -83,6 +83,6 @@
             text run at (5,6) width 29: "T"
         LayoutTextFragment {#text} at (43,0) size 488x19
           text run at (43,0) width 488: "he first letter of this paragraph should have a border and a nice shadow effect."
-        LayoutBR {BR} at (530,15) size 1x0
+        LayoutBR {BR} at (531,15) size 0x0
         LayoutText {#text} at (43,20) size 162x19
           text run at (43,20) width 162: "It should look pretty cool."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/box-shadow/border-radius-big-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/box-shadow/border-radius-big-expected.png
index 5da1c08..eb4cdc5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/box-shadow/border-radius-big-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/box-shadow/border-radius-big-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/box-shadow/border-radius-big-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/box-shadow/border-radius-big-expected.txt
index 94632be..b58c4d2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/box-shadow/border-radius-big-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/box-shadow/border-radius-big-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x552
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 439x19
-          text run at (0,0) width 439: "You should see a circle with a shadow above a square with a shadow."
+        LayoutText {#text} at (0,0) size 437x19
+          text run at (0,0) width 437: "You should see a circle with a shadow above a square with a shadow."
       LayoutBlockFlow {DIV} at (40,60) size 60x60 [bgcolor=#008000]
       LayoutBlockFlow {DIV} at (40,160) size 60x60 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/box-sizing/percentage-height-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/box-sizing/percentage-height-expected.png
index 2407d80e..46e7530 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/box-sizing/percentage-height-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/box-sizing/percentage-height-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-shadow-source-in-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-shadow-source-in-expected.png
index ea3ef0b..62406f8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-shadow-source-in-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-shadow-source-in-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-shadow-source-in-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-shadow-source-in-expected.txt
index c370adf..f9aaa80 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-shadow-source-in-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-shadow-source-in-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x470
     LayoutBlockFlow {BODY} at (8,8) size 784x454
       LayoutBlockFlow {DIV} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 59x19
-          text run at (0,0) width 59: "Test Rect"
+        LayoutText {#text} at (0,0) size 58x19
+          text run at (0,0) width 58: "Test Rect"
       LayoutBlockFlow (anonymous) at (0,20) size 784x207
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,227) size 784x20
-        LayoutText {#text} at (0,0) size 69x19
-          text run at (0,0) width 69: "Test Image"
+        LayoutText {#text} at (0,0) size 68x19
+          text run at (0,0) width 68: "Test Image"
       LayoutBlockFlow (anonymous) at (0,247) size 784x207
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,28) size 202x202
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-text-alignment-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-text-alignment-expected.png
index e5677e3f..629db974 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-text-alignment-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-text-alignment-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-textMetrics-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-textMetrics-width-expected.png
index 3914315..a32526d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-textMetrics-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/canvas-textMetrics-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/fillrect_gradient-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/fillrect_gradient-expected.png
index e27dc16..1b606d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/fillrect_gradient-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/fillrect_gradient-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/patternfill-repeat-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/patternfill-repeat-expected.png
index 04ca244..ed400aa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/patternfill-repeat-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/patternfill-repeat-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/patternfill-repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/patternfill-repeat-expected.txt
index 479b43d..19be85d5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/patternfill-repeat-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/patternfill-repeat-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x469
     LayoutBlockFlow {BODY} at (8,16) size 784x437
       LayoutBlockFlow {P} at (0,0) size 784x80
-        LayoutText {#text} at (0,0) size 772x79
-          text run at (0,0) width 750: "There should be one big square below containing four squares. Top left square should be filled with 3 rows of 2 and bit"
-          text run at (0,20) width 772: "Apple images. Top right square should be 2 and a bit rows with one Apple image column along the left edge of the square."
+        LayoutText {#text} at (0,0) size 771x79
+          text run at (0,0) width 749: "There should be one big square below containing four squares. Top left square should be filled with 3 rows of 2 and bit"
+          text run at (0,20) width 771: "Apple images. Top right square should be 2 and a bit rows with one Apple image column along the left edge of the square."
           text run at (0,40) width 764: "Bottom left square should be one row with three Apple images along the top of the square. Bottom right square should be"
           text run at (0,60) width 220: "one Apple image in top left corner."
       LayoutBlockFlow {P} at (0,96) size 784x341
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/setWidthResetAfterForcedRender-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/setWidthResetAfterForcedRender-expected.png
index 1c53ed2c..9bfc4ea 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/setWidthResetAfterForcedRender-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/setWidthResetAfterForcedRender-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/shadow-offset-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/shadow-offset-1-expected.png
index 66bfcdc..e7802a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/shadow-offset-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/shadow-offset-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/toDataURL-alpha-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/toDataURL-alpha-expected.png
index ead8cdfe..eb0e629 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/toDataURL-alpha-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/canvas/toDataURL-alpha-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/001-expected.png
index 29ca965..d9655a0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/002-expected.png
index 2088558f..3a4e35c1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/003-expected.png
index 17977541..45fb13b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/004-expected.png
index 7f2423f..45d266b28 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/005-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/005-expected.png
index 7f2423f..45d266b28 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/006-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/006-expected.png
index 35b592e..ca22ea8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/006-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/006-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/007-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/007-expected.png
index 5c132c2..0bb8db8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/008-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/008-expected.png
index 5c132c2..0bb8db8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/008-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/008-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/009-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/009-expected.png
index 285a41f..3559713 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/009-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/009-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/010-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/010-expected.png
index 285a41f..3559713 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/010-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/011-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/011-expected.png
index 285a41f..3559713 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/011-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/011-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/012-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/012-expected.png
index 285a41f..3559713 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/013-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/013-expected.png
index f19db8b..6e4e842 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/013-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/013-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/014-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/014-expected.png
index 62b348f..9c356b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/014-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/014-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/015-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/015-expected.png
index 29b393d..00d0f57 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/015-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/015-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/016-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/016-expected.png
index 8cfe32b08..ba01558 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/016-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/016-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/nestedTransparencyClip-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/nestedTransparencyClip-expected.png
index a64b907..cd02ed7e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/nestedTransparencyClip-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/nestedTransparencyClip-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/outline-overflowClip-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/outline-overflowClip-expected.png
index f0b1be7..34d8158 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/clip/outline-overflowClip-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/clip/outline-overflowClip-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/compact/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/compact/001-expected.png
index 89cb083..bb694bd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/compact/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/compact/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/compact/001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/compact/001-expected.txt
index af4611b2..82d4637 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/compact/001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/compact/001-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x80
     LayoutBlockFlow {BODY} at (8,16) size 784x56
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 192x19
-          text run at (0,0) width 192: "There should be no red below."
+        LayoutText {#text} at (0,0) size 191x19
+          text run at (0,0) width 191: "There should be no red below."
       LayoutBlockFlow {DIV} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 30x19
-          text run at (0,0) width 30: "Test:"
+        LayoutText {#text} at (0,0) size 29x19
+          text run at (0,0) width 29: "Test:"
       LayoutBlockFlow {DIV} at (160,56) size 624x0 [color=#FF0000] [bgcolor=#00FF00]
         LayoutInline {SPAN} at (0,0) size 299x19 [color=#000000]
           LayoutText {#text} at (0,-10) size 299x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/compact/002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/compact/002-expected.png
index 8a5aa6a..43120a61 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/compact/002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/compact/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/compact/002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/compact/002-expected.txt
index 03ff1ff..4b9decc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/compact/002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/compact/002-expected.txt
@@ -9,8 +9,8 @@
             text run at (0,2) width 528: "Ahem_font_required_for_this_test."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 345x19
-          text run at (0,0) width 345: "There should be a single green rectangle square below."
+        LayoutText {#text} at (0,0) size 344x19
+          text run at (0,0) width 344: "There should be a single green rectangle square below."
       LayoutBlockFlow {DIV} at (0,72) size 64x64 [color=#008000] [bgcolor=#FF0000]
         LayoutBlockFlow {DIV} at (0,0) size 64x32
           LayoutText {#text} at (0,0) size 32x32
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/compact/003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/compact/003-expected.png
index ed0d55ec..e56281e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/compact/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/compact/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/compact/003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/compact/003-expected.txt
index 7da5aff..bc3d6b5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/compact/003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/compact/003-expected.txt
@@ -10,6 +10,6 @@
         LayoutBlockFlow {DT} at (0,20) size 784x20
           LayoutText {#text} at (0,0) size 33x19
             text run at (0,0) width 33: "Line "
-          LayoutInline {SPAN} at (0,0) size 29x19
-            LayoutText {#text} at (33,0) size 29x19
-              text run at (33,0) width 29: "Two"
+          LayoutInline {SPAN} at (0,0) size 28x19
+            LayoutText {#text} at (33,0) size 28x19
+              text run at (33,0) width 28: "Two"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/001-expected.png
index 84130eb9..d2ed657 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/001-expected.txt
index 0ac7813..06f7928 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/001-expected.txt
@@ -3,7 +3,7 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutInline {A} at (0,0) size 262x19 [color=#0000EE]
-        LayoutText {#text} at (0,0) size 262x19
-          text run at (0,0) width 262: "You should not see anything but this link."
+      LayoutInline {A} at (0,0) size 261x19 [color=#0000EE]
+        LayoutText {#text} at (0,0) size 261x19
+          text run at (0,0) width 261: "You should not see anything but this link."
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/002-expected.png
index a2ece742..87261c9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/002-expected.txt
index b016a8e..9b38e6c2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/002-expected.txt
@@ -13,6 +13,6 @@
         LayoutText {#text} at (54,0) size 590x19
           text run at (54,0) width 220: "The \"S\" to the left should be gold. "
           text run at (274,0) width 370: "This is testing :before used in conjunction with :first-letter. "
-        LayoutInline {<pseudo:after>} at (0,0) size 66x19
-          LayoutTextFragment (anonymous) at (643,0) size 66x19
-            text run at (643,0) width 66: "[The End]"
+        LayoutInline {<pseudo:after>} at (0,0) size 65x19
+          LayoutTextFragment (anonymous) at (644,0) size 65x19
+            text run at (644,0) width 65: "[The End]"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/009-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/009-expected.png
index 7377083a..b55b4a0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/009-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/009-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/012-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/012-expected.png
index 21e029a..364cba555 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/012-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/012-expected.txt
index 37d616c..41d50de0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/012-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/012-expected.txt
@@ -26,5 +26,5 @@
           text run at (437,29) width 163: "letter to the left. "
           text run at (600,29) width 135: "However, this"
           text run at (55,57) width 683: "floated element should still inherit the font properties (green and sans-"
-          text run at (55,85) width 703: "serif) from the first-line: selector. It does not -- instead, the font is black,"
+          text run at (55,85) width 702: "serif) from the first-line: selector. It does not -- instead, the font is black,"
           text run at (1,113) width 542: "and uses the serif font. .... And here's some more text ...."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/014-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/014-expected.png
index 148dd6c..b39b1744 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/014-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/014-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/014-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/014-expected.txt
index 8d4ea39..c79d774 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/014-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/014-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x914.56
     LayoutBlockFlow {BODY} at (8,21.44) size 769x868.13
       LayoutBlockFlow {H1} at (0,0) size 769x74
-        LayoutText {#text} at (0,0) size 749x73
-          text run at (0,0) width 749: "Problem: Safari improperly handles generated content"
+        LayoutText {#text} at (0,0) size 750x73
+          text run at (0,0) width 750: "Problem: Safari improperly handles generated content"
           text run at (0,37) width 716: "in certain cases when used with multiple class names"
       LayoutBlockFlow {P} at (0,95.44) size 769x40
-        LayoutInline {EM} at (0,0) size 753x39
-          LayoutText {#text} at (0,0) size 753x39
-            text run at (0,0) width 753: "When referencing an element by two class names simultaneously, Safari won't generate content (using :before or :after)"
+        LayoutInline {EM} at (0,0) size 755x39
+          LayoutText {#text} at (0,0) size 755x39
+            text run at (0,0) width 755: "When referencing an element by two class names simultaneously, Safari won't generate content (using :before or :after)"
             text run at (0,20) width 119: "within the element."
       LayoutBlockFlow {P} at (0,151.44) size 769x40
         LayoutText {#text} at (0,0) size 123x19
@@ -30,24 +30,24 @@
             text run at (348,3) width 24: "one"
         LayoutText {#text} at (372,0) size 82x19
           text run at (372,0) width 82: ". Within that "
-        LayoutInline {CODE} at (0,0) size 25x16
-          LayoutText {#text} at (453,3) size 25x16
-            text run at (453,3) width 25: "div"
-        LayoutText {#text} at (477,0) size 77x19
-          text run at (477,0) width 77: ", we have a "
-        LayoutInline {CODE} at (0,0) size 9x16
-          LayoutText {#text} at (553,3) size 9x16
-            text run at (553,3) width 9: "p"
-        LayoutText {#text} at (561,0) size 741x39
-          text run at (561,0) width 180: " (paragraph) tag, after which"
+        LayoutInline {CODE} at (0,0) size 24x16
+          LayoutText {#text} at (454,3) size 24x16
+            text run at (454,3) width 24: "div"
+        LayoutText {#text} at (478,0) size 76x19
+          text run at (478,0) width 76: ", we have a "
+        LayoutInline {CODE} at (0,0) size 8x16
+          LayoutText {#text} at (554,3) size 8x16
+            text run at (554,3) width 8: "p"
+        LayoutText {#text} at (562,0) size 741x39
+          text run at (562,0) width 179: " (paragraph) tag, after which"
           text run at (0,20) width 501: "we'd like to insert generated content. One way to do so would be the following:"
       LayoutBlockFlow {PRE} at (20,207.44) size 749x16 [color=#FF0000]
         LayoutInline {CODE} at (0,0) size 456x16
           LayoutText {#text} at (0,0) size 456x16
             text run at (0,0) width 456: "div.box.one p:after{ content:'generated content here!'; }"
       LayoutBlockFlow {P} at (0,239.44) size 769x20
-        LayoutText {#text} at (0,0) size 731x19
-          text run at (0,0) width 731: "But that doesn't work in Safari. However, if you drop one of the class names, as shown below, it works as expected:"
+        LayoutText {#text} at (0,0) size 730x19
+          text run at (0,0) width 730: "But that doesn't work in Safari. However, if you drop one of the class names, as shown below, it works as expected:"
       LayoutBlockFlow {PRE} at (20,275.44) size 749x16 [color=#008000]
         LayoutInline {CODE} at (0,0) size 424x16
           LayoutText {#text} at (0,0) size 424x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/015-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/015-expected.png
index ecad5bd2..950e4d8a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/015-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/015-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/015-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/015-expected.txt
index 65aaf026c..d73d823 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/015-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/015-expected.txt
@@ -3,18 +3,18 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutTable {DIV} at (0,0) size 308x62
-        LayoutTableSection (anonymous) at (0,0) size 308x62
-          LayoutTableRow (anonymous) at (0,0) size 308x62
-            LayoutTableCell (anonymous) at (0,0) size 308x61.72 [r=0 c=0 rs=1 cs=1]
-              LayoutBlockFlow (anonymous) at (0,0) size 308x0
+      LayoutTable {DIV} at (0,0) size 307x62
+        LayoutTableSection (anonymous) at (0,0) size 307x62
+          LayoutTableRow (anonymous) at (0,0) size 307x62
+            LayoutTableCell (anonymous) at (0,0) size 307x61.72 [r=0 c=0 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (0,0) size 307x0
                 LayoutInline {FORM} at (0,0) size 0x0
                   LayoutText {#text} at (0,0) size 0x0
-              LayoutBlockFlow (anonymous) at (0,0) size 308x23
-                LayoutBlockFlow {H3} at (0,0) size 308x23
-                  LayoutText {#text} at (0,0) size 308x22
-                    text run at (0,0) width 308: "There should be a fourth dot bellow..."
-              LayoutBlockFlow (anonymous) at (0,41.72) size 308x20
+              LayoutBlockFlow (anonymous) at (0,0) size 307x23
+                LayoutBlockFlow {H3} at (0,0) size 307x23
+                  LayoutText {#text} at (0,0) size 307x22
+                    text run at (0,0) width 307: "There should be a fourth dot bellow..."
+              LayoutBlockFlow (anonymous) at (0,41.72) size 307x20
                 LayoutInline {FORM} at (0,0) size 0x0
                 LayoutInline {<pseudo:after>} at (0,0) size 4x19
                   LayoutTextFragment (anonymous) at (0,0) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/after-duplicated-after-split-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/after-duplicated-after-split-expected.png
index d123057..b228336 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/after-duplicated-after-split-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/after-duplicated-after-split-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/after-duplicated-after-split-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/after-duplicated-after-split-expected.txt
index 59630bc..13af161 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/after-duplicated-after-split-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/after-duplicated-after-split-expected.txt
@@ -4,16 +4,16 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 326x19
           LayoutInline {A} at (0,0) size 154x19 [color=#0000EE]
             LayoutText {#text} at (51,0) size 154x19
               text run at (51,0) width 154: "rdar://problem/7898436"
-          LayoutText {#text} at (204,0) size 173x19
-            text run at (204,0) width 173: " :after content is duplicated"
-        LayoutText {#text} at (376,0) size 5x19
-          text run at (376,0) width 5: "."
+          LayoutText {#text} at (205,0) size 172x19
+            text run at (205,0) width 172: " :after content is duplicated"
+        LayoutText {#text} at (377,0) size 4x19
+          text run at (377,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 508x19
           text run at (0,0) width 508: "The test passed if the word \x{201C}not\x{201D} appears exactly once in the following sentence:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/after-order-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/after-order-expected.png
index c85da36..0d2176a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/after-order-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/after-order-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/before-with-first-letter-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/before-with-first-letter-expected.png
index 6cc6d12..9c215ad 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/before-with-first-letter-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/before-with-first-letter-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/before-with-first-letter-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/before-with-first-letter-expected.txt
index ddc9feb..c28c5ea 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/before-with-first-letter-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/before-with-first-letter-expected.txt
@@ -4,18 +4,18 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 655x39
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=14221"
-          LayoutText {#text} at (352,0) size 655x39
-            text run at (352,0) width 5: " "
-            text run at (356,0) width 299: "Repro crash (ASSERTION FAILED: oldText in"
-            text run at (0,20) width 592: "LayoutBlockFlow::updateFirstLetter() during relayout of :before content with first-letter style)"
-        LayoutText {#text} at (591,20) size 5x19
-          text run at (591,20) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 654x39
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=14221"
+          LayoutText {#text} at (352,0) size 654x39
+            text run at (352,0) width 4: " "
+            text run at (356,0) width 298: "Repro crash (ASSERTION FAILED: oldText in"
+            text run at (0,20) width 593: "LayoutBlockFlow::updateFirstLetter() during relayout of :before content with first-letter style)"
+        LayoutText {#text} at (593,20) size 4x19
+          text run at (593,20) width 4: "."
       LayoutBlockFlow {DIV} at (0,56) size 784x34
         LayoutInline {<pseudo:before>} at (0,0) size 47x27
           LayoutInline {<pseudo:first-letter>} at (0,0) size 18x33 [color=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/hover-style-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/hover-style-change-expected.png
index 12ff8c6..1601433 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/hover-style-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/hover-style-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/hover-style-change-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/hover-style-change-expected.txt
index 1c3b34d9..6e6e8d1e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/hover-style-change-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/hover-style-change-expected.txt
@@ -10,14 +10,14 @@
           LayoutTextFragment (anonymous) at (82,0) size 178x19
             text run at (82,0) width 178: "and generated hover content"
       LayoutBlockFlow {P} at (0,46) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 781x39
-          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 349x19
-              text run at (51,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=6431"
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 348x19
+              text run at (51,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=6431"
           LayoutText {#text} at (399,0) size 781x39
-            text run at (399,0) width 5: " "
+            text run at (399,0) width 4: " "
             text run at (403,0) width 378: "REGRESSION: style change where :hover changes only an"
             text run at (0,20) width 150: ":after style doesn't work"
         LayoutText {#text} at (150,20) size 4x19
@@ -29,8 +29,8 @@
           text run at (0,20) width 228: "content\x{201D} depending on whether it is "
           text run at (228,20) width 55: "hovered."
       LayoutBlockFlow {P} at (0,158) size 784x40
-        LayoutText {#text} at (0,0) size 754x39
-          text run at (0,0) width 754: "To reproduce the bug outside of DumpRenderTree, mouse over the div several times, and the style change won't update"
+        LayoutText {#text} at (0,0) size 753x39
+          text run at (0,0) width 753: "To reproduce the bug outside of DumpRenderTree, mouse over the div several times, and the style change won't update"
           text run at (0,20) width 70: "every time "
           text run at (70,20) width 85: "like it should."
 layer at (8,36) size 784x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/inline-display-types-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/inline-display-types-expected.png
index 411505c..1818d89 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/inline-display-types-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/inline-display-types-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/inline-display-types-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/inline-display-types-expected.txt
index d4aeefbc..384ec93 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/inline-display-types-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/inline-display-types-expected.txt
@@ -7,51 +7,51 @@
         LayoutText {#text} at (0,0) size 90x36
           text run at (0,0) width 90: "Blocks"
       LayoutBlockFlow {DIV} at (0,58.44) size 784x20
-        LayoutInline {<pseudo:before>} at (0,0) size 34x19
-          LayoutTextFragment (anonymous) at (0,0) size 34x19
-            text run at (0,0) width 34: "Test: "
-        LayoutText {#text} at (33,0) size 47x19
-          text run at (33,0) width 47: "content"
+        LayoutInline {<pseudo:before>} at (0,0) size 33x19
+          LayoutTextFragment (anonymous) at (0,0) size 33x19
+            text run at (0,0) width 33: "Test: "
+        LayoutText {#text} at (33,0) size 46x19
+          text run at (33,0) width 46: "content"
       LayoutBlockFlow {DIV} at (0,78.44) size 784x20
-        LayoutBlockFlow {<pseudo:before>} at (0,0) size 29.89x20
-          LayoutTextFragment (anonymous) at (0,0) size 30x19
-            text run at (0,0) width 30: "Test:"
-        LayoutText {#text} at (29,0) size 47x19
-          text run at (29,0) width 47: "content"
+        LayoutBlockFlow {<pseudo:before>} at (0,0) size 29x20
+          LayoutTextFragment (anonymous) at (0,0) size 29x19
+            text run at (0,0) width 29: "Test:"
+        LayoutText {#text} at (29,0) size 46x19
+          text run at (29,0) width 46: "content"
       LayoutBlockFlow {DIV} at (0,98.44) size 784x20
-        LayoutTable {<pseudo:before>} at (0,0) size 30x20
-          LayoutTableSection (anonymous) at (0,0) size 30x20
-            LayoutTableRow (anonymous) at (0,0) size 30x20
-              LayoutTableCell (anonymous) at (0,0) size 30x20 [r=0 c=0 rs=1 cs=1]
-                LayoutTextFragment (anonymous) at (0,0) size 30x19
-                  text run at (0,0) width 30: "Test:"
-        LayoutText {#text} at (30,0) size 46x19
-          text run at (30,0) width 46: "content"
+        LayoutTable {<pseudo:before>} at (0,0) size 29x20
+          LayoutTableSection (anonymous) at (0,0) size 29x20
+            LayoutTableRow (anonymous) at (0,0) size 29x20
+              LayoutTableCell (anonymous) at (0,0) size 29x20 [r=0 c=0 rs=1 cs=1]
+                LayoutTextFragment (anonymous) at (0,0) size 29x19
+                  text run at (0,0) width 29: "Test:"
+        LayoutText {#text} at (29,0) size 46x19
+          text run at (29,0) width 46: "content"
       LayoutBlockFlow {H1} at (0,139.88) size 784x37
         LayoutText {#text} at (0,0) size 92x36
           text run at (0,0) width 92: "Inlines"
       LayoutBlockFlow (anonymous) at (0,198.31) size 784x60
-        LayoutInline {SPAN} at (0,0) size 80x19
-          LayoutInline {<pseudo:before>} at (0,0) size 34x19
-            LayoutTextFragment (anonymous) at (0,0) size 34x19
-              text run at (0,0) width 34: "Test: "
-          LayoutText {#text} at (33,0) size 47x19
-            text run at (33,0) width 47: "content"
-        LayoutBR {BR} at (79,15) size 1x0
-        LayoutInline {SPAN} at (0,0) size 76x19
-          LayoutBlockFlow {<pseudo:before>} at (0,20) size 29.89x20
-            LayoutTextFragment (anonymous) at (0,0) size 30x19
-              text run at (0,0) width 30: "Test:"
-          LayoutText {#text} at (29,20) size 47x19
-            text run at (29,20) width 47: "content"
-        LayoutBR {BR} at (75,35) size 1x0
-        LayoutInline {SPAN} at (0,0) size 76x19
-          LayoutTable {<pseudo:before>} at (0,40) size 30x20
-            LayoutTableSection (anonymous) at (0,0) size 30x20
-              LayoutTableRow (anonymous) at (0,0) size 30x20
-                LayoutTableCell (anonymous) at (0,0) size 30x20 [r=0 c=0 rs=1 cs=1]
-                  LayoutTextFragment (anonymous) at (0,0) size 30x19
-                    text run at (0,0) width 30: "Test:"
-          LayoutText {#text} at (30,40) size 46x19
-            text run at (30,40) width 46: "content"
-        LayoutBR {BR} at (76,55) size 0x0
+        LayoutInline {SPAN} at (0,0) size 79x19
+          LayoutInline {<pseudo:before>} at (0,0) size 33x19
+            LayoutTextFragment (anonymous) at (0,0) size 33x19
+              text run at (0,0) width 33: "Test: "
+          LayoutText {#text} at (33,0) size 46x19
+            text run at (33,0) width 46: "content"
+        LayoutBR {BR} at (79,15) size 0x0
+        LayoutInline {SPAN} at (0,0) size 75x19
+          LayoutBlockFlow {<pseudo:before>} at (0,20) size 29x20
+            LayoutTextFragment (anonymous) at (0,0) size 29x19
+              text run at (0,0) width 29: "Test:"
+          LayoutText {#text} at (29,20) size 46x19
+            text run at (29,20) width 46: "content"
+        LayoutBR {BR} at (75,35) size 0x0
+        LayoutInline {SPAN} at (0,0) size 75x19
+          LayoutTable {<pseudo:before>} at (0,40) size 29x20
+            LayoutTableSection (anonymous) at (0,0) size 29x20
+              LayoutTableRow (anonymous) at (0,0) size 29x20
+                LayoutTableCell (anonymous) at (0,0) size 29x20 [r=0 c=0 rs=1 cs=1]
+                  LayoutTextFragment (anonymous) at (0,0) size 29x19
+                    text run at (0,0) width 29: "Test:"
+          LayoutText {#text} at (29,40) size 46x19
+            text run at (29,40) width 46: "content"
+        LayoutBR {BR} at (75,55) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-cell-before-content-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-cell-before-content-expected.png
index eeb3f91..7a7f13d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-cell-before-content-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-cell-before-content-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-cell-before-content-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-cell-before-content-expected.txt
index 9a543ca5..129ee14 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-cell-before-content-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-cell-before-content-expected.txt
@@ -4,15 +4,15 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x36
     LayoutBlockFlow {BODY} at (8,8) size 784x20 [color=#0000FF]
       LayoutBlockFlow {DIV} at (0,0) size 784x20
-        LayoutTable (anonymous) at (0,0) size 281x20
-          LayoutTableSection (anonymous) at (0,0) size 281x20
-            LayoutTableRow (anonymous) at (0,0) size 281x20
-              LayoutTableCell {<pseudo:before>} at (0,0) size 202x20 [r=0 c=0 rs=1 cs=1]
-                LayoutTextFragment (anonymous) at (0,0) size 202x19
-                  text run at (0,0) width 202: "You should just see a single line"
-              LayoutTableCell {DIV} at (202,0) size 4x20 [r=0 c=1 rs=1 cs=1]
+        LayoutTable (anonymous) at (0,0) size 280x20
+          LayoutTableSection (anonymous) at (0,0) size 280x20
+            LayoutTableRow (anonymous) at (0,0) size 280x20
+              LayoutTableCell {<pseudo:before>} at (0,0) size 201x20 [r=0 c=0 rs=1 cs=1]
+                LayoutTextFragment (anonymous) at (0,0) size 201x19
+                  text run at (0,0) width 201: "You should just see a single line"
+              LayoutTableCell {DIV} at (201,0) size 4x20 [r=0 c=1 rs=1 cs=1]
                 LayoutText {#text} at (0,0) size 4x19
                   text run at (0,0) width 4: " "
-              LayoutTableCell {<pseudo:after>} at (206,0) size 75x20 [r=0 c=2 rs=1 cs=1]
+              LayoutTableCell {<pseudo:after>} at (205,0) size 75x20 [r=0 c=2 rs=1 cs=1]
                 LayoutTextFragment (anonymous) at (0,0) size 75x19
                   text run at (0,0) width 75: "of blue text."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-row-before-after-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-row-before-after-expected.png
index 2448bfb..b13d0173 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-row-before-after-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-row-before-after-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-row-before-after-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-row-before-after-expected.txt
index b95e1df..a24317f1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-row-before-after-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/table-row-before-after-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x112
     LayoutBlockFlow {BODY} at (8,16) size 784x88
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 467x19
-          text run at (0,0) width 467: "There word PASS should appear twice below, and there should be no red."
+        LayoutText {#text} at (0,0) size 465x19
+          text run at (0,0) width 465: "There word PASS should appear twice below, and there should be no red."
       LayoutTable {DIV} at (0,36) size 63x52 [color=#008000] [bgcolor=#FF0000]
         LayoutTableSection (anonymous) at (0,0) size 63x52
           LayoutTableRow {DIV} at (0,0) size 63x26
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/wbr-with-before-content-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/wbr-with-before-content-expected.txt
index 63dcb71..b6d2b13 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/wbr-with-before-content-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/wbr-with-before-content-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 186x19
-          text run at (0,0) width 186: "You should not see any cyan."
+        LayoutText {#text} at (0,0) size 185x19
+          text run at (0,0) width 185: "You should not see any cyan."
       LayoutBlockFlow {DIV} at (0,20) size 202x27 [bgcolor=#00FFFF] [border: (1px solid #777777)]
         LayoutBlockFlow {A} at (1,1) size 200x25 [color=#0000EE] [bgcolor=#FFFFFF]
           LayoutText {#text} at (0,3) size 21x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/003-expected.png
index 027c7b8..d17357f2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/003-expected.txt
index d841f0b..e1c2412b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/003-expected.txt
@@ -17,8 +17,8 @@
                 LayoutText {#text} at (20,1) size 58x59
                   text run at (20,1) width 58: "Az"
               LayoutBlockFlow (anonymous) at (1,209.44) size 240x20
-                LayoutText {#text} at (0,0) size 92x19
-                  text run at (0,0) width 92: "Text color first"
+                LayoutText {#text} at (0,0) size 91x19
+                  text run at (0,0) width 91: "Text color first"
               LayoutBlockFlow {DIV} at (17,245.44) size 98x98 [color=#0000FF] [bgcolor=#0000FF] [border: (1px solid #000000)]
                 LayoutText {#text} at (20,1) size 58x59
                   text run at (20,1) width 58: "Az"
@@ -33,8 +33,8 @@
                 LayoutText {#text} at (20,1) size 58x59
                   text run at (20,1) width 58: "Az"
               LayoutBlockFlow (anonymous) at (1,209.44) size 240x20
-                LayoutText {#text} at (0,0) size 92x19
-                  text run at (0,0) width 92: "Text color first"
+                LayoutText {#text} at (0,0) size 91x19
+                  text run at (0,0) width 91: "Text color first"
               LayoutBlockFlow {DIV} at (17,245.44) size 98x98 [color=#0000FF] [bgcolor=#FF0000] [border: (1px solid #000000)]
                 LayoutText {#text} at (20,1) size 58x59
                   text run at (20,1) width 58: "Az"
@@ -49,8 +49,8 @@
                 LayoutText {#text} at (20,1) size 58x59
                   text run at (20,1) width 58: "Az"
               LayoutBlockFlow (anonymous) at (1,209.44) size 240x20
-                LayoutText {#text} at (0,0) size 92x19
-                  text run at (0,0) width 92: "Text color first"
+                LayoutText {#text} at (0,0) size 91x19
+                  text run at (0,0) width 91: "Text color first"
               LayoutBlockFlow {DIV} at (17,245.44) size 98x98 [color=#0000FF] [bgcolor=#0000FF] [border: (1px solid #000000)]
                 LayoutText {#text} at (20,1) size 58x59
                   text run at (20,1) width 58: "Az"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/004-expected.png
index 1afcf6f6..e2e2fda 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/004-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/004-expected.txt
index 14191d1..1dd2368 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/004-expected.txt
@@ -7,9 +7,9 @@
         LayoutText {#text} at (0,0) size 421x36
           text run at (0,0) width 421: "Shorthand border properties 2"
       LayoutBlockFlow {P} at (0,58.44) size 784x20
-        LayoutText {#text} at (0,0) size 500x19
-          text run at (0,0) width 402: "This test was written to test a point I mentioned to Tantek \x{C7}elik "
-          text run at (401,0) width 99: "on 2000-07-13."
+        LayoutText {#text} at (0,0) size 499x19
+          text run at (0,0) width 401: "This test was written to test a point I mentioned to Tantek \x{C7}elik "
+          text run at (401,0) width 98: "on 2000-07-13."
       LayoutBlockFlow {P} at (0,94.44) size 784x26 [color=#008000] [border: (3px solid #008000)]
         LayoutText {#text} at (3,3) size 274x19
           text run at (3,3) width 274: "This paragraph should have a green border."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/005-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/005-expected.png
index 9947c6d..04607b29 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/008-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/008-expected.txt
index 0859065d..2d15e20 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/008-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/008-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 784x48 [border: (10px solid #808000)]
-        LayoutText {#text} at (10,10) size 560x27
-          text run at (10,10) width 560: "You should see 24px text inside a 10px solid olive border."
+        LayoutText {#text} at (10,10) size 559x27
+          text run at (10,10) width 559: "You should see 24px text inside a 10px solid olive border."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/ZeroOpacityLayers-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/ZeroOpacityLayers-expected.png
index b34f30f37..c755bc45 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/ZeroOpacityLayers-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/ZeroOpacityLayers-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/ZeroOpacityLayers2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/ZeroOpacityLayers2-expected.png
index b49aa19..bb27c4c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/ZeroOpacityLayers2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/ZeroOpacityLayers2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/acid2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/acid2-expected.png
index 6f47393..00b0b628 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/acid2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/acid2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/acid2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/acid2-expected.txt
index 95d7a37a..6d4ee592 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/acid2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/acid2-expected.txt
@@ -76,13 +76,13 @@
       LayoutText {#text} at (0,0) size 253x29
         text run at (0,0) width 253: "Standards compliant?"
     LayoutBlockFlow {P} at (13,43) size 678x28
-      LayoutInline {A} at (0,0) size 216x27 [color=#0000FF]
-        LayoutText {#text} at (0,0) size 216x27
-          text run at (0,0) width 216: "Take The Acid2 Test"
-      LayoutText {#text} at (215,0) size 199x27
-        text run at (215,0) width 199: " and compare it to "
-      LayoutInline {A} at (0,0) size 247x27 [color=#0000FF]
-        LayoutText {#text} at (413,0) size 247x27
-          text run at (413,0) width 247: "the reference rendering"
-      LayoutText {#text} at (659,0) size 8x27
-        text run at (659,0) width 8: "."
+      LayoutInline {A} at (0,0) size 217x27 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 217x27
+          text run at (0,0) width 217: "Take The Acid2 Test"
+      LayoutText {#text} at (217,0) size 198x27
+        text run at (217,0) width 198: " and compare it to "
+      LayoutInline {A} at (0,0) size 246x27 [color=#0000FF]
+        LayoutText {#text} at (415,0) size 246x27
+          text run at (415,0) width 246: "the reference rendering"
+      LayoutText {#text} at (661,0) size 7x27
+        text run at (661,0) width 7: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/attribute-selector-dynamic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/attribute-selector-dynamic-expected.png
index e3f8337..d58aae80 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/attribute-selector-dynamic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/attribute-selector-dynamic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/attribute-selector-dynamic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/attribute-selector-dynamic-expected.txt
index 408ac208..3498f6a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/attribute-selector-dynamic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/attribute-selector-dynamic-expected.txt
@@ -6,6 +6,6 @@
       LayoutText {#text} at (0,0) size 670x19
         text run at (0,0) width 670: "This test checks whether CSS21 attribute selectors are re-evaluated after attribute changes in xml elements."
     LayoutBlockFlow {test} at (0,20) size 800x20 [color=#008000]
-      LayoutInline {<pseudo:before>} at (0,0) size 60x19
-        LayoutTextFragment (anonymous) at (0,0) size 60x19
-          text run at (0,0) width 60: "PASSED"
+      LayoutInline {<pseudo:before>} at (0,0) size 59x19
+        LayoutTextFragment (anonymous) at (0,0) size 59x19
+          text run at (0,0) width 59: "PASSED"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/background-shorthand-invalid-url-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/background-shorthand-invalid-url-expected.png
index a4eeb7c..f65cf0c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/background-shorthand-invalid-url-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/background-shorthand-invalid-url-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/background-shorthand-invalid-url-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/background-shorthand-invalid-url-expected.txt
index 183b7a83..7fac1dd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/background-shorthand-invalid-url-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/background-shorthand-invalid-url-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x186.88
     LayoutBlockFlow {BODY} at (8,21.44) size 784x149.44
       LayoutBlockFlow {H1} at (0,0) size 784x37
-        LayoutText {#text} at (0,0) size 571x36
-          text run at (0,0) width 571: "The background image should not repeat."
+        LayoutText {#text} at (0,0) size 572x36
+          text run at (0,0) width 572: "The background image should not repeat."
       LayoutBlockFlow {DIV} at (0,58.44) size 784x91
         LayoutBlockFlow {UL} at (0,0) size 784x91
           LayoutListItem {LI} at (40,0) size 744x91 [border: (1px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/beforeSelectorOnCodeElement-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/beforeSelectorOnCodeElement-expected.png
index 85c2af8..e9c5e74 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/beforeSelectorOnCodeElement-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/beforeSelectorOnCodeElement-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/beforeSelectorOnCodeElement-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/beforeSelectorOnCodeElement-expected.txt
index 18229c4..ddc901b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/beforeSelectorOnCodeElement-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/beforeSelectorOnCodeElement-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 726x19
-          text run at (0,0) width 726: "The word \"PASSED\" should be shown below with a cirlce before and a square after. This is a test for WebKit bug "
-        LayoutInline {A} at (0,0) size 40x19 [color=#0000EE]
-          LayoutText {#text} at (725,0) size 40x19
-            text run at (725,0) width 40: "11197"
-        LayoutText {#text} at (764,0) size 5x19
-          text run at (764,0) width 5: "."
+        LayoutText {#text} at (0,0) size 725x19
+          text run at (0,0) width 725: "The word \"PASSED\" should be shown below with a cirlce before and a square after. This is a test for WebKit bug "
+        LayoutInline {A} at (0,0) size 39x19 [color=#0000EE]
+          LayoutText {#text} at (725,0) size 39x19
+            text run at (725,0) width 39: "11197"
+        LayoutText {#text} at (764,0) size 4x19
+          text run at (764,0) width 4: "."
       LayoutBlockFlow (anonymous) at (0,36) size 784x16
         LayoutInline {CODE} at (0,0) size 64x16
           LayoutInline {<pseudo:before>} at (0,0) size 8x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/bidi-override-in-anonymous-block-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/bidi-override-in-anonymous-block-expected.png
index f4eb1e4..07175db0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/bidi-override-in-anonymous-block-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/bidi-override-in-anonymous-block-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/bidi-override-in-anonymous-block-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/bidi-override-in-anonymous-block-expected.txt
index 73ae93c5..0159ad0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/bidi-override-in-anonymous-block-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/bidi-override-in-anonymous-block-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x1306.86
     LayoutBlockFlow {BODY} at (8,16) size 769x1282.86
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 161x19
-          text run at (0,0) width 161: "div, span, nested div/span"
+        LayoutText {#text} at (0,0) size 160x19
+          text run at (0,0) width 160: "div, span, nested div/span"
       LayoutBlockFlow {P} at (0,36) size 769x20
         LayoutText {#text} at (0,0) size 64x19
           text run at (0,0) width 64: "Single div"
@@ -180,7 +180,7 @@
           text run at (0,0) width 417: "The following 2 tables should be identical, ignorning whitespaces:"
       LayoutTable {TABLE} at (1.39,1012.69) size 82x72 [border: (1px solid #808080)]
         LayoutBlockFlow {CAPTION} at (0,0) size 82x20
-          LayoutText {#text} at (0,0) size 83x19
+          LayoutText {#text} at (0,0) size 82x19
             text run at (0,0) width 82: "NormalTable"
         LayoutTableSection {TBODY} at (1,21) size 80x50
           LayoutTableRow {TR} at (0,2) size 80x22
@@ -199,7 +199,7 @@
                 text run at (14,1) width 24: "opq"
       LayoutTable {DIV} at (1.39,1086.08) size 143x62 [border: (1px solid #000000)]
         LayoutBlockFlow {DIV} at (0,0) size 143x20
-          LayoutText {#text} at (0,0) size 144x19
+          LayoutText {#text} at (0,0) size 143x19
             text run at (0,0) width 143: "AnonymousTableRow"
         LayoutTableSection (anonymous) at (1,21) size 141x40
           LayoutTableRow {DIV} at (0,0) size 141x20
@@ -217,8 +217,8 @@
               LayoutText {#text} at (50,0) size 24x19
                 text run at (50,0) width 24: "opq"
       LayoutBlockFlow {P} at (0,1164.08) size 769x20
-        LayoutText {#text} at (0,0) size 515x19
-          text run at (0,0) width 515: "Anonymous TABLE, TABLE_ROW, TABLE_ROW_GROUP, TABLE_CELL"
+        LayoutText {#text} at (0,0) size 511x19
+          text run at (0,0) width 511: "Anonymous TABLE, TABLE_ROW, TABLE_ROW_GROUP, TABLE_CELL"
       LayoutBlockFlow {DIV} at (0,1200.08) size 769x82.78 [border: (1.39px solid #000000)]
         LayoutTable (anonymous) at (1.39,1.39) size 24x80
           LayoutTableSection (anonymous) at (0,20) size 24x40
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/border-radius-outline-offset-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/border-radius-outline-offset-expected.png
index 4d6e537..8412509 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/border-radius-outline-offset-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/border-radius-outline-offset-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/border-radius-outline-offset-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/border-radius-outline-offset-expected.txt
index d3fe909e..9034134 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/border-radius-outline-offset-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/border-radius-outline-offset-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 618x19
-          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 301x19
-              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=11930"
-          LayoutText {#text} at (351,0) size 318x19
-            text run at (351,0) width 5: " "
-            text run at (355,0) width 314: "Specifying border-radius makes the outline shrink"
-        LayoutText {#text} at (668,0) size 5x19
-          text run at (668,0) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 617x19
+          LayoutInline {A} at (0,0) size 299x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 299x19
+              text run at (51,0) width 299: "http://bugs.webkit.org/show_bug.cgi?id=11930"
+          LayoutText {#text} at (350,0) size 318x19
+            text run at (350,0) width 4: " "
+            text run at (354,0) width 314: "Specifying border-radius makes the outline shrink"
+        LayoutText {#text} at (668,0) size 4x19
+          text run at (668,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 273x19
           text run at (0,0) width 273: "These two squares should be the same size:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/clip-zooming-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/clip-zooming-expected.png
index 93f37025..0d5a32c9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/clip-zooming-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/clip-zooming-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-expected.png
index b31fb963..513f52f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-on-background-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-on-background-image-expected.png
index 5b79ace..10a3dc3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-on-background-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-on-background-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-untagged-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-untagged-images-expected.png
index 14b38dfd..ed84721 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-untagged-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-untagged-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-untagged-images-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-untagged-images-expected.txt
index a95dfcc..ee48ce6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-untagged-images-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/color-correction-untagged-images-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 771x39
-          text run at (0,0) width 771: "The two squares below should not match each other. On the left is an uncorrected image and border, and on the right is the"
+        LayoutText {#text} at (0,0) size 772x39
+          text run at (0,0) width 772: "The two squares below should not match each other. On the left is an uncorrected image and border, and on the right is the"
           text run at (0,20) width 362: "same image and same border color corrected from sRGB."
       LayoutImage (floating) {IMG} at (0,56) size 140x140 [border: (20px solid #560063)]
       LayoutImage (floating) {IMG} at (140,56) size 140x140 [border: (20px solid #560063)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/compare-content-style-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/compare-content-style-expected.png
index aa223e1..18591bd8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/compare-content-style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/compare-content-style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/compare-content-style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/compare-content-style-expected.txt
index 8b7ff4d..d5eabaed 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/compare-content-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/compare-content-style-expected.txt
@@ -5,29 +5,29 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x232
       LayoutBlockFlow {DIV} at (0,0) size 784x120
         LayoutBlockFlow {DIV} at (0,0) size 784x20
-          LayoutInline {<pseudo:before>} at (0,0) size 38x19
-            LayoutTextFragment (anonymous) at (0,0) size 38x19
-              text run at (0,0) width 38: "PASS"
+          LayoutInline {<pseudo:before>} at (0,0) size 37x19
+            LayoutTextFragment (anonymous) at (0,0) size 37x19
+              text run at (0,0) width 37: "PASS"
         LayoutBlockFlow {DIV} at (0,20) size 784x20
-          LayoutInline {<pseudo:before>} at (0,0) size 38x19
-            LayoutTextFragment (anonymous) at (0,0) size 38x19
-              text run at (0,0) width 38: "PASS"
+          LayoutInline {<pseudo:before>} at (0,0) size 37x19
+            LayoutTextFragment (anonymous) at (0,0) size 37x19
+              text run at (0,0) width 37: "PASS"
         LayoutBlockFlow {DIV} at (0,40) size 784x20
-          LayoutInline {<pseudo:before>} at (0,0) size 38x19
-            LayoutTextFragment (anonymous) at (0,0) size 38x19
-              text run at (0,0) width 38: "PASS"
+          LayoutInline {<pseudo:before>} at (0,0) size 37x19
+            LayoutTextFragment (anonymous) at (0,0) size 37x19
+              text run at (0,0) width 37: "PASS"
         LayoutBlockFlow {DIV} at (0,60) size 784x20
-          LayoutInline {<pseudo:before>} at (0,0) size 38x19
-            LayoutTextFragment (anonymous) at (0,0) size 38x19
-              text run at (0,0) width 38: "PASS"
+          LayoutInline {<pseudo:before>} at (0,0) size 37x19
+            LayoutTextFragment (anonymous) at (0,0) size 37x19
+              text run at (0,0) width 37: "PASS"
         LayoutBlockFlow {DIV} at (0,80) size 784x20
-          LayoutInline {<pseudo:before>} at (0,0) size 38x19
-            LayoutTextFragment (anonymous) at (0,0) size 38x19
-              text run at (0,0) width 38: "PASS"
+          LayoutInline {<pseudo:before>} at (0,0) size 37x19
+            LayoutTextFragment (anonymous) at (0,0) size 37x19
+              text run at (0,0) width 37: "PASS"
         LayoutBlockFlow {DIV} at (0,100) size 784x20
-          LayoutInline {<pseudo:before>} at (0,0) size 38x19
-            LayoutTextFragment (anonymous) at (0,0) size 38x19
-              text run at (0,0) width 38: "PASS"
+          LayoutInline {<pseudo:before>} at (0,0) size 37x19
+            LayoutTextFragment (anonymous) at (0,0) size 37x19
+              text run at (0,0) width 37: "PASS"
       LayoutBlockFlow {DIV} at (0,136) size 784x96
         LayoutBlockFlow {P} at (0,0) size 784x20
           LayoutInline {A} at (0,0) size 671x19 [color=#0000EE]
@@ -36,13 +36,13 @@
         LayoutBlockFlow {OL} at (0,36) size 784x60
           LayoutListItem {LI} at (40,0) size 744x20
             LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
-            LayoutText {#text} at (0,0) size 344x19
-              text run at (0,0) width 344: "All lines above should be \"PASS\" on initial page load."
+            LayoutText {#text} at (0,0) size 343x19
+              text run at (0,0) width 343: "All lines above should be \"PASS\" on initial page load."
           LayoutListItem {LI} at (40,20) size 744x20
             LayoutListMarker (anonymous) at (-16,0) size 16x19: "2"
             LayoutText {#text} at (0,0) size 140x19
               text run at (0,0) width 140: "Reload the page once."
           LayoutListItem {LI} at (40,40) size 744x20
             LayoutListMarker (anonymous) at (-16,0) size 16x19: "3"
-            LayoutText {#text} at (0,0) size 246x19
-              text run at (0,0) width 246: "All lines above should still be \"PASS\"."
+            LayoutText {#text} at (0,0) size 245x19
+              text run at (0,0) width 245: "All lines above should still be \"PASS\"."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/content/content-quotes-01-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/content/content-quotes-01-expected.txt
new file mode 100644
index 0000000..e9bc46b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/content/content-quotes-01-expected.txt
@@ -0,0 +1,11 @@
+The texts between the markers should be identical.
+
+========Marker1========
+
+ab	1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
+========Marker2========
+
+WWaWWbWWWWWWWW	1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
+========Marker3========
+
+FAILED: testWidth=195px; expected 193px
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/content/content-quotes-05-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/content/content-quotes-05-expected.txt
new file mode 100644
index 0000000..b0f12ad
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/content/content-quotes-05-expected.txt
@@ -0,0 +1,9 @@
+========Marker1========
+
+abc	1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
+========Marker2========
+
+WWaWWWbWWWWWcWWWW	1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
+========Marker3========
+
+FAILED: testWidth=232px; expected 230px
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/continuationCrash-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/continuationCrash-expected.png
index b591802..8483900 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/continuationCrash-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/continuationCrash-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/continuationCrash-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/continuationCrash-expected.txt
index 663e289..ccddf65 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/continuationCrash-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/continuationCrash-expected.txt
@@ -24,8 +24,8 @@
             text run at (0,0) width 135: "Click the middle one."
         LayoutListItem {LI} at (40,40) size 744x20
           LayoutListMarker (anonymous) at (-16,0) size 16x19: "3"
-          LayoutText {#text} at (0,0) size 265x19
-            text run at (0,0) width 265: "(The ouline will not be updated correctly.)"
+          LayoutText {#text} at (0,0) size 264x19
+            text run at (0,0) width 264: "(The ouline will not be updated correctly.)"
         LayoutListItem {LI} at (40,60) size 744x20
           LayoutListMarker (anonymous) at (-16,0) size 16x19: "4"
           LayoutText {#text} at (0,0) size 138x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css-imports-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css-imports-expected.png
index a272b66e..709ca02 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css-imports-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css-imports-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css-imports-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css-imports-expected.txt
index d3407ae..5f359d7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css-imports-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css-imports-expected.txt
@@ -4,15 +4,15 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {A} at (0,0) size 69x19 [color=#0000EE]
-          LayoutText {#text} at (51,0) size 69x19
-            text run at (51,0) width 69: "bug 11575"
-        LayoutText {#text} at (119,0) size 417x19
-          text run at (119,0) width 417: ": REGRESSION: WebCore crash in CSSParser/HTMLTokenizer."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {A} at (0,0) size 68x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 68x19
+            text run at (51,0) width 68: "bug 11575"
+        LayoutText {#text} at (119,0) size 416x19
+          text run at (119,0) width 416: ": REGRESSION: WebCore crash in CSSParser/HTMLTokenizer."
       LayoutBlockFlow {P} at (0,36) size 784x40
-        LayoutText {#text} at (0,0) size 749x39
-          text run at (0,0) width 749: "All four sides of the square below should be present for this test to really pass, and WebKit shouldn't crash for it to pass"
-          text run at (0,20) width 54: "partially."
+        LayoutText {#text} at (0,0) size 748x39
+          text run at (0,0) width 748: "All four sides of the square below should be present for this test to really pass, and WebKit shouldn't crash for it to pass"
+          text run at (0,20) width 53: "partially."
       LayoutBlockFlow {DIV} at (0,92) size 106x106 [border: (3px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css1_forward_compatible_parsing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css1_forward_compatible_parsing-expected.png
index 48732b64..d41054a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css1_forward_compatible_parsing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css1_forward_compatible_parsing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css1_forward_compatible_parsing-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css1_forward_compatible_parsing-expected.txt
index d79f79f9..f31bd440 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css1_forward_compatible_parsing-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css1_forward_compatible_parsing-expected.txt
@@ -16,12 +16,12 @@
       LayoutBlockFlow {H3} at (0,114.72) size 784x46 [color=#008000] [bgcolor=#FFFFFF]
         LayoutText {#text} at (0,0) size 767x45
           text run at (0,0) width 767: "Third sentence: this text should be green. The markup code is valid according to W3C HTML"
-          text run at (0,23) width 580: "validator but the CSS code is invalid according to W3C CSS validator."
+          text run at (0,23) width 579: "validator but the CSS code is invalid according to W3C CSS validator."
       LayoutBlockFlow {H4} at (0,181.98) size 784x60 [color=#FF0000] [bgcolor=#FFFFFF]
         LayoutText {#text} at (0,0) size 776x59
           text run at (0,0) width 776: "Fourth sentence: this text should be green according to CSS 1 (class name can not start with a dash in CSS 1) but it"
           text run at (0,20) width 773: "should be red according to CSS 2.1 and the markup code is valid according to W3C HTML validator and the CSS"
-          text run at (0,40) width 375: "code is perfectly valid according to W3C CSS validator."
+          text run at (0,40) width 374: "code is perfectly valid according to W3C CSS validator."
       LayoutBlockFlow {H5} at (0,268.70) size 784x80 [color=#800080] [bgcolor=#FFFFFF]
         LayoutText {#text} at (0,0) size 775x79
           text run at (0,0) width 761: "Fifth sentence: this text should be green according to CSS 1 (class name can not start with a dash in CSS 1) but it"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-modsel-22-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-modsel-22-expected.png
index 89e06d0..08ce5d9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-modsel-22-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-modsel-22-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-modsel-22-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-modsel-22-expected.txt
index 7f93f81..df54c79 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-modsel-22-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-modsel-22-expected.txt
@@ -11,9 +11,9 @@
             text run at (336,0) width 94: "British English"
         LayoutListItem {LI} at (40,20) size 744x20 [bgcolor=#00FF00]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (0,0) size 482x19
+          LayoutText {#text} at (0,0) size 481x19
             text run at (0,0) width 322: "This list item should be green because its language "
-            text run at (322,0) width 160: "is British English (Wales)"
+            text run at (322,0) width 159: "is British English (Wales)"
       LayoutBlockFlow {OL} at (0,56) size 784x40
         LayoutListItem {LI} at (40,0) size 744x20
           LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-nth-child-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-nth-child-expected.png
index 942d6216..5ede164 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-nth-child-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-nth-child-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-nth-child-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-nth-child-expected.txt
index 7591fc50..9e47459 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-nth-child-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-nth-child-expected.txt
@@ -44,14 +44,14 @@
                   text run at (1,21) width 105: "should be purple"
       LayoutBlockFlow {DIV} at (0,194) size 784x128
         LayoutBlockFlow {P} at (0,0) size 784x20 [color=#000080]
-          LayoutText {#text} at (0,0) size 386x19
-            text run at (0,0) width 386: "This should be navy, as this is the first paragraph in this page."
+          LayoutText {#text} at (0,0) size 385x19
+            text run at (0,0) width 385: "This should be navy, as this is the first paragraph in this page."
         LayoutBlockFlow {P} at (0,36) size 784x20 [color=#FF0000]
           LayoutText {#text} at (0,0) size 396x19
             text run at (0,0) width 396: "This should be red, as this is the second paragraph in this page."
         LayoutBlockFlow {P} at (0,72) size 784x20 [color=#000080]
-          LayoutText {#text} at (0,0) size 391x19
-            text run at (0,0) width 391: "This should be navy, as this is the third paragraph in this page."
+          LayoutText {#text} at (0,0) size 390x19
+            text run at (0,0) width 390: "This should be navy, as this is the third paragraph in this page."
         LayoutBlockFlow {P} at (0,108) size 784x20 [color=#FF0000]
           LayoutText {#text} at (0,0) size 390x19
             text run at (0,0) width 390: "This should be red, as this is the fourth paragraph in this page."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-space-in-nth-and-lang-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-space-in-nth-and-lang-expected.txt
index 0510c97..f68c59c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-space-in-nth-and-lang-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/css3-space-in-nth-and-lang-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 784x20 [color=#008000] [bgcolor=#FFFF00]
-        LayoutText {#text} at (0,0) size 109x19
-          text run at (0,0) width 109: "Green on Yellow"
+        LayoutText {#text} at (0,0) size 108x19
+          text run at (0,0) width 108: "Green on Yellow"
       LayoutBlockFlow {DIV} at (0,20) size 784x20 [color=#0000FF] [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 91x19
           text run at (0,0) width 91: "Blue on Silver"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/dynamic-sibling-selector-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/dynamic-sibling-selector-expected.png
index 2eeeda5..bf67e93 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/dynamic-sibling-selector-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/dynamic-sibling-selector-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/dynamic-sibling-selector-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/dynamic-sibling-selector-expected.txt
index 9fe85f79..9e0ae88 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/dynamic-sibling-selector-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/dynamic-sibling-selector-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 297x19
-          text run at (0,0) width 297: "There should be a 100x100 green block below."
+        LayoutText {#text} at (0,0) size 296x19
+          text run at (0,0) width 296: "There should be a 100x100 green block below."
       LayoutBlockFlow {DIV} at (0,20) size 784x0
       LayoutBlockFlow {DIV} at (0,20) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/error-in-last-decl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/error-in-last-decl-expected.png
index 15d39e8a..85eaafc5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/error-in-last-decl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/error-in-last-decl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/ex-after-font-variant-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/ex-after-font-variant-expected.png
index 58e54e20..2b33d7b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/ex-after-font-variant-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/ex-after-font-variant-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/ex-after-font-variant-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/ex-after-font-variant-expected.txt
index cfd23ee8..64e460d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/ex-after-font-variant-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/ex-after-font-variant-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 684x19
-          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 349x19
-              text run at (51,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=4227"
-          LayoutText {#text} at (399,0) size 336x19
-            text run at (399,0) width 5: " "
-            text run at (403,0) width 332: "The ex unit doesn't work for font-variant: small-caps"
-        LayoutText {#text} at (734,0) size 5x19
-          text run at (734,0) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 683x19
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 348x19
+              text run at (51,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=4227"
+          LayoutText {#text} at (399,0) size 335x19
+            text run at (399,0) width 4: " "
+            text run at (403,0) width 331: "The ex unit doesn't work for font-variant: small-caps"
+        LayoutText {#text} at (734,0) size 4x19
+          text run at (734,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 244x19
           text run at (0,0) width 244: "There should be a green square below:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/find-next-layer-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/find-next-layer-expected.png
index 09fac665..1a7e573 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/find-next-layer-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/find-next-layer-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/find-next-layer-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/find-next-layer-expected.txt
index 4596e352..c4ea217 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/find-next-layer-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/find-next-layer-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 727x19
-          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 349x19
-              text run at (51,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9124"
-          LayoutText {#text} at (399,0) size 379x19
-            text run at (399,0) width 5: " "
-            text run at (403,0) width 375: "Drop shadow obscures \"add more stuff\" bubble at live.com"
-        LayoutText {#text} at (777,0) size 5x19
-          text run at (777,0) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 728x19
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 348x19
+              text run at (51,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9124"
+          LayoutText {#text} at (399,0) size 380x19
+            text run at (399,0) width 4: " "
+            text run at (403,0) width 376: "Drop shadow obscures \"add more stuff\" bubble at live.com"
+        LayoutText {#text} at (779,0) size 4x19
+          text run at (779,0) width 4: "."
 layer at (8,44) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,54) size 784x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-capitalized-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-capitalized-expected.png
index 73730d0..9a9c778 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-capitalized-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-capitalized-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-capitalized-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-capitalized-expected.txt
index 4831cec..ab39369 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-capitalized-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-capitalized-expected.txt
@@ -4,18 +4,18 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 666x39
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=14545"
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=14545"
           LayoutText {#text} at (352,0) size 666x39
-            text run at (352,0) width 5: " "
+            text run at (352,0) width 4: " "
             text run at (356,0) width 310: "REGRESSION (r21854-r21869): Repro crash in"
             text run at (0,20) width 350: "LayoutBlockFlow::updateFirstLetter @ nola.com/rose/"
-        LayoutText {#text} at (349,20) size 5x19
-          text run at (349,20) width 5: "."
+        LayoutText {#text} at (350,20) size 4x19
+          text run at (350,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 249x19
           text run at (0,0) width 249: "The following lines should be identical:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-detach-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-detach-expected.png
index f636b866..28293dd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-detach-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-detach-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-detach-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-detach-expected.txt
index 349e37e..08f6b48 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-detach-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-detach-expected.txt
@@ -4,25 +4,25 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 724x39
-          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 349x19
-              text run at (51,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=3560"
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 348x19
+              text run at (51,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=3560"
           LayoutText {#text} at (399,0) size 724x39
             text run at (399,0) width 325: " page with use of first-letter crashes reproducibly in"
-            text run at (0,20) width 186: "LayoutObject::renderArena()"
-        LayoutText {#text} at (185,20) size 5x19
-          text run at (185,20) width 5: "."
+            text run at (0,20) width 187: "LayoutObject::renderArena()"
+        LayoutText {#text} at (187,20) size 4x19
+          text run at (187,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 231x19
           text run at (0,0) width 231: "The next three lines should all read \x{201C}"
         LayoutInline {SPAN} at (0,0) size 9x19 [color=#0000FF]
           LayoutText {#text} at (231,0) size 9x19
             text run at (231,0) width 9: "P"
-        LayoutText {#text} at (240,0) size 208x19
-          text run at (240,0) width 208: "ASS\x{201D}, with nothing before the P."
+        LayoutText {#text} at (240,0) size 207x19
+          text run at (240,0) width 207: "ASS\x{201D}, with nothing before the P."
       LayoutBlockFlow {P} at (0,110) size 784x20
         LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#0000FF]
           LayoutTextFragment (anonymous) at (0,0) size 9x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-after-float-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-after-float-expected.png
index 115df5e2..b818d2c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-after-float-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-after-float-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-after-float-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-after-float-expected.txt
index 9090468..732feccb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-after-float-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-after-float-expected.txt
@@ -4,15 +4,15 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 766x39
-          LayoutInline {A} at (0,0) size 308x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 308x19
-              text run at (51,0) width 308: "https://bugs.webkit.org/show_bug.cgi?id=18818"
-          LayoutText {#text} at (358,0) size 766x39
-            text run at (358,0) width 5: " "
-            text run at (362,0) width 404: "REGRESSION (3.1.1-TOT): Character order (float:left ordered"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 767x39
+          LayoutInline {A} at (0,0) size 307x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 307x19
+              text run at (51,0) width 307: "https://bugs.webkit.org/show_bug.cgi?id=18818"
+          LayoutText {#text} at (358,0) size 767x39
+            text run at (358,0) width 4: " "
+            text run at (362,0) width 405: "REGRESSION (3.1.1-TOT): Character order (float:left ordered"
             text run at (0,20) width 121: "after the first letter)"
         LayoutText {#text} at (121,20) size 4x19
           text run at (121,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-expected.png
index 86f4121..799d935 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-expected.txt
index 54833f3d..3be570f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-float-expected.txt
@@ -4,15 +4,15 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 775x39
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=17834"
-          LayoutText {#text} at (352,0) size 775x39
-            text run at (352,0) width 5: " "
-            text run at (356,0) width 419: "REGRESSION: floated first-letter does not work when included in"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 774x39
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=17834"
+          LayoutText {#text} at (352,0) size 774x39
+            text run at (352,0) width 4: " "
+            text run at (356,0) width 418: "REGRESSION: floated first-letter does not work when included in"
             text run at (0,20) width 31: "table"
         LayoutText {#text} at (31,20) size 4x19
           text run at (31,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-hover-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-hover-expected.png
index 98c522b..3aa33322 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-hover-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-hover-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-hover-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-hover-expected.txt
index 5059446..68d1bfa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-hover-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-hover-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {A} at (0,0) size 296x19 [color=#0000EE]
-          LayoutText {#text} at (51,0) size 296x19
-            text run at (51,0) width 296: "http://bugs.webkit.org/show_bug.cgi?id=4104 "
-        LayoutText {#text} at (346,0) size 249x19
-          text run at (346,0) width 249: "first-letter not updating style with hover"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {A} at (0,0) size 295x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 295x19
+            text run at (51,0) width 295: "http://bugs.webkit.org/show_bug.cgi?id=4104 "
+        LayoutText {#text} at (346,0) size 248x19
+          text run at (346,0) width 248: "first-letter not updating style with hover"
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 391x19
           text run at (0,0) width 391: "The next line of text should turn green when we hover over it."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-visibility-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-visibility-expected.png
index ea6a2f8..3276882 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-visibility-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-visibility-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-visibility-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-visibility-expected.txt
index a62fdb2..fb4df8a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-visibility-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-visibility-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
-          LayoutText {#text} at (51,0) size 304x19
-            text run at (51,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=13169 "
-        LayoutText {#text} at (354,0) size 299x19
-          text run at (354,0) width 299: "css-formatted first letter won't hide dynamically"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {A} at (0,0) size 303x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 303x19
+            text run at (51,0) width 303: "http://bugs.webkit.org/show_bug.cgi?id=13169 "
+        LayoutText {#text} at (354,0) size 298x19
+          text run at (354,0) width 298: "css-formatted first letter won't hide dynamically"
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 417x19
           text run at (0,0) width 417: "The next line of text should become invisible, including first letter."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-expected.png
index 6b20f8b..9658fe8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-expected.txt
index 7205cc44..469e6c4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 446x26
           text run at (0,0) width 446: "Test case for First-line text-decoration style"
       LayoutBlockFlow {P} at (0,46.91) size 784x20
-        LayoutText {#text} at (0,0) size 507x19
-          text run at (0,0) width 507: "Text-decoration UNDERLINE : Only the first line must have an underline."
+        LayoutText {#text} at (0,0) size 506x19
+          text run at (0,0) width 506: "Text-decoration UNDERLINE : Only the first line must have an underline."
       LayoutBlockFlow {DIV} at (0,82.91) size 784x88 [color=#008000]
         LayoutText {#text} at (0,10) size 616x27
           text run at (0,10) width 616: "Underline Underline Underline Underline"
@@ -22,8 +22,8 @@
         LayoutBR {BR} at (0,0) size 0x19
       LayoutBlockFlow {P} at (0,206.91) size 784x0
       LayoutBlockFlow {P} at (0,206.91) size 784x20
-        LayoutText {#text} at (0,0) size 484x19
-          text run at (0,0) width 484: "Text-decoration OVERLINE : Only the first line must have an overline."
+        LayoutText {#text} at (0,0) size 483x19
+          text run at (0,0) width 483: "Text-decoration OVERLINE : Only the first line must have an overline."
       LayoutBlockFlow {DIV} at (0,242.91) size 784x88 [color=#008000]
         LayoutText {#text} at (0,10) size 548x27
           text run at (0,10) width 548: "Overline Overline Overline Overline"
@@ -37,8 +37,8 @@
         LayoutBR {BR} at (0,0) size 0x19
       LayoutBlockFlow {P} at (0,366.91) size 784x0
       LayoutBlockFlow {P} at (0,366.91) size 784x20
-        LayoutText {#text} at (0,0) size 558x19
-          text run at (0,0) width 558: "Text-decoration LINE-THROUGH : Only the first line must have a line through it."
+        LayoutText {#text} at (0,0) size 557x19
+          text run at (0,0) width 557: "Text-decoration LINE-THROUGH : Only the first line must have a line through it."
       LayoutBlockFlow {DIV} at (0,402.91) size 784x88 [color=#008000]
         LayoutText {#text} at (0,10) size 712x27
           text run at (0,10) width 712: "Line-Through Line-Through Line-Through Line "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-inherited-from-parent-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-inherited-from-parent-expected.png
index effaaa07..82256d8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-inherited-from-parent-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-inherited-from-parent-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-inherited-from-parent-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-inherited-from-parent-expected.txt
index 31a88dd..e365879d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-inherited-from-parent-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-line-text-decoration-inherited-from-parent-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 581x22
           text run at (0,0) width 581: "Test case for First-line text-decoration style inherited from Parent Block"
       LayoutBlockFlow {P} at (0,41.72) size 784x20
-        LayoutText {#text} at (0,0) size 453x19
-          text run at (0,0) width 453: "The First line text and its text-decoration must be of the same color."
+        LayoutText {#text} at (0,0) size 452x19
+          text run at (0,0) width 452: "The First line text and its text-decoration must be of the same color."
       LayoutBlockFlow {DIV} at (0,77.72) size 784x104 [color=#FF0000]
         LayoutBlockFlow {P} at (0,0) size 784x68 [color=#008000]
           LayoutText {#text} at (0,10) size 616x27
@@ -40,9 +40,9 @@
           LayoutText {#text} at (0,10) size 712x27
             text run at (0,10) width 712: "Line-Through Line-Through Line-Through Line "
           LayoutBR {BR} at (712,31) size 0x0
-          LayoutText {#text} at (0,48) size 399x19
-            text run at (0,48) width 399: "Line-Through Line-Through Line-Through Line-Through"
-          LayoutBR {BR} at (398,63) size 1x0
+          LayoutText {#text} at (0,48) size 400x19
+            text run at (0,48) width 400: "Line-Through Line-Through Line-Through Line-Through"
+          LayoutBR {BR} at (400,63) size 0x0
         LayoutBlockFlow (anonymous) at (0,84) size 784x20
           LayoutText {#text} at (0,0) size 368x19
             text run at (0,0) width 368: "Line-Through Line-Through Line-Through Line-Through"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-continuations-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-continuations-expected.png
index c26741e..48461774 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-continuations-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-continuations-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-continuations-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-continuations-expected.txt
index fe15e762..cb54813 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-continuations-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-continuations-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x76
     LayoutBlockFlow {BODY} at (8,8) size 784x60
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 688x19
-          text run at (0,0) width 688: "Tests focus ring around an inline element containing block continuations. There should be a single focus ring."
+        LayoutText {#text} at (0,0) size 687x19
+          text run at (0,0) width 687: "Tests focus ring around an inline element containing block continuations. There should be a single focus ring."
       LayoutBlockFlow {DIV} at (0,20) size 200x40
         LayoutBlockFlow (anonymous) at (0,0) size 200x20
           LayoutInline {SPAN} at (0,0) size 100x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-color-expected.png
index b2ce1d9..c4867b4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-color-expected.txt
index db77095..ba023ffe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-color-expected.txt
@@ -8,7 +8,7 @@
           text run at (0,0) width 754: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn with green"
           text run at (0,20) width 83: "outline color."
       LayoutBlockFlow (anonymous) at (0,56) size 784x20
-        LayoutInline {A} at (0,0) size 26x19 [color=#0000EE]
-          LayoutText {#text} at (0,0) size 26x19
-            text run at (0,0) width 26: "Test"
+        LayoutInline {A} at (0,0) size 25x19 [color=#0000EE]
+          LayoutText {#text} at (0,0) size 25x19
+            text run at (0,0) width 25: "Test"
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-offset-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-offset-expected.png
index 5b8b2ebe..9b4ef0c0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-offset-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-offset-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-offset-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-offset-expected.txt
index a8b626f..97dd3aa0e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-offset-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-offset-expected.txt
@@ -10,7 +10,7 @@
       LayoutBlockFlow (anonymous) at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 110x19
           text run at (0,0) width 110: "(Some filler text) "
-        LayoutInline {A} at (0,0) size 26x19 [color=#0000EE]
-          LayoutText {#text} at (110,0) size 26x19
-            text run at (110,0) width 26: "Test"
+        LayoutInline {A} at (0,0) size 25x19 [color=#0000EE]
+          LayoutText {#text} at (110,0) size 25x19
+            text run at (110,0) width 25: "Test"
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-width-expected.png
index 938584b4..ebd7a7da 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-width-expected.txt
index 95110de..b5a5a53 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/focus-ring-outline-width-expected.txt
@@ -8,7 +8,7 @@
           text run at (0,0) width 781: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn with an outline"
           text run at (0,20) width 97: "width of 10 px."
       LayoutBlockFlow (anonymous) at (0,56) size 784x20
-        LayoutInline {A} at (0,0) size 26x19 [color=#0000EE]
-          LayoutText {#text} at (0,0) size 26x19
-            text run at (0,0) width 26: "Test"
+        LayoutInline {A} at (0,0) size 25x19 [color=#0000EE]
+          LayoutText {#text} at (0,0) size 25x19
+            text run at (0,0) width 25: "Test"
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-opentype-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-opentype-expected.png
index a5834b16..03ff099 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-opentype-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-opentype-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-opentype-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-opentype-expected.txt
index 5e45828..45c97a3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-opentype-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-opentype-expected.txt
@@ -4,20 +4,20 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 744x39
-          LayoutInline {A} at (0,0) size 308x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 308x19
-              text run at (51,0) width 308: "https://bugs.webkit.org/show_bug.cgi?id=34735"
-          LayoutText {#text} at (358,0) size 744x39
-            text run at (358,0) width 386: " [Chromium] OpenType font with CFF glyphs is not handled"
-            text run at (0,20) width 161: "correctly on Windows XP"
-        LayoutText {#text} at (160,20) size 5x19
-          text run at (160,20) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 743x39
+          LayoutInline {A} at (0,0) size 307x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 307x19
+              text run at (51,0) width 307: "https://bugs.webkit.org/show_bug.cgi?id=34735"
+          LayoutText {#text} at (358,0) size 743x39
+            text run at (358,0) width 385: " [Chromium] OpenType font with CFF glyphs is not handled"
+            text run at (0,20) width 162: "correctly on Windows XP"
+        LayoutText {#text} at (162,20) size 4x19
+          text run at (162,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x40
-        LayoutText {#text} at (0,0) size 769x39
-          text run at (0,0) width 769: "Check if glyphs in Ahem.otf can be rendered correctly. If the test passes, you should see dozens of black square characters"
+        LayoutText {#text} at (0,0) size 768x39
+          text run at (0,0) width 768: "Check if glyphs in Ahem.otf can be rendered correctly. If the test passes, you should see dozens of black square characters"
           text run at (0,20) width 43: "below:"
       LayoutBlockFlow (anonymous) at (0,112) size 784x32
         LayoutInline {SPAN} at (0,0) size 736x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-expected.png
index be80890..de978527 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-expected.txt
index 8fbeb27..4ca6670 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 743x39
-          LayoutInline {A} at (0,0) size 308x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 308x19
-              text run at (51,0) width 308: "https://bugs.webkit.org/show_bug.cgi?id=34147"
+          LayoutInline {A} at (0,0) size 307x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 307x19
+              text run at (51,0) width 307: "https://bugs.webkit.org/show_bug.cgi?id=34147"
           LayoutText {#text} at (358,0) size 743x39
             text run at (358,0) width 385: " If @font-face does not provide an explicit italic/bold variant,"
             text run at (0,20) width 94: "regular is used"
-        LayoutText {#text} at (93,20) size 5x19
-          text run at (93,20) width 5: "."
+        LayoutText {#text} at (94,20) size 4x19
+          text run at (94,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 91x19
           text run at (0,0) width 91: "Ahem regular:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-for-locally-installed-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-for-locally-installed-expected.png
index 974132f..de66a69 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-for-locally-installed-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-for-locally-installed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-for-locally-installed-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-for-locally-installed-expected.txt
index 84e04947..0144c2c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-for-locally-installed-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-synthetic-bold-italic-for-locally-installed-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 768x19
-          text run at (0,0) width 768: "The following two lines should look differently. The first line is synthetic bold of normal face, the second line is bold face."
+        LayoutText {#text} at (0,0) size 767x19
+          text run at (0,0) width 767: "The following two lines should look differently. The first line is synthetic bold of normal face, the second line is bold face."
       LayoutBlockFlow {DIV} at (0,36) size 784x23
         LayoutInline {SPAN} at (0,0) size 369x22
           LayoutText {#text} at (0,0) size 369x22
@@ -15,8 +15,8 @@
           LayoutText {#text} at (0,0) size 388x23
             text run at (0,0) width 388: "The quick brown fox jumps over the lazy dog"
       LayoutBlockFlow {P} at (0,99) size 784x20
-        LayoutText {#text} at (0,0) size 772x19
-          text run at (0,0) width 772: "The following two lines should look differently. The first line is synthetic italic of normal face, the second line is italic face."
+        LayoutText {#text} at (0,0) size 771x19
+          text run at (0,0) width 771: "The following two lines should look differently. The first line is synthetic italic of normal face, the second line is italic face."
       LayoutBlockFlow {DIV} at (0,135) size 784x23
         LayoutInline {SPAN} at (0,0) size 369x22
           LayoutText {#text} at (0,0) size 369x22
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-weight-matching-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-weight-matching-expected.png
index e313a00..6c21ee75 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-weight-matching-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-weight-matching-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-weight-matching-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-weight-matching-expected.txt
index 824c4a7..933a88c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-weight-matching-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-face-weight-matching-expected.txt
@@ -4,25 +4,25 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 743x39
-          LayoutInline {A} at (0,0) size 308x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 308x19
-              text run at (51,0) width 308: "https://bugs.webkit.org/show_bug.cgi?id=34147"
+          LayoutInline {A} at (0,0) size 307x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 307x19
+              text run at (51,0) width 307: "https://bugs.webkit.org/show_bug.cgi?id=34147"
           LayoutText {#text} at (358,0) size 743x39
             text run at (358,0) width 385: " If @font-face does not provide an explicit italic/bold variant,"
             text run at (0,20) width 94: "regular is used"
-        LayoutText {#text} at (93,20) size 5x19
-          text run at (93,20) width 5: "."
+        LayoutText {#text} at (94,20) size 4x19
+          text run at (94,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x40
-        LayoutText {#text} at (0,0) size 327x19
-          text run at (0,0) width 327: "Checks if WebKit font matching algorithm matches "
-        LayoutInline {A} at (0,0) size 167x19 [color=#0000EE]
-          LayoutText {#text} at (326,0) size 167x19
-            text run at (326,0) width 167: "the latest CSS3 Fonts WD"
-        LayoutText {#text} at (492,0) size 781x39
-          text run at (492,0) width 289: ". If the test passes, all 14 glyphs below should"
+        LayoutText {#text} at (0,0) size 326x19
+          text run at (0,0) width 326: "Checks if WebKit font matching algorithm matches "
+        LayoutInline {A} at (0,0) size 166x19 [color=#0000EE]
+          LayoutText {#text} at (326,0) size 166x19
+            text run at (326,0) width 166: "the latest CSS3 Fonts WD"
+        LayoutText {#text} at (492,0) size 780x39
+          text run at (492,0) width 288: ". If the test passes, all 14 glyphs below should"
           text run at (0,20) width 108: "be black squares:"
       LayoutBlockFlow (anonymous) at (0,112) size 784x20
         LayoutInline {SPAN} at (0,0) size 16x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-shorthand-weight-only-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-shorthand-weight-only-expected.png
index cb794c79..7022e39 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-shorthand-weight-only-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-shorthand-weight-only-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-shorthand-weight-only-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-shorthand-weight-only-expected.txt
index ee6010aa..3e5fbc1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-shorthand-weight-only-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-shorthand-weight-only-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 716x19
-          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 349x19
-              text run at (51,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9341"
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 348x19
+              text run at (51,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9341"
           LayoutText {#text} at (399,0) size 368x19
-            text run at (399,0) width 5: " "
+            text run at (399,0) width 4: " "
             text run at (403,0) width 364: "REGRESSION: Repro crash caused by style=\"font:bold\""
-        LayoutText {#text} at (766,0) size 5x19
-          text run at (766,0) width 5: "."
+        LayoutText {#text} at (767,0) size 4x19
+          text run at (767,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 126x19
-          text run at (0,0) width 126: "PASS (didn\x{2019}t crash)"
+        LayoutText {#text} at (0,0) size 125x19
+          text run at (0,0) width 125: "PASS (didn\x{2019}t crash)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-weight-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-weight-1-expected.png
index 19c67f0..79747c0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-weight-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-weight-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-weight-1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-weight-1-expected.txt
index dfc2ecd..10d16e84 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-weight-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/font-weight-1-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x492
     LayoutBlockFlow {BODY} at (8,16) size 784x468
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 264x19
-          text run at (0,0) width 264: "You should see the numbers 1 to 9 below."
+        LayoutText {#text} at (0,0) size 262x19
+          text run at (0,0) width 262: "You should see the numbers 1 to 9 below."
       LayoutBlockFlow {DIV} at (0,36) size 784x48
         LayoutText {#text} at (0,2) size 24x44
           text run at (0,2) width 24: "A"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/hover-subselector-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/hover-subselector-expected.png
index 2fd75b8..f5c2f30 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/hover-subselector-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/hover-subselector-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/hover-subselector-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/hover-subselector-expected.txt
index 5f7df57f..bae83d9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/hover-subselector-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/hover-subselector-expected.txt
@@ -9,21 +9,21 @@
             text run at (0,0) width 225: "This should turn red when hovered."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,46) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 778x39
-          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 349x19
-              text run at (51,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7327"
-          LayoutText {#text} at (399,0) size 778x39
-            text run at (399,0) width 379: " REGRESSION (r12869): :hover subselector does not work"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 777x39
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 348x19
+              text run at (51,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7327"
+          LayoutText {#text} at (399,0) size 777x39
+            text run at (399,0) width 378: " REGRESSION (r12869): :hover subselector does not work"
             text run at (0,20) width 94: "in quirks mode"
         LayoutText {#text} at (94,20) size 98x19
           text run at (94,20) width 98: ". This tests that "
-        LayoutInline {CODE} at (0,0) size 97x16
-          LayoutText {#text} at (191,23) size 97x16
-            text run at (191,23) width 97: "span#t:hover"
-        LayoutText {#text} at (287,20) size 171x19
-          text run at (287,20) width 171: " matches the hovered span."
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (192,23) size 96x16
+            text run at (192,23) width 96: "span#t:hover"
+        LayoutText {#text} at (288,20) size 170x19
+          text run at (288,20) width 170: " matches the hovered span."
 layer at (8,36) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/hsl-color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/hsl-color-expected.png
index efc26361..26738f6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/hsl-color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/hsl-color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/hsla-color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/hsla-color-expected.png
index d0280da6..2c73bd8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/hsla-color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/hsla-color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/hsla-color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/hsla-color-expected.txt
new file mode 100644
index 0000000..ee502c2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/hsla-color-expected.txt
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x570.56 [bgcolor=#FFFF00]
+      LayoutBlockFlow {H1} at (0,0) size 784x37 [color=#FF000080]
+        LayoutText {#text} at (0,0) size 394x36
+          text run at (0,0) width 394: "This should be red, alpha 0.5"
+      LayoutBlockFlow {H1} at (0,58.44) size 784x37 [color=#FF000080]
+        LayoutText {#text} at (0,0) size 455x36
+          text run at (0,0) width 455: "This should also be red, alpha 0.5"
+      LayoutBlockFlow {H1} at (0,116.88) size 784x37 [color=#00FF0000]
+        LayoutText {#text} at (0,0) size 424x36
+          text run at (0,0) width 424: "This should be green, alpha 0.0"
+      LayoutBlockFlow {H1} at (0,175.31) size 784x37 [color=#00FF0000]
+        LayoutText {#text} at (0,0) size 485x36
+          text run at (0,0) width 485: "This should also be green, alpha 0.0"
+      LayoutBlockFlow {H1} at (0,233.75) size 784x37 [color=#00FF00]
+        LayoutText {#text} at (0,0) size 424x36
+          text run at (0,0) width 424: "This should be green, alpha 1.0"
+      LayoutBlockFlow {H1} at (0,292.19) size 784x37 [color=#00FF00]
+        LayoutText {#text} at (0,0) size 485x36
+          text run at (0,0) width 485: "This should also be green, alpha 1.0"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-default-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-default-expected.png
index 615fbaf8..2478a42f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-default-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-default-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-from-image-composited-dynamic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-from-image-composited-dynamic-expected.png
index 82a6423..92b72b1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-from-image-composited-dynamic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-from-image-composited-dynamic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-from-image-composited-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-from-image-composited-expected.png
index 82a6423..92b72b1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-from-image-composited-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-from-image-composited-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-from-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-from-image-expected.png
index b899abc..762efeab 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-from-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/image-orientation/image-orientation-from-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/import-rule-regression-11590-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/import-rule-regression-11590-expected.png
index afdd05f..6909ad6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/import-rule-regression-11590-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/import-rule-regression-11590-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/import-rule-regression-11590-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/import-rule-regression-11590-expected.txt
index b3f136c..5272e6d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/import-rule-regression-11590-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/import-rule-regression-11590-expected.txt
@@ -4,15 +4,15 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {A} at (0,0) size 69x19 [color=#0000EE]
-          LayoutText {#text} at (51,0) size 69x19
-            text run at (51,0) width 69: "bug 11590"
-        LayoutText {#text} at (119,0) size 568x19
-          text run at (119,0) width 568: ": REGRESSION (r17726-r17742): Wikipedia page intermittently loads but doesn't render."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {A} at (0,0) size 68x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 68x19
+            text run at (51,0) width 68: "bug 11590"
+        LayoutText {#text} at (119,0) size 569x19
+          text run at (119,0) width 569: ": REGRESSION (r17726-r17742): Wikipedia page intermittently loads but doesn't render."
       LayoutBlockFlow {P} at (0,36) size 784x40
-        LayoutText {#text} at (0,0) size 749x39
-          text run at (0,0) width 749: "All four sides of the square below should be present for this test to really pass, and WebKit shouldn't crash for it to pass"
-          text run at (0,20) width 54: "partially."
+        LayoutText {#text} at (0,0) size 748x39
+          text run at (0,0) width 748: "All four sides of the square below should be present for this test to really pass, and WebKit shouldn't crash for it to pass"
+          text run at (0,20) width 53: "partially."
       LayoutBlockFlow {DIV} at (0,92) size 106x106 [border: (3px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/inline-properties-important-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/inline-properties-important-expected.png
index 5439cf62..4f13a5e6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/inline-properties-important-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/inline-properties-important-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalid-percentage-property-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalid-percentage-property-expected.png
index 06aece0..206e101 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalid-percentage-property-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalid-percentage-property-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalid-percentage-property-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalid-percentage-property-expected.txt
index c744ad8..33e8fd5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalid-percentage-property-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalid-percentage-property-expected.txt
@@ -4,19 +4,19 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x573.28
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {A} at (0,0) size 300x19 [color=#0000EE]
-          LayoutText {#text} at (51,0) size 300x19
-            text run at (51,0) width 300: "http://bugs.webkit.org/show_bug.cgi?id=15260"
-        LayoutText {#text} at (350,0) size 155x19
-          text run at (350,0) width 155: "Any styles defined after "
-        LayoutInline {ELEMENT} at (0,0) size 203x19
-          LayoutText {#text} at (504,0) size 9x19
-            text run at (504,0) width 9: "{"
-          LayoutInline {PROPERTY} at (0,0) size 195x19
-            LayoutText {#text} at (512,0) size 195x19
-              text run at (512,0) width 195: ":%} style are ignored by Safari"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {A} at (0,0) size 299x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 299x19
+            text run at (51,0) width 299: "http://bugs.webkit.org/show_bug.cgi?id=15260"
+        LayoutText {#text} at (350,0) size 154x19
+          text run at (350,0) width 154: "Any styles defined after "
+        LayoutInline {ELEMENT} at (0,0) size 202x19
+          LayoutText {#text} at (504,0) size 8x19
+            text run at (504,0) width 8: "{"
+          LayoutInline {PROPERTY} at (0,0) size 194x19
+            LayoutText {#text} at (512,0) size 194x19
+              text run at (512,0) width 194: ":%} style are ignored by Safari"
       LayoutBlockFlow {H3} at (0,38.72) size 784x23 [color=#008000]
         LayoutText {#text} at (0,0) size 254x22
           text run at (0,0) width 254: "This text should show in green."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-2-expected.png
index a81588b..287f1aa9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-2-expected.txt
index 6da1f10..26a861a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-2-expected.txt
@@ -7,8 +7,8 @@
         LayoutInline {A} at (0,0) size 60x19 [color=#0000EE]
           LayoutText {#text} at (0,0) size 60x19
             text run at (0,0) width 60: "bug 7118"
-        LayoutText {#text} at (59,0) size 355x19
-          text run at (59,0) width 355: ": Wrong property values do not get invalidated correctly."
+        LayoutText {#text} at (60,0) size 354x19
+          text run at (60,0) width 354: ": Wrong property values do not get invalidated correctly."
       LayoutBlockFlow (anonymous) at (0,36) size 784x0
         LayoutInline {DIV} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-3-expected.png
index 4e73518e..6852c7f0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-3-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-3-expected.txt
index 54cc833..6dd0d8c1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-3-expected.txt
@@ -7,8 +7,8 @@
         LayoutInline {A} at (0,0) size 60x19 [color=#0000EE]
           LayoutText {#text} at (0,0) size 60x19
             text run at (0,0) width 60: "bug 7118"
-        LayoutText {#text} at (59,0) size 355x19
-          text run at (59,0) width 355: ": Wrong property values do not get invalidated correctly."
+        LayoutText {#text} at (60,0) size 354x19
+          text run at (60,0) width 354: ": Wrong property values do not get invalidated correctly."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 379x19
           text run at (0,0) width 379: "The two words \"test\" should look the same, with no outline:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-expected.png
index a81588b..287f1aa9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-expected.txt
index 6da1f10..26a861a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/invalidation-errors-expected.txt
@@ -7,8 +7,8 @@
         LayoutInline {A} at (0,0) size 60x19 [color=#0000EE]
           LayoutText {#text} at (0,0) size 60x19
             text run at (0,0) width 60: "bug 7118"
-        LayoutText {#text} at (59,0) size 355x19
-          text run at (59,0) width 355: ": Wrong property values do not get invalidated correctly."
+        LayoutText {#text} at (60,0) size 354x19
+          text run at (60,0) width 354: ": Wrong property values do not get invalidated correctly."
       LayoutBlockFlow (anonymous) at (0,36) size 784x0
         LayoutInline {DIV} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/layerZOrderCrash-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/layerZOrderCrash-expected.png
index d0a7482..88a9956 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/layerZOrderCrash-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/layerZOrderCrash-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/layerZOrderCrash-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/layerZOrderCrash-expected.txt
index 6d3b610..f8a4e2e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/layerZOrderCrash-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/layerZOrderCrash-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow (relative positioned) {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 620x19
-          text run at (0,0) width 620: "To reproduce this bug outside of DumpRenderTree, click the link below. If broken, we will crash. "
-        LayoutBR {BR} at (619,15) size 1x0
+        LayoutText {#text} at (0,0) size 618x19
+          text run at (0,0) width 618: "To reproduce this bug outside of DumpRenderTree, click the link below. If broken, we will crash. "
+        LayoutBR {BR} at (618,15) size 0x0
 layer at (8,28) size 58x96
   LayoutTable (relative positioned) {TABLE} at (0,20) size 58x96
     LayoutTableSection {TBODY} at (0,0) size 58x96
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-after-floating-div-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-after-floating-div-expected.png
index 472a78c..f33374c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-after-floating-div-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-after-floating-div-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-after-floating-div-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-after-floating-div-expected.txt
index da4d4b3..7088e84 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-after-floating-div-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-after-floating-div-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x76
     LayoutBlockFlow {BODY} at (8,16) size 784x52
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 267x19
-          text run at (0,0) width 267: "There should be no red below, only green."
+        LayoutText {#text} at (0,0) size 266x19
+          text run at (0,0) width 266: "There should be no red below, only green."
       LayoutBlockFlow {DIV} at (0,36) size 16x16 [color=#008000] [bgcolor=#FF0000]
         LayoutText {#text} at (0,0) size 16x16
           text run at (0,0) width 16: "X"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-height-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-height-expected.png
index 40bf002..6adc3e9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-height-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-height-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-height-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-height-expected.txt
index 6a1f7468..344b80fd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-height-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-height-expected.txt
@@ -4,20 +4,20 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {A} at (0,0) size 121x19 [color=#0000EE]
-          LayoutText {#text} at (51,0) size 121x19
-            text run at (51,0) width 121: "Bugzilla Bug 9934"
-        LayoutText {#text} at (171,0) size 452x19
-          text run at (171,0) width 452: " Selecting text in text field with {line-height:100%} causes it to bounce."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {A} at (0,0) size 120x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 120x19
+            text run at (51,0) width 120: "Bugzilla Bug 9934"
+        LayoutText {#text} at (171,0) size 451x19
+          text run at (171,0) width 451: " Selecting text in text field with {line-height:100%} causes it to bounce."
       LayoutBlockFlow {DIV} at (0,20) size 784x22
         LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,42) size 784x40
         LayoutText {#text} at (0,0) size 735x39
           text run at (0,0) width 574: "Select the text in the text field using horizontal mouse movements, then drag up and down. "
           text run at (574,0) width 161: "The text should not move"
-          text run at (0,20) width 61: "vertically."
+          text run at (0,20) width 60: "vertically."
 layer at (10,31) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
     LayoutText {#text} at (0,0) size 76x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-height-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-height-overflow-expected.txt
index f888588..124731e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-height-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/line-height-overflow-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x32804
     LayoutBlockFlow {BODY} at (8,8) size 769x32788
       LayoutBlockFlow (anonymous) at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 558x19
-          text run at (0,0) width 558: "You should see a large green block below that is 32,768px tall. No red should be visible."
-        LayoutBR {BR} at (557,15) size 1x0
+        LayoutText {#text} at (0,0) size 557x19
+          text run at (0,0) width 557: "You should see a large green block below that is 32,768px tall. No red should be visible."
+        LayoutBR {BR} at (557,15) size 0x0
       LayoutBlockFlow {DIV} at (0,20) size 769x32768 [bgcolor=#FF0000]
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,28) size 769x32768 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/link-outside-head-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/link-outside-head-expected.png
index 931c5937..d3bb8b1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/link-outside-head-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/link-outside-head-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/link-outside-head-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/link-outside-head-expected.txt
index aea43362..6b5509a6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/link-outside-head-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/link-outside-head-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 562x19
-          text run at (0,0) width 302: "You should see a 100x100 green square below. "
-          text run at (301,0) width 261: "If you see any red then the test has failed."
+        LayoutText {#text} at (0,0) size 560x19
+          text run at (0,0) width 300: "You should see a 100x100 green square below. "
+          text run at (300,0) width 260: "If you see any red then the test has failed."
       LayoutBlockFlow {DIV} at (0,20) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/live-cssrules-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/live-cssrules-expected.png
index 4a21693..0f1d0a50 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/live-cssrules-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/live-cssrules-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/live-cssrules-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/live-cssrules-expected.txt
index d9c580ac..00a5a4b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/live-cssrules-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/live-cssrules-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 94x19
-          text run at (0,0) width 94: "Test: PASSED"
+        LayoutText {#text} at (0,0) size 92x19
+          text run at (0,0) width 92: "Test: PASSED"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/negative-leading-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/negative-leading-expected.png
index a338049..f318cd9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/negative-leading-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/negative-leading-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/negative-nth-child-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/negative-nth-child-expected.png
index e6ca0378..0a84b4e6e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/negative-nth-child-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/negative-nth-child-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/negative-nth-child-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/negative-nth-child-expected.txt
index 369800f..767e695 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/negative-nth-child-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/negative-nth-child-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 438x19
-          text run at (0,0) width 223: "There should be only green below. "
-          text run at (222,0) width 216: "If you see RED the test has failed."
+        LayoutText {#text} at (0,0) size 437x19
+          text run at (0,0) width 222: "There should be only green below. "
+          text run at (222,0) width 215: "If you see RED the test has failed."
       LayoutBlockFlow {DIV} at (0,20) size 784x16 [bgcolor=#008000]
       LayoutBlockFlow {DIV} at (0,36) size 784x16 [bgcolor=#008000]
       LayoutBlockFlow {DIV} at (0,52) size 784x16 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/nth-child-dynamic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/nth-child-dynamic-expected.png
index ed438b7..47858ad 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/nth-child-dynamic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/nth-child-dynamic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/nth-child-dynamic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/nth-child-dynamic-expected.txt
index 351c1f83..e9d6b5b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/nth-child-dynamic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/nth-child-dynamic-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x582
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 323x19
-          text run at (0,0) width 323: "Test :nth-child() when dynamically adding siblings."
+        LayoutText {#text} at (0,0) size 322x19
+          text run at (0,0) width 322: "Test :nth-child() when dynamically adding siblings."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
           LayoutText {#text} at (0,0) size 305x19
@@ -50,39 +50,39 @@
           LayoutText {#text} at (0,0) size 9x19
             text run at (0,0) width 9: "P"
       LayoutBlockFlow {DIV} at (10,314) size 764x252 [border: (1px solid #000000)]
-        LayoutText {#text} at (6,6) size 261x19
-          text run at (6,6) width 261: "child 0: PASS: found color rgb(255, 0, 0)"
-        LayoutBR {BR} at (266,21) size 1x0
-        LayoutText {#text} at (6,26) size 245x19
-          text run at (6,26) width 245: "child 1: PASS: found color rgb(0, 0, 0)"
-        LayoutBR {BR} at (250,41) size 1x0
-        LayoutText {#text} at (6,46) size 245x19
-          text run at (6,46) width 245: "child 2: PASS: found color rgb(0, 0, 0)"
-        LayoutBR {BR} at (250,61) size 1x0
-        LayoutText {#text} at (6,66) size 261x19
-          text run at (6,66) width 261: "child 3: PASS: found color rgb(255, 0, 0)"
-        LayoutBR {BR} at (266,81) size 1x0
-        LayoutText {#text} at (6,86) size 245x19
-          text run at (6,86) width 245: "child 4: PASS: found color rgb(0, 0, 0)"
-        LayoutBR {BR} at (250,101) size 1x0
-        LayoutText {#text} at (6,106) size 245x19
-          text run at (6,106) width 245: "child 5: PASS: found color rgb(0, 0, 0)"
-        LayoutBR {BR} at (250,121) size 1x0
-        LayoutText {#text} at (6,126) size 261x19
-          text run at (6,126) width 261: "child 6: PASS: found color rgb(255, 0, 0)"
-        LayoutBR {BR} at (266,141) size 1x0
-        LayoutText {#text} at (6,146) size 245x19
-          text run at (6,146) width 245: "child 7: PASS: found color rgb(0, 0, 0)"
-        LayoutBR {BR} at (250,161) size 1x0
-        LayoutText {#text} at (6,166) size 245x19
-          text run at (6,166) width 245: "child 8: PASS: found color rgb(0, 0, 0)"
-        LayoutBR {BR} at (250,181) size 1x0
-        LayoutText {#text} at (6,186) size 261x19
-          text run at (6,186) width 261: "child 9: PASS: found color rgb(255, 0, 0)"
-        LayoutBR {BR} at (266,201) size 1x0
-        LayoutText {#text} at (6,206) size 253x19
-          text run at (6,206) width 253: "child 10: PASS: found color rgb(0, 0, 0)"
-        LayoutBR {BR} at (258,221) size 1x0
-        LayoutText {#text} at (6,226) size 282x19
-          text run at (6,226) width 282: "div 1: PASS: found color rgb(153, 153, 255)"
-        LayoutBR {BR} at (287,241) size 1x0
+        LayoutText {#text} at (6,6) size 260x19
+          text run at (6,6) width 260: "child 0: PASS: found color rgb(255, 0, 0)"
+        LayoutBR {BR} at (266,21) size 0x0
+        LayoutText {#text} at (6,26) size 244x19
+          text run at (6,26) width 244: "child 1: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,41) size 0x0
+        LayoutText {#text} at (6,46) size 244x19
+          text run at (6,46) width 244: "child 2: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,61) size 0x0
+        LayoutText {#text} at (6,66) size 260x19
+          text run at (6,66) width 260: "child 3: PASS: found color rgb(255, 0, 0)"
+        LayoutBR {BR} at (266,81) size 0x0
+        LayoutText {#text} at (6,86) size 244x19
+          text run at (6,86) width 244: "child 4: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,101) size 0x0
+        LayoutText {#text} at (6,106) size 244x19
+          text run at (6,106) width 244: "child 5: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,121) size 0x0
+        LayoutText {#text} at (6,126) size 260x19
+          text run at (6,126) width 260: "child 6: PASS: found color rgb(255, 0, 0)"
+        LayoutBR {BR} at (266,141) size 0x0
+        LayoutText {#text} at (6,146) size 244x19
+          text run at (6,146) width 244: "child 7: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,161) size 0x0
+        LayoutText {#text} at (6,166) size 244x19
+          text run at (6,166) width 244: "child 8: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (250,181) size 0x0
+        LayoutText {#text} at (6,186) size 260x19
+          text run at (6,186) width 260: "child 9: PASS: found color rgb(255, 0, 0)"
+        LayoutBR {BR} at (266,201) size 0x0
+        LayoutText {#text} at (6,206) size 252x19
+          text run at (6,206) width 252: "child 10: PASS: found color rgb(0, 0, 0)"
+        LayoutBR {BR} at (258,221) size 0x0
+        LayoutText {#text} at (6,226) size 281x19
+          text run at (6,226) width 281: "div 1: PASS: found color rgb(153, 153, 255)"
+        LayoutBR {BR} at (287,241) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/position-negative-top-margin-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/position-negative-top-margin-expected.png
index 4b46a53..eb1c3948 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/position-negative-top-margin-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/position-negative-top-margin-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/position-negative-top-margin-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/position-negative-top-margin-expected.txt
index cd976d5..bf31936e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/position-negative-top-margin-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/position-negative-top-margin-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 784x30 [bgcolor=#F5F5DC]
-layer at (8,14) size 545x20
-  LayoutBlockFlow (positioned) {DIV} at (8,14) size 545.08x20
+layer at (8,14) size 546x20
+  LayoutBlockFlow (positioned) {DIV} at (8,14) size 546x20
     LayoutText {#text} at (0,0) size 546x19
       text run at (0,0) width 546: "This text should appear inside the beige bar, due the the element's negative margin-top."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.png
index 21ca39a..a674b888 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.txt
index edb29f9..f5881205 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x272
     LayoutBlockFlow {BODY} at (8,16) size 784x248
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 775x39
-          text run at (0,0) width 775: "Test passes if each of the orange boxes is sandwiched between two blue boxes and all blue and orange boxes are below the"
+        LayoutText {#text} at (0,0) size 774x39
+          text run at (0,0) width 774: "Test passes if each of the orange boxes is sandwiched between two blue boxes and all blue and orange boxes are below the"
           text run at (0,20) width 99: "big yellow box."
 layer at (8,72) size 192x192
   LayoutBlockFlow (relative positioned) {DIV} at (0,56) size 192x192 [bgcolor=#FFFF00]
@@ -14,39 +14,39 @@
     LayoutBlockFlow (anonymous) at (0,80) size 192x20
     LayoutBlockFlow (anonymous) at (0,120) size 192x20
       LayoutText {#text} at (0,0) size 0x0
-layer at (8,264) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
-    LayoutText {#text} at (0,0) size 65x19
-      text run at (0,0) width 65: "Filler Text"
+layer at (8,264) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
+    LayoutText {#text} at (0,0) size 64x19
+      text run at (0,0) width 64: "Filler Text"
 layer at (8,284) size 192x20
   LayoutBlockFlow (anonymous) (relative positioned) at (0,20) size 192x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
-layer at (8,304) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
-layer at (8,496) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19
-    LayoutText {#text} at (0,0) size 65x19
-      text run at (0,0) width 65: "Filler Text"
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
+layer at (8,304) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
+layer at (8,496) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19
+    LayoutText {#text} at (0,0) size 64x19
+      text run at (0,0) width 64: "Filler Text"
 layer at (8,516) size 192x20
   LayoutBlockFlow (anonymous) (relative positioned) at (0,60) size 192x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
-layer at (8,344) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
+layer at (8,344) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
     LayoutText {#text} at (0,0) size 0x0
-layer at (8,536) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19
-    LayoutText {#text} at (0,0) size 65x19
-      text run at (0,0) width 65: "Filler Text"
+layer at (8,536) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19
+    LayoutText {#text} at (0,0) size 64x19
+      text run at (0,0) width 64: "Filler Text"
 layer at (8,364) size 192x20
   LayoutBlockFlow (anonymous) (relative positioned) at (0,100) size 192x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
-layer at (8,384) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
-    LayoutText {#text} at (0,0) size 65x19
-      text run at (0,0) width 65: "Filler Text"
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
+layer at (8,384) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
+    LayoutText {#text} at (0,0) size 64x19
+      text run at (0,0) width 64: "Filler Text"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.png
index 3226002..208cb04 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.txt
index efdccc8..c4293376 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.txt
@@ -4,44 +4,44 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x272
     LayoutBlockFlow {BODY} at (8,16) size 784x248
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 782x39
-          text run at (0,0) width 782: "Test passes if each of the orange boxes is sandwiched between two blue boxes and two groups of blue and orange boxes are"
+        LayoutText {#text} at (0,0) size 781x39
+          text run at (0,0) width 781: "Test passes if each of the orange boxes is sandwiched between two blue boxes and two groups of blue and orange boxes are"
           text run at (0,20) width 163: "inside the big yellow box "
           text run at (163,20) width 227: "and the remaining group is below it."
 layer at (8,72) size 192x192
   LayoutBlockFlow (relative positioned) {DIV} at (0,56) size 192x192 [bgcolor=#FFFF00]
     LayoutBlockFlow (anonymous) at (0,0) size 192x20
-      LayoutInline {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
-        LayoutText {#text} at (0,0) size 65x19
-          text run at (0,0) width 65: "Filler Text"
+      LayoutInline {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
+        LayoutText {#text} at (0,0) size 64x19
+          text run at (0,0) width 64: "Filler Text"
     LayoutBlockFlow (anonymous) at (0,20) size 192x20
       LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-        LayoutText {#text} at (0,0) size 65x19
-          text run at (0,0) width 65: "Filler Text"
+        LayoutText {#text} at (0,0) size 64x19
+          text run at (0,0) width 64: "Filler Text"
     LayoutBlockFlow (anonymous) at (0,40) size 192x20
-      LayoutInline {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
+      LayoutInline {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
     LayoutBlockFlow (anonymous) at (0,80) size 192x20
-      LayoutInline {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
+      LayoutInline {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
         LayoutText {#text} at (0,0) size 0x0
     LayoutBlockFlow (anonymous) at (0,100) size 192x20
       LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-        LayoutText {#text} at (0,0) size 65x19
-          text run at (0,0) width 65: "Filler Text"
+        LayoutText {#text} at (0,0) size 64x19
+          text run at (0,0) width 64: "Filler Text"
     LayoutBlockFlow (anonymous) at (0,120) size 192x20
-      LayoutInline {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
-        LayoutText {#text} at (0,0) size 65x19
-          text run at (0,0) width 65: "Filler Text"
+      LayoutInline {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
+        LayoutText {#text} at (0,0) size 64x19
+          text run at (0,0) width 64: "Filler Text"
       LayoutText {#text} at (0,0) size 0x0
-layer at (8,304) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19
-    LayoutText {#text} at (0,0) size 65x19
-      text run at (0,0) width 65: "Filler Text"
+layer at (8,304) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19
+    LayoutText {#text} at (0,0) size 64x19
+      text run at (0,0) width 64: "Filler Text"
 layer at (8,324) size 192x20
   LayoutBlockFlow (anonymous) (relative positioned) at (0,60) size 192x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
-layer at (8,344) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19
-    LayoutText {#text} at (0,0) size 65x19
-      text run at (0,0) width 65: "Filler Text"
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
+layer at (8,344) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19
+    LayoutText {#text} at (0,0) size 64x19
+      text run at (0,0) width 64: "Filler Text"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-expected.png
index ffdf6f2..b5a926a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-expected.txt
index a2240d48..6567d73b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x252
     LayoutBlockFlow {BODY} at (8,16) size 784x228
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 722x19
-          text run at (0,0) width 722: "Test passes if each orange box is between two blue boxes and all orange and blue boxes are below the yellow box."
+        LayoutText {#text} at (0,0) size 721x19
+          text run at (0,0) width 721: "Test passes if each orange box is between two blue boxes and all orange and blue boxes are below the yellow box."
 layer at (8,52) size 192x192
   LayoutBlockFlow (relative positioned) {DIV} at (0,36) size 192x192 [bgcolor=#FFFF00]
     LayoutBlockFlow (anonymous) at (0,0) size 192x20
@@ -13,39 +13,39 @@
     LayoutBlockFlow (anonymous) at (0,80) size 192x20
     LayoutBlockFlow (anonymous) at (0,120) size 192x20
       LayoutText {#text} at (0,0) size 0x0
-layer at (8,244) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
-    LayoutText {#text} at (0,0) size 65x19
-      text run at (0,0) width 65: "Filler Text"
+layer at (8,244) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
+    LayoutText {#text} at (0,0) size 64x19
+      text run at (0,0) width 64: "Filler Text"
 layer at (8,264) size 192x20
   LayoutBlockFlow (anonymous) (relative positioned) at (0,20) size 192x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
-layer at (8,284) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
-layer at (8,476) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19
-    LayoutText {#text} at (0,0) size 65x19
-      text run at (0,0) width 65: "Filler Text"
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
+layer at (8,284) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
+layer at (8,476) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19
+    LayoutText {#text} at (0,0) size 64x19
+      text run at (0,0) width 64: "Filler Text"
 layer at (8,496) size 192x20
   LayoutBlockFlow (anonymous) (relative positioned) at (0,60) size 192x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
-layer at (8,324) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
+layer at (8,324) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
     LayoutText {#text} at (0,0) size 0x0
-layer at (8,516) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19
-    LayoutText {#text} at (0,0) size 65x19
-      text run at (0,0) width 65: "Filler Text"
+layer at (8,516) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19
+    LayoutText {#text} at (0,0) size 64x19
+      text run at (0,0) width 64: "Filler Text"
 layer at (8,344) size 192x20
   LayoutBlockFlow (anonymous) (relative positioned) at (0,100) size 192x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
-layer at (8,364) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
-    LayoutText {#text} at (0,0) size 65x19
-      text run at (0,0) width 65: "Filler Text"
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
+layer at (8,364) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
+    LayoutText {#text} at (0,0) size 64x19
+      text run at (0,0) width 64: "Filler Text"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.png
index 6efde4eb7..6bb6162 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.txt
index 4efdefb..4db7461 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x272
     LayoutBlockFlow {BODY} at (8,16) size 784x248
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 775x39
-          text run at (0,0) width 775: "Test passes if each of the orange boxes is sandwiched between two blue boxes and all blue and orange boxes are below the"
+        LayoutText {#text} at (0,0) size 774x39
+          text run at (0,0) width 774: "Test passes if each of the orange boxes is sandwiched between two blue boxes and all blue and orange boxes are below the"
           text run at (0,20) width 99: "big yellow box."
 layer at (8,72) size 192x192
   LayoutBlockFlow (relative positioned) {DIV} at (0,56) size 192x192 [bgcolor=#FFFF00]
@@ -14,34 +14,34 @@
     LayoutBlockFlow (anonymous) at (0,80) size 192x20
     LayoutBlockFlow (anonymous) at (0,120) size 192x20
       LayoutText {#text} at (0,0) size 0x0
-layer at (8,264) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
-    LayoutText {#text} at (0,0) size 65x19
-      text run at (0,0) width 65: "Filler Text"
+layer at (8,264) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
+    LayoutText {#text} at (0,0) size 64x19
+      text run at (0,0) width 64: "Filler Text"
 layer at (8,284) size 192x20
   LayoutBlockFlow (anonymous) (relative positioned) at (0,20) size 192x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
-layer at (8,304) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
-    LayoutText {#text} at (0,0) size 65x19
-      text run at (0,0) width 65: "Filler Text"
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
+layer at (8,304) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
+    LayoutText {#text} at (0,0) size 64x19
+      text run at (0,0) width 64: "Filler Text"
 layer at (8,324) size 192x20
   LayoutBlockFlow (anonymous) (relative positioned) at (0,60) size 192x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
-layer at (8,344) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
-    LayoutText {#text} at (0,0) size 65x19
-      text run at (0,0) width 65: "Filler Text"
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
+layer at (8,344) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
+    LayoutText {#text} at (0,0) size 64x19
+      text run at (0,0) width 64: "Filler Text"
 layer at (8,364) size 192x20
   LayoutBlockFlow (anonymous) (relative positioned) at (0,100) size 192x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
-layer at (8,384) size 65x19
-  LayoutInline (relative positioned) {DIV} at (0,0) size 65x19 [bgcolor=#0000FF]
-    LayoutText {#text} at (0,0) size 65x19
-      text run at (0,0) width 65: "Filler Text"
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
+layer at (8,384) size 64x19
+  LayoutInline (relative positioned) {DIV} at (0,0) size 64x19 [bgcolor=#0000FF]
+    LayoutText {#text} at (0,0) size 64x19
+      text run at (0,0) width 64: "Filler Text"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.png
index ebf5727..94c743d3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.txt
index 170d95a..80bf051a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x100
     LayoutBlockFlow {BODY} at (8,16) size 784x76
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 559x19
-          text run at (0,0) width 559: "Test passes if the orange box sits atop the blue box and both are in the center of the view."
+        LayoutText {#text} at (0,0) size 557x19
+          text run at (0,0) width 557: "Test passes if the orange box sits atop the blue box and both are in the center of the view."
       LayoutBlockFlow (anonymous) at (0,36) size 784x0
       LayoutBlockFlow (anonymous) at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 0x0
@@ -19,13 +19,13 @@
 layer at (200,244) size 784x20 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
   LayoutBlockFlow (anonymous) (relative positioned) at (0,36) size 784x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
-layer at (200,264) size 65x19
-  LayoutInline (relative positioned) {SPAN} at (0,0) size 65x19 [bgcolor=#FFFF00]
-    LayoutInline {SPAN} at (0,0) size 65x19 [bgcolor=#0000FF]
-      LayoutInline {I} at (0,0) size 65x19
-        LayoutText {#text} at (0,0) size 65x19
-          text run at (0,0) width 65: "Filler Text"
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
+layer at (200,264) size 64x19
+  LayoutInline (relative positioned) {SPAN} at (0,0) size 64x19 [bgcolor=#FFFF00]
+    LayoutInline {SPAN} at (0,0) size 64x19 [bgcolor=#0000FF]
+      LayoutInline {I} at (0,0) size 64x19
+        LayoutText {#text} at (0,0) size 64x19
+          text run at (0,0) width 64: "Filler Text"
       LayoutText {#text} at (0,0) size 0x0
     LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.png
index ebf5727..94c743d3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.txt
index 170d95a..80bf051a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x100
     LayoutBlockFlow {BODY} at (8,16) size 784x76
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 559x19
-          text run at (0,0) width 559: "Test passes if the orange box sits atop the blue box and both are in the center of the view."
+        LayoutText {#text} at (0,0) size 557x19
+          text run at (0,0) width 557: "Test passes if the orange box sits atop the blue box and both are in the center of the view."
       LayoutBlockFlow (anonymous) at (0,36) size 784x0
       LayoutBlockFlow (anonymous) at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 0x0
@@ -19,13 +19,13 @@
 layer at (200,244) size 784x20 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
   LayoutBlockFlow (anonymous) (relative positioned) at (0,36) size 784x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
-layer at (200,264) size 65x19
-  LayoutInline (relative positioned) {SPAN} at (0,0) size 65x19 [bgcolor=#FFFF00]
-    LayoutInline {SPAN} at (0,0) size 65x19 [bgcolor=#0000FF]
-      LayoutInline {I} at (0,0) size 65x19
-        LayoutText {#text} at (0,0) size 65x19
-          text run at (0,0) width 65: "Filler Text"
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
+layer at (200,264) size 64x19
+  LayoutInline (relative positioned) {SPAN} at (0,0) size 64x19 [bgcolor=#FFFF00]
+    LayoutInline {SPAN} at (0,0) size 64x19 [bgcolor=#0000FF]
+      LayoutInline {I} at (0,0) size 64x19
+        LayoutText {#text} at (0,0) size 64x19
+          text run at (0,0) width 64: "Filler Text"
       LayoutText {#text} at (0,0) size 0x0
     LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.png
index 3bcf8f9..d497a897 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.txt
index ed07253..2cf91b5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x100
     LayoutBlockFlow {BODY} at (8,16) size 784x76
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 559x19
-          text run at (0,0) width 559: "Test passes if the orange box sits atop the blue box and both are in the center of the view."
+        LayoutText {#text} at (0,0) size 557x19
+          text run at (0,0) width 557: "Test passes if the orange box sits atop the blue box and both are in the center of the view."
       LayoutBlockFlow (anonymous) at (0,36) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0 [bgcolor=#FFFF00]
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,56) size 784x20
-        LayoutInline {SPAN} at (0,0) size 65x19 [bgcolor=#FFFF00]
+        LayoutInline {SPAN} at (0,0) size 64x19 [bgcolor=#FFFF00]
           LayoutText {#text} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
 layer at (200,244) size 0x0
@@ -21,11 +21,11 @@
 layer at (200,244) size 784x20 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
   LayoutBlockFlow (anonymous) (relative positioned) at (0,36) size 784x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
-layer at (200,264) size 65x19
-  LayoutInline (relative positioned) {SPAN} at (0,0) size 65x19 [bgcolor=#0000FF]
-    LayoutInline {I} at (0,0) size 65x19
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
+layer at (200,264) size 64x19
+  LayoutInline (relative positioned) {SPAN} at (0,0) size 64x19 [bgcolor=#0000FF]
+    LayoutInline {I} at (0,0) size 64x19
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
     LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-expected.png
index ebf5727..94c743d3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-expected.txt
index 170d95a..80bf051a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-ancestor-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x100
     LayoutBlockFlow {BODY} at (8,16) size 784x76
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 559x19
-          text run at (0,0) width 559: "Test passes if the orange box sits atop the blue box and both are in the center of the view."
+        LayoutText {#text} at (0,0) size 557x19
+          text run at (0,0) width 557: "Test passes if the orange box sits atop the blue box and both are in the center of the view."
       LayoutBlockFlow (anonymous) at (0,36) size 784x0
       LayoutBlockFlow (anonymous) at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 0x0
@@ -19,13 +19,13 @@
 layer at (200,244) size 784x20 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
   LayoutBlockFlow (anonymous) (relative positioned) at (0,36) size 784x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
-layer at (200,264) size 65x19
-  LayoutInline (relative positioned) {SPAN} at (0,0) size 65x19 [bgcolor=#FFFF00]
-    LayoutInline {SPAN} at (0,0) size 65x19 [bgcolor=#0000FF]
-      LayoutInline {I} at (0,0) size 65x19
-        LayoutText {#text} at (0,0) size 65x19
-          text run at (0,0) width 65: "Filler Text"
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
+layer at (200,264) size 64x19
+  LayoutInline (relative positioned) {SPAN} at (0,0) size 64x19 [bgcolor=#FFFF00]
+    LayoutInline {SPAN} at (0,0) size 64x19 [bgcolor=#0000FF]
+      LayoutInline {I} at (0,0) size 64x19
+        LayoutText {#text} at (0,0) size 64x19
+          text run at (0,0) width 64: "Filler Text"
       LayoutText {#text} at (0,0) size 0x0
     LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.png
index ebf5727..94c743d3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.txt
index f7759553d..4f0f0ed 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x100
     LayoutBlockFlow {BODY} at (8,16) size 784x76
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 559x19
-          text run at (0,0) width 559: "Test passes if the orange box sits atop the blue box and both are in the center of the view."
+        LayoutText {#text} at (0,0) size 557x19
+          text run at (0,0) width 557: "Test passes if the orange box sits atop the blue box and both are in the center of the view."
       LayoutBlockFlow (anonymous) at (0,36) size 784x0
       LayoutBlockFlow (anonymous) at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 0x0
@@ -17,11 +17,11 @@
 layer at (200,244) size 784x20 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
   LayoutBlockFlow (anonymous) (relative positioned) at (0,36) size 784x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
-layer at (200,264) size 65x19
-  LayoutInline (relative positioned) {SPAN} at (0,0) size 65x19 [bgcolor=#0000FF]
-    LayoutInline {I} at (0,0) size 65x19
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
+layer at (200,264) size 64x19
+  LayoutInline (relative positioned) {SPAN} at (0,0) size 64x19 [bgcolor=#0000FF]
+    LayoutInline {I} at (0,0) size 64x19
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
     LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.png
index 0d549b7..33bb7587 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.txt
index a9d441a2..d223cf4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x100
     LayoutBlockFlow {BODY} at (8,16) size 784x76
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 565x19
-          text run at (0,0) width 565: "Test passes if the orange box sits atop the blue box and both are in the top left of the view."
+        LayoutText {#text} at (0,0) size 563x19
+          text run at (0,0) width 563: "Test passes if the orange box sits atop the blue box and both are in the top left of the view."
       LayoutBlockFlow (anonymous) at (0,36) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0 [bgcolor=#0000FF]
           LayoutText {#text} at (0,0) size 0x0
@@ -13,12 +13,12 @@
             LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,36) size 784x20
         LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-          LayoutText {#text} at (0,0) size 65x19
-            text run at (0,0) width 65: "Filler Text"
+          LayoutText {#text} at (0,0) size 64x19
+            text run at (0,0) width 64: "Filler Text"
       LayoutBlockFlow (anonymous) at (0,56) size 784x20
-        LayoutInline {SPAN} at (0,0) size 65x19 [bgcolor=#0000FF]
-          LayoutInline {I} at (0,0) size 65x19
-            LayoutText {#text} at (0,0) size 65x19
-              text run at (0,0) width 65: "Filler Text"
+        LayoutInline {SPAN} at (0,0) size 64x19 [bgcolor=#0000FF]
+          LayoutInline {I} at (0,0) size 64x19
+            LayoutText {#text} at (0,0) size 64x19
+              text run at (0,0) width 64: "Filler Text"
           LayoutText {#text} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.png
index d6991f9bb..eafb017 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.txt
index 709301a6..d613fc6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.txt
@@ -4,20 +4,20 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x100
     LayoutBlockFlow {BODY} at (8,16) size 784x76
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 559x19
-          text run at (0,0) width 559: "Test passes if the blue box sits atop the orange box and both are in the center of the view."
+        LayoutText {#text} at (0,0) size 557x19
+          text run at (0,0) width 557: "Test passes if the blue box sits atop the orange box and both are in the center of the view."
       LayoutBlockFlow {DIV} at (0,36) size 192x40 [bgcolor=#FF0000]
         LayoutBlockFlow (anonymous) at (0,0) size 192x20
         LayoutBlockFlow (anonymous) at (0,40) size 192x0
           LayoutText {#text} at (0,0) size 0x0
-layer at (200,244) size 73x19
-  LayoutInline (relative positioned) {SPAN} at (0,0) size 73x19 [bgcolor=#0000FF]
-    LayoutText {#text} at (0,0) size 73x19
-      text run at (0,0) width 73: "Filler Text1"
+layer at (200,244) size 72x19
+  LayoutInline (relative positioned) {SPAN} at (0,0) size 72x19 [bgcolor=#0000FF]
+    LayoutText {#text} at (0,0) size 72x19
+      text run at (0,0) width 72: "Filler Text1"
 layer at (200,264) size 192x20
   LayoutBlockFlow (anonymous) (relative positioned) at (0,20) size 192x20
     LayoutBlockFlow {DIV} at (0,0) size 192x20 [bgcolor=#FFA500]
-      LayoutText {#text} at (0,0) size 65x19
-        text run at (0,0) width 65: "Filler Text"
+      LayoutText {#text} at (0,0) size 64x19
+        text run at (0,0) width 64: "Filler Text"
 layer at (200,284) size 0x0
   LayoutInline (relative positioned) {SPAN} at (0,0) size 0x0 [bgcolor=#0000FF]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-expected.png
index 1eae46c..081614d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-expected.txt
index f2a5042..400962e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,18) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 670x19
-          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 349x19
-              text run at (51,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9547"
-          LayoutText {#text} at (399,0) size 322x19
-            text run at (399,0) width 5: " "
-            text run at (403,0) width 318: "Resize corner does not track the mouse accurately"
-        LayoutText {#text} at (720,0) size 5x19
-          text run at (720,0) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 669x19
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 348x19
+              text run at (51,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9547"
+          LayoutText {#text} at (399,0) size 321x19
+            text run at (399,0) width 4: " "
+            text run at (403,0) width 317: "Resize corner does not track the mouse accurately"
+        LayoutText {#text} at (720,0) size 4x19
+          text run at (720,0) width 4: "."
       LayoutBlockFlow (anonymous) at (0,189) size 784x363
         LayoutText {#text} at (169,106) size 4x19
           text run at (169,106) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-expected.png
index fa400f9..5c4af4f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-expected.txt
index cf7b541..fda76b1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x542
       LayoutBlockFlow {P} at (0,18) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 646x19
-          LayoutInline {A} at (0,0) size 307x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 307x19
-              text run at (51,0) width 307: "https://bugs.webkit.org/show_bug.cgi?id=22118"
-          LayoutText {#text} at (357,0) size 340x19
-            text run at (357,0) width 5: " "
-            text run at (361,0) width 336: "Resize corner does not track in transformed elements"
-        LayoutText {#text} at (696,0) size 5x19
-          text run at (696,0) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 644x19
+          LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 305x19
+              text run at (51,0) width 305: "https://bugs.webkit.org/show_bug.cgi?id=22118"
+          LayoutText {#text} at (356,0) size 339x19
+            text run at (356,0) width 4: " "
+            text run at (360,0) width 335: "Resize corner does not track in transformed elements"
+        LayoutText {#text} at (695,0) size 4x19
+          text run at (695,0) width 4: "."
 layer at (8,8) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,62) size 784x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-iframe-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-iframe-expected.png
index d36981b..7bb3805 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-iframe-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-iframe-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-iframe-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-iframe-expected.txt
index 40e9a40..865ffa4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-iframe-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-iframe-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,18) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 552x19
-          LayoutInline {A} at (0,0) size 300x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 300x19
-              text run at (51,0) width 300: "https://bugs.webkit.org/show_bug.cgi?id=9221"
+          LayoutInline {A} at (0,0) size 299x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 299x19
+              text run at (51,0) width 299: "https://bugs.webkit.org/show_bug.cgi?id=9221"
           LayoutText {#text} at (350,0) size 253x19
-            text run at (350,0) width 5: " "
+            text run at (350,0) width 4: " "
             text run at (354,0) width 249: "resize property doesn't work on iframes"
-        LayoutText {#text} at (602,0) size 5x19
-          text run at (602,0) width 5: "."
+        LayoutText {#text} at (603,0) size 4x19
+          text run at (603,0) width 4: "."
       LayoutBlockFlow (anonymous) at (0,64) size 784x230
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,8) size 784x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/rtl-ordering-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/rtl-ordering-expected.png
index d795d58..bae1ed9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/rtl-ordering-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/rtl-ordering-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/rtl-ordering-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/rtl-ordering-expected.txt
index 11501fbe..1a03e399 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/rtl-ordering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/rtl-ordering-expected.txt
@@ -10,11 +10,11 @@
           LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
             LayoutText {#text} at (212,0) size 348x19
               text run at (212,0) width 348 LTR override: "http://bugzilla.opendarwin.org/show_bug.cgi?id=6334"
-          LayoutText {#text} at (559,0) size 712x39
-            text run at (559,0) width 153 LTR override: " REGRESSION: <input"
-            text run at (0,20) width 370 LTR override: "type=\"button\"> text is reversed on \"visual Hebrew\" pages"
-        LayoutText {#text} at (369,20) size 5x19
-          text run at (369,20) width 5 LTR override: "."
+          LayoutText {#text} at (560,0) size 712x39
+            text run at (560,0) width 152 LTR override: " REGRESSION: <input"
+            text run at (0,20) width 371 LTR override: "type=\"button\"> text is reversed on \"visual Hebrew\" pages"
+        LayoutText {#text} at (371,20) size 4x19
+          text run at (371,20) width 4 LTR override: "."
       LayoutBlockFlow {P} at (0,74) size 784x20
         LayoutText {#text} at (0,0) size 295x19
           text run at (0,0) width 295 LTR override: "The text on both buttons should like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/selector-set-attribute-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/selector-set-attribute-expected.png
index 435be23..9fd30ba 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/selector-set-attribute-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/selector-set-attribute-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-outside-head-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-outside-head-expected.png
index 931c5937..d3bb8b1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-outside-head-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-outside-head-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-outside-head-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-outside-head-expected.txt
index aea43362..6b5509a6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-outside-head-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-outside-head-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 562x19
-          text run at (0,0) width 302: "You should see a 100x100 green square below. "
-          text run at (301,0) width 261: "If you see any red then the test has failed."
+        LayoutText {#text} at (0,0) size 560x19
+          text run at (0,0) width 300: "You should see a 100x100 green square below. "
+          text run at (300,0) width 260: "If you see any red then the test has failed."
       LayoutBlockFlow {DIV} at (0,20) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-parsed-outside-head-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-parsed-outside-head-expected.png
index 598f5b0..583a319 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-parsed-outside-head-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-parsed-outside-head-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-parsed-outside-head-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-parsed-outside-head-expected.txt
index 0816484..e22160b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-parsed-outside-head-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/style-parsed-outside-head-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 626x19
-          text run at (0,0) width 302: "You should see a 100x100 green square below. "
-          text run at (301,0) width 325: "If you see any red or orange then the test has failed."
+        LayoutText {#text} at (0,0) size 624x19
+          text run at (0,0) width 300: "You should see a 100x100 green square below. "
+          text run at (300,0) width 324: "If you see any red or orange then the test has failed."
       LayoutBlockFlow {DIV} at (0,20) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-align-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-align-expected.png
index 250abe2..1c62094 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-align-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-align-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-align-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-align-expected.txt
index 0cf4dd7..a310576 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-align-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-align-expected.txt
@@ -7,11 +7,11 @@
         LayoutText {#text} at (0,0) size 78x19
           text run at (0,0) width 78: "Simple case"
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 63x19
-          text run at (0,0) width 63: "LTR Start"
+        LayoutText {#text} at (0,0) size 62x19
+          text run at (0,0) width 62: "LTR Start"
       LayoutBlockFlow {P} at (0,72) size 784x20
-        LayoutText {#text} at (724,0) size 60x19
-          text run at (724,0) width 60: "LTR End"
+        LayoutText {#text} at (725,0) size 59x19
+          text run at (725,0) width 59: "LTR End"
       LayoutBlockFlow {P} at (0,108) size 784x20
         LayoutText {#text} at (720,0) size 64x19
           text run at (720,0) width 64: "RTL Start"
@@ -23,12 +23,12 @@
           text run at (0,0) width 95: "Inherited case"
       LayoutBlockFlow {DIV} at (0,216) size 784x20
         LayoutBlockFlow {P} at (0,0) size 784x20
-          LayoutText {#text} at (0,0) size 63x19
-            text run at (0,0) width 63: "LTR Start"
+          LayoutText {#text} at (0,0) size 62x19
+            text run at (0,0) width 62: "LTR Start"
       LayoutBlockFlow {DIV} at (0,252) size 784x20
         LayoutBlockFlow {P} at (0,0) size 784x20
-          LayoutText {#text} at (724,0) size 60x19
-            text run at (724,0) width 60: "LTR End"
+          LayoutText {#text} at (725,0) size 59x19
+            text run at (725,0) width 59: "LTR End"
       LayoutBlockFlow {DIV} at (0,288) size 784x20
         LayoutBlockFlow {P} at (0,0) size 784x20
           LayoutText {#text} at (720,0) size 64x19
@@ -38,16 +38,16 @@
           LayoutText {#text} at (0,0) size 61x19
             text run at (0,0) width 61: "RTL End"
       LayoutBlockFlow {H1} at (0,360) size 784x20
-        LayoutText {#text} at (0,0) size 414x19
-          text run at (0,0) width 414: "Inherited case where parent block has opposite directionality."
+        LayoutText {#text} at (0,0) size 415x19
+          text run at (0,0) width 415: "Inherited case where parent block has opposite directionality."
       LayoutBlockFlow {DIV} at (0,396) size 784x20
         LayoutBlockFlow {P} at (0,0) size 784x20
-          LayoutText {#text} at (0,0) size 63x19
-            text run at (0,0) width 63: "LTR Start"
+          LayoutText {#text} at (0,0) size 62x19
+            text run at (0,0) width 62: "LTR Start"
       LayoutBlockFlow {DIV} at (0,432) size 784x20
         LayoutBlockFlow {P} at (0,0) size 784x20
-          LayoutText {#text} at (724,0) size 60x19
-            text run at (724,0) width 60: "LTR End"
+          LayoutText {#text} at (725,0) size 59x19
+            text run at (725,0) width 59: "LTR End"
       LayoutBlockFlow {DIV} at (0,468) size 784x20
         LayoutBlockFlow {P} at (0,0) size 784x20
           LayoutText {#text} at (720,0) size 64x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-bidi-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-bidi-expected.png
index 8ab51fbf..874b655e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-bidi-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-bidi-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-bidi-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-bidi-expected.txt
index c21915e7..63f4d08 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-bidi-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-bidi-expected.txt
@@ -15,21 +15,21 @@
           text run at (0,60) width 62: "RTL text:"
       LayoutBlockFlow (anonymous) at (0,120) size 784x40
         LayoutBR {BR} at (0,0) size 0x19
-        LayoutText {#text} at (0,20) size 62x19
-          text run at (0,20) width 62: "LTR Text"
-layer at (8,88) size 207x20 scrollX 99.00 scrollWidth 306
+        LayoutText {#text} at (0,20) size 60x19
+          text run at (0,20) width 60: "LTR Text"
+layer at (8,88) size 207x20 scrollX 98.00 scrollWidth 305
   LayoutBlockFlow {DIV} at (0,80) size 207x20
-    LayoutText {#text} at (-98,0) size 306x19
+    LayoutText {#text} at (-98,0) size 305x19
       text run at (-98,0) width 0 RTL: "\x{202C}"
       text run at (-98,0) width 222 RTL: " \x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5D1}\x{5E8}\x{5D9} \x{5DC}\x{5D3}\x{5D5}\x{5D2}\x{5DE}\x{5D0} \x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5D1}\x{5E8}\x{5D9} \x{5DC}\x{5D3}\x{5D5}\x{5D2}\x{5DE}\x{5D0} "
-      text run at (123,0) width 80: "English Text"
+      text run at (124,0) width 79: "English Text"
       text run at (203,0) width 4 RTL: "\x{202B} "
-layer at (8,108) size 207x20 scrollX 99.00 scrollWidth 306
+layer at (8,108) size 207x20 scrollX 98.00 scrollWidth 305
   LayoutBlockFlow {DIV} at (0,100) size 207x20
-    LayoutText {#text} at (-98,0) size 306x19
+    LayoutText {#text} at (-98,0) size 305x19
       text run at (-98,0) width 0 RTL: "\x{202C}"
       text run at (-98,0) width 222 RTL: " \x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5D1}\x{5E8}\x{5D9} \x{5DC}\x{5D3}\x{5D5}\x{5D2}\x{5DE}\x{5D0} \x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5D1}\x{5E8}\x{5D9} \x{5DC}\x{5D3}\x{5D5}\x{5D2}\x{5DE}\x{5D0} "
-      text run at (123,0) width 80: "English Text"
+      text run at (124,0) width 79: "English Text"
       text run at (203,0) width 4 RTL: "\x{202B} "
 layer at (8,168) size 207x20 scrollWidth 228
   LayoutBlockFlow {DIV} at (0,160) size 207x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.png
index a5a0862a..2fddf27 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.txt
index 0cae5dd97..f764165 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.txt
@@ -3,35 +3,35 @@
 layer at (0,0) size 800x408
   LayoutBlockFlow {HTML} at (0,0) size 800x408
     LayoutBlockFlow {BODY} at (8,8) size 784x380
-layer at (8,8) size 343x30 clip at (13,13) size 333x20 scrollWidth 743
+layer at (8,8) size 343x30 clip at (13,13) size 333x20 scrollWidth 744
   LayoutBlockFlow {DIV} at (0,0) size 343x30 [border: (5px solid #008000)]
     LayoutText {#text} at (25,5) size 719x19
       text run at (25,5) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,58) size 343x30 clip at (13,63) size 333x20 scrollX 410.00 scrollWidth 743
+layer at (8,58) size 343x30 clip at (13,63) size 333x20 scrollX 411.00 scrollWidth 744
   LayoutBlockFlow {DIV} at (0,50) size 343x30 [border: (5px solid #008000)]
-    LayoutText {#text} at (-385,5) size 719x19
-      text run at (-385,5) width 718 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,108) size 343x30 clip at (13,113) size 333x20 scrollWidth 748
+    LayoutText {#text} at (-386,5) size 719x19
+      text run at (-386,5) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,108) size 343x30 clip at (13,113) size 333x20 scrollWidth 749
   LayoutBlockFlow {DIV} at (0,100) size 343x30 [border: (5px solid #008000)]
     LayoutText {#text} at (30,5) size 719x19
       text run at (30,5) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,158) size 343x30 clip at (13,163) size 333x20 scrollX 410.00 scrollWidth 743
+layer at (8,158) size 343x30 clip at (13,163) size 333x20 scrollX 411.00 scrollWidth 744
   LayoutBlockFlow {DIV} at (0,150) size 343x30 [border: (5px solid #008000)]
-    LayoutText {#text} at (-385,5) size 719x19
-      text run at (-385,5) width 718 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,208) size 343x30 clip at (13,213) size 333x20 scrollWidth 746
+    LayoutText {#text} at (-386,5) size 719x19
+      text run at (-386,5) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,208) size 343x30 clip at (13,213) size 333x20 scrollWidth 747
   LayoutBlockFlow {DIV} at (0,200) size 343x30 [border: (5px solid #008000)]
-    LayoutText {#text} at (27,5) size 719x19
-      text run at (27,5) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,258) size 343x30 clip at (13,263) size 333x20 scrollX 410.00 scrollWidth 743
+    LayoutText {#text} at (27,5) size 720x19
+      text run at (27,5) width 720: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,258) size 343x30 clip at (13,263) size 333x20 scrollX 411.00 scrollWidth 744
   LayoutBlockFlow {DIV} at (0,250) size 343x30 [border: (5px solid #008000)]
-    LayoutText {#text} at (-385,5) size 719x19
-      text run at (-385,5) width 718 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,308) size 343x30 clip at (13,313) size 333x20 scrollWidth 743
+    LayoutText {#text} at (-386,5) size 719x19
+      text run at (-386,5) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,308) size 343x30 clip at (13,313) size 333x20 scrollWidth 744
   LayoutBlockFlow {DIV} at (0,300) size 343x30 [border: (5px solid #008000)]
     LayoutText {#text} at (25,5) size 719x19
       text run at (25,5) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,358) size 343x30 clip at (13,363) size 333x20 scrollX 410.00 scrollWidth 743
+layer at (8,358) size 343x30 clip at (13,363) size 333x20 scrollX 411.00 scrollWidth 744
   LayoutBlockFlow {DIV} at (0,350) size 343x30 [border: (5px solid #008000)]
-    LayoutText {#text} at (-385,5) size 719x19
-      text run at (-385,5) width 718 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-386,5) size 719x19
+      text run at (-386,5) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-expected.png
index 434103a6..13d04a6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-expected.txt
index c9c8b6c..2cfe172 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-expected.txt
@@ -27,23 +27,23 @@
         LayoutText {#text} at (0,0) size 162x19
           text run at (0,0) width 162: "RTL link with ltr content:"
       LayoutBlockFlow (anonymous) at (0,390) size 784x20
-        LayoutText {#text} at (0,0) size 62x19
-          text run at (0,0) width 62: "LTR link:"
+        LayoutText {#text} at (0,0) size 61x19
+          text run at (0,0) width 61: "LTR link:"
       LayoutBlockFlow (anonymous) at (0,452) size 784x20
-        LayoutText {#text} at (0,0) size 34x19
-          text run at (0,0) width 34: "LTR:"
+        LayoutText {#text} at (0,0) size 33x19
+          text run at (0,0) width 33: "LTR:"
       LayoutBlockFlow (anonymous) at (0,514) size 784x20
-        LayoutText {#text} at (0,0) size 133x19
-          text run at (0,0) width 133: "LTR with rtl content:"
+        LayoutText {#text} at (0,0) size 132x19
+          text run at (0,0) width 132: "LTR with rtl content:"
       LayoutBlockFlow (anonymous) at (0,576) size 784x20
-        LayoutText {#text} at (0,0) size 177x19
-          text run at (0,0) width 177: "LTR with forced rtl content:"
+        LayoutText {#text} at (0,0) size 176x19
+          text run at (0,0) width 176: "LTR with forced rtl content:"
       LayoutBlockFlow (anonymous) at (0,638) size 784x20
-        LayoutText {#text} at (0,0) size 161x19
-          text run at (0,0) width 161: "LTR link with rtl content:"
+        LayoutText {#text} at (0,0) size 160x19
+          text run at (0,0) width 160: "LTR link with rtl content:"
       LayoutBlockFlow (anonymous) at (0,700) size 784x20
-        LayoutText {#text} at (0,0) size 205x19
-          text run at (0,0) width 205: "LTR link with forced rtl content:"
+        LayoutText {#text} at (0,0) size 204x19
+          text run at (0,0) width 204: "LTR link with forced rtl content:"
 layer at (8,108) size 182x22 clip at (9,109) size 180x20 scrollX 118.00 scrollWidth 298
   LayoutBlockFlow {DIV} at (0,100) size 182x22 [border: (1px solid #000000)]
     LayoutText {#text} at (-117,1) size 298x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-strict-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-strict-expected.png
index 434103a6..13d04a6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-strict-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-strict-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-strict-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-strict-expected.txt
index 42f6988a..5038a12 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-strict-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-strict-expected.txt
@@ -27,23 +27,23 @@
         LayoutText {#text} at (0,0) size 162x19
           text run at (0,0) width 162: "RTL link with ltr content:"
       LayoutBlockFlow (anonymous) at (0,390) size 784x20
-        LayoutText {#text} at (0,0) size 62x19
-          text run at (0,0) width 62: "LTR link:"
+        LayoutText {#text} at (0,0) size 61x19
+          text run at (0,0) width 61: "LTR link:"
       LayoutBlockFlow (anonymous) at (0,452) size 784x20
-        LayoutText {#text} at (0,0) size 34x19
-          text run at (0,0) width 34: "LTR:"
+        LayoutText {#text} at (0,0) size 33x19
+          text run at (0,0) width 33: "LTR:"
       LayoutBlockFlow (anonymous) at (0,514) size 784x20
-        LayoutText {#text} at (0,0) size 133x19
-          text run at (0,0) width 133: "LTR with rtl content:"
+        LayoutText {#text} at (0,0) size 132x19
+          text run at (0,0) width 132: "LTR with rtl content:"
       LayoutBlockFlow (anonymous) at (0,576) size 784x20
-        LayoutText {#text} at (0,0) size 177x19
-          text run at (0,0) width 177: "LTR with forced rtl content:"
+        LayoutText {#text} at (0,0) size 176x19
+          text run at (0,0) width 176: "LTR with forced rtl content:"
       LayoutBlockFlow (anonymous) at (0,638) size 784x20
-        LayoutText {#text} at (0,0) size 161x19
-          text run at (0,0) width 161: "LTR link with rtl content:"
+        LayoutText {#text} at (0,0) size 160x19
+          text run at (0,0) width 160: "LTR link with rtl content:"
       LayoutBlockFlow (anonymous) at (0,700) size 784x20
-        LayoutText {#text} at (0,0) size 205x19
-          text run at (0,0) width 205: "LTR link with forced rtl content:"
+        LayoutText {#text} at (0,0) size 204x19
+          text run at (0,0) width 204: "LTR link with forced rtl content:"
 layer at (8,108) size 182x22 clip at (9,109) size 180x20 scrollX 118.00 scrollWidth 298
   LayoutBlockFlow {DIV} at (0,100) size 182x22 [border: (1px solid #000000)]
     LayoutText {#text} at (-117,1) size 298x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-center-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-center-expected.png
index 0b12418..9f76f127 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-center-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-center-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-center-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-center-expected.txt
index f1097e8..e7660f16 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-center-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-center-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x912.47
     LayoutBlockFlow {BODY} at (8,8) size 769x884.47
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 550x19
-          text run at (0,0) width 550: "This test checks that text with text-overflow:ellipsis follows 'text-align: center' correctly."
+        LayoutText {#text} at (0,0) size 549x19
+          text run at (0,0) width 549: "This test checks that text with text-overflow:ellipsis follows 'text-align: center' correctly."
       LayoutBlockFlow {P} at (0,36) size 769x20
         LayoutText {#text} at (0,0) size 386x19
           text run at (0,0) width 386: "The text in all boxes should have the text centered in the box."
@@ -22,25 +22,25 @@
         LayoutText {#text} at (0,0) size 396x22
           text run at (0,0) width 396: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,489.59) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
-      LayoutBlockFlow {H3} at (0,573.31) size 769x23
         LayoutText {#text} at (0,0) size 197x22
-          text run at (0,0) width 197: "Right-To-Left Multi line"
+          text run at (0,0) width 197: "Right-To-Left single line"
+      LayoutBlockFlow {H3} at (0,573.31) size 769x23
+        LayoutText {#text} at (0,0) size 196x22
+          text run at (0,0) width 196: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,717.03) size 769x23
         LayoutText {#text} at (0,0) size 343x22
           text run at (0,0) width 343: "Right-To-Left containing replaced content"
       LayoutBlockFlow {H3} at (0,810.75) size 769x23
         LayoutText {#text} at (0,0) size 507x22
           text run at (0,0) width 507: "Right-To-Left containing replaced content blocking the ellipsis"
-layer at (8,124) size 310x22 clip at (9,125) size 308x20 scrollWidth 721
+layer at (8,124) size 310x22 clip at (9,125) size 308x20 scrollWidth 722
   LayoutBlockFlow {DIV} at (0,116.44) size 310x22 [border: (1px solid #000000)]
-    LayoutText {#text} at (3,1) size 719x19
-      text run at (3,1) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,208) size 310x82 clip at (9,209) size 308x80 scrollWidth 721
+    LayoutText {#text} at (3,1) size 720x19
+      text run at (3,1) width 720: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,208) size 310x82 clip at (9,209) size 308x80 scrollWidth 722
   LayoutBlockFlow {DIV} at (0,200.16) size 310x82 [border: (1px solid #000000)]
-    LayoutText {#text} at (3,1) size 719x19
-      text run at (3,1) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (3,1) size 720x19
+      text run at (3,1) width 720: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
     LayoutText {#text} at (2,21) size 709x19
       text run at (2,21) width 709: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
@@ -48,52 +48,52 @@
     LayoutText {#text} at (4,41) size 701x19
       text run at (4,41) width 701: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (2,61) size 696x19
-      text run at (2,61) width 696: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (2,61) size 697x19
+      text run at (2,61) width 697: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,352) size 310x32 clip at (9,353) size 308x30 scrollWidth 747
+layer at (8,352) size 310x32 clip at (9,353) size 308x30 scrollWidth 748
   LayoutBlockFlow {DIV} at (0,343.88) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (1,11) size 181x19
       text run at (1,11) width 181: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (182,1) size 25x25
     LayoutText {#text} at (207,11) size 542x19
       text run at (207,11) width 542: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,446) size 310x32 clip at (9,447) size 308x30 scrollWidth 743
+layer at (8,446) size 310x32 clip at (9,447) size 308x30 scrollWidth 744
   LayoutBlockFlow {DIV} at (0,437.59) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (1,11) size 271x19
       text run at (1,11) width 271: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (272,1) size 25x25
     LayoutText {#text} at (297,11) size 448x19
       text run at (297,11) width 448: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,539) size 310x22 clip at (9,540) size 308x20 scrollX 410.00 scrollWidth 718
+layer at (8,539) size 310x22 clip at (9,540) size 308x20 scrollX 411.00 scrollWidth 719
   LayoutBlockFlow {DIV} at (0,531.31) size 310x22 [border: (1px solid #000000)]
-    LayoutText {#text} at (-409,1) size 719x19
-      text run at (-409,1) width 718 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,623) size 310x82 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 410.00 scrollWidth 718
+    LayoutText {#text} at (-410,1) size 719x19
+      text run at (-410,1) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,623) size 310x82 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 411.00 scrollWidth 719
   LayoutBlockFlow {DIV} at (0,615.03) size 310x82 [border: (1px solid #000000)]
-    LayoutText {#text} at (-409,1) size 719x19
-      text run at (-409,1) width 718 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-410,1) size 719x19
+      text run at (-410,1) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-399,21) size 709x19
-      text run at (-399,21) width 708 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-400,21) size 709x19
+      text run at (-400,21) width 709 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-391,41) size 701x19
-      text run at (-391,41) width 700 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-392,41) size 701x19
+      text run at (-392,41) width 701 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-387,61) size 696x19
-      text run at (-387,61) width 695 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-388,61) size 697x19
+      text run at (-388,61) width 696 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,767) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 439.00 scrollWidth 747
+layer at (8,767) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 440.00 scrollWidth 748
   LayoutBlockFlow {DIV} at (0,758.75) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (128,11) size 181x19
       text run at (128,11) width 181 RTL override: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (103,1) size 25x25
-    LayoutText {#text} at (-438,11) size 542x19
-      text run at (-438,11) width 541 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,860) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 435.00 scrollWidth 743
+    LayoutText {#text} at (-439,11) size 542x19
+      text run at (-439,11) width 542 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,860) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 436.00 scrollWidth 744
   LayoutBlockFlow {DIV} at (0,852.47) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (38,11) size 271x19
       text run at (38,11) width 271 RTL override: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (13,1) size 25x25
-    LayoutText {#text} at (-434,11) size 448x19
-      text run at (-434,11) width 447 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-435,11) size 448x19
+      text run at (-435,11) width 448 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-justify-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-justify-expected.png
index 3a187567..822685912 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt
index 680fa38..1fe668a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x932.47
     LayoutBlockFlow {BODY} at (8,8) size 769x904.47
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 551x19
-          text run at (0,0) width 551: "This test checks that text with text-overflow:ellipsis follows 'text-align: justify' correctly."
+        LayoutText {#text} at (0,0) size 550x19
+          text run at (0,0) width 550: "This test checks that text with text-overflow:ellipsis follows 'text-align: justify' correctly."
       LayoutBlockFlow {P} at (0,36) size 769x40
         LayoutText {#text} at (0,0) size 741x39
           text run at (0,0) width 741: "LTR text should be aligned with the left hand side of their box. RTL text should be aligned with the right hand side of"
@@ -23,22 +23,22 @@
         LayoutText {#text} at (0,0) size 396x22
           text run at (0,0) width 396: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,509.59) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
-      LayoutBlockFlow {H3} at (0,593.31) size 769x23
         LayoutText {#text} at (0,0) size 197x22
-          text run at (0,0) width 197: "Right-To-Left Multi line"
+          text run at (0,0) width 197: "Right-To-Left single line"
+      LayoutBlockFlow {H3} at (0,593.31) size 769x23
+        LayoutText {#text} at (0,0) size 196x22
+          text run at (0,0) width 196: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,737.03) size 769x23
         LayoutText {#text} at (0,0) size 343x22
           text run at (0,0) width 343: "Right-To-Left containing replaced content"
       LayoutBlockFlow {H3} at (0,830.75) size 769x23
         LayoutText {#text} at (0,0) size 507x22
           text run at (0,0) width 507: "Right-To-Left containing replaced content blocking the ellipsis"
-layer at (8,144) size 310x22 clip at (9,145) size 308x20 scrollWidth 718
+layer at (8,144) size 310x22 clip at (9,145) size 308x20 scrollWidth 719
   LayoutBlockFlow {DIV} at (0,136.44) size 310x22 [border: (1px solid #000000)]
     LayoutText {#text} at (1,1) size 719x19
       text run at (1,1) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,228) size 310x82 clip at (9,229) size 308x80 scrollWidth 718
+layer at (8,228) size 310x82 clip at (9,229) size 308x80 scrollWidth 719
   LayoutBlockFlow {DIV} at (0,220.16) size 310x82 [border: (1px solid #000000)]
     LayoutText {#text} at (1,1) size 719x19
       text run at (1,1) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
@@ -52,24 +52,24 @@
     LayoutText {#text} at (1,61) size 696x19
       text run at (1,61) width 696: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,372) size 310x32 clip at (9,373) size 308x30 scrollWidth 747
+layer at (8,372) size 310x32 clip at (9,373) size 308x30 scrollWidth 748
   LayoutBlockFlow {DIV} at (0,363.88) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (1,11) size 181x19
       text run at (1,11) width 181: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (182,1) size 25x25
     LayoutText {#text} at (207,11) size 542x19
       text run at (207,11) width 542: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,466) size 310x32 clip at (9,467) size 308x30 scrollWidth 743
+layer at (8,466) size 310x32 clip at (9,467) size 308x30 scrollWidth 744
   LayoutBlockFlow {DIV} at (0,457.59) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (1,11) size 271x19
       text run at (1,11) width 271: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (272,1) size 25x25
     LayoutText {#text} at (297,11) size 448x19
       text run at (297,11) width 448: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,559) size 310x22 clip at (9,560) size 308x20 scrollX 410.00 scrollWidth 718
+layer at (8,559) size 310x22 clip at (9,560) size 308x20 scrollX 411.00 scrollWidth 719
   LayoutBlockFlow {DIV} at (0,551.31) size 310x22 [border: (1px solid #000000)]
-    LayoutText {#text} at (-409,1) size 719x19
-      text run at (-409,1) width 718 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-410,1) size 719x19
+      text run at (-410,1) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,643) size 310x82 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
   LayoutBlockFlow {DIV} at (0,635.03) size 310x82 [border: (1px solid #000000)]
     LayoutText {#text} at (1,1) size 719x19
@@ -84,17 +84,17 @@
     LayoutText {#text} at (1,61) size 696x19
       text run at (1,61) width 696 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,787) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 439.00 scrollWidth 747
+layer at (8,787) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 440.00 scrollWidth 748
   LayoutBlockFlow {DIV} at (0,778.75) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (128,11) size 181x19
       text run at (128,11) width 181 RTL override: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (103,1) size 25x25
-    LayoutText {#text} at (-438,11) size 542x19
-      text run at (-438,11) width 541 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,880) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 435.00 scrollWidth 743
+    LayoutText {#text} at (-439,11) size 542x19
+      text run at (-439,11) width 542 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,880) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 436.00 scrollWidth 744
   LayoutBlockFlow {DIV} at (0,872.47) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (38,11) size 271x19
       text run at (38,11) width 271 RTL override: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (13,1) size 25x25
-    LayoutText {#text} at (-434,11) size 448x19
-      text run at (-434,11) width 447 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-435,11) size 448x19
+      text run at (-435,11) width 448 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-left-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-left-expected.png
index 04c5d1dc..e78c3fc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-left-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-left-expected.txt
index 61429dd..3ebf8f7a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-left-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x912.47
     LayoutBlockFlow {BODY} at (8,8) size 769x884.47
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 532x19
-          text run at (0,0) width 532: "This test checks that text with text-overflow:ellipsis follows 'text-align: left' correctly."
+        LayoutText {#text} at (0,0) size 531x19
+          text run at (0,0) width 531: "This test checks that text with text-overflow:ellipsis follows 'text-align: left' correctly."
       LayoutBlockFlow {P} at (0,36) size 769x20
         LayoutText {#text} at (0,0) size 484x19
           text run at (0,0) width 484: "The text in all boxes should be left aligned, sticking to the left side of the box"
@@ -22,22 +22,22 @@
         LayoutText {#text} at (0,0) size 396x22
           text run at (0,0) width 396: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,489.59) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
-      LayoutBlockFlow {H3} at (0,573.31) size 769x23
         LayoutText {#text} at (0,0) size 197x22
-          text run at (0,0) width 197: "Right-To-Left Multi line"
+          text run at (0,0) width 197: "Right-To-Left single line"
+      LayoutBlockFlow {H3} at (0,573.31) size 769x23
+        LayoutText {#text} at (0,0) size 196x22
+          text run at (0,0) width 196: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,717.03) size 769x23
         LayoutText {#text} at (0,0) size 343x22
           text run at (0,0) width 343: "Right-To-Left containing replaced content"
       LayoutBlockFlow {H3} at (0,810.75) size 769x23
         LayoutText {#text} at (0,0) size 507x22
           text run at (0,0) width 507: "Right-To-Left containing replaced content blocking the ellipsis"
-layer at (8,124) size 310x22 clip at (9,125) size 308x20 scrollWidth 718
+layer at (8,124) size 310x22 clip at (9,125) size 308x20 scrollWidth 719
   LayoutBlockFlow {DIV} at (0,116.44) size 310x22 [border: (1px solid #000000)]
     LayoutText {#text} at (1,1) size 719x19
       text run at (1,1) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,208) size 310x82 clip at (9,209) size 308x80 scrollWidth 718
+layer at (8,208) size 310x82 clip at (9,209) size 308x80 scrollWidth 719
   LayoutBlockFlow {DIV} at (0,200.16) size 310x82 [border: (1px solid #000000)]
     LayoutText {#text} at (1,1) size 719x19
       text run at (1,1) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
@@ -51,49 +51,49 @@
     LayoutText {#text} at (1,61) size 696x19
       text run at (1,61) width 696: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,352) size 310x32 clip at (9,353) size 308x30 scrollWidth 747
+layer at (8,352) size 310x32 clip at (9,353) size 308x30 scrollWidth 748
   LayoutBlockFlow {DIV} at (0,343.88) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (1,11) size 181x19
       text run at (1,11) width 181: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (182,1) size 25x25
     LayoutText {#text} at (207,11) size 542x19
       text run at (207,11) width 542: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,446) size 310x32 clip at (9,447) size 308x30 scrollWidth 743
+layer at (8,446) size 310x32 clip at (9,447) size 308x30 scrollWidth 744
   LayoutBlockFlow {DIV} at (0,437.59) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (1,11) size 271x19
       text run at (1,11) width 271: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (272,1) size 25x25
     LayoutText {#text} at (297,11) size 448x19
       text run at (297,11) width 448: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,539) size 310x22 clip at (9,540) size 308x20 scrollX 410.00 scrollWidth 718
+layer at (8,539) size 310x22 clip at (9,540) size 308x20 scrollX 411.00 scrollWidth 719
   LayoutBlockFlow {DIV} at (0,531.31) size 310x22 [border: (1px solid #000000)]
-    LayoutText {#text} at (-409,1) size 719x19
-      text run at (-409,1) width 718 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,623) size 310x82 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 410.00 scrollWidth 718
+    LayoutText {#text} at (-410,1) size 719x19
+      text run at (-410,1) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,623) size 310x82 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 411.00 scrollWidth 719
   LayoutBlockFlow {DIV} at (0,615.03) size 310x82 [border: (1px solid #000000)]
-    LayoutText {#text} at (-409,1) size 719x19
-      text run at (-409,1) width 718 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-410,1) size 719x19
+      text run at (-410,1) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-399,21) size 709x19
-      text run at (-399,21) width 708 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-400,21) size 709x19
+      text run at (-400,21) width 709 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-391,41) size 701x19
-      text run at (-391,41) width 700 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-392,41) size 701x19
+      text run at (-392,41) width 701 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-389,61) size 696x19
-      text run at (-389,61) width 695 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-390,61) size 696x19
+      text run at (-390,61) width 696 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,767) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 439.00 scrollWidth 747
+layer at (8,767) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 440.00 scrollWidth 748
   LayoutBlockFlow {DIV} at (0,758.75) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (128,11) size 181x19
       text run at (128,11) width 181 RTL override: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (103,1) size 25x25
-    LayoutText {#text} at (-438,11) size 542x19
-      text run at (-438,11) width 541 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,860) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 435.00 scrollWidth 743
+    LayoutText {#text} at (-439,11) size 542x19
+      text run at (-439,11) width 542 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,860) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 436.00 scrollWidth 744
   LayoutBlockFlow {DIV} at (0,852.47) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (38,11) size 271x19
       text run at (38,11) width 271 RTL override: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (13,1) size 25x25
-    LayoutText {#text} at (-434,11) size 448x19
-      text run at (-434,11) width 447 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-435,11) size 448x19
+      text run at (-435,11) width 448 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-right-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-right-expected.png
index 95636a0..b8ecdf93 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-right-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-right-expected.txt
index f8cd53bd..4c7d3b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-ellipsis-text-align-right-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x912.47
     LayoutBlockFlow {BODY} at (8,8) size 769x884.47
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 541x19
-          text run at (0,0) width 541: "This test checks that text with text-overflow:ellipsis follows 'text-align: right' correctly."
+        LayoutText {#text} at (0,0) size 540x19
+          text run at (0,0) width 540: "This test checks that text with text-overflow:ellipsis follows 'text-align: right' correctly."
       LayoutBlockFlow {P} at (0,36) size 769x20
         LayoutText {#text} at (0,0) size 502x19
           text run at (0,0) width 502: "The text in all boxes should be right aligned, sticking to the right side of the box"
@@ -22,22 +22,22 @@
         LayoutText {#text} at (0,0) size 396x22
           text run at (0,0) width 396: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,489.59) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
-      LayoutBlockFlow {H3} at (0,573.31) size 769x23
         LayoutText {#text} at (0,0) size 197x22
-          text run at (0,0) width 197: "Right-To-Left Multi line"
+          text run at (0,0) width 197: "Right-To-Left single line"
+      LayoutBlockFlow {H3} at (0,573.31) size 769x23
+        LayoutText {#text} at (0,0) size 196x22
+          text run at (0,0) width 196: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,717.03) size 769x23
         LayoutText {#text} at (0,0) size 343x22
           text run at (0,0) width 343: "Right-To-Left containing replaced content"
       LayoutBlockFlow {H3} at (0,810.75) size 769x23
         LayoutText {#text} at (0,0) size 507x22
           text run at (0,0) width 507: "Right-To-Left containing replaced content blocking the ellipsis"
-layer at (8,124) size 310x22 clip at (9,125) size 308x20 scrollWidth 723
+layer at (8,124) size 310x22 clip at (9,125) size 308x20 scrollWidth 724
   LayoutBlockFlow {DIV} at (0,116.44) size 310x22 [border: (1px solid #000000)]
     LayoutText {#text} at (6,1) size 719x19
       text run at (6,1) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,208) size 310x82 clip at (9,209) size 308x80 scrollWidth 723
+layer at (8,208) size 310x82 clip at (9,209) size 308x80 scrollWidth 724
   LayoutBlockFlow {DIV} at (0,200.16) size 310x82 [border: (1px solid #000000)]
     LayoutText {#text} at (6,1) size 719x19
       text run at (6,1) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
@@ -51,49 +51,49 @@
     LayoutText {#text} at (4,61) size 696x19
       text run at (4,61) width 696: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,352) size 310x32 clip at (9,353) size 308x30 scrollWidth 747
+layer at (8,352) size 310x32 clip at (9,353) size 308x30 scrollWidth 748
   LayoutBlockFlow {DIV} at (0,343.88) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (1,11) size 181x19
       text run at (1,11) width 181: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (182,1) size 25x25
     LayoutText {#text} at (207,11) size 542x19
       text run at (207,11) width 542: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,446) size 310x32 clip at (9,447) size 308x30 scrollWidth 743
+layer at (8,446) size 310x32 clip at (9,447) size 308x30 scrollWidth 744
   LayoutBlockFlow {DIV} at (0,437.59) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (1,11) size 271x19
       text run at (1,11) width 271: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (272,1) size 25x25
     LayoutText {#text} at (297,11) size 448x19
       text run at (297,11) width 448: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,539) size 310x22 clip at (9,540) size 308x20 scrollX 410.00 scrollWidth 718
+layer at (8,539) size 310x22 clip at (9,540) size 308x20 scrollX 411.00 scrollWidth 719
   LayoutBlockFlow {DIV} at (0,531.31) size 310x22 [border: (1px solid #000000)]
-    LayoutText {#text} at (-409,1) size 719x19
-      text run at (-409,1) width 718 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,623) size 310x82 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 410.00 scrollWidth 718
+    LayoutText {#text} at (-410,1) size 719x19
+      text run at (-410,1) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,623) size 310x82 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 411.00 scrollWidth 719
   LayoutBlockFlow {DIV} at (0,615.03) size 310x82 [border: (1px solid #000000)]
-    LayoutText {#text} at (-409,1) size 719x19
-      text run at (-409,1) width 718 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-410,1) size 719x19
+      text run at (-410,1) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-399,21) size 709x19
-      text run at (-399,21) width 708 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-400,21) size 709x19
+      text run at (-400,21) width 709 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-391,41) size 701x19
-      text run at (-391,41) width 700 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-392,41) size 701x19
+      text run at (-392,41) width 701 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-386,61) size 696x19
-      text run at (-386,61) width 695 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-387,61) size 696x19
+      text run at (-387,61) width 696 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,767) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 439.00 scrollWidth 747
+layer at (8,767) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 440.00 scrollWidth 748
   LayoutBlockFlow {DIV} at (0,758.75) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (128,11) size 181x19
       text run at (128,11) width 181 RTL override: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (103,1) size 25x25
-    LayoutText {#text} at (-438,11) size 542x19
-      text run at (-438,11) width 541 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,860) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 435.00 scrollWidth 743
+    LayoutText {#text} at (-439,11) size 542x19
+      text run at (-439,11) width 542 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,860) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 436.00 scrollWidth 744
   LayoutBlockFlow {DIV} at (0,852.47) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (38,11) size 271x19
       text run at (38,11) width 271 RTL override: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (13,1) size 25x25
-    LayoutText {#text} at (-434,11) size 448x19
-      text run at (-434,11) width 447 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (-435,11) size 448x19
+      text run at (-435,11) width 448 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-input-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-input-expected.png
index 3e183cfc..c0beee3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-input-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-input-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-input-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-input-expected.txt
index a8dd171..f1f5e7f2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-input-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-overflow-input-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x380
     LayoutBlockFlow {BODY} at (8,16) size 784x348
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 307x19
-          text run at (0,0) width 307: "This test is a basic check for using text-overflow."
+        LayoutText {#text} at (0,0) size 306x19
+          text run at (0,0) width 306: "This test is a basic check for using text-overflow."
       LayoutBlockFlow {P} at (0,36) size 784x108
         LayoutText {#text} at (0,0) size 481x19
           text run at (0,0) width 481: "Apply \"text-overflow:clip\" to inputs. The following input should be clipped:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-rendering-expected.png
index c7ff8c2f..c82fbe6d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-rendering-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/text-rendering-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/textCapitalizeEdgeCases-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/textCapitalizeEdgeCases-expected.png
index d7fd805..e96b62f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/textCapitalizeEdgeCases-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/textCapitalizeEdgeCases-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/textCapitalizeEdgeCases-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/textCapitalizeEdgeCases-expected.txt
index 23fc73d8..21245bde 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/textCapitalizeEdgeCases-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/textCapitalizeEdgeCases-expected.txt
@@ -26,9 +26,9 @@
                 text run at (31,10) width 13: "or"
             LayoutText {#text} at (44,10) size 43x19
               text run at (44,10) width 43: "d With"
-            LayoutImage {IMG} at (86.36,0) size 25x25
-            LayoutText {#text} at (111,10) size 64x19
-              text run at (111,10) width 64: "An Image"
+            LayoutImage {IMG} at (87,0) size 25x25
+            LayoutText {#text} at (112,10) size 63x19
+              text run at (112,10) width 63: "An Image"
           LayoutBlockFlow {DIV} at (0,30) size 694x0
           LayoutBlockFlow (anonymous) at (0,30) size 694x20
             LayoutText {#text} at (0,0) size 35x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/transform-default-parameter-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/transform-default-parameter-expected.png
index 9c02ace4..f1f0f74 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/transform-default-parameter-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/transform-default-parameter-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/transformed-mask-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/transformed-mask-expected.txt
index 78081f02..47a477d4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/transformed-mask-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/transformed-mask-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x205
     LayoutBlockFlow {BODY} at (8,16) size 784x181
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 380x19
-          text run at (0,0) width 380: "You should not see any pixel artifacts around the reflections."
+        LayoutText {#text} at (0,0) size 379x19
+          text run at (0,0) width 379: "You should not see any pixel artifacts around the reflections."
       LayoutBlockFlow (anonymous) at (0,36) size 784x145
         LayoutText {#text} at (140,125) size 4x19
           text run at (140,125) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/universal-hover-quirk-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/universal-hover-quirk-expected.png
index 918ee21..50933ae1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/universal-hover-quirk-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/universal-hover-quirk-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/universal-hover-quirk-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/universal-hover-quirk-expected.txt
index e37ff5f0..a8c9068 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/universal-hover-quirk-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/universal-hover-quirk-expected.txt
@@ -9,21 +9,22 @@
             text run at (0,0) width 249: "This should not turn red when hovered."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,46) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 547x19
-          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 349x19
-              text run at (51,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7218"
-          LayoutText {#text} at (399,0) size 199x19
-            text run at (399,0) width 199: " Text underlined on mouse over"
-        LayoutText {#text} at (597,0) size 99x19
-          text run at (597,0) width 99: ". This tests that "
-        LayoutInline {CODE} at (0,0) size 57x16
-          LayoutText {#text} at (695,3) size 57x16
-            text run at (695,3) width 57: "*:hover"
-        LayoutText {#text} at (0,20) size 256x19
-          text run at (0,20) width 256: "does not match anything in quirks mode."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 546x19
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 348x19
+              text run at (51,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7218"
+          LayoutText {#text} at (399,0) size 198x19
+            text run at (399,0) width 198: " Text underlined on mouse over"
+        LayoutText {#text} at (597,0) size 98x19
+          text run at (597,0) width 98: ". This tests that "
+        LayoutInline {CODE} at (0,0) size 56x16
+          LayoutText {#text} at (695,3) size 56x16
+            text run at (695,3) width 56: "*:hover"
+        LayoutText {#text} at (751,0) size 784x39
+          text run at (751,0) width 33: " does"
+          text run at (0,20) width 223: "not match anything in quirks mode."
 layer at (8,36) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 1 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt
index b4a850f..3eaa4ab 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt
@@ -16,24 +16,24 @@
         LayoutText {#text} at (0,0) size 396x22
           text run at (0,0) width 396: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,1486.88) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
-      LayoutBlockFlow {H3} at (0,1858.59) size 769x23
         LayoutText {#text} at (0,0) size 197x22
-          text run at (0,0) width 197: "Right-To-Left Multi line"
+          text run at (0,0) width 197: "Right-To-Left single line"
+      LayoutBlockFlow {H3} at (0,1858.59) size 769x23
+        LayoutText {#text} at (0,0) size 196x22
+          text run at (0,0) width 196: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,2230.31) size 769x23
         LayoutText {#text} at (0,0) size 343x22
           text run at (0,0) width 343: "Right-To-Left containing replaced content"
       LayoutBlockFlow {H3} at (0,2602.03) size 769x23
         LayoutText {#text} at (0,0) size 507x22
           text run at (0,0) width 507: "Right-To-Left containing replaced content blocking the ellipsis"
-layer at (8,50) size 22x310 clip at (9,51) size 20x308 scrollHeight 720
+layer at (8,50) size 22x310 clip at (9,51) size 20x308 scrollHeight 721
   LayoutBlockFlow {DIV} at (0,41.72) size 22x310 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,3) size 19x719
+    LayoutText {#text} at (1,3) size 19x720
       text run at (1,3) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,421) size 82x310 backgroundClip at (8,421) size 82x179 clip at (9,422) size 80x178 scrollHeight 721
+layer at (8,421) size 82x310 backgroundClip at (8,421) size 82x179 clip at (9,422) size 80x178 scrollHeight 722
   LayoutBlockFlow {DIV} at (0,413.44) size 82x310 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,3) size 19x719
+    LayoutText {#text} at (1,3) size 19x720
       text run at (1,3) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
     LayoutText {#text} at (21,2) size 19x709
@@ -42,52 +42,52 @@
     LayoutText {#text} at (41,4) size 19x701
       text run at (41,4) width 701: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (61,2) size 19x696
+    LayoutText {#text} at (61,2) size 19x697
       text run at (61,2) width 696: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,793) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 747
+layer at (8,793) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 748
   LayoutBlockFlow {DIV} at (0,785.16) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,1) size 19x181
       text run at (11,1) width 181: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (1,182) size 25x25
     LayoutText {#text} at (11,207) size 19x542
       text run at (11,207) width 542: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,1165) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 743
+layer at (8,1165) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 744
   LayoutBlockFlow {DIV} at (0,1156.88) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,1) size 19x271
       text run at (11,1) width 271: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (1,272) size 25x25
     LayoutText {#text} at (11,297) size 19x448
       text run at (11,297) width 448: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,1537) size 22x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 410.00 scrollHeight 718
+layer at (8,1537) size 22x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 411.00 scrollHeight 719
   LayoutBlockFlow {DIV} at (0,1528.59) size 22x310 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,-409) size 19x719
-      text run at (1,-409) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,1908) size 82x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 410.00 scrollHeight 718
+    LayoutText {#text} at (1,-410) size 19x719
+      text run at (1,-410) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,1908) size 82x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 411.00 scrollHeight 719
   LayoutBlockFlow {DIV} at (0,1900.31) size 82x310 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,-409) size 19x719
-      text run at (1,-409) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,-410) size 19x719
+      text run at (1,-410) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (21,-399) size 19x709
-      text run at (21,-399) width 709 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (21,-400) size 19x709
+      text run at (21,-400) width 709 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (41,-391) size 19x701
-      text run at (41,-391) width 701 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (41,-392) size 19x701
+      text run at (41,-392) width 701 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (61,-387) size 19x696
-      text run at (61,-387) width 696 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (61,-388) size 19x697
+      text run at (61,-388) width 696 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,2280) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 439.00 scrollHeight 747
+layer at (8,2280) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 440.00 scrollHeight 748
   LayoutBlockFlow {DIV} at (0,2272.03) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,128) size 19x181
       text run at (11,128) width 181 RTL override: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (1,103) size 25x25
-    LayoutText {#text} at (11,-438) size 19x542
-      text run at (11,-438) width 542 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,2652) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 435.00 scrollHeight 743
+    LayoutText {#text} at (11,-439) size 19x542
+      text run at (11,-439) width 542 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,2652) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 436.00 scrollHeight 744
   LayoutBlockFlow {DIV} at (0,2643.75) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,38) size 19x271
       text run at (11,38) width 271 RTL override: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (1,13) size 25x25
-    LayoutText {#text} at (11,-434) size 19x448
-      text run at (11,-434) width 448 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (11,-435) size 19x448
+      text run at (11,-435) width 448 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt
index 0855fae..cca0eae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt
@@ -16,22 +16,22 @@
         LayoutText {#text} at (0,0) size 396x22
           text run at (0,0) width 396: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,1486.88) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
-      LayoutBlockFlow {H3} at (0,1858.59) size 769x23
         LayoutText {#text} at (0,0) size 197x22
-          text run at (0,0) width 197: "Right-To-Left Multi line"
+          text run at (0,0) width 197: "Right-To-Left single line"
+      LayoutBlockFlow {H3} at (0,1858.59) size 769x23
+        LayoutText {#text} at (0,0) size 196x22
+          text run at (0,0) width 196: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,2230.31) size 769x23
         LayoutText {#text} at (0,0) size 343x22
           text run at (0,0) width 343: "Right-To-Left containing replaced content"
       LayoutBlockFlow {H3} at (0,2602.03) size 769x23
         LayoutText {#text} at (0,0) size 507x22
           text run at (0,0) width 507: "Right-To-Left containing replaced content blocking the ellipsis"
-layer at (8,50) size 22x310 clip at (9,51) size 20x308 scrollHeight 718
+layer at (8,50) size 22x310 clip at (9,51) size 20x308 scrollHeight 719
   LayoutBlockFlow {DIV} at (0,41.72) size 22x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,1) size 19x719
       text run at (1,1) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,421) size 82x310 backgroundClip at (8,421) size 82x179 clip at (9,422) size 80x178 scrollHeight 718
+layer at (8,421) size 82x310 backgroundClip at (8,421) size 82x179 clip at (9,422) size 80x178 scrollHeight 719
   LayoutBlockFlow {DIV} at (0,413.44) size 82x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,1) size 19x719
       text run at (1,1) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
@@ -45,24 +45,24 @@
     LayoutText {#text} at (61,1) size 19x696
       text run at (61,1) width 696: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,793) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 747
+layer at (8,793) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 748
   LayoutBlockFlow {DIV} at (0,785.16) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,1) size 19x181
       text run at (11,1) width 181: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (1,182) size 25x25
     LayoutText {#text} at (11,207) size 19x542
       text run at (11,207) width 542: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,1165) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 743
+layer at (8,1165) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 744
   LayoutBlockFlow {DIV} at (0,1156.88) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,1) size 19x271
       text run at (11,1) width 271: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (1,272) size 25x25
     LayoutText {#text} at (11,297) size 19x448
       text run at (11,297) width 448: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,1537) size 22x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 410.00 scrollHeight 718
+layer at (8,1537) size 22x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 411.00 scrollHeight 719
   LayoutBlockFlow {DIV} at (0,1528.59) size 22x310 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,-409) size 19x719
-      text run at (1,-409) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,-410) size 19x719
+      text run at (1,-410) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,1908) size 82x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
   LayoutBlockFlow {DIV} at (0,1900.31) size 82x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,1) size 19x719
@@ -77,17 +77,17 @@
     LayoutText {#text} at (61,1) size 19x696
       text run at (61,1) width 696 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,2280) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 439.00 scrollHeight 747
+layer at (8,2280) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 440.00 scrollHeight 748
   LayoutBlockFlow {DIV} at (0,2272.03) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,128) size 19x181
       text run at (11,128) width 181 RTL override: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (1,103) size 25x25
-    LayoutText {#text} at (11,-438) size 19x542
-      text run at (11,-438) width 542 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,2652) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 435.00 scrollHeight 743
+    LayoutText {#text} at (11,-439) size 19x542
+      text run at (11,-439) width 542 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,2652) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 436.00 scrollHeight 744
   LayoutBlockFlow {DIV} at (0,2643.75) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,38) size 19x271
       text run at (11,38) width 271 RTL override: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (1,13) size 25x25
-    LayoutText {#text} at (11,-434) size 19x448
-      text run at (11,-434) width 448 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (11,-435) size 19x448
+      text run at (11,-435) width 448 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt
index d2aa017..a9239e0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt
@@ -16,22 +16,22 @@
         LayoutText {#text} at (0,0) size 396x22
           text run at (0,0) width 396: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,1486.88) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
-      LayoutBlockFlow {H3} at (0,1858.59) size 769x23
         LayoutText {#text} at (0,0) size 197x22
-          text run at (0,0) width 197: "Right-To-Left Multi line"
+          text run at (0,0) width 197: "Right-To-Left single line"
+      LayoutBlockFlow {H3} at (0,1858.59) size 769x23
+        LayoutText {#text} at (0,0) size 196x22
+          text run at (0,0) width 196: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,2230.31) size 769x23
         LayoutText {#text} at (0,0) size 343x22
           text run at (0,0) width 343: "Right-To-Left containing replaced content"
       LayoutBlockFlow {H3} at (0,2602.03) size 769x23
         LayoutText {#text} at (0,0) size 507x22
           text run at (0,0) width 507: "Right-To-Left containing replaced content blocking the ellipsis"
-layer at (8,50) size 22x310 clip at (9,51) size 20x308 scrollHeight 718
+layer at (8,50) size 22x310 clip at (9,51) size 20x308 scrollHeight 719
   LayoutBlockFlow {DIV} at (0,41.72) size 22x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,1) size 19x719
       text run at (1,1) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,421) size 82x310 backgroundClip at (8,421) size 82x179 clip at (9,422) size 80x178 scrollHeight 718
+layer at (8,421) size 82x310 backgroundClip at (8,421) size 82x179 clip at (9,422) size 80x178 scrollHeight 719
   LayoutBlockFlow {DIV} at (0,413.44) size 82x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,1) size 19x719
       text run at (1,1) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
@@ -45,49 +45,49 @@
     LayoutText {#text} at (61,1) size 19x696
       text run at (61,1) width 696: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,793) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 747
+layer at (8,793) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 748
   LayoutBlockFlow {DIV} at (0,785.16) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,1) size 19x181
       text run at (11,1) width 181: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (1,182) size 25x25
     LayoutText {#text} at (11,207) size 19x542
       text run at (11,207) width 542: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,1165) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 743
+layer at (8,1165) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 744
   LayoutBlockFlow {DIV} at (0,1156.88) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,1) size 19x271
       text run at (11,1) width 271: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (1,272) size 25x25
     LayoutText {#text} at (11,297) size 19x448
       text run at (11,297) width 448: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,1537) size 22x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 410.00 scrollHeight 718
+layer at (8,1537) size 22x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 411.00 scrollHeight 719
   LayoutBlockFlow {DIV} at (0,1528.59) size 22x310 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,-409) size 19x719
-      text run at (1,-409) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,1908) size 82x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 410.00 scrollHeight 718
+    LayoutText {#text} at (1,-410) size 19x719
+      text run at (1,-410) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,1908) size 82x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 411.00 scrollHeight 719
   LayoutBlockFlow {DIV} at (0,1900.31) size 82x310 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,-409) size 19x719
-      text run at (1,-409) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,-410) size 19x719
+      text run at (1,-410) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (21,-399) size 19x709
-      text run at (21,-399) width 709 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (21,-400) size 19x709
+      text run at (21,-400) width 709 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (41,-391) size 19x701
-      text run at (41,-391) width 701 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (41,-392) size 19x701
+      text run at (41,-392) width 701 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (61,-389) size 19x696
-      text run at (61,-389) width 696 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (61,-390) size 19x696
+      text run at (61,-390) width 696 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,2280) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 439.00 scrollHeight 747
+layer at (8,2280) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 440.00 scrollHeight 748
   LayoutBlockFlow {DIV} at (0,2272.03) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,128) size 19x181
       text run at (11,128) width 181 RTL override: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (1,103) size 25x25
-    LayoutText {#text} at (11,-438) size 19x542
-      text run at (11,-438) width 542 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,2652) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 435.00 scrollHeight 743
+    LayoutText {#text} at (11,-439) size 19x542
+      text run at (11,-439) width 542 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,2652) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 436.00 scrollHeight 744
   LayoutBlockFlow {DIV} at (0,2643.75) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,38) size 19x271
       text run at (11,38) width 271 RTL override: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (1,13) size 25x25
-    LayoutText {#text} at (11,-434) size 19x448
-      text run at (11,-434) width 448 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (11,-435) size 19x448
+      text run at (11,-435) width 448 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt
index d9fae9e2..42d7e0d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt
@@ -16,22 +16,22 @@
         LayoutText {#text} at (0,0) size 396x22
           text run at (0,0) width 396: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,1486.88) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
-      LayoutBlockFlow {H3} at (0,1858.59) size 769x23
         LayoutText {#text} at (0,0) size 197x22
-          text run at (0,0) width 197: "Right-To-Left Multi line"
+          text run at (0,0) width 197: "Right-To-Left single line"
+      LayoutBlockFlow {H3} at (0,1858.59) size 769x23
+        LayoutText {#text} at (0,0) size 196x22
+          text run at (0,0) width 196: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,2230.31) size 769x23
         LayoutText {#text} at (0,0) size 343x22
           text run at (0,0) width 343: "Right-To-Left containing replaced content"
       LayoutBlockFlow {H3} at (0,2602.03) size 769x23
         LayoutText {#text} at (0,0) size 507x22
           text run at (0,0) width 507: "Right-To-Left containing replaced content blocking the ellipsis"
-layer at (8,50) size 22x310 clip at (9,51) size 20x308 scrollHeight 723
+layer at (8,50) size 22x310 clip at (9,51) size 20x308 scrollHeight 724
   LayoutBlockFlow {DIV} at (0,41.72) size 22x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,6) size 19x719
       text run at (1,6) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,421) size 82x310 backgroundClip at (8,421) size 82x179 clip at (9,422) size 80x178 scrollHeight 723
+layer at (8,421) size 82x310 backgroundClip at (8,421) size 82x179 clip at (9,422) size 80x178 scrollHeight 724
   LayoutBlockFlow {DIV} at (0,413.44) size 82x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,6) size 19x719
       text run at (1,6) width 719: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
@@ -45,49 +45,49 @@
     LayoutText {#text} at (61,4) size 19x696
       text run at (61,4) width 696: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,793) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 747
+layer at (8,793) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 748
   LayoutBlockFlow {DIV} at (0,785.16) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,1) size 19x181
       text run at (11,1) width 181: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (1,182) size 25x25
     LayoutText {#text} at (11,207) size 19x542
       text run at (11,207) width 542: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,1165) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 743
+layer at (8,1165) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 744
   LayoutBlockFlow {DIV} at (0,1156.88) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,1) size 19x271
       text run at (11,1) width 271: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (1,272) size 25x25
     LayoutText {#text} at (11,297) size 19x448
       text run at (11,297) width 448: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,1537) size 22x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 410.00 scrollHeight 718
+layer at (8,1537) size 22x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 411.00 scrollHeight 719
   LayoutBlockFlow {DIV} at (0,1528.59) size 22x310 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,-409) size 19x719
-      text run at (1,-409) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,1908) size 82x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 410.00 scrollHeight 718
+    LayoutText {#text} at (1,-410) size 19x719
+      text run at (1,-410) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,1908) size 82x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 411.00 scrollHeight 719
   LayoutBlockFlow {DIV} at (0,1900.31) size 82x310 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,-409) size 19x719
-      text run at (1,-409) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,-410) size 19x719
+      text run at (1,-410) width 719 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (21,-399) size 19x709
-      text run at (21,-399) width 709 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (21,-400) size 19x709
+      text run at (21,-400) width 709 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (41,-391) size 19x701
-      text run at (41,-391) width 701 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (41,-392) size 19x701
+      text run at (41,-392) width 701 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (61,-386) size 19x696
-      text run at (61,-386) width 696 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (61,-387) size 19x696
+      text run at (61,-387) width 696 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-layer at (8,2280) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 439.00 scrollHeight 747
+layer at (8,2280) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 440.00 scrollHeight 748
   LayoutBlockFlow {DIV} at (0,2272.03) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,128) size 19x181
       text run at (11,128) width 181 RTL override: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (1,103) size 25x25
-    LayoutText {#text} at (11,-438) size 19x542
-      text run at (11,-438) width 542 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,2652) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 435.00 scrollHeight 743
+    LayoutText {#text} at (11,-439) size 19x542
+      text run at (11,-439) width 542 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+layer at (8,2652) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 436.00 scrollHeight 744
   LayoutBlockFlow {DIV} at (0,2643.75) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,38) size 19x271
       text run at (11,38) width 271 RTL override: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (1,13) size 25x25
-    LayoutText {#text} at (11,-434) size 19x448
-      text run at (11,-434) width 448 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (11,-435) size 19x448
+      text run at (11,-435) width 448 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/visibility-hit-test-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/visibility-hit-test-expected.png
index f6391494..afb6e7de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/visibility-hit-test-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/visibility-hit-test-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/visibility-hit-test-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/visibility-hit-test-expected.txt
index d5cbe58..61ebb81 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/visibility-hit-test-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/visibility-hit-test-expected.txt
@@ -7,6 +7,6 @@
         LayoutImage {IMG} at (0,0) size 300x300
       LayoutText {#text} at (300,285) size 4x19
         text run at (300,285) width 4: " "
-      LayoutText {#text} at (304,285) size 443x19
-        text run at (304,285) width 348: "The element at position (100, 100) should be the body. "
-        text run at (651,285) width 96: "Result: BODY"
+      LayoutText {#text} at (304,285) size 442x19
+        text run at (304,285) width 347: "The element at position (100, 100) should be the body. "
+        text run at (651,285) width 95: "Result: BODY"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/word-space-extra-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css/word-space-extra-expected.png
index 6eb7132..8a7480c2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/word-space-extra-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/word-space-extra-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/word-space-extra-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/word-space-extra-expected.txt
index 7fec740..b603a678 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/word-space-extra-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/word-space-extra-expected.txt
@@ -293,89 +293,89 @@
             text run at (0,0) width 117: "In a span"
       LayoutBlockFlow (anonymous) at (0,498.16) size 784x300
         LayoutInline {SPAN} at (0,0) size 774x259
-          LayoutText {#text} at (0,0) size 176x19
-            text run at (0,0) width 59: "Word "
-            text run at (58,0) width 118: "spacing test "
-          LayoutInline {EM} at (0,0) size 19x19
-            LayoutText {#text} at (175,0) size 19x19
-              text run at (175,0) width 19: "for"
-          LayoutText {#text} at (213,0) size 5x19
-            text run at (213,0) width 5: " "
-          LayoutInline {STRONG} at (0,0) size 59x19
-            LayoutText {#text} at (217,0) size 59x19
-              text run at (217,0) width 59: "elements"
-          LayoutText {#text} at (295,0) size 5x19
-            text run at (295,0) width 5: " "
-          LayoutInline {TT} at (0,0) size 49x16
-            LayoutText {#text} at (299,3) size 49x16
-              text run at (299,3) width 49: "within"
-          LayoutText {#text} at (367,0) size 108x19
-            text run at (367,0) width 108: " elements too."
-          LayoutBR {BR} at (494,15) size 1x0
-          LayoutText {#text} at (0,20) size 176x19
-            text run at (0,20) width 59: "Word "
-            text run at (58,20) width 118: "spacing test "
-          LayoutInline {EM} at (0,0) size 19x19
-            LayoutText {#text} at (175,20) size 19x19
-              text run at (175,20) width 19: "for"
-          LayoutText {#text} at (213,20) size 5x19
-            text run at (213,20) width 5: " "
-          LayoutInline {STRONG} at (0,0) size 59x19
-            LayoutText {#text} at (217,20) size 59x19
-              text run at (217,20) width 59: "elements"
-          LayoutText {#text} at (295,20) size 5x19
-            text run at (295,20) width 5: " "
-          LayoutInline {TT} at (0,0) size 49x16
-            LayoutText {#text} at (299,23) size 49x16
-              text run at (299,23) width 49: "within"
-          LayoutText {#text} at (367,20) size 84x19
-            text run at (367,20) width 84: " elements "
-          LayoutText {#text} at (450,20) size 770x39
-            text run at (450,20) width 320: "too. (with comment between elements"
+          LayoutText {#text} at (0,0) size 175x19
+            text run at (0,0) width 58: "Word "
+            text run at (58,0) width 117: "spacing test "
+          LayoutInline {EM} at (0,0) size 18x19
+            LayoutText {#text} at (175,0) size 18x19
+              text run at (175,0) width 18: "for"
+          LayoutText {#text} at (213,0) size 4x19
+            text run at (213,0) width 4: " "
+          LayoutInline {STRONG} at (0,0) size 58x19
+            LayoutText {#text} at (217,0) size 58x19
+              text run at (217,0) width 58: "elements"
+          LayoutText {#text} at (295,0) size 4x19
+            text run at (295,0) width 4: " "
+          LayoutInline {TT} at (0,0) size 48x16
+            LayoutText {#text} at (299,3) size 48x16
+              text run at (299,3) width 48: "within"
+          LayoutText {#text} at (367,0) size 107x19
+            text run at (367,0) width 107: " elements too."
+          LayoutBR {BR} at (494,15) size 0x0
+          LayoutText {#text} at (0,20) size 175x19
+            text run at (0,20) width 58: "Word "
+            text run at (58,20) width 117: "spacing test "
+          LayoutInline {EM} at (0,0) size 18x19
+            LayoutText {#text} at (175,20) size 18x19
+              text run at (175,20) width 18: "for"
+          LayoutText {#text} at (213,20) size 4x19
+            text run at (213,20) width 4: " "
+          LayoutInline {STRONG} at (0,0) size 58x19
+            LayoutText {#text} at (217,20) size 58x19
+              text run at (217,20) width 58: "elements"
+          LayoutText {#text} at (295,20) size 4x19
+            text run at (295,20) width 4: " "
+          LayoutInline {TT} at (0,0) size 48x16
+            LayoutText {#text} at (299,23) size 48x16
+              text run at (299,23) width 48: "within"
+          LayoutText {#text} at (367,20) size 83x19
+            text run at (367,20) width 83: " elements "
+          LayoutText {#text} at (450,20) size 769x39
+            text run at (450,20) width 319: "too. (with comment between elements"
             text run at (0,40) width 72: "and too)"
           LayoutBR {BR} at (92,55) size 0x0
-          LayoutText {#text} at (0,60) size 176x19
-            text run at (0,60) width 59: "Word "
-            text run at (58,60) width 118: "spacing test "
-          LayoutInline {EM} at (0,0) size 19x19
-            LayoutText {#text} at (175,60) size 19x19
-              text run at (175,60) width 19: "for"
-          LayoutText {#text} at (213,60) size 5x19
-            text run at (213,60) width 5: " "
-          LayoutInline {STRONG} at (0,0) size 59x19
-            LayoutText {#text} at (217,60) size 59x19
-              text run at (217,60) width 59: "elements"
-          LayoutText {#text} at (295,60) size 5x19
-            text run at (295,60) width 5: " "
-          LayoutInline {TT} at (0,0) size 49x16
-            LayoutText {#text} at (299,63) size 49x16
-              text run at (299,63) width 49: "within"
-          LayoutText {#text} at (367,60) size 60x19
-            text run at (367,60) width 60: " elements"
-          LayoutText {#text} at (446,60) size 745x39
-            text run at (446,60) width 299: " too. (with comment (no preceding"
+          LayoutText {#text} at (0,60) size 175x19
+            text run at (0,60) width 58: "Word "
+            text run at (58,60) width 117: "spacing test "
+          LayoutInline {EM} at (0,0) size 18x19
+            LayoutText {#text} at (175,60) size 18x19
+              text run at (175,60) width 18: "for"
+          LayoutText {#text} at (213,60) size 4x19
+            text run at (213,60) width 4: " "
+          LayoutInline {STRONG} at (0,0) size 58x19
+            LayoutText {#text} at (217,60) size 58x19
+              text run at (217,60) width 58: "elements"
+          LayoutText {#text} at (295,60) size 4x19
+            text run at (295,60) width 4: " "
+          LayoutInline {TT} at (0,0) size 48x16
+            LayoutText {#text} at (299,63) size 48x16
+              text run at (299,63) width 48: "within"
+          LayoutText {#text} at (367,60) size 59x19
+            text run at (367,60) width 59: " elements"
+          LayoutText {#text} at (446,60) size 744x39
+            text run at (446,60) width 298: " too. (with comment (no preceding"
             text run at (0,80) width 292: "space) between elements and too)"
           LayoutBR {BR} at (312,95) size 0x0
-          LayoutText {#text} at (0,100) size 176x19
-            text run at (0,100) width 59: "Word "
-            text run at (58,100) width 118: "spacing test "
-          LayoutInline {EM} at (0,0) size 19x19
-            LayoutText {#text} at (175,100) size 19x19
-              text run at (175,100) width 19: "for"
-          LayoutText {#text} at (213,100) size 5x19
-            text run at (213,100) width 5: " "
-          LayoutInline {STRONG} at (0,0) size 59x19
-            LayoutText {#text} at (217,100) size 59x19
-              text run at (217,100) width 59: "elements"
-          LayoutText {#text} at (295,100) size 5x19
-            text run at (295,100) width 5: " "
-          LayoutInline {TT} at (0,0) size 49x16
-            LayoutText {#text} at (299,103) size 49x16
-              text run at (299,103) width 49: "within"
-          LayoutText {#text} at (367,100) size 84x19
-            text run at (367,100) width 84: " elements "
-          LayoutText {#text} at (450,100) size 727x39
-            text run at (450,100) width 277: "too. (with comment (no trailing"
+          LayoutText {#text} at (0,100) size 175x19
+            text run at (0,100) width 58: "Word "
+            text run at (58,100) width 117: "spacing test "
+          LayoutInline {EM} at (0,0) size 18x19
+            LayoutText {#text} at (175,100) size 18x19
+              text run at (175,100) width 18: "for"
+          LayoutText {#text} at (213,100) size 4x19
+            text run at (213,100) width 4: " "
+          LayoutInline {STRONG} at (0,0) size 58x19
+            LayoutText {#text} at (217,100) size 58x19
+              text run at (217,100) width 58: "elements"
+          LayoutText {#text} at (295,100) size 4x19
+            text run at (295,100) width 4: " "
+          LayoutInline {TT} at (0,0) size 48x16
+            LayoutText {#text} at (299,103) size 48x16
+              text run at (299,103) width 48: "within"
+          LayoutText {#text} at (367,100) size 83x19
+            text run at (367,100) width 83: " elements "
+          LayoutText {#text} at (450,100) size 726x39
+            text run at (450,100) width 276: "too. (with comment (no trailing"
             text run at (0,120) width 292: "space) between elements and too)"
           LayoutBR {BR} at (312,135) size 0x0
           LayoutInline {SPAN} at (0,0) size 320x16
@@ -397,50 +397,50 @@
               text run at (344,143) width 48: "within"
           LayoutText {#text} at (412,140) size 774x39
             text run at (412,140) width 362: " elements too. (with monospace font from"
-            text run at (0,160) width 155: "Word to elements)"
-          LayoutBR {BR} at (174,175) size 1x0
-          LayoutText {#text} at (0,180) size 176x19
-            text run at (0,180) width 59: "Word "
-            text run at (58,180) width 118: "spacing test "
-          LayoutInline {SPAN} at (0,0) size 193x16
-            LayoutInline {EM} at (0,0) size 25x17
-              LayoutText {#text} at (175,182) size 25x17
-                text run at (175,182) width 25: "for"
-            LayoutText {#text} at (219,183) size 9x16
-              text run at (219,183) width 9: " "
-            LayoutInline {STRONG} at (0,0) size 65x16
-              LayoutText {#text} at (227,183) size 65x16
-                text run at (227,183) width 65: "elements"
-            LayoutText {#text} at (311,183) size 9x16
-              text run at (311,183) width 9: " "
-            LayoutInline {TT} at (0,0) size 49x16
-              LayoutText {#text} at (319,183) size 49x16
-                text run at (319,183) width 49: "within"
-          LayoutText {#text} at (387,180) size 750x39
-            text run at (387,180) width 363: " elements too. (with monospace font from"
+            text run at (0,160) width 154: "Word to elements)"
+          LayoutBR {BR} at (174,175) size 0x0
+          LayoutText {#text} at (0,180) size 175x19
+            text run at (0,180) width 58: "Word "
+            text run at (58,180) width 117: "spacing test "
+          LayoutInline {SPAN} at (0,0) size 192x16
+            LayoutInline {EM} at (0,0) size 24x17
+              LayoutText {#text} at (175,182) size 24x17
+                text run at (175,182) width 24: "for"
+            LayoutText {#text} at (219,183) size 8x16
+              text run at (219,183) width 8: " "
+            LayoutInline {STRONG} at (0,0) size 64x16
+              LayoutText {#text} at (227,183) size 64x16
+                text run at (227,183) width 64: "elements"
+            LayoutText {#text} at (311,183) size 8x16
+              text run at (311,183) width 8: " "
+            LayoutInline {TT} at (0,0) size 48x16
+              LayoutText {#text} at (319,183) size 48x16
+                text run at (319,183) width 48: "within"
+          LayoutText {#text} at (387,180) size 749x39
+            text run at (387,180) width 362: " elements too. (with monospace font from"
             text run at (0,200) width 123: "for to within)"
           LayoutBR {BR} at (143,215) size 0x0
-          LayoutText {#text} at (0,220) size 176x19
-            text run at (0,220) width 59: "Word "
-            text run at (58,220) width 118: "spacing test "
-          LayoutInline {EM} at (0,0) size 19x19
-            LayoutText {#text} at (175,220) size 19x19
-              text run at (175,220) width 19: "for"
-          LayoutText {#text} at (213,220) size 5x19
-            text run at (213,220) width 5: " "
-          LayoutInline {STRONG} at (0,0) size 59x19
-            LayoutText {#text} at (217,220) size 59x19
-              text run at (217,220) width 59: "elements"
-          LayoutText {#text} at (295,220) size 5x19
-            text run at (295,220) width 5: " "
-          LayoutInline {SPAN} at (0,0) size 193x16
-            LayoutInline {TT} at (0,0) size 49x16
-              LayoutText {#text} at (299,223) size 49x16
-                text run at (299,223) width 49: "within"
-            LayoutText {#text} at (367,223) size 125x16
-              text run at (367,223) width 125: " elements too"
-          LayoutText {#text} at (491,220) size 751x39
-            text run at (491,220) width 260: ". (with monospace font from"
+          LayoutText {#text} at (0,220) size 175x19
+            text run at (0,220) width 58: "Word "
+            text run at (58,220) width 117: "spacing test "
+          LayoutInline {EM} at (0,0) size 18x19
+            LayoutText {#text} at (175,220) size 18x19
+              text run at (175,220) width 18: "for"
+          LayoutText {#text} at (213,220) size 4x19
+            text run at (213,220) width 4: " "
+          LayoutInline {STRONG} at (0,0) size 58x19
+            LayoutText {#text} at (217,220) size 58x19
+              text run at (217,220) width 58: "elements"
+          LayoutText {#text} at (295,220) size 4x19
+            text run at (295,220) width 4: " "
+          LayoutInline {SPAN} at (0,0) size 192x16
+            LayoutInline {TT} at (0,0) size 48x16
+              LayoutText {#text} at (299,223) size 48x16
+                text run at (299,223) width 48: "within"
+            LayoutText {#text} at (367,223) size 124x16
+              text run at (367,223) width 124: " elements too"
+          LayoutText {#text} at (491,220) size 750x39
+            text run at (491,220) width 259: ". (with monospace font from"
             text run at (0,240) width 164: "elements to too) "
         LayoutText {#text} at (0,0) size 0x0
         LayoutBR {BR} at (0,0) size 0x0
@@ -1181,84 +1181,84 @@
             text run at (0,0) width 162: "In a span"
       LayoutBlockFlow (anonymous) at (0,2200.28) size 784x360
         LayoutInline {SPAN} at (0,0) size 795x359
-          LayoutText {#text} at (0,0) size 423x19
-            text run at (0,0) width 241: "Word and letter "
-            text run at (240,0) width 183: "spacing test "
-          LayoutInline {EM} at (0,0) size 34x19
-            LayoutText {#text} at (422,0) size 34x19
-              text run at (422,0) width 34: "for"
-          LayoutText {#text} at (475,0) size 10x19
-            text run at (475,0) width 10: " "
-          LayoutInline {STRONG} at (0,0) size 99x19
-            LayoutText {#text} at (484,0) size 99x19
-              text run at (484,0) width 99: "elements"
-          LayoutText {#text} at (602,0) size 10x19
-            text run at (602,0) width 10: " "
-          LayoutInline {TT} at (0,0) size 79x16
-            LayoutText {#text} at (611,3) size 79x16
-              text run at (611,3) width 79: "within"
+          LayoutText {#text} at (0,0) size 422x19
+            text run at (0,0) width 240: "Word and letter "
+            text run at (240,0) width 182: "spacing test "
+          LayoutInline {EM} at (0,0) size 33x19
+            LayoutText {#text} at (422,0) size 33x19
+              text run at (422,0) width 33: "for"
+          LayoutText {#text} at (475,0) size 9x19
+            text run at (475,0) width 9: " "
+          LayoutInline {STRONG} at (0,0) size 98x19
+            LayoutText {#text} at (484,0) size 98x19
+              text run at (484,0) width 98: "elements"
+          LayoutText {#text} at (602,0) size 9x19
+            text run at (602,0) width 9: " "
+          LayoutInline {TT} at (0,0) size 78x16
+            LayoutText {#text} at (611,3) size 78x16
+              text run at (611,3) width 78: "within"
           LayoutText {#text} at (0,20) size 168x19
             text run at (0,20) width 168: "elements too."
           LayoutBR {BR} at (188,35) size 0x0
-          LayoutText {#text} at (0,40) size 423x19
-            text run at (0,40) width 241: "Word and letter "
-            text run at (240,40) width 183: "spacing test "
-          LayoutInline {EM} at (0,0) size 34x19
-            LayoutText {#text} at (422,40) size 34x19
-              text run at (422,40) width 34: "for"
-          LayoutText {#text} at (475,40) size 10x19
-            text run at (475,40) width 10: " "
-          LayoutInline {STRONG} at (0,0) size 99x19
-            LayoutText {#text} at (484,40) size 99x19
-              text run at (484,40) width 99: "elements"
-          LayoutText {#text} at (602,40) size 10x19
-            text run at (602,40) width 10: " "
-          LayoutInline {TT} at (0,0) size 79x16
-            LayoutText {#text} at (611,43) size 79x16
-              text run at (611,43) width 79: "within"
+          LayoutText {#text} at (0,40) size 422x19
+            text run at (0,40) width 240: "Word and letter "
+            text run at (240,40) width 182: "spacing test "
+          LayoutInline {EM} at (0,0) size 33x19
+            LayoutText {#text} at (422,40) size 33x19
+              text run at (422,40) width 33: "for"
+          LayoutText {#text} at (475,40) size 9x19
+            text run at (475,40) width 9: " "
+          LayoutInline {STRONG} at (0,0) size 98x19
+            LayoutText {#text} at (484,40) size 98x19
+              text run at (484,40) width 98: "elements"
+          LayoutText {#text} at (602,40) size 9x19
+            text run at (602,40) width 9: " "
+          LayoutInline {TT} at (0,0) size 78x16
+            LayoutText {#text} at (611,43) size 78x16
+              text run at (611,43) width 78: "within"
           LayoutText {#text} at (0,60) size 124x19
             text run at (0,60) width 124: "elements "
           LayoutText {#text} at (124,60) size 635x19
             text run at (124,60) width 635: "too. (with comment between elements and too)"
           LayoutBR {BR} at (779,75) size 0x0
-          LayoutText {#text} at (0,80) size 423x19
-            text run at (0,80) width 241: "Word and letter "
-            text run at (240,80) width 183: "spacing test "
-          LayoutInline {EM} at (0,0) size 34x19
-            LayoutText {#text} at (422,80) size 34x19
-              text run at (422,80) width 34: "for"
-          LayoutText {#text} at (475,80) size 10x19
-            text run at (475,80) width 10: " "
-          LayoutInline {STRONG} at (0,0) size 99x19
-            LayoutText {#text} at (484,80) size 99x19
-              text run at (484,80) width 99: "elements"
-          LayoutText {#text} at (602,80) size 10x19
-            text run at (602,80) width 10: " "
-          LayoutInline {TT} at (0,0) size 79x16
-            LayoutText {#text} at (611,83) size 79x16
-              text run at (611,83) width 79: "within"
+          LayoutText {#text} at (0,80) size 422x19
+            text run at (0,80) width 240: "Word and letter "
+            text run at (240,80) width 182: "spacing test "
+          LayoutInline {EM} at (0,0) size 33x19
+            LayoutText {#text} at (422,80) size 33x19
+              text run at (422,80) width 33: "for"
+          LayoutText {#text} at (475,80) size 9x19
+            text run at (475,80) width 9: " "
+          LayoutInline {STRONG} at (0,0) size 98x19
+            LayoutText {#text} at (484,80) size 98x19
+              text run at (484,80) width 98: "elements"
+          LayoutText {#text} at (602,80) size 9x19
+            text run at (602,80) width 9: " "
+          LayoutInline {TT} at (0,0) size 78x16
+            LayoutText {#text} at (611,83) size 78x16
+              text run at (611,83) width 78: "within"
           LayoutText {#text} at (0,100) size 95x19
             text run at (0,100) width 95: "elements"
           LayoutText {#text} at (115,100) size 677x39
             text run at (115,100) width 562: " too. (with comment (no preceding space)"
             text run at (0,120) width 353: "between elements and too)"
           LayoutBR {BR} at (373,135) size 0x0
-          LayoutText {#text} at (0,140) size 423x19
-            text run at (0,140) width 241: "Word and letter "
-            text run at (240,140) width 183: "spacing test "
-          LayoutInline {EM} at (0,0) size 34x19
-            LayoutText {#text} at (422,140) size 34x19
-              text run at (422,140) width 34: "for"
-          LayoutText {#text} at (475,140) size 10x19
-            text run at (475,140) width 10: " "
-          LayoutInline {STRONG} at (0,0) size 99x19
-            LayoutText {#text} at (484,140) size 99x19
-              text run at (484,140) width 99: "elements"
-          LayoutText {#text} at (602,140) size 10x19
-            text run at (602,140) width 10: " "
-          LayoutInline {TT} at (0,0) size 79x16
-            LayoutText {#text} at (611,143) size 79x16
-              text run at (611,143) width 79: "within"
+          LayoutText {#text} at (0,140) size 422x19
+            text run at (0,140) width 240: "Word and letter "
+            text run at (240,140) width 182: "spacing test "
+          LayoutInline {EM} at (0,0) size 33x19
+            LayoutText {#text} at (422,140) size 33x19
+              text run at (422,140) width 33: "for"
+          LayoutText {#text} at (475,140) size 9x19
+            text run at (475,140) width 9: " "
+          LayoutInline {STRONG} at (0,0) size 98x19
+            LayoutText {#text} at (484,140) size 98x19
+              text run at (484,140) width 98: "elements"
+          LayoutText {#text} at (602,140) size 9x19
+            text run at (602,140) width 9: " "
+          LayoutInline {TT} at (0,0) size 78x16
+            LayoutText {#text} at (611,143) size 78x16
+              text run at (611,143) width 78: "within"
           LayoutText {#text} at (0,160) size 124x19
             text run at (0,160) width 124: "elements "
           LayoutText {#text} at (124,160) size 771x39
@@ -1282,47 +1282,47 @@
           LayoutInline {TT} at (0,0) size 78x16
             LayoutText {#text} at (682,203) size 78x16
               text run at (682,203) width 78: "within"
-          LayoutText {#text} at (0,220) size 688x39
-            text run at (0,220) width 688: "elements too. (with monospace font from Word to"
+          LayoutText {#text} at (0,220) size 687x39
+            text run at (0,220) width 687: "elements too. (with monospace font from Word to"
             text run at (0,240) width 105: "elements)"
           LayoutBR {BR} at (125,255) size 0x0
-          LayoutText {#text} at (0,260) size 423x19
-            text run at (0,260) width 241: "Word and letter "
-            text run at (240,260) width 183: "spacing test "
-          LayoutInline {SPAN} at (0,0) size 288x16
-            LayoutInline {EM} at (0,0) size 40x17
-              LayoutText {#text} at (422,262) size 40x17
-                text run at (422,262) width 40: "for"
-            LayoutText {#text} at (481,263) size 14x16
-              text run at (481,263) width 14: " "
-            LayoutInline {STRONG} at (0,0) size 105x16
-              LayoutText {#text} at (494,263) size 105x16
-                text run at (494,263) width 105: "elements"
-            LayoutText {#text} at (618,263) size 14x16
-              text run at (618,263) width 14: " "
-            LayoutInline {TT} at (0,0) size 79x16
-              LayoutText {#text} at (631,263) size 79x16
-                text run at (631,263) width 79: "within"
+          LayoutText {#text} at (0,260) size 422x19
+            text run at (0,260) width 240: "Word and letter "
+            text run at (240,260) width 182: "spacing test "
+          LayoutInline {SPAN} at (0,0) size 287x16
+            LayoutInline {EM} at (0,0) size 39x17
+              LayoutText {#text} at (422,262) size 39x17
+                text run at (422,262) width 39: "for"
+            LayoutText {#text} at (481,263) size 13x16
+              text run at (481,263) width 13: " "
+            LayoutInline {STRONG} at (0,0) size 104x16
+              LayoutText {#text} at (494,263) size 104x16
+                text run at (494,263) width 104: "elements"
+            LayoutText {#text} at (618,263) size 13x16
+              text run at (618,263) width 13: " "
+            LayoutInline {TT} at (0,0) size 78x16
+              LayoutText {#text} at (631,263) size 78x16
+                text run at (631,263) width 78: "within"
           LayoutText {#text} at (0,280) size 775x19
             text run at (0,280) width 775: "elements too. (with monospace font from for to within)"
           LayoutBR {BR} at (795,295) size 0x0
-          LayoutText {#text} at (0,300) size 423x19
-            text run at (0,300) width 241: "Word and letter "
-            text run at (240,300) width 183: "spacing test "
-          LayoutInline {EM} at (0,0) size 34x19
-            LayoutText {#text} at (422,300) size 34x19
-              text run at (422,300) width 34: "for"
-          LayoutText {#text} at (475,300) size 10x19
-            text run at (475,300) width 10: " "
-          LayoutInline {STRONG} at (0,0) size 99x19
-            LayoutText {#text} at (484,300) size 99x19
-              text run at (484,300) width 99: "elements"
-          LayoutText {#text} at (602,300) size 10x19
-            text run at (602,300) width 10: " "
-          LayoutInline {SPAN} at (0,0) size 690x36
-            LayoutInline {TT} at (0,0) size 79x16
-              LayoutText {#text} at (611,303) size 79x16
-                text run at (611,303) width 79: "within"
+          LayoutText {#text} at (0,300) size 422x19
+            text run at (0,300) width 240: "Word and letter "
+            text run at (240,300) width 182: "spacing test "
+          LayoutInline {EM} at (0,0) size 33x19
+            LayoutText {#text} at (422,300) size 33x19
+              text run at (422,300) width 33: "for"
+          LayoutText {#text} at (475,300) size 9x19
+            text run at (475,300) width 9: " "
+          LayoutInline {STRONG} at (0,0) size 98x19
+            LayoutText {#text} at (484,300) size 98x19
+              text run at (484,300) width 98: "elements"
+          LayoutText {#text} at (602,300) size 9x19
+            text run at (602,300) width 9: " "
+          LayoutInline {SPAN} at (0,0) size 689x36
+            LayoutInline {TT} at (0,0) size 78x16
+              LayoutText {#text} at (611,303) size 78x16
+                text run at (611,303) width 78: "within"
             LayoutText {#text} at (0,323) size 176x16
               text run at (0,323) width 176: "elements too"
           LayoutText {#text} at (176,320) size 745x39
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-expected.png
index 5e6aa82..ce0289b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links-expected.png
index ef17cad..65c004b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-not-propagated-by-out-of-flow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-not-propagated-by-out-of-flow-expected.png
index 44b92f6..aef9337 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-not-propagated-by-out-of-flow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-not-propagated-by-out-of-flow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-simple-underlines-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-simple-underlines-expected.png
index c587dc5..623f4c31 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-simple-underlines-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-simple-underlines-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-all-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-all-expected.png
index 450a470..20ca554 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-all-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-all-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-auto-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-auto-expected.png
index 513d740..598e395b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-auto-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-auto-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-under-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-under-expected.png
index 2cddf69b..668579c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-under-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-under-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-under-out-of-flow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-under-out-of-flow-expected.png
index 0224afb..7c6710d3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-under-out-of-flow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-under-out-of-flow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-justify/text-justify-8bits-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-justify/text-justify-8bits-expected.png
index 1148090b..c857eeb2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-justify/text-justify-8bits-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css3-text/css3-text-justify/text-justify-8bits-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/001-expected.png
index 79d340c6..928d6ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/004-expected.png
index c7a7700e..f39e3aba 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/008-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/008-expected.png
index e9d6d8d6..7b41e58 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/008-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/008-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/009-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/009-expected.png
index e53ce53..013fa8b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/009-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/009-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/009-horizontal-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/009-horizontal-expected.png
index c34f4f2b..e572af7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/009-horizontal-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/009-horizontal-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/010-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/010-expected.png
index d65bb2b2..8b48833b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/010-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/011-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/011-expected.png
index 4089a34..c0a1d6a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/011-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/011-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/012-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/012-expected.png
index 268eda7..d27d25d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/013-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/013-expected.png
index 902f36c..30f6fb7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/013-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/013-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/014-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/014-expected.png
index 902f36c..30f6fb7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/014-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/014-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/015-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/015-expected.png
index 902f36c..30f6fb7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/015-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/015-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/016-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/016-expected.png
index ae57c80..3a95ea8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/016-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/016-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/017-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/017-expected.png
index 609fb91..62fb773 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/017-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/017-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/018-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/018-expected.png
index c247294..c9ba7dce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/018-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/018-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/019-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/019-expected.png
index c247294..c9ba7dce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/019-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/019-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/020-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/020-expected.png
index 749717fd..d64bfcd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/020-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/020-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/021-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/021-expected.png
index f38080b..b3f7607 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/021-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/021-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/022-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/022-expected.png
index f063ec3..278e5e3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/022-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/022-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/023-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/023-expected.png
index 1c510153..9b3d21a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/023-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/023-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/024-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/024-expected.png
index 1c510153..9b3d21a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/024-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/024-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/025-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/025-expected.png
index d70db801f..6a740ed 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/025-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/deprecated-flexbox/025-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dnd/link-dragging-draggable-div-with-dragged-link-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dnd/link-dragging-draggable-div-with-dragged-link-expected.png
index 6be5b01..de92bfd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dnd/link-dragging-draggable-div-with-dragged-link-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dnd/link-dragging-draggable-div-with-dragged-link-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dnd/link-dragging-non-draggable-link-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dnd/link-dragging-non-draggable-link-expected.png
index a49d712..baec19c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dnd/link-dragging-non-draggable-link-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dnd/link-dragging-non-draggable-link-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/001-expected.png
index 0e99cdc..f7578bb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/001-expected.txt
index 4acbc69..e29ffee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/001-expected.txt
@@ -5,9 +5,9 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {DIV} at (0,0) size 784x100
       LayoutBlockFlow (anonymous) at (0,100) size 784x20
-        LayoutText {#text} at (0,0) size 347x19
+        LayoutText {#text} at (0,0) size 346x19
           text run at (0,0) width 159: "This file has no doctype. "
-          text run at (159,0) width 188: "We should be in quirks mode."
+          text run at (159,0) width 187: "We should be in quirks mode."
       LayoutBlockFlow {UL} at (0,136) size 784x40
         LayoutListItem {LI} at (40,0) size 744x40
           LayoutBlockFlow (anonymous) at (0,0) size 744x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/002-expected.png
index 32a3183b..156e7e7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/002-expected.txt
index 4699024..0340a6b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/002-expected.txt
@@ -7,7 +7,7 @@
       LayoutBlockFlow (anonymous) at (0,100) size 784x20
         LayoutText {#text} at (0,0) size 487x19
           text run at (0,0) width 309: "This file has a doc type with no public identifier. "
-          text run at (308,0) width 179: "We should be in strict mode."
+          text run at (309,0) width 178: "We should be in strict mode."
       LayoutBlockFlow {UL} at (0,136) size 784x20
         LayoutListItem {LI} at (40,0) size 744x20
           LayoutBlockFlow {UL} at (0,0) size 744x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/003-expected.png
index 5905978c..708b5a6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/003-expected.txt
index 668d18d..12c550d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/003-expected.txt
@@ -5,9 +5,9 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {DIV} at (0,0) size 784x100
       LayoutBlockFlow (anonymous) at (0,100) size 784x20
-        LayoutText {#text} at (0,0) size 487x19
+        LayoutText {#text} at (0,0) size 486x19
           text run at (0,0) width 299: "This file has a doc type with an internal subset. "
-          text run at (299,0) width 188: "We should be in quirks mode."
+          text run at (299,0) width 187: "We should be in quirks mode."
       LayoutBlockFlow {UL} at (0,136) size 784x40
         LayoutListItem {LI} at (40,0) size 744x40
           LayoutBlockFlow (anonymous) at (0,0) size 744x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/004-expected.png
index 0e99cdc..f7578bb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/004-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/004-expected.txt
index 4acbc69..e29ffee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/doctypes/004-expected.txt
@@ -5,9 +5,9 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {DIV} at (0,0) size 784x100
       LayoutBlockFlow (anonymous) at (0,100) size 784x20
-        LayoutText {#text} at (0,0) size 347x19
+        LayoutText {#text} at (0,0) size 346x19
           text run at (0,0) width 159: "This file has no doctype. "
-          text run at (159,0) width 188: "We should be in quirks mode."
+          text run at (159,0) width 187: "We should be in quirks mode."
       LayoutBlockFlow {UL} at (0,136) size 784x40
         LayoutListItem {LI} at (40,0) size 744x40
           LayoutBlockFlow (anonymous) at (0,0) size 744x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/34176-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/34176-expected.png
index 85ca5df..6e9e14c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/34176-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/34176-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/34176-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/34176-expected.txt
index 5370a4dd8..51efffe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/34176-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/34176-expected.txt
@@ -4,269 +4,269 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x1566
     LayoutBlockFlow {BODY} at (8,16) size 769x1534
       LayoutBlockFlow {P} at (0,0) size 769x60
-        LayoutText {#text} at (16,0) size 753x59
-          text run at (16,0) width 401: "Test rendering of 3 text runs -- TextRun1 TextRun2 TextRun3, "
-          text run at (416,0) width 353: "in which TextRun1 and TextRun2's bidi level are 2, and"
-          text run at (53,20) width 716: "TextRun3's bidi level is 1. TextRun2 and TextRun3 are siblings. But their ancestor (not their parent) is a sibling of"
-          text run at (96,40) width 72: "TextRun1. "
-          text run at (167,40) width 602: "The visual order should be TextRun3 TextRun1 TextRun2, not TextRun3 TextRun2 TextRun1."
+        LayoutText {#text} at (22,0) size 747x59
+          text run at (22,0) width 396: "Test rendering of 3 text runs -- TextRun1 TextRun2 TextRun3, "
+          text run at (418,0) width 351: "in which TextRun1 and TextRun2's bidi level are 2, and"
+          text run at (56,20) width 713: "TextRun3's bidi level is 1. TextRun2 and TextRun3 are siblings. But their ancestor (not their parent) is a sibling of"
+          text run at (103,40) width 70: "TextRun1. "
+          text run at (173,40) width 596: "The visual order should be TextRun3 TextRun1 TextRun2, not TextRun3 TextRun2 TextRun1."
       LayoutBlockFlow {P} at (0,94) size 769x20
-        LayoutText {#text} at (312,0) size 457x19
-          text run at (312,0) width 342: "Pure text. The following 3 lines should all display as \""
-          text run at (653,0) width 23 RTL: "\x{5E9}\x{5E0}\x{5D1}"
-          text run at (675,0) width 94: " This is a Test\""
+        LayoutText {#text} at (313,0) size 456x19
+          text run at (313,0) width 341: "Pure text. The following 3 lines should all display as \""
+          text run at (654,0) width 22 RTL: "\x{5E9}\x{5E0}\x{5D1}"
+          text run at (676,0) width 93: " This is a Test\""
       LayoutBlockFlow {DIV} at (0,130) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (686,0) size 58x19
-          text run at (686,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 109x19
-          LayoutInline {SPAN} at (0,0) size 109x19
-            LayoutText {#text} at (682,0) size 87x19
-              text run at (682,0) width 5 RTL: " "
-              text run at (743,0) width 26: "Test"
-            LayoutInline {SPAN} at (0,0) size 23x19
-              LayoutText {#text} at (660,0) size 23x19
-                text run at (660,0) width 23 RTL: "\x{5E9}\x{5E0}\x{5D1}"
-      LayoutBlockFlow {DIV} at (0,150) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (686,0) size 58x19
-          text run at (686,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 109x19
-          LayoutInline {SPAN} at (0,0) size 109x19
-            LayoutInline {SPAN} at (0,0) size 109x19
-              LayoutText {#text} at (682,0) size 87x19
-                text run at (682,0) width 5 RTL: " "
-                text run at (743,0) width 26: "Test"
-              LayoutInline {SPAN} at (0,0) size 23x19
-                LayoutText {#text} at (660,0) size 23x19
-                  text run at (660,0) width 23 RTL: "\x{5E9}\x{5E0}\x{5D1}"
-      LayoutBlockFlow {DIV} at (0,170) size 769x20
-        LayoutText {#text} at (686,0) size 58x19
-          text run at (686,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 109x19
-          LayoutText {#text} at (682,0) size 87x19
-            text run at (682,0) width 5 RTL: " "
-            text run at (743,0) width 26: "Test"
-          LayoutInline {SPAN} at (0,0) size 23x19
-            LayoutText {#text} at (660,0) size 23x19
-              text run at (660,0) width 23 RTL: "\x{5E9}\x{5E0}\x{5D1}"
-      LayoutBlockFlow {P} at (0,216) size 769x20
-        LayoutText {#text} at (321,0) size 448x19
-          text run at (321,0) width 448: "Text in <em>. The English text should be displayed as \"This is a Test\"."
-      LayoutBlockFlow {DIV} at (0,252) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (687,0) size 58x19
-          text run at (687,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 82x19
-          LayoutInline {EM} at (0,0) size 82x19
-            LayoutInline {SPAN} at (0,0) size 1x19
-            LayoutText {#text} at (744,0) size 25x19
-              text run at (744,0) width 25: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
-      LayoutBlockFlow {DIV} at (0,272) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (687,0) size 58x19
-          text run at (687,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 82x19
-          LayoutInline {EM} at (0,0) size 82x19
-            LayoutText {#text} at (744,0) size 25x19
-              text run at (744,0) width 25: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
-      LayoutBlockFlow {DIV} at (0,292) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (687,0) size 58x19
-          text run at (687,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 109x19
-          LayoutInline {EM} at (0,0) size 109x19
+        LayoutText {#text} at (687,0) size 57x19
+          text run at (687,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 108x19
+          LayoutInline {SPAN} at (0,0) size 108x19
             LayoutText {#text} at (683,0) size 86x19
-              text run at (683,0) width 5 RTL: " "
+              text run at (683,0) width 4 RTL: " "
               text run at (744,0) width 25: "Test"
-            LayoutInline {SPAN} at (0,0) size 24x19
-              LayoutText {#text} at (660,0) size 24x19
-                text run at (660,0) width 24 RTL: "\x{5D3}\x{5DE}\x{5D4}"
+            LayoutInline {SPAN} at (0,0) size 22x19
+              LayoutText {#text} at (661,0) size 22x19
+                text run at (661,0) width 22 RTL: "\x{5E9}\x{5E0}\x{5D1}"
+      LayoutBlockFlow {DIV} at (0,150) size 769x20 [bgcolor=#FF0000]
+        LayoutText {#text} at (687,0) size 57x19
+          text run at (687,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 108x19
+          LayoutInline {SPAN} at (0,0) size 108x19
+            LayoutInline {SPAN} at (0,0) size 108x19
+              LayoutText {#text} at (683,0) size 86x19
+                text run at (683,0) width 4 RTL: " "
+                text run at (744,0) width 25: "Test"
+              LayoutInline {SPAN} at (0,0) size 22x19
+                LayoutText {#text} at (661,0) size 22x19
+                  text run at (661,0) width 22 RTL: "\x{5E9}\x{5E0}\x{5D1}"
+      LayoutBlockFlow {DIV} at (0,170) size 769x20
+        LayoutText {#text} at (687,0) size 57x19
+          text run at (687,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 108x19
+          LayoutText {#text} at (683,0) size 86x19
+            text run at (683,0) width 4 RTL: " "
+            text run at (744,0) width 25: "Test"
+          LayoutInline {SPAN} at (0,0) size 22x19
+            LayoutText {#text} at (661,0) size 22x19
+              text run at (661,0) width 22 RTL: "\x{5E9}\x{5E0}\x{5D1}"
+      LayoutBlockFlow {P} at (0,216) size 769x20
+        LayoutText {#text} at (323,0) size 446x19
+          text run at (323,0) width 446: "Text in <em>. The English text should be displayed as \"This is a Test\"."
+      LayoutBlockFlow {DIV} at (0,252) size 769x20 [bgcolor=#FF0000]
+        LayoutText {#text} at (688,0) size 57x19
+          text run at (688,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 81x19
+          LayoutInline {EM} at (0,0) size 81x19
+            LayoutInline {SPAN} at (0,0) size 0x19
+            LayoutText {#text} at (745,0) size 24x19
+              text run at (745,0) width 24: "Test"
+            LayoutInline {SPAN} at (0,0) size 0x19
+      LayoutBlockFlow {DIV} at (0,272) size 769x20 [bgcolor=#FF0000]
+        LayoutText {#text} at (688,0) size 57x19
+          text run at (688,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 81x19
+          LayoutInline {EM} at (0,0) size 81x19
+            LayoutText {#text} at (745,0) size 24x19
+              text run at (745,0) width 24: "Test"
+            LayoutInline {SPAN} at (0,0) size 0x19
+      LayoutBlockFlow {DIV} at (0,292) size 769x20 [bgcolor=#FF0000]
+        LayoutText {#text} at (688,0) size 57x19
+          text run at (688,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 108x19
+          LayoutInline {EM} at (0,0) size 108x19
+            LayoutText {#text} at (684,0) size 85x19
+              text run at (684,0) width 4 RTL: " "
+              text run at (745,0) width 24: "Test"
+            LayoutInline {SPAN} at (0,0) size 23x19
+              LayoutText {#text} at (661,0) size 23x19
+                text run at (661,0) width 23 RTL: "\x{5D3}\x{5DE}\x{5D4}"
       LayoutBlockFlow {DIV} at (0,312) size 769x20
-        LayoutText {#text} at (687,0) size 58x19
-          text run at (687,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 25x19
-          LayoutInline {EM} at (0,0) size 25x19
-            LayoutInline {SPAN} at (0,0) size 1x19
-            LayoutText {#text} at (744,0) size 25x19
-              text run at (744,0) width 25: "Test"
+        LayoutText {#text} at (688,0) size 57x19
+          text run at (688,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 24x19
+          LayoutInline {EM} at (0,0) size 24x19
+            LayoutInline {SPAN} at (0,0) size 0x19
+            LayoutText {#text} at (745,0) size 24x19
+              text run at (745,0) width 24: "Test"
       LayoutBlockFlow {DIV} at (0,332) size 769x20
-        LayoutText {#text} at (687,0) size 58x19
-          text run at (687,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 25x19
-          LayoutInline {EM} at (0,0) size 25x19
-            LayoutText {#text} at (744,0) size 25x19
-              text run at (744,0) width 25: "Test"
+        LayoutText {#text} at (688,0) size 57x19
+          text run at (688,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 24x19
+          LayoutInline {EM} at (0,0) size 24x19
+            LayoutText {#text} at (745,0) size 24x19
+              text run at (745,0) width 24: "Test"
       LayoutBlockFlow {P} at (0,378) size 769x20
-        LayoutText {#text} at (297,0) size 472x19
-          text run at (297,0) width 472: "Text in <strong>. The following lines should all display as \"This is a Test\"."
+        LayoutText {#text} at (299,0) size 470x19
+          text run at (299,0) width 470: "Text in <strong>. The following lines should all display as \"This is a Test\"."
       LayoutBlockFlow {DIV} at (0,414) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (684,0) size 58x19
-          text run at (684,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 85x19
-          LayoutInline {STRONG} at (0,0) size 85x19
-            LayoutInline {SPAN} at (0,0) size 1x19
-            LayoutText {#text} at (741,0) size 28x19
-              text run at (741,0) width 28: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
+        LayoutText {#text} at (685,0) size 57x19
+          text run at (685,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 84x19
+          LayoutInline {STRONG} at (0,0) size 84x19
+            LayoutInline {SPAN} at (0,0) size 0x19
+            LayoutText {#text} at (742,0) size 27x19
+              text run at (742,0) width 27: "Test"
+            LayoutInline {SPAN} at (0,0) size 0x19
       LayoutBlockFlow {DIV} at (0,434) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (684,0) size 58x19
-          text run at (684,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 85x19
-          LayoutInline {STRONG} at (0,0) size 85x19
-            LayoutText {#text} at (741,0) size 28x19
-              text run at (741,0) width 28: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
+        LayoutText {#text} at (685,0) size 57x19
+          text run at (685,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 84x19
+          LayoutInline {STRONG} at (0,0) size 84x19
+            LayoutText {#text} at (742,0) size 27x19
+              text run at (742,0) width 27: "Test"
+            LayoutInline {SPAN} at (0,0) size 0x19
       LayoutBlockFlow {DIV} at (0,454) size 769x20
-        LayoutText {#text} at (684,0) size 58x19
-          text run at (684,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 28x19
-          LayoutInline {STRONG} at (0,0) size 28x19
-            LayoutInline {SPAN} at (0,0) size 1x19
-            LayoutText {#text} at (741,0) size 28x19
-              text run at (741,0) width 28: "Test"
+        LayoutText {#text} at (685,0) size 57x19
+          text run at (685,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 27x19
+          LayoutInline {STRONG} at (0,0) size 27x19
+            LayoutInline {SPAN} at (0,0) size 0x19
+            LayoutText {#text} at (742,0) size 27x19
+              text run at (742,0) width 27: "Test"
       LayoutBlockFlow {DIV} at (0,474) size 769x20
-        LayoutText {#text} at (684,0) size 58x19
-          text run at (684,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 28x19
-          LayoutInline {STRONG} at (0,0) size 28x19
-            LayoutText {#text} at (741,0) size 28x19
-              text run at (741,0) width 28: "Test"
+        LayoutText {#text} at (685,0) size 57x19
+          text run at (685,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 27x19
+          LayoutInline {STRONG} at (0,0) size 27x19
+            LayoutText {#text} at (742,0) size 27x19
+              text run at (742,0) width 27: "Test"
       LayoutBlockFlow {P} at (0,520) size 769x20
-        LayoutText {#text} at (332,0) size 437x19
-          text run at (332,0) width 437: "Text in <i>. The following lines should all display as \"This is a Test\"."
+        LayoutText {#text} at (334,0) size 435x19
+          text run at (334,0) width 435: "Text in <i>. The following lines should all display as \"This is a Test\"."
       LayoutBlockFlow {DIV} at (0,556) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (687,0) size 58x19
-          text run at (687,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 82x19
-          LayoutInline {I} at (0,0) size 82x19
-            LayoutInline {SPAN} at (0,0) size 1x19
-            LayoutText {#text} at (744,0) size 25x19
-              text run at (744,0) width 25: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
+        LayoutText {#text} at (688,0) size 57x19
+          text run at (688,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 81x19
+          LayoutInline {I} at (0,0) size 81x19
+            LayoutInline {SPAN} at (0,0) size 0x19
+            LayoutText {#text} at (745,0) size 24x19
+              text run at (745,0) width 24: "Test"
+            LayoutInline {SPAN} at (0,0) size 0x19
       LayoutBlockFlow {DIV} at (0,576) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (687,0) size 58x19
-          text run at (687,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 82x19
-          LayoutInline {I} at (0,0) size 82x19
-            LayoutText {#text} at (744,0) size 25x19
-              text run at (744,0) width 25: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
+        LayoutText {#text} at (688,0) size 57x19
+          text run at (688,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 81x19
+          LayoutInline {I} at (0,0) size 81x19
+            LayoutText {#text} at (745,0) size 24x19
+              text run at (745,0) width 24: "Test"
+            LayoutInline {SPAN} at (0,0) size 0x19
       LayoutBlockFlow {DIV} at (0,596) size 769x20
-        LayoutText {#text} at (687,0) size 58x19
-          text run at (687,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 25x19
-          LayoutInline {I} at (0,0) size 25x19
-            LayoutInline {SPAN} at (0,0) size 1x19
-            LayoutText {#text} at (744,0) size 25x19
-              text run at (744,0) width 25: "Test"
+        LayoutText {#text} at (688,0) size 57x19
+          text run at (688,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 24x19
+          LayoutInline {I} at (0,0) size 24x19
+            LayoutInline {SPAN} at (0,0) size 0x19
+            LayoutText {#text} at (745,0) size 24x19
+              text run at (745,0) width 24: "Test"
       LayoutBlockFlow {DIV} at (0,616) size 769x20
-        LayoutText {#text} at (687,0) size 58x19
-          text run at (687,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 25x19
-          LayoutInline {I} at (0,0) size 25x19
-            LayoutText {#text} at (744,0) size 25x19
-              text run at (744,0) width 25: "Test"
+        LayoutText {#text} at (688,0) size 57x19
+          text run at (688,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 24x19
+          LayoutInline {I} at (0,0) size 24x19
+            LayoutText {#text} at (745,0) size 24x19
+              text run at (745,0) width 24: "Test"
       LayoutBlockFlow {P} at (0,662) size 769x20
-        LayoutText {#text} at (328,0) size 441x19
-          text run at (328,0) width 441: "Text in <b>. The following lines should all display as \"This is a Test\"."
+        LayoutText {#text} at (330,0) size 439x19
+          text run at (330,0) width 439: "Text in <b>. The following lines should all display as \"This is a Test\"."
       LayoutBlockFlow {DIV} at (0,698) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (684,0) size 58x19
-          text run at (684,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 85x19
-          LayoutInline {B} at (0,0) size 85x19
-            LayoutInline {SPAN} at (0,0) size 1x19
-            LayoutText {#text} at (741,0) size 28x19
-              text run at (741,0) width 28: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
+        LayoutText {#text} at (685,0) size 57x19
+          text run at (685,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 84x19
+          LayoutInline {B} at (0,0) size 84x19
+            LayoutInline {SPAN} at (0,0) size 0x19
+            LayoutText {#text} at (742,0) size 27x19
+              text run at (742,0) width 27: "Test"
+            LayoutInline {SPAN} at (0,0) size 0x19
       LayoutBlockFlow {DIV} at (0,718) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (684,0) size 58x19
-          text run at (684,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 85x19
-          LayoutInline {B} at (0,0) size 85x19
-            LayoutText {#text} at (741,0) size 28x19
-              text run at (741,0) width 28: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
+        LayoutText {#text} at (685,0) size 57x19
+          text run at (685,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 84x19
+          LayoutInline {B} at (0,0) size 84x19
+            LayoutText {#text} at (742,0) size 27x19
+              text run at (742,0) width 27: "Test"
+            LayoutInline {SPAN} at (0,0) size 0x19
       LayoutBlockFlow {DIV} at (0,738) size 769x20
-        LayoutText {#text} at (684,0) size 58x19
-          text run at (684,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 28x19
-          LayoutInline {B} at (0,0) size 28x19
-            LayoutInline {SPAN} at (0,0) size 1x19
-            LayoutText {#text} at (741,0) size 28x19
-              text run at (741,0) width 28: "Test"
+        LayoutText {#text} at (685,0) size 57x19
+          text run at (685,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 27x19
+          LayoutInline {B} at (0,0) size 27x19
+            LayoutInline {SPAN} at (0,0) size 0x19
+            LayoutText {#text} at (742,0) size 27x19
+              text run at (742,0) width 27: "Test"
       LayoutBlockFlow {DIV} at (0,758) size 769x20
-        LayoutText {#text} at (684,0) size 58x19
-          text run at (684,0) width 58: "This is a "
-        LayoutInline {SPAN} at (0,0) size 28x19
-          LayoutInline {B} at (0,0) size 28x19
-            LayoutText {#text} at (741,0) size 28x19
-              text run at (741,0) width 28: "Test"
+        LayoutText {#text} at (685,0) size 57x19
+          text run at (685,0) width 57: "This is a "
+        LayoutInline {SPAN} at (0,0) size 27x19
+          LayoutInline {B} at (0,0) size 27x19
+            LayoutText {#text} at (742,0) size 27x19
+              text run at (742,0) width 27: "Test"
       LayoutBlockFlow (anonymous) at (0,778) size 769x0
         LayoutInline {B} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,786) size 769x748
         LayoutBlockFlow {P} at (0,18) size 769x20
-          LayoutText {#text} at (100,0) size 669x19
-            text run at (100,0) width 669: "Text in <img>, <href>, <em>, <tr>. The following English text should all display as \"This is a Test\"."
+          LayoutText {#text} at (101,0) size 668x19
+            text run at (101,0) width 668: "Text in <img>, <href>, <em>, <tr>. The following English text should all display as \"This is a Test\"."
         LayoutBlockFlow {DIV} at (0,54) size 769x21 [bgcolor=#FF0000]
-          LayoutText {#text} at (681,1) size 61x19
-            text run at (681,1) width 61: "This is a "
-          LayoutInline {SPAN} at (0,0) size 104x19
-            LayoutInline {A} at (0,0) size 104x19 [color=#551A8B]
-              LayoutText {#text} at (741,1) size 28x19
-                text run at (741,1) width 28: "Test"
-              LayoutInline {SPAN} at (0,0) size 17x19
-                LayoutBlockFlow {IMG} at (665.47,0) size 16x16
+          LayoutText {#text} at (682,1) size 60x19
+            text run at (682,1) width 60: "This is a "
+          LayoutInline {SPAN} at (0,0) size 103x19
+            LayoutInline {A} at (0,0) size 103x19 [color=#551A8B]
+              LayoutText {#text} at (742,1) size 27x19
+                text run at (742,1) width 27: "Test"
+              LayoutInline {SPAN} at (0,0) size 16x19
+                LayoutBlockFlow {IMG} at (666,0) size 16x16
                   LayoutInline {SPAN} at (0,0) size 0x0
                     LayoutImage (floating) {IMG} at (0,0) size 16x16
                     LayoutInline {SPAN} at (0,0) size 0x0
         LayoutBlockFlow {DIV} at (0,75) size 769x20 [bgcolor=#FF0000]
-          LayoutText {#text} at (681,0) size 61x19
-            text run at (681,0) width 61: "This is a "
-          LayoutInline {SPAN} at (0,0) size 115x19
-            LayoutInline {A} at (0,0) size 115x19 [color=#551A8B]
-              LayoutText {#text} at (677,0) size 92x19
-                text run at (677,0) width 5 RTL: " "
-                text run at (741,0) width 28: "Test"
-              LayoutInline {SPAN} at (0,0) size 24x19
-                LayoutText {#text} at (654,0) size 24x19
-                  text run at (654,0) width 24 RTL: "\x{5E9}\x{5E0}\x{5D1}"
+          LayoutText {#text} at (682,0) size 60x19
+            text run at (682,0) width 60: "This is a "
+          LayoutInline {SPAN} at (0,0) size 114x19
+            LayoutInline {A} at (0,0) size 114x19 [color=#551A8B]
+              LayoutText {#text} at (678,0) size 91x19
+                text run at (678,0) width 4 RTL: " "
+                text run at (742,0) width 27: "Test"
+              LayoutInline {SPAN} at (0,0) size 23x19
+                LayoutText {#text} at (655,0) size 23x19
+                  text run at (655,0) width 23 RTL: "\x{5E9}\x{5E0}\x{5D1}"
         LayoutBlockFlow {DIV} at (0,95) size 769x20 [bgcolor=#FF0000]
-          LayoutText {#text} at (683,0) size 61x19
-            text run at (683,0) width 61: "This is a "
-          LayoutInline {SPAN} at (0,0) size 86x19
-            LayoutInline {EM} at (0,0) size 86x19
-              LayoutText {#text} at (743,0) size 26x19
-                text run at (743,0) width 26: "Test"
-              LayoutInline {A} at (0,0) size 1x19 [color=#551A8B]
+          LayoutText {#text} at (684,0) size 60x19
+            text run at (684,0) width 60: "This is a "
+          LayoutInline {SPAN} at (0,0) size 85x19
+            LayoutInline {EM} at (0,0) size 85x19
+              LayoutText {#text} at (744,0) size 25x19
+                text run at (744,0) width 25: "Test"
+              LayoutInline {A} at (0,0) size 0x19 [color=#551A8B]
         LayoutBlockFlow {DIV} at (0,115) size 769x21 [bgcolor=#FF0000]
-          LayoutText {#text} at (683,1) size 61x19
-            text run at (683,1) width 61: "This is a "
-          LayoutInline {SPAN} at (0,0) size 102x19
-            LayoutInline {EM} at (0,0) size 102x19
-              LayoutText {#text} at (743,1) size 26x19
-                text run at (743,1) width 26: "Test"
-              LayoutInline {SPAN} at (0,0) size 17x19
-                LayoutBlockFlow {IMG} at (667.47,0) size 16x16
+          LayoutText {#text} at (684,1) size 60x19
+            text run at (684,1) width 60: "This is a "
+          LayoutInline {SPAN} at (0,0) size 101x19
+            LayoutInline {EM} at (0,0) size 101x19
+              LayoutText {#text} at (744,1) size 25x19
+                text run at (744,1) width 25: "Test"
+              LayoutInline {SPAN} at (0,0) size 16x19
+                LayoutBlockFlow {IMG} at (668,0) size 16x16
                   LayoutInline {SPAN} at (0,0) size 0x0
                     LayoutImage (floating) {IMG} at (0,0) size 16x16
                     LayoutInline {SPAN} at (0,0) size 0x0
         LayoutBlockFlow {DIV} at (0,136) size 769x20
-          LayoutText {#text} at (640,0) size 61x19
-            text run at (640,0) width 61: "This is a "
-          LayoutInline {SPAN} at (0,0) size 69x19
-            LayoutInline {A} at (0,0) size 69x19 [color=#551A8B]
-              LayoutText {#text} at (700,0) size 32x19
-                text run at (700,0) width 32: "Test "
+          LayoutText {#text} at (641,0) size 60x19
+            text run at (641,0) width 60: "This is a "
+          LayoutInline {SPAN} at (0,0) size 68x19
+            LayoutInline {A} at (0,0) size 68x19 [color=#551A8B]
+              LayoutText {#text} at (701,0) size 31x19
+                text run at (701,0) width 31: "Test "
               LayoutInline {SPAN} at (0,0) size 37x19
                 LayoutText {#text} at (732,0) size 37x19
                   text run at (732,0) width 37: "again"
         LayoutBlockFlow {DIV} at (0,156) size 769x46
           LayoutBlockFlow (anonymous) at (0,0) size 769x20
-            LayoutText {#text} at (683,0) size 61x19
-              text run at (683,0) width 61: "This is a "
-            LayoutInline {SPAN} at (0,0) size 26x19
-              LayoutInline {EM} at (0,0) size 26x19
-                LayoutText {#text} at (743,0) size 26x19
-                  text run at (743,0) width 26: "Test"
+            LayoutText {#text} at (684,0) size 60x19
+              text run at (684,0) width 60: "This is a "
+            LayoutInline {SPAN} at (0,0) size 25x19
+              LayoutInline {EM} at (0,0) size 25x19
+                LayoutText {#text} at (744,0) size 25x19
+                  text run at (744,0) width 25: "Test"
           LayoutBlockFlow (anonymous) at (0,20) size 769x26
             LayoutTable {TABLE} at (755,0) size 14x26
               LayoutTableSection {TBODY} at (0,0) size 14x26
@@ -280,108 +280,108 @@
         LayoutBlockFlow {UL} at (0,228) size 769x520
           LayoutListItem {LI} at (40,0) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 109x19
-              text run at (0,0) width 109: "Test 0: : Success"
+            LayoutText {#text} at (0,0) size 108x19
+              text run at (0,0) width 108: "Test 0: : Success"
           LayoutListItem {LI} at (40,20) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 109x19
-              text run at (0,0) width 109: "Test 1: : Success"
+            LayoutText {#text} at (0,0) size 108x19
+              text run at (0,0) width 108: "Test 1: : Success"
           LayoutListItem {LI} at (40,40) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 109x19
-              text run at (0,0) width 109: "Test 2: : Success"
+            LayoutText {#text} at (0,0) size 108x19
+              text run at (0,0) width 108: "Test 2: : Success"
           LayoutListItem {LI} at (40,60) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 109x19
-              text run at (0,0) width 109: "Test 3: : Success"
+            LayoutText {#text} at (0,0) size 108x19
+              text run at (0,0) width 108: "Test 3: : Success"
           LayoutListItem {LI} at (40,80) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 109x19
-              text run at (0,0) width 109: "Test 4: : Success"
+            LayoutText {#text} at (0,0) size 108x19
+              text run at (0,0) width 108: "Test 4: : Success"
           LayoutListItem {LI} at (40,100) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 109x19
-              text run at (0,0) width 109: "Test 5: : Success"
+            LayoutText {#text} at (0,0) size 108x19
+              text run at (0,0) width 108: "Test 5: : Success"
           LayoutListItem {LI} at (40,120) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 109x19
-              text run at (0,0) width 109: "Test 6: : Success"
+            LayoutText {#text} at (0,0) size 108x19
+              text run at (0,0) width 108: "Test 6: : Success"
           LayoutListItem {LI} at (40,140) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 109x19
-              text run at (0,0) width 109: "Test 7: : Success"
+            LayoutText {#text} at (0,0) size 108x19
+              text run at (0,0) width 108: "Test 7: : Success"
           LayoutListItem {LI} at (40,160) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 109x19
-              text run at (0,0) width 109: "Test 8: : Success"
+            LayoutText {#text} at (0,0) size 108x19
+              text run at (0,0) width 108: "Test 8: : Success"
           LayoutListItem {LI} at (40,180) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 109x19
-              text run at (0,0) width 109: "Test 9: : Success"
+            LayoutText {#text} at (0,0) size 108x19
+              text run at (0,0) width 108: "Test 9: : Success"
           LayoutListItem {LI} at (40,200) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 117x19
-              text run at (0,0) width 117: "Test 10: : Success"
+            LayoutText {#text} at (0,0) size 116x19
+              text run at (0,0) width 116: "Test 10: : Success"
           LayoutListItem {LI} at (40,220) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
             LayoutText {#text} at (0,0) size 116x19
               text run at (0,0) width 116: "Test 11: : Success"
           LayoutListItem {LI} at (40,240) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 117x19
-              text run at (0,0) width 117: "Test 12: : Success"
+            LayoutText {#text} at (0,0) size 116x19
+              text run at (0,0) width 116: "Test 12: : Success"
           LayoutListItem {LI} at (40,260) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 117x19
-              text run at (0,0) width 117: "Test 13: : Success"
+            LayoutText {#text} at (0,0) size 116x19
+              text run at (0,0) width 116: "Test 13: : Success"
           LayoutListItem {LI} at (40,280) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 117x19
-              text run at (0,0) width 117: "Test 14: : Success"
+            LayoutText {#text} at (0,0) size 116x19
+              text run at (0,0) width 116: "Test 14: : Success"
           LayoutListItem {LI} at (40,300) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 117x19
-              text run at (0,0) width 117: "Test 15: : Success"
+            LayoutText {#text} at (0,0) size 116x19
+              text run at (0,0) width 116: "Test 15: : Success"
           LayoutListItem {LI} at (40,320) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 117x19
-              text run at (0,0) width 117: "Test 16: : Success"
+            LayoutText {#text} at (0,0) size 116x19
+              text run at (0,0) width 116: "Test 16: : Success"
           LayoutListItem {LI} at (40,340) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 117x19
-              text run at (0,0) width 117: "Test 17: : Success"
+            LayoutText {#text} at (0,0) size 116x19
+              text run at (0,0) width 116: "Test 17: : Success"
           LayoutListItem {LI} at (40,360) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 117x19
-              text run at (0,0) width 117: "Test 18: : Success"
+            LayoutText {#text} at (0,0) size 116x19
+              text run at (0,0) width 116: "Test 18: : Success"
           LayoutListItem {LI} at (40,380) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 117x19
-              text run at (0,0) width 117: "Test 19: : Success"
+            LayoutText {#text} at (0,0) size 116x19
+              text run at (0,0) width 116: "Test 19: : Success"
           LayoutListItem {LI} at (40,400) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 117x19
-              text run at (0,0) width 117: "Test 20: : Success"
+            LayoutText {#text} at (0,0) size 116x19
+              text run at (0,0) width 116: "Test 20: : Success"
           LayoutListItem {LI} at (40,420) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 117x19
-              text run at (0,0) width 117: "Test 21: : Success"
+            LayoutText {#text} at (0,0) size 116x19
+              text run at (0,0) width 116: "Test 21: : Success"
           LayoutListItem {LI} at (40,440) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 117x19
-              text run at (0,0) width 117: "Test 22: : Success"
+            LayoutText {#text} at (0,0) size 116x19
+              text run at (0,0) width 116: "Test 22: : Success"
           LayoutListItem {LI} at (40,460) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 117x19
-              text run at (0,0) width 117: "Test 23: : Success"
+            LayoutText {#text} at (0,0) size 116x19
+              text run at (0,0) width 116: "Test 23: : Success"
           LayoutListItem {LI} at (40,480) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 117x19
-              text run at (0,0) width 117: "Test 24: : Success"
+            LayoutText {#text} at (0,0) size 116x19
+              text run at (0,0) width 116: "Test 24: : Success"
           LayoutListItem {LI} at (40,500) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-            LayoutText {#text} at (0,0) size 117x19
-              text run at (0,0) width 117: "Test 25: : Success"
+            LayoutText {#text} at (0,0) size 116x19
+              text run at (0,0) width 116: "Test 25: : Success"
       LayoutBlockFlow (anonymous) at (0,1550) size 769x0
         LayoutInline {B} at (0,0) size 0x0
 layer at (8,92) size 769x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/52776-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/52776-expected.png
index c51a72c..9cd1c7d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/52776-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/52776-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/52776-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/52776-expected.txt
index a329d4a..76da521 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/52776-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/52776-expected.txt
@@ -5,12 +5,12 @@
     LayoutBlockFlow {BODY} at (8,16) size 769x1780
       LayoutBlockFlow {DIV} at (0,0) size 769x864
         LayoutBlockFlow {P} at (0,0) size 769x20
-          LayoutText {#text} at (683,0) size 86x19
-            text run at (683,0) width 86: "Right To Left"
+          LayoutText {#text} at (684,0) size 85x19
+            text run at (684,0) width 85: "Right To Left"
         LayoutBlockFlow {P} at (0,36) size 769x20
-          LayoutText {#text} at (444,0) size 325x19
-            text run at (444,0) width 5 RTL: "."
-            text run at (448,0) width 321: "Well-formed pair of unicode bidi control characters"
+          LayoutText {#text} at (445,0) size 324x19
+            text run at (445,0) width 4 RTL: "."
+            text run at (449,0) width 320: "Well-formed pair of unicode bidi control characters"
         LayoutBlockFlow {DIV} at (0,72) size 769x20
           LayoutText {#text} at (756,0) size 13x19
             text run at (756,0) width 0 RTL: "\x{202C}"
@@ -104,7 +104,7 @@
             text run at (769,0) width 0 RTL: "\x{202C}"
         LayoutBlockFlow {P} at (0,688) size 769x20
           LayoutText {#text} at (494,0) size 275x19
-            text run at (494,0) width 5 RTL: "."
+            text run at (494,0) width 4 RTL: "."
             text run at (498,0) width 271: "Start with different directionality characters"
         LayoutBlockFlow {DIV} at (0,724) size 769x20
           LayoutText {#text} at (745,0) size 24x19
@@ -141,11 +141,11 @@
             text run at (754,0) width 15 RTL: "\x{5D0}\x{5D1}\x{202C}"
       LayoutBlockFlow {DIV} at (0,880) size 769x864
         LayoutBlockFlow {P} at (0,0) size 769x20
-          LayoutText {#text} at (0,0) size 86x19
-            text run at (0,0) width 86: "Left To Right"
+          LayoutText {#text} at (0,0) size 85x19
+            text run at (0,0) width 85: "Left To Right"
         LayoutBlockFlow {P} at (0,36) size 769x20
-          LayoutText {#text} at (0,0) size 325x19
-            text run at (0,0) width 325: "Well-formed pair of unicode bidi control characters."
+          LayoutText {#text} at (0,0) size 324x19
+            text run at (0,0) width 324: "Well-formed pair of unicode bidi control characters."
         LayoutBlockFlow {DIV} at (0,72) size 769x20
           LayoutText {#text} at (0,0) size 13x19
             text run at (0,0) width 5 RTL: "!"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/class-attribute-whitespace-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/class-attribute-whitespace-expected.png
index 97b4f98..b65fae3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/class-attribute-whitespace-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/class-attribute-whitespace-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/class-attribute-whitespace-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/class-attribute-whitespace-expected.txt
index 2d2aad9..92d6f301 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/class-attribute-whitespace-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/class-attribute-whitespace-expected.txt
@@ -4,25 +4,25 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 654x19
-          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 349x19
-              text run at (51,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7761"
-          LayoutText {#text} at (399,0) size 306x19
-            text run at (399,0) width 306: " Tabs in class attribute not treated as whitespace"
-        LayoutText {#text} at (704,0) size 5x19
-          text run at (704,0) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 653x19
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 348x19
+              text run at (51,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7761"
+          LayoutText {#text} at (399,0) size 305x19
+            text run at (399,0) width 305: " Tabs in class attribute not treated as whitespace"
+        LayoutText {#text} at (704,0) size 4x19
+          text run at (704,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 233x19
           text run at (0,0) width 233: "All of the following should be green:"
       LayoutBlockFlow {DIV} at (0,72) size 784x20 [color=#008000]
-        LayoutText {#text} at (0,0) size 56x19
-          text run at (0,0) width 56: "Tab after"
+        LayoutText {#text} at (0,0) size 55x19
+          text run at (0,0) width 55: "Tab after"
       LayoutBlockFlow {DIV} at (0,92) size 784x20 [color=#008000]
-        LayoutText {#text} at (0,0) size 68x19
-          text run at (0,0) width 68: "Tab before"
+        LayoutText {#text} at (0,0) size 67x19
+          text run at (0,0) width 67: "Tab before"
       LayoutBlockFlow {DIV} at (0,112) size 784x20 [color=#008000]
         LayoutText {#text} at (0,0) size 86x19
           text run at (0,0) width 86: "Newline after"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/null-offset-parent-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/null-offset-parent-expected.png
index 71d01ee..231fc71 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/null-offset-parent-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/null-offset-parent-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/null-offset-parent-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/null-offset-parent-expected.txt
index 8d47d2b..07a2705 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/null-offset-parent-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Element/null-offset-parent-expected.txt
@@ -3,6 +3,6 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 781x39
-        text run at (0,0) width 781: "This test verifies that JS access to offsetParent on an element that lacks one, such as the body, doesn't crash. If it didn't crash,"
+      LayoutText {#text} at (0,0) size 780x39
+        text run at (0,0) width 780: "This test verifies that JS access to offsetParent on an element that lacks one, such as the body, doesn't crash. If it didn't crash,"
         text run at (0,20) width 58: "it passed."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLDocument/frameless-location-bugzilla10837-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLDocument/frameless-location-bugzilla10837-expected.png
index 3edf755..67ea6d4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLDocument/frameless-location-bugzilla10837-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLDocument/frameless-location-bugzilla10837-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLDocument/frameless-location-bugzilla10837-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLDocument/frameless-location-bugzilla10837-expected.txt
index 517d9fe..ea916afb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLDocument/frameless-location-bugzilla10837-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLDocument/frameless-location-bugzilla10837-expected.txt
@@ -11,8 +11,8 @@
       LayoutBlockFlow {HTML} at (0,0) size 397x600
         LayoutBlockFlow {BODY} at (8,8) size 381x584
           LayoutBlockFlow {DIV} at (0,0) size 381x20
-            LayoutText {#text} at (0,0) size 60x19
-              text run at (0,0) width 60: "PASSED"
+            LayoutText {#text} at (0,0) size 59x19
+              text run at (0,0) width 59: "PASSED"
 layer at (403,0) size 397x600
   LayoutFrame {FRAME} at (403,0) size 397x600
     layer at (0,0) size 397x600
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLElement/bdo-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLElement/bdo-expected.png
index 4122039..d31fb11 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLElement/bdo-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLElement/bdo-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLElement/bdo-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLElement/bdo-expected.txt
index 98e5ab3..1de7e95 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLElement/bdo-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLElement/bdo-expected.txt
@@ -4,16 +4,16 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 110x19
-          text run at (0,0) width 110: "Tests: the bdo tag"
+        LayoutText {#text} at (0,0) size 109x19
+          text run at (0,0) width 109: "Tests: the bdo tag"
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 328x19
           text run at (0,0) width 328: "The bdo element overrides the default text direction."
       LayoutBlockFlow {P} at (0,72) size 784x40
         LayoutText {#text} at (0,0) size 762x39
           text run at (0,0) width 727: "If successful, the first sentence would be backward, and the second sentence regular. There should then be an extra "
-          text run at (726,0) width 36: "blank"
-          text run at (0,20) width 697: "line, followed by a line reading only \"A,\" and finally, a sentence where only the word \"umbrella\" is backward."
+          text run at (727,0) width 35: "blank"
+          text run at (0,20) width 696: "line, followed by a line reading only \"A,\" and finally, a sentence where only the word \"umbrella\" is backward."
       LayoutBlockFlow (anonymous) at (0,138) size 784x120
         LayoutBR {BR} at (0,0) size 0x19
         LayoutInline {BDO} at (0,0) size 221x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLImageElement/image-alt-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLImageElement/image-alt-text-expected.png
index 67c8bb85..a15bbd1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLImageElement/image-alt-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLImageElement/image-alt-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.png
index e6354f58..89d07242 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt
index bb640df..8088969 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt
@@ -10,15 +10,15 @@
           LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
             LayoutText {#text} at (104,0) size 348x19
               text run at (104,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9252"
-          LayoutText {#text} at (451,0) size 772x39
-            text run at (451,0) width 5: " "
-            text run at (455,0) width 317: "REGRESSION: Very odd roll-over issues (content"
+          LayoutText {#text} at (452,0) size 772x39
+            text run at (452,0) width 4: " "
+            text run at (456,0) width 316: "REGRESSION: Very odd roll-over issues (content"
             text run at (0,20) width 88: "disappearing)"
         LayoutText {#text} at (88,20) size 4x19
           text run at (88,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 243x19
-          text run at (0,0) width 243: "There should be a green square below."
+        LayoutText {#text} at (0,0) size 242x19
+          text run at (0,0) width 242: "There should be a green square below."
       LayoutBlockFlow {DIV} at (0,102) size 784x0
       LayoutBlockFlow {DIV} at (0,102) size 100x100 [bgcolor=#008000]
 layer at (8,100) size 784x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png
index b058613..23458fc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt
index 0c4b69bb..bd5c8213 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt
@@ -9,8 +9,8 @@
       LayoutBlockFlow {UL} at (0,58.44) size 784x300
         LayoutListItem {LI} at (40,0) size 744x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (0,0) size 165x19
-            text run at (0,0) width 165: "min,low,optimal,high,max"
+          LayoutText {#text} at (0,0) size 164x19
+            text run at (0,0) width 164: "min,low,optimal,high,max"
         LayoutListItem {LI} at (40,20) size 744x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {B} at (0,0) size 8x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLMeterElement/meter-styles-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLMeterElement/meter-styles-expected.png
index d1d12fb..5ee5b1e0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLMeterElement/meter-styles-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLMeterElement/meter-styles-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLObjectElement/vspace-hspace-as-number-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLObjectElement/vspace-hspace-as-number-expected.png
index 85c2dde..489a860 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLObjectElement/vspace-hspace-as-number-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLObjectElement/vspace-hspace-as-number-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLObjectElement/vspace-hspace-as-number-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLObjectElement/vspace-hspace-as-number-expected.txt
index 13ef827..d1cae3b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLObjectElement/vspace-hspace-as-number-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLObjectElement/vspace-hspace-as-number-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 782x39
           text run at (0,0) width 782: "This test makes sure that HTMLObjectElement.vspace and HTMLObjectElement.hspace are exposed as numbers instead of"
-          text run at (0,20) width 718: "strings, per the DOM Level 2 HTML spec: http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-9893177"
+          text run at (0,20) width 717: "strings, per the DOM Level 2 HTML spec: http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-9893177"
       LayoutBlockFlow (anonymous) at (0,56) size 784x170
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,226) size 784x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt
index cec937dd..2b15567 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt
@@ -38,9 +38,9 @@
                 LayoutBlockFlow {DIV} at (3,3) size 61.59x10 [bgcolor=#008000]
         LayoutListItem {LI} at (40,91.81) size 744x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (0,0) size 78x19
-            text run at (0,0) width 78: "Value style: "
-          LayoutBlockFlow {PROGRESS} at (77.22,2.19) size 160x16
+          LayoutText {#text} at (0,0) size 77x19
+            text run at (0,0) width 77: "Value style: "
+          LayoutBlockFlow {PROGRESS} at (77,2.19) size 160x16
             LayoutBlockFlow {DIV} at (0,0) size 160x16
               LayoutBlockFlow {DIV} at (0,0) size 160x16 [bgcolor=#808080]
                 LayoutBlockFlow {DIV} at (0,0) size 80x16 [bgcolor=#FFFF00] [border: (3px solid #999900)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Range/create-contextual-fragment-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Range/create-contextual-fragment-expected.png
index 1713108..589a388 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Range/create-contextual-fragment-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Range/create-contextual-fragment-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Range/create-contextual-fragment-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Range/create-contextual-fragment-expected.txt
index e59e3be6..61a6367 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Range/create-contextual-fragment-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Range/create-contextual-fragment-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 639x19
-          text run at (0,0) width 639: "Test of createContextualFragment. If the test succeeds you will see the word \"success\" below in bold."
+        LayoutText {#text} at (0,0) size 638x19
+          text run at (0,0) width 638: "Test of createContextualFragment. If the test succeeds you will see the word \"success\" below in bold."
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {B} at (0,0) size 74x19
           LayoutText {#text} at (0,0) size 74x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Window/open-existing-pop-up-blocking-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Window/open-existing-pop-up-blocking-expected.png
index b0091d5..9d2fe85 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Window/open-existing-pop-up-blocking-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Window/open-existing-pop-up-blocking-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Window/open-existing-pop-up-blocking-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Window/open-existing-pop-up-blocking-expected.txt
index 4fa076d..9df0c8f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Window/open-existing-pop-up-blocking-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/Window/open-existing-pop-up-blocking-expected.txt
@@ -27,4 +27,4 @@
         LayoutBlockFlow {BODY} at (8,8) size 284x134
           LayoutText {#text} at (0,0) size 267x39
             text run at (0,0) width 267: "This text successfully replaced the original"
-            text run at (0,20) width 210: "text in the frame. Test succeeded!"
+            text run at (0,20) width 209: "text in the frame. Test succeeded!"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/blur-contenteditable-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/blur-contenteditable-expected.png
index 4c8af5a..4d2f2d5a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/blur-contenteditable-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/blur-contenteditable-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/blur-contenteditable-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/blur-contenteditable-expected.txt
index 117eb9c..2bbb108a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/blur-contenteditable-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/blur-contenteditable-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 484x19
-          text run at (0,0) width 484: "This test will try to call blur() on a contenteditable div, and then a normal div."
+        LayoutText {#text} at (0,0) size 482x19
+          text run at (0,0) width 482: "This test will try to call blur() on a contenteditable div, and then a normal div."
       LayoutBlockFlow {DIV} at (0,20) size 784x26 [border: (3px solid #000000)]
         LayoutText {#text} at (3,3) size 122x19
           text run at (3,3) width 122: "contentEditable div"
       LayoutBlockFlow {DIV} at (0,46) size 784x20
-        LayoutText {#text} at (0,0) size 77x19
-          text run at (0,0) width 77: "Test Passed."
+        LayoutText {#text} at (0,0) size 76x19
+          text run at (0,0) width 76: "Test Passed."
       LayoutBlockFlow {DIV} at (0,66) size 784x0
 caret: position 0 of child 0 {#text} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/children-nodes-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/children-nodes-expected.png
index 45fd638..950f14a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/children-nodes-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/children-nodes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/children-nodes-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/children-nodes-expected.txt
index edc566be8..a3f6aa79 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/children-nodes-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/children-nodes-expected.txt
@@ -7,7 +7,7 @@
         LayoutBlockFlow {P} at (1,17) size 782x40
           LayoutText {#text} at (0,0) size 766x39
             text run at (0,0) width 766: "This test verifies that JavaScript returns only direct descendent element nodes in the 'children' collection (an IE extension)."
-            text run at (0,20) width 697: "We also verify that the 'childNodes' collection contains direct descendent nodes of any type (text, element, etc.)"
+            text run at (0,20) width 696: "We also verify that the 'childNodes' collection contains direct descendent nodes of any type (text, element, etc.)"
       LayoutBlockFlow {DIV} at (0,74) size 784x100
         LayoutBlockFlow {DIV} at (0,0) size 784x20
           LayoutInline {B} at (0,0) size 23x19
@@ -62,9 +62,9 @@
           text run at (0,120) width 114: "  node: DIV (five)"
         LayoutBR {BR} at (114,135) size 0x0
         LayoutBR {BR} at (0,140) size 0x19
-        LayoutText {#text} at (0,160) size 326x19
-          text run at (0,160) width 326: "childNodes.length = 11 (should be 11 nodes below)"
-        LayoutBR {BR} at (325,175) size 1x0
+        LayoutText {#text} at (0,160) size 327x19
+          text run at (0,160) width 327: "childNodes.length = 11 (should be 11 nodes below)"
+        LayoutBR {BR} at (327,175) size 0x0
         LayoutText {#text} at (0,180) size 155x19
           text run at (0,180) width 155: "  node: #text (undefined)"
         LayoutBR {BR} at (155,195) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/focus-contenteditable-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/focus-contenteditable-expected.png
index a5a2312..7869375 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/focus-contenteditable-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/focus-contenteditable-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/focus-contenteditable-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/focus-contenteditable-expected.txt
index ace1c7cf..97ba957b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/focus-contenteditable-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/focus-contenteditable-expected.txt
@@ -4,18 +4,18 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x902
     LayoutBlockFlow {BODY} at (8,8) size 769x886
       LayoutBlockFlow (anonymous) at (0,0) size 769x40
-        LayoutText {#text} at (0,0) size 497x19
-          text run at (0,0) width 497: "This test will try to call focus() on a contenteditable div, and then a normal div. "
+        LayoutText {#text} at (0,0) size 495x19
+          text run at (0,0) width 495: "This test will try to call focus() on a contenteditable div, and then a normal div. "
         LayoutBR {BR} at (0,0) size 0x0
-        LayoutText {#text} at (0,20) size 372x19
-          text run at (0,20) width 372: "The window should scroll to reveal the contenteditable div."
+        LayoutText {#text} at (0,20) size 371x19
+          text run at (0,20) width 371: "The window should scroll to reveal the contenteditable div."
       LayoutBlockFlow {DIV} at (0,40) size 500x800
       LayoutBlockFlow {DIV} at (0,840) size 769x26 [border: (3px solid #000000)]
         LayoutText {#text} at (3,3) size 122x19
           text run at (3,3) width 122: "contentEditable div"
       LayoutBlockFlow {DIV} at (0,866) size 769x20
-        LayoutText {#text} at (0,0) size 77x19
-          text run at (0,0) width 77: "Test Passed."
+        LayoutText {#text} at (0,0) size 76x19
+          text run at (0,0) width 76: "Test Passed."
       LayoutBlockFlow {DIV} at (0,886) size 769x0
 caret: position 0 of child 0 {#text} of child 5 {DIV} of body
 scrolled to 0,282
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/004-expected.png
index 15575a6..a9bc50a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/007-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/007-expected.png
index e4318b9..d422b6ac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/007-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/007-expected.txt
index 060a8fe..5857568 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/007-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/007-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutTable {TABLE} at (0,0) size 197x26
-        LayoutTableSection {TBODY} at (0,0) size 197x26
-          LayoutTableRow {TR} at (0,2) size 197x22
+      LayoutTable {TABLE} at (0,0) size 196x26
+        LayoutTableSection {TBODY} at (0,0) size 196x26
+          LayoutTableRow {TR} at (0,2) size 196x22
             LayoutTableCell {TD} at (2,2) size 59x22 [bgcolor=#FFFFCC] [r=0 c=0 rs=1 cs=1]
               LayoutText {#text} at (1,1) size 57x19
                 text run at (1,1) width 57: "Cell One"
-            LayoutTableCell {TD} at (63,2) size 61x22 [bgcolor=#FFFFCC] [r=0 c=1 rs=1 cs=1]
-              LayoutText {#text} at (1,1) size 59x19
-                text run at (1,1) width 59: "Cell Two"
-            LayoutTableCell {TD} at (126,2) size 69x22 [bgcolor=#FFFFCC] [r=0 c=2 rs=1 cs=1]
+            LayoutTableCell {TD} at (63,2) size 60x22 [bgcolor=#FFFFCC] [r=0 c=1 rs=1 cs=1]
+              LayoutText {#text} at (1,1) size 58x19
+                text run at (1,1) width 58: "Cell Two"
+            LayoutTableCell {TD} at (125,2) size 69x22 [bgcolor=#FFFFCC] [r=0 c=2 rs=1 cs=1]
               LayoutText {#text} at (1,1) size 67x19
                 text run at (1,1) width 67: "Cell Three"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/011-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/011-expected.txt
index c5de436..da613405 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/011-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/011-expected.txt
@@ -4,12 +4,12 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x40
-        LayoutInline {SPAN} at (0,0) size 780x39
-          LayoutInline {SPAN} at (0,0) size 780x39
-            LayoutText {#text} at (0,0) size 780x39
+        LayoutInline {SPAN} at (0,0) size 779x39
+          LayoutInline {SPAN} at (0,0) size 779x39
+            LayoutText {#text} at (0,0) size 779x39
               text run at (0,0) width 103: "Bug #3810389. "
               text run at (103,0) width 386: "Make sure we don't crash manipulating blocks inside inlines. "
-              text run at (489,0) width 291: "You should see the numbers 1 and 2 vertically"
+              text run at (489,0) width 290: "You should see the numbers 1 and 2 vertically"
               text run at (0,20) width 147: "stacked below this line."
       LayoutBlockFlow (anonymous) at (0,40) size 784x20
         LayoutBlockFlow {DIV} at (0,0) size 784x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/012-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/012-expected.png
index 1f64b723..3898517 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/012-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/012-expected.txt
index 359eafa..bb9032e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/012-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/012-expected.txt
@@ -11,8 +11,8 @@
           text run at (0,0) width 304: "This table below has three hierarchical sections. "
           text run at (304,0) width 383: "Collapsing a section should cause those below it to move up."
       LayoutBlockFlow {P} at (0,82.91) size 784x20
-        LayoutText {#text} at (0,0) size 764x19
-          text run at (0,0) width 764: "This works on the latest Windows IE and Mozilla Firefox (Win and Mac) but not on Safari 1.2.3 (v125.9) {or 2.0 (146)}."
+        LayoutText {#text} at (0,0) size 765x19
+          text run at (0,0) width 765: "This works on the latest Windows IE and Mozilla Firefox (Win and Mac) but not on Safari 1.2.3 (v125.9) {or 2.0 (146)}."
       LayoutBlockFlow {P} at (0,118.91) size 784x20
         LayoutText {#text} at (0,0) size 747x19
           text run at (0,0) width 579: "Note that the second section is collapsed when the page opens and expanding it works fine. "
@@ -24,8 +24,8 @@
             text run at (16,1) width 75: " Block One"
         LayoutBlockFlow {DIV} at (0,31) size 784x21
           LayoutImage {IMG} at (0,0) size 16x16
-          LayoutText {#text} at (16,1) size 77x19
-            text run at (16,1) width 77: " Block Two"
+          LayoutText {#text} at (16,1) size 76x19
+            text run at (16,1) width 76: " Block Two"
         LayoutBlockFlow {DIV} at (0,52) size 784x21
           LayoutImage {IMG} at (0,0) size 16x16
           LayoutText {#text} at (16,1) size 88x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/014-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/014-expected.txt
index ffba7948..d6c73b9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/014-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/014-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 562x19
-          text run at (0,0) width 562: "You should see three rows below labeled \"row 1\", \"row 2\", \"row 3\", from top to bottom."
+        LayoutText {#text} at (0,0) size 561x19
+          text run at (0,0) width 561: "You should see three rows below labeled \"row 1\", \"row 2\", \"row 3\", from top to bottom."
       LayoutTable {TABLE} at (0,36) size 43x74
         LayoutTableSection {TBODY} at (0,0) size 43x74
           LayoutTableRow {TR} at (0,2) size 43x22
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/015-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/015-expected.txt
index 1457eb7..10582c76 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/015-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/015-expected.txt
@@ -5,8 +5,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 762x39
-          text run at (0,0) width 762: "You should see a table with 6 rows, labeled \"Row_0\", \"Row_1\", \"Row_2\", \"Row_3\", \"Row_4\", \"Row_5\", from top to"
+        LayoutText {#text} at (0,0) size 761x39
+          text run at (0,0) width 761: "You should see a table with 6 rows, labeled \"Row_0\", \"Row_1\", \"Row_2\", \"Row_3\", \"Row_4\", \"Row_5\", from top to"
           text run at (0,20) width 48: "bottom."
       LayoutTable {TABLE} at (0,56) size 57x160 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 55x158
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/anchor-lock-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/anchor-lock-expected.txt
index bac94f8..5475b0f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/anchor-lock-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/anchor-lock-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 180x36
           text run at (0,0) width 180: "Anchor Lock"
       LayoutBlockFlow {P} at (0,58.44) size 769x40
-        LayoutText {#text} at (0,0) size 739x39
-          text run at (0,0) width 739: "This tests WebKit's ability to lock to an anchor and maintain focus on it as images are loaded above and below it. The"
+        LayoutText {#text} at (0,0) size 738x39
+          text run at (0,0) width 738: "This tests WebKit's ability to lock to an anchor and maintain focus on it as images are loaded above and below it. The"
           text run at (0,20) width 369: "Anchor text should be visible and this message should not."
       LayoutBlockFlow {P} at (0,114.44) size 769x200
         LayoutImage {IMG} at (0,0) size 200x200
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/anonymous-block-orphaned-lines-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/anonymous-block-orphaned-lines-expected.png
index d8b8d40..095e1e8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/anonymous-block-orphaned-lines-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/anonymous-block-orphaned-lines-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/anonymous-block-orphaned-lines-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/anonymous-block-orphaned-lines-expected.txt
index 6c4c5b6..e648f08 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/anonymous-block-orphaned-lines-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/anonymous-block-orphaned-lines-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 566x19
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=12782"
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=12782"
           LayoutText {#text} at (352,0) size 265x19
-            text run at (352,0) width 5: " "
+            text run at (352,0) width 4: " "
             text run at (356,0) width 261: "Reproducible crash in BidiContext::deref"
-        LayoutText {#text} at (616,0) size 5x19
-          text run at (616,0) width 5: "."
+        LayoutText {#text} at (617,0) size 4x19
+          text run at (617,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 246x19
           text run at (0,0) width 246: "No assertion failure means SUCCESS."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/containing-block-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/containing-block-change-expected.png
index 3e6d13b..b58f703f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/containing-block-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/containing-block-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/containing-block-change-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/containing-block-change-expected.txt
index 3f6b82c..770e1f2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/containing-block-change-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/containing-block-change-expected.txt
@@ -7,11 +7,11 @@
         LayoutText {#text} at (0,0) size 172x19
           text run at (0,0) width 172: "This is a regression test for "
         LayoutInline {I} at (0,0) size 761x39
-          LayoutInline {A} at (0,0) size 300x19 [color=#0000EE]
-            LayoutText {#text} at (172,0) size 300x19
-              text run at (172,0) width 300: "http://bugs.webkit.org/show_bug.cgi?id=11672"
+          LayoutInline {A} at (0,0) size 299x19 [color=#0000EE]
+            LayoutText {#text} at (172,0) size 299x19
+              text run at (172,0) width 299: "http://bugs.webkit.org/show_bug.cgi?id=11672"
           LayoutText {#text} at (471,0) size 761x39
-            text run at (471,0) width 5: " "
+            text run at (471,0) width 4: " "
             text run at (475,0) width 286: "REGRESSION (r17068): Repro crash due to"
             text run at (0,20) width 146: "painting without layout"
         LayoutText {#text} at (146,20) size 128x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/create-renderer-for-whitespace-only-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/create-renderer-for-whitespace-only-text-expected.png
index be6007e..7a422f6f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/create-renderer-for-whitespace-only-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/create-renderer-for-whitespace-only-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/create-renderer-for-whitespace-only-text-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/create-renderer-for-whitespace-only-text-expected.txt
index ff6f754..5e798ad8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/create-renderer-for-whitespace-only-text-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/create-renderer-for-whitespace-only-text-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 782x39
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=14134"
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=14134"
           LayoutText {#text} at (352,0) size 782x39
-            text run at (352,0) width 5: " "
+            text run at (352,0) width 4: " "
             text run at (356,0) width 426: "REGRESSION (r25353): Whitespace nodes ignored between inline"
             text run at (0,20) width 55: "list items"
         LayoutText {#text} at (55,20) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.png
index 799975e6..65bf2ce0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.txt
index 3eb05646..1720f89 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.txt
@@ -4,18 +4,18 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 739x39
-          LayoutInline {A} at (0,0) size 308x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 308x19
-              text run at (51,0) width 308: "https://bugs.webkit.org/show_bug.cgi?id=19278"
-          LayoutText {#text} at (358,0) size 739x39
-            text run at (358,0) width 5: " "
-            text run at (362,0) width 377: "REGRESSION (r31114-r31132): image float disappears on"
-            text run at (0,20) width 43: "refresh"
-        LayoutText {#text} at (42,20) size 5x19
-          text run at (42,20) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 737x39
+          LayoutInline {A} at (0,0) size 307x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 307x19
+              text run at (51,0) width 307: "https://bugs.webkit.org/show_bug.cgi?id=19278"
+          LayoutText {#text} at (358,0) size 737x39
+            text run at (358,0) width 4: " "
+            text run at (362,0) width 375: "REGRESSION (r31114-r31132): image float disappears on"
+            text run at (0,20) width 44: "refresh"
+        LayoutText {#text} at (44,20) size 4x19
+          text run at (44,20) width 4: "."
       LayoutBlockFlow {DIV} at (0,56) size 784x80
         LayoutBlockFlow (anonymous) at (0,0) size 784x40
           LayoutText {#text} at (0,0) size 259x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-withdrawal-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-withdrawal-expected.png
index 6f1f64d..4b567b4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-withdrawal-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-withdrawal-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-withdrawal-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-withdrawal-expected.txt
index cf2035e5..fa3e52c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-withdrawal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/float-withdrawal-expected.txt
@@ -4,25 +4,25 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 579x19
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=12886"
-          LayoutText {#text} at (352,0) size 278x19
-            text run at (352,0) width 5: " "
-            text run at (356,0) width 274: "Crash with Scriptalicious javascript library"
-        LayoutText {#text} at (629,0) size 5x19
-          text run at (629,0) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 578x19
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=12886"
+          LayoutText {#text} at (352,0) size 277x19
+            text run at (352,0) width 4: " "
+            text run at (356,0) width 273: "Crash with Scriptalicious javascript library"
+        LayoutText {#text} at (629,0) size 4x19
+          text run at (629,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 297x19
-          text run at (0,0) width 297: "You should see two purple 100\x{D7}50 rectangles, "
-        LayoutInline {EM} at (0,0) size 21x19
-          LayoutText {#text} at (296,0) size 21x19
-            text run at (296,0) width 21: "not"
-        LayoutText {#text} at (316,0) size 152x19
-          text run at (316,0) width 152: " a checkerboard pattern."
+        LayoutText {#text} at (0,0) size 296x19
+          text run at (0,0) width 296: "You should see two purple 100\x{D7}50 rectangles, "
+        LayoutInline {EM} at (0,0) size 20x19
+          LayoutText {#text} at (296,0) size 20x19
+            text run at (296,0) width 20: "not"
+        LayoutText {#text} at (316,0) size 151x19
+          text run at (316,0) width 151: " a checkerboard pattern."
       LayoutTable {TABLE} at (0,72) size 100x300
         LayoutTableSection {TBODY} at (0,0) size 100x300
           LayoutTableRow {TR} at (0,0) size 100x150
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/insert-before-table-part-in-continuation-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/insert-before-table-part-in-continuation-expected.png
index c17dec6..42a7ded8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/insert-before-table-part-in-continuation-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/insert-before-table-part-in-continuation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/insert-before-table-part-in-continuation-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/insert-before-table-part-in-continuation-expected.txt
index 8fc42f8..f548f7b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/insert-before-table-part-in-continuation-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/insert-before-table-part-in-continuation-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 631x19
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=15362"
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=15362"
           LayoutText {#text} at (352,0) size 330x19
-            text run at (352,0) width 5: " "
+            text run at (352,0) width 4: " "
             text run at (356,0) width 326: "Safari Crashes when opening a JS TreeGrid widget"
-        LayoutText {#text} at (681,0) size 5x19
-          text run at (681,0) width 5: "."
+        LayoutText {#text} at (682,0) size 4x19
+          text run at (682,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x80
         LayoutText {#text} at (0,0) size 783x79
           text run at (0,0) width 780: "The test sets up an inline parent with a child that is some kind of table part. The child gets broken off into a continuation and"
@@ -22,22 +22,22 @@
           text run at (0,40) width 783: "specifying the table part as the \"before child\". The resulting render tree should look just like it would look if the parent was a"
           text run at (0,60) width 39: "block."
       LayoutBlockFlow {DIV} at (0,132) size 784x20
-        LayoutInline {SPAN} at (0,0) size 230x19
-          LayoutText {#text} at (0,0) size 40x19
-            text run at (0,0) width 40: "Text..."
-          LayoutText {#text} at (39,0) size 88x19
-            text run at (39,0) width 88: "goes here and"
-          LayoutTable (anonymous) at (126.88,0) size 103x20
+        LayoutInline {SPAN} at (0,0) size 229x19
+          LayoutText {#text} at (0,0) size 39x19
+            text run at (0,0) width 39: "Text..."
+          LayoutText {#text} at (39,0) size 87x19
+            text run at (39,0) width 87: "goes here and"
+          LayoutTable (anonymous) at (126,0) size 103x20
             LayoutTableSection (anonymous) at (0,0) size 103x20
               LayoutTableRow (anonymous) at (0,0) size 103x20
                 LayoutTableCell {DIV} at (0,0) size 103x20 [r=0 c=0 rs=1 cs=1]
                   LayoutText {#text} at (0,0) size 103x19
                     text run at (0,0) width 103: "...continues here"
       LayoutBlockFlow {DIV} at (0,152) size 784x20
-        LayoutInline {SPAN} at (0,0) size 143x19
-          LayoutText {#text} at (0,0) size 40x19
-            text run at (0,0) width 40: "Text..."
-          LayoutTable (anonymous) at (39.88,0) size 103x20
+        LayoutInline {SPAN} at (0,0) size 142x19
+          LayoutText {#text} at (0,0) size 39x19
+            text run at (0,0) width 39: "Text..."
+          LayoutTable (anonymous) at (39,0) size 103x20
             LayoutTableSection (anonymous) at (0,0) size 103x20
               LayoutTableRow (anonymous) at (0,0) size 103x20
                 LayoutTableCell {TD} at (0,0) size 0x0 [r=0 c=0 rs=1 cs=1]
@@ -45,10 +45,10 @@
                   LayoutText {#text} at (0,0) size 103x19
                     text run at (0,0) width 103: "...continues here"
       LayoutBlockFlow {DIV} at (0,172) size 784x35
-        LayoutInline {SPAN} at (0,0) size 143x19
-          LayoutText {#text} at (0,0) size 40x19
-            text run at (0,0) width 40: "Text..."
-          LayoutTable (anonymous) at (39.88,15) size 103x20
+        LayoutInline {SPAN} at (0,0) size 142x19
+          LayoutText {#text} at (0,0) size 39x19
+            text run at (0,0) width 39: "Text..."
+          LayoutTable (anonymous) at (39,15) size 103x20
             LayoutTableSection (anonymous) at (0,0) size 103x20
               LayoutTableRow {TR} at (0,0) size 103x0
               LayoutTableRow (anonymous) at (0,0) size 103x20
@@ -56,11 +56,11 @@
                   LayoutText {#text} at (0,0) size 103x19
                     text run at (0,0) width 103: "...continues here"
       LayoutBlockFlow {DIV} at (0,207) size 784x20
-        LayoutInline {SPAN} at (0,0) size 143x19
-          LayoutText {#text} at (0,0) size 40x19
-            text run at (0,0) width 40: "Text..."
-          LayoutInline {SPAN} at (0,0) size 1x19
-          LayoutTable (anonymous) at (39.88,0) size 103x20
+        LayoutInline {SPAN} at (0,0) size 142x19
+          LayoutText {#text} at (0,0) size 39x19
+            text run at (0,0) width 39: "Text..."
+          LayoutInline {SPAN} at (0,0) size 0x19
+          LayoutTable (anonymous) at (39,0) size 103x20
             LayoutTableSection (anonymous) at (0,0) size 103x20
               LayoutTableRow (anonymous) at (0,0) size 103x20
                 LayoutTableCell {DIV} at (0,0) size 103x20 [r=0 c=0 rs=1 cs=1]
@@ -68,9 +68,9 @@
                     text run at (0,0) width 103: "...continues here"
       LayoutBlockFlow {DIV} at (0,227) size 784x40
         LayoutBlockFlow (anonymous) at (0,0) size 784x20
-          LayoutInline {SPAN} at (0,0) size 40x19
-            LayoutText {#text} at (0,0) size 40x19
-              text run at (0,0) width 40: "Text..."
+          LayoutInline {SPAN} at (0,0) size 39x19
+            LayoutText {#text} at (0,0) size 39x19
+              text run at (0,0) width 39: "Text..."
         LayoutBlockFlow (anonymous) at (0,20) size 784x0
           LayoutBlockFlow {DIV} at (0,0) size 784x0
         LayoutBlockFlow (anonymous) at (0,20) size 784x20
@@ -82,22 +82,22 @@
                     LayoutText {#text} at (0,0) size 103x19
                       text run at (0,0) width 103: "...continues here"
       LayoutBlockFlow {DIV} at (0,267) size 784x20
-        LayoutInline {SPAN} at (0,0) size 230x19
-          LayoutText {#text} at (0,0) size 40x19
-            text run at (0,0) width 40: "Text..."
-          LayoutText {#text} at (39,0) size 88x19
-            text run at (39,0) width 88: "goes here and"
-          LayoutTable (anonymous) at (126.88,0) size 103x20
+        LayoutInline {SPAN} at (0,0) size 229x19
+          LayoutText {#text} at (0,0) size 39x19
+            text run at (0,0) width 39: "Text..."
+          LayoutText {#text} at (39,0) size 87x19
+            text run at (39,0) width 87: "goes here and"
+          LayoutTable (anonymous) at (126,0) size 103x20
             LayoutTableSection (anonymous) at (0,0) size 103x20
               LayoutTableRow {DIV} at (0,0) size 103x20
                 LayoutTableCell (anonymous) at (0,0) size 103x20 [r=0 c=0 rs=1 cs=1]
                   LayoutText {#text} at (0,0) size 103x19
                     text run at (0,0) width 103: "...continues here"
       LayoutBlockFlow {DIV} at (0,287) size 784x35
-        LayoutInline {SPAN} at (0,0) size 143x19
-          LayoutText {#text} at (0,0) size 40x19
-            text run at (0,0) width 40: "Text..."
-          LayoutTable (anonymous) at (39.88,15) size 103x20
+        LayoutInline {SPAN} at (0,0) size 142x19
+          LayoutText {#text} at (0,0) size 39x19
+            text run at (0,0) width 39: "Text..."
+          LayoutTable (anonymous) at (39,15) size 103x20
             LayoutTableSection (anonymous) at (0,0) size 103x20
               LayoutTableRow (anonymous) at (0,0) size 103x0
                 LayoutTableCell {TD} at (0,0) size 103x0 [r=0 c=0 rs=1 cs=1]
@@ -106,10 +106,10 @@
                   LayoutText {#text} at (0,0) size 103x19
                     text run at (0,0) width 103: "...continues here"
       LayoutBlockFlow {DIV} at (0,322) size 784x35
-        LayoutInline {SPAN} at (0,0) size 143x19
-          LayoutText {#text} at (0,0) size 40x19
-            text run at (0,0) width 40: "Text..."
-          LayoutTable (anonymous) at (39.88,15) size 103x20
+        LayoutInline {SPAN} at (0,0) size 142x19
+          LayoutText {#text} at (0,0) size 39x19
+            text run at (0,0) width 39: "Text..."
+          LayoutTable (anonymous) at (39,15) size 103x20
             LayoutTableSection (anonymous) at (0,0) size 103x20
               LayoutTableRow {TR} at (0,0) size 103x0
               LayoutTableRow {DIV} at (0,0) size 103x20
@@ -117,11 +117,11 @@
                   LayoutText {#text} at (0,0) size 103x19
                     text run at (0,0) width 103: "...continues here"
       LayoutBlockFlow {DIV} at (0,357) size 784x20
-        LayoutInline {SPAN} at (0,0) size 143x19
-          LayoutText {#text} at (0,0) size 40x19
-            text run at (0,0) width 40: "Text..."
-          LayoutInline {SPAN} at (0,0) size 1x19
-          LayoutTable (anonymous) at (39.88,0) size 103x20
+        LayoutInline {SPAN} at (0,0) size 142x19
+          LayoutText {#text} at (0,0) size 39x19
+            text run at (0,0) width 39: "Text..."
+          LayoutInline {SPAN} at (0,0) size 0x19
+          LayoutTable (anonymous) at (39,0) size 103x20
             LayoutTableSection (anonymous) at (0,0) size 103x20
               LayoutTableRow {DIV} at (0,0) size 103x20
                 LayoutTableCell (anonymous) at (0,0) size 103x20 [r=0 c=0 rs=1 cs=1]
@@ -129,9 +129,9 @@
                     text run at (0,0) width 103: "...continues here"
       LayoutBlockFlow {DIV} at (0,377) size 784x40
         LayoutBlockFlow (anonymous) at (0,0) size 784x20
-          LayoutInline {SPAN} at (0,0) size 40x19
-            LayoutText {#text} at (0,0) size 40x19
-              text run at (0,0) width 40: "Text..."
+          LayoutInline {SPAN} at (0,0) size 39x19
+            LayoutText {#text} at (0,0) size 39x19
+              text run at (0,0) width 39: "Text..."
         LayoutBlockFlow (anonymous) at (0,20) size 784x0
           LayoutBlockFlow {DIV} at (0,0) size 784x0
         LayoutBlockFlow (anonymous) at (0,20) size 784x20
@@ -143,22 +143,22 @@
                     LayoutText {#text} at (0,0) size 103x19
                       text run at (0,0) width 103: "...continues here"
       LayoutBlockFlow {DIV} at (0,417) size 784x20
-        LayoutInline {SPAN} at (0,0) size 230x19
-          LayoutText {#text} at (0,0) size 40x19
-            text run at (0,0) width 40: "Text..."
-          LayoutText {#text} at (39,0) size 88x19
-            text run at (39,0) width 88: "goes here and"
-          LayoutTable (anonymous) at (126.88,0) size 103x20
+        LayoutInline {SPAN} at (0,0) size 229x19
+          LayoutText {#text} at (0,0) size 39x19
+            text run at (0,0) width 39: "Text..."
+          LayoutText {#text} at (39,0) size 87x19
+            text run at (39,0) width 87: "goes here and"
+          LayoutTable (anonymous) at (126,0) size 103x20
             LayoutTableSection {DIV} at (0,0) size 103x20
               LayoutTableRow (anonymous) at (0,0) size 103x20
                 LayoutTableCell (anonymous) at (0,0) size 103x20 [r=0 c=0 rs=1 cs=1]
                   LayoutText {#text} at (0,0) size 103x19
                     text run at (0,0) width 103: "...continues here"
       LayoutBlockFlow {DIV} at (0,437) size 784x35
-        LayoutInline {SPAN} at (0,0) size 143x19
-          LayoutText {#text} at (0,0) size 40x19
-            text run at (0,0) width 40: "Text..."
-          LayoutTable (anonymous) at (39.88,15) size 103x20
+        LayoutInline {SPAN} at (0,0) size 142x19
+          LayoutText {#text} at (0,0) size 39x19
+            text run at (0,0) width 39: "Text..."
+          LayoutTable (anonymous) at (39,15) size 103x20
             LayoutTableSection (anonymous) at (0,0) size 103x0
               LayoutTableRow (anonymous) at (0,0) size 103x0
                 LayoutTableCell {TD} at (0,0) size 103x0 [r=0 c=0 rs=1 cs=1]
@@ -168,10 +168,10 @@
                   LayoutText {#text} at (0,0) size 103x19
                     text run at (0,0) width 103: "...continues here"
       LayoutBlockFlow {DIV} at (0,472) size 784x35
-        LayoutInline {SPAN} at (0,0) size 143x19
-          LayoutText {#text} at (0,0) size 40x19
-            text run at (0,0) width 40: "Text..."
-          LayoutTable (anonymous) at (39.88,15) size 103x20
+        LayoutInline {SPAN} at (0,0) size 142x19
+          LayoutText {#text} at (0,0) size 39x19
+            text run at (0,0) width 39: "Text..."
+          LayoutTable (anonymous) at (39,15) size 103x20
             LayoutTableSection (anonymous) at (0,0) size 103x0
               LayoutTableRow {TR} at (0,0) size 103x0
             LayoutTableSection {DIV} at (0,0) size 103x20
@@ -180,11 +180,11 @@
                   LayoutText {#text} at (0,0) size 103x19
                     text run at (0,0) width 103: "...continues here"
       LayoutBlockFlow {DIV} at (0,507) size 784x20
-        LayoutInline {SPAN} at (0,0) size 143x19
-          LayoutText {#text} at (0,0) size 40x19
-            text run at (0,0) width 40: "Text..."
-          LayoutInline {SPAN} at (0,0) size 1x19
-          LayoutTable (anonymous) at (39.88,0) size 103x20
+        LayoutInline {SPAN} at (0,0) size 142x19
+          LayoutText {#text} at (0,0) size 39x19
+            text run at (0,0) width 39: "Text..."
+          LayoutInline {SPAN} at (0,0) size 0x19
+          LayoutTable (anonymous) at (39,0) size 103x20
             LayoutTableSection {DIV} at (0,0) size 103x20
               LayoutTableRow (anonymous) at (0,0) size 103x20
                 LayoutTableCell (anonymous) at (0,0) size 103x20 [r=0 c=0 rs=1 cs=1]
@@ -192,9 +192,9 @@
                     text run at (0,0) width 103: "...continues here"
       LayoutBlockFlow {DIV} at (0,527) size 784x40
         LayoutBlockFlow (anonymous) at (0,0) size 784x20
-          LayoutInline {SPAN} at (0,0) size 40x19
-            LayoutText {#text} at (0,0) size 40x19
-              text run at (0,0) width 40: "Text..."
+          LayoutInline {SPAN} at (0,0) size 39x19
+            LayoutText {#text} at (0,0) size 39x19
+              text run at (0,0) width 39: "Text..."
         LayoutBlockFlow (anonymous) at (0,20) size 784x0
           LayoutBlockFlow {DIV} at (0,0) size 784x0
         LayoutBlockFlow (anonymous) at (0,20) size 784x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/noninlinebadness-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/noninlinebadness-expected.png
index 7b793f42..7f3c7c11 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/noninlinebadness-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/noninlinebadness-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/noninlinebadness-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/noninlinebadness-expected.txt
index 96e712b..db5102e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/noninlinebadness-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/noninlinebadness-expected.txt
@@ -7,7 +7,7 @@
         LayoutBlockFlow (floating) {DIV} at (0,0) size 200x200
         LayoutBlockFlow {DIV} at (0,0) size 200x200 [bgcolor=#00FF00]
         LayoutBlockFlow (anonymous) at (0,200) size 784x40
-          LayoutText {#text} at (0,0) size 724x39
+          LayoutText {#text} at (0,0) size 723x39
             text run at (0,0) width 336: "This text should be underneath a 200x200 lime float. "
-            text run at (336,0) width 388: "We are making sure that the code that wraps inline children in"
+            text run at (336,0) width 387: "We are making sure that the code that wraps inline children in"
             text run at (0,20) width 608: "anonymous blocks does the right thing when blocks are inserted in between a float and an inline."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/outerHTML-doc-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/outerHTML-doc-expected.png
index ee259c9a..1657c1b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/outerHTML-doc-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/outerHTML-doc-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/outerHTML-doc-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/outerHTML-doc-expected.txt
index 674347c..e6ec6f9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/outerHTML-doc-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/outerHTML-doc-expected.txt
@@ -9,10 +9,10 @@
         LayoutInline {A} at (0,0) size 56x19 [color=#0000EE]
           LayoutText {#text} at (47,0) size 56x19
             text run at (47,0) width 56: "4110775"
-        LayoutText {#text} at (102,0) size 474x19
-          text run at (102,0) width 474: " Crash will occur when double-clicking outerHTML link on W3 DOM test"
+        LayoutText {#text} at (103,0) size 473x19
+          text run at (103,0) width 473: " Crash will occur when double-clicking outerHTML link on W3 DOM test"
       LayoutBlockFlow {P} at (0,36) size 784x0
       LayoutBlockFlow {DIV} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 585x19
-          text run at (0,0) width 455: "This test passed. We don't support outerHTML on the document object. "
-          text run at (454,0) width 131: "Neither does WinIE."
+        LayoutText {#text} at (0,0) size 584x19
+          text run at (0,0) width 454: "This test passed. We don't support outerHTML on the document object. "
+          text run at (454,0) width 130: "Neither does WinIE."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/positioned-movement-with-positioned-children-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/positioned-movement-with-positioned-children-expected.txt
index 05639c0..c8a61b8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/positioned-movement-with-positioned-children-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/positioned-movement-with-positioned-children-expected.txt
@@ -4,10 +4,10 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 100x100 [bgcolor=#FF0000]
-        LayoutText {#text} at (0,0) size 97x59
-          text run at (0,0) width 97: "You should not"
+        LayoutText {#text} at (0,0) size 96x59
+          text run at (0,0) width 96: "You should not"
           text run at (0,20) width 96: "see this. Resize"
-          text run at (0,40) width 78: "the window."
+          text run at (0,40) width 77: "the window."
 hidden layer at (8,8) size 0x0
   LayoutBlockFlow (positioned) {DIV} at (8,8) size 0x0
 hidden layer at (8,8) size 100x122
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/selection-highlight-adjust-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/selection-highlight-adjust-expected.png
index c3d5a04..6243a25 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/selection-highlight-adjust-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/selection-highlight-adjust-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/selection-highlight-adjust-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/selection-highlight-adjust-expected.txt
index 4db2889..bed3694 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/selection-highlight-adjust-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/selection-highlight-adjust-expected.txt
@@ -10,9 +10,9 @@
           LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
             LayoutText {#text} at (172,0) size 348x19
               text run at (172,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8835"
-          LayoutText {#text} at (519,0) size 784x39
-            text run at (519,0) width 5: " "
-            text run at (523,0) width 261: "REGRESSION: Line moves but selection"
+          LayoutText {#text} at (520,0) size 784x39
+            text run at (520,0) width 4: " "
+            text run at (524,0) width 260: "REGRESSION: Line moves but selection"
             text run at (0,20) width 138: "highlight stays behind"
         LayoutText {#text} at (138,20) size 4x19
           text run at (138,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/staticY-marking-parents-regression-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/staticY-marking-parents-regression-expected.png
index d019939..114ebe16 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/staticY-marking-parents-regression-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/staticY-marking-parents-regression-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/staticY-marking-parents-regression-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/staticY-marking-parents-regression-expected.txt
index 38b4a79..def9013 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/staticY-marking-parents-regression-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/staticY-marking-parents-regression-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 723x39
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=12818"
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=12818"
           LayoutText {#text} at (352,0) size 723x39
-            text run at (352,0) width 5: " "
+            text run at (352,0) width 4: " "
             text run at (356,0) width 367: "REGRESSION (r19148): shacknews.com does not render"
             text run at (0,20) width 68: "completely"
         LayoutText {#text} at (68,20) size 4x19
@@ -21,8 +21,8 @@
           text run at (0,0) width 331: "There should be a green square to the left of the text."
       LayoutBlockFlow {DIV} at (0,92) size 100x100 [bgcolor=#008000]
       LayoutBlockFlow {DIV} at (0,192) size 784x20
-        LayoutText {#text} at (0,0) size 38x19
-          text run at (0,0) width 38: "PASS"
+        LayoutText {#text} at (0,0) size 37x19
+          text run at (0,0) width 37: "PASS"
 layer at (8,100) size 792x140
   LayoutBlockFlow (positioned) {DIV} at (8,100) size 792x140
     LayoutBlockFlow {DIV} at (100,0) size 692x140
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/view-overflow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/view-overflow-expected.png
index 73a2e92e..bb06437 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/view-overflow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/view-overflow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/view-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/view-overflow-expected.txt
index d55775f..8415525 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/view-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/view-overflow-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 636x19
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=13145"
-          LayoutText {#text} at (352,0) size 335x19
-            text run at (352,0) width 5: " "
-            text run at (356,0) width 331: "Regression: Scrollbar not resizing after display none"
-        LayoutText {#text} at (686,0) size 5x19
-          text run at (686,0) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 637x19
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=13145"
+          LayoutText {#text} at (352,0) size 336x19
+            text run at (352,0) width 4: " "
+            text run at (356,0) width 332: "Regression: Scrollbar not resizing after display none"
+        LayoutText {#text} at (688,0) size 4x19
+          text run at (688,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 312x19
           text run at (0,0) width 312: "The window should not have a vertical scroll bar."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-big-endian-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-big-endian-expected.png
index d0f478dc..e599bbc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-big-endian-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-big-endian-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-big-endian-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-big-endian-expected.txt
index 55360d8..7613a4f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-big-endian-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-big-endian-expected.txt
@@ -46,8 +46,8 @@
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,83.97) size 784x2
       LayoutBlockFlow (anonymous) at (0,92.63) size 784x58
-        LayoutInline {SPAN} at (0,0) size 587x56
-          LayoutInline {SPAN} at (0,0) size 587x56
+        LayoutInline {SPAN} at (0,0) size 586x56
+          LayoutInline {SPAN} at (0,0) size 586x56
             LayoutText {#text} at (0,0) size 0x0
             LayoutBlockFlow {IMG} at (0,4) size 78x16
               LayoutInline {SPAN} at (0,0) size 62x16
@@ -109,26 +109,26 @@
               LayoutInline {SPAN} at (0,0) size 0x0
                 LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,301.25) size 784x63
-        LayoutTable {TABLE} at (0,0) size 596x63
-          LayoutTableSection {TBODY} at (0,0) size 596x63
-            LayoutTableRow {TR} at (0,2) size 596x59
+        LayoutTable {TABLE} at (0,0) size 595x63
+          LayoutTableSection {TBODY} at (0,0) size 595x63
+            LayoutTableRow {TR} at (0,2) size 595x59
               LayoutTableCell {TD} at (2,30) size 2x2 [r=0 c=0 rs=1 cs=1]
               LayoutTableCell {TD} at (6,2) size 2x2 [r=0 c=1 rs=1 cs=1]
-              LayoutTableCell {TD} at (10,21) size 164x21 [r=0 c=2 rs=1 cs=1]
-                LayoutBlockFlow {IMG} at (1,1) size 161.23x19
-                  LayoutInline {SPAN} at (0,0) size 146x18
+              LayoutTableCell {TD} at (10,21) size 163x21 [r=0 c=2 rs=1 cs=1]
+                LayoutBlockFlow {IMG} at (1,1) size 161x19
+                  LayoutInline {SPAN} at (0,0) size 145x18
                     LayoutImage (floating) {IMG} at (0,0) size 16x16
-                    LayoutInline {SPAN} at (0,0) size 146x18
-                      LayoutText {#text} at (16,0) size 146x18
-                        text run at (16,0) width 146: "TUR - Tour Package"
+                    LayoutInline {SPAN} at (0,0) size 145x18
+                      LayoutText {#text} at (16,0) size 145x18
+                        text run at (16,0) width 145: "TUR - Tour Package"
                 LayoutText {#text} at (0,0) size 0x0
-              LayoutTableCell {TD} at (176,2) size 418x59 [r=0 c=3 rs=1 cs=1]
-                LayoutText {#text} at (1,1) size 146x18
-                  text run at (1,1) width 146: "TUR - Tour Package"
-                LayoutBR {BR} at (146,16) size 1x0
-                LayoutText {#text} at (1,20) size 227x18
-                  text run at (1,20) width 227: "Date: Sunday, January 12, 2003"
-                LayoutBR {BR} at (227,35) size 1x0
+              LayoutTableCell {TD} at (175,2) size 418x59 [r=0 c=3 rs=1 cs=1]
+                LayoutText {#text} at (1,1) size 145x18
+                  text run at (1,1) width 145: "TUR - Tour Package"
+                LayoutBR {BR} at (146,16) size 0x0
+                LayoutText {#text} at (1,20) size 226x18
+                  text run at (1,20) width 226: "Date: Sunday, January 12, 2003"
+                LayoutBR {BR} at (227,35) size 0x0
                 LayoutText {#text} at (1,39) size 416x18
                   text run at (1,39) width 416: "Comments: -** TICKETLESS CONF CODE IS WHGNSO**"
       LayoutBlockFlow (anonymous) at (0,364.25) size 784x0
@@ -163,19 +163,19 @@
                   LayoutText {#text} at (0,0) size 24x18
                     text run at (0,0) width 24: "Air "
                   LayoutBR {BR} at (0,0) size 0x0
-                  LayoutText {#text} at (0,19) size 484x18
+                  LayoutText {#text} at (0,19) size 482x18
                     text run at (0,19) width 51: "United "
-                    text run at (51,19) width 83: "Flight 1187 "
-                    text run at (133,19) width 124: "Booking Code:M "
-                    text run at (256,19) width 228: "Date: Sunday, January 12, 2003"
-                  LayoutBR {BR} at (483,34) size 1x0
+                    text run at (51,19) width 82: "Flight 1187 "
+                    text run at (133,19) width 123: "Booking Code:M "
+                    text run at (256,19) width 226: "Date: Sunday, January 12, 2003"
+                  LayoutBR {BR} at (482,34) size 0x0
                   LayoutText {#text} at (0,38) size 388x18
                     text run at (0,38) width 388: "From: San Francisco Intl Arpt, San Francisco CA - U.S."
                   LayoutBR {BR} at (388,53) size 0x0
-                  LayoutText {#text} at (0,57) size 404x18
-                    text run at (0,57) width 26: "To: "
-                    text run at (25,57) width 379: "Burbank Glendale Pasadena Arpt, Burbank CA - U.S."
-                  LayoutBR {BR} at (403,72) size 1x0
+                  LayoutText {#text} at (0,57) size 403x18
+                    text run at (0,57) width 25: "To: "
+                    text run at (25,57) width 378: "Burbank Glendale Pasadena Arpt, Burbank CA - U.S."
+                  LayoutBR {BR} at (403,72) size 0x0
                   LayoutText {#text} at (0,76) size 244x18
                     text run at (0,76) width 127: "Departs: 6:05 PM "
                     text run at (127,76) width 117: "Arrives: 7:10 PM"
@@ -263,19 +263,19 @@
                   LayoutText {#text} at (0,0) size 24x18
                     text run at (0,0) width 24: "Air "
                   LayoutBR {BR} at (0,0) size 0x0
-                  LayoutText {#text} at (0,19) size 465x18
+                  LayoutText {#text} at (0,19) size 464x18
                     text run at (0,19) width 51: "United "
                     text run at (51,19) width 75: "Flight 480 "
                     text run at (126,19) width 122: "Booking Code:Q "
-                    text run at (248,19) width 217: "Date: Friday, January 24, 2003"
-                  LayoutBR {BR} at (464,34) size 1x0
+                    text run at (248,19) width 216: "Date: Friday, January 24, 2003"
+                  LayoutBR {BR} at (464,34) size 0x0
                   LayoutText {#text} at (0,38) size 423x18
                     text run at (0,38) width 423: "From: Burbank Glendale Pasadena Arpt, Burbank CA - U.S."
                   LayoutBR {BR} at (423,53) size 0x0
-                  LayoutText {#text} at (0,57) size 369x18
-                    text run at (0,57) width 26: "To: "
-                    text run at (25,57) width 344: "San Francisco Intl Arpt, San Francisco CA - U.S."
-                  LayoutBR {BR} at (368,72) size 1x0
+                  LayoutText {#text} at (0,57) size 368x18
+                    text run at (0,57) width 25: "To: "
+                    text run at (25,57) width 343: "San Francisco Intl Arpt, San Francisco CA - U.S."
+                  LayoutBR {BR} at (368,72) size 0x0
                   LayoutText {#text} at (0,76) size 244x18
                     text run at (0,76) width 127: "Departs: 1:40 PM "
                     text run at (127,76) width 117: "Arrives: 2:50 PM"
@@ -345,9 +345,9 @@
               LayoutInline {SPAN} at (0,0) size 0x0
                 LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,822.19) size 784x120
-        LayoutTable {TABLE} at (0,0) size 629x120
-          LayoutTableSection {TBODY} at (0,0) size 629x120
-            LayoutTableRow {TR} at (0,2) size 629x116
+        LayoutTable {TABLE} at (0,0) size 628x120
+          LayoutTableSection {TBODY} at (0,0) size 628x120
+            LayoutTableRow {TR} at (0,2) size 628x116
               LayoutTableCell {TD} at (2,59) size 2x2 [r=0 c=0 rs=1 cs=1]
               LayoutTableCell {TD} at (6,2) size 2x2 [r=0 c=1 rs=1 cs=1]
               LayoutTableCell {TD} at (10,49) size 106x21 [r=0 c=2 rs=1 cs=1]
@@ -358,23 +358,23 @@
                       LayoutText {#text} at (16,0) size 88x18
                         text run at (16,0) width 88: "Air Segment"
                 LayoutText {#text} at (0,0) size 0x0
-              LayoutTableCell {TD} at (118,2) size 509x116 [r=0 c=3 rs=1 cs=1]
+              LayoutTableCell {TD} at (118,2) size 508x116 [r=0 c=3 rs=1 cs=1]
                 LayoutText {#text} at (1,1) size 24x18
                   text run at (1,1) width 24: "Air "
                 LayoutBR {BR} at (0,0) size 0x0
-                LayoutText {#text} at (1,20) size 507x18
+                LayoutText {#text} at (1,20) size 506x18
                   text run at (1,20) width 90: "UNKNOWN "
                   text run at (91,20) width 75: "Flight 123 "
                   text run at (166,20) width 121: "Booking Code:Y "
-                  text run at (287,20) width 221: "Date: Tuesday, March 25, 2003"
-                LayoutBR {BR} at (507,35) size 1x0
+                  text run at (287,20) width 220: "Date: Tuesday, March 25, 2003"
+                LayoutBR {BR} at (507,35) size 0x0
                 LayoutText {#text} at (1,39) size 388x18
                   text run at (1,39) width 388: "From: San Francisco Intl Arpt, San Francisco CA - U.S."
                 LayoutBR {BR} at (389,54) size 0x0
-                LayoutText {#text} at (1,58) size 369x18
-                  text run at (1,58) width 26: "To: "
-                  text run at (26,58) width 344: "San Francisco Intl Arpt, San Francisco CA - U.S."
-                LayoutBR {BR} at (369,73) size 1x0
+                LayoutText {#text} at (1,58) size 368x18
+                  text run at (1,58) width 25: "To: "
+                  text run at (26,58) width 343: "San Francisco Intl Arpt, San Francisco CA - U.S."
+                LayoutBR {BR} at (369,73) size 0x0
                 LayoutText {#text} at (1,77) size 170x18
                   text run at (1,77) width 90: "Departs: n/a "
                   text run at (91,77) width 80: "Arrives: n/a"
@@ -416,8 +416,8 @@
           LayoutInline {SPAN} at (0,0) size 196x16
             LayoutText {#text} at (0,36) size 196x16
               text run at (0,36) width 126: "SERVICE FEE MCO "
-              text run at (125,36) width 71: "8103220490"
-            LayoutBR {BR} at (195,49) size 1x0
+              text run at (126,36) width 70: "8103220490"
+            LayoutBR {BR} at (196,49) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,1016.16) size 784x2
       LayoutBlockFlow (anonymous) at (0,1024.81) size 784x21
@@ -435,10 +435,10 @@
             LayoutInline {B} at (0,0) size 112x19
               LayoutText {#text} at (82,0) size 112x19
                 text run at (82,0) width 112: "Web Bookings"
-            LayoutText {#text} at (193,0) size 5x19
-              text run at (193,0) width 5: " "
-            LayoutInline {SPAN} at (0,0) size 1x19
-              LayoutBR {BR} at (197,15) size 1x0
+            LayoutText {#text} at (194,0) size 4x19
+              text run at (194,0) width 4: " "
+            LayoutInline {SPAN} at (0,0) size 0x19
+              LayoutBR {BR} at (198,15) size 0x0
               LayoutInline {SPAN} at (0,0) size 0x0
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
@@ -514,28 +514,28 @@
 layer at (48,45) size 0x0
   LayoutInline (relative positioned) {SPAN} at (0,0) size 0x0
     LayoutText {#text} at (0,0) size 0x0
-layer at (23,101) size 587x35
-  LayoutInline (relative positioned) {SPAN} at (0,0) size 587x35
+layer at (23,101) size 586x35
+  LayoutInline (relative positioned) {SPAN} at (0,0) size 586x35
     LayoutText {#text} at (0,0) size 0x0
     LayoutBlockFlow {IMG} at (0,20) size 16x16
       LayoutInline {SPAN} at (0,0) size 0x0
         LayoutImage (floating) {IMG} at (0,0) size 16x16
         LayoutInline {SPAN} at (0,0) size 0x0
-    LayoutText {#text} at (16,23) size 571x16
+    LayoutText {#text} at (16,23) size 570x16
       text run at (16,23) width 4: " "
       text run at (20,23) width 56: "Address: "
-      text run at (76,23) width 511: "ST. JUDE MEDICAL, 21700 OXNARD ST SUITE 800, WOODLAND HILLS CA Z/91367 "
-    LayoutBR {BR} at (586,36) size 1x0
+      text run at (76,23) width 510: "ST. JUDE MEDICAL, 21700 OXNARD ST SUITE 800, WOODLAND HILLS CA Z/91367 "
+    LayoutBR {BR} at (586,36) size 0x0
     LayoutBlockFlow {IMG} at (0,39) size 16x16
       LayoutInline {SPAN} at (0,0) size 0x0
         LayoutImage (floating) {IMG} at (0,0) size 16x16
         LayoutInline {SPAN} at (0,0) size 0x0
-    LayoutText {#text} at (16,42) size 406x16
+    LayoutText {#text} at (16,42) size 407x16
       text run at (16,42) width 4: " "
       text run at (20,42) width 48: "Deliver: "
-      text run at (68,42) width 103: "DEBI STANGEL, "
-      text run at (171,42) width 115: "119 GLEN COURT, "
-      text run at (285,42) width 137: "DANVILLE CA Z/94526"
+      text run at (68,42) width 104: "DEBI STANGEL, "
+      text run at (172,42) width 115: "119 GLEN COURT, "
+      text run at (287,42) width 136: "DANVILLE CA Z/94526"
 layer at (23,174) size 16x16
   LayoutInline (relative positioned) {SPAN} at (0,0) size 16x16
     LayoutText {#text} at (0,0) size 0x0
@@ -546,33 +546,33 @@
     LayoutText {#text} at (0,0) size 0x0
 layer at (23,211) size 784x62 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
   LayoutBlockFlow (anonymous) (relative positioned) at (0,202.94) size 784x62
-layer at (43,196) size 528x62
-  LayoutTable (relative positioned) {TABLE} at (0,0) size 528x62 [border: (1px outset #808080)]
-    LayoutTableSection {TBODY} at (1,1) size 526x60
-      LayoutTableRow {TR} at (0,2) size 526x23 [bgcolor=#E0E0E0]
+layer at (43,196) size 527x62
+  LayoutTable (relative positioned) {TABLE} at (0,0) size 527x62 [border: (1px outset #808080)]
+    LayoutTableSection {TBODY} at (1,1) size 525x60
+      LayoutTableRow {TR} at (0,2) size 525x23 [bgcolor=#E0E0E0]
         LayoutTableCell {TD} at (2,2) size 95x23 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 36x18
             text run at (2,2) width 36: "Type"
         LayoutTableCell {TD} at (99,2) size 45x23 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 28x18
             text run at (2,2) width 28: "City"
-        LayoutTableCell {TD} at (146,2) size 378x23 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
+        LayoutTableCell {TD} at (146,2) size 377x23 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 47x18
             text run at (2,2) width 47: "Phone"
-      LayoutTableRow {TR} at (0,27) size 526x0
-      LayoutTableRow {TR} at (0,29) size 526x23
+      LayoutTableRow {TR} at (0,27) size 525x0
+      LayoutTableRow {TR} at (0,29) size 525x23
         LayoutTableCell {TD} at (2,29) size 95x23 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 91x18
             text run at (2,2) width 91: "Travel Agent"
         LayoutTableCell {TD} at (99,29) size 45x23 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 41x18
             text run at (2,2) width 41: "(LAX)"
-        LayoutTableCell {TD} at (146,29) size 378x23 [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
-          LayoutText {#text} at (2,2) size 374x18
-            text run at (2,2) width 374: "RQ0/818 990-4053-PLAZA TRAVEL - 05838276-RC"
-      LayoutTableRow {TR} at (0,54) size 526x0
-      LayoutTableRow {TR} at (0,56) size 526x0
-      LayoutTableRow {TR} at (0,58) size 526x0
+        LayoutTableCell {TD} at (146,29) size 377x23 [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
+          LayoutText {#text} at (2,2) size 373x18
+            text run at (2,2) width 373: "RQ0/818 990-4053-PLAZA TRAVEL - 05838276-RC"
+      LayoutTableRow {TR} at (0,54) size 525x0
+      LayoutTableRow {TR} at (0,56) size 525x0
+      LayoutTableRow {TR} at (0,58) size 525x0
 layer at (23,273) size 0x0
   LayoutInline (relative positioned) {SPAN} at (0,0) size 0x0
 layer at (33,1069) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-little-endian-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-little-endian-expected.png
index d0f478dc..e599bbc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-little-endian-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-little-endian-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-little-endian-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-little-endian-expected.txt
index 55360d8..7613a4f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-little-endian-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-little-endian-expected.txt
@@ -46,8 +46,8 @@
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,83.97) size 784x2
       LayoutBlockFlow (anonymous) at (0,92.63) size 784x58
-        LayoutInline {SPAN} at (0,0) size 587x56
-          LayoutInline {SPAN} at (0,0) size 587x56
+        LayoutInline {SPAN} at (0,0) size 586x56
+          LayoutInline {SPAN} at (0,0) size 586x56
             LayoutText {#text} at (0,0) size 0x0
             LayoutBlockFlow {IMG} at (0,4) size 78x16
               LayoutInline {SPAN} at (0,0) size 62x16
@@ -109,26 +109,26 @@
               LayoutInline {SPAN} at (0,0) size 0x0
                 LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,301.25) size 784x63
-        LayoutTable {TABLE} at (0,0) size 596x63
-          LayoutTableSection {TBODY} at (0,0) size 596x63
-            LayoutTableRow {TR} at (0,2) size 596x59
+        LayoutTable {TABLE} at (0,0) size 595x63
+          LayoutTableSection {TBODY} at (0,0) size 595x63
+            LayoutTableRow {TR} at (0,2) size 595x59
               LayoutTableCell {TD} at (2,30) size 2x2 [r=0 c=0 rs=1 cs=1]
               LayoutTableCell {TD} at (6,2) size 2x2 [r=0 c=1 rs=1 cs=1]
-              LayoutTableCell {TD} at (10,21) size 164x21 [r=0 c=2 rs=1 cs=1]
-                LayoutBlockFlow {IMG} at (1,1) size 161.23x19
-                  LayoutInline {SPAN} at (0,0) size 146x18
+              LayoutTableCell {TD} at (10,21) size 163x21 [r=0 c=2 rs=1 cs=1]
+                LayoutBlockFlow {IMG} at (1,1) size 161x19
+                  LayoutInline {SPAN} at (0,0) size 145x18
                     LayoutImage (floating) {IMG} at (0,0) size 16x16
-                    LayoutInline {SPAN} at (0,0) size 146x18
-                      LayoutText {#text} at (16,0) size 146x18
-                        text run at (16,0) width 146: "TUR - Tour Package"
+                    LayoutInline {SPAN} at (0,0) size 145x18
+                      LayoutText {#text} at (16,0) size 145x18
+                        text run at (16,0) width 145: "TUR - Tour Package"
                 LayoutText {#text} at (0,0) size 0x0
-              LayoutTableCell {TD} at (176,2) size 418x59 [r=0 c=3 rs=1 cs=1]
-                LayoutText {#text} at (1,1) size 146x18
-                  text run at (1,1) width 146: "TUR - Tour Package"
-                LayoutBR {BR} at (146,16) size 1x0
-                LayoutText {#text} at (1,20) size 227x18
-                  text run at (1,20) width 227: "Date: Sunday, January 12, 2003"
-                LayoutBR {BR} at (227,35) size 1x0
+              LayoutTableCell {TD} at (175,2) size 418x59 [r=0 c=3 rs=1 cs=1]
+                LayoutText {#text} at (1,1) size 145x18
+                  text run at (1,1) width 145: "TUR - Tour Package"
+                LayoutBR {BR} at (146,16) size 0x0
+                LayoutText {#text} at (1,20) size 226x18
+                  text run at (1,20) width 226: "Date: Sunday, January 12, 2003"
+                LayoutBR {BR} at (227,35) size 0x0
                 LayoutText {#text} at (1,39) size 416x18
                   text run at (1,39) width 416: "Comments: -** TICKETLESS CONF CODE IS WHGNSO**"
       LayoutBlockFlow (anonymous) at (0,364.25) size 784x0
@@ -163,19 +163,19 @@
                   LayoutText {#text} at (0,0) size 24x18
                     text run at (0,0) width 24: "Air "
                   LayoutBR {BR} at (0,0) size 0x0
-                  LayoutText {#text} at (0,19) size 484x18
+                  LayoutText {#text} at (0,19) size 482x18
                     text run at (0,19) width 51: "United "
-                    text run at (51,19) width 83: "Flight 1187 "
-                    text run at (133,19) width 124: "Booking Code:M "
-                    text run at (256,19) width 228: "Date: Sunday, January 12, 2003"
-                  LayoutBR {BR} at (483,34) size 1x0
+                    text run at (51,19) width 82: "Flight 1187 "
+                    text run at (133,19) width 123: "Booking Code:M "
+                    text run at (256,19) width 226: "Date: Sunday, January 12, 2003"
+                  LayoutBR {BR} at (482,34) size 0x0
                   LayoutText {#text} at (0,38) size 388x18
                     text run at (0,38) width 388: "From: San Francisco Intl Arpt, San Francisco CA - U.S."
                   LayoutBR {BR} at (388,53) size 0x0
-                  LayoutText {#text} at (0,57) size 404x18
-                    text run at (0,57) width 26: "To: "
-                    text run at (25,57) width 379: "Burbank Glendale Pasadena Arpt, Burbank CA - U.S."
-                  LayoutBR {BR} at (403,72) size 1x0
+                  LayoutText {#text} at (0,57) size 403x18
+                    text run at (0,57) width 25: "To: "
+                    text run at (25,57) width 378: "Burbank Glendale Pasadena Arpt, Burbank CA - U.S."
+                  LayoutBR {BR} at (403,72) size 0x0
                   LayoutText {#text} at (0,76) size 244x18
                     text run at (0,76) width 127: "Departs: 6:05 PM "
                     text run at (127,76) width 117: "Arrives: 7:10 PM"
@@ -263,19 +263,19 @@
                   LayoutText {#text} at (0,0) size 24x18
                     text run at (0,0) width 24: "Air "
                   LayoutBR {BR} at (0,0) size 0x0
-                  LayoutText {#text} at (0,19) size 465x18
+                  LayoutText {#text} at (0,19) size 464x18
                     text run at (0,19) width 51: "United "
                     text run at (51,19) width 75: "Flight 480 "
                     text run at (126,19) width 122: "Booking Code:Q "
-                    text run at (248,19) width 217: "Date: Friday, January 24, 2003"
-                  LayoutBR {BR} at (464,34) size 1x0
+                    text run at (248,19) width 216: "Date: Friday, January 24, 2003"
+                  LayoutBR {BR} at (464,34) size 0x0
                   LayoutText {#text} at (0,38) size 423x18
                     text run at (0,38) width 423: "From: Burbank Glendale Pasadena Arpt, Burbank CA - U.S."
                   LayoutBR {BR} at (423,53) size 0x0
-                  LayoutText {#text} at (0,57) size 369x18
-                    text run at (0,57) width 26: "To: "
-                    text run at (25,57) width 344: "San Francisco Intl Arpt, San Francisco CA - U.S."
-                  LayoutBR {BR} at (368,72) size 1x0
+                  LayoutText {#text} at (0,57) size 368x18
+                    text run at (0,57) width 25: "To: "
+                    text run at (25,57) width 343: "San Francisco Intl Arpt, San Francisco CA - U.S."
+                  LayoutBR {BR} at (368,72) size 0x0
                   LayoutText {#text} at (0,76) size 244x18
                     text run at (0,76) width 127: "Departs: 1:40 PM "
                     text run at (127,76) width 117: "Arrives: 2:50 PM"
@@ -345,9 +345,9 @@
               LayoutInline {SPAN} at (0,0) size 0x0
                 LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,822.19) size 784x120
-        LayoutTable {TABLE} at (0,0) size 629x120
-          LayoutTableSection {TBODY} at (0,0) size 629x120
-            LayoutTableRow {TR} at (0,2) size 629x116
+        LayoutTable {TABLE} at (0,0) size 628x120
+          LayoutTableSection {TBODY} at (0,0) size 628x120
+            LayoutTableRow {TR} at (0,2) size 628x116
               LayoutTableCell {TD} at (2,59) size 2x2 [r=0 c=0 rs=1 cs=1]
               LayoutTableCell {TD} at (6,2) size 2x2 [r=0 c=1 rs=1 cs=1]
               LayoutTableCell {TD} at (10,49) size 106x21 [r=0 c=2 rs=1 cs=1]
@@ -358,23 +358,23 @@
                       LayoutText {#text} at (16,0) size 88x18
                         text run at (16,0) width 88: "Air Segment"
                 LayoutText {#text} at (0,0) size 0x0
-              LayoutTableCell {TD} at (118,2) size 509x116 [r=0 c=3 rs=1 cs=1]
+              LayoutTableCell {TD} at (118,2) size 508x116 [r=0 c=3 rs=1 cs=1]
                 LayoutText {#text} at (1,1) size 24x18
                   text run at (1,1) width 24: "Air "
                 LayoutBR {BR} at (0,0) size 0x0
-                LayoutText {#text} at (1,20) size 507x18
+                LayoutText {#text} at (1,20) size 506x18
                   text run at (1,20) width 90: "UNKNOWN "
                   text run at (91,20) width 75: "Flight 123 "
                   text run at (166,20) width 121: "Booking Code:Y "
-                  text run at (287,20) width 221: "Date: Tuesday, March 25, 2003"
-                LayoutBR {BR} at (507,35) size 1x0
+                  text run at (287,20) width 220: "Date: Tuesday, March 25, 2003"
+                LayoutBR {BR} at (507,35) size 0x0
                 LayoutText {#text} at (1,39) size 388x18
                   text run at (1,39) width 388: "From: San Francisco Intl Arpt, San Francisco CA - U.S."
                 LayoutBR {BR} at (389,54) size 0x0
-                LayoutText {#text} at (1,58) size 369x18
-                  text run at (1,58) width 26: "To: "
-                  text run at (26,58) width 344: "San Francisco Intl Arpt, San Francisco CA - U.S."
-                LayoutBR {BR} at (369,73) size 1x0
+                LayoutText {#text} at (1,58) size 368x18
+                  text run at (1,58) width 25: "To: "
+                  text run at (26,58) width 343: "San Francisco Intl Arpt, San Francisco CA - U.S."
+                LayoutBR {BR} at (369,73) size 0x0
                 LayoutText {#text} at (1,77) size 170x18
                   text run at (1,77) width 90: "Departs: n/a "
                   text run at (91,77) width 80: "Arrives: n/a"
@@ -416,8 +416,8 @@
           LayoutInline {SPAN} at (0,0) size 196x16
             LayoutText {#text} at (0,36) size 196x16
               text run at (0,36) width 126: "SERVICE FEE MCO "
-              text run at (125,36) width 71: "8103220490"
-            LayoutBR {BR} at (195,49) size 1x0
+              text run at (126,36) width 70: "8103220490"
+            LayoutBR {BR} at (196,49) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,1016.16) size 784x2
       LayoutBlockFlow (anonymous) at (0,1024.81) size 784x21
@@ -435,10 +435,10 @@
             LayoutInline {B} at (0,0) size 112x19
               LayoutText {#text} at (82,0) size 112x19
                 text run at (82,0) width 112: "Web Bookings"
-            LayoutText {#text} at (193,0) size 5x19
-              text run at (193,0) width 5: " "
-            LayoutInline {SPAN} at (0,0) size 1x19
-              LayoutBR {BR} at (197,15) size 1x0
+            LayoutText {#text} at (194,0) size 4x19
+              text run at (194,0) width 4: " "
+            LayoutInline {SPAN} at (0,0) size 0x19
+              LayoutBR {BR} at (198,15) size 0x0
               LayoutInline {SPAN} at (0,0) size 0x0
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
@@ -514,28 +514,28 @@
 layer at (48,45) size 0x0
   LayoutInline (relative positioned) {SPAN} at (0,0) size 0x0
     LayoutText {#text} at (0,0) size 0x0
-layer at (23,101) size 587x35
-  LayoutInline (relative positioned) {SPAN} at (0,0) size 587x35
+layer at (23,101) size 586x35
+  LayoutInline (relative positioned) {SPAN} at (0,0) size 586x35
     LayoutText {#text} at (0,0) size 0x0
     LayoutBlockFlow {IMG} at (0,20) size 16x16
       LayoutInline {SPAN} at (0,0) size 0x0
         LayoutImage (floating) {IMG} at (0,0) size 16x16
         LayoutInline {SPAN} at (0,0) size 0x0
-    LayoutText {#text} at (16,23) size 571x16
+    LayoutText {#text} at (16,23) size 570x16
       text run at (16,23) width 4: " "
       text run at (20,23) width 56: "Address: "
-      text run at (76,23) width 511: "ST. JUDE MEDICAL, 21700 OXNARD ST SUITE 800, WOODLAND HILLS CA Z/91367 "
-    LayoutBR {BR} at (586,36) size 1x0
+      text run at (76,23) width 510: "ST. JUDE MEDICAL, 21700 OXNARD ST SUITE 800, WOODLAND HILLS CA Z/91367 "
+    LayoutBR {BR} at (586,36) size 0x0
     LayoutBlockFlow {IMG} at (0,39) size 16x16
       LayoutInline {SPAN} at (0,0) size 0x0
         LayoutImage (floating) {IMG} at (0,0) size 16x16
         LayoutInline {SPAN} at (0,0) size 0x0
-    LayoutText {#text} at (16,42) size 406x16
+    LayoutText {#text} at (16,42) size 407x16
       text run at (16,42) width 4: " "
       text run at (20,42) width 48: "Deliver: "
-      text run at (68,42) width 103: "DEBI STANGEL, "
-      text run at (171,42) width 115: "119 GLEN COURT, "
-      text run at (285,42) width 137: "DANVILLE CA Z/94526"
+      text run at (68,42) width 104: "DEBI STANGEL, "
+      text run at (172,42) width 115: "119 GLEN COURT, "
+      text run at (287,42) width 136: "DANVILLE CA Z/94526"
 layer at (23,174) size 16x16
   LayoutInline (relative positioned) {SPAN} at (0,0) size 16x16
     LayoutText {#text} at (0,0) size 0x0
@@ -546,33 +546,33 @@
     LayoutText {#text} at (0,0) size 0x0
 layer at (23,211) size 784x62 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
   LayoutBlockFlow (anonymous) (relative positioned) at (0,202.94) size 784x62
-layer at (43,196) size 528x62
-  LayoutTable (relative positioned) {TABLE} at (0,0) size 528x62 [border: (1px outset #808080)]
-    LayoutTableSection {TBODY} at (1,1) size 526x60
-      LayoutTableRow {TR} at (0,2) size 526x23 [bgcolor=#E0E0E0]
+layer at (43,196) size 527x62
+  LayoutTable (relative positioned) {TABLE} at (0,0) size 527x62 [border: (1px outset #808080)]
+    LayoutTableSection {TBODY} at (1,1) size 525x60
+      LayoutTableRow {TR} at (0,2) size 525x23 [bgcolor=#E0E0E0]
         LayoutTableCell {TD} at (2,2) size 95x23 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 36x18
             text run at (2,2) width 36: "Type"
         LayoutTableCell {TD} at (99,2) size 45x23 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 28x18
             text run at (2,2) width 28: "City"
-        LayoutTableCell {TD} at (146,2) size 378x23 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
+        LayoutTableCell {TD} at (146,2) size 377x23 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 47x18
             text run at (2,2) width 47: "Phone"
-      LayoutTableRow {TR} at (0,27) size 526x0
-      LayoutTableRow {TR} at (0,29) size 526x23
+      LayoutTableRow {TR} at (0,27) size 525x0
+      LayoutTableRow {TR} at (0,29) size 525x23
         LayoutTableCell {TD} at (2,29) size 95x23 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 91x18
             text run at (2,2) width 91: "Travel Agent"
         LayoutTableCell {TD} at (99,29) size 45x23 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 41x18
             text run at (2,2) width 41: "(LAX)"
-        LayoutTableCell {TD} at (146,29) size 378x23 [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
-          LayoutText {#text} at (2,2) size 374x18
-            text run at (2,2) width 374: "RQ0/818 990-4053-PLAZA TRAVEL - 05838276-RC"
-      LayoutTableRow {TR} at (0,54) size 526x0
-      LayoutTableRow {TR} at (0,56) size 526x0
-      LayoutTableRow {TR} at (0,58) size 526x0
+        LayoutTableCell {TD} at (146,29) size 377x23 [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
+          LayoutText {#text} at (2,2) size 373x18
+            text run at (2,2) width 373: "RQ0/818 990-4053-PLAZA TRAVEL - 05838276-RC"
+      LayoutTableRow {TR} at (0,54) size 525x0
+      LayoutTableRow {TR} at (0,56) size 525x0
+      LayoutTableRow {TR} at (0,58) size 525x0
 layer at (23,273) size 0x0
   LayoutInline (relative positioned) {SPAN} at (0,0) size 0x0
 layer at (33,1069) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/xmacroman-encoding-test-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/xmacroman-encoding-test-expected.txt
index fd22955..91b0c30 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/xmacroman-encoding-test-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/xmacroman-encoding-test-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 762x19
+        LayoutText {#text} at (0,0) size 761x19
           text run at (0,0) width 308: "This tests the use of xmacroman as content type. "
-          text run at (308,0) width 454: "You should not see any \"garbage\" characters if xmacroman is supported"
+          text run at (308,0) width 453: "You should not see any \"garbage\" characters if xmacroman is supported"
       LayoutBlockFlow (anonymous) at (0,36) size 784x60
         LayoutText {#text} at (0,0) size 82x19
           text run at (0,0) width 82: "apostrophe: \x{2019}"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/events/nested-window-event-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/events/nested-window-event-expected.txt
deleted file mode 100644
index d043b2b..0000000
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/events/nested-window-event-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-This tests window.event was kept the same when nested event handling was called. You should see 'PASS' if the test passes.
-PASS
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/events/pointer-events-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/events/pointer-events-2-expected.png
index 961a570..13205f9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/events/pointer-events-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/events/pointer-events-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/events/pointer-events-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/events/pointer-events-2-expected.txt
index 0c72bf2..48bd68a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/events/pointer-events-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/events/pointer-events-2-expected.txt
@@ -7,14 +7,14 @@
         LayoutText {#text} at (0,0) size 755x36
           text run at (0,0) width 755: "Testing the values of 'pointer-events' on HTML content"
       LayoutBlockFlow {P} at (0,58.44) size 784x80
-        LayoutText {#text} at (0,0) size 778x79
-          text run at (0,0) width 578: "This test is expected to be run from within DumpRenderTree. If running manually, click on "
-          text run at (577,0) width 201: "the elements in the first column,"
+        LayoutText {#text} at (0,0) size 777x79
+          text run at (0,0) width 577: "This test is expected to be run from within DumpRenderTree. If running manually, click on "
+          text run at (577,0) width 200: "the elements in the first column,"
           text run at (0,20) width 324: "making sure the actual result (3rd column) matches "
           text run at (324,20) width 442: "the expected result (2nd column). Repeat for click target (4th column),"
           text run at (0,40) width 183: "expected result (5th column) "
-          text run at (183,40) width 528: "and actual result (6th column). Note: You should click on a yellow inline element if "
-          text run at (710,40) width 67: "one exists,"
+          text run at (183,40) width 527: "and actual result (6th column). Note: You should click on a yellow inline element if "
+          text run at (710,40) width 66: "one exists,"
           text run at (0,60) width 198: "otherwise anywhere in the box."
 layer at (10,140) size 300x100
   LayoutBlockFlow (positioned) {DIV} at (10,140) size 300x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/001-expected.png
index ad9cc798..bee67bb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/001-expected.txt
index fb6531c..34de3dc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/001-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {H1} at (0,0) size 784x37
-        LayoutText {#text} at (0,0) size 231x36
-          text run at (0,0) width 231: "Min-Width Tests"
+        LayoutText {#text} at (0,0) size 232x36
+          text run at (0,0) width 232: "Min-Width Tests"
       LayoutTable {TABLE} at (0,58.44) size 784x86 [border: (2px outset #808080)]
         LayoutTableSection {TBODY} at (2,2) size 780x82
           LayoutTableRow {TR} at (0,0) size 780x82
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/006-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/006-expected.png
index 64e04e9..f2d469b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/006-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/006-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/006-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/006-expected.txt
index ca8543a..bab460e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/006-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/006-expected.txt
@@ -5,9 +5,9 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 784x75.59 [border: (5px solid #000000)]
         LayoutFieldset {FIELDSET} at (7,5) size 770x65.59 [border: (10px groove #FF0000)]
-          LayoutBlockFlow {LEGEND} at (42,0) size 121.89x20
-            LayoutText {#text} at (2,0) size 118x19
-              text run at (2,0) width 118: "Test without forms"
+          LayoutBlockFlow {LEGEND} at (42,0) size 121x20
+            LayoutText {#text} at (2,0) size 117x19
+              text run at (2,0) width 117: "Test without forms"
           LayoutBlockFlow {DIV} at (22,25.59) size 726x20
             LayoutText {#text} at (0,0) size 276x19
               text run at (0,0) width 276: "A DIV inside a fieldset, not related to forms"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/007-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/007-expected.png
index d0fe1ef..f188c0e5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/007-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/007-expected.txt
index f9fe6a9..e508fdfe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/007-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/007-expected.txt
@@ -15,11 +15,11 @@
             text run at (0,20) width 80: "Hello world."
       LayoutText {#text} at (119,45) size 4x20
         text run at (119,45) width 4: " "
-      LayoutFieldset {FIELDSET} at (125,20) size 116.89x57.59 [border: (2px groove #C0C0C0)]
-        LayoutBlockFlow {LEGEND} at (14,0) size 88.89x20
-          LayoutText {#text} at (2,0) size 85x19
-            text run at (2,0) width 85: "Number Two"
-        LayoutBlockFlow (anonymous) at (14,25.59) size 88.89x20
+      LayoutFieldset {FIELDSET} at (125,20) size 116x57.59 [border: (2px groove #C0C0C0)]
+        LayoutBlockFlow {LEGEND} at (14,0) size 88x20
+          LayoutText {#text} at (2,0) size 84x19
+            text run at (2,0) width 84: "Number Two"
+        LayoutBlockFlow (anonymous) at (14,25.59) size 88x20
           LayoutText {#text} at (0,0) size 80x19
             text run at (0,0) width 80: "Hello world."
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/basic-buttons-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/basic-buttons-expected.png
index 727a7925..f53e406 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/basic-buttons-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/basic-buttons-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/basic-buttons-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/basic-buttons-expected.txt
index c9a0edc..a2429e6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/basic-buttons-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/basic-buttons-expected.txt
@@ -4,15 +4,15 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x355
     LayoutBlockFlow {BODY} at (8,8) size 784x339
       LayoutBlockFlow (anonymous) at (0,0) size 784x80
-        LayoutText {#text} at (0,0) size 537x19
-          text run at (0,0) width 537: "Tests for basic button rendering. Creates a table with seven columns and seven rows. "
-        LayoutBR {BR} at (536,0) size 1x19
+        LayoutText {#text} at (0,0) size 536x19
+          text run at (0,0) width 536: "Tests for basic button rendering. Creates a table with seven columns and seven rows. "
+        LayoutBR {BR} at (536,0) size 0x19
         LayoutText {#text} at (0,20) size 511x19
           text run at (0,20) width 511: "Creates two different types of buttons, one with an image (a red dot) and another "
-        LayoutBR {BR} at (510,20) size 1x19
-        LayoutText {#text} at (0,40) size 648x19
-          text run at (0,40) width 648: "with text (\"foo\") and then uses six different paddings to make sure each of the buttons render properly. "
-        LayoutBR {BR} at (647,40) size 1x19
+        LayoutBR {BR} at (511,20) size 0x19
+        LayoutText {#text} at (0,40) size 647x19
+          text run at (0,40) width 647: "with text (\"foo\") and then uses six different paddings to make sure each of the buttons render properly. "
+        LayoutBR {BR} at (647,40) size 0x19
         LayoutBR {BR} at (0,60) size 0x19
       LayoutTable {TABLE} at (0,80) size 684x259
         LayoutTableSection {TBODY} at (0,0) size 684x259
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-sizes-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-sizes-expected.png
index 5c59ddda..df718d8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-sizes-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-sizes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-sizes-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-sizes-expected.txt
index 13e2abb5..b794201 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-sizes-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-sizes-expected.txt
@@ -3,110 +3,110 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutButton {BUTTON} at (0,8) size 40.45x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 24.45x6
+      LayoutButton {BUTTON} at (0,8) size 41x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 25x6
           LayoutText {#text} at (0,0) size 25x6
             text run at (0,0) width 25: "Test Button"
-      LayoutText {#text} at (40,1) size 5x19
-        text run at (40,1) width 5: " "
-      LayoutButton {BUTTON} at (44.45,8) size 46.34x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 30.34x6
+      LayoutText {#text} at (41,1) size 4x19
+        text run at (41,1) width 4: " "
+      LayoutButton {BUTTON} at (45,8) size 47x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 31x6
           LayoutText {#text} at (0,0) size 31x6
             text run at (0,0) width 31: "Test Button"
-      LayoutText {#text} at (90,1) size 5x19
-        text run at (90,1) width 5: " "
-      LayoutButton {BUTTON} at (94.80,7) size 52.23x13 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 36.23x7
+      LayoutText {#text} at (92,1) size 4x19
+        text run at (92,1) width 4: " "
+      LayoutButton {BUTTON} at (96,7) size 53x13 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 37x7
           LayoutText {#text} at (0,0) size 37x7
             text run at (0,0) width 37: "Test Button"
-      LayoutText {#text} at (147,1) size 5x19
-        text run at (147,1) width 5: " "
-      LayoutButton {BUTTON} at (151.03,5) size 53.13x16 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 37.13x10
+      LayoutText {#text} at (149,1) size 4x19
+        text run at (149,1) width 4: " "
+      LayoutButton {BUTTON} at (153,5) size 54x16 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 38x10
           LayoutText {#text} at (0,0) size 38x10
             text run at (0,0) width 38: "Test Button"
-      LayoutText {#text} at (204,1) size 5x19
-        text run at (204,1) width 5: " "
-      LayoutButton {BUTTON} at (208.16,4) size 64.02x18 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 48.02x12
-          LayoutText {#text} at (0,0) size 48x12
-            text run at (0,0) width 48: "Test Button"
-      LayoutText {#text} at (272,1) size 5x19
-        text run at (272,1) width 5: " "
-      LayoutButton {BUTTON} at (276.17,3) size 68.91x19 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 52.91x13
-          LayoutText {#text} at (0,0) size 53x13
-            text run at (0,0) width 53: "Test Button"
-      LayoutText {#text} at (345,1) size 5x19
-        text run at (345,1) width 5: " "
-      LayoutButton {BUTTON} at (349.08,2) size 70.78x20 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 54.78x14
-          LayoutText {#text} at (0,0) size 55x14
-            text run at (0,0) width 55: "Test Button"
-      LayoutText {#text} at (419,1) size 5x19
-        text run at (419,1) width 5: " "
-      LayoutButton {INPUT} at (423.86,0) size 82.53x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 66.53x16
-          LayoutText {#text} at (0,0) size 67x16
-            text run at (0,0) width 67: "Test Button"
-      LayoutText {#text} at (506,1) size 5x19
-        text run at (506,1) width 5: " "
-      LayoutButton {BUTTON} at (510.39,1) size 75.67x21 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 59.67x15
-          LayoutText {#text} at (0,0) size 60x15
-            text run at (0,0) width 60: "Test Button"
-      LayoutText {#text} at (586,1) size 5x19
-        text run at (586,1) width 5: " "
-      LayoutButton {BUTTON} at (590.06,0) size 82.56x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 66.56x16
-          LayoutText {#text} at (0,0) size 67x16
-            text run at (0,0) width 67: "Test Button"
-      LayoutText {#text} at (672,1) size 5x19
-        text run at (672,1) width 5: " "
-      LayoutButton {BUTTON} at (676.63,0) size 87.45x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 71.45x16
-          LayoutText {#text} at (0,0) size 72x16
-            text run at (0,0) width 72: "Test Button"
-      LayoutText {#text} at (764,1) size 5x19
-        text run at (764,1) width 5: " "
-      LayoutButton {BUTTON} at (0,27) size 89.34x23 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 73.34x17
-          LayoutText {#text} at (0,0) size 74x17
-            text run at (0,0) width 74: "Test Button"
-      LayoutText {#text} at (89,29) size 5x19
-        text run at (89,29) width 5: " "
-      LayoutButton {BUTTON} at (93.34,26) size 95.23x25 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 79.23x19
-          LayoutText {#text} at (0,0) size 80x18
-            text run at (0,0) width 80: "Test Button"
-      LayoutText {#text} at (188,29) size 5x19
-        text run at (188,29) width 5: " "
-      LayoutButton {BUTTON} at (192.58,26) size 100.13x26 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 84.13x20
-          LayoutText {#text} at (0,0) size 85x19
-            text run at (0,0) width 85: "Test Button"
-      LayoutText {#text} at (292,29) size 5x19
-        text run at (292,29) width 5: " "
-      LayoutButton {BUTTON} at (296.70,24) size 106.02x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 90.02x22
+      LayoutText {#text} at (207,1) size 4x19
+        text run at (207,1) width 4: " "
+      LayoutButton {BUTTON} at (211,4) size 65x18 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 49x12
+          LayoutText {#text} at (0,0) size 49x12
+            text run at (0,0) width 49: "Test Button"
+      LayoutText {#text} at (276,1) size 4x19
+        text run at (276,1) width 4: " "
+      LayoutButton {BUTTON} at (280,3) size 68x19 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 52x13
+          LayoutText {#text} at (0,0) size 52x13
+            text run at (0,0) width 52: "Test Button"
+      LayoutText {#text} at (348,1) size 4x19
+        text run at (348,1) width 4: " "
+      LayoutButton {BUTTON} at (352,2) size 70x20 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 54x14
+          LayoutText {#text} at (0,0) size 54x14
+            text run at (0,0) width 54: "Test Button"
+      LayoutText {#text} at (422,1) size 4x19
+        text run at (422,1) width 4: " "
+      LayoutButton {INPUT} at (426,0) size 82x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 66x16
+          LayoutText {#text} at (0,0) size 66x16
+            text run at (0,0) width 66: "Test Button"
+      LayoutText {#text} at (508,1) size 4x19
+        text run at (508,1) width 4: " "
+      LayoutButton {BUTTON} at (512,1) size 75x21 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 59x15
+          LayoutText {#text} at (0,0) size 59x15
+            text run at (0,0) width 59: "Test Button"
+      LayoutText {#text} at (587,1) size 4x19
+        text run at (587,1) width 4: " "
+      LayoutButton {BUTTON} at (591,0) size 82x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 66x16
+          LayoutText {#text} at (0,0) size 66x16
+            text run at (0,0) width 66: "Test Button"
+      LayoutText {#text} at (673,1) size 4x19
+        text run at (673,1) width 4: " "
+      LayoutButton {BUTTON} at (677,0) size 87x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 71x16
+          LayoutText {#text} at (0,0) size 71x16
+            text run at (0,0) width 71: "Test Button"
+      LayoutText {#text} at (764,1) size 4x19
+        text run at (764,1) width 4: " "
+      LayoutButton {BUTTON} at (0,27) size 89x23 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 73x17
+          LayoutText {#text} at (0,0) size 73x17
+            text run at (0,0) width 73: "Test Button"
+      LayoutText {#text} at (89,29) size 4x19
+        text run at (89,29) width 4: " "
+      LayoutButton {BUTTON} at (93,26) size 95x25 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 79x19
+          LayoutText {#text} at (0,0) size 79x18
+            text run at (0,0) width 79: "Test Button"
+      LayoutText {#text} at (188,29) size 4x19
+        text run at (188,29) width 4: " "
+      LayoutButton {BUTTON} at (192,26) size 100x26 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 84x20
+          LayoutText {#text} at (0,0) size 84x19
+            text run at (0,0) width 84: "Test Button"
+      LayoutText {#text} at (292,29) size 4x19
+        text run at (292,29) width 4: " "
+      LayoutButton {BUTTON} at (296,24) size 106x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 90x22
           LayoutText {#text} at (0,0) size 90x21
             text run at (0,0) width 90: "Test Button"
-      LayoutText {#text} at (402,29) size 5x19
-        text run at (402,29) width 5: " "
-      LayoutButton {BUTTON} at (406.72,23) size 112.91x29 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 96.91x23
+      LayoutText {#text} at (402,29) size 4x19
+        text run at (402,29) width 4: " "
+      LayoutButton {BUTTON} at (406,23) size 113x29 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 97x23
           LayoutText {#text} at (0,0) size 97x22
             text run at (0,0) width 97: "Test Button"
-      LayoutText {#text} at (519,29) size 5x19
-        text run at (519,29) width 5: " "
-      LayoutButton {BUTTON} at (523.63,22) size 116.80x30 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 100.80x24
+      LayoutText {#text} at (519,29) size 4x19
+        text run at (519,29) width 4: " "
+      LayoutButton {BUTTON} at (523,22) size 117x30 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 101x24
           LayoutText {#text} at (0,0) size 101x23
             text run at (0,0) width 101: "Test Button"
-      LayoutText {#text} at (640,29) size 5x19
-        text run at (640,29) width 5: " "
-      LayoutButton {BUTTON} at (644.42,22) size 123.69x31 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 107.69x25
+      LayoutText {#text} at (640,29) size 4x19
+        text run at (640,29) width 4: " "
+      LayoutButton {BUTTON} at (644,22) size 124x31 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 108x25
           LayoutText {#text} at (0,0) size 108x24
             text run at (0,0) width 108: "Test Button"
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-style-color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-style-color-expected.png
index 8d715d6..7ee0d35 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-style-color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-style-color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-style-color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-style-color-expected.txt
deleted file mode 100644
index cb77ab06..0000000
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-style-color-expected.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutButton {BUTTON} at (0,0) size 82.53x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 66.53x16
-          LayoutText {#text} at (0,0) size 67x16
-            text run at (0,0) width 67: "Test Button"
-      LayoutText {#text} at (82,1) size 5x19
-        text run at (82,1) width 5: " "
-      LayoutButton {BUTTON} at (86.53,0) size 82.53x22 [color=#FF0000] [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 66.53x16
-          LayoutText {#text} at (0,0) size 67x16
-            text run at (0,0) width 67: "Test Button"
-      LayoutText {#text} at (169,1) size 5x19
-        text run at (169,1) width 5: " "
-      LayoutButton {BUTTON} at (173.06,0) size 82.53x22 [bgcolor=#008000] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 66.53x16
-          LayoutText {#text} at (0,0) size 67x16
-            text run at (0,0) width 67: "Test Button"
-      LayoutText {#text} at (255,1) size 5x19
-        text run at (255,1) width 5: " "
-      LayoutButton {BUTTON} at (259.59,0) size 82.53x22 [color=#FF0000] [bgcolor=#008000] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 66.53x16
-          LayoutText {#text} at (0,0) size 67x16
-            text run at (0,0) width 67: "Test Button"
-      LayoutText {#text} at (342,1) size 5x19
-        text run at (342,1) width 5: " "
-      LayoutButton {INPUT} at (346.13,0) size 82.53x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 66.53x16
-          LayoutText {#text} at (0,0) size 67x16
-            text run at (0,0) width 67: "Test Button"
-      LayoutText {#text} at (428,1) size 5x19
-        text run at (428,1) width 5: " "
-      LayoutButton {INPUT} at (432.66,0) size 82.53x22 [color=#FF0000] [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 66.53x16
-          LayoutText {#text} at (0,0) size 67x16
-            text run at (0,0) width 67: "Test Button"
-      LayoutText {#text} at (515,1) size 5x19
-        text run at (515,1) width 5: " "
-      LayoutButton {INPUT} at (519.19,0) size 82.53x22 [bgcolor=#008000] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 66.53x16
-          LayoutText {#text} at (0,0) size 67x16
-            text run at (0,0) width 67: "Test Button"
-      LayoutText {#text} at (601,1) size 5x19
-        text run at (601,1) width 5: " "
-      LayoutButton {INPUT} at (605.72,0) size 82.53x22 [color=#FF0000] [bgcolor=#008000] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 66.53x16
-          LayoutText {#text} at (0,0) size 67x16
-            text run at (0,0) width 67: "Test Button"
-      LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-text-transform-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-text-transform-expected.png
index 9f69ba0..ba73437b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-text-transform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-text-transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-text-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-text-transform-expected.txt
index 69025b18..952633e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-text-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button-text-transform-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 744x39
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=15181"
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=15181"
           LayoutText {#text} at (352,0) size 744x39
-            text run at (352,0) width 5: " "
+            text run at (352,0) width 4: " "
             text run at (356,0) width 388: "text-transform: uppercase not working in input (submit, reset,"
             text run at (0,20) width 104: "button) elements"
         LayoutText {#text} at (104,20) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-inner-block-reuse-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-inner-block-reuse-expected.png
index 63c822c..18dabfa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-inner-block-reuse-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-inner-block-reuse-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-inner-block-reuse-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-inner-block-reuse-expected.txt
index c2c0577..3b2ac1f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-inner-block-reuse-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-inner-block-reuse-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 207x19
           text run at (0,0) width 207: "This tests for regressions against "
-        LayoutInline {I} at (0,0) size 783x39
+        LayoutInline {I} at (0,0) size 784x39
           LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
             LayoutText {#text} at (207,0) size 348x19
               text run at (207,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8420"
-          LayoutText {#text} at (554,0) size 783x39
-            text run at (554,0) width 5: " "
-            text run at (558,0) width 225: "iExploder(#12): Assertion failure in"
+          LayoutText {#text} at (555,0) size 784x39
+            text run at (555,0) width 4: " "
+            text run at (559,0) width 225: "iExploder(#12): Assertion failure in"
             text run at (0,20) width 236: "RenderContainer::removeChildNode"
-        LayoutText {#text} at (235,20) size 5x19
-          text run at (235,20) width 5: "."
+        LayoutText {#text} at (236,20) size 4x19
+          text run at (236,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x40
         LayoutText {#text} at (0,0) size 703x39
           text run at (0,0) width 559: "In the render tree, the button should have only one child, an anonymous block wrapping "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-white-space-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-white-space-expected.txt
index 0d75e9b..216e0a62 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-white-space-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-white-space-expected.txt
@@ -23,8 +23,8 @@
                     text run at (0,0) width 69: "Search Mail"
               LayoutText {#text} at (86,2) size 4x19
                 text run at (86,2) width 4: " "
-              LayoutButton {BUTTON} at (90,1) size 108.77x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-                LayoutBlockFlow (anonymous) at (8,3) size 92.77x16
+              LayoutButton {BUTTON} at (90,1) size 109x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+                LayoutBlockFlow (anonymous) at (8,3) size 93x16
                   LayoutText {#text} at (0,0) size 93x16
                     text run at (0,0) width 93: "Search the Web"
               LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-coarse-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-coarse-expected.png
index 4a62cb7..ceb7e685 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-coarse-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-coarse-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-expected.png
index 502a3d8..70026aa4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-minimum-date-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-minimum-date-expected.png
index 9ea3e94..c05cfd6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-minimum-date-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-minimum-date-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-required-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-required-expected.png
index c09c56c..f0f28be 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-required-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-required-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-ru-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-ru-expected.png
index 22639eb1..5de8c40 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-ru-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-ru-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png
index cc3a321..e30ffed 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-zoom125-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-zoom125-expected.png
index 7dd3896..ac0610a7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-zoom125-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-zoom125-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-zoom200-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-zoom200-expected.png
index 1ed08e0..ad93367 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-zoom200-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/calendar-picker-appearance-zoom200-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/month-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/month-picker-appearance-expected.png
index d9643ac..2882171 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/month-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/month-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/month-picker-appearance-step-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/month-picker-appearance-step-expected.png
index 412b3ff..de13576 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/month-picker-appearance-step-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/month-picker-appearance-step-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/week-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/week-picker-appearance-expected.png
index 79ddbbccf..98083e8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/week-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/week-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/week-picker-appearance-step-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/week-picker-appearance-step-expected.png
index 946e3beb..3a3f082 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/week-picker-appearance-step-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/calendar-picker/week-picker-appearance-step-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/caret-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/caret-rtl-expected.png
index ba2452e..4b8734a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/caret-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/caret-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/caret-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/caret-rtl-expected.txt
index 0b0b2ea7..fa328d1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/caret-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/caret-rtl-expected.txt
@@ -9,7 +9,7 @@
           text run at (0,0) width 570: "This tests that clicking in a contenteditable div will set the caret in the right edge of the div "
         LayoutBR {BR} at (570,15) size 0x0
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 399x19
-          text run at (0,0) width 399: "Click in the div, the caret should be on the right edge of the div."
+        LayoutText {#text} at (0,0) size 397x19
+          text run at (0,0) width 397: "Click in the div, the caret should be on the right edge of the div."
       LayoutBlockFlow {DIV} at (0,72) size 200x368
 caret: position 0 of child 5 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/color/input-appearance-color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/color/input-appearance-color-expected.txt
index b441c933..91473a25 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/color/input-appearance-color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/color/input-appearance-color-expected.txt
@@ -9,7 +9,7 @@
       LayoutBlockFlow (anonymous) at (0,41.72) size 784x43
         LayoutText {#text} at (0,0) size 284x19
           text run at (0,0) width 284: "List color controls have different appearance."
-        LayoutBR {BR} at (283,15) size 1x0
+        LayoutBR {BR} at (284,15) size 0x0
         LayoutBlockFlow {INPUT} at (0,20) size 44x23 [bgcolor=#DDDDDD] [border: (1px solid #A9A9A9)]
           LayoutFlexibleBox {DIV} at (3,2) size 38x19
             LayoutBlockFlow {DIV} at (2,4) size 34x11 [bgcolor=#000000] [border: (1px solid #777777)]
@@ -23,7 +23,7 @@
       LayoutBlockFlow (anonymous) at (0,145.16) size 784x43
         LayoutText {#text} at (0,0) size 577x19
           text run at (0,0) width 577: "List color controls have different sizes depending on font sizes. Normal color controls don't."
-        LayoutBR {BR} at (576,15) size 1x0
+        LayoutBR {BR} at (577,15) size 0x0
         LayoutBlockFlow {INPUT} at (0,20) size 44x23 [bgcolor=#DDDDDD] [border: (1px solid #A9A9A9)]
           LayoutFlexibleBox {DIV} at (3,2) size 38x19
             LayoutBlockFlow {DIV} at (2,4) size 34x11 [bgcolor=#00FF00] [border: (1px solid #777777)]
@@ -54,8 +54,8 @@
             LayoutBlockFlow {DIV} at (8,4) size 50x11 [bgcolor=#00FF00] [border: (1px solid #000000)]
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {H3} at (0,206.88) size 784x23
-        LayoutText {#text} at (0,0) size 123x22
-          text run at (0,0) width 123: "Various Colors"
+        LayoutText {#text} at (0,0) size 122x22
+          text run at (0,0) width 122: "Various Colors"
       LayoutBlockFlow (anonymous) at (0,248.59) size 784x23
         LayoutBlockFlow {INPUT} at (0,0) size 44x23 [bgcolor=#DDDDDD] [border: (1px solid #A9A9A9)]
           LayoutFlexibleBox {DIV} at (3,2) size 38x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-expected.png
index aa3191e0..7facde7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-expected.txt
index 4e0c6b6..3bde7ab1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 228x19
-          text run at (0,0) width 228: "Tests that buttons clip their contents."
+        LayoutText {#text} at (0,0) size 227x19
+          text run at (0,0) width 227: "Tests that buttons clip their contents."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 763x19
           text run at (0,0) width 481: "Each button below should have a yellow border and a black dashed outline. "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-overflow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-overflow-expected.png
index cbea2d8..dea78550 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-overflow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-overflow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-overflow-expected.txt
index d879adfe..116cb37a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/control-clip-overflow-expected.txt
@@ -4,18 +4,18 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x572
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 763x39
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=17033"
-          LayoutText {#text} at (352,0) size 763x39
-            text run at (352,0) width 5: " "
-            text run at (356,0) width 407: "REGRESSION: Really long <option> causes unnecessary page"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 762x39
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=17033"
+          LayoutText {#text} at (352,0) size 762x39
+            text run at (352,0) width 4: " "
+            text run at (356,0) width 406: "REGRESSION: Really long <option> causes unnecessary page"
             text run at (0,20) width 226: "scroll bars to accommodate content"
-        LayoutText {#text} at (225,20) size 5x19
-          text run at (225,20) width 5: "."
+        LayoutText {#text} at (226,20) size 4x19
+          text run at (226,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 749x19
           text run at (0,0) width 312: "There should not be scroll bars below the popup. "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/datalist/input-appearance-range-with-padding-with-datalist-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/datalist/input-appearance-range-with-padding-with-datalist-expected.png
index 58350fe4..6f7fb95 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/datalist/input-appearance-range-with-padding-with-datalist-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/datalist/input-appearance-range-with-padding-with-datalist-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/date/date-appearance-basic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/date/date-appearance-basic-expected.png
index 8ccb4a0..5f2db20 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/date/date-appearance-basic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/date/date-appearance-basic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/datetimelocal/datetimelocal-appearance-basic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/datetimelocal/datetimelocal-appearance-basic-expected.png
index 0a01d473..7231002f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/datetimelocal/datetimelocal-appearance-basic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/datetimelocal/datetimelocal-appearance-basic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/fieldset/fieldset-align-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/fieldset/fieldset-align-expected.png
index 35e1cfc..4068165cd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/fieldset/fieldset-align-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/fieldset/fieldset-align-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/fieldset/fieldset-align-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/fieldset/fieldset-align-expected.txt
index d1bb674..3be958f4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/fieldset/fieldset-align-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/fieldset/fieldset-align-expected.txt
@@ -104,8 +104,8 @@
           LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,1010.75) size 769x20
-        LayoutText {#text} at (0,0) size 308x19
-          text run at (0,0) width 308: "Legend align test with margin and padding, RTL"
+        LayoutText {#text} at (0,0) size 309x19
+          text run at (0,0) width 309: "Legend align test with margin and padding, RTL"
       LayoutBlockFlow (anonymous) at (0,1046.75) size 769x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/floating-textfield-relayout-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/floating-textfield-relayout-expected.png
index 9b4779df..236d339 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/floating-textfield-relayout-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/floating-textfield-relayout-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/floating-textfield-relayout-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/floating-textfield-relayout-expected.txt
index 44db997..d8925507 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/floating-textfield-relayout-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/floating-textfield-relayout-expected.txt
@@ -10,12 +10,12 @@
           LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
             LayoutText {#text} at (104,0) size 348x19
               text run at (104,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9316"
-          LayoutText {#text} at (451,0) size 750x39
-            text run at (451,0) width 5: " "
-            text run at (455,0) width 295: "REGRESSION: text field width shrinks on first"
+          LayoutText {#text} at (452,0) size 750x39
+            text run at (452,0) width 4: " "
+            text run at (456,0) width 294: "REGRESSION: text field width shrinks on first"
             text run at (0,20) width 59: "keystroke"
-        LayoutText {#text} at (58,20) size 5x19
-          text run at (58,20) width 5: "."
+        LayoutText {#text} at (59,20) size 4x19
+          text run at (59,20) width 4: "."
 layer at (8,64) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,74) size 784x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/form-element-geometry-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/form-element-geometry-expected.png
index db67dc8..8e6c3ab 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/form-element-geometry-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/form-element-geometry-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/formmove-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/formmove-expected.png
index 20b06186..4b09eaf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/formmove-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/formmove-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/formmove-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/formmove-expected.txt
index 3e666557..676e335 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/formmove-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/formmove-expected.txt
@@ -5,24 +5,24 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {FORM} at (0,0) size 784x21
         LayoutBlockFlow {INPUT} at (5,3) size 13x13
-        LayoutText {#text} at (21,1) size 33x19
-          text run at (21,1) width 33: "Two "
-        LayoutBlockFlow {INPUT} at (58.88,3) size 13x13
-        LayoutText {#text} at (74,1) size 38x19
-          text run at (74,1) width 38: "Three"
+        LayoutText {#text} at (21,1) size 32x19
+          text run at (21,1) width 32: "Two "
+        LayoutBlockFlow {INPUT} at (58,3) size 13x13
+        LayoutText {#text} at (74,1) size 37x19
+          text run at (74,1) width 37: "Three"
       LayoutBlockFlow {FORM} at (0,37) size 784x21
         LayoutBlockFlow {INPUT} at (5,3) size 13x13
         LayoutText {#text} at (21,1) size 31x19
           text run at (21,1) width 31: "One "
         LayoutBlockFlow {INPUT} at (57,3) size 13x13
-        LayoutText {#text} at (73,1) size 33x19
-          text run at (73,1) width 33: "Two "
-        LayoutBlockFlow {INPUT} at (110.88,3) size 13x13
-        LayoutText {#text} at (126,1) size 42x19
-          text run at (126,1) width 42: "Three "
-        LayoutBlockFlow {INPUT} at (172.88,3) size 13x13
-        LayoutText {#text} at (188,1) size 28x19
-          text run at (188,1) width 28: "One"
+        LayoutText {#text} at (73,1) size 32x19
+          text run at (73,1) width 32: "Two "
+        LayoutBlockFlow {INPUT} at (110,3) size 13x13
+        LayoutText {#text} at (126,1) size 41x19
+          text run at (126,1) width 41: "Three "
+        LayoutBlockFlow {INPUT} at (172,3) size 13x13
+        LayoutText {#text} at (188,1) size 27x19
+          text run at (188,1) width 27: "One"
       LayoutBlockFlow (anonymous) at (0,74) size 784x40
         LayoutText {#text} at (0,0) size 766x39
           text run at (0,0) width 505: "The count of the # of elements in form 1 should be 2 and in form 2 should be 4. "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/huge-mac-input-clamped-height-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/huge-mac-input-clamped-height-expected.txt
index e63fc27b..318aa0a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/huge-mac-input-clamped-height-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/huge-mac-input-clamped-height-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x10067
     LayoutBlockFlow {BODY} at (8,16) size 769x10043
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 470x19
-          text run at (0,0) width 470: "Test passes if the input element is truncated beyond 10000px high on Mac."
+        LayoutText {#text} at (0,0) size 469x19
+          text run at (0,0) width 469: "Test passes if the input element is truncated beyond 10000px high on Mac."
       LayoutBlockFlow {FORM} at (0,36) size 769x10007
         LayoutTextControl {INPUT} at (0,0) size 154x10007 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/huge-mac-input-clamped-width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/huge-mac-input-clamped-width-expected.txt
index 8506394b..9e2ad33 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/huge-mac-input-clamped-width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/huge-mac-input-clamped-width-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x82
     LayoutBlockFlow {BODY} at (8,16) size 784x58
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 438x19
-          text run at (0,0) width 438: "Test passes if the input element is truncated beyond 10000px on Mac."
+        LayoutText {#text} at (0,0) size 437x19
+          text run at (0,0) width 437: "Test passes if the input element is truncated beyond 10000px on Mac."
       LayoutBlockFlow {FORM} at (0,36) size 784x22
         LayoutTextControl {INPUT} at (0,0) size 10005x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image-border-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image-border-expected.png
index 4c86ce0..0540d36a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image-border-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image-border-expected.txt
index 2f294bd..76dc0a4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image-border-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image-border-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 769x39
           text run at (0,0) width 523: "The first empty image box below should have the default grey \"no border\" border. "
-          text run at (522,0) width 247: "The second should have a 1-pixel solid"
+          text run at (523,0) width 246: "The second should have a 1-pixel solid"
           text run at (0,20) width 313: "black border. They should be the same otherwise."
       LayoutBlockFlow (anonymous) at (0,56) size 784x55
         LayoutText {#text} at (0,35) size 53x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image/image-alt-text-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image/image-alt-text-expected.txt
index 016c5a93..bb8b4221 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image/image-alt-text-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image/image-alt-text-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow (anonymous) at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 747x39
+        LayoutText {#text} at (0,0) size 746x39
           text run at (0,0) width 481: "This tests whether alt text is shown for image-type form input elements with "
-          text run at (481,0) width 266: "no src attribute. You should see \"Success\""
+          text run at (481,0) width 265: "no src attribute. You should see \"Success\""
           text run at (0,20) width 225: "twice, followed by a blue rectangle."
       LayoutBlockFlow {P} at (0,56) size 784x0
       LayoutBlockFlow {FORM} at (0,56) size 784x93
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-button-sizes-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-button-sizes-expected.png
index c7531d35f..656fed7d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-button-sizes-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-button-sizes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-button-sizes-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-button-sizes-expected.txt
index 918924aa..4c25ccd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-button-sizes-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-button-sizes-expected.txt
@@ -3,104 +3,104 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutButton {INPUT} at (0,9) size 40.45x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 24.45x6
+      LayoutButton {INPUT} at (0,9) size 41x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 25x6
           LayoutText {#text} at (0,0) size 25x6
             text run at (0,0) width 25: "Test Button"
-      LayoutText {#text} at (40,2) size 5x19
-        text run at (40,2) width 5: " "
-      LayoutButton {INPUT} at (44.45,9) size 46.34x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 30.34x6
+      LayoutText {#text} at (41,2) size 4x19
+        text run at (41,2) width 4: " "
+      LayoutButton {INPUT} at (45,9) size 47x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 31x6
           LayoutText {#text} at (0,0) size 31x6
             text run at (0,0) width 31: "Test Button"
-      LayoutText {#text} at (90,2) size 5x19
-        text run at (90,2) width 5: " "
-      LayoutButton {INPUT} at (94.80,8) size 52.23x13 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 36.23x7
+      LayoutText {#text} at (92,2) size 4x19
+        text run at (92,2) width 4: " "
+      LayoutButton {INPUT} at (96,8) size 53x13 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 37x7
           LayoutText {#text} at (0,0) size 37x7
             text run at (0,0) width 37: "Test Button"
-      LayoutText {#text} at (147,2) size 5x19
-        text run at (147,2) width 5: " "
-      LayoutButton {INPUT} at (151.03,6) size 53.13x16 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 37.13x10
+      LayoutText {#text} at (149,2) size 4x19
+        text run at (149,2) width 4: " "
+      LayoutButton {INPUT} at (153,6) size 54x16 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 38x10
           LayoutText {#text} at (0,0) size 38x10
             text run at (0,0) width 38: "Test Button"
-      LayoutText {#text} at (204,2) size 5x19
-        text run at (204,2) width 5: " "
-      LayoutButton {INPUT} at (208.16,5) size 64.02x18 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 48.02x12
-          LayoutText {#text} at (0,0) size 48x12
-            text run at (0,0) width 48: "Test Button"
-      LayoutText {#text} at (272,2) size 5x19
-        text run at (272,2) width 5: " "
-      LayoutButton {INPUT} at (276.17,4) size 68.91x19 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 52.91x13
-          LayoutText {#text} at (0,0) size 53x13
-            text run at (0,0) width 53: "Test Button"
-      LayoutText {#text} at (345,2) size 5x19
-        text run at (345,2) width 5: " "
-      LayoutButton {INPUT} at (349.08,3) size 70.78x20 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 54.78x14
-          LayoutText {#text} at (0,0) size 55x14
-            text run at (0,0) width 55: "Test Button"
-      LayoutText {#text} at (419,2) size 5x19
-        text run at (419,2) width 5: " "
-      LayoutButton {INPUT} at (423.86,2) size 75.67x21 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 59.67x15
-          LayoutText {#text} at (0,0) size 60x15
-            text run at (0,0) width 60: "Test Button"
-      LayoutText {#text} at (499,2) size 5x19
-        text run at (499,2) width 5: " "
-      LayoutButton {INPUT} at (503.53,1) size 82.56x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 66.56x16
-          LayoutText {#text} at (0,0) size 67x16
-            text run at (0,0) width 67: "Test Button"
-      LayoutText {#text} at (586,2) size 5x19
-        text run at (586,2) width 5: " "
-      LayoutButton {INPUT} at (590.09,1) size 87.45x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 71.45x16
-          LayoutText {#text} at (0,0) size 72x16
-            text run at (0,0) width 72: "Test Button"
-      LayoutText {#text} at (677,2) size 5x19
-        text run at (677,2) width 5: " "
-      LayoutButton {INPUT} at (681.55,0) size 89.34x23 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 73.34x17
-          LayoutText {#text} at (0,0) size 74x17
-            text run at (0,0) width 74: "Test Button"
-      LayoutText {#text} at (770,2) size 5x19
-        text run at (770,2) width 5: " "
-      LayoutButton {INPUT} at (0,27) size 95.23x25 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 79.23x19
-          LayoutText {#text} at (0,0) size 80x18
-            text run at (0,0) width 80: "Test Button"
-      LayoutText {#text} at (95,30) size 5x19
-        text run at (95,30) width 5: " "
-      LayoutButton {INPUT} at (99.23,27) size 100.13x26 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 84.13x20
-          LayoutText {#text} at (0,0) size 85x19
-            text run at (0,0) width 85: "Test Button"
-      LayoutText {#text} at (199,30) size 5x19
-        text run at (199,30) width 5: " "
-      LayoutButton {INPUT} at (203.36,25) size 106.02x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 90.02x22
+      LayoutText {#text} at (207,2) size 4x19
+        text run at (207,2) width 4: " "
+      LayoutButton {INPUT} at (211,5) size 65x18 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 49x12
+          LayoutText {#text} at (0,0) size 49x12
+            text run at (0,0) width 49: "Test Button"
+      LayoutText {#text} at (276,2) size 4x19
+        text run at (276,2) width 4: " "
+      LayoutButton {INPUT} at (280,4) size 68x19 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 52x13
+          LayoutText {#text} at (0,0) size 52x13
+            text run at (0,0) width 52: "Test Button"
+      LayoutText {#text} at (348,2) size 4x19
+        text run at (348,2) width 4: " "
+      LayoutButton {INPUT} at (352,3) size 70x20 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 54x14
+          LayoutText {#text} at (0,0) size 54x14
+            text run at (0,0) width 54: "Test Button"
+      LayoutText {#text} at (422,2) size 4x19
+        text run at (422,2) width 4: " "
+      LayoutButton {INPUT} at (426,2) size 75x21 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 59x15
+          LayoutText {#text} at (0,0) size 59x15
+            text run at (0,0) width 59: "Test Button"
+      LayoutText {#text} at (501,2) size 4x19
+        text run at (501,2) width 4: " "
+      LayoutButton {INPUT} at (505,1) size 82x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 66x16
+          LayoutText {#text} at (0,0) size 66x16
+            text run at (0,0) width 66: "Test Button"
+      LayoutText {#text} at (587,2) size 4x19
+        text run at (587,2) width 4: " "
+      LayoutButton {INPUT} at (591,1) size 87x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 71x16
+          LayoutText {#text} at (0,0) size 71x16
+            text run at (0,0) width 71: "Test Button"
+      LayoutText {#text} at (678,2) size 4x19
+        text run at (678,2) width 4: " "
+      LayoutButton {INPUT} at (682,0) size 89x23 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 73x17
+          LayoutText {#text} at (0,0) size 73x17
+            text run at (0,0) width 73: "Test Button"
+      LayoutText {#text} at (771,2) size 4x19
+        text run at (771,2) width 4: " "
+      LayoutButton {INPUT} at (0,27) size 95x25 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 79x19
+          LayoutText {#text} at (0,0) size 79x18
+            text run at (0,0) width 79: "Test Button"
+      LayoutText {#text} at (95,30) size 4x19
+        text run at (95,30) width 4: " "
+      LayoutButton {INPUT} at (99,27) size 100x26 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 84x20
+          LayoutText {#text} at (0,0) size 84x19
+            text run at (0,0) width 84: "Test Button"
+      LayoutText {#text} at (199,30) size 4x19
+        text run at (199,30) width 4: " "
+      LayoutButton {INPUT} at (203,25) size 106x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 90x22
           LayoutText {#text} at (0,0) size 90x21
             text run at (0,0) width 90: "Test Button"
-      LayoutText {#text} at (309,30) size 5x19
-        text run at (309,30) width 5: " "
-      LayoutButton {INPUT} at (313.38,24) size 112.91x29 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 96.91x23
+      LayoutText {#text} at (309,30) size 4x19
+        text run at (309,30) width 4: " "
+      LayoutButton {INPUT} at (313,24) size 113x29 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 97x23
           LayoutText {#text} at (0,0) size 97x22
             text run at (0,0) width 97: "Test Button"
-      LayoutText {#text} at (426,30) size 5x19
-        text run at (426,30) width 5: " "
-      LayoutButton {INPUT} at (430.28,23) size 116.80x30 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 100.80x24
+      LayoutText {#text} at (426,30) size 4x19
+        text run at (426,30) width 4: " "
+      LayoutButton {INPUT} at (430,23) size 117x30 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 101x24
           LayoutText {#text} at (0,0) size 101x23
             text run at (0,0) width 101: "Test Button"
-      LayoutText {#text} at (547,30) size 5x19
-        text run at (547,30) width 5: " "
-      LayoutButton {INPUT} at (551.08,23) size 123.69x31 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 107.69x25
+      LayoutText {#text} at (547,30) size 4x19
+        text run at (547,30) width 4: " "
+      LayoutButton {INPUT} at (551,23) size 124x31 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 108x25
           LayoutText {#text} at (0,0) size 108x24
             text run at (0,0) width 108: "Test Button"
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-type-text-min-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-type-text-min-width-expected.png
index 4928fc7..6fd3e95 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-type-text-min-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-type-text-min-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-type-text-min-width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-type-text-min-width-expected.txt
index 3ecf2cd..cd9d692 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-type-text-min-width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-type-text-min-width-expected.txt
@@ -3,10 +3,10 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 768x39
-        text run at (0,0) width 768: "This test checks if correct min width is applied to \"input type=text\". To match IE and Firefox, the input field below should"
+      LayoutText {#text} at (0,0) size 767x39
+        text run at (0,0) width 767: "This test checks if correct min width is applied to \"input type=text\". To match IE and Firefox, the input field below should"
         text run at (0,20) width 615: "show \"1987\", with the 7 slightly truncated. See https://bugs.webkit.org/show_bug.cgi?id=15312 ."
-      LayoutBR {BR} at (614,35) size 1x0
+      LayoutBR {BR} at (615,35) size 0x0
       LayoutTextControl {INPUT} at (0,40) size 40x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
       LayoutText {#text} at (0,0) size 0x0
 layer at (10,51) size 36x16 scrollWidth 43
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-value-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-value-expected.png
index 9f77ec8..9fa42067 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-value-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-value-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-value-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-value-expected.txt
index 79d3dcd..a4e5dbd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-value-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-value-expected.txt
@@ -8,8 +8,8 @@
           text run at (0,0) width 784: "Results that match WinIE are two columns on the right that say \"after\" every time, except for the last row which should have"
           text run at (0,20) width 158: "nothing in either column."
       LayoutBlockFlow {P} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 712x19
-          text run at (0,0) width 712: "Results that match Gecko are like WinIE, but with \"before\" for the attribute in the first two rows and the last row."
+        LayoutText {#text} at (0,0) size 711x19
+          text run at (0,0) width 711: "Results that match Gecko are like WinIE, but with \"before\" for the attribute in the first two rows and the last row."
       LayoutBlockFlow {FORM} at (0,102) size 784x376
         LayoutTable {TABLE} at (0,0) size 758x376
           LayoutTableSection {THEAD} at (0,0) size 758x26
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/month/month-appearance-basic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/month/month-appearance-basic-expected.png
index 94085173..76c7cdc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/month/month-appearance-basic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/month/month-appearance-basic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/negativeLineHeight-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/negativeLineHeight-expected.png
index 4c3dee1..47797257 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/negativeLineHeight-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/negativeLineHeight-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/negativeLineHeight-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/negativeLineHeight-expected.txt
index dd488f5..a367cb8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/negativeLineHeight-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/negativeLineHeight-expected.txt
@@ -8,9 +8,9 @@
           text run at (0,0) width 666: "The textarea below should have standard line-height because textareas should ignore negative line-heights"
         LayoutBR {BR} at (666,15) size 0x0
       LayoutBlockFlow {P} at (0,36) size 784x245
-        LayoutText {#text} at (0,0) size 86x19
-          text run at (0,0) width 86: "TEXTAREA"
-        LayoutBR {BR} at (85,15) size 1x0
+        LayoutText {#text} at (0,0) size 85x19
+          text run at (0,0) width 85: "TEXTAREA"
+        LayoutBR {BR} at (85,15) size 0x0
         LayoutText {#text} at (400,205) size 4x19
           text run at (400,205) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.png
index 506f84c..0dd81383 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.txt
index ada7cdc5..2c437381 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 782x19
-          text run at (0,0) width 782: "Test appearances of spin buttons. Disabled state and read-only state should have appearances different from the normal state."
+        LayoutText {#text} at (0,0) size 781x19
+          text run at (0,0) width 781: "Test appearances of spin buttons. Disabled state and read-only state should have appearances different from the normal state."
       LayoutBlockFlow {DIV} at (0,36) size 784x30
         LayoutInline {LABEL} at (0,0) size 313x19
           LayoutTextControl {INPUT} at (0,0) size 229x30 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/placeholder-position-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/placeholder-position-expected.png
index 38d51826..3df99f9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/placeholder-position-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/placeholder-position-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/placeholder-position-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/placeholder-position-expected.txt
index ee12df6c..35516ca 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/placeholder-position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/placeholder-position-expected.txt
@@ -121,8 +121,8 @@
   LayoutBlockFlow {DIV} at (5,6) size 173x17
 layer at (10,259) size 150x25
   LayoutBlockFlow {DIV} at (2,3) size 150x25
-    LayoutText {#text} at (0,4) size 32x16
-      text run at (0,4) width 32: "Value"
+    LayoutText {#text} at (0,4) size 33x16
+      text run at (0,4) width 33: "Value"
 layer at (168,263) size 150x16
   LayoutBlockFlow {DIV} at (2,7) size 150x16 [color=#757575]
     LayoutText {#text} at (0,0) size 66x16
@@ -149,8 +149,8 @@
   LayoutBlockFlow {DIV} at (2,4.50) size 150x16
 layer at (10,315) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
-    LayoutText {#text} at (59,0) size 32x16
-      text run at (59,0) width 32: "Value"
+    LayoutText {#text} at (58,0) size 34x16
+      text run at (58,0) width 34: "Value"
 layer at (168,315) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16 [color=#757575]
     LayoutText {#text} at (42,0) size 66x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/range/slider-thumb-shared-style-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/range/slider-thumb-shared-style-expected.png
index 251860d58..3ad8c6b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/range/slider-thumb-shared-style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/range/slider-thumb-shared-style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/range/slider-thumb-shared-style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/range/slider-thumb-shared-style-expected.txt
index aee8510..beb69b5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/range/slider-thumb-shared-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/range/slider-thumb-shared-style-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 709x19
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=13800"
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=13800"
           LayoutText {#text} at (352,0) size 408x19
-            text run at (352,0) width 5: " "
+            text run at (352,0) width 4: " "
             text run at (356,0) width 404: "REGRESSION: Moving a slider moves another unrelated slider"
-        LayoutText {#text} at (759,0) size 5x19
-          text run at (759,0) width 5: "."
+        LayoutText {#text} at (760,0) size 4x19
+          text run at (760,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 282x19
           text run at (0,0) width 282: "The first slider\x{2019}s thumb should be on the left."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-rtl-expected.png
index 44c7c06c..c4cf63d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-rtl-expected.txt
index f88d94e..3af5001 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-rtl-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 697x19
-          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 301x19
-              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=11916"
-          LayoutText {#text} at (351,0) size 397x19
-            text run at (351,0) width 5: " "
-            text run at (355,0) width 393: "REGRESSION (SearchField): RTL search fields are mixed up"
-        LayoutText {#text} at (747,0) size 5x19
-          text run at (747,0) width 5: "."
+          LayoutInline {A} at (0,0) size 299x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 299x19
+              text run at (51,0) width 299: "http://bugs.webkit.org/show_bug.cgi?id=11916"
+          LayoutText {#text} at (350,0) size 398x19
+            text run at (350,0) width 4: " "
+            text run at (354,0) width 394: "REGRESSION (SearchField): RTL search fields are mixed up"
+        LayoutText {#text} at (748,0) size 4x19
+          text run at (748,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x66
         LayoutTextControl {INPUT} at (0,0) size 156x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
           LayoutFlexibleBox {DIV} at (3,3) size 150x16
@@ -33,8 +33,8 @@
             LayoutBlockFlow {DIV} at (12,0) size 138x16
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,118) size 784x20
-        LayoutText {#text} at (0,0) size 38x19
-          text run at (0,0) width 38: "PASS"
+        LayoutText {#text} at (0,0) size 37x19
+          text run at (0,0) width 37: "PASS"
 layer at (23,47) size 138x16
   LayoutBlockFlow {DIV} at (0,0) size 138x16
     LayoutText {#text} at (12,0) size 126x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-vertical-alignment-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-vertical-alignment-expected.png
index e3af20b..dd50add 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-vertical-alignment-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-vertical-alignment-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-vertical-alignment-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-vertical-alignment-expected.txt
index b016f6d..20f0210 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-vertical-alignment-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-vertical-alignment-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 752x39
-          text run at (0,0) width 419: "Test that search field text is vertically centered if the search field is "
-          text run at (418,0) width 334: "taller than the text. In each of the following pairs of a"
+        LayoutText {#text} at (0,0) size 751x39
+          text run at (0,0) width 418: "Test that search field text is vertically centered if the search field is "
+          text run at (418,0) width 333: "taller than the text. In each of the following pairs of a"
           text run at (0,20) width 103: "search field and "
           text run at (103,20) width 356: "a text field, the vertical position of the text should be the "
           text run at (459,20) width 122: "same in both fields."
@@ -36,28 +36,28 @@
         LayoutText {#text} at (0,0) size 0x0
 layer at (11,79) size 137x16
   LayoutBlockFlow {DIV} at (0,0) size 137x16
-    LayoutText {#text} at (0,0) size 25x16
-      text run at (0,0) width 25: "Text"
+    LayoutText {#text} at (0,0) size 24x16
+      text run at (0,0) width 24: "Text"
 layer at (170,79) size 150x16
   LayoutBlockFlow {DIV} at (2,14.50) size 150x16
-    LayoutText {#text} at (0,0) size 25x16
-      text run at (0,0) width 25: "Text"
+    LayoutText {#text} at (0,0) size 24x16
+      text run at (0,0) width 24: "Text"
 layer at (11,127) size 137x16 backgroundClip at (11,129) size 137x12 clip at (11,129) size 137x12
   LayoutBlockFlow {DIV} at (0,0) size 137x16
-    LayoutText {#text} at (0,0) size 25x16
-      text run at (0,0) width 25: "Text"
+    LayoutText {#text} at (0,0) size 24x16
+      text run at (0,0) width 24: "Text"
 layer at (170,127) size 150x16 backgroundClip at (170,129) size 150x12 clip at (170,129) size 150x12
   LayoutBlockFlow {DIV} at (2,0) size 150x16
-    LayoutText {#text} at (0,0) size 25x16
-      text run at (0,0) width 25: "Text"
+    LayoutText {#text} at (0,0) size 24x16
+      text run at (0,0) width 24: "Text"
 layer at (11,163) size 137x16 backgroundClip at (11,167) size 137x8 clip at (11,167) size 137x8
   LayoutBlockFlow {DIV} at (0,0) size 137x16
-    LayoutText {#text} at (0,0) size 25x16
-      text run at (0,0) width 25: "Text"
+    LayoutText {#text} at (0,0) size 24x16
+      text run at (0,0) width 24: "Text"
 layer at (170,163) size 150x16 backgroundClip at (170,167) size 150x8 clip at (170,167) size 150x8
   LayoutBlockFlow {DIV} at (2,-2) size 150x16
-    LayoutText {#text} at (0,0) size 25x16
-      text run at (0,0) width 25: "Text"
+    LayoutText {#text} at (0,0) size 24x16
+      text run at (0,0) width 24: "Text"
 layer at (149,82) size 9x9 transparent
   LayoutBlockFlow {DIV} at (138,3.50) size 9x9
 layer at (149,131) size 9x9 transparent
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select-popup/popup-menu-appearance-rtl-default-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select-popup/popup-menu-appearance-rtl-default-expected.png
index 11477d9..2510b75 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select-popup/popup-menu-appearance-rtl-default-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select-popup/popup-menu-appearance-rtl-default-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select-popup/popup-menu-appearance-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select-popup/popup-menu-appearance-rtl-expected.png
index af0b3d1..cb82516 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select-popup/popup-menu-appearance-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select-popup/popup-menu-appearance-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select-popup/popup-menu-appearance-zoom110-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select-popup/popup-menu-appearance-zoom110-expected.png
index 82434bfc..9518e64 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select-popup/popup-menu-appearance-zoom110-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select-popup/popup-menu-appearance-zoom110-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label01-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label01-expected.png
index 3c069f4..7e8d6ec 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label01-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label01-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label01-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label01-expected.txt
index e8271c7c..b62712250 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label01-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label01-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 672x19
-        text run at (0,0) width 672: "In the selection list below, the text 'The label for this element is \"1\"' should appear, and not the character '1'"
-      LayoutBR {BR} at (671,15) size 1x0
+      LayoutText {#text} at (0,0) size 671x19
+        text run at (0,0) width 671: "In the selection list below, the text 'The label for this element is \"1\"' should appear, and not the character '1'"
+      LayoutBR {BR} at (671,15) size 0x0
       LayoutMenuList {SELECT} at (0,20) size 200x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 198x18
           LayoutText (anonymous) at (4,1) size 178x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label02-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label02-expected.png
index 8345ed0..1c7edd09 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label02-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label02-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label02-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label02-expected.txt
index 7cbf671e..c67f71b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label02-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label02-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 299x19
-        text run at (0,0) width 299: "With the label empty, the enclosing text is used."
-      LayoutBR {BR} at (298,15) size 1x0
+      LayoutText {#text} at (0,0) size 298x19
+        text run at (0,0) width 298: "With the label empty, the enclosing text is used."
+      LayoutBR {BR} at (298,15) size 0x0
       LayoutMenuList {SELECT} at (0,20) size 324x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 322x18
           LayoutText (anonymous) at (4,1) size 302x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label05-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label05-expected.png
index 54a6ffc..eab9bcc5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label05-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label05-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label05-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label05-expected.txt
index 9927b8c..4bcc828b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label05-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/HTMLOptionElement_label05-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 667x19
-        text run at (0,0) width 667: "In the list box below, the text \"This text should appear\" should be shown as the first entry into the list box."
-      LayoutBR {BR} at (666,15) size 1x0
+      LayoutText {#text} at (0,0) size 666x19
+        text run at (0,0) width 666: "In the list box below, the text \"This text should appear\" should be shown as the first entry into the list box."
+      LayoutBR {BR} at (666,15) size 0x0
       LayoutText {#text} at (0,0) size 0x0
 layer at (8,28) size 157x87 clip at (9,29) size 140x85
   LayoutListBox {SELECT} at (0,20) size 157x87 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/basic-selects-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/basic-selects-expected.png
index ea90b61..1d6b943 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/basic-selects-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/basic-selects-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/basic-selects-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/basic-selects-expected.txt
index 37f6373..bee3ff4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/basic-selects-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/basic-selects-expected.txt
@@ -100,21 +100,21 @@
           text run at (236,211) width 8: "b"
         LayoutBR {BR} at (244,211) size 0x19
         LayoutBR {BR} at (1,237) size 0x19
-        LayoutText {#text} at (1,260) size 480x19
-          text run at (1,260) width 480: "Height larger than font-size, button should grow, text baseline should center:"
-        LayoutMenuList {SELECT} at (480.67,255) size 40x30 [bgcolor=#DDDDDD] [border: (1px solid #A9A9A9)]
+        LayoutText {#text} at (1,260) size 479x19
+          text run at (1,260) width 479: "Height larger than font-size, button should grow, text baseline should center:"
+        LayoutMenuList {SELECT} at (480,255) size 40x30 [bgcolor=#DDDDDD] [border: (1px solid #A9A9A9)]
           LayoutBlockFlow (anonymous) at (1,6) size 38x18
             LayoutText (anonymous) at (4,1) size 18x16
               text run at (4,1) width 18: "foo"
-        LayoutText {#text} at (520,260) size 8x19
-          text run at (520,260) width 8: "a"
-        LayoutMenuList {SELECT} at (527.67,255) size 40x30 [color=#808080] [bgcolor=#DDDDDD] [border: (1px solid #A9A9A9)]
+        LayoutText {#text} at (520,260) size 7x19
+          text run at (520,260) width 7: "a"
+        LayoutMenuList {SELECT} at (527,255) size 40x30 [color=#808080] [bgcolor=#DDDDDD] [border: (1px solid #A9A9A9)]
           LayoutBlockFlow (anonymous) at (1,6) size 38x18
             LayoutText (anonymous) at (4,1) size 4x16
               text run at (4,1) width 4: " "
-        LayoutText {#text} at (567,260) size 9x19
-          text run at (567,260) width 9: "b"
-        LayoutBR {BR} at (575,260) size 1x19
+        LayoutText {#text} at (567,260) size 8x19
+          text run at (567,260) width 8: "b"
+        LayoutBR {BR} at (575,260) size 0x19
         LayoutBR {BR} at (1,283) size 0x19
         LayoutText {#text} at (1,301) size 486x19
           text run at (1,301) width 486: "Height smaller than font-size, whole select shrinks but baseline is unchanged:"
@@ -164,7 +164,7 @@
         LayoutBR {BR} at (0,0) size 0x0
         LayoutText {#text} at (1,461) size 290x19
           text run at (1,461) width 290: "Styled select control with large border-radius: "
-        LayoutBR {BR} at (290,461) size 1x19
+        LayoutBR {BR} at (291,461) size 0x19
         LayoutMenuList {SELECT} at (1,479) size 221x40 [bgcolor=#33CCFF] [border: (1px solid #A9A9A9)]
           LayoutBlockFlow (anonymous) at (11,11) size 199x18
             LayoutText (anonymous) at (4,1) size 78x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/disabled-select-change-index-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/disabled-select-change-index-expected.png
index a7142131..d849f66 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/disabled-select-change-index-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/disabled-select-change-index-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/disabled-select-change-index-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/disabled-select-change-index-expected.txt
index 4c1dd3a..b37cadf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/disabled-select-change-index-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/disabled-select-change-index-expected.txt
@@ -5,81 +5,81 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutMenuList {SELECT} at (0,0) size 58x20 [color=#808080] [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 56x18
-          LayoutText (anonymous) at (4,1) size 35x16
-            text run at (4,1) width 35: "PASS"
+          LayoutText (anonymous) at (4,1) size 36x16
+            text run at (4,1) width 36: "PASS"
       LayoutBR {BR} at (58,15) size 0x0
       LayoutMenuList {SELECT} at (0,20) size 58x20 [color=#808080] [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 56x18
-          LayoutText (anonymous) at (4,1) size 35x16
-            text run at (4,1) width 35: "PASS"
+          LayoutText (anonymous) at (4,1) size 36x16
+            text run at (4,1) width 36: "PASS"
       LayoutBR {BR} at (58,35) size 0x0
       LayoutMenuList {SELECT} at (0,40) size 58x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 56x18
-          LayoutText (anonymous) at (4,1) size 35x16
-            text run at (4,1) width 35: "PASS"
+          LayoutText (anonymous) at (4,1) size 36x16
+            text run at (4,1) width 36: "PASS"
       LayoutBR {BR} at (58,55) size 0x0
       LayoutMenuList {SELECT} at (0,60) size 58x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 56x18
-          LayoutText (anonymous) at (4,1) size 35x16
-            text run at (4,1) width 35: "PASS"
+          LayoutText (anonymous) at (4,1) size 36x16
+            text run at (4,1) width 36: "PASS"
       LayoutBR {BR} at (58,75) size 0x0
-      LayoutBR {BR} at (56,112) size 1x0
-      LayoutBR {BR} at (56,148) size 1x0
-      LayoutBR {BR} at (56,184) size 1x0
-      LayoutBR {BR} at (56,220) size 1x0
-      LayoutText {#text} at (0,224) size 485x19
-        text run at (0,224) width 485: "PASS: sel1 correctly set to selectedIndex 1 by sel1.options[1].selected = true."
-      LayoutBR {BR} at (484,239) size 1x0
-      LayoutText {#text} at (0,244) size 437x19
-        text run at (0,244) width 437: "PASS: sel2 correctly set to selectedIndex 1 by sel2.selectedIndex = 1."
-      LayoutBR {BR} at (436,259) size 1x0
-      LayoutText {#text} at (0,264) size 485x19
-        text run at (0,264) width 485: "PASS: sel3 correctly set to selectedIndex 1 by sel3.options[1].selected = true."
-      LayoutBR {BR} at (484,279) size 1x0
-      LayoutText {#text} at (0,284) size 437x19
-        text run at (0,284) width 437: "PASS: sel4 correctly set to selectedIndex 1 by sel4.selectedIndex = 1."
-      LayoutBR {BR} at (436,299) size 1x0
-      LayoutText {#text} at (0,304) size 485x19
-        text run at (0,304) width 485: "PASS: sel5 correctly set to selectedIndex 1 by sel5.options[1].selected = true."
-      LayoutBR {BR} at (484,319) size 1x0
-      LayoutText {#text} at (0,324) size 437x19
-        text run at (0,324) width 437: "PASS: sel6 correctly set to selectedIndex 1 by sel6.selectedIndex = 1."
-      LayoutBR {BR} at (436,339) size 1x0
-      LayoutText {#text} at (0,344) size 485x19
-        text run at (0,344) width 485: "PASS: sel7 correctly set to selectedIndex 1 by sel7.options[1].selected = true."
-      LayoutBR {BR} at (484,359) size 1x0
-      LayoutText {#text} at (0,364) size 437x19
-        text run at (0,364) width 437: "PASS: sel8 correctly set to selectedIndex 1 by sel8.selectedIndex = 1."
-      LayoutBR {BR} at (436,379) size 1x0
-layer at (8,88) size 56x36 clip at (9,89) size 39x34
-  LayoutListBox {SELECT} at (0,80) size 56.02x36 [color=#808080] [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 39.02x17
+      LayoutBR {BR} at (57,112) size 0x0
+      LayoutBR {BR} at (57,148) size 0x0
+      LayoutBR {BR} at (57,184) size 0x0
+      LayoutBR {BR} at (57,220) size 0x0
+      LayoutText {#text} at (0,224) size 484x19
+        text run at (0,224) width 484: "PASS: sel1 correctly set to selectedIndex 1 by sel1.options[1].selected = true."
+      LayoutBR {BR} at (484,239) size 0x0
+      LayoutText {#text} at (0,244) size 436x19
+        text run at (0,244) width 436: "PASS: sel2 correctly set to selectedIndex 1 by sel2.selectedIndex = 1."
+      LayoutBR {BR} at (436,259) size 0x0
+      LayoutText {#text} at (0,264) size 484x19
+        text run at (0,264) width 484: "PASS: sel3 correctly set to selectedIndex 1 by sel3.options[1].selected = true."
+      LayoutBR {BR} at (484,279) size 0x0
+      LayoutText {#text} at (0,284) size 436x19
+        text run at (0,284) width 436: "PASS: sel4 correctly set to selectedIndex 1 by sel4.selectedIndex = 1."
+      LayoutBR {BR} at (436,299) size 0x0
+      LayoutText {#text} at (0,304) size 484x19
+        text run at (0,304) width 484: "PASS: sel5 correctly set to selectedIndex 1 by sel5.options[1].selected = true."
+      LayoutBR {BR} at (484,319) size 0x0
+      LayoutText {#text} at (0,324) size 436x19
+        text run at (0,324) width 436: "PASS: sel6 correctly set to selectedIndex 1 by sel6.selectedIndex = 1."
+      LayoutBR {BR} at (436,339) size 0x0
+      LayoutText {#text} at (0,344) size 484x19
+        text run at (0,344) width 484: "PASS: sel7 correctly set to selectedIndex 1 by sel7.options[1].selected = true."
+      LayoutBR {BR} at (484,359) size 0x0
+      LayoutText {#text} at (0,364) size 436x19
+        text run at (0,364) width 436: "PASS: sel8 correctly set to selectedIndex 1 by sel8.selectedIndex = 1."
+      LayoutBR {BR} at (436,379) size 0x0
+layer at (8,88) size 57x36 clip at (9,89) size 40x34
+  LayoutListBox {SELECT} at (0,80) size 57x36 [color=#808080] [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 40x17
       LayoutText {#text} at (2,0) size 28x16
         text run at (2,0) width 28: "FAIL"
-    LayoutBlockFlow {OPTION} at (1,18) size 39.02x17 [bgcolor=#999999]
-      LayoutText {#text} at (2,0) size 35x16
-        text run at (2,0) width 35: "PASS"
-layer at (8,124) size 56x36 clip at (9,125) size 39x34
-  LayoutListBox {SELECT} at (0,116) size 56.02x36 [color=#808080] [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 39.02x17
+    LayoutBlockFlow {OPTION} at (1,18) size 40x17 [bgcolor=#999999]
+      LayoutText {#text} at (2,0) size 36x16
+        text run at (2,0) width 36: "PASS"
+layer at (8,124) size 57x36 clip at (9,125) size 40x34
+  LayoutListBox {SELECT} at (0,116) size 57x36 [color=#808080] [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 40x17
       LayoutText {#text} at (2,0) size 28x16
         text run at (2,0) width 28: "FAIL"
-    LayoutBlockFlow {OPTION} at (1,18) size 39.02x17 [bgcolor=#999999]
-      LayoutText {#text} at (2,0) size 35x16
-        text run at (2,0) width 35: "PASS"
-layer at (8,160) size 56x36 clip at (9,161) size 39x34
-  LayoutListBox {SELECT} at (0,152) size 56.02x36 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 39.02x17
+    LayoutBlockFlow {OPTION} at (1,18) size 40x17 [bgcolor=#999999]
+      LayoutText {#text} at (2,0) size 36x16
+        text run at (2,0) width 36: "PASS"
+layer at (8,160) size 57x36 clip at (9,161) size 40x34
+  LayoutListBox {SELECT} at (0,152) size 57x36 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 40x17
       LayoutText {#text} at (2,0) size 28x16
         text run at (2,0) width 28: "FAIL"
-    LayoutBlockFlow {OPTION} at (1,18) size 39.02x17 [color=#808080] [bgcolor=#999999]
-      LayoutText {#text} at (2,0) size 35x16
-        text run at (2,0) width 35: "PASS"
-layer at (8,196) size 56x36 clip at (9,197) size 39x34
-  LayoutListBox {SELECT} at (0,188) size 56.02x36 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 39.02x17
+    LayoutBlockFlow {OPTION} at (1,18) size 40x17 [color=#808080] [bgcolor=#999999]
+      LayoutText {#text} at (2,0) size 36x16
+        text run at (2,0) width 36: "PASS"
+layer at (8,196) size 57x36 clip at (9,197) size 40x34
+  LayoutListBox {SELECT} at (0,188) size 57x36 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 40x17
       LayoutText {#text} at (2,0) size 28x16
         text run at (2,0) width 28: "FAIL"
-    LayoutBlockFlow {OPTION} at (1,18) size 39.02x17 [color=#808080] [bgcolor=#999999]
-      LayoutText {#text} at (2,0) size 35x16
-        text run at (2,0) width 35: "PASS"
+    LayoutBlockFlow {OPTION} at (1,18) size 40x17 [color=#808080] [bgcolor=#999999]
+      LayoutText {#text} at (2,0) size 36x16
+        text run at (2,0) width 36: "PASS"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/listbox-scrollbar-incremental-load-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/listbox-scrollbar-incremental-load-expected.png
index ff8895b4..37e20cd2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/listbox-scrollbar-incremental-load-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/listbox-scrollbar-incremental-load-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/listbox-scrollbar-incremental-load-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/listbox-scrollbar-incremental-load-expected.txt
index 2ececab..0106f9f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/listbox-scrollbar-incremental-load-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/listbox-scrollbar-incremental-load-expected.txt
@@ -4,15 +4,15 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 764x39
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=13500"
-          LayoutText {#text} at (352,0) size 764x39
-            text run at (352,0) width 5: " "
-            text run at (356,0) width 408: "REGRESSION: Listbox scrollbar does not reflect actual scrolled"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 765x39
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=13500"
+          LayoutText {#text} at (352,0) size 765x39
+            text run at (352,0) width 4: " "
+            text run at (356,0) width 409: "REGRESSION: Listbox scrollbar does not reflect actual scrolled"
             text run at (0,20) width 319: "position when selected option is added after layout"
         LayoutText {#text} at (319,20) size 4x19
           text run at (319,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/listbox-with-display-none-option-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/listbox-with-display-none-option-expected.png
index 14f61251..a3c27358 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/listbox-with-display-none-option-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/listbox-with-display-none-option-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-basic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-basic-expected.txt
index f3216e6e..c70dd4c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-basic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-basic-expected.txt
@@ -344,8 +344,8 @@
       LayoutText {#text} at (2,0) size 44x16
         text run at (2,0) width 44: "Item 10"
     LayoutBlockFlow {OPTION} at (1,171) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 43x16
-        text run at (2,0) width 43: "Item 11"
+      LayoutText {#text} at (2,0) size 44x16
+        text run at (2,0) width 44: "Item 11"
     LayoutBlockFlow {OPTION} at (1,188) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 44x16
         text run at (2,0) width 44: "Item 12"
@@ -641,35 +641,35 @@
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 109"
     LayoutBlockFlow {OPTION} at (1,1854) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 110"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 110"
     LayoutBlockFlow {OPTION} at (1,1871) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 50x16
         text run at (2,0) width 50: "Item 111"
     LayoutBlockFlow {OPTION} at (1,1888) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 112"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 112"
     LayoutBlockFlow {OPTION} at (1,1905) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 113"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 113"
     LayoutBlockFlow {OPTION} at (1,1922) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 114"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 114"
     LayoutBlockFlow {OPTION} at (1,1939) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 115"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 115"
     LayoutBlockFlow {OPTION} at (1,1956) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 116"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 116"
     LayoutBlockFlow {OPTION} at (1,1973) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 117"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 117"
     LayoutBlockFlow {OPTION} at (1,1990) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 118"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 118"
     LayoutBlockFlow {OPTION} at (1,2007) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 119"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 119"
     LayoutBlockFlow {OPTION} at (1,2024) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 120"
@@ -944,8 +944,8 @@
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 210"
     LayoutBlockFlow {OPTION} at (1,3571) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 211"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 211"
     LayoutBlockFlow {OPTION} at (1,3588) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 212"
@@ -1244,8 +1244,8 @@
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 310"
     LayoutBlockFlow {OPTION} at (1,5271) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 311"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 311"
     LayoutBlockFlow {OPTION} at (1,5288) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 312"
@@ -1544,8 +1544,8 @@
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 410"
     LayoutBlockFlow {OPTION} at (1,6971) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 411"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 411"
     LayoutBlockFlow {OPTION} at (1,6988) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 412"
@@ -1844,8 +1844,8 @@
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 510"
     LayoutBlockFlow {OPTION} at (1,8671) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 511"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 511"
     LayoutBlockFlow {OPTION} at (1,8688) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 512"
@@ -2144,8 +2144,8 @@
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 610"
     LayoutBlockFlow {OPTION} at (1,10371) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 611"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 611"
     LayoutBlockFlow {OPTION} at (1,10388) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 612"
@@ -2444,8 +2444,8 @@
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 710"
     LayoutBlockFlow {OPTION} at (1,12071) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 711"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 711"
     LayoutBlockFlow {OPTION} at (1,12088) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 712"
@@ -2744,8 +2744,8 @@
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 810"
     LayoutBlockFlow {OPTION} at (1,13771) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 811"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 811"
     LayoutBlockFlow {OPTION} at (1,13788) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 812"
@@ -3044,8 +3044,8 @@
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 910"
     LayoutBlockFlow {OPTION} at (1,15471) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 50x16
-        text run at (2,0) width 50: "Item 911"
+      LayoutText {#text} at (2,0) size 51x16
+        text run at (2,0) width 51: "Item 911"
     LayoutBlockFlow {OPTION} at (1,15488) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 51x16
         text run at (2,0) width 51: "Item 912"
@@ -3344,8 +3344,8 @@
       LayoutText {#text} at (2,0) size 58x16
         text run at (2,0) width 58: "Item 1010"
     LayoutBlockFlow {OPTION} at (1,17171) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1011"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1011"
     LayoutBlockFlow {OPTION} at (1,17188) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 58x16
         text run at (2,0) width 58: "Item 1012"
@@ -3611,35 +3611,35 @@
       LayoutText {#text} at (2,0) size 58x16
         text run at (2,0) width 58: "Item 1099"
     LayoutBlockFlow {OPTION} at (1,18684) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1100"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1100"
     LayoutBlockFlow {OPTION} at (1,18701) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1101"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1101"
     LayoutBlockFlow {OPTION} at (1,18718) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1102"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1102"
     LayoutBlockFlow {OPTION} at (1,18735) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1103"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1103"
     LayoutBlockFlow {OPTION} at (1,18752) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1104"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1104"
     LayoutBlockFlow {OPTION} at (1,18769) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1105"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1105"
     LayoutBlockFlow {OPTION} at (1,18786) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1106"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1106"
     LayoutBlockFlow {OPTION} at (1,18803) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1107"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1107"
     LayoutBlockFlow {OPTION} at (1,18820) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1108"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1108"
     LayoutBlockFlow {OPTION} at (1,18837) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1109"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1109"
     LayoutBlockFlow {OPTION} at (1,18854) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 57x16
         text run at (2,0) width 57: "Item 1110"
@@ -3671,245 +3671,245 @@
       LayoutText {#text} at (2,0) size 57x16
         text run at (2,0) width 57: "Item 1119"
     LayoutBlockFlow {OPTION} at (1,19024) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1120"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1120"
     LayoutBlockFlow {OPTION} at (1,19041) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1121"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1121"
     LayoutBlockFlow {OPTION} at (1,19058) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1122"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1122"
     LayoutBlockFlow {OPTION} at (1,19075) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1123"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1123"
     LayoutBlockFlow {OPTION} at (1,19092) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1124"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1124"
     LayoutBlockFlow {OPTION} at (1,19109) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1125"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1125"
     LayoutBlockFlow {OPTION} at (1,19126) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1126"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1126"
     LayoutBlockFlow {OPTION} at (1,19143) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1127"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1127"
     LayoutBlockFlow {OPTION} at (1,19160) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1128"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1128"
     LayoutBlockFlow {OPTION} at (1,19177) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1129"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1129"
     LayoutBlockFlow {OPTION} at (1,19194) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1130"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1130"
     LayoutBlockFlow {OPTION} at (1,19211) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1131"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1131"
     LayoutBlockFlow {OPTION} at (1,19228) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1132"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1132"
     LayoutBlockFlow {OPTION} at (1,19245) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1133"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1133"
     LayoutBlockFlow {OPTION} at (1,19262) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1134"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1134"
     LayoutBlockFlow {OPTION} at (1,19279) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1135"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1135"
     LayoutBlockFlow {OPTION} at (1,19296) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1136"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1136"
     LayoutBlockFlow {OPTION} at (1,19313) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1137"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1137"
     LayoutBlockFlow {OPTION} at (1,19330) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1138"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1138"
     LayoutBlockFlow {OPTION} at (1,19347) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1139"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1139"
     LayoutBlockFlow {OPTION} at (1,19364) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1140"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1140"
     LayoutBlockFlow {OPTION} at (1,19381) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1141"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1141"
     LayoutBlockFlow {OPTION} at (1,19398) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1142"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1142"
     LayoutBlockFlow {OPTION} at (1,19415) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1143"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1143"
     LayoutBlockFlow {OPTION} at (1,19432) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1144"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1144"
     LayoutBlockFlow {OPTION} at (1,19449) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1145"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1145"
     LayoutBlockFlow {OPTION} at (1,19466) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1146"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1146"
     LayoutBlockFlow {OPTION} at (1,19483) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1147"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1147"
     LayoutBlockFlow {OPTION} at (1,19500) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1148"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1148"
     LayoutBlockFlow {OPTION} at (1,19517) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1149"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1149"
     LayoutBlockFlow {OPTION} at (1,19534) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1150"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1150"
     LayoutBlockFlow {OPTION} at (1,19551) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1151"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1151"
     LayoutBlockFlow {OPTION} at (1,19568) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1152"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1152"
     LayoutBlockFlow {OPTION} at (1,19585) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1153"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1153"
     LayoutBlockFlow {OPTION} at (1,19602) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1154"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1154"
     LayoutBlockFlow {OPTION} at (1,19619) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1155"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1155"
     LayoutBlockFlow {OPTION} at (1,19636) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1156"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1156"
     LayoutBlockFlow {OPTION} at (1,19653) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1157"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1157"
     LayoutBlockFlow {OPTION} at (1,19670) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1158"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1158"
     LayoutBlockFlow {OPTION} at (1,19687) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1159"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1159"
     LayoutBlockFlow {OPTION} at (1,19704) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1160"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1160"
     LayoutBlockFlow {OPTION} at (1,19721) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1161"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1161"
     LayoutBlockFlow {OPTION} at (1,19738) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1162"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1162"
     LayoutBlockFlow {OPTION} at (1,19755) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1163"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1163"
     LayoutBlockFlow {OPTION} at (1,19772) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1164"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1164"
     LayoutBlockFlow {OPTION} at (1,19789) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1165"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1165"
     LayoutBlockFlow {OPTION} at (1,19806) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1166"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1166"
     LayoutBlockFlow {OPTION} at (1,19823) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1167"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1167"
     LayoutBlockFlow {OPTION} at (1,19840) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1168"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1168"
     LayoutBlockFlow {OPTION} at (1,19857) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1169"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1169"
     LayoutBlockFlow {OPTION} at (1,19874) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1170"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1170"
     LayoutBlockFlow {OPTION} at (1,19891) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1171"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1171"
     LayoutBlockFlow {OPTION} at (1,19908) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1172"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1172"
     LayoutBlockFlow {OPTION} at (1,19925) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1173"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1173"
     LayoutBlockFlow {OPTION} at (1,19942) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1174"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1174"
     LayoutBlockFlow {OPTION} at (1,19959) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1175"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1175"
     LayoutBlockFlow {OPTION} at (1,19976) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1176"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1176"
     LayoutBlockFlow {OPTION} at (1,19993) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1177"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1177"
     LayoutBlockFlow {OPTION} at (1,20010) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1178"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1178"
     LayoutBlockFlow {OPTION} at (1,20027) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1179"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1179"
     LayoutBlockFlow {OPTION} at (1,20044) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1180"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1180"
     LayoutBlockFlow {OPTION} at (1,20061) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1181"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1181"
     LayoutBlockFlow {OPTION} at (1,20078) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1182"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1182"
     LayoutBlockFlow {OPTION} at (1,20095) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1183"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1183"
     LayoutBlockFlow {OPTION} at (1,20112) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1184"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1184"
     LayoutBlockFlow {OPTION} at (1,20129) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1185"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1185"
     LayoutBlockFlow {OPTION} at (1,20146) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1186"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1186"
     LayoutBlockFlow {OPTION} at (1,20163) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1187"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1187"
     LayoutBlockFlow {OPTION} at (1,20180) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1188"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1188"
     LayoutBlockFlow {OPTION} at (1,20197) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1189"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1189"
     LayoutBlockFlow {OPTION} at (1,20214) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1190"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1190"
     LayoutBlockFlow {OPTION} at (1,20231) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1191"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1191"
     LayoutBlockFlow {OPTION} at (1,20248) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1192"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1192"
     LayoutBlockFlow {OPTION} at (1,20265) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1193"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1193"
     LayoutBlockFlow {OPTION} at (1,20282) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1194"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1194"
     LayoutBlockFlow {OPTION} at (1,20299) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1195"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1195"
     LayoutBlockFlow {OPTION} at (1,20316) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1196"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1196"
     LayoutBlockFlow {OPTION} at (1,20333) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1197"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1197"
     LayoutBlockFlow {OPTION} at (1,20350) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1198"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1198"
     LayoutBlockFlow {OPTION} at (1,20367) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1199"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1199"
     LayoutBlockFlow {OPTION} at (1,20384) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 58x16
         text run at (2,0) width 58: "Item 1200"
@@ -3944,8 +3944,8 @@
       LayoutText {#text} at (2,0) size 58x16
         text run at (2,0) width 58: "Item 1210"
     LayoutBlockFlow {OPTION} at (1,20571) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Item 1211"
+      LayoutText {#text} at (2,0) size 58x16
+        text run at (2,0) width 58: "Item 1211"
     LayoutBlockFlow {OPTION} at (1,20588) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 58x16
         text run at (2,0) width 58: "Item 1212"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-none-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-none-expected.png
index 5ddcc7a..069d625 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-none-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-none-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-none-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-none-expected.txt
index f278cf6..e5567cd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-none-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-none-expected.txt
@@ -6,19 +6,19 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 117x19
           text run at (0,0) width 117: "Rendering test for "
-        LayoutInline {I} at (0,0) size 780x39
-          LayoutInline {A} at (0,0) size 407x19 [color=#0000EE]
-            LayoutText {#text} at (117,0) size 407x19
-              text run at (117,0) width 407: "https://bugs.chromium.org/p/chromium/issues/detail?id=626278"
-          LayoutText {#text} at (523,0) size 780x39
-            text run at (523,0) width 5: " "
-            text run at (527,0) width 253: "Regression: HTML Select's text appears"
+        LayoutInline {I} at (0,0) size 782x39
+          LayoutInline {A} at (0,0) size 408x19 [color=#0000EE]
+            LayoutText {#text} at (117,0) size 408x19
+              text run at (117,0) width 408: "https://bugs.chromium.org/p/chromium/issues/detail?id=626278"
+          LayoutText {#text} at (525,0) size 782x39
+            text run at (525,0) width 4: " "
+            text run at (529,0) width 253: "Regression: HTML Select's text appears"
             text run at (0,20) width 231: "chopped if appearance is set to none"
         LayoutText {#text} at (231,20) size 4x19
           text run at (231,20) width 4: "."
       LayoutBlockFlow (anonymous) at (0,56) size 784x42
-        LayoutMenuList {SELECT} at (0,0) size 27x42 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
-          LayoutBlockFlow (anonymous) at (1,1) size 25x40
-            LayoutText (anonymous) at (0,12) size 25x16
-              text run at (0,12) width 25: "Test"
+        LayoutMenuList {SELECT} at (0,0) size 26x42 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
+          LayoutBlockFlow (anonymous) at (1,1) size 24x40
+            LayoutText (anonymous) at (0,12) size 24x16
+              text run at (0,12) width 24: "Test"
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-rtl-expected.txt
index ded3d6f..981325b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-rtl-expected.txt
@@ -67,8 +67,8 @@
                 text run at (4,1) width 91 RTL: "\x{627}\x{644}\x{627}\x{642}\x{62A}\x{631}\x{627}\x{62D}\x{627}\x{62A} / \x{627}\x{644}\x{634}\x{643}\x{627}\x{648}\x{64A}"
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,347) size 784x20
-        LayoutText {#text} at (0,0) size 694x19
-          text run at (0,0) width 694: "Verify that the alignment and writing direction of each selected item matches the one below the pop-up button."
+        LayoutText {#text} at (0,0) size 693x19
+          text run at (0,0) width 693: "Verify that the alignment and writing direction of each selected item matches the one below the pop-up button."
 layer at (8,268) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,252) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,345) size 784x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-clip-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-clip-expected.png
index 9d52d53..666cd47 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-clip-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-clip-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-clip-expected.txt
index eab4089..206a334 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-clip-expected.txt
@@ -10,9 +10,9 @@
           LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
             LayoutText {#text} at (117,0) size 301x19
               text run at (117,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=15156"
-          LayoutText {#text} at (417,0) size 766x39
-            text run at (417,0) width 5: " "
-            text run at (421,0) width 345: "REGRESSION (r24594-r24668): The bottom of styled"
+          LayoutText {#text} at (418,0) size 766x39
+            text run at (418,0) width 4: " "
+            text run at (422,0) width 344: "REGRESSION (r24594-r24668): The bottom of styled"
             text run at (0,20) width 215: "<select> button text is clipped out"
         LayoutText {#text} at (215,20) size 4x19
           text run at (215,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-deselect-update-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-deselect-update-expected.png
index 3f1db95..84c8c4a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-deselect-update-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-deselect-update-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-deselect-update-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-deselect-update-expected.txt
index deb8b0d..5b8a9fa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-deselect-update-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-deselect-update-expected.txt
@@ -3,10 +3,10 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 72x19
-        text run at (0,0) width 72: "Test result: "
-      LayoutMenuList {SELECT} at (71.88,0) size 58x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
+      LayoutText {#text} at (0,0) size 71x19
+        text run at (0,0) width 71: "Test result: "
+      LayoutMenuList {SELECT} at (71,0) size 58x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 56x18
-          LayoutText (anonymous) at (4,1) size 35x16
-            text run at (4,1) width 35: "PASS"
+          LayoutText (anonymous) at (4,1) size 36x16
+            text run at (4,1) width 36: "PASS"
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-narrow-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-narrow-width-expected.png
index 35925f3..b442193 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-narrow-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-narrow-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-narrow-width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-narrow-width-expected.txt
index 5ea00a0..ce5158f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-narrow-width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-narrow-width-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 498x19
-        text run at (0,0) width 498: "This tests that select elements with a narrow width (1px) are rendered correctly."
-      LayoutBR {BR} at (497,15) size 1x0
+      LayoutText {#text} at (0,0) size 497x19
+        text run at (0,0) width 497: "This tests that select elements with a narrow width (1px) are rendered correctly."
+      LayoutBR {BR} at (497,15) size 0x0
       LayoutMenuList {SELECT} at (0,20) size 2x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 20x18
           LayoutText (anonymous) at (4,1) size 22x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-option-wrap-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-option-wrap-expected.png
index 1424c58..a12daa0e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-option-wrap-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-option-wrap-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-option-wrap-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-option-wrap-expected.txt
index 1840564..6b59fd97 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-option-wrap-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-option-wrap-expected.txt
@@ -4,26 +4,26 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 574x19
-          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 301x19
-              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=11362"
-          LayoutText {#text} at (351,0) size 274x19
-            text run at (351,0) width 5: " "
-            text run at (355,0) width 270: "Native popup with size=\"1\" wraps options"
-        LayoutText {#text} at (624,0) size 5x19
-          text run at (624,0) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 572x19
+          LayoutInline {A} at (0,0) size 299x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 299x19
+              text run at (51,0) width 299: "http://bugs.webkit.org/show_bug.cgi?id=11362"
+          LayoutText {#text} at (350,0) size 273x19
+            text run at (350,0) width 4: " "
+            text run at (354,0) width 269: "Native popup with size=\"1\" wraps options"
+        LayoutText {#text} at (623,0) size 4x19
+          text run at (623,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 35x19
           text run at (0,0) width 35: "With "
-        LayoutInline {TT} at (0,0) size 65x16
-          LayoutText {#text} at (34,3) size 65x16
-            text run at (34,3) width 65: "size=\"1\""
-        LayoutText {#text} at (98,0) size 9x19
-          text run at (98,0) width 9: ": "
-        LayoutMenuList {SELECT} at (106.36,1) size 100x18 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
+        LayoutInline {TT} at (0,0) size 64x16
+          LayoutText {#text} at (35,3) size 64x16
+            text run at (35,3) width 64: "size=\"1\""
+        LayoutText {#text} at (99,0) size 8x19
+          text run at (99,0) width 8: ": "
+        LayoutMenuList {SELECT} at (107,1) size 100x18 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
           LayoutBlockFlow (anonymous) at (1,1) size 98x16
             LayoutText (anonymous) at (0,0) size 189x16
               text run at (0,0) width 189: "Very long option that does not fit"
@@ -31,12 +31,12 @@
       LayoutBlockFlow {P} at (0,72) size 784x20
         LayoutText {#text} at (0,0) size 55x19
           text run at (0,0) width 55: "Without "
-        LayoutInline {TT} at (0,0) size 33x16
-          LayoutText {#text} at (54,3) size 33x16
-            text run at (54,3) width 33: "size"
-        LayoutText {#text} at (86,0) size 9x19
-          text run at (86,0) width 9: ": "
-        LayoutMenuList {SELECT} at (94.36,1) size 100x18 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
+        LayoutInline {TT} at (0,0) size 32x16
+          LayoutText {#text} at (55,3) size 32x16
+            text run at (55,3) width 32: "size"
+        LayoutText {#text} at (87,0) size 8x19
+          text run at (87,0) width 8: ": "
+        LayoutMenuList {SELECT} at (95,1) size 100x18 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
           LayoutBlockFlow (anonymous) at (1,1) size 98x16
             LayoutText (anonymous) at (0,0) size 189x16
               text run at (0,0) width 189: "Very long option that does not fit"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/optgroup-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/optgroup-rendering-expected.png
index 2f71c4b..afbee8a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/optgroup-rendering-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/optgroup-rendering-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-index-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-index-expected.png
index ea526e8..41c00c6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-index-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-index-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-index-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-index-expected.txt
index f9e7503..ed09ca0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-index-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-index-expected.txt
@@ -8,8 +8,8 @@
           text run at (0,0) width 741: "This test makes sure we don't crash when trying to get the index of an option element that has no corresponding select"
           text run at (0,20) width 53: "element."
       LayoutBlockFlow {DIV} at (0,40) size 784x40
-        LayoutText {#text} at (0,0) size 81x19
-          text run at (0,0) width 81: "Test Passed. "
-        LayoutBR {BR} at (80,15) size 1x0
+        LayoutText {#text} at (0,0) size 80x19
+          text run at (0,0) width 80: "Test Passed. "
+        LayoutBR {BR} at (80,15) size 0x0
         LayoutText {#text} at (0,20) size 370x19
           text run at (0,20) width 370: "Index for option element with no corresponding select is: 0"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-script-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-script-expected.png
index d82efaf..bf380cf0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-script-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-script-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-script-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-script-expected.txt
index 1146168..f7cd2cf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-script-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-script-expected.txt
@@ -3,16 +3,16 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 344x19
-        text run at (0,0) width 111: "TEST PASSED: "
-        text run at (110,0) width 234: "If the popup menu only says \"Text\". "
-      LayoutBR {BR} at (343,15) size 1x0
-      LayoutText {#text} at (0,20) size 423x19
-        text run at (0,20) width 108: "TEST FAILED: "
-        text run at (107,20) width 316: "If the popup menu says \"document.write('Text')\". "
-      LayoutBR {BR} at (422,35) size 1x0
-      LayoutMenuList {SELECT} at (0,40) size 47x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 45x18
-          LayoutText (anonymous) at (4,1) size 25x16
-            text run at (4,1) width 25: "Text"
+      LayoutText {#text} at (0,0) size 342x19
+        text run at (0,0) width 110: "TEST PASSED: "
+        text run at (110,0) width 232: "If the popup menu only says \"Text\". "
+      LayoutBR {BR} at (342,15) size 0x0
+      LayoutText {#text} at (0,20) size 421x19
+        text run at (0,20) width 107: "TEST FAILED: "
+        text run at (107,20) width 314: "If the popup menu says \"document.write('Text')\". "
+      LayoutBR {BR} at (421,35) size 0x0
+      LayoutMenuList {SELECT} at (0,40) size 46x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
+        LayoutBlockFlow (anonymous) at (1,1) size 44x18
+          LayoutText (anonymous) at (4,1) size 24x16
+            text run at (4,1) width 24: "Text"
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-strip-whitespace-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-strip-whitespace-expected.png
index 438eea9..1eb2333 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-strip-whitespace-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-strip-whitespace-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-strip-whitespace-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-strip-whitespace-expected.txt
index 2e6f60c..7a2f759 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-strip-whitespace-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-strip-whitespace-expected.txt
@@ -7,13 +7,13 @@
         LayoutText {#text} at (0,0) size 403x19
           text run at (0,0) width 403: "All of these selects should have the same amount of whitespace."
       LayoutBlockFlow (anonymous) at (0,36) size 784x282
-        LayoutText {#text} at (0,51) size 70x19
-          text run at (0,51) width 70: "Five Tabs: "
-        LayoutBR {BR} at (147,66) size 1x0
+        LayoutText {#text} at (0,51) size 69x19
+          text run at (0,51) width 69: "Five Tabs: "
+        LayoutBR {BR} at (146,66) size 0x0
         LayoutBR {BR} at (0,71) size 0x19
         LayoutText {#text} at (0,142) size 84x19
           text run at (0,142) width 84: "Five Spaces: "
-        LayoutBR {BR} at (161,157) size 1x0
+        LayoutBR {BR} at (161,157) size 0x0
         LayoutBR {BR} at (0,162) size 0x19
         LayoutText {#text} at (0,182) size 298x19
           text run at (0,182) width 298: "Five Spaces (with leading/trailing whitespace): "
@@ -23,28 +23,28 @@
               text run at (4,1) width 73: "Five Spaces"
         LayoutBR {BR} at (393,197) size 0x0
         LayoutBR {BR} at (0,202) size 0x19
-        LayoutText {#text} at (0,222) size 284x19
-          text run at (0,222) width 284: "Five Tabs (with leading/trailing whitespace): "
-        LayoutMenuList {SELECT} at (283.88,222) size 79x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
-          LayoutBlockFlow (anonymous) at (1,1) size 77x18
-            LayoutText (anonymous) at (4,1) size 57x16
-              text run at (4,1) width 57: "Five Tabs"
-        LayoutBR {BR} at (362,237) size 1x0
+        LayoutText {#text} at (0,222) size 283x19
+          text run at (0,222) width 283: "Five Tabs (with leading/trailing whitespace): "
+        LayoutMenuList {SELECT} at (283,222) size 78x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
+          LayoutBlockFlow (anonymous) at (1,1) size 76x18
+            LayoutText (anonymous) at (4,1) size 56x16
+              text run at (4,1) width 56: "Five Tabs"
+        LayoutBR {BR} at (361,237) size 0x0
         LayoutBR {BR} at (0,242) size 0x19
         LayoutText {#text} at (0,262) size 126x19
           text run at (0,262) width 126: "Mixed Whitespace: "
-        LayoutMenuList {SELECT} at (126,262) size 79x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
-          LayoutBlockFlow (anonymous) at (1,1) size 77x18
-            LayoutText (anonymous) at (4,1) size 57x16
-              text run at (4,1) width 57: "Five Tabs"
+        LayoutMenuList {SELECT} at (126,262) size 78x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
+          LayoutBlockFlow (anonymous) at (1,1) size 76x18
+            LayoutText (anonymous) at (4,1) size 56x16
+              text run at (4,1) width 56: "Five Tabs"
         LayoutText {#text} at (0,0) size 0x0
-layer at (78,44) size 77x70 clip at (79,45) size 60x68
-  LayoutListBox {SELECT} at (69.88,0) size 77.53x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 60.53x17
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Five Tabs"
-layer at (92,135) size 78x70 clip at (93,136) size 61x68
-  LayoutListBox {SELECT} at (84,91) size 77.53x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 60.53x17
-      LayoutText {#text} at (2,0) size 57x16
-        text run at (2,0) width 57: "Five Tabs"
+layer at (77,44) size 77x70 clip at (78,45) size 60x68
+  LayoutListBox {SELECT} at (69,0) size 77x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 60x17
+      LayoutText {#text} at (2,0) size 56x16
+        text run at (2,0) width 56: "Five Tabs"
+layer at (92,135) size 77x70 clip at (93,136) size 60x68
+  LayoutListBox {SELECT} at (84,91) size 77x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 60x17
+      LayoutText {#text} at (2,0) size 56x16
+        text run at (2,0) width 56: "Five Tabs"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-text-clip-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-text-clip-expected.png
index f86bb7b..13ef487 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-text-clip-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-text-clip-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-text-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-text-clip-expected.txt
index 4fd869d..102b5a7f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-text-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/option-text-clip-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 701x19
-        text run at (0,0) width 701: "This tests that the option text is clipped properly, and doesn't spill over into the arrow part of the popup control. "
-      LayoutBR {BR} at (700,15) size 1x0
+      LayoutText {#text} at (0,0) size 700x19
+        text run at (0,0) width 700: "This tests that the option text is clipped properly, and doesn't spill over into the arrow part of the popup control. "
+      LayoutBR {BR} at (700,15) size 0x0
       LayoutMenuList {SELECT} at (0,20) size 150x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 148x18
           LayoutText (anonymous) at (4,1) size 147x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-autofilled-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-autofilled-expected.png
index e1bf428b..b4383ba 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-autofilled-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-autofilled-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-autofilled-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-autofilled-expected.txt
index 17db2f9..52f121db 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-autofilled-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-autofilled-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x94
     LayoutBlockFlow {BODY} at (8,16) size 784x70
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 219x19
-          text run at (0,0) width 219: "The background should be yellow."
+        LayoutText {#text} at (0,0) size 218x19
+          text run at (0,0) width 218: "The background should be yellow."
       LayoutBlockFlow (anonymous) at (0,36) size 784x34
         LayoutMenuList {SELECT} at (0,0) size 168x34 [bgcolor=#FAFFBD] [border: (1px solid #A9A9A9)]
           LayoutBlockFlow (anonymous) at (6,6.50) size 156x21
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-change-listbox-size-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-change-listbox-size-expected.png
index 7518b69..d3b2c88 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-change-listbox-size-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-change-listbox-size-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-change-listbox-size-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-change-listbox-size-expected.txt
index 38e1717..e0a6887c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-change-listbox-size-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-change-listbox-size-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 784x39
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=12986"
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=12986"
           LayoutText {#text} at (352,0) size 784x39
-            text run at (352,0) width 5: " "
+            text run at (352,0) width 4: " "
             text run at (356,0) width 428: "REGRESSION(NativeListBox): Listboxes not updated when resized"
             text run at (0,20) width 77: "dynamically"
         LayoutText {#text} at (77,20) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-disabled-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-disabled-appearance-expected.png
index 7a40f935e..04e302f3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-disabled-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-disabled-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-disabled-appearance-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-disabled-appearance-expected.txt
index 00ce36b..96a86a4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-disabled-appearance-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-disabled-appearance-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 653x19
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=12345"
-          LayoutText {#text} at (352,0) size 352x19
-            text run at (352,0) width 5: " "
-            text run at (356,0) width 348: "REGRESSION: Disabled pop-up text is not grayed out"
-        LayoutText {#text} at (703,0) size 5x19
-          text run at (703,0) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 652x19
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=12345"
+          LayoutText {#text} at (352,0) size 351x19
+            text run at (352,0) width 4: " "
+            text run at (356,0) width 347: "REGRESSION: Disabled pop-up text is not grayed out"
+        LayoutText {#text} at (703,0) size 4x19
+          text run at (703,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutMenuList {SELECT} at (0,0) size 162x20 [color=#808080] [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
           LayoutBlockFlow (anonymous) at (1,1) size 160x18
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-display-none-style-resolve-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-display-none-style-resolve-expected.png
index f92cb52..b9762bb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-display-none-style-resolve-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-display-none-style-resolve-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-display-none-style-resolve-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-display-none-style-resolve-expected.txt
index 796eca5..fefe916 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-display-none-style-resolve-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-display-none-style-resolve-expected.txt
@@ -4,18 +4,18 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 770x39
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=13896"
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=13896"
           LayoutText {#text} at (352,0) size 770x39
-            text run at (352,0) width 5: " "
+            text run at (352,0) width 4: " "
             text run at (356,0) width 414: "REGRESSION (NativePopup): Reproductible crasher on Google"
             text run at (0,20) width 123: "Coop control panel"
-        LayoutText {#text} at (122,20) size 5x19
-          text run at (122,20) width 5: "."
+        LayoutText {#text} at (123,20) size 4x19
+          text run at (123,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 180x19
           text run at (0,0) width 180: "No crash means SUCCESS."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-item-background-clip-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-item-background-clip-expected.png
index ca6ad464..02ee5018 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-item-background-clip-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-item-background-clip-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-item-background-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-item-background-clip-expected.txt
index 71158d9..e60c11b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-item-background-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-item-background-clip-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 771x39
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=12364"
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=12364"
           LayoutText {#text} at (352,0) size 771x39
-            text run at (352,0) width 5: " "
+            text run at (352,0) width 4: " "
             text run at (356,0) width 415: "REGRESSSION (NativeListBox): Selected option's background is"
             text run at (0,20) width 158: "not clipped to the list box"
         LayoutText {#text} at (158,20) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-listbox-multiple-no-focusring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-listbox-multiple-no-focusring-expected.txt
index 20f9997a..5a7253f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-listbox-multiple-no-focusring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-listbox-multiple-no-focusring-expected.txt
@@ -5,10 +5,10 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x71
       LayoutText {#text} at (0,0) size 0x0
 layer at (8,8) size 372x70 clip at (9,9) size 355x68
-  LayoutListBox {SELECT} at (0,0) size 371.77x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 354.77x17 [color=#FFFFCC] [bgcolor=#0000FF]
+  LayoutListBox {SELECT} at (0,0) size 372x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 355x17 [color=#FFFFCC] [bgcolor=#0000FF]
       LayoutText {#text} at (2,0) size 351x16
         text run at (2,0) width 351: "make-the-item-long-enough-to-make-a-difference-in-pixel-test"
-    LayoutBlockFlow {OPTION} at (1,18) size 354.77x17
+    LayoutBlockFlow {OPTION} at (1,18) size 355x17
       LayoutText {#text} at (2,0) size 7x16
         text run at (2,0) width 7: "b"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-multiple-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-multiple-rtl-expected.png
index 4ecf244..1594845 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-multiple-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-multiple-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-expected.png
index 46dccd1..f96d6bba 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-expected.txt
index 27cf174..bac972a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-expected.txt
@@ -34,5 +34,5 @@
       LayoutText {#text} at (2,0) size 26x16
         text run at (2,0) width 26: "Nine"
     LayoutBlockFlow {OPTION} at (1,154) size 41x17
-      LayoutText {#text} at (2,0) size 21x16
-        text run at (2,0) width 21: "Ten"
+      LayoutText {#text} at (2,0) size 20x16
+        text run at (2,0) width 20: "Ten"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-inherited-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-inherited-expected.png
index 4934344..38ce21a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-inherited-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-inherited-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-inherited-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-inherited-expected.txt
index 3da3f604..56048c13 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-inherited-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-overflow-scroll-inherited-expected.txt
@@ -36,5 +36,5 @@
       LayoutText {#text} at (2,0) size 26x16
         text run at (2,0) width 26: "Nine"
     LayoutBlockFlow {OPTION} at (1,154) size 41x17
-      LayoutText {#text} at (2,0) size 21x16
-        text run at (2,0) width 21: "Ten"
+      LayoutText {#text} at (2,0) size 20x16
+        text run at (2,0) width 20: "Ten"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-style-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-style-expected.png
index a48439a..c205707 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-style-expected.txt
index 3dca042d..1860636e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-style-expected.txt
@@ -6,7 +6,7 @@
       LayoutText {#text} at (0,0) size 554x19
         text run at (0,0) width 250: "This tests that styled popups look right. "
         text run at (250,0) width 304: "(Aqua for now- later, we will honor the styling)."
-      LayoutBR {BR} at (553,15) size 1x0
+      LayoutBR {BR} at (554,15) size 0x0
       LayoutMenuList {SELECT} at (0,20) size 44x20 [bgcolor=#FF0000] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 42x18
           LayoutText (anonymous) at (4,1) size 22x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-visual-hebrew-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-visual-hebrew-expected.png
index 4be2fd5..1da9710 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-visual-hebrew-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-visual-hebrew-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-visual-hebrew-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-visual-hebrew-expected.txt
index 3cfe2cef..144cdf60 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-visual-hebrew-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-visual-hebrew-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 619x19
           text run at (0,0) width 619 LTR override: "This tests that native pop-ups are rendered in logical order even in visually-ordered Hebrew pages."
       LayoutBlockFlow {P} at (0,54) size 784x20
-        LayoutText {#text} at (0,0) size 381x19
-          text run at (0,0) width 381 LTR override: "Text on the pop-up and in the list should look like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
+        LayoutText {#text} at (0,0) size 380x19
+          text run at (0,0) width 380 LTR override: "Text on the pop-up and in the list should look like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
       LayoutBlockFlow (anonymous) at (0,90) size 784x20
         LayoutMenuList {SELECT} at (0,0) size 53x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
           LayoutBlockFlow (anonymous) at (1,1) size 51x18
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-writing-direction-natural-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-writing-direction-natural-expected.png
index 89f0689..e312958 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-writing-direction-natural-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-writing-direction-natural-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-writing-direction-natural-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-writing-direction-natural-expected.txt
index 5e578a60..45260cf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-writing-direction-natural-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-writing-direction-natural-expected.txt
@@ -4,23 +4,23 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 709x39
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=13775"
-          LayoutText {#text} at (352,0) size 709x39
-            text run at (352,0) width 5: " "
-            text run at (356,0) width 353: "REGRESSION: Popup button text should use \"natural\""
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 708x39
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=13775"
+          LayoutText {#text} at (352,0) size 708x39
+            text run at (352,0) width 4: " "
+            text run at (356,0) width 352: "REGRESSION: Popup button text should use \"natural\""
             text run at (0,20) width 324: "directionality to match the items in the popup menu"
-        LayoutText {#text} at (323,20) size 5x19
-          text run at (323,20) width 5: "."
+        LayoutText {#text} at (324,20) size 4x19
+          text run at (324,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 660x19
-          text run at (0,0) width 507: "In all of the popup buttons below, the letter A should be on the left and the letter "
-          text run at (506,0) width 9 RTL: "\x{5D0}"
-          text run at (514,0) width 146: " should be on the right."
+        LayoutText {#text} at (0,0) size 659x19
+          text run at (0,0) width 506: "In all of the popup buttons below, the letter A should be on the left and the letter "
+          text run at (506,0) width 8 RTL: "\x{5D0}"
+          text run at (514,0) width 145: " should be on the right."
       LayoutBlockFlow {DIV} at (0,92) size 784x40
         LayoutBlockFlow {DIV} at (0,0) size 784x20
           LayoutMenuList {SELECT} at (0,0) size 70x20 [bgcolor=#C0C0C0] [border: (1px solid #A9A9A9)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.png
index 18234088..dd6b8fd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.png
index 02cfd99..2e9aa54 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.png
index e32c76f..d326096 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-expected.png
index ba24e48..2a44c5fa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-locale-hebrew-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-locale-hebrew-expected.png
index 50bdeb91..095ecd84 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-locale-hebrew-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-locale-hebrew-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-rtl-expected.png
index 059e0218..a95b6a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-with-scroll-bar-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-with-scroll-bar-expected.png
index eb19e31..4d92b83 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-with-scroll-bar-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-with-scroll-bar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.png
index 64bdf038..4ed5194 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-locale-hebrew-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-locale-hebrew-expected.png
index 47038e5a..92cf110 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-locale-hebrew-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-locale-hebrew-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png
index 057be89..70ddf7f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png
index b41bbb4c..e89c4e8f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/week-suggestion-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/week-suggestion-picker-appearance-expected.png
index 8d0a7c2bc..6f29b3f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/week-suggestion-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/week-suggestion-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/week-suggestion-picker-appearance-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/week-suggestion-picker-appearance-rtl-expected.png
index da5d64c..5e32dd3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/week-suggestion-picker-appearance-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/suggestion-picker/week-suggestion-picker-appearance-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/targeted-frame-submission-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/targeted-frame-submission-expected.png
index a144de2..cbffca2c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/targeted-frame-submission-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/targeted-frame-submission-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/targeted-frame-submission-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/targeted-frame-submission-expected.txt
index 615198a1..7385d5f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/targeted-frame-submission-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/targeted-frame-submission-expected.txt
@@ -10,10 +10,10 @@
               text run at (0,0) width 26: "form"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,38) size 784x40
-        LayoutText {#text} at (0,0) size 760x39
-          text run at (0,0) width 283: "This tests Targeted frame submission works. "
-          text run at (282,0) width 478: "If the test is successful, the text \"SUCCESS\" should be shown in the iframe"
-          text run at (0,20) width 42: "below."
+        LayoutText {#text} at (0,0) size 759x39
+          text run at (0,0) width 282: "This tests Targeted frame submission works. "
+          text run at (282,0) width 477: "If the test is successful, the text \"SUCCESS\" should be shown in the iframe"
+          text run at (0,20) width 41: "below."
       LayoutBlockFlow (anonymous) at (0,78) size 784x154
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,86) size 304x154
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-disabled-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-disabled-expected.png
index e61e2f1..962d36f6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-disabled-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-disabled-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-disabled-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-disabled-expected.txt
index d9a78afb..ad7d677c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-disabled-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-disabled-expected.txt
@@ -10,5 +10,5 @@
       LayoutText {#text} at (0,0) size 0x0
 layer at (10,31) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
-    LayoutText {#text} at (0,0) size 73x16
-      text run at (0,0) width 73: "Test Passed"
+    LayoutText {#text} at (0,0) size 72x16
+      text run at (0,0) width 72: "Test Passed"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-focus-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-focus-expected.png
index 08b60190..f3d8ccc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-focus-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-focus-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-focus-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-focus-expected.txt
index 72243fd..c4d124c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-focus-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-focus-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 754x19
-          text run at (0,0) width 754: "This test uses the new text field to test focus() and blur() and to make sure that onFocus and onBlur events fire correctly."
+        LayoutText {#text} at (0,0) size 753x19
+          text run at (0,0) width 753: "This test uses the new text field to test focus() and blur() and to make sure that onFocus and onBlur events fire correctly."
       LayoutBlockFlow {P} at (0,36) size 784x22
         LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (154,1) size 4x19
@@ -14,21 +14,21 @@
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,74) size 784x80
         LayoutBR {BR} at (0,0) size 0x19
-        LayoutText {#text} at (0,20) size 320x19
-          text run at (0,20) width 320: "Test Passed. Text field 1's onFocus event has fired."
-        LayoutBR {BR} at (319,35) size 1x0
-        LayoutText {#text} at (0,40) size 310x19
-          text run at (0,40) width 310: "Test Passed. Text field 1's onBlur event has fired."
-        LayoutBR {BR} at (309,55) size 1x0
-        LayoutText {#text} at (0,60) size 320x19
-          text run at (0,60) width 320: "Test Passed. Text field 2's onFocus event has fired."
+        LayoutText {#text} at (0,20) size 318x19
+          text run at (0,20) width 318: "Test Passed. Text field 1's onFocus event has fired."
+        LayoutBR {BR} at (318,35) size 0x0
+        LayoutText {#text} at (0,40) size 308x19
+          text run at (0,40) width 308: "Test Passed. Text field 1's onBlur event has fired."
+        LayoutBR {BR} at (308,55) size 0x0
+        LayoutText {#text} at (0,60) size 318x19
+          text run at (0,60) width 318: "Test Passed. Text field 2's onFocus event has fired."
       LayoutBlockFlow {P} at (0,170) size 784x0
 layer at (10,47) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
-    LayoutText {#text} at (0,0) size 90x16
-      text run at (0,0) width 90: "My Text Field 1"
+    LayoutText {#text} at (0,0) size 89x16
+      text run at (0,0) width 89: "My Text Field 1"
 layer at (168,47) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
-    LayoutText {#text} at (0,0) size 90x16
-      text run at (0,0) width 90: "My Text Field 2"
+    LayoutText {#text} at (0,0) size 89x16
+      text run at (0,0) width 89: "My Text Field 2"
 caret: position 0 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {INPUT} of child 1 {P} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-preventDefault-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-preventDefault-expected.txt
index 468ca8d..8e24a92 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-preventDefault-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-preventDefault-expected.txt
@@ -13,7 +13,7 @@
     LayoutText {#text} at (0,0) size 138x16
       text run at (0,0) width 138: "No caret should be here"
 layer at (10,70) size 323x40
-  LayoutBlockFlow (positioned) {DIV} at (10,70) size 322.72x40
+  LayoutBlockFlow (positioned) {DIV} at (10,70) size 323x40
     LayoutBR {BR} at (0,0) size 0x19
     LayoutText {#text} at (0,20) size 323x19
       text run at (0,20) width 323: "mousedown on target [object HTMLInputElement]"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-readonly-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-readonly-expected.png
index f9e80b5..aae59d1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-readonly-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-readonly-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-readonly-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-readonly-expected.txt
index 1a65338f..f91352ba 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-readonly-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-readonly-expected.txt
@@ -10,6 +10,6 @@
       LayoutText {#text} at (0,0) size 0x0
 layer at (10,31) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
-    LayoutText {#text} at (0,0) size 73x16
-      text run at (0,0) width 73: "Test Passed"
+    LayoutText {#text} at (0,0) size 72x16
+      text run at (0,0) width 72: "Test Passed"
 caret: position 0 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 2 {INPUT} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-selection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-selection-expected.png
index 8868061..15edcfd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-selection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-selection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-selection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-selection-expected.txt
index 3f69114..34296a852 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-selection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-selection-expected.txt
@@ -11,65 +11,65 @@
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,74) size 769x540
         LayoutBR {BR} at (0,0) size 0x19
-        LayoutText {#text} at (0,20) size 196x19
-          text run at (0,20) width 196: "Test 1: setSelectionRange(0, 0)"
-        LayoutBR {BR} at (195,35) size 1x0
+        LayoutText {#text} at (0,20) size 195x19
+          text run at (0,20) width 195: "Test 1: setSelectionRange(0, 0)"
+        LayoutBR {BR} at (195,35) size 0x0
         LayoutText {#text} at (0,40) size 47x19
           text run at (0,40) width 47: "Passed."
         LayoutBR {BR} at (47,55) size 0x0
         LayoutBR {BR} at (0,60) size 0x19
-        LayoutText {#text} at (0,80) size 160x19
-          text run at (0,80) width 160: "Test 2: selectionEnd = 17"
-        LayoutBR {BR} at (159,95) size 1x0
+        LayoutText {#text} at (0,80) size 159x19
+          text run at (0,80) width 159: "Test 2: selectionEnd = 17"
+        LayoutBR {BR} at (159,95) size 0x0
         LayoutText {#text} at (0,100) size 47x19
           text run at (0,100) width 47: "Passed."
         LayoutBR {BR} at (47,115) size 0x0
         LayoutBR {BR} at (0,120) size 0x19
-        LayoutText {#text} at (0,140) size 155x19
-          text run at (0,140) width 155: "Test 3: selectionStart = 1"
-        LayoutBR {BR} at (154,155) size 1x0
+        LayoutText {#text} at (0,140) size 154x19
+          text run at (0,140) width 154: "Test 3: selectionStart = 1"
+        LayoutBR {BR} at (154,155) size 0x0
         LayoutText {#text} at (0,160) size 47x19
           text run at (0,160) width 47: "Passed."
         LayoutBR {BR} at (47,175) size 0x0
         LayoutBR {BR} at (0,180) size 0x19
-        LayoutText {#text} at (0,200) size 204x19
-          text run at (0,200) width 204: "Test 4: setSelectionRange(10, 3)"
-        LayoutBR {BR} at (203,215) size 1x0
+        LayoutText {#text} at (0,200) size 203x19
+          text run at (0,200) width 203: "Test 4: setSelectionRange(10, 3)"
+        LayoutBR {BR} at (203,215) size 0x0
         LayoutText {#text} at (0,220) size 47x19
           text run at (0,220) width 47: "Passed."
         LayoutBR {BR} at (47,235) size 0x0
         LayoutBR {BR} at (0,240) size 0x19
-        LayoutText {#text} at (0,260) size 152x19
-          text run at (0,260) width 152: "Test 5: selectionEnd = 2"
-        LayoutBR {BR} at (151,275) size 1x0
+        LayoutText {#text} at (0,260) size 151x19
+          text run at (0,260) width 151: "Test 5: selectionEnd = 2"
+        LayoutBR {BR} at (151,275) size 0x0
         LayoutText {#text} at (0,280) size 47x19
           text run at (0,280) width 47: "Passed."
         LayoutBR {BR} at (47,295) size 0x0
         LayoutBR {BR} at (0,300) size 0x19
-        LayoutText {#text} at (0,320) size 196x19
-          text run at (0,320) width 196: "Test 6: setSelectionRange(5, 4)"
-        LayoutBR {BR} at (195,335) size 1x0
+        LayoutText {#text} at (0,320) size 195x19
+          text run at (0,320) width 195: "Test 6: setSelectionRange(5, 4)"
+        LayoutBR {BR} at (195,335) size 0x0
         LayoutText {#text} at (0,340) size 47x19
           text run at (0,340) width 47: "Passed."
         LayoutBR {BR} at (47,355) size 0x0
         LayoutBR {BR} at (0,360) size 0x19
-        LayoutText {#text} at (0,380) size 206x19
-          text run at (0,380) width 206: "Test 7: setSelectionRange(-5, -4)"
-        LayoutBR {BR} at (205,395) size 1x0
+        LayoutText {#text} at (0,380) size 205x19
+          text run at (0,380) width 205: "Test 7: setSelectionRange(-5, -4)"
+        LayoutBR {BR} at (205,395) size 0x0
         LayoutText {#text} at (0,400) size 47x19
           text run at (0,400) width 47: "Passed."
         LayoutBR {BR} at (47,415) size 0x0
         LayoutBR {BR} at (0,420) size 0x19
-        LayoutText {#text} at (0,440) size 209x19
-          text run at (0,440) width 209: "Test 8: setSelectionRange(-5, 80)"
-        LayoutBR {BR} at (208,455) size 1x0
+        LayoutText {#text} at (0,440) size 208x19
+          text run at (0,440) width 208: "Test 8: setSelectionRange(-5, 80)"
+        LayoutBR {BR} at (208,455) size 0x0
         LayoutText {#text} at (0,460) size 47x19
           text run at (0,460) width 47: "Passed."
         LayoutBR {BR} at (47,475) size 0x0
         LayoutBR {BR} at (0,480) size 0x19
-        LayoutText {#text} at (0,500) size 204x19
-          text run at (0,500) width 204: "Test 9: setSelectionRange(3, 12)"
-        LayoutBR {BR} at (203,515) size 1x0
+        LayoutText {#text} at (0,500) size 203x19
+          text run at (0,500) width 203: "Test 9: setSelectionRange(3, 12)"
+        LayoutBR {BR} at (203,515) size 0x0
         LayoutText {#text} at (0,520) size 47x19
           text run at (0,520) width 47: "Passed."
         LayoutBR {BR} at (47,535) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-visibility-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-visibility-expected.png
index 05f818a9..6269768 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-visibility-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-visibility-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-visibility-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-visibility-expected.txt
index 73be5b0..e99f1267 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-visibility-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-appearance-visibility-expected.txt
@@ -13,5 +13,5 @@
       LayoutBlockFlow {P} at (0,74) size 784x0
 layer at (10,47) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
-    LayoutText {#text} at (0,0) size 73x16
-      text run at (0,0) width 73: "Test Passed"
+    LayoutText {#text} at (0,0) size 72x16
+      text run at (0,0) width 72: "Test Passed"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-double-click-selection-gap-bug-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-double-click-selection-gap-bug-expected.png
index b07cd548d..7e7f6b8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-double-click-selection-gap-bug-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-double-click-selection-gap-bug-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-double-click-selection-gap-bug-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-double-click-selection-gap-bug-expected.txt
index 013d327..fe72c79 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-double-click-selection-gap-bug-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-double-click-selection-gap-bug-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 414x19
           text run at (0,0) width 325: "The top table was resized while the field\x{2019}s contents "
-          text run at (324,0) width 90: "were selected."
+          text run at (325,0) width 89: "were selected."
       LayoutTable {TABLE} at (0,36) size 198x244
         LayoutTableSection {TBODY} at (0,0) size 198x244
           LayoutTableRow {TR} at (0,2) size 198x240
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-field-text-truncated-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-field-text-truncated-expected.png
index 9885205..89578415 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-field-text-truncated-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-field-text-truncated-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-field-text-truncated-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-field-text-truncated-expected.txt
index a8d30e7..2099906 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-field-text-truncated-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-field-text-truncated-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x28
-        LayoutText {#text} at (0,0) size 777x28
-          text run at (0,0) width 777: "Text inside input field should not be cut off at the bottom when its font is larger than the body font size. If the descenders in \"something gjpqy\" below are all visible, the"
+        LayoutText {#text} at (0,0) size 778x28
+          text run at (0,0) width 778: "Text inside input field should not be cut off at the bottom when its font is larger than the body font size. If the descenders in \"something gjpqy\" below are all visible, the"
           text run at (0,14) width 343: "test passes. If they are cut off by the bottom of the input box, the test fails."
       LayoutBlockFlow (anonymous) at (0,39) size 784x21
         LayoutTextControl {INPUT} at (0,0) size 300x21 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-no-renderer-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-no-renderer-expected.png
index 51da6b0..0d7748d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-no-renderer-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-no-renderer-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-placeholder-visibility-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-placeholder-visibility-1-expected.png
index 27d7b1e..1d225b0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-placeholder-visibility-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-placeholder-visibility-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-placeholder-visibility-1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-placeholder-visibility-1-expected.txt
index ef81cbe..d78adc3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-placeholder-visibility-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-placeholder-visibility-1-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 342x19
-          text run at (0,0) width 342: "Focus the field, focus away, then focus the field again."
+        LayoutText {#text} at (0,0) size 341x19
+          text run at (0,0) width 341: "Focus the field, focus away, then focus the field again."
       LayoutBlockFlow {DIV} at (0,36) size 784x22
         LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-placeholder-visibility-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-placeholder-visibility-3-expected.png
index abf7750f..e2859c9c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-placeholder-visibility-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-placeholder-visibility-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-readonly-autoscroll-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-readonly-autoscroll-expected.png
index e727364..3432f6a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-readonly-autoscroll-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-readonly-autoscroll-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-readonly-autoscroll-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-readonly-autoscroll-expected.txt
index f3b4e3d..2d25fc5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-readonly-autoscroll-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-readonly-autoscroll-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {A} at (0,0) size 69x19 [color=#0000EE]
-          LayoutText {#text} at (51,0) size 69x19
-            text run at (51,0) width 69: "bug 11534"
-        LayoutText {#text} at (119,0) size 5x19
-          text run at (119,0) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {A} at (0,0) size 68x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 68x19
+            text run at (51,0) width 68: "bug 11534"
+        LayoutText {#text} at (119,0) size 4x19
+          text run at (119,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 351x19
           text run at (0,0) width 351: "Readonly text fields don't scroll when selecting content."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-table-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-table-expected.png
index 34bd499803..c9ab14a2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-table-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-table-expected.txt
index 7aa1c51..3648ca49 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-table-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-table-expected.txt
@@ -7,16 +7,16 @@
         LayoutText {#text} at (0,0) size 246x19
           text run at (0,0) width 246: "This tests minMaxWidth for text fields."
       LayoutBlockFlow {P} at (0,36) size 769x20
-        LayoutText {#text} at (0,0) size 69x19
-          text run at (0,0) width 69: "Test case 1"
+        LayoutText {#text} at (0,0) size 68x19
+          text run at (0,0) width 68: "Test case 1"
       LayoutTable {TABLE} at (0,72) size 118x40 [border: (3px solid #0000FF)]
         LayoutTableSection {TBODY} at (3,3) size 112x34
           LayoutTableRow {TR} at (0,2) size 112x30
             LayoutTableCell {TD} at (2,2) size 108x30 [border: (3px solid #FF0000)] [r=0 c=0 rs=1 cs=1]
               LayoutTextControl {INPUT} at (4,4) size 100x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,128) size 769x20
-        LayoutText {#text} at (0,0) size 69x19
-          text run at (0,0) width 69: "Test case 2"
+        LayoutText {#text} at (0,0) size 68x19
+          text run at (0,0) width 68: "Test case 2"
       LayoutTable {TABLE} at (0,164) size 166x72 [border: (3px solid #0000FF)]
         LayoutTableSection {TBODY} at (3,3) size 160x66
           LayoutTableRow {TR} at (0,2) size 160x30
@@ -32,8 +32,8 @@
             LayoutTableCell {TD} at (50,34) size 108x30 [border: (3px solid #FF0000)] [r=1 c=1 rs=1 cs=1]
               LayoutTextControl {INPUT} at (4,4) size 100x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,252) size 769x20
-        LayoutText {#text} at (0,0) size 69x19
-          text run at (0,0) width 69: "Test case 3"
+        LayoutText {#text} at (0,0) size 68x19
+          text run at (0,0) width 68: "Test case 3"
       LayoutTable {TABLE} at (0,288) size 54x80 [border: (3px solid #0000FF)]
         LayoutTableSection {TBODY} at (3,3) size 48x74
           LayoutTableRow {TR} at (0,2) size 48x70
@@ -43,8 +43,8 @@
                 text run at (4,24) width 32: "30px"
               LayoutTextControl {INPUT} at (4,44) size 30x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,384) size 769x20
-        LayoutText {#text} at (0,0) size 69x19
-          text run at (0,0) width 69: "Test case 4"
+        LayoutText {#text} at (0,0) size 68x19
+          text run at (0,0) width 68: "Test case 4"
       LayoutTable {TABLE} at (0,420) size 218x70 [border: (3px solid #0000FF)]
         LayoutTableSection {TBODY} at (3,3) size 212x64
           LayoutTableRow {TR} at (0,2) size 212x30
@@ -56,16 +56,16 @@
                 LayoutText {#text} at (0,0) size 40x19
                   text run at (0,0) width 40: "200px"
       LayoutBlockFlow {P} at (0,506) size 769x20
-        LayoutText {#text} at (0,0) size 69x19
-          text run at (0,0) width 69: "Test case 5"
+        LayoutText {#text} at (0,0) size 68x19
+          text run at (0,0) width 68: "Test case 5"
       LayoutTable {TABLE} at (0,542) size 88x40 [border: (3px solid #0000FF)]
         LayoutTableSection {TBODY} at (3,3) size 82x34
           LayoutTableRow {TR} at (0,2) size 82x30
             LayoutTableCell {TD} at (2,2) size 78x30 [border: (3px solid #FF0000)] [r=0 c=0 rs=1 cs=1]
               LayoutTextControl {INPUT} at (4,4) size 70x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,598) size 769x20
-        LayoutText {#text} at (0,0) size 69x19
-          text run at (0,0) width 69: "Test case 6"
+        LayoutText {#text} at (0,0) size 68x19
+          text run at (0,0) width 68: "Test case 6"
       LayoutTable {TABLE} at (0,634) size 172x70 [border: (3px solid #0000FF)]
         LayoutTableSection {TBODY} at (3,3) size 166x64
           LayoutTableRow {TR} at (0,2) size 166x30
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-double-click-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-double-click-expected.png
index 35188d1..1d5a075 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-double-click-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-double-click-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-double-click-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-double-click-expected.txt
index ec922bf..c745e849 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-double-click-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-double-click-expected.txt
@@ -7,8 +7,8 @@
         LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,38) size 784x20
-        LayoutText {#text} at (0,0) size 566x19
-          text run at (0,0) width 566: "Tests double-clicking on a word. If the test succeeds, the word \"word\" should be selected."
+        LayoutText {#text} at (0,0) size 565x19
+          text run at (0,0) width 565: "Tests double-clicking on a word. If the test succeeds, the word \"word\" should be selected."
 layer at (10,11) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
     LayoutText {#text} at (0,0) size 74x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-drag-down-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-drag-down-expected.png
index cc66ddc..01176ad 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-drag-down-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-drag-down-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-drag-down-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-drag-down-expected.txt
index 5a3a019..c9e37a0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-drag-down-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-drag-down-expected.txt
@@ -7,8 +7,8 @@
         LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,38) size 784x20
-        LayoutText {#text} at (0,0) size 731x19
-          text run at (0,0) width 731: "Tests drag-selecting down. If the test succeeds, the text from the center to the end of the text field should be selected."
+        LayoutText {#text} at (0,0) size 730x19
+          text run at (0,0) width 730: "Tests drag-selecting down. If the test succeeds, the text from the center to the end of the text field should be selected."
 layer at (10,11) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
     LayoutText {#text} at (0,0) size 134x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-option-delete-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-option-delete-expected.png
index 36d82e9f..3f53996d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-option-delete-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-option-delete-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-option-delete-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-option-delete-expected.txt
index a02702a21e..10561bbb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-option-delete-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-option-delete-expected.txt
@@ -7,8 +7,8 @@
         LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,38) size 784x20
-        LayoutText {#text} at (0,0) size 643x19
-          text run at (0,0) width 643: "Tests option-deleting a word. If the test succeeds, the word \"word\" should end up with a space after it."
+        LayoutText {#text} at (0,0) size 642x19
+          text run at (0,0) width 642: "Tests option-deleting a word. If the test succeeds, the word \"word\" should end up with a space after it."
 layer at (10,11) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
     LayoutText {#text} at (0,0) size 31x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-self-emptying-click-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-self-emptying-click-expected.png
index db9bea47..cc23791 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-self-emptying-click-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-self-emptying-click-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-self-emptying-click-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-self-emptying-click-expected.txt
index 23e6484..a98dba4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-self-emptying-click-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/input-text-self-emptying-click-expected.txt
@@ -7,8 +7,8 @@
         LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,38) size 784x40
-        LayoutText {#text} at (0,0) size 775x39
-          text run at (0,0) width 775: "Tests clicking on an input element that has a value that self-destructs. If the test succeeds, there should be a blinking caret in"
+        LayoutText {#text} at (0,0) size 774x39
+          text run at (0,0) width 774: "Tests clicking on an input element that has a value that self-destructs. If the test succeeds, there should be a blinking caret in"
           text run at (0,20) width 82: "the text field."
 layer at (10,11) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/text-font-height-mismatch-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/text-font-height-mismatch-expected.png
index 910f037e..85ba91d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/text-font-height-mismatch-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/text-font-height-mismatch-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/text-font-height-mismatch-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/text-font-height-mismatch-expected.txt
index e1b574d..5fea014 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/text-font-height-mismatch-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/text-font-height-mismatch-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x144
     LayoutBlockFlow {BODY} at (8,16) size 784x120
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 266x19
-          text run at (0,0) width 266: "Editable text should be centered vertically."
+        LayoutText {#text} at (0,0) size 265x19
+          text run at (0,0) width 265: "Editable text should be centered vertically."
       LayoutBlockFlow {DIV} at (0,36) size 784x28
         LayoutTextControl {INPUT} at (0,0) size 369x28 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
         LayoutTextControl {INPUT} at (369,0) size 369x28 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/textfield-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/textfield-focus-ring-expected.png
index 627ca6e0..a306d38 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/textfield-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/textfield-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/textfield-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/textfield-focus-ring-expected.txt
index 81f14f9..8c5eaa0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/textfield-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/textfield-focus-ring-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 779x39
           text run at (0,0) width 779: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for a text input"
-          text run at (0,20) width 567: "element. This test PASSED if a focus ring is drawn around the text input element (below)."
+          text run at (0,20) width 566: "element. This test PASSED if a focus ring is drawn around the text input element (below)."
       LayoutBlockFlow (anonymous) at (0,56) size 784x22
         LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/textfield-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/textfield-outline-expected.txt
index 12547aa6..074dad3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/textfield-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/text/textfield-outline-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 550x19
         text run at (0,0) width 550: "This tests that a negative outline-offset won't get in the way of a cursor in a text control."
-      LayoutBR {BR} at (549,15) size 1x0
+      LayoutBR {BR} at (550,15) size 0x0
       LayoutTextControl {INPUT} at (0,20) size 227x28 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
       LayoutText {#text} at (0,0) size 0x0
 layer at (9,30) size 225x24 scrollWidth 547
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/reset-textarea-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/reset-textarea-expected.png
index 940e6ab8..be01fa3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/reset-textarea-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/reset-textarea-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/reset-textarea-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/reset-textarea-expected.txt
index af9133a4..484f6d5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/reset-textarea-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/reset-textarea-expected.txt
@@ -17,14 +17,14 @@
         LayoutText {#text} at (0,0) size 358x19
           text run at (0,0) width 358: "This test verifies that textarea controls are properly reset. "
         LayoutBR {BR} at (358,15) size 0x0
-        LayoutText {#text} at (0,20) size 473x19
-          text run at (0,20) width 473: "You should see two element IDs below, and the word \"SUCCESS\" twice: "
-        LayoutBR {BR} at (472,35) size 1x0
-        LayoutText {#text} at (0,40) size 174x19
-          text run at (0,40) width 174: "noDefaultText: SUCCESS "
-        LayoutBR {BR} at (173,55) size 1x0
-        LayoutText {#text} at (0,60) size 175x19
-          text run at (0,60) width 175: "hasDefaultText: SUCCESS"
+        LayoutText {#text} at (0,20) size 471x19
+          text run at (0,20) width 471: "You should see two element IDs below, and the word \"SUCCESS\" twice: "
+        LayoutBR {BR} at (471,35) size 0x0
+        LayoutText {#text} at (0,40) size 173x19
+          text run at (0,40) width 173: "noDefaultText: SUCCESS "
+        LayoutBR {BR} at (173,55) size 0x0
+        LayoutText {#text} at (0,60) size 174x19
+          text run at (0,60) width 174: "hasDefaultText: SUCCESS"
 layer at (8,8) size 179x36 clip at (9,9) size 177x34
   LayoutTextControl {TEXTAREA} at (0,0) size 179x36 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
     LayoutBlockFlow {DIV} at (3,3) size 175x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textAreaLineHeight-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textAreaLineHeight-expected.png
index ab48f27..b81b21c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textAreaLineHeight-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textAreaLineHeight-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textAreaLineHeight-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textAreaLineHeight-expected.txt
index 164f4422..1b53571 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textAreaLineHeight-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textAreaLineHeight-expected.txt
@@ -8,15 +8,15 @@
           text run at (0,0) width 269: "line-height settings not reflected in textarea"
         LayoutBR {BR} at (269,0) size 0x19
       LayoutBlockFlow {P} at (0,36) size 769x271
-        LayoutText {#text} at (0,0) size 86x19
-          text run at (0,0) width 86: "TEXTAREA"
-        LayoutBR {BR} at (85,0) size 1x19
+        LayoutText {#text} at (0,0) size 85x19
+          text run at (0,0) width 85: "TEXTAREA"
+        LayoutBR {BR} at (85,0) size 0x19
         LayoutText {#text} at (406,211) size 4x19
           text run at (406,211) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
         LayoutBR {BR} at (0,231) size 0x19
-        LayoutText {#text} at (0,251) size 151x19
-          text run at (0,251) width 151: "PARAGRAPH - works"
+        LayoutText {#text} at (0,251) size 150x19
+          text run at (0,251) width 150: "PARAGRAPH - works"
       LayoutBlockFlow {P} at (0,323) size 402x202 [border: (1px dotted #C0C0C0)]
         LayoutText {#text} at (1,19) size 382x69
           text run at (1,19) width 382: "Demo text here that wraps a bit and should demonstrate"
@@ -33,23 +33,23 @@
       LayoutBlockFlow (anonymous) at (0,780.33) size 769x437
         LayoutBR {BR} at (0,0) size 0x19
         LayoutBR {BR} at (0,20) size 0x19
-        LayoutText {#text} at (0,40) size 123x19
-          text run at (0,40) width 123: "Un-Styled Textarea"
-        LayoutBR {BR} at (122,40) size 1x19
+        LayoutText {#text} at (0,40) size 122x19
+          text run at (0,40) width 122: "Un-Styled Textarea"
+        LayoutBR {BR} at (122,40) size 0x19
         LayoutText {#text} at (181,83) size 4x19
           text run at (181,83) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
         LayoutBR {BR} at (0,103) size 0x19
-        LayoutText {#text} at (0,123) size 213x19
-          text run at (0,123) width 213: "Totally Blank Un-Styled Textarea"
-        LayoutBR {BR} at (212,123) size 1x19
+        LayoutText {#text} at (0,123) size 211x19
+          text run at (0,123) width 211: "Totally Blank Un-Styled Textarea"
+        LayoutBR {BR} at (211,123) size 0x19
         LayoutText {#text} at (181,166) size 4x19
           text run at (181,166) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
         LayoutBR {BR} at (0,186) size 0x19
-        LayoutText {#text} at (0,206) size 211x19
-          text run at (0,206) width 211: "Totally Blank STYLED Textarea"
-        LayoutBR {BR} at (210,206) size 1x19
+        LayoutText {#text} at (0,206) size 209x19
+          text run at (0,206) width 209: "Totally Blank STYLED Textarea"
+        LayoutBR {BR} at (209,206) size 0x19
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,1233.33) size 769x0
 layer at (8,64) size 406x206 clip at (9,65) size 404x204
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-placeholder-visibility-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-placeholder-visibility-1-expected.png
index b5457f2..7b16741b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-placeholder-visibility-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-placeholder-visibility-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-placeholder-visibility-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-placeholder-visibility-2-expected.png
index 96d5bfe..59f1d0ee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-placeholder-visibility-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-placeholder-visibility-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-focus-ring-expected.png
index 7903ad51..7a966af 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-focus-ring-expected.txt
index d061d77..dde7630 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-focus-ring-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x79
   LayoutBlockFlow {HTML} at (0,0) size 800x79
     LayoutBlockFlow {BODY} at (8,8) size 784x63
-      LayoutText {#text} at (0,0) size 565x19
-        text run at (0,0) width 565: "Test passes if a focus ring is visible around text area when focused and scrolled to bottom."
-      LayoutBR {BR} at (564,0) size 1x19
+      LayoutText {#text} at (0,0) size 564x19
+        text run at (0,0) width 564: "Test passes if a focus ring is visible around text area when focused and scrolled to bottom."
+      LayoutBR {BR} at (564,0) size 0x19
       LayoutText {#text} at (0,0) size 0x0
 layer at (8,28) size 181x38 clip at (9,29) size 164x36 scrollY 48.00 scrollHeight 84
   LayoutTextControl {TEXTAREA} at (0,20) size 181x38 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-mask-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-mask-expected.png
index cb99ac2..72480ed 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-mask-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-mask-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-mask-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-mask-expected.txt
index 82c277bd9..2b87f8f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-mask-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-scrolled-mask-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x79
   LayoutBlockFlow {HTML} at (0,0) size 800x79
     LayoutBlockFlow {BODY} at (8,8) size 784x63
-      LayoutText {#text} at (0,0) size 532x19
-        text run at (0,0) width 532: "Test passes if the textarea's gray background and text are masked off to a 10x10 rect."
-      LayoutBR {BR} at (531,0) size 1x19
+      LayoutText {#text} at (0,0) size 531x19
+        text run at (0,0) width 531: "Test passes if the textarea's gray background and text are masked off to a 10x10 rect."
+      LayoutBR {BR} at (531,0) size 0x19
       LayoutText {#text} at (0,0) size 0x0
 layer at (8,28) size 181x38 clip at (9,29) size 164x36 transparent scrollY 48.00 scrollHeight 84
   LayoutTextControl {TEXTAREA} at (0,20) size 181x38 [bgcolor=#D3D3D3] [border: (1px solid #A9A9A9)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-width-expected.png
index c563f55..abf27394 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-width-expected.txt
index daa2a08..42c1abc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/textarea/textarea-width-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 777x39
-          text run at (0,0) width 777: "This text area should be drawn with a reasonable width. To match IE, using GDI fonts it should wrap at 66 characters (after"
+        LayoutText {#text} at (0,0) size 776x39
+          text run at (0,0) width 776: "This text area should be drawn with a reasonable width. To match IE, using GDI fonts it should wrap at 66 characters (after"
           text run at (0,20) width 532: "the X in the third set of digits). See https://bugs.webkit.org/show_bug.cgi?id=15312."
       LayoutBlockFlow (anonymous) at (0,40) size 784x264
         LayoutBR {BR} at (0,0) size 0x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/time/time-appearance-basic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/time/time-appearance-basic-expected.png
index 7bae63f..4680821e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/time/time-appearance-basic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/time/time-appearance-basic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/validation-bubble-appearance-iframe-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/validation-bubble-appearance-iframe-expected.png
index 54571656..46a1f61 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/validation-bubble-appearance-iframe-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/validation-bubble-appearance-iframe-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/validation-bubble-appearance-rtl-ui-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/validation-bubble-appearance-rtl-ui-expected.png
index b86bc3a..c796fc4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/validation-bubble-appearance-rtl-ui-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/validation-bubble-appearance-rtl-ui-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/visual-hebrew-text-field-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/visual-hebrew-text-field-expected.png
index af65f8a..77f6611e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/visual-hebrew-text-field-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/visual-hebrew-text-field-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/visual-hebrew-text-field-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/visual-hebrew-text-field-expected.txt
index cbf1ff1..5251e68 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/visual-hebrew-text-field-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/visual-hebrew-text-field-expected.txt
@@ -10,14 +10,14 @@
           LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
             LayoutText {#text} at (212,0) size 348x19
               text run at (212,0) width 348 LTR override: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8076"
-          LayoutText {#text} at (559,0) size 770x39
-            text run at (559,0) width 211 LTR override: " REGRESSION: native text fields"
-            text run at (0,20) width 249 LTR override: "are reversed on \"visual Hebrew\" pages"
-        LayoutText {#text} at (248,20) size 5x19
-          text run at (248,20) width 5 LTR override: "."
+          LayoutText {#text} at (560,0) size 770x39
+            text run at (560,0) width 210 LTR override: " REGRESSION: native text fields"
+            text run at (0,20) width 250 LTR override: "are reversed on \"visual Hebrew\" pages"
+        LayoutText {#text} at (250,20) size 4x19
+          text run at (250,20) width 4 LTR override: "."
       LayoutBlockFlow {P} at (0,74) size 784x20
-        LayoutText {#text} at (0,0) size 272x19
-          text run at (0,0) width 272 LTR override: "Text in the field should look like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
+        LayoutText {#text} at (0,0) size 271x19
+          text run at (0,0) width 271 LTR override: "Text in the field should look like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
       LayoutBlockFlow (anonymous) at (0,110) size 784x22
         LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/week/week-appearance-basic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/week/week-appearance-basic-expected.png
index bcc16d1d..586a097 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/week/week-appearance-basic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/week/week-appearance-basic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameElement-frame-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameElement-frame-expected.png
index 74c2254..674e430 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameElement-frame-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameElement-frame-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameElement-iframe-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameElement-iframe-expected.png
index 81740c7..fb14949 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameElement-iframe-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameElement-iframe-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameset-style-recalc-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameset-style-recalc-expected.png
index ea3b8fd..696570a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameset-style-recalc-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameset-style-recalc-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameset-style-recalc-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameset-style-recalc-expected.txt
index 8dde2be..a10822a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameset-style-recalc-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/frameset-style-recalc-expected.txt
@@ -11,19 +11,19 @@
       LayoutBlockFlow {HTML} at (0,0) size 800x200
         LayoutBlockFlow {BODY} at (8,8) size 784x176
           LayoutBlockFlow {P} at (0,0) size 784x40
-            LayoutText {#text} at (0,0) size 52x19
-              text run at (0,0) width 52: "Test for "
-            LayoutInline {I} at (0,0) size 721x39
-              LayoutInline {A} at (0,0) size 308x19 [color=#0000EE]
-                LayoutText {#text} at (51,0) size 308x19
-                  text run at (51,0) width 308: "https://bugs.webkit.org/show_bug.cgi?id=19348"
-              LayoutText {#text} at (358,0) size 721x39
-                text run at (358,0) width 5: " "
-                text run at (362,0) width 359: "REGRESSION (r34193): Setting the size of a frame with"
+            LayoutText {#text} at (0,0) size 51x19
+              text run at (0,0) width 51: "Test for "
+            LayoutInline {I} at (0,0) size 720x39
+              LayoutInline {A} at (0,0) size 307x19 [color=#0000EE]
+                LayoutText {#text} at (51,0) size 307x19
+                  text run at (51,0) width 307: "https://bugs.webkit.org/show_bug.cgi?id=19348"
+              LayoutText {#text} at (358,0) size 720x39
+                text run at (358,0) width 4: " "
+                text run at (362,0) width 358: "REGRESSION (r34193): Setting the size of a frame with"
                 text run at (0,20) width 66: "javascript "
-                text run at (66,20) width 232: "document.body.row no longer works"
-            LayoutText {#text} at (297,20) size 5x19
-              text run at (297,20) width 5: "."
+                text run at (66,20) width 233: "document.body.row no longer works"
+            LayoutText {#text} at (299,20) size 4x19
+              text run at (299,20) width 4: "."
           LayoutBlockFlow {P} at (0,56) size 784x20
             LayoutText {#text} at (0,0) size 204x19
               text run at (0,0) width 204: "This frame should be 200px tall."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/iframe-with-frameborder-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/iframe-with-frameborder-expected.png
index e56db72..492c538a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/iframe-with-frameborder-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/iframe-with-frameborder-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/iframe-with-frameborder-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/iframe-with-frameborder-expected.txt
index 1a2e3a1a..cb62ccb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/iframe-with-frameborder-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/iframe-with-frameborder-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 212x19
         text run at (0,0) width 212: "This iframe should have a border."
-      LayoutBR {BR} at (211,15) size 1x0
+      LayoutBR {BR} at (212,15) size 0x0
       LayoutText {#text} at (304,159) size 4x19
         text run at (304,159) width 4: " "
       LayoutBR {BR} at (0,0) size 0x0
@@ -17,7 +17,7 @@
       LayoutBR {BR} at (304,349) size 0x0
       LayoutText {#text} at (0,354) size 216x19
         text run at (0,354) width 216: "This iframe should have a border. "
-      LayoutBR {BR} at (215,369) size 1x0
+      LayoutBR {BR} at (216,369) size 0x0
       LayoutText {#text} at (0,0) size 0x0
 layer at (8,28) size 304x154
   LayoutIFrame {IFRAME} at (0,20) size 304x154 [border: (2px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/onlyCommentInIFrame-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/onlyCommentInIFrame-expected.png
index 1d1485f..e47c8e77 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/onlyCommentInIFrame-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/onlyCommentInIFrame-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/onlyCommentInIFrame-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/onlyCommentInIFrame-expected.txt
index b44bdbcd..668ec6d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/frames/onlyCommentInIFrame-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/frames/onlyCommentInIFrame-expected.txt
@@ -5,9 +5,9 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 780x59
         text run at (0,0) width 780: "The documents in the src attributes of the iframes below only contain comments. This test is for a bug where we would only"
-        text run at (0,20) width 768: "construct LayoutViews for such iframes. We need to propery construct an empty frame instead, so the LayoutView should"
+        text run at (0,20) width 769: "construct LayoutViews for such iframes. We need to propery construct an empty frame instead, so the LayoutView should"
         text run at (0,40) width 569: "have a LayoutBlockFlow and LayoutBlockFlow below it in the dump of the RenderTree. "
-      LayoutBR {BR} at (568,55) size 1x0
+      LayoutBR {BR} at (569,55) size 0x0
       LayoutText {#text} at (0,0) size 0x0
       LayoutBR {BR} at (0,0) size 0x0
       LayoutBR {BR} at (0,74) size 0x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/crash-on-zero-radius-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/crash-on-zero-radius-expected.png
index 9bf7323..3314b7a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/crash-on-zero-radius-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/crash-on-zero-radius-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/gradient-after-transparent-border-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/gradient-after-transparent-border-expected.png
index a49244e..dcf691f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/gradient-after-transparent-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/gradient-after-transparent-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/list-item-gradient-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/list-item-gradient-expected.png
index 5368a89..109537e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/list-item-gradient-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/list-item-gradient-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/list-item-gradient-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/list-item-gradient-expected.txt
index dda834a2..397c08a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/list-item-gradient-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/list-item-gradient-expected.txt
@@ -10,8 +10,8 @@
             text run at (0,0) width 59: "Item One"
         LayoutListItem {LI} at (40,20) size 744x20
           LayoutListMarker (anonymous) at (-14.50,7.50) size 7.50x7.50
-          LayoutText {#text} at (0,0) size 61x19
-            text run at (0,0) width 61: "Item Two"
+          LayoutText {#text} at (0,0) size 60x19
+            text run at (0,0) width 60: "Item Two"
         LayoutListItem {LI} at (40,40) size 744x20
           LayoutListMarker (anonymous) at (-14.50,7.50) size 7.50x7.50
           LayoutText {#text} at (0,0) size 69x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/radial-centered-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/radial-centered-expected.png
index 9f9e5d1..7ceefcfa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/radial-centered-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/radial-centered-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/radial-centered-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/radial-centered-expected.txt
index ef580bb9..1855ef7c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/radial-centered-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/gradients/radial-centered-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 633x19
           text run at (0,0) width 633: "The test passes if all four boxes have a radial gradient that's green in the center and black at the edge."
       LayoutBlockFlow {H1} at (0,41.44) size 784x37
-        LayoutText {#text} at (0,0) size 724x36
-          text run at (0,0) width 724: "Radial Gradients With One Center, Inner Radius > 0"
+        LayoutText {#text} at (0,0) size 725x36
+          text run at (0,0) width 725: "Radial Gradients With One Center, Inner Radius > 0"
       LayoutBlockFlow (anonymous) at (0,99.88) size 784x155
         LayoutBlockFlow {DIV} at (0,0) size 150x150
         LayoutText {#text} at (150,135) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/14498-positionForCoordinates-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/14498-positionForCoordinates-expected.png
index b32f06d..2c14705 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/14498-positionForCoordinates-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/14498-positionForCoordinates-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/baseline-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/baseline-vertical-expected.png
index 27269b44..e73d3531 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/baseline-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/baseline-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/contenteditable-baseline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/contenteditable-baseline-expected.png
index 3f6e8f7..482ee7b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/contenteditable-baseline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/contenteditable-baseline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/inline-block-vertical-align-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/inline-block-vertical-align-expected.png
index 968d3d4..c52e5b4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/inline-block-vertical-align-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/inline-block-vertical-align-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/overflow-clip-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/overflow-clip-expected.png
index 340e778..a49ea4a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/overflow-clip-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline-block/overflow-clip-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/br-text-decoration-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/br-text-decoration-expected.png
index 1ec7e55..7040818 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/br-text-decoration-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/br-text-decoration-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/continuation-outlines-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/continuation-outlines-expected.png
index 01a6370..152cf99 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/continuation-outlines-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/continuation-outlines-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/continuation-outlines-with-layers-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/continuation-outlines-with-layers-expected.png
index 6026fb13..a2aafa1f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/continuation-outlines-with-layers-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/continuation-outlines-with-layers-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/drawStyledEmptyInlines-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/drawStyledEmptyInlines-expected.png
index de92a5a..77e12ad 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/drawStyledEmptyInlines-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/drawStyledEmptyInlines-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/drawStyledEmptyInlinesWithWS-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/drawStyledEmptyInlinesWithWS-expected.png
index cd84d33e..dcd0034 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/drawStyledEmptyInlinesWithWS-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/drawStyledEmptyInlinesWithWS-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/emptyInlinesWithinLists-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/emptyInlinesWithinLists-expected.png
index 03f4f80..b5ab7742 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/emptyInlinesWithinLists-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/emptyInlinesWithinLists-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-borders-with-bidi-override-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-borders-with-bidi-override-expected.png
index 0660b531..59d83ffb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-borders-with-bidi-override-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-borders-with-bidi-override-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-expected.png
index c09b652..9605a289 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-long-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-long-image-expected.png
index 79ec2af5..5be815f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-long-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-long-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-repeat-x-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-repeat-x-expected.png
index a98e9e7..d5c215c7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-repeat-x-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-repeat-x-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-repeat-y-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-repeat-y-expected.png
index 29fdc3a..99c9009 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-repeat-y-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-box-background-repeat-y-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-continuation-borders-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-continuation-borders-expected.png
index 8ed9b803..002c807 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-continuation-borders-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-continuation-borders-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-focus-ring-expected.png
index bd7eb09..5b2d10d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/inline-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/left-right-center-inline-alignment-in-ltr-and-rtl-blocks-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/left-right-center-inline-alignment-in-ltr-and-rtl-blocks-expected.png
index 9f361d4d..1a831ca 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/left-right-center-inline-alignment-in-ltr-and-rtl-blocks-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/left-right-center-inline-alignment-in-ltr-and-rtl-blocks-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/nested-top-alignment-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/nested-top-alignment-expected.png
index 03c1482b..251d4eb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/nested-top-alignment-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/nested-top-alignment-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/outline-offset-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/outline-offset-expected.png
index fee8e04..8db355e1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/outline-offset-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/outline-offset-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/vertical-align-with-fallback-fonts-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/vertical-align-with-fallback-fonts-expected.png
index aae43e1..3dc7023 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/inline/vertical-align-with-fallback-fonts-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inline/vertical-align-with-fallback-fonts-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/002-expected.png
index f116df7..39ba17b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/002-expected.txt
index 1664bdd..ec730f48 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/002-expected.txt
@@ -9,8 +9,8 @@
             text run at (0,0) width 59: "Line One"
       LayoutBlockFlow (anonymous) at (0,36) size 784x20
         LayoutBlockFlow {P} at (0,0) size 784x20
-          LayoutText {#text} at (0,0) size 59x19
-            text run at (0,0) width 59: "Line Two"
+          LayoutText {#text} at (0,0) size 58x19
+            text run at (0,0) width 58: "Line Two"
       LayoutBlockFlow (anonymous) at (0,72) size 784x20
         LayoutInline {I} at (0,0) size 32x19
           LayoutText {#text} at (0,0) size 32x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/003-expected.png
index eddb7cf..e62373f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/003-expected.txt
index 6444460..1c5ca85 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/003-expected.txt
@@ -20,8 +20,8 @@
         LayoutInline {I} at (0,0) size 67x19
           LayoutText {#text} at (0,0) size 67x19
             text run at (0,0) width 67: "Italic only."
-        LayoutText {#text} at (66,0) size 37x19
-          text run at (66,0) width 37: " Plain"
+        LayoutText {#text} at (67,0) size 36x19
+          text run at (67,0) width 36: " Plain"
       LayoutBlockFlow {P} at (0,108) size 784x20
         LayoutText {#text} at (0,0) size 126x19
           text run at (0,0) width 126: "I should not be red. "
@@ -40,10 +40,10 @@
           LayoutInline {I} at (0,0) size 93x19
             LayoutText {#text} at (0,0) size 93x19
               text run at (0,0) width 93: "Italic and red. "
-          LayoutText {#text} at (92,0) size 31x19
-            text run at (92,0) width 31: "Red."
-        LayoutText {#text} at (122,0) size 127x19
-          text run at (122,0) width 127: " I should not be red."
+          LayoutText {#text} at (93,0) size 30x19
+            text run at (93,0) width 30: "Red."
+        LayoutText {#text} at (123,0) size 126x19
+          text run at (123,0) width 126: " I should not be red."
       LayoutBlockFlow (anonymous) at (0,180) size 784x20
         LayoutInline {B} at (0,0) size 131x19
           LayoutText {#text} at (0,0) size 36x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/007-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/007-expected.png
index 48bfc396..305889f2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/007-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/007-expected.txt
index 2edc3f7..9ab75da 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/007-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/007-expected.txt
@@ -14,8 +14,8 @@
                 text run at (0,0) width 35: "Hello"
           LayoutBlockFlow (anonymous) at (0,20) size 784x20
             LayoutBlockFlow {DIV} at (0,0) size 784x20
-              LayoutText {#text} at (0,0) size 39x19
-                text run at (0,0) width 39: "World"
+              LayoutText {#text} at (0,0) size 38x19
+                text run at (0,0) width 38: "World"
           LayoutBlockFlow (anonymous) at (0,40) size 784x0
             LayoutInline {A} at (0,0) size 0x0
             LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/008-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/008-expected.txt
index 3c6fb06..d4e4c270 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/008-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/008-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x577
       LayoutBlockFlow {P} at (0,0) size 784x18
-        LayoutText {#text} at (0,0) size 31x18
-          text run at (0,0) width 31: "Test"
+        LayoutText {#text} at (0,0) size 30x18
+          text run at (0,0) width 30: "Test"
 layer at (250,50) size 243x64
   LayoutBlockFlow (positioned) {DIV} at (250,50) size 243x64 [border: (2px solid #008000)]
     LayoutText {#text} at (22,22) size 199x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/012-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/012-expected.png
index 4eb67be..ee45c696 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/012-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/012-expected.txt
index 39609e20..1fb860f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/012-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/012-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {CENTER} at (0,0) size 784x20
-        LayoutInline {FONT} at (0,0) size 296x19
-          LayoutText {#text} at (244,0) size 296x19
-            text run at (244,0) width 296: "You should see a 100x100 green Image below."
+        LayoutInline {FONT} at (0,0) size 294x19
+          LayoutText {#text} at (245,0) size 294x19
+            text run at (245,0) width 294: "You should see a 100x100 green Image below."
       LayoutBlockFlow (anonymous) at (0,20) size 784x100
         LayoutInline {FONT} at (0,0) size 100x19
           LayoutBlockFlow {IMG} at (0,0) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/013-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/013-expected.txt
index ef4056b..1dd23d5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/013-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/013-expected.txt
@@ -3,5 +3,5 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584 [color=#FFFFFF] [bgcolor=#008000]
-      LayoutText {#text} at (0,0) size 316x19
-        text run at (0,0) width 316: "You should see white text on a green background."
+      LayoutText {#text} at (0,0) size 315x19
+        text run at (0,0) width 315: "You should see white text on a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/016-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/016-expected.png
index f0404cc..bfe3b7d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/016-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/016-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/016-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/016-expected.txt
index 0758f3a..23636a3a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/016-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/016-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 732x19
-          text run at (0,0) width 446: "You should see two 100x100 green squares with black borders below. "
-          text run at (445,0) width 287: "If you see only one square, the test has failed."
+        LayoutText {#text} at (0,0) size 730x19
+          text run at (0,0) width 444: "You should see two 100x100 green squares with black borders below. "
+          text run at (444,0) width 286: "If you see only one square, the test has failed."
       LayoutBlockFlow {P} at (0,36) size 784x104
         LayoutBlockFlow {IMG} at (0,0) size 104x104 [bgcolor=#008000] [border: (2px solid #000000)]
 layer at (10,46) size 100x100 clip at (11,47) size 98x98
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/017-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/017-expected.txt
index e2890dd..64bf45a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/017-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/017-expected.txt
@@ -6,9 +6,9 @@
       LayoutBlockFlow {P} at (0,0) size 784x0
         LayoutInline {A} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {A} at (0,0) size 154x19
-          LayoutText {#text} at (0,0) size 154x19
-            text run at (0,0) width 154: "You should see this text."
+        LayoutInline {A} at (0,0) size 153x19
+          LayoutText {#text} at (0,0) size 153x19
+            text run at (0,0) width 153: "You should see this text."
       LayoutTable {TABLE} at (0,36) size 4x4
         LayoutTableSection {TBODY} at (0,0) size 4x4
           LayoutTableRow {TR} at (0,2) size 4x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/019-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/019-expected.png
index f8046b67..ae643539 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/019-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/019-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/019-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/019-expected.txt
index 99f6579..f53d22f8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/019-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/019-expected.txt
@@ -8,12 +8,12 @@
           LayoutInline {NOBR} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,0) size 784x69
         LayoutBlockFlow (anonymous) at (0,0) size 784x40
-          LayoutInline {B} at (0,0) size 762x39
+          LayoutInline {B} at (0,0) size 761x39
             LayoutInline {NOBR} at (0,0) size 219x19
               LayoutText {#text} at (0,0) size 219x19
                 text run at (0,0) width 219: "This text is in a div inside a nobr"
-            LayoutText {#text} at (219,0) size 762x39
-              text run at (219,0) width 543: "More text that should not be in the nobr, i.e., the nobr should have closed the div"
+            LayoutText {#text} at (219,0) size 761x39
+              text run at (219,0) width 542: "More text that should not be in the nobr, i.e., the nobr should have closed the div"
               text run at (0,20) width 122: "inside it implicitly."
         LayoutBlockFlow {PRE} at (0,53) size 784x16
           LayoutText {#text} at (0,0) size 272x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/020-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/020-expected.png
index 35d00273..a645a44 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/020-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/020-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/020-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/020-expected.txt
index 2d855d7..a9a3ef9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/020-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/020-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x36
     LayoutBlockFlow {body} at (8,8) size 784x20
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 28x19
-          text run at (0,0) width 28: "Text"
+        LayoutText {#text} at (0,0) size 27x19
+          text run at (0,0) width 27: "Text"
       LayoutTable {table} at (0,20) size 0x0
       LayoutTable (anonymous) at (0,20) size 0x0
         LayoutTableCol {colgroup} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/021-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/021-expected.png
index 168b8ed..f0f0cb2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/021-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/021-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/021-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/021-expected.txt
index ce1cde7..7dec710 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/021-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/021-expected.txt
@@ -7,16 +7,16 @@
         LayoutText {#text} at (0,0) size 266x19
           text run at (0,0) width 266: "All the text below should be part of a link."
       LayoutBlockFlow (anonymous) at (0,36) size 784x40
-        LayoutInline {NOBR} at (0,0) size 26x19
-          LayoutInline {A} at (0,0) size 26x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 26x19
-              text run at (0,0) width 26: "Test"
-        LayoutInline {A} at (0,0) size 62x19 [color=#0000EE]
-          LayoutText {#text} at (25,0) size 62x19
-            text run at (25,0) width 62: " more test"
-        LayoutBR {BR} at (86,15) size 1x0
+        LayoutInline {NOBR} at (0,0) size 25x19
+          LayoutInline {A} at (0,0) size 25x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 25x19
+              text run at (0,0) width 25: "Test"
+        LayoutInline {A} at (0,0) size 61x19 [color=#0000EE]
+          LayoutText {#text} at (25,0) size 61x19
+            text run at (25,0) width 61: " more test"
+        LayoutBR {BR} at (86,15) size 0x0
         LayoutWordBreak {WBR} at (0,0) size 0x0
-        LayoutInline {A} at (0,0) size 87x19 [color=#0000EE]
-          LayoutText {#text} at (0,20) size 87x19
-            text run at (0,20) width 87: "Test more test"
-        LayoutBR {BR} at (86,35) size 1x0
+        LayoutInline {A} at (0,0) size 86x19 [color=#0000EE]
+          LayoutText {#text} at (0,20) size 86x19
+            text run at (0,20) width 86: "Test more test"
+        LayoutBR {BR} at (86,35) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/junk-data-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/junk-data-expected.png
index b0e30d4..4b438a3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/junk-data-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/junk-data-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-address-end-tag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-address-end-tag-expected.png
index 2b69dec..db8e12f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-address-end-tag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-address-end-tag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-address-end-tag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-address-end-tag-expected.txt
index a539544..f7f7b03 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-address-end-tag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-address-end-tag-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {A} at (0,0) size 121x19 [color=#0000EE]
-          LayoutText {#text} at (51,0) size 121x19
-            text run at (51,0) width 121: "Bugzilla Bug 7724"
-        LayoutText {#text} at (171,0) size 476x19
-          text run at (171,0) width 476: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {A} at (0,0) size 120x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 120x19
+            text run at (51,0) width 120: "Bugzilla Bug 7724"
+        LayoutText {#text} at (171,0) size 475x19
+          text run at (171,0) width 475: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
       LayoutBlockFlow {ADDRESS} at (0,20) size 784x20
         LayoutText {#text} at (0,0) size 59x19
           text run at (0,0) width 59: "addresstr"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dl-end-tag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dl-end-tag-expected.png
index 8c69f76..0d89e3bc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dl-end-tag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dl-end-tag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dl-end-tag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dl-end-tag-expected.txt
index 1d1b10ca..d3375fd8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dl-end-tag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dl-end-tag-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {DIV} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {A} at (0,0) size 121x19 [color=#0000EE]
-          LayoutText {#text} at (51,0) size 121x19
-            text run at (51,0) width 121: "Bugzilla Bug 7724"
-        LayoutText {#text} at (171,0) size 476x19
-          text run at (171,0) width 476: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {A} at (0,0) size 120x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 120x19
+            text run at (51,0) width 120: "Bugzilla Bug 7724"
+        LayoutText {#text} at (171,0) size 475x19
+          text run at (171,0) width 475: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
       LayoutBlockFlow {DL} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 21x19
           text run at (0,0) width 21: "dltr"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dt-end-tag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dt-end-tag-expected.png
index 73fb803..858c712 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dt-end-tag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dt-end-tag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dt-end-tag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dt-end-tag-expected.txt
index c19bcf51..cfbb8e9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dt-end-tag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-dt-end-tag-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {A} at (0,0) size 121x19 [color=#0000EE]
-          LayoutText {#text} at (51,0) size 121x19
-            text run at (51,0) width 121: "Bugzilla Bug 7724"
-        LayoutText {#text} at (171,0) size 476x19
-          text run at (171,0) width 476: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {A} at (0,0) size 120x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 120x19
+            text run at (51,0) width 120: "Bugzilla Bug 7724"
+        LayoutText {#text} at (171,0) size 475x19
+          text run at (171,0) width 475: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
       LayoutBlockFlow {DT} at (0,20) size 784x20
         LayoutText {#text} at (0,0) size 21x19
           text run at (0,0) width 21: "dttr"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-end-tag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-end-tag-expected.png
index dbf9688..31c2c26 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-end-tag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-end-tag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-end-tag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-end-tag-expected.txt
index fb793dc..fb05caa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-end-tag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-end-tag-expected.txt
@@ -14,10 +14,10 @@
         LayoutText {#text} at (0,0) size 427x22
           text run at (0,0) width 427: "Below is a rendering of the page up to the first error."
     LayoutBlockFlow (anonymous) at (0,171.88) size 800x20
-      LayoutInline {body} at (0,0) size 179x19
+      LayoutInline {body} at (0,0) size 178x19
         LayoutText {#text} at (0,0) size 0x0
-        LayoutInline {p} at (0,0) size 179x19
-          LayoutText {#text} at (0,0) size 179x19
-            text run at (0,0) width 179: "You should see errors above"
+        LayoutInline {p} at (0,0) size 178x19
+          LayoutText {#text} at (0,0) size 178x19
+            text run at (0,0) width 178: "You should see errors above"
         LayoutText {#text} at (0,0) size 0x0
         LayoutInline {p} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-font-end-tag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-font-end-tag-expected.png
index 7ee3c28..686cf09 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-font-end-tag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-font-end-tag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-font-end-tag-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-font-end-tag-expected.txt
index 194a3b4..71237eb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-font-end-tag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/missing-font-end-tag-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {A} at (0,0) size 121x19 [color=#0000EE]
-          LayoutText {#text} at (51,0) size 121x19
-            text run at (51,0) width 121: "Bugzilla Bug 7724"
-        LayoutText {#text} at (171,0) size 476x19
-          text run at (171,0) width 476: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {A} at (0,0) size 120x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 120x19
+            text run at (51,0) width 120: "Bugzilla Bug 7724"
+        LayoutText {#text} at (171,0) size 475x19
+          text run at (171,0) width 475: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
       LayoutBlockFlow (anonymous) at (0,20) size 784x20
         LayoutInline {FONT} at (0,0) size 34x19
           LayoutText {#text} at (0,0) size 34x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/nestedh3s-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/nestedh3s-expected.png
index 7a625348..240d767 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/nestedh3s-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/nestedh3s-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/table-inside-stray-table-content-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/table-inside-stray-table-content-expected.png
index 1865f0a..54aa3a4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/table-inside-stray-table-content-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/table-inside-stray-table-content-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/table-inside-stray-table-content-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/table-inside-stray-table-content-expected.txt
index 16dafc4f..79c400e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/table-inside-stray-table-content-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/invalid/table-inside-stray-table-content-expected.txt
@@ -10,12 +10,12 @@
         LayoutBlockFlow {DIV} at (2,2) size 780x50 [border: (10px solid #008000)]
           LayoutBlockFlow {DIV} at (10,10) size 760x14 [border: (2px solid #0000FF)]
         LayoutTable {TABLE} at (2,52) size 0x0
-        LayoutTable {TABLE} at (2,52) size 47x32 [border: (2px outset #808080)]
-          LayoutTableSection {TBODY} at (2,2) size 43x28
-            LayoutTableRow {TR} at (0,2) size 43x24
-              LayoutTableCell {TD} at (2,2) size 39x24 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
-                LayoutText {#text} at (2,2) size 35x19
-                  text run at (2,2) width 35: "Table"
+        LayoutTable {TABLE} at (2,52) size 46x32 [border: (2px outset #808080)]
+          LayoutTableSection {TBODY} at (2,2) size 42x28
+            LayoutTableRow {TR} at (0,2) size 42x24
+              LayoutTableCell {TD} at (2,2) size 38x24 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                LayoutText {#text} at (2,2) size 34x19
+                  text run at (2,2) width 34: "Table"
       LayoutBlockFlow {P} at (0,138) size 784x20
         LayoutText {#text} at (0,0) size 71x19
           text run at (0,0) width 71: "SUCCESS"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/inline-dirty-z-order-lists-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/inline-dirty-z-order-lists-expected.png
index e210009d..085a7e4a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/inline-dirty-z-order-lists-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/inline-dirty-z-order-lists-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/inline-dirty-z-order-lists-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/inline-dirty-z-order-lists-expected.txt
index 39230eb..a2feaa1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/inline-dirty-z-order-lists-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/inline-dirty-z-order-lists-expected.txt
@@ -4,21 +4,21 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 770x39
-          LayoutInline {A} at (0,0) size 308x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 308x19
-              text run at (51,0) width 308: "https://bugs.webkit.org/show_bug.cgi?id=23848"
-          LayoutText {#text} at (358,0) size 770x39
-            text run at (358,0) width 412: " REGRESSION: Crash when mouse cursor moves over a link on"
-            text run at (0,20) width 121: "www.opportuno.de"
-        LayoutText {#text} at (120,20) size 5x19
-          text run at (120,20) width 5: "."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 769x39
+          LayoutInline {A} at (0,0) size 307x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 307x19
+              text run at (51,0) width 307: "https://bugs.webkit.org/show_bug.cgi?id=23848"
+          LayoutText {#text} at (358,0) size 769x39
+            text run at (358,0) width 411: " REGRESSION: Crash when mouse cursor moves over a link on"
+            text run at (0,20) width 120: "www.opportuno.de"
+        LayoutText {#text} at (120,20) size 4x19
+          text run at (120,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 735x19
+        LayoutText {#text} at (0,0) size 736x19
           text run at (0,0) width 449: "This tests that changing the z-index of an inline correctly invalidates its "
-          text run at (449,0) width 286: "layer\x{2019}s and its stacking context\x{2019}s z-index lists."
+          text run at (449,0) width 287: "layer\x{2019}s and its stacking context\x{2019}s z-index lists."
       LayoutBlockFlow (anonymous) at (0,92) size 784x0
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,100) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/layer-visibility-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/layer-visibility-expected.png
index c2dc86e..d416b257 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/layer-visibility-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/layer-visibility-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/normal-flow-hit-test-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/normal-flow-hit-test-expected.png
index 63809c48..79af3551 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/normal-flow-hit-test-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/normal-flow-hit-test-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/normal-flow-hit-test-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/normal-flow-hit-test-expected.txt
index 45ff275..6e6f469 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/normal-flow-hit-test-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/normal-flow-hit-test-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x325
     LayoutBlockFlow {BODY} at (8,16) size 784x301
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 58x19
-          text run at (0,0) width 58: "Tests for "
-        LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-          LayoutText {#text} at (57,0) size 306x19
-            text run at (57,0) width 306: "https://bugs.webkit.org/show_bug.cgi?id=24552"
+        LayoutText {#text} at (0,0) size 57x19
+          text run at (0,0) width 57: "Tests for "
+        LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
+          LayoutText {#text} at (57,0) size 305x19
+            text run at (57,0) width 305: "https://bugs.webkit.org/show_bug.cgi?id=24552"
       LayoutBlockFlow (anonymous) at (0,36) size 784x125
         LayoutText {#text} at (120,105) size 4x19
           text run at (120,105) width 4: " "
@@ -17,7 +17,7 @@
             text run at (124,105) width 61: "Link here"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,281) size 784x20
-        LayoutText {#text} at (0,0) size 168x19
-          text run at (0,0) width 168: "Found link node, so PASS"
+        LayoutText {#text} at (0,0) size 167x19
+          text run at (0,0) width 167: "Found link node, so PASS"
 layer at (18,62) size 100x100
   LayoutBlockFlow {DIV} at (10,10) size 100x100 [bgcolor=#808080]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-outline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-outline-expected.png
index e8f95e6..b313b436 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-outline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-outline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-outline-expected.txt
index 45825d1..78b4f7b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-outline-expected.txt
@@ -4,15 +4,15 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 764x39
-          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 349x19
-              text run at (51,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9193"
-          LayoutText {#text} at (399,0) size 764x39
-            text run at (399,0) width 5: " "
-            text run at (403,0) width 361: "REGRESSION: setting an opacity on an element with an"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 763x39
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 348x19
+              text run at (51,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9193"
+          LayoutText {#text} at (399,0) size 763x39
+            text run at (399,0) width 4: " "
+            text run at (403,0) width 360: "REGRESSION: setting an opacity on an element with an"
             text run at (0,20) width 314: "outline causes the outline to disappear completely"
         LayoutText {#text} at (314,20) size 4x19
           text run at (314,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-transforms-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-transforms-expected.png
index b45a203fe..8bbbc8f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-transforms-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-transforms-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-transforms-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-transforms-expected.txt
index b96e99a..cbcef3d7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-transforms-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-transforms-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 305x19
             text run at (0,0) width 305: "https://bugs.webkit.org/show_bug.cgi?id=22026"
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 651x19
-          text run at (0,0) width 651: "Test that elements with transform and opacity on a parent are not clipped. You should see no red below."
+        LayoutText {#text} at (0,0) size 648x19
+          text run at (0,0) width 648: "Test that elements with transform and opacity on a parent are not clipped. You should see no red below."
 layer at (150,200) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (150,200) size 100x100 [bgcolor=#FF0000]
 layer at (100,150) size 100x100 transparent
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/overflow-hidden-rounded-corners-occlusion-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/overflow-hidden-rounded-corners-occlusion-expected.png
index cc329ed18..44dfe8d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/overflow-hidden-rounded-corners-occlusion-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/overflow-hidden-rounded-corners-occlusion-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/overflow-hidden-rounded-corners-occlusion-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/overflow-hidden-rounded-corners-occlusion-expected.txt
index 25ced13..eb67091a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/overflow-hidden-rounded-corners-occlusion-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/overflow-hidden-rounded-corners-occlusion-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x156
     LayoutBlockFlow {BODY} at (8,8) size 784x140
       LayoutBlockFlow (anonymous) at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 510x19
-          text run at (0,0) width 510: "Test that verifies that rounded corners with overflow:hidden composite correctly. "
-        LayoutBR {BR} at (509,0) size 1x19
+        LayoutText {#text} at (0,0) size 508x19
+          text run at (0,0) width 508: "Test that verifies that rounded corners with overflow:hidden composite correctly. "
+        LayoutBR {BR} at (508,0) size 0x19
         LayoutText {#text} at (0,20) size 640x19
           text run at (0,20) width 640: "This page should show a green box with rounded corners on top of a yellow box with square corners."
       LayoutBlockFlow {DIV} at (0,40) size 100x100 [bgcolor=#FFFF00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/remove-only-this-layer-update-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/remove-only-this-layer-update-expected.png
index 70a9ef9..f29d086 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/remove-only-this-layer-update-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/remove-only-this-layer-update-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/remove-only-this-layer-update-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/remove-only-this-layer-update-expected.txt
index 1811183..7ac1124 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/remove-only-this-layer-update-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/remove-only-this-layer-update-expected.txt
@@ -5,16 +5,16 @@
     LayoutBlockFlow {BODY} at (0,100) size 800x500
       LayoutBlockFlow {DIV} at (100,0) size 600x100
       LayoutBlockFlow (anonymous) at (0,200) size 800x40
-        LayoutText {#text} at (0,0) size 779x39
-          text run at (0,0) width 492: "You should see a 100x100 green rect at 100x100 above with the word PASS. "
-          text run at (491,0) width 235: "There should be no red on this page. "
-          text run at (725,0) width 54: "This is a"
+        LayoutText {#text} at (0,0) size 778x39
+          text run at (0,0) width 491: "You should see a 100x100 green rect at 100x100 above with the word PASS. "
+          text run at (491,0) width 234: "There should be no red on this page. "
+          text run at (725,0) width 53: "This is a"
           text run at (0,20) width 383: "test case for https://bugs.webkit.org/show_bug.cgi?id=25252"
 layer at (100,100) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (100,100) size 100x100 [bgcolor=#FF0000]
-    LayoutText {#text} at (0,0) size 35x19
-      text run at (0,0) width 35: "FAIL"
+    LayoutText {#text} at (0,0) size 34x19
+      text run at (0,0) width 34: "FAIL"
 layer at (100,100) size 100x100
   LayoutBlockFlow (relative positioned) {DIV} at (0,0) size 100x100 [bgcolor=#008000]
-    LayoutText {#text} at (0,0) size 38x19
-      text run at (0,0) width 38: "PASS"
+    LayoutText {#text} at (0,0) size 37x19
+      text run at (0,0) width 37: "PASS"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/scroll-rect-to-visible-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/scroll-rect-to-visible-expected.png
index 07856c3..18094a5e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/scroll-rect-to-visible-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/scroll-rect-to-visible-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/scroll-rect-to-visible-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/scroll-rect-to-visible-expected.txt
index abb4640..99e3c7c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/scroll-rect-to-visible-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/scroll-rect-to-visible-expected.txt
@@ -4,21 +4,21 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x664
     LayoutBlockFlow {BODY} at (8,8) size 769x636
       LayoutBlockFlow {P} at (0,0) size 769x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {I} at (0,0) size 744x39
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=14875"
-          LayoutText {#text} at (352,0) size 744x39
-            text run at (352,0) width 5: " "
-            text run at (356,0) width 388: "Textarea with nowrap - left/right nav, Up/down nav both hide"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 742x39
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=14875"
+          LayoutText {#text} at (352,0) size 742x39
+            text run at (352,0) width 4: " "
+            text run at (356,0) width 386: "Textarea with nowrap - left/right nav, Up/down nav both hide"
             text run at (0,20) width 22: "text"
         LayoutText {#text} at (22,20) size 4x19
           text run at (22,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 769x20
-        LayoutText {#text} at (0,0) size 457x19
-          text run at (0,0) width 457: "The letter A should be fully visible in each one of the eight boxes below."
+        LayoutText {#text} at (0,0) size 456x19
+          text run at (0,0) width 456: "The letter A should be fully visible in each one of the eight boxes below."
 layer at (28,91) size 150x50 clip at (28,91) size 150x35 scrollX 50.00 scrollWidth 200
   LayoutBlockFlow {DIV} at (20,96) size 150x50
     LayoutBlockFlow {DIV} at (0,0) size 200x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/zindex-inherit-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/zindex-inherit-expected.png
index e6be4767..e30cc13 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/zindex-inherit-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/zindex-inherit-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/zindex-inherit-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/zindex-inherit-expected.txt
index 4679390..028e008 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/zindex-inherit-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/zindex-inherit-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 238x19
-          text run at (0,0) width 238: "You should see a green square below."
+        LayoutText {#text} at (0,0) size 236x19
+          text run at (0,0) width 236: "You should see a green square below."
 layer at (8,28) size 100x100
   LayoutBlockFlow (relative positioned) {DIV} at (0,20) size 100x100 [bgcolor=#FF0000]
 layer at (8,28) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/003-expected.png
index 4ce5d7a..6f7412d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/003-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/003-vertical-expected.png
index 24a664c5..626b7b24 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/003-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/003-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/007-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/007-expected.png
index 82bba5c..027e71b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/007-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/007-vertical-expected.png
index 29e44156..4481f2fa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/007-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/007-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/anonymous-items-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/anonymous-items-expected.png
index a79b96f..2a7a156 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/anonymous-items-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/anonymous-items-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/big-list-marker-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/big-list-marker-expected.png
index f2775440..391878f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/big-list-marker-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/big-list-marker-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/li-style-alpha-huge-value-crash-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/li-style-alpha-huge-value-crash-expected.png
index 173e92a..ca3f78d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/li-style-alpha-huge-value-crash-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/li-style-alpha-huge-value-crash-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/list-item-line-height-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/list-item-line-height-expected.png
index bc300c3..28bc8da 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/list-item-line-height-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/list-item-line-height-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/marker-before-empty-inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/marker-before-empty-inline-expected.png
index aecbc50..46557b4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/marker-before-empty-inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/marker-before-empty-inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/marker-image-error-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/marker-image-error-expected.png
index a4cff34..3cd7f185 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/marker-image-error-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/marker-image-error-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/markers-in-selection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/markers-in-selection-expected.png
index 75becc41..8afaa9c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/markers-in-selection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/markers-in-selection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/ol-display-types-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/ol-display-types-expected.png
index 62def2b7..d6235b8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/ol-display-types-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/ol-display-types-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/olstart-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/olstart-expected.png
index b7d6af0..ae92ad21 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/olstart-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/olstart-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/ordered-list-with-no-ol-tag-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/ordered-list-with-no-ol-tag-expected.png
index 004725bc..36e747d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/lists/ordered-list-with-no-ol-tag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/lists/ordered-list-with-no-ol-tag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/masking/clip-path-inset-large-radii-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/masking/clip-path-inset-large-radii-expected.png
index 0e5a3c9..86f970f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/masking/clip-path-inset-large-radii-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/masking/clip-path-inset-large-radii-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/masking/clip-path-inset-large-radii-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/masking/clip-path-inset-large-radii-expected.txt
index b58558f..655d115 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/masking/clip-path-inset-large-radii-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/masking/clip-path-inset-large-radii-expected.txt
@@ -10,8 +10,8 @@
         LayoutText {#text} at (84,0) size 655x19
           text run at (84,0) width 655: " - [CSS Masking][CSS Shapes] Large corner radii use with inset() clip-path are not properly constrained"
       LayoutBlockFlow {P} at (0,36) size 784x40
-        LayoutText {#text} at (0,0) size 779x39
-          text run at (0,0) width 779: "The radii for this inset should be constrained in the same way that border-radii are constrained. If this happens correctly, you"
+        LayoutText {#text} at (0,0) size 778x39
+          text run at (0,0) width 778: "The radii for this inset should be constrained in the same way that border-radii are constrained. If this happens correctly, you"
           text run at (0,20) width 156: "should see a blue ellipse."
       LayoutBlockFlow {P} at (0,92) size 784x40
         LayoutText {#text} at (0,0) size 754x39
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/border-radius-clipped-layer-second-column-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/border-radius-clipped-layer-second-column-expected.png
index dc2d74d..d89de2d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/border-radius-clipped-layer-second-column-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/border-radius-clipped-layer-second-column-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-inner-multicol-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-inner-multicol-expected.png
index a77b4ef0..1500e28 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-inner-multicol-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-inner-multicol-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-multiple-fragments-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-multiple-fragments-expected.png
index 625b41e1..04aaf67 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-multiple-fragments-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-multiple-fragments-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-multiple-fragments-translated-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-multiple-fragments-translated-expected.png
index 9757bd5..327399d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-multiple-fragments-translated-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-multiple-fragments-translated-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-nested-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-nested-expected.png
index 0d6945c..3547926 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-nested-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-nested-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-will-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-will-change-expected.png
index 840041c..f6de4b59 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-will-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-layer-will-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-opacity-2nd-and-3rd-column-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-opacity-2nd-and-3rd-column-expected.png
index 23e5f0d..c477e27a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-opacity-2nd-and-3rd-column-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-opacity-2nd-and-3rd-column-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-clipped-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-clipped-expected.png
index d7b3cc8..972e405 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-clipped-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-clipped-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-expected.png
index aaf5a1b..f1ebb02 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-in-clipped-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-in-clipped-expected.png
index 1aba15f..95463cc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-in-clipped-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-in-clipped-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-overlapping-will-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-overlapping-will-change-expected.png
index e9aee8f..231fd6b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-overlapping-will-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-overlapping-will-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-resize-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-resize-expected.png
index aa626cb..e9ebf6b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-resize-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-relpos-resize-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-with-child-layer-in-next-column-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-with-child-layer-in-next-column-expected.png
index 84b3405c..b37a29b9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-with-child-layer-in-next-column-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-with-child-layer-in-next-column-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-with-overflow-in-next-column-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-with-overflow-in-next-column-expected.png
index 9caae91..ad7e3ec8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-with-overflow-in-next-column-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/composited-with-overflow-in-next-column-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/layers-in-multicol-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/layers-in-multicol-expected.png
index 44fc4a4..eeabb0f4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/layers-in-multicol-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/layers-in-multicol-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/layers-split-across-columns-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/layers-split-across-columns-expected.png
index 27fbf58..a7b1380 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/layers-split-across-columns-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/layers-split-across-columns-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/multicol-with-child-renderLayer-for-input-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/multicol-with-child-renderLayer-for-input-expected.png
index e56f58a..9a4777cd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/multicol-with-child-renderLayer-for-input-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/multicol-with-child-renderLayer-for-input-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/span/invalid-spanner-in-transform-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/span/invalid-spanner-in-transform-expected.png
index 3f35c28f0..a817b05 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/span/invalid-spanner-in-transform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/span/invalid-spanner-in-transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/vertical-lr/composited-relpos-overlapping-will-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/vertical-lr/composited-relpos-overlapping-will-change-expected.png
index 871fc5ee..66d9efc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/vertical-lr/composited-relpos-overlapping-will-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/vertical-lr/composited-relpos-overlapping-will-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/vertical-rl/composited-relpos-overlapping-will-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/vertical-rl/composited-relpos-overlapping-will-change-expected.png
index 5084fee24..dce6fec3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/vertical-rl/composited-relpos-overlapping-will-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/multicol/vertical-rl/composited-relpos-overlapping-will-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/001-expected.png
index 4d39b784..2ab734ff 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/003-expected.png
index b7728ed..e0d2220f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/004-expected.png
index 44d2dca..f01d08b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/006-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/006-expected.png
index 1e6159b8..495fc11 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/006-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/006-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/007-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/007-expected.png
index f88876d..d1093697 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/008-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/008-expected.png
index 9f08d443..e397429 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/008-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/008-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/border-radius-clipping-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/border-radius-clipping-expected.png
index a338c8f..2c4f6b1a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/border-radius-clipping-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/border-radius-clipping-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/dynamic-hidden-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/dynamic-hidden-expected.png
index 8c526e17..b4f94a50 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/dynamic-hidden-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/dynamic-hidden-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/float-in-relpositioned-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/float-in-relpositioned-expected.png
index af060fc..7218163d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/float-in-relpositioned-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/float-in-relpositioned-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/hit-test-overflow-controls-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/hit-test-overflow-controls-expected.png
index 590d222..3bd3883 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/hit-test-overflow-controls-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/hit-test-overflow-controls-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/image-selection-highlight-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/image-selection-highlight-expected.png
index 3ac57153..ccb6c3b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/image-selection-highlight-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/image-selection-highlight-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/infiniteRecursion-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/infiniteRecursion-expected.png
index 9a3abc2e..e47fcac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/infiniteRecursion-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/infiniteRecursion-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-auto-position-absolute-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-auto-position-absolute-expected.png
index bf4ee90a..bd05b8a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-auto-position-absolute-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-auto-position-absolute-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-auto-table-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-auto-table-expected.png
index 88f8cc7..7dc83fc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-auto-table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-auto-table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-focus-ring-expected.png
index 0fbf90cb..74016a2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-rtl-expected.png
index 1938434..4daafcb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-rtl-inline-scrollbar-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-rtl-inline-scrollbar-expected.png
index 52ea79a..7ba7ebd4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-rtl-inline-scrollbar-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-rtl-inline-scrollbar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-rtl-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-rtl-vertical-expected.png
index fbbf4c9..09caa03 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-rtl-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-rtl-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-stacking-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-stacking-expected.png
index 3b0167b..2f44fcc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-stacking-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-stacking-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-text-hit-testing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-text-hit-testing-expected.png
index 91d4057b..38c662d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-text-hit-testing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-text-hit-testing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-x-y-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-x-y-expected.png
index 62eedfc..4953232 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-x-y-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow-x-y-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow_hidden-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow_hidden-expected.png
index 02e08ee..a3b1b912 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow_hidden-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/overflow_hidden-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/position-fixed-transform-clipping-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/position-fixed-transform-clipping-expected.png
index b2d8daca..3afd4a66 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/position-fixed-transform-clipping-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/position-fixed-transform-clipping-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/scrollbar-position-update-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/scrollbar-position-update-expected.png
index c5b2292..62bb5a8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/scrollbar-position-update-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/scrollbar-position-update-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/table-overflow-float-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/table-overflow-float-expected.png
index 59feef25..8e7748e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/table-overflow-float-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/table-overflow-float-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/unreachable-overflow-rtl-bug-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/unreachable-overflow-rtl-bug-expected.png
index b1de573..fef9d53 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/unreachable-overflow-rtl-bug-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/overflow/unreachable-overflow-rtl-bug-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/001-expected.png
index 321f5689..743b9831 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/001-expected.txt
index 7f45351c..7ff29b8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/001-expected.txt
@@ -9,8 +9,8 @@
             text run at (0,0) width 27: "One"
         LayoutBlockFlow {DIR} at (40,36) size 744x76
           LayoutBlockFlow (anonymous) at (40,0) size 704x20
-            LayoutText {#text} at (0,0) size 29x19
-              text run at (0,0) width 29: "Two"
+            LayoutText {#text} at (0,0) size 28x19
+              text run at (0,0) width 28: "Two"
           LayoutBlockFlow {DIR} at (40,36) size 704x40
             LayoutBlockFlow (anonymous) at (40,0) size 664x20
               LayoutText {#text} at (0,0) size 37x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/document-write-option-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/document-write-option-expected.png
index 74048dd..65854f4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/document-write-option-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/document-write-option-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/entity-comment-in-style-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/entity-comment-in-style-expected.png
index 1a93625..6dadb9c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/entity-comment-in-style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/entity-comment-in-style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/entity-comment-in-style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/entity-comment-in-style-expected.txt
index d1dc475..d7c5876 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/entity-comment-in-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/entity-comment-in-style-expected.txt
@@ -7,5 +7,5 @@
         LayoutText {#text} at (0,0) size 547x19
           text run at (0,0) width 547: "--> */ h1 { background-color: red; } /* This comment should not be part of the style. */"
       LayoutBlockFlow {H1} at (0,41.44) size 784x37
-        LayoutText {#text} at (0,0) size 603x36
-          text run at (0,0) width 603: "This text should not have a red background."
+        LayoutText {#text} at (0,0) size 604x36
+          text run at (0,0) width 604: "This text should not have a red background."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/fonts-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/fonts-expected.png
index a0407cd..3b3e5e01 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/fonts-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/fonts-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/fonts-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/fonts-expected.txt
index 100c3ae..5210364b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/fonts-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/fonts-expected.txt
@@ -9,8 +9,8 @@
             text run at (0,2) width 528: "Ahem_font_required_for_this_test."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (16,36) size 752x20 [color=#008000]
-        LayoutText {#text} at (0,0) size 359x19
-          text run at (0,0) width 359: "This line should be green. There should be no red below."
+        LayoutText {#text} at (0,0) size 358x19
+          text run at (0,0) width 358: "This line should be green. There should be no red below."
       LayoutBlockFlow {P} at (16,72) size 96x16 [color=#008000]
         LayoutInline {SPAN} at (0,0) size 96x16 [color=#FFFFFF] [bgcolor=#FF0000]
           LayoutText {#text} at (0,0) size 96x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/nofoo-tags-inside-paragraph-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/nofoo-tags-inside-paragraph-expected.png
index d7bbc71..3d9fca2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/nofoo-tags-inside-paragraph-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/nofoo-tags-inside-paragraph-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/nofoo-tags-inside-paragraph-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/nofoo-tags-inside-paragraph-expected.txt
index f3e2e84..958451a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/nofoo-tags-inside-paragraph-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/nofoo-tags-inside-paragraph-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {DIV} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 83x19
-          text run at (0,0) width 83: "Test case for "
-        LayoutInline {A} at (0,0) size 64x19 [color=#0000EE]
-          LayoutText {#text} at (82,0) size 64x19
-            text run at (82,0) width 64: "Bug 7265"
-        LayoutText {#text} at (145,0) size 588x19
-          text run at (145,0) width 588: " REGRESSION: noscript, noframes, nolayer, noembed tags insert break inside paragraph tag"
+        LayoutText {#text} at (0,0) size 82x19
+          text run at (0,0) width 82: "Test case for "
+        LayoutInline {A} at (0,0) size 63x19 [color=#0000EE]
+          LayoutText {#text} at (82,0) size 63x19
+            text run at (82,0) width 63: "Bug 7265"
+        LayoutText {#text} at (145,0) size 587x19
+          text run at (145,0) width 587: " REGRESSION: noscript, noframes, nolayer, noembed tags insert break inside paragraph tag"
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 321x19
           text run at (0,0) width 321: "This sentence contains noscript tags and should be "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/open-comment-in-style-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/open-comment-in-style-expected.png
index 8f560c3a2..a516cc0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/open-comment-in-style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/open-comment-in-style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/open-comment-in-style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/open-comment-in-style-expected.txt
index 7d4504bd..a9d3b5c4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/open-comment-in-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/open-comment-in-style-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x570.56
       LayoutBlockFlow {H1} at (0,0) size 784x37 [bgcolor=#008000]
-        LayoutText {#text} at (0,0) size 580x36
-          text run at (0,0) width 580: "This text should have a green background."
+        LayoutText {#text} at (0,0) size 581x36
+          text run at (0,0) width 581: "This text should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/xhtml-alternate-entities-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/xhtml-alternate-entities-expected.png
index 6c52571..6ade1028 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/xhtml-alternate-entities-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/xhtml-alternate-entities-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/xhtml-alternate-entities-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/xhtml-alternate-entities-expected.txt
index beec058..1f1c7963 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/parser/xhtml-alternate-entities-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/parser/xhtml-alternate-entities-expected.txt
@@ -17,9 +17,9 @@
       LayoutInline {h1} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
       LayoutText {#text} at (0,0) size 0x0
-      LayoutInline {p} at (0,0) size 488x19
-        LayoutInline {font} at (0,0) size 488x19
-          LayoutText {#text} at (0,0) size 488x19
+      LayoutInline {p} at (0,0) size 487x19
+        LayoutInline {font} at (0,0) size 487x19
+          LayoutText {#text} at (0,0) size 487x19
             text run at (0,0) width 263: "This should be the only line on this page. "
-            text run at (263,0) width 225: "You should see a parse error above."
+            text run at (263,0) width 224: "You should see a parse error above."
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/abs-position-in-reflection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/abs-position-in-reflection-expected.png
index bff7605e..278bc529 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/abs-position-in-reflection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/abs-position-in-reflection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/abs-position-in-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/abs-position-in-reflection-expected.txt
index ca715e6..2be1eef 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/abs-position-in-reflection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/abs-position-in-reflection-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 366x19
-          text run at (0,0) width 366: "The teal boxes in the reflection should be placed correctly."
+        LayoutText {#text} at (0,0) size 365x19
+          text run at (0,0) width 365: "The teal boxes in the reflection should be placed correctly."
 layer at (8,44) size 100x100
   LayoutBlockFlow {DIV} at (0,36) size 100x100 [bgcolor=#0000FF]
     LayoutBlockFlow {DIV} at (0,0) size 100x50 [bgcolor=#C0C0C0]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/inline-crash-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/inline-crash-expected.png
index 178fed48..b1139454 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/inline-crash-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/inline-crash-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/inline-crash-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/inline-crash-expected.txt
index cfb8c892..bda0445 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/inline-crash-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/inline-crash-expected.txt
@@ -4,24 +4,24 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 654x19
-          LayoutInline {A} at (0,0) size 308x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 308x19
-              text run at (51,0) width 308: "https://bugs.webkit.org/show_bug.cgi?id=19525"
+          LayoutInline {A} at (0,0) size 307x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 307x19
+              text run at (51,0) width 307: "https://bugs.webkit.org/show_bug.cgi?id=19525"
           LayoutText {#text} at (358,0) size 347x19
-            text run at (358,0) width 5: " "
+            text run at (358,0) width 4: " "
             text run at (362,0) width 343: "-webkit-box-reflect in hyperlink causes webkit to crash"
-        LayoutText {#text} at (704,0) size 5x19
-          text run at (704,0) width 5: "."
+        LayoutText {#text} at (705,0) size 4x19
+          text run at (705,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 177x19
-          text run at (0,0) width 177: "Because it is an inline flow, "
-        LayoutInline {SPAN} at (0,0) size 56x19
-          LayoutText {#text} at (176,0) size 56x19
-            text run at (176,0) width 56: "this span"
-        LayoutText {#text} at (231,0) size 442x19
-          text run at (231,0) width 442: " should not have a reflection, and selecting it should not cause a crash."
+        LayoutText {#text} at (0,0) size 176x19
+          text run at (0,0) width 176: "Because it is an inline flow, "
+        LayoutInline {SPAN} at (0,0) size 55x19
+          LayoutText {#text} at (176,0) size 55x19
+            text run at (176,0) width 55: "this span"
+        LayoutText {#text} at (231,0) size 441x19
+          text run at (231,0) width 441: " should not have a reflection, and selecting it should not cause a crash."
 selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 2 {P} of body
 selection end:   position 9 of child 0 {#text} of child 1 {SPAN} of child 2 {P} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/opacity-reflection-transform-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/opacity-reflection-transform-expected.png
index aa1392a5..3befae5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/opacity-reflection-transform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/opacity-reflection-transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/opacity-reflection-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/opacity-reflection-transform-expected.txt
index 28e00fb..247071d1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/opacity-reflection-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/opacity-reflection-transform-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x572
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 753x39
-          text run at (0,0) width 753: "Test that opacity doesn't cause clipping of transformed, reflected content. You should see a rotated green box and its full"
+        LayoutText {#text} at (0,0) size 751x39
+          text run at (0,0) width 751: "Test that opacity doesn't cause clipping of transformed, reflected content. You should see a rotated green box and its full"
           text run at (0,20) width 63: "reflection."
 layer at (108,68) size 102x102 transparent
   LayoutBlockFlow {DIV} at (100,60) size 102x102 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/reflection-overflow-hidden-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/reflection-overflow-hidden-expected.png
index 79449217..08e66f2a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/reflection-overflow-hidden-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/reflection-overflow-hidden-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/reflection-overflow-hidden-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/reflection-overflow-hidden-expected.txt
index 0885eda3..e32026f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/reflection-overflow-hidden-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/reflection-overflow-hidden-expected.txt
@@ -12,18 +12,18 @@
         LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
           LayoutText {#text} at (0,0) size 305x19
             text run at (0,0) width 305: "https://bugs.webkit.org/show_bug.cgi?id=22570"
-        LayoutText {#text} at (304,0) size 694x39
-          text run at (304,0) width 61: ". Test for "
-          text run at (364,0) width 330: "reflection painting on overflow:hidden element. You"
-          text run at (0,20) width 187: "should not see any red below."
+        LayoutText {#text} at (305,0) size 693x39
+          text run at (305,0) width 59: ". Test for "
+          text run at (364,0) width 329: "reflection painting on overflow:hidden element. You"
+          text run at (0,20) width 186: "should not see any red below."
 layer at (50,100) size 400x200
   LayoutBlockFlow (positioned) {DIV} at (50,100) size 400x200
 layer at (50,100) size 400x200
   LayoutBlockFlow (relative positioned) {DIV} at (0,0) size 400x200
 layer at (50,100) size 400x50
   LayoutBlockFlow (positioned) {DIV} at (0,0) size 400x50 [bgcolor=#008000]
-    LayoutText {#text} at (0,0) size 25x19
-      text run at (0,0) width 25: "Top"
+    LayoutText {#text} at (0,0) size 24x19
+      text run at (0,0) width 24: "Top"
 layer at (50,250) size 400x50
   LayoutBlockFlow (positioned) {DIV} at (0,150) size 400x50 [bgcolor=#008000]
     LayoutText {#text} at (0,0) size 47x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/transparent-reflected-sublayers-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/transparent-reflected-sublayers-expected.png
index 82105b8..8218a4e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/transparent-reflected-sublayers-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/transparent-reflected-sublayers-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/transparent-reflected-sublayers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/transparent-reflected-sublayers-expected.txt
index 6e9d320..314badc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/transparent-reflected-sublayers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/reflections/transparent-reflected-sublayers-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 367x19
-        text run at (0,0) width 367: "You should see four green squares in a vertical line below."
+      LayoutText {#text} at (0,0) size 365x19
+        text run at (0,0) width 365: "You should see four green squares in a vertical line below."
 layer at (8,160) size 100x100 transparent
   LayoutBlockFlow (positioned) {DIV} at (8,160) size 100x100 [bgcolor=#008000]
 layer at (8,400) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/001-expected.png
index c9750fa..3488677 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/002-expected.png
index 1e97d9cb..67c4c6f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/003-expected.png
index 1e97d9cb..67c4c6f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/004-expected.png
index 7c274d6..501959a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/absolute-position-percentage-height-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/absolute-position-percentage-height-expected.png
index 91abef4..36acb97 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/absolute-position-percentage-height-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/absolute-position-percentage-height-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/image-resize-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/image-resize-width-expected.png
index 1eadb8760..faab97e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/image-resize-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/image-resize-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/image-sizing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/image-sizing-expected.png
index 7d2e02b..bbdb16e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/image-sizing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/image-sizing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/image-solid-color-with-alpha-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/image-solid-color-with-alpha-expected.png
index f907fe74..d756803 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/image-solid-color-with-alpha-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/image-solid-color-with-alpha-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/max-width-percent-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/max-width-percent-expected.png
index 51cfe6b..8d14c7a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/max-width-percent-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/max-width-percent-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/percent-height-in-anonymous-block-in-table-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/percent-height-in-anonymous-block-in-table-expected.png
index e63b264..adf820e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/percent-height-in-anonymous-block-in-table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/percent-height-in-anonymous-block-in-table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/percent-height-in-anonymous-block-widget-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/percent-height-in-anonymous-block-widget-expected.png
index 990beee1..0d70251 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/percent-height-in-anonymous-block-widget-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/percent-height-in-anonymous-block-widget-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/selection-rect-in-table-cell-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/selection-rect-in-table-cell-expected.png
index ca371a43..4a48bd6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/selection-rect-in-table-cell-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/selection-rect-in-table-cell-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/selection-rect-transform-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/selection-rect-transform-expected.png
index 212e9234..03d0ddf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/selection-rect-transform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/selection-rect-transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/width100percent-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/width100percent-image-expected.png
index 252a629..43d5462 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/width100percent-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/replaced/width100percent-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-empty-rt-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-empty-rt-expected.png
index 3f52253..44cc93e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-empty-rt-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-empty-rt-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-inline-table-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-inline-table-expected.png
index 0e83efd..2fe24c57 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-inline-table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-inline-table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-inline-table-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-inline-table-expected.txt
index bc3f38ce..74fc5ad 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-inline-table-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-inline-table-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x60
-        LayoutText {#text} at (0,0) size 781x39
-          text run at (0,0) width 781: "Test that <ruby> rendered as inline-table (or somesuch) is not affected by ruby rendering. Both <div> below should look the"
+        LayoutText {#text} at (0,0) size 780x39
+          text run at (0,0) width 780: "Test that <ruby> rendered as inline-table (or somesuch) is not affected by ruby rendering. Both <div> below should look the"
           text run at (0,20) width 40: "same. "
         LayoutBR {BR} at (40,35) size 0x0
         LayoutBR {BR} at (0,40) size 0x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-length-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-length-expected.png
index 55e942b..53bbd68 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-length-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-length-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-length-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-length-expected.txt
index 35761ce..080ed7b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-length-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-length-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 772x39
-        text run at (0,0) width 772: "This is a initial test for simple ruby. There should be 2 ruby annotations on below line, one with a ruby text shorter than the"
+      LayoutText {#text} at (0,0) size 771x39
+        text run at (0,0) width 771: "This is a initial test for simple ruby. There should be 2 ruby annotations on below line, one with a ruby text shorter than the"
         text run at (0,20) width 36: "base, "
         text run at (36,20) width 291: "and one with a ruby text longer than the base. "
       LayoutBR {BR} at (327,35) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-run-break-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-run-break-expected.png
index 45947b9..424100d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-run-break-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-run-break-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-run-break-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-run-break-expected.txt
index 765b422..4a7c8be 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-run-break-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-run-break-expected.txt
@@ -22,14 +22,14 @@
             LayoutRubyBase (anonymous) at (0,0) size 24x20
               LayoutText {#text} at (6,0) size 12x19
                 text run at (6,0) width 12: "H"
-          LayoutRubyRun (anonymous) at (187,14) size 17.38x20
-            LayoutRubyText {RT} at (0,-12) size 17.38x12
+          LayoutRubyRun (anonymous) at (187,14) size 18x20
+            LayoutRubyText {RT} at (0,-12) size 18x12
               LayoutText {#text} at (0,0) size 18x12
                 text run at (0,0) width 18: "Text"
-            LayoutRubyBase (anonymous) at (0,0) size 17.38x20
-              LayoutText {#text} at (3,0) size 11x19
-                text run at (3,0) width 11: "T"
-          LayoutRubyRun (anonymous) at (204.38,14) size 30x20
+            LayoutRubyBase (anonymous) at (0,0) size 18x20
+              LayoutText {#text} at (4,0) size 10x19
+                text run at (4,0) width 10: "T"
+          LayoutRubyRun (anonymous) at (205,14) size 30x20
             LayoutRubyText {RT} at (0,-12) size 30x12
               LayoutText {#text} at (0,0) size 30x12
                 text run at (0,0) width 30: "Markup"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-expected.png
index 17fd684..31cae79 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-expected.txt
index 95dc06d..2b82bc67 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-expected.txt
@@ -19,33 +19,33 @@
             LayoutRubyBase (anonymous) at (0,0) size 24x20
               LayoutText {#text} at (6,0) size 12x19
                 text run at (6,0) width 12: "H"
-          LayoutRubyRun (anonymous) at (175,12) size 17.38x20
-            LayoutRubyText {RT} at (0,-12) size 17.38x12
+          LayoutRubyRun (anonymous) at (175,12) size 18x20
+            LayoutRubyText {RT} at (0,-12) size 18x12
               LayoutText {#text} at (0,0) size 18x12
                 text run at (0,0) width 18: "Text"
-            LayoutRubyBase (anonymous) at (0,0) size 17.38x20
-              LayoutText {#text} at (3,0) size 11x19
-                text run at (3,0) width 11: "T"
-          LayoutRubyRun (anonymous) at (192.38,12) size 30x20
+            LayoutRubyBase (anonymous) at (0,0) size 18x20
+              LayoutText {#text} at (4,0) size 10x19
+                text run at (4,0) width 10: "T"
+          LayoutRubyRun (anonymous) at (193,12) size 30x20
             LayoutRubyText {RT} at (0,-12) size 30x12
               LayoutText {#text} at (0,0) size 30x12
                 text run at (0,0) width 30: "Markup"
             LayoutRubyBase (anonymous) at (0,0) size 30x20
               LayoutText {#text} at (8,0) size 14x19
                 text run at (8,0) width 14: "M"
-          LayoutRubyRun (anonymous) at (222.38,12) size 38x20
+          LayoutRubyRun (anonymous) at (223,12) size 38x20
             LayoutRubyText {RT} at (0,-12) size 38x12
               LayoutText {#text} at (0,0) size 38x12
                 text run at (0,0) width 38: "Language"
             LayoutRubyBase (anonymous) at (0,0) size 38x20
               LayoutText {#text} at (14,0) size 10x19
                 text run at (14,0) width 10: "L"
-          LayoutRubyRun (anonymous) at (260.38,12) size 29x20
+          LayoutRubyRun (anonymous) at (261,12) size 29x20
             LayoutRubyText {RT} at (0,-12) size 29x12
               LayoutText {#text} at (0,0) size 29x12
                 text run at (0,0) width 29: "Level 5"
             LayoutRubyBase (anonymous) at (0,0) size 29x20
               LayoutText {#text} at (10,0) size 9x19
                 text run at (10,0) width 9: "5"
-        LayoutText {#text} at (285,12) size 43x19
-          text run at (285,12) width 43: " specs."
+        LayoutText {#text} at (286,12) size 42x19
+          text run at (286,12) width 42: " specs."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-spans-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-spans-expected.png
index ef972f05..46eec2a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-spans-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-spans-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-spans-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-spans-expected.txt
index 6acfb5d..e5bac7c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-spans-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-runs-spans-expected.txt
@@ -10,15 +10,15 @@
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 129x19
-          LayoutRubyRun (anonymous) at (151,12) size 41.83x20
-            LayoutRubyText {RT} at (0,-12) size 41.83x12
-              LayoutText {#text} at (0,0) size 43x12
-                text run at (0,0) width 43: "Hyper-text"
-            LayoutRubyBase (anonymous) at (0,0) size 41.83x20
-              LayoutInline {SPAN} at (0,0) size 23x19
-                LayoutText {#text} at (9,0) size 23x19
-                  text run at (9,0) width 23: "HT"
-          LayoutRubyRun (anonymous) at (192.83,12) size 95x20
+          LayoutRubyRun (anonymous) at (151,12) size 42x20
+            LayoutRubyText {RT} at (0,-12) size 42x12
+              LayoutText {#text} at (0,0) size 42x12
+                text run at (0,0) width 42: "Hyper-text"
+            LayoutRubyBase (anonymous) at (0,0) size 42x20
+              LayoutInline {SPAN} at (0,0) size 22x19
+                LayoutText {#text} at (10,0) size 22x19
+                  text run at (10,0) width 22: "HT"
+          LayoutRubyRun (anonymous) at (193,12) size 95x20
             LayoutRubyText {RT} at (0,-12) size 95x12
               LayoutText {#text} at (0,0) size 95x12
                 text run at (0,0) width 95: "Markup Language Lvl. 5"
@@ -32,5 +32,5 @@
               LayoutInline {SPAN} at (0,0) size 9x19
                 LayoutText {#text} at (55,0) size 9x19
                   text run at (55,0) width 9: "5"
-        LayoutText {#text} at (283,12) size 37x19
-          text run at (283,12) width 37: " spec."
+        LayoutText {#text} at (284,12) size 36x19
+          text run at (284,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-simple-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-simple-expected.png
index 6f568ec..1f9456c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-simple-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-simple-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-simple-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-simple-expected.txt
index aaa3d7b..67e9f9e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-simple-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-simple-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow (anonymous) at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 224x19
-          text run at (0,0) width 224: "This is a initial test for simple ruby. "
-        LayoutBR {BR} at (223,15) size 1x0
+        LayoutText {#text} at (0,0) size 223x19
+          text run at (0,0) width 223: "This is a initial test for simple ruby. "
+        LayoutBR {BR} at (223,15) size 0x0
         LayoutBR {BR} at (0,20) size 0x19
       LayoutBlockFlow {P} at (0,56) size 784x32
         LayoutText {#text} at (0,12) size 161x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-trailing-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-trailing-expected.txt
index d38988b..f57b29e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-trailing-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/ruby-trailing-expected.txt
@@ -13,16 +13,16 @@
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 118x19
-          LayoutRubyRun (anonymous) at (151,12) size 113.83x20
-            LayoutRubyText {RT} at (0,-12) size 113.83x12
+          LayoutRubyRun (anonymous) at (151,12) size 114x20
+            LayoutRubyText {RT} at (0,-12) size 114x12
               LayoutText {#text} at (0,0) size 114x12
                 text run at (0,0) width 114: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 113.83x20
-              LayoutText {#text} at (33,0) size 47x19
-                text run at (33,0) width 47: "HTML"
-          LayoutRubyRun (anonymous) at (264.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 114x20
+              LayoutText {#text} at (34,0) size 46x19
+                text run at (34,0) width 46: "HTML"
+          LayoutRubyRun (anonymous) at (265,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (272,12) size 5x19
-          text run at (272,12) width 5: "."
+        LayoutText {#text} at (273,12) size 4x19
+          text run at (273,12) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-rt-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-rt-expected.txt
index e65c688b..d3779d9d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-rt-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-rt-expected.txt
@@ -16,15 +16,15 @@
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 116x19
-          LayoutRubyRun (anonymous) at (151,12) size 41.83x20
-            LayoutRubyText {RT} at (0,-12) size 41.83x12
-              LayoutText {#text} at (0,0) size 43x12
-                text run at (0,0) width 43: "Hyper-text"
-            LayoutRubyBase (anonymous) at (0,0) size 41.83x20
-              LayoutInline {SPAN} at (0,0) size 23x19
-                LayoutText {#text} at (9,0) size 23x19
-                  text run at (9,0) width 23: "HT"
-          LayoutRubyRun (anonymous) at (192.83,12) size 70x20
+          LayoutRubyRun (anonymous) at (151,12) size 42x20
+            LayoutRubyText {RT} at (0,-12) size 42x12
+              LayoutText {#text} at (0,0) size 42x12
+                text run at (0,0) width 42: "Hyper-text"
+            LayoutRubyBase (anonymous) at (0,0) size 42x20
+              LayoutInline {SPAN} at (0,0) size 22x19
+                LayoutText {#text} at (10,0) size 22x19
+                  text run at (10,0) width 22: "HT"
+          LayoutRubyRun (anonymous) at (193,12) size 70x20
             LayoutRubyText {RT} at (0,-12) size 70x12
               LayoutText {#text} at (0,0) size 70x12
                 text run at (0,0) width 70: "Markup Language"
@@ -32,25 +32,25 @@
               LayoutInline {SPAN} at (0,0) size 24x19
                 LayoutText {#text} at (23,0) size 24x19
                   text run at (23,0) width 24: "ML"
-          LayoutRubyRun (anonymous) at (262.83,12) size 8x20
+          LayoutRubyRun (anonymous) at (263,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (270,12) size 37x19
-          text run at (270,12) width 37: " spec."
+        LayoutText {#text} at (271,12) size 36x19
+          text run at (271,12) width 36: " spec."
       LayoutBlockFlow {P} at (0,176) size 784x32
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 116x19
-          LayoutRubyRun (anonymous) at (151,12) size 41.83x20
-            LayoutRubyText {RT} at (0,-12) size 41.83x12
-              LayoutText {#text} at (0,0) size 43x12
-                text run at (0,0) width 43: "Hyper-text"
-            LayoutRubyBase (anonymous) at (0,0) size 41.83x20
-              LayoutInline {SPAN} at (0,0) size 23x19
-                LayoutText {#text} at (9,0) size 23x19
-                  text run at (9,0) width 23: "HT"
-          LayoutRubyRun (anonymous) at (192.83,12) size 70x20
+          LayoutRubyRun (anonymous) at (151,12) size 42x20
+            LayoutRubyText {RT} at (0,-12) size 42x12
+              LayoutText {#text} at (0,0) size 42x12
+                text run at (0,0) width 42: "Hyper-text"
+            LayoutRubyBase (anonymous) at (0,0) size 42x20
+              LayoutInline {SPAN} at (0,0) size 22x19
+                LayoutText {#text} at (10,0) size 22x19
+                  text run at (10,0) width 22: "HT"
+          LayoutRubyRun (anonymous) at (193,12) size 70x20
             LayoutRubyText {RT} at (0,-12) size 70x12
               LayoutText {#text} at (0,0) size 70x12
                 text run at (0,0) width 70: "Markup Language"
@@ -58,9 +58,9 @@
               LayoutInline {SPAN} at (0,0) size 24x19
                 LayoutText {#text} at (23,0) size 24x19
                   text run at (23,0) width 24: "ML"
-          LayoutRubyRun (anonymous) at (262.83,12) size 8x20
+          LayoutRubyRun (anonymous) at (263,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (270,12) size 37x19
-          text run at (270,12) width 37: " spec."
+        LayoutText {#text} at (271,12) size 36x19
+          text run at (271,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-text1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-text1-expected.txt
index 54da471..7646530 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-text1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-text1-expected.txt
@@ -16,47 +16,47 @@
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 116x19
-          LayoutRubyRun (anonymous) at (151,12) size 41.83x20
-            LayoutRubyText {RT} at (0,-12) size 41.83x12
-              LayoutText {#text} at (0,0) size 43x12
-                text run at (0,0) width 43: "Hyper-text"
-            LayoutRubyBase (anonymous) at (0,0) size 41.83x20
-              LayoutText {#text} at (9,0) size 23x19
-                text run at (9,0) width 23: "HT"
-          LayoutRubyRun (anonymous) at (192.83,12) size 70x20
+          LayoutRubyRun (anonymous) at (151,12) size 42x20
+            LayoutRubyText {RT} at (0,-12) size 42x12
+              LayoutText {#text} at (0,0) size 42x12
+                text run at (0,0) width 42: "Hyper-text"
+            LayoutRubyBase (anonymous) at (0,0) size 42x20
+              LayoutText {#text} at (10,0) size 22x19
+                text run at (10,0) width 22: "HT"
+          LayoutRubyRun (anonymous) at (193,12) size 70x20
             LayoutRubyText {RT} at (0,-12) size 70x12
               LayoutText {#text} at (0,0) size 70x12
                 text run at (0,0) width 70: "Markup Language"
             LayoutRubyBase (anonymous) at (0,0) size 70x20
               LayoutText {#text} at (23,0) size 24x19
                 text run at (23,0) width 24: "ML"
-          LayoutRubyRun (anonymous) at (262.83,12) size 8x20
+          LayoutRubyRun (anonymous) at (263,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (270,12) size 37x19
-          text run at (270,12) width 37: " spec."
+        LayoutText {#text} at (271,12) size 36x19
+          text run at (271,12) width 36: " spec."
       LayoutBlockFlow {P} at (0,176) size 784x32
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 116x19
-          LayoutRubyRun (anonymous) at (151,12) size 41.83x20
-            LayoutRubyText {RT} at (0,-12) size 41.83x12
-              LayoutText {#text} at (0,0) size 43x12
-                text run at (0,0) width 43: "Hyper-text"
-            LayoutRubyBase (anonymous) at (0,0) size 41.83x20
-              LayoutText {#text} at (9,0) size 23x19
-                text run at (9,0) width 23: "HT"
-          LayoutRubyRun (anonymous) at (192.83,12) size 70x20
+          LayoutRubyRun (anonymous) at (151,12) size 42x20
+            LayoutRubyText {RT} at (0,-12) size 42x12
+              LayoutText {#text} at (0,0) size 42x12
+                text run at (0,0) width 42: "Hyper-text"
+            LayoutRubyBase (anonymous) at (0,0) size 42x20
+              LayoutText {#text} at (10,0) size 22x19
+                text run at (10,0) width 22: "HT"
+          LayoutRubyRun (anonymous) at (193,12) size 70x20
             LayoutRubyText {RT} at (0,-12) size 70x12
               LayoutText {#text} at (0,0) size 70x12
                 text run at (0,0) width 70: "Markup Language"
             LayoutRubyBase (anonymous) at (0,0) size 70x20
               LayoutText {#text} at (23,0) size 24x19
                 text run at (23,0) width 24: "ML"
-          LayoutRubyRun (anonymous) at (262.83,12) size 8x20
+          LayoutRubyRun (anonymous) at (263,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (270,12) size 37x19
-          text run at (270,12) width 37: " spec."
+        LayoutText {#text} at (271,12) size 36x19
+          text run at (271,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-text2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-text2-expected.txt
index 25e0c4c..233606a0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-text2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-text2-expected.txt
@@ -17,37 +17,37 @@
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 118x19
-          LayoutRubyRun (anonymous) at (151,12) size 113.83x20
-            LayoutRubyText {RT} at (0,-12) size 113.83x12
+          LayoutRubyRun (anonymous) at (151,12) size 114x20
+            LayoutRubyText {RT} at (0,-12) size 114x12
               LayoutText {#text} at (0,0) size 114x12
                 text run at (0,0) width 114: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 113.83x20
-              LayoutInline {SPAN} at (0,0) size 23x19
-                LayoutText {#text} at (33,0) size 23x19
-                  text run at (33,0) width 23: "HT"
-              LayoutText {#text} at (55,0) size 25x19
-                text run at (55,0) width 25: "ML"
-          LayoutRubyRun (anonymous) at (264.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 114x20
+              LayoutInline {SPAN} at (0,0) size 22x19
+                LayoutText {#text} at (34,0) size 22x19
+                  text run at (34,0) width 22: "HT"
+              LayoutText {#text} at (56,0) size 24x19
+                text run at (56,0) width 24: "ML"
+          LayoutRubyRun (anonymous) at (265,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (272,12) size 37x19
-          text run at (272,12) width 37: " spec."
+        LayoutText {#text} at (273,12) size 36x19
+          text run at (273,12) width 36: " spec."
       LayoutBlockFlow {P} at (0,196) size 784x32
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 118x19
-          LayoutRubyRun (anonymous) at (151,12) size 113.83x20
-            LayoutRubyText {RT} at (0,-12) size 113.83x12
+          LayoutRubyRun (anonymous) at (151,12) size 114x20
+            LayoutRubyText {RT} at (0,-12) size 114x12
               LayoutText {#text} at (0,0) size 114x12
                 text run at (0,0) width 114: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 113.83x20
-              LayoutText {#text} at (33,0) size 47x19
-                text run at (33,0) width 47: "HTML"
-              LayoutInline {SPAN} at (0,0) size 1x19
-          LayoutRubyRun (anonymous) at (264.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 114x20
+              LayoutText {#text} at (34,0) size 46x19
+                text run at (34,0) width 46: "HTML"
+              LayoutInline {SPAN} at (0,0) size 0x19
+          LayoutRubyRun (anonymous) at (265,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (272,12) size 37x19
-          text run at (272,12) width 37: " spec."
+        LayoutText {#text} at (273,12) size 36x19
+          text run at (273,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-text3-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-text3-expected.txt
index dbc7e87..14358ca 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-text3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-insert-text3-expected.txt
@@ -16,39 +16,39 @@
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 118x19
-          LayoutRubyRun (anonymous) at (151,12) size 113.83x20
-            LayoutRubyText {RT} at (0,-12) size 113.83x12
+          LayoutRubyRun (anonymous) at (151,12) size 114x20
+            LayoutRubyText {RT} at (0,-12) size 114x12
               LayoutText {#text} at (0,0) size 114x12
                 text run at (0,0) width 114: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 113.83x20
-              LayoutText {#text} at (33,0) size 23x19
-                text run at (33,0) width 23: "HT"
-              LayoutInline {SPAN} at (0,0) size 25x19
-                LayoutText {#text} at (55,0) size 25x19
-                  text run at (55,0) width 25: "ML"
-          LayoutRubyRun (anonymous) at (264.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 114x20
+              LayoutText {#text} at (34,0) size 22x19
+                text run at (34,0) width 22: "HT"
+              LayoutInline {SPAN} at (0,0) size 24x19
+                LayoutText {#text} at (56,0) size 24x19
+                  text run at (56,0) width 24: "ML"
+          LayoutRubyRun (anonymous) at (265,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (272,12) size 37x19
-          text run at (272,12) width 37: " spec."
+        LayoutText {#text} at (273,12) size 36x19
+          text run at (273,12) width 36: " spec."
       LayoutBlockFlow {P} at (0,176) size 784x32
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 118x19
-          LayoutRubyRun (anonymous) at (151,12) size 113.83x20
-            LayoutRubyText {RT} at (0,-12) size 113.83x12
+          LayoutRubyRun (anonymous) at (151,12) size 114x20
+            LayoutRubyText {RT} at (0,-12) size 114x12
               LayoutText {#text} at (0,0) size 114x12
                 text run at (0,0) width 114: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 113.83x20
-              LayoutText {#text} at (33,0) size 23x19
-                text run at (33,0) width 23: "HT"
-              LayoutInline {SPAN} at (0,0) size 25x19
-                LayoutText {#text} at (55,0) size 25x19
-                  text run at (55,0) width 25: "ML"
-          LayoutRubyRun (anonymous) at (264.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 114x20
+              LayoutText {#text} at (34,0) size 22x19
+                text run at (34,0) width 22: "HT"
+              LayoutInline {SPAN} at (0,0) size 24x19
+                LayoutText {#text} at (56,0) size 24x19
+                  text run at (56,0) width 24: "ML"
+          LayoutRubyRun (anonymous) at (265,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (272,12) size 37x19
-          text run at (272,12) width 37: " spec."
+        LayoutText {#text} at (273,12) size 36x19
+          text run at (273,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-rt1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-rt1-expected.txt
index 79b870fb..3d93b63 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-rt1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-rt1-expected.txt
@@ -16,33 +16,33 @@
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 118x19
-          LayoutRubyRun (anonymous) at (151,12) size 113.83x20
-            LayoutRubyText {RT} at (0,-12) size 113.83x12
+          LayoutRubyRun (anonymous) at (151,12) size 114x20
+            LayoutRubyText {RT} at (0,-12) size 114x12
               LayoutText {#text} at (0,0) size 114x12
                 text run at (0,0) width 114: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 113.83x20
-              LayoutText {#text} at (33,0) size 47x19
-                text run at (33,0) width 47: "HTML"
-          LayoutRubyRun (anonymous) at (264.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 114x20
+              LayoutText {#text} at (34,0) size 46x19
+                text run at (34,0) width 46: "HTML"
+          LayoutRubyRun (anonymous) at (265,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (272,12) size 37x19
-          text run at (272,12) width 37: " spec."
+        LayoutText {#text} at (273,12) size 36x19
+          text run at (273,12) width 36: " spec."
       LayoutBlockFlow {P} at (0,176) size 784x32
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 118x19
-          LayoutRubyRun (anonymous) at (151,12) size 113.83x20
-            LayoutRubyText {RT} at (0,-12) size 113.83x12
+          LayoutRubyRun (anonymous) at (151,12) size 114x20
+            LayoutRubyText {RT} at (0,-12) size 114x12
               LayoutText {#text} at (0,0) size 114x12
                 text run at (0,0) width 114: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 113.83x20
-              LayoutText {#text} at (33,0) size 47x19
-                text run at (33,0) width 47: "HTML"
-          LayoutRubyRun (anonymous) at (264.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 114x20
+              LayoutText {#text} at (34,0) size 46x19
+                text run at (34,0) width 46: "HTML"
+          LayoutRubyRun (anonymous) at (265,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (272,12) size 37x19
-          text run at (272,12) width 37: " spec."
+        LayoutText {#text} at (273,12) size 36x19
+          text run at (273,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-rt2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-rt2-expected.txt
index dd3087a..01c21e28 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-rt2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-rt2-expected.txt
@@ -17,35 +17,35 @@
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 118x19
-          LayoutRubyRun (anonymous) at (151,12) size 113.83x20
-            LayoutRubyText {RT} at (0,-12) size 113.83x12
+          LayoutRubyRun (anonymous) at (151,12) size 114x20
+            LayoutRubyText {RT} at (0,-12) size 114x12
               LayoutText {#text} at (0,0) size 114x12
                 text run at (0,0) width 114: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 113.83x20
-              LayoutText {#text} at (33,0) size 23x19
-                text run at (33,0) width 23: "HT"
-              LayoutText {#text} at (55,0) size 25x19
-                text run at (55,0) width 25: "ML"
-          LayoutRubyRun (anonymous) at (264.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 114x20
+              LayoutText {#text} at (34,0) size 22x19
+                text run at (34,0) width 22: "HT"
+              LayoutText {#text} at (56,0) size 24x19
+                text run at (56,0) width 24: "ML"
+          LayoutRubyRun (anonymous) at (265,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (272,12) size 37x19
-          text run at (272,12) width 37: " spec."
+        LayoutText {#text} at (273,12) size 36x19
+          text run at (273,12) width 36: " spec."
       LayoutBlockFlow {P} at (0,196) size 784x32
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 118x19
-          LayoutRubyRun (anonymous) at (151,12) size 113.83x20
-            LayoutRubyText {RT} at (0,-12) size 113.83x12
+          LayoutRubyRun (anonymous) at (151,12) size 114x20
+            LayoutRubyText {RT} at (0,-12) size 114x12
               LayoutText {#text} at (0,0) size 114x12
                 text run at (0,0) width 114: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 113.83x20
-              LayoutText {#text} at (33,0) size 47x19
-                text run at (33,0) width 47: "HTML"
-          LayoutRubyRun (anonymous) at (264.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 114x20
+              LayoutText {#text} at (34,0) size 46x19
+                text run at (34,0) width 46: "HTML"
+          LayoutRubyRun (anonymous) at (265,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (272,12) size 37x19
-          text run at (272,12) width 37: " spec."
+        LayoutText {#text} at (273,12) size 36x19
+          text run at (273,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text1-expected.png
index 2890b745..f77e81a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text1-expected.txt
index 349fcad..1d9030bb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text1-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 761x19
-          text run at (0,0) width 761: "The following is a test for DOM manipulation within <ruby>: Removing a ruby base object, leaving the base non-empty."
+        LayoutText {#text} at (0,0) size 760x19
+          text run at (0,0) width 760: "The following is a test for DOM manipulation within <ruby>: Removing a ruby base object, leaving the base non-empty."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 436x19
           text run at (0,0) width 436: "Both lines should look identical (the first line is the one manipulated)."
@@ -16,35 +16,35 @@
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 118x19
-          LayoutRubyRun (anonymous) at (151,12) size 113.83x20
-            LayoutRubyText {RT} at (0,-12) size 113.83x12
+          LayoutRubyRun (anonymous) at (151,12) size 114x20
+            LayoutRubyText {RT} at (0,-12) size 114x12
               LayoutText {#text} at (0,0) size 114x12
                 text run at (0,0) width 114: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 113.83x20
-              LayoutInline {SPAN} at (0,0) size 47x19
-                LayoutText {#text} at (33,0) size 47x19
-                  text run at (33,0) width 47: "HTML"
-          LayoutRubyRun (anonymous) at (264.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 114x20
+              LayoutInline {SPAN} at (0,0) size 46x19
+                LayoutText {#text} at (34,0) size 46x19
+                  text run at (34,0) width 46: "HTML"
+          LayoutRubyRun (anonymous) at (265,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (272,12) size 37x19
-          text run at (272,12) width 37: " spec."
+        LayoutText {#text} at (273,12) size 36x19
+          text run at (273,12) width 36: " spec."
       LayoutBlockFlow {P} at (0,176) size 784x32
         LayoutText {#text} at (0,12) size 155x19
           text run at (0,12) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 118x19
-          LayoutRubyRun (anonymous) at (151,12) size 113.83x20
-            LayoutRubyText {RT} at (0,-12) size 113.83x12
+          LayoutRubyRun (anonymous) at (151,12) size 114x20
+            LayoutRubyText {RT} at (0,-12) size 114x12
               LayoutText {#text} at (0,0) size 114x12
                 text run at (0,0) width 114: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 113.83x20
-              LayoutInline {SPAN} at (0,0) size 47x19
-                LayoutText {#text} at (33,0) size 47x19
-                  text run at (33,0) width 47: "HTML"
-          LayoutRubyRun (anonymous) at (264.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 114x20
+              LayoutInline {SPAN} at (0,0) size 46x19
+                LayoutText {#text} at (34,0) size 46x19
+                  text run at (34,0) width 46: "HTML"
+          LayoutRubyRun (anonymous) at (265,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (272,12) size 37x19
-          text run at (272,12) width 37: " spec."
+        LayoutText {#text} at (273,12) size 36x19
+          text run at (273,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text2-expected.png
index 390643b..7cce1f59 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text2-expected.txt
index 54a09f9..3108d96 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/ruby/rubyDOM-remove-text2-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 732x19
-          text run at (0,0) width 732: "The following is a test for DOM manipulation within <ruby>: Removing a ruby base object, leaving the base empty."
+        LayoutText {#text} at (0,0) size 731x19
+          text run at (0,0) width 731: "The following is a test for DOM manipulation within <ruby>: Removing a ruby base object, leaving the base empty."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 436x19
           text run at (0,0) width 436: "Both lines should look identical (the first line is the one manipulated)."
@@ -16,27 +16,27 @@
         LayoutText {#text} at (0,0) size 155x19
           text run at (0,0) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 122x19
-          LayoutRubyRun (anonymous) at (155,17) size 113.83x0
-            LayoutRubyText {RT} at (0,-12) size 113.83x12
+          LayoutRubyRun (anonymous) at (155,17) size 114x0
+            LayoutRubyText {RT} at (0,-12) size 114x12
               LayoutText {#text} at (0,0) size 114x12
                 text run at (0,0) width 114: "Hyper-text Markup Language"
-          LayoutRubyRun (anonymous) at (268.83,0) size 8x20
+          LayoutRubyRun (anonymous) at (269,0) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (276,0) size 37x19
-          text run at (276,0) width 37: " spec."
+        LayoutText {#text} at (277,0) size 36x19
+          text run at (277,0) width 36: " spec."
       LayoutBlockFlow {P} at (0,164) size 784x20
         LayoutText {#text} at (0,0) size 155x19
           text run at (0,0) width 155: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 122x19
-          LayoutRubyRun (anonymous) at (155,17) size 113.83x0
-            LayoutRubyText {RT} at (0,-12) size 113.83x12
+          LayoutRubyRun (anonymous) at (155,17) size 114x0
+            LayoutRubyText {RT} at (0,-12) size 114x12
               LayoutText {#text} at (0,0) size 114x12
                 text run at (0,0) width 114: "Hyper-text Markup Language"
-          LayoutRubyRun (anonymous) at (268.83,0) size 8x20
+          LayoutRubyRun (anonymous) at (269,0) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (276,0) size 37x19
-          text run at (276,0) width 37: " spec."
+        LayoutText {#text} at (277,0) size 36x19
+          text run at (277,0) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/018-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/018-expected.png
index d586210..00f075d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/018-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/018-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/018-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/018-expected.txt
index 55a0dd2..d94bc9b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/018-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/018-expected.txt
@@ -10,27 +10,27 @@
         LayoutInline {STRONG} at (0,0) size 30x19
           LayoutText {#text} at (674,0) size 30x19
             text run at (674,0) width 30: "here"
-        LayoutText {#text} at (703,0) size 744x39
-          text run at (703,0) width 41: ") or its"
+        LayoutText {#text} at (704,0) size 744x39
+          text run at (704,0) width 40: ") or its"
           text run at (0,20) width 157: "whitespace background, "
         LayoutInline {STRONG} at (0,0) size 30x19
           LayoutText {#text} at (157,20) size 30x19
             text run at (157,20) width 30: "here"
-        LayoutText {#text} at (186,20) size 5x19
-          text run at (186,20) width 5: ":"
+        LayoutText {#text} at (187,20) size 4x19
+          text run at (187,20) width 4: ":"
       LayoutBlockFlow {ADDRESS} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 161x19
           text run at (0,0) width 161: "The background color of "
-        LayoutInline {A} at (0,0) size 115x19 [color=#0000EE]
-          LayoutText {#text} at (160,0) size 81x19
-            text run at (160,0) width 81: "this anchor ("
-          LayoutInline {STRONG} at (0,0) size 30x19
-            LayoutText {#text} at (240,0) size 30x19
-              text run at (240,0) width 30: "here"
-          LayoutText {#text} at (269,0) size 6x19
-            text run at (269,0) width 6: ")"
-        LayoutText {#text} at (274,0) size 387x19
-          text run at (274,0) width 387: " should turn to green when the pointing device hovers over it."
+        LayoutInline {A} at (0,0) size 114x19 [color=#0000EE]
+          LayoutText {#text} at (161,0) size 80x19
+            text run at (161,0) width 80: "this anchor ("
+          LayoutInline {STRONG} at (0,0) size 29x19
+            LayoutText {#text} at (241,0) size 29x19
+              text run at (241,0) width 29: "here"
+          LayoutText {#text} at (270,0) size 5x19
+            text run at (270,0) width 5: ")"
+        LayoutText {#text} at (275,0) size 387x19
+          text run at (275,0) width 387: " should turn to green when the pointing device hovers over it."
       LayoutTable {TABLE} at (0,76) size 308x221
         LayoutTableSection {TBODY} at (0,0) size 308x221
           LayoutTableRow {TR} at (0,5) size 308x22
@@ -63,8 +63,8 @@
               LayoutInline {STRONG} at (0,0) size 30x19
                 LayoutText {#text} at (41,1) size 30x19
                   text run at (41,1) width 30: "here"
-              LayoutText {#text} at (70,1) size 10x19
-                text run at (70,1) width 10: ")."
+              LayoutText {#text} at (71,1) size 9x19
+                text run at (71,1) width 9: ")."
             LayoutTableCell {TD} at (204,69) size 99x2 [r=2 c=2 rs=1 cs=1]
           LayoutTableRow {TR} at (0,86) size 308x22
             LayoutTableCell {TD} at (5,86) size 100x22 [r=3 c=0 rs=1 cs=1]
@@ -111,8 +111,8 @@
               LayoutInline {STRONG} at (0,0) size 30x19
                 LayoutText {#text} at (65,1) size 30x19
                   text run at (65,1) width 30: "here"
-              LayoutText {#text} at (94,1) size 5x19
-                text run at (94,1) width 5: ","
+              LayoutText {#text} at (95,1) size 4x19
+                text run at (95,1) width 4: ","
             LayoutTableCell {TD} at (110,204) size 89x2 [r=7 c=1 rs=1 cs=1]
             LayoutTableCell {TD} at (204,194) size 99x22 [r=7 c=2 rs=1 cs=1]
               LayoutText {#text} at (1,1) size 71x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/034-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/034-expected.png
index 241ad98..f0373514 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/034-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/034-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/034-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/034-expected.txt
index 838e60ed..eaf19b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/034-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/034-expected.txt
@@ -8,11 +8,11 @@
           LayoutText {#text} at (0,0) size 188x19
             text run at (0,0) width 188: "This div contains 3 addresses:"
         LayoutBlockFlow {ADDRESS} at (16,20) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 330x19
-            text run at (0,0) width 330: "A first address that should have a green background"
+          LayoutText {#text} at (0,0) size 331x19
+            text run at (0,0) width 331: "A first address that should have a green background"
         LayoutBlockFlow {ADDRESS} at (16,56) size 768x20
-          LayoutText {#text} at (0,0) size 271x19
-            text run at (0,0) width 271: "A second address with normal background"
+          LayoutText {#text} at (0,0) size 272x19
+            text run at (0,0) width 272: "A second address with normal background"
         LayoutBlockFlow {ADDRESS} at (16,92) size 768x20
-          LayoutText {#text} at (0,0) size 257x19
-            text run at (0,0) width 257: "A third address with normal background"
+          LayoutText {#text} at (0,0) size 258x19
+            text run at (0,0) width 258: "A third address with normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/041-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/041-expected.png
index af7fc35..78f7714 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/041-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/041-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/041-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/041-expected.txt
index dd7d810..24da676 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/041-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/041-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x72
     LayoutBlockFlow {BODY} at (8,16) size 784x40
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutInline {<pseudo:before>} at (0,0) size 183x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (0,0) size 183x19
-            text run at (0,0) width 183: "GENERATED CONTENT "
-        LayoutText {#text} at (182,0) size 735x39
-          text run at (182,0) width 553: "You should see before this paragraph the words GENERATED CONTENT over green"
+        LayoutInline {<pseudo:before>} at (0,0) size 182x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (0,0) size 182x19
+            text run at (0,0) width 182: "GENERATED CONTENT "
+        LayoutText {#text} at (182,0) size 734x39
+          text run at (182,0) width 552: "You should see before this paragraph the words GENERATED CONTENT over green"
           text run at (0,20) width 75: "background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/042-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/042-expected.png
index 0fe91bcf..5ec7714 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/042-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/042-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/042-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/042-expected.txt
index 1c87edcd..5c7fa77 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/042-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/042-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x72
     LayoutBlockFlow {BODY} at (8,16) size 784x40
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 620x19
-          text run at (0,0) width 620: "You should see after this paragraph the words GENERATED CONTENT over green background"
-        LayoutInline {<pseudo:after>} at (0,0) size 717x39 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (619,0) size 717x39
-            text run at (619,0) width 98: "GENERATED"
+        LayoutText {#text} at (0,0) size 619x19
+          text run at (0,0) width 619: "You should see after this paragraph the words GENERATED CONTENT over green background"
+        LayoutInline {<pseudo:after>} at (0,0) size 716x39 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (619,0) size 716x39
+            text run at (619,0) width 97: "GENERATED"
             text run at (0,20) width 77: "CONTENT"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045-expected.png
index b3f7eea..dba39371 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045-expected.txt
index d76db36..e294e498 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 323x19
             text run at (0,0) width 323: "And this one should also have a green background."
         LayoutBlockFlow {ADDRESS} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 434x19
-            text run at (0,0) width 434: "This address is only here to fill some space between two paragraphs."
+          LayoutText {#text} at (0,0) size 435x19
+            text run at (0,0) width 435: "This address is only here to fill some space between two paragraphs."
         LayoutBlockFlow {P} at (0,144) size 784x20
           LayoutText {#text} at (0,0) size 221x19
             text run at (0,0) width 221: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045b-expected.png
index 66d12b43..45e8e0c9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045b-expected.txt
index 04a9de7..2806e4b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/045b-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 236x19
             text run at (0,0) width 236: "And this one should also be unstyled."
         LayoutBlockFlow {ADDRESS} at (0,108) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 673x19
-            text run at (0,0) width 673: "This address is only here to fill some space between two paragraphs and should have a green background."
+          LayoutText {#text} at (0,0) size 675x19
+            text run at (0,0) width 675: "This address is only here to fill some space between two paragraphs and should have a green background."
         LayoutBlockFlow {P} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 332x19
             text run at (0,0) width 332: "This paragraph should have a green background too."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/046-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/046-expected.png
index b0c0e21a..c83b744 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/046-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/046-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/046-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/046-expected.txt
index a12169c..daafc46 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/046-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/046-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 319x19
             text run at (0,0) width 319: "And this one should also have a green background"
         LayoutBlockFlow {ADDRESS} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 430x19
-            text run at (0,0) width 430: "This address is only here to fill some space between two paragraphs"
+          LayoutText {#text} at (0,0) size 431x19
+            text run at (0,0) width 431: "This address is only here to fill some space between two paragraphs"
         LayoutBlockFlow {P} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 304x19
             text run at (0,0) width 304: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/159-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/159-expected.png
index a4b35a0..685c532c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/159-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/159-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/166-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/166-expected.png
index b082cfdd..127a4ea 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/166-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/166-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/166-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/166-expected.txt
index 11c2302..4b4ad374 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/166-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/166-expected.txt
@@ -284,11 +284,11 @@
             text run at (122,0) width 30: " (#1)"
         LayoutListItem {LI} at (40,20) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 143x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 143x19
-              text run at (0,0) width 143: "Type element selectors"
-          LayoutText {#text} at (142,0) size 31x19
-            text run at (142,0) width 31: " (#2)"
+          LayoutInline {A} at (0,0) size 142x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 142x19
+              text run at (0,0) width 142: "Type element selectors"
+          LayoutText {#text} at (142,0) size 30x19
+            text run at (142,0) width 30: " (#2)"
         LayoutListItem {LI} at (40,40) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 164x19 [color=#0000EE]
@@ -427,22 +427,22 @@
           LayoutInline {A} at (0,0) size 123x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 123x19
               text run at (0,0) width 123: ":target pseudo-class"
-          LayoutText {#text} at (122,0) size 39x19
-            text run at (122,0) width 39: " (#21)"
+          LayoutText {#text} at (123,0) size 38x19
+            text run at (123,0) width 38: " (#21)"
         LayoutListItem {LI} at (40,440) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 123x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 123x19
               text run at (0,0) width 123: ":target pseudo-class"
-          LayoutText {#text} at (122,0) size 47x19
-            text run at (122,0) width 47: " (#21b)"
+          LayoutText {#text} at (123,0) size 46x19
+            text run at (123,0) width 46: " (#21b)"
         LayoutListItem {LI} at (40,460) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 123x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 123x19
               text run at (0,0) width 123: ":target pseudo-class"
-          LayoutText {#text} at (122,0) size 46x19
-            text run at (122,0) width 46: " (#21c)"
+          LayoutText {#text} at (123,0) size 45x19
+            text run at (123,0) width 45: " (#21c)"
         LayoutListItem {LI} at (40,480) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 125x19 [color=#0000EE]
@@ -697,25 +697,25 @@
             text run at (179,0) width 46: " (#46b)"
         LayoutListItem {LI} at (40,1200) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 394x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 394x19
-              text run at (0,0) width 394: "NEGATED substring matching attribute selector on beginning"
-          LayoutText {#text} at (393,0) size 39x19
-            text run at (393,0) width 39: " (#54)"
+          LayoutInline {A} at (0,0) size 393x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 393x19
+              text run at (0,0) width 393: "NEGATED substring matching attribute selector on beginning"
+          LayoutText {#text} at (393,0) size 38x19
+            text run at (393,0) width 38: " (#54)"
         LayoutListItem {LI} at (40,1220) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 354x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 354x19
-              text run at (0,0) width 354: "NEGATED substring matching attribute selector on end"
-          LayoutText {#text} at (353,0) size 39x19
-            text run at (353,0) width 39: " (#55)"
+          LayoutInline {A} at (0,0) size 353x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 353x19
+              text run at (0,0) width 353: "NEGATED substring matching attribute selector on end"
+          LayoutText {#text} at (353,0) size 38x19
+            text run at (353,0) width 38: " (#55)"
         LayoutListItem {LI} at (40,1240) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 374x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 374x19
-              text run at (0,0) width 374: "NEGATED substring matching attribute selector on middle"
-          LayoutText {#text} at (373,0) size 39x19
-            text run at (373,0) width 39: " (#56)"
+          LayoutInline {A} at (0,0) size 373x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 373x19
+              text run at (0,0) width 373: "NEGATED substring matching attribute selector on middle"
+          LayoutText {#text} at (373,0) size 38x19
+            text run at (373,0) width 38: " (#56)"
         LayoutListItem {LI} at (40,1260) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 309x19 [color=#0000EE]
@@ -725,228 +725,228 @@
             text run at (309,0) width 38: " (#58)"
         LayoutListItem {LI} at (40,1280) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 163x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 163x19
-              text run at (0,0) width 163: "NEGATED class selector"
-          LayoutText {#text} at (162,0) size 39x19
-            text run at (162,0) width 39: " (#59)"
+          LayoutInline {A} at (0,0) size 162x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 162x19
+              text run at (0,0) width 162: "NEGATED class selector"
+          LayoutText {#text} at (162,0) size 38x19
+            text run at (162,0) width 38: " (#59)"
         LayoutListItem {LI} at (40,1300) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 150x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 150x19
-              text run at (0,0) width 150: "NEGATED ID selector"
-          LayoutText {#text} at (149,0) size 39x19
-            text run at (149,0) width 39: " (#60)"
+          LayoutInline {A} at (0,0) size 149x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 149x19
+              text run at (0,0) width 149: "NEGATED ID selector"
+          LayoutText {#text} at (149,0) size 38x19
+            text run at (149,0) width 38: " (#60)"
         LayoutListItem {LI} at (40,1320) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 193x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 193x19
-              text run at (0,0) width 193: "NEGATED :link pseudo-class"
-          LayoutText {#text} at (192,0) size 39x19
-            text run at (192,0) width 39: " (#61)"
+          LayoutInline {A} at (0,0) size 192x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 192x19
+              text run at (0,0) width 192: "NEGATED :link pseudo-class"
+          LayoutText {#text} at (192,0) size 38x19
+            text run at (192,0) width 38: " (#61)"
         LayoutListItem {LI} at (40,1340) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 210x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 210x19
-              text run at (0,0) width 210: "NEGATED :visited pseudo-class"
-          LayoutText {#text} at (209,0) size 39x19
-            text run at (209,0) width 39: " (#62)"
+          LayoutInline {A} at (0,0) size 209x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 209x19
+              text run at (0,0) width 209: "NEGATED :visited pseudo-class"
+          LayoutText {#text} at (209,0) size 38x19
+            text run at (209,0) width 38: " (#62)"
         LayoutListItem {LI} at (40,1360) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutInline {A} at (0,0) size 204x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 204x19
+              text run at (0,0) width 204: "NEGATED :hover pseudo-class"
+          LayoutText {#text} at (204,0) size 38x19
+            text run at (204,0) width 38: " (#63)"
+        LayoutListItem {LI} at (40,1380) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 205x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 205x19
-              text run at (0,0) width 205: "NEGATED :hover pseudo-class"
-          LayoutText {#text} at (204,0) size 39x19
-            text run at (204,0) width 39: " (#63)"
-        LayoutListItem {LI} at (40,1380) size 729x20
-          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 206x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 206x19
-              text run at (0,0) width 206: "NEGATED :active pseudo-class"
-          LayoutText {#text} at (205,0) size 39x19
-            text run at (205,0) width 39: " (#64)"
+              text run at (0,0) width 205: "NEGATED :active pseudo-class"
+          LayoutText {#text} at (205,0) size 38x19
+            text run at (205,0) width 38: " (#64)"
         LayoutListItem {LI} at (40,1400) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 203x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 203x19
-              text run at (0,0) width 203: "NEGATED :focus pseudo-class"
-          LayoutText {#text} at (202,0) size 39x19
-            text run at (202,0) width 39: " (#65)"
+          LayoutInline {A} at (0,0) size 202x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 202x19
+              text run at (0,0) width 202: "NEGATED :focus pseudo-class"
+          LayoutText {#text} at (202,0) size 38x19
+            text run at (202,0) width 38: " (#65)"
         LayoutListItem {LI} at (40,1420) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 203x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 203x19
               text run at (0,0) width 203: "NEGATED :target pseudo-class"
-          LayoutText {#text} at (202,0) size 39x19
-            text run at (202,0) width 39: " (#66)"
+          LayoutText {#text} at (203,0) size 38x19
+            text run at (203,0) width 38: " (#66)"
         LayoutListItem {LI} at (40,1440) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 203x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 203x19
               text run at (0,0) width 203: "NEGATED :target pseudo-class"
-          LayoutText {#text} at (202,0) size 47x19
-            text run at (202,0) width 47: " (#66b)"
+          LayoutText {#text} at (203,0) size 46x19
+            text run at (203,0) width 46: " (#66b)"
         LayoutListItem {LI} at (40,1460) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 206x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 206x19
-              text run at (0,0) width 206: "NEGATED :lang() pseudo-class"
-          LayoutText {#text} at (205,0) size 39x19
-            text run at (205,0) width 39: " (#67)"
+          LayoutInline {A} at (0,0) size 205x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 205x19
+              text run at (0,0) width 205: "NEGATED :lang() pseudo-class"
+          LayoutText {#text} at (205,0) size 38x19
+            text run at (205,0) width 38: " (#67)"
         LayoutListItem {LI} at (40,1480) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 221x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 221x19
-              text run at (0,0) width 221: "NEGATED :checked pseudo-class"
-          LayoutText {#text} at (220,0) size 39x19
-            text run at (220,0) width 39: " (#70)"
+          LayoutInline {A} at (0,0) size 220x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 220x19
+              text run at (0,0) width 220: "NEGATED :checked pseudo-class"
+          LayoutText {#text} at (220,0) size 38x19
+            text run at (220,0) width 38: " (#70)"
         LayoutListItem {LI} at (40,1500) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 194x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 194x19
-              text run at (0,0) width 194: "NEGATED :root pseudo-class"
-          LayoutText {#text} at (193,0) size 39x19
-            text run at (193,0) width 39: " (#72)"
+          LayoutInline {A} at (0,0) size 193x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 193x19
+              text run at (0,0) width 193: "NEGATED :root pseudo-class"
+          LayoutText {#text} at (193,0) size 38x19
+            text run at (193,0) width 38: " (#72)"
         LayoutListItem {LI} at (40,1520) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 194x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 194x19
-              text run at (0,0) width 194: "NEGATED :root pseudo-class"
-          LayoutText {#text} at (193,0) size 47x19
-            text run at (193,0) width 47: " (#72b)"
+          LayoutInline {A} at (0,0) size 193x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 193x19
+              text run at (0,0) width 193: "NEGATED :root pseudo-class"
+          LayoutText {#text} at (193,0) size 46x19
+            text run at (193,0) width 46: " (#72b)"
         LayoutListItem {LI} at (40,1540) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 235x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 235x19
-              text run at (0,0) width 235: "NEGATED :nth-child() pseudo-class"
-          LayoutText {#text} at (234,0) size 39x19
-            text run at (234,0) width 39: " (#73)"
+          LayoutInline {A} at (0,0) size 234x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 234x19
+              text run at (0,0) width 234: "NEGATED :nth-child() pseudo-class"
+          LayoutText {#text} at (234,0) size 38x19
+            text run at (234,0) width 38: " (#73)"
         LayoutListItem {LI} at (40,1560) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 235x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 235x19
-              text run at (0,0) width 235: "NEGATED :nth-child() pseudo-class"
-          LayoutText {#text} at (234,0) size 47x19
-            text run at (234,0) width 47: " (#73b)"
+          LayoutInline {A} at (0,0) size 234x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 234x19
+              text run at (0,0) width 234: "NEGATED :nth-child() pseudo-class"
+          LayoutText {#text} at (234,0) size 46x19
+            text run at (234,0) width 46: " (#73b)"
         LayoutListItem {LI} at (40,1580) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 261x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 261x19
-              text run at (0,0) width 261: "NEGATED :nth-last-child() pseudo-class"
-          LayoutText {#text} at (260,0) size 39x19
-            text run at (260,0) width 39: " (#74)"
+          LayoutInline {A} at (0,0) size 260x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 260x19
+              text run at (0,0) width 260: "NEGATED :nth-last-child() pseudo-class"
+          LayoutText {#text} at (260,0) size 38x19
+            text run at (260,0) width 38: " (#74)"
         LayoutListItem {LI} at (40,1600) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 261x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 261x19
-              text run at (0,0) width 261: "NEGATED :nth-last-child() pseudo-class"
-          LayoutText {#text} at (260,0) size 47x19
-            text run at (260,0) width 47: " (#74b)"
+          LayoutInline {A} at (0,0) size 260x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 260x19
+              text run at (0,0) width 260: "NEGATED :nth-last-child() pseudo-class"
+          LayoutText {#text} at (260,0) size 46x19
+            text run at (260,0) width 46: " (#74b)"
         LayoutListItem {LI} at (40,1620) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 249x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 249x19
-              text run at (0,0) width 249: "NEGATED :nth-of-type() pseudo-class"
-          LayoutText {#text} at (248,0) size 39x19
-            text run at (248,0) width 39: " (#75)"
+          LayoutInline {A} at (0,0) size 248x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 248x19
+              text run at (0,0) width 248: "NEGATED :nth-of-type() pseudo-class"
+          LayoutText {#text} at (248,0) size 38x19
+            text run at (248,0) width 38: " (#75)"
         LayoutListItem {LI} at (40,1640) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 249x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 249x19
-              text run at (0,0) width 249: "NEGATED :nth-of-type() pseudo-class"
-          LayoutText {#text} at (248,0) size 47x19
-            text run at (248,0) width 47: " (#75b)"
+          LayoutInline {A} at (0,0) size 248x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 248x19
+              text run at (0,0) width 248: "NEGATED :nth-of-type() pseudo-class"
+          LayoutText {#text} at (248,0) size 46x19
+            text run at (248,0) width 46: " (#75b)"
         LayoutListItem {LI} at (40,1660) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 275x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 275x19
-              text run at (0,0) width 275: "NEGATED :nth-last-of-type() pseudo-class"
-          LayoutText {#text} at (274,0) size 39x19
-            text run at (274,0) width 39: " (#76)"
+          LayoutInline {A} at (0,0) size 274x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 274x19
+              text run at (0,0) width 274: "NEGATED :nth-last-of-type() pseudo-class"
+          LayoutText {#text} at (274,0) size 38x19
+            text run at (274,0) width 38: " (#76)"
         LayoutListItem {LI} at (40,1680) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 275x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 275x19
-              text run at (0,0) width 275: "NEGATED :nth-last-of-type() pseudo-class"
-          LayoutText {#text} at (274,0) size 47x19
-            text run at (274,0) width 47: " (#76b)"
+          LayoutInline {A} at (0,0) size 274x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 274x19
+              text run at (0,0) width 274: "NEGATED :nth-last-of-type() pseudo-class"
+          LayoutText {#text} at (274,0) size 46x19
+            text run at (274,0) width 46: " (#76b)"
         LayoutListItem {LI} at (40,1700) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 229x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 229x19
-              text run at (0,0) width 229: "NEGATED :first-child pseudo-class"
-          LayoutText {#text} at (228,0) size 39x19
-            text run at (228,0) width 39: " (#77)"
+          LayoutInline {A} at (0,0) size 228x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 228x19
+              text run at (0,0) width 228: "NEGATED :first-child pseudo-class"
+          LayoutText {#text} at (228,0) size 38x19
+            text run at (228,0) width 38: " (#77)"
         LayoutListItem {LI} at (40,1720) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 229x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 229x19
-              text run at (0,0) width 229: "NEGATED :first-child pseudo-class"
-          LayoutText {#text} at (228,0) size 47x19
-            text run at (228,0) width 47: " (#77b)"
+          LayoutInline {A} at (0,0) size 228x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 228x19
+              text run at (0,0) width 228: "NEGATED :first-child pseudo-class"
+          LayoutText {#text} at (228,0) size 46x19
+            text run at (228,0) width 46: " (#77b)"
         LayoutListItem {LI} at (40,1740) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 226x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 226x19
-              text run at (0,0) width 226: "NEGATED :last-child pseudo-class"
-          LayoutText {#text} at (225,0) size 39x19
-            text run at (225,0) width 39: " (#78)"
+          LayoutInline {A} at (0,0) size 225x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 225x19
+              text run at (0,0) width 225: "NEGATED :last-child pseudo-class"
+          LayoutText {#text} at (225,0) size 38x19
+            text run at (225,0) width 38: " (#78)"
         LayoutListItem {LI} at (40,1760) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 226x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 226x19
-              text run at (0,0) width 226: "NEGATED :last-child pseudo-class"
-          LayoutText {#text} at (225,0) size 47x19
-            text run at (225,0) width 47: " (#78b)"
+          LayoutInline {A} at (0,0) size 225x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 225x19
+              text run at (0,0) width 225: "NEGATED :last-child pseudo-class"
+          LayoutText {#text} at (225,0) size 46x19
+            text run at (225,0) width 46: " (#78b)"
         LayoutListItem {LI} at (40,1780) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 243x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 243x19
-              text run at (0,0) width 243: "NEGATED :first-of-type pseudo-class"
-          LayoutText {#text} at (242,0) size 39x19
-            text run at (242,0) width 39: " (#79)"
+          LayoutInline {A} at (0,0) size 242x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 242x19
+              text run at (0,0) width 242: "NEGATED :first-of-type pseudo-class"
+          LayoutText {#text} at (242,0) size 38x19
+            text run at (242,0) width 38: " (#79)"
         LayoutListItem {LI} at (40,1800) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 240x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 240x19
-              text run at (0,0) width 240: "NEGATED :last-of-type pseudo-class"
-          LayoutText {#text} at (239,0) size 39x19
-            text run at (239,0) width 39: " (#80)"
+          LayoutInline {A} at (0,0) size 239x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 239x19
+              text run at (0,0) width 239: "NEGATED :last-of-type pseudo-class"
+          LayoutText {#text} at (239,0) size 38x19
+            text run at (239,0) width 38: " (#80)"
         LayoutListItem {LI} at (40,1820) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 233x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 233x19
-              text run at (0,0) width 233: "NEGATED :only-child pseudo-class"
-          LayoutText {#text} at (232,0) size 39x19
-            text run at (232,0) width 39: " (#81)"
+          LayoutInline {A} at (0,0) size 232x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 232x19
+              text run at (0,0) width 232: "NEGATED :only-child pseudo-class"
+          LayoutText {#text} at (232,0) size 38x19
+            text run at (232,0) width 38: " (#81)"
         LayoutListItem {LI} at (40,1840) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 233x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 233x19
-              text run at (0,0) width 233: "NEGATED :only-child pseudo-class"
-          LayoutText {#text} at (232,0) size 47x19
-            text run at (232,0) width 47: " (#81b)"
+          LayoutInline {A} at (0,0) size 232x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 232x19
+              text run at (0,0) width 232: "NEGATED :only-child pseudo-class"
+          LayoutText {#text} at (232,0) size 46x19
+            text run at (232,0) width 46: " (#81b)"
         LayoutListItem {LI} at (40,1860) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 247x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 247x19
-              text run at (0,0) width 247: "NEGATED :only-of-type pseudo-class"
-          LayoutText {#text} at (246,0) size 39x19
-            text run at (246,0) width 39: " (#82)"
+          LayoutInline {A} at (0,0) size 246x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 246x19
+              text run at (0,0) width 246: "NEGATED :only-of-type pseudo-class"
+          LayoutText {#text} at (246,0) size 38x19
+            text run at (246,0) width 38: " (#82)"
         LayoutListItem {LI} at (40,1880) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 247x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 247x19
-              text run at (0,0) width 247: "NEGATED :only-of-type pseudo-class"
-          LayoutText {#text} at (246,0) size 47x19
-            text run at (246,0) width 47: " (#82b)"
+          LayoutInline {A} at (0,0) size 246x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 246x19
+              text run at (0,0) width 246: "NEGATED :only-of-type pseudo-class"
+          LayoutText {#text} at (246,0) size 46x19
+            text run at (246,0) width 46: " (#82b)"
         LayoutListItem {LI} at (40,1900) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 340x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 340x19
               text run at (0,0) width 340: "Negation pseudo-class cannot be an argument of itself"
-          LayoutText {#text} at (339,0) size 39x19
-            text run at (339,0) width 39: " (#83)"
+          LayoutText {#text} at (340,0) size 38x19
+            text run at (340,0) width 38: " (#83)"
         LayoutListItem {LI} at (40,1920) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 150x19 [color=#0000EE]
@@ -963,11 +963,11 @@
             text run at (150,0) width 46: " (#84b)"
         LayoutListItem {LI} at (40,1960) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 231x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 231x19
-              text run at (0,0) width 231: "NEGATED :contains() pseudo-class"
-          LayoutText {#text} at (230,0) size 39x19
-            text run at (230,0) width 39: " (#85)"
+          LayoutInline {A} at (0,0) size 230x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 230x19
+              text run at (0,0) width 230: "NEGATED :contains() pseudo-class"
+          LayoutText {#text} at (230,0) size 38x19
+            text run at (230,0) width 38: " (#85)"
         LayoutListItem {LI} at (40,1980) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 441x19 [color=#0000EE]
@@ -1019,11 +1019,11 @@
             text run at (397,0) width 46: " (#90b)"
         LayoutListItem {LI} at (40,2120) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 287x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 287x19
-              text run at (0,0) width 287: "NEGATED :enabled:disabled pseudo-classes"
-          LayoutText {#text} at (286,0) size 47x19
-            text run at (286,0) width 47: " (#144)"
+          LayoutInline {A} at (0,0) size 286x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 286x19
+              text run at (0,0) width 286: "NEGATED :enabled:disabled pseudo-classes"
+          LayoutText {#text} at (286,0) size 46x19
+            text run at (286,0) width 46: " (#144)"
         LayoutListItem {LI} at (40,2140) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 181x19 [color=#0000EE]
@@ -1299,18 +1299,18 @@
             text run at (176,0) width 53: " (#175c)"
         LayoutListItem {LI} at (40,2920) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 262x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 262x19
-              text run at (0,0) width 262: "NEGATED Dynamic handling of :empty"
-          LayoutText {#text} at (261,0) size 39x19
-            text run at (261,0) width 39: " (#d1)"
+          LayoutInline {A} at (0,0) size 261x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 261x19
+              text run at (0,0) width 261: "NEGATED Dynamic handling of :empty"
+          LayoutText {#text} at (261,0) size 38x19
+            text run at (261,0) width 38: " (#d1)"
         LayoutListItem {LI} at (40,2940) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 262x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 262x19
-              text run at (0,0) width 262: "NEGATED Dynamic handling of :empty"
-          LayoutText {#text} at (261,0) size 47x19
-            text run at (261,0) width 47: " (#d1b)"
+          LayoutInline {A} at (0,0) size 261x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 261x19
+              text run at (0,0) width 261: "NEGATED Dynamic handling of :empty"
+          LayoutText {#text} at (261,0) size 46x19
+            text run at (261,0) width 46: " (#d1b)"
         LayoutListItem {LI} at (40,2960) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 215x19 [color=#0000EE]
@@ -1341,11 +1341,11 @@
             text run at (176,0) width 45: " (#d5a)"
         LayoutListItem {LI} at (40,3040) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 257x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 257x19
-              text run at (0,0) width 257: "NEGATED :indeterminate and :checked"
-          LayoutText {#text} at (256,0) size 47x19
-            text run at (256,0) width 47: " (#d5b)"
+          LayoutInline {A} at (0,0) size 256x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 256x19
+              text run at (0,0) width 256: "NEGATED :indeterminate and :checked"
+          LayoutText {#text} at (256,0) size 46x19
+            text run at (256,0) width 46: " (#d5b)"
         LayoutListItem {LI} at (40,3060) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 176x19 [color=#0000EE]
@@ -1362,11 +1362,11 @@
             text run at (181,0) width 46: " (#d5d)"
         LayoutListItem {LI} at (40,3100) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 262x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 262x19
-              text run at (0,0) width 262: "NEGATED :indeterminate with :checked"
-          LayoutText {#text} at (261,0) size 46x19
-            text run at (261,0) width 46: " (#d5e)"
+          LayoutInline {A} at (0,0) size 261x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 261x19
+              text run at (0,0) width 261: "NEGATED :indeterminate with :checked"
+          LayoutText {#text} at (261,0) size 45x19
+            text run at (261,0) width 45: " (#d5e)"
       LayoutBlockFlow {P} at (0,3604.06) size 769x20
         LayoutText {#text} at (0,0) size 60x19
           text run at (0,0) width 60: "See also: "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168-expected.png
index 6b610a4..9ebb2de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168-expected.txt
index 91a118f..955b8b1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168-expected.txt
@@ -6,12 +6,12 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 82x19
           text run at (0,0) width 82: "This test has "
-        LayoutInline {SPAN} at (0,0) size 60x19
-          LayoutInline {<pseudo:before>} at (0,0) size 60x19 [bgcolor=#00FF00]
-            LayoutTextFragment (anonymous) at (82,0) size 60x19
-              text run at (82,0) width 60: "PASSED"
-        LayoutText {#text} at (141,0) size 5x19
-          text run at (141,0) width 5: "."
+        LayoutInline {SPAN} at (0,0) size 59x19
+          LayoutInline {<pseudo:before>} at (0,0) size 59x19 [bgcolor=#00FF00]
+            LayoutTextFragment (anonymous) at (82,0) size 59x19
+              text run at (82,0) width 59: "PASSED"
+        LayoutText {#text} at (141,0) size 4x19
+          text run at (141,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 445x19
           text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168a-expected.png
index 6b610a4..9ebb2de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168a-expected.txt
index 91a118f..955b8b1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/168a-expected.txt
@@ -6,12 +6,12 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 82x19
           text run at (0,0) width 82: "This test has "
-        LayoutInline {SPAN} at (0,0) size 60x19
-          LayoutInline {<pseudo:before>} at (0,0) size 60x19 [bgcolor=#00FF00]
-            LayoutTextFragment (anonymous) at (82,0) size 60x19
-              text run at (82,0) width 60: "PASSED"
-        LayoutText {#text} at (141,0) size 5x19
-          text run at (141,0) width 5: "."
+        LayoutInline {SPAN} at (0,0) size 59x19
+          LayoutInline {<pseudo:before>} at (0,0) size 59x19 [bgcolor=#00FF00]
+            LayoutTextFragment (anonymous) at (82,0) size 59x19
+              text run at (82,0) width 59: "PASSED"
+        LayoutText {#text} at (141,0) size 4x19
+          text run at (141,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 445x19
           text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169-expected.png
index 6b610a4..9ebb2de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169-expected.txt
index 055d65f..3cd9b8fe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169-expected.txt
@@ -6,12 +6,12 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 82x19
           text run at (0,0) width 82: "This test has "
-        LayoutInline {SPAN} at (0,0) size 60x19
-          LayoutInline {<pseudo:after>} at (0,0) size 60x19 [bgcolor=#00FF00]
-            LayoutTextFragment (anonymous) at (82,0) size 60x19
-              text run at (82,0) width 60: "PASSED"
-        LayoutText {#text} at (141,0) size 5x19
-          text run at (141,0) width 5: "."
+        LayoutInline {SPAN} at (0,0) size 59x19
+          LayoutInline {<pseudo:after>} at (0,0) size 59x19 [bgcolor=#00FF00]
+            LayoutTextFragment (anonymous) at (82,0) size 59x19
+              text run at (82,0) width 59: "PASSED"
+        LayoutText {#text} at (141,0) size 4x19
+          text run at (141,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 445x19
           text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169a-expected.png
index 6b610a4..9ebb2de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169a-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169a-expected.txt
index 055d65f..3cd9b8fe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/169a-expected.txt
@@ -6,12 +6,12 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 82x19
           text run at (0,0) width 82: "This test has "
-        LayoutInline {SPAN} at (0,0) size 60x19
-          LayoutInline {<pseudo:after>} at (0,0) size 60x19 [bgcolor=#00FF00]
-            LayoutTextFragment (anonymous) at (82,0) size 60x19
-              text run at (82,0) width 60: "PASSED"
-        LayoutText {#text} at (141,0) size 5x19
-          text run at (141,0) width 5: "."
+        LayoutInline {SPAN} at (0,0) size 59x19
+          LayoutInline {<pseudo:after>} at (0,0) size 59x19 [bgcolor=#00FF00]
+            LayoutTextFragment (anonymous) at (82,0) size 59x19
+              text run at (82,0) width 59: "PASSED"
+        LayoutText {#text} at (141,0) size 4x19
+          text run at (141,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 445x19
           text run at (0,0) width 445: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-quirks-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-quirks-expected.png
index 3a17096..5a21326 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-quirks-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-quirks-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-quirks-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-quirks-expected.txt
index fb6744bf..d250420d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-quirks-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-quirks-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {H3} at (0,0) size 784x23
-        LayoutText {#text} at (0,0) size 467x22
-          text run at (0,0) width 467: "Test of unqualifed :hover selector in quirks parsing mode"
+        LayoutText {#text} at (0,0) size 466x22
+          text run at (0,0) width 466: "Test of unqualifed :hover selector in quirks parsing mode"
       LayoutBlockFlow {P} at (0,41.72) size 784x20
         LayoutText {#text} at (0,0) size 616x19
           text run at (0,0) width 616: "Moving the mouse anywhere over the document should result no change to the background color."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-strict-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-strict-expected.png
index 83c1354..9830111 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-strict-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-strict-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-strict-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-strict-expected.txt
index 3aa6474c..a768b1f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-strict-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/unqualified-hover-strict-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x96.44
     LayoutBlockFlow {BODY} at (8,18.72) size 784x61.72
       LayoutBlockFlow {H3} at (0,0) size 784x23
-        LayoutText {#text} at (0,0) size 454x22
-          text run at (0,0) width 454: "Test of unqualifed :hover selector in strict parsing mode"
+        LayoutText {#text} at (0,0) size 453x22
+          text run at (0,0) width 453: "Test of unqualifed :hover selector in strict parsing mode"
       LayoutBlockFlow {P} at (0,41.72) size 784x20
-        LayoutText {#text} at (0,0) size 690x19
-          text run at (0,0) width 690: "Moving the mouse anywhere over the document should result in the background color being changed to grey."
+        LayoutText {#text} at (0,0) size 689x19
+          text run at (0,0) width 689: "Moving the mouse anywhere over the document should result in the background color being changed to grey."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/visited-descendant-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/visited-descendant-expected.png
index 8b628f0..c2ad8dc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/visited-descendant-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/visited-descendant-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/visited-descendant-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/visited-descendant-expected.txt
index 2a07bef..8d2b376 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/visited-descendant-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/selectors/visited-descendant-expected.txt
@@ -22,8 +22,8 @@
               text run at (0,0) width 30: "Link"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,144) size 784x20
-        LayoutText {#text} at (0,0) size 653x19
-          text run at (0,0) width 653: "Test that visited style does not match to non-topmost links. The link should be red, with red underlining."
+        LayoutText {#text} at (0,0) size 652x19
+          text run at (0,0) width 652: "Test that visited style does not match to non-topmost links. The link should be red, with red underlining."
       LayoutBlockFlow {P} at (0,180) size 784x20
         LayoutInline {A} at (0,0) size 0x0 [color=#FF0000]
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -32,9 +32,9 @@
             text run at (0,0) width 30: "Link"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,216) size 784x40
-        LayoutText {#text} at (0,0) size 766x39
-          text run at (0,0) width 766: "Test that direct adjacent selector doesn't match visited style. The link should be red, with red underlining. The span should"
-          text run at (0,20) width 58: "be green."
+        LayoutText {#text} at (0,0) size 784x39
+          text run at (0,0) width 784: "Test that direct adjacent selector doesn't match visited style. The link should be red, with red underlining. The span should be"
+          text run at (0,20) width 39: "green."
       LayoutBlockFlow {P} at (0,272) size 784x20
         LayoutInline {A} at (0,0) size 30x19 [color=#FF0000]
           LayoutText {#text} at (0,0) size 30x19
@@ -46,8 +46,8 @@
             text run at (34,0) width 32: "Span"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,308) size 784x40
-        LayoutText {#text} at (0,0) size 778x39
-          text run at (0,0) width 778: "Test that indirect adjacent selector doesn't match visited style. The link should be red, with red underlining. The span should"
+        LayoutText {#text} at (0,0) size 777x39
+          text run at (0,0) width 777: "Test that indirect adjacent selector doesn't match visited style. The link should be red, with red underlining. The span should"
           text run at (0,20) width 58: "be green."
       LayoutBlockFlow {P} at (0,364) size 784x20
         LayoutInline {A} at (0,0) size 30x19 [color=#FF0000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/spatial-navigation/snav-multiple-select-focusring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/spatial-navigation/snav-multiple-select-focusring-expected.txt
index 20f9997a..5a7253f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/spatial-navigation/snav-multiple-select-focusring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/spatial-navigation/snav-multiple-select-focusring-expected.txt
@@ -5,10 +5,10 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x71
       LayoutText {#text} at (0,0) size 0x0
 layer at (8,8) size 372x70 clip at (9,9) size 355x68
-  LayoutListBox {SELECT} at (0,0) size 371.77x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 354.77x17 [color=#FFFFCC] [bgcolor=#0000FF]
+  LayoutListBox {SELECT} at (0,0) size 372x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 355x17 [color=#FFFFCC] [bgcolor=#0000FF]
       LayoutText {#text} at (2,0) size 351x16
         text run at (2,0) width 351: "make-the-item-long-enough-to-make-a-difference-in-pixel-test"
-    LayoutBlockFlow {OPTION} at (1,18) size 354.77x17
+    LayoutBlockFlow {OPTION} at (1,18) size 355x17
       LayoutText {#text} at (2,0) size 7x16
         text run at (2,0) width 7: "b"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/003-expected.png
index 010a110..698652dd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/007-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/007-expected.png
index f217e18..a3e1443 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/009-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/009-expected.png
index 99b3cbfe..51ca9fa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/009-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/009-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/012-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/012-expected.png
index 58d47bb0..31ae7214 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/016-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/016-expected.png
index cda41fd..748e40e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/016-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/016-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/017-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/017-expected.png
index 659262f1..afb08c5c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/017-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/017-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/018-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/018-expected.png
index f280ad41..d8e9370 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/018-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/018-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/025-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/025-expected.png
index 62ff0dfe..2e3815f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/025-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/025-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/038-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/038-expected.png
index e1cb092..dc75ac5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/038-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/038-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/038-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/038-vertical-expected.png
index bed9454..f9aabf3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/038-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/038-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/040-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/040-expected.png
index 4b9c6716..3e8a69e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/040-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/040-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/040-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/040-vertical-expected.png
index 4a05268..de077ad1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/040-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/040-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/041-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/041-expected.png
index 000ba80..0ca3336 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/041-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/041-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/100-percent-cell-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/100-percent-cell-width-expected.png
index fbd974e93..b3be99d5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/100-percent-cell-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/100-percent-cell-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/absolute-table-at-bottom-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/absolute-table-at-bottom-expected.png
index 06ef876..e392b0f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/absolute-table-at-bottom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/absolute-table-at-bottom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/add-before-anonymous-child-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/add-before-anonymous-child-expected.png
index cdaf87f5..41aedf9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/add-before-anonymous-child-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/add-before-anonymous-child-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/auto-with-percent-height-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/auto-with-percent-height-expected.png
index c9d151b..051c3e3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/auto-with-percent-height-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/auto-with-percent-height-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/auto-with-percent-height-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/auto-with-percent-height-vertical-expected.png
index 0e862fa..743a40d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/auto-with-percent-height-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/auto-with-percent-height-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-opacity-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-opacity-collapsed-border-expected.png
index c99b42d..f1846f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-opacity-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-opacity-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-opacity-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-opacity-expected.png
index c99b42d..f1846f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-opacity-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-opacity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-show-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-show-collapsed-border-expected.png
index 690b06a..dc7c35e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-show-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-show-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-show-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-show-expected.png
index 718169d..c3e28db 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-show-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/backgr_layers-show-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/001-expected.png
index 25ce6848..f187e87 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/001-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/001-vertical-expected.png
index bea4a9a..7984a0f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/001-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/001-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/002-expected.png
index 10fb73b..858e55a8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/002-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/002-vertical-expected.png
index 28d67c7..acc62a9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/002-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/002-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/003-expected.png
index 6a82258..a6658db 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/003-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/003-vertical-expected.png
index 09c54a1..adeecae7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/003-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/003-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/004-expected.png
index eb2d9b8..3c949ee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/004-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/004-vertical-expected.png
index e84c19d..ed2420eb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/004-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/004-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/border-collapsing-head-foot-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/border-collapsing-head-foot-expected.png
index 0731a155..f07d81b5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/border-collapsing-head-foot-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/border-collapsing-head-foot-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/border-collapsing-head-foot-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/border-collapsing-head-foot-vertical-expected.png
index 566b399..f9687b3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/border-collapsing-head-foot-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/border-collapsing-head-foot-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/rtl-border-collapsing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/rtl-border-collapsing-expected.png
index 4d9f66c..fb07594 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/rtl-border-collapsing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/rtl-border-collapsing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/rtl-border-collapsing-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/rtl-border-collapsing-vertical-expected.png
index 84a6dc5..2c263c5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/rtl-border-collapsing-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/border-collapsing/rtl-border-collapsing-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/cell-absolute-child-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/cell-absolute-child-expected.png
index ba5d5b7..ff49fa3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/cell-absolute-child-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/cell-absolute-child-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/cell-coalescing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/cell-coalescing-expected.png
index 7046386..9895b37 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/cell-coalescing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/cell-coalescing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/cell-width-auto-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/cell-width-auto-expected.png
index 7385c180..3809e73 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/cell-width-auto-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/cell-width-auto-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/click-near-anonymous-table-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/click-near-anonymous-table-expected.png
index 065664f..b51bea6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/click-near-anonymous-table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/click-near-anonymous-table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/colgroup-spanning-groups-rules-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/colgroup-spanning-groups-rules-expected.png
index 4b37a68..5a6afbe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/colgroup-spanning-groups-rules-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/colgroup-spanning-groups-rules-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/dynamic-caption-add-before-child-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/dynamic-caption-add-before-child-expected.png
index 2514ad2..eab2e75 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/dynamic-caption-add-before-child-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/dynamic-caption-add-before-child-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/dynamic-caption-add-remove-before-child-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/dynamic-caption-add-remove-before-child-expected.png
index 465b897..4008937 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/dynamic-caption-add-remove-before-child-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/dynamic-caption-add-remove-before-child-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/edge-offsets-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/edge-offsets-expected.png
index 52485a5..2276a96 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/edge-offsets-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/edge-offsets-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/empty-cells-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/empty-cells-expected.png
index 8d98f0a..6a8d93a62 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/empty-cells-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/empty-cells-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.png
index 88e3844..8b478c4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/form-with-table-style-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/form-with-table-style-expected.png
index 261d30d..afd4ef4c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/form-with-table-style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/form-with-table-style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/generated-caption-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/generated-caption-expected.png
index 30e4ae1..e18c3cb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/generated-caption-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/generated-caption-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/insert-before-anonymous-ancestors-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/insert-before-anonymous-ancestors-expected.png
index ba980ff..066a775 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/insert-before-anonymous-ancestors-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/insert-before-anonymous-ancestors-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/insert-cell-before-form-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/insert-cell-before-form-expected.png
index 23f81c3f..002f07a3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/insert-cell-before-form-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/insert-cell-before-form-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/insert-row-before-form-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/insert-row-before-form-expected.png
index 23f81c3f..002f07a3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/insert-row-before-form-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/insert-row-before-form-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/large-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/large-width-expected.png
index 00d7c1a..7c7f238 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/large-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/large-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/mozilla-bug10296-vertical-align-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/mozilla-bug10296-vertical-align-1-expected.png
index 36dba50..fbe03e6f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/mozilla-bug10296-vertical-align-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/mozilla-bug10296-vertical-align-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/mozilla-bug10296-vertical-align-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/mozilla-bug10296-vertical-align-2-expected.png
index f5e5513..f91946bd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/mozilla-bug10296-vertical-align-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/mozilla-bug10296-vertical-align-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/multiple-captions-display-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/multiple-captions-display-expected.png
index 90f0dab..4a1fff2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/multiple-captions-display-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/multiple-captions-display-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/nested-percent-height-table-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/nested-percent-height-table-expected.png
index 0e74e3e1..e1a8517 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/nested-percent-height-table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/nested-percent-height-table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/nobr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/nobr-expected.png
index ba07c25..1e6730e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/nobr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/nobr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/overflowHidden-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/overflowHidden-expected.png
index 2070c588..0f927f9f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/overflowHidden-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/overflowHidden-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/percent-heights-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/percent-heights-expected.png
index a06d8f5..769605f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/percent-heights-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/percent-heights-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/prepend-in-anonymous-table-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/prepend-in-anonymous-table-expected.png
index d608e89..842c833 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/prepend-in-anonymous-table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/prepend-in-anonymous-table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/relative-position-containment-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/relative-position-containment-expected.png
index 6801103..d23a3b3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/relative-position-containment-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/relative-position-containment-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/relative-position-offsets-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/relative-position-offsets-expected.png
index e78a601..72d3b8c4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/relative-position-offsets-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/relative-position-offsets-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/relative-position-stacking-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/relative-position-stacking-expected.png
index fd33055..2c696f0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/relative-position-stacking-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/relative-position-stacking-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/row-height-recalc-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/row-height-recalc-expected.png
index d9fb4f7..6463ed4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/row-height-recalc-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/row-height-recalc-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/rtl-cell-display-none-assert-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/rtl-cell-display-none-assert-expected.png
index 060f187..e12be70 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/rtl-cell-display-none-assert-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/rtl-cell-display-none-assert-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-2-expected.png
index 50423d3..8d7daab 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-3-expected.png
index 9af4bc16..ad775d7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-4-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-4-expected.png
index 50423d3..8d7daab 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/stale-grid-crash-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/stale-grid-crash-expected.png
index 72fbff1e..5b0ac19 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/stale-grid-crash-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/stale-grid-crash-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/table-continuation-outline-paint-crash-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/table-continuation-outline-paint-crash-expected.png
index 0e40314..a4b8dc1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/table-continuation-outline-paint-crash-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/table-continuation-outline-paint-crash-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/table-display-types-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/table-display-types-expected.png
index 70cc9c1f..34890103 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/table-display-types-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/table-display-types-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/table-display-types-strict-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/table-display-types-strict-expected.png
index 6b186434..f6ceee2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/table-display-types-strict-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/table-display-types-strict-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/text-field-baseline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/text-field-baseline-expected.png
index d82700cc..97c1850 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/text-field-baseline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/text-field-baseline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/table/unused-percent-heights-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/table/unused-percent-heights-expected.png
index fa7f190..f9b7cb1e5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/table/unused-percent-heights-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/table/unused-percent-heights-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/hackernews-comments-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/hackernews-comments-expected.png
index ab8a4dd..fd7b380 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/hackernews-comments-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/hackernews-comments-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/list-item-above-dbcat-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/list-item-above-dbcat-expected.png
index ccffc3a..08cf4ba 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/list-item-above-dbcat-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/list-item-above-dbcat-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/css-table-lots-of-text-many-cells-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/css-table-lots-of-text-many-cells-expected.png
index 37b00fb..5e919db9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/css-table-lots-of-text-many-cells-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/css-table-lots-of-text-many-cells-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/css-table-single-cell-lots-of-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/css-table-single-cell-lots-of-text-expected.png
index c7562129..19c20759 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/css-table-single-cell-lots-of-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/css-table-single-cell-lots-of-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/fixed-table-lots-of-text-many-cells-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/fixed-table-lots-of-text-many-cells-expected.png
index f42b41f7..82dbcaa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/fixed-table-lots-of-text-many-cells-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/fixed-table-lots-of-text-many-cells-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/fixed-table-single-cell-lots-of-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/fixed-table-single-cell-lots-of-text-expected.png
index c73c549..382ffff 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/fixed-table-single-cell-lots-of-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/fixed-table-single-cell-lots-of-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/lots-of-text-many-cells-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/lots-of-text-many-cells-expected.png
index c6d7b57..bcb51c7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/lots-of-text-many-cells-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/lots-of-text-many-cells-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/narrow-percentage-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/narrow-percentage-width-expected.png
index f85d7f1f..fd04443 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/narrow-percentage-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/narrow-percentage-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/narrow-specified-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/narrow-specified-width-expected.png
index ebbf736f..b3ca329b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/narrow-specified-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/narrow-specified-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/nested-table-wrapping-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/nested-table-wrapping-expected.png
index df68839..ce18910 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/nested-table-wrapping-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/nested-table-wrapping-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/nested-tables-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/nested-tables-expected.png
index 35bf50c..594d704 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/nested-tables-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/nested-tables-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/single-cell-lots-of-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/single-cell-lots-of-text-expected.png
index 3d46b78..004eee0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/single-cell-lots-of-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/single-cell-lots-of-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/single-percent-width-cell-lots-of-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/single-percent-width-cell-lots-of-text-expected.png
index 51280cb..2773098 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/single-percent-width-cell-lots-of-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/single-percent-width-cell-lots-of-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/table-cell-inflation-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/table-cell-inflation-expected.png
index d6d6652..2726b7b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/table-cell-inflation-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/table-cell-inflation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/table-for-layout-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/table-for-layout-expected.png
index 1ab7dc0..b2ef5f9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/table-for-layout-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/table-for-layout-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/table-with-inline-block-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/table-with-inline-block-expected.png
index 2f91dff..335754f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/table-with-inline-block-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/table-with-inline-block-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/wide-percentage-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/wide-percentage-width-expected.png
index 2a8a10c8..14bf2b6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/wide-percentage-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/wide-percentage-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/wide-specified-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/wide-specified-width-expected.png
index 4741a4f..80f7fcd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/wide-specified-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text-autosizing/tables/wide-specified-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/atomic-inline-before-ellipsis-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/atomic-inline-before-ellipsis-expected.png
index 66459ed..cf268a8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/atomic-inline-before-ellipsis-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/atomic-inline-before-ellipsis-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-multiple-renderers-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-multiple-renderers-expected.png
index 3b3c590..14939010 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-multiple-renderers-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-multiple-renderers-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-negative-spacing-features-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-negative-spacing-features-expected.png
index 2baa9fa6..54140bb9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-negative-spacing-features-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-negative-spacing-features-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-pointtooffset-calls-cg-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-pointtooffset-calls-cg-expected.png
index f509d54..7aae6f3c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-pointtooffset-calls-cg-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-pointtooffset-calls-cg-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-small-caps-punctuation-size-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-small-caps-punctuation-size-expected.png
index 19361d4..bcd5d4d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-small-caps-punctuation-size-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-small-caps-punctuation-size-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-spacing-features-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-spacing-features-expected.png
index 224bc761..c039be5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-spacing-features-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/atsui-spacing-features-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/002-expected.png
index ad15732..04bcb007 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/005-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/005-expected.png
index e206228..7d6247e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/011-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/011-expected.png
index 3bbfd93..58666fb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/011-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/011-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/012-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/012-expected.png
index c25fc1ef..01ab9754 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/013-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/013-expected.png
index 90506d8..2ea9a50 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/013-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/013-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/015-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/015-expected.png
index 203e1c83..74f1af4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/015-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/015-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/generic-family-changes-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/generic-family-changes-expected.png
index 76f5321..9a158de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/generic-family-changes-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/generic-family-changes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/generic-family-reset-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/generic-family-reset-expected.png
index bc6876d3..0879fb48 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/generic-family-reset-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/basic/generic-family-reset-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/bidi-embedding-pop-and-push-same-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/bidi-embedding-pop-and-push-same-expected.png
index bebb9f8..2680f2f3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/bidi-embedding-pop-and-push-same-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/bidi-embedding-pop-and-push-same-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/bidi-img-alt-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/bidi-img-alt-text-expected.png
index a9f3e275..f13794a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/bidi-img-alt-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/bidi-img-alt-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/break-word-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/break-word-expected.png
index 4aad78a..b7e728a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/break-word-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/break-word-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/capitalize-boundaries-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/capitalize-boundaries-expected.png
index 642d574..ca582a3d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/capitalize-boundaries-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/capitalize-boundaries-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/capitalize-empty-generated-string-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/capitalize-empty-generated-string-expected.png
index b38af05d..5e34c74 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/capitalize-empty-generated-string-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/capitalize-empty-generated-string-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/capitalize-preserve-nbsp-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/capitalize-preserve-nbsp-expected.png
index 08bd0414..fa83d0e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/capitalize-preserve-nbsp-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/capitalize-preserve-nbsp-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/caps-lock-indicator-disabled-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/caps-lock-indicator-disabled-expected.png
index be7b09b..01013992 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/caps-lock-indicator-disabled-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/caps-lock-indicator-disabled-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/caps-lock-indicator-enabled-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/caps-lock-indicator-enabled-expected.png
index 954a0f3..75520b6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/caps-lock-indicator-enabled-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/caps-lock-indicator-enabled-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/caps-lock-indicator-enabled-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/caps-lock-indicator-enabled-rtl-expected.png
index c722a9d..d9def6d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/caps-lock-indicator-enabled-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/caps-lock-indicator-enabled-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/cg-vs-atsui-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/cg-vs-atsui-expected.png
index 15c4bdc..5a86359 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/cg-vs-atsui-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/cg-vs-atsui-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/chromium-linux-fontconfig-renderstyle-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/chromium-linux-fontconfig-renderstyle-expected.png
index e2265c2..ff7cf59c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/chromium-linux-fontconfig-renderstyle-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/chromium-linux-fontconfig-renderstyle-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/color-emoji-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/color-emoji-expected.png
index ab9f365..f4120a4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/color-emoji-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/color-emoji-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/drawBidiText-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/drawBidiText-expected.png
index a442dba..9c7e3c6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/drawBidiText-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/drawBidiText-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-at-edge-of-ltr-text-in-rtl-flow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-at-edge-of-ltr-text-in-rtl-flow-expected.png
index 5c7fdfd..5b1baf7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-at-edge-of-ltr-text-in-rtl-flow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-at-edge-of-ltr-text-in-rtl-flow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-ltr-text-in-ltr-flow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-ltr-text-in-ltr-flow-expected.png
index 04bb725..465ac37 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-ltr-text-in-ltr-flow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-ltr-text-in-ltr-flow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-ltr-text-in-rtl-flow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-ltr-text-in-rtl-flow-expected.png
index ff2cebe..e40447b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-ltr-text-in-rtl-flow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-ltr-text-in-rtl-flow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-ltr-text-in-rtl-flow-leading-space-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-ltr-text-in-rtl-flow-leading-space-expected.png
index 7678c35..3274ff8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-ltr-text-in-rtl-flow-leading-space-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-ltr-text-in-rtl-flow-leading-space-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-with-list-marker-in-ltr-flow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-with-list-marker-in-ltr-flow-expected.png
index e2a05f89..400537c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-with-list-marker-in-ltr-flow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-with-list-marker-in-ltr-flow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-with-list-marker-in-rtl-flow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-with-list-marker-in-rtl-flow-expected.png
index eac3d09..f177ef4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-with-list-marker-in-rtl-flow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/ellipsis-with-list-marker-in-rtl-flow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/fake-italic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/fake-italic-expected.png
index 3077721..31b36bc6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/fake-italic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/fake-italic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/fallback-for-custom-font-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/fallback-for-custom-font-expected.png
index 04fb96f..a4069eb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/fallback-for-custom-font-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/fallback-for-custom-font-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/firstline/002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/firstline/002-expected.png
index 526786f..52597b9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/firstline/002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/firstline/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-features/caps-native-synthesis-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-features/caps-native-synthesis-expected.png
index a5e461f8..1346b36 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-features/caps-native-synthesis-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-features/caps-native-synthesis-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-initial-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-initial-expected.png
index 2b0dba1..808aa9b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-initial-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-initial-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-kerning-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-kerning-expected.png
index ed9b97f..f731b64 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-kerning-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-kerning-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-ligature-letter-spacing-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-ligature-letter-spacing-expected.txt
index c38cea9..e0825d0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-ligature-letter-spacing-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-ligature-letter-spacing-expected.txt
@@ -1,7 +1,7 @@
 This is a testharness.js-based test.
 Harness Error. harness_status.status = 1 , harness_status.message = 1 duplicate test name: "Ligature expected not to be applied due to letter spacing."
-FAIL Ligature expected not to be applied due to letter spacing. assert_equals: Ligature not applied due to letter spacing. expected 286.546875 but got 140
-FAIL Ligature expected not to be applied due to letter spacing. assert_equals: Ligature not applied due to letter spacing. expected 286.546875 but got 140
+FAIL Ligature expected not to be applied due to letter spacing. assert_equals: Ligature not applied due to letter spacing. expected 288 but got 140
+FAIL Ligature expected not to be applied due to letter spacing. assert_equals: Ligature not applied due to letter spacing. expected 288 but got 140
 PASS Non-ligature font feature expected to be applied despite letter spacing.
 Harness: the test ran to completion.
 
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-smallcaps-layout-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-smallcaps-layout-expected.png
index f346d29e..ceee65c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-smallcaps-layout-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-smallcaps-layout-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-stretch-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-stretch-expected.png
index adacb30d..89d9584 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-stretch-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-stretch-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-stretch-variant-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-stretch-variant-expected.png
index d44170f4..f4174e26 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-stretch-variant-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-stretch-variant-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-weight-600-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-weight-600-expected.png
index a672f2be..0cf776d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-weight-600-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-weight-600-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-weight-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-weight-expected.png
index 9b8efb9..f454ed8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-weight-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/font-weight-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/format-control-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/format-control-expected.png
index d9285820..ece4de7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/format-control-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/format-control-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/in-rendered-text-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/in-rendered-text-rtl-expected.png
index 55dba6d..1da6823 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/in-rendered-text-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/in-rendered-text-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-AN-after-empty-run-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-AN-after-empty-run-expected.png
index 3223509..deb65c3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-AN-after-empty-run-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-AN-after-empty-run-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-LDB-2-CSS-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-LDB-2-CSS-expected.png
index 0824a23..2050f20 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-LDB-2-CSS-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-LDB-2-CSS-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-LDB-2-HTML-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-LDB-2-HTML-expected.png
index bdf46e8..8c00896 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-LDB-2-HTML-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-LDB-2-HTML-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-LDB-2-formatting-characters-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-LDB-2-formatting-characters-expected.png
index 9bde8f9e..cfe86a6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-LDB-2-formatting-characters-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-LDB-2-formatting-characters-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-european-terminators-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-european-terminators-expected.png
index 477480a1..f0950bc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-european-terminators-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-european-terminators-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-ignored-for-first-child-inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-ignored-for-first-child-inline-expected.png
index 8293aa0..b3ccfc9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-ignored-for-first-child-inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-ignored-for-first-child-inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-innertext-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-innertext-expected.png
index c3a9b71..45f462f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-innertext-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-innertext-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png
index 2e70305..e5e97028 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-neutral-run-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-neutral-run-expected.png
index caf8c48..b3ebd2c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-neutral-run-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-neutral-run-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-override-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-override-expected.png
index 79ee2e0..88d22af 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-override-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bidi-override-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bold-bengali-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bold-bengali-expected.png
index 15a7155..0aafc72 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bold-bengali-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/bold-bengali-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/complex-character-based-fallback-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/complex-character-based-fallback-expected.png
index 275b976a..f22a57e2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/complex-character-based-fallback-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/complex-character-based-fallback-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/complex-joining-using-gpos-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/complex-joining-using-gpos-expected.png
index 7e0d5aa..cec58d9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/complex-joining-using-gpos-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/complex-joining-using-gpos-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/danda-space-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/danda-space-expected.png
index f14c97e..b23c9f4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/danda-space-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/danda-space-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/hebrew-vowels-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/hebrew-vowels-expected.png
index 44a22d3..a5acacac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/hebrew-vowels-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/hebrew-vowels-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/lang-glyph-cache-separation-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/lang-glyph-cache-separation-expected.png
index 78f4656..0accfd8d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/lang-glyph-cache-separation-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/lang-glyph-cache-separation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/plane2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/plane2-expected.png
index d8dff5781..588b6ef 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/plane2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/plane2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/rtl-negative-letter-spacing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/rtl-negative-letter-spacing-expected.png
index 4b90248..296f670 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/rtl-negative-letter-spacing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/rtl-negative-letter-spacing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/rtl-white-space-pre-wrap-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/rtl-white-space-pre-wrap-expected.png
index a32fb986..31657a8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/rtl-white-space-pre-wrap-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/rtl-white-space-pre-wrap-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/thai-baht-space-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/thai-baht-space-expected.png
index 299f4810..a15bb9d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/thai-baht-space-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/thai-baht-space-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/unicode-bidi-plaintext-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/unicode-bidi-plaintext-expected.png
index a874272..7da68269 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/unicode-bidi-plaintext-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/unicode-bidi-plaintext-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png
index f168a997..af660de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/vertical-text-glyph-test-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/vertical-text-glyph-test-expected.png
index 1b71028..e432b63c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/vertical-text-glyph-test-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/vertical-text-glyph-test-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/wrap-CJK-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/wrap-CJK-001-expected.png
index 3393063..cac2050 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/wrap-CJK-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/international/wrap-CJK-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/justify-ideograph-complex-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/justify-ideograph-complex-expected.png
index b768b48..82f6cc7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/justify-ideograph-complex-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/justify-ideograph-complex-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/justify-ideograph-simple-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/justify-ideograph-simple-expected.png
index b768b48..82f6cc7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/justify-ideograph-simple-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/justify-ideograph-simple-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/justify-ideograph-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/justify-ideograph-vertical-expected.png
index a518879..c92c41d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/justify-ideograph-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/justify-ideograph-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/letter-spacing-leading-and-trailing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/letter-spacing-leading-and-trailing-expected.png
index cc139d6..64015a7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/letter-spacing-leading-and-trailing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/letter-spacing-leading-and-trailing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/line-initial-and-final-swashes-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/line-initial-and-final-swashes-expected.png
index f7c5398..76ccd6c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/line-initial-and-final-swashes-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/line-initial-and-final-swashes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/midword-break-after-breakable-char-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/midword-break-after-breakable-char-expected.png
index cd6e2d0..9d865b8d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/midword-break-after-breakable-char-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/midword-break-after-breakable-char-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/midword-break-before-surrogate-pair-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/midword-break-before-surrogate-pair-expected.png
index 4f7bc0a..f961db9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/midword-break-before-surrogate-pair-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/midword-break-before-surrogate-pair-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/midword-break-hang-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/midword-break-hang-expected.png
index 3727050..3ab70f3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/midword-break-hang-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/midword-break-hang-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-block-adjacent-float-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-block-adjacent-float-expected.png
index 2604a5e..f34947a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-block-adjacent-float-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-block-adjacent-float-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-2-expected.png
index ef65bdfec..d1ac32e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-center-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-center-expected.png
index fcc5b68..9e99819e7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-center-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-center-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-justify-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-justify-expected.png
index fcc5b68..9e99819e7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-left-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-left-expected.png
index fcc5b68..9e99819e7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-right-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-right-expected.png
index fcc5b68..9e99819e7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-align-right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-expected.png
index fcc5b68..9e99819e7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-ellipsis-in-inline-blocks-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-2-expected.png
index 0d91d53..13587df 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-center-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-center-2-expected.png
index f335eb8f..cebe891 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-center-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-center-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-center-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-center-expected.png
index ac8962d..2bb5eeb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-center-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-center-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-justify-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-justify-expected.png
index 3c62a2c7c..98a42d0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-left-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-left-2-expected.png
index ecb0186..88d02ccc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-left-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-left-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-left-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-left-expected.png
index 0a2b744..9a72c4c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-right-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-right-2-expected.png
index 6b3078d..8c6e8c48 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-right-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-right-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-right-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-right-expected.png
index a188f985..1f18956 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-align-right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-expected.png
index 3c62a2c7c..98a42d0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-mixed-ellipsis-in-inline-blocks-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-2-expected.png
index 691e6b8..47b8decf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-center-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-center-expected.png
index 89f57dc1..1aceb04 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-center-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-center-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-justify-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-justify-expected.png
index 89f57dc1..1aceb04 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-left-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-left-expected.png
index 89f57dc1..1aceb04 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-right-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-right-expected.png
index 89f57dc1..1aceb04 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-align-right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-expected.png
index 89f57dc1..1aceb04 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/place-rtl-ellipsis-in-inline-blocks-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/reset-emptyRun-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/reset-emptyRun-expected.png
index 3f622ad..e1c81a0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/reset-emptyRun-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/reset-emptyRun-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/atsui-kerning-and-ligatures-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/atsui-kerning-and-ligatures-expected.png
index b7ef355a..0f1ce7f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/atsui-kerning-and-ligatures-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/atsui-kerning-and-ligatures-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/atsui-partial-selection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/atsui-partial-selection-expected.png
index 67b9e948..311571e9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/atsui-partial-selection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/atsui-partial-selection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/complex-text-rtl-selection-repaint-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/complex-text-rtl-selection-repaint-expected.png
index c474cd95..ba5c2281 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/complex-text-rtl-selection-repaint-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/complex-text-rtl-selection-repaint-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/delete-hard-break-character-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/delete-hard-break-character-expected.png
index 08faab2d..b42c1114 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/delete-hard-break-character-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/delete-hard-break-character-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/flexbox-selection-nested-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/flexbox-selection-nested-expected.png
index ac2cd06..ee928b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/flexbox-selection-nested-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/flexbox-selection-nested-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/justified-selection-at-edge-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/justified-selection-at-edge-expected.png
index 4d9d201..a2c8d64 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/justified-selection-at-edge-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/justified-selection-at-edge-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/justified-selection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/justified-selection-expected.png
index fc3b91d..3a86b504 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/justified-selection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/justified-selection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/khmer-selection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/khmer-selection-expected.png
index d2ea774e..0a9945a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/khmer-selection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/khmer-selection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/pre-wrap-overflow-selection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/pre-wrap-overflow-selection-expected.png
index 7c2706f..3f203d8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/pre-wrap-overflow-selection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/pre-wrap-overflow-selection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/rtl-caret-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/rtl-caret-expected.png
index 228db3b..a659638f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/rtl-caret-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/rtl-caret-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/selection-hard-linebreak-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/selection-hard-linebreak-expected.png
index b37cc26..e94182ef 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/selection-hard-linebreak-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/selection-hard-linebreak-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/selection-with-inline-padding-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/selection-with-inline-padding-expected.png
index 0fbca6dd..5723819 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/selection-with-inline-padding-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/selection-with-inline-padding-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/shaping-selection-rect-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/shaping-selection-rect-expected.png
index c67b16e..02044a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/shaping-selection-rect-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/shaping-selection-rect-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/should-use-atsui-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/should-use-atsui-expected.png
index 8e5078b..f6bab09 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/should-use-atsui-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/selection/should-use-atsui-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/shadow-no-blur-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/shadow-no-blur-expected.png
index ab25d00..bf4cc3b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/shadow-no-blur-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/shadow-no-blur-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/shadow-translucent-fill-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/shadow-translucent-fill-expected.png
index 9c9459fd..c31fd1d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/shadow-translucent-fill-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/shadow-translucent-fill-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/stroking-decorations-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/stroking-decorations-expected.png
index 2d59d8ab..19aacde 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/stroking-decorations-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/stroking-decorations-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/text-letter-spacing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/text-letter-spacing-expected.png
index 1ba673c..9ddfd3f4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/text-letter-spacing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/text-letter-spacing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/text-shadow-no-default-color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/text-shadow-no-default-color-expected.png
index 5b458c6..2987895 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/text-shadow-no-default-color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/text-shadow-no-default-color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/variable-fonts/cff2-variations-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/variable-fonts/cff2-variations-expected.png
index ed30fb0..6184bc9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/variable-fonts/cff2-variations-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/variable-fonts/cff2-variations-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/wbr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/wbr-expected.png
index a2f323f..8d7d5f5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/wbr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/wbr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/wbr-in-pre-crash-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/wbr-in-pre-crash-expected.png
index f8cdcfd..f77423b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/wbr-in-pre-crash-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/wbr-in-pre-crash-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/wbr-styled-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/wbr-styled-expected.png
index d6f3def..45dd8ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/wbr-styled-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/wbr-styled-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/webfont-synthetic-bold-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/webfont-synthetic-bold-expected.png
index fde1017..f5e0e393 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/webfont-synthetic-bold-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/webfont-synthetic-bold-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/002-expected.png
index 687edb7..2159c2b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/003-expected.png
index 687edb7..2159c2b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/004-expected.png
index 2e2d014..c09d017 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/005-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/005-expected.png
index 2e2d014..c09d017 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/006-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/006-expected.png
index 83b731d4..6f3cf53 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/006-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/006-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/007-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/007-expected.png
index b9cde79b..8c859ab7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/008-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/008-expected.png
index 4485def1..5d4b6509 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/008-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/008-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/009-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/009-expected.png
index acde2317..e237b9185 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/009-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/009-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/010-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/010-expected.png
index 2e2d014..c09d017 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/010-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/011-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/011-expected.png
index 2e2d014..c09d017 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/011-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/011-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/015-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/015-expected.png
index 2e2d014..c09d017 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/015-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/015-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/016-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/016-expected.png
index 2e2d014..c09d017 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/016-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/016-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/018-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/018-expected.png
index 55356b4..c1fa0bc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/018-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/018-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/021-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/021-expected.png
index a8f22ec..f9a75750 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/021-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/021-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/024-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/024-expected.png
index 4ec98a3..4fa88d9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/024-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/024-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/027-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/027-expected.png
index ce0d516..3811470 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/027-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/027-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/nbsp-mode-and-linewraps-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/nbsp-mode-and-linewraps-expected.png
index eb5b58e..5c68a00 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/nbsp-mode-and-linewraps-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/nbsp-mode-and-linewraps-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/pre-wrap-last-char-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/pre-wrap-last-char-expected.png
index 4bce43a..933c7094 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/pre-wrap-last-char-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/pre-wrap-last-char-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/pre-wrap-line-test-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/pre-wrap-line-test-expected.png
index 35d89e24..6dbad2cd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/pre-wrap-line-test-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/pre-wrap-line-test-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/pre-wrap-spaces-after-newline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/pre-wrap-spaces-after-newline-expected.png
index b589fa54..5445238 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/pre-wrap-spaces-after-newline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/whitespace/pre-wrap-spaces-after-newline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-break-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-break-expected.png
index 2f293ae2..7f3e7dc0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-break-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-break-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-break-run-rounding-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-break-run-rounding-expected.png
index ad842cb..25b8c463 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-break-run-rounding-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-break-run-rounding-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-break-soft-hyphen-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-break-soft-hyphen-expected.png
index 53a2028b..2fba11c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-break-soft-hyphen-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-break-soft-hyphen-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-space-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-space-expected.png
index c407999..ee6b886 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-space-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/word-space-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/text/zero-font-size-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/text/zero-font-size-expected.png
index 2f706c3..c5f3816 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/text/zero-font-size-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/text/zero-font-size-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/Kusa-Makura-background-canvas-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/Kusa-Makura-background-canvas-expected.png
index 40ce391..a04bdba 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/Kusa-Makura-background-canvas-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/Kusa-Makura-background-canvas-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/border-vertical-lr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/border-vertical-lr-expected.png
index d260298..96f2222 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/border-vertical-lr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/border-vertical-lr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/box-shadow-horizontal-tb-tile-edge-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/box-shadow-horizontal-tb-tile-edge-expected.png
index 66e74b6..7ee2b7eb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/box-shadow-horizontal-tb-tile-edge-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/box-shadow-horizontal-tb-tile-edge-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/english-lr-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/english-lr-text-expected.png
index b06c38f..cd54294 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/english-lr-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/english-lr-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/english-rl-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/english-rl-text-expected.png
index d87b21d2..6248bb75 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/english-rl-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/english-rl-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/fieldsets-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/fieldsets-expected.png
index f2c9816..d2a9b22 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/fieldsets-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/fieldsets-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-lr-selection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-lr-selection-expected.png
index cca380e..157612c8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-lr-selection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-lr-selection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-lr-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-lr-text-expected.png
index cd7d97e..4fcfbfd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-lr-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-lr-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-rl-selection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-rl-selection-expected.png
index 6eb44cf..2c60edf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-rl-selection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-rl-selection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-rl-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-rl-text-expected.png
index c34576a..5b46f01 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-rl-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/japanese-rl-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/text-orientation-basic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/text-orientation-basic-expected.png
index 38fecfa..b900bfcc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/text-orientation-basic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/writing-mode/text-orientation-basic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/document-function-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/document-function-expected.png
index eec5491..98506a38 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/document-function-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/document-function-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/document-function-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/document-function-expected.txt
index af61ca7a..b47d9d3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/document-function-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/document-function-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 649x19
-          text run at (0,0) width 649: "This tests the xslt document() function. If this test is successful, there should be three paragraphs below."
+        LayoutText {#text} at (0,0) size 648x19
+          text run at (0,0) width 648: "This tests the xslt document() function. If this test is successful, there should be three paragraphs below."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 120x19
           text run at (0,0) width 120: "This is a paragraph"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-cyr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-cyr-expected.png
index f5cfbbb..f911cb0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-cyr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-cyr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-cyr-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-cyr-expected.txt
index 454bb82..6b8af482 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-cyr-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-cyr-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 320x19
         text run at (0,0) width 320: "CHARACTERS IN XSLT: \x{414}\x{43E}\x{431}\x{430}\x{432}\x{43B}\x{435}\x{43D}\x{43D}\x{44B}\x{439} \x{442}\x{435}\x{43A}\x{441}\x{442} "
-      LayoutBR {BR} at (319,15) size 1x0
+      LayoutBR {BR} at (320,15) size 0x0
       LayoutBR {BR} at (0,20) size 0x19
       LayoutText {#text} at (0,40) size 224x19
         text run at (0,40) width 224: "SOURCE XML: \x{418}\x{441}\x{445}\x{43E}\x{434}\x{43D}\x{44B}\x{439} \x{442}\x{435}\x{43A}\x{441}\x{442}"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-expected.png
index 8d84d30..d394817 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-expected.txt
index 3935f9f..9595c6db 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 262x19
         text run at (0,0) width 262: "CHARACTERS IN XSLT: \x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9} "
-      LayoutBR {BR} at (261,15) size 1x0
+      LayoutBR {BR} at (262,15) size 0x0
       LayoutBR {BR} at (0,20) size 0x19
       LayoutText {#text} at (0,40) size 316x19
         text run at (0,40) width 316: "SOURCE XML: \x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16-expected.png
index 8d84d30..d394817 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16-expected.txt
index 3935f9f..9595c6db 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 262x19
         text run at (0,0) width 262: "CHARACTERS IN XSLT: \x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9} "
-      LayoutBR {BR} at (261,15) size 1x0
+      LayoutBR {BR} at (262,15) size 0x0
       LayoutBR {BR} at (0,20) size 0x19
       LayoutText {#text} at (0,40) size 316x19
         text run at (0,40) width 316: "SOURCE XML: \x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16to16-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16to16-expected.png
index 8d84d30..d394817 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16to16-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16to16-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16to16-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16to16-expected.txt
index 3935f9f..9595c6db 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16to16-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-enc16to16-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 262x19
         text run at (0,0) width 262: "CHARACTERS IN XSLT: \x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9} "
-      LayoutBR {BR} at (261,15) size 1x0
+      LayoutBR {BR} at (262,15) size 0x0
       LayoutBR {BR} at (0,20) size 0x19
       LayoutText {#text} at (0,40) size 316x19
         text run at (0,40) width 316: "SOURCE XML: \x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-entity-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-entity-expected.png
index 8a5a1227..3b33575 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-entity-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-entity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-entity-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-entity-expected.txt
index 009780b..b75f7f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-entity-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-entity-expected.txt
@@ -2,5 +2,5 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x20
   LayoutBlockFlow {P} at (0,0) size 800x20
-    LayoutText {#text} at (0,0) size 141x19
-      text run at (0,0) width 141: "Hello World, Success!"
+    LayoutText {#text} at (0,0) size 140x19
+      text run at (0,0) width 140: "Hello World, Success!"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-extra-content-at-end-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-extra-content-at-end-expected.png
index c905e709..d2a7d49b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-extra-content-at-end-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-extra-content-at-end-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-extra-content-at-end-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-extra-content-at-end-expected.txt
index 697810a9..89a6b03 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-extra-content-at-end-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-extra-content-at-end-expected.txt
@@ -19,5 +19,5 @@
           text run at (0,20) width 117: "transformed result."
     LayoutBlockFlow {body} at (8,227.88) size 784x20
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 226x19
-          text run at (0,0) width 226: "You should see error text above this"
+        LayoutText {#text} at (0,0) size 225x19
+          text run at (0,0) width 225: "You should see error text above this"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-relative-path-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-relative-path-expected.png
index 963fc23..6e9c9e7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-relative-path-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-relative-path-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-relative-path-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-relative-path-expected.txt
index 00c3db89..535e426 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-relative-path-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/xsl/xslt-relative-path-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 510x19
-          text run at (0,0) width 510: "Here is an attempt to extract the string \"Hello, Webkit!\" from the file findme.xml:"
+        LayoutText {#text} at (0,0) size 509x19
+          text run at (0,0) width 509: "Here is an attempt to extract the string \"Hello, Webkit!\" from the file findme.xml:"
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 376x19
+        LayoutText {#text} at (0,0) size 375x19
           text run at (0,0) width 283: "using document('file:resources/findme.xml'): "
-          text run at (283,0) width 93: "Hello, Webkit!"
+          text run at (283,0) width 92: "Hello, Webkit!"
       LayoutBlockFlow {P} at (0,72) size 784x20
-        LayoutText {#text} at (0,0) size 352x19
+        LayoutText {#text} at (0,0) size 351x19
           text run at (0,0) width 259: "using document('resources/findme.xml'): "
-          text run at (259,0) width 93: "Hello, Webkit!"
+          text run at (259,0) width 92: "Hello, Webkit!"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fonts/default-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fonts/default-expected.png
index 7b6a6f2..7b4ed40 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fonts/default-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fonts/default-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fonts/family-fallback-gardiner-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fonts/family-fallback-gardiner-expected.png
index b175f8a..63dfac0d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fonts/family-fallback-gardiner-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fonts/family-fallback-gardiner-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fonts/fantasy-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fonts/fantasy-expected.png
index 7aaa6a3..7643c1b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fonts/fantasy-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fonts/fantasy-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fonts/serif-expected.png b/third_party/WebKit/LayoutTests/platform/linux/fonts/serif-expected.png
index eee6e06..6eef409 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fonts/serif-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/fonts/serif-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/html/document_metadata/head-link-style-href-check-expected.png b/third_party/WebKit/LayoutTests/platform/linux/html/document_metadata/head-link-style-href-check-expected.png
index fa45bff7..2833c1e4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/html/document_metadata/head-link-style-href-check-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/html/document_metadata/head-link-style-href-check-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/html/document_metadata/head-link-style-href-check-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/html/document_metadata/head-link-style-href-check-expected.txt
index 4ecaefb..40a3673 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/html/document_metadata/head-link-style-href-check-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/html/document_metadata/head-link-style-href-check-expected.txt
@@ -8,12 +8,12 @@
           text run at (0,0) width 782: "This is a test to check if the loading of a stylesheet is properly cancelled (count of pending style sheets is decremented) when"
           text run at (0,20) width 552: "its link tag is changed through the DOM after the link tag is appended to the document. "
           text run at (552,20) width 227: "When the div with style is moved, it"
-          text run at (0,40) width 776: "appears on the screen if the style was loaded properly, and doesn't appear when there are out-standing stylesheets according"
+          text run at (0,40) width 775: "appears on the screen if the style was loaded properly, and doesn't appear when there are out-standing stylesheets according"
           text run at (0,60) width 119: "to the DocLoader. "
-          text run at (118,60) width 28: "See "
-        LayoutInline {A} at (0,0) size 33x19 [color=#0000EE]
-          LayoutText {#text} at (145,60) size 33x19
-            text run at (145,60) width 33: "6999"
+          text run at (119,60) width 27: "See "
+        LayoutInline {A} at (0,0) size 32x19 [color=#0000EE]
+          LayoutText {#text} at (146,60) size 32x19
+            text run at (146,60) width 32: "6999"
       LayoutBlockFlow {P} at (0,96) size 784x20
         LayoutInline {SPAN} at (0,0) size 32x19 [color=#FF0000]
           LayoutText {#text} at (0,0) size 32x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/html/grouping_content/listing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/html/grouping_content/listing-expected.png
index 2f857bf..7c37b615 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/html/grouping_content/listing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/html/grouping_content/listing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/html/grouping_content/listing-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/html/grouping_content/listing-expected.txt
index 6cfc75f..ffe8e50 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/html/grouping_content/listing-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/html/grouping_content/listing-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 406x19
           text run at (0,0) width 406: "This tests the listing tag. It's an obsolete synonym for the pre tag."
       LayoutBlockFlow {DIV} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 167x19
-          text run at (0,0) width 167: "Text just before the listing."
+        LayoutText {#text} at (0,0) size 166x19
+          text run at (0,0) width 166: "Text just before the listing."
       LayoutBlockFlow {LISTING} at (0,69) size 784x48
         LayoutText {#text} at (0,0) size 792x48
           text run at (0,0) width 272: "This text is inside a listing tag."
@@ -18,8 +18,8 @@
           text run at (0,32) width 792: "Also, it eats the very first newline inside the listing, so there should not be a blank line above."
           text run at (792,32) width 0: " "
       LayoutBlockFlow {P} at (0,133) size 784x20
-        LayoutText {#text} at (0,0) size 587x19
-          text run at (0,0) width 587: "The listing tag has a width in it. To test the JavaScript binding, this page gets the width, here: "
-        LayoutInline {A} at (0,0) size 25x19
-          LayoutText {#text} at (586,0) size 25x19
-            text run at (586,0) width 25: "100"
+        LayoutText {#text} at (0,0) size 586x19
+          text run at (0,0) width 586: "The listing tag has a width in it. To test the JavaScript binding, this page gets the width, here: "
+        LayoutInline {A} at (0,0) size 24x19
+          LayoutText {#text} at (586,0) size 24x19
+            text run at (586,0) width 24: "100"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/col_width_resizing_table-expected.png b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/col_width_resizing_table-expected.png
index a928f6e3..b3461240 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/col_width_resizing_table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/col_width_resizing_table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/col_width_resizing_table-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/col_width_resizing_table-expected.txt
index 69fe92d..82db354 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/col_width_resizing_table-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/col_width_resizing_table-expected.txt
@@ -30,8 +30,8 @@
               LayoutText {#text} at (2,2) size 72x19
                 text run at (2,2) width 72: "col 3 row 3"
       LayoutBlockFlow (anonymous) at (0,56) size 784x22
-        LayoutButton {BUTTON} at (0,0) size 396.02x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-          LayoutBlockFlow (anonymous) at (8,3) size 380.02x16
-            LayoutText {#text} at (0,0) size 380x16
-              text run at (0,0) width 380: "Click me to test manually. The first column should grow to 500px."
+        LayoutButton {BUTTON} at (0,0) size 397x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+          LayoutBlockFlow (anonymous) at (8,3) size 381x16
+            LayoutText {#text} at (0,0) size 381x16
+              text run at (0,0) width 381: "Click me to test manually. The first column should grow to 500px."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/table_createcaption-expected.png b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/table_createcaption-expected.png
index eb3959b..78680a90 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/table_createcaption-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/table_createcaption-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/table_createcaption-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/table_createcaption-expected.txt
index 397654d..4d03fee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/table_createcaption-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/table_createcaption-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 267x19
-          text run at (0,0) width 267: "Tests: the TABLE.createCaption() method"
-        LayoutBR {BR} at (266,15) size 1x0
+        LayoutText {#text} at (0,0) size 265x19
+          text run at (0,0) width 265: "Tests: the TABLE.createCaption() method"
+        LayoutBR {BR} at (265,15) size 0x0
       LayoutBlockFlow {P} at (0,36) size 784x60
         LayoutText {#text} at (0,0) size 73x19
           text run at (0,0) width 73: "Conditions:"
@@ -23,46 +23,46 @@
             text run at (324,0) width 43: "Fruity"
         LayoutText {#text} at (367,0) size 293x19
           text run at (367,0) width 293: ", and the second table should have the caption "
-        LayoutInline {B} at (0,0) size 74x19
-          LayoutText {#text} at (660,0) size 74x19
-            text run at (660,0) width 74: "Vegetabley"
-        LayoutText {#text} at (733,0) size 778x39
-          text run at (733,0) width 45: ". Upon"
+        LayoutInline {B} at (0,0) size 73x19
+          LayoutText {#text} at (660,0) size 73x19
+            text run at (660,0) width 73: "Vegetabley"
+        LayoutText {#text} at (733,0) size 777x39
+          text run at (733,0) width 44: ". Upon"
           text run at (0,20) width 584: "failure, the first table will have no caption, and the second table will have the caption Things."
-      LayoutTable {TABLE} at (0,178) size 110x102 [border: (1px outset #808080)]
-        LayoutBlockFlow {CAPTION} at (0,0) size 110x20
-          LayoutInline {B} at (0,0) size 44x19
-            LayoutText {#text} at (33,0) size 44x19
-              text run at (33,0) width 44: "Fruity"
-        LayoutTableSection {TBODY} at (1,21) size 108x80
-          LayoutTableRow {TR} at (0,2) size 108x24
+      LayoutTable {TABLE} at (0,178) size 109x102 [border: (1px outset #808080)]
+        LayoutBlockFlow {CAPTION} at (0,0) size 109x20
+          LayoutInline {B} at (0,0) size 43x19
+            LayoutText {#text} at (33,0) size 43x19
+              text run at (33,0) width 43: "Fruity"
+        LayoutTableSection {TBODY} at (1,21) size 107x80
+          LayoutTableRow {TR} at (0,2) size 107x24
             LayoutTableCell {TH} at (2,2) size 52x24 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               LayoutText {#text} at (8,2) size 36x19
                 text run at (8,2) width 36: "Fruit"
-            LayoutTableCell {TH} at (56,2) size 50x24 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
-              LayoutText {#text} at (5,2) size 40x19
-                text run at (5,2) width 40: "Color"
-          LayoutTableRow {TR} at (0,28) size 108x24
+            LayoutTableCell {TH} at (56,2) size 49x24 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
+              LayoutText {#text} at (5,2) size 39x19
+                text run at (5,2) width 39: "Color"
+          LayoutTableRow {TR} at (0,28) size 107x24
             LayoutTableCell {TD} at (2,28) size 52x24 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (2,2) size 48x19
                 text run at (2,2) width 48: "Banana"
-            LayoutTableCell {TD} at (56,28) size 50x24 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
-              LayoutText {#text} at (2,2) size 46x19
-                text run at (2,2) width 46: "Yellow"
-          LayoutTableRow {TR} at (0,54) size 108x24
+            LayoutTableCell {TD} at (56,28) size 49x24 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutText {#text} at (2,2) size 45x19
+                text run at (2,2) width 45: "Yellow"
+          LayoutTableRow {TR} at (0,54) size 107x24
             LayoutTableCell {TD} at (2,54) size 52x24 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
               LayoutText {#text} at (2,2) size 39x19
                 text run at (2,2) width 39: "Grape"
-            LayoutTableCell {TD} at (56,54) size 50x24 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
+            LayoutTableCell {TD} at (56,54) size 49x24 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
               LayoutText {#text} at (2,2) size 41x19
                 text run at (2,2) width 41: "Purple"
       LayoutBlockFlow (anonymous) at (0,280) size 784x20
         LayoutBR {BR} at (0,0) size 0x19
       LayoutTable {TABLE} at (0,300) size 129x102 [border: (1px outset #808080)]
         LayoutBlockFlow {CAPTION} at (0,0) size 129x20
-          LayoutInline {B} at (0,0) size 75x19
-            LayoutText {#text} at (27,0) size 75x19
-              text run at (27,0) width 75: "Vegetabley"
+          LayoutInline {B} at (0,0) size 73x19
+            LayoutText {#text} at (28,0) size 73x19
+              text run at (28,0) width 73: "Vegetabley"
         LayoutTableSection {TBODY} at (1,21) size 127x80
           LayoutTableRow {TR} at (0,2) size 127x24
             LayoutTableCell {TH} at (2,2) size 70x24 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/td_colspan_rendering-expected.png b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/td_colspan_rendering-expected.png
index a3f9ba3..9b7232a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/td_colspan_rendering-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/td_colspan_rendering-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/td_colspan_rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/td_colspan_rendering-expected.txt
index 81243d88..6f85606 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/td_colspan_rendering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/td_colspan_rendering-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 166x19
-          text run at (0,0) width 166: "Tests: the colspan attribute"
-        LayoutBR {BR} at (165,15) size 1x0
+        LayoutText {#text} at (0,0) size 165x19
+          text run at (0,0) width 165: "Tests: the colspan attribute"
+        LayoutBR {BR} at (165,15) size 0x0
       LayoutBlockFlow {P} at (0,36) size 784x80
         LayoutText {#text} at (0,0) size 73x19
           text run at (0,0) width 73: "Conditions:"
@@ -27,8 +27,8 @@
         LayoutBR {BR} at (0,0) size 0x19
       LayoutTable {TABLE} at (0,238) size 270x76 [border: (1px outset #808080)]
         LayoutBlockFlow {CAPTION} at (0,0) size 270x20
-          LayoutText {#text} at (27,0) size 216x19
-            text run at (27,0) width 216: "Testing Default and Regular Input"
+          LayoutText {#text} at (28,0) size 214x19
+            text run at (28,0) width 214: "Testing Default and Regular Input"
         LayoutTableSection {TBODY} at (1,21) size 268x54
           LayoutTableRow {TR} at (0,2) size 268x24
             LayoutTableCell {TD} at (2,2) size 32x24 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/html/text_level_semantics/font-weight-bold-for-b-and-strong-expected.png b/third_party/WebKit/LayoutTests/platform/linux/html/text_level_semantics/font-weight-bold-for-b-and-strong-expected.png
index b18a8675e..b6e1313 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/html/text_level_semantics/font-weight-bold-for-b-and-strong-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/html/text_level_semantics/font-weight-bold-for-b-and-strong-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-expected.png
index 6f47393..00b0b628 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-expected.txt
index 95d7a37a..6d4ee592 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-expected.txt
@@ -76,13 +76,13 @@
       LayoutText {#text} at (0,0) size 253x29
         text run at (0,0) width 253: "Standards compliant?"
     LayoutBlockFlow {P} at (13,43) size 678x28
-      LayoutInline {A} at (0,0) size 216x27 [color=#0000FF]
-        LayoutText {#text} at (0,0) size 216x27
-          text run at (0,0) width 216: "Take The Acid2 Test"
-      LayoutText {#text} at (215,0) size 199x27
-        text run at (215,0) width 199: " and compare it to "
-      LayoutInline {A} at (0,0) size 247x27 [color=#0000FF]
-        LayoutText {#text} at (413,0) size 247x27
-          text run at (413,0) width 247: "the reference rendering"
-      LayoutText {#text} at (659,0) size 8x27
-        text run at (659,0) width 8: "."
+      LayoutInline {A} at (0,0) size 217x27 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 217x27
+          text run at (0,0) width 217: "Take The Acid2 Test"
+      LayoutText {#text} at (217,0) size 198x27
+        text run at (217,0) width 198: " and compare it to "
+      LayoutInline {A} at (0,0) size 246x27 [color=#0000FF]
+        LayoutText {#text} at (415,0) size 246x27
+          text run at (415,0) width 246: "the reference rendering"
+      LayoutText {#text} at (661,0) size 7x27
+        text run at (661,0) width 7: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid3-expected.png
index c713ea3..913e518 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid3-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid3-expected.txt
index 147227d..81a8fd6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid3-expected.txt
@@ -38,12 +38,12 @@
         LayoutInline {MAP} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (41,334) size 582x98 [color=#808080]
-        LayoutText {#text} at (0,0) size 115x18
-          text run at (0,0) width 115: "To pass the test,"
+        LayoutText {#text} at (0,0) size 114x18
+          text run at (0,0) width 114: "To pass the test,"
         LayoutBlockFlow (floating) {SPAN} at (562,0) size 20x20 [bgcolor=#FFFFFF]
-        LayoutText {#text} at (114,0) size 561x56
-          text run at (114,0) width 447: " a browser must use its default settings, the animation has to be"
-          text run at (0,19) width 560: "smooth, the score has to end on 100/100, and the final page has to look exactly,"
+        LayoutText {#text} at (114,0) size 560x56
+          text run at (114,0) width 446: " a browser must use its default settings, the animation has to be"
+          text run at (0,19) width 559: "smooth, the score has to end on 100/100, and the final page has to look exactly,"
           text run at (0,38) width 131: "pixel for pixel, like "
         LayoutInline {A} at (0,0) size 168x18 [color=#0000FF]
           LayoutText {#text} at (131,38) size 168x18
@@ -238,6 +238,6 @@
     LayoutTextFragment (anonymous) at (0,0) size 20x20
       text run at (0,0) width 20: "X"
 layer at (10,10) size 82x46
-  LayoutBlockFlow (positioned) {DIV} at (10,10) size 81.80x46 [color=#00000000]
+  LayoutBlockFlow (positioned) {DIV} at (10,10) size 82x46 [color=#00000000]
     LayoutText {#text} at (0,0) size 82x45
       text run at (0,0) width 82: "FAIL"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/favicon-as-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/favicon-as-image-expected.png
index 6526d2e..c6cfb80 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/favicon-as-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/favicon-as-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/favicon-as-image-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/favicon-as-image-expected.txt
index 5b4d0a7..1c63a85 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/favicon-as-image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/favicon-as-image-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (0,0) size 800x600
       LayoutBlockFlow {DIV} at (0,0) size 800x20
-        LayoutText {#text} at (0,0) size 460x19
-          text run at (0,0) width 460: "Three green 16x16 pixel squares should appear below, stacked vertically."
+        LayoutText {#text} at (0,0) size 458x19
+          text run at (0,0) width 458: "Three green 16x16 pixel squares should appear below, stacked vertically."
       LayoutBlockFlow {DIV} at (0,20) size 18x18 [bgcolor=#FF0000] [border: (1px solid #000000)]
         LayoutImage {IMG} at (1,1) size 16x16
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/iframe404-expected.png b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/iframe404-expected.png
index 6ee4f86d..2b2dcb1b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/iframe404-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/iframe404-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/iframe404-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/iframe404-expected.txt
index 9ff500d..d20df43 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/iframe404-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/iframe404-expected.txt
@@ -4,19 +4,19 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {A} at (0,0) size 61x19 [color=#0000EE]
-          LayoutText {#text} at (51,0) size 61x19
-            text run at (51,0) width 61: "bug 8121"
-        LayoutText {#text} at (111,0) size 290x19
-          text run at (111,0) width 290: ": REGRESSION: 404s are not displayed and "
-        LayoutInline {A} at (0,0) size 61x19 [color=#0000EE]
-          LayoutText {#text} at (400,0) size 61x19
-            text run at (400,0) width 61: "bug 7739"
-        LayoutText {#text} at (460,0) size 771x39
-          text run at (460,0) width 311: ": REGRESSION: Assertion failure loading acid2"
-          text run at (0,20) width 297: "test in -[WebCoreFrameBridge installInFrame:]"
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {A} at (0,0) size 60x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 60x19
+            text run at (51,0) width 60: "bug 8121"
+        LayoutText {#text} at (111,0) size 289x19
+          text run at (111,0) width 289: ": REGRESSION: 404s are not displayed and "
+        LayoutInline {A} at (0,0) size 60x19 [color=#0000EE]
+          LayoutText {#text} at (400,0) size 60x19
+            text run at (400,0) width 60: "bug 7739"
+        LayoutText {#text} at (460,0) size 770x39
+          text run at (460,0) width 310: ": REGRESSION: Assertion failure loading acid2"
+          text run at (0,20) width 296: "test in -[WebCoreFrameBridge installInFrame:]"
       LayoutBlockFlow {P} at (0,56) size 784x40
         LayoutText {#text} at (0,0) size 774x39
           text run at (0,0) width 163: "Here is an invalid iframe. "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/slow-loading-image-in-pattern-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/slow-loading-image-in-pattern-expected.txt
index a25991d6..a7d26d16 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/slow-loading-image-in-pattern-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/slow-loading-image-in-pattern-expected.txt
@@ -6,8 +6,8 @@
       LayoutText {#text} at (0,0) size 627x19
         text run at (0,0) width 627: "This tests slow loading png images referenced from a image element inside a SVG pattern resource."
       LayoutBR {BR} at (627,0) size 0x19
-      LayoutText {#text} at (0,20) size 562x19
-        text run at (0,20) width 562: "You should see a 400x300 rect containing a tiled rendering of the Acid3 reference image."
+      LayoutText {#text} at (0,20) size 561x19
+        text run at (0,20) width 561: "You should see a 400x300 rect containing a tiled rendering of the Acid3 reference image."
 layer at (10,50) size 406x306 clip at (13,53) size 400x300
   LayoutSVGRoot (positioned) {svg} at (10,50) size 406x306
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/slow-loading-mask-expected.png b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/slow-loading-mask-expected.png
index 535caa8..b9ac024 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/slow-loading-mask-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/slow-loading-mask-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/slow-loading-mask-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/slow-loading-mask-expected.txt
index 4ade07d2..bccebf2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/slow-loading-mask-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/slow-loading-mask-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x472
     LayoutBlockFlow {BODY} at (8,16) size 784x446
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 783x19
-          text run at (0,0) width 783: "Tests that masked elements do not render until their mask images are fully loaded. You should not see any blue boxes below."
+        LayoutText {#text} at (0,0) size 780x19
+          text run at (0,0) width 780: "Tests that masked elements do not render until their mask images are fully loaded. You should not see any blue boxes below."
 layer at (18,52) size 200x200 transparent
   LayoutBlockFlow {DIV} at (10,36) size 200x200 [bgcolor=#0000FF]
 layer at (18,262) size 200x200 transparent
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/security/dataTransfer-set-data-file-url-expected.png b/third_party/WebKit/LayoutTests/platform/linux/http/tests/security/dataTransfer-set-data-file-url-expected.png
index bc7d473089..a0d20dc9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/security/dataTransfer-set-data-file-url-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/security/dataTransfer-set-data-file-url-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/security/dataTransfer-set-data-file-url-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/http/tests/security/dataTransfer-set-data-file-url-expected.txt
index 7d8b2ca..4c82cc6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/security/dataTransfer-set-data-file-url-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/security/dataTransfer-set-data-file-url-expected.txt
@@ -8,8 +8,8 @@
           text run at (0,0) width 768: "This tests that calling dataTransfer.setData('URL', aFileURL) sets NSFilenamesPboardType type data on the pasteboard if"
           text run at (0,20) width 225: "and only if this page is a local page."
       LayoutBlockFlow {P} at (0,56) size 784x40
-        LayoutText {#text} at (0,0) size 749x39
-          text run at (0,0) width 749: "This test cannot be run manually, as it is not possible to tell whether or not NSFilenamesPboardType type data is on the"
+        LayoutText {#text} at (0,0) size 747x39
+          text run at (0,0) width 747: "This test cannot be run manually, as it is not possible to tell whether or not NSFilenamesPboardType type data is on the"
           text run at (0,20) width 267: "pasteboard, without Objective-C bindings."
       LayoutBlockFlow (anonymous) at (0,112) size 784x103
         LayoutImage {IMG} at (0,0) size 76x103
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/uri/css-href-expected.png b/third_party/WebKit/LayoutTests/platform/linux/http/tests/uri/css-href-expected.png
index 10f5fb8..8cc0b2f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/uri/css-href-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/uri/css-href-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/uri/css-href-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/http/tests/uri/css-href-expected.txt
index 180e3251..491ea66 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/uri/css-href-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/uri/css-href-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {A} at (0,0) size 68x19 [color=#0000EE]
-          LayoutText {#text} at (51,0) size 68x19
-            text run at (51,0) width 68: "bug 11141"
-        LayoutText {#text} at (118,0) size 342x19
-          text run at (118,0) width 9: ": "
-          text run at (126,0) width 334: "CSS '@import' doesn't respect HTML Base element."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {A} at (0,0) size 67x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 67x19
+            text run at (51,0) width 67: "bug 11141"
+        LayoutText {#text} at (118,0) size 341x19
+          text run at (118,0) width 8: ": "
+          text run at (126,0) width 333: "CSS '@import' doesn't respect HTML Base element."
       LayoutBlockFlow {P} at (0,36) size 784x20 [color=#008000]
         LayoutText {#text} at (0,0) size 163x19
           text run at (0,0) width 163: "This text should be green."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/webfont/popup-menu-load-webfont-after-open-expected.png b/third_party/WebKit/LayoutTests/platform/linux/http/tests/webfont/popup-menu-load-webfont-after-open-expected.png
index ac1d868e..153bfa3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/webfont/popup-menu-load-webfont-after-open-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/webfont/popup-menu-load-webfont-after-open-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.png
index 9a7f55c..a1b7b53 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.txt
index 4231fb34..258c9c1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.txt
@@ -4,36 +4,36 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x372
     LayoutBlockFlow {BODY} at (8,16) size 784x348
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 754x39
-          text run at (0,0) width 754: "Test passes if the images of all the cats scroll when the box is scrolled. (Presence of cats behind the double border is UA"
+        LayoutText {#text} at (0,0) size 753x39
+          text run at (0,0) width 753: "Test passes if the images of all the cats scroll when the box is scrolled. (Presence of cats behind the double border is UA"
           text run at (0,20) width 74: "dependent)."
       LayoutBlockFlow {DIV} at (0,348) size 784x0
 layer at (8,72) size 292x292 clip at (58,122) size 177x177 scrollY 143.00 scrollHeight 320
   LayoutBlockFlow {DIV} at (0,56) size 292x292 [border: (50px double #000000)]
-    LayoutText {#text} at (50,50) size 171x319
-      text run at (50,50) width 138: "Filler Text Filler Text "
-      text run at (187,50) width 34: "Filler"
-      text run at (50,70) width 166: "Text Filler Text Filler Text"
-      text run at (50,90) width 171: "Filler Text Filler Text Filler"
-      text run at (50,110) width 32: "Text "
-      text run at (81,110) width 135: "Filler Text Filler Text"
-      text run at (50,130) width 69: "Filler Text "
-      text run at (118,130) width 103: "Filler Text Filler"
-      text run at (50,150) width 101: "Text Filler Text "
-      text run at (150,150) width 66: "Filler Text"
-      text run at (50,170) width 138: "Filler Text Filler Text "
-      text run at (187,170) width 34: "Filler"
-      text run at (50,190) width 166: "Text Filler Text Filler Text"
-      text run at (50,210) width 171: "Filler Text Filler Text Filler"
-      text run at (50,230) width 32: "Text "
-      text run at (81,230) width 135: "Filler Text Filler Text"
-      text run at (50,250) width 69: "Filler Text "
-      text run at (118,250) width 103: "Filler Text Filler"
-      text run at (50,270) width 101: "Text Filler Text "
-      text run at (150,270) width 66: "Filler Text"
-      text run at (50,290) width 138: "Filler Text Filler Text "
-      text run at (187,290) width 34: "Filler"
-      text run at (50,310) width 166: "Text Filler Text Filler Text"
-      text run at (50,330) width 171: "Filler Text Filler Text Filler"
-      text run at (50,350) width 32: "Text "
-      text run at (81,350) width 135: "Filler Text Filler Text"
+    LayoutText {#text} at (50,50) size 169x319
+      text run at (50,50) width 136: "Filler Text Filler Text "
+      text run at (186,50) width 33: "Filler"
+      text run at (50,70) width 163: "Text Filler Text Filler Text"
+      text run at (50,90) width 169: "Filler Text Filler Text Filler"
+      text run at (50,110) width 31: "Text "
+      text run at (81,110) width 132: "Filler Text Filler Text"
+      text run at (50,130) width 68: "Filler Text "
+      text run at (118,130) width 101: "Filler Text Filler"
+      text run at (50,150) width 99: "Text Filler Text "
+      text run at (149,150) width 64: "Filler Text"
+      text run at (50,170) width 136: "Filler Text Filler Text "
+      text run at (186,170) width 33: "Filler"
+      text run at (50,190) width 163: "Text Filler Text Filler Text"
+      text run at (50,210) width 169: "Filler Text Filler Text Filler"
+      text run at (50,230) width 31: "Text "
+      text run at (81,230) width 132: "Filler Text Filler Text"
+      text run at (50,250) width 68: "Filler Text "
+      text run at (118,250) width 101: "Filler Text Filler"
+      text run at (50,270) width 99: "Text Filler Text "
+      text run at (149,270) width 64: "Filler Text"
+      text run at (50,290) width 136: "Filler Text Filler Text "
+      text run at (186,290) width 33: "Filler"
+      text run at (50,310) width 163: "Text Filler Text Filler Text"
+      text run at (50,330) width 169: "Filler Text Filler Text Filler"
+      text run at (50,350) width 31: "Text "
+      text run at (81,350) width 132: "Filler Text Filler Text"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-applied-to-rounded-inline-element-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-applied-to-rounded-inline-element-expected.png
index 843f096d..8ccf164 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-applied-to-rounded-inline-element-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-applied-to-rounded-inline-element-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-applied-to-rounded-inline-element-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-applied-to-rounded-inline-element-expected.txt
index 7a9d2f5..45ed6e8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-applied-to-rounded-inline-element-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-applied-to-rounded-inline-element-expected.txt
@@ -4,10 +4,10 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x80
     LayoutBlockFlow {BODY} at (8,16) size 784x56
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 410x19
-          text run at (0,0) width 410: "Test passes if there is an orange box with rounded corners below."
+        LayoutText {#text} at (0,0) size 408x19
+          text run at (0,0) width 408: "Test passes if there is an orange box with rounded corners below."
       LayoutBlockFlow (anonymous) at (0,36) size 784x20
-        LayoutInline {DIV} at (0,0) size 95x49 [color=#FFA500] [bgcolor=#FFA500]
-          LayoutText {#text} at (15,0) size 65x19
-            text run at (15,0) width 65: "Filler Text"
+        LayoutInline {DIV} at (0,0) size 94x49 [color=#FFA500] [bgcolor=#FFA500]
+          LayoutText {#text} at (15,0) size 64x19
+            text run at (15,0) width 64: "Filler Text"
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-border-box-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-border-box-expected.png
index c337a91..264d790 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-border-box-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-border-box-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-border-box-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-border-box-expected.txt
index bbbe46a7..053e331 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-border-box-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-color-border-box-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x350
     LayoutBlockFlow {BODY} at (8,16) size 784x326
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 518x19
-          text run at (0,0) width 518: "Test passes if green is visible on the page and there is no red is visible on the page."
+        LayoutText {#text} at (0,0) size 517x19
+          text run at (0,0) width 517: "Test passes if green is visible on the page and there is no red is visible on the page."
       LayoutBlockFlow {DIV} at (0,36) size 290x290 [bgcolor=#FF0000]
         LayoutBlockFlow {DIV} at (0,0) size 290x290 [bgcolor=#000000] [border: (10px dashed #800080)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-repeat-space-padding-box-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-repeat-space-padding-box-expected.png
index c05cb04..15255aad 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-repeat-space-padding-box-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-repeat-space-padding-box-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-repeat-space-padding-box-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-repeat-space-padding-box-expected.txt
index b57a706..e3eb98d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-repeat-space-padding-box-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-repeat-space-padding-box-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x437.78
     LayoutBlockFlow {BODY} at (8,16) size 784x413.78
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 302x19
-          text run at (0,0) width 302: "Test passes if there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 301x19
+          text run at (0,0) width 301: "Test passes if there is no red visible on the page."
       LayoutBlockFlow {DIV} at (0,36) size 378.39x378.39 [border: (25px double #000000)]
       LayoutBlockFlow {DIV} at (0,35.39) size 378.39x378.39 [border: (25px double #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-002-expected.png
index 9a28642..e28e475 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-002-expected.txt
index 6bbaec86..f342427 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-002-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x110
     LayoutBlockFlow {BODY} at (8,16) size 784x86
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 302x19
-          text run at (0,0) width 302: "Test passes if there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 301x19
+          text run at (0,0) width 301: "Test passes if there is no red visible on the page."
       LayoutBlockFlow {DIV} at (0,36) size 100x100
       LayoutBlockFlow {DIV} at (0,36) size 50x50 [bgcolor=#000000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-applies-to-block-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-applies-to-block-expected.png
index 01c18c9..d5f0ce4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-applies-to-block-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-applies-to-block-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-applies-to-block-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-applies-to-block-expected.txt
index 0b8c3b3..492d17d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-applies-to-block-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-applies-to-block-expected.txt
@@ -4,6 +4,6 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x332
     LayoutBlockFlow {BODY} at (8,16) size 784x308
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 302x19
-          text run at (0,0) width 302: "Test passes if there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 301x19
+          text run at (0,0) width 301: "Test passes if there is no red visible on the page."
       LayoutBlockFlow {SPAN} at (0,36) size 272x272 [bgcolor=#FF0000] [border: (20px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-aspect-ratio-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-aspect-ratio-expected.png
index d05cee8f1..f596792 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-aspect-ratio-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-aspect-ratio-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-aspect-ratio-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-aspect-ratio-expected.txt
index 4cdbf59..0d21e05 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-aspect-ratio-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background-size-aspect-ratio-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x736
     LayoutBlockFlow {BODY} at (8,16) size 769x712
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 728x19
-          text run at (0,0) width 728: "Test passes if there are four unclipped cats in each of the two boxes, and if all the cats on the page are the same size."
+        LayoutText {#text} at (0,0) size 727x19
+          text run at (0,0) width 727: "Test passes if there are four unclipped cats in each of the two boxes, and if all the cats on the page are the same size."
       LayoutBlockFlow {DIV} at (0,36) size 96x96
       LayoutBlockFlow {DIV} at (0,132) size 410x160 [border: (5px solid #000000)]
       LayoutBlockFlow {DIV} at (0,302) size 160x410 [border: (5px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_color_padding_box-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_color_padding_box-expected.png
index 04bd70e..0b3a1bd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_color_padding_box-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_color_padding_box-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_color_padding_box-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_color_padding_box-expected.txt
index 29ebd6d..9b8157f0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_color_padding_box-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_color_padding_box-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x350
     LayoutBlockFlow {BODY} at (8,16) size 784x326
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 262x19
-          text run at (0,0) width 262: "Test passes if green is visible on the page."
+        LayoutText {#text} at (0,0) size 261x19
+          text run at (0,0) width 261: "Test passes if green is visible on the page."
       LayoutBlockFlow {DIV} at (0,36) size 290x290 [bgcolor=#008000]
         LayoutBlockFlow {DIV} at (0,0) size 290x290 [bgcolor=#000000] [border: (10px dashed #800080)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_position_three_four_values-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_position_three_four_values-expected.png
index f136ea8..1a503bb7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_position_three_four_values-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_position_three_four_values-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_position_three_four_values-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_position_three_four_values-expected.txt
index 78789836..8399d87 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_position_three_four_values-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_position_three_four_values-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x688
     LayoutBlockFlow {BODY} at (8,16) size 769x662
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 385x19
-          text run at (0,0) width 385: "Test passes if the content of the three black boxes is identical."
+        LayoutText {#text} at (0,0) size 384x19
+          text run at (0,0) width 384: "Test passes if the content of the three black boxes is identical."
       LayoutBlockFlow {DIV} at (10,36) size 298x202 [border: (5px solid #000000)]
       LayoutBlockFlow {DIV} at (10,248) size 298x202 [border: (5px solid #000000)]
       LayoutBlockFlow {DIV} at (10,460) size 298x202 [border: (5px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_properties_greater_than_images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_properties_greater_than_images-expected.png
index ef0c7f1..bc2df59 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_properties_greater_than_images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_properties_greater_than_images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_properties_greater_than_images-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_properties_greater_than_images-expected.txt
index e52325e4..50dca9e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_properties_greater_than_images-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_properties_greater_than_images-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x346
     LayoutBlockFlow {BODY} at (8,16) size 784x322
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 594x19
-          text run at (0,0) width 594: "Test passes if there is green on the page and contents of the black boxes look exactly the same."
+        LayoutText {#text} at (0,0) size 593x19
+          text run at (0,0) width 593: "Test passes if there is green on the page and contents of the black boxes look exactly the same."
       LayoutTable {TABLE} at (0,36) size 570x286
         LayoutTableSection {TBODY} at (0,0) size 570x286
           LayoutTableRow {TR} at (0,2) size 570x282
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_border_box-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_border_box-expected.png
index d6e9d01..8b6926fe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_border_box-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_border_box-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_border_box-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_border_box-expected.txt
index f214c10..ddd7c99 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_border_box-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_border_box-expected.txt
@@ -4,6 +4,6 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x438.39
     LayoutBlockFlow {BODY} at (8,16) size 784x414.39
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 518x19
-          text run at (0,0) width 518: "Test passes if green is visible on the page and there is no red is visible on the page."
+        LayoutText {#text} at (0,0) size 517x19
+          text run at (0,0) width 517: "Test passes if green is visible on the page and there is no red is visible on the page."
       LayoutBlockFlow {DIV} at (0,36) size 378.39x378.39 [border: (25px double #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_content_box-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_content_box-expected.png
index 0cc7f6e5c..146a10a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_content_box-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_content_box-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_content_box-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_content_box-expected.txt
index bac989f4..1246cec 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_content_box-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/background_repeat_space_content_box-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x458.39
     LayoutBlockFlow {BODY} at (8,16) size 784x434.39
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 776x39
-          text run at (0,0) width 776: "Test passes if there are four unclipped cats below, if the cats are equally spaced from each other, and if the cats do not touch"
+        LayoutText {#text} at (0,0) size 774x39
+          text run at (0,0) width 774: "Test passes if there are four unclipped cats below, if the cats are equally spaced from each other, and if the cats do not touch"
           text run at (0,20) width 183: "or overlap the double border."
       LayoutBlockFlow {DIV} at (0,56) size 378.39x378.39 [border: (25px double #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-001-expected.png
index 9857cf7..74233b0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-001-expected.txt
index b482d54..2dff027 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-001-expected.txt
@@ -4,10 +4,10 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x80
     LayoutBlockFlow {BODY} at (8,16) size 784x56
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 355x19
-          text run at (0,0) width 355: "Test passes if there is a box with rounded corners below."
+        LayoutText {#text} at (0,0) size 353x19
+          text run at (0,0) width 353: "Test passes if there is a box with rounded corners below."
       LayoutBlockFlow (anonymous) at (0,36) size 784x20
-        LayoutInline {DIV} at (0,0) size 85x39 [border: (10px solid #008000)]
-          LayoutText {#text} at (10,0) size 65x19
-            text run at (10,0) width 65: "Filler Text"
+        LayoutInline {DIV} at (0,0) size 84x39 [border: (10px solid #008000)]
+          LayoutText {#text} at (10,0) size 64x19
+            text run at (10,0) width 64: "Filler Text"
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-002-expected.png
index 18af04b3..c29c22d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-002-expected.txt
index 9b308e7..325fee42 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-002-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x162
     LayoutBlockFlow {BODY} at (8,16) size 784x138
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 355x19
-          text run at (0,0) width 355: "Test passes if there is a box with rounded corners below."
+        LayoutText {#text} at (0,0) size 353x19
+          text run at (0,0) width 353: "Test passes if there is a box with rounded corners below."
       LayoutBlockFlow {DIV} at (0,36) size 784x102
         LayoutBlockFlow {SPAN} at (0,0) size 102x102 [border: (3px solid #008000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-003-expected.png
index 18af04b3..c29c22d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-003-expected.txt
index 9b1e9830..94179589 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-003-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x162
     LayoutBlockFlow {BODY} at (8,16) size 784x138
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 355x19
-          text run at (0,0) width 355: "Test passes if there is a box with rounded corners below."
+        LayoutText {#text} at (0,0) size 353x19
+          text run at (0,0) width 353: "Test passes if there is a box with rounded corners below."
       LayoutListItem {DIV} at (0,36) size 102x102 [border: (3px solid #008000)]
         LayoutListMarker (anonymous) at (-18,3) size 7x19: bullet
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-004-expected.png
index 18af04b3..c29c22d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-004-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-004-expected.txt
index abeaf8b..073987f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-004-expected.txt
@@ -4,6 +4,6 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x162
     LayoutBlockFlow {BODY} at (8,16) size 784x138
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 355x19
-          text run at (0,0) width 355: "Test passes if there is a box with rounded corners below."
+        LayoutText {#text} at (0,0) size 353x19
+          text run at (0,0) width 353: "Test passes if there is a box with rounded corners below."
       LayoutBlockFlow {DIV} at (0,36) size 102x102 [border: (3px solid #008000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-005-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-005-expected.png
index 18af04b3..c29c22d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-005-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-005-expected.txt
index b4784aa..1649c98 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-005-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-005-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x167
     LayoutBlockFlow {BODY} at (8,16) size 784x143
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 355x19
-          text run at (0,0) width 355: "Test passes if there is a box with rounded corners below."
+        LayoutText {#text} at (0,0) size 353x19
+          text run at (0,0) width 353: "Test passes if there is a box with rounded corners below."
       LayoutBlockFlow (anonymous) at (0,36) size 784x107
         LayoutBlockFlow {DIV} at (0,0) size 102x102 [border: (3px solid #008000)]
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-006-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-006-expected.png
index 18af04b3..c29c22d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-006-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-006-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-006-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-006-expected.txt
index 5b47f92e..d2808aa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-006-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-006-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x162
     LayoutBlockFlow {BODY} at (8,16) size 784x138
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 355x19
-          text run at (0,0) width 355: "Test passes if there is a box with rounded corners below."
+        LayoutText {#text} at (0,0) size 353x19
+          text run at (0,0) width 353: "Test passes if there is a box with rounded corners below."
       LayoutTable {DIV} at (0,36) size 102x102 [border: (3px solid #008000)]
         LayoutTableSection (anonymous) at (3,3) size 96x96
           LayoutTableRow {DIV} at (0,0) size 96x96
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-007-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-007-expected.png
index 18af04b3..c29c22d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-007-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-007-expected.txt
index 99e68a8..d0110ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-007-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-007-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x162
     LayoutBlockFlow {BODY} at (8,16) size 784x138
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 355x19
-          text run at (0,0) width 355: "Test passes if there is a box with rounded corners below."
+        LayoutText {#text} at (0,0) size 353x19
+          text run at (0,0) width 353: "Test passes if there is a box with rounded corners below."
       LayoutTable {DIV} at (0,36) size 102x102
         LayoutBlockFlow {DIV} at (0,0) size 102x102 [border: (3px solid #008000)]
         LayoutTableSection (anonymous) at (0,102) size 102x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-008-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-008-expected.png
index 18af04b3..c29c22d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-008-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-008-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-008-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-008-expected.txt
index 298462d..7934ed5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-008-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-008-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x162
     LayoutBlockFlow {BODY} at (8,16) size 784x138
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 355x19
-          text run at (0,0) width 355: "Test passes if there is a box with rounded corners below."
+        LayoutText {#text} at (0,0) size 353x19
+          text run at (0,0) width 353: "Test passes if there is a box with rounded corners below."
       LayoutTable {DIV} at (0,36) size 102x102
         LayoutTableSection (anonymous) at (0,0) size 102x102
           LayoutTableRow {DIV} at (0,0) size 102x102
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-009-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-009-expected.png
index 5203e38..90cb71b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-009-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-009-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-009-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-009-expected.txt
index c4f1f1b3..5f8f221 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-009-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-009-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x162
     LayoutBlockFlow {BODY} at (8,16) size 784x138
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 410x19
-          text run at (0,0) width 410: "Test passes if there is a box with sharp or rounded corners below."
+        LayoutText {#text} at (0,0) size 408x19
+          text run at (0,0) width 408: "Test passes if there is a box with sharp or rounded corners below."
       LayoutTable {DIV} at (0,36) size 102x102 [border: (1px none #000000)]
         LayoutTableSection (anonymous) at (1,1) size 99x99
           LayoutTableRow {DIV} at (0,0) size 99x99 [border: (3px solid #008000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-010-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-010-expected.png
index c03f22b..ee53d64 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-010-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-010-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-010-expected.txt
index bce3d11..807d1cae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-010-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-010-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 302x19
-          text run at (0,0) width 302: "Test passes if there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 301x19
+          text run at (0,0) width 301: "Test passes if there is no red visible on the page."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-011-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-011-expected.png
index f18bd1f..1093403 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-011-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-011-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-011-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-011-expected.txt
index 7963ce0..af5e2176 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-011-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-011-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x174
     LayoutBlockFlow {BODY} at (8,16) size 784x150
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 355x19
-          text run at (0,0) width 355: "Test passes if there is a box with rounded corners below."
+        LayoutText {#text} at (0,0) size 353x19
+          text run at (0,0) width 353: "Test passes if there is a box with rounded corners below."
       LayoutBlockFlow (anonymous) at (0,36) size 784x114
         LayoutTable {DIV} at (0,12) size 102x102 [border: (3px solid #008000)]
           LayoutTableSection (anonymous) at (3,3) size 96x96
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-012-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-012-expected.png
index 5203e38..90cb71b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-012-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-012-expected.txt
index b0892a3..03184da5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-012-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-012-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x162
     LayoutBlockFlow {BODY} at (8,16) size 784x138
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 410x19
-          text run at (0,0) width 410: "Test passes if there is a box with sharp or rounded corners below."
+        LayoutText {#text} at (0,0) size 408x19
+          text run at (0,0) width 408: "Test passes if there is a box with sharp or rounded corners below."
       LayoutTable {DIV} at (0,36) size 102x102 [border: (1px none #000000)]
         LayoutTableCol {DIV} at (0,0) size 0x0 [border: (3px solid #008000)]
         LayoutTableSection (anonymous) at (1,1) size 99x99
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-013-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-013-expected.png
index 5203e38..90cb71b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-013-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-013-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-013-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-013-expected.txt
index f40cd91..2734225 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-013-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-013-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x162
     LayoutBlockFlow {BODY} at (8,16) size 784x138
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 410x19
-          text run at (0,0) width 410: "Test passes if there is a box with sharp or rounded corners below."
+        LayoutText {#text} at (0,0) size 408x19
+          text run at (0,0) width 408: "Test passes if there is a box with sharp or rounded corners below."
       LayoutTable {DIV} at (0,36) size 102x102 [border: (1px none #000000)]
         LayoutTableSection {DIV} at (1,1) size 99x99 [border: (3px solid #008000)]
           LayoutTableRow {DIV} at (0,0) size 99x99
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-014-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-014-expected.png
index 5203e38..90cb71b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-014-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-014-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-014-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-014-expected.txt
index f40cd91..2734225 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-014-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-014-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x162
     LayoutBlockFlow {BODY} at (8,16) size 784x138
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 410x19
-          text run at (0,0) width 410: "Test passes if there is a box with sharp or rounded corners below."
+        LayoutText {#text} at (0,0) size 408x19
+          text run at (0,0) width 408: "Test passes if there is a box with sharp or rounded corners below."
       LayoutTable {DIV} at (0,36) size 102x102 [border: (1px none #000000)]
         LayoutTableSection {DIV} at (1,1) size 99x99 [border: (3px solid #008000)]
           LayoutTableRow {DIV} at (0,0) size 99x99
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-015-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-015-expected.png
index 5203e38..90cb71b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-015-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-015-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-015-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-015-expected.txt
index f40cd91..2734225 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-015-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-015-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x162
     LayoutBlockFlow {BODY} at (8,16) size 784x138
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 410x19
-          text run at (0,0) width 410: "Test passes if there is a box with sharp or rounded corners below."
+        LayoutText {#text} at (0,0) size 408x19
+          text run at (0,0) width 408: "Test passes if there is a box with sharp or rounded corners below."
       LayoutTable {DIV} at (0,36) size 102x102 [border: (1px none #000000)]
         LayoutTableSection {DIV} at (1,1) size 99x99 [border: (3px solid #008000)]
           LayoutTableRow {DIV} at (0,0) size 99x99
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-016-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-016-expected.png
index 5203e38..90cb71b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-016-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-016-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-016-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-016-expected.txt
index b0892a3..03184da5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-016-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-016-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x162
     LayoutBlockFlow {BODY} at (8,16) size 784x138
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 410x19
-          text run at (0,0) width 410: "Test passes if there is a box with sharp or rounded corners below."
+        LayoutText {#text} at (0,0) size 408x19
+          text run at (0,0) width 408: "Test passes if there is a box with sharp or rounded corners below."
       LayoutTable {DIV} at (0,36) size 102x102 [border: (1px none #000000)]
         LayoutTableCol {DIV} at (0,0) size 0x0 [border: (3px solid #008000)]
         LayoutTableSection (anonymous) at (1,1) size 99x99
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-017-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-017-expected.png
index b30b5d2..73f6459 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-017-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-017-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-017-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-017-expected.txt
index 8305eeb..688e728 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-017-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-017-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x162
     LayoutBlockFlow {BODY} at (8,16) size 784x138
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 352x19
-          text run at (0,0) width 352: "Test passes if there is a box with rounded corners below"
+        LayoutText {#text} at (0,0) size 351x19
+          text run at (0,0) width 351: "Test passes if there is a box with rounded corners below"
       LayoutBlockFlow {DIV} at (0,36) size 784x102
         LayoutBlockFlow {DIV} at (0,0) size 102x102 [border: (3px solid #008000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-001-expected.png
index d5964d2..dae17ec 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-001-expected.txt
index 055715e..ead08b1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-001-expected.txt
@@ -4,23 +4,23 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x162
     LayoutBlockFlow {BODY} at (8,16) size 784x138
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 516x19
-          text run at (0,0) width 516: "Test passes if the 'Filler Text' below is clipped to the curve of the rounded corners."
+        LayoutText {#text} at (0,0) size 514x19
+          text run at (0,0) width 514: "Test passes if the 'Filler Text' below is clipped to the curve of the rounded corners."
 layer at (8,52) size 198x102 clip at (11,55) size 192x96 scrollHeight 160
   LayoutBlockFlow {DIV} at (0,36) size 198x102 [border: (3px solid #000000)]
-    LayoutText {#text} at (3,3) size 179x159
-      text run at (3,3) width 146: "Filler Text. Filler Text. "
-      text run at (148,3) width 34: "Filler"
-      text run at (3,23) width 109: "Text. Filler Text. "
-      text run at (111,23) width 70: "Filler Text."
-      text run at (3,43) width 73: "Filler Text. "
-      text run at (75,43) width 107: "Filler Text. Filler"
-      text run at (3,63) width 36: "Text. "
-      text run at (38,63) width 143: "Filler Text. Filler Text."
-      text run at (3,83) width 146: "Filler Text. Filler Text. "
-      text run at (148,83) width 34: "Filler"
-      text run at (3,103) width 109: "Text. Filler Text. "
-      text run at (111,103) width 70: "Filler Text."
-      text run at (3,123) width 73: "Filler Text. "
-      text run at (75,123) width 107: "Filler Text. Filler"
-      text run at (3,143) width 32: "Text."
+    LayoutText {#text} at (3,3) size 177x159
+      text run at (3,3) width 144: "Filler Text. Filler Text. "
+      text run at (147,3) width 33: "Filler"
+      text run at (3,23) width 107: "Text. Filler Text. "
+      text run at (110,23) width 68: "Filler Text."
+      text run at (3,43) width 72: "Filler Text. "
+      text run at (75,43) width 105: "Filler Text. Filler"
+      text run at (3,63) width 35: "Text. "
+      text run at (38,63) width 140: "Filler Text. Filler Text."
+      text run at (3,83) width 144: "Filler Text. Filler Text. "
+      text run at (147,83) width 33: "Filler"
+      text run at (3,103) width 107: "Text. Filler Text. "
+      text run at (110,103) width 68: "Filler Text."
+      text run at (3,123) width 72: "Filler Text. "
+      text run at (75,123) width 105: "Filler Text. Filler"
+      text run at (3,143) width 31: "Text."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-002-expected.png
index d0a4aed..6401f3d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-002-expected.txt
index 666a279..a405aa2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-002-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x180
     LayoutBlockFlow {BODY} at (8,16) size 784x156
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 302x19
-          text run at (0,0) width 302: "Test passes if there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 301x19
+          text run at (0,0) width 301: "Test passes if there is no red visible on the page."
       LayoutBlockFlow {DIV} at (0,36) size 140x140 [bgcolor=#FF0000] [border: (10px solid #000000)]
       LayoutBlockFlow {DIV} at (20,56) size 100x100 [bgcolor=#000000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-content-edge-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-content-edge-001-expected.png
index 1df5388..c2771f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-content-edge-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-content-edge-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-content-edge-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-content-edge-001-expected.txt
index b5af743..1edc3655 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-content-edge-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-content-edge-001-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x201
     LayoutBlockFlow {BODY} at (8,16) size 784x177
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 302x19
-          text run at (0,0) width 302: "Test passes if there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 301x19
+          text run at (0,0) width 301: "Test passes if there is no red visible on the page."
       LayoutBlockFlow (anonymous) at (0,36) size 784x141
         LayoutImage {IMG} at (0,0) size 136x136 [border: (10px solid #000000)]
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-different-width-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-different-width-001-expected.png
index deb9e17..bcd4d70 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-different-width-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-different-width-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-different-width-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-different-width-001-expected.txt
index fc5432d..d9747eb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-different-width-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-different-width-001-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x506
     LayoutBlockFlow {BODY} at (8,16) size 784x482
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 739x19
-          text run at (0,0) width 739: "Test passes if the boxes have rounded corners and show a smooth transition between the thicker and the thinner sides."
+        LayoutText {#text} at (0,0) size 738x19
+          text run at (0,0) width 738: "Test passes if the boxes have rounded corners and show a smooth transition between the thicker and the thinner sides."
       LayoutTable {TABLE} at (0,36) size 700x446
         LayoutTableSection {TBODY} at (0,0) size 700x446
           LayoutTableRow {TR} at (0,2) size 700x442
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-initial-value-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-initial-value-001-expected.png
index ebe1677..8b4aed4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-initial-value-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-initial-value-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-initial-value-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-initial-value-001-expected.txt
index dc3826a..7b64ca3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-initial-value-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-initial-value-001-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x340.75
     LayoutBlockFlow {BODY} at (8,16) size 784x314.75
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 259x19
-          text run at (0,0) width 259: "Test passes if the two boxes are identical."
+        LayoutText {#text} at (0,0) size 258x19
+          text run at (0,0) width 258: "Test passes if the two boxes are identical."
       LayoutBlockFlow {DIV} at (10,36) size 134.38x134.38 [border: (19.19px solid #000000)]
       LayoutBlockFlow {DIV} at (10,180.38) size 134.38x134.38 [border: (19.19px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-not-inherited-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-not-inherited-001-expected.png
index d90b533..8c7a621 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-not-inherited-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-not-inherited-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-not-inherited-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-not-inherited-001-expected.txt
index f759fb9d..a25d3e6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-not-inherited-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-not-inherited-001-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x278
     LayoutBlockFlow {BODY} at (8,16) size 784x254
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 310x19
-          text run at (0,0) width 310: "Test passes if there is a square and a circle below."
+        LayoutText {#text} at (0,0) size 308x19
+          text run at (0,0) width 308: "Test passes if there is a square and a circle below."
       LayoutBlockFlow {DIV} at (0,36) size 102x102 [border: (1px solid #00000000)]
         LayoutBlockFlow {DIV} at (1,1) size 106x106 [border: (3px solid #000000)]
       LayoutBlockFlow {DIV} at (0,148) size 106x106 [border: (3px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-shorthand-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-shorthand-001-expected.png
index b42c1da..3375cd3f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-shorthand-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-shorthand-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-shorthand-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-shorthand-001-expected.txt
index 99bf4937..262e5fc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-shorthand-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-shorthand-001-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x286
     LayoutBlockFlow {BODY} at (8,16) size 784x262
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 601x19
-          text run at (0,0) width 601: "Test passes if there are two black boxes with rounded corners and red is not visible on the page."
+        LayoutText {#text} at (0,0) size 600x19
+          text run at (0,0) width 600: "Test passes if there are two black boxes with rounded corners and red is not visible on the page."
       LayoutTable {TABLE} at (0,36) size 450x226
         LayoutTableSection {TBODY} at (0,0) size 450x226
           LayoutTableRow {TR} at (0,2) size 450x222
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-001-expected.png
index 16919bb..37acd3c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-001-expected.txt
index c746cdfb..40f251a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-001-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x310.38
     LayoutBlockFlow {BODY} at (8,16) size 784x286.38
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 783x39
-          text run at (0,0) width 783: "Test passes if there is a rounded border with purple dots on the top, green on the right side, blue on the bottom side, and grey"
+        LayoutText {#text} at (0,0) size 782x39
+          text run at (0,0) width 782: "Test passes if there is a rounded border with purple dots on the top, green on the right side, blue on the bottom side, and grey"
           text run at (0,20) width 96: "on the left side."
       LayoutBlockFlow {DIV} at (0,56) size 230.38x230.38 [border: (19.19px dotted #800080) (19.19px dotted #008000) (19.19px dotted #0000FF) (19.19px dotted #808080)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-002-expected.png
index d6ac1da0..0ec46a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-002-expected.txt
index c0b648c..e6fd812 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-002-expected.txt
@@ -4,6 +4,6 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x290.38
     LayoutBlockFlow {BODY} at (8,16) size 784x266.38
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 476x19
-          text run at (0,0) width 476: "Test passes if there is a box below with dashed border and rounded corners."
+        LayoutText {#text} at (0,0) size 475x19
+          text run at (0,0) width 475: "Test passes if there is a box below with dashed border and rounded corners."
       LayoutBlockFlow {DIV} at (0,36) size 230.38x230.38 [border: (19.19px dashed #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-003-expected.png
index a241a603..a944380 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-003-expected.txt
index 2e3af05..b6948cf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-003-expected.txt
@@ -4,6 +4,6 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x300
     LayoutBlockFlow {BODY} at (8,16) size 784x276
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 475x19
-          text run at (0,0) width 475: "Test passes if there is a box below with double border and rounded corners."
+        LayoutText {#text} at (0,0) size 474x19
+          text run at (0,0) width 474: "Test passes if there is a box below with double border and rounded corners."
       LayoutBlockFlow {DIV} at (0,36) size 340x240 [border: (70px double #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-004-expected.png
index 28ba136..8b364da 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-004-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-004-expected.txt
index 629dd96..566789da 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-004-expected.txt
@@ -4,6 +4,6 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x290.38
     LayoutBlockFlow {BODY} at (8,16) size 784x266.38
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 462x19
-          text run at (0,0) width 462: "Test passes if there is a box below with solid border and rounded corners."
+        LayoutText {#text} at (0,0) size 461x19
+          text run at (0,0) width 461: "Test passes if there is a box below with solid border and rounded corners."
       LayoutBlockFlow {DIV} at (0,36) size 230.38x230.38 [border: (19.19px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-005-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-005-expected.png
index d866a7c..378fc444 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-005-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-005-expected.txt
index 4b36d2d..0062832a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-005-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-005-expected.txt
@@ -4,6 +4,6 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x252
     LayoutBlockFlow {BODY} at (8,16) size 784x228
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 601x19
-          text run at (0,0) width 601: "Test passes if there is a black box below with rounded corners and no red is visible on the page."
+        LayoutText {#text} at (0,0) size 600x19
+          text run at (0,0) width 600: "Test passes if there is a black box below with rounded corners and no red is visible on the page."
       LayoutBlockFlow {DIV} at (0,36) size 192x192 [bgcolor=#000000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.png
index 2886b31..90535d4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.txt
index 3eeae8b..2eec571 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x478
     LayoutBlockFlow {BODY} at (8,16) size 784x454
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 535x19
-          text run at (0,0) width 535: "Test passes if there are no squares on the page and there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 534x19
+          text run at (0,0) width 534: "Test passes if there are no squares on the page and there is no red visible on the page."
       LayoutTable {TABLE} at (0,36) size 210x418
         LayoutTableSection {TBODY} at (0,0) size 210x418
           LayoutTableRow {TR} at (0,2) size 210x102
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.png
index 26011c6..741f3c7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.txt
index d364d5d..13009e7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x686
     LayoutBlockFlow {BODY} at (8,16) size 784x662
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 646x19
-          text run at (0,0) width 646: "Test passes if there are no more than two rectangles on the page and there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 645x19
+          text run at (0,0) width 645: "Test passes if there are no more than two rectangles on the page and there is no red visible on the page."
       LayoutTable {TABLE} at (0,36) size 314x106
         LayoutTableSection {TBODY} at (0,0) size 314x106
           LayoutTableRow {TR} at (0,2) size 314x102
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-three-values-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-three-values-001-expected.png
index eca67bf9..3767251 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-three-values-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-three-values-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-three-values-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-three-values-001-expected.txt
index 197ba095..3d1340e8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-three-values-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-three-values-001-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x290.36
     LayoutBlockFlow {BODY} at (8,16) size 784x266.36
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 511x19
-          text run at (0,0) width 511: "Test passes if the box has rounded corners and there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 510x19
+          text run at (0,0) width 510: "Test passes if the box has rounded corners and there is no red visible on the page."
       LayoutBlockFlow {DIV} at (0,36) size 230.38x230.38 [border: (19.19px solid #FF0000)]
       LayoutBlockFlow {DIV} at (0,35.98) size 230.38x230.38 [border: (19.19px solid #008000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-two-values-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-two-values-001-expected.png
index f3a3266..1174039 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-two-values-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-two-values-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-two-values-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-two-values-001-expected.txt
index 197ba095..3d1340e8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-two-values-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-radius-with-two-values-001-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x290.36
     LayoutBlockFlow {BODY} at (8,16) size 784x266.36
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 511x19
-          text run at (0,0) width 511: "Test passes if the box has rounded corners and there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 510x19
+          text run at (0,0) width 510: "Test passes if the box has rounded corners and there is no red visible on the page."
       LayoutBlockFlow {DIV} at (0,36) size 230.38x230.38 [border: (19.19px solid #FF0000)]
       LayoutBlockFlow {DIV} at (0,35.98) size 230.38x230.38 [border: (19.19px solid #008000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-001-expected.png
index 9809bfee..a01297f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-002-expected.png
index 546e397..ff4596ed 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-002-expected.txt
index ca6cb3a..6dd4e64 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-002-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x352
     LayoutBlockFlow {BODY} at (8,16) size 784x328
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 649x19
-          text run at (0,0) width 649: "Test passes if the top-left corner of the box has a rounded corner and there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 648x19
+          text run at (0,0) width 648: "Test passes if the top-left corner of the box has a rounded corner and there is no red visible on the page."
       LayoutBlockFlow {DIV} at (0,36) size 388x292 [border: (2px solid #FF0000)]
       LayoutBlockFlow {DIV} at (0,36) size 388x292 [border: (2px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-003-expected.png
index f969453..7f5515c7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-003-expected.txt
index 846e89d..421cb87 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-003-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x365
     LayoutBlockFlow {BODY} at (8,16) size 784x341
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 261x19
-          text run at (0,0) width 261: "Test passes if the four boxes are identical."
+        LayoutText {#text} at (0,0) size 260x19
+          text run at (0,0) width 260: "Test passes if the four boxes are identical."
       LayoutTable {TABLE} at (0,36) size 320x305
         LayoutTableSection {TBODY} at (0,0) size 320x305
           LayoutTableRow {TR} at (0,2) size 320x301
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.png
index f1d83e3..a82e9dc1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.txt
index f09370e..32e3a57 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x524
     LayoutBlockFlow {BODY} at (8,16) size 784x500
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 649x19
-          text run at (0,0) width 649: "Test passes if the top left corner of each of the boxes is curved and if there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 648x19
+          text run at (0,0) width 648: "Test passes if the top left corner of each of the boxes is curved and if there is no red visible on the page."
       LayoutTable {TABLE} at (0,36) size 310x464
         LayoutTableSection {TBODY} at (0,0) size 310x464
           LayoutTableRow {TR} at (0,2) size 310x152
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.png
index 3b3febd..4ebc385 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.txt
index 050c3669..5bb23d2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x434
     LayoutBlockFlow {BODY} at (8,16) size 784x410
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 658x19
-          text run at (0,0) width 658: "Test passes if the top right corner of each of the boxes is curved and if there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 657x19
+          text run at (0,0) width 657: "Test passes if the top right corner of each of the boxes is curved and if there is no red visible on the page."
       LayoutTable {TABLE} at (0,36) size 310x374
         LayoutTableSection {TBODY} at (0,0) size 310x374
           LayoutTableRow {TR} at (0,2) size 310x122
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-001-expected.png
index ee2f21be..a7d4ddbe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-001-expected.txt
index e2a9630..06b4e6e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-001-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x158
     LayoutBlockFlow {BODY} at (8,16) size 784x134
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 302x19
-          text run at (0,0) width 302: "Test passes if there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 301x19
+          text run at (0,0) width 301: "Test passes if there is no red visible on the page."
       LayoutBlockFlow {DIV} at (0,36) size 194x98 [bgcolor=#FF0000] [border: (1px solid #000000)]
         LayoutBlockFlow {DIV} at (1,1) size 98x98 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-002-expected.png
index d6fbb9b..65af805 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-002-expected.txt
index 35ab95c..b2ad9a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-002-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x160
     LayoutBlockFlow {BODY} at (8,16) size 784x136
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 302x19
-          text run at (0,0) width 302: "Test passes if there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 301x19
+          text run at (0,0) width 301: "Test passes if there is no red visible on the page."
       LayoutBlockFlow {DIV} at (40,36) size 120x120 [bgcolor=#FF0000]
       LayoutBlockFlow {DIV} at (0,36) size 100x100 [bgcolor=#000000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-003-expected.png
index 321b09a6..a321427c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-003-expected.txt
index c243a99..d1bb9dc0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-003-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x292
     LayoutBlockFlow {BODY} at (8,16) size 784x268
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 308x19
-          text run at (0,0) width 308: "Test passes if two drawings are exactly the same."
+        LayoutText {#text} at (0,0) size 307x19
+          text run at (0,0) width 307: "Test passes if two drawings are exactly the same."
       LayoutBlockFlow {DIV} at (0,36) size 96x96
       LayoutBlockFlow {DIV} at (0,36) size 96x96
       LayoutBlockFlow {DIV} at (0,36) size 96x96
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-004-expected.png
index a55f383..6d5fba8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-004-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-004-expected.txt
index 205e9f2..75d39f41 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/box-shadow-004-expected.txt
@@ -4,6 +4,6 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x158
     LayoutBlockFlow {BODY} at (8,16) size 784x134
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 302x19
-          text run at (0,0) width 302: "Test passes if there is no red visible on the page."
+        LayoutText {#text} at (0,0) size 301x19
+          text run at (0,0) width 301: "Test passes if there is no red visible on the page."
       LayoutBlockFlow {DIV} at (0,36) size 98x98 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/color-behind-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/color-behind-images-expected.png
index 394ec91..be86df1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/color-behind-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/color-behind-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/color-behind-images-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/color-behind-images-expected.txt
index c708950..14e9493 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/color-behind-images-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/color-behind-images-expected.txt
@@ -4,6 +4,6 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x310
     LayoutBlockFlow {BODY} at (8,16) size 784x286
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 481x19
-          text run at (0,0) width 481: "Test passes if blue, orange and white boxes are visible on a larger black box."
+        LayoutText {#text} at (0,0) size 480x19
+          text run at (0,0) width 480: "Test passes if blue, orange and white boxes are visible on a larger black box."
       LayoutBlockFlow {DIV} at (0,36) size 250x250 [bgcolor=#000000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/none-as-image-layer-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/none-as-image-layer-expected.png
index 01132b3..69ce95c9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/none-as-image-layer-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/none-as-image-layer-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/none-as-image-layer-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/none-as-image-layer-expected.txt
index e52325e4..50dca9e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/none-as-image-layer-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/none-as-image-layer-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x346
     LayoutBlockFlow {BODY} at (8,16) size 784x322
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 594x19
-          text run at (0,0) width 594: "Test passes if there is green on the page and contents of the black boxes look exactly the same."
+        LayoutText {#text} at (0,0) size 593x19
+          text run at (0,0) width 593: "Test passes if there is green on the page and contents of the black boxes look exactly the same."
       LayoutTable {TABLE} at (0,36) size 570x286
         LayoutTableSection {TBODY} at (0,0) size 570x286
           LayoutTableRow {TR} at (0,2) size 570x282
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/order-of-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/order-of-images-expected.png
index 0db534c..b98407c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/order-of-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/order-of-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/order-of-images-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/order-of-images-expected.txt
index 2b07923..98cfeac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/order-of-images-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/bordersbackgrounds/order-of-images-expected.txt
@@ -4,6 +4,6 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x310
     LayoutBlockFlow {BODY} at (8,16) size 784x286
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 489x19
-          text run at (0,0) width 489: "Test passes if a blue box overlaps an orange box, which overlaps a black box."
+        LayoutText {#text} at (0,0) size 488x19
+          text run at (0,0) width 488: "Test passes if a blue box overlaps an orange box, which overlaps a black box."
       LayoutBlockFlow {DIV} at (0,36) size 250x250
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-001-expected.png
index 3000290b..9f62432c7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-002-expected.png
index 46d5a2e..3b3288de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-003-expected.png
index 74812f2..adf5962 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-004-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-004-expected.png
index 6261f0b..674a9c54 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-005-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-005-expected.png
index cc2d4a19..df51823 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-006-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-006-expected.png
index 13358c0..b3be409 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-006-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-006-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-007-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-007-expected.png
index d940503..cc95a9eb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-008-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-008-expected.png
index eaa29da8..5fd39d7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-008-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-008-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-009-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-009-expected.png
index 058358e..63fa282 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-009-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-009-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-010-expected.png b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-010-expected.png
index 11ee1ea4..c0f8a2c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-010-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/ietestcenter/css3/text/textshadow-010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/color-profile-image-filter-all-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/color-profile-image-filter-all-expected.png
index 61752b4f..2149dbc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/color-profile-image-filter-all-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/color-profile-image-filter-all-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-diff-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-diff-expected.png
index 69fa0f49..1d98e048 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-diff-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-diff-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-diff-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-diff-expected.txt
index f563ff6..771fb96d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-diff-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-diff-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x560
     LayoutBlockFlow {BODY} at (8,16) size 784x536
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 411x19
-          text run at (0,0) width 411: "There should be three circles below. One big and two small ones."
+        LayoutText {#text} at (0,0) size 410x19
+          text run at (0,0) width 410: "There should be three circles below. One big and two small ones."
       LayoutBlockFlow {DIV} at (0,36) size 300x300
       LayoutBlockFlow {DIV} at (0,336) size 100x100
       LayoutBlockFlow {DIV} at (0,436) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-expected.png
index daa78cf..13bff0cf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-expected.txt
index 030488f..d8d69bff 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/cross-fade-svg-size-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x165
     LayoutBlockFlow {BODY} at (8,16) size 784x141
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 261x19
-          text run at (0,0) width 261: "There should be four green circles below."
+        LayoutText {#text} at (0,0) size 260x19
+          text run at (0,0) width 260: "There should be four green circles below."
       LayoutBlockFlow (anonymous) at (0,36) size 784x105
         LayoutBlockFlow {DIV} at (0,0) size 100x100
         LayoutText {#text} at (100,85) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/exif-orientation-css-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/exif-orientation-css-expected.png
index fe93224..c4c7fc1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/exif-orientation-css-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/exif-orientation-css-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/exif-orientation-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/exif-orientation-expected.png
index 0df0b3f..ab4d753 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/exif-orientation-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/exif-orientation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/exif-orientation-image-document-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/exif-orientation-image-document-expected.png
index fa85db3b..537701d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/exif-orientation-image-document-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/exif-orientation-image-document-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/favicon-as-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/favicon-as-image-expected.png
index 2e2f9af..fc6a6d8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/favicon-as-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/favicon-as-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/favicon-as-image-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/favicon-as-image-expected.txt
index f1f230b..d2576274 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/favicon-as-image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/favicon-as-image-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (0,0) size 800x600
       LayoutBlockFlow {DIV} at (0,0) size 800x20
-        LayoutText {#text} at (0,0) size 449x19
-          text run at (0,0) width 449: "Two green 16x16 pixel squares should appear below stacked vertically."
+        LayoutText {#text} at (0,0) size 447x19
+          text run at (0,0) width 447: "Two green 16x16 pixel squares should appear below stacked vertically."
       LayoutBlockFlow {DIV} at (0,20) size 16x16 [bgcolor=#FF0000]
         LayoutImage {IMG} at (0,0) size 16x16
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-circle-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-circle-focus-ring-expected.png
index c29f4840..4fd8b25e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-circle-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-circle-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-circle-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-circle-focus-ring-expected.txt
index d69ad1f8..23a3165 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-circle-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-circle-focus-ring-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 763x39
           text run at (0,0) width 763: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 760: "shape=\"circle\">. This test PASSED if a circular-shaped focus ring is drawn around the <area> in the imagemap (below)."
+          text run at (0,20) width 759: "shape=\"circle\">. This test PASSED if a circular-shaped focus ring is drawn around the <area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,56) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-expected.png
index 5566c81..033b006 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-expected.txt
index d7f3622..2a1580a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 724x39
           text run at (0,0) width 724: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an"
-          text run at (0,20) width 623: "imagemap. This test PASSED if a focus ring is drawn around the <area> in the imagemap (below)."
+          text run at (0,20) width 622: "imagemap. This test PASSED if a focus ring is drawn around the <area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,56) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-in-positioned-container-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-in-positioned-container-expected.png
index 0a0b1f5..0cbfb1c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-in-positioned-container-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-in-positioned-container-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-in-positioned-container-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-in-positioned-container-expected.txt
index b61a818..aa55f182 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-in-positioned-container-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-in-positioned-container-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x36
   LayoutBlockFlow {HTML} at (0,0) size 800x36
     LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutText {#text} at (0,0) size 551x19
-        text run at (0,0) width 551: "Tests that we paint area outline properly when the image is inside positioned containers."
+      LayoutText {#text} at (0,0) size 550x19
+        text run at (0,0) width 550: "Tests that we paint area outline properly when the image is inside positioned containers."
 layer at (20,50) size 0x0
   LayoutBlockFlow (positioned) {DIV} at (20,50) size 0x0
 layer at (30,60) size 50x55
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-expected.png
index 53d72ba..829b083e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-expected.txt
index 482994c..de1ce31 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 776x39
           text run at (0,0) width 776: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area>."
-          text run at (0,20) width 641: "This test PASSED if a green-colored focus ring is drawn around the <area> in the imagemap (below)."
+          text run at (0,20) width 640: "This test PASSED if a green-colored focus ring is drawn around the <area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,56) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png
index 46c2da4..3247645f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt
index a52dc47..8d25218 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x60
-        LayoutText {#text} at (0,0) size 768x59
+        LayoutText {#text} at (0,0) size 767x59
           text run at (0,0) width 762: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that the focus ring color for an <area>"
-          text run at (0,20) width 768: "can be explicitly inherited from <map>. This test PASSED if a green-colored focus ring is drawn around the <area> in the"
+          text run at (0,20) width 767: "can be explicitly inherited from <map>. This test PASSED if a green-colored focus ring is drawn around the <area> in the"
           text run at (0,40) width 122: "imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,76) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png
index 4e4a117..195fc1a8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt
index 2c5771c5..3b327342 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt
@@ -12,7 +12,7 @@
             text run at (207,20) width 467: "section 18.4 \"Dynamic outlines: the 'outline' property\" of the CSS2.1 spec"
         LayoutText {#text} at (674,20) size 735x39
           text run at (674,20) width 61: ". This test"
-          text run at (0,40) width 566: "FAILED if a red-colored focus ring is drawn around the <area> in the imagemap (below)."
+          text run at (0,40) width 565: "FAILED if a red-colored focus ring is drawn around the <area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,76) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-paint-root-offset-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-paint-root-offset-expected.png
index 725de25..550610e8a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-paint-root-offset-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-paint-root-offset-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-paint-root-offset-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
index 3877147..d19ca6c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x36
   LayoutBlockFlow {HTML} at (0,0) size 800x36
     LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutText {#text} at (0,0) size 437x19
-        text run at (0,0) width 437: "Tests that we paint area outline properly when the paintroot is shifted."
+      LayoutText {#text} at (0,0) size 436x19
+        text run at (0,0) width 436: "Tests that we paint area outline properly when the paintroot is shifted."
 layer at (5,50) size 50x55
   LayoutBlockFlow (positioned) {DIV} at (5,50) size 50x55
     LayoutImage {IMG} at (0,0) size 50x50
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-scale-transform-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-scale-transform-expected.png
index 21748a4..13e9373 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-scale-transform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-scale-transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-scale-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-scale-transform-expected.txt
index 8e4a1697..b8f1a159 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-scale-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-with-scale-transform-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x36
   LayoutBlockFlow {HTML} at (0,0) size 800x36
     LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutText {#text} at (0,0) size 487x19
-        text run at (0,0) width 487: "Tests that we paint area outline properly when the image's container is scaled."
+      LayoutText {#text} at (0,0) size 486x19
+        text run at (0,0) width 486: "Tests that we paint area outline properly when the image's container is scaled."
 layer at (100,100) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (100,100) size 100x100
     LayoutImage {IMG} at (0,0) size 50x50
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-zero-outline-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-zero-outline-width-expected.png
index 66b3986f15..a589e551 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-zero-outline-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-zero-outline-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-zero-outline-width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-zero-outline-width-expected.txt
index bc291444..1334cec 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-zero-outline-width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-zero-outline-width-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x60
         LayoutText {#text} at (0,0) size 748x59
           text run at (0,0) width 748: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is not drawn for an"
-          text run at (0,20) width 737: "<area> with a 0px outline-width. This test PASSED if no red focus ring is drawn around the <area> in the imagemap"
+          text run at (0,20) width 736: "<area> with a 0px outline-width. This test PASSED if no red focus ring is drawn around the <area> in the imagemap"
           text run at (0,40) width 53: "(below)."
       LayoutBlockFlow (anonymous) at (0,76) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-zoom-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-zoom-expected.png
index 3d2bd32..7977b23 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-zoom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-focus-ring-zoom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-circle-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-circle-focus-ring-expected.png
index 2e10caa..b6fa040 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-circle-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-circle-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-circle-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-circle-focus-ring-expected.txt
index 493a04d..518cb96 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-circle-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-circle-focus-ring-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x60
         LayoutText {#text} at (0,0) size 763x59
           text run at (0,0) width 763: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 743: "shape=\"circle\"> that overflows the img element. This test PASSED if a half-circule-shaped focus ring is drawn for the"
+          text run at (0,20) width 742: "shape=\"circle\"> that overflows the img element. This test PASSED if a half-circule-shaped focus ring is drawn for the"
           text run at (0,40) width 209: "<area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,76) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-polygon-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-polygon-focus-ring-expected.png
index 34590f0..5343ba7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-polygon-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-polygon-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-polygon-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-polygon-focus-ring-expected.txt
index 8e775e6..20bd3c5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-polygon-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-overflowing-polygon-focus-ring-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x60
-        LayoutText {#text} at (0,0) size 782x59
+        LayoutText {#text} at (0,0) size 781x59
           text run at (0,0) width 763: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 782: "shape=\"polygon\"> that is overflowing the bounds for the img element. This test PASSED if a clipped star-shaped focus ring"
+          text run at (0,20) width 781: "shape=\"polygon\"> that is overflowing the bounds for the img element. This test PASSED if a clipped star-shaped focus ring"
           text run at (0,40) width 338: "is drawn around the <area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,76) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-polygon-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-polygon-focus-ring-expected.png
index 62d7b48..93ff41d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-polygon-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-polygon-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-polygon-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-polygon-focus-ring-expected.txt
index 12e3e1fb..9199db8d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-polygon-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/imagemap-polygon-focus-ring-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 763x39
           text run at (0,0) width 763: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 763: "shape=\"polygon\">. This test PASSED if a cross-shaped focus ring is drawn around the <area> in the imagemap (below)."
+          text run at (0,20) width 762: "shape=\"polygon\">. This test PASSED if a cross-shaped focus ring is drawn around the <area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,56) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/pixel-crack-image-background-webkit-transform-scale-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/pixel-crack-image-background-webkit-transform-scale-expected.png
index e294ea9..bfb9781e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/pixel-crack-image-background-webkit-transform-scale-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/pixel-crack-image-background-webkit-transform-scale-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/pixel-crack-image-background-webkit-transform-scale-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/images/pixel-crack-image-background-webkit-transform-scale-expected.txt
index 0ac5849b..61b177c7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/pixel-crack-image-background-webkit-transform-scale-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/pixel-crack-image-background-webkit-transform-scale-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 732x19
-          text run at (0,0) width 429: "Test pixel cracks when background sprite is transformed with scale. "
-          text run at (428,0) width 304: "Need to run pixel test to verify if it is successful."
+        LayoutText {#text} at (0,0) size 731x19
+          text run at (0,0) width 428: "Test pixel cracks when background sprite is transformed with scale. "
+          text run at (428,0) width 303: "Need to run pixel test to verify if it is successful."
 layer at (12,72) size 16x16
   LayoutBlockFlow (positioned) {DIV} at (12,72) size 16x16
 layer at (24,72) size 16x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-0px-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-0px-images-expected.png
index 55f1faf..04c9236 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-0px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-0px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-0px-images-quirk-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-0px-images-quirk-expected.png
index 8ccdbb6..bd49885 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-0px-images-quirk-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-0px-images-quirk-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-10px-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-10px-images-expected.png
index 8c393e65..2bc212e7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-10px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-10px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-16px-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-16px-images-expected.png
index 7aaf41b..16587802 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-16px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-16px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-1px-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-1px-images-expected.png
index f15fbf8..a45d1b6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-1px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-1px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-block-flow-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-block-flow-images-expected.png
index 375db50..0e5479d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-block-flow-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-block-flow-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-images-empty-alt-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-images-empty-alt-expected.png
index 21c006f..1a5ad6e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-images-empty-alt-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-images-empty-alt-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-images-expected.png
index d3b84b2..457c34f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-controls-with-cast-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-controls-with-cast-rendering-expected.png
index ba4b97c..a2dbbef 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-controls-with-cast-rendering-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-controls-with-cast-rendering-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-controls-with-cast-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-controls-with-cast-rendering-expected.txt
index 5122955a..2f7be3e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-controls-with-cast-rendering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-controls-with-cast-rendering-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x550
     LayoutBlockFlow {BODY} at (8,16) size 769x526
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 252x19
-          text run at (0,0) width 252: "Test controls rendering with cast button."
+        LayoutText {#text} at (0,0) size 251x19
+          text run at (0,0) width 251: "Test controls rendering with cast button."
       LayoutBlockFlow {DIV} at (0,36) size 769x245
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,281) size 769x245
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-dark-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-dark-rendering-expected.png
index 6881c87..a344c15f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-dark-rendering-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-dark-rendering-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-dark-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-dark-rendering-expected.txt
index 9d10244..f6824af 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-dark-rendering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-dark-rendering-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x550
     LayoutBlockFlow {BODY} at (8,16) size 769x526
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 348x19
-          text run at (0,0) width 348: "Test overlay cast button rendering on dark background."
+        LayoutText {#text} at (0,0) size 347x19
+          text run at (0,0) width 347: "Test overlay cast button rendering on dark background."
       LayoutBlockFlow {DIV} at (0,36) size 769x245
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,281) size 769x245
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-light-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-light-rendering-expected.png
index 6f50ab8..791091d8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-light-rendering-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-light-rendering-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-light-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-light-rendering-expected.txt
index 16b8ca71..dcbe77e9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-light-rendering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/controls/video-overlay-cast-light-rendering-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x619.81
     LayoutBlockFlow {BODY} at (8,16) size 769x595.81
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 348x19
-          text run at (0,0) width 348: "Test overlay cast button rendering on light background."
+        LayoutText {#text} at (0,0) size 347x19
+          text run at (0,0) width 347: "Test overlay cast button rendering on light background."
       LayoutBlockFlow {DIV} at (0,36) size 769x293
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,329) size 769x266.81
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/media-controls-grey-scrubber-expected.png b/third_party/WebKit/LayoutTests/platform/linux/media/media-controls-grey-scrubber-expected.png
new file mode 100644
index 0000000..11f183e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/media-controls-grey-scrubber-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/track/track-cue-rendering-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/linux/media/track/track-cue-rendering-vertical-expected.png
index 6c505bc..56c075d0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/track/track-cue-rendering-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/track/track-cue-rendering-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/video-aspect-ratio-expected.png b/third_party/WebKit/LayoutTests/platform/linux/media/video-aspect-ratio-expected.png
index 3cf5d65..43fac98d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/video-aspect-ratio-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/video-aspect-ratio-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/video-aspect-ratio-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/media/video-aspect-ratio-expected.txt
index 09dbe040..3551b741 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/video-aspect-ratio-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/video-aspect-ratio-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 621x19
-          text run at (0,0) width 621: "Test video sizing. You should see one bigger image (paused video) and 7 small ones of 1/4 its size."
+        LayoutText {#text} at (0,0) size 619x19
+          text run at (0,0) width 619: "Test video sizing. You should see one bigger image (paused video) and 7 small ones of 1/4 its size."
       LayoutBlockFlow (anonymous) at (0,36) size 784x480
         LayoutBR {BR} at (320,240) size 0x0
         LayoutBlockFlow {DIV} at (160,240) size 320x120
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv420-expected.png b/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv420-expected.png
index 910ad86..161319a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv420-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv420-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv420-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv420-expected.txt
index 5d50289..033fd9a3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv420-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv420-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 328x19
-          text run at (0,0) width 328: "Test correct colorspace for yuv420, i.e. YU12 video"
+        LayoutText {#text} at (0,0) size 327x19
+          text run at (0,0) width 327: "Test correct colorspace for yuv420, i.e. YU12 video"
       LayoutBlockFlow (anonymous) at (0,36) size 784x156
 layer at (8,44) size 206x156
   LayoutVideo {VIDEO} at (0,0) size 206x156 [border: (3px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv422-expected.png b/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv422-expected.png
index da7b082..cc7c7e6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv422-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv422-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv422-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv422-expected.txt
index 41496fc8..8eaf33e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv422-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/video-colorspace-yuv422-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 328x19
-          text run at (0,0) width 328: "Test correct colorspace for yuv422, i.e. YU16 video"
+        LayoutText {#text} at (0,0) size 327x19
+          text run at (0,0) width 327: "Test correct colorspace for yuv422, i.e. YU16 video"
       LayoutBlockFlow (anonymous) at (0,36) size 784x156
 layer at (8,44) size 206x156
   LayoutVideo {VIDEO} at (0,0) size 206x156 [border: (3px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/video-layer-crash-expected.png b/third_party/WebKit/LayoutTests/platform/linux/media/video-layer-crash-expected.png
index 74ec71a..54a60f1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/video-layer-crash-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/video-layer-crash-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/video-layer-crash-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/media/video-layer-crash-expected.txt
index 64a0cdb..3a9deadf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/video-layer-crash-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/video-layer-crash-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 359x19
-          text run at (0,0) width 359: "Test dynamic removal of transformed and reflected video"
+        LayoutText {#text} at (0,0) size 358x19
+          text run at (0,0) width 358: "Test dynamic removal of transformed and reflected video"
       LayoutBlockFlow (anonymous) at (0,36) size 784x342
         LayoutText {#text} at (0,0) size 4x19
           text run at (0,0) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/video-replaces-poster-expected.png b/third_party/WebKit/LayoutTests/platform/linux/media/video-replaces-poster-expected.png
index dec37cf..1a76121 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/video-replaces-poster-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/video-replaces-poster-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/video-replaces-poster-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/media/video-replaces-poster-expected.txt
index 3508fa0..5f23bf4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/video-replaces-poster-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/video-replaces-poster-expected.txt
@@ -4,16 +4,16 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x355
     LayoutBlockFlow {BODY} at (8,16) size 784x331
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
-        LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-          LayoutText {#text} at (51,0) size 306x19
-            text run at (51,0) width 306: "https://bugs.webkit.org/show_bug.cgi?id=34966"
-        LayoutText {#text} at (356,0) size 9x19
-          text run at (356,0) width 9: ". "
-        LayoutBR {BR} at (364,0) size 1x19
-        LayoutText {#text} at (0,20) size 205x19
-          text run at (0,20) width 205: "You should see the video below."
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
+          LayoutText {#text} at (51,0) size 305x19
+            text run at (51,0) width 305: "https://bugs.webkit.org/show_bug.cgi?id=34966"
+        LayoutText {#text} at (356,0) size 8x19
+          text run at (356,0) width 8: ". "
+        LayoutBR {BR} at (364,0) size 0x19
+        LayoutText {#text} at (0,20) size 203x19
+          text run at (0,20) width 203: "You should see the video below."
       LayoutBlockFlow (anonymous) at (0,56) size 784x275
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,72) size 480x270
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/video-transformed-expected.png b/third_party/WebKit/LayoutTests/platform/linux/media/video-transformed-expected.png
index 017a3a2..3c8f17e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/video-transformed-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/video-transformed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/media/video-transformed-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/media/video-transformed-expected.txt
index a832d47d..9aebf07 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/media/video-transformed-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/media/video-transformed-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 216x19
-          text run at (0,0) width 216: "Test painting of transformed video"
+        LayoutText {#text} at (0,0) size 215x19
+          text run at (0,0) width 215: "Test painting of transformed video"
       LayoutBlockFlow (anonymous) at (0,36) size 784x483
         LayoutText {#text} at (0,141) size 4x19
           text run at (0,141) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/filters/clip-filter-overflow-clip-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/filters/clip-filter-overflow-clip-expected.png
index 8f15a06..cb1ae47 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/filters/clip-filter-overflow-clip-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/filters/clip-filter-overflow-clip-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/filters/clip-filter-overflow-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/filters/clip-filter-overflow-clip-expected.txt
index 679e8824..b8a0201 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/filters/clip-filter-overflow-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/filters/clip-filter-overflow-clip-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x80
       LayoutText {#text} at (0,0) size 489x19
         text run at (0,0) width 489: "This test verifies CSS clip, filter, and overflow clip are applied in the order of:"
-      LayoutBR {BR} at (488,0) size 1x19
+      LayoutBR {BR} at (489,0) size 0x19
       LayoutText {#text} at (0,20) size 418x19
         text run at (0,20) width 418: "output <-- clip <-- filter <-- overflow clip <-- normal-flow contents"
       LayoutBR {BR} at (418,20) size 0x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/4774354-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/4774354-expected.txt
index c48c5f6..3bfe07c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/4774354-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/4774354-expected.txt
@@ -11,5 +11,5 @@
     layer at (0,0) size 300x150
       LayoutBlockFlow {HTML} at (0,0) size 300x150
         LayoutBlockFlow {BODY} at (8,8) size 284x134 [bgcolor=#FFFFE0]
-          LayoutText {#text} at (0,0) size 239x19
-            text run at (0,0) width 239: "You should not see a caret in this text."
+          LayoutText {#text} at (0,0) size 238x19
+            text run at (0,0) width 238: "You should not see a caret in this text."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/box/invalidate-box-shadow-currentColor-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/box/invalidate-box-shadow-currentColor-expected.txt
index 2d8c76ff..3d96c7e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/box/invalidate-box-shadow-currentColor-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/box/invalidate-box-shadow-currentColor-expected.txt
@@ -19,12 +19,12 @@
       "paintInvalidations": [
         {
           "object": "InlineFlowBox",
-          "rect": [8, 8, 29, 24],
+          "rect": [8, 8, 28, 24],
           "reason": "style change"
         },
         {
           "object": "InlineTextBox 'Text'",
-          "rect": [8, 8, 29, 19],
+          "rect": [8, 8, 28, 19],
           "reason": "style change"
         }
       ]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/bugzilla-7235-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/bugzilla-7235-expected.png
index ecf1e71..0c6711e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/bugzilla-7235-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/bugzilla-7235-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/canvas-resize-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/canvas-resize-expected.png
index 5d8c82a0..527cdb84 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/canvas-resize-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/canvas-resize-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/canvas-resize-no-full-invalidation-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/canvas-resize-no-full-invalidation-expected.png
index 2ccd5ce3..42ac8787 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/canvas-resize-no-full-invalidation-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/canvas-resize-no-full-invalidation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-expected.png
index d86f7c14..70fe89cb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-expected.txt
index 9185737c..74e8d63 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x362
     LayoutBlockFlow {BODY} at (8,16) size 784x338
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 427x19
-          text run at (0,0) width 427: "Test for repaint in a composited layer. You should see no red below."
+        LayoutText {#text} at (0,0) size 425x19
+          text run at (0,0) width 425: "Test for repaint in a composited layer. You should see no red below."
 layer at (8,52) size 202x302
   LayoutBlockFlow {DIV} at (0,36) size 202x302 [border: (1px solid #000000)]
     LayoutBlockFlow {DIV} at (51,51) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-rects-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-rects-expected.png
index 02b9918b..da6659d9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-rects-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-rects-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-rects-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-rects-expected.txt
index 96b25992..738644ef 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-rects-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/layer-repaint-rects-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (0,16) size 800x20
       LayoutBlockFlow {P} at (0,0) size 800x20
-        LayoutText {#text} at (0,0) size 654x19
-          text run at (0,0) width 654: "Tests repaint after a layer stops compositing. You should see no red below after the end of the transition."
+        LayoutText {#text} at (0,0) size 652x19
+          text run at (0,0) width 652: "Tests repaint after a layer stops compositing. You should see no red below after the end of the transition."
 layer at (0,100) size 402x232
   LayoutBlockFlow (positioned) {DIV} at (0,100) size 402x232 [border: (1px solid #000000)]
 layer at (1,111) size 200x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/text-color-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/text-color-change-expected.png
index 6fac89d..7205d3c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/text-color-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/text-color-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/text-match-highlight-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/text-match-highlight-expected.png
index 67ed278..79ecf528 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/text-match-highlight-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/text-match-highlight-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/text-match-highlight-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/text-match-highlight-expected.txt
index 8ad9ee76..a2439913 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/text-match-highlight-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/text-match-highlight-expected.txt
@@ -24,7 +24,7 @@
         },
         {
           "object": "InlineTextBox 'Findme on a path! Did you findme?'",
-          "rect": [20, 224, 206, 72],
+          "rect": [20, 224, 207, 72],
           "reason": "DocumentMarker change"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/updating-scrolling-container-and-content-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/updating-scrolling-container-and-content-expected.png
index a6dd798..7a3ecb0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/updating-scrolling-container-and-content-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/updating-scrolling-container-and-content-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/updating-scrolling-container-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/updating-scrolling-container-expected.png
index 2b96758..3f979365 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/updating-scrolling-container-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/compositing/updating-scrolling-container-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/inline-color-change-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/inline-color-change-expected.txt
deleted file mode 100644
index 27ff72ec..0000000
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/inline-color-change-expected.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-{
-  "layers": [
-    {
-      "name": "LayoutView #document",
-      "bounds": [800, 600],
-      "drawsContent": false,
-      "backgroundColor": "#FFFFFF"
-    },
-    {
-      "name": "Scrolling Layer",
-      "bounds": [800, 600],
-      "drawsContent": false
-    },
-    {
-      "name": "Scrolling Contents Layer",
-      "bounds": [800, 600],
-      "contentsOpaque": true,
-      "backgroundColor": "#FFFFFF",
-      "paintInvalidations": [
-        {
-          "object": "InlineFlowBox",
-          "rect": [8, 72, 38, 19],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox 'PASS'",
-          "rect": [8, 72, 38, 19],
-          "reason": "style change"
-        }
-      ]
-    }
-  ],
-  "objectPaintInvalidations": [
-    {
-      "object": "LayoutInline SPAN id='target'",
-      "reason": "style change"
-    },
-    {
-      "object": "InlineFlowBox",
-      "reason": "style change"
-    },
-    {
-      "object": "LayoutText #text",
-      "reason": "style change"
-    },
-    {
-      "object": "InlineTextBox 'PASS'",
-      "reason": "style change"
-    }
-  ]
-}
-
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-1-expected.png
index 6d5004c..57896b3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-1-expected.txt
index 739c53e..8088b52 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-1-expected.txt
@@ -18,62 +18,327 @@
       "backgroundColor": "#FFFFFF",
       "paintInvalidations": [
         {
+          "object": "LayoutBlockFlow P",
+          "rect": [8, 74, 418, 526],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox 'away: besides all\n'",
+          "rect": [14, 240, 408, 139],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'begin again, it was very provoking to find that the'",
+          "rect": [14, 240, 408, 139],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'hedgehog had\n'",
+          "rect": [14, 240, 408, 139],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'she wanted to send the hedgehog to, and, as'",
+          "rect": [14, 240, 408, 139],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'soldiers were always getting up and walking off'",
+          "rect": [14, 240, 408, 139],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'that it was a very\n'",
+          "rect": [14, 240, 408, 139],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'the doubled-up\n'",
+          "rect": [14, 240, 408, 139],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'the ground, Alice soon came to the conclusion'",
+          "rect": [14, 240, 408, 139],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'the way wherever\n'",
+          "rect": [14, 240, 408, 139],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'this, there was generally a ridge or furrow in'",
+          "rect": [14, 240, 408, 139],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'to other parts of\n'",
+          "rect": [14, 240, 408, 139],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'unrolled itself, and was in the act of crawling'",
+          "rect": [14, 240, 408, 139],
+          "reason": "appeared"
+        },
+        {
           "object": "InlineTextBox 'The chief difficulty Alice found at first was in managing'",
-          "rect": [14, 80, 406, 119],
+          "rect": [13, 80, 408, 119],
           "reason": "geometry"
         },
         {
           "object": "InlineTextBox 'away,\n'",
-          "rect": [14, 80, 406, 119],
+          "rect": [13, 80, 408, 119],
           "reason": "appeared"
         },
         {
-          "object": "InlineTextBox 'but generally, just as she had got its'",
-          "rect": [14, 80, 406, 119],
+          "object": "InlineTextBox 'blow with its head, it\n'",
+          "rect": [13, 80, 408, 119],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'but generally, just as she had got its neck'",
+          "rect": [13, 80, 408, 119],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'comfortably enough, under her arm, with its legs'",
-          "rect": [14, 80, 406, 119],
+          "rect": [13, 80, 408, 119],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'flamingo: she succeeded in getting its body tucked'",
-          "rect": [14, 80, 406, 119],
+          "rect": [13, 80, 408, 119],
           "reason": "geometry"
         },
         {
           "object": "InlineTextBox 'hanging down,\n'",
-          "rect": [14, 80, 406, 119],
+          "rect": [13, 80, 408, 119],
           "reason": "appeared"
         },
         {
-          "object": "InlineTextBox 'hedgehog a blow with its head, it\n'",
-          "rect": [14, 80, 406, 119],
-          "reason": "geometry"
-        },
-        {
           "object": "InlineTextBox 'her\n'",
-          "rect": [14, 80, 406, 119],
+          "rect": [13, 80, 408, 119],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox 'neck nicely straightened\n'",
-          "rect": [14, 80, 406, 119],
+          "object": "InlineTextBox 'nicely straightened\n'",
+          "rect": [13, 80, 408, 119],
           "reason": "appeared"
         },
         {
-          "object": "InlineTextBox 'out, and was going to give the'",
-          "rect": [14, 80, 406, 119],
+          "object": "InlineTextBox 'out, and was going to give the hedgehog a'",
+          "rect": [13, 80, 408, 119],
           "reason": "appeared"
         },
         {
+          "object": "InlineTextBox 'Alice began to feel very uneasy: to be sure, she had not as\n'",
+          "rect": [13, 500, 408, 99],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'become of\n'",
+          "rect": [13, 500, 408, 99],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'had any dispute with the Queen, but she knew that it might'",
+          "rect": [13, 500, 408, 99],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'happen any minute, \u2018and then,\u2019 thought she, \u2018what would'",
+          "rect": [13, 500, 408, 99],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'here; the great\n'",
+          "rect": [13, 500, 408, 99],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'me? They\u2019re dreadfully fond of beheading people'",
+          "rect": [13, 500, 408, 99],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'wonder is, that there\u2018s any one left alive!\u2019'",
+          "rect": [13, 500, 408, 99],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'yet'",
+          "rect": [13, 500, 408, 99],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'Alice began to feel very uneasy: to be sure, she had not as\n'",
+          "rect": [13, 520, 408, 80],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'become of\n'",
+          "rect": [13, 520, 408, 80],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'had any dispute with the Queen, but she knew that it might'",
+          "rect": [13, 520, 408, 80],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'happen any minute, \u2018and then,\u2019 thought she, \u2018what would'",
+          "rect": [13, 520, 408, 80],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'me? They\u2019re dreadfully fond of beheading people'",
+          "rect": [13, 520, 408, 80],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'yet'",
+          "rect": [13, 520, 408, 80],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox ' twist itself round and look up in her'",
+          "rect": [13, 180, 408, 79],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'bursting out\n'",
+          "rect": [13, 180, 408, 79],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'face, with\n'",
+          "rect": [13, 180, 408, 79],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'laughing: and when she had got its head down, and'",
+          "rect": [13, 180, 408, 79],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'such a puzzled expression that she could not help'",
+          "rect": [13, 180, 408, 79],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'was going to\n'",
+          "rect": [13, 180, 408, 79],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'a ridge or furrow in the way wherever\n'",
+          "rect": [13, 240, 407, 139],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'begin again, it was very'",
+          "rect": [13, 240, 407, 139],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'getting up and walking off to other parts of\n'",
+          "rect": [13, 240, 407, 139],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'hedgehog to, and, as the doubled-up\n'",
+          "rect": [13, 240, 407, 139],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'in the act of crawling away: besides all\n'",
+          "rect": [13, 240, 407, 139],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'provoking to find that the hedgehog had\n'",
+          "rect": [13, 240, 407, 139],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'she wanted to send the'",
+          "rect": [13, 240, 407, 139],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'soldiers were always'",
+          "rect": [13, 240, 407, 139],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'soon came to the conclusion that it was a very\n'",
+          "rect": [13, 240, 407, 139],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'the ground, Alice'",
+          "rect": [13, 240, 407, 139],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'this, there was generally'",
+          "rect": [13, 240, 407, 139],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'unrolled itself, and was'",
+          "rect": [13, 240, 407, 139],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox ' twist itself round and'",
+          "rect": [14, 180, 407, 79],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'could not help bursting out\n'",
+          "rect": [14, 180, 407, 79],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'head down, and was going to\n'",
+          "rect": [14, 180, 407, 79],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'laughing: and when she had got its'",
+          "rect": [14, 180, 407, 79],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'look up in her face, with\n'",
+          "rect": [14, 180, 407, 79],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'such a puzzled expression that she'",
+          "rect": [14, 180, 407, 79],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'difficult'",
+          "rect": [65, 360, 356, 39],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'game indeed.\n'",
+          "rect": [65, 360, 356, 39],
+          "reason": "disappeared"
+        },
+        {
           "object": "InlineTextBox 'away,\n'",
           "rect": [14, 80, 355, 119],
           "reason": "disappeared"
         },
         {
-          "object": "InlineTextBox 'but generally, just as she had got its'",
+          "object": "InlineTextBox 'but generally, just as she had got its neck'",
           "rect": [14, 80, 355, 119],
           "reason": "disappeared"
         },
@@ -88,7 +353,12 @@
           "reason": "disappeared"
         },
         {
-          "object": "InlineTextBox 'neck nicely straightened\n'",
+          "object": "InlineTextBox 'hedgehog a blow with its head, it\n'",
+          "rect": [14, 80, 355, 119],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'nicely straightened\n'",
           "rect": [14, 80, 355, 119],
           "reason": "disappeared"
         },
@@ -98,19 +368,171 @@
           "reason": "disappeared"
         },
         {
+          "object": "InlineTextBox 'about once in a minute.\n'",
+          "rect": [14, 460, 355, 59],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'her head!\u2019'",
+          "rect": [14, 460, 355, 59],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
+          "rect": [14, 460, 355, 59],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'stamping about, and'",
+          "rect": [14, 460, 355, 59],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'was in a furious passion, and went\n'",
+          "rect": [14, 460, 355, 59],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'Queen'",
+          "rect": [14, 420, 355, 39],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'a very short time '",
+          "rect": [14, 420, 355, 39],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'for the hedgehogs; and in\n'",
+          "rect": [14, 420, 355, 39],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'for turns,\n'",
+          "rect": [14, 420, 355, 39],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'quarrelling all the while, and fighting'",
+          "rect": [14, 420, 355, 39],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'the'",
+          "rect": [14, 420, 355, 39],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox ' was in a furious passion, and went\n'",
+          "rect": [14, 440, 354, 59],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'about, and shouting \u2018Off with his head!\u2019 or \u2018Off with'",
+          "rect": [14, 440, 354, 59],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'her head!\u2019 about once in a minute.\n'",
+          "rect": [14, 440, 354, 59],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'stamping'",
+          "rect": [14, 440, 354, 59],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'a very short time '",
+          "rect": [65, 400, 304, 39],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'for the hedgehogs; and in\n'",
+          "rect": [65, 400, 304, 39],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'for turns,\n'",
+          "rect": [65, 400, 304, 39],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'quarrelling all the while, and fighting'",
+          "rect": [65, 400, 304, 39],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'The players all played at once without waiting'",
+          "rect": [65, 400, 304, 19],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'The players all played at once without waiting'",
+          "rect": [65, 380, 304, 19],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'difficult game indeed.\n'",
+          "rect": [176, 360, 142, 19],
+          "reason": "appeared"
+        },
+        {
           "object": "LayoutBlockFlow (floating) DIV id='pinkFloat'",
           "rect": [378, 138, 70, 30],
           "reason": "incremental"
+        },
+        {
+          "object": "InlineTextBox 'the Queen'",
+          "rect": [302, 440, 66, 19],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutBlockFlow (floating) SPAN id='greenFloat'",
+          "rect": [372, 403, 48, 81],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow (floating) SPAN id='greenFloat'",
+          "rect": [372, 383, 48, 81],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox 'would'",
+          "rect": [238, 180, 40, 19],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'would'",
+          "rect": [151, 180, 40, 19],
+          "reason": "appeared"
+        },
+        {
+          "object": "VerticalScrollbar",
+          "rect": [485, 0, 15, 600],
+          "reason": "scroll control"
         }
       ]
     }
   ],
   "objectPaintInvalidations": [
     {
+      "object": "VerticalScrollbar",
+      "reason": "scroll control"
+    },
+    {
       "object": "LayoutBlockFlow (floating) DIV id='pinkFloat'",
       "reason": "incremental"
     },
     {
+      "object": "LayoutBlockFlow P",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
       "object": "LayoutText #text",
       "reason": "geometry"
     },
@@ -139,19 +561,215 @@
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox 'but generally, just as she had got its'",
+      "object": "InlineTextBox 'but generally, just as she had got its neck'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox 'neck nicely straightened\n'",
+      "object": "InlineTextBox 'nicely straightened\n'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox 'out, and was going to give the'",
+      "object": "InlineTextBox 'out, and was going to give the hedgehog a'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox 'hedgehog a blow with its head, it\n'",
+      "object": "InlineTextBox 'blow with its head, it\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'would'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox ' twist itself round and look up in her'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'face, with\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'such a puzzled expression that she could not help'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'bursting out\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'laughing: and when she had got its head down, and'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'was going to\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'begin again, it was very provoking to find that the'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'hedgehog had\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'unrolled itself, and was in the act of crawling'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'away: besides all\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'this, there was generally a ridge or furrow in'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'the way wherever\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'she wanted to send the hedgehog to, and, as'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'the doubled-up\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'soldiers were always getting up and walking off'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'to other parts of\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'the ground, Alice soon came to the conclusion'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'that it was a very\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'difficult game indeed.\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'The players all played at once without waiting'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutBlockFlow (floating) SPAN id='greenFloat'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'for turns,\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'quarrelling all the while, and fighting'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'for the hedgehogs; and in\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'a very short time '",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'the'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'Queen'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox ' was in a furious passion, and went\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'stamping'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'about, and shouting \u2018Off with his head!\u2019 or \u2018Off with'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'her head!\u2019 about once in a minute.\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'Alice began to feel very uneasy: to be sure, she had not as\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'yet'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'had any dispute with the Queen, but she knew that it might'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'happen any minute, \u2018and then,\u2019 thought she, \u2018what would'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'become of\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'me? They\u2019re dreadfully fond of beheading people'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'here; the great\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'wonder is, that there\u2018s any one left alive!\u2019'",
       "reason": "geometry"
     }
   ]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-10-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-10-expected.png
index db38dfe..b80bcae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-10-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-10-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-10-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-10-expected.txt
index f1cdf7a..e5a2a227 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-10-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-10-expected.txt
@@ -183,26 +183,11 @@
           "reason": "disappeared"
         },
         {
-          "object": "InlineTextBox ' was in a furious passion, and went\n'",
-          "rect": [14, 460, 355, 59],
-          "reason": "appeared"
-        },
-        {
           "object": "InlineTextBox 'about once in a minute.\n'",
           "rect": [14, 460, 355, 59],
           "reason": "disappeared"
         },
         {
-          "object": "InlineTextBox 'about, and shouting \u2018Off with his head!\u2019 or \u2018Off with'",
-          "rect": [14, 460, 355, 59],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'her head!\u2019 about once in a minute.\n'",
-          "rect": [14, 460, 355, 59],
-          "reason": "appeared"
-        },
-        {
           "object": "InlineTextBox 'her head!\u2019'",
           "rect": [14, 460, 355, 59],
           "reason": "disappeared"
@@ -218,11 +203,6 @@
           "reason": "disappeared"
         },
         {
-          "object": "InlineTextBox 'stamping'",
-          "rect": [14, 460, 355, 59],
-          "reason": "appeared"
-        },
-        {
           "object": "InlineTextBox 'was in a furious passion, and went\n'",
           "rect": [14, 460, 355, 59],
           "reason": "disappeared"
@@ -258,6 +238,26 @@
           "reason": "disappeared"
         },
         {
+          "object": "InlineTextBox ' was in a furious passion, and went\n'",
+          "rect": [14, 460, 354, 59],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'about, and shouting \u2018Off with his head!\u2019 or \u2018Off with'",
+          "rect": [14, 460, 354, 59],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'her head!\u2019 about once in a minute.\n'",
+          "rect": [14, 460, 354, 59],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'stamping'",
+          "rect": [14, 460, 354, 59],
+          "reason": "appeared"
+        },
+        {
           "object": "InlineTextBox 'a very short time '",
           "rect": [65, 420, 304, 39],
           "reason": "appeared"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-2-expected.png
index ad4a240..7b0d256 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-2-expected.txt
index 72ecdd6..a1e2ac4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-2-expected.txt
@@ -293,7 +293,7 @@
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox 'but generally, just as she had got its'",
+          "object": "InlineTextBox 'but generally, just as she had got its neck'",
           "rect": [14, 80, 355, 120],
           "reason": "geometry"
         },
@@ -323,7 +323,7 @@
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox 'neck nicely straightened\n'",
+          "object": "InlineTextBox 'nicely straightened\n'",
           "rect": [14, 80, 355, 120],
           "reason": "appeared"
         },
@@ -338,7 +338,7 @@
           "reason": "disappeared"
         },
         {
-          "object": "InlineTextBox 'neck nicely straightened\n'",
+          "object": "InlineTextBox 'nicely straightened\n'",
           "rect": [14, 80, 355, 119],
           "reason": "disappeared"
         },
@@ -537,11 +537,11 @@
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox 'but generally, just as she had got its'",
+      "object": "InlineTextBox 'but generally, just as she had got its neck'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox 'neck nicely straightened\n'",
+      "object": "InlineTextBox 'nicely straightened\n'",
       "reason": "geometry"
     },
     {
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-3-expected.png
index 45c2ee0..5c9f419 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-4-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-4-expected.png
index 2074ad6..01a4e5a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-5-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-5-expected.png
index 11bc9db..918d3aa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-5-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-5-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-6-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-6-expected.png
index 5e4939d..cbfb3d8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-7-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-7-expected.png
index 2a85f22..3c38b063 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-7-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-7-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-8-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-8-expected.png
index d8cff8d..4903f2f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-8-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-8-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-8-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-8-expected.txt
index 7a91065..b4e3f33 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-8-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-8-expected.txt
@@ -214,32 +214,32 @@
         },
         {
           "object": "InlineTextBox ' was in a furious'",
-          "rect": [13, 440, 358, 79],
+          "rect": [13, 440, 357, 79],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'her head!\u2019 about once in a'",
-          "rect": [13, 440, 358, 79],
+          "rect": [13, 440, 357, 79],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'minute.\n'",
-          "rect": [13, 440, 358, 79],
+          "rect": [13, 440, 357, 79],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'passion, and went\n'",
-          "rect": [13, 440, 358, 79],
+          "rect": [13, 440, 357, 79],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'stamping about, and shouting \u2018Off'",
-          "rect": [13, 440, 358, 79],
+          "rect": [13, 440, 357, 79],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'with his head!\u2019 or \u2018Off with\n'",
-          "rect": [13, 440, 358, 79],
+          "rect": [13, 440, 357, 79],
           "reason": "appeared"
         },
         {
@@ -273,12 +273,12 @@
           "reason": "disappeared"
         },
         {
-          "object": "InlineTextBox 'but generally, just as she had got its'",
+          "object": "InlineTextBox 'but generally, just as she had got its neck'",
           "rect": [14, 80, 355, 119],
           "reason": "appeared"
         },
         {
-          "object": "InlineTextBox 'but generally, just as she had got its'",
+          "object": "InlineTextBox 'but generally, just as she had got its neck'",
           "rect": [14, 80, 355, 119],
           "reason": "disappeared"
         },
@@ -333,12 +333,12 @@
           "reason": "disappeared"
         },
         {
-          "object": "InlineTextBox 'neck nicely straightened\n'",
+          "object": "InlineTextBox 'nicely straightened\n'",
           "rect": [14, 80, 355, 119],
           "reason": "appeared"
         },
         {
-          "object": "InlineTextBox 'neck nicely straightened\n'",
+          "object": "InlineTextBox 'nicely straightened\n'",
           "rect": [14, 80, 355, 119],
           "reason": "disappeared"
         },
@@ -493,11 +493,11 @@
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox 'but generally, just as she had got its'",
+      "object": "InlineTextBox 'but generally, just as she had got its neck'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox 'neck nicely straightened\n'",
+      "object": "InlineTextBox 'nicely straightened\n'",
       "reason": "geometry"
     },
     {
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-9-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-9-expected.png
index e9fb53b..5935454d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-9-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-9-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-9-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-9-expected.txt
index 360a576..be027a0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-9-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/line-flow-with-floats-9-expected.txt
@@ -263,26 +263,11 @@
           "reason": "disappeared"
         },
         {
-          "object": "InlineTextBox ' was in a furious passion, and went\n'",
-          "rect": [14, 460, 355, 59],
-          "reason": "appeared"
-        },
-        {
           "object": "InlineTextBox 'about once in a minute.\n'",
           "rect": [14, 460, 355, 59],
           "reason": "disappeared"
         },
         {
-          "object": "InlineTextBox 'about, and shouting \u2018Off with his head!\u2019 or \u2018Off with'",
-          "rect": [14, 460, 355, 59],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'her head!\u2019 about once in a minute.\n'",
-          "rect": [14, 460, 355, 59],
-          "reason": "appeared"
-        },
-        {
           "object": "InlineTextBox 'her head!\u2019'",
           "rect": [14, 460, 355, 59],
           "reason": "disappeared"
@@ -298,11 +283,6 @@
           "reason": "disappeared"
         },
         {
-          "object": "InlineTextBox 'stamping'",
-          "rect": [14, 460, 355, 59],
-          "reason": "appeared"
-        },
-        {
           "object": "InlineTextBox 'was in a furious passion, and went\n'",
           "rect": [14, 460, 355, 59],
           "reason": "disappeared"
@@ -338,6 +318,26 @@
           "reason": "disappeared"
         },
         {
+          "object": "InlineTextBox ' was in a furious passion, and went\n'",
+          "rect": [14, 460, 354, 59],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'about, and shouting \u2018Off with his head!\u2019 or \u2018Off with'",
+          "rect": [14, 460, 354, 59],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'her head!\u2019 about once in a minute.\n'",
+          "rect": [14, 460, 354, 59],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'stamping'",
+          "rect": [14, 460, 354, 59],
+          "reason": "appeared"
+        },
+        {
           "object": "InlineTextBox 'a very short time '",
           "rect": [65, 420, 304, 39],
           "reason": "appeared"
@@ -369,7 +369,7 @@
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [65, 380, 141, 19],
+          "rect": [65, 380, 142, 19],
           "reason": "appeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/lines-with-layout-delta-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/lines-with-layout-delta-expected.txt
index b9175e5..b6d39cf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/lines-with-layout-delta-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/lines-with-layout-delta-expected.txt
@@ -19,12 +19,12 @@
       "paintInvalidations": [
         {
           "object": "InlineTextBox 'PASS'",
-          "rect": [8, 58, 38, 19],
+          "rect": [8, 58, 37, 19],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'FAIL'",
-          "rect": [8, 58, 35, 19],
+          "rect": [8, 58, 34, 19],
           "reason": "disappeared"
         }
       ]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/list-marker-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/list-marker-expected.png
index 7be9a33..96e074e6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/list-marker-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/list-marker-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/list-marker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/list-marker-expected.txt
index 5489d20..6dc6ec0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/list-marker-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/list-marker-expected.txt
@@ -4,18 +4,18 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Test for "
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
         LayoutInline {I} at (0,0) size 728x39
-          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
-            LayoutText {#text} at (51,0) size 302x19
-              text run at (51,0) width 302: "http://bugs.webkit.org/show_bug.cgi?id=12910"
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=12910"
           LayoutText {#text} at (352,0) size 728x39
-            text run at (352,0) width 5: " "
+            text run at (352,0) width 4: " "
             text run at (356,0) width 372: "REGRESSION (r18756-r18765): list-bullet doesn't redraw"
             text run at (0,20) width 368: "properly when changing the list's content using JavaScript"
-        LayoutText {#text} at (367,20) size 5x19
-          text run at (367,20) width 5: "."
+        LayoutText {#text} at (368,20) size 4x19
+          text run at (368,20) width 4: "."
       LayoutBlockFlow {UL} at (0,56) size 784x20
         LayoutListItem {LI} at (40,0) size 744x20
           LayoutBlockFlow (anonymous) at (0,0) size 744x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/make-children-non-inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/make-children-non-inline-expected.txt
index 6e712c98..8031387 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/make-children-non-inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/make-children-non-inline-expected.txt
@@ -89,12 +89,12 @@
         },
         {
           "object": "InlineTextBox 'Word,'",
-          "rect": [8, 64, 39, 19],
+          "rect": [8, 64, 38, 19],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'Word,'",
-          "rect": [8, 64, 39, 19],
+          "rect": [8, 64, 38, 19],
           "reason": "disappeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/multi-layout-one-frame-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/multi-layout-one-frame-expected.txt
index 3e63cd7c..77b13750 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/multi-layout-one-frame-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/multi-layout-one-frame-expected.txt
@@ -19,12 +19,12 @@
       "paintInvalidations": [
         {
           "object": "InlineTextBox 'PASSED'",
-          "rect": [168, 11, 53, 16],
+          "rect": [168, 11, 54, 16],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'PASSED'",
-          "rect": [10, 11, 53, 16],
+          "rect": [10, 11, 54, 16],
           "reason": "appeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/multicol/column-rules-fixed-height-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/multicol/column-rules-fixed-height-expected.png
index 06cb326..5e109fa8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/multicol/column-rules-fixed-height-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/multicol/column-rules-fixed-height-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/inline-outline-repaint-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/inline-outline-repaint-expected.png
index b3c8dfa4..c74929e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/inline-outline-repaint-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/inline-outline-repaint-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-expected.png
index e201146..390ce4ad 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-expected.txt
index 10c2f0a..eab183ba 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-expected.txt
@@ -6,14 +6,14 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 207x19
           text run at (0,0) width 207: "This tests for regressions against "
-        LayoutInline {I} at (0,0) size 541x19
+        LayoutInline {I} at (0,0) size 542x19
           LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
             LayoutText {#text} at (207,0) size 348x19
               text run at (207,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7943"
-          LayoutText {#text} at (554,0) size 194x19
-            text run at (554,0) width 194: " Layer outline does not repaint"
-        LayoutText {#text} at (747,0) size 5x19
-          text run at (747,0) width 5: "."
+          LayoutText {#text} at (555,0) size 194x19
+            text run at (555,0) width 194: " Layer outline does not repaint"
+        LayoutText {#text} at (749,0) size 4x19
+          text run at (749,0) width 4: "."
 layer at (8,44) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (18,194) size 100x100 clip at (19,195) size 98x98
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-horizontal-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-horizontal-expected.png
index e201146..390ce4ad 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-horizontal-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-horizontal-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-horizontal-expected.txt
index 10c2f0a..eab183ba 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/outline/layer-outline-horizontal-expected.txt
@@ -6,14 +6,14 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 207x19
           text run at (0,0) width 207: "This tests for regressions against "
-        LayoutInline {I} at (0,0) size 541x19
+        LayoutInline {I} at (0,0) size 542x19
           LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
             LayoutText {#text} at (207,0) size 348x19
               text run at (207,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7943"
-          LayoutText {#text} at (554,0) size 194x19
-            text run at (554,0) width 194: " Layer outline does not repaint"
-        LayoutText {#text} at (747,0) size 5x19
-          text run at (747,0) width 5: "."
+          LayoutText {#text} at (555,0) size 194x19
+            text run at (555,0) width 194: " Layer outline does not repaint"
+        LayoutText {#text} at (749,0) size 4x19
+          text run at (749,0) width 4: "."
 layer at (8,44) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (18,194) size 100x100 clip at (19,195) size 98x98
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-expected.png
index 6d0dbe7..a193e54 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-expected.txt
index 1b3a288..c692ae66 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 226x19
           text run at (0,0) width 226: "This is a test for regressions against "
-        LayoutInline {I} at (0,0) size 761x39
+        LayoutInline {I} at (0,0) size 762x39
           LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
             LayoutText {#text} at (226,0) size 348x19
               text run at (226,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8056"
-          LayoutText {#text} at (573,0) size 761x39
-            text run at (573,0) width 5: " "
-            text run at (577,0) width 184: "Flexible boxes do not repaint"
+          LayoutText {#text} at (574,0) size 762x39
+            text run at (574,0) width 4: " "
+            text run at (578,0) width 184: "Flexible boxes do not repaint"
             text run at (0,20) width 238: "their top, left and children's overflows"
-        LayoutText {#text} at (237,20) size 5x19
-          text run at (237,20) width 5: "."
+        LayoutText {#text} at (238,20) size 4x19
+          text run at (238,20) width 4: "."
       LayoutBlockFlow {DIV} at (0,66) size 784x100
         LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
           LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.png
index 6d0dbe7..a193e54 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.txt
index 1b3a288..c692ae66 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 226x19
           text run at (0,0) width 226: "This is a test for regressions against "
-        LayoutInline {I} at (0,0) size 761x39
+        LayoutInline {I} at (0,0) size 762x39
           LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
             LayoutText {#text} at (226,0) size 348x19
               text run at (226,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8056"
-          LayoutText {#text} at (573,0) size 761x39
-            text run at (573,0) width 5: " "
-            text run at (577,0) width 184: "Flexible boxes do not repaint"
+          LayoutText {#text} at (574,0) size 762x39
+            text run at (574,0) width 4: " "
+            text run at (578,0) width 184: "Flexible boxes do not repaint"
             text run at (0,20) width 238: "their top, left and children's overflows"
-        LayoutText {#text} at (237,20) size 5x19
-          text run at (237,20) width 5: "."
+        LayoutText {#text} at (238,20) size 4x19
+          text run at (238,20) width 4: "."
       LayoutBlockFlow {DIV} at (0,66) size 784x100
         LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
           LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/inline-block-overflow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/inline-block-overflow-expected.png
index 15bd21b..bff9a6ca 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/inline-block-overflow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/inline-block-overflow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/inline-block-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/inline-block-overflow-expected.txt
index 3780744..22a1a6a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/inline-block-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/inline-block-overflow-expected.txt
@@ -4,16 +4,16 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 322x19
-          text run at (0,0) width 322: "This is a repaint test of inline blocks with overflow."
+        LayoutText {#text} at (0,0) size 321x19
+          text run at (0,0) width 321: "This is a repaint test of inline blocks with overflow."
       LayoutBlockFlow (anonymous) at (0,46) size 784x20
         LayoutInline {SPAN} at (0,0) size 198x19
           LayoutText {#text} at (0,0) size 98x19
             text run at (0,0) width 98: "Here comes an "
           LayoutBlockFlow {SPAN} at (98,0) size 100x20 [bgcolor=#C0C0C0]
-            LayoutText {#text} at (0,0) size 92x39
+            LayoutText {#text} at (0,0) size 91x39
               text run at (0,0) width 74: "inline block"
-              text run at (0,20) width 92: "with overflow."
+              text run at (0,20) width 91: "with overflow."
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,44) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/overflow-outline-repaint-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/overflow-outline-repaint-expected.png
index 59ec7eed..507aad6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/overflow-outline-repaint-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/overflow-outline-repaint-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/paged-with-overflowing-block-rl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/paged-with-overflowing-block-rl-expected.png
index f8b6b5f..b2010ce5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/paged-with-overflowing-block-rl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/paged-with-overflowing-block-rl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/vertical-overflow-child-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/vertical-overflow-child-expected.png
index 1bac3eb..171cad8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/vertical-overflow-child-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/vertical-overflow-child-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/vertical-overflow-parent-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/vertical-overflow-parent-expected.png
index 1211482..25d47ed 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/vertical-overflow-parent-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/vertical-overflow-parent-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/vertical-overflow-same-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/vertical-overflow-same-expected.png
index eea0a192..3130ed1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/vertical-overflow-same-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/overflow/vertical-overflow-same-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/paint-invalidation-with-reparent-across-frame-boundaries-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/paint-invalidation-with-reparent-across-frame-boundaries-expected.png
index 8cfb1dd..246a027 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/paint-invalidation-with-reparent-across-frame-boundaries-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/paint-invalidation-with-reparent-across-frame-boundaries-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/fixed-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/fixed-expected.png
index 5c40fe2..dcb8befc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/fixed-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/fixed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/layout-state-relative-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/layout-state-relative-expected.txt
index a49270e9..4a3cbd4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/layout-state-relative-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/layout-state-relative-expected.txt
@@ -19,12 +19,12 @@
       "paintInvalidations": [
         {
           "object": "InlineTextBox 'PASS'",
-          "rect": [8, 152, 38, 19],
+          "rect": [8, 152, 37, 19],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'FAIL'",
-          "rect": [8, 152, 35, 19],
+          "rect": [8, 152, 34, 19],
           "reason": "disappeared"
         }
       ]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/positioned-document-element-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/positioned-document-element-expected.txt
index 02f1e8e..e025ad6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/positioned-document-element-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/positioned-document-element-expected.txt
@@ -24,12 +24,12 @@
         },
         {
           "object": "InlineTextBox 'Tests that the entire viewport is painted with a floated html element.'",
-          "rect": [108, 116, 424, 19],
+          "rect": [108, 116, 423, 19],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'Tests that the entire viewport is painted with a floated html element.'",
-          "rect": [8, 16, 424, 19],
+          "rect": [8, 16, 423, 19],
           "reason": "disappeared"
         }
       ]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/positioned-great-grandparent-change-location-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/positioned-great-grandparent-change-location-expected.txt
index 4ced6de..c27b146 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/positioned-great-grandparent-change-location-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/position/positioned-great-grandparent-change-location-expected.txt
@@ -29,12 +29,12 @@
         },
         {
           "object": "InlineTextBox 'Target'",
-          "rect": [100, 200, 41, 19],
+          "rect": [100, 200, 40, 19],
           "reason": "geometry"
         },
         {
           "object": "InlineTextBox 'Target'",
-          "rect": [100, 100, 41, 19],
+          "rect": [100, 100, 40, 19],
           "reason": "geometry"
         }
       ]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/reflection/reflection-with-rotation-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/reflection/reflection-with-rotation-expected.png
index c2ffd7a..3feb84c7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/reflection/reflection-with-rotation-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/reflection/reflection-with-rotation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/reflection/reflection-with-rotation-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/reflection/reflection-with-rotation-expected.txt
index ad65de2..d28d49f0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/reflection/reflection-with-rotation-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/reflection/reflection-with-rotation-expected.txt
@@ -24,12 +24,12 @@
         },
         {
           "object": "InlineTextBox 'PASS'",
-          "rect": [23, 51, 72, 110],
+          "rect": [23, 51, 71, 109],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'FAIL'",
-          "rect": [23, 51, 69, 109],
+          "rect": [23, 51, 68, 108],
           "reason": "disappeared"
         }
       ]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/remove-inline-after-layout-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/remove-inline-after-layout-expected.txt
index bfd66a0d..15565dd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/remove-inline-after-layout-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/remove-inline-after-layout-expected.txt
@@ -24,7 +24,7 @@
         },
         {
           "object": "LayoutBlockFlow DIV",
-          "rect": [290, 108, 101, 100],
+          "rect": [291, 108, 100, 100],
           "reason": "geometry"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/remove-inline-layer-after-layout-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/remove-inline-layer-after-layout-expected.txt
index fda020f..839fc02 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/remove-inline-layer-after-layout-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/remove-inline-layer-after-layout-expected.txt
@@ -24,7 +24,7 @@
         },
         {
           "object": "LayoutBlockFlow DIV",
-          "rect": [290, 108, 101, 100],
+          "rect": [291, 108, 100, 100],
           "reason": "geometry"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/resize-iframe-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/resize-iframe-text-expected.png
index 35c93a4..07e17527 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/resize-iframe-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/resize-iframe-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scale-page-shrink-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scale-page-shrink-expected.png
index eeb42b8a..efdfb912 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scale-page-shrink-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scale-page-shrink-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/caret-with-composited-scroll-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/caret-with-composited-scroll-expected.png
index 2d6792e4..dd9a0d19 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/caret-with-composited-scroll-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/caret-with-composited-scroll-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/destroy-composited-scrollbar-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/destroy-composited-scrollbar-expected.png
index 3e3ac70..b5ad85ea 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/destroy-composited-scrollbar-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/destroy-composited-scrollbar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/destroy-overlay-scrollbar-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/destroy-overlay-scrollbar-expected.png
index 003e32c..2042357 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/destroy-overlay-scrollbar-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/destroy-overlay-scrollbar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/destroy-scrollbar-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/destroy-scrollbar-expected.png
index 02596304..043f586 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/destroy-scrollbar-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/destroy-scrollbar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/fixed-child-of-transformed-scrolled-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/fixed-child-of-transformed-scrolled-expected.png
index 8170dff..0cec37d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/fixed-child-of-transformed-scrolled-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/fixed-child-of-transformed-scrolled-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/fixed-descendant-of-transformed-scrolled-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/fixed-descendant-of-transformed-scrolled-expected.png
index 445bdad..b02994b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/fixed-descendant-of-transformed-scrolled-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/fixed-descendant-of-transformed-scrolled-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.png
index 14644fad..16e374e0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.txt
index d941901..6ededd2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.txt
@@ -19,7 +19,7 @@
       "paintInvalidations": [
         {
           "object": "InlineTextBox 'Text Text Text Text Text Text Text Text Text Text Text Text Text'",
-          "rect": [0, 320, 412, 19],
+          "rect": [0, 320, 400, 19],
           "reason": "style change"
         }
       ],
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/invalidate-after-composited-scroll-of-window-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/invalidate-after-composited-scroll-of-window-expected.txt
index 0adc6ba..1f63c4c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/invalidate-after-composited-scroll-of-window-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/invalidate-after-composited-scroll-of-window-expected.txt
@@ -19,7 +19,7 @@
       "paintInvalidations": [
         {
           "object": "LayoutBlockFlow HTML",
-          "rect": [8, 4908, 540, 19],
+          "rect": [8, 4908, 539, 19],
           "reason": "appeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/line-in-scrolled-clipped-block-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/line-in-scrolled-clipped-block-expected.png
index bcd57c2c..3fc1738e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/line-in-scrolled-clipped-block-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/line-in-scrolled-clipped-block-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-after-move-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-after-move-expected.png
index b3fd2f7b..f82731cb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-after-move-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-after-move-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-body-appear-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-body-appear-expected.txt
index 9ba88f8..1977f09 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-body-appear-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-body-appear-expected.txt
@@ -29,12 +29,12 @@
         },
         {
           "object": "InlineTextBox 'You should see both vertical and horizontal scrollbars.'",
-          "rect": [8, 16, 341, 19],
+          "rect": [8, 16, 340, 19],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'You should see both vertical and horizontal scrollbars.'",
-          "rect": [8, 16, 341, 19],
+          "rect": [8, 16, 340, 19],
           "reason": "disappeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-delete-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-delete-expected.png
index 12cf2a3..1e4e2c6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-delete-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-delete-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-local-background-text-color-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-local-background-text-color-change-expected.png
index cae5dd4a7..78aafce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-local-background-text-color-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/overflow-scroll-local-background-text-color-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/resize-scrollable-div-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/resize-scrollable-div-expected.png
index 1441421..461a738 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/resize-scrollable-div-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/resize-scrollable-div-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/resize-scrollable-iframe-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/resize-scrollable-iframe-expected.png
index 371454f3..b0e8fc4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/resize-scrollable-iframe-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/resize-scrollable-iframe-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/scrollbar-damage-and-full-viewport-repaint-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/scrollbar-damage-and-full-viewport-repaint-expected.png
index ca47726..724238a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/scrollbar-damage-and-full-viewport-repaint-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll/scrollbar-damage-and-full-viewport-repaint-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-clear-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-clear-expected.png
index 41c2e3bc..d10a20c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-clear-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-clear-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-clear-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-clear-expected.txt
index 6bbba1e..7e672de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-clear-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-clear-expected.txt
@@ -18,78 +18,73 @@
       "backgroundColor": "#FFFFFF",
       "paintInvalidations": [
         {
-          "object": "InlineTextBox '\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F'",
-          "rect": [418, 123, 359, 394],
+          "object": "InlineTextBox '\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B'",
+          "rect": [442, 123, 335, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B'",
-          "rect": [418, 123, 359, 394],
+          "object": "InlineTextBox '\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22'",
+          "rect": [442, 123, 335, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057'",
-          "rect": [418, 123, 359, 394],
+          "object": "InlineTextBox '\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B'",
+          "rect": [442, 123, 335, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4'",
-          "rect": [418, 123, 359, 394],
+          "object": "InlineTextBox '\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059'",
+          "rect": [442, 123, 335, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063'",
-          "rect": [418, 123, 359, 394],
+          "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B'",
+          "rect": [442, 123, 335, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C'",
-          "rect": [418, 123, 359, 394],
+          "object": "InlineTextBox '\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2'",
+          "rect": [442, 123, 335, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A'",
-          "rect": [418, 123, 359, 394],
+          "object": "InlineTextBox '\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8'",
+          "rect": [442, 123, 335, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053'",
-          "rect": [418, 123, 359, 394],
+          "object": "InlineTextBox '\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+          "rect": [442, 123, 335, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A'",
-          "rect": [418, 123, 359, 394],
+          "object": "InlineTextBox '\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E'",
+          "rect": [442, 123, 335, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E'",
-          "rect": [418, 123, 359, 394],
+          "object": "InlineTextBox '\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E'",
+          "rect": [442, 123, 335, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
-          "rect": [418, 123, 359, 394],
+          "object": "InlineTextBox '\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B'",
+          "rect": [442, 123, 335, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
-          "rect": [418, 123, 359, 394],
+          "object": "InlineTextBox '\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4'",
+          "rect": [442, 123, 335, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068'",
-          "rect": [418, 123, 359, 394],
+          "object": "InlineTextBox '\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+          "rect": [442, 123, 335, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6'",
-          "rect": [418, 123, 359, 394],
-          "reason": "geometry"
-        },
-        {
-          "object": "InlineTextBox '\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC'",
-          "rect": [418, 123, 359, 394],
+          "object": "InlineTextBox '\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8'",
+          "rect": [442, 123, 335, 404],
           "reason": "geometry"
         }
       ]
@@ -101,63 +96,59 @@
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053'",
+      "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E'",
+      "object": "InlineTextBox '\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A'",
+      "object": "InlineTextBox '\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4'",
+      "object": "InlineTextBox '\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B'",
+      "object": "InlineTextBox '\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063'",
+      "object": "InlineTextBox '\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A'",
+      "object": "InlineTextBox '\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+      "object": "InlineTextBox '\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C'",
+      "object": "InlineTextBox '\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6'",
+      "object": "InlineTextBox '\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068'",
+      "object": "InlineTextBox '\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057'",
+      "object": "InlineTextBox '\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F'",
+      "object": "InlineTextBox '\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC'",
-      "reason": "geometry"
-    },
-    {
-      "object": "InlineTextBox '\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+      "object": "InlineTextBox '\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
       "reason": "geometry"
     }
   ]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-repaint-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-repaint-expected.png
index 42f80b6a..75314ded 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-repaint-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-repaint-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-repaint-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-repaint-expected.txt
index dc8eba9..aaaccf3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-repaint-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/japanese-rl-selection-repaint-expected.txt
@@ -18,58 +18,53 @@
       "backgroundColor": "#FFFFFF",
       "paintInvalidations": [
         {
-          "object": "InlineTextBox '\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9'",
-          "rect": [514, 23, 263, 544],
+          "object": "InlineTextBox '\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053'",
+          "rect": [538, 23, 239, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C'",
-          "rect": [514, 23, 263, 544],
+          "object": "InlineTextBox '\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067'",
+          "rect": [538, 23, 239, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C'",
-          "rect": [514, 23, 263, 544],
+          "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066'",
+          "rect": [538, 23, 239, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D'",
-          "rect": [514, 23, 263, 544],
+          "object": "InlineTextBox '\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C'",
+          "rect": [538, 23, 239, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060'",
-          "rect": [514, 23, 263, 544],
+          "object": "InlineTextBox '\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3'",
+          "rect": [538, 23, 239, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F'",
-          "rect": [514, 23, 263, 544],
+          "object": "InlineTextBox '\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B'",
+          "rect": [538, 23, 239, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC'",
-          "rect": [514, 23, 263, 544],
+          "object": "InlineTextBox '\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB'",
+          "rect": [538, 23, 239, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057'",
-          "rect": [514, 23, 263, 544],
+          "object": "InlineTextBox '\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B'",
+          "rect": [538, 23, 239, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
-          "rect": [514, 23, 263, 544],
+          "object": "InlineTextBox '\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8'",
+          "rect": [538, 23, 239, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A'",
-          "rect": [514, 23, 263, 544],
-          "reason": "geometry"
-        },
-        {
-          "object": "InlineTextBox '\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18'",
-          "rect": [514, 23, 263, 544],
+          "object": "InlineTextBox '\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+          "rect": [538, 23, 239, 556],
           "reason": "geometry"
         }
       ]
@@ -81,47 +76,43 @@
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C'",
+      "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060'",
+      "object": "InlineTextBox '\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C'",
+      "object": "InlineTextBox '\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18'",
+      "object": "InlineTextBox '\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A'",
+      "object": "InlineTextBox '\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC'",
+      "object": "InlineTextBox '\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057'",
+      "object": "InlineTextBox '\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D'",
+      "object": "InlineTextBox '\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F'",
+      "object": "InlineTextBox '\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9'",
-      "reason": "geometry"
-    },
-    {
-      "object": "InlineTextBox '\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+      "object": "InlineTextBox '\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
       "reason": "geometry"
     }
   ]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selected-replaced-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selected-replaced-expected.png
index 6328120..220cdab8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selected-replaced-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selected-replaced-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-after-delete-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-after-delete-expected.png
index 16a63c9..de5ef555 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-after-delete-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-after-delete-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-clear-after-move-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-clear-after-move-expected.png
index d75f935..46f6fd7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-clear-after-move-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-clear-after-move-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-clear-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-clear-expected.txt
index 67060d8..897ec81 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-clear-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-clear-expected.txt
@@ -24,12 +24,12 @@
         },
         {
           "object": "InlineTextBox 'FAIL: Test did'",
-          "rect": [8, 48, 97, 119],
+          "rect": [8, 48, 95, 119],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'not run'",
-          "rect": [8, 48, 97, 119],
+          "rect": [8, 48, 95, 119],
           "reason": "disappeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-rl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-rl-expected.png
index c69da74..f452c14a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-rl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-rl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-rl-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-rl-expected.txt
index e18978c..27ce50a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-rl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/selection-rl-expected.txt
@@ -19,7 +19,7 @@
       "paintInvalidations": [
         {
           "object": "InlineTextBox 'Testing both hit testing'",
-          "rect": [773, 38, 19, 83],
+          "rect": [773, 37, 19, 83],
           "reason": "selection"
         }
       ]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/text-selection-rect-in-overflow-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/text-selection-rect-in-overflow-2-expected.png
index 83befc3..1d7e311 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/text-selection-rect-in-overflow-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/text-selection-rect-in-overflow-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/text-selection-rect-in-overflow-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/text-selection-rect-in-overflow-2-expected.txt
index 7341c04..e2c812a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/text-selection-rect-in-overflow-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/selection/text-selection-rect-in-overflow-2-expected.txt
@@ -19,7 +19,7 @@
       "paintInvalidations": [
         {
           "object": "InlineTextBox 'Should have blue, not gray, highlight'",
-          "rect": [18, 18, 233, 19],
+          "rect": [18, 18, 232, 19],
           "reason": "selection"
         }
       ]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/subtree-root-skipped-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/subtree-root-skipped-expected.png
index 7a19add8..716c9acb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/subtree-root-skipped-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/subtree-root-skipped-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/subtree-root-skipped-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/subtree-root-skipped-expected.txt
index 8b18a42..959b622 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/subtree-root-skipped-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/subtree-root-skipped-expected.txt
@@ -19,7 +19,7 @@
       "paintInvalidations": [
         {
           "object": "InlineTextBox 'PASS'",
-          "rect": [10, 11, 35, 16],
+          "rect": [10, 11, 36, 16],
           "reason": "appeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-path-inside-transformed-html-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-path-inside-transformed-html-expected.png
index bc9086f..52c43b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-path-inside-transformed-html-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-path-inside-transformed-html-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-svg-as-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-svg-as-image-expected.png
index c6df7564..61e5580 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-svg-as-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-svg-as-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-svg-as-image-no-fixed-intrinsic-size-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-svg-as-image-no-fixed-intrinsic-size-expected.png
index 56eb77b..602bc01 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-svg-as-image-no-fixed-intrinsic-size-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-svg-as-image-no-fixed-intrinsic-size-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-svg-as-image-same-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-svg-as-image-same-image-expected.png
index c6df7564..61e5580 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-svg-as-image-same-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-svg-as-image-same-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/append-text-node-to-tspan-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/append-text-node-to-tspan-expected.png
index fba000b..e749ba7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/append-text-node-to-tspan-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/append-text-node-to-tspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/embedded-svg-size-changes-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/embedded-svg-size-changes-expected.png
index 282d12886..604d436 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/embedded-svg-size-changes-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/embedded-svg-size-changes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/ems-display-none-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/ems-display-none-expected.png
index 657ecd8..57b16a2e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/ems-display-none-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/ems-display-none-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/exs-display-none-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/exs-display-none-expected.png
index 9c7f510..644da10e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/exs-display-none-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/exs-display-none-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/hit-test-unclosed-subpaths-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/hit-test-unclosed-subpaths-expected.png
index 7545ed6..a1fafdd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/hit-test-unclosed-subpaths-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/hit-test-unclosed-subpaths-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/modify-text-node-in-tspan-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/modify-text-node-in-tspan-expected.png
index fba000b..e749ba7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/modify-text-node-in-tspan-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/modify-text-node-in-tspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/nested-embedded-svg-size-changes-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/nested-embedded-svg-size-changes-expected.png
index 4e4031c..36087bf5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/nested-embedded-svg-size-changes-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/nested-embedded-svg-size-changes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/remove-text-node-from-tspan-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/remove-text-node-from-tspan-expected.png
index 3330509..4b0c856 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/remove-text-node-from-tspan-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/remove-text-node-from-tspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/remove-tspan-from-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/remove-tspan-from-text-expected.png
index f1a5360..879a09e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/remove-tspan-from-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/remove-tspan-from-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.png
index 4e4d820d..5636c8b8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/tabgroup-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/tabgroup-expected.png
index ad5ddc3..f1749af6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/tabgroup-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/tabgroup-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-mask-update-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-mask-update-expected.txt
index 9d77738c..d8050fd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-mask-update-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-mask-update-expected.txt
@@ -19,22 +19,22 @@
       "paintInvalidations": [
         {
           "object": "LayoutSVGRect rect",
-          "rect": [10, 3, 46, 22],
+          "rect": [10, 3, 45, 22],
           "reason": "appeared"
         },
         {
           "object": "LayoutSVGRect rect",
-          "rect": [10, 3, 46, 22],
+          "rect": [10, 3, 45, 22],
           "reason": "appeared"
         },
         {
           "object": "LayoutSVGRect rect",
-          "rect": [10, 33, 43, 17],
+          "rect": [10, 33, 42, 17],
           "reason": "disappeared"
         },
         {
           "object": "LayoutSVGRect rect",
-          "rect": [10, 33, 43, 17],
+          "rect": [10, 33, 42, 17],
           "reason": "disappeared"
         }
       ]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-rescale-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-rescale-expected.png
index 97a5747..443b1ea 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-rescale-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-rescale-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-rescale-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-rescale-expected.txt
index ca62a748..970512f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-rescale-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-rescale-expected.txt
@@ -19,22 +19,22 @@
       "paintInvalidations": [
         {
           "object": "InlineTextBox 'PASS '",
-          "rect": [0, 114, 302, 46],
+          "rect": [0, 114, 301, 46],
           "reason": "appeared"
         },
         {
           "object": "LayoutSVGRoot (positioned) svg",
-          "rect": [0, 14, 302, 46],
+          "rect": [0, 14, 301, 46],
           "reason": "appeared"
         },
         {
           "object": "LayoutSVGViewportContainer svg",
-          "rect": [310, 114, 92, 46],
+          "rect": [310, 114, 91, 46],
           "reason": "paint property change"
         },
         {
           "object": "LayoutSVGViewportContainer svg",
-          "rect": [310, 14, 92, 46],
+          "rect": [310, 14, 91, 46],
           "reason": "appeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/use-event-handler-on-use-element-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/use-event-handler-on-use-element-expected.png
index 9940772..3ec55ff 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/use-event-handler-on-use-element-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/use-event-handler-on-use-element-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/window-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/window-expected.png
index b60fc22..1f01354 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/window-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/window-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/zoom-coords-viewattr-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/zoom-coords-viewattr-01-b-expected.png
index 6c9b6fa..d23143e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/zoom-coords-viewattr-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/zoom-coords-viewattr-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/caret-contenteditable-content-after-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/caret-contenteditable-content-after-expected.png
index 75e7aa9..6ec365d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/caret-contenteditable-content-after-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/caret-contenteditable-content-after-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-expected.png
index 81a3760..5d8d079f1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-initial-empty-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-initial-empty-expected.png
index 81a3760..5d8d079f1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-initial-empty-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-initial-empty-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-span-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-span-expected.png
index dab4196..d7a334d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-span-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-span-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-span-initial-empty-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-span-initial-empty-expected.png
index dab4196..d7a334d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-span-initial-empty-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-col-span-initial-empty-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-colgroup-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-colgroup-expected.png
index 81a3760..5d8d079f1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-colgroup-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-colgroup-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-colgroup-initial-empty-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-colgroup-initial-empty-expected.png
index 81a3760..5d8d079f1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-colgroup-initial-empty-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-colgroup-initial-empty-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-composited-row-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-composited-row-expected.png
index 5e5be73..73ae11f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-composited-row-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-composited-row-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-composited-row-initial-empty-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-composited-row-initial-empty-expected.png
index 5e5be73..73ae11f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-composited-row-initial-empty-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-composited-row-initial-empty-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-expected.png
index 5e5be73..73ae11f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-initial-empty-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-initial-empty-expected.png
index 5e5be73..73ae11f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-initial-empty-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-initial-empty-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-composited-row-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-composited-row-expected.png
index cfbd431..365d5e2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-composited-row-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-composited-row-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-composited-row-initial-empty-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-composited-row-initial-empty-expected.png
index cfbd431..365d5e2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-composited-row-initial-empty-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-composited-row-initial-empty-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-expected.png
index 07ced2e4..428de93 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-initial-empty-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-initial-empty-expected.png
index 07ced2e4..428de93 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-initial-empty-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/composited-table-background-section-initial-empty-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/single-line-cells-repeating-thead-break-inside-on-thead-only-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/single-line-cells-repeating-thead-break-inside-on-thead-only-expected.png
index c59fdf3..065309c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/single-line-cells-repeating-thead-break-inside-on-thead-only-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/single-line-cells-repeating-thead-break-inside-on-thead-only-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/table-shrink-row-repaint-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/table-shrink-row-repaint-expected.txt
new file mode 100644
index 0000000..fe8e784
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/table/table-shrink-row-repaint-expected.txt
@@ -0,0 +1,489 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [785, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [785, 850],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutTableCell TD id='resizeMe'",
+          "rect": [8, 112, 769, 210],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 782, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 742, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 722, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 682, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 662, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 622, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 602, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 562, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 542, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 502, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 482, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 442, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 422, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 382, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 362, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 322, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 302, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 242, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 182, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 122, 769, 60],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutTableCell TD",
+          "rect": [8, 802, 769, 48],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '10'",
+          "rect": [13, 822, 16, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '13'",
+          "rect": [13, 802, 16, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '12'",
+          "rect": [13, 742, 16, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '11'",
+          "rect": [13, 682, 16, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '10'",
+          "rect": [13, 622, 16, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '9'",
+          "rect": [13, 762, 8, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '8'",
+          "rect": [13, 702, 8, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '7'",
+          "rect": [13, 642, 8, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '6'",
+          "rect": [13, 582, 8, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '9'",
+          "rect": [13, 562, 8, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '5'",
+          "rect": [13, 522, 8, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '8'",
+          "rect": [13, 502, 8, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '4'",
+          "rect": [13, 462, 8, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '7'",
+          "rect": [13, 442, 8, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '3'",
+          "rect": [13, 402, 8, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '6'",
+          "rect": [13, 382, 8, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '2'",
+          "rect": [13, 342, 8, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '5'",
+          "rect": [13, 322, 8, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '4'",
+          "rect": [13, 262, 8, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '3'",
+          "rect": [13, 202, 8, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox '2'",
+          "rect": [13, 142, 8, 19],
+          "reason": "geometry"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "Scrolling Contents Layer",
+      "reason": "incremental"
+    },
+    {
+      "object": "LayoutTableCell TD id='resizeMe'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableRow TR",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableCell TD",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '2'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableRow TR",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableCell TD",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '3'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableRow TR",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableCell TD",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '4'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableRow TR",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableCell TD",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '5'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableRow TR",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableCell TD",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '6'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableRow TR",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableCell TD",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '7'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableRow TR",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableCell TD",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '8'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableRow TR",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableCell TD",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '9'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableRow TR",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableCell TD",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '10'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableRow TR",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableCell TD",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '11'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableRow TR",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableCell TD",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '12'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableRow TR",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutTableCell TD",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '13'",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-match-document-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-match-document-change-expected.png
index 694e43a..0dc7eb7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-match-document-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-match-document-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-match-document-change-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-match-document-change-expected.txt
index 5113032e..133dd34c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-match-document-change-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-match-document-change-expected.txt
@@ -19,12 +19,12 @@
       "paintInvalidations": [
         {
           "object": "InlineTextBox 'Find-in-page 'findme', then click here)'",
-          "rect": [18, 130, 251, 39],
+          "rect": [18, 130, 250, 39],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'To be changed: findme (Manual testing:'",
-          "rect": [18, 130, 251, 39],
+          "rect": [18, 130, 250, 39],
           "reason": "disappeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-expected.png
index 0d8d9c8..e08d304a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-expected.txt
index 076a8ffc..98f1bcb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 172x19
           text run at (0,0) width 172: "This is a regression test for "
-        LayoutInline {I} at (0,0) size 595x19
+        LayoutInline {I} at (0,0) size 596x19
           LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
             LayoutText {#text} at (172,0) size 348x19
               text run at (172,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7301"
-          LayoutText {#text} at (519,0) size 248x19
-            text run at (519,0) width 5: " "
-            text run at (523,0) width 244: "Text shadow does not repaint correctly"
-        LayoutText {#text} at (766,0) size 5x19
-          text run at (766,0) width 5: "."
+          LayoutText {#text} at (520,0) size 248x19
+            text run at (520,0) width 4: " "
+            text run at (524,0) width 244: "Text shadow does not repaint correctly"
+        LayoutText {#text} at (768,0) size 4x19
+          text run at (768,0) width 4: "."
       LayoutBlockFlow {DIV} at (30,68) size 724x21
         LayoutInline {SPAN} at (0,0) size 202x20 [bgcolor=#C0C0C0]
           LayoutText {#text} at (0,0) size 202x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-horizontal-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-horizontal-expected.png
index 0d8d9c8..e08d304a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-horizontal-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-horizontal-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-horizontal-expected.txt
index 076a8ffc..98f1bcb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-horizontal-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 172x19
           text run at (0,0) width 172: "This is a regression test for "
-        LayoutInline {I} at (0,0) size 595x19
+        LayoutInline {I} at (0,0) size 596x19
           LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
             LayoutText {#text} at (172,0) size 348x19
               text run at (172,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7301"
-          LayoutText {#text} at (519,0) size 248x19
-            text run at (519,0) width 5: " "
-            text run at (523,0) width 244: "Text shadow does not repaint correctly"
-        LayoutText {#text} at (766,0) size 5x19
-          text run at (766,0) width 5: "."
+          LayoutText {#text} at (520,0) size 248x19
+            text run at (520,0) width 4: " "
+            text run at (524,0) width 244: "Text shadow does not repaint correctly"
+        LayoutText {#text} at (768,0) size 4x19
+          text run at (768,0) width 4: "."
       LayoutBlockFlow {DIV} at (30,68) size 724x21
         LayoutInline {SPAN} at (0,0) size 202x20 [bgcolor=#C0C0C0]
           LayoutText {#text} at (0,0) size 202x20
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/transform/transform-layout-repaint-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/transform/transform-layout-repaint-expected.txt
index 06f17dfd..2500522 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/transform/transform-layout-repaint-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/transform/transform-layout-repaint-expected.txt
@@ -24,12 +24,12 @@
         },
         {
           "object": "InlineTextBox 'PASS'",
-          "rect": [52, 51, 43, 32],
+          "rect": [52, 51, 42, 31],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'FAIL'",
-          "rect": [52, 51, 40, 31],
+          "rect": [52, 51, 39, 30],
           "reason": "disappeared"
         }
       ]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/active-suggestion-marker-basic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/active-suggestion-marker-basic-expected.png
index d5d424b4..a1b7584 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/active-suggestion-marker-basic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/active-suggestion-marker-basic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/active-suggestion-marker-basic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/active-suggestion-marker-basic-expected.txt
index f37edb0..b1af9d0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/active-suggestion-marker-basic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/active-suggestion-marker-basic-expected.txt
@@ -34,8 +34,8 @@
               text run at (29,0) width 49: "mnopqr"
       LayoutBlockFlow (floating) {DIV} at (0,0) size 78x252
         LayoutBlockFlow {P} at (0,16) size 78x20
-          LayoutText {#text} at (0,0) size 30x19
-            text run at (0,0) width 30: "LTR"
+          LayoutText {#text} at (0,0) size 29x19
+            text run at (0,0) width 29: "LTR"
         LayoutBlockFlow {DIV} at (0,52) size 78x20
           LayoutText {#text} at (0,0) size 42x19
             text run at (0,0) width 42: "abcdef"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/composition-marker-basic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/composition-marker-basic-expected.png
index d5d424b4..a1b7584 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/composition-marker-basic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/composition-marker-basic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/composition-marker-basic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/composition-marker-basic-expected.txt
index f37edb0..b1af9d0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/composition-marker-basic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/composition-marker-basic-expected.txt
@@ -34,8 +34,8 @@
               text run at (29,0) width 49: "mnopqr"
       LayoutBlockFlow (floating) {DIV} at (0,0) size 78x252
         LayoutBlockFlow {P} at (0,16) size 78x20
-          LayoutText {#text} at (0,0) size 30x19
-            text run at (0,0) width 30: "LTR"
+          LayoutText {#text} at (0,0) size 29x19
+            text run at (0,0) width 29: "LTR"
         LayoutBlockFlow {DIV} at (0,52) size 78x20
           LayoutText {#text} at (0,0) size 42x19
             text run at (0,0) width 42: "abcdef"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/ellipsis-ltr-text-in-ltr-flow-with-markers-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/ellipsis-ltr-text-in-ltr-flow-with-markers-expected.png
index da22451..9fc92c2d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/ellipsis-ltr-text-in-ltr-flow-with-markers-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/ellipsis-ltr-text-in-ltr-flow-with-markers-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/ellipsis-ltr-text-in-ltr-flow-with-markers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/ellipsis-ltr-text-in-ltr-flow-with-markers-expected.txt
index 4222c9ce..3e403aa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/ellipsis-ltr-text-in-ltr-flow-with-markers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/ellipsis-ltr-text-in-ltr-flow-with-markers-expected.txt
@@ -27,15 +27,15 @@
   LayoutBlockFlow {DIV} at (0,100) size 100x20
     LayoutText {#text} at (0,0) size 110x19
       text run at (0,0) width 110: "markEndSpelling"
-layer at (8,128) size 100x20 scrollWidth 120
+layer at (8,128) size 100x20 scrollWidth 119
   LayoutBlockFlow {DIV} at (0,120) size 100x20
-    LayoutText {#text} at (0,0) size 120x19
-      text run at (0,0) width 120: "markAllTextMatch"
-layer at (8,148) size 100x20 scrollWidth 129
+    LayoutText {#text} at (0,0) size 119x19
+      text run at (0,0) width 119: "markAllTextMatch"
+layer at (8,148) size 100x20 scrollWidth 128
   LayoutBlockFlow {DIV} at (0,140) size 100x20
-    LayoutText {#text} at (0,0) size 129x19
-      text run at (0,0) width 129: "markStartTextMatch"
-layer at (8,168) size 100x20 scrollWidth 126
+    LayoutText {#text} at (0,0) size 128x19
+      text run at (0,0) width 128: "markStartTextMatch"
+layer at (8,168) size 100x20 scrollWidth 125
   LayoutBlockFlow {DIV} at (0,160) size 100x20
-    LayoutText {#text} at (0,0) size 126x19
-      text run at (0,0) width 126: "markEndTextMatch"
+    LayoutText {#text} at (0,0) size 125x19
+      text run at (0,0) width 125: "markEndTextMatch"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/ellipsis-ltr-text-in-rtl-flow-with-markers-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/ellipsis-ltr-text-in-rtl-flow-with-markers-expected.png
index ae88c42..033ba0e4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/ellipsis-ltr-text-in-rtl-flow-with-markers-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/ellipsis-ltr-text-in-rtl-flow-with-markers-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/first-letter-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/first-letter-expected.png
index 687a4d0f88..a19630d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/first-letter-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/first-letter-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/first-letter-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/first-letter-expected.txt
index 53221d4..65b1909 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/first-letter-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/first-letter-expected.txt
@@ -7,5 +7,5 @@
         LayoutInline {<pseudo:first-letter>} at (0,0) size 12x19 [color=#FF0000]
           LayoutTextFragment (anonymous) at (0,0) size 12x19
             text run at (0,0) width 12: "N"
-        LayoutTextFragment {#text} at (12,0) size 236x19
-          text run at (12,0) width 236: "one Composition Spelling TextMatch"
+        LayoutTextFragment {#text} at (12,0) size 235x19
+          text run at (12,0) width 235: "one Composition Spelling TextMatch"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/grammar-markers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/grammar-markers-expected.txt
index 6def725..bb6d633 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/grammar-markers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/grammar-markers-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x36
     LayoutBlockFlow {BODY} at (8,8) size 784x20
       LayoutBlockFlow {DIV} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 112x19
-          text run at (0,0) width 112: "You has the right."
+        LayoutText {#text} at (0,0) size 111x19
+          text run at (0,0) width 111: "You has the right."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/grammar-markers-hidpi-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/grammar-markers-hidpi-expected.png
index 9c03c5e9..f1d5f40e0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/grammar-markers-hidpi-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/grammar-markers-hidpi-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/grammar-markers-hidpi-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/grammar-markers-hidpi-expected.txt
index d062c77..e9d41ae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/grammar-markers-hidpi-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/grammar-markers-hidpi-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {HTML} at (0,0) size 1600x69
     LayoutBlockFlow {BODY} at (16,16) size 1568x37
       LayoutBlockFlow {DIV} at (0,0) size 1568x37
-        LayoutText {#text} at (0,0) size 226x36
-          text run at (0,0) width 226: "You has the right."
+        LayoutText {#text} at (0,0) size 225x36
+          text run at (0,0) width 225: "You has the right."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-composited-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-composited-expected.png
index 0488b3b..8a683dc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-composited-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-composited-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-composited-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-composited-expected.txt
index 800ed47a..70a5618 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-composited-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-composited-expected.txt
@@ -7,14 +7,14 @@
         LayoutText {#text} at (0,0) size 59x36
           text run at (0,0) width 59: "LTR"
       LayoutBlockFlow (anonymous) at (0,81) size 1568x37
-        LayoutText {#text} at (0,0) size 60x36
-          text run at (0,0) width 60: "RTL"
+        LayoutText {#text} at (0,0) size 59x36
+          text run at (0,0) width 59: "RTL"
       LayoutBlockFlow (anonymous) at (0,162) size 1568x37
         LayoutText {#text} at (0,0) size 368x36
           text run at (0,0) width 368: "LTR (text-overflow:ellipses)"
       LayoutBlockFlow (anonymous) at (0,243) size 1568x37
-        LayoutText {#text} at (0,0) size 369x36
-          text run at (0,0) width 369: "RTL (text-overflow:ellipses)"
+        LayoutText {#text} at (0,0) size 368x36
+          text run at (0,0) width 368: "RTL (text-overflow:ellipses)"
 layer at (16,53) size 404x44 clip at (18,55) size 400x40 scrollWidth 452
   LayoutBlockFlow {DIV} at (0,37) size 404x44 [border: (2px solid #000000)]
     LayoutText {#text} at (2,2) size 451x36
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-expected.png
index 74fc40e..485a0a39 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-expected.txt
index 800ed47a..70a5618 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline-spelling-markers-hidpi-expected.txt
@@ -7,14 +7,14 @@
         LayoutText {#text} at (0,0) size 59x36
           text run at (0,0) width 59: "LTR"
       LayoutBlockFlow (anonymous) at (0,81) size 1568x37
-        LayoutText {#text} at (0,0) size 60x36
-          text run at (0,0) width 60: "RTL"
+        LayoutText {#text} at (0,0) size 59x36
+          text run at (0,0) width 59: "RTL"
       LayoutBlockFlow (anonymous) at (0,162) size 1568x37
         LayoutText {#text} at (0,0) size 368x36
           text run at (0,0) width 368: "LTR (text-overflow:ellipses)"
       LayoutBlockFlow (anonymous) at (0,243) size 1568x37
-        LayoutText {#text} at (0,0) size 369x36
-          text run at (0,0) width 369: "RTL (text-overflow:ellipses)"
+        LayoutText {#text} at (0,0) size 368x36
+          text run at (0,0) width 368: "RTL (text-overflow:ellipses)"
 layer at (16,53) size 404x44 clip at (18,55) size 400x40 scrollWidth 452
   LayoutBlockFlow {DIV} at (0,37) size 404x44 [border: (2px solid #000000)]
     LayoutText {#text} at (2,2) size 451x36
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline_spelling_markers-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline_spelling_markers-expected.png
index 2b32e575..f86ad2b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline_spelling_markers-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline_spelling_markers-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline_spelling_markers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline_spelling_markers-expected.txt
index 4a005fc7..54741dd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline_spelling_markers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/inline_spelling_markers-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x184
     LayoutBlockFlow {BODY} at (8,8) size 784x168
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 30x19
-          text run at (0,0) width 30: "LTR"
+        LayoutText {#text} at (0,0) size 29x19
+          text run at (0,0) width 29: "LTR"
       LayoutBlockFlow (anonymous) at (0,42) size 784x20
         LayoutText {#text} at (0,0) size 31x19
           text run at (0,0) width 31: "RTL"
       LayoutBlockFlow (anonymous) at (0,84) size 784x20
-        LayoutText {#text} at (0,0) size 183x19
-          text run at (0,0) width 183: "LTR (text-overflow:ellipses):"
+        LayoutText {#text} at (0,0) size 182x19
+          text run at (0,0) width 182: "LTR (text-overflow:ellipses):"
       LayoutBlockFlow (anonymous) at (0,126) size 784x20
         LayoutText {#text} at (0,0) size 184x19
           text run at (0,0) width 184: "RTL (text-overflow:ellipses):"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/suggestion-marker-basic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/suggestion-marker-basic-expected.png
index ebcf20a..46e3b889 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/suggestion-marker-basic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/suggestion-marker-basic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/suggestion-marker-basic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/suggestion-marker-basic-expected.txt
index 7947f7d8..b9e7c1fe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/markers/suggestion-marker-basic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/markers/suggestion-marker-basic-expected.txt
@@ -34,8 +34,8 @@
               text run at (113,0) width 85: "AcrossNodes"
       LayoutBlockFlow (floating) {DIV} at (0,0) size 331x452
         LayoutBlockFlow {P} at (0,16) size 331x20
-          LayoutText {#text} at (0,0) size 30x19
-            text run at (0,0) width 30: "LTR"
+          LayoutText {#text} at (0,0) size 29x19
+            text run at (0,0) width 29: "LTR"
         LayoutBlockFlow {DIV} at (0,52) size 331x20
           LayoutText {#text} at (0,0) size 52x19
             text run at (0,0) width 52: "markAll"
@@ -83,8 +83,8 @@
           LayoutText {#text} at (0,0) size 262x19
             text run at (0,0) width 262: "overridingSpellingMarkerIntersectingEnd"
         LayoutBlockFlow {DIV} at (0,332) size 331x20
-          LayoutText {#text} at (0,0) size 253x19
-            text run at (0,0) width 253: "notOverridingSpellingMarkersTouching"
+          LayoutText {#text} at (0,0) size 252x19
+            text run at (0,0) width 252: "notOverridingSpellingMarkersTouching"
         LayoutBlockFlow {DIV} at (0,352) size 331x20
           LayoutText {#text} at (0,0) size 274x19
             text run at (0,0) width 274: "overridingCompositionMarkerAtBeginning"
@@ -98,5 +98,5 @@
           LayoutText {#text} at (0,0) size 291x19
             text run at (0,0) width 291: "overridingCompositionMarkerIntersectingEnd"
         LayoutBlockFlow {DIV} at (0,432) size 331x20
-          LayoutText {#text} at (0,0) size 282x19
-            text run at (0,0) width 282: "notOverridingCompositionMarkersTouching"
+          LayoutText {#text} at (0,0) size 281x19
+            text run at (0,0) width 281: "notOverridingCompositionMarkersTouching"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/overflow/fixed-background-scroll-window-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/overflow/fixed-background-scroll-window-expected.png
index cdd7fce2..62194c7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/overflow/fixed-background-scroll-window-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/overflow/fixed-background-scroll-window-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/printing/print-text-shadow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/paint/printing/print-text-shadow-expected.png
index 5d4efa38..0cd8ad4e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/printing/print-text-shadow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/printing/print-text-shadow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/plugins/embed-attributes-style-expected.png b/third_party/WebKit/LayoutTests/platform/linux/plugins/embed-attributes-style-expected.png
index 963b61f..85bd7cc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/plugins/embed-attributes-style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/plugins/embed-attributes-style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/plugins/embed-attributes-style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/plugins/embed-attributes-style-expected.txt
index d655f7b..c9ef4738 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/plugins/embed-attributes-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/plugins/embed-attributes-style-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 761x39
+        LayoutText {#text} at (0,0) size 760x39
           text run at (0,0) width 395: "This page tests using attributes to set style on embed elements. "
-          text run at (395,0) width 366: "Previous versions of WebKit supported valign and border,"
+          text run at (395,0) width 365: "Previous versions of WebKit supported valign and border,"
           text run at (0,20) width 43: "which "
-          text run at (43,20) width 451: "didn't match IE and FF. The only special support should be for 'hidden.'"
+          text run at (43,20) width 450: "didn't match IE and FF. The only special support should be for 'hidden.'"
       LayoutBlockFlow {DIV} at (0,66) size 784x0
       LayoutBlockFlow {DIV} at (0,66) size 784x105
         LayoutText {#text} at (50,85) size 122x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/plugins/webview-plugin-border-radius-expected.png b/third_party/WebKit/LayoutTests/platform/linux/plugins/webview-plugin-border-radius-expected.png
index 2850f4d..d0de161 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/plugins/webview-plugin-border-radius-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/plugins/webview-plugin-border-radius-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/plugins/webview-plugin-lifecycle-expected.png b/third_party/WebKit/LayoutTests/platform/linux/plugins/webview-plugin-lifecycle-expected.png
index 6aece8a..644b5a6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/plugins/webview-plugin-lifecycle-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/plugins/webview-plugin-lifecycle-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/printing/forced-break-tree-dump-only-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/printing/forced-break-tree-dump-only-expected.txt
index f08711c..598c1ee5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/printing/forced-break-tree-dump-only-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/printing/forced-break-tree-dump-only-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 1066x827
     LayoutBlockFlow {BODY} at (8,16) size 1050x803
       LayoutBlockFlow {P} at (0,0) size 1050x40
-        LayoutText {#text} at (0,0) size 1010x39
+        LayoutText {#text} at (0,0) size 1009x39
           text run at (0,0) width 554: "This is a test that only dumps the layout tree, and doesn't actually display the page. This "
-          text run at (554,0) width 456: "tests some peculiarities in the test framework for printing. To run this test"
-          text run at (0,20) width 102: "manually, run it "
-          text run at (101,20) width 221: "with content_shell --run-layout-test"
+          text run at (554,0) width 455: "tests some peculiarities in the test framework for printing. To run this test"
+          text run at (0,20) width 101: "manually, run it "
+          text run at (101,20) width 220: "with content_shell --run-layout-test"
       LayoutBlockFlow {DIV} at (0,56) size 1050x20
         LayoutText {#text} at (0,0) size 163x19
           text run at (0,0) width 163: "This should be on page 1."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/printing/iframe-print-expected.png b/third_party/WebKit/LayoutTests/platform/linux/printing/iframe-print-expected.png
index eea9f8e..d2c4804 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/printing/iframe-print-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/printing/iframe-print-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/printing/iframe-print-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/printing/iframe-print-expected.txt
index 6fe1690..970fdbb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/printing/iframe-print-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/printing/iframe-print-expected.txt
@@ -13,8 +13,8 @@
     layer at (0,0) size 300x36
       LayoutBlockFlow {HTML} at (0,0) size 300x36
         LayoutBlockFlow {BODY} at (8,8) size 284x20
-          LayoutText {#text} at (0,0) size 241x19
-            text run at (0,0) width 241: "You should see this text when printed."
+          LayoutText {#text} at (0,0) size 240x19
+            text run at (0,0) width 240: "You should see this text when printed."
 layer at (316,8) size 304x304
   LayoutIFrame {IFRAME} at (308,0) size 304x304 [border: (2px inset #EEEEEE)]
     layer at (0,0) size 300x300
@@ -22,12 +22,12 @@
     layer at (35,0) size 265x300
       LayoutBlockFlow {HTML} at (0,0) size 265x300
         LayoutBlockFlow {BODY} at (8,8) size 249x284
-          LayoutText {#text} at (0,0) size 19x245
-            text run at (0,0) width 245: "You should see this text when printed. "
-          LayoutBR {BR} at (0,244) size 19x1
-          LayoutText {#text} at (20,0) size 19x160
-            text run at (20,0) width 160: "Vertical text on the right. "
-          LayoutBR {BR} at (20,159) size 19x1
+          LayoutText {#text} at (0,0) size 19x244
+            text run at (0,0) width 244: "You should see this text when printed. "
+          LayoutBR {BR} at (0,244) size 19x0
+          LayoutText {#text} at (20,0) size 19x159
+            text run at (20,0) width 159: "Vertical text on the right. "
+          LayoutBR {BR} at (20,159) size 19x0
           LayoutText {#text} at (0,0) size 0x0
     layer at (48,8) size 204x154
       LayoutIFrame {IFRAME} at (40,0) size 204x154 [border: (2px inset #EEEEEE)]
@@ -36,6 +36,6 @@
         layer at (0,0) size 200x56
           LayoutBlockFlow {HTML} at (0,0) size 200x56
             LayoutBlockFlow {BODY} at (8,8) size 184x40
-              LayoutText {#text} at (0,0) size 150x39
-                text run at (0,0) width 150: "You should see this text"
+              LayoutText {#text} at (0,0) size 149x39
+                text run at (0,0) width 149: "You should see this text"
                 text run at (0,20) width 87: "when printed."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/printing/tfoot-repeats-at-bottom-of-each-page-expected.png b/third_party/WebKit/LayoutTests/platform/linux/printing/tfoot-repeats-at-bottom-of-each-page-expected.png
index a894255..0b011f3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/printing/tfoot-repeats-at-bottom-of-each-page-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/printing/tfoot-repeats-at-bottom-of-each-page-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/printing/tfoot-repeats-at-bottom-of-each-page-multiple-tables-expected.png b/third_party/WebKit/LayoutTests/platform/linux/printing/tfoot-repeats-at-bottom-of-each-page-multiple-tables-expected.png
index cf41d1cc..ed6dbde9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/printing/tfoot-repeats-at-bottom-of-each-page-multiple-tables-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/printing/tfoot-repeats-at-bottom-of-each-page-multiple-tables-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/printing/thead-repeats-at-top-of-each-page-expected.png b/third_party/WebKit/LayoutTests/platform/linux/printing/thead-repeats-at-top-of-each-page-expected.png
index df86cc9..dd32244 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/printing/thead-repeats-at-top-of-each-page-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/printing/thead-repeats-at-top-of-each-page-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/printing/thead-repeats-at-top-of-each-page-multiple-tables-expected.png b/third_party/WebKit/LayoutTests/platform/linux/printing/thead-repeats-at-top-of-each-page-multiple-tables-expected.png
index 54a7320..81755375 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/printing/thead-repeats-at-top-of-each-page-multiple-tables-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/printing/thead-repeats-at-top-of-each-page-multiple-tables-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/printing/thead-under-multicol-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/printing/thead-under-multicol-expected.txt
index f95e21d..c23bb20 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/printing/thead-under-multicol-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/printing/thead-under-multicol-expected.txt
@@ -123,14 +123,14 @@
               text run at (1,1) width 43: "3-10"
         LayoutTableRow {TR} at (0,1040) size 305x102
           LayoutTableCell {TD} at (2,1077) size 99x27 [r=10 c=0 rs=1 cs=1]
-            LayoutText {#text} at (1,1) size 42x24
-              text run at (1,1) width 42: "1-11"
+            LayoutText {#text} at (1,1) size 41x24
+              text run at (1,1) width 41: "1-11"
           LayoutTableCell {TD} at (103,1077) size 99x27 [r=10 c=1 rs=1 cs=1]
-            LayoutText {#text} at (1,1) size 42x24
-              text run at (1,1) width 42: "2-11"
+            LayoutText {#text} at (1,1) size 41x24
+              text run at (1,1) width 41: "2-11"
           LayoutTableCell {TD} at (204,1077) size 99x27 [r=10 c=2 rs=1 cs=1]
-            LayoutText {#text} at (1,1) size 42x24
-              text run at (1,1) width 42: "3-11"
+            LayoutText {#text} at (1,1) size 41x24
+              text run at (1,1) width 41: "3-11"
         LayoutTableRow {TR} at (0,1185) size 305x102
           LayoutTableCell {TD} at (2,1222) size 99x27 [r=11 c=0 rs=1 cs=1]
             LayoutText {#text} at (1,1) size 43x24
diff --git a/third_party/WebKit/LayoutTests/platform/linux/scrollbars/custom-scrollbar-appearance-property-expected.png b/third_party/WebKit/LayoutTests/platform/linux/scrollbars/custom-scrollbar-appearance-property-expected.png
index 5581b2c..759b4cc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/scrollbars/custom-scrollbar-appearance-property-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/scrollbars/custom-scrollbar-appearance-property-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/scrollbars/listbox-scrollbar-combinations-expected.png b/third_party/WebKit/LayoutTests/platform/linux/scrollbars/listbox-scrollbar-combinations-expected.png
index 50c2460..f7520b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/scrollbars/listbox-scrollbar-combinations-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/scrollbars/listbox-scrollbar-combinations-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/scrollbars/scrollbars-on-positioned-content-expected.png b/third_party/WebKit/LayoutTests/platform/linux/scrollbars/scrollbars-on-positioned-content-expected.png
index d559c37..feb6a49 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/scrollbars/scrollbars-on-positioned-content-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/scrollbars/scrollbars-on-positioned-content-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirLTR-ubNone-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirLTR-ubNone-expected.txt
index bf8ea2b..f0d2399 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirLTR-ubNone-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirLTR-ubNone-expected.txt
@@ -3,12 +3,12 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGContainer {g} at (105.86,133.19) size 248.25x21
-        LayoutSVGText {text} at (105.86,133.19) size 248.25x21 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (105.86,133.19) size 248.27x21
-            chunk 1 (middle anchor) text run 1 at (105.87,150.00) startOffset 0 endOffset 4 width 45.00: "W3C "
-            chunk 1 (middle anchor) text run 1 at (150.87,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
-            chunk 1 (middle anchor) text run 1 at (222.27,150.00) startOffset 0 endOffset 15 width 131.86: " dirLTR ubNone!"
+      LayoutSVGContainer {g} at (105.80,133.19) size 248.39x21
+        LayoutSVGText {text} at (105.80,133.19) size 248.39x21 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (105.80,133.19) size 248.39x21
+            chunk 1 (middle anchor) text run 1 at (105.80,150.00) startOffset 0 endOffset 4 width 45.00: "W3C "
+            chunk 1 (middle anchor) text run 1 at (150.80,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
+            chunk 1 (middle anchor) text run 1 at (222.20,150.00) startOffset 0 endOffset 15 width 132.00: " dirLTR ubNone!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirLTR-ubOverride-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirLTR-ubOverride-expected.txt
index a846634f..705ea25 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirLTR-ubOverride-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirLTR-ubOverride-expected.txt
@@ -3,12 +3,12 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGContainer {g} at (92.95,133.19) size 274.06x21
-        LayoutSVGText {text} at (92.95,133.19) size 274.06x21 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (92.95,133.19) size 274.06x21
-            chunk 1 (middle anchor) text run 1 at (92.97,150.00) startOffset 0 endOffset 4 width 45.00: "W3C "
-            chunk 1 (middle anchor) text run 1 at (137.97,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
-            chunk 1 (middle anchor) text run 1 at (209.37,150.00) startOffset 0 endOffset 19 width 157.66: " dirLTR ubOverride!"
+      LayoutSVGContainer {g} at (92.89,133.19) size 274.19x21
+        LayoutSVGText {text} at (92.89,133.19) size 274.19x21 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (92.89,133.19) size 274.20x21
+            chunk 1 (middle anchor) text run 1 at (92.90,150.00) startOffset 0 endOffset 4 width 45.00: "W3C "
+            chunk 1 (middle anchor) text run 1 at (137.90,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
+            chunk 1 (middle anchor) text run 1 at (209.30,150.00) startOffset 0 endOffset 19 width 157.80: " dirLTR ubOverride!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirRTL-ubNone-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirRTL-ubNone-expected.png
index 89c28ff..4541b81 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirRTL-ubNone-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirRTL-ubNone-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirRTL-ubNone-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirRTL-ubNone-expected.txt
index 0f3ee34d..29eb3da3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirRTL-ubNone-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirRTL-ubNone-expected.txt
@@ -3,13 +3,13 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGContainer {g} at (105.36,133.19) size 249.27x21
-        LayoutSVGText {text} at (105.36,133.19) size 249.27x21 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (105.36,133.19) size 249.25x21
-            chunk 1 (middle anchor) text run 1 at (105.36,150.00) startOffset 0 endOffset 1 width 4.80 RTL: "!"
-            chunk 1 (middle anchor) text run 1 at (110.16,150.00) startOffset 0 endOffset 13 width 123.27: "dirRTL ubNone"
-            chunk 1 (middle anchor) text run 1 at (233.44,150.00) startOffset 0 endOffset 14 width 81.00 RTL: " \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} "
-            chunk 1 (middle anchor) text run 1 at (314.44,150.00) startOffset 0 endOffset 3 width 40.20: "W3C"
+      LayoutSVGContainer {g} at (105.19,133.19) size 249.59x21
+        LayoutSVGText {text} at (105.19,133.19) size 249.59x21 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (105.19,133.19) size 249.59x21
+            chunk 1 (middle anchor) text run 1 at (105.20,150.00) startOffset 0 endOffset 1 width 4.80 RTL: "!"
+            chunk 1 (middle anchor) text run 1 at (110.00,150.00) startOffset 0 endOffset 13 width 123.60: "dirRTL ubNone"
+            chunk 1 (middle anchor) text run 1 at (233.60,150.00) startOffset 0 endOffset 14 width 81.00 RTL: " \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} "
+            chunk 1 (middle anchor) text run 1 at (314.60,150.00) startOffset 0 endOffset 3 width 40.20: "W3C"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirRTL-ubOverride-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirRTL-ubOverride-expected.txt
index 9b8cb1d3d..0f9d274 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirRTL-ubOverride-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/g-dirRTL-ubOverride-expected.txt
@@ -3,13 +3,13 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGContainer {g} at (92.45,133.19) size 275.06x21
-        LayoutSVGText {text} at (92.45,133.19) size 275.06x21 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (92.45,133.19) size 275.06x21
-            chunk 1 (middle anchor) text run 1 at (92.46,150.00) startOffset 0 endOffset 1 width 4.80 RTL: "!"
-            chunk 1 (middle anchor) text run 1 at (97.26,150.00) startOffset 0 endOffset 17 width 149.07: "dirRTL ubOverride"
-            chunk 1 (middle anchor) text run 1 at (246.34,150.00) startOffset 0 endOffset 14 width 81.00 RTL: " \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} "
-            chunk 1 (middle anchor) text run 1 at (327.34,150.00) startOffset 0 endOffset 3 width 40.20: "W3C"
+      LayoutSVGContainer {g} at (92.30,133.19) size 275.39x21
+        LayoutSVGText {text} at (92.30,133.19) size 275.39x21 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (92.30,133.19) size 275.39x21
+            chunk 1 (middle anchor) text run 1 at (92.30,150.00) startOffset 0 endOffset 1 width 4.80 RTL: "!"
+            chunk 1 (middle anchor) text run 1 at (97.10,150.00) startOffset 0 endOffset 17 width 149.40: "dirRTL ubOverride"
+            chunk 1 (middle anchor) text run 1 at (246.50,150.00) startOffset 0 endOffset 14 width 81.00 RTL: " \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} "
+            chunk 1 (middle anchor) text run 1 at (327.50,150.00) startOffset 0 endOffset 3 width 40.20: "W3C"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt
index b9216ae..ecd5b772 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (36.19,110) size 259.81x127.38
+    LayoutSVGContainer {g} at (36.19,110) size 259.81x127.39
       LayoutSVGText {text} at (36.19,151) size 193.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (36.19,151) size 193.80x11.39
           chunk 1 (end anchor) text run 1 at (36.20,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (78.80,186) size 151.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (78.80,186) size 151.19x11.39
           chunk 1 (end anchor) text run 1 at (78.80,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (111.19,223.56) size 119.39x13.81 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (111.19,223.56) size 119.39x13.81
+      LayoutSVGText {text} at (111.19,223.59) size 119.39x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (111.19,223.59) size 119.39x13.80
           chunk 1 (end anchor) text run 1 at (111.20,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt
index 3d42583..492af8e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (133.09,110) size 193.80x127.38
+    LayoutSVGContainer {g} at (133.09,110) size 193.80x127.39
       LayoutSVGText {text} at (133.09,151) size 193.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (133.09,151) size 193.80x11.39
           chunk 1 (middle anchor) text run 1 at (133.10,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (154.39,186) size 151.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (154.39,186) size 151.19x11.39
           chunk 1 (middle anchor) text run 1 at (154.40,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (170.59,223.56) size 119.39x13.81 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (170.59,223.56) size 119.39x13.81
+      LayoutSVGText {text} at (170.59,223.59) size 119.39x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (170.59,223.59) size 119.39x13.80
           chunk 1 (middle anchor) text run 1 at (170.60,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt
index 3f732f29..ed64a89 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (168,110) size 255.80x127.38
+    LayoutSVGContainer {g} at (168,110) size 255.80x127.39
       LayoutSVGText {text} at (230,151) size 193.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,151) size 193.80x11.39
           chunk 1 text run 1 at (230.00,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (230,186) size 151.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,186) size 151.19x11.39
           chunk 1 text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (230,223.56) size 119.39x13.81 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (230,223.56) size 119.39x13.81
+      LayoutSVGText {text} at (230,223.59) size 119.39x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (230,223.59) size 119.39x13.80
           chunk 1 text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt
index b9216ae..ecd5b772 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (36.19,110) size 259.81x127.38
+    LayoutSVGContainer {g} at (36.19,110) size 259.81x127.39
       LayoutSVGText {text} at (36.19,151) size 193.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (36.19,151) size 193.80x11.39
           chunk 1 (end anchor) text run 1 at (36.20,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (78.80,186) size 151.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (78.80,186) size 151.19x11.39
           chunk 1 (end anchor) text run 1 at (78.80,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (111.19,223.56) size 119.39x13.81 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (111.19,223.56) size 119.39x13.81
+      LayoutSVGText {text} at (111.19,223.59) size 119.39x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (111.19,223.59) size 119.39x13.80
           chunk 1 (end anchor) text run 1 at (111.20,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt
index 3d42583..492af8e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (133.09,110) size 193.80x127.38
+    LayoutSVGContainer {g} at (133.09,110) size 193.80x127.39
       LayoutSVGText {text} at (133.09,151) size 193.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (133.09,151) size 193.80x11.39
           chunk 1 (middle anchor) text run 1 at (133.10,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (154.39,186) size 151.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (154.39,186) size 151.19x11.39
           chunk 1 (middle anchor) text run 1 at (154.40,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (170.59,223.56) size 119.39x13.81 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (170.59,223.56) size 119.39x13.81
+      LayoutSVGText {text} at (170.59,223.59) size 119.39x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (170.59,223.59) size 119.39x13.80
           chunk 1 (middle anchor) text run 1 at (170.60,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt
index 3f732f29..ed64a89 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (168,110) size 255.80x127.38
+    LayoutSVGContainer {g} at (168,110) size 255.80x127.39
       LayoutSVGText {text} at (230,151) size 193.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,151) size 193.80x11.39
           chunk 1 text run 1 at (230.00,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (230,186) size 151.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,186) size 151.19x11.39
           chunk 1 text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (230,223.56) size 119.39x13.81 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (230,223.56) size 119.39x13.81
+      LayoutSVGText {text} at (230,223.59) size 119.39x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (230,223.59) size 119.39x13.80
           chunk 1 text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt
index 6e61ddd4..c0f9101 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (168,110) size 255.80x127.38
+    LayoutSVGContainer {g} at (168,110) size 255.80x127.39
       LayoutSVGText {text} at (230,151) size 193.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,151) size 193.80x11.39
           chunk 1 (end anchor) text run 1 at (230.00,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (230,186) size 151.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,186) size 151.19x11.39
           chunk 1 (end anchor) text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (230,223.56) size 119.39x13.81 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (230,223.56) size 119.39x13.81
+      LayoutSVGText {text} at (230,223.59) size 119.39x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (230,223.59) size 119.39x13.80
           chunk 1 (end anchor) text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt
index 3d42583..492af8e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (133.09,110) size 193.80x127.38
+    LayoutSVGContainer {g} at (133.09,110) size 193.80x127.39
       LayoutSVGText {text} at (133.09,151) size 193.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (133.09,151) size 193.80x11.39
           chunk 1 (middle anchor) text run 1 at (133.10,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (154.39,186) size 151.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (154.39,186) size 151.19x11.39
           chunk 1 (middle anchor) text run 1 at (154.40,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (170.59,223.56) size 119.39x13.81 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (170.59,223.56) size 119.39x13.81
+      LayoutSVGText {text} at (170.59,223.59) size 119.39x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (170.59,223.59) size 119.39x13.80
           chunk 1 (middle anchor) text run 1 at (170.60,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt
index ac5e19c..4b84e22a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (36.19,110) size 259.81x127.38
+    LayoutSVGContainer {g} at (36.19,110) size 259.81x127.39
       LayoutSVGText {text} at (36.19,151) size 193.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (36.19,151) size 193.80x11.39
           chunk 1 text run 1 at (36.20,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (78.80,186) size 151.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (78.80,186) size 151.19x11.39
           chunk 1 text run 1 at (78.80,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (111.19,223.56) size 119.39x13.81 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (111.19,223.56) size 119.39x13.81
+      LayoutSVGText {text} at (111.19,223.59) size 119.39x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (111.19,223.59) size 119.39x13.80
           chunk 1 text run 1 at (111.20,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt
index d2ec8be..da2629a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt
@@ -2,16 +2,16 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (36.19,110) size 259.81x127.38
-      LayoutSVGContainer {g} at (36.19,151) size 194.39x86.38
+    LayoutSVGContainer {g} at (36.19,110) size 259.81x127.39
+      LayoutSVGContainer {g} at (36.19,151) size 194.39x86.39
         LayoutSVGText {text} at (36.19,151) size 193.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (36.19,151) size 193.80x11.39
             chunk 1 (end anchor) text run 1 at (36.20,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
         LayoutSVGText {text} at (78.80,186) size 151.19x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (78.80,186) size 151.19x11.39
             chunk 1 (end anchor) text run 1 at (78.80,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (111.19,223.56) size 119.39x13.81 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (111.19,223.56) size 119.39x13.81
+        LayoutSVGText {text} at (111.19,223.59) size 119.39x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (111.19,223.59) size 119.39x13.80
             chunk 1 (end anchor) text run 1 at (111.20,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt
index eff92f8..cd2fd4e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt
@@ -2,16 +2,16 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (133.09,110) size 193.80x127.38
-      LayoutSVGContainer {g} at (133.09,151) size 193.80x86.38
+    LayoutSVGContainer {g} at (133.09,110) size 193.80x127.39
+      LayoutSVGContainer {g} at (133.09,151) size 193.80x86.39
         LayoutSVGText {text} at (133.09,151) size 193.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (133.09,151) size 193.80x11.39
             chunk 1 (middle anchor) text run 1 at (133.10,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
         LayoutSVGText {text} at (154.39,186) size 151.19x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (154.39,186) size 151.19x11.39
             chunk 1 (middle anchor) text run 1 at (154.40,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (170.59,223.56) size 119.39x13.81 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (170.59,223.56) size 119.39x13.81
+        LayoutSVGText {text} at (170.59,223.59) size 119.39x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (170.59,223.59) size 119.39x13.80
             chunk 1 (middle anchor) text run 1 at (170.60,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt
index 1c8c6aa60..778719f5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt
@@ -2,16 +2,16 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (168,110) size 255.80x127.38
-      LayoutSVGContainer {g} at (230,151) size 193.80x86.38
+    LayoutSVGContainer {g} at (168,110) size 255.80x127.39
+      LayoutSVGContainer {g} at (230,151) size 193.80x86.39
         LayoutSVGText {text} at (230,151) size 193.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (230,151) size 193.80x11.39
             chunk 1 text run 1 at (230.00,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
         LayoutSVGText {text} at (230,186) size 151.19x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (230,186) size 151.19x11.39
             chunk 1 text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (230,223.56) size 119.39x13.81 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (230,223.56) size 119.39x13.81
+        LayoutSVGText {text} at (230,223.59) size 119.39x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (230,223.59) size 119.39x13.80
             chunk 1 text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt
index f91dbf9..d5ef6a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt
@@ -2,16 +2,16 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (168,110) size 255.80x127.38
-      LayoutSVGContainer {g} at (230,151) size 193.80x86.38
+    LayoutSVGContainer {g} at (168,110) size 255.80x127.39
+      LayoutSVGContainer {g} at (230,151) size 193.80x86.39
         LayoutSVGText {text} at (230,151) size 193.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (230,151) size 193.80x11.39
             chunk 1 (end anchor) text run 1 at (230.00,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
         LayoutSVGText {text} at (230,186) size 151.19x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (230,186) size 151.19x11.39
             chunk 1 (end anchor) text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (230,223.56) size 119.39x13.81 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (230,223.56) size 119.39x13.81
+        LayoutSVGText {text} at (230,223.59) size 119.39x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (230,223.59) size 119.39x13.80
             chunk 1 (end anchor) text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt
index eff92f8..cd2fd4e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt
@@ -2,16 +2,16 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (133.09,110) size 193.80x127.38
-      LayoutSVGContainer {g} at (133.09,151) size 193.80x86.38
+    LayoutSVGContainer {g} at (133.09,110) size 193.80x127.39
+      LayoutSVGContainer {g} at (133.09,151) size 193.80x86.39
         LayoutSVGText {text} at (133.09,151) size 193.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (133.09,151) size 193.80x11.39
             chunk 1 (middle anchor) text run 1 at (133.10,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
         LayoutSVGText {text} at (154.39,186) size 151.19x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (154.39,186) size 151.19x11.39
             chunk 1 (middle anchor) text run 1 at (154.40,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (170.59,223.56) size 119.39x13.81 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (170.59,223.56) size 119.39x13.81
+        LayoutSVGText {text} at (170.59,223.59) size 119.39x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (170.59,223.59) size 119.39x13.80
             chunk 1 (middle anchor) text run 1 at (170.60,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt
index e0e1762..f7c8006 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt
@@ -2,16 +2,16 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (36.19,110) size 259.81x127.38
-      LayoutSVGContainer {g} at (36.19,151) size 194.39x86.38
+    LayoutSVGContainer {g} at (36.19,110) size 259.81x127.39
+      LayoutSVGContainer {g} at (36.19,151) size 194.39x86.39
         LayoutSVGText {text} at (36.19,151) size 193.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (36.19,151) size 193.80x11.39
             chunk 1 text run 1 at (36.20,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
         LayoutSVGText {text} at (78.80,186) size 151.19x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (78.80,186) size 151.19x11.39
             chunk 1 text run 1 at (78.80,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (111.19,223.56) size 119.39x13.81 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (111.19,223.56) size 119.39x13.81
+        LayoutSVGText {text} at (111.19,223.59) size 119.39x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (111.19,223.59) size 119.39x13.80
             chunk 1 text run 1 at (111.20,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-no-markup-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-no-markup-expected.txt
index 3f732f29..ed64a89 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-no-markup-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-anchor-no-markup-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (168,110) size 255.80x127.38
+    LayoutSVGContainer {g} at (168,110) size 255.80x127.39
       LayoutSVGText {text} at (230,151) size 193.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,151) size 193.80x11.39
           chunk 1 text run 1 at (230.00,160.00) startOffset 0 endOffset 42 width 193.80: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (230,186) size 151.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,186) size 151.19x11.39
           chunk 1 text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 151.20 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (230,223.56) size 119.39x13.81 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (230,223.56) size 119.39x13.81
+      LayoutSVGText {text} at (230,223.59) size 119.39x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (230,223.59) size 119.39x13.80
           chunk 1 text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirLTR-ubNone-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirLTR-ubNone-expected.txt
index 41c3e11d..92e8ff4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirLTR-ubNone-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirLTR-ubNone-expected.txt
@@ -3,11 +3,11 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (105.86,133.19) size 248.25x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (105.86,133.19) size 248.27x21
-          chunk 1 (middle anchor) text run 1 at (105.87,150.00) startOffset 0 endOffset 4 width 45.00: "W3C "
-          chunk 1 (middle anchor) text run 1 at (150.87,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
-          chunk 1 (middle anchor) text run 1 at (222.27,150.00) startOffset 0 endOffset 15 width 131.86: " dirLTR ubNone!"
+      LayoutSVGText {text} at (105.80,133.19) size 248.39x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (105.80,133.19) size 248.39x21
+          chunk 1 (middle anchor) text run 1 at (105.80,150.00) startOffset 0 endOffset 4 width 45.00: "W3C "
+          chunk 1 (middle anchor) text run 1 at (150.80,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
+          chunk 1 (middle anchor) text run 1 at (222.20,150.00) startOffset 0 endOffset 15 width 132.00: " dirLTR ubNone!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt
index 10c3b66..5de0979 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (91.16,133.19) size 277.66x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (91.16,133.19) size 277.66x21
-          chunk 1 (middle anchor) text run 1 at (91.17,150.00) startOffset 0 endOffset 35 width 277.66 LTR override: "W3C \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} dirLTR ubOverride!"
+      LayoutSVGText {text} at (91.09,133.19) size 277.80x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (91.09,133.19) size 277.80x21
+          chunk 1 (middle anchor) text run 1 at (91.10,150.00) startOffset 0 endOffset 35 width 277.80 LTR override: "W3C \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} dirLTR ubOverride!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirRTL-ubNone-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirRTL-ubNone-expected.png
index 89c28ff..4541b81 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirRTL-ubNone-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirRTL-ubNone-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirRTL-ubNone-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirRTL-ubNone-expected.txt
index f5752a4..96b6bbb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirRTL-ubNone-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirRTL-ubNone-expected.txt
@@ -3,12 +3,12 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (105.36,133.19) size 249.27x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (105.36,133.19) size 249.25x21
-          chunk 1 (middle anchor) text run 1 at (105.36,150.00) startOffset 0 endOffset 1 width 4.80 RTL: "!"
-          chunk 1 (middle anchor) text run 1 at (110.16,150.00) startOffset 0 endOffset 13 width 123.27: "dirRTL ubNone"
-          chunk 1 (middle anchor) text run 1 at (233.44,150.00) startOffset 0 endOffset 14 width 81.00 RTL: " \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} "
-          chunk 1 (middle anchor) text run 1 at (314.44,150.00) startOffset 0 endOffset 3 width 40.20: "W3C"
+      LayoutSVGText {text} at (105.19,133.19) size 249.59x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (105.19,133.19) size 249.59x21
+          chunk 1 (middle anchor) text run 1 at (105.20,150.00) startOffset 0 endOffset 1 width 4.80 RTL: "!"
+          chunk 1 (middle anchor) text run 1 at (110.00,150.00) startOffset 0 endOffset 13 width 123.60: "dirRTL ubNone"
+          chunk 1 (middle anchor) text run 1 at (233.60,150.00) startOffset 0 endOffset 14 width 81.00 RTL: " \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} "
+          chunk 1 (middle anchor) text run 1 at (314.60,150.00) startOffset 0 endOffset 3 width 40.20: "W3C"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirRTL-ubOverride-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirRTL-ubOverride-expected.txt
index 00992de..ae5bac645 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirRTL-ubOverride-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/text-dirRTL-ubOverride-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (92.95,133.19) size 274.06x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (92.95,133.19) size 274.06x21
-          chunk 1 (middle anchor) text run 1 at (92.97,150.00) startOffset 0 endOffset 35 width 274.06 RTL override: "W3C \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} dirRTL ubOverride!"
+      LayoutSVGText {text} at (92.89,133.19) size 274.19x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (92.89,133.19) size 274.19x21
+          chunk 1 (middle anchor) text run 1 at (92.90,150.00) startOffset 0 endOffset 35 width 274.20 RTL override: "W3C \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} dirRTL ubOverride!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.txt
index 48df89d..4caf94d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (92.66,133.19) size 274.66x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (284.53,133.19) size 82.80x21
-          chunk 1 (middle anchor) text run 1 at (284.53,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
-        LayoutSVGTSpan {tspan} at (92.66,133.19) size 274.66x21
-          LayoutSVGInlineText {#text} at (104.06,133.19) size 180.45x21
-            chunk 1 (middle anchor) text run 1 at (104.07,150.00) startOffset 0 endOffset 16 width 145.66: "dirLTR ubEmbed, "
-            chunk 1 (middle anchor) text run 1 at (249.73,150.00) startOffset 0 endOffset 6 width 34.80 RTL: "\x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
-        LayoutSVGInlineText {#text} at (92.66,133.19) size 11.39x21
-          chunk 1 (middle anchor) text run 1 at (92.67,150.00) startOffset 0 endOffset 2 width 11.40 RTL: "\"!"
+      LayoutSVGText {text} at (92.59,133.19) size 274.80x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (284.59,133.19) size 82.80x21
+          chunk 1 (middle anchor) text run 1 at (284.60,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
+        LayoutSVGTSpan {tspan} at (92.59,133.19) size 274.80x21
+          LayoutSVGInlineText {#text} at (103.98,133.19) size 180.61x21
+            chunk 1 (middle anchor) text run 1 at (104.00,150.00) startOffset 0 endOffset 16 width 145.80: "dirLTR ubEmbed, "
+            chunk 1 (middle anchor) text run 1 at (249.80,150.00) startOffset 0 endOffset 6 width 34.80 RTL: "\x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
+        LayoutSVGInlineText {#text} at (92.59,133.19) size 11.39x21
+          chunk 1 (middle anchor) text run 1 at (92.60,150.00) startOffset 0 endOffset 2 width 11.40 RTL: "\"!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.txt
index 5b761cc..2526572 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (99.56,133.19) size 260.86x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (277.63,133.19) size 82.80x21
-          chunk 1 (middle anchor) text run 1 at (277.63,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
-        LayoutSVGTSpan {tspan} at (99.56,133.19) size 260.86x21
-          LayoutSVGInlineText {#text} at (110.95,133.19) size 166.66x21
-            chunk 1 (middle anchor) text run 1 at (110.97,150.00) startOffset 0 endOffset 8 width 44.40 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
-            chunk 1 (middle anchor) text run 1 at (155.37,150.00) startOffset 0 endOffset 13 width 122.26: "dirLTR ubNone"
-        LayoutSVGInlineText {#text} at (99.56,133.19) size 11.39x21
-          chunk 1 (middle anchor) text run 1 at (99.57,150.00) startOffset 0 endOffset 2 width 11.40 RTL: "\"!"
+      LayoutSVGText {text} at (99.48,133.19) size 261x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (277.69,133.19) size 82.80x21
+          chunk 1 (middle anchor) text run 1 at (277.70,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
+        LayoutSVGTSpan {tspan} at (99.48,133.19) size 261x21
+          LayoutSVGInlineText {#text} at (110.89,133.19) size 166.80x21
+            chunk 1 (middle anchor) text run 1 at (110.90,150.00) startOffset 0 endOffset 8 width 44.40 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
+            chunk 1 (middle anchor) text run 1 at (155.30,150.00) startOffset 0 endOffset 13 width 122.40: "dirLTR ubNone"
+        LayoutSVGInlineText {#text} at (99.48,133.19) size 11.39x21
+          chunk 1 (middle anchor) text run 1 at (99.50,150.00) startOffset 0 endOffset 2 width 11.40 RTL: "\"!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt
index 9289791..5317bc20 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt
@@ -3,14 +3,14 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (81.56,133.19) size 296.86x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (81.56,133.19) size 159.45x21
-          chunk 1 (middle anchor) text run 1 at (81.57,150.00) startOffset 0 endOffset 19 width 159.46: "dirLTR ubOverride \""
-        LayoutSVGTSpan {tspan} at (81.56,133.19) size 296.86x21
-          LayoutSVGInlineText {#text} at (241.03,133.19) size 126x21
-            chunk 1 (middle anchor) text run 1 at (241.03,150.00) startOffset 0 endOffset 17 width 126.00 LTR override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
-        LayoutSVGInlineText {#text} at (367.03,133.19) size 11.39x21
-          chunk 1 (middle anchor) text run 1 at (367.03,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
+      LayoutSVGText {text} at (81.48,133.19) size 297x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (81.48,133.19) size 159.59x21
+          chunk 1 (middle anchor) text run 1 at (81.50,150.00) startOffset 0 endOffset 19 width 159.60: "dirLTR ubOverride \""
+        LayoutSVGTSpan {tspan} at (81.48,133.19) size 297x21
+          LayoutSVGInlineText {#text} at (241.09,133.19) size 126x21
+            chunk 1 (middle anchor) text run 1 at (241.10,150.00) startOffset 0 endOffset 17 width 126.00 LTR override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
+        LayoutSVGInlineText {#text} at (367.09,133.19) size 11.39x21
+          chunk 1 (middle anchor) text run 1 at (367.10,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt
index 9289791..5317bc20 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt
@@ -3,14 +3,14 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (81.56,133.19) size 296.86x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (81.56,133.19) size 159.45x21
-          chunk 1 (middle anchor) text run 1 at (81.57,150.00) startOffset 0 endOffset 19 width 159.46: "dirLTR ubOverride \""
-        LayoutSVGTSpan {tspan} at (81.56,133.19) size 296.86x21
-          LayoutSVGInlineText {#text} at (241.03,133.19) size 126x21
-            chunk 1 (middle anchor) text run 1 at (241.03,150.00) startOffset 0 endOffset 17 width 126.00 LTR override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
-        LayoutSVGInlineText {#text} at (367.03,133.19) size 11.39x21
-          chunk 1 (middle anchor) text run 1 at (367.03,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
+      LayoutSVGText {text} at (81.48,133.19) size 297x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (81.48,133.19) size 159.59x21
+          chunk 1 (middle anchor) text run 1 at (81.50,150.00) startOffset 0 endOffset 19 width 159.60: "dirLTR ubOverride \""
+        LayoutSVGTSpan {tspan} at (81.48,133.19) size 297x21
+          LayoutSVGInlineText {#text} at (241.09,133.19) size 126x21
+            chunk 1 (middle anchor) text run 1 at (241.10,150.00) startOffset 0 endOffset 17 width 126.00 LTR override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
+        LayoutSVGInlineText {#text} at (367.09,133.19) size 11.39x21
+          chunk 1 (middle anchor) text run 1 at (367.10,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.txt
index 768a470..6a085ac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.txt
@@ -3,14 +3,14 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (86.66,133.19) size 286.66x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (290.53,133.19) size 82.80x21
-          chunk 1 (middle anchor) text run 1 at (290.53,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
-        LayoutSVGTSpan {tspan} at (86.66,133.19) size 286.66x21
-          LayoutSVGInlineText {#text} at (98.06,133.19) size 193.06x21
-            chunk 1 (middle anchor) text run 1 at (98.07,150.00) startOffset 0 endOffset 25 width 192.46 LTR override: "dirLTR ubOverride, \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
-        LayoutSVGInlineText {#text} at (86.66,133.19) size 11.39x21
-          chunk 1 (middle anchor) text run 1 at (86.67,150.00) startOffset 0 endOffset 2 width 11.40 RTL: "\"!"
+      LayoutSVGText {text} at (86.59,133.19) size 286.80x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (290.59,133.19) size 82.80x21
+          chunk 1 (middle anchor) text run 1 at (290.60,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
+        LayoutSVGTSpan {tspan} at (86.59,133.19) size 286.80x21
+          LayoutSVGInlineText {#text} at (97.98,133.19) size 193.19x21
+            chunk 1 (middle anchor) text run 1 at (98.00,150.00) startOffset 0 endOffset 25 width 192.60 LTR override: "dirLTR ubOverride, \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
+        LayoutSVGInlineText {#text} at (86.59,133.19) size 11.39x21
+          chunk 1 (middle anchor) text run 1 at (86.60,150.00) startOffset 0 endOffset 2 width 11.40 RTL: "\"!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.txt
index 72cf57d..65bf45d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (88.86,133.19) size 282.27x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (88.86,133.19) size 148.47x21
-          chunk 1 (middle anchor) text run 1 at (88.86,150.00) startOffset 0 endOffset 16 width 148.47: "dirRTL ubEmbed \""
-        LayoutSVGTSpan {tspan} at (88.86,133.19) size 282.27x21
-          LayoutSVGInlineText {#text} at (237.33,133.19) size 122.39x21
-            chunk 1 (middle anchor) text run 1 at (237.34,150.00) startOffset 0 endOffset 3 width 40.20: "W3C"
-            chunk 1 (middle anchor) text run 1 at (277.54,150.00) startOffset 0 endOffset 14 width 82.20 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} "
-        LayoutSVGInlineText {#text} at (359.73,133.19) size 11.39x21
-          chunk 1 (middle anchor) text run 1 at (359.74,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
+      LayoutSVGText {text} at (88.69,133.19) size 282.59x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (88.69,133.19) size 148.80x21
+          chunk 1 (middle anchor) text run 1 at (88.70,150.00) startOffset 0 endOffset 16 width 148.80: "dirRTL ubEmbed \""
+        LayoutSVGTSpan {tspan} at (88.69,133.19) size 282.59x21
+          LayoutSVGInlineText {#text} at (237.50,133.19) size 122.38x21
+            chunk 1 (middle anchor) text run 1 at (237.50,150.00) startOffset 0 endOffset 3 width 40.20: "W3C"
+            chunk 1 (middle anchor) text run 1 at (277.70,150.00) startOffset 0 endOffset 14 width 82.20 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} "
+        LayoutSVGInlineText {#text} at (359.89,133.19) size 11.39x21
+          chunk 1 (middle anchor) text run 1 at (359.90,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.txt
index 72cf57d..65bf45d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (88.86,133.19) size 282.27x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (88.86,133.19) size 148.47x21
-          chunk 1 (middle anchor) text run 1 at (88.86,150.00) startOffset 0 endOffset 16 width 148.47: "dirRTL ubEmbed \""
-        LayoutSVGTSpan {tspan} at (88.86,133.19) size 282.27x21
-          LayoutSVGInlineText {#text} at (237.33,133.19) size 122.39x21
-            chunk 1 (middle anchor) text run 1 at (237.34,150.00) startOffset 0 endOffset 3 width 40.20: "W3C"
-            chunk 1 (middle anchor) text run 1 at (277.54,150.00) startOffset 0 endOffset 14 width 82.20 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} "
-        LayoutSVGInlineText {#text} at (359.73,133.19) size 11.39x21
-          chunk 1 (middle anchor) text run 1 at (359.74,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
+      LayoutSVGText {text} at (88.69,133.19) size 282.59x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (88.69,133.19) size 148.80x21
+          chunk 1 (middle anchor) text run 1 at (88.70,150.00) startOffset 0 endOffset 16 width 148.80: "dirRTL ubEmbed \""
+        LayoutSVGTSpan {tspan} at (88.69,133.19) size 282.59x21
+          LayoutSVGInlineText {#text} at (237.50,133.19) size 122.38x21
+            chunk 1 (middle anchor) text run 1 at (237.50,150.00) startOffset 0 endOffset 3 width 40.20: "W3C"
+            chunk 1 (middle anchor) text run 1 at (277.70,150.00) startOffset 0 endOffset 14 width 82.20 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} "
+        LayoutSVGInlineText {#text} at (359.89,133.19) size 11.39x21
+          chunk 1 (middle anchor) text run 1 at (359.90,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.png
index 84c5478..4d6d9397 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.txt
index 8c95b49..81e31cc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (95.75,133.19) size 268.47x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (95.75,133.19) size 134.67x21
-          chunk 1 (middle anchor) text run 1 at (95.76,150.00) startOffset 0 endOffset 15 width 134.67: "dirRTL ubNone \""
-        LayoutSVGTSpan {tspan} at (95.75,133.19) size 268.47x21
-          LayoutSVGInlineText {#text} at (230.42,133.19) size 122.41x21
-            chunk 1 (middle anchor) text run 1 at (230.44,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
-            chunk 1 (middle anchor) text run 1 at (301.84,150.00) startOffset 0 endOffset 5 width 51.00: "\x{60C} W3C"
-        LayoutSVGInlineText {#text} at (352.83,133.19) size 11.39x21
-          chunk 1 (middle anchor) text run 1 at (352.84,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
+      LayoutSVGText {text} at (95.59,133.19) size 268.80x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (95.59,133.19) size 135x21
+          chunk 1 (middle anchor) text run 1 at (95.60,150.00) startOffset 0 endOffset 15 width 135.00: "dirRTL ubNone \""
+        LayoutSVGTSpan {tspan} at (95.59,133.19) size 268.80x21
+          LayoutSVGInlineText {#text} at (230.59,133.19) size 122.41x21
+            chunk 1 (middle anchor) text run 1 at (230.60,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
+            chunk 1 (middle anchor) text run 1 at (302.00,150.00) startOffset 0 endOffset 5 width 51.00: "\x{60C} W3C"
+        LayoutSVGInlineText {#text} at (353,133.19) size 11.39x21
+          chunk 1 (middle anchor) text run 1 at (353.00,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.png
index 84c5478..4d6d9397 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.txt
index 8c95b49..81e31cc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (95.75,133.19) size 268.47x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (95.75,133.19) size 134.67x21
-          chunk 1 (middle anchor) text run 1 at (95.76,150.00) startOffset 0 endOffset 15 width 134.67: "dirRTL ubNone \""
-        LayoutSVGTSpan {tspan} at (95.75,133.19) size 268.47x21
-          LayoutSVGInlineText {#text} at (230.42,133.19) size 122.41x21
-            chunk 1 (middle anchor) text run 1 at (230.44,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
-            chunk 1 (middle anchor) text run 1 at (301.84,150.00) startOffset 0 endOffset 5 width 51.00: "\x{60C} W3C"
-        LayoutSVGInlineText {#text} at (352.83,133.19) size 11.39x21
-          chunk 1 (middle anchor) text run 1 at (352.84,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
+      LayoutSVGText {text} at (95.59,133.19) size 268.80x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (95.59,133.19) size 135x21
+          chunk 1 (middle anchor) text run 1 at (95.60,150.00) startOffset 0 endOffset 15 width 135.00: "dirRTL ubNone \""
+        LayoutSVGTSpan {tspan} at (95.59,133.19) size 268.80x21
+          LayoutSVGInlineText {#text} at (230.59,133.19) size 122.41x21
+            chunk 1 (middle anchor) text run 1 at (230.60,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
+            chunk 1 (middle anchor) text run 1 at (302.00,150.00) startOffset 0 endOffset 5 width 51.00: "\x{60C} W3C"
+        LayoutSVGInlineText {#text} at (353,133.19) size 11.39x21
+          chunk 1 (middle anchor) text run 1 at (353.00,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.txt
index 885906c..4350852 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.txt
@@ -3,14 +3,14 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (82.86,133.19) size 294.27x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (82.86,133.19) size 160.47x21
-          chunk 1 (middle anchor) text run 1 at (82.86,150.00) startOffset 0 endOffset 19 width 160.47: "dirRTL ubOverride \""
-        LayoutSVGTSpan {tspan} at (82.86,133.19) size 294.27x21
-          LayoutSVGInlineText {#text} at (243.33,133.19) size 122.39x21
-            chunk 1 (middle anchor) text run 1 at (243.34,150.00) startOffset 0 endOffset 17 width 122.40 RTL override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
-        LayoutSVGInlineText {#text} at (365.73,133.19) size 11.39x21
-          chunk 1 (middle anchor) text run 1 at (365.74,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
+      LayoutSVGText {text} at (82.69,133.19) size 294.59x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (82.69,133.19) size 160.80x21
+          chunk 1 (middle anchor) text run 1 at (82.70,150.00) startOffset 0 endOffset 19 width 160.80: "dirRTL ubOverride \""
+        LayoutSVGTSpan {tspan} at (82.69,133.19) size 294.59x21
+          LayoutSVGInlineText {#text} at (243.50,133.19) size 122.39x21
+            chunk 1 (middle anchor) text run 1 at (243.50,150.00) startOffset 0 endOffset 17 width 122.40 RTL override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
+        LayoutSVGInlineText {#text} at (365.89,133.19) size 11.39x21
+          chunk 1 (middle anchor) text run 1 at (365.90,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.txt
index 885906c..4350852 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.txt
@@ -3,14 +3,14 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (82.86,133.19) size 294.27x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (82.86,133.19) size 160.47x21
-          chunk 1 (middle anchor) text run 1 at (82.86,150.00) startOffset 0 endOffset 19 width 160.47: "dirRTL ubOverride \""
-        LayoutSVGTSpan {tspan} at (82.86,133.19) size 294.27x21
-          LayoutSVGInlineText {#text} at (243.33,133.19) size 122.39x21
-            chunk 1 (middle anchor) text run 1 at (243.34,150.00) startOffset 0 endOffset 17 width 122.40 RTL override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
-        LayoutSVGInlineText {#text} at (365.73,133.19) size 11.39x21
-          chunk 1 (middle anchor) text run 1 at (365.74,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
+      LayoutSVGText {text} at (82.69,133.19) size 294.59x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (82.69,133.19) size 160.80x21
+          chunk 1 (middle anchor) text run 1 at (82.70,150.00) startOffset 0 endOffset 19 width 160.80: "dirRTL ubOverride \""
+        LayoutSVGTSpan {tspan} at (82.69,133.19) size 294.59x21
+          LayoutSVGInlineText {#text} at (243.50,133.19) size 122.39x21
+            chunk 1 (middle anchor) text run 1 at (243.50,150.00) startOffset 0 endOffset 17 width 122.40 RTL override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
+        LayoutSVGInlineText {#text} at (365.89,133.19) size 11.39x21
+          chunk 1 (middle anchor) text run 1 at (365.90,150.00) startOffset 0 endOffset 2 width 11.40: "\"!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.txt
index badc175..593e321 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.txt
@@ -3,14 +3,14 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (86.66,133.19) size 286.66x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (290.53,133.19) size 82.80x21
-          chunk 1 (middle anchor) text run 1 at (290.53,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
-        LayoutSVGTSpan {tspan} at (86.66,133.19) size 286.66x21
-          LayoutSVGInlineText {#text} at (98.06,133.19) size 192.45x21
-            chunk 1 (middle anchor) text run 1 at (98.07,150.00) startOffset 0 endOffset 25 width 192.46 RTL override: "dirRTL ubOverride, \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
-        LayoutSVGInlineText {#text} at (86.66,133.19) size 11.39x21
-          chunk 1 (middle anchor) text run 1 at (86.67,150.00) startOffset 0 endOffset 2 width 11.40 RTL: "\"!"
+      LayoutSVGText {text} at (86.59,133.19) size 286.80x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (290.59,133.19) size 82.80x21
+          chunk 1 (middle anchor) text run 1 at (290.60,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
+        LayoutSVGTSpan {tspan} at (86.59,133.19) size 286.80x21
+          LayoutSVGInlineText {#text} at (97.98,133.19) size 192.59x21
+            chunk 1 (middle anchor) text run 1 at (98.00,150.00) startOffset 0 endOffset 25 width 192.60 RTL override: "dirRTL ubOverride, \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
+        LayoutSVGInlineText {#text} at (86.59,133.19) size 11.39x21
+          chunk 1 (middle anchor) text run 1 at (86.60,150.00) startOffset 0 endOffset 2 width 11.40 RTL: "\"!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-direction-ltr-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-direction-ltr-expected.txt
index 3a824e0..6fa9ddd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-direction-ltr-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-direction-ltr-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (89.36,133.19) size 281.25x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (100.77,133.19) size 147.45x21
-          chunk 1 (middle anchor) text run 1 at (100.77,150.00) startOffset 0 endOffset 16 width 147.46: "dirLTR ubEmbed \""
-        LayoutSVGTSpan {tspan} at (89.36,133.19) size 281.25x21
-          LayoutSVGInlineText {#text} at (248.22,133.19) size 122.41x21
-            chunk 1 (middle anchor) text run 1 at (248.23,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
-            chunk 1 (middle anchor) text run 1 at (319.63,150.00) startOffset 0 endOffset 5 width 51.00: "\x{60C} W3C"
-        LayoutSVGInlineText {#text} at (89.36,133.19) size 11.39x21
-          chunk 1 (middle anchor) text run 1 at (89.37,150.00) startOffset 0 endOffset 2 width 11.40 RTL: "\"!"
+      LayoutSVGText {text} at (89.30,133.19) size 281.39x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (100.69,133.19) size 147.59x21
+          chunk 1 (middle anchor) text run 1 at (100.70,150.00) startOffset 0 endOffset 16 width 147.60: "dirLTR ubEmbed \""
+        LayoutSVGTSpan {tspan} at (89.30,133.19) size 281.39x21
+          LayoutSVGInlineText {#text} at (248.30,133.19) size 122.39x21
+            chunk 1 (middle anchor) text run 1 at (248.30,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
+            chunk 1 (middle anchor) text run 1 at (319.70,150.00) startOffset 0 endOffset 5 width 51.00: "\x{60C} W3C"
+        LayoutSVGInlineText {#text} at (89.30,133.19) size 11.39x21
+          chunk 1 (middle anchor) text run 1 at (89.30,150.00) startOffset 0 endOffset 2 width 11.40 RTL: "\"!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-direction-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-direction-rtl-expected.png
index 9b22457..e252e24 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-direction-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-direction-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-direction-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-direction-rtl-expected.txt
index b01ba51..7289f884 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-direction-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-I18N/tspan-direction-rtl-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (92.16,133.19) size 275.67x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (285.03,133.19) size 82.80x21
-          chunk 1 (middle anchor) text run 1 at (285.04,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
-        LayoutSVGTSpan {tspan} at (92.16,133.19) size 275.67x21
-          LayoutSVGInlineText {#text} at (103.56,133.19) size 181.45x21
-            chunk 1 (middle anchor) text run 1 at (103.56,150.00) startOffset 0 endOffset 8 width 44.40 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
-            chunk 1 (middle anchor) text run 1 at (147.96,150.00) startOffset 0 endOffset 14 width 137.07: "dirRTL ubEmbed"
-        LayoutSVGInlineText {#text} at (92.16,133.19) size 11.39x21
-          chunk 1 (middle anchor) text run 1 at (92.16,150.00) startOffset 0 endOffset 2 width 11.40 RTL: "\"!"
+      LayoutSVGText {text} at (91.98,133.19) size 276x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (285.19,133.19) size 82.80x21
+          chunk 1 (middle anchor) text run 1 at (285.20,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
+        LayoutSVGTSpan {tspan} at (91.98,133.19) size 276x21
+          LayoutSVGInlineText {#text} at (103.39,133.19) size 181.80x21
+            chunk 1 (middle anchor) text run 1 at (103.40,150.00) startOffset 0 endOffset 8 width 44.40 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
+            chunk 1 (middle anchor) text run 1 at (147.80,150.00) startOffset 0 endOffset 14 width 137.40: "dirRTL ubEmbed"
+        LayoutSVGInlineText {#text} at (91.98,133.19) size 11.39x21
+          chunk 1 (middle anchor) text run 1 at (92.00,150.00) startOffset 0 endOffset 2 width 11.40 RTL: "\"!"
       LayoutSVGText {text} at (20,171) size 85.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 85.19x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 85.20: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png
index 90c5f1e..01ab0c8d3a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt
index 2cad738..bd68a22 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt
@@ -3,23 +3,23 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (10,17.39) size 377.64x202.61
-      LayoutSVGText {text} at (10,17.39) size 377.64x15.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,17.39) size 377.64x15.59
-          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 60 width 377.05: "Test that some methods taking an SVGMatrix take a copy of it"
+    LayoutSVGContainer {g} at (10,17.39) size 378x202.61
+      LayoutSVGText {text} at (10,17.39) size 378x15.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,17.39) size 378x15.59
+          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 60 width 377.40: "Test that some methods taking an SVGMatrix take a copy of it"
       LayoutSVGRect {rect} at (10,50) size 50x50 [fill={[type=SOLID] [color=#00FF00]}] [x=10.00] [y=50.00] [width=50.00] [height=50.00]
       LayoutSVGRect {rect} at (10,110) size 50x50 [fill={[type=SOLID] [color=#00FF00]}] [x=10.00] [y=110.00] [width=50.00] [height=50.00]
       LayoutSVGRect {rect} at (10,170) size 50x50 [fill={[type=SOLID] [color=#00FF00]}] [x=10.00] [y=170.00] [width=50.00] [height=50.00]
-      LayoutSVGContainer {g} at (70,71) size 239.84x131.39
-        LayoutSVGText {text} at (70,71) size 239.84x11.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,71) size 239.84x11.39
-            chunk 1 text run 1 at (70.00,80.00) startOffset 0 endOffset 47 width 239.86: "SVGTransformList.createSVGTransformFromMatrix()"
-        LayoutSVGText {text} at (70,131) size 235.42x11.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,131) size 235.42x11.39
-            chunk 1 text run 1 at (70.00,140.00) startOffset 0 endOffset 44 width 235.43: "SVGSVGElement.createSVGTransformFromMatrix()"
-        LayoutSVGText {text} at (70,191) size 119.02x11.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,191) size 119.02x11.39
-            chunk 1 text run 1 at (70.00,200.00) startOffset 0 endOffset 24 width 119.03: "SVGTransform.setMatrix()"
+      LayoutSVGContainer {g} at (70,71) size 240.59x131.39
+        LayoutSVGText {text} at (70,71) size 240.59x11.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,71) size 240.59x11.39
+            chunk 1 text run 1 at (70.00,80.00) startOffset 0 endOffset 47 width 240.60: "SVGTransformList.createSVGTransformFromMatrix()"
+        LayoutSVGText {text} at (70,131) size 235.80x11.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,131) size 235.80x11.39
+            chunk 1 text run 1 at (70.00,140.00) startOffset 0 endOffset 44 width 235.80: "SVGSVGElement.createSVGTransformFromMatrix()"
+        LayoutSVGText {text} at (70,191) size 119.39x11.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,191) size 119.39x11.39
+            chunk 1 text run 1 at (70.00,200.00) startOffset 0 endOffset 24 width 119.40: "SVGTransform.setMatrix()"
       LayoutSVGContainer {g} at (0,0) size 0x0 [transform={m=((3.00,0.00)(0.00,1.00)) t=(0.00,0.00)}]
     LayoutSVGContainer {g} at (10,311.19) size 227.39x36
       LayoutSVGText {text} at (10,311.19) size 227.39x36 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png
index 7c7ada8..f410e35 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt
index 60a2bab..82a1e6f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt
@@ -52,9 +52,9 @@
             LayoutSVGInlineText {#text} at (20,203.19) size 159x21
               chunk 1 text run 1 at (20.00,220.00) startOffset 0 endOffset 18 width 159.00: "Passed subtest #10"
           LayoutSVGRect {rect} at (0,225) size 15x15 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=225.00] [width=15.00] [height=15.00]
-          LayoutSVGText {text} at (20,223.19) size 157.66x21 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,223.19) size 157.66x21
-              chunk 1 text run 1 at (20.00,240.00) startOffset 0 endOffset 18 width 157.66: "Passed subtest #11"
+          LayoutSVGText {text} at (20,223.19) size 157.80x21 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,223.19) size 157.80x21
+              chunk 1 text run 1 at (20.00,240.00) startOffset 0 endOffset 18 width 157.80: "Passed subtest #11"
           LayoutSVGRect {rect} at (0,245) size 15x15 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=245.00] [width=15.00] [height=15.00]
           LayoutSVGText {text} at (20,243.19) size 159x21 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (20,243.19) size 159x21
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.txt
index 9adfc46..3094eb34 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.txt
@@ -44,23 +44,23 @@
         LayoutSVGResourceFilter {filter} [id="xMaxYMaxSlice"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
           [feImage image-size="100x100"]
       LayoutSVGContainer {g} at (10.50,-15.59) size 419.50x280.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,30.00)}]
-        LayoutSVGText {text} at (57.88,-15.59) size 364.22x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (57.88,-15.59) size 364.22x19.19
-            chunk 1 (middle anchor) text run 1 at (57.89,0.00) startOffset 0 endOffset 47 width 364.23: "Test preserveAspectRatio on an feImage element."
+        LayoutSVGText {text} at (57.59,-15.59) size 364.80x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (57.59,-15.59) size 364.80x19.19
+            chunk 1 (middle anchor) text run 1 at (57.60,0.00) startOffset 0 endOffset 47 width 364.80: "Test preserveAspectRatio on an feImage element."
         LayoutSVGText {text} at (17.50,21.59) size 45.59x10.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (17.50,21.59) size 45.59x10.19
             chunk 1 (middle anchor) text run 1 at (17.50,30.00) startOffset 0 endOffset 13 width 45.00: "Raster to fit"
         LayoutSVGContainer {g} at (0,0) size 40x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,40.00)}]
           LayoutSVGRect {rect} at (0,0) size 40x40 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=40.00] [height=40.00]
             [filter="default"] LayoutSVGResourceFilter {filter} at (0,0) size 40x40
-        LayoutSVGText {text} at (14.88,101.59) size 41.23x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (14.88,101.59) size 41.23x10.19
-            chunk 1 (middle anchor) text run 1 at (14.88,110.00) startOffset 0 endOffset 10 width 41.24: "Viewport 1"
+        LayoutSVGText {text} at (14.80,101.59) size 41.39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (14.80,101.59) size 41.39x10.19
+            chunk 1 (middle anchor) text run 1 at (14.80,110.00) startOffset 0 endOffset 10 width 41.40: "Viewport 1"
         LayoutSVGContainer {g} at (0.50,0.50) size 49x29 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,120.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 49x29 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=49.00] [height=29.00]
-        LayoutSVGText {text} at (14.88,171.59) size 41.23x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (14.88,171.59) size 41.23x10.19
-            chunk 1 (middle anchor) text run 1 at (14.88,180.00) startOffset 0 endOffset 10 width 41.24: "Viewport 2"
+        LayoutSVGText {text} at (14.80,171.59) size 41.39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (14.80,171.59) size 41.39x10.19
+            chunk 1 (middle anchor) text run 1 at (14.80,180.00) startOffset 0 endOffset 10 width 41.40: "Viewport 2"
         LayoutSVGContainer {g} at (0.50,0.50) size 29x59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,190.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 29x59 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=29.00] [height=59.00]
         LayoutSVGContainer {g} at (0,-28.39) size 120x108.39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,50.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png
index 3ddaf211..e5ed22a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt
index 040108d..b22cd9b1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt
@@ -3,10 +3,10 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (10,28.59) size 291.47x124.41
-      LayoutSVGText {text} at (10,28.59) size 291.47x13.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,28.59) size 291.47x13.80
-          chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 56 width 291.47: "Test pointer-events=\"painted\" with paint server fallback"
+    LayoutSVGContainer {g} at (10,28.59) size 291.59x124.41
+      LayoutSVGText {text} at (10,28.59) size 291.59x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,28.59) size 291.59x13.80
+          chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 56 width 291.60: "Test pointer-events=\"painted\" with paint server fallback"
       LayoutSVGRect {rect} at (10,80) size 50x50 [fill={[type=SOLID] [color=#000000]}] [x=10.00] [y=80.00] [width=50.00] [height=50.00]
       LayoutSVGRect {rect} at (10,80) size 50x50 [x=10.00] [y=80.00] [width=50.00] [height=50.00]
       LayoutSVGContainer {g} at (10,138) size 255x15
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt
index 2e26871..a3aa046 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt
@@ -64,9 +64,9 @@
           LayoutSVGInlineText {#text} at (59.80,282.39) size 50.39x15.59
             chunk 1 (middle anchor) text run 1 at (59.80,295.00) startOffset 0 endOffset 7 width 50.40: "Polygon"
         LayoutSVGRect {rect} at (36,208) size 100x89 [stroke={[type=SOLID] [color=#000000]}] [x=36.00] [y=208.00] [width=100.00] [height=89.00]
-        LayoutSVGText {text} at (52.55,186) size 64.89x11.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (52.55,186) size 64.89x11.39
-            chunk 1 (middle anchor) text run 1 at (52.55,195.00) startOffset 0 endOffset 14 width 64.89: "viewTarget, no"
+        LayoutSVGText {text} at (52.59,186) size 64.80x11.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (52.59,186) size 64.80x11.39
+            chunk 1 (middle anchor) text run 1 at (52.60,195.00) startOffset 0 endOffset 14 width 64.80: "viewTarget, no"
         LayoutSVGText {text} at (40,195) size 90x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (40,195) size 90x11.39
             chunk 1 (middle anchor) text run 1 at (40.00,204.00) startOffset 0 endOffset 19 width 90.00: "changes to viewport"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.png
index 7f89982..fcbdfdd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.txt
index eda4a49..9c0108e8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.txt
@@ -55,9 +55,9 @@
           LayoutSVGEllipse {circle} at (-2,-2) size 14x14 [fill={[type=SOLID] [color=#008000]}] [cx=5.00] [cy=5.00] [r=7.00]
         LayoutSVGResourceMarker {marker} [id="hmarkerEnd"] [markerUnits=strokeWidth] [ref at (10,10)] [angle=0.00]
           LayoutSVGPath {path} at (0,0) size 20x20 [fill={[type=SOLID] [color=#0000FF]}] [data="M 10 0 L 20 20 L 0 20 Z"]
-      LayoutSVGText {text} at (156.69,37.19) size 166.59x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (156.69,37.19) size 166.59x21
-          chunk 1 (middle anchor) text run 1 at (156.70,54.00) startOffset 0 endOffset 20 width 166.60: "Test marker overflow"
+      LayoutSVGText {text} at (156.89,37.19) size 166.19x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (156.89,37.19) size 166.19x21
+          chunk 1 (middle anchor) text run 1 at (156.90,54.00) startOffset 0 endOffset 20 width 166.20: "Test marker overflow"
       LayoutSVGContainer {g} at (39.30,-12.59) size 414.09x15.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,280.00)}]
         LayoutSVGText {text} at (39.30,-12.59) size 42x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (39.30,-12.59) size 42x15.59
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.png
index 82cae4e..5f91fbd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.txt
index 411e82c..bfe1c0b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.txt
@@ -3,10 +3,10 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (10,28) size 381.36x152
-      LayoutSVGText {text} at (10,28) size 381.36x15 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,28) size 381.36x15
-          chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 67 width 381.36: "Test getIntersectionList and getEnclosureList return value liveness"
+    LayoutSVGContainer {g} at (10,28) size 381.59x152
+      LayoutSVGText {text} at (10,28) size 381.59x15 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,28) size 381.59x15
+          chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 67 width 381.60: "Test getIntersectionList and getEnclosureList return value liveness"
       LayoutSVGRect {rect} at (10,70) size 50x50 [fill={[type=SOLID] [color=#00FF00]}] [x=10.00] [y=70.00] [width=50.00] [height=50.00]
       LayoutSVGText {text} at (70,83.19) size 147.59x21 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (70,83.19) size 147.59x21
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt
index 0350aa3..ea99c91c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (-10,-16.80) size 449x241.80
-      LayoutSVGText {text} at (10,3.19) size 343.59x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,3.19) size 343.59x21
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 44 width 343.60: "Testing inapplicable presentation attributes"
+      LayoutSVGText {text} at (10,3.19) size 343.19x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,3.19) size 343.19x21
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 44 width 343.20: "Testing inapplicable presentation attributes"
       LayoutSVGContainer {g} at (-10,-16.80) size 30.39x26.80
         LayoutSVGPath {path} at (0,0) size 0x0 [fill={[type=SOLID] [color=#000000]}] [data="M 0 0"]
         LayoutSVGImage {image} at (0,0) size 10x10
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.png
index 464c5027..f1a28d9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt
index cda9bc2..6b355be 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt
@@ -3,7 +3,7 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (10,48.61) size 409.16x230.19
+    LayoutSVGContainer {g} at (10,48.61) size 407.19x230.19
       LayoutSVGHiddenContainer {defs} at (0,-16.80) size 73.80x21
         LayoutSVGRect {rect} at (0,0) size 1x1 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=1.00] [height=1.00]
         LayoutSVGImage {image} at (0,0) size 1x1
@@ -16,121 +16,121 @@
         LayoutSVGViewportContainer {svg} at (0,0) size 0x0
         LayoutSVGResourceFilter {filter} [id="f"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
         LayoutSVGPath {polygon} at (0,0) size 0x0 [fill={[type=SOLID] [color=#000000]}] [points=""]
-      LayoutSVGContainer {g} at (0,-1.39) size 137.77x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,50.00)}]
+      LayoutSVGContainer {g} at (0,-1.39) size 137.19x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,50.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 127.77x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 127.77x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 30 width 127.77: "r.x.baseVal.value == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 286.66x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,60.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 127.19x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 127.19x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 30 width 127.20: "r.x.baseVal.value == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 286.59x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,60.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 276.66x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 276.66x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 57 width 276.67: "r.x.baseVal.unitType == 1 (SVG_LENGTHTYPE_NUMBER): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 228.19x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,70.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 276.59x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 276.59x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 57 width 276.60: "r.x.baseVal.unitType == 1 (SVG_LENGTHTYPE_NUMBER): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 226.59x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,70.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 218.19x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 218.19x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 52 width 218.20: "v.width.baseVal.valueInSpecifiedUnits == 100: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 326.03x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,80.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 216.59x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 216.59x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 52 width 216.60: "v.width.baseVal.valueInSpecifiedUnits == 100: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 324.39x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,80.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 316.03x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 316.03x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 65 width 316.03: "v.width.baseVal.unitType == 2 (SVG_LENGTHTYPE_PERCENTAGE): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 280.06x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,90.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 314.39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 314.39x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 65 width 314.40: "v.width.baseVal.unitType == 2 (SVG_LENGTHTYPE_PERCENTAGE): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 278.80x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,90.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 270.06x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 270.06x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 65 width 270.07: "tt.textLength.baseVal.value == tt.getComputedTextLength(): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 133.30x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,100.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 268.80x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 268.80x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 65 width 268.80: "tt.textLength.baseVal.value == tt.getComputedTextLength(): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 132.39x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,100.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 123.30x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 123.30x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 29 width 123.30: "s.offset.baseVal == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 182.66x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,110.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 122.39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 122.39x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 29 width 122.40: "s.offset.baseVal == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 181.59x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,110.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 172.66x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 172.66x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 40 width 172.66: "c.preserveAlpha.baseVal == false: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 158.06x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,120.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 171.59x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 171.59x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 40 width 171.60: "c.preserveAlpha.baseVal == false: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 157x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,120.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 148.06x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 148.06x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 33 width 148.06: "c.className.baseVal == \"\": PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 125.06x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,130.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 147x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 147x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 33 width 147.00: "c.className.baseVal == \"\": PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 124x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,130.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 115.06x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 115.06x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 28 width 115.06: "i.href.baseVal == \"\": PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 215.13x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,140.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 114x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 114x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 28 width 114.00: "i.href.baseVal == \"\": PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 214.59x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,140.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 205.13x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 205.13x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 47 width 205.13: "i.requiredExtensions.numberOfItems == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 224.66x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,150.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 204.59x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 204.59x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 47 width 204.60: "i.requiredExtensions.numberOfItems == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 223.59x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,150.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 214.66x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 214.66x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 49 width 214.66: "c.kernelMatrix.baseVal.numberOfItems == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 178.45x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,160.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 213.59x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 213.59x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 49 width 213.60: "c.kernelMatrix.baseVal.numberOfItems == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 177.39x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,160.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 168.45x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 168.45x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 38 width 168.46: "t.x.baseVal.numberOfItems == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 165.92x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,170.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 167.39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 167.39x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 38 width 167.40: "t.x.baseVal.numberOfItems == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 165.39x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,170.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 155.92x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 155.92x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 35 width 155.93: "p.points.numberOfItems == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 354.25x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,180.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 155.39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 155.39x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 35 width 155.40: "p.points.numberOfItems == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 353.19x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,180.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 344.25x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 344.25x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 70 width 344.26: "g.gradientUnits.baseVal == 2 (SVG_UNIT_TYPE_OBJECTBOUNDINGBOX): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 140.06x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,190.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 343.19x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 343.19x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 70 width 343.20: "g.gradientUnits.baseVal == 2 (SVG_UNIT_TYPE_OBJECTBOUNDINGBOX): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 139x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,190.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 130.06x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 130.06x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 30 width 130.06: "c.targetX.baseVal == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 182.06x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,200.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 129x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 129x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 30 width 129.00: "c.targetX.baseVal == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 181x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,200.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 172.06x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 172.06x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 40 width 172.06: "m.orientAngle.baseVal.value == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 345.95x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,210.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 171x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 171x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 40 width 171.00: "m.orientAngle.baseVal.value == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 345.39x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,210.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 335.95x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 335.95x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 71 width 335.97: "m.orientAngle.baseVal.unitType == 1 (SVG_ANGLETYPE_UNSPECIFIED): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 211.92x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,220.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 335.39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 335.39x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 71 width 335.40: "m.orientAngle.baseVal.unitType == 1 (SVG_ANGLETYPE_UNSPECIFIED): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 209.80x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,220.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 201.92x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 201.92x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 49 width 201.93: "v.viewBox.baseVal.[x,y,width,height] == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 211.45x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,230.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 199.80x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 199.80x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 49 width 199.80: "v.viewBox.baseVal.[x,y,width,height] == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 210.39x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,230.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 201.45x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 201.45x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 46 width 201.46: "t.transform.baseVal.numberOfItems == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 409.16x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,240.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 200.39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 200.39x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 46 width 200.40: "t.transform.baseVal.numberOfItems == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 407.19x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,240.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 399.16x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 399.16x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 83 width 399.17: "v.preserveAspectRatio.baseVal.align == 6 (SVG_PRESERVEASPECTRATIO_XMIDYMID): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 372.63x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,250.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 397.19x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 397.19x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 83 width 397.20: "v.preserveAspectRatio.baseVal.align == 6 (SVG_PRESERVEASPECTRATIO_XMIDYMID): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 371.19x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,250.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 362.63x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 362.63x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 77 width 362.63: "v.preserveAspectRatio.baseVal.meetOrSlice == 1 (SVG_MEETORSLICE_MEET): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 274.39x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,260.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 361.19x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 361.19x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 77 width 361.20: "v.preserveAspectRatio.baseVal.meetOrSlice == 1 (SVG_MEETORSLICE_MEET): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 272.80x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,260.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 264.39x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 264.39x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 50 width 264.40: "v.zoomAndPan == 2 (SVG_ZOOMANDPAN_MAGNIFY): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 93.53x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,270.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 262.80x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 262.80x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 50 width 262.80: "v.zoomAndPan == 2 (SVG_ZOOMANDPAN_MAGNIFY): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 92.80x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,270.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 83.53x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 83.53x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 19 width 83.53: "Test status: PASSED"
+        LayoutSVGText {text} at (10,-1.39) size 82.80x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 82.80x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 19 width 82.80: "Test status: PASSED"
     LayoutSVGContainer {g} at (10,311.19) size 227.39x36
       LayoutSVGText {text} at (10,311.19) size 227.39x36 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,311.19) size 227.39x36
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-02-b-expected.txt
index 6cab8b4..79477ec6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-02-b-expected.txt
@@ -7,10 +7,10 @@
       LayoutSVGText {text} at (10,24.39) size 315.59x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,24.39) size 315.59x19.19
           chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 45 width 315.60: "unicode-bidi=\"bidi-override\" direction=\"ltr\"."
-      LayoutSVGContainer {g} at (10,63.80) size 376.14x20.39
-        LayoutSVGText {text} at (10,63.80) size 376.14x20.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,63.80) size 376.14x20.39
-            chunk 1 text run 1 at (10.00,80.00) startOffset 0 endOffset 56 width 376.14 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
+      LayoutSVGContainer {g} at (10,63.80) size 376.19x20.39
+        LayoutSVGText {text} at (10,63.80) size 376.19x20.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,63.80) size 376.19x20.39
+            chunk 1 text run 1 at (10.00,80.00) startOffset 0 endOffset 56 width 376.20 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
       LayoutSVGText {text} at (10,124.39) size 315.59x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,124.39) size 315.59x19.19
           chunk 1 text run 1 at (10.00,140.00) startOffset 0 endOffset 45 width 315.60: "unicode-bidi=\"bidi-override\" direction=\"rtl\"."
@@ -21,12 +21,12 @@
       LayoutSVGText {text} at (10,224.39) size 274.19x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,224.39) size 274.19x19.19
           chunk 1 text run 1 at (10.00,240.00) startOffset 0 endOffset 38 width 274.20: "unicode-bidi=\"normal\" direction=\"rtl\"."
-      LayoutSVGContainer {g} at (10,263.80) size 376.73x20.39
-        LayoutSVGText {text} at (10,263.80) size 376.73x20.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,263.80) size 376.72x20.39
+      LayoutSVGContainer {g} at (10,263.80) size 376.80x20.39
+        LayoutSVGText {text} at (10,263.80) size 376.80x20.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,263.80) size 376.78x20.39
             chunk 1 (end anchor) text run 1 at (10.00,280.00) startOffset 0 endOffset 12 width 92.40: "is in Hebrew"
             chunk 1 (end anchor) text run 1 at (102.40,280.00) startOffset 0 endOffset 40 width 252.60 RTL: " \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" "
-            chunk 1 (end anchor) text run 1 at (355.00,280.00) startOffset 0 endOffset 4 width 31.14: "Text"
+            chunk 1 (end anchor) text run 1 at (355.00,280.00) startOffset 0 endOffset 4 width 31.20: "Text"
     LayoutSVGContainer {g} at (10,311.19) size 227.39x36
       LayoutSVGText {text} at (10,311.19) size 227.39x36 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,311.19) size 227.39x36
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.png
index a7e2f19..cf772326 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt
index cf64c4f..b397651 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (43,49.31) size 418.80x197.88
-      LayoutSVGText {text} at (113.19,49.31) size 348.59x37.88 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (113.19,49.31) size 348.59x37.88
+    LayoutSVGContainer {g} at (43,49.39) size 418.80x197.80
+      LayoutSVGText {text} at (113.19,49.39) size 348.59x37.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (113.19,49.39) size 348.59x37.80
           chunk 1 text run 1 at (113.20,80.00) startOffset 0 endOffset 37 width 346.80 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
-      LayoutSVGText {text} at (43,123.55) size 418.80x44.84 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (43,123.55) size 418.80x44.84
+      LayoutSVGText {text} at (43,123.39) size 418.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (43,123.39) size 418.80x45
           chunk 1 text run 1 at (43.00,160.00) startOffset 0 endOffset 37 width 417.00 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
-      LayoutSVGText {text} at (113.19,209.31) size 348.59x37.88 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (113.19,209.31) size 348.59x37.88
+      LayoutSVGText {text} at (113.19,209.39) size 348.59x37.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (113.19,209.39) size 348.59x37.80
           chunk 1 text run 1 at (113.20,240.00) startOffset 0 endOffset 37 width 346.80 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
     LayoutSVGContainer {g} at (10,311.19) size 227.39x36
       LayoutSVGText {text} at (10,311.19) size 227.39x36 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.txt
index 16e02d5..c14e2df 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.txt
@@ -7,10 +7,10 @@
       LayoutSVGText {text} at (10,24.39) size 315.59x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,24.39) size 315.59x19.19
           chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 45 width 315.60: "unicode-bidi=\"bidi-override\" direction=\"ltr\"."
-      LayoutSVGContainer {g} at (10,63.80) size 376.14x20.39
-        LayoutSVGText {text} at (10,63.80) size 376.14x20.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,63.80) size 376.14x20.39
-            chunk 1 text run 1 at (10.00,80.00) startOffset 0 endOffset 56 width 376.14 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
+      LayoutSVGContainer {g} at (10,63.80) size 376.19x20.39
+        LayoutSVGText {text} at (10,63.80) size 376.19x20.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,63.80) size 376.19x20.39
+            chunk 1 text run 1 at (10.00,80.00) startOffset 0 endOffset 56 width 376.20 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
       LayoutSVGText {text} at (10,124.39) size 315.59x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,124.39) size 315.59x19.19
           chunk 1 text run 1 at (10.00,140.00) startOffset 0 endOffset 45 width 315.60: "unicode-bidi=\"bidi-override\" direction=\"rtl\"."
@@ -21,12 +21,12 @@
       LayoutSVGText {text} at (10,224.39) size 274.19x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,224.39) size 274.19x19.19
           chunk 1 text run 1 at (10.00,240.00) startOffset 0 endOffset 38 width 274.20: "unicode-bidi=\"normal\" direction=\"rtl\"."
-      LayoutSVGContainer {g} at (10,263.80) size 376.73x20.39
-        LayoutSVGText {text} at (10,263.80) size 376.73x20.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,263.80) size 376.72x20.39
+      LayoutSVGContainer {g} at (10,263.80) size 376.80x20.39
+        LayoutSVGText {text} at (10,263.80) size 376.80x20.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,263.80) size 376.78x20.39
             chunk 1 (end anchor) text run 1 at (10.00,280.00) startOffset 0 endOffset 12 width 92.40: "is in Hebrew"
             chunk 1 (end anchor) text run 1 at (102.40,280.00) startOffset 0 endOffset 40 width 252.60 RTL: " \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" "
-            chunk 1 (end anchor) text run 1 at (355.00,280.00) startOffset 0 endOffset 4 width 31.14: "Text"
+            chunk 1 (end anchor) text run 1 at (355.00,280.00) startOffset 0 endOffset 4 width 31.20: "Text"
     LayoutSVGContainer {g} at (10,311.19) size 227.39x36
       LayoutSVGText {text} at (10,311.19) size 227.39x36 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,311.19) size 227.39x36
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt
index 95c3d4f5..cd14aa5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt
@@ -186,8 +186,8 @@
             chunk 1 text run 1 at (340.00,210.00) startOffset 0 endOffset 43 width 132.00: "   55    55  55  55   55 55  55   55       "
         LayoutSVGInlineText {#text} at (472,202.19) size 12x9.59
           chunk 1 text run 1 at (472.00,210.00) startOffset 0 endOffset 5 width 12.00: "     "
-    LayoutSVGContainer {g} at (10,311.19) size 242.42x36
-      LayoutSVGText {text} at (10,311.19) size 242.42x36 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,311.19) size 242.42x36
-          chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 242.43: "$Revision: 1.11 $"
+    LayoutSVGContainer {g} at (10,311.19) size 242.39x36
+      LayoutSVGText {text} at (10,311.19) size 242.39x36 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,311.19) size 242.39x36
+          chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 242.40: "$Revision: 1.11 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png
index 8961a70..0a90b9d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt
index 4985c88..80662435 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt
@@ -5,30 +5,30 @@
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (10,8.31) size 365x274.08
       LayoutSVGContainer {g} at (10,8.31) size 365x274.08
-        LayoutSVGContainer {g} at (-52.61,68.31) size 357.61x154.76 [transform={m=((1.00,0.00)(0.00,1.00)) t=(70.00,-60.00)}]
-          LayoutSVGText {text} at (30,131) size 341.78x23 [transform={m=((0.42,0.42)(-0.42,0.42)) t=(0.00,0.00)}] contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (30,131) size 341.78x23
-              chunk 1 text run 1 at (30.00,150.00) startOffset 0 endOffset 37 width 341.78: "Rotated Text for testing SVGLocatable"
-          LayoutSVGText {text} at (100,112) size 293.48x22.28 [transform={m=((0.70,0.00)(0.00,0.70)) t=(0.00,0.00)}] contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (100,112) size 293.48x22.28
-              chunk 1 text run 1 at (100.00,130.00) startOffset 0 endOffset 35 width 293.50: "Some other text with id 'otherText'"
+        LayoutSVGContainer {g} at (-52.61,68.31) size 357.61x154.86 [transform={m=((1.00,0.00)(0.00,1.00)) t=(70.00,-60.00)}]
+          LayoutSVGText {text} at (30,131) size 342x23 [transform={m=((0.42,0.42)(-0.42,0.42)) t=(0.00,0.00)}] contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (30,131) size 342x23
+              chunk 1 text run 1 at (30.00,150.00) startOffset 0 endOffset 37 width 342.00: "Rotated Text for testing SVGLocatable"
+          LayoutSVGText {text} at (100,112) size 294x22.28 [transform={m=((0.70,0.00)(0.00,0.70)) t=(0.00,0.00)}] contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (100,112) size 294x22.28
+              chunk 1 text run 1 at (100.00,130.00) startOffset 0 endOffset 35 width 294.00: "Some other text with id 'otherText'"
           LayoutSVGViewportContainer {svg} at (-50,-50) size 100x100
             LayoutSVGEllipse {circle} at (-50,-50) size 100x100 [fill={[type=SOLID] [color=#0000FF]}] [cx=0.00] [cy=0.00] [r=50.00]
-        LayoutSVGText {text} at (10,188.59) size 291.91x13.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,188.59) size 291.91x13.80
-            chunk 1 text run 1 at (10.00,200.00) startOffset 0 endOffset 52 width 291.91: ".getScreenCTM(): 0.71,0.71,-0.71,0.71,116.67,-100.00"
-        LayoutSVGText {text} at (10,208.59) size 254.11x13.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,208.59) size 254.11x13.80
-            chunk 1 text run 1 at (10.00,220.00) startOffset 0 endOffset 46 width 254.11: ".getCTM(): 0.71,0.71,-0.71,0.71,116.67,-100.00"
+        LayoutSVGText {text} at (10,188.59) size 291.59x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,188.59) size 291.59x13.80
+            chunk 1 text run 1 at (10.00,200.00) startOffset 0 endOffset 52 width 291.60: ".getScreenCTM(): 0.71,0.71,-0.71,0.71,116.67,-100.00"
+        LayoutSVGText {text} at (10,208.59) size 253.80x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,208.59) size 253.80x13.80
+            chunk 1 text run 1 at (10.00,220.00) startOffset 0 endOffset 46 width 253.80: ".getCTM(): 0.71,0.71,-0.71,0.71,116.67,-100.00"
         LayoutSVGText {text} at (10,228.59) size 343.19x13.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,228.59) size 343.19x13.80
             chunk 1 text run 1 at (10.00,240.00) startOffset 0 endOffset 65 width 343.20: ".getBBox() for 'blueCircle': .x=-50,.y=-50,.width=100,.height=100"
-        LayoutSVGText {text} at (10,248.59) size 254.78x13.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,248.59) size 254.78x13.80
-            chunk 1 text run 1 at (10.00,260.00) startOffset 0 endOffset 47 width 254.78: ".farthestViewportElement of blueCircle=svg-root"
-        LayoutSVGText {text} at (10,268.59) size 271.58x13.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,268.59) size 271.58x13.80
-            chunk 1 text run 1 at (10.00,280.00) startOffset 0 endOffset 47 width 271.58: ".nearestViewportElement of blueCircle=nestedSVG"
+        LayoutSVGText {text} at (10,248.59) size 255x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,248.59) size 255x13.80
+            chunk 1 text run 1 at (10.00,260.00) startOffset 0 endOffset 47 width 255.00: ".farthestViewportElement of blueCircle=svg-root"
+        LayoutSVGText {text} at (10,268.59) size 271.80x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,268.59) size 271.80x13.80
+            chunk 1 text run 1 at (10.00,280.00) startOffset 0 endOffset 47 width 271.80: ".nearestViewportElement of blueCircle=nestedSVG"
     LayoutSVGContainer {g} at (10,311.19) size 227.39x36
       LayoutSVGText {text} at (10,311.19) size 227.39x36 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,311.19) size 227.39x36
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png
index 853f371..7a869b9a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt
index 2dfde3c..7701a9c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt
@@ -3,10 +3,10 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (50.67,38.19) size 389.33x250.20
-      LayoutSVGText {text} at (50.67,38.19) size 159.33x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (50.67,38.19) size 159.33x21
-          chunk 1 (end anchor) text run 1 at (50.67,55.00) startOffset 0 endOffset 19 width 159.33: "animVal != baseVal:"
+    LayoutSVGContainer {g} at (50.39,38.19) size 389.61x250.20
+      LayoutSVGText {text} at (50.39,38.19) size 159.59x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (50.39,38.19) size 159.59x21
+          chunk 1 (end anchor) text run 1 at (50.40,55.00) startOffset 0 endOffset 19 width 159.60: "animVal != baseVal:"
       LayoutSVGContainer {g} at (40,60) size 248.39x200 [transform={m=((0.00,1.00)(-1.00,0.00)) t=(500.00,0.00)}]
         LayoutSVGRect {rect} at (40,60) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=60.00] [width=20.00] [height=20.00]
         LayoutSVGText {text} at (70,62.39) size 159x15.59 contains 1 chunk(s)
@@ -29,9 +29,9 @@
           LayoutSVGInlineText {#text} at (70,182.39) size 116.39x15.59
             chunk 1 text run 1 at (70.00,195.00) startOffset 0 endOffset 15 width 115.80: "SVGAnimatedRect"
         LayoutSVGRect {rect} at (40,210) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=210.00] [width=20.00] [height=20.00]
-        LayoutSVGText {text} at (70,212.39) size 172.27x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,212.39) size 172.27x15.59
-            chunk 1 text run 1 at (70.00,225.00) startOffset 0 endOffset 24 width 171.68: "SVGAnimatedTransformList"
+        LayoutSVGText {text} at (70,212.39) size 172.80x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,212.39) size 172.80x15.59
+            chunk 1 text run 1 at (70.00,225.00) startOffset 0 endOffset 24 width 172.20: "SVGAnimatedTransformList"
         LayoutSVGRect {rect} at (40,240) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=240.00] [width=20.00] [height=20.00]
         LayoutSVGText {text} at (70,242.39) size 218.39x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (70,242.39) size 218.39x15.59
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt
index df19c5b..f7a5df0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (10,13.19) size 1021.19x991
-      LayoutSVGText {text} at (10,13.19) size 344.80x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,13.19) size 344.80x21
-          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 40 width 344.80: "Test that getBBox() works before SVGLoad"
+      LayoutSVGText {text} at (10,13.19) size 344.39x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,13.19) size 344.39x21
+          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 40 width 344.40: "Test that getBBox() works before SVGLoad"
       LayoutSVGRect {rect} at (10,40) size 50x50 [fill={[type=SOLID] [color=#008000]}] [x=10.00] [y=40.00] [width=50.00] [height=50.00]
       LayoutSVGText {text} at (999.39,983.19) size 31.80x21 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (999.39,983.19) size 31.80x21
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png
index 9531129..09a3969f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt
index c7979dc..fb96965 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (10,13.19) size 430x275.20
-      LayoutSVGText {text} at (10,13.19) size 299.80x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,13.19) size 299.80x21
-          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 35 width 299.80: "Testing liveness of SVG DOM objects"
+      LayoutSVGText {text} at (10,13.19) size 299.39x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,13.19) size 299.39x21
+          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 35 width 299.40: "Testing liveness of SVG DOM objects"
       LayoutSVGContainer {g} at (40,60) size 248.39x350 [transform={m=((0.00,1.00)(-1.00,0.00)) t=(500.00,0.00)}]
         LayoutSVGRect {rect} at (40,60) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=60.00] [width=20.00] [height=20.00]
         LayoutSVGText {text} at (70,62.39) size 159x15.59 contains 1 chunk(s)
@@ -29,9 +29,9 @@
           LayoutSVGInlineText {#text} at (70,182.39) size 116.39x15.59
             chunk 1 text run 1 at (70.00,195.00) startOffset 0 endOffset 15 width 115.80: "SVGAnimatedRect"
         LayoutSVGRect {rect} at (40,210) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=210.00] [width=20.00] [height=20.00]
-        LayoutSVGText {text} at (70,212.39) size 172.27x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,212.39) size 172.27x15.59
-            chunk 1 text run 1 at (70.00,225.00) startOffset 0 endOffset 24 width 171.68: "SVGAnimatedTransformList"
+        LayoutSVGText {text} at (70,212.39) size 172.80x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,212.39) size 172.80x15.59
+            chunk 1 text run 1 at (70.00,225.00) startOffset 0 endOffset 24 width 172.20: "SVGAnimatedTransformList"
         LayoutSVGRect {rect} at (40,240) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=240.00] [width=20.00] [height=20.00]
         LayoutSVGText {text} at (70,242.39) size 218.39x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (70,242.39) size 218.39x15.59
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt
index 33bf2369..b4d29a2a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt
@@ -3,24 +3,24 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (10,13.19) size 367.27x176.81
-      LayoutSVGText {text} at (10,13.19) size 367.27x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,13.19) size 367.27x21
-          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 47 width 367.28: "Test side effects of assigning to valueAsString"
+    LayoutSVGContainer {g} at (10,13.19) size 367.19x176.81
+      LayoutSVGText {text} at (10,13.19) size 367.19x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,13.19) size 367.19x21
+          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 47 width 367.20: "Test side effects of assigning to valueAsString"
       LayoutSVGRect {rect} at (10,40) size 30x30 [fill={[type=SOLID] [color=#008000]}] [x=10.00] [y=40.00] [width=30.00] [height=30.00]
       LayoutSVGRect {rect} at (10,80) size 30x30 [fill={[type=SOLID] [color=#008000]}] [x=10.00] [y=80.00] [width=30.00] [height=30.00]
       LayoutSVGRect {rect} at (10,120) size 30x30 [fill={[type=SOLID] [color=#008000]}] [x=10.00] [y=120.00] [width=30.00] [height=30.00]
       LayoutSVGRect {rect} at (10,160) size 30x30 [fill={[type=SOLID] [color=#008000]}] [x=10.00] [y=160.00] [width=30.00] [height=30.00]
       LayoutSVGContainer {g} at (50,46.19) size 189x136.80
-        LayoutSVGText {text} at (50,46.19) size 177.67x16.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (50,46.19) size 177.67x16.80
-            chunk 1 text run 1 at (50.00,60.00) startOffset 0 endOffset 25 width 177.69: "Valid string on SVGLength"
+        LayoutSVGText {text} at (50,46.19) size 177.59x16.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (50,46.19) size 177.59x16.80
+            chunk 1 text run 1 at (50.00,60.00) startOffset 0 endOffset 25 width 177.60: "Valid string on SVGLength"
         LayoutSVGText {text} at (50,86.19) size 189x16.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (50,86.19) size 189x16.80
             chunk 1 text run 1 at (50.00,100.00) startOffset 0 endOffset 27 width 189.00: "Invalid string on SVGLength"
-        LayoutSVGText {text} at (50,126.19) size 170.48x16.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (50,126.19) size 170.48x16.80
-            chunk 1 text run 1 at (50.00,140.00) startOffset 0 endOffset 24 width 170.49: "Valid string on SVGAngle"
+        LayoutSVGText {text} at (50,126.19) size 170.39x16.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (50,126.19) size 170.39x16.80
+            chunk 1 text run 1 at (50.00,140.00) startOffset 0 endOffset 24 width 170.40: "Valid string on SVGAngle"
         LayoutSVGText {text} at (50,166.19) size 181.80x16.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (50,166.19) size 181.80x16.80
             chunk 1 text run 1 at (50.00,180.00) startOffset 0 endOffset 26 width 181.80: "Invalid string on SVGAngle"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png
index fc419a1..7fdf3d5b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt
index 4d5e652..9b3605a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt
@@ -3,10 +3,10 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (42.73,38.19) size 397.27x250.20
-      LayoutSVGText {text} at (42.73,38.19) size 167.25x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (42.73,38.19) size 167.25x21
-          chunk 1 (end anchor) text run 1 at (42.74,55.00) startOffset 0 endOffset 21 width 167.26: "animVal is read only:"
+    LayoutSVGContainer {g} at (42.59,38.19) size 397.41x250.20
+      LayoutSVGText {text} at (42.59,38.19) size 167.39x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (42.59,38.19) size 167.39x21
+          chunk 1 (end anchor) text run 1 at (42.60,55.00) startOffset 0 endOffset 21 width 167.40: "animVal is read only:"
       LayoutSVGContainer {g} at (40,60) size 248.39x200 [transform={m=((0.00,1.00)(-1.00,0.00)) t=(500.00,0.00)}]
         LayoutSVGRect {rect} at (40,60) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=60.00] [width=20.00] [height=20.00]
         LayoutSVGText {text} at (70,62.39) size 159x15.59 contains 1 chunk(s)
@@ -29,9 +29,9 @@
           LayoutSVGInlineText {#text} at (70,182.39) size 116.39x15.59
             chunk 1 text run 1 at (70.00,195.00) startOffset 0 endOffset 15 width 115.80: "SVGAnimatedRect"
         LayoutSVGRect {rect} at (40,210) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=210.00] [width=20.00] [height=20.00]
-        LayoutSVGText {text} at (70,212.39) size 172.27x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,212.39) size 172.27x15.59
-            chunk 1 text run 1 at (70.00,225.00) startOffset 0 endOffset 24 width 171.68: "SVGAnimatedTransformList"
+        LayoutSVGText {text} at (70,212.39) size 172.80x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,212.39) size 172.80x15.59
+            chunk 1 text run 1 at (70.00,225.00) startOffset 0 endOffset 24 width 172.20: "SVGAnimatedTransformList"
         LayoutSVGRect {rect} at (40,240) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=240.00] [width=20.00] [height=20.00]
         LayoutSVGText {text} at (70,242.39) size 218.39x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (70,242.39) size 218.39x15.59
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-04-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-04-t-expected.png
index 12df984..751a322 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-04-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-04-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-04-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-04-t-expected.txt
index 31a449d5..ff8835b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-04-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-04-t-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (7,0.80) size 71.09x50.89
-      LayoutSVGText {text} at (8,0.80) size 65.70x8.89 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (8,0.80) size 65.70x8.89
-          chunk 1 text run 1 at (8.00,8.00) startOffset 0 endOffset 18 width 65.71: "Test a motion path"
+      LayoutSVGText {text} at (8,0.80) size 65.80x8.89 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (8,0.80) size 65.80x8.89
+          chunk 1 text run 1 at (8.00,8.00) startOffset 0 endOffset 18 width 65.80: "Test a motion path"
       LayoutSVGText {text} at (9,10.80) size 64.50x8.89 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (9,10.80) size 64.50x8.89
           chunk 1 text run 1 at (9.00,18.00) startOffset 0 endOffset 22 width 64.50: "'from'/'to' attribute."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-05-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-05-t-expected.png
index 11d81bc2..9db09c1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-05-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-05-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-05-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-05-t-expected.txt
index 14d32c12..1a70f12 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-05-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-05-t-expected.txt
@@ -2,10 +2,10 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (7,0.80) size 66.70x50.89
-      LayoutSVGText {text} at (8,0.80) size 65.70x8.89 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (8,0.80) size 65.70x8.89
-          chunk 1 text run 1 at (8.00,8.00) startOffset 0 endOffset 18 width 65.71: "Test a motion path"
+    LayoutSVGContainer {g} at (7,0.80) size 66.80x50.89
+      LayoutSVGText {text} at (8,0.80) size 65.80x8.89 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (8,0.80) size 65.80x8.89
+          chunk 1 text run 1 at (8.00,8.00) startOffset 0 endOffset 18 width 65.80: "Test a motion path"
       LayoutSVGText {text} at (11,10.80) size 59.80x8.89 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (11,10.80) size 59.80x8.89
           chunk 1 text run 1 at (11.00,18.00) startOffset 0 endOffset 19 width 59.80: "'values' attribute."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-06-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-06-t-expected.png
index fdc07df..fb0d44b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-06-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-06-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt
index 9d807f6..8b2087a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (7,0.80) size 71.09x50.89
-      LayoutSVGText {text} at (7,0.80) size 65.70x8.89 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (7,0.80) size 65.70x8.89
-          chunk 1 text run 1 at (7.00,8.00) startOffset 0 endOffset 18 width 65.71: "Test a motion path"
+      LayoutSVGText {text} at (7,0.80) size 65.80x8.89 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (7,0.80) size 65.80x8.89
+          chunk 1 text run 1 at (7.00,8.00) startOffset 0 endOffset 18 width 65.80: "Test a motion path"
       LayoutSVGText {text} at (11,10.80) size 52.19x8.89 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (11,10.80) size 52.19x8.89
           chunk 1 text run 1 at (11.00,18.00) startOffset 0 endOffset 17 width 52.20: "'path' attribute."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-07-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-07-t-expected.png
index fae350e..39fe070 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-07-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-07-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-07-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-07-t-expected.txt
index 7d9cbda..36d4c8c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-07-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-07-t-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (7,0.80) size 71.09x50.89
-      LayoutSVGText {text} at (7,0.80) size 65.70x8.89 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (7,0.80) size 65.70x8.89
-          chunk 1 text run 1 at (7.00,8.00) startOffset 0 endOffset 18 width 65.71: "Test a motion path"
+      LayoutSVGText {text} at (7,0.80) size 65.80x8.89 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (7,0.80) size 65.80x8.89
+          chunk 1 text run 1 at (7.00,8.00) startOffset 0 endOffset 18 width 65.80: "Test a motion path"
       LayoutSVGText {text} at (10,10.80) size 58.50x8.89 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,10.80) size 58.50x8.89
           chunk 1 text run 1 at (10.00,18.00) startOffset 0 endOffset 16 width 58.50: "'mpath' element."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png
index e1dcfe58..6e4609b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt
index c5a0d7b..acb6879 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (-5,12.39) size 449.78x250.59
-      LayoutSVGText {text} at (94.06,12.39) size 261.84x15.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (94.06,12.39) size 261.84x15.59
-          chunk 1 (middle anchor) text run 1 at (94.08,25.00) startOffset 0 endOffset 44 width 261.85: "Test rotate='auto' and rotate='auto-reverse'"
+      LayoutSVGText {text} at (93.89,12.39) size 262.19x15.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (93.89,12.39) size 262.19x15.59
+          chunk 1 (middle anchor) text run 1 at (93.90,25.00) startOffset 0 endOffset 44 width 262.20: "Test rotate='auto' and rotate='auto-reverse'"
       LayoutSVGContainer {g} at (-5,170) size 449.78x92.98
         LayoutSVGPath {path} at (25,172.75) size 150x52.25 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [data="M 25 225 C 25 175 125 150 175 200"]
         LayoutSVGRect {rect} at (10,195) size 30x30 [stroke={[type=SOLID] [color=#000000] [stroke width=4.00]}] [fill={[type=SOLID] [color=#FFCCCC]}] [x=10.00] [y=195.00] [width=30.00] [height=30.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-14-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-14-t-expected.png
index e3481db5..03e1ada8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-14-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-14-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt
index 6ed1f60..9e4d985 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt
@@ -6,14 +6,14 @@
       LayoutSVGText {text} at (3,9) size 365.39x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (3,9) size 365.39x45
           chunk 1 text run 1 at (3.00,45.00) startOffset 0 endOffset 19 width 365.40: "calcMode=\"discrete\""
-      LayoutSVGText {text} at (3,64) size 380.70x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (3,64) size 380.70x45
-          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 380.72: "keyTimes=\"0;.2;.4;.6\""
+      LayoutSVGText {text} at (3,64) size 381x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (3,64) size 381x45
+          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 381.00: "keyTimes=\"0;.2;.4;.6\""
       LayoutSVGContainer {g} at (10,140) size 449.80x147.78
         LayoutSVGContainer {g} at (-140,0) size 449.80x147.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,140.00)}]
-          LayoutSVGText {text} at (-140,107.59) size 140.86x40.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-140,107.59) size 140.86x40.19
-              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 140.86: "Time (s):"
+          LayoutSVGText {text} at (-140,107.59) size 141x40.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-140,107.59) size 141x40.19
+              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 141.00: "Time (s):"
           LayoutSVGText {text} at (290,107.59) size 19.80x40.19 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (290,107.59) size 19.80x40.19
               chunk 1 text run 1 at (290.00,140.00) startOffset 0 endOffset 1 width 19.80: "0"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-15-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-15-t-expected.png
index 6148056..83dcdc8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-15-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-15-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt
index 45acb84..62cb8617 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt
@@ -6,14 +6,14 @@
       LayoutSVGText {text} at (3,9) size 333.59x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (3,9) size 333.59x45
           chunk 1 text run 1 at (3.00,45.00) startOffset 0 endOffset 16 width 333.60: "calcMode=\"paced\""
-      LayoutSVGText {text} at (3,64) size 391.52x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (3,64) size 391.52x45
-          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.52: "keyTimes=\"0;.25;.5;1\""
+      LayoutSVGText {text} at (3,64) size 391.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (3,64) size 391.80x45
+          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.80: "keyTimes=\"0;.25;.5;1\""
       LayoutSVGContainer {g} at (10,140) size 449.80x147.78
         LayoutSVGContainer {g} at (-140,0) size 449.80x147.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,140.00)}]
-          LayoutSVGText {text} at (-140,107.59) size 140.86x40.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-140,107.59) size 140.86x40.19
-              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 140.86: "Time (s):"
+          LayoutSVGText {text} at (-140,107.59) size 141x40.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-140,107.59) size 141x40.19
+              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 141.00: "Time (s):"
           LayoutSVGText {text} at (290,107.59) size 19.80x40.19 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (290,107.59) size 19.80x40.19
               chunk 1 text run 1 at (290.00,140.00) startOffset 0 endOffset 1 width 19.80: "0"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-16-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-16-t-expected.png
index d76c879a..8ec0583 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-16-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-16-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt
index fb63613..a7a45ced 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt
@@ -6,14 +6,14 @@
       LayoutSVGText {text} at (3,9) size 322.19x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (3,9) size 322.19x45
           chunk 1 text run 1 at (3.00,45.00) startOffset 0 endOffset 17 width 322.20: "calcMode=\"linear\""
-      LayoutSVGText {text} at (3,64) size 391.52x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (3,64) size 391.52x45
-          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.52: "keyTimes=\"0;.25;.5;1\""
+      LayoutSVGText {text} at (3,64) size 391.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (3,64) size 391.80x45
+          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.80: "keyTimes=\"0;.25;.5;1\""
       LayoutSVGContainer {g} at (10,140) size 449.80x147.78
         LayoutSVGContainer {g} at (-140,0) size 449.80x147.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,140.00)}]
-          LayoutSVGText {text} at (-140,107.59) size 140.86x40.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-140,107.59) size 140.86x40.19
-              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 140.86: "Time (s):"
+          LayoutSVGText {text} at (-140,107.59) size 141x40.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-140,107.59) size 141x40.19
+              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 141.00: "Time (s):"
           LayoutSVGText {text} at (290,107.59) size 19.80x40.19 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (290,107.59) size 19.80x40.19
               chunk 1 text run 1 at (290.00,140.00) startOffset 0 endOffset 1 width 19.80: "0"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-17-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-17-t-expected.png
index 86eee76..e695d956 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-17-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-17-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt
index 6a83580..57420b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt
@@ -6,14 +6,14 @@
       LayoutSVGText {text} at (3,9) size 329.39x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (3,9) size 329.39x45
           chunk 1 text run 1 at (3.00,45.00) startOffset 0 endOffset 17 width 329.40: "calcMode=\"spline\""
-      LayoutSVGText {text} at (3,64) size 391.52x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (3,64) size 391.52x45
-          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.52: "keyTimes=\"0;.25;.5;1\""
+      LayoutSVGText {text} at (3,64) size 391.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (3,64) size 391.80x45
+          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.80: "keyTimes=\"0;.25;.5;1\""
       LayoutSVGContainer {g} at (10,140) size 449.80x147.78
         LayoutSVGContainer {g} at (-140,0) size 449.80x147.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,140.00)}]
-          LayoutSVGText {text} at (-140,107.59) size 140.86x40.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-140,107.59) size 140.86x40.19
-              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 140.86: "Time (s):"
+          LayoutSVGText {text} at (-140,107.59) size 141x40.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-140,107.59) size 141x40.19
+              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 141.00: "Time (s):"
           LayoutSVGText {text} at (290,107.59) size 19.80x40.19 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (290,107.59) size 19.80x40.19
               chunk 1 text run 1 at (290.00,140.00) startOffset 0 endOffset 1 width 19.80: "0"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-18-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-18-t-expected.png
index ceef39f..38153865 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-18-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-18-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt
index e2b743c5..55ad0885 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt
@@ -6,14 +6,14 @@
       LayoutSVGText {text} at (3,9) size 365.39x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (3,9) size 365.39x45
           chunk 1 text run 1 at (3.00,45.00) startOffset 0 endOffset 19 width 365.40: "calcMode=\"discrete\""
-      LayoutSVGText {text} at (3,64) size 380.70x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (3,64) size 380.70x45
-          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 380.72: "keyTimes=\"0;.2;.6;.8\""
+      LayoutSVGText {text} at (3,64) size 381x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (3,64) size 381x45
+          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 381.00: "keyTimes=\"0;.2;.6;.8\""
       LayoutSVGContainer {g} at (10,140) size 449.80x147.78
         LayoutSVGContainer {g} at (-140,0) size 449.80x147.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,140.00)}]
-          LayoutSVGText {text} at (-140,107.59) size 140.86x40.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-140,107.59) size 140.86x40.19
-              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 140.86: "Time (s):"
+          LayoutSVGText {text} at (-140,107.59) size 141x40.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-140,107.59) size 141x40.19
+              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 141.00: "Time (s):"
           LayoutSVGText {text} at (290,107.59) size 19.80x40.19 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (290,107.59) size 19.80x40.19
               chunk 1 text run 1 at (290.00,140.00) startOffset 0 endOffset 1 width 19.80: "0"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-19-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-19-t-expected.png
index fcc82613..8a61fd7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-19-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-19-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt
index d187352..1caf1b6c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt
@@ -6,14 +6,14 @@
       LayoutSVGText {text} at (3,9) size 322.19x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (3,9) size 322.19x45
           chunk 1 text run 1 at (3.00,45.00) startOffset 0 endOffset 17 width 322.20: "calcMode=\"linear\""
-      LayoutSVGText {text} at (3,64) size 391.52x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (3,64) size 391.52x45
-          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.52: "keyTimes=\"0;.5;.75;1\""
+      LayoutSVGText {text} at (3,64) size 391.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (3,64) size 391.80x45
+          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.80: "keyTimes=\"0;.5;.75;1\""
       LayoutSVGContainer {g} at (10,140) size 449.80x147.78
         LayoutSVGContainer {g} at (-140,0) size 449.80x147.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,140.00)}]
-          LayoutSVGText {text} at (-140,107.59) size 140.86x40.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-140,107.59) size 140.86x40.19
-              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 140.86: "Time (s):"
+          LayoutSVGText {text} at (-140,107.59) size 141x40.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-140,107.59) size 141x40.19
+              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 141.00: "Time (s):"
           LayoutSVGText {text} at (290,107.59) size 19.80x40.19 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (290,107.59) size 19.80x40.19
               chunk 1 text run 1 at (290.00,140.00) startOffset 0 endOffset 1 width 19.80: "0"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-22-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-22-b-expected.png
index 2e984da..5572fb67 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-22-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-22-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt
index 7a4174cc..8702d9d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt
@@ -4,17 +4,17 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (25,33.39) size 400x256.61
       LayoutSVGContainer {g} at (25,33.39) size 400x256.61
-        LayoutSVGText {text} at (200,118.39) size 128.83x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (200,118.39) size 128.83x15
-            chunk 1 text run 1 at (200.00,131.00) startOffset 0 endOffset 22 width 128.84: "Yellow rect at time 0s"
+        LayoutSVGText {text} at (200,118.39) size 128.39x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (200,118.39) size 128.39x15
+            chunk 1 text run 1 at (200.00,131.00) startOffset 0 endOffset 22 width 128.40: "Yellow rect at time 0s"
         LayoutSVGRect {rect} at (200,135) size 50x50 [stroke={[type=SOLID] [color=#000000]}] [x=200.00] [y=135.00] [width=50.00] [height=50.00]
-        LayoutSVGText {text} at (141.66,90.06) size 128.83x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (141.66,90.06) size 128.83x15
-            chunk 1 text run 1 at (141.67,102.67) startOffset 0 endOffset 22 width 128.84: "Yellow rect at time 3s"
+        LayoutSVGText {text} at (141.66,90.06) size 128.39x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (141.66,90.06) size 128.39x15
+            chunk 1 text run 1 at (141.67,102.67) startOffset 0 endOffset 22 width 128.40: "Yellow rect at time 3s"
         LayoutSVGRect {rect} at (141.67,106.67) size 166.67x111.67 [stroke={[type=SOLID] [color=#0000FF]}] [x=141.67] [y=106.67] [width=166.67] [height=111.67]
-        LayoutSVGText {text} at (25,33.39) size 128.83x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25,33.39) size 128.83x15
-            chunk 1 text run 1 at (25.00,46.00) startOffset 0 endOffset 22 width 128.84: "Yellow rect at time 9s"
+        LayoutSVGText {text} at (25,33.39) size 128.39x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25,33.39) size 128.39x15
+            chunk 1 text run 1 at (25.00,46.00) startOffset 0 endOffset 22 width 128.40: "Yellow rect at time 9s"
         LayoutSVGRect {rect} at (25,50) size 400x240 [stroke={[type=SOLID] [color=#0000FF]}] [x=25.00] [y=50.00] [width=400.00] [height=240.00]
       LayoutSVGRect {rect} at (200,135) size 50x50 [opacity=0.50] [fill={[type=SOLID] [color=#FFFF00]}] [x=200.00] [y=135.00] [width=50.00] [height=50.00]
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-24-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-24-t-expected.png
index 89d3be75..461c7d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-24-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-24-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt
index c6b8eab..3dd72f54 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt
@@ -4,16 +4,16 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (41.30,38.04) size 280.70x246.35
-      LayoutSVGContainer {g} at (70,92.59) size 145x132.19
-        LayoutSVGText {text} at (70,92.59) size 145x22.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,92.59) size 145x22.19
-            chunk 1 text run 1 at (70.00,110.00) startOffset 0 endOffset 18 width 145.00: "Text from 0s to 3s"
-        LayoutSVGText {text} at (100,167.59) size 77.20x22.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (100,167.59) size 77.20x22.19
-            chunk 1 text run 1 at (100.00,185.00) startOffset 0 endOffset 10 width 77.20: "Text at 6s"
-        LayoutSVGText {text} at (100,202.59) size 77.20x22.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (100,202.59) size 77.20x22.19
-            chunk 1 text run 1 at (100.00,220.00) startOffset 0 endOffset 10 width 77.20: "Text at 9s"
+      LayoutSVGContainer {g} at (70,92.59) size 145.19x132.19
+        LayoutSVGText {text} at (70,92.59) size 145.19x22.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,92.59) size 145.19x22.19
+            chunk 1 text run 1 at (70.00,110.00) startOffset 0 endOffset 18 width 145.20: "Text from 0s to 3s"
+        LayoutSVGText {text} at (100,167.59) size 77.39x22.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (100,167.59) size 77.39x22.19
+            chunk 1 text run 1 at (100.00,185.00) startOffset 0 endOffset 10 width 77.40: "Text at 6s"
+        LayoutSVGText {text} at (100,202.59) size 77.39x22.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (100,202.59) size 77.39x22.19
+            chunk 1 text run 1 at (100.00,220.00) startOffset 0 endOffset 10 width 77.40: "Text at 9s"
       LayoutSVGContainer {g} at (41.30,38.04) size 280.70x246.35
         LayoutSVGText {text} at (0,-17.39) size 73.80x22.19 [transform={m=((0.87,-0.50)(0.50,0.87)) t=(50.00,90.00)}] contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,-17.39) size 73.80x22.19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-25-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-25-t-expected.png
index 3ed8c1a..edf20a8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-25-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-25-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-25-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-25-t-expected.txt
index 79074da..ac96c103 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-25-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-25-t-expected.txt
@@ -2,10 +2,10 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (20,27.39) size 406.41x189.59
-      LayoutSVGText {text} at (30,27.39) size 396.41x15.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (30,27.39) size 396.41x15.59
-          chunk 1 text run 1 at (30.00,40.00) startOffset 0 endOffset 68 width 396.41: "Test animation options for specifying the target attribute/property."
+    LayoutSVGContainer {g} at (20,27.39) size 406.59x189.59
+      LayoutSVGText {text} at (30,27.39) size 396.59x15.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (30,27.39) size 396.59x15.59
+          chunk 1 text run 1 at (30.00,40.00) startOffset 0 endOffset 68 width 396.60: "Test animation options for specifying the target attribute/property."
       LayoutSVGContainer {g} at (20,80) size 405x86.98 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,50.00)}]
         LayoutSVGText {text} at (20,151.39) size 49.80x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (20,151.39) size 49.80x15.59
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-27-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-27-t-expected.png
index 2c5d4ae..076d895 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-27-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-27-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-27-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-27-t-expected.txt
index eee695d..d5642a99 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-27-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-27-t-expected.txt
@@ -2,10 +2,10 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (16.39,24.39) size 412x222.59
-      LayoutSVGText {text} at (21.58,24.39) size 406.81x19.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (21.58,24.39) size 406.81x19.19
-          chunk 1 (middle anchor) text run 1 at (21.59,40.00) startOffset 0 endOffset 57 width 406.83: "Test animation options for specifying the target element."
+    LayoutSVGContainer {g} at (16.39,24.39) size 412.30x222.59
+      LayoutSVGText {text} at (21.30,24.39) size 407.39x19.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (21.30,24.39) size 407.39x19.19
+          chunk 1 (middle anchor) text run 1 at (21.30,40.00) startOffset 0 endOffset 57 width 407.40: "Test animation options for specifying the target element."
       LayoutSVGContainer {g} at (16.39,80) size 408.61x166.98
         LayoutSVGText {text} at (16.39,231.39) size 63.59x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (16.39,231.39) size 63.59x15.59
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-31-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-31-t-expected.png
index eb84ede..18e9950 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-31-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-31-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt
index ddd2dfeb..b98555d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt
@@ -28,9 +28,9 @@
     LayoutSVGText {text} at (385,133.80) size 63x20.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,133.80) size 63x20.39
         chunk 1 text run 1 at (385.00,150.00) startOffset 0 endOffset 10 width 63.00: "visibility"
-    LayoutSVGText {text} at (5,209.80) size 397.64x31.80 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,209.80) size 397.64x31.80
-        chunk 1 text run 1 at (5.00,235.00) startOffset 0 endOffset 36 width 397.65: "Test of display attribute animation."
+    LayoutSVGText {text} at (5,209.80) size 397.19x31.80 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,209.80) size 397.19x31.80
+        chunk 1 text run 1 at (5.00,235.00) startOffset 0 endOffset 36 width 397.20: "Test of display attribute animation."
     LayoutSVGText {text} at (5,248.80) size 396x20.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (5,248.80) size 396x20.39
         chunk 1 text run 1 at (5.00,265.00) startOffset 0 endOffset 55 width 396.00: "Circles with same color should be visible at same time."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-33-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-33-t-expected.png
index ec53b53..8175e22 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-33-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-33-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt
index 9d21681f..ac80b2f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt
@@ -95,9 +95,9 @@
         LayoutSVGEllipse {circle} at (55,-20) size 40x40 [stroke={[type=SOLID] [color=#555555]}] [fill={[type=SOLID] [color=#CCCCCC]}] [cx=75.00] [cy=0.00] [r=20.00]
         LayoutSVGEllipse {circle} at (105,-20) size 40x40 [stroke={[type=SOLID] [color=#555555]}] [fill={[type=SOLID] [color=#CCCCCC]}] [cx=125.00] [cy=0.00] [r=20.00]
       LayoutSVGEllipse {circle} at (-20,-20) size 40x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(75.00,0.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=3.00]}] [fill={[type=SOLID] [color=#CC0066]}] [cx=0.00] [cy=0.00] [r=20.00]
-    LayoutSVGText {text} at (5,209.80) size 371.45x31.80 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,209.80) size 371.45x31.80
-        chunk 1 text run 1 at (5.00,235.00) startOffset 0 endOffset 31 width 371.46: "Test of keyPoints and keyTimes."
+    LayoutSVGText {text} at (5,209.80) size 370.80x31.80 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,209.80) size 370.80x31.80
+        chunk 1 text run 1 at (5.00,235.00) startOffset 0 endOffset 31 width 370.80: "Test of keyPoints and keyTimes."
     LayoutSVGText {text} at (4.39,248.80) size 387.59x20.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (4.39,248.80) size 387.59x20.39
         chunk 1 text run 1 at (5.00,265.00) startOffset 0 endOffset 54 width 387.00: "Number indicates the circle's passing time in seconds."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-34-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-34-t-expected.txt
index 01ca385a6..0bc7065 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-34-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-34-t-expected.txt
@@ -22,9 +22,9 @@
     LayoutSVGText {text} at (5,238.80) size 319.19x20.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (5,238.80) size 319.19x20.39
         chunk 1 text run 1 at (5.00,255.00) startOffset 0 endOffset 45 width 319.20: "Digit should match outline at indicated time."
-    LayoutSVGText {text} at (5,258.80) size 386.42x20.39 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,258.80) size 386.42x20.39
-        chunk 1 text run 1 at (5.00,275.00) startOffset 0 endOffset 54 width 386.43: "Filled square should follow morphing digit discretely."
+    LayoutSVGText {text} at (5,258.80) size 386.39x20.39 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,258.80) size 386.39x20.39
+        chunk 1 text run 1 at (5.00,275.00) startOffset 0 endOffset 54 width 386.40: "Filled square should follow morphing digit discretely."
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.7 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png
index aff9b587e..6743b2fb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt
index d22b0177..845a83f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt
@@ -2,13 +2,13 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGText {text} at (10,304) size 287.11x45.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,304) size 287.11x45.59
-        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 287.12: "$Revision: 1.11 $"
+    LayoutSVGText {text} at (10,304) size 287.39x45.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,304) size 287.39x45.59
+        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 287.40: "$Revision: 1.11 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
-    LayoutSVGText {text} at (126.58,10.59) size 226.83x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (126.58,10.59) size 226.83x18.59
-        chunk 1 (middle anchor) text run 1 at (126.58,25.00) startOffset 0 endOffset 32 width 226.84: "<animateTransform> on structure,"
+    LayoutSVGText {text} at (126.30,10.59) size 227.39x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (126.30,10.59) size 227.39x18.59
+        chunk 1 (middle anchor) text run 1 at (126.30,25.00) startOffset 0 endOffset 32 width 227.40: "<animateTransform> on structure,"
     LayoutSVGText {text} at (136.80,30.59) size 206.39x18.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (136.80,30.59) size 206.39x18.59
         chunk 1 (middle anchor) text run 1 at (136.80,45.00) startOffset 0 endOffset 30 width 206.40: "hyperlinking and text elements"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt
index bd1c447..d9e7517 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt
@@ -6,9 +6,9 @@
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.8 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
-    LayoutSVGText {text} at (117.88,10.59) size 244.23x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (117.88,10.59) size 244.23x18.59
-        chunk 1 (middle anchor) text run 1 at (117.88,25.00) startOffset 0 endOffset 33 width 244.24: "<animateTransform> shape elements"
+    LayoutSVGText {text} at (117.59,10.59) size 244.80x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (117.59,10.59) size 244.80x18.59
+        chunk 1 (middle anchor) text run 1 at (117.60,25.00) startOffset 0 endOffset 33 width 244.80: "<animateTransform> shape elements"
     LayoutSVGContainer {g} at (30,60) size 430x224.19
       LayoutSVGContainer {g} at (-30,-30) size 60x94.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(60.00,90.00)}]
         LayoutSVGPath {path} at (-30,-30) size 60x60 [stroke={[type=SOLID] [color=#FFB400]}] [fill={[type=SOLID] [color=#E6E6E6]}] [data="M 0 0 Q 30 0 30 -30 Q 0 -30 0 0 Q 0 -30 -30 -30 Q -30 0 0 0 Q -30 0 -30 30 Q 0 30 0 0 Q 0 30 30 30 Q 30 0 0 0 Z"]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-41-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-41-t-expected.png
index e7d29dd..d958042b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-41-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-41-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt
index 0bf7766e..0bacd84 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt
@@ -28,9 +28,9 @@
         LayoutSVGText {text} at (-84.59,109.80) size 84.59x13.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-84.59,109.80) size 84.59x13.19
             chunk 1 (end anchor) text run 1 at (-84.60,120.00) startOffset 0 endOffset 17 width 84.60: "stroke-miterlimit"
-        LayoutSVGText {text} at (-84.38,129.80) size 84.38x13.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-84.38,129.80) size 84.38x13.19
-            chunk 1 (end anchor) text run 1 at (-84.38,140.00) startOffset 0 endOffset 17 width 84.38: "stroke-dashoffset"
+        LayoutSVGText {text} at (-84.59,129.80) size 84.59x13.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-84.59,129.80) size 84.59x13.19
+            chunk 1 (end anchor) text run 1 at (-84.60,140.00) startOffset 0 endOffset 17 width 84.60: "stroke-dashoffset"
         LayoutSVGText {text} at (-35.39,149.80) size 35.39x13.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-35.39,149.80) size 35.39x13.19
             chunk 1 (end anchor) text run 1 at (-35.40,160.00) startOffset 0 endOffset 7 width 35.40: "display"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt
index be981355..2fe57a9e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt
@@ -20,9 +20,9 @@
     LayoutSVGText {text} at (5,238.80) size 319.19x20.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (5,238.80) size 319.19x20.39
         chunk 1 text run 1 at (5.00,255.00) startOffset 0 endOffset 45 width 319.20: "Digit should match outline at indicated time."
-    LayoutSVGText {text} at (5,258.80) size 378.63x20.39 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,258.80) size 378.63x20.39
-        chunk 1 text run 1 at (5.00,275.00) startOffset 0 endOffset 54 width 378.63: "Filled circle should follow morphing digit discretely."
+    LayoutSVGText {text} at (5,258.80) size 378.59x20.39 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,258.80) size 378.59x20.39
+        chunk 1 text run 1 at (5.00,275.00) startOffset 0 endOffset 54 width 378.60: "Filled circle should follow morphing digit discretely."
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.7 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-52-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-52-t-expected.png
index cd9708d..09fb183f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-52-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-52-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-52-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-52-t-expected.txt
index f5c11fd..617f558 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-52-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-52-t-expected.txt
@@ -35,9 +35,9 @@
         LayoutSVGText {text} at (350,22.59) size 45.59x22.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (350,22.59) size 45.59x22.19
             chunk 1 text run 1 at (350.00,40.00) startOffset 0 endOffset 5 width 45.00: "never"
-    LayoutSVGText {text} at (15,149.80) size 291.53x31.80 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (15,149.80) size 291.53x31.80
-        chunk 1 text run 1 at (15.00,175.00) startOffset 0 endOffset 26 width 291.54: "Test of Eventbase targets."
+    LayoutSVGText {text} at (15,149.80) size 291.59x31.80 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (15,149.80) size 291.59x31.80
+        chunk 1 text run 1 at (15.00,175.00) startOffset 0 endOffset 26 width 291.60: "Test of Eventbase targets."
     LayoutSVGText {text} at (14.39,228.80) size 337.80x20.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (14.39,228.80) size 337.80x20.39
         chunk 1 text run 1 at (15.00,245.00) startOffset 0 endOffset 48 width 337.20: "Note that clicking rect D should give no result."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-60-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-60-t-expected.txt
index 33334e9..94e4382 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-60-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-60-t-expected.txt
@@ -14,9 +14,9 @@
         LayoutSVGText {text} at (-64.19,-12) size 64.19x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-64.19,-12) size 64.19x15.59
             chunk 1 (end anchor) text run 1 at (-64.20,0.00) startOffset 0 endOffset 11 width 64.20: "unspecified"
-        LayoutSVGText {text} at (-31.55,13) size 32.14x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-31.55,13) size 32.14x15.59
-            chunk 1 (end anchor) text run 1 at (-31.55,25.00) startOffset 0 endOffset 6 width 31.55: "offset"
+        LayoutSVGText {text} at (-31.80,13) size 32.39x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-31.80,13) size 32.39x15.59
+            chunk 1 (end anchor) text run 1 at (-31.80,25.00) startOffset 0 endOffset 6 width 31.80: "offset"
         LayoutSVGText {text} at (-58.19,38) size 58.19x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-58.19,38) size 58.19x15.59
             chunk 1 (end anchor) text run 1 at (-58.20,50.00) startOffset 0 endOffset 10 width 58.20: "event base"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-61-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-61-t-expected.txt
index 76b7b1a..63344f4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-61-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-61-t-expected.txt
@@ -11,9 +11,9 @@
         chunk 1 (middle anchor) text run 1 at (181.80,30.00) startOffset 0 endOffset 14 width 116.40: "multiple begin"
     LayoutSVGContainer {g} at (5.61,-47) size 196.69x225.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,100.00)}]
       LayoutSVGContainer {g} at (-74.39,-12) size 75x165.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(80.00,25.00)}]
-        LayoutSVGText {text} at (-47.73,-12) size 47.73x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-47.73,-12) size 47.73x15.59
-            chunk 1 (end anchor) text run 1 at (-47.75,0.00) startOffset 0 endOffset 9 width 47.75: "2 offsets"
+        LayoutSVGText {text} at (-48,-12) size 48x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-48,-12) size 48x15.59
+            chunk 1 (end anchor) text run 1 at (-48.00,0.00) startOffset 0 endOffset 9 width 48.00: "2 offsets"
         LayoutSVGText {text} at (-70.19,13) size 70.19x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-70.19,13) size 70.19x15.59
             chunk 1 (end anchor) text run 1 at (-70.20,25.00) startOffset 0 endOffset 12 width 70.20: "2 sync bases"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-62-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-62-t-expected.txt
index df8de05..92b20d7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-62-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-62-t-expected.txt
@@ -14,9 +14,9 @@
         LayoutSVGText {text} at (-64.19,-12) size 64.19x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-64.19,-12) size 64.19x15.59
             chunk 1 (end anchor) text run 1 at (-64.20,0.00) startOffset 0 endOffset 11 width 64.20: "unspecified"
-        LayoutSVGText {text} at (-31.55,13) size 32.14x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-31.55,13) size 32.14x15.59
-            chunk 1 (end anchor) text run 1 at (-31.55,25.00) startOffset 0 endOffset 6 width 31.55: "offset"
+        LayoutSVGText {text} at (-31.80,13) size 32.39x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-31.80,13) size 32.39x15.59
+            chunk 1 (end anchor) text run 1 at (-31.80,25.00) startOffset 0 endOffset 6 width 31.80: "offset"
         LayoutSVGText {text} at (-58.19,38) size 58.19x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-58.19,38) size 58.19x15.59
             chunk 1 (end anchor) text run 1 at (-58.20,50.00) startOffset 0 endOffset 10 width 58.20: "event base"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-63-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-63-t-expected.txt
index 8c6000a..4f71e41 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-63-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-63-t-expected.txt
@@ -11,9 +11,9 @@
         chunk 1 (middle anchor) text run 1 at (189.60,30.00) startOffset 0 endOffset 12 width 100.80: "multiple end"
     LayoutSVGContainer {g} at (5.61,-47) size 196.69x225.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,100.00)}]
       LayoutSVGContainer {g} at (-74.39,-12) size 75x165.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(80.00,25.00)}]
-        LayoutSVGText {text} at (-47.73,-12) size 47.73x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-47.73,-12) size 47.73x15.59
-            chunk 1 (end anchor) text run 1 at (-47.75,0.00) startOffset 0 endOffset 9 width 47.75: "2 offsets"
+        LayoutSVGText {text} at (-48,-12) size 48x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-48,-12) size 48x15.59
+            chunk 1 (end anchor) text run 1 at (-48.00,0.00) startOffset 0 endOffset 9 width 48.00: "2 offsets"
         LayoutSVGText {text} at (-70.19,13) size 70.19x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-70.19,13) size 70.19x15.59
             chunk 1 (end anchor) text run 1 at (-70.20,25.00) startOffset 0 endOffset 12 width 70.20: "2 sync bases"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-65-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-65-t-expected.png
index 8492f9c4..d7a3a3d2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-65-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-65-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-65-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-65-t-expected.txt
index 5363e2a..784c7e6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-65-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-65-t-expected.txt
@@ -9,8 +9,8 @@
     LayoutSVGText {text} at (224.39,12.59) size 31.19x22.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (224.39,12.59) size 31.19x22.19
         chunk 1 (middle anchor) text run 1 at (224.40,30.00) startOffset 0 endOffset 3 width 31.20: "min"
-    LayoutSVGContainer {g} at (-21.63,13) size 277.63x215.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,50.00)}]
-      LayoutSVGContainer {g} at (-141.63,-12) size 142.22x195.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,45.00)}]
+    LayoutSVGContainer {g} at (-22.19,13) size 278.19x215.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,50.00)}]
+      LayoutSVGContainer {g} at (-142.19,-12) size 142.78x195.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,45.00)}]
         LayoutSVGText {text} at (-84,-12) size 84.59x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-84,-12) size 84.59x15.59
             chunk 1 (end anchor) text run 1 at (-84.00,0.00) startOffset 0 endOffset 14 width 84.00: "no min / media"
@@ -26,12 +26,12 @@
         LayoutSVGText {text} at (-93,88) size 93x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-93,88) size 93x15.59
             chunk 1 (end anchor) text run 1 at (-93.00,100.00) startOffset 0 endOffset 16 width 93.00: "min < repeat dur"
-        LayoutSVGText {text} at (-141.63,113) size 141.63x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-141.63,113) size 141.63x15.59
-            chunk 1 (end anchor) text run 1 at (-141.64,125.00) startOffset 0 endOffset 24 width 141.64: "min > repeat dur, remove"
-        LayoutSVGText {text} at (-133.23,168) size 133.23x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-133.23,168) size 133.23x15.59
-            chunk 1 (end anchor) text run 1 at (-133.24,180.00) startOffset 0 endOffset 24 width 133.24: "min > repeat dur, freeze"
+        LayoutSVGText {text} at (-142.19,113) size 142.19x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-142.19,113) size 142.19x15.59
+            chunk 1 (end anchor) text run 1 at (-142.20,125.00) startOffset 0 endOffset 24 width 142.20: "min > repeat dur, remove"
+        LayoutSVGText {text} at (-133.80,168) size 133.80x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-133.80,168) size 133.80x15.59
+            chunk 1 (end anchor) text run 1 at (-133.80,180.00) startOffset 0 endOffset 24 width 133.80: "min > repeat dur, freeze"
       LayoutSVGContainer {g} at (-15.59,-12) size 110.59x195.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,25.00)}]
         LayoutSVGText {text} at (-12,-12) size 24x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-12,-12) size 24x15.59
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-78-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-78-t-expected.png
index db97b6e..5197fdf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-78-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-78-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-78-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-78-t-expected.txt
index ce99ff9..d5567a5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-78-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-78-t-expected.txt
@@ -32,9 +32,9 @@
         LayoutSVGText {text} at (-84.59,109.80) size 84.59x13.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-84.59,109.80) size 84.59x13.19
             chunk 1 (end anchor) text run 1 at (-84.60,120.00) startOffset 0 endOffset 17 width 84.60: "stroke-miterlimit"
-        LayoutSVGText {text} at (-84.38,129.80) size 84.38x13.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-84.38,129.80) size 84.38x13.19
-            chunk 1 (end anchor) text run 1 at (-84.38,140.00) startOffset 0 endOffset 17 width 84.38: "stroke-dashoffset"
+        LayoutSVGText {text} at (-84.59,129.80) size 84.59x13.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-84.59,129.80) size 84.59x13.19
+            chunk 1 (end anchor) text run 1 at (-84.60,140.00) startOffset 0 endOffset 17 width 84.60: "stroke-dashoffset"
         LayoutSVGText {text} at (-35.39,149.80) size 35.39x13.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-35.39,149.80) size 35.39x13.19
             chunk 1 (end anchor) text run 1 at (-35.40,160.00) startOffset 0 endOffset 7 width 35.40: "display"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-80-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-80-t-expected.png
index 700e0ac..e0c04b9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-80-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-80-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt
index 83fbde07..de9b4c40 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt
@@ -6,9 +6,9 @@
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.7 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
-    LayoutSVGText {text} at (170.38,10.59) size 139.23x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (170.38,10.59) size 139.23x18.59
-        chunk 1 (middle anchor) text run 1 at (170.38,25.00) startOffset 0 endOffset 18 width 139.24: "<animateTransform>"
+    LayoutSVGText {text} at (170.09,10.59) size 139.80x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (170.09,10.59) size 139.80x18.59
+        chunk 1 (middle anchor) text run 1 at (170.10,25.00) startOffset 0 endOffset 18 width 139.80: "<animateTransform>"
     LayoutSVGHiddenContainer {defs} at (-45,-45) size 90x90
       LayoutSVGContainer {g} at (-45,-45) size 90x90
         LayoutSVGEllipse {circle} at (-40,-40) size 80x80 [stroke={[type=SOLID] [color=#C0C0C0] [stroke width=2.00]}] [cx=0.00] [cy=0.00] [r=40.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-81-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-81-t-expected.png
index 487e7983..82f542bff 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-81-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-81-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt
index 6c5c8e9..00bfcbf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt
@@ -6,9 +6,9 @@
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.6 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
-    LayoutSVGText {text} at (170.38,10.59) size 139.23x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (170.38,10.59) size 139.23x18.59
-        chunk 1 (middle anchor) text run 1 at (170.38,25.00) startOffset 0 endOffset 18 width 139.24: "<animateTransform>"
+    LayoutSVGText {text} at (170.09,10.59) size 139.80x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (170.09,10.59) size 139.80x18.59
+        chunk 1 (middle anchor) text run 1 at (170.10,25.00) startOffset 0 endOffset 18 width 139.80: "<animateTransform>"
     LayoutSVGHiddenContainer {defs} at (-45,-45) size 90x90
       LayoutSVGContainer {g} at (-45,-45) size 90x90
         LayoutSVGEllipse {circle} at (-40,-40) size 80x80 [stroke={[type=SOLID] [color=#C0C0C0] [stroke width=2.00]}] [cx=0.00] [cy=0.00] [r=40.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png
index 3fd9d22b..4731e39 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt
index e4278132..d5e7cb5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt
@@ -6,9 +6,9 @@
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.7 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
-    LayoutSVGText {text} at (170.38,10.59) size 139.23x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (170.38,10.59) size 139.23x18.59
-        chunk 1 (middle anchor) text run 1 at (170.38,25.00) startOffset 0 endOffset 18 width 139.24: "<animateTransform>"
+    LayoutSVGText {text} at (170.09,10.59) size 139.80x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (170.09,10.59) size 139.80x18.59
+        chunk 1 (middle anchor) text run 1 at (170.10,25.00) startOffset 0 endOffset 18 width 139.80: "<animateTransform>"
     LayoutSVGHiddenContainer {defs} at (-45,-45) size 90x90
       LayoutSVGContainer {g} at (-45,-45) size 90x90
         LayoutSVGEllipse {circle} at (-40,-40) size 80x80 [stroke={[type=SOLID] [color=#C0C0C0] [stroke width=2.00]}] [cx=0.00] [cy=0.00] [r=40.00]
@@ -26,14 +26,14 @@
         LayoutSVGText {text} at (-20.09,60.59) size 40.80x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-20.09,60.59) size 40.80x18.59
             chunk 1 (middle anchor) text run 1 at (-20.10,75.00) startOffset 0 endOffset 6 width 40.20: "center"
-      LayoutSVGContainer {g} at (-56.55,-21.21) size 113.11x100.40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(180.00,90.00)}]
+      LayoutSVGContainer {g} at (-56.69,-21.21) size 113.39x100.40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(180.00,90.00)}]
         LayoutSVGRect {rect} at (-15,-15) size 30x30 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#808080] [stroke width=4.00]}] [fill={[type=SOLID] [color=#E6E6E6]}] [x=-15.00] [y=-15.00] [width=30.00] [height=30.00]
         LayoutSVGRect {rect} at (-15,-15) size 30x30 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#FFB400] [stroke width=4.00]}] [x=-15.00] [y=-15.00] [width=30.00] [height=30.00]
         LayoutSVGRect {rect} at (-15,-15) size 30x30 [transform={m=((0.38,0.92)(-0.92,0.38)) t=(-11.56,2.30)}] [stroke={[type=SOLID] [color=#FFB400]}] [x=-15.00] [y=-15.00] [width=30.00] [height=30.00]
         LayoutSVGRect {rect} at (-15,-15) size 30x30 [transform={m=((0.00,1.00)(-1.00,0.00)) t=(-30.00,0.00)}] [stroke={[type=SOLID] [color=#FFB400]}] [x=-15.00] [y=-15.00] [width=30.00] [height=30.00]
-        LayoutSVGText {text} at (-56.55,45.59) size 113.11x18.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-56.55,45.59) size 113.11x18.59
-            chunk 1 (middle anchor) text run 1 at (-56.56,60.00) startOffset 0 endOffset 18 width 113.11: "different rotation"
+        LayoutSVGText {text} at (-56.69,45.59) size 113.39x18.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-56.69,45.59) size 113.39x18.59
+            chunk 1 (middle anchor) text run 1 at (-56.70,60.00) startOffset 0 endOffset 18 width 113.40: "different rotation"
         LayoutSVGText {text} at (-23.39,60.59) size 46.80x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-23.39,60.59) size 46.80x18.59
             chunk 1 (middle anchor) text run 1 at (-23.40,75.00) startOffset 0 endOffset 7 width 46.80: "centers"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-83-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-83-t-expected.png
index 4a27c97..8c8dcbf1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-83-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-83-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt
index b098b55..34cbb46 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt
@@ -44,9 +44,9 @@
         LayoutSVGText {text} at (-73.50,45.59) size 147x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-73.50,45.59) size 147x18.59
             chunk 1 (middle anchor) text run 1 at (-73.50,60.00) startOffset 0 endOffset 21 width 147.00: "#4: from-to animation"
-        LayoutSVGText {text} at (-69.97,60.59) size 139.95x18.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-69.97,60.59) size 139.95x18.59
-            chunk 1 (middle anchor) text run 1 at (-69.98,75.00) startOffset 0 endOffset 20 width 139.96: "compatible H/h, V/v,"
+        LayoutSVGText {text} at (-69.89,60.59) size 139.80x18.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-69.89,60.59) size 139.80x18.59
+            chunk 1 (middle anchor) text run 1 at (-69.90,75.00) startOffset 0 endOffset 20 width 139.80: "compatible H/h, V/v,"
         LayoutSVGText {text} at (-42.89,75.59) size 85.80x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-42.89,75.59) size 85.80x18.59
             chunk 1 (middle anchor) text run 1 at (-42.90,90.00) startOffset 0 endOffset 12 width 85.80: "L/l segments"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.png
index 6c9b6fa..d23143e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt
index 15f8e76..57f3c0ca 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt
@@ -14,14 +14,14 @@
             LayoutSVGEllipse {circle} at (10.50,10.50) size 3x3 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
             LayoutSVGEllipse {circle} at (15.50,10.50) size 3x3 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
             LayoutSVGPath {path} at (10,19) size 10x4 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [data="M 10 19 L 15 23 L 20 19"]
-        LayoutSVGText {text} at (10,102.19) size 41.45x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,102.19) size 41.45x10.19
-            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 41.46: "Viewport 1"
+        LayoutSVGText {text} at (10,102.19) size 42x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,102.19) size 42x10.19
+            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 42.00: "Viewport 1"
         LayoutSVGContainer {g} at (0.50,0.50) size 49x29 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,120.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 49x29 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=49.00] [height=29.00]
-        LayoutSVGText {text} at (10,172.19) size 41.45x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,172.19) size 41.45x10.19
-            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 41.46: "Viewport 2"
+        LayoutSVGText {text} at (10,172.19) size 42x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,172.19) size 42x10.19
+            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 42.00: "Viewport 2"
         LayoutSVGContainer {g} at (0.50,0.50) size 29x59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,190.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 29x59 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=29.00] [height=59.00]
         LayoutSVGContainer {g} at (0,-27.80) size 119.50x107.42 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,50.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png
index 15dd5fba..6ac14b3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt
index 5eda3f7..379452e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt
@@ -9,14 +9,14 @@
             chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 13 width 43.20: "Raster to fit"
         LayoutSVGContainer {g} at (0,0) size 40x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,40.00)}]
           LayoutSVGImage {image} at (0,0) size 40x40
-        LayoutSVGText {text} at (10,102.19) size 41.45x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,102.19) size 41.45x10.19
-            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 41.46: "Viewport 1"
+        LayoutSVGText {text} at (10,102.19) size 42x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,102.19) size 42x10.19
+            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 42.00: "Viewport 1"
         LayoutSVGContainer {g} at (0.50,0.50) size 49x29 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,120.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 49x29 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=49.00] [height=29.00]
-        LayoutSVGText {text} at (10,172.19) size 41.45x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,172.19) size 41.45x10.19
-            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 41.46: "Viewport 2"
+        LayoutSVGText {text} at (10,172.19) size 42x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,172.19) size 42x10.19
+            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 42.00: "Viewport 2"
         LayoutSVGContainer {g} at (0.50,0.50) size 29x59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,190.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 29x59 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=29.00] [height=59.00]
         LayoutSVGContainer {g} at (0,-27.80) size 120x107.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,50.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.png
index eba6041..9bc76c8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt
index 0d66eb1f..38fe3df 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 480x360
   LayoutSVGRoot {svg} at (0,0) size 480x360
-    LayoutSVGContainer {g} at (65.64,15) size 348.70x255.23
-      LayoutSVGContainer {g} at (65.64,15) size 348.70x18
+    LayoutSVGContainer {g} at (65.50,15) size 349x255.23
+      LayoutSVGContainer {g} at (65.50,15) size 349x18
         LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-        LayoutSVGText {text} at (65.64,15) size 348.70x18 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (65.64,15) size 348.70x18
-            chunk 1 (middle anchor) text run 1 at (65.64,30.00) startOffset 0 endOffset 51 width 348.71: "Pie chart built from data in a different namespace."
+        LayoutSVGText {text} at (65.50,15) size 349x18 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (65.50,15) size 349x18
+            chunk 1 (middle anchor) text run 1 at (65.50,30.00) startOffset 0 endOffset 51 width 349.00: "Pie chart built from data in a different namespace."
       LayoutSVGContainer {g} at (139.62,69.70) size 227.38x200.53
         LayoutSVGPath {path} at (240,92) size 100x78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(27.00,-13.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=3.00]}] [fill={[type=SOLID] [color=#FF8888]}] [data="M 240 170 L 340 170 A 100 100 0 0 0 303 92 Z"]
         LayoutSVGText {text} at (285,129) size 28x16 [transform={m=((1.00,0.00)(0.00,1.00)) t=(27.00,-13.00)}] contains 1 chunk(s)
@@ -18,9 +18,9 @@
           LayoutSVGInlineText {#text} at (228.50,92) size 35x16
             chunk 1 (middle anchor) text run 1 at (228.50,105.00) startOffset 0 endOffset 5 width 35.00: "North"
         LayoutSVGPath {path} at (139.62,82) size 100.38x128 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#929292]}] [data="M 240 170 L 192 82 A 100 100 0 0 0 148 210 Z"]
-        LayoutSVGText {text} at (162.13,136) size 31.73x16 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (162.13,136) size 31.73x16
-            chunk 1 (middle anchor) text run 1 at (162.13,149.00) startOffset 0 endOffset 4 width 31.75: "West"
+        LayoutSVGText {text} at (162,136) size 32x16 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (162,136) size 32x16
+            chunk 1 (middle anchor) text run 1 at (162.00,149.00) startOffset 0 endOffset 4 width 32.00: "West"
         LayoutSVGPath {path} at (148,170) size 92x98 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#B6B6B6]}] [data="M 240 170 L 148 210 A 100 100 0 0 0 219 268 Z"]
         LayoutSVGText {text} at (176,207) size 46x16 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (176,207) size 46x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.png
index a3b0ff4..11d2720f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt
index 41941034..5c77dd9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt
@@ -28,24 +28,24 @@
               chunk 1 text run 1 at (20.00,95.00) startOffset 0 endOffset 10 width 198.62: "Unfiltered"
           LayoutSVGRect {rect} at (20,120) size 760x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=120.00] [width=760.00] [height=40.00]
             [filter="Matrix"] LayoutSVGResourceFilter {filter} at (20,120) size 760x40
-          LayoutSVGText {text} at (20,154.64) size 676.38x48.61 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,154.64) size 676.38x48.61
-              chunk 1 text run 1 at (20.00,195.00) startOffset 0 endOffset 32 width 676.38: "type=\"matrix\" (grayscale matrix)"
+          LayoutSVGText {text} at (20,154.64) size 677.58x48.61 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,154.64) size 677.58x48.61
+              chunk 1 text run 1 at (20.00,195.00) startOffset 0 endOffset 32 width 677.59: "type=\"matrix\" (grayscale matrix)"
           LayoutSVGRect {rect} at (20,220) size 760x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=220.00] [width=760.00] [height=40.00]
             [filter="Saturate40"] LayoutSVGResourceFilter {filter} at (-18,218) size 836x44
-          LayoutSVGText {text} at (20,254.64) size 577.63x48.61 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,254.64) size 577.63x48.61
-              chunk 1 text run 1 at (20.00,295.00) startOffset 0 endOffset 27 width 577.63: "type=\"saturate\" values=\".4\""
+          LayoutSVGText {text} at (20,254.64) size 579.30x48.61 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,254.64) size 579.30x48.61
+              chunk 1 text run 1 at (20.00,295.00) startOffset 0 endOffset 27 width 579.31: "type=\"saturate\" values=\".4\""
           LayoutSVGRect {rect} at (20,320) size 760x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=320.00] [width=760.00] [height=40.00]
             [filter="HueRotate90"] LayoutSVGResourceFilter {filter} at (-18,318) size 836x44
-          LayoutSVGText {text} at (20,354.64) size 629.08x48.61 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,354.64) size 629.08x48.61
-              chunk 1 text run 1 at (20.00,395.00) startOffset 0 endOffset 28 width 629.08: "type=\"hueRotate\" values=\"90\""
+          LayoutSVGText {text} at (20,354.64) size 631.03x48.61 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,354.64) size 631.03x48.61
+              chunk 1 text run 1 at (20.00,395.00) startOffset 0 endOffset 28 width 631.03: "type=\"hueRotate\" values=\"90\""
           LayoutSVGRect {rect} at (20,420) size 760x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=420.00] [width=760.00] [height=40.00]
             [filter="LuminanceToAlpha"] LayoutSVGResourceFilter {filter} at (-18,418) size 836x44
-          LayoutSVGText {text} at (20,454.64) size 522.42x48.61 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,454.64) size 522.42x48.61
-              chunk 1 text run 1 at (20.00,495.00) startOffset 0 endOffset 23 width 522.43: "type=\"luminanceToAlpha\""
+          LayoutSVGText {text} at (20,454.64) size 523.44x48.61 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,454.64) size 523.44x48.61
+              chunk 1 text run 1 at (20.00,495.00) startOffset 0 endOffset 23 width 523.45: "type=\"luminanceToAlpha\""
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.6 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png
index 88f7e9d..6d5f444 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt
index 4d7074c..8d82154 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt
@@ -58,18 +58,18 @@
             [feImage image-size="150x150"]
       LayoutSVGContainer {g} at (1,1) size 1098x723 [transform={m=((0.40,0.00)(0.00,0.40)) t=(5.00,70.00)}]
         LayoutSVGRect {rect} at (1,1) size 1098x723 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=1098.00] [height=723.00]
-        LayoutSVGText {text} at (100,15) size 764.73x72 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (100,15) size 764.73x72
-            chunk 1 text run 1 at (100.00,75.00) startOffset 0 endOffset 26 width 764.74: "on first Row : opacity 1.0"
-        LayoutSVGText {text} at (100,120) size 793.20x72 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (100,120) size 793.20x72
-            chunk 1 text run 1 at (100.00,180.00) startOffset 0 endOffset 25 width 793.21: "on second row opacity 0.5"
+        LayoutSVGText {text} at (100,15) size 766.50x72 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (100,15) size 766.50x72
+            chunk 1 text run 1 at (100.00,75.00) startOffset 0 endOffset 26 width 766.50: "on first Row : opacity 1.0"
+        LayoutSVGText {text} at (100,120) size 793.50x72 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (100,120) size 793.50x72
+            chunk 1 text run 1 at (100.00,180.00) startOffset 0 endOffset 25 width 793.50: "on second row opacity 0.5"
         LayoutSVGContainer {g} at (0,0) size 150x412 [transform={m=((1.00,0.00)(0.00,1.00)) t=(15.00,230.00)}]
           LayoutSVGRect {rect} at (0,0) size 150x150 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=150.00] [height=150.00]
             [filter="over"] LayoutSVGResourceFilter {filter} at (0,0) size 150x150
-          LayoutSVGText {text} at (10,340) size 134.03x72 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,340) size 134.03x72
-              chunk 1 text run 1 at (10.00,400.00) startOffset 0 endOffset 4 width 132.53: "over"
+          LayoutSVGText {text} at (10,340) size 135x72 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,340) size 135x72
+              chunk 1 text run 1 at (10.00,400.00) startOffset 0 endOffset 4 width 133.50: "over"
         LayoutSVGContainer {g} at (0,0) size 150x150 [transform={m=((1.00,0.00)(0.00,1.00)) t=(15.00,430.00)}]
           LayoutSVGRect {rect} at (0,0) size 150x150 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=150.00] [height=150.00]
             [filter="over50"] LayoutSVGResourceFilter {filter} at (0,0) size 150x150
@@ -103,9 +103,9 @@
         LayoutSVGContainer {g} at (0,0) size 150x412 [transform={m=((1.00,0.00)(0.00,1.00)) t=(735.00,230.00)}]
           LayoutSVGRect {rect} at (0,0) size 150x150 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=150.00] [height=150.00]
             [filter="xor"] LayoutSVGResourceFilter {filter} at (0,0) size 150x150
-          LayoutSVGText {text} at (10,340) size 98.30x72 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,340) size 98.30x72
-              chunk 1 text run 1 at (10.00,400.00) startOffset 0 endOffset 3 width 96.80: "xor"
+          LayoutSVGText {text} at (10,340) size 99x72 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,340) size 99x72
+              chunk 1 text run 1 at (10.00,400.00) startOffset 0 endOffset 3 width 97.50: "xor"
         LayoutSVGContainer {g} at (0,0) size 150x150 [transform={m=((1.00,0.00)(0.00,1.00)) t=(735.00,430.00)}]
           LayoutSVGRect {rect} at (0,0) size 150x150 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=150.00] [height=150.00]
             [filter="xor50"] LayoutSVGResourceFilter {filter} at (0,0) size 150x150
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt
index 7ac87b36..8e2650c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt
@@ -39,24 +39,24 @@
           LayoutSVGRect {rect} at (1,1) size 628x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=628.00] [height=418.00]
           LayoutSVGRect {rect} at (10,10) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=10.00] [y=10.00] [width=580.00] [height=40.00]
             [filter="Identity"] LayoutSVGResourceFilter {filter} at (10,10) size 580x40
-          LayoutSVGText {text} at (10,48.91) size 202.98x36.95 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,48.91) size 202.98x36.95
-              chunk 1 text run 1 at (10.00,80.00) startOffset 0 endOffset 14 width 202.99: "type: identity"
+          LayoutSVGText {text} at (10,48.91) size 203.27x36.95 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,48.91) size 203.27x36.95
+              chunk 1 text run 1 at (10.00,80.00) startOffset 0 endOffset 14 width 203.28: "type: identity"
           LayoutSVGRect {rect} at (10,110) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=10.00] [y=110.00] [width=580.00] [height=40.00]
             [filter="Table"] LayoutSVGResourceFilter {filter} at (10,110) size 580x40
-          LayoutSVGText {text} at (10,148.91) size 164.48x36.95 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,148.91) size 164.48x36.95
-              chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 11 width 164.49: "type: table"
+          LayoutSVGText {text} at (10,148.91) size 164.63x36.95 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,148.91) size 164.63x36.95
+              chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 11 width 164.64: "type: table"
           LayoutSVGRect {rect} at (10,210) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=10.00] [y=210.00] [width=580.00] [height=40.00]
             [filter="Linear"] LayoutSVGResourceFilter {filter} at (10,210) size 580x40
-          LayoutSVGText {text} at (10,248.91) size 597.08x36.95 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,248.91) size 597.08x36.95
-              chunk 1 text run 1 at (10.00,280.00) startOffset 0 endOffset 40 width 597.09: "type:linear slope:.5 intercepts:.25/0/.5"
+          LayoutSVGText {text} at (10,248.91) size 597.23x36.95 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,248.91) size 597.23x36.95
+              chunk 1 text run 1 at (10.00,280.00) startOffset 0 endOffset 40 width 597.24: "type:linear slope:.5 intercepts:.25/0/.5"
           LayoutSVGRect {rect} at (10,310) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=10.00] [y=310.00] [width=580.00] [height=40.00]
             [filter="Gamma"] LayoutSVGResourceFilter {filter} at (10,310) size 580x40
-          LayoutSVGText {text} at (10,348.91) size 587.84x36.95 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,348.91) size 587.84x36.95
-              chunk 1 text run 1 at (10.00,380.00) startOffset 0 endOffset 34 width 587.85: "type: gamma ampl:2 exponents:5/3/1"
+          LayoutSVGText {text} at (10,348.91) size 588x36.95 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,348.91) size 588x36.95
+              chunk 1 text run 1 at (10.00,380.00) startOffset 0 endOffset 34 width 588.00: "type: gamma ampl:2 exponents:5/3/1"
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.6 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-conv-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-conv-01-f-expected.txt
index 83e400cb..9505598e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-conv-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-conv-01-f-expected.txt
@@ -2,8 +2,8 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 480x360
   LayoutSVGRoot {svg} at (0,0) size 480x360
-    LayoutSVGContainer {g} at (30,45) size 415.22x181
-      LayoutSVGContainer {g} at (10,5) size 415.22x181 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,40.00)}]
+    LayoutSVGContainer {g} at (30,45) size 415x181
+      LayoutSVGContainer {g} at (10,5) size 415x181 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,40.00)}]
         LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
           LayoutSVGResourceFilter {filter} [id="convolve1"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
             [feConvolveMatrix order="width=3 height=3" kernelMatrix="[0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11]" divisor="1.00" bias="0.00" target="(1,1)" edgeMode="NONE" preserveAlpha="0"]
@@ -23,7 +23,7 @@
           LayoutSVGResourceFilter {filter} [id="convolve6"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
             [feConvolveMatrix order="width=1 height=3" kernelMatrix="[0.33, 0.33, 0.33]" divisor="1.00" bias="0.00" target="(0,1)" edgeMode="NONE" preserveAlpha="0"]
               [SourceGraphic]
-        LayoutSVGContainer {g} at (10,5) size 415.22x181
+        LayoutSVGContainer {g} at (10,5) size 415x181
           LayoutSVGText {text} at (10,5) size 66x19 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (10,5) size 66x19
               chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 10 width 66.00: "Blur (3x3)"
@@ -54,9 +54,9 @@
           LayoutSVGContainer {g} at (10,30) size 50x63 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,93.00)}]
             LayoutSVGImage {image} at (10,30) size 50x63
               [filter="convolve5"] LayoutSVGResourceFilter {filter} at (10,30) size 50x63
-          LayoutSVGText {text} at (10,5) size 115.22x19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,93.00)}] contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,5) size 115.22x19
-              chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 19 width 115.23: "Vertical blur (1x3)"
+          LayoutSVGText {text} at (10,5) size 115x19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,93.00)}] contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,5) size 115x19
+              chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 19 width 115.00: "Vertical blur (1x3)"
           LayoutSVGContainer {g} at (10,30) size 50x63 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,93.00)}]
             LayoutSVGImage {image} at (10,30) size 50x63
               [filter="convolve6"] LayoutSVGResourceFilter {filter} at (10,30) size 50x63
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt
index 277b03d..4aa4dc6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt
@@ -2,7 +2,7 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 480x360
   LayoutSVGRoot {svg} at (0,0) size 480x360
-    LayoutSVGContainer {g} at (90,18) size 339.22x232
+    LayoutSVGContainer {g} at (90,18) size 339x232
       LayoutSVGText {text} at (145,18) size 140x15 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (145,18) size 140x15
           chunk 1 text run 1 at (145.00,30.00) startOffset 0 endOffset 26 width 140.00: "Filters: feDiffuseLighting"
@@ -34,30 +34,30 @@
         LayoutSVGResourceFilter {filter} [id="lightingColorC"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
           [feDiffuseLighting surfaceScale="10.00" diffuseConstant="1.00"]
             [SourceGraphic]
-      LayoutSVGContainer {g} at (90,10) size 289.22x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,50.00)}]
-        LayoutSVGText {text} at (90,10) size 289.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (90,10) size 289.22x19
-            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 46 width 289.23: "Various values for surfaceScale: 1, 10 and -10"
+      LayoutSVGContainer {g} at (90,10) size 289x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,50.00)}]
+        LayoutSVGText {text} at (90,10) size 289x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (90,10) size 289x19
+            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 46 width 289.00: "Various values for surfaceScale: 1, 10 and -10"
         LayoutSVGImage {image} at (90,30) size 50x30
           [filter="surfaceScaleA"] LayoutSVGResourceFilter {filter} at (90,30) size 50x30
         LayoutSVGImage {image} at (160,30) size 50x30
           [filter="surfaceScaleB"] LayoutSVGResourceFilter {filter} at (160,30) size 50x30
         LayoutSVGImage {image} at (230,30) size 50x30
           [filter="surfaceScaleC"] LayoutSVGResourceFilter {filter} at (230,30) size 50x30
-      LayoutSVGContainer {g} at (90,10) size 293.94x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,120.00)}]
-        LayoutSVGText {text} at (90,10) size 293.94x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (90,10) size 293.94x19
-            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 47 width 293.94: "Various values for diffuseConstants: 0, 1 and 2"
+      LayoutSVGContainer {g} at (90,10) size 294x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,120.00)}]
+        LayoutSVGText {text} at (90,10) size 294x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (90,10) size 294x19
+            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 47 width 294.00: "Various values for diffuseConstants: 0, 1 and 2"
         LayoutSVGImage {image} at (90,30) size 50x30
           [filter="diffuseConstantA"] LayoutSVGResourceFilter {filter} at (90,30) size 50x30
         LayoutSVGImage {image} at (160,30) size 50x30
           [filter="diffuseConstantB"] LayoutSVGResourceFilter {filter} at (160,30) size 50x30
         LayoutSVGImage {image} at (230,30) size 50x30
           [filter="diffuseConstantC"] LayoutSVGResourceFilter {filter} at (230,30) size 50x30
-      LayoutSVGContainer {g} at (90,10) size 339.22x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,190.00)}]
-        LayoutSVGText {text} at (90,10) size 339.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (90,10) size 339.22x19
-            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 55 width 339.23: "Various values for lighting color: red, yellow and blue"
+      LayoutSVGContainer {g} at (90,10) size 339x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,190.00)}]
+        LayoutSVGText {text} at (90,10) size 339x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (90,10) size 339x19
+            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 55 width 339.00: "Various values for lighting color: red, yellow and blue"
         LayoutSVGImage {image} at (90,30) size 50x30
           [filter="lightingColorA"] LayoutSVGResourceFilter {filter} at (90,30) size 50x30
         LayoutSVGImage {image} at (160,30) size 50x30
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-light-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-light-01-f-expected.png
index 9af990e..0b261fa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-light-01-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-light-01-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-light-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-light-01-f-expected.txt
index 3fa0dd9..5ffad74d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-light-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-light-01-f-expected.txt
@@ -2,7 +2,7 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (70,8) size 462.13x267
+    LayoutSVGContainer {g} at (70,8) size 461x267
       LayoutSVGText {text} at (113.50,8) size 254x15 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (113.50,8) size 254x15
           chunk 1 (middle anchor) text run 1 at (113.50,20.00) startOffset 0 endOffset 50 width 253.00: "Filters: feDistantLight, fePointLight, feSpotLight"
@@ -43,10 +43,10 @@
         LayoutSVGResourceFilter {filter} [id="spotLightD"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
           [feDiffuseLighting surfaceScale="10.00" diffuseConstant="1.00"]
             [SourceGraphic]
-      LayoutSVGContainer {g} at (70,-5) size 351.22x65 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,40.00)}]
-        LayoutSVGText {text} at (70,-5) size 351.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,-5) size 351.22x19
-            chunk 1 text run 1 at (70.00,10.00) startOffset 0 endOffset 55 width 351.23: "Various values for feDistantLight azimuth and elevation"
+      LayoutSVGContainer {g} at (70,-5) size 351x65 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,40.00)}]
+        LayoutSVGText {text} at (70,-5) size 351x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,-5) size 351x19
+            chunk 1 text run 1 at (70.00,10.00) startOffset 0 endOffset 55 width 351.00: "Various values for feDistantLight azimuth and elevation"
         LayoutSVGText {text} at (70,10) size 34x19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (70,10) size 34x19
             chunk 1 text run 1 at (70.00,25.00) startOffset 0 endOffset 6 width 34.00: "(0, 0)"
@@ -68,9 +68,9 @@
         LayoutSVGImage {image} at (355,30) size 50x30
           [filter="distantLightD"] LayoutSVGResourceFilter {filter} at (355,30) size 50x30
       LayoutSVGContainer {g} at (70,-5) size 359x34 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,120.00)}]
-        LayoutSVGText {text} at (70,-5) size 272.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,-5) size 272.22x19
-            chunk 1 text run 1 at (70.00,10.00) startOffset 0 endOffset 44 width 272.23: "Various values for fePointLight's x, y and z"
+        LayoutSVGText {text} at (70,-5) size 272x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,-5) size 272x19
+            chunk 1 text run 1 at (70.00,10.00) startOffset 0 endOffset 44 width 272.00: "Various values for fePointLight's x, y and z"
         LayoutSVGText {text} at (70,10) size 58x19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (70,10) size 58x19
             chunk 1 text run 1 at (70.00,25.00) startOffset 0 endOffset 10 width 58.00: "(0, 0, 10)"
@@ -92,10 +92,10 @@
           [filter="pointLightC"] LayoutSVGResourceFilter {filter} at (0,0) size 50x30
         LayoutSVGImage {image} at (0,0) size 50x30 [transform={m=((1.00,0.00)(0.00,1.00)) t=(355.00,150.00)}]
           [filter="pointLightD"] LayoutSVGResourceFilter {filter} at (0,0) size 50x30
-      LayoutSVGContainer {g} at (70,-15) size 462.13x49 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,210.00)}]
-        LayoutSVGText {text} at (70,-15) size 462.13x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,-15) size 462.13x19
-            chunk 1 text run 1 at (70.00,0.00) startOffset 0 endOffset 73 width 462.13: "Various values for feSpotLight's x, y, z, pointsAtX, pointsAtY, pointsAtZ"
+      LayoutSVGContainer {g} at (70,-15) size 461x49 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,210.00)}]
+        LayoutSVGText {text} at (70,-15) size 461x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,-15) size 461x19
+            chunk 1 text run 1 at (70.00,0.00) startOffset 0 endOffset 73 width 461.00: "Various values for feSpotLight's x, y, z, pointsAtX, pointsAtY, pointsAtZ"
         LayoutSVGText {text} at (70,0) size 66x19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (70,0) size 66x19
             chunk 1 text run 1 at (70.00,15.00) startOffset 0 endOffset 11 width 66.00: "(25, 0, 25)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt
index a17e3d14..c1410e57 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 480x360
   LayoutSVGRoot {svg} at (0,0) size 480x360
     LayoutSVGContainer {g} at (38.58,1) size 392.73x293
-      LayoutSVGText {text} at (153.14,1) size 173.70x19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (153.14,1) size 173.70x19
-          chunk 1 (middle anchor) text run 1 at (153.14,16.00) startOffset 0 endOffset 27 width 173.71: "Filter Effect: feMorphology"
+      LayoutSVGText {text} at (153,1) size 174x19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (153,1) size 174x19
+          chunk 1 (middle anchor) text run 1 at (153.00,16.00) startOffset 0 endOffset 27 width 174.00: "Filter Effect: feMorphology"
       LayoutSVGContainer {g} at (38.58,28.58) size 392.73x271.42 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,-6.00)}]
         LayoutSVGHiddenContainer {defs} at (3.59,3.58) size 137.73x116.11
           LayoutSVGResourceFilter {filter} [id="erode1"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-specular-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-specular-01-f-expected.txt
index 31f2a93a..0fb7fdb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-specular-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-specular-01-f-expected.txt
@@ -2,7 +2,7 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 480x360
   LayoutSVGRoot {svg} at (0,0) size 480x360
-    LayoutSVGContainer {g} at (90,8) size 339.22x282
+    LayoutSVGContainer {g} at (90,8) size 339x282
       LayoutSVGText {text} at (169,8) size 142x15 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (169,8) size 142x15
           chunk 1 (middle anchor) text run 1 at (169.00,20.00) startOffset 0 endOffset 27 width 142.00: "Filters: feSpecularLighting"
@@ -43,10 +43,10 @@
         LayoutSVGResourceFilter {filter} [id="lightingColorC"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
           [feSpecularLighting surfaceScale="10.00" specualConstant="1.00" specularExponent="1.00"]
             [SourceGraphic]
-      LayoutSVGContainer {g} at (90,10) size 289.22x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,20.00)}]
-        LayoutSVGText {text} at (90,10) size 289.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (90,10) size 289.22x19
-            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 46 width 289.23: "Various values for surfaceScale: 1, 10 and -10"
+      LayoutSVGContainer {g} at (90,10) size 289x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,20.00)}]
+        LayoutSVGText {text} at (90,10) size 289x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (90,10) size 289x19
+            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 46 width 289.00: "Various values for surfaceScale: 1, 10 and -10"
         LayoutSVGContainer {g} at (90,30) size 280x30
           LayoutSVGRect {rect} at (90,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=90.00] [y=30.00] [width=50.00] [height=30.00]
           LayoutSVGRect {rect} at (205,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=205.00] [y=30.00] [width=50.00] [height=30.00]
@@ -57,10 +57,10 @@
           [filter="surfaceScaleB"] LayoutSVGResourceFilter {filter} at (205,30) size 50x30
         LayoutSVGImage {image} at (320,30) size 50x30
           [filter="surfaceScaleC"] LayoutSVGResourceFilter {filter} at (320,30) size 50x30
-      LayoutSVGContainer {g} at (90,10) size 303.22x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,90.00)}]
-        LayoutSVGText {text} at (90,10) size 303.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (90,10) size 303.22x19
-            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 48 width 303.23: "Various values for specularConstants: 0, 1 and 2"
+      LayoutSVGContainer {g} at (90,10) size 303x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,90.00)}]
+        LayoutSVGText {text} at (90,10) size 303x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (90,10) size 303x19
+            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 48 width 303.00: "Various values for specularConstants: 0, 1 and 2"
         LayoutSVGContainer {g} at (90,30) size 280x30
           LayoutSVGRect {rect} at (90,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=90.00] [y=30.00] [width=50.00] [height=30.00]
           LayoutSVGRect {rect} at (205,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=205.00] [y=30.00] [width=50.00] [height=30.00]
@@ -71,10 +71,10 @@
           [filter="specularConstantB"] LayoutSVGResourceFilter {filter} at (205,30) size 50x30
         LayoutSVGImage {image} at (320,30) size 50x30
           [filter="specularConstantC"] LayoutSVGResourceFilter {filter} at (320,30) size 50x30
-      LayoutSVGContainer {g} at (90,10) size 308.22x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,160.00)}]
-        LayoutSVGText {text} at (90,10) size 308.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (90,10) size 308.22x19
-            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 48 width 308.23: "Various values for specularExponents: 1, 2 and 4"
+      LayoutSVGContainer {g} at (90,10) size 308x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,160.00)}]
+        LayoutSVGText {text} at (90,10) size 308x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (90,10) size 308x19
+            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 48 width 308.00: "Various values for specularExponents: 1, 2 and 4"
         LayoutSVGContainer {g} at (90,30) size 280x30
           LayoutSVGRect {rect} at (90,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=90.00] [y=30.00] [width=50.00] [height=30.00]
           LayoutSVGRect {rect} at (205,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=205.00] [y=30.00] [width=50.00] [height=30.00]
@@ -85,10 +85,10 @@
           [filter="specularExponentB"] LayoutSVGResourceFilter {filter} at (205,30) size 50x30
         LayoutSVGImage {image} at (320,30) size 50x30
           [filter="specularExponentC"] LayoutSVGResourceFilter {filter} at (320,30) size 50x30
-      LayoutSVGContainer {g} at (90,10) size 339.22x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,230.00)}]
-        LayoutSVGText {text} at (90,10) size 339.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (90,10) size 339.22x19
-            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 55 width 339.23: "Various values for lighting color: red, yellow and blue"
+      LayoutSVGContainer {g} at (90,10) size 339x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,230.00)}]
+        LayoutSVGText {text} at (90,10) size 339x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (90,10) size 339x19
+            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 55 width 339.00: "Various values for lighting color: red, yellow and blue"
         LayoutSVGContainer {g} at (90,30) size 280x30
           LayoutSVGRect {rect} at (90,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=90.00] [y=30.00] [width=50.00] [height=30.00]
           LayoutSVGRect {rect} at (205,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=205.00] [y=30.00] [width=50.00] [height=30.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-tile-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-tile-01-b-expected.txt
index 02a40088..fff726a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-tile-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-tile-01-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (115,11.19) size 250x278.81
-      LayoutSVGText {text} at (140.67,11.19) size 198.64x16.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (140.67,11.19) size 198.64x16.80
-          chunk 1 (middle anchor) text run 1 at (140.68,25.00) startOffset 0 endOffset 35 width 198.64: "feTile filter test: a tiled pattern"
+      LayoutSVGText {text} at (140.39,11.19) size 199.19x16.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (140.39,11.19) size 199.19x16.80
+          chunk 1 (middle anchor) text run 1 at (140.40,25.00) startOffset 0 endOffset 35 width 199.20: "feTile filter test: a tiled pattern"
       LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
         LayoutSVGResourceFilter {filter} [id="feTileFilter"] [filterUnits=userSpaceOnUse] [primitiveUnits=userSpaceOnUse]
           [feTile]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png
index c533b41..8001b07 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt
index 9faedf969..f9096c8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt
@@ -19,70 +19,70 @@
             [feTurbulence type="NOISE" baseFrequency="0.10, 0.10" seed="0.00" numOctaves="1" stitchTiles="0"]
         LayoutSVGRect {rect} at (25,25) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=25.00] [y=25.00] [width=100.00] [height=75.00]
           [filter="Turb1"] LayoutSVGResourceFilter {filter} at (25,25) size 100x75
-        LayoutSVGText {text} at (31.81,106.80) size 86.34x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (31.81,106.80) size 86.34x12
-            chunk 1 (middle anchor) text run 1 at (31.82,117.00) startOffset 0 endOffset 15 width 86.35: "type=turbulence"
+        LayoutSVGText {text} at (31.80,106.80) size 86.39x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (31.80,106.80) size 86.39x12
+            chunk 1 (middle anchor) text run 1 at (31.80,117.00) startOffset 0 endOffset 15 width 86.40: "type=turbulence"
         LayoutSVGText {text} at (20.39,118.80) size 109.19x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (20.39,118.80) size 109.19x12
             chunk 1 (middle anchor) text run 1 at (20.40,129.00) startOffset 0 endOffset 18 width 109.20: "baseFrequency=0.05"
-        LayoutSVGText {text} at (35.47,130.80) size 79.03x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35.47,130.80) size 79.03x12
-            chunk 1 (middle anchor) text run 1 at (35.48,141.00) startOffset 0 endOffset 12 width 79.03: "numOctaves=2"
+        LayoutSVGText {text} at (35.39,130.80) size 79.19x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35.39,130.80) size 79.19x12
+            chunk 1 (middle anchor) text run 1 at (35.40,141.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=2"
         LayoutSVGRect {rect} at (175,25) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=175.00] [y=25.00] [width=100.00] [height=75.00]
           [filter="Turb2"] LayoutSVGResourceFilter {filter} at (175,25) size 100x75
-        LayoutSVGText {text} at (181.81,106.80) size 86.34x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (181.81,106.80) size 86.34x12
-            chunk 1 (middle anchor) text run 1 at (181.82,117.00) startOffset 0 endOffset 15 width 86.35: "type=turbulence"
+        LayoutSVGText {text} at (181.80,106.80) size 86.39x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (181.80,106.80) size 86.39x12
+            chunk 1 (middle anchor) text run 1 at (181.80,117.00) startOffset 0 endOffset 15 width 86.40: "type=turbulence"
         LayoutSVGText {text} at (173.69,118.80) size 102.59x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (173.69,118.80) size 102.59x12
             chunk 1 (middle anchor) text run 1 at (173.70,129.00) startOffset 0 endOffset 17 width 102.60: "baseFrequency=0.1"
-        LayoutSVGText {text} at (185.47,130.80) size 79.03x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (185.47,130.80) size 79.03x12
-            chunk 1 (middle anchor) text run 1 at (185.48,141.00) startOffset 0 endOffset 12 width 79.03: "numOctaves=2"
+        LayoutSVGText {text} at (185.39,130.80) size 79.19x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (185.39,130.80) size 79.19x12
+            chunk 1 (middle anchor) text run 1 at (185.40,141.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=2"
         LayoutSVGRect {rect} at (325,25) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=325.00] [y=25.00] [width=100.00] [height=75.00]
           [filter="Turb3"] LayoutSVGResourceFilter {filter} at (325,25) size 100x75
-        LayoutSVGText {text} at (331.81,106.80) size 86.34x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (331.81,106.80) size 86.34x12
-            chunk 1 (middle anchor) text run 1 at (331.82,117.00) startOffset 0 endOffset 15 width 86.35: "type=turbulence"
+        LayoutSVGText {text} at (331.80,106.80) size 86.39x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (331.80,106.80) size 86.39x12
+            chunk 1 (middle anchor) text run 1 at (331.80,117.00) startOffset 0 endOffset 15 width 86.40: "type=turbulence"
         LayoutSVGText {text} at (320.39,118.80) size 109.19x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (320.39,118.80) size 109.19x12
             chunk 1 (middle anchor) text run 1 at (320.40,129.00) startOffset 0 endOffset 18 width 109.20: "baseFrequency=0.05"
-        LayoutSVGText {text} at (335.47,130.80) size 79.03x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (335.47,130.80) size 79.03x12
-            chunk 1 (middle anchor) text run 1 at (335.48,141.00) startOffset 0 endOffset 12 width 79.03: "numOctaves=8"
+        LayoutSVGText {text} at (335.39,130.80) size 79.19x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (335.39,130.80) size 79.19x12
+            chunk 1 (middle anchor) text run 1 at (335.40,141.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=8"
         LayoutSVGRect {rect} at (25,180) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=25.00] [y=180.00] [width=100.00] [height=75.00]
           [filter="Turb4"] LayoutSVGResourceFilter {filter} at (25,180) size 100x75
-        LayoutSVGText {text} at (29.20,261.80) size 91.56x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (29.20,261.80) size 91.56x12
-            chunk 1 (middle anchor) text run 1 at (29.21,272.00) startOffset 0 endOffset 17 width 91.58: "type=fractalNoise"
+        LayoutSVGText {text} at (29.09,261.80) size 91.80x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (29.09,261.80) size 91.80x12
+            chunk 1 (middle anchor) text run 1 at (29.10,272.00) startOffset 0 endOffset 17 width 91.80: "type=fractalNoise"
         LayoutSVGText {text} at (23.69,273.80) size 102.59x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (23.69,273.80) size 102.59x12
             chunk 1 (middle anchor) text run 1 at (23.70,284.00) startOffset 0 endOffset 17 width 102.60: "baseFrequency=0.1"
-        LayoutSVGText {text} at (35.47,285.80) size 79.03x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35.47,285.80) size 79.03x12
-            chunk 1 (middle anchor) text run 1 at (35.48,296.00) startOffset 0 endOffset 12 width 79.03: "numOctaves=4"
+        LayoutSVGText {text} at (35.39,285.80) size 79.19x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35.39,285.80) size 79.19x12
+            chunk 1 (middle anchor) text run 1 at (35.40,296.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=4"
         LayoutSVGRect {rect} at (175,180) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=175.00] [y=180.00] [width=100.00] [height=75.00]
           [filter="Turb5"] LayoutSVGResourceFilter {filter} at (175,180) size 100x75
-        LayoutSVGText {text} at (179.20,261.80) size 91.56x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (179.20,261.80) size 91.56x12
-            chunk 1 (middle anchor) text run 1 at (179.21,272.00) startOffset 0 endOffset 17 width 91.58: "type=fractalNoise"
+        LayoutSVGText {text} at (179.09,261.80) size 91.80x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (179.09,261.80) size 91.80x12
+            chunk 1 (middle anchor) text run 1 at (179.10,272.00) startOffset 0 endOffset 17 width 91.80: "type=fractalNoise"
         LayoutSVGText {text} at (173.69,273.80) size 102.59x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (173.69,273.80) size 102.59x12
             chunk 1 (middle anchor) text run 1 at (173.70,284.00) startOffset 0 endOffset 17 width 102.60: "baseFrequency=0.4"
-        LayoutSVGText {text} at (185.47,285.80) size 79.03x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (185.47,285.80) size 79.03x12
-            chunk 1 (middle anchor) text run 1 at (185.48,296.00) startOffset 0 endOffset 12 width 79.03: "numOctaves=4"
+        LayoutSVGText {text} at (185.39,285.80) size 79.19x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (185.39,285.80) size 79.19x12
+            chunk 1 (middle anchor) text run 1 at (185.40,296.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=4"
         LayoutSVGRect {rect} at (325,180) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=325.00] [y=180.00] [width=100.00] [height=75.00]
           [filter="Turb6"] LayoutSVGResourceFilter {filter} at (325,180) size 100x75
-        LayoutSVGText {text} at (329.20,261.80) size 91.56x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (329.20,261.80) size 91.56x12
-            chunk 1 (middle anchor) text run 1 at (329.21,272.00) startOffset 0 endOffset 17 width 91.58: "type=fractalNoise"
+        LayoutSVGText {text} at (329.09,261.80) size 91.80x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (329.09,261.80) size 91.80x12
+            chunk 1 (middle anchor) text run 1 at (329.10,272.00) startOffset 0 endOffset 17 width 91.80: "type=fractalNoise"
         LayoutSVGText {text} at (323.69,273.80) size 102.59x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (323.69,273.80) size 102.59x12
             chunk 1 (middle anchor) text run 1 at (323.70,284.00) startOffset 0 endOffset 17 width 102.60: "baseFrequency=0.1"
-        LayoutSVGText {text} at (335.47,285.80) size 79.03x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (335.47,285.80) size 79.03x12
-            chunk 1 (middle anchor) text run 1 at (335.48,296.00) startOffset 0 endOffset 12 width 79.03: "numOctaves=1"
+        LayoutSVGText {text} at (335.39,285.80) size 79.19x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (335.39,285.80) size 79.19x12
+            chunk 1 (middle anchor) text run 1 at (335.40,296.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=1"
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.1 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt
index f004c44..bc57caa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt
@@ -27,9 +27,9 @@
           [feTurbulence type="TURBULENCE" baseFrequency="0.01, 0.01" seed="-2.00" numOctaves="1" stitchTiles="0"]
         LayoutSVGResourceFilter {filter} [id="turbneg7"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
           [feTurbulence type="TURBULENCE" baseFrequency="0.01, 0.01" seed="-2.60" numOctaves="1" stitchTiles="0"]
-      LayoutSVGText {text} at (142.03,26.39) size 195.91x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (142.03,26.39) size 195.91x27
-          chunk 1 (middle anchor) text run 1 at (142.05,48.00) startOffset 0 endOffset 17 width 195.91: "feTurbulence seed"
+      LayoutSVGText {text} at (142.19,26.39) size 195.59x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (142.19,26.39) size 195.59x27
+          chunk 1 (middle anchor) text run 1 at (142.20,48.00) startOffset 0 endOffset 17 width 195.60: "feTurbulence seed"
       LayoutSVGContainer {g} at (-5,-5) size 360x220 [transform={m=((1.00,0.00)(0.00,1.00)) t=(65.00,80.00)}]
         LayoutSVGRect {rect} at (0,0) size 50x50 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=50.00] [height=50.00]
           [filter="turbneg3"] LayoutSVGResourceFilter {filter} at (0,0) size 50x50
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.png
index aba7ac4..a9fad230 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt
index 7a28ea4..a7d901b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt
@@ -30,9 +30,9 @@
           chunk 1 text run 1 at (67.00,210.00) startOffset 0 endOffset 8 width 74.40: "SVG Font"
       LayoutSVGContainer {g} at (0,-54) size 210x68.39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(165.00,220.00)}]
         LayoutSVGPath {line} at (0,0) size 210x0 [stroke={[type=SOLID] [color=#888888]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=0.00] [x2=210.00] [y2=0.00]
-        LayoutSVGText {text} at (0,-54) size 192.48x68.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,-54) size 192.48x68.39
-            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 5 width 192.49: "Ay\x{D6}@\x{E7}"
+        LayoutSVGText {text} at (0,-54) size 192x68.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,-54) size 192x68.39
+            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 5 width 192.00: "Ay\x{D6}@\x{E7}"
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.2 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.png
index d96a131..b013c2f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt
index ca1d8f8..57d025e2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt
@@ -30,9 +30,9 @@
           chunk 1 text run 1 at (67.00,210.00) startOffset 0 endOffset 8 width 74.40: "SVG Font"
       LayoutSVGContainer {g} at (0,-54) size 210x68.39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(165.00,220.00)}]
         LayoutSVGPath {line} at (0,0) size 210x0 [stroke={[type=SOLID] [color=#888888]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=0.00] [x2=210.00] [y2=0.00]
-        LayoutSVGText {text} at (0,-54) size 192.48x68.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,-54) size 192.48x68.39
-            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 5 width 192.49: "Ay\x{D6}@\x{E7}"
+        LayoutSVGText {text} at (0,-54) size 192x68.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,-54) size 192x68.39
+            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 5 width 192.00: "Ay\x{D6}@\x{E7}"
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.1 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt
index ce36ebc..e168e637 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt
@@ -31,9 +31,9 @@
           chunk 1 text run 1 at (65.00,210.00) startOffset 0 endOffset 8 width 74.00: "SVG Font"
       LayoutSVGContainer {g} at (0,-54) size 210x68 [transform={m=((1.00,0.00)(0.00,1.00)) t=(165.00,220.00)}]
         LayoutSVGPath {line} at (0,0) size 210x0 [stroke={[type=SOLID] [color=#888888]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=0.00] [x2=210.00] [y2=0.00]
-        LayoutSVGText {text} at (0,-54) size 192.48x68 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,-54) size 192.48x68
-            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 5 width 192.49: "Ay\x{D6}@\x{E7}"
+        LayoutSVGText {text} at (0,-54) size 192x68 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,-54) size 192x68
+            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 5 width 192.00: "Ay\x{D6}@\x{E7}"
     LayoutSVGText {text} at (10,304) size 264x46 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 264x46
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 264.00: "$Revision: 1.7 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.png
index c027baa..ebf40c9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt
index 384df73..eb9eeb8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt
@@ -2,14 +2,14 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (99,1.59) size 311x333.41
+    LayoutSVGContainer {g} at (99.30,1.59) size 310.70x333.41
       LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-      LayoutSVGText {text} at (99,1.59) size 282.58x29.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (99,1.59) size 129.58x29.39
-          chunk 1 (middle anchor) text run 1 at (99.01,25.00) startOffset 0 endOffset 12 width 129.58: "Text Cursor "
-        LayoutSVGInline {a} at (99,1.59) size 282.58x29.39
-          LayoutSVGInlineText {#text} at (228.58,1.59) size 153x29.39
-            chunk 1 (middle anchor) text run 1 at (228.59,25.00) startOffset 0 endOffset 14 width 152.40: "Pointer Cursor"
+      LayoutSVGText {text} at (99.30,1.59) size 282x29.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (99.30,1.59) size 129x29.39
+          chunk 1 (middle anchor) text run 1 at (99.30,25.00) startOffset 0 endOffset 12 width 129.00: "Text Cursor "
+        LayoutSVGInline {a} at (99.30,1.59) size 282x29.39
+          LayoutSVGInlineText {#text} at (228.30,1.59) size 153x29.39
+            chunk 1 (middle anchor) text run 1 at (228.30,25.00) startOffset 0 endOffset 14 width 152.40: "Pointer Cursor"
         LayoutSVGInlineText {#text} at (0,0) size 0x0
       LayoutSVGRect {rect} at (120,40) size 240x236 [stroke={[type=SOLID] [color=#666666] [stroke width=3.00]}] [x=120.00] [y=40.00] [width=240.00] [height=236.00]
       LayoutSVGContainer {g} at (148,70) size 184x176
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt
index 186682bb..5213fda 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt
@@ -5,9 +5,9 @@
     LayoutSVGContainer {g} at (65,20) size 350x200
       LayoutSVGContainer {g} at (65,20) size 350x200
         LayoutSVGRect {rect} at (65,20) size 350x200 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#DDDDDD]}] [x=65.00] [y=20.00] [width=350.00] [height=200.00]
-        LayoutSVGText {text} at (120,81.39) size 205.63x61.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (120,81.39) size 205.63x61.80
-            chunk 1 text run 1 at (120.00,130.00) startOffset 0 endOffset 10 width 205.03: "Start Test"
+        LayoutSVGText {text} at (120,81.39) size 205.80x61.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (120,81.39) size 205.80x61.80
+            chunk 1 text run 1 at (120.00,130.00) startOffset 0 endOffset 10 width 205.20: "Start Test"
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.2 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-events-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-events-01-b-expected.png
index 45091ce..f426c40 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-events-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-events-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt
index d59408e..e32b9cbd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt
@@ -7,40 +7,40 @@
       LayoutSVGText {text} at (30,4) size 413.39x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (30,4) size 413.39x45
           chunk 1 text run 1 at (30.00,40.00) startOffset 0 endOffset 25 width 413.40: "'onload' event attribute."
-      LayoutSVGContainer {g} at (47.50,45) size 360.92x262
+      LayoutSVGContainer {g} at (47.50,45) size 361x262
         LayoutSVGContainer {g} at (-30,0) size 110x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(77.50,45.00)}]
           LayoutSVGRect {rect} at (0,0) size 80x80 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=80.00] [height=80.00]
           LayoutSVGText {text} at (-30,84) size 96x45 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (-30,84) size 96x45
               chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 5 width 96.00: "1: No"
-        LayoutSVGContainer {g} at (-30,0) size 110.92x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(202.50,45.00)}]
+        LayoutSVGContainer {g} at (-30,0) size 111x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(202.50,45.00)}]
           LayoutSVGRect {rect} at (0,0) size 80x80 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=80.00] [height=80.00]
-          LayoutSVGText {text} at (-30,84) size 110.92x45 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-30,84) size 110.92x45
-              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 110.93: "2: Yes"
-        LayoutSVGContainer {g} at (-30,0) size 110.92x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(327.50,45.00)}]
+          LayoutSVGText {text} at (-30,84) size 111x45 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-30,84) size 111x45
+              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 111.00: "2: Yes"
+        LayoutSVGContainer {g} at (-30,0) size 111x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(327.50,45.00)}]
           LayoutSVGContainer {g} at (0,0) size 80x80
             LayoutSVGRect {rect} at (0,0) size 80x80 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=80.00] [height=80.00]
-          LayoutSVGText {text} at (-30,84) size 110.92x45 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-30,84) size 110.92x45
-              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 110.93: "3: Yes"
-        LayoutSVGContainer {g} at (-30,0) size 110.92x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(77.50,178.00)}]
+          LayoutSVGText {text} at (-30,84) size 111x45 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-30,84) size 111x45
+              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 111.00: "3: Yes"
+        LayoutSVGContainer {g} at (-30,0) size 111x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(77.50,178.00)}]
           LayoutSVGViewportContainer {svg} at (0,0) size 80x80
             LayoutSVGRect {rect} at (0,0) size 80x80 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=80.00] [height=80.00]
-          LayoutSVGText {text} at (-30,84) size 110.92x45 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-30,84) size 110.92x45
-              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 110.93: "4: Yes"
+          LayoutSVGText {text} at (-30,84) size 111x45 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-30,84) size 111x45
+              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 111.00: "4: Yes"
         LayoutSVGContainer {g} at (-30,0) size 110x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(202.50,178.00)}]
           LayoutSVGContainer {g} at (0,0) size 80x80
             LayoutSVGRect {rect} at (0,0) size 80x80 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=80.00] [height=80.00]
           LayoutSVGText {text} at (-30,84) size 96x45 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (-30,84) size 96x45
               chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 5 width 96.00: "5: No"
-        LayoutSVGContainer {g} at (-30,0) size 110.92x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(327.50,178.00)}]
+        LayoutSVGContainer {g} at (-30,0) size 111x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(327.50,178.00)}]
           LayoutSVGRect {rect} at (0,0) size 80x80 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=80.00] [height=80.00]
-          LayoutSVGText {text} at (-30,84) size 110.92x45 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-30,84) size 110.92x45
-              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 110.93: "6: Yes"
+          LayoutSVGText {text} at (-30,84) size 111x45 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-30,84) size 111x45
+              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 111.00: "6: Yes"
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.2 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.png
index 187dd94..932f83f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt
index d8dca5d3..e813fb6a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (5,1.59) size 65x40.41
       LayoutSVGContainer {g} at (5,1.59) size 65x40.41
-        LayoutSVGText {text} at (5,1.59) size 53.42x6.69 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (5,1.59) size 53.42x6.69
-            chunk 1 text run 1 at (5.00,7.00) startOffset 0 endOffset 21 width 53.23: "Test default value of"
+        LayoutSVGText {text} at (5,1.59) size 53.50x6.69 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (5,1.59) size 53.50x6.69
+            chunk 1 text run 1 at (5.00,7.00) startOffset 0 endOffset 21 width 53.30: "Test default value of"
         LayoutSVGText {text} at (5,8.59) size 60.80x6.69 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (5,8.59) size 60.80x6.69
             chunk 1 text run 1 at (5.00,14.00) startOffset 0 endOffset 21 width 60.80: "zoomAndPan attribute."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt
index 2ebe2f1..40c4e455f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (10,5.80) size 423.39x274.20
-      LayoutSVGText {text} at (90,5.80) size 219.47x13.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (90,5.80) size 219.47x13.19
-          chunk 1 text run 1 at (90.00,16.00) startOffset 0 endOffset 47 width 219.47: "Verify transform attributes in the 'a' element."
+      LayoutSVGText {text} at (90,5.80) size 219.59x13.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (90,5.80) size 219.59x13.19
+          chunk 1 text run 1 at (90.00,16.00) startOffset 0 endOffset 47 width 219.60: "Verify transform attributes in the 'a' element."
       LayoutSVGPath {path} at (165,28) size 145x72 [stroke={[type=SOLID] [color=#000080]}] [fill={[type=SOLID] [color=#808000]}] [data="M 165 40 h 100 v -12 l 45 36 l -45 36 v -12 h -100 Z"]
       LayoutSVGContainer {a} at (165,28) size 145x72 [transform={m=((0.94,0.34)(-0.34,0.94)) t=(35.80,-73.03)}]
         LayoutSVGPath {path} at (165,28) size 145x72 [stroke={[type=SOLID] [color=#0000FF]}] [fill={[type=SOLID] [color=#FFFF00]}] [data="M 165 40 h 100 v -12 l 45 36 l -45 36 v -12 h -100 Z"]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-02-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-02-b-expected.png
index ed2d0ab..c3901ed 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-02-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-02-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt
index d774669..42685fa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt
@@ -65,9 +65,9 @@
         LayoutSVGInlineText {#text} at (65,280.59) size 55.80x18.59
           chunk 1 text run 1 at (65.00,295.00) startOffset 0 endOffset 7 width 55.80: "Polygon"
       LayoutSVGRect {rect} at (36,208) size 100x89 [stroke={[type=SOLID] [color=#000000]}] [x=36.00] [y=208.00] [width=100.00] [height=89.00]
-      LayoutSVGText {text} at (46,188) size 80.72x11.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (46,188) size 80.72x11.39
-          chunk 1 text run 1 at (46.00,197.00) startOffset 0 endOffset 18 width 80.72: "viewTarget, should"
+      LayoutSVGText {text} at (46,188) size 80.39x11.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (46,188) size 80.39x11.39
+          chunk 1 text run 1 at (46.00,197.00) startOffset 0 endOffset 18 width 80.40: "viewTarget, should"
       LayoutSVGText {text} at (46,197) size 76.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (46,197) size 76.80x11.39
           chunk 1 text run 1 at (46.00,206.00) startOffset 0 endOffset 17 width 76.80: "highlight polygon"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-03-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-03-t-expected.png
index 22ec5ae..c7e3018d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-03-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-03-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt
index 423a5a1..bf93bf2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt
@@ -2,21 +2,21 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (19,5.80) size 418.41x246.20
+    LayoutSVGContainer {g} at (19,5.80) size 418.59x246.20
       LayoutSVGText {text} at (75,5.80) size 259.80x13.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (75,5.80) size 259.80x13.19
           chunk 1 text run 1 at (75.00,16.00) startOffset 0 endOffset 55 width 259.80: "Simple exercise of xlink attributes on the 'a' element."
       LayoutSVGContainer {a} at (135,122) size 130x130
         LayoutSVGPath {path} at (135,122) size 130x130 [stroke={[type=SOLID] [color=#0000FF]}] [fill={[type=SOLID] [color=#00FF00]}] [data="M 135 122 l 130 0 l -65 130 Z"]
-      LayoutSVGText {text} at (160,105.80) size 69.97x13.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (160,105.80) size 69.97x13.19
-          chunk 1 text run 1 at (160.00,116.00) startOffset 0 endOffset 13 width 69.98: "Click for TOC"
+      LayoutSVGText {text} at (160,105.80) size 70.19x13.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (160,105.80) size 70.19x13.19
+          chunk 1 text run 1 at (160.00,116.00) startOffset 0 endOffset 13 width 70.20: "Click for TOC"
       LayoutSVGText {text} at (25,161.80) size 82.19x13.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (25,161.80) size 82.19x13.19
           chunk 1 text run 1 at (25.00,172.00) startOffset 0 endOffset 18 width 82.20: "Link to local file"
-      LayoutSVGText {text} at (25,171.80) size 83.16x13.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (25,171.80) size 83.16x13.19
-          chunk 1 text run 1 at (25.00,182.00) startOffset 0 endOffset 17 width 83.16: "linkingToc-t.svg."
+      LayoutSVGText {text} at (25,171.80) size 82.80x13.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (25,171.80) size 82.80x13.19
+          chunk 1 text run 1 at (25.00,182.00) startOffset 0 endOffset 17 width 82.80: "linkingToc-t.svg."
       LayoutSVGRect {rect} at (19,160) size 100x26 [stroke={[type=SOLID] [color=#000000]}] [x=19.00] [y=160.00] [width=100.00] [height=26.00]
       LayoutSVGText {text} at (275,135) size 86.39x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (275,135) size 86.39x11.39
@@ -27,18 +27,18 @@
       LayoutSVGText {text} at (275,157) size 115.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (275,157) size 115.19x11.39
           chunk 1 text run 1 at (275.00,166.00) startOffset 0 endOffset 25 width 115.20: "xlink:actuate=\"onRequest\""
-      LayoutSVGText {text} at (275,168) size 127.09x11.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (275,168) size 127.09x11.39
-          chunk 1 text run 1 at (275.00,177.00) startOffset 0 endOffset 29 width 127.10: "xlink:href=\"linkingToc-t.svg\""
+      LayoutSVGText {text} at (275,168) size 126.59x11.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (275,168) size 126.59x11.39
+          chunk 1 text run 1 at (275.00,177.00) startOffset 0 endOffset 29 width 126.60: "xlink:href=\"linkingToc-t.svg\""
       LayoutSVGText {text} at (275,179) size 128.39x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (275,179) size 128.39x11.39
           chunk 1 text run 1 at (275.00,188.00) startOffset 0 endOffset 30 width 128.40: "xlink:role=\"figure-out-a-role\""
-      LayoutSVGText {text} at (275,190) size 162.41x11.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (275,190) size 162.41x11.39
-          chunk 1 text run 1 at (275.00,199.00) startOffset 0 endOffset 38 width 162.42: "xlink:title=\"TOC of Linking BE tests.\""
-      LayoutSVGText {text} at (275,201) size 59.81x11.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (275,201) size 59.81x11.39
-          chunk 1 text run 1 at (275.00,210.00) startOffset 0 endOffset 14 width 59.82: "target=\"_self\""
+      LayoutSVGText {text} at (275,190) size 162.59x11.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (275,190) size 162.59x11.39
+          chunk 1 text run 1 at (275.00,199.00) startOffset 0 endOffset 38 width 162.60: "xlink:title=\"TOC of Linking BE tests.\""
+      LayoutSVGText {text} at (275,201) size 60x11.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (275,201) size 60x11.39
+          chunk 1 text run 1 at (275.00,210.00) startOffset 0 endOffset 14 width 60.00: "target=\"_self\""
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.8 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png
index 7526f37..3e57ba0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-intro-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-intro-01-f-expected.txt
index 043a54d..04f370b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-intro-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-intro-01-f-expected.txt
@@ -2,27 +2,27 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGText {text} at (65.13,18.80) size 349.73x20.39 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (65.13,18.80) size 349.73x20.39
-        chunk 1 (middle anchor) text run 1 at (65.13,35.00) startOffset 0 endOffset 51 width 349.74: "Testing stroke inclusion for 'clip-path' and 'mask'"
+    LayoutSVGText {text} at (65.09,18.80) size 349.80x20.39 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (65.09,18.80) size 349.80x20.39
+        chunk 1 (middle anchor) text run 1 at (65.10,35.00) startOffset 0 endOffset 51 width 349.80: "Testing stroke inclusion for 'clip-path' and 'mask'"
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
       LayoutSVGResourceClipper {clipPath} [id="one"] [clipPathUnits=objectBoundingBox]
         LayoutSVGEllipse {circle} at (0.10,0.30) size 0.40x0.40 [stroke={[type=SOLID] [color=#FF0000] [stroke width=0.15]}] [cx=0.30] [cy=0.50] [r=0.20]
         LayoutSVGEllipse {circle} at (0.50,0.30) size 0.40x0.40 [cx=0.70] [cy=0.50] [r=0.20]
     LayoutSVGRect {rect} at (150,0) size 200x200 [fill={[type=SOLID] [color=#00008B]}] [x=150.00] [y=0.00] [width=200.00] [height=200.00]
       [clipPath="one"] LayoutSVGResourceClipper {clipPath} at (155,45) size 175x110
-    LayoutSVGText {text} at (50,95.59) size 118.16x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (50,95.59) size 118.16x18.59
-        chunk 1 text run 1 at (50.00,110.00) startOffset 0 endOffset 19 width 118.16: "With a 'clip-path':"
+    LayoutSVGText {text} at (50,95.59) size 117.59x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (50,95.59) size 117.59x18.59
+        chunk 1 text run 1 at (50.00,110.00) startOffset 0 endOffset 19 width 117.60: "With a 'clip-path':"
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
       LayoutSVGResourceMasker {mask} [id="two"] [maskUnits=objectBoundingBox] [maskContentUnits=objectBoundingBox]
         LayoutSVGEllipse {circle} at (0.10,0.30) size 0.40x0.40 [stroke={[type=SOLID] [color=#FF0000] [stroke width=0.15]}] [fill={[type=SOLID] [color=#0000FF]}] [cx=0.30] [cy=0.50] [r=0.20]
         LayoutSVGEllipse {circle} at (0.50,0.30) size 0.40x0.40 [fill={[type=SOLID] [color=#0000FF]}] [cx=0.70] [cy=0.50] [r=0.20]
     LayoutSVGRect {rect} at (150,150) size 200x200 [fill={[type=SOLID] [color=#00008B]}] [x=150.00] [y=150.00] [width=200.00] [height=200.00]
       [masker="two"] LayoutSVGResourceMasker {mask} at (155,195) size 175x110
-    LayoutSVGText {text} at (50,245.59) size 93.55x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (50,245.59) size 93.55x18.59
-        chunk 1 text run 1 at (50.00,260.00) startOffset 0 endOffset 14 width 93.56: "With a 'mask':"
+    LayoutSVGText {text} at (50,245.59) size 93x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (50,245.59) size 93x18.59
+        chunk 1 text run 1 at (50.00,260.00) startOffset 0 endOffset 14 width 93.00: "With a 'mask':"
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.7 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-mask-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-mask-01-b-expected.png
index a023baf4..cbdf06fc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-mask-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-mask-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt
index df2ac0f..43c960f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (10,7.39) size 387.39x297.19
       LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-      LayoutSVGText {text} at (10,7.39) size 133.44x15.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,7.39) size 133.44x15.59
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 21 width 132.85: "Test for mask support"
+      LayoutSVGText {text} at (10,7.39) size 133.80x15.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,7.39) size 133.80x15.59
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 21 width 133.20: "Test for mask support"
       LayoutSVGRect {rect} at (10,30) size 100x260 [fill={[type=SOLID] [color=#FF0000]}] [x=10.00] [y=30.00] [width=100.00] [height=260.00]
       LayoutSVGResourceMasker {mask} [id="mask1"] [maskUnits=userSpaceOnUse] [maskContentUnits=userSpaceOnUse]
         LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
@@ -40,9 +40,9 @@
         [masker="mask3"] LayoutSVGResourceMasker {mask} at (60,200) size 200x100
         LayoutSVGInlineText {#text} at (60,182.19) size 219.59x122.39
           chunk 1 text run 1 at (60.00,280.00) startOffset 0 endOffset 3 width 219.60: "SVG"
-      LayoutSVGText {text} at (200,213.59) size 195.47x13.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (200,213.59) size 195.47x13.80
-          chunk 1 text run 1 at (200.00,225.00) startOffset 0 endOffset 36 width 195.47: "Text with mask containing rectangles"
+      LayoutSVGText {text} at (200,213.59) size 195.59x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (200,213.59) size 195.59x13.80
+          chunk 1 text run 1 at (200.00,225.00) startOffset 0 endOffset 36 width 195.60: "Text with mask containing rectangles"
       LayoutSVGText {text} at (200,228.59) size 102.59x13.80 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (200,228.59) size 102.59x13.80
           chunk 1 text run 1 at (200.00,240.00) startOffset 0 endOffset 20 width 102.60: "of various opacities"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt
index c368c3d..b93f7e5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (10,5.39) size 436x284.61
-      LayoutSVGText {text} at (50,5.39) size 380.13x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (50,5.39) size 380.13x27
-          chunk 1 text run 1 at (50.00,27.00) startOffset 0 endOffset 37 width 380.14: "Test for opacity property on a group."
+      LayoutSVGText {text} at (50,5.39) size 380.39x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (50,5.39) size 380.39x27
+          chunk 1 text run 1 at (50.00,27.00) startOffset 0 endOffset 37 width 380.40: "Test for opacity property on a group."
       LayoutSVGRect {rect} at (10,30) size 100x260 [fill={[type=SOLID] [color=#FF0000]}] [x=10.00] [y=30.00] [width=100.00] [height=260.00]
       LayoutSVGContainer {g} at (60,50) size 90x50
         LayoutSVGRect {rect} at (60,50) size 80x40 [fill={[type=SOLID] [color=#0000FF]}] [x=60.00] [y=50.00] [width=80.00] [height=40.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt
index 9ebc4c2..018231d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (-175,-20) size 830x410
-      LayoutSVGText {text} at (10,53.19) size 462.39x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,53.19) size 462.39x21
-          chunk 1 text run 1 at (10.00,70.00) startOffset 0 endOffset 60 width 462.40: "Test 'overflow'/'clip' on outermost and inner 'svg' elements"
+      LayoutSVGText {text} at (10,53.19) size 462x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,53.19) size 462x21
+          chunk 1 text run 1 at (10.00,70.00) startOffset 0 endOffset 60 width 462.00: "Test 'overflow'/'clip' on outermost and inner 'svg' elements"
       LayoutSVGContainer {g} at (-175,-20) size 830x410
         LayoutSVGContainer {g} at (0,0) size 250x60 [transform={m=((1.00,0.00)(0.00,1.00)) t=(115.00,-20.00)}]
           LayoutSVGRect {rect} at (0,0) size 250x60 [stroke={[type=SOLID] [color=#FF8888] [stroke width=2.00]}] [fill={[type=SOLID] [color=#CCCCFF]}] [x=0.00] [y=0.00] [width=250.00] [height=60.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-04-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-04-b-expected.png
index 577c2ee..d8b94b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-04-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-04-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-04-b-expected.txt
index 096759e..d94b37a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-04-b-expected.txt
@@ -5,17 +5,17 @@
     LayoutSVGContainer {g} at (20,20) size 420x310
       LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
         LayoutSVGResourceClipper {clipPath} [id="sample"] [clipPathUnits=userSpaceOnUse]
-          LayoutSVGText {text} at (45,169.80) size 351x121.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (45,169.80) size 351x121.19
-              chunk 1 text run 1 at (45.00,270.00) startOffset 0 endOffset 9 width 351.00: "Clip Test"
+          LayoutSVGText {text} at (45,169.80) size 351.59x121.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (45,169.80) size 351.59x121.19
+              chunk 1 text run 1 at (45.00,270.00) startOffset 0 endOffset 9 width 351.60: "Clip Test"
       LayoutSVGContainer {g} at (30,20) size 410x140
         LayoutSVGImage {image} at (30,20) size 410x140
-        LayoutSVGText {text} at (55,29.80) size 351x121.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (55,29.80) size 351x121.19
-            chunk 1 text run 1 at (55.00,130.00) startOffset 0 endOffset 9 width 351.00: "Clip Test"
+        LayoutSVGText {text} at (55,29.80) size 351.59x121.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (55,29.80) size 351.59x121.19
+            chunk 1 text run 1 at (55.00,130.00) startOffset 0 endOffset 9 width 351.60: "Clip Test"
       LayoutSVGContainer {g} at (20,170) size 410x160
         LayoutSVGImage {image} at (20,170) size 410x160
-          [clipPath="sample"] LayoutSVGResourceClipper {clipPath} at (45,169.80) size 351x121.19
+          [clipPath="sample"] LayoutSVGResourceClipper {clipPath} at (45,169.80) size 351.59x121.19
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.8 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-05-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-05-f-expected.png
index fb41b18..1e7d3df 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-05-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-05-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-05-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-05-f-expected.txt
index b1b9526..75b32d6f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-05-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/masking-path-05-f-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (50,7.39) size 350x265
-      LayoutSVGText {text} at (150,7.39) size 155.80x15.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (150,7.39) size 155.80x15.59
-          chunk 1 text run 1 at (150.00,20.00) startOffset 0 endOffset 28 width 155.81: "Test for clip-rule property."
+      LayoutSVGText {text} at (150,7.39) size 156x15.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (150,7.39) size 156x15.59
+          chunk 1 text run 1 at (150.00,20.00) startOffset 0 endOffset 28 width 156.00: "Test for clip-rule property."
       LayoutSVGResourceClipper {clipPath} [id="clip1"] [clipPathUnits=userSpaceOnUse]
         LayoutSVGPath {path} at (180,40) size 80x80 [fill={[type=SOLID] [color=#000000]}] [clip rule=EVEN-ODD] [data="M 200 40 l 20 0 l 0 60 l 20 0 l 0 -20 l -60 0 l 0 -20 l 80 0 l 0 60 l -60 0 l 0 -80 Z"]
       LayoutSVGRect {rect} at (50,30) size 350x100 [fill={[type=SOLID] [color=#FF0000]}] [x=50.00] [y=30.00] [width=350.00] [height=100.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt
index aea5c8a5..55d2e0a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt
@@ -79,9 +79,9 @@
           LayoutSVGText {text} at (177,203) size 49.98x19.98 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (177,203) size 49.98x19.98
               chunk 1 text run 1 at (177.00,213.00) startOffset 0 endOffset 7 width 40.00: "online:"
-          LayoutSVGText {text} at (601,311) size 99.63x19.98 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (601,311) size 99.63x19.98
-              chunk 1 text run 1 at (601.00,321.00) startOffset 0 endOffset 16 width 99.63: "Sibyll Trelawney"
+          LayoutSVGText {text} at (601,311) size 99.98x19.98 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (601,311) size 99.98x19.98
+              chunk 1 text run 1 at (601.00,321.00) startOffset 0 endOffset 16 width 100.00: "Sibyll Trelawney"
         LayoutSVGContainer {g} at (240,95) size 229.98x190.98
           LayoutSVGText {text} at (256,148) size 189.98x19.98 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (256,148) size 189.98x19.98
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-marker-03-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-marker-03-f-expected.png
index 90f55b63..ad6f837 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-marker-03-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-marker-03-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt
index 2e957eac..88d2b6c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt
@@ -19,9 +19,9 @@
       LayoutSVGPath {polyline} at (190,60) size 80x80 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFD700] [fill rule=EVEN-ODD]}] [start marker=marker1] [middle marker=marker1] [end marker=marker1] [points="190 60 210 140 230 60 250 140 270 60 270 100 190 100"]
       LayoutSVGPath {line} at (280,60) size 90x80 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFD700] [fill rule=EVEN-ODD]}] [start marker=marker1] [middle marker=marker1] [end marker=marker1] [x1=280.00] [y1=60.00] [x2=370.00] [y2=140.00]
       LayoutSVGPath {line} at (280,60) size 90x80 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFD700] [fill rule=EVEN-ODD]}] [start marker=marker1] [middle marker=marker1] [end marker=marker1] [x1=370.00] [y1=60.00] [x2=280.00] [y2=140.00]
-    LayoutSVGText {text} at (33.89,182.59) size 412.19x22.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (33.89,182.59) size 412.19x22.19
-        chunk 1 (middle anchor) text run 1 at (33.90,200.00) startOffset 0 endOffset 53 width 412.20: "'marker-start', 'marker-mid' & 'marker-end' attribute"
+    LayoutSVGText {text} at (33.30,182.59) size 413.39x22.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (33.30,182.59) size 413.39x22.19
+        chunk 1 (middle anchor) text run 1 at (33.30,200.00) startOffset 0 endOffset 53 width 413.40: "'marker-start', 'marker-mid' & 'marker-end' attribute"
     LayoutSVGContainer {g} at (10,60) size 360x80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(50.00,150.00)}] [start marker=marker1] [middle marker=marker1] [end marker=marker1]
       LayoutSVGPath {path} at (10,60) size 80x80 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFD700] [fill rule=EVEN-ODD]}] [start marker=marker1] [middle marker=marker1] [end marker=marker1] [data="M 10 60 Q 90 60 90 140 Q 10 140 10 60 Z M 10 140 Q 10 60 90 60 Q 90 140 10 140 Z M 50 70 L 80 100 L 50 130 L 20 100 Z"]
       LayoutSVGPath {polygon} at (100,60) size 80x80 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFD700] [fill rule=EVEN-ODD]}] [start marker=marker1] [middle marker=marker1] [end marker=marker1] [points="100 60 120 140 140 60 160 140 180 60 180 100 100 100"]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-render-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-render-01-b-expected.png
index f4569fd..0996e99 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-render-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-render-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt
index fa78c63..c99668038 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt
@@ -2,14 +2,14 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (-3.02,7.19) size 473.61x272.81
+    LayoutSVGContainer {g} at (-3,7.19) size 473.59x272.81
       LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
         LayoutSVGResourceLinearGradient {linearGradient} [id="gradientDefault"] [gradientUnits=objectBoundingBox] [stops=( #FFFFFF@0.00 #0000FF@0.33 #FF0000@0.66 #FFFF00@1.00 )] [start=(0,0)] [end=(1,0)]
         LayoutSVGResourceLinearGradient {linearGradient} [id="gradientSRGB"] [gradientUnits=objectBoundingBox] [stops=( #FFFFFF@0.00 #0000FF@0.33 #FF0000@0.66 #FFFF00@1.00 )] [start=(0,0)] [end=(1,0)]
         LayoutSVGResourceLinearGradient {linearGradient} [id="gradientLinearRGB"] [gradientUnits=objectBoundingBox] [stops=( #FFFFFF@0.00 #0000FF@0.33 #FF0000@0.66 #FFFF00@1.00 )] [start=(0,0)] [end=(1,0)]
-      LayoutSVGText {text} at (-3.02,7.19) size 456.03x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (-3.02,7.19) size 456.03x27
-          chunk 1 (middle anchor) text run 1 at (-3.02,30.00) startOffset 0 endOffset 43 width 456.04: "Basic test of color-interpolation property."
+      LayoutSVGText {text} at (-3,7.19) size 456x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (-3,7.19) size 456x27
+          chunk 1 (middle anchor) text run 1 at (-3.00,30.00) startOffset 0 endOffset 43 width 456.00: "Basic test of color-interpolation property."
       LayoutSVGContainer {g} at (-3,-13) size 433.59x53 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,80.00)}]
         LayoutSVGRect {rect} at (0,0) size 300x40 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=LINEAR-GRADIENT] [id="gradientDefault"]}] [x=0.00] [y=0.00] [width=300.00] [height=40.00]
         LayoutSVGEllipse {circle} at (-3,-13) size 6x6 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.00] [cy=-10.00] [r=3.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.png
index 6529ec28..8859db2a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt
index 4ae1617..9e1149d5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt
@@ -14,7 +14,7 @@
       LayoutSVGText {text} at (148,244) size 219.59x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (148,244) size 219.59x45
           chunk 1 text run 1 at (148.00,280.00) startOffset 0 endOffset 12 width 219.60: "stroke=\"red\""
-    LayoutSVGText {text} at (10,304) size 287.11x45.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,304) size 287.11x45.59
-        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 287.12: "$Revision: 1.11 $"
+    LayoutSVGText {text} at (10,304) size 287.39x45.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,304) size 287.39x45.59
+        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 287.40: "$Revision: 1.11 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.png
index 114ac82..57d02c3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt
index a605fa6e..0c038e7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt
@@ -11,9 +11,9 @@
       LayoutSVGText {text} at (65,182.39) size 349.80x34.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (65,182.39) size 349.80x34.19
           chunk 1 text run 1 at (65.00,210.00) startOffset 0 endOffset 25 width 349.80: "stroke-dasharray=\"10, 10\""
-      LayoutSVGText {text} at (75,232.39) size 303.66x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (75,232.39) size 303.66x34.19
-          chunk 1 text run 1 at (75.00,260.00) startOffset 0 endOffset 22 width 303.66: "stroke-dashoffset=\"10\""
+      LayoutSVGText {text} at (75,232.39) size 304.19x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (75,232.39) size 304.19x34.19
+          chunk 1 text run 1 at (75.00,260.00) startOffset 0 endOffset 22 width 304.20: "stroke-dashoffset=\"10\""
     LayoutSVGText {text} at (10,304) size 288.59x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 288.59x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 288.60: "$Revision: 1.10 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-02-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-02-t-expected.txt
index 3aa4a35..5619384 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-02-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-02-t-expected.txt
@@ -29,9 +29,9 @@
       LayoutSVGRect {rect} at (222,101) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=222.00] [y=101.00] [width=4.00] [height=4.00]
       LayoutSVGRect {rect} at (302,31) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=302.00] [y=31.00] [width=4.00] [height=4.00]
       LayoutSVGPath {path} at (177.52,101.33) size 147.14x116.67 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#00C000]}] [data="M 208 168 Q 258 268 308 168 T 258 118 Q 128 88 208 168 Z"]
-      LayoutSVGText {text} at (308,176.59) size 70.06x13.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (308,176.59) size 70.06x13.80
-          chunk 1 text run 1 at (308.00,188.00) startOffset 0 endOffset 13 width 70.07: "M, Q, T, Q, z"
+      LayoutSVGText {text} at (308,176.59) size 70.19x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (308,176.59) size 70.19x13.80
+          chunk 1 text run 1 at (308.00,188.00) startOffset 0 endOffset 13 width 70.20: "M, Q, T, Q, z"
       LayoutSVGRect {rect} at (206,166) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=206.00] [y=166.00] [width=4.00] [height=4.00]
       LayoutSVGRect {rect} at (306,166) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=306.00] [y=166.00] [width=4.00] [height=4.00]
       LayoutSVGRect {rect} at (256,116) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=256.00] [y=116.00] [width=4.00] [height=4.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-06-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-06-t-expected.png
index fb89d83..f3869f39 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-06-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-06-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-06-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-06-t-expected.txt
index 7ff90ef..c20ec19 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-06-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-06-t-expected.txt
@@ -4,15 +4,15 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (68.40,34.20) size 367.20x232.20
       LayoutSVGContainer {g} at (238,19) size 204x129 [transform={m=((1.80,0.00)(0.00,1.80)) t=(-360.00,0.00)}]
-        LayoutSVGText {text} at (288,19) size 57.56x13.66 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (288,19) size 57.56x13.66
-            chunk 1 text run 1 at (288.00,30.00) startOffset 0 endOffset 11 width 57.57: "M, H, V, H,"
-        LayoutSVGText {text} at (288,35) size 54.45x13.66 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (288,35) size 54.45x13.66
-            chunk 1 text run 1 at (288.00,46.00) startOffset 0 endOffset 11 width 54.46: "V. H, V, H,"
-        LayoutSVGText {text} at (304,51) size 20.89x13.66 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (304,51) size 20.89x13.66
-            chunk 1 text run 1 at (304.00,62.00) startOffset 0 endOffset 4 width 20.90: "V, Z"
+        LayoutSVGText {text} at (288,19) size 57.33x13.66 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (288,19) size 57.33x13.66
+            chunk 1 text run 1 at (288.00,30.00) startOffset 0 endOffset 11 width 57.33: "M, H, V, H,"
+        LayoutSVGText {text} at (288,35) size 54x13.66 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (288,35) size 54x13.66
+            chunk 1 text run 1 at (288.00,46.00) startOffset 0 endOffset 11 width 54.00: "V. H, V, H,"
+        LayoutSVGText {text} at (304,51) size 20.66x13.66 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (304,51) size 20.66x13.66
+            chunk 1 text run 1 at (304.00,62.00) startOffset 0 endOffset 4 width 20.67: "V, Z"
         LayoutSVGPath {path} at (240,56) size 90x90 [stroke={[type=SOLID] [color=#000000]}] [data="M 240 56 H 270 V 86 H 300 V 116 H 330 V 146 H 240 V 56 Z"]
         LayoutSVGRect {rect} at (238,54) size 4x4 [fill={[type=SOLID] [color=#FFFF00]}] [x=238.00] [y=54.00] [width=4.00] [height=4.00]
         LayoutSVGRect {rect} at (268,54) size 4x4 [fill={[type=SOLID] [color=#FFFF00]}] [x=268.00] [y=54.00] [width=4.00] [height=4.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-07-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-07-t-expected.png
index 3150fab..ecd05bc6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-07-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-07-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-07-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-07-t-expected.txt
index 620380c..0d7112d7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-07-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-07-t-expected.txt
@@ -4,15 +4,15 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (68.40,34.20) size 367.20x203.40
       LayoutSVGContainer {g} at (238,169) size 204x113 [transform={m=((1.80,0.00)(0.00,1.80)) t=(-360.00,-270.00)}]
-        LayoutSVGText {text} at (288,169) size 48.44x13.66 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (288,169) size 48.44x13.66
-            chunk 1 text run 1 at (288.00,180.00) startOffset 0 endOffset 10 width 48.44: "m, h, v, h"
-        LayoutSVGText {text} at (288,183) size 43.55x13.66 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (288,183) size 43.55x13.66
-            chunk 1 text run 1 at (288.00,194.00) startOffset 0 endOffset 10 width 43.55: "v, h, v, h"
-        LayoutSVGText {text} at (304,197) size 17.77x13.66 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (304,197) size 17.77x13.66
-            chunk 1 text run 1 at (304.00,208.00) startOffset 0 endOffset 4 width 17.78: "v, z"
+        LayoutSVGText {text} at (288,169) size 48.66x13.66 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (288,169) size 48.66x13.66
+            chunk 1 text run 1 at (288.00,180.00) startOffset 0 endOffset 10 width 48.67: "m, h, v, h"
+        LayoutSVGText {text} at (288,183) size 44x13.66 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (288,183) size 44x13.66
+            chunk 1 text run 1 at (288.00,194.00) startOffset 0 endOffset 10 width 44.00: "v, h, v, h"
+        LayoutSVGText {text} at (304,197) size 18x13.66 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (304,197) size 18x13.66
+            chunk 1 text run 1 at (304.00,208.00) startOffset 0 endOffset 4 width 18.00: "v, z"
         LayoutSVGPath {path} at (240,190) size 90x90 [stroke={[type=SOLID] [color=#000000]}] [data="m 240 190 h 30 v 30 h 30 v 30 h 30 v 30 h -90 v -90 Z"]
         LayoutSVGRect {rect} at (238,188) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=238.00] [y=188.00] [width=4.00] [height=4.00]
         LayoutSVGRect {rect} at (268,188) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=268.00] [y=188.00] [width=4.00] [height=4.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-08-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-08-t-expected.png
index 94112f0..4264c6f2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-08-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-08-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-08-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-08-t-expected.txt
index c6c83f6..ad1699e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-08-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-08-t-expected.txt
@@ -30,7 +30,7 @@
         LayoutSVGText {text} at (162,151) size 24.66x13.66 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (162,151) size 24.66x13.66
             chunk 1 text run 1 at (162.00,162.00) startOffset 0 endOffset 6 width 24.67: "filled"
-    LayoutSVGText {text} at (10,304) size 287.11x45.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,304) size 287.11x45.59
-        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 287.12: "$Revision: 1.11 $"
+    LayoutSVGText {text} at (10,304) size 287.39x45.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,304) size 287.39x45.59
+        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 287.40: "$Revision: 1.11 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-09-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-09-t-expected.png
index 132584c6..d9129c8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-09-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-09-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt
index 2de9704b..e9704e1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt
@@ -24,7 +24,7 @@
         LayoutSVGRect {rect} at (175,203) size 4x4 [fill={[type=SOLID] [color=#FF0000]}] [x=175.00] [y=203.00] [width=4.00] [height=4.00]
         LayoutSVGRect {rect} at (213.97,270.50) size 4x4 [fill={[type=SOLID] [color=#FF0000]}] [x=213.97] [y=270.50] [width=4.00] [height=4.00]
         LayoutSVGRect {rect} at (136.03,270.50) size 4x4 [fill={[type=SOLID] [color=#FF0000]}] [x=136.03] [y=270.50] [width=4.00] [height=4.00]
-    LayoutSVGText {text} at (10,304) size 287.11x45.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,304) size 287.11x45.59
-        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 287.12: "$Revision: 1.11 $"
+    LayoutSVGText {text} at (10,304) size 287.39x45.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,304) size 287.39x45.59
+        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 287.40: "$Revision: 1.11 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt
index 9281562..bb19ea9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt
@@ -10,9 +10,9 @@
         LayoutSVGInlineText {#text} at (20,102.39) size 210x34.19
           chunk 1 text run 1 at (20.00,130.00) startOffset 0 endOffset 16 width 210.00: "Linear gradient."
       LayoutSVGRect {rect} at (20,150) size 440x80 [fill={[type=LINEAR-GRADIENT] [id="Grad1b"]}] [x=20.00] [y=150.00] [width=440.00] [height=80.00]
-      LayoutSVGText {text} at (20,232.39) size 373.94x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (20,232.39) size 373.94x34.19
-          chunk 1 text run 1 at (20.00,260.00) startOffset 0 endOffset 27 width 373.94: "Referencing gradient below."
+      LayoutSVGText {text} at (20,232.39) size 374.39x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (20,232.39) size 374.39x34.19
+          chunk 1 text run 1 at (20.00,260.00) startOffset 0 endOffset 27 width 374.40: "Referencing gradient below."
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.5 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt
index f72073f..180e74f8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt
@@ -10,9 +10,9 @@
         LayoutSVGInlineText {#text} at (20,102.39) size 211.19x34.19
           chunk 1 text run 1 at (20.00,130.00) startOffset 0 endOffset 16 width 211.20: "Radial gradient."
       LayoutSVGRect {rect} at (20,150) size 440x80 [fill={[type=RADIAL-GRADIENT] [id="Grad2b"]}] [x=20.00] [y=150.00] [width=440.00] [height=80.00]
-      LayoutSVGText {text} at (20,232.39) size 373.94x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (20,232.39) size 373.94x34.19
-          chunk 1 text run 1 at (20.00,260.00) startOffset 0 endOffset 27 width 373.94: "Referencing gradient below."
+      LayoutSVGText {text} at (20,232.39) size 374.39x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (20,232.39) size 374.39x34.19
+          chunk 1 text run 1 at (20.00,260.00) startOffset 0 endOffset 27 width 374.40: "Referencing gradient below."
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.8 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt
index 915568a..5640cb5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt
@@ -14,9 +14,9 @@
         LayoutSVGInlineText {#text} at (20,102.39) size 142.19x34.19
           chunk 1 text run 1 at (20.00,130.00) startOffset 0 endOffset 13 width 142.20: "Pattern fill."
       LayoutSVGRect {rect} at (20,150) size 440x80 [fill={[type=PATTERN] [id="Pat3b"]}] [x=20.00] [y=150.00] [width=440.00] [height=80.00]
-      LayoutSVGText {text} at (20,232.39) size 395.53x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (20,232.39) size 395.53x34.19
-          chunk 1 text run 1 at (20.00,260.00) startOffset 0 endOffset 31 width 395.54: "Referencing pattern fill below."
+      LayoutSVGText {text} at (20,232.39) size 396x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (20,232.39) size 396x34.19
+          chunk 1 text run 1 at (20.00,260.00) startOffset 0 endOffset 31 width 396.00: "Referencing pattern fill below."
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.6 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.png
index d406196..ce489da 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt
index 6c76663..9c18ce0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (10,11.19) size 430x281.20
-      LayoutSVGText {text} at (10,11.19) size 200.53x16.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,11.19) size 200.53x16.80
-          chunk 1 text run 1 at (10.00,25.00) startOffset 0 endOffset 31 width 200.54: "Testing gradientUnits attribute"
+      LayoutSVGText {text} at (10,11.19) size 201x16.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,11.19) size 201x16.80
+          chunk 1 text run 1 at (10.00,25.00) startOffset 0 endOffset 31 width 201.00: "Testing gradientUnits attribute"
       LayoutSVGResourceLinearGradient {linearGradient} [id="Grad1"] [gradientUnits=objectBoundingBox] [stops=( #FF0000@0.00 #0000FF@1.00 )] [start=(0,0)] [end=(1,0)]
       LayoutSVGRect {rect} at (125,35) size 200x50 [fill={[type=LINEAR-GRADIENT] [id="Grad1"]}] [x=125.00] [y=35.00] [width=200.00] [height=50.00]
       LayoutSVGText {text} at (10,88.59) size 390.59x13.80 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.png
index 8d18604a..2d89d270 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt
index 295ee61..01695d7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (10,11.19) size 460x266.20
-      LayoutSVGText {text} at (10,11.19) size 207.73x16.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,11.19) size 207.73x16.80
-          chunk 1 text run 1 at (10.00,25.00) startOffset 0 endOffset 30 width 207.74: "Testing spreadMethod attribute"
+      LayoutSVGText {text} at (10,11.19) size 208.19x16.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,11.19) size 208.19x16.80
+          chunk 1 text run 1 at (10.00,25.00) startOffset 0 endOffset 30 width 208.20: "Testing spreadMethod attribute"
       LayoutSVGResourceLinearGradient {linearGradient} [id="Grad1"] [gradientUnits=objectBoundingBox] [stops=( #0000FF@0.00 #FF0000@1.00 )] [start=(0.40,0)] [end=(0.60,0)]
       LayoutSVGRect {rect} at (10,35) size 460x55 [fill={[type=LINEAR-GRADIENT] [id="Grad1"]}] [x=10.00] [y=35.00] [width=460.00] [height=55.00]
       LayoutSVGText {text} at (10,93.59) size 103.80x13.80 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.png
index 608e6efa..bc20943 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt
index 5573154..d88b2995 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (10,11.19) size 460x281.20
-      LayoutSVGText {text} at (10,11.19) size 200.53x16.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,11.19) size 200.53x16.80
-          chunk 1 text run 1 at (10.00,25.00) startOffset 0 endOffset 31 width 200.54: "Testing gradientUnits attribute"
+      LayoutSVGText {text} at (10,11.19) size 201x16.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,11.19) size 201x16.80
+          chunk 1 text run 1 at (10.00,25.00) startOffset 0 endOffset 31 width 201.00: "Testing gradientUnits attribute"
       LayoutSVGResourceRadialGradient {radialGradient} [id="Grad1"] [gradientUnits=objectBoundingBox] [stops=( #0000FF@0.00 #FF0000@1.00 )] [center=(0.50,0.50)] [focal=(0.50,0.50)] [radius=0.50] [focalRadius=0.00]
       LayoutSVGRect {rect} at (10,35) size 460x50 [fill={[type=RADIAL-GRADIENT] [id="Grad1"]}] [x=10.00] [y=35.00] [width=460.00] [height=50.00]
       LayoutSVGText {text} at (10,88.59) size 294.59x13.80 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-06-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-06-t-expected.png
index e0c7722..0327eef1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-06-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-06-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt
index 724823f..fa74d8c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (60,12.39) size 416.59x332.39
-      LayoutSVGText {text} at (180,13) size 96.30x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (180,13) size 96.30x34.19
-          chunk 1 text run 1 at (180.00,40.00) startOffset 0 endOffset 9 width 96.31: "Text fill"
+      LayoutSVGText {text} at (180,13) size 96x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (180,13) size 96x34.19
+          chunk 1 text run 1 at (180.00,40.00) startOffset 0 endOffset 9 width 96.00: "Text fill"
       LayoutSVGContainer {g} at (60,12.39) size 416.59x332.39
         LayoutSVGText {text} at (60,12.39) size 216.59x332.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (60,12.39) size 216.59x332.39
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-07-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-07-t-expected.png
index 4aa830d..00e7d8d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-07-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-07-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt
index 3927f9c6..f57f166 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (1,1) size 478x358
-      LayoutSVGText {text} at (180,13) size 134.09x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (180,13) size 134.09x34.19
-          chunk 1 text run 1 at (180.00,40.00) startOffset 0 endOffset 11 width 134.11: "Text stroke"
+      LayoutSVGText {text} at (180,13) size 133.80x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (180,13) size 133.80x34.19
+          chunk 1 text run 1 at (180.00,40.00) startOffset 0 endOffset 11 width 133.80: "Text stroke"
       LayoutSVGContainer {g} at (60,12.39) size 399.80x332.39
         LayoutSVGText {text} at (60,12.39) size 216.59x332.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (60,12.39) size 216.59x332.39
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-08-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-08-t-expected.png
index cfb3e51..c233275 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-08-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-08-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt
index b217582..400114d8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (1,1) size 478x358
-      LayoutSVGText {text} at (120,13) size 228.30x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (120,13) size 228.30x34.19
-          chunk 1 text run 1 at (120.00,40.00) startOffset 0 endOffset 20 width 228.31: "Text fill and stroke"
+      LayoutSVGText {text} at (120,13) size 228x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (120,13) size 228x34.19
+          chunk 1 text run 1 at (120.00,40.00) startOffset 0 endOffset 20 width 228.00: "Text fill and stroke"
       LayoutSVGContainer {g} at (60,12.39) size 399.80x332.39
         LayoutSVGText {text} at (60,12.39) size 216.59x332.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (60,12.39) size 216.59x332.39
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-01-b-expected.png
index d7e6278..c9c7f582 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt
index b5962b2..fdc7d27 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt
@@ -2,22 +2,22 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (60,5.59) size 292.84x174.41
-      LayoutSVGText {text} at (140,5.59) size 192.67x18.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (140,5.59) size 192.67x18.59
-          chunk 1 text run 1 at (140.00,20.00) startOffset 0 endOffset 25 width 192.68: "Event and DOM Access Test"
-      LayoutSVGContainer {g} at (60,135.59) size 292.84x44.41
-        LayoutSVGContainer {g} at (60,135.59) size 108.70x44.41
-          LayoutSVGText {text} at (70,135.59) size 98.70x18.59 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (70,135.59) size 98.70x18.59
-              chunk 1 text run 1 at (70.00,150.00) startOffset 0 endOffset 15 width 98.71: "Click on target"
+    LayoutSVGContainer {g} at (60,5.59) size 293.19x174.41
+      LayoutSVGText {text} at (140,5.59) size 192.59x18.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (140,5.59) size 192.59x18.59
+          chunk 1 text run 1 at (140.00,20.00) startOffset 0 endOffset 25 width 192.60: "Event and DOM Access Test"
+      LayoutSVGContainer {g} at (60,135.59) size 293.19x44.41
+        LayoutSVGContainer {g} at (60,135.59) size 109x44.41
+          LayoutSVGText {text} at (70,135.59) size 99x18.59 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (70,135.59) size 99x18.59
+              chunk 1 text run 1 at (70.00,150.00) startOffset 0 endOffset 15 width 99.00: "Click on target"
           LayoutSVGRect {rect} at (60,160) size 20x20 [fill={[type=SOLID] [color=#FFFFFF]}] [x=60.00] [y=160.00] [width=20.00] [height=20.00]
           LayoutSVGPath {line} at (60,170) size 20x0 [stroke={[type=SOLID] [color=#000000] [stroke width=0.50]}] [fill={[type=SOLID] [color=#000000]}] [x1=60.00] [y1=170.00] [x2=80.00] [y2=170.00]
           LayoutSVGPath {line} at (70,160) size 0x20 [stroke={[type=SOLID] [color=#000000] [stroke width=0.50]}] [fill={[type=SOLID] [color=#000000]}] [x1=70.00] [y1=160.00] [x2=70.00] [y2=180.00]
-        LayoutSVGContainer {g} at (70,142.39) size 282.84x34.19
-          LayoutSVGText {text} at (70,142.39) size 282.84x34.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (70,142.39) size 282.84x34.19
-              chunk 1 text run 1 at (70.00,170.00) startOffset 0 endOffset 22 width 282.85: "Scripting Test Passed!"
+        LayoutSVGContainer {g} at (70,142.39) size 283.19x34.19
+          LayoutSVGText {text} at (70,142.39) size 283.19x34.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (70,142.39) size 283.19x34.19
+              chunk 1 text run 1 at (70.00,170.00) startOffset 0 endOffset 22 width 283.20: "Scripting Test Passed!"
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.1 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-02-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-02-b-expected.png
index 0c60f1a..51b07c8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-02-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-02-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt
index e597aaca..cb3cf43 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt
@@ -2,17 +2,17 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (20,18.39) size 395.36x259.39
+    LayoutSVGContainer {g} at (20,18.39) size 395.80x259.39
       LayoutSVGText {text} at (100,18.39) size 257.39x27.59 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (100,18.39) size 257.39x27.59
           chunk 1 text run 1 at (100.00,40.00) startOffset 0 endOffset 26 width 257.40: "Mouse event handlers test."
-      LayoutSVGContainer {g} at (-40,-78.80) size 395.36x108.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(60.00,140.00)}]
-        LayoutSVGText {text} at (-40,-78.80) size 81.19x36.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-40,-78.80) size 81.19x36.59
-            chunk 1 text run 1 at (-40.00,-50.00) startOffset 0 endOffset 6 width 81.19: "Target"
-        LayoutSVGText {text} at (60,-14.59) size 295.36x27.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (60,-14.59) size 295.36x27.59
-            chunk 1 text run 1 at (60.00,7.00) startOffset 0 endOffset 32 width 295.37: "Use the target to trigger events"
+      LayoutSVGContainer {g} at (-40,-78.80) size 395.80x108.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(60.00,140.00)}]
+        LayoutSVGText {text} at (-40,-78.80) size 81.59x36.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-40,-78.80) size 81.59x36.59
+            chunk 1 text run 1 at (-40.00,-50.00) startOffset 0 endOffset 6 width 81.60: "Target"
+        LayoutSVGText {text} at (60,-14.59) size 295.80x27.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (60,-14.59) size 295.80x27.59
+            chunk 1 text run 1 at (60.00,7.00) startOffset 0 endOffset 32 width 295.80: "Use the target to trigger events"
         LayoutSVGContainer {g} at (-30,-30) size 60x60
           LayoutSVGEllipse {circle} at (-30,-30) size 60x60 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#CCCCCC]}] [cx=0.00] [cy=0.00] [r=30.00]
           LayoutSVGPath {line} at (-30,0) size 60x0 [fill={[type=SOLID] [color=#000000]}] [x1=-30.00] [y1=0.00] [x2=30.00] [y2=0.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-03-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-03-b-expected.png
index fde7786..43975be 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-03-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-03-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt
index a0e51ff..97a2bf7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt
@@ -2,17 +2,17 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (20,18.39) size 395.36x259.39
+    LayoutSVGContainer {g} at (20,18.39) size 395.80x259.39
       LayoutSVGText {text} at (100,18.39) size 257.39x27.59 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (100,18.39) size 257.39x27.59
           chunk 1 text run 1 at (100.00,40.00) startOffset 0 endOffset 26 width 257.40: "Mouse event handlers test."
-      LayoutSVGContainer {g} at (-40,-78.80) size 395.36x108.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(60.00,140.00)}]
-        LayoutSVGText {text} at (-40,-78.80) size 81.19x36.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-40,-78.80) size 81.19x36.59
-            chunk 1 text run 1 at (-40.00,-50.00) startOffset 0 endOffset 6 width 81.19: "Target"
-        LayoutSVGText {text} at (60,-14.59) size 295.36x27.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (60,-14.59) size 295.36x27.59
-            chunk 1 text run 1 at (60.00,7.00) startOffset 0 endOffset 32 width 295.37: "Use the target to trigger events"
+      LayoutSVGContainer {g} at (-40,-78.80) size 395.80x108.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(60.00,140.00)}]
+        LayoutSVGText {text} at (-40,-78.80) size 81.59x36.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-40,-78.80) size 81.59x36.59
+            chunk 1 text run 1 at (-40.00,-50.00) startOffset 0 endOffset 6 width 81.60: "Target"
+        LayoutSVGText {text} at (60,-14.59) size 295.80x27.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (60,-14.59) size 295.80x27.59
+            chunk 1 text run 1 at (60.00,7.00) startOffset 0 endOffset 32 width 295.80: "Use the target to trigger events"
         LayoutSVGContainer {g} at (-30,-30) size 60x60
           LayoutSVGEllipse {circle} at (-30,-30) size 60x60 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#CCCCCC]}] [cx=0.00] [cy=0.00] [r=30.00]
           LayoutSVGPath {line} at (-30,0) size 60x0 [fill={[type=SOLID] [color=#000000]}] [x1=-30.00] [y1=0.00] [x2=30.00] [y2=0.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-04-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-04-b-expected.png
index 04c48b0..4e264a3c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-04-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-04-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt
index 7aa298b..ef5794b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt
@@ -2,17 +2,17 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (20,18.39) size 395.36x259.39
+    LayoutSVGContainer {g} at (20,18.39) size 395.80x259.39
       LayoutSVGText {text} at (100,18.39) size 257.39x27.59 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (100,18.39) size 257.39x27.59
           chunk 1 text run 1 at (100.00,40.00) startOffset 0 endOffset 26 width 257.40: "Mouse event handlers test."
-      LayoutSVGContainer {g} at (-40,-78.80) size 395.36x108.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(60.00,140.00)}]
-        LayoutSVGText {text} at (-40,-78.80) size 81.19x36.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-40,-78.80) size 81.19x36.59
-            chunk 1 text run 1 at (-40.00,-50.00) startOffset 0 endOffset 6 width 81.19: "Target"
-        LayoutSVGText {text} at (60,-14.59) size 295.36x27.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (60,-14.59) size 295.36x27.59
-            chunk 1 text run 1 at (60.00,7.00) startOffset 0 endOffset 32 width 295.37: "Use the target to trigger events"
+      LayoutSVGContainer {g} at (-40,-78.80) size 395.80x108.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(60.00,140.00)}]
+        LayoutSVGText {text} at (-40,-78.80) size 81.59x36.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-40,-78.80) size 81.59x36.59
+            chunk 1 text run 1 at (-40.00,-50.00) startOffset 0 endOffset 6 width 81.60: "Target"
+        LayoutSVGText {text} at (60,-14.59) size 295.80x27.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (60,-14.59) size 295.80x27.59
+            chunk 1 text run 1 at (60.00,7.00) startOffset 0 endOffset 32 width 295.80: "Use the target to trigger events"
         LayoutSVGContainer {g} at (-30,-30) size 60x60
           LayoutSVGEllipse {circle} at (-30,-30) size 60x60 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#CCCCCC]}] [cx=0.00] [cy=0.00] [r=30.00]
           LayoutSVGPath {line} at (-30,0) size 60x0 [fill={[type=SOLID] [color=#000000]}] [x1=-30.00] [y1=0.00] [x2=30.00] [y2=0.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-cond-03-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-cond-03-t-expected.txt
index 7f901e3..c19f67f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-cond-03-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-cond-03-t-expected.txt
@@ -6,9 +6,9 @@
       LayoutSVGContainer {switch} at (30,20) size 420x130
         LayoutSVGContainer {g} at (30,20) size 420x130
           LayoutSVGRect {rect} at (30,20) size 420x130 [fill={[type=SOLID] [color=#FF0000]}] [x=30.00] [y=20.00] [width=420.00] [height=130.00]
-          LayoutSVGText {text} at (85.55,82.59) size 308.89x22.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (85.55,82.59) size 308.89x22.19
-              chunk 1 (middle anchor) text run 1 at (85.55,100.00) startOffset 0 endOffset 35 width 308.90: "This viewer does more than SVG Tiny"
+          LayoutSVGText {text} at (85.80,82.59) size 308.39x22.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (85.80,82.59) size 308.39x22.19
+              chunk 1 (middle anchor) text run 1 at (85.80,100.00) startOffset 0 endOffset 35 width 308.40: "This viewer does more than SVG Tiny"
       LayoutSVGContainer {switch} at (30,20) size 420x130 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,140.00)}]
         LayoutSVGContainer {g} at (30,20) size 420x130
           LayoutSVGRect {rect} at (30,20) size 420x130 [fill={[type=SOLID] [color=#00FF00]}] [x=30.00] [y=20.00] [width=420.00] [height=130.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-03-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-03-b-expected.png
index 1c50d42..524ba4a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-03-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-03-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt
index 1852085..06097cc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt
@@ -31,9 +31,9 @@
     LayoutSVGText {text} at (370,173) size 46.80x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (370,173) size 46.80x34.19
         chunk 1 text run 1 at (370.00,200.00) startOffset 0 endOffset 4 width 46.80: "true"
-    LayoutSVGText {text} at (10,223) size 146.45x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,223) size 146.45x34.19
-        chunk 1 text run 1 at (10.00,250.00) startOffset 0 endOffset 11 width 146.46: "org.w3c.svg"
+    LayoutSVGText {text} at (10,223) size 147x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,223) size 147x34.19
+        chunk 1 text run 1 at (10.00,250.00) startOffset 0 endOffset 11 width 147.00: "org.w3c.svg"
     LayoutSVGText {text} at (370,223) size 46.80x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (370,223) size 46.80x34.19
         chunk 1 text run 1 at (370.00,250.00) startOffset 0 endOffset 4 width 46.80: "true"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-04-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-04-b-expected.png
index 0c73f13..ab615217 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-04-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-04-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt
index e68a47f..31b4055 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt
@@ -7,33 +7,33 @@
       LayoutSVGInlineText {#text} at (10,313) size 198x34.19
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 198.00: "$Revision: 1.1 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
-    LayoutSVGText {text} at (5,18) size 205.84x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,18) size 205.84x34.19
-        chunk 1 text run 1 at (5.00,45.00) startOffset 0 endOffset 16 width 205.86: "org.w3c.svg.lang"
+    LayoutSVGText {text} at (5,18) size 206.39x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,18) size 206.39x34.19
+        chunk 1 text run 1 at (5.00,45.00) startOffset 0 endOffset 16 width 206.40: "org.w3c.svg.lang"
     LayoutSVGText {text} at (385,18) size 46.80x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,18) size 46.80x34.19
         chunk 1 text run 1 at (385.00,45.00) startOffset 0 endOffset 4 width 46.80: "true"
-    LayoutSVGText {text} at (5,58) size 257.45x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,58) size 257.45x34.19
-        chunk 1 text run 1 at (5.00,85.00) startOffset 0 endOffset 19 width 257.46: "org.w3c.svg.dynamic"
+    LayoutSVGText {text} at (5,58) size 258x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,58) size 258x34.19
+        chunk 1 text run 1 at (5.00,85.00) startOffset 0 endOffset 19 width 258.00: "org.w3c.svg.dynamic"
     LayoutSVGText {text} at (385,58) size 46.80x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,58) size 46.80x34.19
         chunk 1 text run 1 at (385.00,85.00) startOffset 0 endOffset 4 width 46.80: "true"
-    LayoutSVGText {text} at (5,98) size 217.25x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,98) size 217.25x34.19
-        chunk 1 text run 1 at (5.00,125.00) startOffset 0 endOffset 18 width 217.26: "org.w3c.svg.static"
+    LayoutSVGText {text} at (5,98) size 217.80x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,98) size 217.80x34.19
+        chunk 1 text run 1 at (5.00,125.00) startOffset 0 endOffset 18 width 217.80: "org.w3c.svg.static"
     LayoutSVGText {text} at (385,98) size 46.80x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,98) size 46.80x34.19
         chunk 1 text run 1 at (385.00,125.00) startOffset 0 endOffset 4 width 46.80: "true"
-    LayoutSVGText {text} at (5,138) size 207.66x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,138) size 207.66x34.19
-        chunk 1 text run 1 at (5.00,165.00) startOffset 0 endOffset 15 width 207.66: "org.w3c.dom.svg"
+    LayoutSVGText {text} at (5,138) size 208.19x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,138) size 208.19x34.19
+        chunk 1 text run 1 at (5.00,165.00) startOffset 0 endOffset 15 width 208.20: "org.w3c.dom.svg"
     LayoutSVGText {text} at (385,138) size 46.80x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,138) size 46.80x34.19
         chunk 1 text run 1 at (385.00,165.00) startOffset 0 endOffset 4 width 46.80: "true"
-    LayoutSVGText {text} at (5,178) size 146.45x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,178) size 146.45x34.19
-        chunk 1 text run 1 at (5.00,205.00) startOffset 0 endOffset 11 width 146.46: "org.w3c.svg"
+    LayoutSVGText {text} at (5,178) size 147x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,178) size 147x34.19
+        chunk 1 text run 1 at (5.00,205.00) startOffset 0 endOffset 11 width 147.00: "org.w3c.svg"
     LayoutSVGText {text} at (385,178) size 46.80x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,178) size 46.80x34.19
         chunk 1 text run 1 at (385.00,205.00) startOffset 0 endOffset 4 width 46.80: "true"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-05-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-05-b-expected.png
index df8ff11..4713690 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-05-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-05-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt
index 897849e7..fc9b98c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt
@@ -7,33 +7,33 @@
       LayoutSVGInlineText {#text} at (10,313) size 198x34.19
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 198.00: "$Revision: 1.2 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
-    LayoutSVGText {text} at (5,18) size 278.45x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,18) size 278.45x34.19
-        chunk 1 text run 1 at (5.00,45.00) startOffset 0 endOffset 22 width 278.46: "org.w3c.dom.svg.static"
+    LayoutSVGText {text} at (5,18) size 279x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,18) size 279x34.19
+        chunk 1 text run 1 at (5.00,45.00) startOffset 0 endOffset 22 width 279.00: "org.w3c.dom.svg.static"
     LayoutSVGText {text} at (385,18) size 46.80x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,18) size 46.80x34.19
         chunk 1 text run 1 at (385.00,45.00) startOffset 0 endOffset 4 width 46.80: "true"
-    LayoutSVGText {text} at (5,58) size 335.45x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,58) size 335.45x34.19
-        chunk 1 text run 1 at (5.00,85.00) startOffset 0 endOffset 25 width 335.46: "org.w3c.dom.svg.animation"
+    LayoutSVGText {text} at (5,58) size 336x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,58) size 336x34.19
+        chunk 1 text run 1 at (5.00,85.00) startOffset 0 endOffset 25 width 336.00: "org.w3c.dom.svg.animation"
     LayoutSVGText {text} at (385,58) size 46.80x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,58) size 46.80x34.19
         chunk 1 text run 1 at (385.00,85.00) startOffset 0 endOffset 4 width 46.80: "true"
-    LayoutSVGText {text} at (5,98) size 318.66x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,98) size 318.66x34.19
-        chunk 1 text run 1 at (5.00,125.00) startOffset 0 endOffset 23 width 318.66: "org.w3c.dom.svg.dynamic"
+    LayoutSVGText {text} at (5,98) size 319.19x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,98) size 319.19x34.19
+        chunk 1 text run 1 at (5.00,125.00) startOffset 0 endOffset 23 width 319.20: "org.w3c.dom.svg.dynamic"
     LayoutSVGText {text} at (385,98) size 46.80x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,98) size 46.80x34.19
         chunk 1 text run 1 at (385.00,125.00) startOffset 0 endOffset 4 width 46.80: "true"
-    LayoutSVGText {text} at (5,138) size 245.45x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,138) size 245.45x34.19
-        chunk 1 text run 1 at (5.00,165.00) startOffset 0 endOffset 19 width 245.46: "org.w3c.dom.svg.all"
+    LayoutSVGText {text} at (5,138) size 246x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,138) size 246x34.19
+        chunk 1 text run 1 at (5.00,165.00) startOffset 0 endOffset 19 width 246.00: "org.w3c.dom.svg.all"
     LayoutSVGText {text} at (385,138) size 46.80x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,138) size 46.80x34.19
         chunk 1 text run 1 at (385.00,165.00) startOffset 0 endOffset 4 width 46.80: "true"
-    LayoutSVGText {text} at (5,178) size 184.25x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,178) size 184.25x34.19
-        chunk 1 text run 1 at (5.00,205.00) startOffset 0 endOffset 15 width 184.26: "org.w3c.svg.all"
+    LayoutSVGText {text} at (5,178) size 184.80x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,178) size 184.80x34.19
+        chunk 1 text run 1 at (5.00,205.00) startOffset 0 endOffset 15 width 184.80: "org.w3c.svg.all"
     LayoutSVGText {text} at (385,178) size 46.80x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,178) size 46.80x34.19
         chunk 1 text run 1 at (385.00,205.00) startOffset 0 endOffset 4 width 46.80: "true"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-frag-05-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-frag-05-t-expected.txt
index 09ee963..fd5b43f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-frag-05-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-frag-05-t-expected.txt
@@ -2,11 +2,11 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (197.20,64) size 85.56x45.59
-      LayoutSVGText {text} at (197.20,64) size 85.56x45.59 contains 1 chunk(s)
-        LayoutSVGInline {toto:a} at (197.20,64) size 85.56x45.59
-          LayoutSVGInlineText {#text} at (197.20,64) size 85.56x45.59
-            chunk 1 (middle anchor) text run 1 at (197.22,100.00) startOffset 0 endOffset 5 width 85.57: "Valid"
+    LayoutSVGContainer {g} at (197.39,64) size 85.19x45.59
+      LayoutSVGText {text} at (197.39,64) size 85.19x45.59 contains 1 chunk(s)
+        LayoutSVGInline {toto:a} at (197.39,64) size 85.19x45.59
+          LayoutSVGInlineText {#text} at (197.39,64) size 85.19x45.59
+            chunk 1 (middle anchor) text run 1 at (197.40,100.00) startOffset 0 endOffset 5 width 85.20: "Valid"
         LayoutSVGInlineText {#text} at (0,0) size 0x0
       LayoutSVGText {text} at (0,0) size 0x0
     LayoutSVGText {text} at (10,304) size 288.59x45.59 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-group-03-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-group-03-t-expected.txt
index bbc77cc..87f110e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-group-03-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-group-03-t-expected.txt
@@ -2,7 +2,7 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (55.61,35.70) size 374.39x219.30
+    LayoutSVGContainer {g} at (55.61,35.41) size 374.39x219.59
       LayoutSVGContainer {g} at (-105,-14) size 210x374 [transform={m=((0.00,-1.00)(1.00,0.00)) t=(70.00,150.00)}]
         LayoutSVGHiddenContainer {defs} at (-5,-14) size 110x22
           LayoutSVGRect {rect} at (-5,-14) size 110x22 [stroke={[type=SOLID] [color=#000000]}] [x=-5.00] [y=-14.00] [width=110.00] [height=22.00]
@@ -111,7 +111,7 @@
             LayoutSVGRect {rect} at (-5,-14) size 50x22 [stroke={[type=SOLID] [color=#000000]}] [x=-5.00] [y=-14.00] [width=50.00] [height=22.00]
           LayoutSVGContainer {use} at (-5,-14) size 50x22 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,352.00)}]
             LayoutSVGRect {rect} at (-5,-14) size 50x22 [stroke={[type=SOLID] [color=#000000]}] [x=-5.00] [y=-14.00] [width=50.00] [height=22.00]
-      LayoutSVGContainer {g} at (0,-14.39) size 114.30x370.58 [transform={m=((0.00,-1.00)(1.00,0.00)) t=(70.00,150.00)}]
+      LayoutSVGContainer {g} at (0,-14.39) size 114.59x370.58 [transform={m=((0.00,-1.00)(1.00,0.00)) t=(70.00,150.00)}]
         LayoutSVGText {text} at (0,-14.39) size 34.80x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,-14.39) size 34.80x18.59
             chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 5 width 34.20: "color"
@@ -130,9 +130,9 @@
         LayoutSVGText {text} at (0,95.59) size 110.39x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,95.59) size 110.39x18.59
             chunk 1 text run 1 at (0.00,110.00) startOffset 0 endOffset 16 width 110.40: "stroke-dasharray"
-        LayoutSVGText {text} at (0,117.59) size 114.30x18.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,117.59) size 114.30x18.59
-            chunk 1 text run 1 at (0.00,132.00) startOffset 0 endOffset 17 width 114.31: "stroke-dashoffset"
+        LayoutSVGText {text} at (0,117.59) size 114.59x18.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,117.59) size 114.59x18.59
+            chunk 1 text run 1 at (0.00,132.00) startOffset 0 endOffset 17 width 114.60: "stroke-dashoffset"
         LayoutSVGText {text} at (0,139.59) size 94.19x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,139.59) size 94.19x18.59
             chunk 1 text run 1 at (0.00,154.00) startOffset 0 endOffset 14 width 94.20: "stroke-linecap"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-image-06-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-image-06-t-expected.png
index e4f9e2f..06f1e4a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-image-06-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-image-06-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-image-06-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-image-06-t-expected.txt
index 16c11b5d..fcf15dc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-image-06-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-image-06-t-expected.txt
@@ -9,14 +9,14 @@
             chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 10 width 37.80: "SVG to fit"
         LayoutSVGContainer {g} at (0,0) size 50x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,40.00)}]
           LayoutSVGImage {image} at (0,0) size 50x50
-        LayoutSVGText {text} at (10,102.19) size 41.45x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,102.19) size 41.45x10.19
-            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 41.46: "Viewport 1"
+        LayoutSVGText {text} at (10,102.19) size 42x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,102.19) size 42x10.19
+            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 42.00: "Viewport 1"
         LayoutSVGContainer {g} at (0.50,0.50) size 49x29 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,120.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 49x29 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=49.00] [height=29.00]
-        LayoutSVGText {text} at (10,172.19) size 41.45x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,172.19) size 41.45x10.19
-            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 41.46: "Viewport 2"
+        LayoutSVGText {text} at (10,172.19) size 42x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,172.19) size 42x10.19
+            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 42.00: "Viewport 2"
         LayoutSVGContainer {g} at (0.50,0.50) size 29x59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,190.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 29x59 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=29.00] [height=59.00]
         LayoutSVGContainer {g} at (0,-27.80) size 82.80x57.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,50.00)}]
@@ -49,7 +49,7 @@
                 chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 5 width 23.40: "*none"
             LayoutSVGRect {rect} at (0.50,0.50) size 29x59 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=29.00] [height=59.00]
             LayoutSVGImage {image} at (0,0) size 30x60
-    LayoutSVGText {text} at (10,304) size 287.11x45.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,304) size 287.11x45.59
-        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 287.12: "$Revision: 1.11 $"
+    LayoutSVGText {text} at (10,304) size 287.39x45.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,304) size 287.39x45.59
+        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 287.40: "$Revision: 1.11 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt
index 78e037c..df9ce2f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (40.61,22.61) size 309.39x267.78
-      LayoutSVGHiddenContainer {defs} at (0,-14.39) size 29.47x34.39
-        LayoutSVGContainer {g} at (0,-14.39) size 29.47x34.39
+      LayoutSVGHiddenContainer {defs} at (0,-14.39) size 29.39x34.39
+        LayoutSVGContainer {g} at (0,-14.39) size 29.39x34.39
           LayoutSVGRect {rect} at (0,0) size 20x20 [stroke={[type=SOLID] [color=#FFFF00] [stroke width=3.00]}] [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=20.00] [height=20.00]
           LayoutSVGEllipse {circle} at (0,0) size 20x20 [stroke={[type=SOLID] [color=#FFFF00] [stroke width=3.00]}] [fill={[type=SOLID] [color=#FF0000]}] [cx=10.00] [cy=10.00] [r=10.00]
           LayoutSVGEllipse {ellipse} at (0,0) size 20x20 [stroke={[type=SOLID] [color=#FFFF00] [stroke width=3.00]}] [fill={[type=SOLID] [color=#FF0000]}] [cx=10.00] [cy=10.00] [rx=10.00] [ry=10.00]
@@ -18,9 +18,9 @@
           LayoutSVGContainer {use} at (0,0) size 20x20
             LayoutSVGRect {rect} at (0,0) size 20x20 [stroke={[type=SOLID] [color=#FFFF00] [stroke width=3.00]}] [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=20.00] [height=20.00]
           LayoutSVGImage {image} at (0,0) size 20x20
-          LayoutSVGText {text} at (0,-14.39) size 29.47x18.59 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (0,-14.39) size 29.47x18.59
-              chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 4 width 29.48: "Text"
+          LayoutSVGText {text} at (0,-14.39) size 29.39x18.59 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (0,-14.39) size 29.39x18.59
+              chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 4 width 29.40: "Text"
       LayoutSVGContainer {g} at (40.61,22.61) size 269.39x262.17
         LayoutSVGContainer {g} at (-89.39,-17.39) size 89.39x262.17 [transform={m=((1.00,0.00)(0.00,1.00)) t=(130.00,40.00)}]
           LayoutSVGText {text} at (-52.80,-17.39) size 52.80x22.19 contains 1 chunk(s)
@@ -74,10 +74,10 @@
           LayoutSVGPath {path} at (0,0) size 20x20 [fill={[type=SOLID] [color=#00FF00]}] [data="M 0 0 L 20 0 L 20 20 L 0 20 Z"]
         LayoutSVGContainer {use} at (0,0) size 20x20 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,210.00)}]
           LayoutSVGImage {image} at (0,0) size 20x20
-        LayoutSVGContainer {use} at (0,-22.80) size 45.70x28.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,260.00)}]
-          LayoutSVGText {text} at (0,-22.80) size 45.70x28.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (0,-22.80) size 45.70x28.19
-              chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 4 width 44.51: "Text"
+        LayoutSVGContainer {use} at (0,-22.80) size 45.59x28.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,260.00)}]
+          LayoutSVGText {text} at (0,-22.80) size 45.59x28.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (0,-22.80) size 45.59x28.19
+              chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 4 width 44.40: "Text"
         LayoutSVGContainer {use} at (0,0) size 20x20 [transform={m=((1.00,0.00)(0.00,1.00)) t=(180.00,0.00)}]
           LayoutSVGContainer {g} at (0,0) size 20x20
             LayoutSVGRect {rect} at (0,0) size 10x20 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=0.00] [width=10.00] [height=20.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-03-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-03-b-expected.png
index 40d59577..31d3cc6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-03-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-03-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt
index 39d98b6..2ac0ef02 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt
@@ -20,10 +20,10 @@
         LayoutSVGText {text} at (40,2.59) size 258.59x13.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (40,2.59) size 258.59x13.80
             chunk 1 text run 1 at (40.00,14.00) startOffset 0 endOffset 51 width 258.60: "Circle should be red not green; rectangle still red"
-        LayoutSVGText {text} at (40,24.59) size 326.94x13.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (40,24.59) size 326.92x13.80
+        LayoutSVGText {text} at (40,24.59) size 326.39x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (40,24.59) size 326.38x13.80
             chunk 1 text run 1 at (40.00,36.00) startOffset 0 endOffset 11 width 55.20: "This tests "
-            chunk 1 text run 1 at (95.20,36.00) startOffset 0 endOffset 53 width 271.74: "ancestor, immediate-sibling and first-child selectors"
+            chunk 1 text run 1 at (95.20,36.00) startOffset 0 endOffset 53 width 271.20: "ancestor, immediate-sibling and first-child selectors"
         LayoutSVGContainer {g} at (130,70) size 260x60
           LayoutSVGEllipse {circle} at (130,70) size 60x60 [fill={[type=SOLID] [color=#FF0000]}] [cx=160.00] [cy=100.00] [r=30.00]
           LayoutSVGRect {rect} at (220,80) size 60x40 [fill={[type=SOLID] [color=#FF0000]}] [x=220.00] [y=80.00] [width=60.00] [height=40.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-06-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-06-b-expected.png
index 63abd9e3..9775068 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-06-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-06-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-06-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-06-b-expected.txt
index 490d28b..8018556 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-06-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/styling-css-06-b-expected.txt
@@ -4,10 +4,10 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (50,73) size 360.19x174.19
       LayoutSVGContainer {g} at (50,73) size 360.19x174.19
-        LayoutSVGText {text} at (50,73) size 85.19x34.19 contains 1 chunk(s)
-          LayoutSVGInline {a} at (50,73) size 85.19x34.19
-            LayoutSVGInlineText {#text} at (50,73) size 85.19x34.19
-              chunk 1 text run 1 at (50.00,100.00) startOffset 0 endOffset 7 width 84.60: "Visited"
+        LayoutSVGText {text} at (50,73) size 84.59x34.19 contains 1 chunk(s)
+          LayoutSVGInline {a} at (50,73) size 84.59x34.19
+            LayoutSVGInlineText {#text} at (50,73) size 84.59x34.19
+              chunk 1 text run 1 at (50.00,100.00) startOffset 0 endOffset 7 width 84.00: "Visited"
         LayoutSVGText {text} at (250,73) size 117x34.19 contains 1 chunk(s)
           LayoutSVGInline {a} at (250,73) size 117x34.19
             LayoutSVGInlineText {#text} at (250,73) size 117x34.19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-01-b-expected.txt
index 133755a..118312e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-01-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (5,8.80) size 451.80x277.80
-      LayoutSVGText {text} at (5,8.80) size 441.42x39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,8.80) size 441.42x39
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 31 width 441.43: "Test 'text-anchor' (horizontal)"
+      LayoutSVGText {text} at (5,8.80) size 441.59x39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,8.80) size 441.59x39
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 31 width 441.60: "Test 'text-anchor' (horizontal)"
       LayoutSVGContainer {g} at (20,102.41) size 436.80x184.19
         LayoutSVGContainer {g} at (-3,-27.59) size 229.80x34.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(230.00,130.00)}]
           LayoutSVGPath {line} at (0,0) size 50x0 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=0.00] [x2=50.00] [y2=0.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-02-b-expected.txt
index be9f128..75abb0b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-02-b-expected.txt
@@ -2,10 +2,10 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (5,8.80) size 472.63x275.28
-      LayoutSVGText {text} at (5,8.80) size 472.63x39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,8.80) size 472.63x39
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 34 width 472.63: "Test 'baseline-shift' (horizontal)"
+    LayoutSVGContainer {g} at (5,8.80) size 472.80x275.28
+      LayoutSVGText {text} at (5,8.80) size 472.80x39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,8.80) size 472.80x39
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 34 width 472.80: "Test 'baseline-shift' (horizontal)"
       LayoutSVGContainer {g} at (0,-34.59) size 402x198.67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(15.00,120.00)}]
         LayoutSVGText {text} at (0,-34.59) size 348.59x41.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,-27.59) size 97.19x34.19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-03-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-03-b-expected.png
index 683c1b9..2707d91 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-03-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-03-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-03-b-expected.txt
index f0c837e..fd3b6a7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-03-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (-2.39,4) size 472.19x221
-      LayoutSVGText {text} at (5,4) size 347.16x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,4) size 347.16x45
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 347.17: "Test of 'text-anchor'"
+      LayoutSVGText {text} at (5,4) size 346.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,4) size 346.80x45
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 346.80: "Test of 'text-anchor'"
       LayoutSVGPath {line} at (225,75) size 0x150 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=225.00] [y1=75.00] [x2=225.00] [y2=225.00]
       LayoutSVGContainer {g} at (-2.39,82.39) size 472.19x134.19
         LayoutSVGText {text} at (-2.39,82.39) size 472.19x134.19 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-04-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-04-b-expected.png
index f71ab864..749010a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-04-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-04-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-04-b-expected.txt
index ace61b4..8fea85ac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-04-b-expected.txt
@@ -3,17 +3,17 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (-5,4) size 483.59x262.58
-      LayoutSVGText {text} at (5,4) size 347.16x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,4) size 347.16x45
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 347.17: "Test of 'text-anchor'"
+      LayoutSVGText {text} at (5,4) size 346.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,4) size 346.80x45
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 346.80: "Test of 'text-anchor'"
       LayoutSVGHiddenContainer {defs} at (-5,-14.39) size 225x274.39
         LayoutSVGText {text} at (0,-14.39) size 82.19x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,-14.39) size 82.19x18.59
             chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 13 width 80.40: "end text tref"
         LayoutSVGPath {path} at (-5,260) size 225x0 [fill={[type=SOLID] [color=#000000]}] [data="M -5 260 L 220 260"]
-      LayoutSVGText {text} at (20,52.39) size 216.86x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (20,52.39) size 216.86x34.19
-          chunk 1 text run 1 at (20.00,80.00) startOffset 0 endOffset 17 width 216.87: "Tspan, tref, toap"
+      LayoutSVGText {text} at (20,52.39) size 216.59x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (20,52.39) size 216.59x34.19
+          chunk 1 text run 1 at (20.00,80.00) startOffset 0 endOffset 17 width 216.60: "Tspan, tref, toap"
       LayoutSVGPath {line} at (220,120) size 0x140 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=220.00] [y1=120.00] [x2=220.00] [y2=260.00]
       LayoutSVGContainer {g} at (-5,112.39) size 483.59x154.19
         LayoutSVGText {text} at (220,112.39) size 258.59x34.19 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-05-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-05-b-expected.png
index 4e115bb..d2b9b13 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-05-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-05-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-05-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-05-b-expected.txt
index 78067b2..004192de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-05-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-05-b-expected.txt
@@ -2,10 +2,10 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (5,4) size 467.77x317
-      LayoutSVGText {text} at (5,4) size 467.77x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,4) size 467.77x45
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 29 width 467.77: "Test 'text-anchor' (vertical)"
+    LayoutSVGContainer {g} at (5,4) size 467.39x317
+      LayoutSVGText {text} at (5,4) size 467.39x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,4) size 467.39x45
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 29 width 467.40: "Test 'text-anchor' (vertical)"
       LayoutSVGContainer {g} at (142.91,47.41) size 134.19x273.59
         LayoutSVGContainer {g} at (-17.09,-102.59) size 134.19x273.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(160.00,150.00)}]
           LayoutSVGContainer {g} at (-17.09,-3) size 34.19x174
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-06-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-06-b-expected.png
index 7e820db..715d548 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-06-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-06-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-06-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-06-b-expected.txt
index 811cda5..7e1e73af 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-06-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-align-06-b-expected.txt
@@ -2,10 +2,10 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (0,4) size 483.95x363.80
-      LayoutSVGText {text} at (0,4) size 483.95x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,4) size 483.95x45
-          chunk 1 text run 1 at (0.00,40.00) startOffset 0 endOffset 31 width 483.97: "Test 'baseline-shift' (vertic.)"
+    LayoutSVGContainer {g} at (0,4) size 483.59x363.80
+      LayoutSVGText {text} at (0,4) size 483.59x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,4) size 483.59x45
+          chunk 1 text run 1 at (0.00,40.00) startOffset 0 endOffset 31 width 483.60: "Test 'baseline-shift' (vertic.)"
       LayoutSVGContainer {g} at (72.91,60) size 311.67x307.80
         LayoutSVGContainer {g} at (-17.09,0) size 311.67x307.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(90.00,60.00)}]
           LayoutSVGText {text} at (-17.09,0) size 41.19x171 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-deco-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-deco-01-b-expected.png
index fe55271..db21b6a9c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-deco-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-deco-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt
index 6cf029886..0738106 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt
@@ -2,44 +2,44 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (10,4.39) size 378.16x276
-      LayoutSVGText {text} at (10,4.39) size 154.81x19.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,4.39) size 154.81x19.19
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 23 width 154.83: "Test 'text-decoration'."
-      LayoutSVGContainer {g} at (25,43.39) size 363.16x237
+    LayoutSVGContainer {g} at (10,4.39) size 378.59x276
+      LayoutSVGText {text} at (10,4.39) size 155.39x19.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,4.39) size 155.39x19.19
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 23 width 155.40: "Test 'text-decoration'."
+      LayoutSVGContainer {g} at (25,43.39) size 363.59x237
         LayoutSVGText {text} at (25,43.39) size 121.80x27 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,43.39) size 121.80x27
             chunk 1 text run 1 at (25.00,65.00) startOffset 0 endOffset 11 width 121.80: "Normal text"
-        LayoutSVGText {text} at (25,113.39) size 224.73x27 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25,113.39) size 224.73x27
-            chunk 1 text run 1 at (25.00,135.00) startOffset 0 endOffset 22 width 224.74: "Text with line-through"
+        LayoutSVGText {text} at (25,113.39) size 225x27 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25,113.39) size 225x27
+            chunk 1 text run 1 at (25.00,135.00) startOffset 0 endOffset 22 width 225.00: "Text with line-through"
         LayoutSVGText {text} at (25,183.39) size 160.19x27 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,183.39) size 160.19x27
             chunk 1 text run 1 at (25.00,205.00) startOffset 0 endOffset 15 width 160.20: "Underlined text"
-        LayoutSVGText {text} at (25,253.39) size 363.16x27 contains 1 chunk(s)
-          LayoutSVGTSpan {tspan} at (25,253.39) size 363.16x27
+        LayoutSVGText {text} at (25,253.39) size 363.59x27 contains 1 chunk(s)
+          LayoutSVGTSpan {tspan} at (25,253.39) size 363.59x27
             LayoutSVGInlineText {#text} at (25,253.39) size 45x27
               chunk 1 text run 1 at (25.00,275.00) startOffset 0 endOffset 3 width 45.00: "One"
           LayoutSVGInlineText {#text} at (70,253.39) size 6.59x27
             chunk 1 text run 1 at (70.00,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 363.16x27
+          LayoutSVGTSpan {tspan} at (25,253.39) size 363.59x27
             LayoutSVGInlineText {#text} at (76.59,253.39) size 51.59x27
               chunk 1 text run 1 at (76.60,275.00) startOffset 0 endOffset 4 width 51.60: "word"
           LayoutSVGInlineText {#text} at (128.19,253.39) size 6.59x27
             chunk 1 text run 1 at (128.20,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 363.16x27
+          LayoutSVGTSpan {tspan} at (25,253.39) size 363.59x27
             LayoutSVGInlineText {#text} at (134.80,253.39) size 38.39x27
               chunk 1 text run 1 at (134.80,275.00) startOffset 0 endOffset 3 width 38.40: "has"
           LayoutSVGInlineText {#text} at (173.19,253.39) size 6.59x27
             chunk 1 text run 1 at (173.20,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 363.16x27
-            LayoutSVGInlineText {#text} at (179.80,253.39) size 85.36x27
-              chunk 1 text run 1 at (179.80,275.00) startOffset 0 endOffset 9 width 85.37: "different"
-          LayoutSVGInlineText {#text} at (265.16,253.39) size 6.59x27
-            chunk 1 text run 1 at (265.17,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 363.16x27
-            LayoutSVGInlineText {#text} at (271.77,253.39) size 116.39x27
-              chunk 1 text run 1 at (271.77,275.00) startOffset 0 endOffset 11 width 116.40: "underlining"
+          LayoutSVGTSpan {tspan} at (25,253.39) size 363.59x27
+            LayoutSVGInlineText {#text} at (179.80,253.39) size 85.80x27
+              chunk 1 text run 1 at (179.80,275.00) startOffset 0 endOffset 9 width 85.80: "different"
+          LayoutSVGInlineText {#text} at (265.59,253.39) size 6.59x27
+            chunk 1 text run 1 at (265.60,275.00) startOffset 0 endOffset 1 width 6.60: " "
+          LayoutSVGTSpan {tspan} at (25,253.39) size 363.59x27
+            LayoutSVGInlineText {#text} at (272.19,253.39) size 116.39x27
+              chunk 1 text run 1 at (272.20,275.00) startOffset 0 endOffset 11 width 116.40: "underlining"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-01-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-01-t-expected.png
index 80a2b7a..cd0eeca 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-01-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-01-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt
index 70ce8e21..e6b9096a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt
@@ -3,17 +3,17 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (5,4) size 365.77x285.19
-      LayoutSVGText {text} at (5,4) size 365.77x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,4) size 365.77x45
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 24 width 365.77: "Test left-to-right text."
-      LayoutSVGContainer {g} at (10,59.39) size 218.22x159.80
+    LayoutSVGContainer {g} at (5,4) size 365.39x285.19
+      LayoutSVGText {text} at (5,4) size 365.39x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,4) size 365.39x45
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 24 width 365.40: "Test left-to-right text."
+      LayoutSVGContainer {g} at (10,59.39) size 217.80x159.80
         LayoutSVGText {text} at (10,59.39) size 212.39x19.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,59.39) size 212.39x19.80
             chunk 1 text run 1 at (10.00,75.00) startOffset 0 endOffset 33 width 212.40: "Polish: Mog\x{119} je\x{15B}\x{107} szk\x{142}o, i mi ..."
-        LayoutSVGText {text} at (10,94.39) size 218.22x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,94.39) size 218.22x19.80
-            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 32 width 218.22: "Russian: \x{42F} \x{43C}\x{43E}\x{433}\x{443} \x{435}\x{441}\x{442}\x{44C} \x{441}\x{442}\x{435}\x{43A}\x{43B}\x{43E}, ..."
+        LayoutSVGText {text} at (10,94.39) size 217.80x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,94.39) size 217.80x19.80
+            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 32 width 217.80: "Russian: \x{42F} \x{43C}\x{43E}\x{433}\x{443} \x{435}\x{441}\x{442}\x{44C} \x{441}\x{442}\x{435}\x{43A}\x{43B}\x{43E}, ..."
         LayoutSVGText {text} at (10,129.39) size 171.59x19.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,129.39) size 171.59x19.80
             chunk 1 text run 1 at (10.00,145.00) startOffset 0 endOffset 23 width 171.60: "Greek: \x{39C}\x{3C0}\x{3BF}\x{3C1}\x{3CE} \x{3BD}\x{3B1} \x{3C6}\x{3AC}\x{3C9} ..."
@@ -22,11 +22,11 @@
             chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 8 width 61.20: "Hebrew: "
             chunk 1 text run 1 at (71.20,180.00) startOffset 0 endOffset 21 width 124.20 RTL: "\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA}"
             chunk 1 text run 1 at (195.40,180.00) startOffset 0 endOffset 4 width 16.80: " ..."
-        LayoutSVGText {text} at (10,199.39) size 198.25x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,199.39) size 198.25x19.80
-            chunk 1 text run 1 at (10.00,215.00) startOffset 0 endOffset 9 width 61.46: "Yiddish: "
-            chunk 1 text run 1 at (71.46,215.00) startOffset 0 endOffset 21 width 120.00 RTL: "\x{5D0}\x{5D9}\x{5DA} \x{5E7}\x{5E2}\x{5DF} \x{5E2}\x{5E1}\x{5DF} \x{5D2}\x{5DC}\x{5D0}\x{5B8}\x{5D6} \x{5D0}\x{5D5}\x{5DF}"
-            chunk 1 text run 1 at (191.46,215.00) startOffset 0 endOffset 4 width 16.80: " ..."
+        LayoutSVGText {text} at (10,199.39) size 198x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,199.39) size 197.98x19.80
+            chunk 1 text run 1 at (10.00,215.00) startOffset 0 endOffset 9 width 61.20: "Yiddish: "
+            chunk 1 text run 1 at (71.20,215.00) startOffset 0 endOffset 21 width 120.00 RTL: "\x{5D0}\x{5D9}\x{5DA} \x{5E7}\x{5E2}\x{5DF} \x{5E2}\x{5E1}\x{5DF} \x{5D2}\x{5DC}\x{5D0}\x{5B8}\x{5D6} \x{5D0}\x{5D5}\x{5DF}"
+            chunk 1 text run 1 at (191.20,215.00) startOffset 0 endOffset 4 width 16.80: " ..."
       LayoutSVGContainer {g} at (10,234.39) size 260.39x19.80
         LayoutSVGText {text} at (10,234.39) size 260.39x19.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,234.39) size 260.39x19.80
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-03-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-03-b-expected.png
index 10e4fe1..a7d1976 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-03-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-03-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-03-b-expected.txt
index 105e5eb..da1a8c28 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-03-b-expected.txt
@@ -3,42 +3,42 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (61.39,10) size 377.39x428.19
-      LayoutSVGContainer {g} at (61.39,10) size 377.39x428.19
-        LayoutSVGText {text} at (61.39,10) size 16.59x288.22 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (61.39,10) size 16.59x288.22
+    LayoutSVGContainer {g} at (61.39,10) size 377.39x428.39
+      LayoutSVGContainer {g} at (61.39,10) size 377.39x428.39
+        LayoutSVGText {text} at (61.39,10) size 16.80x288 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (61.39,10) size 16.80x288
             chunk 1 (vertical) text run 1 at (65.00,10.00) startOffset 0 endOffset 1 height 15.60: "T"
-            chunk 1 (vertical) text run 2 at (65.00,17.91) startOffset 1 endOffset 2 height 15.60: "e"
-            chunk 1 (vertical) text run 3 at (65.00,23.42) startOffset 2 endOffset 3 height 15.60: "x"
-            chunk 1 (vertical) text run 4 at (65.00,30.62) startOffset 3 endOffset 4 height 15.60: "t"
-            chunk 1 (vertical) text run 5 at (65.00,34.22) startOffset 4 endOffset 5 height 15.60: " "
-            chunk 1 (vertical) text run 6 at (65.00,37.82) startOffset 5 endOffset 6 height 15.60: "\""
-            chunk 1 (vertical) text run 7 at (65.00,43.22) startOffset 6 endOffset 7 height 15.60: "\x{6211}"
-            chunk 1 (vertical) text run 8 at (65.00,58.82) startOffset 7 endOffset 8 height 15.60: "\x{80FD}"
-            chunk 1 (vertical) text run 9 at (65.00,74.42) startOffset 8 endOffset 9 height 15.60: "\x{541E}"
-            chunk 1 (vertical) text run 10 at (65.00,90.02) startOffset 9 endOffset 10 height 15.60: "\x{4E0B}"
-            chunk 1 (vertical) text run 11 at (65.00,105.62) startOffset 10 endOffset 11 height 15.60: "\x{73BB}"
-            chunk 1 (vertical) text run 12 at (65.00,121.22) startOffset 11 endOffset 12 height 15.60: "\x{7483}"
-            chunk 1 (vertical) text run 13 at (65.00,136.82) startOffset 12 endOffset 13 height 15.60: "\x{800C}"
-            chunk 1 (vertical) text run 14 at (65.00,152.42) startOffset 13 endOffset 14 height 15.60: "\x{4E0D}"
-            chunk 1 (vertical) text run 15 at (65.00,168.02) startOffset 14 endOffset 15 height 15.60: "\x{4F24}"
-            chunk 1 (vertical) text run 16 at (65.00,183.62) startOffset 15 endOffset 16 height 15.60: "\x{8EAB}"
-            chunk 1 (vertical) text run 17 at (65.00,199.22) startOffset 16 endOffset 17 height 15.60: "\x{4F53}"
-            chunk 1 (vertical) text run 18 at (65.00,214.82) startOffset 17 endOffset 18 height 15.60: "\x{3002}"
-            chunk 1 (vertical) text run 19 at (65.00,230.42) startOffset 18 endOffset 19 height 15.60: "\""
-            chunk 1 (vertical) text run 20 at (65.00,235.82) startOffset 19 endOffset 20 height 15.60: " "
-            chunk 1 (vertical) text run 21 at (65.00,239.42) startOffset 20 endOffset 21 height 15.60: "i"
-            chunk 1 (vertical) text run 22 at (65.00,243.02) startOffset 21 endOffset 22 height 15.60: "n"
-            chunk 1 (vertical) text run 23 at (65.00,250.22) startOffset 22 endOffset 23 height 15.60: " "
-            chunk 1 (vertical) text run 24 at (65.00,253.82) startOffset 23 endOffset 24 height 15.60: "C"
-            chunk 1 (vertical) text run 25 at (65.00,262.82) startOffset 24 endOffset 25 height 15.60: "h"
-            chunk 1 (vertical) text run 26 at (65.00,270.02) startOffset 25 endOffset 26 height 15.60: "i"
-            chunk 1 (vertical) text run 27 at (65.00,273.62) startOffset 26 endOffset 27 height 15.60: "n"
-            chunk 1 (vertical) text run 28 at (65.00,280.82) startOffset 27 endOffset 28 height 15.60: "e"
-            chunk 1 (vertical) text run 29 at (65.00,286.82) startOffset 28 endOffset 29 height 15.60: "s"
-            chunk 1 (vertical) text run 30 at (65.00,292.22) startOffset 29 endOffset 30 height 15.60: "e"
-        LayoutSVGText {text} at (222.50,10) size 15x428.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (222.50,10) size 15x428.19
+            chunk 1 (vertical) text run 2 at (65.00,17.80) startOffset 1 endOffset 2 height 15.60: "e"
+            chunk 1 (vertical) text run 3 at (65.00,23.20) startOffset 2 endOffset 3 height 15.60: "x"
+            chunk 1 (vertical) text run 4 at (65.00,30.40) startOffset 3 endOffset 4 height 15.60: "t"
+            chunk 1 (vertical) text run 5 at (65.00,34.00) startOffset 4 endOffset 5 height 15.60: " "
+            chunk 1 (vertical) text run 6 at (65.00,37.60) startOffset 5 endOffset 6 height 15.60: "\""
+            chunk 1 (vertical) text run 7 at (65.00,43.00) startOffset 6 endOffset 7 height 15.60: "\x{6211}"
+            chunk 1 (vertical) text run 8 at (65.00,58.60) startOffset 7 endOffset 8 height 15.60: "\x{80FD}"
+            chunk 1 (vertical) text run 9 at (65.00,74.20) startOffset 8 endOffset 9 height 15.60: "\x{541E}"
+            chunk 1 (vertical) text run 10 at (65.00,89.80) startOffset 9 endOffset 10 height 15.60: "\x{4E0B}"
+            chunk 1 (vertical) text run 11 at (65.00,105.40) startOffset 10 endOffset 11 height 15.60: "\x{73BB}"
+            chunk 1 (vertical) text run 12 at (65.00,121.00) startOffset 11 endOffset 12 height 15.60: "\x{7483}"
+            chunk 1 (vertical) text run 13 at (65.00,136.60) startOffset 12 endOffset 13 height 15.60: "\x{800C}"
+            chunk 1 (vertical) text run 14 at (65.00,152.20) startOffset 13 endOffset 14 height 15.60: "\x{4E0D}"
+            chunk 1 (vertical) text run 15 at (65.00,167.80) startOffset 14 endOffset 15 height 15.60: "\x{4F24}"
+            chunk 1 (vertical) text run 16 at (65.00,183.40) startOffset 15 endOffset 16 height 15.60: "\x{8EAB}"
+            chunk 1 (vertical) text run 17 at (65.00,199.00) startOffset 16 endOffset 17 height 15.60: "\x{4F53}"
+            chunk 1 (vertical) text run 18 at (65.00,214.60) startOffset 17 endOffset 18 height 15.60: "\x{3002}"
+            chunk 1 (vertical) text run 19 at (65.00,230.20) startOffset 18 endOffset 19 height 15.60: "\""
+            chunk 1 (vertical) text run 20 at (65.00,235.60) startOffset 19 endOffset 20 height 15.60: " "
+            chunk 1 (vertical) text run 21 at (65.00,239.20) startOffset 20 endOffset 21 height 15.60: "i"
+            chunk 1 (vertical) text run 22 at (65.00,242.80) startOffset 21 endOffset 22 height 15.60: "n"
+            chunk 1 (vertical) text run 23 at (65.00,250.00) startOffset 22 endOffset 23 height 15.60: " "
+            chunk 1 (vertical) text run 24 at (65.00,253.60) startOffset 23 endOffset 24 height 15.60: "C"
+            chunk 1 (vertical) text run 25 at (65.00,262.60) startOffset 24 endOffset 25 height 15.60: "h"
+            chunk 1 (vertical) text run 26 at (65.00,269.80) startOffset 25 endOffset 26 height 15.60: "i"
+            chunk 1 (vertical) text run 27 at (65.00,273.40) startOffset 26 endOffset 27 height 15.60: "n"
+            chunk 1 (vertical) text run 28 at (65.00,280.60) startOffset 27 endOffset 28 height 15.60: "e"
+            chunk 1 (vertical) text run 29 at (65.00,286.60) startOffset 28 endOffset 29 height 15.60: "s"
+            chunk 1 (vertical) text run 30 at (65.00,292.00) startOffset 29 endOffset 30 height 15.60: "e"
+        LayoutSVGText {text} at (222.50,10) size 15x428.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (222.50,10) size 15x428.39
             chunk 1 (vertical) text run 1 at (225.50,10.00) startOffset 0 endOffset 1 height 15.00: "J"
             chunk 1 (vertical) text run 2 at (225.50,15.40) startOffset 1 endOffset 2 height 15.00: "a"
             chunk 1 (vertical) text run 3 at (225.50,21.40) startOffset 2 endOffset 3 height 15.00: "p"
@@ -74,8 +74,8 @@
             chunk 1 (vertical) text run 33 at (225.50,395.20) startOffset 32 endOffset 33 height 15.00: "\x{305B}"
             chunk 1 (vertical) text run 34 at (225.50,410.20) startOffset 33 endOffset 34 height 15.00: "\x{3093}"
             chunk 1 (vertical) text run 35 at (225.50,425.20) startOffset 34 endOffset 35 height 15.00: "\x{3002}"
-        LayoutSVGText {text} at (363.59,13) size 11.39x397.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (363.59,13) size 11.39x397.59
+        LayoutSVGText {text} at (363.59,13) size 11.39x397.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (363.59,13) size 11.39x397.80
             chunk 1 (vertical) text run 1 at (366.00,13.00) startOffset 0 endOffset 1 height 11.40: "J"
             chunk 1 (vertical) text run 2 at (366.00,24.40) startOffset 1 endOffset 2 height 11.40: "a"
             chunk 1 (vertical) text run 3 at (366.00,35.80) startOffset 2 endOffset 3 height 11.40: "p"
@@ -111,8 +111,8 @@
             chunk 1 (vertical) text run 33 at (366.00,377.80) startOffset 32 endOffset 33 height 11.40: "\x{305B}"
             chunk 1 (vertical) text run 34 at (366.00,389.20) startOffset 33 endOffset 34 height 11.40: "\x{3093}"
             chunk 1 (vertical) text run 35 at (366.00,400.60) startOffset 34 endOffset 35 height 11.40: "\x{3002}"
-        LayoutSVGText {text} at (102.19,80) size 36.59x151.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (102.19,80) size 36.59x151.39
+        LayoutSVGText {text} at (102.19,80) size 36.59x151.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (102.19,80) size 36.59x151.19
             chunk 1 (vertical) text run 1 at (110.00,80.00) startOffset 0 endOffset 1 height 36.60: "x"
             chunk 1 (vertical) text run 2 at (110.00,96.20) startOffset 1 endOffset 2 height 36.60: "t"
             chunk 1 (vertical) text run 3 at (110.00,105.20) startOffset 2 endOffset 3 height 36.60: " "
@@ -128,8 +128,8 @@
             chunk 1 (vertical) text run 4 at (268.50,120.20) startOffset 3 endOffset 4 height 40.80: " "
             chunk 1 (vertical) text run 5 at (268.50,129.20) startOffset 4 endOffset 5 height 40.80: "\x{79C1}"
             chunk 1 (vertical) text run 6 at (268.50,170.00) startOffset 5 endOffset 6 height 40.80: "\x{306F}"
-        LayoutSVGText {text} at (402.19,80) size 36.59x214.98 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (402.19,80) size 36.59x214.98
+        LayoutSVGText {text} at (402.19,80) size 36.59x214.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (402.19,80) size 36.59x214.80
             chunk 1 (vertical) text run 1 at (410.00,80.00) startOffset 0 endOffset 1 height 36.60: "s"
             chunk 1 (vertical) text run 2 at (410.00,116.60) startOffset 1 endOffset 2 height 36.60: "e"
             chunk 1 (vertical) text run 3 at (410.00,153.20) startOffset 2 endOffset 3 height 36.60: ":"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-04-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-04-t-expected.png
index 8e477048..7ac77cc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-04-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-04-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt
index 27804d5..e5197c2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt
@@ -4,29 +4,29 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (10,4.39) size 436.80x239.19
-      LayoutSVGText {text} at (10,4.39) size 142.81x19.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,4.39) size 142.81x19.19
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 21 width 142.83: "Test horizontal text."
+      LayoutSVGText {text} at (10,4.39) size 143.39x19.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,4.39) size 143.39x19.19
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 21 width 143.40: "Test horizontal text."
       LayoutSVGContainer {g} at (10,44.39) size 436.80x199.19
         LayoutSVGText {text} at (10,44.39) size 279.59x19.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,44.39) size 279.59x19.80
             chunk 1 text run 1 at (10.00,60.00) startOffset 0 endOffset 42 width 279.60: "Polish: Mog\x{119} je\x{15B}\x{107} szk\x{142}o, i mi nie szkodzi."
-        LayoutSVGText {text} at (10,74.39) size 334.69x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,74.39) size 334.69x19.80
-            chunk 1 text run 1 at (10.00,90.00) startOffset 0 endOffset 47 width 334.70: "Russian: \x{42F} \x{43C}\x{43E}\x{433}\x{443} \x{435}\x{441}\x{442}\x{44C} \x{441}\x{442}\x{435}\x{43A}\x{43B}\x{43E}, \x{44D}\x{442}\x{43E} \x{43C}\x{43D}\x{435} \x{43D}\x{435} \x{432}\x{440}\x{435}\x{434}\x{438}\x{442}."
-        LayoutSVGText {text} at (10,106.19) size 382.88x17.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,106.19) size 382.88x17.39
-            chunk 1 text run 1 at (10.00,120.00) startOffset 0 endOffset 57 width 382.89: "Greek: \x{39C}\x{3C0}\x{3BF}\x{3C1}\x{3CE} \x{3BD}\x{3B1} \x{3C6}\x{3AC}\x{3C9} \x{3C3}\x{3C0}\x{3B1}\x{3C3}\x{3BC}\x{3AD}\x{3BD}\x{3B1} \x{3B3}\x{3C5}\x{3B1}\x{3BB}\x{3B9}\x{3AC} \x{3C7}\x{3C9}\x{3C1}\x{3AF}\x{3C2} \x{3BD}\x{3B1} \x{3C0}\x{3AC}\x{3B8}\x{3C9} \x{3C4}\x{3AF}\x{3C0}\x{3BF}\x{3C4}\x{3B1}."
-        LayoutSVGText {text} at (10,134.39) size 346.20x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,134.39) size 346.20x19.80
-            chunk 1 text run 1 at (10.00,150.00) startOffset 0 endOffset 6 width 40.21: "Text \""
-            chunk 1 text run 1 at (50.21,150.00) startOffset 0 endOffset 36 width 210.00 RTL: "\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}"
-            chunk 1 text run 1 at (260.21,150.00) startOffset 0 endOffset 14 width 96.00: "\" is in Hebrew"
-        LayoutSVGText {text} at (10,164.39) size 309.25x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,164.39) size 309.23x19.80
-            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 9 width 61.46: "Yiddish: "
-            chunk 1 text run 1 at (71.46,180.00) startOffset 0 endOffset 40 width 243.60 RTL: "\x{5D0}\x{5D9}\x{5DA} \x{5E7}\x{5E2}\x{5DF} \x{5E2}\x{5E1}\x{5DF} \x{5D2}\x{5DC}\x{5D0}\x{5B8}\x{5D6} \x{5D0}\x{5D5}\x{5DF} \x{5E2}\x{5E1} \x{5D8}\x{5D5}\x{5D8} \x{5DE}\x{5D9}\x{5E8} \x{5E0}\x{5D9}\x{5E9}\x{5D8} \x{5F0}\x{5F2}"
-            chunk 1 text run 1 at (315.06,180.00) startOffset 0 endOffset 1 width 4.20: "."
+        LayoutSVGText {text} at (10,74.39) size 334.80x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,74.39) size 334.80x19.80
+            chunk 1 text run 1 at (10.00,90.00) startOffset 0 endOffset 47 width 334.80: "Russian: \x{42F} \x{43C}\x{43E}\x{433}\x{443} \x{435}\x{441}\x{442}\x{44C} \x{441}\x{442}\x{435}\x{43A}\x{43B}\x{43E}, \x{44D}\x{442}\x{43E} \x{43C}\x{43D}\x{435} \x{43D}\x{435} \x{432}\x{440}\x{435}\x{434}\x{438}\x{442}."
+        LayoutSVGText {text} at (10,106.19) size 383.39x17.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,106.19) size 383.39x17.39
+            chunk 1 text run 1 at (10.00,120.00) startOffset 0 endOffset 57 width 383.40: "Greek: \x{39C}\x{3C0}\x{3BF}\x{3C1}\x{3CE} \x{3BD}\x{3B1} \x{3C6}\x{3AC}\x{3C9} \x{3C3}\x{3C0}\x{3B1}\x{3C3}\x{3BC}\x{3AD}\x{3BD}\x{3B1} \x{3B3}\x{3C5}\x{3B1}\x{3BB}\x{3B9}\x{3AC} \x{3C7}\x{3C9}\x{3C1}\x{3AF}\x{3C2} \x{3BD}\x{3B1} \x{3C0}\x{3AC}\x{3B8}\x{3C9} \x{3C4}\x{3AF}\x{3C0}\x{3BF}\x{3C4}\x{3B1}."
+        LayoutSVGText {text} at (10,134.39) size 346.19x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,134.39) size 346.19x19.80
+            chunk 1 text run 1 at (10.00,150.00) startOffset 0 endOffset 6 width 40.20: "Text \""
+            chunk 1 text run 1 at (50.20,150.00) startOffset 0 endOffset 36 width 210.00 RTL: "\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}"
+            chunk 1 text run 1 at (260.20,150.00) startOffset 0 endOffset 14 width 96.00: "\" is in Hebrew"
+        LayoutSVGText {text} at (10,164.39) size 309x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,164.39) size 308.98x19.80
+            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 9 width 61.20: "Yiddish: "
+            chunk 1 text run 1 at (71.20,180.00) startOffset 0 endOffset 40 width 243.60 RTL: "\x{5D0}\x{5D9}\x{5DA} \x{5E7}\x{5E2}\x{5DF} \x{5E2}\x{5E1}\x{5DF} \x{5D2}\x{5DC}\x{5D0}\x{5B8}\x{5D6} \x{5D0}\x{5D5}\x{5DF} \x{5E2}\x{5E1} \x{5D8}\x{5D5}\x{5D8} \x{5DE}\x{5D9}\x{5E8} \x{5E0}\x{5D9}\x{5E9}\x{5D8} \x{5F0}\x{5F2}"
+            chunk 1 text run 1 at (314.80,180.00) startOffset 0 endOffset 1 width 4.20: "."
         LayoutSVGText {text} at (10,194.39) size 260.39x19.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,194.39) size 260.39x19.80
             chunk 1 text run 1 at (10.00,210.00) startOffset 0 endOffset 20 width 260.40: "Chinese:\x{6211}\x{80FD}\x{541E}\x{4E0B}\x{73BB}\x{7483}\x{800C}\x{4E0D}\x{4F24}\x{8EAB}\x{4F53}\x{3002}"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-path-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-path-01-b-expected.png
index 51c1eb1..f4fca86 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-path-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-path-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-path-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-path-01-b-expected.txt
index 83b1392..8b56fad 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-path-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-path-01-b-expected.txt
@@ -63,30 +63,30 @@
       LayoutSVGContainer {g} at (113,211.39) size 300x79.80
         LayoutSVGContainer {use} at (113,233) size 300x0
           LayoutSVGPath {path} at (113,233) size 300x0 [stroke={[type=SOLID] [color=#0000FF] [stroke width=4.00]}] [data="M 113 233 L 413 233"]
-        LayoutSVGText {text} at (212,211.39) size 176.73x27 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (212,211.39) size 176.73x27
-            LayoutSVGInlineText {#text} at (212,211.39) size 176.73x27
+        LayoutSVGText {text} at (212,211.39) size 177x27 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (212,211.39) size 177x27
+            LayoutSVGInlineText {#text} at (212,211.39) size 177x27
               chunk 1 text run 1 at (219.20,233.00) startOffset 0 endOffset 1 width 14.40: "T"
               chunk 1 text run 2 at (233.00,233.00) startOffset 1 endOffset 2 width 13.20: "h"
               chunk 1 text run 3 at (246.20,233.00) startOffset 2 endOffset 3 width 13.20: "e"
               chunk 1 text run 4 at (256.10,233.00) startOffset 3 endOffset 4 width 6.60: " "
-              chunk 1 text run 5 at (265.93,233.00) startOffset 4 endOffset 5 width 14.40: "T"
-              chunk 1 text run 6 at (278.40,233.00) startOffset 5 endOffset 6 width 13.20: "e"
-              chunk 1 text run 7 at (290.34,233.00) startOffset 6 endOffset 7 width 12.00: "x"
-              chunk 1 text run 8 at (299.64,233.00) startOffset 7 endOffset 8 width 6.60: "t"
-              chunk 1 text run 9 at (306.24,233.00) startOffset 8 endOffset 9 width 6.60: " "
-              chunk 1 text run 10 at (316.14,233.00) startOffset 9 endOffset 10 width 13.20: "o"
-              chunk 1 text run 11 at (329.34,233.00) startOffset 10 endOffset 11 width 13.20: "n"
-              chunk 1 text run 12 at (339.24,233.00) startOffset 11 endOffset 12 width 6.60: " "
-              chunk 1 text run 13 at (349.14,233.00) startOffset 12 endOffset 13 width 13.20: "p"
-              chunk 1 text run 14 at (362.34,233.00) startOffset 13 endOffset 14 width 13.20: "a"
-              chunk 1 text run 15 at (372.24,233.00) startOffset 14 endOffset 15 width 6.60: "t"
-              chunk 1 text run 16 at (382.14,233.00) startOffset 15 endOffset 16 width 13.20: "h"
+              chunk 1 text run 5 at (266.00,233.00) startOffset 4 endOffset 5 width 14.40: "T"
+              chunk 1 text run 6 at (278.60,233.00) startOffset 5 endOffset 6 width 13.20: "e"
+              chunk 1 text run 7 at (290.60,233.00) startOffset 6 endOffset 7 width 12.00: "x"
+              chunk 1 text run 8 at (299.90,233.00) startOffset 7 endOffset 8 width 6.60: "t"
+              chunk 1 text run 9 at (306.50,233.00) startOffset 8 endOffset 9 width 6.60: " "
+              chunk 1 text run 10 at (316.40,233.00) startOffset 9 endOffset 10 width 13.20: "o"
+              chunk 1 text run 11 at (329.60,233.00) startOffset 10 endOffset 11 width 13.20: "n"
+              chunk 1 text run 12 at (339.50,233.00) startOffset 11 endOffset 12 width 6.60: " "
+              chunk 1 text run 13 at (349.40,233.00) startOffset 12 endOffset 13 width 13.20: "p"
+              chunk 1 text run 14 at (362.60,233.00) startOffset 13 endOffset 14 width 13.20: "a"
+              chunk 1 text run 15 at (372.50,233.00) startOffset 14 endOffset 15 width 6.60: "t"
+              chunk 1 text run 16 at (382.40,233.00) startOffset 15 endOffset 16 width 13.20: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGRect {rect} at (118,250) size 260x41 [stroke={[type=SOLID] [color=#000000]}] [x=118.00] [y=250.00] [width=260.00] [height=41.00]
-        LayoutSVGText {text} at (120,248.39) size 227.63x22.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (120,248.39) size 227.63x22.80
-            chunk 1 text run 1 at (120.00,267.00) startOffset 0 endOffset 30 width 227.64: "'startOffset' attribute of the"
+        LayoutSVGText {text} at (120,248.39) size 228x22.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (120,248.39) size 228x22.80
+            chunk 1 text run 1 at (120.00,267.00) startOffset 0 endOffset 30 width 228.00: "'startOffset' attribute of the"
         LayoutSVGText {text} at (120,268.39) size 159x22.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (120,268.39) size 159x22.80
             chunk 1 text run 1 at (120.00,287.00) startOffset 0 endOffset 19 width 159.00: "'textPath' element."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt
index fdbaac6b..79f8511 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt
@@ -2,8 +2,8 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (3,0.80) size 72.70x49.89
-      LayoutSVGContainer {g} at (3,0.80) size 72.70x49.89
+    LayoutSVGContainer {g} at (3,0.80) size 72.69x49.89
+      LayoutSVGContainer {g} at (3,0.80) size 72.69x49.89
         LayoutSVGText {text} at (3,0.80) size 55.09x8.89 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (3,0.80) size 55.09x8.89
             chunk 1 text run 1 at (3.00,8.00) startOffset 0 endOffset 16 width 55.10: "letter-spacing:0"
@@ -45,21 +45,21 @@
             chunk 1 text run 15 at (55.60,24.00) startOffset 14 endOffset 15 width 2.20: ":"
             chunk 1 text run 16 at (58.10,24.00) startOffset 15 endOffset 16 width 2.20: "."
             chunk 1 text run 17 at (60.60,24.00) startOffset 16 endOffset 17 width 4.50: "3"
-        LayoutSVGText {text} at (3,25.80) size 63.70x8.89 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (3,25.80) size 63.70x8.89
-            chunk 1 text run 1 at (3.00,33.00) startOffset 0 endOffset 16 width 63.71: "ws:0 - Two Words"
-        LayoutSVGText {text} at (3,33.80) size 57.41x8.89 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (3,33.80) size 57.41x8.89
+        LayoutSVGText {text} at (3,25.80) size 63.69x8.89 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (3,25.80) size 63.69x8.89
+            chunk 1 text run 1 at (3.00,33.00) startOffset 0 endOffset 16 width 63.70: "ws:0 - Two Words"
+        LayoutSVGText {text} at (3,33.80) size 57.39x8.89 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (3,33.80) size 57.39x8.89
             chunk 1 text run 1 at (3.00,41.00) startOffset 0 endOffset 6 width 21.40: "ws:-3 "
             chunk 1 text run 2 at (21.40,41.00) startOffset 6 endOffset 8 width 4.90: "- "
-            chunk 1 text run 3 at (23.30,41.00) startOffset 8 endOffset 12 width 16.96: "Two "
-            chunk 1 text run 4 at (37.26,41.00) startOffset 12 endOffset 17 width 23.16: "Words"
-        LayoutSVGText {text} at (3,41.80) size 72.70x8.89 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (3,41.80) size 72.70x8.89
+            chunk 1 text run 3 at (23.30,41.00) startOffset 8 endOffset 12 width 17.00: "Two "
+            chunk 1 text run 4 at (37.30,41.00) startOffset 12 endOffset 17 width 23.10: "Words"
+        LayoutSVGText {text} at (3,41.80) size 72.69x8.89 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (3,41.80) size 72.69x8.89
             chunk 1 text run 1 at (3.00,49.00) startOffset 0 endOffset 5 width 18.70: "ws:3 "
             chunk 1 text run 2 at (24.70,49.00) startOffset 5 endOffset 7 width 4.90: "- "
-            chunk 1 text run 3 at (32.60,49.00) startOffset 7 endOffset 11 width 16.96: "Two "
-            chunk 1 text run 4 at (52.56,49.00) startOffset 11 endOffset 16 width 23.16: "Words"
+            chunk 1 text run 3 at (32.60,49.00) startOffset 7 endOffset 11 width 17.00: "Two "
+            chunk 1 text run 4 at (52.60,49.00) startOffset 11 endOffset 16 width 23.10: "Words"
     LayoutSVGText {text} at (5,51.59) size 39.59x6.80 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (5,51.59) size 39.59x6.80
         chunk 1 text run 1 at (5.00,57.00) startOffset 0 endOffset 16 width 39.60: "$Revision: 1.6 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-07-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-07-t-expected.png
index 3998a7a..2dbcc37 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-07-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-07-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-07-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-07-t-expected.txt
index 80c68d66..d0183c0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-07-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-07-t-expected.txt
@@ -13,14 +13,14 @@
           chunk 1 text run 1 at (340.00,160.00) startOffset 0 endOffset 1 width 9.00: " "
           chunk 1 text run 1 at (360.00,180.00) startOffset 0 endOffset 1 width 25.20: "X"
           chunk 1 text run 1 at (385.20,200.00) startOffset 0 endOffset 2 width 34.20: " Y"
-      LayoutSVGText {text} at (10,28.19) size 146.97x53.28 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,28.19) size 146.97x53.28
+      LayoutSVGText {text} at (10,28.19) size 147.05x53.28 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,28.19) size 147.05x53.28
           chunk 1 text run 1 at (10.00,60.00) startOffset 0 endOffset 1 width 23.40: "R"
           chunk 1 text run 2 at (33.40,60.00) startOffset 1 endOffset 2 width 25.20: "O"
           chunk 1 text run 3 at (58.60,60.00) startOffset 2 endOffset 3 width 21.00: "T"
-          chunk 1 text run 4 at (78.20,60.00) startOffset 3 endOffset 4 width 25.20: "A"
-          chunk 1 text run 5 at (100.06,60.00) startOffset 4 endOffset 5 width 21.00: "T"
-          chunk 1 text run 6 at (119.12,60.00) startOffset 5 endOffset 6 width 21.00: "E"
+          chunk 1 text run 4 at (78.40,60.00) startOffset 3 endOffset 4 width 25.20: "A"
+          chunk 1 text run 5 at (100.00,60.00) startOffset 4 endOffset 5 width 21.00: "T"
+          chunk 1 text run 6 at (119.20,60.00) startOffset 5 endOffset 6 width 21.00: "E"
       LayoutSVGText {text} at (10,165.41) size 247.27x142.98 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,165.41) size 247.27x142.97
           chunk 1 text run 1 at (10.00,300.00) startOffset 0 endOffset 1 width 23.40: "B"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-08-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-08-b-expected.png
index 753d625..474801e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-08-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-08-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-08-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-08-b-expected.txt
index 584bfac..9d070b0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-08-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-text-08-b-expected.txt
@@ -2,19 +2,19 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (19,-4.19) size 465.25x257.98
-      LayoutSVGText {text} at (19,-4.19) size 389.72x78 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,-4.19) size 389.72x78
-          chunk 1 text run 1 at (19.00,60.00) startOffset 0 endOffset 11 width 389.73: "Normal Text"
-      LayoutSVGText {text} at (19,55.80) size 343.48x78 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,55.80) size 343.48x78
-          chunk 1 text run 1 at (19.00,120.00) startOffset 0 endOffset 12 width 343.49: "Fill opacity"
-      LayoutSVGText {text} at (19,115.80) size 465.25x78 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,115.80) size 465.25x78
-          chunk 1 text run 1 at (19.00,180.00) startOffset 0 endOffset 14 width 465.26: "Stroke opacity"
-      LayoutSVGText {text} at (19,175.80) size 242.69x78 [opacity=0.50] contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,175.80) size 242.69x78 [opacity=0.50]
-          chunk 1 text run 1 at (19.00,240.00) startOffset 0 endOffset 7 width 242.69: "Opacity"
+    LayoutSVGContainer {g} at (19,-4.19) size 465x257.98
+      LayoutSVGText {text} at (19,-4.19) size 389.39x78 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,-4.19) size 389.39x78
+          chunk 1 text run 1 at (19.00,60.00) startOffset 0 endOffset 11 width 389.40: "Normal Text"
+      LayoutSVGText {text} at (19,55.80) size 343.80x78 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,55.80) size 343.80x78
+          chunk 1 text run 1 at (19.00,120.00) startOffset 0 endOffset 12 width 343.80: "Fill opacity"
+      LayoutSVGText {text} at (19,115.80) size 465x78 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,115.80) size 465x78
+          chunk 1 text run 1 at (19.00,180.00) startOffset 0 endOffset 14 width 465.00: "Stroke opacity"
+      LayoutSVGText {text} at (19,175.80) size 243x78 [opacity=0.50] contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,175.80) size 243x78 [opacity=0.50]
+          chunk 1 text run 1 at (19.00,240.00) startOffset 0 endOffset 7 width 243.00: "Opacity"
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.3 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tselect-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tselect-01-b-expected.png
index 455c214..9f4535dc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tselect-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tselect-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt
index b689bf9..d7147d2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt
@@ -3,39 +3,39 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (1,1) size 478x358
-      LayoutSVGText {text} at (10,4.39) size 310.22x19.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,4.39) size 310.22x19.19
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 46 width 310.23: "Test single line and multiline text selection."
-      LayoutSVGContainer {g} at (25,49.39) size 371.70x219.19
+      LayoutSVGText {text} at (10,4.39) size 310.80x19.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,4.39) size 310.80x19.19
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 46 width 310.80: "Test single line and multiline text selection."
+      LayoutSVGContainer {g} at (25,49.39) size 371.39x219.19
         LayoutSVGText {text} at (25,49.39) size 261x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,49.39) size 261x19.19
             chunk 1 text run 1 at (25.00,65.00) startOffset 0 endOffset 37 width 261.00: "Here is a stand-alone 'text' element."
-        LayoutSVGText {text} at (25,74.39) size 305.70x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25,74.39) size 305.70x19.19
-            chunk 1 text run 1 at (25.00,90.00) startOffset 0 endOffset 43 width 305.72: "Here is a second 'text' element just below."
+        LayoutSVGText {text} at (25,74.39) size 305.39x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25,74.39) size 305.39x19.19
+            chunk 1 text run 1 at (25.00,90.00) startOffset 0 endOffset 43 width 305.40: "Here is a second 'text' element just below."
         LayoutSVGText {text} at (25,99.39) size 351.59x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,99.39) size 351.59x19.19
             chunk 1 text run 1 at (25.00,115.00) startOffset 0 endOffset 48 width 351.60: "Because these are four separate 'text' elements,"
         LayoutSVGText {text} at (25,124.39) size 333.59x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,124.39) size 333.59x19.19
             chunk 1 text run 1 at (25.00,140.00) startOffset 0 endOffset 47 width 333.60: "text selection should not go across lines here."
-        LayoutSVGText {text} at (25,174.39) size 371.70x94.19 contains 1 chunk(s)
-          LayoutSVGTSpan {tspan} at (25,174.39) size 371.70x94.19
-            LayoutSVGInlineText {#text} at (25,174.39) size 366.91x19.19
-              chunk 1 text run 1 at (25.00,190.00) startOffset 0 endOffset 50 width 366.92: "However, these lines of text are achieved by using"
-          LayoutSVGInlineText {#text} at (391.91,174.39) size 4.80x19.19
-            chunk 1 text run 1 at (391.92,190.00) startOffset 0 endOffset 1 width 4.80: " "
-          LayoutSVGTSpan {tspan} at (25,174.39) size 371.70x94.19
+        LayoutSVGText {text} at (25,174.39) size 371.39x94.19 contains 1 chunk(s)
+          LayoutSVGTSpan {tspan} at (25,174.39) size 371.39x94.19
+            LayoutSVGInlineText {#text} at (25,174.39) size 366.59x19.19
+              chunk 1 text run 1 at (25.00,190.00) startOffset 0 endOffset 50 width 366.60: "However, these lines of text are achieved by using"
+          LayoutSVGInlineText {#text} at (391.59,174.39) size 4.80x19.19
+            chunk 1 text run 1 at (391.60,190.00) startOffset 0 endOffset 1 width 4.80: " "
+          LayoutSVGTSpan {tspan} at (25,174.39) size 371.39x94.19
             LayoutSVGInlineText {#text} at (25,199.39) size 356.39x19.19
               chunk 1 text run 1 at (25.00,215.00) startOffset 0 endOffset 51 width 356.40: "one 'tspan' per line, all contained within the same"
           LayoutSVGInlineText {#text} at (381.39,199.39) size 4.80x19.19
             chunk 1 text run 1 at (381.40,215.00) startOffset 0 endOffset 1 width 4.80: " "
-          LayoutSVGTSpan {tspan} at (25,174.39) size 371.70x94.19
+          LayoutSVGTSpan {tspan} at (25,174.39) size 371.39x94.19
             LayoutSVGInlineText {#text} at (25,224.39) size 352.19x19.19
               chunk 1 text run 1 at (25.00,240.00) startOffset 0 endOffset 51 width 352.20: "'text' element, so you should be able to select all"
           LayoutSVGInlineText {#text} at (377.19,224.39) size 4.80x19.19
             chunk 1 text run 1 at (377.20,240.00) startOffset 0 endOffset 1 width 4.80: " "
-          LayoutSVGTSpan {tspan} at (25,174.39) size 371.70x94.19
+          LayoutSVGTSpan {tspan} at (25,174.39) size 371.39x94.19
             LayoutSVGInlineText {#text} at (25,249.39) size 197.39x19.19
               chunk 1 text run 1 at (25.00,265.00) startOffset 0 endOffset 28 width 197.40: "four lines at the same time."
           LayoutSVGInlineText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tspan-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tspan-01-b-expected.png
index 1755bf3..c76b5b8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tspan-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tspan-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt
index 0f2b1ce4..e24e07d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt
@@ -2,30 +2,30 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (17.50,4.39) size 455.11x293.86
+    LayoutSVGContainer {g} at (17.50,4.39) size 455.09x293.86
       LayoutSVGText {text} at (25,4.39) size 431.39x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (25,4.39) size 431.39x19.19
           chunk 1 text run 1 at (25.00,20.00) startOffset 0 endOffset 60 width 431.40: "Basics of tspan: changing visual properties and positioning."
       LayoutSVGContainer {g} at (47.50,48.14) size 312.94x80.69
-        LayoutSVGText {text} at (74,48.14) size 163.53x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (74,48.14) size 55.53x19.19
-            chunk 1 text run 1 at (74.00,63.75) startOffset 0 endOffset 7 width 55.53: "You are"
-          LayoutSVGTSpan {tspan} at (74,48.14) size 163.53x19.80
-            LayoutSVGInlineText {#text} at (129.53,48.75) size 35.39x19.19
-              chunk 1 text run 1 at (129.53,63.75) startOffset 0 endOffset 5 width 35.40: " not "
-          LayoutSVGInlineText {#text} at (164.92,48.14) size 72.59x19.19
-            chunk 1 text run 1 at (164.93,63.75) startOffset 0 endOffset 9 width 72.60: "a banana."
+        LayoutSVGText {text} at (74,48.14) size 163.80x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (74,48.14) size 55.80x19.19
+            chunk 1 text run 1 at (74.00,63.75) startOffset 0 endOffset 7 width 55.80: "You are"
+          LayoutSVGTSpan {tspan} at (74,48.14) size 163.80x19.80
+            LayoutSVGInlineText {#text} at (129.80,48.75) size 35.39x19.19
+              chunk 1 text run 1 at (129.80,63.75) startOffset 0 endOffset 5 width 35.40: " not "
+          LayoutSVGInlineText {#text} at (165.19,48.14) size 72.59x19.19
+            chunk 1 text run 1 at (165.20,63.75) startOffset 0 endOffset 9 width 72.60: "a banana."
         LayoutSVGRect {rect} at (47.50,74.25) size 310.50x53.50 [stroke={[type=SOLID] [color=#000000]}] [x=47.50] [y=74.25] [width=310.50] [height=53.50]
-        LayoutSVGText {text} at (65.25,75.14) size 212.75x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (65.25,75.14) size 212.75x19.19
-            chunk 1 text run 1 at (65.25,90.75) startOffset 0 endOffset 29 width 212.76: "Text: \"You are not a banana.\""
+        LayoutSVGText {text} at (65.25,75.14) size 213.59x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (65.25,75.14) size 213.59x19.19
+            chunk 1 text run 1 at (65.25,90.75) startOffset 0 endOffset 29 width 213.60: "Text: \"You are not a banana.\""
         LayoutSVGText {text} at (65.25,92.39) size 295.19x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (65.25,92.39) size 295.19x19.19
             chunk 1 text run 1 at (65.25,108.00) startOffset 0 endOffset 43 width 295.20: "'tspan' changes visual attributes of \"not\","
         LayoutSVGText {text} at (65.25,109.64) size 87x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (65.25,109.64) size 87x19.19
             chunk 1 text run 1 at (65.25,125.25) startOffset 0 endOffset 13 width 87.00: "to red, bold."
-      LayoutSVGContainer {g} at (225,128) size 247.61x105.08
+      LayoutSVGContainer {g} at (225,128) size 247.59x105.08
         LayoutSVGText {text} at (257.50,128) size 180.19x44.09 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (257.50,138.14) size 55.80x19.19
             chunk 1 text run 1 at (257.50,153.75) startOffset 0 endOffset 7 width 55.80: "But you"
@@ -36,12 +36,12 @@
             LayoutSVGInlineText {#text} at (369.89,152.89) size 67.80x19.19
               chunk 1 text run 1 at (369.90,168.50) startOffset 0 endOffset 9 width 67.80: " a peach!"
         LayoutSVGRect {rect} at (225,179) size 245.50x53.50 [stroke={[type=SOLID] [color=#000000]}] [x=225.00] [y=179.00] [width=245.50] [height=53.50]
-        LayoutSVGText {text} at (238,179.39) size 204.02x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (238,179.39) size 204.02x19.19
-            chunk 1 text run 1 at (238.00,195.00) startOffset 0 endOffset 28 width 204.03: "Text: \"But you are a peach!\""
-        LayoutSVGText {text} at (238,196.64) size 234.61x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (238,196.64) size 234.61x19.19
-            chunk 1 text run 1 at (238.00,212.25) startOffset 0 endOffset 34 width 234.61: "Using dx,dy, 'tspan' raises \"are\","
+        LayoutSVGText {text} at (238,179.39) size 204.59x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (238,179.39) size 204.59x19.19
+            chunk 1 text run 1 at (238.00,195.00) startOffset 0 endOffset 28 width 204.60: "Text: \"But you are a peach!\""
+        LayoutSVGText {text} at (238,196.64) size 234.59x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (238,196.64) size 234.59x19.19
+            chunk 1 text run 1 at (238.00,212.25) startOffset 0 endOffset 34 width 234.60: "Using dx,dy, 'tspan' raises \"are\","
         LayoutSVGText {text} at (238,213.89) size 178.19x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (238,213.89) size 178.19x19.19
             chunk 1 text run 1 at (238.00,229.50) startOffset 0 endOffset 25 width 178.20: "'tspan' lowers \"a peach!\""
@@ -64,12 +64,12 @@
               chunk 1 text run 1 at (81.88,230.50) startOffset 0 endOffset 1 width 9.00: "u"
               chunk 1 text run 1 at (100.63,230.50) startOffset 0 endOffset 1 width 8.40: "z"
               chunk 1 text run 1 at (119.38,230.50) startOffset 0 endOffset 1 width 8.40: "z"
-              chunk 1 text run 1 at (138.13,230.50) startOffset 0 endOffset 2 width 12.01: "y."
+              chunk 1 text run 1 at (138.13,230.50) startOffset 0 endOffset 2 width 12.00: "y."
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGRect {rect} at (17.50,244.75) size 335.50x53.50 [stroke={[type=SOLID] [color=#000000]}] [x=17.50] [y=244.75] [width=335.50] [height=53.50]
-        LayoutSVGText {text} at (25.25,242.39) size 166.23x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25.25,242.39) size 166.23x19.19
-            chunk 1 text run 1 at (25.25,258.00) startOffset 0 endOffset 23 width 166.24: "Text: \"Cute and fuzzy.\""
+        LayoutSVGText {text} at (25.25,242.39) size 166.80x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25.25,242.39) size 166.80x19.19
+            chunk 1 text run 1 at (25.25,258.00) startOffset 0 endOffset 23 width 166.80: "Text: \"Cute and fuzzy.\""
         LayoutSVGText {text} at (25.25,259.64) size 329.39x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25.25,259.64) size 329.39x19.19
             chunk 1 text run 1 at (25.25,275.25) startOffset 0 endOffset 45 width 329.40: "'tspan' char-by-char placement of \"Cute and\","
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.png
index e1f307b1..7114124 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt
index bf0570c..0c23cfa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt
@@ -4,13 +4,13 @@
   LayoutSVGRoot {svg} at (0,0) size 480x360
     LayoutSVGContainer {g} at (10,7.88) size 365x275.12
       LayoutSVGContainer {g} at (10,7.88) size 365x275.12
-        LayoutSVGContainer {g} at (-53.03,67.88) size 358.03x156.03 [transform={m=((1.00,0.00)(0.00,1.00)) t=(70.00,-60.00)}]
-          LayoutSVGText {text} at (30,130) size 342.78x24.98 [transform={m=((0.42,0.42)(-0.42,0.42)) t=(0.00,0.00)}] contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (30,130) size 342.78x24.98
-              chunk 1 text run 1 at (30.00,150.00) startOffset 0 endOffset 37 width 342.78: "Rotated Text for testing SVGLocatable"
-          LayoutSVGText {text} at (100,111.42) size 306.34x22.84 [transform={m=((0.70,0.00)(0.00,0.70)) t=(0.00,0.00)}] contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (100,111.42) size 306.34x22.84
-              chunk 1 text run 1 at (100.00,130.00) startOffset 0 endOffset 35 width 306.35: "Some other text with id 'otherText'"
+        LayoutSVGContainer {g} at (-53.03,67.88) size 358.03x155.55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(70.00,-60.00)}]
+          LayoutSVGText {text} at (30,130) size 341.66x24.98 [transform={m=((0.42,0.42)(-0.42,0.42)) t=(0.00,0.00)}] contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (30,130) size 341.66x24.98
+              chunk 1 text run 1 at (30.00,150.00) startOffset 0 endOffset 37 width 341.67: "Rotated Text for testing SVGLocatable"
+          LayoutSVGText {text} at (100,111.42) size 305.70x22.84 [transform={m=((0.70,0.00)(0.00,0.70)) t=(0.00,0.00)}] contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (100,111.42) size 305.70x22.84
+              chunk 1 text run 1 at (100.00,130.00) startOffset 0 endOffset 35 width 305.71: "Some other text with id 'otherText'"
           LayoutSVGViewportContainer {svg} at (-50,-50) size 100x100
             LayoutSVGEllipse {circle} at (-50,-50) size 100x100 [fill={[type=SOLID] [color=#FF0000]}] [cx=0.00] [cy=0.00] [r=50.00]
         LayoutSVGText {text} at (10,188) size 280x15 contains 1 chunk(s)
@@ -22,12 +22,12 @@
         LayoutSVGText {text} at (10,228) size 339x15 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,228) size 339x15
             chunk 1 text run 1 at (10.00,240.00) startOffset 0 endOffset 64 width 339.00: ".getBBox() for 'redCircle': .x=-50,.y=-50,.width=100,.height=100"
-        LayoutSVGText {text} at (10,248) size 253.78x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,248) size 253.78x15
-            chunk 1 text run 1 at (10.00,260.00) startOffset 0 endOffset 46 width 252.78: ".farthestViewportElement of redCircle=svg-root"
-        LayoutSVGText {text} at (10,268) size 271.78x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,268) size 271.78x15
-            chunk 1 text run 1 at (10.00,280.00) startOffset 0 endOffset 46 width 271.78: ".nearestViewportElement of redCircle=nestedSVG"
+        LayoutSVGText {text} at (10,248) size 254x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,248) size 254x15
+            chunk 1 text run 1 at (10.00,260.00) startOffset 0 endOffset 46 width 253.00: ".farthestViewportElement of redCircle=svg-root"
+        LayoutSVGText {text} at (10,268) size 272x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,268) size 272x15
+            chunk 1 text run 1 at (10.00,280.00) startOffset 0 endOffset 46 width 272.00: ".nearestViewportElement of redCircle=nestedSVG"
     LayoutSVGText {text} at (10,304) size 264x46 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 264x46
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 264.00: "$Revision: 1.1 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/as-background-image/animated-svg-as-background-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/as-background-image/animated-svg-as-background-expected.png
index 2512b1cb..f284648 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/as-background-image/animated-svg-as-background-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/as-background-image/animated-svg-as-background-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/as-background-image/svg-as-background-5-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/as-background-image/svg-as-background-5-expected.png
index 3df687c..0cce6be 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/as-background-image/svg-as-background-5-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/as-background-image/svg-as-background-5-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/as-background-image/svg-as-background-6-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/as-background-image/svg-as-background-6-expected.png
index 4f72f17..576dbcb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/as-background-image/svg-as-background-6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/as-background-image/svg-as-background-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/as-border-image/svg-as-border-image-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/as-border-image/svg-as-border-image-2-expected.png
index 7348bde..67e9f3d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/as-border-image/svg-as-border-image-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/as-border-image/svg-as-border-image-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/as-border-image/svg-as-border-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/as-border-image/svg-as-border-image-expected.png
index fd57970c..b9c969d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/as-border-image/svg-as-border-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/as-border-image/svg-as-border-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/as-image/image-respects-pageScaleFactor-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/as-image/image-respects-pageScaleFactor-expected.png
index 5ef804e..2f845e4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/as-image/image-respects-pageScaleFactor-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/as-image/image-respects-pageScaleFactor-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/as-image/image-respects-pageScaleFactor-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/as-image/image-respects-pageScaleFactor-expected.txt
index 65bb12a6..7d7350b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/as-image/image-respects-pageScaleFactor-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/as-image/image-respects-pageScaleFactor-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 342x19
           text run at (0,0) width 342: "This test passes if both of the circles have sharp edges."
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 437x19
-          text run at (0,0) width 437: "To run manually, use full-page zoom to increase the page scale factor."
+        LayoutText {#text} at (0,0) size 436x19
+          text run at (0,0) width 436: "To run manually, use full-page zoom to increase the page scale factor."
       LayoutBlockFlow (anonymous) at (0,72) size 784x133
         LayoutImage {IMG} at (0,0) size 128x128
         LayoutText {#text} at (128,113) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.png
index 4836391..3d45fab 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/filters/feTile-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/filters/feTile-expected.png
index 7fabf469..87f3154 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/filters/feTile-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/filters/feTile-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/filters/feTile-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/filters/feTile-expected.txt
index b63e90f8..7072e81f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/filters/feTile-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/filters/feTile-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
     LayoutSVGContainer {g} at (-4.50,25) size 388x352.79
-      LayoutSVGText {text} at (188.67,25) size 73.63x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (188.67,25) size 73.63x18
-          chunk 1 (middle anchor) text run 1 at (188.68,40.00) startOffset 0 endOffset 11 width 72.63: "feTile Test"
+      LayoutSVGText {text} at (188.50,25) size 74x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (188.50,25) size 74x18
+          chunk 1 (middle anchor) text run 1 at (188.50,40.00) startOffset 0 endOffset 11 width 73.00: "feTile Test"
       LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
         LayoutSVGResourceLinearGradient {linearGradient} [id="tileFill"] [gradientUnits=objectBoundingBox] [stops=( #FFFFFF@0.00 #44CCFF@0.50 #000033@1.00 )] [start=(0,0)] [end=(1,1)]
         LayoutSVGResourceFilter {filter} [id="tile_1"] [filterUnits=objectBoundingBox] [primitiveUnits=objectBoundingBox]
@@ -44,9 +44,9 @@
         LayoutSVGRect {rect} at (0,0) size 50x25 [fill={[type=LINEAR-GRADIENT] [id="tileFill"]}] [x=0.00] [y=0.00] [width=50.00] [height=25.00]
           [filter="tile_3"] LayoutSVGResourceFilter {filter} at (-12.50,-6.25) size 100x50
         LayoutSVGRect {rect} at (-12.50,-7.25) size 100x50 [stroke={[type=SOLID] [color=#000000]}] [x=-12.50] [y=-7.25] [width=100.00] [height=50.00]
-        LayoutSVGText {text} at (-33.34,-37.25) size 141.70x18 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-33.34,-37.25) size 141.70x18
-            chunk 1 (middle anchor) text run 1 at (-33.36,-22.25) startOffset 0 endOffset 24 width 141.71: "tile_3 (top left offset)"
+        LayoutSVGText {text} at (-33.50,-37.25) size 142x18 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-33.50,-37.25) size 142x18
+            chunk 1 (middle anchor) text run 1 at (-33.50,-22.25) startOffset 0 endOffset 24 width 142.00: "tile_3 (top left offset)"
         LayoutSVGText {text} at (-37,-25.25) size 149x18 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-37,-25.25) size 149x18
             chunk 1 (middle anchor) text run 1 at (-37.00,-10.25) startOffset 0 endOffset 26 width 149.00: "9 tiles, 1 full, 8 partial"
@@ -76,10 +76,10 @@
         LayoutSVGRect {rect} at (0,0) size 50x25 [fill={[type=LINEAR-GRADIENT] [id="tileFill"]}] [x=0.00] [y=0.00] [width=50.00] [height=25.00]
           [filter="tile_3"] LayoutSVGResourceFilter {filter} at (-12.50,-6.25) size 100x50
         LayoutSVGRect {rect} at (-12.50,-6.25) size 100x50 [stroke={[type=SOLID] [color=#000000]}] [x=-12.50] [y=-6.25] [width=100.00] [height=50.00]
-      LayoutSVGContainer {g} at (-33.34,-37.25) size 141.70x30 [transform={m=((1.00,0.00)(0.00,1.00)) t=(257.50,307.25)}]
-        LayoutSVGText {text} at (-33.34,-37.25) size 141.70x18 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-33.34,-37.25) size 141.70x18
-            chunk 1 (middle anchor) text run 1 at (-33.36,-22.25) startOffset 0 endOffset 24 width 141.71: "tile_3 (top left offset)"
+      LayoutSVGContainer {g} at (-33.50,-37.25) size 142x30 [transform={m=((1.00,0.00)(0.00,1.00)) t=(257.50,307.25)}]
+        LayoutSVGText {text} at (-33.50,-37.25) size 142x18 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-33.50,-37.25) size 142x18
+            chunk 1 (middle anchor) text run 1 at (-33.50,-22.25) startOffset 0 endOffset 24 width 142.00: "tile_3 (top left offset)"
         LayoutSVGText {text} at (2.50,-25.25) size 70x18 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (2.50,-25.25) size 70x18
             chunk 1 (middle anchor) text run 1 at (2.50,-10.25) startOffset 0 endOffset 8 width 70.00: "skewed Y"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/filters/filterRegions-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/filters/filterRegions-expected.txt
index 7d8d83c..901f23a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/filters/filterRegions-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/filters/filterRegions-expected.txt
@@ -45,130 +45,130 @@
         LayoutSVGRect {rect} at (0,0) size 100x50 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
           [filter="filterRegion_0"] LayoutSVGResourceFilter {filter} at (-10,-5) size 120x60
         LayoutSVGRect {rect} at (-10,-5) size 120x60 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=-10.00] [y=-5.00] [width=120.00] [height=60.00]
-        LayoutSVGText {text} at (10.11,-20) size 69.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10.11,-20) size 69.75x12
-            chunk 1 (middle anchor) text run 1 at (10.12,-10.00) startOffset 0 endOffset 14 width 69.76: "filterRegion_0"
+        LayoutSVGText {text} at (10,-20) size 70x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-20) size 70x12
+            chunk 1 (middle anchor) text run 1 at (10.00,-10.00) startOffset 0 endOffset 14 width 70.00: "filterRegion_0"
       LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
         [filter="filterRegion_1"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
       LayoutSVGRect {rect} at (20,30) size 50x40 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-      LayoutSVGText {text} at (10.11,15) size 69.75x12 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10.11,15) size 69.75x12
-          chunk 1 (middle anchor) text run 1 at (10.12,25.00) startOffset 0 endOffset 14 width 69.76: "filterRegion_1"
+      LayoutSVGText {text} at (10,15) size 70x12 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,15) size 70x12
+          chunk 1 (middle anchor) text run 1 at (10.00,25.00) startOffset 0 endOffset 14 width 70.00: "filterRegion_1"
       LayoutSVGContainer {g} at (0,15) size 20000000x3010 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,0.00)}]
         LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
           [filter="filterRegion_2"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
         LayoutSVGRect {rect} at (25,35) size 45x35 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=25.00] [y=35.00] [width=45.00] [height=35.00]
-        LayoutSVGText {text} at (10.11,15) size 69.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10.11,15) size 69.75x12
-            chunk 1 (middle anchor) text run 1 at (10.12,25.00) startOffset 0 endOffset 14 width 69.76: "filterRegion_2"
+        LayoutSVGText {text} at (10,15) size 70x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,15) size 70x12
+            chunk 1 (middle anchor) text run 1 at (10.00,25.00) startOffset 0 endOffset 14 width 70.00: "filterRegion_2"
       LayoutSVGContainer {g} at (0,15) size 20000000x3010 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,0.00)}]
         LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
           [filter="filterRegion_3"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
         LayoutSVGRect {rect} at (20,30) size 50x20 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=50.00] [height=20.00]
-        LayoutSVGText {text} at (10.11,15) size 69.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10.11,15) size 69.75x12
-            chunk 1 (middle anchor) text run 1 at (10.12,25.00) startOffset 0 endOffset 14 width 69.76: "filterRegion_3"
+        LayoutSVGText {text} at (10,15) size 70x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,15) size 70x12
+            chunk 1 (middle anchor) text run 1 at (10.00,25.00) startOffset 0 endOffset 14 width 70.00: "filterRegion_3"
       LayoutSVGContainer {g} at (0,15) size 20000000x3010 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,0.00)}]
         LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
           [filter="filterRegion_4"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
         LayoutSVGRect {rect} at (20,30) size 25x40 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=25.00] [height=40.00]
-        LayoutSVGText {text} at (10.11,15) size 69.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10.11,15) size 69.75x12
-            chunk 1 (middle anchor) text run 1 at (10.12,25.00) startOffset 0 endOffset 14 width 69.76: "filterRegion_4"
+        LayoutSVGText {text} at (10,15) size 70x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,15) size 70x12
+            chunk 1 (middle anchor) text run 1 at (10.00,25.00) startOffset 0 endOffset 14 width 70.00: "filterRegion_4"
       LayoutSVGContainer {g} at (0,15) size 20000000x3010 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,75.00)}]
         LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
           [filter="filterRegion_5"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
         LayoutSVGRect {rect} at (20,30) size 50x20 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=50.00] [height=20.00]
-        LayoutSVGText {text} at (10.11,15) size 69.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10.11,15) size 69.75x12
-            chunk 1 (middle anchor) text run 1 at (10.12,25.00) startOffset 0 endOffset 14 width 69.76: "filterRegion_5"
+        LayoutSVGText {text} at (10,15) size 70x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,15) size 70x12
+            chunk 1 (middle anchor) text run 1 at (10.00,25.00) startOffset 0 endOffset 14 width 70.00: "filterRegion_5"
       LayoutSVGContainer {g} at (0,3000) size 20000000x25 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,75.00)}]
         [filter="filterRegion_6"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
         LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
-      LayoutSVGContainer {g} at (10.11,15) size 69.75x55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,75.00)}]
+      LayoutSVGContainer {g} at (10,15) size 70x55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,75.00)}]
         LayoutSVGRect {rect} at (20,30) size 40x40 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=40.00] [height=40.00]
-        LayoutSVGText {text} at (10.11,15) size 69.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10.11,15) size 69.75x12
-            chunk 1 (middle anchor) text run 1 at (10.12,25.00) startOffset 0 endOffset 14 width 69.76: "filterRegion_6"
-      LayoutSVGContainer {g} at (-15.88,-30) size 81.75x57.50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,280.00)}]
+        LayoutSVGText {text} at (10,15) size 70x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,15) size 70x12
+            chunk 1 (middle anchor) text run 1 at (10.00,25.00) startOffset 0 endOffset 14 width 70.00: "filterRegion_6"
+      LayoutSVGContainer {g} at (-16,-30) size 82x57.50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,280.00)}]
         LayoutSVGRect {rect} at (0,0) size 50x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=50.00] [height=25.00]
           [filter="filterRegion_2_0"] LayoutSVGResourceFilter {filter} at (-5,-2.50) size 60x30
         LayoutSVGRect {rect} at (-5,-2.50) size 60x30 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=-5.00] [y=-2.50] [width=60.00] [height=30.00]
-        LayoutSVGText {text} at (-15.88,-30) size 81.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-15.88,-30) size 81.75x12
-            chunk 1 (middle anchor) text run 1 at (-15.88,-20.00) startOffset 0 endOffset 16 width 81.76: "filterRegion_2_0"
+        LayoutSVGText {text} at (-16,-30) size 82x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-16,-30) size 82x12
+            chunk 1 (middle anchor) text run 1 at (-16.00,-20.00) startOffset 0 endOffset 16 width 82.00: "filterRegion_2_0"
       LayoutSVGContainer {g} at (20,30) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,160.00)}]
         [filter="filterRegion_2_1"] LayoutSVGResourceFilter {filter} at (-45,-50) size 540x600
         LayoutSVGRect {rect} at (20,30) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (4.11,15) size 81.75x55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,160.00)}]
+      LayoutSVGContainer {g} at (4,15) size 82x55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,160.00)}]
         LayoutSVGRect {rect} at (20,30) size 50x40 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-        LayoutSVGText {text} at (4.11,15) size 81.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (4.11,15) size 81.75x12
-            chunk 1 (middle anchor) text run 1 at (4.12,25.00) startOffset 0 endOffset 16 width 81.76: "filterRegion_2_1"
+        LayoutSVGText {text} at (4,15) size 82x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (4,15) size 82x12
+            chunk 1 (middle anchor) text run 1 at (4.00,25.00) startOffset 0 endOffset 16 width 82.00: "filterRegion_2_1"
       LayoutSVGContainer {g} at (20,30) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,160.00)}]
         LayoutSVGRect {rect} at (20,30) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
           [filter="filterRegion_2_2"] LayoutSVGResourceFilter {filter} at (-45,-50) size 540x600
-      LayoutSVGContainer {g} at (4.11,15) size 81.75x55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,160.00)}]
+      LayoutSVGContainer {g} at (4,15) size 82x55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,160.00)}]
         LayoutSVGRect {rect} at (20,30) size 50x40 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-        LayoutSVGText {text} at (4.11,15) size 81.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (4.11,15) size 81.75x12
-            chunk 1 (middle anchor) text run 1 at (4.12,25.00) startOffset 0 endOffset 16 width 81.76: "filterRegion_2_2"
+        LayoutSVGText {text} at (4,15) size 82x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (4,15) size 82x12
+            chunk 1 (middle anchor) text run 1 at (4.00,25.00) startOffset 0 endOffset 16 width 82.00: "filterRegion_2_2"
       LayoutSVGContainer {g} at (20,30) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,160.00)}]
         [filter="filterRegion_2_3"] LayoutSVGResourceFilter {filter} at (-45,-50) size 540x600
         LayoutSVGRect {rect} at (20,30) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (4.11,15) size 81.75x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,160.00)}]
+      LayoutSVGContainer {g} at (4,15) size 82x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,160.00)}]
         LayoutSVGRect {rect} at (32.50,50) size 25x10 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=32.50] [y=50.00] [width=25.00] [height=10.00]
-        LayoutSVGText {text} at (4.11,15) size 81.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (4.11,15) size 81.75x12
-            chunk 1 (middle anchor) text run 1 at (4.12,25.00) startOffset 0 endOffset 16 width 81.76: "filterRegion_2_3"
+        LayoutSVGText {text} at (4,15) size 82x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (4,15) size 82x12
+            chunk 1 (middle anchor) text run 1 at (4.00,25.00) startOffset 0 endOffset 16 width 82.00: "filterRegion_2_3"
       LayoutSVGContainer {g} at (20,30) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,160.00)}]
         [filter="filterRegion_2_4"] LayoutSVGResourceFilter {filter} at (-45,-50) size 540x600
         LayoutSVGRect {rect} at (20,30) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (4.11,15) size 81.75x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,160.00)}]
+      LayoutSVGContainer {g} at (4,15) size 82x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,160.00)}]
         LayoutSVGRect {rect} at (32.50,50) size 25x10 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=32.50] [y=50.00] [width=25.00] [height=10.00]
-        LayoutSVGText {text} at (4.11,15) size 81.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (4.11,15) size 81.75x12
-            chunk 1 (middle anchor) text run 1 at (4.12,25.00) startOffset 0 endOffset 16 width 81.76: "filterRegion_2_4"
+        LayoutSVGText {text} at (4,15) size 82x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (4,15) size 82x12
+            chunk 1 (middle anchor) text run 1 at (4.00,25.00) startOffset 0 endOffset 16 width 82.00: "filterRegion_2_4"
       LayoutSVGContainer {g} at (20,30) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,245.00)}]
         [filter="filterRegion_2_5"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
         LayoutSVGRect {rect} at (20,30) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (4.11,15) size 81.75x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,245.00)}]
+      LayoutSVGContainer {g} at (4,15) size 82x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,245.00)}]
         LayoutSVGRect {rect} at (20,50) size 50x10 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=50.00] [width=50.00] [height=10.00]
-        LayoutSVGText {text} at (4.11,15) size 81.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (4.11,15) size 81.75x12
-            chunk 1 (middle anchor) text run 1 at (4.12,25.00) startOffset 0 endOffset 16 width 81.76: "filterRegion_2_5"
+        LayoutSVGText {text} at (4,15) size 82x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (4,15) size 82x12
+            chunk 1 (middle anchor) text run 1 at (4.00,25.00) startOffset 0 endOffset 16 width 82.00: "filterRegion_2_5"
       LayoutSVGContainer {g} at (0,0) size 450x450 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,330.00)}]
         [filter="filterRegion_3_1"] LayoutSVGResourceFilter {filter} at (-45,-45) size 540x540
         LayoutSVGRect {rect} at (0,0) size 450x450 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=450.00] [height=450.00]
-      LayoutSVGContainer {g} at (4.11,15) size 81.75x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,330.00)}]
+      LayoutSVGContainer {g} at (4,15) size 82x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,330.00)}]
         LayoutSVGRect {rect} at (20,30) size 20x25 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=20.00] [height=25.00]
-        LayoutSVGText {text} at (4.11,15) size 81.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (4.11,15) size 81.75x12
-            chunk 1 (middle anchor) text run 1 at (4.12,25.00) startOffset 0 endOffset 16 width 81.76: "filterRegion_3_1"
+        LayoutSVGText {text} at (4,15) size 82x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (4,15) size 82x12
+            chunk 1 (middle anchor) text run 1 at (4.00,25.00) startOffset 0 endOffset 16 width 82.00: "filterRegion_3_1"
       LayoutSVGContainer {g} at (0,0) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(320.00,330.00)}]
         [filter="filterRegion_3_0"] LayoutSVGResourceFilter {filter} at (-4,-5) size 48x60
         LayoutSVGRect {rect} at (0,0) size 40x50 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=40.00] [height=50.00]
-      LayoutSVGContainer {g} at (-4,-5) size 89.86x60 [transform={m=((1.00,0.00)(0.00,1.00)) t=(320.00,330.00)}]
+      LayoutSVGContainer {g} at (-4,-5) size 90x60 [transform={m=((1.00,0.00)(0.00,1.00)) t=(320.00,330.00)}]
         LayoutSVGRect {rect} at (-4,-5) size 48x60 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=-4.00] [y=-5.00] [width=48.00] [height=60.00]
-        LayoutSVGText {text} at (4.11,15) size 81.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (4.11,15) size 81.75x12
-            chunk 1 (middle anchor) text run 1 at (4.12,25.00) startOffset 0 endOffset 16 width 81.76: "filterRegion_3_0"
+        LayoutSVGText {text} at (4,15) size 82x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (4,15) size 82x12
+            chunk 1 (middle anchor) text run 1 at (4.00,25.00) startOffset 0 endOffset 16 width 82.00: "filterRegion_3_0"
       LayoutSVGContainer {g} at (50,40) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,330.00)}]
         [filter="filterRegion_3_2"] LayoutSVGResourceFilter {filter} at (0,0) size 100x80
         LayoutSVGRect {rect} at (50,40) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=50.00] [y=40.00] [width=50.00] [height=40.00]
       LayoutSVGContainer {g} at (0,0) size 100x80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,330.00)}]
         LayoutSVGRect {rect} at (0,0) size 100x80 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=0.00] [y=0.00] [width=100.00] [height=80.00]
-        LayoutSVGText {text} at (4.11,15) size 81.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (4.11,15) size 81.75x12
-            chunk 1 (middle anchor) text run 1 at (4.12,25.00) startOffset 0 endOffset 16 width 81.76: "filterRegion_3_2"
+        LayoutSVGText {text} at (4,15) size 82x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (4,15) size 82x12
+            chunk 1 (middle anchor) text run 1 at (4.00,25.00) startOffset 0 endOffset 16 width 82.00: "filterRegion_3_2"
       LayoutSVGContainer {g} at (50,40) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,330.00)}]
         [filter="filterRegion_3_3"] LayoutSVGResourceFilter {filter} at (25,20) size 37.50x30
         LayoutSVGRect {rect} at (50,40) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=50.00] [y=40.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (4.11,15) size 81.75x35 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,330.00)}]
+      LayoutSVGContainer {g} at (4,15) size 82x35 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,330.00)}]
         LayoutSVGRect {rect} at (25,20) size 37.50x30 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=25.00] [y=20.00] [width=37.50] [height=30.00]
-        LayoutSVGText {text} at (4.11,15) size 81.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (4.11,15) size 81.75x12
-            chunk 1 (middle anchor) text run 1 at (4.12,25.00) startOffset 0 endOffset 16 width 81.76: "filterRegion_3_3"
+        LayoutSVGText {text} at (4,15) size 82x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (4,15) size 82x12
+            chunk 1 (middle anchor) text run 1 at (4.00,25.00) startOffset 0 endOffset 16 width 82.00: "filterRegion_3_3"
     LayoutSVGContainer {use} at (1,1) size 446x496
       LayoutSVGContainer {g} at (1,1) size 446x496
         LayoutSVGRect {rect} at (1,1) size 446x496 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=446.00] [height=496.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/gradientLimit-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/gradientLimit-expected.png
index 167cf594ba..bb43b77 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/gradientLimit-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/gradientLimit-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/gradientLimit-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/gradientLimit-expected.txt
index 6ab3544..942bff8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/gradientLimit-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/gradientLimit-expected.txt
@@ -2,43 +2,43 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGText {text} at (158.88,30) size 133.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (158.88,30) size 133.22x18
-        chunk 1 (middle anchor) text run 1 at (158.89,45.00) startOffset 0 endOffset 19 width 132.23: "Gradient Limit Test"
-    LayoutSVGContainer {g} at (14.08,80) size 431.42x173
-      LayoutSVGContainer {g} at (14.08,80) size 121.83x73
+    LayoutSVGText {text} at (159,30) size 133x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (159,30) size 133x18
+        chunk 1 (middle anchor) text run 1 at (159.00,45.00) startOffset 0 endOffset 19 width 132.00: "Gradient Limit Test"
+    LayoutSVGContainer {g} at (13.50,80) size 432x173
+      LayoutSVGContainer {g} at (13.50,80) size 123x73
         LayoutSVGResourceLinearGradient {linearGradient} [id="closeOffsetsLinearGradient"] [gradientUnits=objectBoundingBox] [stops=( #DC143C@0.00 #FFD700@1.00 #DC143C@1.00 )] [start=(0,0)] [end=(0,0.10)]
         LayoutSVGRect {rect} at (35,80) size 80x40 [fill={[type=LINEAR-GRADIENT] [id="closeOffsetsLinearGradient"]}] [x=35.00] [y=80.00] [width=80.00] [height=40.00]
-        LayoutSVGText {text} at (14.08,120) size 121.83x18 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (14.08,120) size 121.83x18
-            chunk 1 (middle anchor) text run 1 at (14.09,135.00) startOffset 0 endOffset 17 width 121.83: "Two close offsets"
+        LayoutSVGText {text} at (13.50,120) size 123x18 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (13.50,120) size 123x18
+            chunk 1 (middle anchor) text run 1 at (13.50,135.00) startOffset 0 endOffset 17 width 123.00: "Two close offsets"
         LayoutSVGText {text} at (15.50,135) size 119x18 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (15.50,135) size 119x18
             chunk 1 (middle anchor) text run 1 at (15.50,150.00) startOffset 0 endOffset 16 width 119.00: "<linearGradient>"
-      LayoutSVGContainer {g} at (-2.91,80) size 155.83x73 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,0.00)}]
+      LayoutSVGContainer {g} at (-3.50,80) size 157x73 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,0.00)}]
         LayoutSVGResourceLinearGradient {linearGradient} [id="closeOffsetsLinearGradient2"] [gradientUnits=objectBoundingBox] [stops=( #DC143C@0.00 #FFD700@1.00 #DC143C@1.00 )] [start=(0,0)] [end=(0,0.10)]
         LayoutSVGRect {rect} at (35,80) size 80x40 [fill={[type=LINEAR-GRADIENT] [id="closeOffsetsLinearGradient2"]}] [x=35.00] [y=80.00] [width=80.00] [height=40.00]
-        LayoutSVGText {text} at (-2.91,120) size 155.83x18 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-2.91,120) size 155.83x18
-            chunk 1 (middle anchor) text run 1 at (-2.91,135.00) startOffset 0 endOffset 22 width 155.83: "Two very close offsets"
+        LayoutSVGText {text} at (-3.50,120) size 157x18 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-3.50,120) size 157x18
+            chunk 1 (middle anchor) text run 1 at (-3.50,135.00) startOffset 0 endOffset 22 width 157.00: "Two very close offsets"
         LayoutSVGText {text} at (15.50,135) size 119x18 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (15.50,135) size 119x18
             chunk 1 (middle anchor) text run 1 at (15.50,150.00) startOffset 0 endOffset 16 width 119.00: "<linearGradient>"
-      LayoutSVGContainer {g} at (14.08,80) size 121.83x73 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,100.00)}]
+      LayoutSVGContainer {g} at (13.50,80) size 123x73 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,100.00)}]
         LayoutSVGResourceRadialGradient {radialGradient} [id="closeOffsetsRadialGradient"] [gradientUnits=objectBoundingBox] [stops=( #DC143C@0.00 #FFD700@1.00 #DC143C@1.00 )] [center=(0.50,0.50)] [focal=(0.50,0.50)] [radius=0.10] [focalRadius=0.00]
         LayoutSVGRect {rect} at (35,80) size 80x40 [fill={[type=RADIAL-GRADIENT] [id="closeOffsetsRadialGradient"]}] [x=35.00] [y=80.00] [width=80.00] [height=40.00]
-        LayoutSVGText {text} at (14.08,120) size 121.83x18 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (14.08,120) size 121.83x18
-            chunk 1 (middle anchor) text run 1 at (14.09,135.00) startOffset 0 endOffset 17 width 121.83: "Two close offsets"
+        LayoutSVGText {text} at (13.50,120) size 123x18 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (13.50,120) size 123x18
+            chunk 1 (middle anchor) text run 1 at (13.50,135.00) startOffset 0 endOffset 17 width 123.00: "Two close offsets"
         LayoutSVGText {text} at (15.50,135) size 119x18 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (15.50,135) size 119x18
             chunk 1 (middle anchor) text run 1 at (15.50,150.00) startOffset 0 endOffset 16 width 119.00: "<radialGradient>"
-      LayoutSVGContainer {g} at (-2.91,80) size 155.83x73 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,100.00)}]
+      LayoutSVGContainer {g} at (-3.50,80) size 157x73 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,100.00)}]
         LayoutSVGResourceRadialGradient {radialGradient} [id="closeOffsetsRadialGradient2"] [gradientUnits=objectBoundingBox] [stops=( #DC143C@0.00 #FFD700@1.00 #DC143C@1.00 )] [center=(0.50,0.50)] [focal=(0.50,0.50)] [radius=0.10] [focalRadius=0.00]
         LayoutSVGRect {rect} at (35,80) size 80x40 [fill={[type=RADIAL-GRADIENT] [id="closeOffsetsRadialGradient2"]}] [x=35.00] [y=80.00] [width=80.00] [height=40.00]
-        LayoutSVGText {text} at (-2.91,120) size 155.83x18 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-2.91,120) size 155.83x18
-            chunk 1 (middle anchor) text run 1 at (-2.91,135.00) startOffset 0 endOffset 22 width 155.83: "Two very close offsets"
+        LayoutSVGText {text} at (-3.50,120) size 157x18 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-3.50,120) size 157x18
+            chunk 1 (middle anchor) text run 1 at (-3.50,135.00) startOffset 0 endOffset 22 width 157.00: "Two very close offsets"
         LayoutSVGText {text} at (15.50,135) size 119x18 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (15.50,135) size 119x18
             chunk 1 (middle anchor) text run 1 at (15.50,150.00) startOffset 0 endOffset 16 width 119.00: "<radialGradient>"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/patternRegionA-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/patternRegionA-expected.png
index fb060699..4c196dda 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/patternRegionA-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/patternRegionA-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/patternRegionA-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/patternRegionA-expected.txt
index 3de4cb6..9cb02813 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/patternRegionA-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/paints/patternRegionA-expected.txt
@@ -2,9 +2,9 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGText {text} at (110.09,35) size 230.81x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (110.09,35) size 230.81x18
-        chunk 1 (middle anchor) text run 1 at (110.09,50.00) startOffset 0 endOffset 34 width 229.81: "patternRegion, x, y, width, height"
+    LayoutSVGText {text} at (110.50,35) size 230x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (110.50,35) size 230x18
+        chunk 1 (middle anchor) text run 1 at (110.50,50.00) startOffset 0 endOffset 34 width 229.00: "patternRegion, x, y, width, height"
     LayoutSVGContainer {g} at (25,70) size 472x390
       LayoutSVGHiddenContainer {defs} at (0,0) size 20x20
         LayoutSVGContainer {g} at (0,0) size 20x20
@@ -152,29 +152,29 @@
             LayoutSVGContainer {g} at (0,0) size 10x10 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,10.00)}]
               LayoutSVGRect {rect} at (0,0) size 5x5 [fill={[type=SOLID] [color=#6464FF]}] [x=0.00] [y=0.00] [width=5.00] [height=5.00]
               LayoutSVGRect {rect} at (5,5) size 5x5 [fill={[type=SOLID] [color=#6464FF]}] [x=5.00] [y=5.00] [width=5.00] [height=5.00]
-      LayoutSVGContainer {g} at (-5,-20) size 242.70x280 [transform={m=((1.00,0.00)(0.00,1.00)) t=(30.00,200.00)}]
+      LayoutSVGContainer {g} at (-5,-20) size 243x280 [transform={m=((1.00,0.00)(0.00,1.00)) t=(30.00,200.00)}]
         LayoutSVGContainer {g} at (0,-20) size 184x70
           LayoutSVGText {text} at (0,-20) size 184x18 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (0,-20) size 184x18
               chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 26 width 184.00: "Exact Fit in patternRegion"
           LayoutSVGRect {rect} at (0,0) size 100x50 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="patternExactFit"]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
           LayoutSVGRect {rect} at (0,0) size 20x20 [stroke={[type=SOLID] [color=#FFFFFF]}] [fill={[type=SOLID] [color=#000000] [opacity=0.12]}] [x=0.00] [y=0.00] [width=20.00] [height=20.00]
-        LayoutSVGContainer {g} at (-5,-20) size 216.70x70 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,70.00)}]
-          LayoutSVGText {text} at (0,-20) size 211.70x18 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (0,-20) size 211.70x18
-              chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 32 width 210.71: "patternRegion offset to the left"
+        LayoutSVGContainer {g} at (-5,-20) size 217x70 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,70.00)}]
+          LayoutSVGText {text} at (0,-20) size 212x18 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (0,-20) size 212x18
+              chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 32 width 211.00: "patternRegion offset to the left"
           LayoutSVGRect {rect} at (0,0) size 100x50 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="patternTranslateRegionX"]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
           LayoutSVGRect {rect} at (-5,0) size 20x20 [stroke={[type=SOLID] [color=#FFFFFF]}] [fill={[type=SOLID] [color=#000000] [opacity=0.12]}] [x=-5.00] [y=0.00] [width=20.00] [height=20.00]
-        LayoutSVGContainer {g} at (0,-20) size 211.70x70 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,140.00)}]
-          LayoutSVGText {text} at (0,-20) size 211.70x18 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (0,-20) size 211.70x18
-              chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 31 width 211.71: "patternRegion offset to the top"
+        LayoutSVGContainer {g} at (0,-20) size 212x70 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,140.00)}]
+          LayoutSVGText {text} at (0,-20) size 212x18 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (0,-20) size 212x18
+              chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 31 width 212.00: "patternRegion offset to the top"
           LayoutSVGRect {rect} at (0,0) size 100x50 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="patternTranslateRegionY"]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
           LayoutSVGRect {rect} at (0,-5) size 20x20 [stroke={[type=SOLID] [color=#FFFFFF]}] [fill={[type=SOLID] [color=#000000] [opacity=0.12]}] [x=0.00] [y=-5.00] [width=20.00] [height=20.00]
-        LayoutSVGContainer {g} at (0,-20) size 237.70x70 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,210.00)}]
-          LayoutSVGText {text} at (0,-20) size 237.70x18 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (0,-20) size 237.70x18
-              chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 36 width 236.71: "patternRegion offset to the top/left"
+        LayoutSVGContainer {g} at (0,-20) size 238x70 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,210.00)}]
+          LayoutSVGText {text} at (0,-20) size 238x18 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (0,-20) size 238x18
+              chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 36 width 237.00: "patternRegion offset to the top/left"
           LayoutSVGRect {rect} at (0,0) size 100x50 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="patternTranslateRegionXY"]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
           LayoutSVGRect {rect} at (10,10) size 20x20 [stroke={[type=SOLID] [color=#FFFFFF]}] [fill={[type=SOLID] [color=#000000] [opacity=0.12]}] [x=10.00] [y=10.00] [width=20.00] [height=20.00]
       LayoutSVGContainer {g} at (0,-20) size 242x210 [transform={m=((1.00,0.00)(0.00,1.00)) t=(255.00,200.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/longTextOnPath-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/longTextOnPath-expected.txt
index 7cbafa8..8f710b40 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/longTextOnPath-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/longTextOnPath-expected.txt
@@ -2,7 +2,7 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGContainer {g} at (20,25) size 406.63x450
+    LayoutSVGContainer {g} at (20,25) size 407x450
       LayoutSVGText {text} at (98,25) size 254x18 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (98,25) size 254x18
           chunk 1 (middle anchor) text run 1 at (98.00,40.00) startOffset 0 endOffset 38 width 254.00: "Long text on a path test for selection"
@@ -11,9 +11,9 @@
       LayoutSVGContainer {use} at (25,150) size 400x300
         LayoutSVGPath {path} at (25,150) size 400x300 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 25 150 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20"]
       LayoutSVGRect {rect} at (20,100) size 205x375 [fill={[type=SOLID] [color=#C8C8FF]}] [x=20.00] [y=100.00] [width=205.00] [height=375.00]
-      LayoutSVGText {text} at (21,133) size 405.63x262 contains 1 chunk(s)
-        LayoutSVGTextPath {textPath} at (21,133) size 405.63x262
-          LayoutSVGInlineText {#text} at (21,133) size 405.63x262
+      LayoutSVGText {text} at (21,133) size 406x262 contains 1 chunk(s)
+        LayoutSVGTextPath {textPath} at (21,133) size 406x262
+          LayoutSVGInlineText {#text} at (21,133) size 406x262
             chunk 1 text run 1 at (31.00,150.00) startOffset 0 endOffset 1 width 12.00: "T"
             chunk 1 text run 2 at (42.00,150.00) startOffset 1 endOffset 2 width 10.00: "h"
             chunk 1 text run 3 at (50.00,150.00) startOffset 2 endOffset 3 width 6.00: "i"
@@ -206,458 +206,458 @@
             chunk 1 text run 190 at (308.50,210.00) startOffset 189 endOffset 190 width 5.00: " "
             chunk 1 text run 191 at (314.00,210.00) startOffset 190 endOffset 191 width 6.00: "l"
             chunk 1 text run 192 at (321.50,210.00) startOffset 191 endOffset 192 width 9.00: "a"
-            chunk 1 text run 193 at (329.41,210.00) startOffset 192 endOffset 193 width 7.00: "r"
-            chunk 1 text run 194 at (337.73,210.00) startOffset 193 endOffset 194 width 10.00: "g"
-            chunk 1 text run 195 at (347.14,210.00) startOffset 194 endOffset 195 width 9.00: "e"
-            chunk 1 text run 196 at (354.14,210.00) startOffset 195 endOffset 196 width 5.00: " "
-            chunk 1 text run 197 at (361.64,210.00) startOffset 196 endOffset 197 width 10.00: "n"
-            chunk 1 text run 198 at (371.64,210.00) startOffset 197 endOffset 198 width 10.00: "u"
-            chunk 1 text run 199 at (384.64,210.00) startOffset 198 endOffset 199 width 16.00: "m"
-            chunk 1 text run 200 at (397.64,210.00) startOffset 199 endOffset 200 width 10.00: "b"
-            chunk 1 text run 201 at (407.14,210.00) startOffset 200 endOffset 201 width 9.00: "e"
-            chunk 1 text run 202 at (415.14,210.00) startOffset 201 endOffset 202 width 7.00: "r"
-            chunk 1 text run 203 at (422.64,210.00) startOffset 202 endOffset 203 width 8.00: "s"
-            chunk 1 text run 204 at (29.14,230.00) startOffset 203 endOffset 204 width 5.00: " "
-            chunk 1 text run 205 at (36.64,230.00) startOffset 204 endOffset 205 width 10.00: "o"
-            chunk 1 text run 206 at (45.14,230.00) startOffset 205 endOffset 206 width 7.00: "f"
-            chunk 1 text run 207 at (51.14,230.00) startOffset 206 endOffset 207 width 5.00: " "
-            chunk 1 text run 208 at (58.14,230.00) startOffset 207 endOffset 208 width 9.00: "c"
-            chunk 1 text run 209 at (67.64,230.00) startOffset 208 endOffset 209 width 10.00: "h"
-            chunk 1 text run 210 at (77.14,230.00) startOffset 209 endOffset 210 width 9.00: "a"
-            chunk 1 text run 211 at (85.14,230.00) startOffset 210 endOffset 211 width 7.00: "r"
-            chunk 1 text run 212 at (93.14,230.00) startOffset 211 endOffset 212 width 9.00: "a"
-            chunk 1 text run 213 at (102.14,230.00) startOffset 212 endOffset 213 width 9.00: "c"
-            chunk 1 text run 214 at (109.64,230.00) startOffset 213 endOffset 214 width 6.00: "t"
-            chunk 1 text run 215 at (117.14,230.00) startOffset 214 endOffset 215 width 9.00: "e"
-            chunk 1 text run 216 at (125.14,230.00) startOffset 215 endOffset 216 width 7.00: "r"
-            chunk 1 text run 217 at (132.64,230.00) startOffset 216 endOffset 217 width 8.00: "s"
-            chunk 1 text run 218 at (139.14,230.00) startOffset 217 endOffset 218 width 5.00: " "
-            chunk 1 text run 219 at (146.14,230.00) startOffset 218 endOffset 219 width 9.00: "a"
-            chunk 1 text run 220 at (154.14,230.00) startOffset 219 endOffset 220 width 7.00: "r"
-            chunk 1 text run 221 at (162.14,230.00) startOffset 220 endOffset 221 width 9.00: "e"
-            chunk 1 text run 222 at (169.14,230.00) startOffset 221 endOffset 222 width 5.00: " "
-            chunk 1 text run 223 at (176.64,230.00) startOffset 222 endOffset 223 width 10.00: "p"
-            chunk 1 text run 224 at (186.14,230.00) startOffset 223 endOffset 224 width 9.00: "a"
-            chunk 1 text run 225 at (194.14,230.00) startOffset 224 endOffset 225 width 7.00: "r"
-            chunk 1 text run 226 at (200.64,230.00) startOffset 225 endOffset 226 width 6.00: "t"
-            chunk 1 text run 227 at (206.14,230.00) startOffset 226 endOffset 227 width 5.00: " "
-            chunk 1 text run 228 at (213.64,230.00) startOffset 227 endOffset 228 width 10.00: "o"
-            chunk 1 text run 229 at (222.14,230.00) startOffset 228 endOffset 229 width 7.00: "f"
-            chunk 1 text run 230 at (228.14,230.00) startOffset 229 endOffset 230 width 5.00: " "
-            chunk 1 text run 231 at (233.64,230.00) startOffset 230 endOffset 231 width 6.00: "t"
-            chunk 1 text run 232 at (241.64,230.00) startOffset 231 endOffset 232 width 10.00: "h"
-            chunk 1 text run 233 at (251.14,230.00) startOffset 232 endOffset 233 width 9.00: "e"
-            chunk 1 text run 234 at (258.14,230.00) startOffset 233 endOffset 234 width 5.00: " "
-            chunk 1 text run 235 at (264.64,230.00) startOffset 234 endOffset 235 width 8.00: "s"
-            chunk 1 text run 236 at (273.14,230.00) startOffset 235 endOffset 236 width 9.00: "e"
-            chunk 1 text run 237 at (280.64,230.00) startOffset 236 endOffset 237 width 6.00: "l"
-            chunk 1 text run 238 at (288.14,230.00) startOffset 237 endOffset 238 width 9.00: "e"
-            chunk 1 text run 239 at (297.14,230.00) startOffset 238 endOffset 239 width 9.00: "c"
-            chunk 1 text run 240 at (304.64,230.00) startOffset 239 endOffset 240 width 6.00: "t"
-            chunk 1 text run 241 at (310.64,230.00) startOffset 240 endOffset 241 width 6.00: "i"
-            chunk 1 text run 242 at (318.64,230.00) startOffset 241 endOffset 242 width 10.00: "o"
-            chunk 1 text run 243 at (328.64,230.00) startOffset 242 endOffset 243 width 10.00: "n"
-            chunk 1 text run 244 at (336.14,230.00) startOffset 243 endOffset 244 width 5.00: "."
-            chunk 1 text run 245 at (341.14,230.00) startOffset 244 endOffset 245 width 5.00: " "
-            chunk 1 text run 246 at (349.14,230.00) startOffset 245 endOffset 246 width 11.00: "S"
-            chunk 1 text run 247 at (357.64,230.00) startOffset 246 endOffset 247 width 6.00: "i"
-            chunk 1 text run 248 at (365.64,230.00) startOffset 247 endOffset 248 width 10.00: "n"
-            chunk 1 text run 249 at (375.14,230.00) startOffset 248 endOffset 249 width 9.00: "c"
-            chunk 1 text run 250 at (384.14,230.00) startOffset 249 endOffset 250 width 9.00: "e"
-            chunk 1 text run 251 at (391.14,230.00) startOffset 250 endOffset 251 width 5.00: " "
-            chunk 1 text run 252 at (397.14,230.00) startOffset 251 endOffset 252 width 7.00: "I"
-            chunk 1 text run 253 at (403.14,230.00) startOffset 252 endOffset 253 width 5.00: " "
-            chunk 1 text run 254 at (410.64,230.00) startOffset 253 endOffset 254 width 10.00: "h"
-            chunk 1 text run 255 at (420.14,230.00) startOffset 254 endOffset 255 width 9.00: "a"
-            chunk 1 text run 256 at (29.64,250.00) startOffset 255 endOffset 256 width 10.00: "v"
-            chunk 1 text run 257 at (39.14,250.00) startOffset 256 endOffset 257 width 9.00: "e"
-            chunk 1 text run 258 at (48.64,250.00) startOffset 257 endOffset 258 width 10.00: "n"
-            chunk 1 text run 259 at (55.64,250.00) startOffset 258 endOffset 259 width 4.00: "'"
-            chunk 1 text run 260 at (60.64,250.00) startOffset 259 endOffset 260 width 6.00: "t"
-            chunk 1 text run 261 at (66.14,250.00) startOffset 260 endOffset 261 width 5.00: " "
-            chunk 1 text run 262 at (72.14,250.00) startOffset 261 endOffset 262 width 7.00: "r"
-            chunk 1 text run 263 at (80.14,250.00) startOffset 262 endOffset 263 width 9.00: "e"
-            chunk 1 text run 264 at (89.14,250.00) startOffset 263 endOffset 264 width 9.00: "a"
-            chunk 1 text run 265 at (98.14,250.00) startOffset 264 endOffset 265 width 9.00: "c"
-            chunk 1 text run 266 at (107.64,250.00) startOffset 265 endOffset 266 width 10.00: "h"
-            chunk 1 text run 267 at (117.14,250.00) startOffset 266 endOffset 267 width 9.00: "e"
-            chunk 1 text run 268 at (126.64,250.00) startOffset 267 endOffset 268 width 10.00: "d"
-            chunk 1 text run 269 at (134.14,250.00) startOffset 268 endOffset 269 width 5.00: " "
-            chunk 1 text run 270 at (139.64,250.00) startOffset 269 endOffset 270 width 6.00: "t"
-            chunk 1 text run 271 at (147.64,250.00) startOffset 270 endOffset 271 width 10.00: "h"
-            chunk 1 text run 272 at (157.14,250.00) startOffset 271 endOffset 272 width 9.00: "e"
-            chunk 1 text run 273 at (164.14,250.00) startOffset 272 endOffset 273 width 5.00: " "
-            chunk 1 text run 274 at (171.14,250.00) startOffset 273 endOffset 274 width 9.00: "e"
-            chunk 1 text run 275 at (180.64,250.00) startOffset 274 endOffset 275 width 10.00: "n"
-            chunk 1 text run 276 at (190.64,250.00) startOffset 275 endOffset 276 width 10.00: "d"
-            chunk 1 text run 277 at (198.14,250.00) startOffset 276 endOffset 277 width 5.00: " "
-            chunk 1 text run 278 at (205.64,250.00) startOffset 277 endOffset 278 width 10.00: "y"
-            chunk 1 text run 279 at (215.14,250.00) startOffset 278 endOffset 279 width 9.00: "e"
-            chunk 1 text run 280 at (222.64,250.00) startOffset 279 endOffset 280 width 6.00: "t"
-            chunk 1 text run 281 at (228.14,250.00) startOffset 280 endOffset 281 width 5.00: ","
-            chunk 1 text run 282 at (233.14,250.00) startOffset 281 endOffset 282 width 5.00: " "
-            chunk 1 text run 283 at (238.64,250.00) startOffset 282 endOffset 283 width 6.00: "l"
-            chunk 1 text run 284 at (246.14,250.00) startOffset 283 endOffset 284 width 9.00: "e"
-            chunk 1 text run 285 at (253.64,250.00) startOffset 284 endOffset 285 width 6.00: "t"
-            chunk 1 text run 286 at (259.14,250.00) startOffset 285 endOffset 286 width 5.00: " "
-            chunk 1 text run 287 at (269.64,250.00) startOffset 286 endOffset 287 width 16.00: "m"
-            chunk 1 text run 288 at (282.14,250.00) startOffset 287 endOffset 288 width 9.00: "e"
-            chunk 1 text run 289 at (289.14,250.00) startOffset 288 endOffset 289 width 5.00: " "
-            chunk 1 text run 290 at (296.64,250.00) startOffset 289 endOffset 290 width 10.00: "k"
-            chunk 1 text run 291 at (306.14,250.00) startOffset 290 endOffset 291 width 9.00: "e"
-            chunk 1 text run 292 at (315.14,250.00) startOffset 291 endOffset 292 width 9.00: "e"
-            chunk 1 text run 293 at (324.64,250.00) startOffset 292 endOffset 293 width 10.00: "p"
-            chunk 1 text run 294 at (332.14,250.00) startOffset 293 endOffset 294 width 5.00: " "
-            chunk 1 text run 295 at (339.64,250.00) startOffset 294 endOffset 295 width 10.00: "g"
-            chunk 1 text run 296 at (349.64,250.00) startOffset 295 endOffset 296 width 10.00: "o"
-            chunk 1 text run 297 at (357.64,250.00) startOffset 296 endOffset 297 width 6.00: "i"
-            chunk 1 text run 298 at (365.64,250.00) startOffset 297 endOffset 298 width 10.00: "n"
-            chunk 1 text run 299 at (375.64,250.00) startOffset 298 endOffset 299 width 10.00: "g"
-            chunk 1 text run 300 at (383.14,250.00) startOffset 299 endOffset 300 width 5.00: " "
-            chunk 1 text run 301 at (392.64,250.00) startOffset 300 endOffset 301 width 14.00: "w"
-            chunk 1 text run 302 at (402.64,250.00) startOffset 301 endOffset 302 width 6.00: "i"
-            chunk 1 text run 303 at (408.64,250.00) startOffset 302 endOffset 303 width 6.00: "t"
-            chunk 1 text run 304 at (416.64,250.00) startOffset 303 endOffset 304 width 10.00: "h"
-            chunk 1 text run 305 at (424.14,250.00) startOffset 304 endOffset 305 width 5.00: " "
-            chunk 1 text run 306 at (34.64,270.00) startOffset 305 endOffset 306 width 16.00: "m"
-            chunk 1 text run 307 at (47.64,270.00) startOffset 306 endOffset 307 width 10.00: "o"
-            chunk 1 text run 308 at (56.14,270.00) startOffset 307 endOffset 308 width 7.00: "r"
-            chunk 1 text run 309 at (64.14,270.00) startOffset 308 endOffset 309 width 9.00: "e"
-            chunk 1 text run 310 at (71.14,270.00) startOffset 309 endOffset 310 width 5.00: " "
-            chunk 1 text run 311 at (77.14,270.00) startOffset 310 endOffset 311 width 7.00: "r"
-            chunk 1 text run 312 at (85.14,270.00) startOffset 311 endOffset 312 width 9.00: "e"
-            chunk 1 text run 313 at (94.14,270.00) startOffset 312 endOffset 313 width 9.00: "a"
-            chunk 1 text run 314 at (101.64,270.00) startOffset 313 endOffset 314 width 6.00: "l"
-            chunk 1 text run 315 at (107.64,270.00) startOffset 314 endOffset 315 width 6.00: "l"
-            chunk 1 text run 316 at (115.64,270.00) startOffset 315 endOffset 316 width 10.00: "y"
-            chunk 1 text run 317 at (123.14,270.00) startOffset 316 endOffset 317 width 5.00: " "
-            chunk 1 text run 318 at (130.64,270.00) startOffset 317 endOffset 318 width 10.00: "q"
-            chunk 1 text run 319 at (140.64,270.00) startOffset 318 endOffset 319 width 10.00: "u"
-            chunk 1 text run 320 at (148.64,270.00) startOffset 319 endOffset 320 width 6.00: "i"
-            chunk 1 text run 321 at (154.64,270.00) startOffset 320 endOffset 321 width 6.00: "t"
-            chunk 1 text run 322 at (162.14,270.00) startOffset 321 endOffset 322 width 9.00: "e"
-            chunk 1 text run 323 at (169.14,270.00) startOffset 322 endOffset 323 width 5.00: " "
-            chunk 1 text run 324 at (176.64,270.00) startOffset 323 endOffset 324 width 10.00: "u"
-            chunk 1 text run 325 at (185.64,270.00) startOffset 324 endOffset 325 width 8.00: "s"
-            chunk 1 text run 326 at (194.14,270.00) startOffset 325 endOffset 326 width 9.00: "e"
-            chunk 1 text run 327 at (201.64,270.00) startOffset 326 endOffset 327 width 6.00: "l"
-            chunk 1 text run 328 at (209.14,270.00) startOffset 327 endOffset 328 width 9.00: "e"
-            chunk 1 text run 329 at (217.64,270.00) startOffset 328 endOffset 329 width 8.00: "s"
-            chunk 1 text run 330 at (225.64,270.00) startOffset 329 endOffset 330 width 8.00: "s"
-            chunk 1 text run 331 at (232.14,270.00) startOffset 330 endOffset 331 width 5.00: " "
-            chunk 1 text run 332 at (237.64,270.00) startOffset 331 endOffset 332 width 6.00: "t"
-            chunk 1 text run 333 at (245.14,270.00) startOffset 332 endOffset 333 width 9.00: "e"
-            chunk 1 text run 334 at (254.64,270.00) startOffset 333 endOffset 334 width 10.00: "x"
-            chunk 1 text run 335 at (262.64,270.00) startOffset 334 endOffset 335 width 6.00: "t"
-            chunk 1 text run 336 at (268.14,270.00) startOffset 335 endOffset 336 width 5.00: " "
-            chunk 1 text run 337 at (273.64,270.00) startOffset 336 endOffset 337 width 6.00: "j"
-            chunk 1 text run 338 at (281.64,270.00) startOffset 337 endOffset 338 width 10.00: "u"
-            chunk 1 text run 339 at (290.64,270.00) startOffset 338 endOffset 339 width 8.00: "s"
-            chunk 1 text run 340 at (297.64,270.00) startOffset 339 endOffset 340 width 6.00: "t"
-            chunk 1 text run 341 at (303.14,270.00) startOffset 340 endOffset 341 width 5.00: " "
-            chunk 1 text run 342 at (308.64,270.00) startOffset 341 endOffset 342 width 6.00: "t"
-            chunk 1 text run 343 at (316.64,270.00) startOffset 342 endOffset 343 width 10.00: "o"
-            chunk 1 text run 344 at (324.14,270.00) startOffset 343 endOffset 344 width 5.00: " "
-            chunk 1 text run 345 at (330.64,270.00) startOffset 344 endOffset 345 width 8.00: "s"
-            chunk 1 text run 346 at (339.14,270.00) startOffset 345 endOffset 346 width 9.00: "e"
-            chunk 1 text run 347 at (348.14,270.00) startOffset 346 endOffset 347 width 9.00: "e"
-            chunk 1 text run 348 at (355.14,270.00) startOffset 347 endOffset 348 width 5.00: " "
-            chunk 1 text run 349 at (360.64,270.00) startOffset 348 endOffset 349 width 6.00: "i"
-            chunk 1 text run 350 at (367.14,270.00) startOffset 349 endOffset 350 width 7.00: "f"
-            chunk 1 text run 351 at (373.14,270.00) startOffset 350 endOffset 351 width 5.00: " "
-            chunk 1 text run 352 at (382.64,270.00) startOffset 351 endOffset 352 width 14.00: "w"
-            chunk 1 text run 353 at (394.14,270.00) startOffset 352 endOffset 353 width 9.00: "e"
-            chunk 1 text run 354 at (401.14,270.00) startOffset 353 endOffset 354 width 5.00: " "
-            chunk 1 text run 355 at (408.64,270.00) startOffset 354 endOffset 355 width 10.00: "h"
-            chunk 1 text run 356 at (416.64,270.00) startOffset 355 endOffset 356 width 6.00: "i"
-            chunk 1 text run 357 at (422.64,270.00) startOffset 356 endOffset 357 width 6.00: "t"
-            chunk 1 text run 358 at (28.14,290.00) startOffset 357 endOffset 358 width 5.00: " "
-            chunk 1 text run 359 at (35.14,290.00) startOffset 358 endOffset 359 width 9.00: "a"
-            chunk 1 text run 360 at (42.14,290.00) startOffset 359 endOffset 360 width 5.00: " "
-            chunk 1 text run 361 at (47.64,290.00) startOffset 360 endOffset 361 width 6.00: "l"
-            chunk 1 text run 362 at (53.64,290.00) startOffset 361 endOffset 362 width 6.00: "i"
-            chunk 1 text run 363 at (64.64,290.00) startOffset 362 endOffset 363 width 16.00: "m"
-            chunk 1 text run 364 at (75.64,290.00) startOffset 363 endOffset 364 width 6.00: "i"
-            chunk 1 text run 365 at (81.64,290.00) startOffset 364 endOffset 365 width 6.00: "t"
-            chunk 1 text run 366 at (87.14,290.00) startOffset 365 endOffset 366 width 5.00: " "
-            chunk 1 text run 367 at (96.64,290.00) startOffset 366 endOffset 367 width 14.00: "w"
-            chunk 1 text run 368 at (108.64,290.00) startOffset 367 endOffset 368 width 10.00: "h"
-            chunk 1 text run 369 at (118.14,290.00) startOffset 368 endOffset 369 width 9.00: "e"
-            chunk 1 text run 370 at (126.14,290.00) startOffset 369 endOffset 370 width 7.00: "r"
-            chunk 1 text run 371 at (134.14,290.00) startOffset 370 endOffset 371 width 9.00: "e"
-            chunk 1 text run 372 at (141.14,290.00) startOffset 371 endOffset 372 width 5.00: " "
-            chunk 1 text run 373 at (146.64,290.00) startOffset 372 endOffset 373 width 6.00: "i"
-            chunk 1 text run 374 at (152.64,290.00) startOffset 373 endOffset 374 width 6.00: "t"
-            chunk 1 text run 375 at (158.14,290.00) startOffset 374 endOffset 375 width 5.00: " "
-            chunk 1 text run 376 at (164.14,290.00) startOffset 375 endOffset 376 width 7.00: "r"
-            chunk 1 text run 377 at (172.14,290.00) startOffset 376 endOffset 377 width 9.00: "e"
-            chunk 1 text run 378 at (181.14,290.00) startOffset 377 endOffset 378 width 9.00: "a"
-            chunk 1 text run 379 at (188.64,290.00) startOffset 378 endOffset 379 width 6.00: "l"
-            chunk 1 text run 380 at (194.64,290.00) startOffset 379 endOffset 380 width 6.00: "l"
-            chunk 1 text run 381 at (202.64,290.00) startOffset 380 endOffset 381 width 10.00: "y"
-            chunk 1 text run 382 at (210.14,290.00) startOffset 381 endOffset 382 width 5.00: " "
-            chunk 1 text run 383 at (216.64,290.00) startOffset 382 endOffset 383 width 8.00: "s"
-            chunk 1 text run 384 at (223.64,290.00) startOffset 383 endOffset 384 width 6.00: "t"
-            chunk 1 text run 385 at (231.14,290.00) startOffset 384 endOffset 385 width 9.00: "a"
-            chunk 1 text run 386 at (239.14,290.00) startOffset 385 endOffset 386 width 7.00: "r"
-            chunk 1 text run 387 at (245.64,290.00) startOffset 386 endOffset 387 width 6.00: "t"
-            chunk 1 text run 388 at (252.64,290.00) startOffset 387 endOffset 388 width 8.00: "s"
-            chunk 1 text run 389 at (259.14,290.00) startOffset 388 endOffset 389 width 5.00: " "
-            chunk 1 text run 390 at (264.64,290.00) startOffset 389 endOffset 390 width 6.00: "t"
-            chunk 1 text run 391 at (272.64,290.00) startOffset 390 endOffset 391 width 10.00: "o"
-            chunk 1 text run 392 at (280.14,290.00) startOffset 391 endOffset 392 width 5.00: " "
-            chunk 1 text run 393 at (286.64,290.00) startOffset 392 endOffset 393 width 8.00: "s"
-            chunk 1 text run 394 at (293.64,290.00) startOffset 393 endOffset 394 width 6.00: "l"
-            chunk 1 text run 395 at (301.64,290.00) startOffset 394 endOffset 395 width 10.00: "o"
-            chunk 1 text run 396 at (313.64,290.00) startOffset 395 endOffset 396 width 14.00: "w"
-            chunk 1 text run 397 at (323.14,290.00) startOffset 396 endOffset 397 width 5.00: " "
-            chunk 1 text run 398 at (328.64,290.00) startOffset 397 endOffset 398 width 6.00: "t"
-            chunk 1 text run 399 at (336.64,290.00) startOffset 398 endOffset 399 width 10.00: "h"
-            chunk 1 text run 400 at (344.64,290.00) startOffset 399 endOffset 400 width 6.00: "i"
-            chunk 1 text run 401 at (352.64,290.00) startOffset 400 endOffset 401 width 10.00: "n"
-            chunk 1 text run 402 at (362.64,290.00) startOffset 401 endOffset 402 width 10.00: "g"
-            chunk 1 text run 403 at (371.64,290.00) startOffset 402 endOffset 403 width 8.00: "s"
-            chunk 1 text run 404 at (378.14,290.00) startOffset 403 endOffset 404 width 5.00: " "
-            chunk 1 text run 405 at (385.64,290.00) startOffset 404 endOffset 405 width 10.00: "d"
-            chunk 1 text run 406 at (395.64,290.00) startOffset 405 endOffset 406 width 10.00: "o"
-            chunk 1 text run 407 at (407.64,290.00) startOffset 406 endOffset 407 width 14.00: "w"
-            chunk 1 text run 408 at (419.64,290.00) startOffset 407 endOffset 408 width 10.00: "n"
-            chunk 1 text run 409 at (27.14,310.00) startOffset 408 endOffset 409 width 5.00: "."
-            chunk 1 text run 410 at (32.14,310.00) startOffset 409 endOffset 410 width 5.00: " "
-            chunk 1 text run 1 at (41.64,310.00) startOffset 0 endOffset 1 width 14.00: "H"
-            chunk 1 text run 2 at (53.64,310.00) startOffset 1 endOffset 2 width 10.00: "o"
-            chunk 1 text run 3 at (65.64,310.00) startOffset 2 endOffset 3 width 14.00: "w"
-            chunk 1 text run 4 at (77.14,310.00) startOffset 3 endOffset 4 width 9.00: "e"
-            chunk 1 text run 5 at (86.64,310.00) startOffset 4 endOffset 5 width 10.00: "v"
-            chunk 1 text run 6 at (96.14,310.00) startOffset 5 endOffset 6 width 9.00: "e"
-            chunk 1 text run 7 at (104.14,310.00) startOffset 6 endOffset 7 width 7.00: "r"
-            chunk 1 text run 8 at (110.14,310.00) startOffset 7 endOffset 8 width 5.00: " "
-            chunk 1 text run 9 at (115.64,310.00) startOffset 8 endOffset 9 width 6.00: "i"
-            chunk 1 text run 10 at (122.14,310.00) startOffset 9 endOffset 10 width 7.00: "f"
-            chunk 1 text run 11 at (128.14,310.00) startOffset 10 endOffset 11 width 5.00: " "
-            chunk 1 text run 12 at (133.64,310.00) startOffset 11 endOffset 12 width 6.00: "i"
-            chunk 1 text run 13 at (139.64,310.00) startOffset 12 endOffset 13 width 6.00: "t"
-            chunk 1 text run 14 at (145.14,310.00) startOffset 13 endOffset 14 width 5.00: " "
-            chunk 1 text run 15 at (152.64,310.00) startOffset 14 endOffset 15 width 10.00: "h"
-            chunk 1 text run 16 at (162.14,310.00) startOffset 15 endOffset 16 width 9.00: "a"
-            chunk 1 text run 17 at (170.64,310.00) startOffset 16 endOffset 17 width 8.00: "s"
-            chunk 1 text run 18 at (179.64,310.00) startOffset 17 endOffset 18 width 10.00: "n"
-            chunk 1 text run 19 at (186.64,310.00) startOffset 18 endOffset 19 width 4.00: "'"
-            chunk 1 text run 20 at (191.64,310.00) startOffset 19 endOffset 20 width 6.00: "t"
-            chunk 1 text run 21 at (197.14,310.00) startOffset 20 endOffset 21 width 5.00: " "
-            chunk 1 text run 22 at (203.64,310.00) startOffset 21 endOffset 22 width 8.00: "s"
-            chunk 1 text run 23 at (210.64,310.00) startOffset 22 endOffset 23 width 6.00: "l"
-            chunk 1 text run 24 at (218.64,310.00) startOffset 23 endOffset 24 width 10.00: "o"
-            chunk 1 text run 25 at (230.64,310.00) startOffset 24 endOffset 25 width 14.00: "w"
-            chunk 1 text run 26 at (242.14,310.00) startOffset 25 endOffset 26 width 9.00: "e"
-            chunk 1 text run 27 at (251.64,310.00) startOffset 26 endOffset 27 width 10.00: "d"
-            chunk 1 text run 28 at (259.14,310.00) startOffset 27 endOffset 28 width 5.00: " "
-            chunk 1 text run 29 at (266.64,310.00) startOffset 28 endOffset 29 width 10.00: "d"
-            chunk 1 text run 30 at (276.64,310.00) startOffset 29 endOffset 30 width 10.00: "o"
-            chunk 1 text run 31 at (288.64,310.00) startOffset 30 endOffset 31 width 14.00: "w"
-            chunk 1 text run 32 at (300.64,310.00) startOffset 31 endOffset 32 width 10.00: "n"
-            chunk 1 text run 33 at (308.14,310.00) startOffset 32 endOffset 33 width 5.00: " "
-            chunk 1 text run 34 at (315.64,310.00) startOffset 33 endOffset 34 width 10.00: "b"
-            chunk 1 text run 35 at (325.64,310.00) startOffset 34 endOffset 35 width 10.00: "y"
-            chunk 1 text run 36 at (333.14,310.00) startOffset 35 endOffset 36 width 5.00: " "
-            chunk 1 text run 37 at (340.64,310.00) startOffset 36 endOffset 37 width 10.00: "n"
-            chunk 1 text run 38 at (350.64,310.00) startOffset 37 endOffset 38 width 10.00: "o"
-            chunk 1 text run 39 at (362.64,310.00) startOffset 38 endOffset 39 width 14.00: "w"
-            chunk 1 text run 40 at (372.14,310.00) startOffset 39 endOffset 40 width 5.00: " "
-            chunk 1 text run 41 at (378.14,310.00) startOffset 40 endOffset 41 width 7.00: "I"
-            chunk 1 text run 42 at (383.64,310.00) startOffset 41 endOffset 42 width 4.00: "'"
-            chunk 1 text run 43 at (393.64,310.00) startOffset 42 endOffset 43 width 16.00: "m"
-            chunk 1 text run 44 at (404.14,310.00) startOffset 43 endOffset 44 width 5.00: " "
-            chunk 1 text run 45 at (411.64,310.00) startOffset 44 endOffset 45 width 10.00: "g"
-            chunk 1 text run 46 at (421.64,310.00) startOffset 45 endOffset 46 width 10.00: "u"
-            chunk 1 text run 47 at (31.14,330.00) startOffset 46 endOffset 47 width 9.00: "e"
-            chunk 1 text run 48 at (39.64,330.00) startOffset 47 endOffset 48 width 8.00: "s"
-            chunk 1 text run 49 at (47.64,330.00) startOffset 48 endOffset 49 width 8.00: "s"
-            chunk 1 text run 50 at (54.64,330.00) startOffset 49 endOffset 50 width 6.00: "i"
-            chunk 1 text run 51 at (62.64,330.00) startOffset 50 endOffset 51 width 10.00: "n"
-            chunk 1 text run 52 at (72.64,330.00) startOffset 51 endOffset 52 width 10.00: "g"
-            chunk 1 text run 53 at (80.14,330.00) startOffset 52 endOffset 53 width 5.00: " "
-            chunk 1 text run 54 at (85.64,330.00) startOffset 53 endOffset 54 width 6.00: "t"
-            chunk 1 text run 55 at (93.64,330.00) startOffset 54 endOffset 55 width 10.00: "h"
-            chunk 1 text run 56 at (103.14,330.00) startOffset 55 endOffset 56 width 9.00: "a"
-            chunk 1 text run 57 at (110.64,330.00) startOffset 56 endOffset 57 width 6.00: "t"
-            chunk 1 text run 58 at (116.14,330.00) startOffset 57 endOffset 58 width 5.00: " "
-            chunk 1 text run 59 at (121.64,330.00) startOffset 58 endOffset 59 width 6.00: "i"
-            chunk 1 text run 60 at (127.64,330.00) startOffset 59 endOffset 60 width 6.00: "t"
-            chunk 1 text run 61 at (133.14,330.00) startOffset 60 endOffset 61 width 5.00: " "
-            chunk 1 text run 62 at (142.64,330.00) startOffset 61 endOffset 62 width 14.00: "w"
-            chunk 1 text run 63 at (154.64,330.00) startOffset 62 endOffset 63 width 10.00: "o"
-            chunk 1 text run 64 at (164.64,330.00) startOffset 63 endOffset 64 width 10.00: "n"
-            chunk 1 text run 65 at (171.64,330.00) startOffset 64 endOffset 65 width 4.00: "'"
-            chunk 1 text run 66 at (176.64,330.00) startOffset 65 endOffset 66 width 6.00: "t"
-            chunk 1 text run 67 at (182.14,330.00) startOffset 66 endOffset 67 width 5.00: " "
-            chunk 1 text run 68 at (188.64,330.00) startOffset 67 endOffset 68 width 8.00: "s"
-            chunk 1 text run 69 at (195.64,330.00) startOffset 68 endOffset 69 width 6.00: "l"
-            chunk 1 text run 70 at (203.64,330.00) startOffset 69 endOffset 70 width 10.00: "o"
-            chunk 1 text run 71 at (215.64,330.00) startOffset 70 endOffset 71 width 14.00: "w"
-            chunk 1 text run 72 at (225.14,330.00) startOffset 71 endOffset 72 width 5.00: " "
-            chunk 1 text run 73 at (232.64,330.00) startOffset 72 endOffset 73 width 10.00: "d"
-            chunk 1 text run 74 at (242.64,330.00) startOffset 73 endOffset 74 width 10.00: "o"
-            chunk 1 text run 75 at (254.64,330.00) startOffset 74 endOffset 75 width 14.00: "w"
-            chunk 1 text run 76 at (266.64,330.00) startOffset 75 endOffset 76 width 10.00: "n"
-            chunk 1 text run 77 at (274.14,330.00) startOffset 76 endOffset 77 width 5.00: " "
-            chunk 1 text run 78 at (281.14,330.00) startOffset 77 endOffset 78 width 9.00: "a"
-            chunk 1 text run 79 at (288.64,330.00) startOffset 78 endOffset 79 width 6.00: "t"
-            chunk 1 text run 80 at (294.14,330.00) startOffset 79 endOffset 80 width 5.00: " "
-            chunk 1 text run 81 at (301.14,330.00) startOffset 80 endOffset 81 width 9.00: "a"
-            chunk 1 text run 82 at (308.64,330.00) startOffset 81 endOffset 82 width 6.00: "l"
-            chunk 1 text run 83 at (314.64,330.00) startOffset 82 endOffset 83 width 6.00: "l"
-            chunk 1 text run 84 at (320.14,330.00) startOffset 83 endOffset 84 width 5.00: "."
-            chunk 1 text run 85 at (325.14,330.00) startOffset 84 endOffset 85 width 5.00: " "
-            chunk 1 text run 1 at (334.14,330.00) startOffset 0 endOffset 1 width 13.00: "B"
-            chunk 1 text run 2 at (345.64,330.00) startOffset 1 endOffset 2 width 10.00: "u"
-            chunk 1 text run 3 at (353.64,330.00) startOffset 2 endOffset 3 width 6.00: "t"
-            chunk 1 text run 4 at (359.14,330.00) startOffset 3 endOffset 4 width 5.00: " "
-            chunk 1 text run 5 at (366.64,330.00) startOffset 4 endOffset 5 width 10.00: "y"
-            chunk 1 text run 6 at (376.64,330.00) startOffset 5 endOffset 6 width 10.00: "o"
-            chunk 1 text run 7 at (386.64,330.00) startOffset 6 endOffset 7 width 10.00: "u"
-            chunk 1 text run 8 at (394.14,330.00) startOffset 7 endOffset 8 width 5.00: " "
-            chunk 1 text run 9 at (401.64,330.00) startOffset 8 endOffset 9 width 10.00: "n"
-            chunk 1 text run 10 at (411.14,330.00) startOffset 9 endOffset 10 width 9.00: "e"
-            chunk 1 text run 11 at (420.64,330.00) startOffset 10 endOffset 11 width 10.00: "v"
-            chunk 1 text run 12 at (30.14,350.00) startOffset 11 endOffset 12 width 9.00: "e"
-            chunk 1 text run 13 at (38.14,350.00) startOffset 12 endOffset 13 width 7.00: "r"
-            chunk 1 text run 14 at (44.14,350.00) startOffset 13 endOffset 14 width 5.00: " "
-            chunk 1 text run 15 at (51.64,350.00) startOffset 14 endOffset 15 width 10.00: "k"
-            chunk 1 text run 16 at (61.64,350.00) startOffset 15 endOffset 16 width 10.00: "n"
-            chunk 1 text run 17 at (71.64,350.00) startOffset 16 endOffset 17 width 10.00: "o"
-            chunk 1 text run 18 at (83.64,350.00) startOffset 17 endOffset 18 width 14.00: "w"
-            chunk 1 text run 19 at (93.14,350.00) startOffset 18 endOffset 19 width 5.00: " "
-            chunk 1 text run 20 at (99.14,350.00) startOffset 19 endOffset 20 width 7.00: "f"
-            chunk 1 text run 21 at (107.64,350.00) startOffset 20 endOffset 21 width 10.00: "o"
-            chunk 1 text run 22 at (116.14,350.00) startOffset 21 endOffset 22 width 7.00: "r"
-            chunk 1 text run 23 at (122.14,350.00) startOffset 22 endOffset 23 width 5.00: " "
-            chunk 1 text run 24 at (128.64,350.00) startOffset 23 endOffset 24 width 8.00: "s"
-            chunk 1 text run 25 at (137.64,350.00) startOffset 24 endOffset 25 width 10.00: "u"
-            chunk 1 text run 26 at (146.14,350.00) startOffset 25 endOffset 26 width 7.00: "r"
-            chunk 1 text run 27 at (154.14,350.00) startOffset 26 endOffset 27 width 9.00: "e"
-            chunk 1 text run 28 at (161.14,350.00) startOffset 27 endOffset 28 width 5.00: " "
-            chunk 1 text run 29 at (168.64,350.00) startOffset 28 endOffset 29 width 10.00: "u"
-            chunk 1 text run 30 at (178.64,350.00) startOffset 29 endOffset 30 width 10.00: "n"
-            chunk 1 text run 31 at (186.64,350.00) startOffset 30 endOffset 31 width 6.00: "t"
-            chunk 1 text run 32 at (192.64,350.00) startOffset 31 endOffset 32 width 6.00: "i"
-            chunk 1 text run 33 at (198.64,350.00) startOffset 32 endOffset 33 width 6.00: "l"
-            chunk 1 text run 34 at (204.14,350.00) startOffset 33 endOffset 34 width 5.00: " "
-            chunk 1 text run 35 at (211.64,350.00) startOffset 34 endOffset 35 width 10.00: "y"
-            chunk 1 text run 36 at (221.64,350.00) startOffset 35 endOffset 36 width 10.00: "o"
-            chunk 1 text run 37 at (231.64,350.00) startOffset 36 endOffset 37 width 10.00: "u"
-            chunk 1 text run 38 at (239.14,350.00) startOffset 37 endOffset 38 width 5.00: " "
-            chunk 1 text run 39 at (244.64,350.00) startOffset 38 endOffset 39 width 6.00: "t"
-            chunk 1 text run 40 at (251.14,350.00) startOffset 39 endOffset 40 width 7.00: "r"
-            chunk 1 text run 41 at (259.64,350.00) startOffset 40 endOffset 41 width 10.00: "y"
-            chunk 1 text run 42 at (267.14,350.00) startOffset 41 endOffset 42 width 5.00: " "
-            chunk 1 text run 43 at (272.64,350.00) startOffset 42 endOffset 43 width 6.00: "i"
-            chunk 1 text run 44 at (278.64,350.00) startOffset 43 endOffset 44 width 6.00: "t"
-            chunk 1 text run 45 at (284.14,350.00) startOffset 44 endOffset 45 width 5.00: ","
-            chunk 1 text run 46 at (289.14,350.00) startOffset 45 endOffset 46 width 5.00: " "
-            chunk 1 text run 47 at (295.64,350.00) startOffset 46 endOffset 47 width 8.00: "s"
-            chunk 1 text run 48 at (304.64,350.00) startOffset 47 endOffset 48 width 10.00: "o"
-            chunk 1 text run 49 at (312.14,350.00) startOffset 48 endOffset 49 width 5.00: " "
-            chunk 1 text run 50 at (318.14,350.00) startOffset 49 endOffset 50 width 7.00: "I"
-            chunk 1 text run 51 at (324.14,350.00) startOffset 50 endOffset 51 width 5.00: " "
-            chunk 1 text run 52 at (331.14,350.00) startOffset 51 endOffset 52 width 9.00: "a"
-            chunk 1 text run 53 at (343.64,350.00) startOffset 52 endOffset 53 width 16.00: "m"
-            chunk 1 text run 54 at (354.14,350.00) startOffset 53 endOffset 54 width 5.00: ","
-            chunk 1 text run 55 at (359.14,350.00) startOffset 54 endOffset 55 width 5.00: " "
-            chunk 1 text run 56 at (366.14,350.00) startOffset 55 endOffset 56 width 9.00: "a"
-            chunk 1 text run 57 at (375.64,350.00) startOffset 56 endOffset 57 width 10.00: "n"
-            chunk 1 text run 58 at (385.64,350.00) startOffset 57 endOffset 58 width 10.00: "d"
-            chunk 1 text run 59 at (393.14,350.00) startOffset 58 endOffset 59 width 5.00: " "
-            chunk 1 text run 60 at (400.64,350.00) startOffset 59 endOffset 60 width 10.00: "h"
-            chunk 1 text run 61 at (410.14,350.00) startOffset 60 endOffset 61 width 9.00: "e"
-            chunk 1 text run 62 at (418.14,350.00) startOffset 61 endOffset 62 width 7.00: "r"
-            chunk 1 text run 63 at (26.14,370.00) startOffset 62 endOffset 63 width 9.00: "e"
-            chunk 1 text run 64 at (33.14,370.00) startOffset 63 endOffset 64 width 5.00: " "
-            chunk 1 text run 65 at (38.64,370.00) startOffset 64 endOffset 65 width 6.00: "i"
-            chunk 1 text run 66 at (45.64,370.00) startOffset 65 endOffset 66 width 8.00: "s"
-            chunk 1 text run 67 at (52.14,370.00) startOffset 66 endOffset 67 width 5.00: " "
-            chunk 1 text run 68 at (57.64,370.00) startOffset 67 endOffset 68 width 6.00: "t"
-            chunk 1 text run 69 at (65.64,370.00) startOffset 68 endOffset 69 width 10.00: "h"
-            chunk 1 text run 70 at (75.14,370.00) startOffset 69 endOffset 70 width 9.00: "e"
-            chunk 1 text run 71 at (82.14,370.00) startOffset 70 endOffset 71 width 5.00: " "
-            chunk 1 text run 72 at (88.14,370.00) startOffset 71 endOffset 72 width 7.00: "r"
-            chunk 1 text run 73 at (96.14,370.00) startOffset 72 endOffset 73 width 9.00: "e"
-            chunk 1 text run 74 at (104.64,370.00) startOffset 73 endOffset 74 width 8.00: "s"
-            chunk 1 text run 75 at (113.64,370.00) startOffset 74 endOffset 75 width 10.00: "u"
-            chunk 1 text run 76 at (121.64,370.00) startOffset 75 endOffset 76 width 6.00: "l"
-            chunk 1 text run 77 at (127.64,370.00) startOffset 76 endOffset 77 width 6.00: "t"
-            chunk 1 text run 78 at (133.14,370.00) startOffset 77 endOffset 78 width 5.00: "."
-            chunk 1 text run 79 at (138.14,370.00) startOffset 78 endOffset 79 width 5.00: " "
-            chunk 1 text run 1 at (146.14,370.00) startOffset 0 endOffset 1 width 11.00: "S"
-            chunk 1 text run 2 at (156.14,370.00) startOffset 1 endOffset 2 width 9.00: "e"
-            chunk 1 text run 3 at (163.64,370.00) startOffset 2 endOffset 3 width 6.00: "l"
-            chunk 1 text run 4 at (171.14,370.00) startOffset 3 endOffset 4 width 9.00: "e"
-            chunk 1 text run 5 at (180.14,370.00) startOffset 4 endOffset 5 width 9.00: "c"
-            chunk 1 text run 6 at (187.64,370.00) startOffset 5 endOffset 6 width 6.00: "t"
-            chunk 1 text run 7 at (193.64,370.00) startOffset 6 endOffset 7 width 6.00: "i"
-            chunk 1 text run 8 at (201.64,370.00) startOffset 7 endOffset 8 width 10.00: "o"
-            chunk 1 text run 9 at (211.64,370.00) startOffset 8 endOffset 9 width 10.00: "n"
-            chunk 1 text run 10 at (219.14,370.00) startOffset 9 endOffset 10 width 5.00: " "
-            chunk 1 text run 11 at (226.64,370.00) startOffset 10 endOffset 11 width 10.00: "d"
-            chunk 1 text run 12 at (236.64,370.00) startOffset 11 endOffset 12 width 10.00: "o"
-            chunk 1 text run 13 at (246.14,370.00) startOffset 12 endOffset 13 width 9.00: "e"
-            chunk 1 text run 14 at (254.64,370.00) startOffset 13 endOffset 14 width 8.00: "s"
-            chunk 1 text run 15 at (261.14,370.00) startOffset 14 endOffset 15 width 5.00: " "
-            chunk 1 text run 16 at (268.64,370.00) startOffset 15 endOffset 16 width 10.00: "b"
-            chunk 1 text run 17 at (278.64,370.00) startOffset 16 endOffset 17 width 10.00: "o"
-            chunk 1 text run 18 at (288.64,370.00) startOffset 17 endOffset 18 width 10.00: "g"
-            chunk 1 text run 19 at (296.14,370.00) startOffset 18 endOffset 19 width 5.00: " "
-            chunk 1 text run 20 at (303.64,370.00) startOffset 19 endOffset 20 width 10.00: "d"
-            chunk 1 text run 21 at (313.64,370.00) startOffset 20 endOffset 21 width 10.00: "o"
-            chunk 1 text run 22 at (325.64,370.00) startOffset 21 endOffset 22 width 14.00: "w"
-            chunk 1 text run 23 at (337.64,370.00) startOffset 22 endOffset 23 width 10.00: "n"
-            chunk 1 text run 24 at (345.14,370.00) startOffset 23 endOffset 24 width 5.00: " "
-            chunk 1 text run 25 at (352.14,370.00) startOffset 24 endOffset 25 width 9.00: "a"
-            chunk 1 text run 26 at (359.14,370.00) startOffset 25 endOffset 26 width 5.00: " "
-            chunk 1 text run 27 at (364.64,370.00) startOffset 26 endOffset 27 width 6.00: "l"
-            chunk 1 text run 28 at (370.64,370.00) startOffset 27 endOffset 28 width 6.00: "i"
-            chunk 1 text run 29 at (376.64,370.00) startOffset 28 endOffset 29 width 6.00: "t"
-            chunk 1 text run 30 at (382.64,370.00) startOffset 29 endOffset 30 width 6.00: "t"
-            chunk 1 text run 31 at (388.64,370.00) startOffset 30 endOffset 31 width 6.00: "l"
-            chunk 1 text run 32 at (396.14,370.00) startOffset 31 endOffset 32 width 9.00: "e"
-            chunk 1 text run 33 at (403.14,370.00) startOffset 32 endOffset 33 width 5.00: " "
-            chunk 1 text run 34 at (410.64,370.00) startOffset 33 endOffset 34 width 10.00: "n"
-            chunk 1 text run 35 at (420.14,370.00) startOffset 34 endOffset 35 width 9.00: "e"
-            chunk 1 text run 36 at (29.14,390.00) startOffset 35 endOffset 36 width 9.00: "a"
-            chunk 1 text run 37 at (37.14,390.00) startOffset 36 endOffset 37 width 7.00: "r"
-            chunk 1 text run 38 at (43.14,390.00) startOffset 37 endOffset 38 width 5.00: " "
-            chunk 1 text run 39 at (48.64,390.00) startOffset 38 endOffset 39 width 6.00: "t"
-            chunk 1 text run 40 at (56.64,390.00) startOffset 39 endOffset 40 width 10.00: "h"
-            chunk 1 text run 41 at (66.14,390.00) startOffset 40 endOffset 41 width 9.00: "e"
-            chunk 1 text run 42 at (73.14,390.00) startOffset 41 endOffset 42 width 5.00: " "
-            chunk 1 text run 43 at (80.14,390.00) startOffset 42 endOffset 43 width 9.00: "e"
-            chunk 1 text run 44 at (89.64,390.00) startOffset 43 endOffset 44 width 10.00: "n"
-            chunk 1 text run 45 at (99.64,390.00) startOffset 44 endOffset 45 width 10.00: "d"
-            chunk 1 text run 46 at (107.14,390.00) startOffset 45 endOffset 46 width 5.00: " "
-            chunk 1 text run 47 at (114.64,390.00) startOffset 46 endOffset 47 width 10.00: "b"
-            chunk 1 text run 48 at (124.64,390.00) startOffset 47 endOffset 48 width 10.00: "u"
-            chunk 1 text run 49 at (132.64,390.00) startOffset 48 endOffset 49 width 6.00: "t"
-            chunk 1 text run 50 at (138.14,390.00) startOffset 49 endOffset 50 width 5.00: " "
-            chunk 1 text run 51 at (143.64,390.00) startOffset 50 endOffset 51 width 6.00: "i"
-            chunk 1 text run 52 at (149.64,390.00) startOffset 51 endOffset 52 width 6.00: "t"
-            chunk 1 text run 53 at (154.64,390.00) startOffset 52 endOffset 53 width 4.00: "'"
-            chunk 1 text run 54 at (160.64,390.00) startOffset 53 endOffset 54 width 8.00: "s"
-            chunk 1 text run 55 at (167.14,390.00) startOffset 54 endOffset 55 width 5.00: " "
-            chunk 1 text run 56 at (173.14,390.00) startOffset 55 endOffset 56 width 7.00: "r"
-            chunk 1 text run 57 at (181.14,390.00) startOffset 56 endOffset 57 width 9.00: "e"
-            chunk 1 text run 58 at (190.64,390.00) startOffset 57 endOffset 58 width 10.00: "d"
-            chunk 1 text run 59 at (199.14,390.00) startOffset 58 endOffset 59 width 7.00: "r"
-            chunk 1 text run 60 at (207.14,390.00) startOffset 59 endOffset 60 width 9.00: "a"
-            chunk 1 text run 61 at (218.64,390.00) startOffset 60 endOffset 61 width 14.00: "w"
-            chunk 1 text run 62 at (228.14,390.00) startOffset 61 endOffset 62 width 5.00: " "
-            chunk 1 text run 63 at (234.14,390.00) startOffset 62 endOffset 63 width 7.00: "r"
-            chunk 1 text run 64 at (242.14,390.00) startOffset 63 endOffset 64 width 9.00: "e"
-            chunk 1 text run 65 at (249.64,390.00) startOffset 64 endOffset 65 width 6.00: "l"
-            chunk 1 text run 66 at (257.14,390.00) startOffset 65 endOffset 66 width 9.00: "a"
-            chunk 1 text run 67 at (264.64,390.00) startOffset 66 endOffset 67 width 6.00: "t"
-            chunk 1 text run 68 at (272.14,390.00) startOffset 67 endOffset 68 width 9.00: "e"
-            chunk 1 text run 69 at (281.64,390.00) startOffset 68 endOffset 69 width 10.00: "d"
-            chunk 1 text run 70 at (289.14,390.00) startOffset 69 endOffset 70 width 5.00: "."
+            chunk 1 text run 193 at (329.50,210.00) startOffset 192 endOffset 193 width 7.00: "r"
+            chunk 1 text run 194 at (338.00,210.00) startOffset 193 endOffset 194 width 10.00: "g"
+            chunk 1 text run 195 at (347.50,210.00) startOffset 194 endOffset 195 width 9.00: "e"
+            chunk 1 text run 196 at (354.50,210.00) startOffset 195 endOffset 196 width 5.00: " "
+            chunk 1 text run 197 at (362.00,210.00) startOffset 196 endOffset 197 width 10.00: "n"
+            chunk 1 text run 198 at (372.00,210.00) startOffset 197 endOffset 198 width 10.00: "u"
+            chunk 1 text run 199 at (385.00,210.00) startOffset 198 endOffset 199 width 16.00: "m"
+            chunk 1 text run 200 at (398.00,210.00) startOffset 199 endOffset 200 width 10.00: "b"
+            chunk 1 text run 201 at (407.50,210.00) startOffset 200 endOffset 201 width 9.00: "e"
+            chunk 1 text run 202 at (415.50,210.00) startOffset 201 endOffset 202 width 7.00: "r"
+            chunk 1 text run 203 at (423.00,210.00) startOffset 202 endOffset 203 width 8.00: "s"
+            chunk 1 text run 204 at (29.50,230.00) startOffset 203 endOffset 204 width 5.00: " "
+            chunk 1 text run 205 at (37.00,230.00) startOffset 204 endOffset 205 width 10.00: "o"
+            chunk 1 text run 206 at (45.50,230.00) startOffset 205 endOffset 206 width 7.00: "f"
+            chunk 1 text run 207 at (51.50,230.00) startOffset 206 endOffset 207 width 5.00: " "
+            chunk 1 text run 208 at (58.50,230.00) startOffset 207 endOffset 208 width 9.00: "c"
+            chunk 1 text run 209 at (68.00,230.00) startOffset 208 endOffset 209 width 10.00: "h"
+            chunk 1 text run 210 at (77.50,230.00) startOffset 209 endOffset 210 width 9.00: "a"
+            chunk 1 text run 211 at (85.50,230.00) startOffset 210 endOffset 211 width 7.00: "r"
+            chunk 1 text run 212 at (93.50,230.00) startOffset 211 endOffset 212 width 9.00: "a"
+            chunk 1 text run 213 at (102.50,230.00) startOffset 212 endOffset 213 width 9.00: "c"
+            chunk 1 text run 214 at (110.00,230.00) startOffset 213 endOffset 214 width 6.00: "t"
+            chunk 1 text run 215 at (117.50,230.00) startOffset 214 endOffset 215 width 9.00: "e"
+            chunk 1 text run 216 at (125.50,230.00) startOffset 215 endOffset 216 width 7.00: "r"
+            chunk 1 text run 217 at (133.00,230.00) startOffset 216 endOffset 217 width 8.00: "s"
+            chunk 1 text run 218 at (139.50,230.00) startOffset 217 endOffset 218 width 5.00: " "
+            chunk 1 text run 219 at (146.50,230.00) startOffset 218 endOffset 219 width 9.00: "a"
+            chunk 1 text run 220 at (154.50,230.00) startOffset 219 endOffset 220 width 7.00: "r"
+            chunk 1 text run 221 at (162.50,230.00) startOffset 220 endOffset 221 width 9.00: "e"
+            chunk 1 text run 222 at (169.50,230.00) startOffset 221 endOffset 222 width 5.00: " "
+            chunk 1 text run 223 at (177.00,230.00) startOffset 222 endOffset 223 width 10.00: "p"
+            chunk 1 text run 224 at (186.50,230.00) startOffset 223 endOffset 224 width 9.00: "a"
+            chunk 1 text run 225 at (194.50,230.00) startOffset 224 endOffset 225 width 7.00: "r"
+            chunk 1 text run 226 at (201.00,230.00) startOffset 225 endOffset 226 width 6.00: "t"
+            chunk 1 text run 227 at (206.50,230.00) startOffset 226 endOffset 227 width 5.00: " "
+            chunk 1 text run 228 at (214.00,230.00) startOffset 227 endOffset 228 width 10.00: "o"
+            chunk 1 text run 229 at (222.50,230.00) startOffset 228 endOffset 229 width 7.00: "f"
+            chunk 1 text run 230 at (228.50,230.00) startOffset 229 endOffset 230 width 5.00: " "
+            chunk 1 text run 231 at (234.00,230.00) startOffset 230 endOffset 231 width 6.00: "t"
+            chunk 1 text run 232 at (242.00,230.00) startOffset 231 endOffset 232 width 10.00: "h"
+            chunk 1 text run 233 at (251.50,230.00) startOffset 232 endOffset 233 width 9.00: "e"
+            chunk 1 text run 234 at (258.50,230.00) startOffset 233 endOffset 234 width 5.00: " "
+            chunk 1 text run 235 at (265.00,230.00) startOffset 234 endOffset 235 width 8.00: "s"
+            chunk 1 text run 236 at (273.50,230.00) startOffset 235 endOffset 236 width 9.00: "e"
+            chunk 1 text run 237 at (281.00,230.00) startOffset 236 endOffset 237 width 6.00: "l"
+            chunk 1 text run 238 at (288.50,230.00) startOffset 237 endOffset 238 width 9.00: "e"
+            chunk 1 text run 239 at (297.50,230.00) startOffset 238 endOffset 239 width 9.00: "c"
+            chunk 1 text run 240 at (305.00,230.00) startOffset 239 endOffset 240 width 6.00: "t"
+            chunk 1 text run 241 at (311.00,230.00) startOffset 240 endOffset 241 width 6.00: "i"
+            chunk 1 text run 242 at (319.00,230.00) startOffset 241 endOffset 242 width 10.00: "o"
+            chunk 1 text run 243 at (329.00,230.00) startOffset 242 endOffset 243 width 10.00: "n"
+            chunk 1 text run 244 at (336.50,230.00) startOffset 243 endOffset 244 width 5.00: "."
+            chunk 1 text run 245 at (341.50,230.00) startOffset 244 endOffset 245 width 5.00: " "
+            chunk 1 text run 246 at (349.50,230.00) startOffset 245 endOffset 246 width 11.00: "S"
+            chunk 1 text run 247 at (358.00,230.00) startOffset 246 endOffset 247 width 6.00: "i"
+            chunk 1 text run 248 at (366.00,230.00) startOffset 247 endOffset 248 width 10.00: "n"
+            chunk 1 text run 249 at (375.50,230.00) startOffset 248 endOffset 249 width 9.00: "c"
+            chunk 1 text run 250 at (384.50,230.00) startOffset 249 endOffset 250 width 9.00: "e"
+            chunk 1 text run 251 at (391.50,230.00) startOffset 250 endOffset 251 width 5.00: " "
+            chunk 1 text run 252 at (397.50,230.00) startOffset 251 endOffset 252 width 7.00: "I"
+            chunk 1 text run 253 at (403.50,230.00) startOffset 252 endOffset 253 width 5.00: " "
+            chunk 1 text run 254 at (411.00,230.00) startOffset 253 endOffset 254 width 10.00: "h"
+            chunk 1 text run 255 at (420.50,230.00) startOffset 254 endOffset 255 width 9.00: "a"
+            chunk 1 text run 256 at (30.00,250.00) startOffset 255 endOffset 256 width 10.00: "v"
+            chunk 1 text run 257 at (39.50,250.00) startOffset 256 endOffset 257 width 9.00: "e"
+            chunk 1 text run 258 at (49.00,250.00) startOffset 257 endOffset 258 width 10.00: "n"
+            chunk 1 text run 259 at (56.00,250.00) startOffset 258 endOffset 259 width 4.00: "'"
+            chunk 1 text run 260 at (61.00,250.00) startOffset 259 endOffset 260 width 6.00: "t"
+            chunk 1 text run 261 at (66.50,250.00) startOffset 260 endOffset 261 width 5.00: " "
+            chunk 1 text run 262 at (72.50,250.00) startOffset 261 endOffset 262 width 7.00: "r"
+            chunk 1 text run 263 at (80.50,250.00) startOffset 262 endOffset 263 width 9.00: "e"
+            chunk 1 text run 264 at (89.50,250.00) startOffset 263 endOffset 264 width 9.00: "a"
+            chunk 1 text run 265 at (98.50,250.00) startOffset 264 endOffset 265 width 9.00: "c"
+            chunk 1 text run 266 at (108.00,250.00) startOffset 265 endOffset 266 width 10.00: "h"
+            chunk 1 text run 267 at (117.50,250.00) startOffset 266 endOffset 267 width 9.00: "e"
+            chunk 1 text run 268 at (127.00,250.00) startOffset 267 endOffset 268 width 10.00: "d"
+            chunk 1 text run 269 at (134.50,250.00) startOffset 268 endOffset 269 width 5.00: " "
+            chunk 1 text run 270 at (140.00,250.00) startOffset 269 endOffset 270 width 6.00: "t"
+            chunk 1 text run 271 at (148.00,250.00) startOffset 270 endOffset 271 width 10.00: "h"
+            chunk 1 text run 272 at (157.50,250.00) startOffset 271 endOffset 272 width 9.00: "e"
+            chunk 1 text run 273 at (164.50,250.00) startOffset 272 endOffset 273 width 5.00: " "
+            chunk 1 text run 274 at (171.50,250.00) startOffset 273 endOffset 274 width 9.00: "e"
+            chunk 1 text run 275 at (181.00,250.00) startOffset 274 endOffset 275 width 10.00: "n"
+            chunk 1 text run 276 at (191.00,250.00) startOffset 275 endOffset 276 width 10.00: "d"
+            chunk 1 text run 277 at (198.50,250.00) startOffset 276 endOffset 277 width 5.00: " "
+            chunk 1 text run 278 at (206.00,250.00) startOffset 277 endOffset 278 width 10.00: "y"
+            chunk 1 text run 279 at (215.50,250.00) startOffset 278 endOffset 279 width 9.00: "e"
+            chunk 1 text run 280 at (223.00,250.00) startOffset 279 endOffset 280 width 6.00: "t"
+            chunk 1 text run 281 at (228.50,250.00) startOffset 280 endOffset 281 width 5.00: ","
+            chunk 1 text run 282 at (233.50,250.00) startOffset 281 endOffset 282 width 5.00: " "
+            chunk 1 text run 283 at (239.00,250.00) startOffset 282 endOffset 283 width 6.00: "l"
+            chunk 1 text run 284 at (246.50,250.00) startOffset 283 endOffset 284 width 9.00: "e"
+            chunk 1 text run 285 at (254.00,250.00) startOffset 284 endOffset 285 width 6.00: "t"
+            chunk 1 text run 286 at (259.50,250.00) startOffset 285 endOffset 286 width 5.00: " "
+            chunk 1 text run 287 at (270.00,250.00) startOffset 286 endOffset 287 width 16.00: "m"
+            chunk 1 text run 288 at (282.50,250.00) startOffset 287 endOffset 288 width 9.00: "e"
+            chunk 1 text run 289 at (289.50,250.00) startOffset 288 endOffset 289 width 5.00: " "
+            chunk 1 text run 290 at (297.00,250.00) startOffset 289 endOffset 290 width 10.00: "k"
+            chunk 1 text run 291 at (306.50,250.00) startOffset 290 endOffset 291 width 9.00: "e"
+            chunk 1 text run 292 at (315.50,250.00) startOffset 291 endOffset 292 width 9.00: "e"
+            chunk 1 text run 293 at (325.00,250.00) startOffset 292 endOffset 293 width 10.00: "p"
+            chunk 1 text run 294 at (332.50,250.00) startOffset 293 endOffset 294 width 5.00: " "
+            chunk 1 text run 295 at (340.00,250.00) startOffset 294 endOffset 295 width 10.00: "g"
+            chunk 1 text run 296 at (350.00,250.00) startOffset 295 endOffset 296 width 10.00: "o"
+            chunk 1 text run 297 at (358.00,250.00) startOffset 296 endOffset 297 width 6.00: "i"
+            chunk 1 text run 298 at (366.00,250.00) startOffset 297 endOffset 298 width 10.00: "n"
+            chunk 1 text run 299 at (376.00,250.00) startOffset 298 endOffset 299 width 10.00: "g"
+            chunk 1 text run 300 at (383.50,250.00) startOffset 299 endOffset 300 width 5.00: " "
+            chunk 1 text run 301 at (393.00,250.00) startOffset 300 endOffset 301 width 14.00: "w"
+            chunk 1 text run 302 at (403.00,250.00) startOffset 301 endOffset 302 width 6.00: "i"
+            chunk 1 text run 303 at (409.00,250.00) startOffset 302 endOffset 303 width 6.00: "t"
+            chunk 1 text run 304 at (417.00,250.00) startOffset 303 endOffset 304 width 10.00: "h"
+            chunk 1 text run 305 at (424.50,250.00) startOffset 304 endOffset 305 width 5.00: " "
+            chunk 1 text run 306 at (35.00,270.00) startOffset 305 endOffset 306 width 16.00: "m"
+            chunk 1 text run 307 at (48.00,270.00) startOffset 306 endOffset 307 width 10.00: "o"
+            chunk 1 text run 308 at (56.50,270.00) startOffset 307 endOffset 308 width 7.00: "r"
+            chunk 1 text run 309 at (64.50,270.00) startOffset 308 endOffset 309 width 9.00: "e"
+            chunk 1 text run 310 at (71.50,270.00) startOffset 309 endOffset 310 width 5.00: " "
+            chunk 1 text run 311 at (77.50,270.00) startOffset 310 endOffset 311 width 7.00: "r"
+            chunk 1 text run 312 at (85.50,270.00) startOffset 311 endOffset 312 width 9.00: "e"
+            chunk 1 text run 313 at (94.50,270.00) startOffset 312 endOffset 313 width 9.00: "a"
+            chunk 1 text run 314 at (102.00,270.00) startOffset 313 endOffset 314 width 6.00: "l"
+            chunk 1 text run 315 at (108.00,270.00) startOffset 314 endOffset 315 width 6.00: "l"
+            chunk 1 text run 316 at (116.00,270.00) startOffset 315 endOffset 316 width 10.00: "y"
+            chunk 1 text run 317 at (123.50,270.00) startOffset 316 endOffset 317 width 5.00: " "
+            chunk 1 text run 318 at (131.00,270.00) startOffset 317 endOffset 318 width 10.00: "q"
+            chunk 1 text run 319 at (141.00,270.00) startOffset 318 endOffset 319 width 10.00: "u"
+            chunk 1 text run 320 at (149.00,270.00) startOffset 319 endOffset 320 width 6.00: "i"
+            chunk 1 text run 321 at (155.00,270.00) startOffset 320 endOffset 321 width 6.00: "t"
+            chunk 1 text run 322 at (162.50,270.00) startOffset 321 endOffset 322 width 9.00: "e"
+            chunk 1 text run 323 at (169.50,270.00) startOffset 322 endOffset 323 width 5.00: " "
+            chunk 1 text run 324 at (177.00,270.00) startOffset 323 endOffset 324 width 10.00: "u"
+            chunk 1 text run 325 at (186.00,270.00) startOffset 324 endOffset 325 width 8.00: "s"
+            chunk 1 text run 326 at (194.50,270.00) startOffset 325 endOffset 326 width 9.00: "e"
+            chunk 1 text run 327 at (202.00,270.00) startOffset 326 endOffset 327 width 6.00: "l"
+            chunk 1 text run 328 at (209.50,270.00) startOffset 327 endOffset 328 width 9.00: "e"
+            chunk 1 text run 329 at (218.00,270.00) startOffset 328 endOffset 329 width 8.00: "s"
+            chunk 1 text run 330 at (226.00,270.00) startOffset 329 endOffset 330 width 8.00: "s"
+            chunk 1 text run 331 at (232.50,270.00) startOffset 330 endOffset 331 width 5.00: " "
+            chunk 1 text run 332 at (238.00,270.00) startOffset 331 endOffset 332 width 6.00: "t"
+            chunk 1 text run 333 at (245.50,270.00) startOffset 332 endOffset 333 width 9.00: "e"
+            chunk 1 text run 334 at (255.00,270.00) startOffset 333 endOffset 334 width 10.00: "x"
+            chunk 1 text run 335 at (263.00,270.00) startOffset 334 endOffset 335 width 6.00: "t"
+            chunk 1 text run 336 at (268.50,270.00) startOffset 335 endOffset 336 width 5.00: " "
+            chunk 1 text run 337 at (274.00,270.00) startOffset 336 endOffset 337 width 6.00: "j"
+            chunk 1 text run 338 at (282.00,270.00) startOffset 337 endOffset 338 width 10.00: "u"
+            chunk 1 text run 339 at (291.00,270.00) startOffset 338 endOffset 339 width 8.00: "s"
+            chunk 1 text run 340 at (298.00,270.00) startOffset 339 endOffset 340 width 6.00: "t"
+            chunk 1 text run 341 at (303.50,270.00) startOffset 340 endOffset 341 width 5.00: " "
+            chunk 1 text run 342 at (309.00,270.00) startOffset 341 endOffset 342 width 6.00: "t"
+            chunk 1 text run 343 at (317.00,270.00) startOffset 342 endOffset 343 width 10.00: "o"
+            chunk 1 text run 344 at (324.50,270.00) startOffset 343 endOffset 344 width 5.00: " "
+            chunk 1 text run 345 at (331.00,270.00) startOffset 344 endOffset 345 width 8.00: "s"
+            chunk 1 text run 346 at (339.50,270.00) startOffset 345 endOffset 346 width 9.00: "e"
+            chunk 1 text run 347 at (348.50,270.00) startOffset 346 endOffset 347 width 9.00: "e"
+            chunk 1 text run 348 at (355.50,270.00) startOffset 347 endOffset 348 width 5.00: " "
+            chunk 1 text run 349 at (361.00,270.00) startOffset 348 endOffset 349 width 6.00: "i"
+            chunk 1 text run 350 at (367.50,270.00) startOffset 349 endOffset 350 width 7.00: "f"
+            chunk 1 text run 351 at (373.50,270.00) startOffset 350 endOffset 351 width 5.00: " "
+            chunk 1 text run 352 at (383.00,270.00) startOffset 351 endOffset 352 width 14.00: "w"
+            chunk 1 text run 353 at (394.50,270.00) startOffset 352 endOffset 353 width 9.00: "e"
+            chunk 1 text run 354 at (401.50,270.00) startOffset 353 endOffset 354 width 5.00: " "
+            chunk 1 text run 355 at (409.00,270.00) startOffset 354 endOffset 355 width 10.00: "h"
+            chunk 1 text run 356 at (417.00,270.00) startOffset 355 endOffset 356 width 6.00: "i"
+            chunk 1 text run 357 at (423.00,270.00) startOffset 356 endOffset 357 width 6.00: "t"
+            chunk 1 text run 358 at (28.50,290.00) startOffset 357 endOffset 358 width 5.00: " "
+            chunk 1 text run 359 at (35.50,290.00) startOffset 358 endOffset 359 width 9.00: "a"
+            chunk 1 text run 360 at (42.50,290.00) startOffset 359 endOffset 360 width 5.00: " "
+            chunk 1 text run 361 at (48.00,290.00) startOffset 360 endOffset 361 width 6.00: "l"
+            chunk 1 text run 362 at (54.00,290.00) startOffset 361 endOffset 362 width 6.00: "i"
+            chunk 1 text run 363 at (65.00,290.00) startOffset 362 endOffset 363 width 16.00: "m"
+            chunk 1 text run 364 at (76.00,290.00) startOffset 363 endOffset 364 width 6.00: "i"
+            chunk 1 text run 365 at (82.00,290.00) startOffset 364 endOffset 365 width 6.00: "t"
+            chunk 1 text run 366 at (87.50,290.00) startOffset 365 endOffset 366 width 5.00: " "
+            chunk 1 text run 367 at (97.00,290.00) startOffset 366 endOffset 367 width 14.00: "w"
+            chunk 1 text run 368 at (109.00,290.00) startOffset 367 endOffset 368 width 10.00: "h"
+            chunk 1 text run 369 at (118.50,290.00) startOffset 368 endOffset 369 width 9.00: "e"
+            chunk 1 text run 370 at (126.50,290.00) startOffset 369 endOffset 370 width 7.00: "r"
+            chunk 1 text run 371 at (134.50,290.00) startOffset 370 endOffset 371 width 9.00: "e"
+            chunk 1 text run 372 at (141.50,290.00) startOffset 371 endOffset 372 width 5.00: " "
+            chunk 1 text run 373 at (147.00,290.00) startOffset 372 endOffset 373 width 6.00: "i"
+            chunk 1 text run 374 at (153.00,290.00) startOffset 373 endOffset 374 width 6.00: "t"
+            chunk 1 text run 375 at (158.50,290.00) startOffset 374 endOffset 375 width 5.00: " "
+            chunk 1 text run 376 at (164.50,290.00) startOffset 375 endOffset 376 width 7.00: "r"
+            chunk 1 text run 377 at (172.50,290.00) startOffset 376 endOffset 377 width 9.00: "e"
+            chunk 1 text run 378 at (181.50,290.00) startOffset 377 endOffset 378 width 9.00: "a"
+            chunk 1 text run 379 at (189.00,290.00) startOffset 378 endOffset 379 width 6.00: "l"
+            chunk 1 text run 380 at (195.00,290.00) startOffset 379 endOffset 380 width 6.00: "l"
+            chunk 1 text run 381 at (203.00,290.00) startOffset 380 endOffset 381 width 10.00: "y"
+            chunk 1 text run 382 at (210.50,290.00) startOffset 381 endOffset 382 width 5.00: " "
+            chunk 1 text run 383 at (217.00,290.00) startOffset 382 endOffset 383 width 8.00: "s"
+            chunk 1 text run 384 at (224.00,290.00) startOffset 383 endOffset 384 width 6.00: "t"
+            chunk 1 text run 385 at (231.50,290.00) startOffset 384 endOffset 385 width 9.00: "a"
+            chunk 1 text run 386 at (239.50,290.00) startOffset 385 endOffset 386 width 7.00: "r"
+            chunk 1 text run 387 at (246.00,290.00) startOffset 386 endOffset 387 width 6.00: "t"
+            chunk 1 text run 388 at (253.00,290.00) startOffset 387 endOffset 388 width 8.00: "s"
+            chunk 1 text run 389 at (259.50,290.00) startOffset 388 endOffset 389 width 5.00: " "
+            chunk 1 text run 390 at (265.00,290.00) startOffset 389 endOffset 390 width 6.00: "t"
+            chunk 1 text run 391 at (273.00,290.00) startOffset 390 endOffset 391 width 10.00: "o"
+            chunk 1 text run 392 at (280.50,290.00) startOffset 391 endOffset 392 width 5.00: " "
+            chunk 1 text run 393 at (287.00,290.00) startOffset 392 endOffset 393 width 8.00: "s"
+            chunk 1 text run 394 at (294.00,290.00) startOffset 393 endOffset 394 width 6.00: "l"
+            chunk 1 text run 395 at (302.00,290.00) startOffset 394 endOffset 395 width 10.00: "o"
+            chunk 1 text run 396 at (314.00,290.00) startOffset 395 endOffset 396 width 14.00: "w"
+            chunk 1 text run 397 at (323.50,290.00) startOffset 396 endOffset 397 width 5.00: " "
+            chunk 1 text run 398 at (329.00,290.00) startOffset 397 endOffset 398 width 6.00: "t"
+            chunk 1 text run 399 at (337.00,290.00) startOffset 398 endOffset 399 width 10.00: "h"
+            chunk 1 text run 400 at (345.00,290.00) startOffset 399 endOffset 400 width 6.00: "i"
+            chunk 1 text run 401 at (353.00,290.00) startOffset 400 endOffset 401 width 10.00: "n"
+            chunk 1 text run 402 at (363.00,290.00) startOffset 401 endOffset 402 width 10.00: "g"
+            chunk 1 text run 403 at (372.00,290.00) startOffset 402 endOffset 403 width 8.00: "s"
+            chunk 1 text run 404 at (378.50,290.00) startOffset 403 endOffset 404 width 5.00: " "
+            chunk 1 text run 405 at (386.00,290.00) startOffset 404 endOffset 405 width 10.00: "d"
+            chunk 1 text run 406 at (396.00,290.00) startOffset 405 endOffset 406 width 10.00: "o"
+            chunk 1 text run 407 at (408.00,290.00) startOffset 406 endOffset 407 width 14.00: "w"
+            chunk 1 text run 408 at (420.00,290.00) startOffset 407 endOffset 408 width 10.00: "n"
+            chunk 1 text run 409 at (27.50,310.00) startOffset 408 endOffset 409 width 5.00: "."
+            chunk 1 text run 410 at (32.50,310.00) startOffset 409 endOffset 410 width 5.00: " "
+            chunk 1 text run 1 at (42.00,310.00) startOffset 0 endOffset 1 width 14.00: "H"
+            chunk 1 text run 2 at (54.00,310.00) startOffset 1 endOffset 2 width 10.00: "o"
+            chunk 1 text run 3 at (66.00,310.00) startOffset 2 endOffset 3 width 14.00: "w"
+            chunk 1 text run 4 at (77.50,310.00) startOffset 3 endOffset 4 width 9.00: "e"
+            chunk 1 text run 5 at (87.00,310.00) startOffset 4 endOffset 5 width 10.00: "v"
+            chunk 1 text run 6 at (96.50,310.00) startOffset 5 endOffset 6 width 9.00: "e"
+            chunk 1 text run 7 at (104.50,310.00) startOffset 6 endOffset 7 width 7.00: "r"
+            chunk 1 text run 8 at (110.50,310.00) startOffset 7 endOffset 8 width 5.00: " "
+            chunk 1 text run 9 at (116.00,310.00) startOffset 8 endOffset 9 width 6.00: "i"
+            chunk 1 text run 10 at (122.50,310.00) startOffset 9 endOffset 10 width 7.00: "f"
+            chunk 1 text run 11 at (128.50,310.00) startOffset 10 endOffset 11 width 5.00: " "
+            chunk 1 text run 12 at (134.00,310.00) startOffset 11 endOffset 12 width 6.00: "i"
+            chunk 1 text run 13 at (140.00,310.00) startOffset 12 endOffset 13 width 6.00: "t"
+            chunk 1 text run 14 at (145.50,310.00) startOffset 13 endOffset 14 width 5.00: " "
+            chunk 1 text run 15 at (153.00,310.00) startOffset 14 endOffset 15 width 10.00: "h"
+            chunk 1 text run 16 at (162.50,310.00) startOffset 15 endOffset 16 width 9.00: "a"
+            chunk 1 text run 17 at (171.00,310.00) startOffset 16 endOffset 17 width 8.00: "s"
+            chunk 1 text run 18 at (180.00,310.00) startOffset 17 endOffset 18 width 10.00: "n"
+            chunk 1 text run 19 at (187.00,310.00) startOffset 18 endOffset 19 width 4.00: "'"
+            chunk 1 text run 20 at (192.00,310.00) startOffset 19 endOffset 20 width 6.00: "t"
+            chunk 1 text run 21 at (197.50,310.00) startOffset 20 endOffset 21 width 5.00: " "
+            chunk 1 text run 22 at (204.00,310.00) startOffset 21 endOffset 22 width 8.00: "s"
+            chunk 1 text run 23 at (211.00,310.00) startOffset 22 endOffset 23 width 6.00: "l"
+            chunk 1 text run 24 at (219.00,310.00) startOffset 23 endOffset 24 width 10.00: "o"
+            chunk 1 text run 25 at (231.00,310.00) startOffset 24 endOffset 25 width 14.00: "w"
+            chunk 1 text run 26 at (242.50,310.00) startOffset 25 endOffset 26 width 9.00: "e"
+            chunk 1 text run 27 at (252.00,310.00) startOffset 26 endOffset 27 width 10.00: "d"
+            chunk 1 text run 28 at (259.50,310.00) startOffset 27 endOffset 28 width 5.00: " "
+            chunk 1 text run 29 at (267.00,310.00) startOffset 28 endOffset 29 width 10.00: "d"
+            chunk 1 text run 30 at (277.00,310.00) startOffset 29 endOffset 30 width 10.00: "o"
+            chunk 1 text run 31 at (289.00,310.00) startOffset 30 endOffset 31 width 14.00: "w"
+            chunk 1 text run 32 at (301.00,310.00) startOffset 31 endOffset 32 width 10.00: "n"
+            chunk 1 text run 33 at (308.50,310.00) startOffset 32 endOffset 33 width 5.00: " "
+            chunk 1 text run 34 at (316.00,310.00) startOffset 33 endOffset 34 width 10.00: "b"
+            chunk 1 text run 35 at (326.00,310.00) startOffset 34 endOffset 35 width 10.00: "y"
+            chunk 1 text run 36 at (333.50,310.00) startOffset 35 endOffset 36 width 5.00: " "
+            chunk 1 text run 37 at (341.00,310.00) startOffset 36 endOffset 37 width 10.00: "n"
+            chunk 1 text run 38 at (351.00,310.00) startOffset 37 endOffset 38 width 10.00: "o"
+            chunk 1 text run 39 at (363.00,310.00) startOffset 38 endOffset 39 width 14.00: "w"
+            chunk 1 text run 40 at (372.50,310.00) startOffset 39 endOffset 40 width 5.00: " "
+            chunk 1 text run 41 at (378.50,310.00) startOffset 40 endOffset 41 width 7.00: "I"
+            chunk 1 text run 42 at (384.00,310.00) startOffset 41 endOffset 42 width 4.00: "'"
+            chunk 1 text run 43 at (394.00,310.00) startOffset 42 endOffset 43 width 16.00: "m"
+            chunk 1 text run 44 at (404.50,310.00) startOffset 43 endOffset 44 width 5.00: " "
+            chunk 1 text run 45 at (412.00,310.00) startOffset 44 endOffset 45 width 10.00: "g"
+            chunk 1 text run 46 at (422.00,310.00) startOffset 45 endOffset 46 width 10.00: "u"
+            chunk 1 text run 47 at (31.50,330.00) startOffset 46 endOffset 47 width 9.00: "e"
+            chunk 1 text run 48 at (40.00,330.00) startOffset 47 endOffset 48 width 8.00: "s"
+            chunk 1 text run 49 at (48.00,330.00) startOffset 48 endOffset 49 width 8.00: "s"
+            chunk 1 text run 50 at (55.00,330.00) startOffset 49 endOffset 50 width 6.00: "i"
+            chunk 1 text run 51 at (63.00,330.00) startOffset 50 endOffset 51 width 10.00: "n"
+            chunk 1 text run 52 at (73.00,330.00) startOffset 51 endOffset 52 width 10.00: "g"
+            chunk 1 text run 53 at (80.50,330.00) startOffset 52 endOffset 53 width 5.00: " "
+            chunk 1 text run 54 at (86.00,330.00) startOffset 53 endOffset 54 width 6.00: "t"
+            chunk 1 text run 55 at (94.00,330.00) startOffset 54 endOffset 55 width 10.00: "h"
+            chunk 1 text run 56 at (103.50,330.00) startOffset 55 endOffset 56 width 9.00: "a"
+            chunk 1 text run 57 at (111.00,330.00) startOffset 56 endOffset 57 width 6.00: "t"
+            chunk 1 text run 58 at (116.50,330.00) startOffset 57 endOffset 58 width 5.00: " "
+            chunk 1 text run 59 at (122.00,330.00) startOffset 58 endOffset 59 width 6.00: "i"
+            chunk 1 text run 60 at (128.00,330.00) startOffset 59 endOffset 60 width 6.00: "t"
+            chunk 1 text run 61 at (133.50,330.00) startOffset 60 endOffset 61 width 5.00: " "
+            chunk 1 text run 62 at (143.00,330.00) startOffset 61 endOffset 62 width 14.00: "w"
+            chunk 1 text run 63 at (155.00,330.00) startOffset 62 endOffset 63 width 10.00: "o"
+            chunk 1 text run 64 at (165.00,330.00) startOffset 63 endOffset 64 width 10.00: "n"
+            chunk 1 text run 65 at (172.00,330.00) startOffset 64 endOffset 65 width 4.00: "'"
+            chunk 1 text run 66 at (177.00,330.00) startOffset 65 endOffset 66 width 6.00: "t"
+            chunk 1 text run 67 at (182.50,330.00) startOffset 66 endOffset 67 width 5.00: " "
+            chunk 1 text run 68 at (189.00,330.00) startOffset 67 endOffset 68 width 8.00: "s"
+            chunk 1 text run 69 at (196.00,330.00) startOffset 68 endOffset 69 width 6.00: "l"
+            chunk 1 text run 70 at (204.00,330.00) startOffset 69 endOffset 70 width 10.00: "o"
+            chunk 1 text run 71 at (216.00,330.00) startOffset 70 endOffset 71 width 14.00: "w"
+            chunk 1 text run 72 at (225.50,330.00) startOffset 71 endOffset 72 width 5.00: " "
+            chunk 1 text run 73 at (233.00,330.00) startOffset 72 endOffset 73 width 10.00: "d"
+            chunk 1 text run 74 at (243.00,330.00) startOffset 73 endOffset 74 width 10.00: "o"
+            chunk 1 text run 75 at (255.00,330.00) startOffset 74 endOffset 75 width 14.00: "w"
+            chunk 1 text run 76 at (267.00,330.00) startOffset 75 endOffset 76 width 10.00: "n"
+            chunk 1 text run 77 at (274.50,330.00) startOffset 76 endOffset 77 width 5.00: " "
+            chunk 1 text run 78 at (281.50,330.00) startOffset 77 endOffset 78 width 9.00: "a"
+            chunk 1 text run 79 at (289.00,330.00) startOffset 78 endOffset 79 width 6.00: "t"
+            chunk 1 text run 80 at (294.50,330.00) startOffset 79 endOffset 80 width 5.00: " "
+            chunk 1 text run 81 at (301.50,330.00) startOffset 80 endOffset 81 width 9.00: "a"
+            chunk 1 text run 82 at (309.00,330.00) startOffset 81 endOffset 82 width 6.00: "l"
+            chunk 1 text run 83 at (315.00,330.00) startOffset 82 endOffset 83 width 6.00: "l"
+            chunk 1 text run 84 at (320.50,330.00) startOffset 83 endOffset 84 width 5.00: "."
+            chunk 1 text run 85 at (325.50,330.00) startOffset 84 endOffset 85 width 5.00: " "
+            chunk 1 text run 1 at (334.50,330.00) startOffset 0 endOffset 1 width 13.00: "B"
+            chunk 1 text run 2 at (346.00,330.00) startOffset 1 endOffset 2 width 10.00: "u"
+            chunk 1 text run 3 at (354.00,330.00) startOffset 2 endOffset 3 width 6.00: "t"
+            chunk 1 text run 4 at (359.50,330.00) startOffset 3 endOffset 4 width 5.00: " "
+            chunk 1 text run 5 at (367.00,330.00) startOffset 4 endOffset 5 width 10.00: "y"
+            chunk 1 text run 6 at (377.00,330.00) startOffset 5 endOffset 6 width 10.00: "o"
+            chunk 1 text run 7 at (387.00,330.00) startOffset 6 endOffset 7 width 10.00: "u"
+            chunk 1 text run 8 at (394.50,330.00) startOffset 7 endOffset 8 width 5.00: " "
+            chunk 1 text run 9 at (402.00,330.00) startOffset 8 endOffset 9 width 10.00: "n"
+            chunk 1 text run 10 at (411.50,330.00) startOffset 9 endOffset 10 width 9.00: "e"
+            chunk 1 text run 11 at (421.00,330.00) startOffset 10 endOffset 11 width 10.00: "v"
+            chunk 1 text run 12 at (30.50,350.00) startOffset 11 endOffset 12 width 9.00: "e"
+            chunk 1 text run 13 at (38.50,350.00) startOffset 12 endOffset 13 width 7.00: "r"
+            chunk 1 text run 14 at (44.50,350.00) startOffset 13 endOffset 14 width 5.00: " "
+            chunk 1 text run 15 at (52.00,350.00) startOffset 14 endOffset 15 width 10.00: "k"
+            chunk 1 text run 16 at (62.00,350.00) startOffset 15 endOffset 16 width 10.00: "n"
+            chunk 1 text run 17 at (72.00,350.00) startOffset 16 endOffset 17 width 10.00: "o"
+            chunk 1 text run 18 at (84.00,350.00) startOffset 17 endOffset 18 width 14.00: "w"
+            chunk 1 text run 19 at (93.50,350.00) startOffset 18 endOffset 19 width 5.00: " "
+            chunk 1 text run 20 at (99.50,350.00) startOffset 19 endOffset 20 width 7.00: "f"
+            chunk 1 text run 21 at (108.00,350.00) startOffset 20 endOffset 21 width 10.00: "o"
+            chunk 1 text run 22 at (116.50,350.00) startOffset 21 endOffset 22 width 7.00: "r"
+            chunk 1 text run 23 at (122.50,350.00) startOffset 22 endOffset 23 width 5.00: " "
+            chunk 1 text run 24 at (129.00,350.00) startOffset 23 endOffset 24 width 8.00: "s"
+            chunk 1 text run 25 at (138.00,350.00) startOffset 24 endOffset 25 width 10.00: "u"
+            chunk 1 text run 26 at (146.50,350.00) startOffset 25 endOffset 26 width 7.00: "r"
+            chunk 1 text run 27 at (154.50,350.00) startOffset 26 endOffset 27 width 9.00: "e"
+            chunk 1 text run 28 at (161.50,350.00) startOffset 27 endOffset 28 width 5.00: " "
+            chunk 1 text run 29 at (169.00,350.00) startOffset 28 endOffset 29 width 10.00: "u"
+            chunk 1 text run 30 at (179.00,350.00) startOffset 29 endOffset 30 width 10.00: "n"
+            chunk 1 text run 31 at (187.00,350.00) startOffset 30 endOffset 31 width 6.00: "t"
+            chunk 1 text run 32 at (193.00,350.00) startOffset 31 endOffset 32 width 6.00: "i"
+            chunk 1 text run 33 at (199.00,350.00) startOffset 32 endOffset 33 width 6.00: "l"
+            chunk 1 text run 34 at (204.50,350.00) startOffset 33 endOffset 34 width 5.00: " "
+            chunk 1 text run 35 at (212.00,350.00) startOffset 34 endOffset 35 width 10.00: "y"
+            chunk 1 text run 36 at (222.00,350.00) startOffset 35 endOffset 36 width 10.00: "o"
+            chunk 1 text run 37 at (232.00,350.00) startOffset 36 endOffset 37 width 10.00: "u"
+            chunk 1 text run 38 at (239.50,350.00) startOffset 37 endOffset 38 width 5.00: " "
+            chunk 1 text run 39 at (245.00,350.00) startOffset 38 endOffset 39 width 6.00: "t"
+            chunk 1 text run 40 at (251.50,350.00) startOffset 39 endOffset 40 width 7.00: "r"
+            chunk 1 text run 41 at (260.00,350.00) startOffset 40 endOffset 41 width 10.00: "y"
+            chunk 1 text run 42 at (267.50,350.00) startOffset 41 endOffset 42 width 5.00: " "
+            chunk 1 text run 43 at (273.00,350.00) startOffset 42 endOffset 43 width 6.00: "i"
+            chunk 1 text run 44 at (279.00,350.00) startOffset 43 endOffset 44 width 6.00: "t"
+            chunk 1 text run 45 at (284.50,350.00) startOffset 44 endOffset 45 width 5.00: ","
+            chunk 1 text run 46 at (289.50,350.00) startOffset 45 endOffset 46 width 5.00: " "
+            chunk 1 text run 47 at (296.00,350.00) startOffset 46 endOffset 47 width 8.00: "s"
+            chunk 1 text run 48 at (305.00,350.00) startOffset 47 endOffset 48 width 10.00: "o"
+            chunk 1 text run 49 at (312.50,350.00) startOffset 48 endOffset 49 width 5.00: " "
+            chunk 1 text run 50 at (318.50,350.00) startOffset 49 endOffset 50 width 7.00: "I"
+            chunk 1 text run 51 at (324.50,350.00) startOffset 50 endOffset 51 width 5.00: " "
+            chunk 1 text run 52 at (331.50,350.00) startOffset 51 endOffset 52 width 9.00: "a"
+            chunk 1 text run 53 at (344.00,350.00) startOffset 52 endOffset 53 width 16.00: "m"
+            chunk 1 text run 54 at (354.50,350.00) startOffset 53 endOffset 54 width 5.00: ","
+            chunk 1 text run 55 at (359.50,350.00) startOffset 54 endOffset 55 width 5.00: " "
+            chunk 1 text run 56 at (366.50,350.00) startOffset 55 endOffset 56 width 9.00: "a"
+            chunk 1 text run 57 at (376.00,350.00) startOffset 56 endOffset 57 width 10.00: "n"
+            chunk 1 text run 58 at (386.00,350.00) startOffset 57 endOffset 58 width 10.00: "d"
+            chunk 1 text run 59 at (393.50,350.00) startOffset 58 endOffset 59 width 5.00: " "
+            chunk 1 text run 60 at (401.00,350.00) startOffset 59 endOffset 60 width 10.00: "h"
+            chunk 1 text run 61 at (410.50,350.00) startOffset 60 endOffset 61 width 9.00: "e"
+            chunk 1 text run 62 at (418.50,350.00) startOffset 61 endOffset 62 width 7.00: "r"
+            chunk 1 text run 63 at (26.50,370.00) startOffset 62 endOffset 63 width 9.00: "e"
+            chunk 1 text run 64 at (33.50,370.00) startOffset 63 endOffset 64 width 5.00: " "
+            chunk 1 text run 65 at (39.00,370.00) startOffset 64 endOffset 65 width 6.00: "i"
+            chunk 1 text run 66 at (46.00,370.00) startOffset 65 endOffset 66 width 8.00: "s"
+            chunk 1 text run 67 at (52.50,370.00) startOffset 66 endOffset 67 width 5.00: " "
+            chunk 1 text run 68 at (58.00,370.00) startOffset 67 endOffset 68 width 6.00: "t"
+            chunk 1 text run 69 at (66.00,370.00) startOffset 68 endOffset 69 width 10.00: "h"
+            chunk 1 text run 70 at (75.50,370.00) startOffset 69 endOffset 70 width 9.00: "e"
+            chunk 1 text run 71 at (82.50,370.00) startOffset 70 endOffset 71 width 5.00: " "
+            chunk 1 text run 72 at (88.50,370.00) startOffset 71 endOffset 72 width 7.00: "r"
+            chunk 1 text run 73 at (96.50,370.00) startOffset 72 endOffset 73 width 9.00: "e"
+            chunk 1 text run 74 at (105.00,370.00) startOffset 73 endOffset 74 width 8.00: "s"
+            chunk 1 text run 75 at (114.00,370.00) startOffset 74 endOffset 75 width 10.00: "u"
+            chunk 1 text run 76 at (122.00,370.00) startOffset 75 endOffset 76 width 6.00: "l"
+            chunk 1 text run 77 at (128.00,370.00) startOffset 76 endOffset 77 width 6.00: "t"
+            chunk 1 text run 78 at (133.50,370.00) startOffset 77 endOffset 78 width 5.00: "."
+            chunk 1 text run 79 at (138.50,370.00) startOffset 78 endOffset 79 width 5.00: " "
+            chunk 1 text run 1 at (146.50,370.00) startOffset 0 endOffset 1 width 11.00: "S"
+            chunk 1 text run 2 at (156.50,370.00) startOffset 1 endOffset 2 width 9.00: "e"
+            chunk 1 text run 3 at (164.00,370.00) startOffset 2 endOffset 3 width 6.00: "l"
+            chunk 1 text run 4 at (171.50,370.00) startOffset 3 endOffset 4 width 9.00: "e"
+            chunk 1 text run 5 at (180.50,370.00) startOffset 4 endOffset 5 width 9.00: "c"
+            chunk 1 text run 6 at (188.00,370.00) startOffset 5 endOffset 6 width 6.00: "t"
+            chunk 1 text run 7 at (194.00,370.00) startOffset 6 endOffset 7 width 6.00: "i"
+            chunk 1 text run 8 at (202.00,370.00) startOffset 7 endOffset 8 width 10.00: "o"
+            chunk 1 text run 9 at (212.00,370.00) startOffset 8 endOffset 9 width 10.00: "n"
+            chunk 1 text run 10 at (219.50,370.00) startOffset 9 endOffset 10 width 5.00: " "
+            chunk 1 text run 11 at (227.00,370.00) startOffset 10 endOffset 11 width 10.00: "d"
+            chunk 1 text run 12 at (237.00,370.00) startOffset 11 endOffset 12 width 10.00: "o"
+            chunk 1 text run 13 at (246.50,370.00) startOffset 12 endOffset 13 width 9.00: "e"
+            chunk 1 text run 14 at (255.00,370.00) startOffset 13 endOffset 14 width 8.00: "s"
+            chunk 1 text run 15 at (261.50,370.00) startOffset 14 endOffset 15 width 5.00: " "
+            chunk 1 text run 16 at (269.00,370.00) startOffset 15 endOffset 16 width 10.00: "b"
+            chunk 1 text run 17 at (279.00,370.00) startOffset 16 endOffset 17 width 10.00: "o"
+            chunk 1 text run 18 at (289.00,370.00) startOffset 17 endOffset 18 width 10.00: "g"
+            chunk 1 text run 19 at (296.50,370.00) startOffset 18 endOffset 19 width 5.00: " "
+            chunk 1 text run 20 at (304.00,370.00) startOffset 19 endOffset 20 width 10.00: "d"
+            chunk 1 text run 21 at (314.00,370.00) startOffset 20 endOffset 21 width 10.00: "o"
+            chunk 1 text run 22 at (326.00,370.00) startOffset 21 endOffset 22 width 14.00: "w"
+            chunk 1 text run 23 at (338.00,370.00) startOffset 22 endOffset 23 width 10.00: "n"
+            chunk 1 text run 24 at (345.50,370.00) startOffset 23 endOffset 24 width 5.00: " "
+            chunk 1 text run 25 at (352.50,370.00) startOffset 24 endOffset 25 width 9.00: "a"
+            chunk 1 text run 26 at (359.50,370.00) startOffset 25 endOffset 26 width 5.00: " "
+            chunk 1 text run 27 at (365.00,370.00) startOffset 26 endOffset 27 width 6.00: "l"
+            chunk 1 text run 28 at (371.00,370.00) startOffset 27 endOffset 28 width 6.00: "i"
+            chunk 1 text run 29 at (377.00,370.00) startOffset 28 endOffset 29 width 6.00: "t"
+            chunk 1 text run 30 at (383.00,370.00) startOffset 29 endOffset 30 width 6.00: "t"
+            chunk 1 text run 31 at (389.00,370.00) startOffset 30 endOffset 31 width 6.00: "l"
+            chunk 1 text run 32 at (396.50,370.00) startOffset 31 endOffset 32 width 9.00: "e"
+            chunk 1 text run 33 at (403.50,370.00) startOffset 32 endOffset 33 width 5.00: " "
+            chunk 1 text run 34 at (411.00,370.00) startOffset 33 endOffset 34 width 10.00: "n"
+            chunk 1 text run 35 at (420.50,370.00) startOffset 34 endOffset 35 width 9.00: "e"
+            chunk 1 text run 36 at (29.50,390.00) startOffset 35 endOffset 36 width 9.00: "a"
+            chunk 1 text run 37 at (37.50,390.00) startOffset 36 endOffset 37 width 7.00: "r"
+            chunk 1 text run 38 at (43.50,390.00) startOffset 37 endOffset 38 width 5.00: " "
+            chunk 1 text run 39 at (49.00,390.00) startOffset 38 endOffset 39 width 6.00: "t"
+            chunk 1 text run 40 at (57.00,390.00) startOffset 39 endOffset 40 width 10.00: "h"
+            chunk 1 text run 41 at (66.50,390.00) startOffset 40 endOffset 41 width 9.00: "e"
+            chunk 1 text run 42 at (73.50,390.00) startOffset 41 endOffset 42 width 5.00: " "
+            chunk 1 text run 43 at (80.50,390.00) startOffset 42 endOffset 43 width 9.00: "e"
+            chunk 1 text run 44 at (90.00,390.00) startOffset 43 endOffset 44 width 10.00: "n"
+            chunk 1 text run 45 at (100.00,390.00) startOffset 44 endOffset 45 width 10.00: "d"
+            chunk 1 text run 46 at (107.50,390.00) startOffset 45 endOffset 46 width 5.00: " "
+            chunk 1 text run 47 at (115.00,390.00) startOffset 46 endOffset 47 width 10.00: "b"
+            chunk 1 text run 48 at (125.00,390.00) startOffset 47 endOffset 48 width 10.00: "u"
+            chunk 1 text run 49 at (133.00,390.00) startOffset 48 endOffset 49 width 6.00: "t"
+            chunk 1 text run 50 at (138.50,390.00) startOffset 49 endOffset 50 width 5.00: " "
+            chunk 1 text run 51 at (144.00,390.00) startOffset 50 endOffset 51 width 6.00: "i"
+            chunk 1 text run 52 at (150.00,390.00) startOffset 51 endOffset 52 width 6.00: "t"
+            chunk 1 text run 53 at (155.00,390.00) startOffset 52 endOffset 53 width 4.00: "'"
+            chunk 1 text run 54 at (161.00,390.00) startOffset 53 endOffset 54 width 8.00: "s"
+            chunk 1 text run 55 at (167.50,390.00) startOffset 54 endOffset 55 width 5.00: " "
+            chunk 1 text run 56 at (173.50,390.00) startOffset 55 endOffset 56 width 7.00: "r"
+            chunk 1 text run 57 at (181.50,390.00) startOffset 56 endOffset 57 width 9.00: "e"
+            chunk 1 text run 58 at (191.00,390.00) startOffset 57 endOffset 58 width 10.00: "d"
+            chunk 1 text run 59 at (199.50,390.00) startOffset 58 endOffset 59 width 7.00: "r"
+            chunk 1 text run 60 at (207.50,390.00) startOffset 59 endOffset 60 width 9.00: "a"
+            chunk 1 text run 61 at (219.00,390.00) startOffset 60 endOffset 61 width 14.00: "w"
+            chunk 1 text run 62 at (228.50,390.00) startOffset 61 endOffset 62 width 5.00: " "
+            chunk 1 text run 63 at (234.50,390.00) startOffset 62 endOffset 63 width 7.00: "r"
+            chunk 1 text run 64 at (242.50,390.00) startOffset 63 endOffset 64 width 9.00: "e"
+            chunk 1 text run 65 at (250.00,390.00) startOffset 64 endOffset 65 width 6.00: "l"
+            chunk 1 text run 66 at (257.50,390.00) startOffset 65 endOffset 66 width 9.00: "a"
+            chunk 1 text run 67 at (265.00,390.00) startOffset 66 endOffset 67 width 6.00: "t"
+            chunk 1 text run 68 at (272.50,390.00) startOffset 67 endOffset 68 width 9.00: "e"
+            chunk 1 text run 69 at (282.00,390.00) startOffset 68 endOffset 69 width 10.00: "d"
+            chunk 1 text run 70 at (289.50,390.00) startOffset 69 endOffset 70 width 5.00: "."
         LayoutSVGInlineText {#text} at (0,0) size 0x0
     LayoutSVGContainer {use} at (1,1) size 446x496
       LayoutSVGContainer {g} at (1,1) size 446x496
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/smallFonts-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/smallFonts-expected.png
index 75cc7ad..78f628a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/smallFonts-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/smallFonts-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/smallFonts-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/smallFonts-expected.txt
index 9441a3f..7b8a3c7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/smallFonts-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/smallFonts-expected.txt
@@ -13,47 +13,47 @@
           chunk 1 (middle anchor) text run 1 at (1.91,1.00) startOffset 0 endOffset 41 width 5.18: "Small font size test (viewBox=\"0 0 9 10\")"
       LayoutSVGContainer {g} at (0.68,1.45) size 7.15x7.73
         LayoutSVGText {text} at (0.89,1.45) size 6.52x0.67 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0.89,1.73) size 2.11x0.33
-            chunk 1 text run 1 at (0.90,2.00) startOffset 0 endOffset 16 width 2.12: "Text can change "
+          LayoutSVGInlineText {#text} at (0.89,1.73) size 2.09x0.33
+            chunk 1 text run 1 at (0.90,2.00) startOffset 0 endOffset 16 width 2.10: "Text can change "
           LayoutSVGTSpan {tspan} at (0.89,1.45) size 6.52x0.67
-            LayoutSVGInlineText {#text} at (3.02,1.45) size 1.08x0.67
-              chunk 1 text run 1 at (3.02,2.00) startOffset 0 endOffset 5 width 1.08: "size,"
-          LayoutSVGInlineText {#text} at (4.09,1.73) size 0.08x0.33
-            chunk 1 text run 1 at (4.10,2.00) startOffset 0 endOffset 1 width 0.08: " "
+            LayoutSVGInlineText {#text} at (3,1.45) size 1.08x0.67
+              chunk 1 text run 1 at (3.00,2.00) startOffset 0 endOffset 5 width 1.08: "size,"
+          LayoutSVGInlineText {#text} at (4.08,1.73) size 0.08x0.33
+            chunk 1 text run 1 at (4.08,2.00) startOffset 0 endOffset 1 width 0.08: " "
           LayoutSVGTSpan {tspan} at (0.89,1.45) size 6.52x0.67
-            LayoutSVGInlineText {#text} at (4.17,1.66) size 1.47x0.44
-              chunk 1 text run 1 at (4.18,2.00) startOffset 0 endOffset 9 width 1.48: "typeface,"
-          LayoutSVGInlineText {#text} at (5.66,1.73) size 0.08x0.33
-            chunk 1 text run 1 at (5.66,2.00) startOffset 0 endOffset 1 width 0.08: " "
+            LayoutSVGInlineText {#text} at (4.16,1.66) size 1.47x0.44
+              chunk 1 text run 1 at (4.16,2.00) startOffset 0 endOffset 9 width 1.48: "typeface,"
+          LayoutSVGInlineText {#text} at (5.63,1.73) size 0.08x0.33
+            chunk 1 text run 1 at (5.64,2.00) startOffset 0 endOffset 1 width 0.08: " "
           LayoutSVGTSpan {tspan} at (0.89,1.45) size 6.52x0.67
-            LayoutSVGInlineText {#text} at (5.73,1.73) size 0.70x0.33
-              chunk 1 text run 1 at (5.74,2.00) startOffset 0 endOffset 6 width 0.71: "color,"
+            LayoutSVGInlineText {#text} at (5.72,1.73) size 0.72x0.33
+              chunk 1 text run 1 at (5.72,2.00) startOffset 0 endOffset 6 width 0.72: "color,"
           LayoutSVGInlineText {#text} at (6.44,1.73) size 0.41x0.33
-            chunk 1 text run 1 at (6.45,2.00) startOffset 0 endOffset 1 width 0.08: " "
-            chunk 1 text run 1 at (6.53,2.00) startOffset 0 endOffset 3 width 0.34: "or "
+            chunk 1 text run 1 at (6.44,2.00) startOffset 0 endOffset 1 width 0.08: " "
+            chunk 1 text run 1 at (6.52,2.00) startOffset 0 endOffset 3 width 0.34: "or "
           LayoutSVGTSpan {tspan} at (0.89,1.45) size 6.52x0.67
-            LayoutSVGInlineText {#text} at (6.84,1.73) size 0.58x0.33
-              chunk 1 text run 1 at (6.87,2.00) startOffset 0 endOffset 5 width 0.56: "style"
+            LayoutSVGInlineText {#text} at (6.83,1.73) size 0.58x0.33
+              chunk 1 text run 1 at (6.86,2.00) startOffset 0 endOffset 5 width 0.56: "style"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGText {text} at (0.89,2.13) size 3.50x0.33 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0.89,2.13) size 3.50x0.33
             chunk 1 text run 1 at (0.90,2.40) startOffset 0 endOffset 29 width 3.50: "within a single text element."
-        LayoutSVGText {text} at (0.89,2.91) size 6.80x0.36 contains 1 chunk(s)
+        LayoutSVGText {text} at (0.89,2.91) size 6.81x0.36 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0.89,2.94) size 3.02x0.33
             chunk 1 text run 1 at (0.90,3.20) startOffset 0 endOffset 25 width 3.02: "Styling features include "
-          LayoutSVGTSpan {tspan} at (0.89,2.91) size 6.80x0.36
+          LayoutSVGTSpan {tspan} at (0.89,2.91) size 6.81x0.36
             LayoutSVGInlineText {#text} at (3.91,2.91) size 0.94x0.33
               chunk 1 text run 1 at (3.92,3.20) startOffset 0 endOffset 7 width 0.94: "weight,"
           LayoutSVGInlineText {#text} at (4.86,2.94) size 0.08x0.33
             chunk 1 text run 1 at (4.86,3.20) startOffset 0 endOffset 1 width 0.08: " "
-          LayoutSVGTSpan {tspan} at (0.89,2.91) size 6.80x0.36
+          LayoutSVGTSpan {tspan} at (0.89,2.91) size 6.81x0.36
             LayoutSVGInlineText {#text} at (4.89,2.94) size 1.05x0.33
-              chunk 1 text run 1 at (4.94,3.20) startOffset 0 endOffset 8 width 1.01: "posture,"
-          LayoutSVGInlineText {#text} at (5.94,2.94) size 0.61x0.33
-            chunk 1 text run 1 at (5.95,3.20) startOffset 0 endOffset 5 width 0.62: " and "
-          LayoutSVGTSpan {tspan} at (0.89,2.91) size 6.80x0.36
-            LayoutSVGInlineText {#text} at (6.56,2.94) size 1.13x0.33
-              chunk 1 text run 1 at (6.57,3.20) startOffset 0 endOffset 9 width 1.14: "typeface."
+              chunk 1 text run 1 at (4.94,3.20) startOffset 0 endOffset 8 width 1.02: "posture,"
+          LayoutSVGInlineText {#text} at (5.95,2.94) size 0.61x0.33
+            chunk 1 text run 1 at (5.96,3.20) startOffset 0 endOffset 5 width 0.62: " and "
+          LayoutSVGTSpan {tspan} at (0.89,2.91) size 6.81x0.36
+            LayoutSVGInlineText {#text} at (6.58,2.94) size 1.13x0.33
+              chunk 1 text run 1 at (6.58,3.20) startOffset 0 endOffset 9 width 1.14: "typeface."
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGRect {rect} at (0.90,3.50) size 4.05x1 [fill={[type=SOLID] [color=#1E90FF]}] [x=0.90] [y=3.50] [width=4.05] [height=1.00]
         LayoutSVGText {text} at (0.89,3.73) size 6.31x0.33 contains 1 chunk(s)
@@ -94,22 +94,22 @@
             chunk 1 text run 1 at (4.18,5.40) startOffset 0 endOffset 23 width 2.62: " scripts are available."
         LayoutSVGText {text} at (0.89,5.94) size 6.94x0.33 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0.89,5.94) size 1.02x0.33
-            chunk 1 text run 1 at (0.90,6.20) startOffset 0 endOffset 8 width 1.03: "Various "
+            chunk 1 text run 1 at (0.90,6.20) startOffset 0 endOffset 8 width 1.02: "Various "
           LayoutSVGTSpan {tspan} at (0.89,5.94) size 6.94x0.33
-            LayoutSVGInlineText {#text} at (1.92,5.94) size 0.94x0.33
-              chunk 1 text run 1 at (1.93,6.20) startOffset 0 endOffset 8 width 0.94: "outline "
+            LayoutSVGInlineText {#text} at (1.91,5.94) size 0.94x0.33
+              chunk 1 text run 1 at (1.92,6.20) startOffset 0 endOffset 8 width 0.94: "outline "
           LayoutSVGInlineText {#text} at (2.86,5.94) size 0.86x0.33
-            chunk 1 text run 1 at (2.87,6.20) startOffset 0 endOffset 8 width 0.86: "styles, "
+            chunk 1 text run 1 at (2.86,6.20) startOffset 0 endOffset 8 width 0.86: "styles, "
           LayoutSVGTSpan {tspan} at (0.89,5.94) size 6.94x0.33
             LayoutSVGInlineText {#text} at (3.72,5.94) size 1.25x0.33
-              chunk 1 text run 1 at (3.73,6.20) startOffset 0 endOffset 12 width 1.26: "fill colors "
-          LayoutSVGInlineText {#text} at (4.98,5.94) size 0.53x0.33
-            chunk 1 text run 1 at (4.99,6.20) startOffset 0 endOffset 4 width 0.54: "and "
+              chunk 1 text run 1 at (3.72,6.20) startOffset 0 endOffset 12 width 1.26: "fill colors "
+          LayoutSVGInlineText {#text} at (4.97,5.94) size 0.53x0.33
+            chunk 1 text run 1 at (4.98,6.20) startOffset 0 endOffset 4 width 0.54: "and "
           LayoutSVGTSpan {tspan} at (0.89,5.94) size 6.94x0.33
             LayoutSVGInlineText {#text} at (5.52,5.94) size 1.50x0.33
-              chunk 1 text run 1 at (5.53,6.20) startOffset 0 endOffset 12 width 1.50: "thicknesses "
+              chunk 1 text run 1 at (5.52,6.20) startOffset 0 endOffset 12 width 1.50: "thicknesses "
           LayoutSVGInlineText {#text} at (7.02,5.94) size 0.81x0.33
-            chunk 1 text run 1 at (7.03,6.20) startOffset 0 endOffset 6 width 0.82: "can be"
+            chunk 1 text run 1 at (7.02,6.20) startOffset 0 endOffset 6 width 0.82: "can be"
         LayoutSVGText {text} at (0.89,6.33) size 6.89x0.33 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0.89,6.33) size 4.41x0.33
             chunk 1 text run 1 at (0.90,6.60) startOffset 0 endOffset 36 width 4.42: "used, and the outline stroke can be "
@@ -123,10 +123,10 @@
             LayoutSVGInlineText {#text} at (6.77,6.33) size 1.02x0.33
               chunk 1 text run 1 at (6.78,6.60) startOffset 0 endOffset 8 width 1.02: "mitered."
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (0.89,7.23) size 5.89x0.73 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0.89,7.23) size 5.89x0.33
-            chunk 1 text run 1 at (0.90,7.50) startOffset 0 endOffset 48 width 5.90: "Text elements also can be filtered, transformed "
-          LayoutSVGTSpan {tspan} at (0.89,7.23) size 5.89x0.73
+        LayoutSVGText {text} at (0.89,7.23) size 5.88x0.73 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0.89,7.23) size 5.88x0.33
+            chunk 1 text run 1 at (0.90,7.50) startOffset 0 endOffset 48 width 5.88: "Text elements also can be filtered, transformed "
+          LayoutSVGTSpan {tspan} at (0.89,7.23) size 5.88x0.73
             LayoutSVGInlineText {#text} at (0.89,7.63) size 2.67x0.33
               chunk 1 text run 1 at (0.90,7.90) startOffset 0 endOffset 21 width 2.68: "and placed on a path."
         LayoutSVGContainer {g} at (-0.82,-0.84) size 3.40x1.03 [transform={m=((1.00,0.00)(0.00,1.00)) t=(1.50,9.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration-expected.png
index 49b66bda..48f739fc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration-expected.txt
index 3867ce4..65dba1cc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration-expected.txt
@@ -11,9 +11,9 @@
           LayoutSVGRect {rect} at (0,5) size 5x5 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=5.00] [width=5.00] [height=5.00]
           LayoutSVGRect {rect} at (5,0) size 5x5 [fill={[type=SOLID] [color=#000000]}] [x=5.00] [y=0.00] [width=5.00] [height=5.00]
     LayoutSVGContainer {g} at (49,25) size 328x440
-      LayoutSVGText {text} at (156.38,25) size 138.22x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (156.38,25) size 138.22x18
-          chunk 1 (middle anchor) text run 1 at (156.39,40.00) startOffset 0 endOffset 20 width 137.23: "Text decoration test"
+      LayoutSVGText {text} at (156.50,25) size 138x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (156.50,25) size 138x18
+          chunk 1 (middle anchor) text run 1 at (156.50,40.00) startOffset 0 endOffset 20 width 137.00: "Text decoration test"
       LayoutSVGContainer {g} at (49,83) size 328x382
         LayoutSVGContainer {g} at (50,83) size 327x22
           LayoutSVGText {text} at (50,83) size 81x22 contains 1 chunk(s)
@@ -60,30 +60,30 @@
           LayoutSVGTSpan {tspan} at (50,273) size 187x32
             LayoutSVGInlineText {#text} at (189,283) size 48x22
               chunk 1 text run 1 at (189.00,300.00) startOffset 0 endOffset 6 width 48.00: " tspan"
-        LayoutSVGText {text} at (50,323) size 221.30x22 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (50,323) size 137.30x22
-            chunk 1 text run 1 at (50.00,340.00) startOffset 0 endOffset 17 width 137.30: "Transparent text "
-          LayoutSVGTSpan {tspan} at (50,323) size 221.30x22
-            LayoutSVGInlineText {#text} at (187.30,323) size 36x22
-              chunk 1 text run 1 at (187.30,340.00) startOffset 0 endOffset 4 width 36.00: "with"
-          LayoutSVGInlineText {#text} at (223.30,323) size 48x22
-            chunk 1 text run 1 at (223.30,340.00) startOffset 0 endOffset 6 width 48.00: " tspan"
-        LayoutSVGText {text} at (50,363) size 218.59x22 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (50,363) size 52.59x22
-            chunk 1 text run 1 at (50.00,380.00) startOffset 0 endOffset 6 width 52.60: "Tspan "
-          LayoutSVGTSpan {tspan} at (50,363) size 218.59x22
-            LayoutSVGInlineText {#text} at (102.59,363) size 75x22
-              chunk 1 text run 1 at (102.60,380.00) startOffset 0 endOffset 8 width 75.00: "with own"
-          LayoutSVGInlineText {#text} at (177.59,363) size 91x22
-            chunk 1 text run 1 at (177.60,380.00) startOffset 0 endOffset 11 width 91.00: " decoration"
-        LayoutSVGText {text} at (50,403) size 204.59x22 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (50,403) size 52.59x22
-            chunk 1 text run 1 at (50.00,420.00) startOffset 0 endOffset 6 width 52.60: "Tspan "
-          LayoutSVGTSpan {tspan} at (50,403) size 204.59x22
-            LayoutSVGInlineText {#text} at (102.59,403) size 61x22
-              chunk 1 text run 1 at (102.60,420.00) startOffset 0 endOffset 7 width 61.00: "with no"
-          LayoutSVGInlineText {#text} at (163.59,403) size 91x22
-            chunk 1 text run 1 at (163.60,420.00) startOffset 0 endOffset 11 width 91.00: " decoration"
+        LayoutSVGText {text} at (50,323) size 222x22 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (50,323) size 138x22
+            chunk 1 text run 1 at (50.00,340.00) startOffset 0 endOffset 17 width 138.00: "Transparent text "
+          LayoutSVGTSpan {tspan} at (50,323) size 222x22
+            LayoutSVGInlineText {#text} at (188,323) size 36x22
+              chunk 1 text run 1 at (188.00,340.00) startOffset 0 endOffset 4 width 36.00: "with"
+          LayoutSVGInlineText {#text} at (224,323) size 48x22
+            chunk 1 text run 1 at (224.00,340.00) startOffset 0 endOffset 6 width 48.00: " tspan"
+        LayoutSVGText {text} at (50,363) size 218x22 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (50,363) size 52x22
+            chunk 1 text run 1 at (50.00,380.00) startOffset 0 endOffset 6 width 52.00: "Tspan "
+          LayoutSVGTSpan {tspan} at (50,363) size 218x22
+            LayoutSVGInlineText {#text} at (102,363) size 75x22
+              chunk 1 text run 1 at (102.00,380.00) startOffset 0 endOffset 8 width 75.00: "with own"
+          LayoutSVGInlineText {#text} at (177,363) size 91x22
+            chunk 1 text run 1 at (177.00,380.00) startOffset 0 endOffset 11 width 91.00: " decoration"
+        LayoutSVGText {text} at (50,403) size 204x22 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (50,403) size 52x22
+            chunk 1 text run 1 at (50.00,420.00) startOffset 0 endOffset 6 width 52.00: "Tspan "
+          LayoutSVGTSpan {tspan} at (50,403) size 204x22
+            LayoutSVGInlineText {#text} at (102,403) size 61x22
+              chunk 1 text run 1 at (102.00,420.00) startOffset 0 endOffset 7 width 61.00: "with no"
+          LayoutSVGInlineText {#text} at (163,403) size 91x22
+            chunk 1 text run 1 at (163.00,420.00) startOffset 0 endOffset 11 width 91.00: " decoration"
         LayoutSVGText {text} at (49,443) size 204x22 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (49,443) size 62x22
             chunk 1 text run 1 at (50.00,460.00) startOffset 0 endOffset 7 width 61.00: "Nested "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration2-expected.png
index 814eb5f..548fc4c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration2-expected.txt
index 229c1ec..dce6a4f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textDecoration2-expected.txt
@@ -2,9 +2,9 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGText {text} at (111.38,25) size 227.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (111.38,25) size 227.22x18
-        chunk 1 (middle anchor) text run 1 at (111.39,40.00) startOffset 0 endOffset 33 width 227.23: "Text Decoration with dx, dy tests"
+    LayoutSVGText {text} at (111.50,25) size 227x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (111.50,25) size 227x18
+        chunk 1 (middle anchor) text run 1 at (111.50,40.00) startOffset 0 endOffset 33 width 227.00: "Text Decoration with dx, dy tests"
     LayoutSVGContainer {g} at (31,11) size 323x368 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,50.00)}]
       LayoutSVGText {text} at (31,11) size 123x53 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (31,11) size 80x17
@@ -24,198 +24,198 @@
         LayoutSVGTSpan {tspan} at (231,11) size 123x53
           LayoutSVGInlineText {#text} at (231,47) size 29x17
             chunk 1 text run 1 at (231.00,60.00) startOffset 0 endOffset 5 width 29.00: "lines"
-      LayoutSVGText {text} at (31,82) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,87) size 30.94x17
-          chunk 1 text run 1 at (31.00,100.00) startOffset 0 endOffset 5 width 30.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,82) size 90.94x27
-          LayoutSVGInlineText {#text} at (61.94,82) size 24x17
-            chunk 1 text run 1 at (61.95,95.00) startOffset 0 endOffset 4 width 23.00: "that"
-        LayoutSVGInlineText {#text} at (84.94,82) size 4x17
-          chunk 1 text run 1 at (84.95,95.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,82) size 90.94x27
-          LayoutSVGInlineText {#text} at (88.94,92) size 33x17
-            chunk 1 text run 1 at (88.95,105.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (31,112) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,117) size 30.94x17
-          chunk 1 text run 1 at (31.00,130.00) startOffset 0 endOffset 5 width 30.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,112) size 90.94x27
-          LayoutSVGInlineText {#text} at (61.94,112) size 24x17
-            chunk 1 text run 1 at (61.95,125.00) startOffset 0 endOffset 4 width 23.00: "that"
-        LayoutSVGInlineText {#text} at (84.94,112) size 4x17
-          chunk 1 text run 1 at (84.95,125.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,112) size 90.94x27
-          LayoutSVGInlineText {#text} at (88.94,122) size 33x17
-            chunk 1 text run 1 at (88.95,135.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (31,142) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,147) size 30.94x17
-          chunk 1 text run 1 at (31.00,160.00) startOffset 0 endOffset 5 width 30.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,142) size 90.94x27
-          LayoutSVGInlineText {#text} at (61.94,142) size 24x17
-            chunk 1 text run 1 at (61.95,155.00) startOffset 0 endOffset 4 width 23.00: "that"
-        LayoutSVGInlineText {#text} at (84.94,142) size 4x17
-          chunk 1 text run 1 at (84.95,155.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,142) size 90.94x27
-          LayoutSVGInlineText {#text} at (88.94,152) size 33x17
-            chunk 1 text run 1 at (88.95,165.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (31,177) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,187) size 30.94x17
-          chunk 1 text run 1 at (31.00,200.00) startOffset 0 endOffset 5 width 30.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,177) size 90.94x27
-          LayoutSVGInlineText {#text} at (61.94,182) size 24x17
-            chunk 1 text run 1 at (61.95,195.00) startOffset 0 endOffset 4 width 23.00: "that"
-        LayoutSVGInlineText {#text} at (84.94,182) size 4x17
-          chunk 1 text run 1 at (84.95,195.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,177) size 90.94x27
-          LayoutSVGInlineText {#text} at (88.94,177) size 33x17
-            chunk 1 text run 1 at (88.95,190.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (231,82) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (231,87) size 30.94x17
-          chunk 1 text run 1 at (231.00,100.00) startOffset 0 endOffset 5 width 30.95: "Text "
-        LayoutSVGTSpan {tspan} at (231,82) size 90.94x27
-          LayoutSVGInlineText {#text} at (261.94,82) size 24x17
-            chunk 1 text run 1 at (261.95,95.00) startOffset 0 endOffset 4 width 23.00: "that"
-        LayoutSVGInlineText {#text} at (284.94,82) size 4x17
-          chunk 1 text run 1 at (284.95,95.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (231,82) size 90.94x27
-          LayoutSVGInlineText {#text} at (288.94,92) size 33x17
-            chunk 1 text run 1 at (288.95,105.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (231,112) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (231,117) size 30.94x17
-          chunk 1 text run 1 at (231.00,130.00) startOffset 0 endOffset 5 width 30.95: "Text "
-        LayoutSVGTSpan {tspan} at (231,112) size 90.94x27
-          LayoutSVGInlineText {#text} at (261.94,112) size 24x17
-            chunk 1 text run 1 at (261.95,125.00) startOffset 0 endOffset 4 width 23.00: "that"
-        LayoutSVGInlineText {#text} at (284.94,112) size 4x17
-          chunk 1 text run 1 at (284.95,125.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (231,112) size 90.94x27
-          LayoutSVGInlineText {#text} at (288.94,122) size 33x17
-            chunk 1 text run 1 at (288.95,135.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (231,142) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (231,147) size 30.94x17
-          chunk 1 text run 1 at (231.00,160.00) startOffset 0 endOffset 5 width 30.95: "Text "
-        LayoutSVGTSpan {tspan} at (231,142) size 90.94x27
-          LayoutSVGInlineText {#text} at (261.94,142) size 24x17
-            chunk 1 text run 1 at (261.95,155.00) startOffset 0 endOffset 4 width 23.00: "that"
-        LayoutSVGInlineText {#text} at (284.94,142) size 4x17
-          chunk 1 text run 1 at (284.95,155.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (231,142) size 90.94x27
-          LayoutSVGInlineText {#text} at (288.94,152) size 33x17
-            chunk 1 text run 1 at (288.95,165.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (231,177) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (231,187) size 30.94x17
-          chunk 1 text run 1 at (231.00,200.00) startOffset 0 endOffset 5 width 30.95: "Text "
-        LayoutSVGTSpan {tspan} at (231,177) size 90.94x27
-          LayoutSVGInlineText {#text} at (261.94,182) size 24x17
-            chunk 1 text run 1 at (261.95,195.00) startOffset 0 endOffset 4 width 23.00: "that"
-        LayoutSVGInlineText {#text} at (284.94,182) size 4x17
-          chunk 1 text run 1 at (284.95,195.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (231,177) size 90.94x27
-          LayoutSVGInlineText {#text} at (288.94,177) size 33x17
-            chunk 1 text run 1 at (288.95,190.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (31,222) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,227) size 30.94x17
-          chunk 1 text run 1 at (31.00,240.00) startOffset 0 endOffset 5 width 30.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,222) size 90.94x27
-          LayoutSVGInlineText {#text} at (61.94,222) size 24x17
-            chunk 1 text run 1 at (61.95,235.00) startOffset 0 endOffset 4 width 23.00: "that"
-        LayoutSVGInlineText {#text} at (84.94,222) size 4x17
-          chunk 1 text run 1 at (84.95,235.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,222) size 90.94x27
-          LayoutSVGInlineText {#text} at (88.94,232) size 33x17
-            chunk 1 text run 1 at (88.95,245.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (31,252) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,257) size 30.94x17
-          chunk 1 text run 1 at (31.00,270.00) startOffset 0 endOffset 5 width 30.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,252) size 90.94x27
-          LayoutSVGInlineText {#text} at (61.94,252) size 24x17
-            chunk 1 text run 1 at (61.95,265.00) startOffset 0 endOffset 4 width 23.00: "that"
-        LayoutSVGInlineText {#text} at (84.94,252) size 4x17
-          chunk 1 text run 1 at (84.95,265.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,252) size 90.94x27
-          LayoutSVGInlineText {#text} at (88.94,262) size 33x17
-            chunk 1 text run 1 at (88.95,275.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (31,282) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,287) size 30.94x17
-          chunk 1 text run 1 at (31.00,300.00) startOffset 0 endOffset 5 width 30.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,282) size 90.94x27
-          LayoutSVGInlineText {#text} at (61.94,282) size 24x17
-            chunk 1 text run 1 at (61.95,295.00) startOffset 0 endOffset 4 width 23.00: "that"
-        LayoutSVGInlineText {#text} at (84.94,282) size 4x17
-          chunk 1 text run 1 at (84.95,295.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,282) size 90.94x27
-          LayoutSVGInlineText {#text} at (88.94,292) size 33x17
-            chunk 1 text run 1 at (88.95,305.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (31,307) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,317) size 30.94x17
-          chunk 1 text run 1 at (31.00,330.00) startOffset 0 endOffset 5 width 30.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,307) size 90.94x27
-          LayoutSVGInlineText {#text} at (61.94,312) size 24x17
-            chunk 1 text run 1 at (61.95,325.00) startOffset 0 endOffset 4 width 23.00: "that"
-        LayoutSVGInlineText {#text} at (84.94,312) size 4x17
-          chunk 1 text run 1 at (84.95,325.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,307) size 90.94x27
-          LayoutSVGInlineText {#text} at (88.94,307) size 33x17
-            chunk 1 text run 1 at (88.95,320.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (231,222) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGTSpan {tspan} at (231,222) size 90.94x27
-          LayoutSVGInlineText {#text} at (231,227) size 30.94x17
-            chunk 1 text run 1 at (231.00,240.00) startOffset 0 endOffset 5 width 30.95: "Text "
-          LayoutSVGTSpan {tspan} at (231,222) size 90.94x27
-            LayoutSVGInlineText {#text} at (261.94,222) size 24x17
-              chunk 1 text run 1 at (261.95,235.00) startOffset 0 endOffset 4 width 23.00: "that"
-          LayoutSVGInlineText {#text} at (284.94,222) size 4x17
-            chunk 1 text run 1 at (284.95,235.00) startOffset 0 endOffset 1 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (231,222) size 90.94x27
-            LayoutSVGInlineText {#text} at (288.94,232) size 33x17
-              chunk 1 text run 1 at (288.95,245.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (231,252) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGTSpan {tspan} at (231,252) size 90.94x27
-          LayoutSVGInlineText {#text} at (231,257) size 30.94x17
-            chunk 1 text run 1 at (231.00,270.00) startOffset 0 endOffset 5 width 30.95: "Text "
-          LayoutSVGTSpan {tspan} at (231,252) size 90.94x27
-            LayoutSVGTSpan {tspan} at (231,252) size 90.94x27
-              LayoutSVGInlineText {#text} at (261.94,252) size 24x17
-                chunk 1 text run 1 at (261.95,265.00) startOffset 0 endOffset 4 width 23.00: "that"
-          LayoutSVGInlineText {#text} at (284.94,252) size 4x17
-            chunk 1 text run 1 at (284.95,265.00) startOffset 0 endOffset 1 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (231,252) size 90.94x27
-            LayoutSVGInlineText {#text} at (288.94,262) size 33x17
-              chunk 1 text run 1 at (288.95,275.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (231,282) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGTSpan {tspan} at (231,282) size 90.94x27
-          LayoutSVGInlineText {#text} at (231,287) size 30.94x17
-            chunk 1 text run 1 at (231.00,300.00) startOffset 0 endOffset 5 width 30.95: "Text "
-          LayoutSVGTSpan {tspan} at (231,282) size 90.94x27
-            LayoutSVGInlineText {#text} at (261.94,282) size 24x17
-              chunk 1 text run 1 at (261.95,295.00) startOffset 0 endOffset 4 width 23.00: "that"
-          LayoutSVGInlineText {#text} at (284.94,282) size 4x17
-            chunk 1 text run 1 at (284.95,295.00) startOffset 0 endOffset 1 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (231,282) size 90.94x27
+      LayoutSVGText {text} at (31,82) size 90x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,87) size 30x17
+          chunk 1 text run 1 at (31.00,100.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,82) size 90x27
+          LayoutSVGInlineText {#text} at (61,82) size 24x17
+            chunk 1 text run 1 at (61.00,95.00) startOffset 0 endOffset 4 width 23.00: "that"
+        LayoutSVGInlineText {#text} at (84,82) size 4x17
+          chunk 1 text run 1 at (84.00,95.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,82) size 90x27
+          LayoutSVGInlineText {#text} at (88,92) size 33x17
+            chunk 1 text run 1 at (88.00,105.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (31,112) size 90x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,117) size 30x17
+          chunk 1 text run 1 at (31.00,130.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,112) size 90x27
+          LayoutSVGInlineText {#text} at (61,112) size 24x17
+            chunk 1 text run 1 at (61.00,125.00) startOffset 0 endOffset 4 width 23.00: "that"
+        LayoutSVGInlineText {#text} at (84,112) size 4x17
+          chunk 1 text run 1 at (84.00,125.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,112) size 90x27
+          LayoutSVGInlineText {#text} at (88,122) size 33x17
+            chunk 1 text run 1 at (88.00,135.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (31,142) size 90x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,147) size 30x17
+          chunk 1 text run 1 at (31.00,160.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,142) size 90x27
+          LayoutSVGInlineText {#text} at (61,142) size 24x17
+            chunk 1 text run 1 at (61.00,155.00) startOffset 0 endOffset 4 width 23.00: "that"
+        LayoutSVGInlineText {#text} at (84,142) size 4x17
+          chunk 1 text run 1 at (84.00,155.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,142) size 90x27
+          LayoutSVGInlineText {#text} at (88,152) size 33x17
+            chunk 1 text run 1 at (88.00,165.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (31,177) size 90x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,187) size 30x17
+          chunk 1 text run 1 at (31.00,200.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,177) size 90x27
+          LayoutSVGInlineText {#text} at (61,182) size 24x17
+            chunk 1 text run 1 at (61.00,195.00) startOffset 0 endOffset 4 width 23.00: "that"
+        LayoutSVGInlineText {#text} at (84,182) size 4x17
+          chunk 1 text run 1 at (84.00,195.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,177) size 90x27
+          LayoutSVGInlineText {#text} at (88,177) size 33x17
+            chunk 1 text run 1 at (88.00,190.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (231,82) size 90x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (231,87) size 30x17
+          chunk 1 text run 1 at (231.00,100.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (231,82) size 90x27
+          LayoutSVGInlineText {#text} at (261,82) size 24x17
+            chunk 1 text run 1 at (261.00,95.00) startOffset 0 endOffset 4 width 23.00: "that"
+        LayoutSVGInlineText {#text} at (284,82) size 4x17
+          chunk 1 text run 1 at (284.00,95.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (231,82) size 90x27
+          LayoutSVGInlineText {#text} at (288,92) size 33x17
+            chunk 1 text run 1 at (288.00,105.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (231,112) size 90x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (231,117) size 30x17
+          chunk 1 text run 1 at (231.00,130.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (231,112) size 90x27
+          LayoutSVGInlineText {#text} at (261,112) size 24x17
+            chunk 1 text run 1 at (261.00,125.00) startOffset 0 endOffset 4 width 23.00: "that"
+        LayoutSVGInlineText {#text} at (284,112) size 4x17
+          chunk 1 text run 1 at (284.00,125.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (231,112) size 90x27
+          LayoutSVGInlineText {#text} at (288,122) size 33x17
+            chunk 1 text run 1 at (288.00,135.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (231,142) size 90x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (231,147) size 30x17
+          chunk 1 text run 1 at (231.00,160.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (231,142) size 90x27
+          LayoutSVGInlineText {#text} at (261,142) size 24x17
+            chunk 1 text run 1 at (261.00,155.00) startOffset 0 endOffset 4 width 23.00: "that"
+        LayoutSVGInlineText {#text} at (284,142) size 4x17
+          chunk 1 text run 1 at (284.00,155.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (231,142) size 90x27
+          LayoutSVGInlineText {#text} at (288,152) size 33x17
+            chunk 1 text run 1 at (288.00,165.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (231,177) size 90x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (231,187) size 30x17
+          chunk 1 text run 1 at (231.00,200.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (231,177) size 90x27
+          LayoutSVGInlineText {#text} at (261,182) size 24x17
+            chunk 1 text run 1 at (261.00,195.00) startOffset 0 endOffset 4 width 23.00: "that"
+        LayoutSVGInlineText {#text} at (284,182) size 4x17
+          chunk 1 text run 1 at (284.00,195.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (231,177) size 90x27
+          LayoutSVGInlineText {#text} at (288,177) size 33x17
+            chunk 1 text run 1 at (288.00,190.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (31,222) size 90x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,227) size 30x17
+          chunk 1 text run 1 at (31.00,240.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,222) size 90x27
+          LayoutSVGInlineText {#text} at (61,222) size 24x17
+            chunk 1 text run 1 at (61.00,235.00) startOffset 0 endOffset 4 width 23.00: "that"
+        LayoutSVGInlineText {#text} at (84,222) size 4x17
+          chunk 1 text run 1 at (84.00,235.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,222) size 90x27
+          LayoutSVGInlineText {#text} at (88,232) size 33x17
+            chunk 1 text run 1 at (88.00,245.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (31,252) size 90x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,257) size 30x17
+          chunk 1 text run 1 at (31.00,270.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,252) size 90x27
+          LayoutSVGInlineText {#text} at (61,252) size 24x17
+            chunk 1 text run 1 at (61.00,265.00) startOffset 0 endOffset 4 width 23.00: "that"
+        LayoutSVGInlineText {#text} at (84,252) size 4x17
+          chunk 1 text run 1 at (84.00,265.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,252) size 90x27
+          LayoutSVGInlineText {#text} at (88,262) size 33x17
+            chunk 1 text run 1 at (88.00,275.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (31,282) size 90x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,287) size 30x17
+          chunk 1 text run 1 at (31.00,300.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,282) size 90x27
+          LayoutSVGInlineText {#text} at (61,282) size 24x17
+            chunk 1 text run 1 at (61.00,295.00) startOffset 0 endOffset 4 width 23.00: "that"
+        LayoutSVGInlineText {#text} at (84,282) size 4x17
+          chunk 1 text run 1 at (84.00,295.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,282) size 90x27
+          LayoutSVGInlineText {#text} at (88,292) size 33x17
+            chunk 1 text run 1 at (88.00,305.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (31,307) size 90x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,317) size 30x17
+          chunk 1 text run 1 at (31.00,330.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,307) size 90x27
+          LayoutSVGInlineText {#text} at (61,312) size 24x17
+            chunk 1 text run 1 at (61.00,325.00) startOffset 0 endOffset 4 width 23.00: "that"
+        LayoutSVGInlineText {#text} at (84,312) size 4x17
+          chunk 1 text run 1 at (84.00,325.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,307) size 90x27
+          LayoutSVGInlineText {#text} at (88,307) size 33x17
+            chunk 1 text run 1 at (88.00,320.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (231,222) size 90x27 contains 1 chunk(s)
+        LayoutSVGTSpan {tspan} at (231,222) size 90x27
+          LayoutSVGInlineText {#text} at (231,227) size 30x17
+            chunk 1 text run 1 at (231.00,240.00) startOffset 0 endOffset 5 width 30.00: "Text "
+          LayoutSVGTSpan {tspan} at (231,222) size 90x27
+            LayoutSVGInlineText {#text} at (261,222) size 24x17
+              chunk 1 text run 1 at (261.00,235.00) startOffset 0 endOffset 4 width 23.00: "that"
+          LayoutSVGInlineText {#text} at (284,222) size 4x17
+            chunk 1 text run 1 at (284.00,235.00) startOffset 0 endOffset 1 width 4.00: " "
+          LayoutSVGTSpan {tspan} at (231,222) size 90x27
+            LayoutSVGInlineText {#text} at (288,232) size 33x17
+              chunk 1 text run 1 at (288.00,245.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (231,252) size 90x27 contains 1 chunk(s)
+        LayoutSVGTSpan {tspan} at (231,252) size 90x27
+          LayoutSVGInlineText {#text} at (231,257) size 30x17
+            chunk 1 text run 1 at (231.00,270.00) startOffset 0 endOffset 5 width 30.00: "Text "
+          LayoutSVGTSpan {tspan} at (231,252) size 90x27
+            LayoutSVGTSpan {tspan} at (231,252) size 90x27
+              LayoutSVGInlineText {#text} at (261,252) size 24x17
+                chunk 1 text run 1 at (261.00,265.00) startOffset 0 endOffset 4 width 23.00: "that"
+          LayoutSVGInlineText {#text} at (284,252) size 4x17
+            chunk 1 text run 1 at (284.00,265.00) startOffset 0 endOffset 1 width 4.00: " "
+          LayoutSVGTSpan {tspan} at (231,252) size 90x27
+            LayoutSVGInlineText {#text} at (288,262) size 33x17
+              chunk 1 text run 1 at (288.00,275.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (231,282) size 90x27 contains 1 chunk(s)
+        LayoutSVGTSpan {tspan} at (231,282) size 90x27
+          LayoutSVGInlineText {#text} at (231,287) size 30x17
+            chunk 1 text run 1 at (231.00,300.00) startOffset 0 endOffset 5 width 30.00: "Text "
+          LayoutSVGTSpan {tspan} at (231,282) size 90x27
+            LayoutSVGInlineText {#text} at (261,282) size 24x17
+              chunk 1 text run 1 at (261.00,295.00) startOffset 0 endOffset 4 width 23.00: "that"
+          LayoutSVGInlineText {#text} at (284,282) size 4x17
+            chunk 1 text run 1 at (284.00,295.00) startOffset 0 endOffset 1 width 4.00: " "
+          LayoutSVGTSpan {tspan} at (231,282) size 90x27
             LayoutSVGInlineText {#text} at (0,0) size 0x0
-            LayoutSVGTSpan {tspan} at (231,282) size 90.94x27
-              LayoutSVGInlineText {#text} at (288.94,292) size 33x17
-                chunk 1 text run 1 at (288.95,305.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (231,312) size 90.94x27 contains 1 chunk(s)
-        LayoutSVGTSpan {tspan} at (231,312) size 90.94x27
-          LayoutSVGInlineText {#text} at (231,317) size 30.94x17
-            chunk 1 text run 1 at (231.00,330.00) startOffset 0 endOffset 5 width 30.95: "Text "
-          LayoutSVGTSpan {tspan} at (231,312) size 90.94x27
-            LayoutSVGTSpan {tspan} at (231,312) size 90.94x27
-              LayoutSVGInlineText {#text} at (261.94,312) size 27x17
-                chunk 1 text run 1 at (261.95,325.00) startOffset 0 endOffset 5 width 27.00: "that "
-              LayoutSVGTSpan {tspan} at (231,312) size 90.94x27
-                LayoutSVGTSpan {tspan} at (231,312) size 90.94x27
-                  LayoutSVGInlineText {#text} at (288.94,322) size 33x17
-                    chunk 1 text run 1 at (288.95,335.00) startOffset 0 endOffset 6 width 33.00: "shifts"
-      LayoutSVGText {text} at (131,347) size 90.94x32 contains 1 chunk(s)
-        LayoutSVGTSpan {tspan} at (131,347) size 90.94x32
-          LayoutSVGInlineText {#text} at (131,357) size 30.94x17
-            chunk 1 text run 1 at (131.00,370.00) startOffset 0 endOffset 5 width 30.95: "Text "
-          LayoutSVGTSpan {tspan} at (131,347) size 90.94x32
-            LayoutSVGInlineText {#text} at (161.94,347) size 24x17
-              chunk 1 text run 1 at (161.95,360.00) startOffset 0 endOffset 4 width 23.00: "that"
-          LayoutSVGInlineText {#text} at (184.94,347) size 4x17
-            chunk 1 text run 1 at (184.95,360.00) startOffset 0 endOffset 1 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (131,347) size 90.94x32
-            LayoutSVGInlineText {#text} at (188.94,362) size 33x17
-              chunk 1 text run 1 at (188.95,375.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+            LayoutSVGTSpan {tspan} at (231,282) size 90x27
+              LayoutSVGInlineText {#text} at (288,292) size 33x17
+                chunk 1 text run 1 at (288.00,305.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (231,312) size 90x27 contains 1 chunk(s)
+        LayoutSVGTSpan {tspan} at (231,312) size 90x27
+          LayoutSVGInlineText {#text} at (231,317) size 30x17
+            chunk 1 text run 1 at (231.00,330.00) startOffset 0 endOffset 5 width 30.00: "Text "
+          LayoutSVGTSpan {tspan} at (231,312) size 90x27
+            LayoutSVGTSpan {tspan} at (231,312) size 90x27
+              LayoutSVGInlineText {#text} at (261,312) size 27x17
+                chunk 1 text run 1 at (261.00,325.00) startOffset 0 endOffset 5 width 27.00: "that "
+              LayoutSVGTSpan {tspan} at (231,312) size 90x27
+                LayoutSVGTSpan {tspan} at (231,312) size 90x27
+                  LayoutSVGInlineText {#text} at (288,322) size 33x17
+                    chunk 1 text run 1 at (288.00,335.00) startOffset 0 endOffset 6 width 33.00: "shifts"
+      LayoutSVGText {text} at (131,347) size 90x32 contains 1 chunk(s)
+        LayoutSVGTSpan {tspan} at (131,347) size 90x32
+          LayoutSVGInlineText {#text} at (131,357) size 30x17
+            chunk 1 text run 1 at (131.00,370.00) startOffset 0 endOffset 5 width 30.00: "Text "
+          LayoutSVGTSpan {tspan} at (131,347) size 90x32
+            LayoutSVGInlineText {#text} at (161,347) size 24x17
+              chunk 1 text run 1 at (161.00,360.00) startOffset 0 endOffset 4 width 23.00: "that"
+          LayoutSVGInlineText {#text} at (184,347) size 4x17
+            chunk 1 text run 1 at (184.00,360.00) startOffset 0 endOffset 1 width 4.00: " "
+          LayoutSVGTSpan {tspan} at (131,347) size 90x32
+            LayoutSVGInlineText {#text} at (188,362) size 33x17
+              chunk 1 text run 1 at (188.00,375.00) startOffset 0 endOffset 6 width 33.00: "shifts"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textEffect-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textEffect-expected.png
index 06248184..de7ce89 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textEffect-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textEffect-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textEffect-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textEffect-expected.txt
index bfad892d..8a0c7b9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textEffect-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textEffect-expected.txt
@@ -2,7 +2,7 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGContainer {g} at (45.97,15) size 362.56x388
+    LayoutSVGContainer {g} at (46,15) size 362.50x388
       LayoutSVGText {text} at (136.50,15) size 178x18 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (136.50,15) size 178x18
           chunk 1 (middle anchor) text run 1 at (136.50,30.00) startOffset 0 endOffset 27 width 177.00: "Gradient and filter on text"
@@ -15,26 +15,26 @@
         LayoutSVGResourceFilter {filter} [id="dropShadow"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
           [feGaussianBlur stdDeviation="2.00, 2.00"]
             [SourceGraphic]
-      LayoutSVGText {text} at (45.97,112) size 149.03x60 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (45.97,112) size 149.03x60
-          chunk 1 (middle anchor) text run 1 at (45.98,160.00) startOffset 0 endOffset 5 width 148.04: "BATIK"
-      LayoutSVGText {text} at (252.45,112) size 156.08x61 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (252.45,112) size 156.08x61
-          chunk 1 (middle anchor) text run 1 at (252.46,160.00) startOffset 0 endOffset 5 width 155.09: "BATIK"
-      LayoutSVGText {text} at (45.97,212) size 149.03x60 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (45.97,212) size 149.03x60
-          chunk 1 (middle anchor) text run 1 at (45.98,260.00) startOffset 0 endOffset 5 width 148.04: "BATIK"
-      LayoutSVGText {text} at (252.45,212) size 156.08x61 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (252.45,212) size 156.08x61
-          chunk 1 (middle anchor) text run 1 at (252.46,260.00) startOffset 0 endOffset 5 width 155.09: "BATIK"
-      LayoutSVGText {text} at (45.97,312) size 149.03x60 contains 1 chunk(s)
-        [filter="dropShadow"] LayoutSVGResourceFilter {filter} at (31.07,306) size 178.84x72
-        LayoutSVGInlineText {#text} at (45.97,312) size 149.03x60
-          chunk 1 (middle anchor) text run 1 at (45.98,360.00) startOffset 0 endOffset 5 width 148.04: "BATIK"
-      LayoutSVGText {text} at (252.45,312) size 156.08x61 contains 1 chunk(s)
-        [filter="dropShadow"] LayoutSVGResourceFilter {filter} at (236.85,305.90) size 187.29x73.20
-        LayoutSVGInlineText {#text} at (252.45,312) size 156.08x61
-          chunk 1 (middle anchor) text run 1 at (252.46,360.00) startOffset 0 endOffset 5 width 155.09: "BATIK"
+      LayoutSVGText {text} at (46,112) size 149x60 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (46,112) size 149x60
+          chunk 1 (middle anchor) text run 1 at (46.00,160.00) startOffset 0 endOffset 5 width 148.00: "BATIK"
+      LayoutSVGText {text} at (252.50,112) size 156x61 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (252.50,112) size 156x61
+          chunk 1 (middle anchor) text run 1 at (252.50,160.00) startOffset 0 endOffset 5 width 155.00: "BATIK"
+      LayoutSVGText {text} at (46,212) size 149x60 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (46,212) size 149x60
+          chunk 1 (middle anchor) text run 1 at (46.00,260.00) startOffset 0 endOffset 5 width 148.00: "BATIK"
+      LayoutSVGText {text} at (252.50,212) size 156x61 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (252.50,212) size 156x61
+          chunk 1 (middle anchor) text run 1 at (252.50,260.00) startOffset 0 endOffset 5 width 155.00: "BATIK"
+      LayoutSVGText {text} at (46,312) size 149x60 contains 1 chunk(s)
+        [filter="dropShadow"] LayoutSVGResourceFilter {filter} at (31.10,306) size 178.80x72
+        LayoutSVGInlineText {#text} at (46,312) size 149x60
+          chunk 1 (middle anchor) text run 1 at (46.00,360.00) startOffset 0 endOffset 5 width 148.00: "BATIK"
+      LayoutSVGText {text} at (252.50,312) size 156x61 contains 1 chunk(s)
+        [filter="dropShadow"] LayoutSVGResourceFilter {filter} at (236.90,305.90) size 187.20x73.20
+        LayoutSVGInlineText {#text} at (252.50,312) size 156x61
+          chunk 1 (middle anchor) text run 1 at (252.50,360.00) startOffset 0 endOffset 5 width 155.00: "BATIK"
       LayoutSVGText {text} at (87.50,388) size 65x15 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (87.50,388) size 65x15
           chunk 1 (middle anchor) text run 1 at (87.50,400.00) startOffset 0 endOffset 13 width 65.00: "(System font)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textEffect2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textEffect2-expected.txt
index 30d241d..ade98ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textEffect2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textEffect2-expected.txt
@@ -12,20 +12,20 @@
       LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
         LayoutSVGResourceLinearGradient {linearGradient} [id="grad"] [gradientUnits=objectBoundingBox] [stops=( #FFD700@0.00 #FFA500@0.50 #DC143C@1.00 )] [start=(0,0)] [end=(1,0)]
         LayoutSVGResourceClipper {clipPath} [id="clip"] [clipPathUnits=userSpaceOnUse]
-          LayoutSVGText {text} at (100,152) size 149.03x60 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (100,152) size 149.03x60
-              chunk 1 text run 1 at (100.00,200.00) startOffset 0 endOffset 5 width 148.04: "BATIK"
+          LayoutSVGText {text} at (100,152) size 149x60 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (100,152) size 149x60
+              chunk 1 text run 1 at (100.00,200.00) startOffset 0 endOffset 5 width 148.00: "BATIK"
         LayoutSVGResourceClipper {clipPath} [id="svgClip"] [clipPathUnits=userSpaceOnUse]
-          LayoutSVGText {text} at (100,252) size 149.03x60 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (100,252) size 149.03x60
-              chunk 1 text run 1 at (100.00,300.00) startOffset 0 endOffset 5 width 148.04: "BATIK"
+          LayoutSVGText {text} at (100,252) size 149x60 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (100,252) size 149x60
+              chunk 1 text run 1 at (100.00,300.00) startOffset 0 endOffset 5 width 148.00: "BATIK"
       LayoutSVGRect {rect} at (100,160) size 200x45 [fill={[type=LINEAR-GRADIENT] [id="grad"]}] [x=100.00] [y=160.00] [width=200.00] [height=45.00]
-        [clipPath="clip"] LayoutSVGResourceClipper {clipPath} at (100,152) size 149.03x60
+        [clipPath="clip"] LayoutSVGResourceClipper {clipPath} at (100,152) size 149x60
       LayoutSVGText {text} at (300,188) size 65x15 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (300,188) size 65x15
           chunk 1 text run 1 at (300.00,200.00) startOffset 0 endOffset 13 width 65.00: "(System font)"
       LayoutSVGRect {rect} at (100,260) size 200x45 [fill={[type=LINEAR-GRADIENT] [id="grad"]}] [x=100.00] [y=260.00] [width=200.00] [height=45.00]
-        [clipPath="svgClip"] LayoutSVGResourceClipper {clipPath} at (100,252) size 149.03x60
+        [clipPath="svgClip"] LayoutSVGResourceClipper {clipPath} at (100,252) size 149x60
       LayoutSVGText {text} at (300,288) size 55x15 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (300,288) size 55x15
           chunk 1 text run 1 at (300.00,300.00) startOffset 0 endOffset 10 width 55.00: "(SVG font)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textFeatures-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textFeatures-expected.png
index 1468268..affb1a5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textFeatures-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textFeatures-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textFeatures-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textFeatures-expected.txt
index 614a438..54c6cf8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textFeatures-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textFeatures-expected.txt
@@ -6,53 +6,53 @@
       LayoutSVGResourceFilter {filter} [id="blur"] [filterUnits=userSpaceOnUse] [primitiveUnits=userSpaceOnUse]
         [feGaussianBlur stdDeviation="2.00, 2.00"]
           [SourceGraphic]
-    LayoutSVGContainer {g} at (45,36) size 347.33x449
-      LayoutSVGText {text} at (151.33,36) size 147.33x17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (151.33,36) size 147.33x17
-          chunk 1 (middle anchor) text run 1 at (151.33,50.00) startOffset 0 endOffset 21 width 147.34: "Text Element Features"
-      LayoutSVGContainer {g} at (45,73) size 347.33x412
-        LayoutSVGText {text} at (45,73) size 326.34x34 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (45,87) size 105.94x17
-            chunk 1 text run 1 at (45.00,100.00) startOffset 0 endOffset 16 width 105.95: "Text can change "
-          LayoutSVGTSpan {tspan} at (45,73) size 326.34x34
-            LayoutSVGInlineText {#text} at (150.94,73) size 54x34
-              chunk 1 text run 1 at (150.95,100.00) startOffset 0 endOffset 5 width 54.00: "size,"
-          LayoutSVGInlineText {#text} at (204.94,87) size 4x17
-            chunk 1 text run 1 at (204.95,100.00) startOffset 0 endOffset 1 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (45,73) size 326.34x34
-            LayoutSVGInlineText {#text} at (208.94,83) size 74x22
-              chunk 1 text run 1 at (208.95,100.00) startOffset 0 endOffset 9 width 74.00: "typeface,"
-          LayoutSVGInlineText {#text} at (282.94,87) size 4x17
-            chunk 1 text run 1 at (282.95,100.00) startOffset 0 endOffset 1 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (45,73) size 326.34x34
-            LayoutSVGInlineText {#text} at (286.94,87) size 35.39x17
-              chunk 1 text run 1 at (286.95,100.00) startOffset 0 endOffset 6 width 35.40: "color,"
-          LayoutSVGInlineText {#text} at (322.34,87) size 21x17
-            chunk 1 text run 1 at (322.35,100.00) startOffset 0 endOffset 1 width 4.00: " "
-            chunk 1 text run 1 at (326.35,100.00) startOffset 0 endOffset 3 width 17.00: "or "
-          LayoutSVGTSpan {tspan} at (45,73) size 326.34x34
-            LayoutSVGInlineText {#text} at (342.34,87) size 29x17
-              chunk 1 text run 1 at (343.35,100.00) startOffset 0 endOffset 5 width 28.00: "style"
+    LayoutSVGContainer {g} at (45,36) size 347x449
+      LayoutSVGText {text} at (151.50,36) size 147x17 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (151.50,36) size 147x17
+          chunk 1 (middle anchor) text run 1 at (151.50,50.00) startOffset 0 endOffset 21 width 147.00: "Text Element Features"
+      LayoutSVGContainer {g} at (45,73) size 347x412
+        LayoutSVGText {text} at (45,73) size 326x34 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (45,87) size 105x17
+            chunk 1 text run 1 at (45.00,100.00) startOffset 0 endOffset 16 width 105.00: "Text can change "
+          LayoutSVGTSpan {tspan} at (45,73) size 326x34
+            LayoutSVGInlineText {#text} at (150,73) size 54x34
+              chunk 1 text run 1 at (150.00,100.00) startOffset 0 endOffset 5 width 54.00: "size,"
+          LayoutSVGInlineText {#text} at (204,87) size 4x17
+            chunk 1 text run 1 at (204.00,100.00) startOffset 0 endOffset 1 width 4.00: " "
+          LayoutSVGTSpan {tspan} at (45,73) size 326x34
+            LayoutSVGInlineText {#text} at (208,83) size 74x22
+              chunk 1 text run 1 at (208.00,100.00) startOffset 0 endOffset 9 width 74.00: "typeface,"
+          LayoutSVGInlineText {#text} at (282,87) size 4x17
+            chunk 1 text run 1 at (282.00,100.00) startOffset 0 endOffset 1 width 4.00: " "
+          LayoutSVGTSpan {tspan} at (45,73) size 326x34
+            LayoutSVGInlineText {#text} at (286,87) size 36x17
+              chunk 1 text run 1 at (286.00,100.00) startOffset 0 endOffset 6 width 36.00: "color,"
+          LayoutSVGInlineText {#text} at (322,87) size 21x17
+            chunk 1 text run 1 at (322.00,100.00) startOffset 0 endOffset 1 width 4.00: " "
+            chunk 1 text run 1 at (326.00,100.00) startOffset 0 endOffset 3 width 17.00: "or "
+          LayoutSVGTSpan {tspan} at (45,73) size 326x34
+            LayoutSVGInlineText {#text} at (342,87) size 29x17
+              chunk 1 text run 1 at (343.00,100.00) startOffset 0 endOffset 5 width 28.00: "style"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGText {text} at (45,112) size 175x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (45,112) size 175x17
             chunk 1 text run 1 at (45.00,125.00) startOffset 0 endOffset 29 width 175.00: "within a single text element."
-        LayoutSVGText {text} at (45,161) size 340.44x18 contains 1 chunk(s)
+        LayoutSVGText {text} at (45,161) size 341x18 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (45,162) size 151x17
             chunk 1 text run 1 at (45.00,175.00) startOffset 0 endOffset 25 width 151.00: "Styling features include "
-          LayoutSVGTSpan {tspan} at (45,161) size 340.44x18
+          LayoutSVGTSpan {tspan} at (45,161) size 341x18
             LayoutSVGInlineText {#text} at (196,161) size 47x17
               chunk 1 text run 1 at (196.00,175.00) startOffset 0 endOffset 7 width 47.00: "weight,"
           LayoutSVGInlineText {#text} at (243,162) size 4x17
             chunk 1 text run 1 at (243.00,175.00) startOffset 0 endOffset 1 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (45,161) size 340.44x18
-            LayoutSVGInlineText {#text} at (245,162) size 52.44x17
-              chunk 1 text run 1 at (247.00,175.00) startOffset 0 endOffset 8 width 50.44: "posture,"
-          LayoutSVGInlineText {#text} at (297.44,162) size 31x17
-            chunk 1 text run 1 at (297.44,175.00) startOffset 0 endOffset 5 width 31.00: " and "
-          LayoutSVGTSpan {tspan} at (45,161) size 340.44x18
-            LayoutSVGInlineText {#text} at (328.44,162) size 57x17
-              chunk 1 text run 1 at (328.44,175.00) startOffset 0 endOffset 9 width 57.00: "typeface."
+          LayoutSVGTSpan {tspan} at (45,161) size 341x18
+            LayoutSVGInlineText {#text} at (245,162) size 53x17
+              chunk 1 text run 1 at (247.00,175.00) startOffset 0 endOffset 8 width 51.00: "posture,"
+          LayoutSVGInlineText {#text} at (298,162) size 31x17
+            chunk 1 text run 1 at (298.00,175.00) startOffset 0 endOffset 5 width 31.00: " and "
+          LayoutSVGTSpan {tspan} at (45,161) size 341x18
+            LayoutSVGInlineText {#text} at (329,162) size 57x17
+              chunk 1 text run 1 at (329.00,175.00) startOffset 0 endOffset 9 width 57.00: "typeface."
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGRect {rect} at (45,200) size 202.50x50 [fill={[type=SOLID] [color=#1E90FF]}] [x=45.00] [y=200.00] [width=202.50] [height=50.00]
         LayoutSVGText {text} at (45,212) size 316x17 contains 1 chunk(s)
@@ -107,24 +107,24 @@
           LayoutSVGInlineText {#text} at (291,312) size 96x17
             chunk 1 text run 1 at (291.00,325.00) startOffset 0 endOffset 1 width 4.00: " "
             chunk 1 text run 1 at (295.00,325.00) startOffset 0 endOffset 14 width 92.00: "by percentage."
-        LayoutSVGText {text} at (45,362) size 347.33x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (45,362) size 51.33x17
-            chunk 1 text run 1 at (45.00,375.00) startOffset 0 endOffset 8 width 51.34: "Various "
-          LayoutSVGTSpan {tspan} at (45,362) size 347.33x17
-            LayoutSVGInlineText {#text} at (96.33,362) size 47x17
-              chunk 1 text run 1 at (96.34,375.00) startOffset 0 endOffset 8 width 47.00: "outline "
-          LayoutSVGInlineText {#text} at (143.33,362) size 43x17
-            chunk 1 text run 1 at (143.34,375.00) startOffset 0 endOffset 8 width 43.00: "styles, "
-          LayoutSVGTSpan {tspan} at (45,362) size 347.33x17
-            LayoutSVGInlineText {#text} at (186.33,362) size 63x17
-              chunk 1 text run 1 at (186.34,375.00) startOffset 0 endOffset 12 width 63.00: "fill colors "
-          LayoutSVGInlineText {#text} at (249.33,362) size 27x17
-            chunk 1 text run 1 at (249.34,375.00) startOffset 0 endOffset 4 width 27.00: "and "
-          LayoutSVGTSpan {tspan} at (45,362) size 347.33x17
-            LayoutSVGInlineText {#text} at (276.33,362) size 75x17
-              chunk 1 text run 1 at (276.34,375.00) startOffset 0 endOffset 12 width 75.00: "thicknesses "
-          LayoutSVGInlineText {#text} at (351.33,362) size 41x17
-            chunk 1 text run 1 at (351.34,375.00) startOffset 0 endOffset 6 width 41.00: "can be"
+        LayoutSVGText {text} at (45,362) size 347x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (45,362) size 51x17
+            chunk 1 text run 1 at (45.00,375.00) startOffset 0 endOffset 8 width 51.00: "Various "
+          LayoutSVGTSpan {tspan} at (45,362) size 347x17
+            LayoutSVGInlineText {#text} at (96,362) size 47x17
+              chunk 1 text run 1 at (96.00,375.00) startOffset 0 endOffset 8 width 47.00: "outline "
+          LayoutSVGInlineText {#text} at (143,362) size 43x17
+            chunk 1 text run 1 at (143.00,375.00) startOffset 0 endOffset 8 width 43.00: "styles, "
+          LayoutSVGTSpan {tspan} at (45,362) size 347x17
+            LayoutSVGInlineText {#text} at (186,362) size 63x17
+              chunk 1 text run 1 at (186.00,375.00) startOffset 0 endOffset 12 width 63.00: "fill colors "
+          LayoutSVGInlineText {#text} at (249,362) size 27x17
+            chunk 1 text run 1 at (249.00,375.00) startOffset 0 endOffset 4 width 27.00: "and "
+          LayoutSVGTSpan {tspan} at (45,362) size 347x17
+            LayoutSVGInlineText {#text} at (276,362) size 75x17
+              chunk 1 text run 1 at (276.00,375.00) startOffset 0 endOffset 12 width 75.00: "thicknesses "
+          LayoutSVGInlineText {#text} at (351,362) size 41x17
+            chunk 1 text run 1 at (351.00,375.00) startOffset 0 endOffset 6 width 41.00: "can be"
         LayoutSVGText {text} at (45,387) size 345x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (45,387) size 221x17
             chunk 1 text run 1 at (45.00,400.00) startOffset 0 endOffset 36 width 221.00: "used, and the outline stroke can be "
@@ -138,9 +138,9 @@
             LayoutSVGInlineText {#text} at (339,387) size 51x17
               chunk 1 text run 1 at (339.00,400.00) startOffset 0 endOffset 8 width 51.00: "mitered."
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (45,437) size 159.94x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (45,437) size 159.94x17
-            chunk 1 text run 1 at (45.00,450.00) startOffset 0 endOffset 25 width 159.95: "Text elements also can be"
+        LayoutSVGText {text} at (45,437) size 159x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (45,437) size 159x17
+            chunk 1 text run 1 at (45.00,450.00) startOffset 0 endOffset 25 width 159.00: "Text elements also can be"
         LayoutSVGText {text} at (45,462) size 154x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (45,462) size 154x17
             chunk 1 text run 1 at (45.00,475.00) startOffset 0 endOffset 25 width 154.00: "filtered and transformed."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textGlyphOrientationHorizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textGlyphOrientationHorizontal-expected.txt
index 2b97bc0..ac39667 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textGlyphOrientationHorizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textGlyphOrientationHorizontal-expected.txt
@@ -5,9 +5,9 @@
     LayoutSVGHiddenContainer {defs} at (20,11.72) size 320x36.57
       LayoutSVGPath {path} at (20,11.72) size 160x36.57 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 20 40 C 40 20 60 0 80 20 C 100 40 120 60 140 40 C 160 20 180 20 180 20"]
       LayoutSVGPath {path} at (20,11.72) size 320x36.57 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 20 40 c 40 -20 80 -40 120 -20 c 40 20 80 40 120 20 c 40 -20 80 -20 80 -20"]
-    LayoutSVGText {text} at (130.88,15) size 188.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (130.88,15) size 188.22x18
-        chunk 1 (middle anchor) text run 1 at (130.89,30.00) startOffset 0 endOffset 27 width 188.23: "Text Orientation Horizontal"
+    LayoutSVGText {text} at (131,15) size 188x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (131,15) size 188x18
+        chunk 1 (middle anchor) text run 1 at (131.00,30.00) startOffset 0 endOffset 27 width 188.00: "Text Orientation Horizontal"
     LayoutSVGContainer {g} at (40.70,45.66) size 359.30x342.63
       LayoutSVGPath {line} at (50,80) size 150x0 [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [x1=50.00] [y1=80.00] [x2=200.00] [y2=80.00]
       LayoutSVGText {text} at (50,59) size 142x27 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout-expected.png
index 1d5a031..a733cd4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout-expected.txt
index a6bf94f8..52cb001 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout-expected.txt
@@ -7,9 +7,9 @@
         LayoutSVGInlineText {#text} at (0,-15) size 44x19
           chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 6 width 44.00: "sample"
     LayoutSVGContainer {g} at (38.22,36) size 370.78x421
-      LayoutSVGText {text} at (151.83,36) size 146.33x17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (151.83,36) size 146.33x17
-          chunk 1 (middle anchor) text run 1 at (151.83,50.00) startOffset 0 endOffset 22 width 146.34: "Text Layout Properties"
+      LayoutSVGText {text} at (152,36) size 146x17 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (152,36) size 146x17
+          chunk 1 (middle anchor) text run 1 at (152.00,50.00) startOffset 0 endOffset 22 width 146.00: "Text Layout Properties"
       LayoutSVGText {text} at (170,65) size 110x12 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (170,65) size 110x12
           chunk 1 (middle anchor) text run 1 at (170.00,75.00) startOffset 0 endOffset 26 width 110.00: "Explicit Glyph Positioning"
@@ -102,10 +102,10 @@
             chunk 1 text run 4 at (100.60,275.00) startOffset 3 endOffset 4 width 12.00: "p"
             chunk 1 text run 5 at (119.80,275.00) startOffset 4 endOffset 5 width 7.00: "l"
             chunk 1 text run 6 at (134.00,275.00) startOffset 5 endOffset 6 width 11.00: "e"
-        LayoutSVGText {text} at (40,282) size 75.83x10 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (40,282) size 75.83x10
-            chunk 1 text run 1 at (40.00,290.00) startOffset 0 endOffset 22 width 75.84: "letter-spacing=\"0.3em\""
-      LayoutSVGContainer {g} at (185,254) size 62.83x38
+        LayoutSVGText {text} at (40,282) size 76x10 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (40,282) size 76x10
+            chunk 1 text run 1 at (40.00,290.00) startOffset 0 endOffset 22 width 76.00: "letter-spacing=\"0.3em\""
+      LayoutSVGContainer {g} at (185,254) size 63x38
         LayoutSVGText {text} at (185,254) size 54x27 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (185,254) size 54x27
             chunk 1 text run 1 at (185.00,275.00) startOffset 0 endOffset 1 width 9.00: "s"
@@ -114,9 +114,9 @@
             chunk 1 text run 4 at (215.00,275.00) startOffset 3 endOffset 4 width 12.00: "p"
             chunk 1 text run 5 at (224.00,275.00) startOffset 4 endOffset 5 width 7.00: "l"
             chunk 1 text run 6 at (228.00,275.00) startOffset 5 endOffset 6 width 11.00: "e"
-        LayoutSVGText {text} at (185,282) size 62.83x10 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (185,282) size 62.83x10
-            chunk 1 text run 1 at (185.00,290.00) startOffset 0 endOffset 19 width 62.84: "letter-spacing=\"-3\""
+        LayoutSVGText {text} at (185,282) size 63x10 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (185,282) size 63x10
+            chunk 1 text run 1 at (185.00,290.00) startOffset 0 endOffset 19 width 63.00: "letter-spacing=\"-3\""
       LayoutSVGContainer {g} at (290,254) size 119x38
         LayoutSVGText {text} at (290,254) size 119x27 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (290,254) size 119x27
@@ -126,43 +126,43 @@
             chunk 1 text run 4 at (359.00,275.00) startOffset 3 endOffset 4 width 12.00: "p"
             chunk 1 text run 5 at (381.00,275.00) startOffset 4 endOffset 5 width 7.00: "l"
             chunk 1 text run 6 at (398.00,275.00) startOffset 5 endOffset 6 width 11.00: "e"
-        LayoutSVGText {text} at (290,282) size 63.83x10 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (290,282) size 63.83x10
-            chunk 1 text run 1 at (290.00,290.00) startOffset 0 endOffset 19 width 63.84: "letter-spacing=\"10\""
-      LayoutSVGText {text} at (171.89,310) size 106.19x12 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (171.89,310) size 106.19x12
-          chunk 1 (middle anchor) text run 1 at (171.90,320.00) startOffset 0 endOffset 23 width 106.20: "Word Spacing Adjustment"
+        LayoutSVGText {text} at (290,282) size 64x10 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (290,282) size 64x10
+            chunk 1 text run 1 at (290.00,290.00) startOffset 0 endOffset 19 width 64.00: "letter-spacing=\"10\""
+      LayoutSVGText {text} at (171.50,310) size 107x12 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (171.50,310) size 107x12
+          chunk 1 (middle anchor) text run 1 at (171.50,320.00) startOffset 0 endOffset 23 width 107.00: "Word Spacing Adjustment"
       LayoutSVGContainer {g} at (40,337) size 350x30
         LayoutSVGText {text} at (40,337) size 350x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (40,337) size 350x17
             chunk 1 text run 1 at (40.00,350.00) startOffset 0 endOffset 1 width 14.00: "W"
-            chunk 1 text run 2 at (54.29,350.00) startOffset 1 endOffset 2 width 4.00: "i"
-            chunk 1 text run 3 at (58.59,350.00) startOffset 2 endOffset 3 width 8.00: "d"
-            chunk 1 text run 4 at (67.18,350.00) startOffset 3 endOffset 4 width 7.00: "e"
-            chunk 1 text run 5 at (74.77,350.00) startOffset 4 endOffset 5 width 4.00: " "
-            chunk 1 text run 6 at (124.36,350.00) startOffset 5 endOffset 6 width 6.00: "s"
-            chunk 1 text run 7 at (130.96,350.00) startOffset 6 endOffset 7 width 7.00: "e"
-            chunk 1 text run 8 at (138.55,350.00) startOffset 7 endOffset 8 width 8.00: "p"
-            chunk 1 text run 9 at (147.14,350.00) startOffset 8 endOffset 9 width 7.00: "a"
-            chunk 1 text run 10 at (154.74,350.00) startOffset 9 endOffset 10 width 5.00: "r"
-            chunk 1 text run 11 at (160.33,350.00) startOffset 10 endOffset 11 width 7.00: "a"
-            chunk 1 text run 12 at (167.92,350.00) startOffset 11 endOffset 12 width 4.00: "t"
-            chunk 1 text run 13 at (172.51,350.00) startOffset 12 endOffset 13 width 4.00: "i"
-            chunk 1 text run 14 at (177.11,350.00) startOffset 13 endOffset 14 width 8.00: "o"
-            chunk 1 text run 15 at (185.70,350.00) startOffset 14 endOffset 15 width 8.00: "n"
-            chunk 1 text run 16 at (194.29,350.00) startOffset 15 endOffset 16 width 4.00: " "
-            chunk 1 text run 17 at (243.89,350.00) startOffset 16 endOffset 17 width 8.00: "b"
-            chunk 1 text run 18 at (252.48,350.00) startOffset 17 endOffset 18 width 7.00: "e"
-            chunk 1 text run 19 at (260.07,350.00) startOffset 18 endOffset 19 width 4.00: "t"
-            chunk 1 text run 20 at (264.66,350.00) startOffset 19 endOffset 20 width 11.00: "w"
-            chunk 1 text run 21 at (276.26,350.00) startOffset 20 endOffset 21 width 7.00: "e"
-            chunk 1 text run 22 at (283.85,350.00) startOffset 21 endOffset 22 width 7.00: "e"
-            chunk 1 text run 23 at (291.44,350.00) startOffset 22 endOffset 23 width 8.00: "n"
-            chunk 1 text run 24 at (300.04,350.00) startOffset 23 endOffset 24 width 4.00: " "
-            chunk 1 text run 25 at (349.63,350.00) startOffset 24 endOffset 25 width 11.00: "w"
-            chunk 1 text run 26 at (361.22,350.00) startOffset 25 endOffset 26 width 8.00: "o"
-            chunk 1 text run 27 at (369.81,350.00) startOffset 26 endOffset 27 width 5.00: "r"
-            chunk 1 text run 28 at (375.41,350.00) startOffset 27 endOffset 28 width 8.00: "d"
+            chunk 1 text run 2 at (54.57,350.00) startOffset 1 endOffset 2 width 4.00: "i"
+            chunk 1 text run 3 at (59.14,350.00) startOffset 2 endOffset 3 width 8.00: "d"
+            chunk 1 text run 4 at (67.71,350.00) startOffset 3 endOffset 4 width 7.00: "e"
+            chunk 1 text run 5 at (75.29,350.00) startOffset 4 endOffset 5 width 4.00: " "
+            chunk 1 text run 6 at (124.86,350.00) startOffset 5 endOffset 6 width 6.00: "s"
+            chunk 1 text run 7 at (131.43,350.00) startOffset 6 endOffset 7 width 7.00: "e"
+            chunk 1 text run 8 at (139.00,350.00) startOffset 7 endOffset 8 width 8.00: "p"
+            chunk 1 text run 9 at (147.57,350.00) startOffset 8 endOffset 9 width 7.00: "a"
+            chunk 1 text run 10 at (155.14,350.00) startOffset 9 endOffset 10 width 5.00: "r"
+            chunk 1 text run 11 at (160.71,350.00) startOffset 10 endOffset 11 width 7.00: "a"
+            chunk 1 text run 12 at (168.29,350.00) startOffset 11 endOffset 12 width 4.00: "t"
+            chunk 1 text run 13 at (172.86,350.00) startOffset 12 endOffset 13 width 4.00: "i"
+            chunk 1 text run 14 at (177.43,350.00) startOffset 13 endOffset 14 width 8.00: "o"
+            chunk 1 text run 15 at (186.00,350.00) startOffset 14 endOffset 15 width 8.00: "n"
+            chunk 1 text run 16 at (194.57,350.00) startOffset 15 endOffset 16 width 4.00: " "
+            chunk 1 text run 17 at (244.14,350.00) startOffset 16 endOffset 17 width 8.00: "b"
+            chunk 1 text run 18 at (252.71,350.00) startOffset 17 endOffset 18 width 7.00: "e"
+            chunk 1 text run 19 at (260.29,350.00) startOffset 18 endOffset 19 width 4.00: "t"
+            chunk 1 text run 20 at (264.86,350.00) startOffset 19 endOffset 20 width 11.00: "w"
+            chunk 1 text run 21 at (276.43,350.00) startOffset 20 endOffset 21 width 7.00: "e"
+            chunk 1 text run 22 at (284.00,350.00) startOffset 21 endOffset 22 width 7.00: "e"
+            chunk 1 text run 23 at (291.57,350.00) startOffset 22 endOffset 23 width 8.00: "n"
+            chunk 1 text run 24 at (300.14,350.00) startOffset 23 endOffset 24 width 4.00: " "
+            chunk 1 text run 25 at (349.71,350.00) startOffset 24 endOffset 25 width 11.00: "w"
+            chunk 1 text run 26 at (361.29,350.00) startOffset 25 endOffset 26 width 8.00: "o"
+            chunk 1 text run 27 at (369.86,350.00) startOffset 26 endOffset 27 width 5.00: "r"
+            chunk 1 text run 28 at (375.43,350.00) startOffset 27 endOffset 28 width 8.00: "d"
             chunk 1 text run 29 at (384.00,350.00) startOffset 28 endOffset 29 width 6.00: "s"
         LayoutSVGText {text} at (40,357) size 130x10 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (40,357) size 130x10
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout2-expected.png
index f4ce3cf..5f2e49a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout2-expected.txt
index b3055bc..d42bcc85 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textLayout2-expected.txt
@@ -7,9 +7,9 @@
         LayoutSVGInlineText {#text} at (0,-15) size 44x19
           chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 6 width 44.00: "sample"
     LayoutSVGContainer {g} at (90,36) size 250x436.47
-      LayoutSVGText {text} at (140.83,36) size 168.33x17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (140.83,36) size 168.33x17
-          chunk 1 (middle anchor) text run 1 at (140.83,50.00) startOffset 0 endOffset 26 width 168.34: "Text Layout Properties (2)"
+      LayoutSVGText {text} at (141,36) size 168x17 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (141,36) size 168x17
+          chunk 1 (middle anchor) text run 1 at (141.00,50.00) startOffset 0 endOffset 26 width 168.00: "Text Layout Properties (2)"
       LayoutSVGText {text} at (186.50,65) size 77x12 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (186.50,65) size 77x12
           chunk 1 (middle anchor) text run 1 at (186.50,75.00) startOffset 0 endOffset 19 width 77.00: "Baseline Properties"
@@ -43,19 +43,19 @@
         LayoutSVGText {text} at (184,172) size 81x10 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (184,172) size 81x10
             chunk 1 (middle anchor) text run 1 at (185.00,180.00) startOffset 0 endOffset 23 width 80.00: "baseline-shift=\"+/-20%\""
-      LayoutSVGText {text} at (174.34,200) size 101.30x12 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (174.34,200) size 101.30x12
-          chunk 1 (middle anchor) text run 1 at (174.35,210.00) startOffset 0 endOffset 25 width 101.30: "Multi-line Text Selection"
-      LayoutSVGText {text} at (159.84,218) size 130.30x9 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (159.84,218) size 130.30x9
-          chunk 1 (middle anchor) text run 1 at (159.85,225.00) startOffset 0 endOffset 42 width 130.31: "(Try selecting the following text regions)"
-      LayoutSVGText {text} at (120,237) size 209.94x32 contains 1 chunk(s)
-        LayoutSVGTSpan {tspan} at (120,237) size 209.94x32
-          LayoutSVGInlineText {#text} at (120,237) size 205.94x17
-            chunk 1 text run 1 at (120.00,250.00) startOffset 0 endOffset 33 width 205.95: "Text selections can span multiple"
-        LayoutSVGInlineText {#text} at (325.94,237) size 4x17
-          chunk 1 text run 1 at (325.95,250.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (120,237) size 209.94x32
+      LayoutSVGText {text} at (174,200) size 102x12 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (174,200) size 102x12
+          chunk 1 (middle anchor) text run 1 at (174.00,210.00) startOffset 0 endOffset 25 width 102.00: "Multi-line Text Selection"
+      LayoutSVGText {text} at (159.50,218) size 131x9 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (159.50,218) size 131x9
+          chunk 1 (middle anchor) text run 1 at (159.50,225.00) startOffset 0 endOffset 42 width 131.00: "(Try selecting the following text regions)"
+      LayoutSVGText {text} at (120,237) size 209x32 contains 1 chunk(s)
+        LayoutSVGTSpan {tspan} at (120,237) size 209x32
+          LayoutSVGInlineText {#text} at (120,237) size 205x17
+            chunk 1 text run 1 at (120.00,250.00) startOffset 0 endOffset 33 width 205.00: "Text selections can span multiple"
+        LayoutSVGInlineText {#text} at (325,237) size 4x17
+          chunk 1 text run 1 at (325.00,250.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (120,237) size 209x32
           LayoutSVGInlineText {#text} at (120,252) size 168x17
             chunk 1 text run 1 at (120.00,265.00) startOffset 0 endOffset 27 width 168.00: "lines via <tspan> elements."
         LayoutSVGInlineText {#text} at (0,0) size 0x0
@@ -93,20 +93,20 @@
           chunk 1 text run 1 at (0.00,60.00) startOffset 0 endOffset 1 width 9.00: "a"
           chunk 1 text run 1 at (0.00,40.00) startOffset 0 endOffset 1 width 7.00: "r"
           chunk 1 text run 1 at (0.00,20.00) startOffset 0 endOffset 1 width 9.00: "e"
-      LayoutSVGText {text} at (149.52,435.80) size 150.94x19.52 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (149.52,437) size 61.94x17
-          chunk 1 (middle anchor) text run 1 at (149.52,450.00) startOffset 0 endOffset 10 width 61.95: "Text with "
-        LayoutSVGTSpan {tspan} at (149.52,435.80) size 150.94x19.52
-          LayoutSVGInlineText {#text} at (210.78,435.80) size 45.83x19.52
-            chunk 1 (middle anchor) text run 1 at (211.48,450.00) startOffset 0 endOffset 1 width 5.00: "r"
-            chunk 1 (middle anchor) text run 2 at (216.48,450.00) startOffset 1 endOffset 2 width 8.00: "o"
-            chunk 1 (middle anchor) text run 3 at (224.48,450.00) startOffset 2 endOffset 3 width 4.00: "t"
-            chunk 1 (middle anchor) text run 4 at (228.48,450.00) startOffset 3 endOffset 4 width 7.00: "a"
-            chunk 1 (middle anchor) text run 5 at (235.48,450.00) startOffset 4 endOffset 5 width 4.00: "t"
-            chunk 1 (middle anchor) text run 6 at (239.48,450.00) startOffset 5 endOffset 6 width 7.00: "e"
-            chunk 1 (middle anchor) text run 7 at (246.48,450.00) startOffset 6 endOffset 7 width 8.00: "d"
-        LayoutSVGInlineText {#text} at (254.47,437) size 46x17
-          chunk 1 (middle anchor) text run 1 at (254.48,450.00) startOffset 0 endOffset 7 width 46.00: " glyphs"
+      LayoutSVGText {text} at (150,435.80) size 150x19.52 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (150,437) size 61x17
+          chunk 1 (middle anchor) text run 1 at (150.00,450.00) startOffset 0 endOffset 10 width 61.00: "Text with "
+        LayoutSVGTSpan {tspan} at (150,435.80) size 150x19.52
+          LayoutSVGInlineText {#text} at (210.30,435.80) size 45.83x19.52
+            chunk 1 (middle anchor) text run 1 at (211.00,450.00) startOffset 0 endOffset 1 width 5.00: "r"
+            chunk 1 (middle anchor) text run 2 at (216.00,450.00) startOffset 1 endOffset 2 width 8.00: "o"
+            chunk 1 (middle anchor) text run 3 at (224.00,450.00) startOffset 2 endOffset 3 width 4.00: "t"
+            chunk 1 (middle anchor) text run 4 at (228.00,450.00) startOffset 3 endOffset 4 width 7.00: "a"
+            chunk 1 (middle anchor) text run 5 at (235.00,450.00) startOffset 4 endOffset 5 width 4.00: "t"
+            chunk 1 (middle anchor) text run 6 at (239.00,450.00) startOffset 5 endOffset 6 width 7.00: "e"
+            chunk 1 (middle anchor) text run 7 at (246.00,450.00) startOffset 6 endOffset 7 width 8.00: "d"
+        LayoutSVGInlineText {#text} at (254,437) size 46x17
+          chunk 1 (middle anchor) text run 1 at (254.00,450.00) startOffset 0 endOffset 7 width 46.00: " glyphs"
       LayoutSVGText {text} at (160.95,452.17) size 130.19x20.30 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (160.95,452.17) size 130.19x20.30
           chunk 1 (middle anchor) text run 1 at (162.00,465.00) startOffset 0 endOffset 1 width 13.00: "M"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath-expected.png
index 51c4a72..5a53387e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath-expected.txt
index 318f532..f9ab2df 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath-expected.txt
@@ -2,65 +2,65 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGContainer {g} at (9.88,25) size 427.30x417
-      LayoutSVGText {text} at (160.88,25) size 129.22x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (160.88,25) size 129.22x18
-          chunk 1 (middle anchor) text run 1 at (160.89,40.00) startOffset 0 endOffset 19 width 128.23: "Text on a path test"
+    LayoutSVGContainer {g} at (9.88,25) size 427.28x417
+      LayoutSVGText {text} at (161,25) size 129x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (161,25) size 129x18
+          chunk 1 (middle anchor) text run 1 at (161.00,40.00) startOffset 0 endOffset 19 width 128.00: "Text on a path test"
       LayoutSVGHiddenContainer {defs} at (15,8.79) size 120x41.21
         LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
         LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 100 C 100 0 400 0 400 100"]
-      LayoutSVGContainer {g} at (12.77,-14.14) size 118.59x86.14 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,70.00)}]
+      LayoutSVGContainer {g} at (12.78,-14.05) size 118.14x86.05 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,70.00)}]
         LayoutSVGContainer {use} at (30,12.50) size 90x37.50
           LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 100 C 100 0 400 0 400 100"]
-        LayoutSVGText {text} at (12.77,-14.14) size 118.59x64.72 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (12.77,-14.14) size 118.59x64.72
-            LayoutSVGInlineText {#text} at (12.77,2.83) size 40.50x47.73
-              chunk 1 text run 1 at (30.42,44.25) startOffset 0 endOffset 1 width 12.00: "T"
-              chunk 1 text run 2 at (33.20,34.94) startOffset 1 endOffset 2 width 9.00: "e"
-              chunk 1 text run 3 at (38.17,27.30) startOffset 2 endOffset 3 width 10.00: "x"
-              chunk 1 text run 4 at (44.05,21.88) startOffset 3 endOffset 4 width 6.00: "t"
-              chunk 1 text run 5 at (48.67,18.92) startOffset 4 endOffset 5 width 5.00: " "
-            LayoutSVGTSpan {tspan} at (12.77,-14.14) size 118.59x64.72
-              LayoutSVGInlineText {#text} at (41.58,-14.14) size 27.70x26.97
-                chunk 1 text run 1 at (55.50,15.82) startOffset 0 endOffset 1 width 10.00: "o"
-                chunk 1 text run 2 at (65.18,13.30) startOffset 1 endOffset 2 width 10.00: "n"
-            LayoutSVGTSpan {tspan} at (12.77,-14.14) size 118.59x64.72
-              LayoutSVGInlineText {#text} at (69.48,-4.61) size 61.86x42.27
-                chunk 1 text run 1 at (72.65,12.55) startOffset 0 endOffset 1 width 5.00: " "
-                chunk 1 text run 2 at (79.66,12.68) startOffset 1 endOffset 2 width 9.00: "a"
-                chunk 1 text run 3 at (86.61,13.63) startOffset 2 endOffset 3 width 5.00: " "
-                chunk 1 text run 4 at (94.33,15.76) startOffset 3 endOffset 4 width 11.00: "P"
-                chunk 1 text run 5 at (103.33,20.10) startOffset 4 endOffset 5 width 9.00: "a"
-                chunk 1 text run 6 at (109.28,24.65) startOffset 5 endOffset 6 width 6.00: "t"
-                chunk 1 text run 7 at (114.44,30.73) startOffset 6 endOffset 7 width 10.00: "h"
+        LayoutSVGText {text} at (12.78,-14.05) size 118.14x64.61 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (12.78,-14.05) size 118.14x64.61
+            LayoutSVGInlineText {#text} at (12.78,3.22) size 40x47.33
+              chunk 1 text run 1 at (30.40,44.40) startOffset 0 endOffset 1 width 12.00: "T"
+              chunk 1 text run 2 at (33.02,35.34) startOffset 1 endOffset 2 width 9.00: "e"
+              chunk 1 text run 3 at (37.78,27.76) startOffset 2 endOffset 3 width 10.00: "x"
+              chunk 1 text run 4 at (43.57,22.25) startOffset 3 endOffset 4 width 6.00: "t"
+              chunk 1 text run 5 at (48.14,19.22) startOffset 4 endOffset 5 width 5.00: " "
+            LayoutSVGTSpan {tspan} at (12.78,-14.05) size 118.14x64.61
+              LayoutSVGInlineText {#text} at (40.73,-14.05) size 27.89x27.16
+                chunk 1 text run 1 at (54.93,16.03) startOffset 0 endOffset 1 width 10.00: "o"
+                chunk 1 text run 2 at (64.59,13.41) startOffset 1 endOffset 2 width 10.00: "n"
+            LayoutSVGTSpan {tspan} at (12.78,-14.05) size 118.14x64.61
+              LayoutSVGInlineText {#text} at (68.72,-4.63) size 62.20x41.80
+                chunk 1 text run 1 at (72.05,12.57) startOffset 0 endOffset 1 width 5.00: " "
+                chunk 1 text run 2 at (79.06,12.64) startOffset 1 endOffset 2 width 9.00: "a"
+                chunk 1 text run 3 at (86.02,13.52) startOffset 2 endOffset 3 width 5.00: " "
+                chunk 1 text run 4 at (93.76,15.56) startOffset 3 endOffset 4 width 11.00: "P"
+                chunk 1 text run 5 at (102.82,19.78) startOffset 4 endOffset 5 width 9.00: "a"
+                chunk 1 text run 6 at (108.83,24.24) startOffset 5 endOffset 6 width 6.00: "t"
+                chunk 1 text run 7 at (114.10,30.23) startOffset 6 endOffset 7 width 10.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 67.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 67.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 67.82: "startOffset=\"0%\""
+        LayoutSVGText {text} at (35,50) size 68x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 68x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 68.00: "startOffset=\"0%\""
         LayoutSVGText {text} at (35,60) size 75x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 75x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 19 width 75.00: "text-anchor=\"start\""
-      LayoutSVGContainer {g} at (13.17,-3.83) size 107.83x75.83 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,70.00)}]
+      LayoutSVGContainer {g} at (13.14,-3.78) size 107.86x75.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,70.00)}]
         LayoutSVGContainer {use} at (30,12.50) size 90x37.50
           LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 100 C 100 0 400 0 400 100"]
-        LayoutSVGText {text} at (13.17,-3.83) size 55.17x51.59 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (13.17,-3.83) size 55.17x51.59
+        LayoutSVGText {text} at (13.14,-3.78) size 54.94x51.80 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (13.14,-3.78) size 54.94x51.80
             LayoutSVGInlineText {#text} at (0,0) size 0x0
-            LayoutSVGTSpan {tspan} at (13.17,-3.83) size 55.17x51.59
+            LayoutSVGTSpan {tspan} at (13.14,-3.78) size 54.94x51.80
               LayoutSVGInlineText {#text} at (0,0) size 0x0
-            LayoutSVGTSpan {tspan} at (13.17,-3.83) size 55.17x51.59
-              LayoutSVGInlineText {#text} at (13.17,-3.83) size 55.17x51.59
-                chunk 1 (middle anchor) text run 1 at (30.37,44.59) startOffset 0 endOffset 1 width 5.00: " "
-                chunk 1 (middle anchor) text run 2 at (32.01,37.83) startOffset 1 endOffset 2 width 9.00: "a"
-                chunk 1 (middle anchor) text run 3 at (35.03,31.56) startOffset 2 endOffset 3 width 5.00: " "
-                chunk 1 (middle anchor) text run 4 at (40.01,25.34) startOffset 3 endOffset 4 width 11.00: "P"
-                chunk 1 (middle anchor) text run 5 at (47.97,19.32) startOffset 4 endOffset 5 width 9.00: "a"
-                chunk 1 (middle anchor) text run 6 at (54.74,16.10) startOffset 5 endOffset 6 width 6.00: "t"
-                chunk 1 (middle anchor) text run 7 at (62.42,13.83) startOffset 6 endOffset 7 width 10.00: "h"
+            LayoutSVGTSpan {tspan} at (13.14,-3.78) size 54.94x51.80
+              LayoutSVGInlineText {#text} at (13.14,-3.78) size 54.94x51.80
+                chunk 1 (middle anchor) text run 1 at (30.33,44.89) startOffset 0 endOffset 1 width 5.00: " "
+                chunk 1 (middle anchor) text run 2 at (31.91,38.12) startOffset 1 endOffset 2 width 9.00: "a"
+                chunk 1 (middle anchor) text run 3 at (34.87,31.82) startOffset 2 endOffset 3 width 5.00: " "
+                chunk 1 (middle anchor) text run 4 at (39.80,25.55) startOffset 3 endOffset 4 width 11.00: "P"
+                chunk 1 (middle anchor) text run 5 at (47.71,19.47) startOffset 4 endOffset 5 width 9.00: "a"
+                chunk 1 (middle anchor) text run 6 at (54.46,16.21) startOffset 5 endOffset 6 width 6.00: "t"
+                chunk 1 (middle anchor) text run 7 at (62.13,13.90) startOffset 6 endOffset 7 width 10.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 67.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 67.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 67.82: "startOffset=\"0%\""
+        LayoutSVGText {text} at (35,50) size 68x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 68x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 68.00: "startOffset=\"0%\""
         LayoutSVGText {text} at (35,60) size 86x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 86x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 20 width 86.00: "text-anchor=\"middle\""
@@ -83,84 +83,84 @@
                 chunk 1 (end anchor) text run 6 at (62.07,13.91) startOffset 5 endOffset 6 width 6.00: "t"
                 chunk 1 (end anchor) text run 7 at (70.00,12.71) startOffset 6 endOffset 7 width 10.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 72.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 72.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 72.82: "startOffset=\"50%\""
+        LayoutSVGText {text} at (35,50) size 73x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 73x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 73.00: "startOffset=\"50%\""
         LayoutSVGText {text} at (35,60) size 72x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 72x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 17 width 72.00: "text-anchor=\"end\""
-      LayoutSVGContainer {g} at (30,-4.69) size 116.08x76.69 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,170.00)}]
+      LayoutSVGContainer {g} at (30,-4.67) size 115.86x76.67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,170.00)}]
         LayoutSVGContainer {use} at (30,12.50) size 90x37.50
           LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 100 C 100 0 400 0 400 100"]
-        LayoutSVGText {text} at (74.55,-4.69) size 71.53x55.05 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (74.55,-4.69) size 71.53x55.05
-            LayoutSVGInlineText {#text} at (74.55,-4.69) size 49.11x35.31
-              chunk 1 text run 1 at (80.65,12.76) startOffset 0 endOffset 1 width 12.00: "T"
-              chunk 1 text run 2 at (90.30,14.50) startOffset 1 endOffset 2 width 9.00: "e"
-              chunk 1 text run 3 at (98.88,17.66) startOffset 2 endOffset 3 width 10.00: "x"
-              chunk 1 text run 4 at (105.76,21.74) startOffset 3 endOffset 4 width 6.00: "t"
-              chunk 1 text run 5 at (109.96,25.31) startOffset 4 endOffset 5 width 5.00: " "
-            LayoutSVGTSpan {tspan} at (74.55,-4.69) size 71.53x55.05
-              LayoutSVGInlineText {#text} at (116.17,12.27) size 29.91x31.44
-                chunk 1 text run 1 at (114.68,31.10) startOffset 0 endOffset 1 width 10.00: "o"
-                chunk 1 text run 2 at (118.73,40.22) startOffset 1 endOffset 2 width 10.00: "n"
-            LayoutSVGTSpan {tspan} at (74.55,-4.69) size 71.53x55.05
-              LayoutSVGInlineText {#text} at (114.78,44.03) size 22.25x6.31
-                chunk 1 text run 1 at (119.93,47.56) startOffset 0 endOffset 1 width 5.00: " "
+        LayoutSVGText {text} at (74.56,-4.67) size 71.30x54.48 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (74.56,-4.67) size 71.30x54.48
+            LayoutSVGInlineText {#text} at (74.56,-4.67) size 48.48x34.91
+              chunk 1 text run 1 at (80.50,12.75) startOffset 0 endOffset 1 width 12.00: "T"
+              chunk 1 text run 2 at (89.87,14.38) startOffset 1 endOffset 2 width 9.00: "e"
+              chunk 1 text run 3 at (98.34,17.40) startOffset 2 endOffset 3 width 10.00: "x"
+              chunk 1 text run 4 at (105.27,21.39) startOffset 3 endOffset 4 width 6.00: "t"
+              chunk 1 text run 5 at (109.52,24.89) startOffset 4 endOffset 5 width 5.00: " "
+            LayoutSVGTSpan {tspan} at (74.56,-4.67) size 71.30x54.48
+              LayoutSVGInlineText {#text} at (115.70,11.41) size 30.16x31.59
+                chunk 1 text run 1 at (114.35,30.60) startOffset 0 endOffset 1 width 10.00: "o"
+                chunk 1 text run 2 at (118.57,39.62) startOffset 1 endOffset 2 width 10.00: "n"
+            LayoutSVGTSpan {tspan} at (74.56,-4.67) size 71.30x54.48
+              LayoutSVGInlineText {#text} at (114.70,43.14) size 22.31x6.66
+                chunk 1 text run 1 at (119.88,46.94) startOffset 0 endOffset 1 width 5.00: " "
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 72.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 72.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 72.82: "startOffset=\"50%\""
+        LayoutSVGText {text} at (35,50) size 73x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 73x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 73.00: "startOffset=\"50%\""
         LayoutSVGText {text} at (35,60) size 75x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 75x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 19 width 75.00: "text-anchor=\"start\""
-      LayoutSVGContainer {g} at (14.47,-14.61) size 121.08x86.61 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,170.00)}]
+      LayoutSVGContainer {g} at (14.58,-14.63) size 120.84x86.63 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,170.00)}]
         LayoutSVGContainer {use} at (30,12.50) size 90x37.50
           LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 100 C 100 0 400 0 400 100"]
-        LayoutSVGText {text} at (14.47,-14.61) size 121.08x58.59 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (14.47,-14.61) size 121.08x58.59
-            LayoutSVGInlineText {#text} at (14.47,-1.06) size 45.20x45.05
-              chunk 1 (middle anchor) text run 1 at (32.36,36.90) startOffset 0 endOffset 1 width 12.00: "T"
-              chunk 1 (middle anchor) text run 2 at (37.21,28.46) startOffset 1 endOffset 2 width 9.00: "e"
-              chunk 1 (middle anchor) text run 3 at (43.77,22.10) startOffset 2 endOffset 3 width 10.00: "x"
-              chunk 1 (middle anchor) text run 4 at (50.58,17.92) startOffset 3 endOffset 4 width 6.00: "t"
-              chunk 1 (middle anchor) text run 5 at (55.63,15.77) startOffset 4 endOffset 5 width 5.00: " "
-            LayoutSVGTSpan {tspan} at (14.47,-14.61) size 121.08x58.59
-              LayoutSVGInlineText {#text} at (52.44,-14.61) size 25.16x24.48
-                chunk 1 (middle anchor) text run 1 at (62.86,13.74) startOffset 0 endOffset 1 width 10.00: "o"
-                chunk 1 (middle anchor) text run 2 at (72.80,12.54) startOffset 1 endOffset 2 width 10.00: "n"
-            LayoutSVGTSpan {tspan} at (14.47,-14.61) size 121.08x58.59
-              LayoutSVGInlineText {#text} at (77.38,-4.41) size 58.17x48.34
-                chunk 1 (middle anchor) text run 1 at (80.31,12.73) startOffset 0 endOffset 1 width 5.00: " "
-                chunk 1 (middle anchor) text run 2 at (87.24,13.76) startOffset 1 endOffset 2 width 9.00: "a"
-                chunk 1 (middle anchor) text run 3 at (93.99,15.64) startOffset 2 endOffset 3 width 5.00: " "
-                chunk 1 (middle anchor) text run 4 at (101.30,18.90) startOffset 3 endOffset 4 width 11.00: "P"
-                chunk 1 (middle anchor) text run 5 at (109.38,24.75) startOffset 4 endOffset 5 width 9.00: "a"
-                chunk 1 (middle anchor) text run 6 at (114.24,30.43) startOffset 5 endOffset 6 width 6.00: "t"
-                chunk 1 (middle anchor) text run 7 at (117.87,37.51) startOffset 6 endOffset 7 width 10.00: "h"
+        LayoutSVGText {text} at (14.58,-14.63) size 120.84x58.34 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (14.58,-14.63) size 120.84x58.34
+            LayoutSVGInlineText {#text} at (14.58,-0.94) size 44.83x44.66
+              chunk 1 (middle anchor) text run 1 at (32.42,36.76) startOffset 0 endOffset 1 width 12.00: "T"
+              chunk 1 (middle anchor) text run 2 at (37.12,28.58) startOffset 1 endOffset 2 width 9.00: "e"
+              chunk 1 (middle anchor) text run 3 at (43.52,22.28) startOffset 2 endOffset 3 width 10.00: "x"
+              chunk 1 (middle anchor) text run 4 at (50.31,18.05) startOffset 3 endOffset 4 width 6.00: "t"
+              chunk 1 (middle anchor) text run 5 at (55.35,15.88) startOffset 4 endOffset 5 width 5.00: " "
+            LayoutSVGTSpan {tspan} at (14.58,-14.63) size 120.84x58.34
+              LayoutSVGInlineText {#text} at (52,-14.63) size 25.27x24.59
+                chunk 1 (middle anchor) text run 1 at (62.56,13.80) startOffset 0 endOffset 1 width 10.00: "o"
+                chunk 1 (middle anchor) text run 2 at (72.49,12.55) startOffset 1 endOffset 2 width 10.00: "n"
+            LayoutSVGTSpan {tspan} at (14.58,-14.63) size 120.84x58.34
+              LayoutSVGInlineText {#text} at (77.09,-4.44) size 58.33x48.11
+                chunk 1 (middle anchor) text run 1 at (80.00,12.71) startOffset 0 endOffset 1 width 5.00: " "
+                chunk 1 (middle anchor) text run 2 at (86.95,13.70) startOffset 1 endOffset 2 width 9.00: "a"
+                chunk 1 (middle anchor) text run 3 at (93.70,15.54) startOffset 2 endOffset 3 width 5.00: " "
+                chunk 1 (middle anchor) text run 4 at (101.03,18.75) startOffset 3 endOffset 4 width 11.00: "P"
+                chunk 1 (middle anchor) text run 5 at (109.16,24.55) startOffset 4 endOffset 5 width 9.00: "a"
+                chunk 1 (middle anchor) text run 6 at (114.07,30.18) startOffset 5 endOffset 6 width 6.00: "t"
+                chunk 1 (middle anchor) text run 7 at (117.76,37.23) startOffset 6 endOffset 7 width 10.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 72.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 72.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 72.82: "startOffset=\"50%\""
+        LayoutSVGText {text} at (35,50) size 73x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 73x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 73.00: "startOffset=\"50%\""
         LayoutSVGText {text} at (35,60) size 86x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 86x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 20 width 86.00: "text-anchor=\"middle\""
-      LayoutSVGContainer {g} at (18.73,-14.63) size 118.44x86.63 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,170.00)}]
+      LayoutSVGContainer {g} at (19.14,-14.63) size 118.02x86.63 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,170.00)}]
         LayoutSVGContainer {use} at (30,12.50) size 90x37.50
           LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 100 C 100 0 400 0 400 100"]
-        LayoutSVGText {text} at (18.73,-14.63) size 118.44x65.13 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (18.73,-14.63) size 118.44x65.13
-            LayoutSVGInlineText {#text} at (18.73,-3.44) size 47.72x41.11
-              chunk 1 (end anchor) text run 1 at (35.93,30.19) startOffset 0 endOffset 1 width 12.00: "T"
-              chunk 1 (end anchor) text run 2 at (42.57,23.03) startOffset 1 endOffset 2 width 9.00: "e"
+        LayoutSVGText {text} at (19.14,-14.63) size 118.02x65.13 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (19.14,-14.63) size 118.02x65.13
+            LayoutSVGInlineText {#text} at (19.14,-3.44) size 47.30x40.64
+              chunk 1 (end anchor) text run 1 at (36.19,29.82) startOffset 0 endOffset 1 width 12.00: "T"
+              chunk 1 (end anchor) text run 2 at (42.69,22.94) startOffset 1 endOffset 2 width 9.00: "e"
               chunk 1 (end anchor) text run 3 at (50.26,18.08) startOffset 2 endOffset 3 width 10.00: "x"
               chunk 1 (end anchor) text run 4 at (57.68,15.09) startOffset 3 endOffset 4 width 6.00: "t"
               chunk 1 (end anchor) text run 5 at (63.00,13.71) startOffset 4 endOffset 5 width 5.00: " "
-            LayoutSVGTSpan {tspan} at (18.73,-14.63) size 118.44x65.13
+            LayoutSVGTSpan {tspan} at (19.14,-14.63) size 118.02x65.13
               LayoutSVGInlineText {#text} at (63.41,-14.63) size 24.44x22.84
                 chunk 1 (end anchor) text run 1 at (70.44,12.67) startOffset 0 endOffset 1 width 10.00: "o"
                 chunk 1 (end anchor) text run 2 at (80.45,12.75) startOffset 1 endOffset 2 width 10.00: "n"
-            LayoutSVGTSpan {tspan} at (18.73,-14.63) size 118.44x65.13
+            LayoutSVGTSpan {tspan} at (19.14,-14.63) size 118.02x65.13
               LayoutSVGInlineText {#text} at (84.34,-3.23) size 52.83x53.73
                 chunk 1 (end anchor) text run 1 at (87.87,13.90) startOffset 0 endOffset 1 width 5.00: " "
                 chunk 1 (end anchor) text run 2 at (94.60,15.86) startOffset 1 endOffset 2 width 9.00: "a"
@@ -170,67 +170,67 @@
                 chunk 1 (end anchor) text run 6 at (117.75,37.18) startOffset 5 endOffset 6 width 6.00: "t"
                 chunk 1 (end anchor) text run 7 at (119.67,44.89) startOffset 6 endOffset 7 width 10.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 77.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 77.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 18 width 77.82: "startOffset=\"100%\""
+        LayoutSVGText {text} at (35,50) size 78x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 78x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 18 width 78.00: "startOffset=\"100%\""
         LayoutSVGText {text} at (35,60) size 72x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 72x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 17 width 72.00: "text-anchor=\"end\""
-      LayoutSVGContainer {g} at (30,-12.95) size 107.06x84.95 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,270.00)}]
+      LayoutSVGContainer {g} at (30,-13.13) size 107.11x85.13 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,270.00)}]
         LayoutSVGContainer {use} at (30,12.50) size 90x37.50
           LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 100 C 100 0 400 0 400 100"]
-        LayoutSVGText {text} at (38.47,-12.95) size 98.59x66.72 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (38.47,-12.95) size 98.59x66.72
-            LayoutSVGInlineText {#text} at (38.47,-4.61) size 48.81x29.31
-              chunk 1 text run 1 at (50.95,17.74) startOffset 0 endOffset 1 width 12.00: "T"
-              chunk 1 text run 2 at (60.14,14.38) startOffset 1 endOffset 2 width 9.00: "e"
-              chunk 1 text run 3 at (69.16,12.78) startOffset 2 endOffset 3 width 10.00: "x"
-              chunk 1 text run 4 at (77.16,12.54) startOffset 3 endOffset 4 width 6.00: "t"
-              chunk 1 text run 5 at (82.65,12.99) startOffset 4 endOffset 5 width 5.00: " "
-            LayoutSVGTSpan {tspan} at (38.47,-12.95) size 98.59x66.72
-              LayoutSVGInlineText {#text} at (86.45,-12.95) size 29.31x28.58
-                chunk 1 text run 1 at (90.02,14.42) startOffset 0 endOffset 1 width 10.00: "o"
-                chunk 1 text run 2 at (99.38,17.90) startOffset 1 endOffset 2 width 10.00: "n"
-            LayoutSVGTSpan {tspan} at (38.47,-12.95) size 98.59x66.72
-              LayoutSVGInlineText {#text} at (100.81,6.58) size 36.25x47.17
-                chunk 1 text run 1 at (105.80,21.77) startOffset 0 endOffset 1 width 5.00: " "
-                chunk 1 text run 2 at (111.04,26.42) startOffset 1 endOffset 2 width 9.00: "a"
-                chunk 1 text run 3 at (115.24,32.00) startOffset 2 endOffset 3 width 5.00: " "
-                chunk 1 text run 4 at (118.47,39.29) startOffset 3 endOffset 4 width 11.00: "P"
-                chunk 1 text run 5 at (119.99,49.17) startOffset 4 endOffset 5 width 9.00: "a"
+        LayoutSVGText {text} at (38.42,-13.13) size 98.69x66.34 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (38.42,-13.13) size 98.69x66.34
+            LayoutSVGInlineText {#text} at (38.42,-4.58) size 48.08x29.30
+              chunk 1 text run 1 at (50.81,17.80) startOffset 0 endOffset 1 width 12.00: "T"
+              chunk 1 text run 2 at (59.71,14.50) startOffset 1 endOffset 2 width 9.00: "e"
+              chunk 1 text run 3 at (68.56,12.84) startOffset 2 endOffset 3 width 10.00: "x"
+              chunk 1 text run 4 at (76.56,12.52) startOffset 3 endOffset 4 width 6.00: "t"
+              chunk 1 text run 5 at (82.05,12.91) startOffset 4 endOffset 5 width 5.00: " "
+            LayoutSVGTSpan {tspan} at (38.42,-13.13) size 98.69x66.34
+              LayoutSVGInlineText {#text} at (85.81,-13.13) size 29.14x28.39
+                chunk 1 text run 1 at (89.44,14.27) startOffset 0 endOffset 1 width 10.00: "o"
+                chunk 1 text run 2 at (98.84,17.63) startOffset 1 endOffset 2 width 10.00: "n"
+            LayoutSVGTSpan {tspan} at (38.42,-13.13) size 98.69x66.34
+              LayoutSVGInlineText {#text} at (100.38,6.11) size 36.73x47.09
+                chunk 1 text run 1 at (105.32,21.42) startOffset 0 endOffset 1 width 5.00: " "
+                chunk 1 text run 2 at (110.63,25.98) startOffset 1 endOffset 2 width 9.00: "a"
+                chunk 1 text run 3 at (114.92,31.49) startOffset 2 endOffset 3 width 5.00: " "
+                chunk 1 text run 4 at (118.28,38.70) startOffset 3 endOffset 4 width 11.00: "P"
+                chunk 1 text run 5 at (119.97,48.54) startOffset 4 endOffset 5 width 9.00: "a"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 64.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 64.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 64.82: "startOffset=\"35\""
+        LayoutSVGText {text} at (35,50) size 65x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 65x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 65.00: "startOffset=\"35\""
         LayoutSVGText {text} at (35,60) size 75x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 75x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 19 width 75.00: "text-anchor=\"start\""
-      LayoutSVGContainer {g} at (12.64,-4.67) size 108.36x76.67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,270.00)}]
+      LayoutSVGContainer {g} at (12.34,-4.67) size 108.66x76.67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,270.00)}]
         LayoutSVGContainer {use} at (30,12.50) size 90x37.50
           LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 100 C 100 0 400 0 400 100"]
-        LayoutSVGText {text} at (12.64,-4.67) size 95.39x58.02 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (12.64,-4.67) size 95.39x58.02
-            LayoutSVGInlineText {#text} at (12.83,25.67) size 25.89x27.66
-              chunk 1 (middle anchor) text run 1 at (30.04,48.12) startOffset 2 endOffset 3 width 10.00: "x"
-              chunk 1 (middle anchor) text run 2 at (31.26,40.26) startOffset 3 endOffset 4 width 6.00: "t"
-              chunk 1 (middle anchor) text run 3 at (33.14,35.07) startOffset 4 endOffset 5 width 5.00: " "
-            LayoutSVGTSpan {tspan} at (12.64,-4.67) size 95.39x58.02
-              LayoutSVGInlineText {#text} at (12.64,-2.95) size 32.63x32.52
-                chunk 1 (middle anchor) text run 1 at (37.03,28.69) startOffset 0 endOffset 1 width 10.00: "o"
-                chunk 1 (middle anchor) text run 2 at (44.21,21.77) startOffset 1 endOffset 2 width 10.00: "n"
-            LayoutSVGTSpan {tspan} at (12.64,-4.67) size 95.39x58.02
-              LayoutSVGInlineText {#text} at (40.88,-4.67) size 67.16x28.16
-                chunk 1 (middle anchor) text run 1 at (50.63,17.89) startOffset 0 endOffset 1 width 5.00: " "
-                chunk 1 (middle anchor) text run 2 at (57.11,15.27) startOffset 1 endOffset 2 width 9.00: "a"
-                chunk 1 (middle anchor) text run 3 at (63.90,13.53) startOffset 2 endOffset 3 width 5.00: " "
-                chunk 1 (middle anchor) text run 4 at (71.85,12.58) startOffset 3 endOffset 4 width 11.00: "P"
-                chunk 1 (middle anchor) text run 5 at (81.85,12.89) startOffset 4 endOffset 5 width 9.00: "a"
-                chunk 1 (middle anchor) text run 6 at (89.24,14.22) startOffset 5 endOffset 6 width 6.00: "t"
-                chunk 1 (middle anchor) text run 7 at (96.84,16.74) startOffset 6 endOffset 7 width 10.00: "h"
+        LayoutSVGText {text} at (12.34,-4.67) size 95.33x58.30 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (12.34,-4.67) size 95.33x58.30
+            LayoutSVGInlineText {#text} at (12.84,26.06) size 25.75x27.53
+              chunk 1 (middle anchor) text run 1 at (30.03,48.43) startOffset 2 endOffset 3 width 10.00: "x"
+              chunk 1 (middle anchor) text run 2 at (31.18,40.56) startOffset 3 endOffset 4 width 6.00: "t"
+              chunk 1 (middle anchor) text run 3 at (33.02,35.34) startOffset 4 endOffset 5 width 5.00: " "
+            LayoutSVGTSpan {tspan} at (12.34,-4.67) size 95.33x58.30
+              LayoutSVGInlineText {#text} at (12.34,-2.69) size 32.63x32.55
+                chunk 1 (middle anchor) text run 1 at (36.85,28.93) startOffset 0 endOffset 1 width 10.00: "o"
+                chunk 1 (middle anchor) text run 2 at (43.97,21.94) startOffset 1 endOffset 2 width 10.00: "n"
+            LayoutSVGTSpan {tspan} at (12.34,-4.67) size 95.33x58.30
+              LayoutSVGInlineText {#text} at (40.52,-4.67) size 67.17x28.30
+                chunk 1 (middle anchor) text run 1 at (50.36,18.03) startOffset 0 endOffset 1 width 5.00: " "
+                chunk 1 (middle anchor) text run 2 at (56.83,15.36) startOffset 1 endOffset 2 width 9.00: "a"
+                chunk 1 (middle anchor) text run 3 at (63.60,13.59) startOffset 2 endOffset 3 width 5.00: " "
+                chunk 1 (middle anchor) text run 4 at (71.55,12.60) startOffset 3 endOffset 4 width 11.00: "P"
+                chunk 1 (middle anchor) text run 5 at (81.55,12.86) startOffset 4 endOffset 5 width 9.00: "a"
+                chunk 1 (middle anchor) text run 6 at (88.95,14.15) startOffset 5 endOffset 6 width 6.00: "t"
+                chunk 1 (middle anchor) text run 7 at (96.57,16.63) startOffset 6 endOffset 7 width 10.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 64.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 64.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 64.82: "startOffset=\"35\""
+        LayoutSVGText {text} at (35,50) size 65x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 65x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 65.00: "startOffset=\"35\""
         LayoutSVGText {text} at (35,60) size 86x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 86x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 20 width 86.00: "text-anchor=\"middle\""
@@ -249,9 +249,9 @@
                 chunk 1 (end anchor) text run 3 at (36.55,29.33) startOffset 5 endOffset 6 width 6.00: "t"
                 chunk 1 (end anchor) text run 4 at (42.00,23.51) startOffset 6 endOffset 7 width 10.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 64.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 64.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 64.82: "startOffset=\"35\""
+        LayoutSVGText {text} at (35,50) size 65x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 65x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 65.00: "startOffset=\"35\""
         LayoutSVGText {text} at (35,60) size 72x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 72x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 17 width 72.00: "text-anchor=\"end\""
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath2-expected.png
index a3c9adb5..2082bb5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath2-expected.txt
index c1a0df7..5189c2b5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath2-expected.txt
@@ -2,33 +2,33 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGText {text} at (107.88,25) size 234.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (107.88,25) size 234.22x18
-        chunk 1 (middle anchor) text run 1 at (107.89,40.00) startOffset 0 endOffset 34 width 234.23: "Text on Path with trailing <tspan>"
+    LayoutSVGText {text} at (108,25) size 234x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (108,25) size 234x18
+        chunk 1 (middle anchor) text run 1 at (108.00,40.00) startOffset 0 endOffset 34 width 234.00: "Text on Path with trailing <tspan>"
     LayoutSVGRect {rect} at (30,50) size 390x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=30.00] [y=50.00] [width=390.00] [height=20.00]
     LayoutSVGRect {rect} at (30,70) size 390x120 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=30.00] [y=70.00] [width=390.00] [height=120.00]
-    LayoutSVGText {text} at (40,51) size 318.02x16 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (40,51) size 318.02x16
-        chunk 1 text run 1 at (40.00,64.00) startOffset 0 endOffset 55 width 318.02: "Text with embedded textPath and multiple trailing tspan"
+    LayoutSVGText {text} at (40,51) size 319x16 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (40,51) size 319x16
+        chunk 1 text run 1 at (40.00,64.00) startOffset 0 endOffset 55 width 319.00: "Text with embedded textPath and multiple trailing tspan"
     LayoutSVGRect {rect} at (30,195) size 390x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=30.00] [y=195.00] [width=390.00] [height=20.00]
     LayoutSVGRect {rect} at (30,215) size 390x120 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=30.00] [y=215.00] [width=390.00] [height=120.00]
-    LayoutSVGText {text} at (40,196) size 176.73x16 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (40,196) size 176.73x16
-        chunk 1 text run 1 at (40.00,209.00) startOffset 0 endOffset 30 width 176.75: "textPath has startOffset=\"10%\""
+    LayoutSVGText {text} at (40,196) size 177x16 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (40,196) size 177x16
+        chunk 1 text run 1 at (40.00,209.00) startOffset 0 endOffset 30 width 177.00: "textPath has startOffset=\"10%\""
     LayoutSVGRect {rect} at (30,340) size 390x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=30.00] [y=340.00] [width=390.00] [height=20.00]
     LayoutSVGRect {rect} at (30,360) size 390x120 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=30.00] [y=360.00] [width=390.00] [height=120.00]
-    LayoutSVGText {text} at (40,341) size 229.73x16 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (40,341) size 229.73x16
-        chunk 1 text run 1 at (40.00,354.00) startOffset 0 endOffset 41 width 229.75: "textPath with startOffset and text-anchor"
+    LayoutSVGText {text} at (40,341) size 230x16 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (40,341) size 230x16
+        chunk 1 text run 1 at (40.00,354.00) startOffset 0 endOffset 41 width 230.00: "textPath with startOffset and text-anchor"
     LayoutSVGHiddenContainer {defs} at (100,-93.75) size 140x93.75
       LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
-    LayoutSVGContainer {g} at (10,-118.81) size 402.58x122.81 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,185.00)}]
+    LayoutSVGContainer {g} at (10,-118.81) size 402.88x122.81 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,185.00)}]
       LayoutSVGContainer {use} at (100,-93.75) size 140x93.75
         LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
-      LayoutSVGText {text} at (10,-118.81) size 402.58x122.81 contains 1 chunk(s)
+      LayoutSVGText {text} at (10,-118.81) size 402.88x122.81 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,-15) size 87x19
           chunk 1 text run 1 at (10.00,0.00) startOffset 0 endOffset 14 width 87.00: "This is simple"
-        LayoutSVGTextPath {textPath} at (10,-118.81) size 402.58x122.81
+        LayoutSVGTextPath {textPath} at (10,-118.81) size 402.88x122.81
           LayoutSVGInlineText {#text} at (84.98,-88.19) size 46.63x88.19
             chunk 1 text run 1 at (100.01,-2.05) startOffset 0 endOffset 1 width 4.00: "t"
             chunk 1 text run 2 at (100.18,-7.58) startOffset 1 endOffset 2 width 7.00: "e"
@@ -44,7 +44,7 @@
             chunk 1 text run 12 at (118.54,-66.04) startOffset 11 endOffset 12 width 7.00: "a"
             chunk 1 text run 13 at (121.83,-70.26) startOffset 12 endOffset 13 width 4.00: "t"
             chunk 1 text run 14 at (125.96,-74.79) startOffset 13 endOffset 14 width 8.00: "h"
-          LayoutSVGTSpan {tspan} at (10,-118.81) size 402.58x122.81
+          LayoutSVGTSpan {tspan} at (10,-118.81) size 402.88x122.81
             LayoutSVGInlineText {#text} at (113.63,-118.81) size 92.52x36.30
               chunk 1 text run 1 at (133.44,-81.31) startOffset 0 endOffset 1 width 12.00: "w"
               chunk 1 text run 2 at (140.17,-85.73) startOffset 1 endOffset 2 width 4.00: "i"
@@ -57,7 +57,7 @@
               chunk 1 text run 9 at (179.71,-92.94) startOffset 8 endOffset 9 width 4.00: "t"
               chunk 1 text run 10 at (185.09,-91.79) startOffset 9 endOffset 10 width 7.00: "e"
               chunk 1 text run 11 at (192.20,-89.43) startOffset 10 endOffset 11 width 8.00: "d"
-          LayoutSVGTSpan {tspan} at (10,-118.81) size 402.58x122.81
+          LayoutSVGTSpan {tspan} at (10,-118.81) size 402.88x122.81
             LayoutSVGInlineText {#text} at (194.03,-101.14) size 41.25x39.91
               chunk 1 text run 1 at (197.66,-86.92) startOffset 0 endOffset 1 width 4.00: " "
               chunk 1 text run 2 at (201.12,-84.98) startOffset 1 endOffset 2 width 4.00: "t"
@@ -67,18 +67,18 @@
               chunk 1 text run 6 at (220.88,-66.83) startOffset 5 endOffset 6 width 8.00: "n"
         LayoutSVGInlineText {#text} at (228.88,-81.83) size 32x19
           chunk 1 text run 1 at (228.88,-66.83) startOffset 0 endOffset 5 width 32.00: " xxx "
-        LayoutSVGTSpan {tspan} at (10,-118.81) size 402.58x122.81
+        LayoutSVGTSpan {tspan} at (10,-118.81) size 402.88x122.81
           LayoutSVGInlineText {#text} at (270.88,-81.83) size 51x19
             chunk 1 text run 1 at (270.88,-66.83) startOffset 0 endOffset 9 width 51.00: "all with "
-        LayoutSVGInlineText {#text} at (321.88,-81.83) size 90.70x19
-          chunk 1 text run 1 at (321.88,-66.83) startOffset 0 endOffset 16 width 90.71: "different links."
-    LayoutSVGContainer {g} at (10,-118.80) size 414.72x122.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,330.00)}]
+        LayoutSVGInlineText {#text} at (321.88,-81.83) size 91x19
+          chunk 1 text run 1 at (321.88,-66.83) startOffset 0 endOffset 16 width 91.00: "different links."
+    LayoutSVGContainer {g} at (10,-118.80) size 415.02x122.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,330.00)}]
       LayoutSVGContainer {use} at (100,-93.75) size 140x93.75
         LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
-      LayoutSVGText {text} at (10,-118.80) size 414.72x122.80 contains 1 chunk(s)
+      LayoutSVGText {text} at (10,-118.80) size 415.02x122.80 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,-15) size 87x19
           chunk 1 text run 1 at (10.00,0.00) startOffset 0 endOffset 14 width 87.00: "This is simple"
-        LayoutSVGTextPath {textPath} at (10,-118.80) size 414.72x122.80
+        LayoutSVGTextPath {textPath} at (10,-118.80) size 415.02x122.80
           LayoutSVGInlineText {#text} at (87.55,-104.64) size 65.05x79.27
             chunk 1 text run 1 at (102.65,-28.13) startOffset 0 endOffset 1 width 4.00: "t"
             chunk 1 text run 2 at (103.87,-33.53) startOffset 1 endOffset 2 width 7.00: "e"
@@ -94,7 +94,7 @@
             chunk 1 text run 12 at (137.22,-83.94) startOffset 11 endOffset 12 width 7.00: "a"
             chunk 1 text run 13 at (141.95,-86.71) startOffset 12 endOffset 13 width 4.00: "t"
             chunk 1 text run 14 at (147.38,-89.26) startOffset 13 endOffset 14 width 8.00: "h"
-          LayoutSVGTSpan {tspan} at (10,-118.80) size 414.72x122.80
+          LayoutSVGTSpan {tspan} at (10,-118.80) size 415.02x122.80
             LayoutSVGInlineText {#text} at (145.47,-118.80) size 89.39x42.95
               chunk 1 text run 1 at (156.89,-92.27) startOffset 0 endOffset 1 width 12.00: "w"
               chunk 1 text run 2 at (164.81,-93.52) startOffset 1 endOffset 2 width 4.00: "i"
@@ -107,7 +107,7 @@
               chunk 1 text run 9 at (203.70,-83.33) startOffset 8 endOffset 9 width 4.00: "t"
               chunk 1 text run 10 at (208.19,-80.05) startOffset 9 endOffset 10 width 7.00: "e"
               chunk 1 text run 11 at (213.72,-75.11) startOffset 10 endOffset 11 width 8.00: "d"
-          LayoutSVGTSpan {tspan} at (10,-118.80) size 414.72x122.80
+          LayoutSVGTSpan {tspan} at (10,-118.80) size 415.02x122.80
             LayoutSVGInlineText {#text} at (213.52,-81.84) size 34.95x43.13
               chunk 1 text run 1 at (217.87,-70.61) startOffset 0 endOffset 1 width 4.00: " "
               chunk 1 text run 2 at (220.32,-67.58) startOffset 1 endOffset 2 width 4.00: "t"
@@ -117,18 +117,18 @@
               chunk 1 text run 6 at (233.02,-43.83) startOffset 5 endOffset 6 width 8.00: "n"
         LayoutSVGInlineText {#text} at (241.02,-58.83) size 32x19
           chunk 1 text run 1 at (241.02,-43.83) startOffset 0 endOffset 5 width 32.00: " xxx "
-        LayoutSVGTSpan {tspan} at (10,-118.80) size 414.72x122.80
+        LayoutSVGTSpan {tspan} at (10,-118.80) size 415.02x122.80
           LayoutSVGInlineText {#text} at (283.02,-58.83) size 51x19
             chunk 1 text run 1 at (283.02,-43.83) startOffset 0 endOffset 9 width 51.00: "all with "
-        LayoutSVGInlineText {#text} at (334.02,-58.83) size 90.70x19
-          chunk 1 text run 1 at (334.02,-43.83) startOffset 0 endOffset 16 width 90.71: "different links."
-    LayoutSVGContainer {g} at (10,-118.92) size 416.91x122.92 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,475.00)}]
+        LayoutSVGInlineText {#text} at (334.02,-58.83) size 91x19
+          chunk 1 text run 1 at (334.02,-43.83) startOffset 0 endOffset 16 width 91.00: "different links."
+    LayoutSVGContainer {g} at (10,-118.92) size 417.19x122.92 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,475.00)}]
       LayoutSVGContainer {use} at (100,-93.75) size 140x93.75
         LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
-      LayoutSVGText {text} at (10,-118.92) size 416.91x122.92 contains 1 chunk(s)
+      LayoutSVGText {text} at (10,-118.92) size 417.19x122.92 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,-15) size 87x19
           chunk 1 text run 1 at (10.00,0.00) startOffset 0 endOffset 14 width 87.00: "This is simple"
-        LayoutSVGTextPath {textPath} at (10,-118.92) size 416.91x122.92
+        LayoutSVGTextPath {textPath} at (10,-118.92) size 417.19x122.92
           LayoutSVGInlineText {#text} at (89.27,-107.11) size 69.83x74.92
             chunk 1 (middle anchor) text run 1 at (104.28,-35.15) startOffset 0 endOffset 1 width 4.00: "t"
             chunk 1 (middle anchor) text run 2 at (105.77,-40.25) startOffset 1 endOffset 2 width 7.00: "e"
@@ -144,7 +144,7 @@
             chunk 1 (middle anchor) text run 12 at (143.44,-87.47) startOffset 11 endOffset 12 width 7.00: "a"
             chunk 1 (middle anchor) text run 13 at (148.50,-89.70) startOffset 12 endOffset 13 width 4.00: "t"
             chunk 1 (middle anchor) text run 14 at (154.19,-91.59) startOffset 13 endOffset 14 width 8.00: "h"
-          LayoutSVGTSpan {tspan} at (10,-118.92) size 416.91x122.92
+          LayoutSVGTSpan {tspan} at (10,-118.92) size 417.19x122.92
             LayoutSVGInlineText {#text} at (155.50,-118.92) size 85.61x49.27
               chunk 1 (middle anchor) text run 1 at (164.01,-93.44) startOffset 0 endOffset 1 width 12.00: "w"
               chunk 1 (middle anchor) text run 2 at (172.00,-93.72) startOffset 1 endOffset 2 width 4.00: "i"
@@ -157,7 +157,7 @@
               chunk 1 (middle anchor) text run 9 at (209.47,-78.99) startOffset 8 endOffset 9 width 4.00: "t"
               chunk 1 (middle anchor) text run 10 at (213.50,-75.32) startOffset 9 endOffset 10 width 7.00: "e"
               chunk 1 (middle anchor) text run 11 at (218.63,-69.71) startOffset 10 endOffset 11 width 8.00: "d"
-          LayoutSVGTSpan {tspan} at (10,-118.92) size 416.91x122.92
+          LayoutSVGTSpan {tspan} at (10,-118.92) size 417.19x122.92
             LayoutSVGInlineText {#text} at (217.75,-75.28) size 32.95x43.19
               chunk 1 (middle anchor) text run 1 at (222.18,-65.03) startOffset 0 endOffset 1 width 4.00: " "
               chunk 1 (middle anchor) text run 2 at (224.41,-61.68) startOffset 1 endOffset 2 width 4.00: "t"
@@ -167,8 +167,8 @@
               chunk 1 (middle anchor) text run 6 at (235.20,-37.03) startOffset 5 endOffset 6 width 8.00: "n"
         LayoutSVGInlineText {#text} at (243.19,-52.03) size 32x19
           chunk 1 text run 1 at (243.20,-37.03) startOffset 0 endOffset 5 width 32.00: " xxx "
-        LayoutSVGTSpan {tspan} at (10,-118.92) size 416.91x122.92
+        LayoutSVGTSpan {tspan} at (10,-118.92) size 417.19x122.92
           LayoutSVGInlineText {#text} at (285.19,-52.03) size 51x19
             chunk 1 text run 1 at (285.20,-37.03) startOffset 0 endOffset 9 width 51.00: "all with "
-        LayoutSVGInlineText {#text} at (336.19,-52.03) size 90.70x19
-          chunk 1 text run 1 at (336.20,-37.03) startOffset 0 endOffset 16 width 90.71: "different links."
+        LayoutSVGInlineText {#text} at (336.19,-52.03) size 91x19
+          chunk 1 text run 1 at (336.20,-37.03) startOffset 0 endOffset 16 width 91.00: "different links."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath3-expected.png
index e5e5c70..35ad581 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath3-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath3-expected.txt
index b39d325..3c5faf2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPath3-expected.txt
@@ -2,116 +2,116 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGText {text} at (102.38,25) size 245.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (102.38,25) size 245.22x18
-        chunk 1 (middle anchor) text run 1 at (102.39,40.00) startOffset 0 endOffset 38 width 245.23: "Text on Path with for text with an 'x'"
+    LayoutSVGText {text} at (102.50,25) size 245x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (102.50,25) size 245x18
+        chunk 1 (middle anchor) text run 1 at (102.50,40.00) startOffset 0 endOffset 38 width 245.00: "Text on Path with for text with an 'x'"
     LayoutSVGHiddenContainer {defs} at (100,-93.75) size 140x93.75
       LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
     LayoutSVGContainer {g} at (-10,-135) size 390x140 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,185.00)}]
       LayoutSVGRect {rect} at (-10,-135) size 390x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=-10.00] [y=-135.00] [width=390.00] [height=20.00]
       LayoutSVGRect {rect} at (-10,-115) size 390x120 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=-10.00] [y=-115.00] [width=390.00] [height=120.00]
-      LayoutSVGText {text} at (-10,-133) size 229.02x16 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (-10,-133) size 229.02x16
-          chunk 1 text run 1 at (-10.00,-120.00) startOffset 0 endOffset 39 width 229.02: "Text with one textPath child and x=\"10\""
+      LayoutSVGText {text} at (-10,-133) size 230x16 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (-10,-133) size 230x16
+          chunk 1 text run 1 at (-10.00,-120.00) startOffset 0 endOffset 39 width 230.00: "Text with one textPath child and x=\"10\""
       LayoutSVGContainer {use} at (100,-93.75) size 140x93.75
         LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
-      LayoutSVGText {text} at (95.33,-108.81) size 156.27x79.83 contains 1 chunk(s)
-        LayoutSVGTextPath {textPath} at (95.33,-108.81) size 156.27x79.83
-          LayoutSVGInlineText {#text} at (95.33,-108.81) size 156.27x79.83
-            chunk 1 (middle anchor) text run 1 at (110.89,-53.18) startOffset 0 endOffset 1 width 10.00: "T"
-            chunk 1 (middle anchor) text run 2 at (114.64,-60.13) startOffset 1 endOffset 2 width 7.00: "e"
-            chunk 1 (middle anchor) text run 3 at (118.65,-66.19) startOffset 2 endOffset 3 width 8.00: "x"
-            chunk 1 (middle anchor) text run 4 at (122.29,-70.81) startOffset 3 endOffset 4 width 4.00: "t"
-            chunk 1 (middle anchor) text run 5 at (125.04,-73.84) startOffset 4 endOffset 5 width 4.00: " "
-            chunk 1 (middle anchor) text run 6 at (129.37,-78.00) startOffset 5 endOffset 6 width 8.00: "o"
-            chunk 1 (middle anchor) text run 7 at (135.66,-82.90) startOffset 6 endOffset 7 width 8.00: "n"
-            chunk 1 (middle anchor) text run 8 at (140.77,-86.07) startOffset 7 endOffset 8 width 4.00: " "
-            chunk 1 (middle anchor) text run 9 at (145.65,-88.52) startOffset 8 endOffset 9 width 7.00: "a"
-            chunk 1 (middle anchor) text run 10 at (150.80,-90.54) startOffset 9 endOffset 10 width 4.00: " "
-            chunk 1 (middle anchor) text run 11 at (156.54,-92.19) startOffset 10 endOffset 11 width 8.00: "p"
-            chunk 1 (middle anchor) text run 12 at (163.95,-93.44) startOffset 11 endOffset 12 width 7.00: "a"
-            chunk 1 (middle anchor) text run 13 at (169.44,-93.75) startOffset 12 endOffset 13 width 4.00: "t"
-            chunk 1 (middle anchor) text run 14 at (175.43,-93.50) startOffset 13 endOffset 14 width 8.00: "h"
-            chunk 1 (middle anchor) text run 15 at (181.38,-92.64) startOffset 14 endOffset 15 width 4.00: " "
-            chunk 1 (middle anchor) text run 16 at (185.75,-91.61) startOffset 15 endOffset 16 width 5.00: "f"
-            chunk 1 (middle anchor) text run 17 at (191.91,-89.54) startOffset 16 endOffset 17 width 8.00: "o"
-            chunk 1 (middle anchor) text run 18 at (197.83,-86.83) startOffset 17 endOffset 18 width 5.00: "r"
-            chunk 1 (middle anchor) text run 19 at (201.71,-84.62) startOffset 18 endOffset 19 width 4.00: " "
-            chunk 1 (middle anchor) text run 20 at (205.07,-82.39) startOffset 19 endOffset 20 width 4.00: "t"
-            chunk 1 (middle anchor) text run 21 at (209.43,-79.03) startOffset 20 endOffset 21 width 7.00: "e"
-            chunk 1 (middle anchor) text run 22 at (214.88,-73.93) startOffset 21 endOffset 22 width 8.00: "x"
-            chunk 1 (middle anchor) text run 23 at (218.90,-69.38) startOffset 22 endOffset 23 width 4.00: "t"
-            chunk 1 (middle anchor) text run 24 at (221.28,-66.29) startOffset 23 endOffset 24 width 4.00: " "
-            chunk 1 (middle anchor) text run 25 at (225.71,-59.55) startOffset 24 endOffset 25 width 12.00: "w"
-            chunk 1 (middle anchor) text run 26 at (229.41,-52.55) startOffset 25 endOffset 26 width 4.00: "/"
-            chunk 1 (middle anchor) text run 27 at (231.03,-48.93) startOffset 26 endOffset 27 width 4.00: " "
-            chunk 1 (middle anchor) text run 28 at (232.35,-45.63) startOffset 27 endOffset 28 width 3.00: "'"
-            chunk 1 (middle anchor) text run 29 at (234.21,-40.30) startOffset 28 endOffset 29 width 8.00: "x"
-            chunk 1 (middle anchor) text run 30 at (235.70,-35.21) startOffset 29 endOffset 30 width 3.00: "'"
-            chunk 1 (middle anchor) text run 31 at (236.54,-31.85) startOffset 30 endOffset 31 width 4.00: "."
+      LayoutSVGText {text} at (95.52,-108.81) size 155.95x79.41 contains 1 chunk(s)
+        LayoutSVGTextPath {textPath} at (95.52,-108.81) size 155.95x79.41
+          LayoutSVGInlineText {#text} at (95.52,-108.81) size 155.95x79.41
+            chunk 1 (middle anchor) text run 1 at (110.99,-53.38) startOffset 0 endOffset 1 width 10.00: "T"
+            chunk 1 (middle anchor) text run 2 at (114.52,-59.94) startOffset 1 endOffset 2 width 7.00: "e"
+            chunk 1 (middle anchor) text run 3 at (118.39,-65.84) startOffset 2 endOffset 3 width 8.00: "x"
+            chunk 1 (middle anchor) text run 4 at (122.00,-70.46) startOffset 3 endOffset 4 width 4.00: "t"
+            chunk 1 (middle anchor) text run 5 at (124.73,-73.52) startOffset 4 endOffset 5 width 4.00: " "
+            chunk 1 (middle anchor) text run 6 at (129.04,-77.71) startOffset 5 endOffset 6 width 8.00: "o"
+            chunk 1 (middle anchor) text run 7 at (135.29,-82.65) startOffset 6 endOffset 7 width 8.00: "n"
+            chunk 1 (middle anchor) text run 8 at (140.38,-85.85) startOffset 7 endOffset 8 width 4.00: " "
+            chunk 1 (middle anchor) text run 9 at (145.24,-88.33) startOffset 8 endOffset 9 width 7.00: "a"
+            chunk 1 (middle anchor) text run 10 at (150.39,-90.40) startOffset 9 endOffset 10 width 4.00: " "
+            chunk 1 (middle anchor) text run 11 at (156.11,-92.09) startOffset 10 endOffset 11 width 8.00: "p"
+            chunk 1 (middle anchor) text run 12 at (163.51,-93.39) startOffset 11 endOffset 12 width 7.00: "a"
+            chunk 1 (middle anchor) text run 13 at (169.00,-93.74) startOffset 12 endOffset 13 width 4.00: "t"
+            chunk 1 (middle anchor) text run 14 at (174.99,-93.54) startOffset 13 endOffset 14 width 8.00: "h"
+            chunk 1 (middle anchor) text run 15 at (180.95,-92.72) startOffset 14 endOffset 15 width 4.00: " "
+            chunk 1 (middle anchor) text run 16 at (185.33,-91.72) startOffset 15 endOffset 16 width 5.00: "f"
+            chunk 1 (middle anchor) text run 17 at (191.50,-89.70) startOffset 16 endOffset 17 width 8.00: "o"
+            chunk 1 (middle anchor) text run 18 at (197.44,-87.03) startOffset 17 endOffset 18 width 5.00: "r"
+            chunk 1 (middle anchor) text run 19 at (201.33,-84.85) startOffset 18 endOffset 19 width 4.00: " "
+            chunk 1 (middle anchor) text run 20 at (204.71,-82.65) startOffset 19 endOffset 20 width 4.00: "t"
+            chunk 1 (middle anchor) text run 21 at (209.09,-79.31) startOffset 20 endOffset 21 width 7.00: "e"
+            chunk 1 (middle anchor) text run 22 at (214.57,-74.25) startOffset 21 endOffset 22 width 8.00: "x"
+            chunk 1 (middle anchor) text run 23 at (218.63,-69.71) startOffset 22 endOffset 23 width 4.00: "t"
+            chunk 1 (middle anchor) text run 24 at (221.02,-66.64) startOffset 23 endOffset 24 width 4.00: " "
+            chunk 1 (middle anchor) text run 25 at (225.48,-59.94) startOffset 24 endOffset 25 width 12.00: "w"
+            chunk 1 (middle anchor) text run 26 at (229.23,-52.94) startOffset 25 endOffset 26 width 4.00: "/"
+            chunk 1 (middle anchor) text run 27 at (230.86,-49.33) startOffset 26 endOffset 27 width 4.00: " "
+            chunk 1 (middle anchor) text run 28 at (232.19,-46.05) startOffset 27 endOffset 28 width 3.00: "'"
+            chunk 1 (middle anchor) text run 29 at (234.09,-40.70) startOffset 28 endOffset 29 width 8.00: "x"
+            chunk 1 (middle anchor) text run 30 at (235.59,-35.63) startOffset 29 endOffset 30 width 3.00: "'"
+            chunk 1 (middle anchor) text run 31 at (236.44,-32.28) startOffset 30 endOffset 31 width 4.00: "."
     LayoutSVGContainer {g} at (-10,-135) size 390x140 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,330.00)}]
       LayoutSVGRect {rect} at (-10,-135) size 390x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=-10.00] [y=-135.00] [width=390.00] [height=20.00]
       LayoutSVGRect {rect} at (-10,-115) size 390x120 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=-10.00] [y=-115.00] [width=390.00] [height=120.00]
-      LayoutSVGText {text} at (-10,-133) size 236.02x16 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (-10,-133) size 236.02x16
-          chunk 1 text run 1 at (-10.00,-120.00) startOffset 0 endOffset 40 width 236.02: "Text with one textPath child and x=\"100\""
+      LayoutSVGText {text} at (-10,-133) size 237x16 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (-10,-133) size 237x16
+          chunk 1 text run 1 at (-10.00,-120.00) startOffset 0 endOffset 40 width 237.00: "Text with one textPath child and x=\"100\""
       LayoutSVGContainer {use} at (100,-93.75) size 140x93.75
         LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
-      LayoutSVGText {text} at (178.61,-107.72) size 76.41x107.91 contains 1 chunk(s)
-        LayoutSVGTextPath {textPath} at (178.61,-107.72) size 76.41x107.91
-          LayoutSVGInlineText {#text} at (178.61,-107.72) size 76.41x107.91
-            chunk 1 (middle anchor) text run 1 at (184.16,-92.02) startOffset 0 endOffset 1 width 10.00: "T"
-            chunk 1 (middle anchor) text run 2 at (191.71,-89.62) startOffset 1 endOffset 2 width 7.00: "e"
-            chunk 1 (middle anchor) text run 3 at (198.26,-86.60) startOffset 2 endOffset 3 width 8.00: "x"
-            chunk 1 (middle anchor) text run 4 at (203.40,-83.53) startOffset 3 endOffset 4 width 4.00: "t"
-            chunk 1 (middle anchor) text run 5 at (206.72,-81.19) startOffset 4 endOffset 5 width 4.00: " "
-            chunk 1 (middle anchor) text run 6 at (211.28,-77.41) startOffset 5 endOffset 6 width 8.00: "o"
-            chunk 1 (middle anchor) text run 7 at (216.95,-71.68) startOffset 6 endOffset 7 width 8.00: "n"
-            chunk 1 (middle anchor) text run 8 at (220.70,-67.08) startOffset 7 endOffset 8 width 4.00: " "
-            chunk 1 (middle anchor) text run 9 at (223.83,-62.59) startOffset 8 endOffset 9 width 7.00: "a"
-            chunk 1 (middle anchor) text run 10 at (226.74,-57.75) startOffset 9 endOffset 10 width 4.00: " "
-            chunk 1 (middle anchor) text run 11 at (229.41,-52.55) startOffset 10 endOffset 11 width 8.00: "p"
-            chunk 1 (middle anchor) text run 12 at (232.35,-45.63) startOffset 11 endOffset 12 width 7.00: "a"
-            chunk 1 (middle anchor) text run 13 at (234.21,-40.30) startOffset 12 endOffset 13 width 4.00: "t"
-            chunk 1 (middle anchor) text run 14 at (235.83,-34.73) startOffset 13 endOffset 14 width 8.00: "h"
-            chunk 1 (middle anchor) text run 15 at (237.19,-28.89) startOffset 14 endOffset 15 width 4.00: " "
-            chunk 1 (middle anchor) text run 16 at (238.05,-24.33) startOffset 15 endOffset 16 width 5.00: "f"
-            chunk 1 (middle anchor) text run 17 at (238.98,-17.85) startOffset 16 endOffset 17 width 8.00: "o"
-            chunk 1 (middle anchor) text run 18 at (239.60,-11.30) startOffset 17 endOffset 18 width 5.00: "r"
-            chunk 1 (middle anchor) text run 19 at (239.85,-6.89) startOffset 18 endOffset 19 width 4.00: " "
-            chunk 1 (middle anchor) text run 20 at (239.98,-2.87) startOffset 19 endOffset 20 width 4.00: "t"
+      LayoutSVGText {text} at (179.02,-107.61) size 75.98x107.38 contains 1 chunk(s)
+        LayoutSVGTextPath {textPath} at (179.02,-107.61) size 75.98x107.38
+          LayoutSVGInlineText {#text} at (179.02,-107.61) size 75.98x107.38
+            chunk 1 (middle anchor) text run 1 at (184.37,-91.97) startOffset 0 endOffset 1 width 10.00: "T"
+            chunk 1 (middle anchor) text run 2 at (191.50,-89.70) startOffset 1 endOffset 2 width 7.00: "e"
+            chunk 1 (middle anchor) text run 3 at (197.88,-86.80) startOffset 2 endOffset 3 width 8.00: "x"
+            chunk 1 (middle anchor) text run 4 at (203.03,-83.78) startOffset 3 endOffset 4 width 4.00: "t"
+            chunk 1 (middle anchor) text run 5 at (206.36,-81.46) startOffset 4 endOffset 5 width 4.00: " "
+            chunk 1 (middle anchor) text run 6 at (210.96,-77.71) startOffset 5 endOffset 6 width 8.00: "o"
+            chunk 1 (middle anchor) text run 7 at (216.65,-72.01) startOffset 6 endOffset 7 width 8.00: "n"
+            chunk 1 (middle anchor) text run 8 at (220.44,-67.42) startOffset 7 endOffset 8 width 4.00: " "
+            chunk 1 (middle anchor) text run 9 at (223.59,-62.96) startOffset 8 endOffset 9 width 7.00: "a"
+            chunk 1 (middle anchor) text run 10 at (226.51,-58.15) startOffset 9 endOffset 10 width 4.00: " "
+            chunk 1 (middle anchor) text run 11 at (229.23,-52.94) startOffset 10 endOffset 11 width 8.00: "p"
+            chunk 1 (middle anchor) text run 12 at (232.19,-46.05) startOffset 11 endOffset 12 width 7.00: "a"
+            chunk 1 (middle anchor) text run 13 at (234.09,-40.70) startOffset 12 endOffset 13 width 4.00: "t"
+            chunk 1 (middle anchor) text run 14 at (235.72,-35.15) startOffset 13 endOffset 14 width 8.00: "h"
+            chunk 1 (middle anchor) text run 15 at (237.10,-29.33) startOffset 14 endOffset 15 width 4.00: " "
+            chunk 1 (middle anchor) text run 16 at (237.98,-24.78) startOffset 15 endOffset 16 width 5.00: "f"
+            chunk 1 (middle anchor) text run 17 at (238.93,-18.28) startOffset 16 endOffset 17 width 8.00: "o"
+            chunk 1 (middle anchor) text run 18 at (239.57,-11.75) startOffset 17 endOffset 18 width 5.00: "r"
+            chunk 1 (middle anchor) text run 19 at (239.84,-7.33) startOffset 18 endOffset 19 width 4.00: " "
+            chunk 1 (middle anchor) text run 20 at (239.97,-3.32) startOffset 19 endOffset 20 width 4.00: "t"
     LayoutSVGContainer {g} at (-10,-135) size 390x140 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,475.00)}]
       LayoutSVGRect {rect} at (-10,-135) size 390x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=-10.00] [y=-135.00] [width=390.00] [height=20.00]
       LayoutSVGRect {rect} at (-10,-115) size 390x120 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=-10.00] [y=-115.00] [width=390.00] [height=120.00]
-      LayoutSVGText {text} at (-10,-133) size 286.02x16 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (-10,-133) size 286.02x16
-          chunk 1 text run 1 at (-10.00,-120.00) startOffset 0 endOffset 48 width 286.02: "Text with one textPath child and x=\"-100\" y=\"10\""
+      LayoutSVGText {text} at (-10,-133) size 287x16 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (-10,-133) size 287x16
+          chunk 1 text run 1 at (-10.00,-120.00) startOffset 0 endOffset 48 width 287.00: "Text with one textPath child and x=\"-100\" y=\"10\""
       LayoutSVGContainer {use} at (100,-93.75) size 140x93.75
         LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
-      LayoutSVGText {text} at (84.98,-108.77) size 158.41x110.08 contains 1 chunk(s)
-        LayoutSVGTextPath {textPath} at (84.98,-108.77) size 158.41x110.08
-          LayoutSVGInlineText {#text} at (84.98,-2.77) size 19.02x4.08
-            chunk 1 (middle anchor) text run 1 at (100.00,-0.71) startOffset 9 endOffset 10 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (84.98,-108.77) size 158.41x110.08
-            LayoutSVGInlineText {#text} at (123.16,-108.77) size 120.23x58.98
-              chunk 1 (middle anchor) text run 1 at (135.76,-82.97) startOffset 0 endOffset 1 width 8.00: "p"
-              chunk 1 (middle anchor) text run 2 at (142.17,-86.83) startOffset 1 endOffset 2 width 7.00: "a"
-              chunk 1 (middle anchor) text run 3 at (147.15,-89.16) startOffset 2 endOffset 3 width 4.00: "t"
-              chunk 1 (middle anchor) text run 4 at (152.81,-91.19) startOffset 3 endOffset 4 width 8.00: "h"
-              chunk 1 (middle anchor) text run 5 at (158.62,-92.64) startOffset 4 endOffset 5 width 4.00: " "
-              chunk 1 (middle anchor) text run 6 at (163.08,-93.34) startOffset 5 endOffset 6 width 5.00: "f"
-              chunk 1 (middle anchor) text run 7 at (169.56,-93.75) startOffset 6 endOffset 7 width 8.00: "o"
-              chunk 1 (middle anchor) text run 8 at (176.05,-93.44) startOffset 7 endOffset 8 width 5.00: "r"
-              chunk 1 (middle anchor) text run 9 at (180.51,-92.80) startOffset 8 endOffset 9 width 4.00: " "
-              chunk 1 (middle anchor) text run 10 at (184.42,-91.96) startOffset 9 endOffset 10 width 4.00: "t"
-              chunk 1 (middle anchor) text run 11 at (189.67,-90.38) startOffset 10 endOffset 11 width 7.00: "e"
-              chunk 1 (middle anchor) text run 12 at (196.61,-87.45) startOffset 11 endOffset 12 width 8.00: "x"
-              chunk 1 (middle anchor) text run 13 at (201.81,-84.55) startOffset 12 endOffset 13 width 4.00: "t"
-              chunk 1 (middle anchor) text run 14 at (205.17,-82.32) startOffset 13 endOffset 14 width 4.00: " "
-              chunk 1 (middle anchor) text run 15 at (211.37,-77.34) startOffset 14 endOffset 15 width 12.00: "w"
-              chunk 1 (middle anchor) text run 16 at (217.03,-71.59) startOffset 15 endOffset 16 width 4.00: "/"
-              chunk 1 (middle anchor) text run 17 at (219.57,-68.53) startOffset 16 endOffset 17 width 4.00: " "
-              chunk 1 (middle anchor) text run 18 at (221.64,-65.79) startOffset 17 endOffset 18 width 3.00: "'"
-              chunk 1 (middle anchor) text run 19 at (224.71,-61.20) startOffset 18 endOffset 19 width 8.00: "x"
-              chunk 1 (middle anchor) text run 20 at (227.51,-56.34) startOffset 19 endOffset 20 width 3.00: "'"
-              chunk 1 (middle anchor) text run 21 at (229.04,-53.33) startOffset 20 endOffset 21 width 4.00: "."
+      LayoutSVGText {text} at (84.98,-108.78) size 158.61x110.53 contains 1 chunk(s)
+        LayoutSVGTextPath {textPath} at (84.98,-108.78) size 158.61x110.53
+          LayoutSVGInlineText {#text} at (84.98,-2.27) size 19x4.02
+            chunk 1 (middle anchor) text run 1 at (100.00,-0.26) startOffset 9 endOffset 10 width 4.00: " "
+          LayoutSVGTSpan {tspan} at (84.98,-108.78) size 158.61x110.53
+            LayoutSVGInlineText {#text} at (123.59,-108.78) size 120.02x59.39
+              chunk 1 (middle anchor) text run 1 at (136.13,-83.22) startOffset 0 endOffset 1 width 8.00: "p"
+              chunk 1 (middle anchor) text run 2 at (142.56,-87.03) startOffset 1 endOffset 2 width 7.00: "a"
+              chunk 1 (middle anchor) text run 3 at (147.57,-89.33) startOffset 2 endOffset 3 width 4.00: "t"
+              chunk 1 (middle anchor) text run 4 at (153.24,-91.32) startOffset 3 endOffset 4 width 8.00: "h"
+              chunk 1 (middle anchor) text run 5 at (159.05,-92.72) startOffset 4 endOffset 5 width 4.00: " "
+              chunk 1 (middle anchor) text run 6 at (163.51,-93.39) startOffset 5 endOffset 6 width 5.00: "f"
+              chunk 1 (middle anchor) text run 7 at (170.00,-93.75) startOffset 6 endOffset 7 width 8.00: "o"
+              chunk 1 (middle anchor) text run 8 at (176.49,-93.39) startOffset 7 endOffset 8 width 5.00: "r"
+              chunk 1 (middle anchor) text run 9 at (180.95,-92.72) startOffset 8 endOffset 9 width 4.00: " "
+              chunk 1 (middle anchor) text run 10 at (184.85,-91.85) startOffset 9 endOffset 10 width 4.00: "t"
+              chunk 1 (middle anchor) text run 11 at (190.09,-90.23) startOffset 10 endOffset 11 width 7.00: "e"
+              chunk 1 (middle anchor) text run 12 at (197.00,-87.25) startOffset 11 endOffset 12 width 8.00: "x"
+              chunk 1 (middle anchor) text run 13 at (202.18,-84.32) startOffset 12 endOffset 13 width 4.00: "t"
+              chunk 1 (middle anchor) text run 14 at (205.53,-82.06) startOffset 13 endOffset 14 width 4.00: " "
+              chunk 1 (middle anchor) text run 15 at (211.69,-77.04) startOffset 14 endOffset 15 width 12.00: "w"
+              chunk 1 (middle anchor) text run 16 at (217.33,-71.24) startOffset 15 endOffset 16 width 4.00: "/"
+              chunk 1 (middle anchor) text run 17 at (219.84,-68.19) startOffset 16 endOffset 17 width 4.00: " "
+              chunk 1 (middle anchor) text run 18 at (221.89,-65.44) startOffset 17 endOffset 18 width 3.00: "'"
+              chunk 1 (middle anchor) text run 19 at (224.95,-60.82) startOffset 18 endOffset 19 width 8.00: "x"
+              chunk 1 (middle anchor) text run 20 at (227.70,-55.97) startOffset 19 endOffset 20 width 3.00: "'"
+              chunk 1 (middle anchor) text run 21 at (229.23,-52.94) startOffset 20 endOffset 21 width 4.00: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPathSpaces-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPathSpaces-expected.png
index 4aaca73..5359480 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPathSpaces-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPathSpaces-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPathSpaces-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPathSpaces-expected.txt
index 72772aa..122c733 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPathSpaces-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textOnPathSpaces-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
     LayoutSVGContainer {g} at (3.06,25) size 431.94x417
-      LayoutSVGText {text} at (96.38,25) size 257.22x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (96.38,25) size 257.22x18
-          chunk 1 (middle anchor) text run 1 at (96.39,40.00) startOffset 0 endOffset 36 width 257.23: "Text on a path with adjusted spacing"
+      LayoutSVGText {text} at (96.50,25) size 257x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (96.50,25) size 257x18
+          chunk 1 (middle anchor) text run 1 at (96.50,40.00) startOffset 0 endOffset 36 width 257.00: "Text on a path with adjusted spacing"
       LayoutSVGHiddenContainer {defs} at (15,8.79) size 120x41.21
         LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
         LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 100 C 100 0 400 0 400 100"]
@@ -26,7 +26,7 @@
         LayoutSVGText {text} at (35,50) size 60x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,50) size 60x12
             chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 15 width 60.00: "default spacing"
-      LayoutSVGContainer {g} at (10.77,-8.17) size 126.86x80.17 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,70.00)}]
+      LayoutSVGContainer {g} at (10.77,-8.17) size 127.23x80.17 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,70.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
         LayoutSVGText {text} at (10.77,-8.17) size 105.75x49.31 contains 1 chunk(s)
@@ -40,12 +40,12 @@
                 chunk 1 text run 1 at (96.60,35.46) startOffset 0 endOffset 1 width 6.00: "l"
                 chunk 1 text run 1 at (109.89,25.61) startOffset 0 endOffset 1 width 9.00: "e"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (15,50) size 122.63x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (15,50) size 122.63x12
-            chunk 1 text run 1 at (15.00,60.00) startOffset 0 endOffset 28 width 122.63: "tspan x=\"10,30,50,75,95,110\""
-        LayoutSVGText {text} at (35,60) size 33.63x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,60) size 33.63x12
-            chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 7 width 33.63: "y=\"110\""
+        LayoutSVGText {text} at (15,50) size 123x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (15,50) size 123x12
+            chunk 1 text run 1 at (15.00,60.00) startOffset 0 endOffset 28 width 123.00: "tspan x=\"10,30,50,75,95,110\""
+        LayoutSVGText {text} at (35,60) size 34x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,60) size 34x12
+            chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 7 width 34.00: "y=\"110\""
       LayoutSVGContainer {g} at (3.06,-8.86) size 131.94x70.86 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,70.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
@@ -152,9 +152,9 @@
               chunk 1 text run 5 at (41.83,9.53) startOffset 4 endOffset 5 width 6.00: "l"
               chunk 1 text run 6 at (46.24,8.80) startOffset 5 endOffset 6 width 9.00: "e"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 74.80x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 74.80x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 19 width 74.80: "letter-spacing=\"-3\""
+        LayoutSVGText {text} at (35,50) size 75x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 75x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 19 width 75.00: "letter-spacing=\"-3\""
       LayoutSVGContainer {g} at (3.06,-8.22) size 131.94x80.22 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,350.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPCDATA-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPCDATA-expected.png
index a2ca50d..cb5f6dd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPCDATA-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPCDATA-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPCDATA-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPCDATA-expected.txt
index cabd139..7438411c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPCDATA-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPCDATA-expected.txt
@@ -2,43 +2,43 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGContainer {g} at (-23.44,15) size 496.89x249
+    LayoutSVGContainer {g} at (-22.50,15) size 495x249
       LayoutSVGText {text} at (136.50,15) size 177x18 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (136.50,15) size 177x18
           chunk 1 (middle anchor) text run 1 at (136.50,30.00) startOffset 0 endOffset 24 width 177.00: "Character Data on <text>"
-      LayoutSVGContainer {g} at (-94.97,-15) size 189.94x39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,120.00)}]
-        LayoutSVGText {text} at (-42.97,-15) size 85.94x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-42.97,-15) size 85.94x19
-            chunk 1 (middle anchor) text run 1 at (-42.97,0.00) startOffset 0 endOffset 10 width 85.95: "CDATA only"
-        LayoutSVGText {text} at (-94.97,5) size 189.94x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#cdata-section} at (-94.97,5) size 189.94x19
-            chunk 1 (middle anchor) text run 1 at (-94.97,20.00) startOffset 0 endOffset 27 width 189.95: "<text> with a CDATA section"
-      LayoutSVGContainer {g} at (-163.41,-15) size 326.83x39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,180.00)}]
-        LayoutSVGText {text} at (-57.97,-15) size 116.94x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-57.97,-15) size 116.94x19
-            chunk 1 (middle anchor) text run 1 at (-57.97,0.00) startOffset 0 endOffset 17 width 115.95: "text, CDATA, text"
-        LayoutSVGText {text} at (-163.41,5) size 326.83x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-163.41,5) size 94.88x19
-            chunk 1 (middle anchor) text run 1 at (-163.41,20.00) startOffset 0 endOffset 17 width 94.88: "Text first, then "
-          LayoutSVGInlineText {#cdata-section} at (-68.53,5) size 162.94x19
-            chunk 1 (middle anchor) text run 1 at (-68.53,20.00) startOffset 0 endOffset 23 width 162.95: "CDATA section in <text>"
-          LayoutSVGInlineText {#text} at (94.41,5) size 69x19
-            chunk 1 (middle anchor) text run 1 at (94.41,20.00) startOffset 0 endOffset 12 width 69.00: ", text again"
-      LayoutSVGContainer {g} at (-248.44,-15) size 496.89x39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,240.00)}]
-        LayoutSVGText {text} at (-109.44,-15) size 219.89x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-109.44,-15) size 219.89x19
-            chunk 1 (middle anchor) text run 1 at (-109.45,0.00) startOffset 0 endOffset 31 width 218.89: "text, CDATA, tspan, CDATA, text"
-        LayoutSVGText {text} at (-248.44,5) size 496.89x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-248.44,5) size 31x19
-            chunk 1 (middle anchor) text run 1 at (-248.45,20.00) startOffset 0 endOffset 6 width 31.00: "text, "
-          LayoutSVGInlineText {#cdata-section} at (-217.44,5) size 162.94x19
-            chunk 1 (middle anchor) text run 1 at (-217.45,20.00) startOffset 0 endOffset 23 width 162.95: "CDATA section in <text>"
+      LayoutSVGContainer {g} at (-94.50,-15) size 189x39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,120.00)}]
+        LayoutSVGText {text} at (-42.50,-15) size 85x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-42.50,-15) size 85x19
+            chunk 1 (middle anchor) text run 1 at (-42.50,0.00) startOffset 0 endOffset 10 width 85.00: "CDATA only"
+        LayoutSVGText {text} at (-94.50,5) size 189x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#cdata-section} at (-94.50,5) size 189x19
+            chunk 1 (middle anchor) text run 1 at (-94.50,20.00) startOffset 0 endOffset 27 width 189.00: "<text> with a CDATA section"
+      LayoutSVGContainer {g} at (-162.50,-15) size 325x39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,180.00)}]
+        LayoutSVGText {text} at (-57.50,-15) size 116x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-57.50,-15) size 116x19
+            chunk 1 (middle anchor) text run 1 at (-57.50,0.00) startOffset 0 endOffset 17 width 115.00: "text, CDATA, text"
+        LayoutSVGText {text} at (-162.50,5) size 325x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-162.50,5) size 94x19
+            chunk 1 (middle anchor) text run 1 at (-162.50,20.00) startOffset 0 endOffset 17 width 94.00: "Text first, then "
+          LayoutSVGInlineText {#cdata-section} at (-68.50,5) size 162x19
+            chunk 1 (middle anchor) text run 1 at (-68.50,20.00) startOffset 0 endOffset 23 width 162.00: "CDATA section in <text>"
+          LayoutSVGInlineText {#text} at (93.50,5) size 69x19
+            chunk 1 (middle anchor) text run 1 at (93.50,20.00) startOffset 0 endOffset 12 width 69.00: ", text again"
+      LayoutSVGContainer {g} at (-247.50,-15) size 495x39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,240.00)}]
+        LayoutSVGText {text} at (-108.50,-15) size 218x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-108.50,-15) size 218x19
+            chunk 1 (middle anchor) text run 1 at (-108.50,0.00) startOffset 0 endOffset 31 width 217.00: "text, CDATA, tspan, CDATA, text"
+        LayoutSVGText {text} at (-247.50,5) size 495x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-247.50,5) size 31x19
+            chunk 1 (middle anchor) text run 1 at (-247.50,20.00) startOffset 0 endOffset 6 width 31.00: "text, "
+          LayoutSVGInlineText {#cdata-section} at (-216.50,5) size 162x19
+            chunk 1 (middle anchor) text run 1 at (-216.50,20.00) startOffset 0 endOffset 23 width 162.00: "CDATA section in <text>"
           LayoutSVGInlineText {#text} at (-54.50,5) size 8x19
             chunk 1 (middle anchor) text run 1 at (-54.50,20.00) startOffset 0 endOffset 2 width 8.00: ", "
-          LayoutSVGTSpan {tspan} at (-248.44,5) size 496.89x19
+          LayoutSVGTSpan {tspan} at (-247.50,5) size 495x19
             LayoutSVGInlineText {#text} at (-46.50,5) size 54x19
               chunk 1 (middle anchor) text run 1 at (-46.50,20.00) startOffset 0 endOffset 8 width 53.00: "tspan w/"
-            LayoutSVGInlineText {#cdata-section} at (6.50,5) size 172.94x19
-              chunk 1 (middle anchor) text run 1 at (6.50,20.00) startOffset 0 endOffset 24 width 172.95: "CDATA section in <tspan>"
-          LayoutSVGInlineText {#text} at (179.44,5) size 69x19
-            chunk 1 (middle anchor) text run 1 at (179.45,20.00) startOffset 0 endOffset 12 width 69.00: ", text again"
+            LayoutSVGInlineText {#cdata-section} at (6.50,5) size 172x19
+              chunk 1 (middle anchor) text run 1 at (6.50,20.00) startOffset 0 endOffset 24 width 172.00: "CDATA section in <tspan>"
+          LayoutSVGInlineText {#text} at (178.50,5) size 69x19
+            chunk 1 (middle anchor) text run 1 at (178.50,20.00) startOffset 0 endOffset 12 width 69.00: ", text again"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition-expected.png
index e3fc4ef..7bbdef8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition-expected.txt
index 7fcd44e..c919f53e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition-expected.txt
@@ -2,9 +2,9 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGText {text} at (179.38,15) size 91.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (179.38,15) size 91.22x18
-        chunk 1 (middle anchor) text run 1 at (179.39,30.00) startOffset 0 endOffset 13 width 91.23: "Text Position"
+    LayoutSVGText {text} at (179.50,15) size 91x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (179.50,15) size 91x18
+        chunk 1 (middle anchor) text run 1 at (179.50,30.00) startOffset 0 endOffset 13 width 91.00: "Text Position"
     LayoutSVGContainer {g} at (50,59) size 399x344
       LayoutSVGText {text} at (50,59) size 53x27 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (50,59) size 53x27
@@ -29,9 +29,9 @@
           chunk 1 text run 1 at (90.00,140.00) startOffset 0 endOffset 1 width 7.00: "t"
           chunk 1 text run 1 at (110.00,140.00) startOffset 0 endOffset 1 width 5.00: "i"
           chunk 1 text run 1 at (130.00,140.00) startOffset 0 endOffset 1 width 12.00: "k"
-      LayoutSVGText {text} at (50,150) size 174.25x13 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (50,150) size 174.25x13
-          chunk 1 text run 1 at (50.00,160.00) startOffset 0 endOffset 35 width 174.26: "<text x=\"50 70 90 110 130\" y=\"140\">"
+      LayoutSVGText {text} at (50,150) size 175x13 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (50,150) size 175x13
+          chunk 1 text run 1 at (50.00,160.00) startOffset 0 endOffset 35 width 175.00: "<text x=\"50 70 90 110 130\" y=\"140\">"
       LayoutSVGText {text} at (240,119) size 133x27 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (240,119) size 133x27
           chunk 1 text run 1 at (240.00,140.00) startOffset 0 endOffset 1 width 16.00: "B"
@@ -69,9 +69,9 @@
             chunk 1 text run 1 at (90.00,260.00) startOffset 0 endOffset 1 width 7.00: "t"
             chunk 1 text run 1 at (110.00,260.00) startOffset 0 endOffset 1 width 5.00: "i"
             chunk 1 text run 1 at (130.00,260.00) startOffset 0 endOffset 1 width 12.00: "k"
-      LayoutSVGText {text} at (50,270) size 183.25x13 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (50,270) size 183.25x13
-          chunk 1 text run 1 at (50.00,280.00) startOffset 0 endOffset 36 width 183.26: "<tspan x=\"50 70 90 110 130\" y=\"260\">"
+      LayoutSVGText {text} at (50,270) size 184x13 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (50,270) size 184x13
+          chunk 1 text run 1 at (50.00,280.00) startOffset 0 endOffset 36 width 184.00: "<tspan x=\"50 70 90 110 130\" y=\"260\">"
       LayoutSVGText {text} at (240,239) size 133x27 contains 1 chunk(s)
         LayoutSVGTSpan {tspan} at (240,239) size 133x27
           LayoutSVGInlineText {#text} at (240,239) size 133x27
@@ -120,9 +120,9 @@
             chunk 1 text run 4 at (116.00,380.00) startOffset 3 endOffset 4 width 5.00: "i"
             chunk 1 text run 5 at (131.00,380.00) startOffset 4 endOffset 5 width 12.00: "k"
         LayoutSVGTSpan {tspan} at (50,359) size 93x27
-      LayoutSVGText {text} at (50,390) size 93.63x13 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (50,390) size 93.63x13
-          chunk 1 text run 1 at (50.00,400.00) startOffset 0 endOffset 20 width 93.63: "Empty Trailing tspan"
+      LayoutSVGText {text} at (50,390) size 94x13 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (50,390) size 94x13
+          chunk 1 text run 1 at (50.00,400.00) startOffset 0 endOffset 20 width 94.00: "Empty Trailing tspan"
       LayoutSVGText {text} at (240,359) size 133x27 contains 1 chunk(s)
         LayoutSVGTSpan {tspan} at (240,359) size 133x27
         LayoutSVGTSpan {tspan} at (240,359) size 133x27
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition2-expected.png
index 9fc79ca..ced45fd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition2-expected.txt
index f34f794..3070c71 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textPosition2-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGText {text} at (172.88,15) size 104.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (172.88,15) size 104.22x18
-        chunk 1 (middle anchor) text run 1 at (172.89,30.00) startOffset 0 endOffset 15 width 104.23: "Text Position 2"
+    LayoutSVGText {text} at (173,15) size 104x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (173,15) size 104x18
+        chunk 1 (middle anchor) text run 1 at (173.00,30.00) startOffset 0 endOffset 15 width 104.00: "Text Position 2"
     LayoutSVGContainer {g} at (50,59) size 399x295
       LayoutSVGText {text} at (50,59) size 54x27 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (50,59) size 54x27
@@ -30,9 +30,9 @@
           chunk 1 text run 1 at (90.00,140.00) startOffset 0 endOffset 1 width 7.00: "t"
           chunk 1 text run 1 at (110.00,140.00) startOffset 0 endOffset 1 width 7.00: "i"
           chunk 1 text run 1 at (130.00,140.00) startOffset 0 endOffset 1 width 12.00: "k"
-      LayoutSVGText {text} at (50,150) size 174.25x13 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (50,150) size 174.25x13
-          chunk 1 text run 1 at (50.00,160.00) startOffset 0 endOffset 35 width 174.26: "<text x=\"50 70 90 110 130\" y=\"140\">"
+      LayoutSVGText {text} at (50,150) size 175x13 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (50,150) size 175x13
+          chunk 1 text run 1 at (50.00,160.00) startOffset 0 endOffset 35 width 175.00: "<text x=\"50 70 90 110 130\" y=\"140\">"
       LayoutSVGText {text} at (240,119) size 134x27 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (240,119) size 134x27
           chunk 1 text run 1 at (240.00,140.00) startOffset 0 endOffset 1 width 16.00: "B"
@@ -70,9 +70,9 @@
             chunk 1 text run 1 at (90.00,260.00) startOffset 0 endOffset 1 width 7.00: "t"
             chunk 1 text run 1 at (110.00,260.00) startOffset 0 endOffset 1 width 7.00: "i"
             chunk 1 text run 1 at (130.00,260.00) startOffset 0 endOffset 1 width 12.00: "k"
-      LayoutSVGText {text} at (50,270) size 183.25x13 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (50,270) size 183.25x13
-          chunk 1 text run 1 at (50.00,280.00) startOffset 0 endOffset 36 width 183.26: "<tspan x=\"50 70 90 110 130\" y=\"260\">"
+      LayoutSVGText {text} at (50,270) size 184x13 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (50,270) size 184x13
+          chunk 1 text run 1 at (50.00,280.00) startOffset 0 endOffset 36 width 184.00: "<tspan x=\"50 70 90 110 130\" y=\"260\">"
       LayoutSVGText {text} at (240,239) size 134x27 contains 1 chunk(s)
         LayoutSVGTSpan {tspan} at (240,239) size 134x27
           LayoutSVGInlineText {#text} at (240,239) size 134x27
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties-expected.png
index 19199f7..a417030 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties-expected.txt
index 0caf2f6..c8154d5d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties-expected.txt
@@ -10,9 +10,9 @@
         LayoutSVGInlineText {#text} at (-22,-15) size 44x19
           chunk 1 (middle anchor) text run 1 at (-22.00,0.00) startOffset 0 endOffset 6 width 44.00: "sample"
     LayoutSVGContainer {g} at (15.50,36) size 414.50x433
-      LayoutSVGText {text} at (59.38,36) size 331.22x17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (59.38,36) size 331.22x17
-          chunk 1 (middle anchor) text run 1 at (59.39,50.00) startOffset 0 endOffset 47 width 331.22: "Text Alignment, Geometry, References, and Spans"
+      LayoutSVGText {text} at (60,36) size 330x17 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (60,36) size 330x17
+          chunk 1 (middle anchor) text run 1 at (60.00,50.00) startOffset 0 endOffset 47 width 330.00: "Text Alignment, Geometry, References, and Spans"
       LayoutSVGContainer {g} at (111,70) size 231x70
         LayoutSVGPath {line} at (225,70) size 0x70 [stroke={[type=SOLID] [color=#808080]}] [fill={[type=SOLID] [color=#000000]}] [x1=225.00] [y1=70.00] [x2=225.00] [y2=140.00]
         LayoutSVGText {text} at (225,77) size 117x17 contains 1 chunk(s)
@@ -71,9 +71,9 @@
         LayoutSVGText {text} at (-81,0) size 161x19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-81,0) size 161x19
             chunk 1 (middle anchor) text run 1 at (-80.00,15.00) startOffset 0 endOffset 25 width 160.00: "predefined text via <use>"
-      LayoutSVGText {text} at (144.02,267) size 161.94x17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (144.02,267) size 161.94x17
-          chunk 1 (middle anchor) text run 1 at (144.02,280.00) startOffset 0 endOffset 25 width 161.95: "Text Rendering Properties"
+      LayoutSVGText {text} at (144.50,267) size 161x17 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (144.50,267) size 161x17
+          chunk 1 (middle anchor) text run 1 at (144.50,280.00) startOffset 0 endOffset 25 width 161.00: "Text Rendering Properties"
       LayoutSVGContainer {g} at (-76,-7) size 152x41 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,305.00)}]
         LayoutSVGContainer {g} at (-42,-27) size 84x34 [transform={m=((-1.00,0.00)(-0.00,-1.00)) t=(0.00,0.00)}]
           LayoutSVGContainer {use} at (-42,-27) size 84x34
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties2-expected.png
index 7b81bf66..527334b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties2-expected.txt
index e85bd76b..8c55501 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textProperties2-expected.txt
@@ -4,12 +4,12 @@
   LayoutSVGRoot {svg} at (0,0) size 450x500
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (12.50,26) size 468.50x306
-      LayoutSVGText {text} at (143.38,26) size 163.22x17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (143.38,26) size 163.22x17
-          chunk 1 (middle anchor) text run 1 at (143.39,40.00) startOffset 0 endOffset 28 width 163.22: "Text display and visibility."
-      LayoutSVGText {text} at (143.47,59) size 163.03x19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (143.47,59) size 163.03x19
-          chunk 1 (middle anchor) text run 1 at (143.48,74.00) startOffset 0 endOffset 27 width 163.04: "Visibility on text & tspans"
+      LayoutSVGText {text} at (144,26) size 162x17 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (144,26) size 162x17
+          chunk 1 (middle anchor) text run 1 at (144.00,40.00) startOffset 0 endOffset 28 width 162.00: "Text display and visibility."
+      LayoutSVGText {text} at (143,59) size 164x19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (143,59) size 164x19
+          chunk 1 (middle anchor) text run 1 at (143.00,74.00) startOffset 0 endOffset 27 width 164.00: "Visibility on text & tspans"
       LayoutSVGText {text} at (147.50,185) size 155x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (147.50,185) size 155x19
           chunk 1 (middle anchor) text run 1 at (147.50,200.00) startOffset 0 endOffset 24 width 155.00: "Display on text & tspans"
@@ -52,92 +52,92 @@
       LayoutSVGText {text} at (360,308) size 113x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (360,308) size 113x19
           chunk 1 text run 1 at (360.00,323.00) startOffset 0 endOffset 18 width 113.00: "none, inline, none"
-      LayoutSVGContainer {g} at (20,56.39) size 282.88x177.59 [transform={m=((1.25,0.00)(0.00,1.25)) t=(0.00,12.50)}]
-        LayoutSVGText {text} at (20,56.39) size 282.88x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,56.39) size 32.47x17.59
-            chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 5 width 32.48: "Text "
-          LayoutSVGTSpan {tspan} at (20,56.39) size 282.88x17.59
-            LayoutSVGInlineText {#text} at (52.47,56.39) size 50.39x17.59
-              chunk 1 text run 1 at (52.48,70.00) startOffset 0 endOffset 8 width 50.40: "tspan 1 "
-            LayoutSVGTSpan {tspan} at (20,56.39) size 282.88x17.59
-              LayoutSVGInlineText {#text} at (102.88,56.39) size 46.39x17.59
-                chunk 1 text run 1 at (102.88,70.00) startOffset 0 endOffset 7 width 46.40: "tspan 2"
-            LayoutSVGInlineText {#text} at (149.28,56.39) size 83.19x17.59
-              chunk 1 text run 1 at (149.28,70.00) startOffset 0 endOffset 12 width 83.20: " more span 1"
-          LayoutSVGInlineText {#text} at (232.47,56.39) size 70.39x17.59
-            chunk 1 text run 1 at (232.48,70.00) startOffset 0 endOffset 12 width 70.40: " finish text"
-        LayoutSVGText {text} at (20,76.39) size 282.88x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,76.39) size 32.47x17.59
-            chunk 1 text run 1 at (20.00,90.00) startOffset 0 endOffset 5 width 32.48: "Text "
-          LayoutSVGTSpan {tspan} at (20,76.39) size 282.88x17.59
-            LayoutSVGInlineText {#text} at (52.47,76.39) size 50.39x17.59
-              chunk 1 text run 1 at (52.48,90.00) startOffset 0 endOffset 8 width 50.40: "tspan 1 "
-            LayoutSVGTSpan {tspan} at (20,76.39) size 282.88x17.59
-              LayoutSVGInlineText {#text} at (102.88,76.39) size 46.39x17.59
-                chunk 1 text run 1 at (102.88,90.00) startOffset 0 endOffset 7 width 46.40: "tspan 2"
-            LayoutSVGInlineText {#text} at (149.28,76.39) size 83.19x17.59
-              chunk 1 text run 1 at (149.28,90.00) startOffset 0 endOffset 12 width 83.20: " more span 1"
-          LayoutSVGInlineText {#text} at (232.47,76.39) size 70.39x17.59
-            chunk 1 text run 1 at (232.48,90.00) startOffset 0 endOffset 12 width 70.40: " finish text"
-        LayoutSVGText {text} at (20,96.39) size 282.88x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,96.39) size 32.47x17.59
-            chunk 1 text run 1 at (20.00,110.00) startOffset 0 endOffset 5 width 32.48: "Text "
-          LayoutSVGTSpan {tspan} at (20,96.39) size 282.88x17.59
-            LayoutSVGInlineText {#text} at (52.47,96.39) size 50.39x17.59
-              chunk 1 text run 1 at (52.48,110.00) startOffset 0 endOffset 8 width 50.40: "tspan 1 "
-            LayoutSVGTSpan {tspan} at (20,96.39) size 282.88x17.59
-              LayoutSVGInlineText {#text} at (102.88,96.39) size 46.39x17.59
-                chunk 1 text run 1 at (102.88,110.00) startOffset 0 endOffset 7 width 46.40: "tspan 2"
-            LayoutSVGInlineText {#text} at (149.28,96.39) size 83.19x17.59
-              chunk 1 text run 1 at (149.28,110.00) startOffset 0 endOffset 12 width 83.20: " more span 1"
-          LayoutSVGInlineText {#text} at (232.47,96.39) size 70.39x17.59
-            chunk 1 text run 1 at (232.48,110.00) startOffset 0 endOffset 12 width 70.40: " finish text"
-        LayoutSVGText {text} at (20,116.39) size 282.88x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,116.39) size 32.47x17.59
-            chunk 1 text run 1 at (20.00,130.00) startOffset 0 endOffset 5 width 32.48: "Text "
-          LayoutSVGTSpan {tspan} at (20,116.39) size 282.88x17.59
-            LayoutSVGInlineText {#text} at (52.47,116.39) size 50.39x17.59
-              chunk 1 text run 1 at (52.48,130.00) startOffset 0 endOffset 8 width 50.40: "tspan 1 "
-            LayoutSVGTSpan {tspan} at (20,116.39) size 282.88x17.59
-              LayoutSVGInlineText {#text} at (102.88,116.39) size 46.39x17.59
-                chunk 1 text run 1 at (102.88,130.00) startOffset 0 endOffset 7 width 46.40: "tspan 2"
-            LayoutSVGInlineText {#text} at (149.28,116.39) size 83.19x17.59
-              chunk 1 text run 1 at (149.28,130.00) startOffset 0 endOffset 12 width 83.20: " more span 1"
-          LayoutSVGInlineText {#text} at (232.47,116.39) size 70.39x17.59
-            chunk 1 text run 1 at (232.48,130.00) startOffset 0 endOffset 12 width 70.40: " finish text"
-        LayoutSVGText {text} at (20,156.39) size 282.88x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,156.39) size 32.47x17.59
-            chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 5 width 32.48: "Text "
-          LayoutSVGTSpan {tspan} at (20,156.39) size 282.88x17.59
-            LayoutSVGInlineText {#text} at (52.47,156.39) size 50.39x17.59
-              chunk 1 text run 1 at (52.48,170.00) startOffset 0 endOffset 8 width 50.40: "tspan 1 "
-            LayoutSVGTSpan {tspan} at (20,156.39) size 282.88x17.59
-              LayoutSVGInlineText {#text} at (102.88,156.39) size 50.39x17.59
-                chunk 1 text run 1 at (102.88,170.00) startOffset 0 endOffset 8 width 50.40: "tspan 2 "
-            LayoutSVGInlineText {#text} at (153.28,156.39) size 79.19x17.59
-              chunk 1 text run 1 at (153.28,170.00) startOffset 0 endOffset 11 width 79.20: "more span 1"
-          LayoutSVGInlineText {#text} at (232.47,156.39) size 70.39x17.59
-            chunk 1 text run 1 at (232.48,170.00) startOffset 0 endOffset 12 width 70.40: " finish text"
-        LayoutSVGText {text} at (20,176.39) size 232.47x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,176.39) size 32.47x17.59
-            chunk 1 text run 1 at (20.00,190.00) startOffset 0 endOffset 5 width 32.48: "Text "
-          LayoutSVGTSpan {tspan} at (20,176.39) size 232.47x17.59
-            LayoutSVGInlineText {#text} at (52.47,176.39) size 50.39x17.59
-              chunk 1 text run 1 at (52.48,190.00) startOffset 0 endOffset 8 width 50.40: "tspan 1 "
-            LayoutSVGInlineText {#text} at (102.88,176.39) size 79.19x17.59
-              chunk 1 text run 1 at (102.88,190.00) startOffset 0 endOffset 11 width 79.20: "more span 1"
-          LayoutSVGInlineText {#text} at (182.08,176.39) size 70.39x17.59
-            chunk 1 text run 1 at (182.08,190.00) startOffset 0 endOffset 12 width 70.40: " finish text"
-        LayoutSVGText {text} at (20,196.39) size 98.88x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,196.39) size 32.47x17.59
-            chunk 1 text run 1 at (20.00,210.00) startOffset 0 endOffset 5 width 32.48: "Text "
-          LayoutSVGInlineText {#text} at (52.47,196.39) size 66.39x17.59
-            chunk 1 text run 1 at (52.48,210.00) startOffset 0 endOffset 11 width 66.40: "finish text"
-        LayoutSVGText {text} at (20,216.39) size 98.88x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,216.39) size 32.47x17.59
-            chunk 1 text run 1 at (20.00,230.00) startOffset 0 endOffset 5 width 32.48: "Text "
-          LayoutSVGInlineText {#text} at (52.47,216.39) size 66.39x17.59
-            chunk 1 text run 1 at (52.48,230.00) startOffset 0 endOffset 11 width 66.40: "finish text"
+      LayoutSVGContainer {g} at (20,56.39) size 282.39x177.59 [transform={m=((1.25,0.00)(0.00,1.25)) t=(0.00,12.50)}]
+        LayoutSVGText {text} at (20,56.39) size 282.39x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,56.39) size 32x17.59
+            chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 5 width 32.00: "Text "
+          LayoutSVGTSpan {tspan} at (20,56.39) size 282.39x17.59
+            LayoutSVGInlineText {#text} at (52,56.39) size 50.39x17.59
+              chunk 1 text run 1 at (52.00,70.00) startOffset 0 endOffset 8 width 50.40: "tspan 1 "
+            LayoutSVGTSpan {tspan} at (20,56.39) size 282.39x17.59
+              LayoutSVGInlineText {#text} at (102.39,56.39) size 46.39x17.59
+                chunk 1 text run 1 at (102.40,70.00) startOffset 0 endOffset 7 width 46.40: "tspan 2"
+            LayoutSVGInlineText {#text} at (148.80,56.39) size 83.19x17.59
+              chunk 1 text run 1 at (148.80,70.00) startOffset 0 endOffset 12 width 83.20: " more span 1"
+          LayoutSVGInlineText {#text} at (232,56.39) size 70.39x17.59
+            chunk 1 text run 1 at (232.00,70.00) startOffset 0 endOffset 12 width 70.40: " finish text"
+        LayoutSVGText {text} at (20,76.39) size 282.39x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,76.39) size 32x17.59
+            chunk 1 text run 1 at (20.00,90.00) startOffset 0 endOffset 5 width 32.00: "Text "
+          LayoutSVGTSpan {tspan} at (20,76.39) size 282.39x17.59
+            LayoutSVGInlineText {#text} at (52,76.39) size 50.39x17.59
+              chunk 1 text run 1 at (52.00,90.00) startOffset 0 endOffset 8 width 50.40: "tspan 1 "
+            LayoutSVGTSpan {tspan} at (20,76.39) size 282.39x17.59
+              LayoutSVGInlineText {#text} at (102.39,76.39) size 46.39x17.59
+                chunk 1 text run 1 at (102.40,90.00) startOffset 0 endOffset 7 width 46.40: "tspan 2"
+            LayoutSVGInlineText {#text} at (148.80,76.39) size 83.19x17.59
+              chunk 1 text run 1 at (148.80,90.00) startOffset 0 endOffset 12 width 83.20: " more span 1"
+          LayoutSVGInlineText {#text} at (232,76.39) size 70.39x17.59
+            chunk 1 text run 1 at (232.00,90.00) startOffset 0 endOffset 12 width 70.40: " finish text"
+        LayoutSVGText {text} at (20,96.39) size 282.39x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,96.39) size 32x17.59
+            chunk 1 text run 1 at (20.00,110.00) startOffset 0 endOffset 5 width 32.00: "Text "
+          LayoutSVGTSpan {tspan} at (20,96.39) size 282.39x17.59
+            LayoutSVGInlineText {#text} at (52,96.39) size 50.39x17.59
+              chunk 1 text run 1 at (52.00,110.00) startOffset 0 endOffset 8 width 50.40: "tspan 1 "
+            LayoutSVGTSpan {tspan} at (20,96.39) size 282.39x17.59
+              LayoutSVGInlineText {#text} at (102.39,96.39) size 46.39x17.59
+                chunk 1 text run 1 at (102.40,110.00) startOffset 0 endOffset 7 width 46.40: "tspan 2"
+            LayoutSVGInlineText {#text} at (148.80,96.39) size 83.19x17.59
+              chunk 1 text run 1 at (148.80,110.00) startOffset 0 endOffset 12 width 83.20: " more span 1"
+          LayoutSVGInlineText {#text} at (232,96.39) size 70.39x17.59
+            chunk 1 text run 1 at (232.00,110.00) startOffset 0 endOffset 12 width 70.40: " finish text"
+        LayoutSVGText {text} at (20,116.39) size 282.39x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,116.39) size 32x17.59
+            chunk 1 text run 1 at (20.00,130.00) startOffset 0 endOffset 5 width 32.00: "Text "
+          LayoutSVGTSpan {tspan} at (20,116.39) size 282.39x17.59
+            LayoutSVGInlineText {#text} at (52,116.39) size 50.39x17.59
+              chunk 1 text run 1 at (52.00,130.00) startOffset 0 endOffset 8 width 50.40: "tspan 1 "
+            LayoutSVGTSpan {tspan} at (20,116.39) size 282.39x17.59
+              LayoutSVGInlineText {#text} at (102.39,116.39) size 46.39x17.59
+                chunk 1 text run 1 at (102.40,130.00) startOffset 0 endOffset 7 width 46.40: "tspan 2"
+            LayoutSVGInlineText {#text} at (148.80,116.39) size 83.19x17.59
+              chunk 1 text run 1 at (148.80,130.00) startOffset 0 endOffset 12 width 83.20: " more span 1"
+          LayoutSVGInlineText {#text} at (232,116.39) size 70.39x17.59
+            chunk 1 text run 1 at (232.00,130.00) startOffset 0 endOffset 12 width 70.40: " finish text"
+        LayoutSVGText {text} at (20,156.39) size 282.39x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,156.39) size 32x17.59
+            chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 5 width 32.00: "Text "
+          LayoutSVGTSpan {tspan} at (20,156.39) size 282.39x17.59
+            LayoutSVGInlineText {#text} at (52,156.39) size 50.39x17.59
+              chunk 1 text run 1 at (52.00,170.00) startOffset 0 endOffset 8 width 50.40: "tspan 1 "
+            LayoutSVGTSpan {tspan} at (20,156.39) size 282.39x17.59
+              LayoutSVGInlineText {#text} at (102.39,156.39) size 50.39x17.59
+                chunk 1 text run 1 at (102.40,170.00) startOffset 0 endOffset 8 width 50.40: "tspan 2 "
+            LayoutSVGInlineText {#text} at (152.80,156.39) size 79.19x17.59
+              chunk 1 text run 1 at (152.80,170.00) startOffset 0 endOffset 11 width 79.20: "more span 1"
+          LayoutSVGInlineText {#text} at (232,156.39) size 70.39x17.59
+            chunk 1 text run 1 at (232.00,170.00) startOffset 0 endOffset 12 width 70.40: " finish text"
+        LayoutSVGText {text} at (20,176.39) size 232x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,176.39) size 32x17.59
+            chunk 1 text run 1 at (20.00,190.00) startOffset 0 endOffset 5 width 32.00: "Text "
+          LayoutSVGTSpan {tspan} at (20,176.39) size 232x17.59
+            LayoutSVGInlineText {#text} at (52,176.39) size 50.39x17.59
+              chunk 1 text run 1 at (52.00,190.00) startOffset 0 endOffset 8 width 50.40: "tspan 1 "
+            LayoutSVGInlineText {#text} at (102.39,176.39) size 79.19x17.59
+              chunk 1 text run 1 at (102.40,190.00) startOffset 0 endOffset 11 width 79.20: "more span 1"
+          LayoutSVGInlineText {#text} at (181.59,176.39) size 70.39x17.59
+            chunk 1 text run 1 at (181.60,190.00) startOffset 0 endOffset 12 width 70.40: " finish text"
+        LayoutSVGText {text} at (20,196.39) size 98.39x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,196.39) size 32x17.59
+            chunk 1 text run 1 at (20.00,210.00) startOffset 0 endOffset 5 width 32.00: "Text "
+          LayoutSVGInlineText {#text} at (52,196.39) size 66.39x17.59
+            chunk 1 text run 1 at (52.00,210.00) startOffset 0 endOffset 11 width 66.40: "finish text"
+        LayoutSVGText {text} at (20,216.39) size 98.39x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,216.39) size 32x17.59
+            chunk 1 text run 1 at (20.00,230.00) startOffset 0 endOffset 5 width 32.00: "Text "
+          LayoutSVGInlineText {#text} at (52,216.39) size 66.39x17.59
+            chunk 1 text run 1 at (52.00,230.00) startOffset 0 endOffset 11 width 66.40: "finish text"
     LayoutSVGContainer {use} at (1,1) size 446x496
       LayoutSVGContainer {g} at (1,1) size 446x496
         LayoutSVGRect {rect} at (1,1) size 446x496 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=446.00] [height=496.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textStyles-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textStyles-expected.png
index 72e3c52..feeb819 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textStyles-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textStyles-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textStyles-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textStyles-expected.txt
index dac6d9d..4a9bfa0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textStyles-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/textStyles-expected.txt
@@ -6,10 +6,10 @@
       LayoutSVGText {text} at (-22,-15) size 44x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (-22,-15) size 44x19
           chunk 1 (middle anchor) text run 1 at (-22.00,0.00) startOffset 0 endOffset 6 width 44.00: "sample"
-    LayoutSVGContainer {g} at (32.50,36) size 380.56x392
-      LayoutSVGText {text} at (135.83,36) size 178.33x17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (135.83,36) size 178.33x17
-          chunk 1 (middle anchor) text run 1 at (135.83,50.00) startOffset 0 endOffset 26 width 178.34: "Text Font Faces and Styles"
+    LayoutSVGContainer {g} at (32.50,36) size 381x392
+      LayoutSVGText {text} at (136,36) size 178x17 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (136,36) size 178x17
+          chunk 1 (middle anchor) text run 1 at (136.00,50.00) startOffset 0 endOffset 26 width 178.00: "Text Font Faces and Styles"
       LayoutSVGText {text} at (184,65) size 82x12 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (184,65) size 82x12
           chunk 1 (middle anchor) text run 1 at (184.00,75.00) startOffset 0 endOffset 19 width 82.00: "Standard Font Faces"
@@ -112,25 +112,25 @@
       LayoutSVGText {text} at (180,300) size 89x12 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (180,300) size 89x12
           chunk 1 (middle anchor) text run 1 at (181.00,310.00) startOffset 0 endOffset 19 width 88.00: "Named Font Families"
-      LayoutSVGText {text} at (128.67,315) size 192.63x12 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (128.67,315) size 192.63x12
-          chunk 1 (middle anchor) text run 1 at (128.69,325.00) startOffset 0 endOffset 49 width 192.63: "(Not all typefaces are available on all systems.)"
+      LayoutSVGText {text} at (128.50,315) size 193x12 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (128.50,315) size 193x12
+          chunk 1 (middle anchor) text run 1 at (128.50,325.00) startOffset 0 endOffset 49 width 193.00: "(Not all typefaces are available on all systems.)"
       LayoutSVGContainer {g} at (-42,-27) size 84x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,360.00)}]
         LayoutSVGContainer {use} at (-42,-27) size 84x34
           LayoutSVGText {text} at (-42,-27) size 84x34 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (-42,-27) size 84x34
               chunk 1 (middle anchor) text run 1 at (-42.00,0.00) startOffset 0 endOffset 6 width 84.00: "sample"
-        LayoutSVGText {text} at (-14.28,3) size 28.58x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-14.28,3) size 28.58x15
-            chunk 1 (middle anchor) text run 1 at (-14.29,15.00) startOffset 0 endOffset 5 width 28.58: "Times"
+        LayoutSVGText {text} at (-14.50,3) size 29x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-14.50,3) size 29x15
+            chunk 1 (middle anchor) text run 1 at (-14.50,15.00) startOffset 0 endOffset 5 width 29.00: "Times"
       LayoutSVGContainer {g} at (-54,-30) size 108x48 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,360.00)}]
         LayoutSVGContainer {use} at (-54,-30) size 108x36
           LayoutSVGText {text} at (-54,-30) size 108x36 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (-54,-30) size 108x36
               chunk 1 (middle anchor) text run 1 at (-54.00,0.00) startOffset 0 endOffset 6 width 108.00: "sample"
-        LayoutSVGText {text} at (-19.33,3) size 39.66x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-19.33,3) size 39.66x15
-            chunk 1 (middle anchor) text run 1 at (-19.33,15.00) startOffset 0 endOffset 7 width 38.67: "Verdana"
+        LayoutSVGText {text} at (-19,3) size 39x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-19,3) size 39x15
+            chunk 1 (middle anchor) text run 1 at (-19.00,15.00) startOffset 0 endOffset 7 width 38.00: "Verdana"
       LayoutSVGContainer {g} at (-49,-28) size 98x46 [transform={m=((1.00,0.00)(0.00,1.00)) t=(350.00,360.00)}]
         LayoutSVGContainer {use} at (-49,-28) size 98x35
           LayoutSVGText {text} at (-49,-28) size 98x35 contains 1 chunk(s)
@@ -152,11 +152,11 @@
         LayoutSVGText {text} at (-16,3) size 33x15 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-16,3) size 33x15
             chunk 1 (middle anchor) text run 1 at (-16.00,15.00) startOffset 0 endOffset 6 width 32.00: "Impact"
-      LayoutSVGContainer {g} at (-63.05,3) size 126.11x15 [transform={m=((1.00,0.00)(0.00,1.00)) t=(350.00,410.00)}]
+      LayoutSVGContainer {g} at (-63.50,3) size 127x15 [transform={m=((1.00,0.00)(0.00,1.00)) t=(350.00,410.00)}]
         LayoutSVGText {text} at (0,0) size 0x0
-        LayoutSVGText {text} at (-63.05,3) size 126.11x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-63.05,3) size 126.11x15
-            chunk 1 (middle anchor) text run 1 at (-63.05,15.00) startOffset 0 endOffset 25 width 126.11: "AvantGarde (line-through)"
+        LayoutSVGText {text} at (-63.50,3) size 127x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-63.50,3) size 127x15
+            chunk 1 (middle anchor) text run 1 at (-63.50,15.00) startOffset 0 endOffset 25 width 127.00: "AvantGarde (line-through)"
     LayoutSVGContainer {use} at (1,1) size 446x496
       LayoutSVGContainer {g} at (1,1) size 446x496
         LayoutSVGRect {rect} at (1,1) size 446x496 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=446.00] [height=496.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalText-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalText-expected.png
index 300a395..d278e74 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalText-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalText-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalText-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalText-expected.txt
index 1a7cf1f..2f11944 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalText-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalText-expected.txt
@@ -5,9 +5,9 @@
     LayoutSVGHiddenContainer {defs} at (15,8.79) size 315x27.43
       LayoutSVGPath {path} at (100,58.58) size 2100x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 0 1000 100 C 1100 200 1200 300 1300 200 C 1400 100 1500 0 1600 100 C 1700 200 1800 300 1900 200 C 2000 100 2100 0 2200 100"]
     LayoutSVGContainer {g} at (20,25) size 410x469.88
-      LayoutSVGText {text} at (165.20,25) size 120.56x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (165.20,25) size 120.56x18
-          chunk 1 (middle anchor) text run 1 at (165.21,40.00) startOffset 0 endOffset 18 width 119.57: "Vertical Text Test"
+      LayoutSVGText {text} at (165,25) size 121x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (165,25) size 121x18
+          chunk 1 (middle anchor) text run 1 at (165.00,40.00) startOffset 0 endOffset 18 width 120.00: "Vertical Text Test"
       LayoutSVGPath {line} at (20,75) size 410x0 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x1=20.00] [y1=75.00] [x2=430.00] [y2=75.00]
       LayoutSVGContainer {g} at (48,73) size 354x377 [opacity=0.50]
         LayoutSVGEllipse {circle} at (48,73) size 4x4 [fill={[type=SOLID] [color=#FF0000]}] [cx=50.00] [cy=75.00] [r=2.00]
@@ -26,31 +26,31 @@
         LayoutSVGPath {line} at (300,75) size 0x375 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=300.00] [y1=75.00] [x2=300.00] [y2=450.00]
         LayoutSVGPath {line} at (350,75) size 0x375 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=350.00] [y1=75.00] [x2=350.00] [y2=450.00]
         LayoutSVGPath {line} at (400,75) size 0x375 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=400.00] [y1=75.00] [x2=400.00] [y2=450.00]
-      LayoutSVGText {text} at (41.50,75) size 17x166.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (41.50,75) size 17x166.39
+      LayoutSVGText {text} at (41.50,75) size 17x167 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (41.50,75) size 17x167
           chunk 1 (vertical) text run 1 at (45.50,75.00) startOffset 0 endOffset 1 height 17.00: "W"
-          chunk 1 (vertical) text run 2 at (45.50,88.70) startOffset 1 endOffset 2 height 17.00: "r"
-          chunk 1 (vertical) text run 3 at (45.50,93.40) startOffset 2 endOffset 3 height 17.00: "i"
-          chunk 1 (vertical) text run 4 at (45.50,97.40) startOffset 3 endOffset 4 height 17.00: "t"
-          chunk 1 (vertical) text run 5 at (45.50,101.40) startOffset 4 endOffset 5 height 17.00: "i"
-          chunk 1 (vertical) text run 6 at (45.50,105.40) startOffset 5 endOffset 6 height 17.00: "n"
-          chunk 1 (vertical) text run 7 at (45.50,113.40) startOffset 6 endOffset 7 height 17.00: "g"
-          chunk 1 (vertical) text run 8 at (45.50,121.40) startOffset 7 endOffset 8 height 17.00: " "
-          chunk 1 (vertical) text run 9 at (45.50,125.40) startOffset 8 endOffset 9 height 17.00: "t"
-          chunk 1 (vertical) text run 10 at (45.50,129.40) startOffset 9 endOffset 10 height 17.00: "o"
-          chunk 1 (vertical) text run 11 at (45.50,137.40) startOffset 10 endOffset 11 height 17.00: "p"
-          chunk 1 (vertical) text run 12 at (45.50,145.40) startOffset 11 endOffset 12 height 17.00: " "
-          chunk 1 (vertical) text run 13 at (45.50,149.40) startOffset 12 endOffset 13 height 17.00: "t"
-          chunk 1 (vertical) text run 14 at (45.50,153.40) startOffset 13 endOffset 14 height 17.00: "o"
-          chunk 1 (vertical) text run 15 at (45.50,161.40) startOffset 14 endOffset 15 height 17.00: " "
-          chunk 1 (vertical) text run 16 at (45.50,165.40) startOffset 15 endOffset 16 height 17.00: "b"
-          chunk 1 (vertical) text run 17 at (45.50,173.40) startOffset 16 endOffset 17 height 17.00: "o"
-          chunk 1 (vertical) text run 18 at (45.50,181.40) startOffset 17 endOffset 18 height 17.00: "t"
-          chunk 1 (vertical) text run 19 at (45.50,185.40) startOffset 18 endOffset 19 height 17.00: "t"
-          chunk 1 (vertical) text run 20 at (45.50,189.40) startOffset 19 endOffset 20 height 17.00: "o"
-          chunk 1 (vertical) text run 21 at (45.50,197.40) startOffset 20 endOffset 21 height 17.00: "m"
-          chunk 1 (vertical) text run 22 at (45.50,209.40) startOffset 21 endOffset 22 height 17.00: "\x{753B}"
-          chunk 1 (vertical) text run 23 at (45.50,226.40) startOffset 22 endOffset 23 height 17.00: "\x{50CF}"
+          chunk 1 (vertical) text run 2 at (45.50,89.00) startOffset 1 endOffset 2 height 17.00: "r"
+          chunk 1 (vertical) text run 3 at (45.50,94.00) startOffset 2 endOffset 3 height 17.00: "i"
+          chunk 1 (vertical) text run 4 at (45.50,98.00) startOffset 3 endOffset 4 height 17.00: "t"
+          chunk 1 (vertical) text run 5 at (45.50,102.00) startOffset 4 endOffset 5 height 17.00: "i"
+          chunk 1 (vertical) text run 6 at (45.50,106.00) startOffset 5 endOffset 6 height 17.00: "n"
+          chunk 1 (vertical) text run 7 at (45.50,114.00) startOffset 6 endOffset 7 height 17.00: "g"
+          chunk 1 (vertical) text run 8 at (45.50,122.00) startOffset 7 endOffset 8 height 17.00: " "
+          chunk 1 (vertical) text run 9 at (45.50,126.00) startOffset 8 endOffset 9 height 17.00: "t"
+          chunk 1 (vertical) text run 10 at (45.50,130.00) startOffset 9 endOffset 10 height 17.00: "o"
+          chunk 1 (vertical) text run 11 at (45.50,138.00) startOffset 10 endOffset 11 height 17.00: "p"
+          chunk 1 (vertical) text run 12 at (45.50,146.00) startOffset 11 endOffset 12 height 17.00: " "
+          chunk 1 (vertical) text run 13 at (45.50,150.00) startOffset 12 endOffset 13 height 17.00: "t"
+          chunk 1 (vertical) text run 14 at (45.50,154.00) startOffset 13 endOffset 14 height 17.00: "o"
+          chunk 1 (vertical) text run 15 at (45.50,162.00) startOffset 14 endOffset 15 height 17.00: " "
+          chunk 1 (vertical) text run 16 at (45.50,166.00) startOffset 15 endOffset 16 height 17.00: "b"
+          chunk 1 (vertical) text run 17 at (45.50,174.00) startOffset 16 endOffset 17 height 17.00: "o"
+          chunk 1 (vertical) text run 18 at (45.50,182.00) startOffset 17 endOffset 18 height 17.00: "t"
+          chunk 1 (vertical) text run 19 at (45.50,186.00) startOffset 18 endOffset 19 height 17.00: "t"
+          chunk 1 (vertical) text run 20 at (45.50,190.00) startOffset 19 endOffset 20 height 17.00: "o"
+          chunk 1 (vertical) text run 21 at (45.50,198.00) startOffset 20 endOffset 21 height 17.00: "m"
+          chunk 1 (vertical) text run 22 at (45.50,210.00) startOffset 21 endOffset 22 height 17.00: "\x{753B}"
+          chunk 1 (vertical) text run 23 at (45.50,227.00) startOffset 22 endOffset 23 height 17.00: "\x{50CF}"
       LayoutSVGText {text} at (91.50,75) size 17x176 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (91.50,75) size 17x176
           chunk 1 (vertical) text run 1 at (95.50,75.00) startOffset 0 endOffset 1 height 17.00: "G"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalTextOnPath-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalTextOnPath-expected.png
index c6a30db6..0fec2d3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalTextOnPath-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalTextOnPath-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalTextOnPath-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalTextOnPath-expected.txt
index 2326712..5c0c71f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalTextOnPath-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/verticalTextOnPath-expected.txt
@@ -2,41 +2,41 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGContainer {g} at (9.06,25) size 437.94x457
-      LayoutSVGText {text} at (134.44,25) size 182.11x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (134.44,25) size 182.11x18
-          chunk 1 (middle anchor) text run 1 at (134.44,40.00) startOffset 0 endOffset 28 width 181.12: "Vertical text on a path test"
+    LayoutSVGContainer {g} at (9.05,25) size 437.95x457
+      LayoutSVGText {text} at (134,25) size 183x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (134,25) size 183x18
+          chunk 1 (middle anchor) text run 1 at (134.00,40.00) startOffset 0 endOffset 28 width 182.00: "Vertical text on a path test"
       LayoutSVGHiddenContainer {defs} at (15,8.79) size 120x41.21
         LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
         LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 100 C 100 0 400 0 400 100"]
-      LayoutSVGContainer {g} at (9.06,-9.66) size 125.94x91.66 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,70.00)}]
+      LayoutSVGContainer {g} at (9.05,-9.86) size 125.95x91.86 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,70.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
-        LayoutSVGText {text} at (9.06,-9.66) size 81.94x53.48 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (9.06,-9.66) size 81.94x53.48
-            LayoutSVGInlineText {#text} at (9.06,2.97) size 33.73x32.98
-              chunk 1 (vertical) text run 1 at (18.06,26.95) startOffset 0 endOffset 1 height 17.00: "T"
-              chunk 1 (vertical) text run 2 at (23.46,21.74) startOffset 1 endOffset 2 height 17.00: "e"
-              chunk 1 (vertical) text run 3 at (28.88,17.00) startOffset 2 endOffset 3 height 17.00: "x"
-              chunk 1 (vertical) text run 4 at (33.72,13.44) startOffset 3 endOffset 4 height 17.00: "t"
-              chunk 1 (vertical) text run 5 at (37.12,11.44) startOffset 4 endOffset 5 height 17.00: " "
-            LayoutSVGTSpan {tspan} at (9.06,-9.66) size 81.94x53.48
-              LayoutSVGInlineText {#text} at (34.48,-9.66) size 24.47x18.42
-                chunk 1 (vertical) text run 1 at (42.72,9.29) startOffset 0 endOffset 1 height 17.00: "o"
-                chunk 1 (vertical) text run 2 at (50.59,9.25) startOffset 1 endOffset 2 height 17.00: "n"
-            LayoutSVGTSpan {tspan} at (9.06,-9.66) size 81.94x53.48
-              LayoutSVGInlineText {#text} at (49.63,3.48) size 41.38x40.33
-                chunk 1 (vertical) text run 1 at (55.99,11.68) startOffset 0 endOffset 1 height 17.00: " "
-                chunk 1 (vertical) text run 2 at (60.33,15.33) startOffset 1 endOffset 2 height 17.00: "a"
-                chunk 1 (vertical) text run 3 at (64.30,19.28) startOffset 2 endOffset 3 height 17.00: " "
-                chunk 1 (vertical) text run 4 at (68.64,23.42) startOffset 3 endOffset 4 height 17.00: "P"
-                chunk 1 (vertical) text run 5 at (74.28,28.32) startOffset 4 endOffset 5 height 17.00: "a"
-                chunk 1 (vertical) text run 6 at (78.72,31.56) startOffset 5 endOffset 6 height 17.00: "t"
-                chunk 1 (vertical) text run 7 at (83.97,34.44) startOffset 6 endOffset 7 height 17.00: "h"
+        LayoutSVGText {text} at (9.05,-9.86) size 81.27x53.28 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (9.05,-9.86) size 81.27x53.28
+            LayoutSVGInlineText {#text} at (9.05,3.45) size 33.09x32.50
+              chunk 1 (vertical) text run 1 at (17.89,27.12) startOffset 0 endOffset 1 height 17.00: "T"
+              chunk 1 (vertical) text run 2 at (22.94,22.22) startOffset 1 endOffset 2 height 17.00: "e"
+              chunk 1 (vertical) text run 3 at (28.14,17.61) startOffset 2 endOffset 3 height 17.00: "x"
+              chunk 1 (vertical) text run 4 at (32.90,13.99) startOffset 3 endOffset 4 height 17.00: "t"
+              chunk 1 (vertical) text run 5 at (36.31,11.88) startOffset 4 endOffset 5 height 17.00: " "
+            LayoutSVGTSpan {tspan} at (9.05,-9.86) size 81.27x53.28
+              LayoutSVGInlineText {#text} at (32.83,-9.86) size 24.19x19.06
+                chunk 1 (vertical) text run 1 at (41.83,9.53) startOffset 0 endOffset 1 height 17.00: "o"
+                chunk 1 (vertical) text run 2 at (49.69,9.05) startOffset 1 endOffset 2 height 17.00: "n"
+            LayoutSVGTSpan {tspan} at (9.05,-9.86) size 81.27x53.28
+              LayoutSVGInlineText {#text} at (49.14,2.88) size 41.17x40.53
+                chunk 1 (vertical) text run 1 at (55.23,11.21) startOffset 0 endOffset 1 height 17.00: " "
+                chunk 1 (vertical) text run 2 at (59.61,14.61) startOffset 1 endOffset 2 height 17.00: "a"
+                chunk 1 (vertical) text run 3 at (63.62,18.60) startOffset 2 endOffset 3 height 17.00: " "
+                chunk 1 (vertical) text run 4 at (67.95,22.78) startOffset 3 endOffset 4 height 17.00: "P"
+                chunk 1 (vertical) text run 5 at (73.53,27.72) startOffset 4 endOffset 5 height 17.00: "a"
+                chunk 1 (vertical) text run 6 at (77.91,31.02) startOffset 5 endOffset 6 height 17.00: "t"
+                chunk 1 (vertical) text run 7 at (83.08,34.03) startOffset 6 endOffset 7 height 17.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 67.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 67.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 67.82: "startOffset=\"0%\""
+        LayoutSVGText {text} at (35,50) size 68x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 68x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 68.00: "startOffset=\"0%\""
         LayoutSVGText {text} at (35,60) size 75x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 75x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 19 width 75.00: "text-anchor=\"start\""
@@ -61,9 +61,9 @@
                 chunk 1 (middle anchor, vertical) text run 6 at (92.24,36.21) startOffset 5 endOffset 6 height 17.00: "t"
                 chunk 1 (middle anchor, vertical) text run 7 at (106.89,28.19) startOffset 6 endOffset 7 height 17.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 67.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 67.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 67.82: "startOffset=\"0%\""
+        LayoutSVGText {text} at (35,50) size 68x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 68x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 68.00: "startOffset=\"0%\""
         LayoutSVGText {text} at (35,60) size 86x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 86x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 20 width 86.00: "text-anchor=\"middle\""
@@ -91,40 +91,40 @@
                 chunk 1 (end anchor, vertical) text run 6 at (58.50,13.60) startOffset 5 endOffset 6 height 17.00: "t"
                 chunk 1 (end anchor, vertical) text run 7 at (62.98,17.97) startOffset 6 endOffset 7 height 17.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 72.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 72.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 72.82: "startOffset=\"50%\""
+        LayoutSVGText {text} at (35,50) size 73x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 73x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 73.00: "startOffset=\"50%\""
         LayoutSVGText {text} at (35,60) size 72x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 72x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 17 width 72.00: "text-anchor=\"end\""
         LayoutSVGText {text} at (35,70) size 112x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,70) size 112x12
             chunk 1 text run 1 at (35.00,80.00) startOffset 0 endOffset 26 width 112.00: "glyph-orientation=\"180deg\""
-      LayoutSVGContainer {g} at (15,6.52) size 132x75.48 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,170.00)}]
+      LayoutSVGContainer {g} at (15,6.69) size 132x75.31 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,170.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
-        LayoutSVGText {text} at (67.25,6.52) size 68.41x38.48 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (67.25,6.52) size 68.41x38.48
-            LayoutSVGInlineText {#text} at (67.25,20.13) size 36.72x24.88
-              chunk 1 (vertical) text run 1 at (75.76,29.47) startOffset 0 endOffset 1 height 17.00: "T"
-              chunk 1 (vertical) text run 2 at (82.02,33.51) startOffset 1 endOffset 2 height 17.00: "e"
-              chunk 1 (vertical) text run 3 at (88.81,35.94) startOffset 2 endOffset 3 height 17.00: "x"
-              chunk 1 (vertical) text run 4 at (94.76,35.93) startOffset 3 endOffset 4 height 17.00: "t"
-              chunk 1 (vertical) text run 5 at (98.56,34.68) startOffset 4 endOffset 5 height 17.00: " "
-            LayoutSVGTSpan {tspan} at (67.25,6.52) size 68.41x38.48
-              LayoutSVGInlineText {#text} at (88.33,9) size 23.38x23.89
-                chunk 1 (vertical) text run 1 at (103.47,31.43) startOffset 0 endOffset 1 height 17.00: "o"
-                chunk 1 (vertical) text run 2 at (109.56,25.87) startOffset 1 endOffset 2 height 17.00: "n"
-            LayoutSVGTSpan {tspan} at (67.25,6.52) size 68.41x38.48
-              LayoutSVGInlineText {#text} at (108.11,6.52) size 27.55x24
-                chunk 1 (vertical) text run 1 at (114.42,22.32) startOffset 0 endOffset 1 height 17.00: " "
-                chunk 1 (vertical) text run 2 at (119.20,19.57) startOffset 1 endOffset 2 height 17.00: "a"
-                chunk 1 (vertical) text run 3 at (124.23,17.37) startOffset 2 endOffset 3 height 17.00: " "
-                chunk 1 (vertical) text run 4 at (129.95,15.68) startOffset 3 endOffset 4 height 17.00: "P"
+        LayoutSVGText {text} at (67.23,6.69) size 67.66x38.23 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (67.23,6.69) size 67.66x38.23
+            LayoutSVGInlineText {#text} at (67.23,20.14) size 35.42x24.78
+              chunk 1 (vertical) text run 1 at (75.57,29.33) startOffset 0 endOffset 1 height 17.00: "T"
+              chunk 1 (vertical) text run 2 at (81.41,33.18) startOffset 1 endOffset 2 height 17.00: "e"
+              chunk 1 (vertical) text run 3 at (87.88,35.75) startOffset 2 endOffset 3 height 17.00: "x"
+              chunk 1 (vertical) text run 4 at (93.85,36.08) startOffset 3 endOffset 4 height 17.00: "t"
+              chunk 1 (vertical) text run 5 at (97.66,35.08) startOffset 4 endOffset 5 height 17.00: " "
+            LayoutSVGTSpan {tspan} at (67.23,6.69) size 67.66x38.23
+              LayoutSVGInlineText {#text} at (88.02,9.72) size 22.92x23.66
+                chunk 1 (vertical) text run 1 at (102.71,32.06) startOffset 0 endOffset 1 height 17.00: "o"
+                chunk 1 (vertical) text run 2 at (108.85,26.46) startOffset 1 endOffset 2 height 17.00: "n"
+            LayoutSVGTSpan {tspan} at (67.23,6.69) size 67.66x38.23
+              LayoutSVGInlineText {#text} at (107.22,6.69) size 27.67x24.30
+                chunk 1 (vertical) text run 1 at (113.64,22.84) startOffset 0 endOffset 1 height 17.00: " "
+                chunk 1 (vertical) text run 2 at (118.36,20.01) startOffset 1 endOffset 2 height 17.00: "a"
+                chunk 1 (vertical) text run 3 at (123.35,17.70) startOffset 2 endOffset 3 height 17.00: " "
+                chunk 1 (vertical) text run 4 at (129.02,15.90) startOffset 3 endOffset 4 height 17.00: "P"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 72.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 72.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 72.82: "startOffset=\"50%\""
+        LayoutSVGText {text} at (35,50) size 73x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 73x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 73.00: "startOffset=\"50%\""
         LayoutSVGText {text} at (35,60) size 75x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 75x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 19 width 75.00: "text-anchor=\"start\""
@@ -150,31 +150,31 @@
                 chunk 1 (middle anchor, vertical) text run 3 at (109.22,26.15) startOffset 2 endOffset 3 height 17.00: " "
                 chunk 1 (middle anchor, vertical) text run 4 at (123.82,17.52) startOffset 3 endOffset 4 height 17.00: "P"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 72.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 72.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 72.82: "startOffset=\"50%\""
+        LayoutSVGText {text} at (35,50) size 73x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 73x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 73.00: "startOffset=\"50%\""
         LayoutSVGText {text} at (35,60) size 86x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 86x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 20 width 86.00: "text-anchor=\"middle\""
         LayoutSVGText {text} at (35,70) size 102x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,70) size 102x12
             chunk 1 text run 1 at (35.00,80.00) startOffset 0 endOffset 24 width 102.00: "glyph-orientation=\"0deg\""
-      LayoutSVGContainer {g} at (15,2) size 127x80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,170.00)}]
+      LayoutSVGContainer {g} at (15,2.53) size 127x79.47 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,170.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
-        LayoutSVGText {text} at (47.52,2) size 81.95x42.72 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (47.52,2) size 81.95x42.72
-            LayoutSVGInlineText {#text} at (47.52,2) size 33.45x34.05
-              chunk 1 (end anchor, vertical) text run 1 at (55.64,11.46) startOffset 0 endOffset 1 height 17.00: "T"
-              chunk 1 (end anchor, vertical) text run 2 at (61.44,16.44) startOffset 1 endOffset 2 height 17.00: "e"
+        LayoutSVGText {text} at (48.13,2.53) size 81.33x42.17 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (48.13,2.53) size 81.33x42.17
+            LayoutSVGInlineText {#text} at (48.13,2.53) size 32.84x33.50
+              chunk 1 (end anchor, vertical) text run 1 at (56.21,11.83) startOffset 0 endOffset 1 height 17.00: "T"
+              chunk 1 (end anchor, vertical) text run 2 at (61.61,16.61) startOffset 1 endOffset 2 height 17.00: "e"
               chunk 1 (end anchor, vertical) text run 3 at (66.67,21.57) startOffset 2 endOffset 3 height 17.00: "x"
               chunk 1 (end anchor, vertical) text run 4 at (71.00,25.56) startOffset 3 endOffset 4 height 17.00: "t"
               chunk 1 (end anchor, vertical) text run 5 at (74.10,28.18) startOffset 4 endOffset 5 height 17.00: " "
-            LayoutSVGTSpan {tspan} at (47.52,2) size 81.95x42.72
+            LayoutSVGTSpan {tspan} at (48.13,2.53) size 81.33x42.17
               LayoutSVGInlineText {#text} at (76.41,13.98) size 19.23x21.06
                 chunk 1 (end anchor, vertical) text run 1 at (78.95,31.71) startOffset 0 endOffset 1 height 17.00: "o"
                 chunk 1 (end anchor, vertical) text run 2 at (86.11,35.25) startOffset 1 endOffset 2 height 17.00: "n"
-            LayoutSVGTSpan {tspan} at (47.52,2) size 81.95x42.72
+            LayoutSVGTSpan {tspan} at (48.13,2.53) size 81.33x42.17
               LayoutSVGInlineText {#text} at (89.88,8.64) size 39.58x36.06
                 chunk 1 (end anchor, vertical) text run 1 at (91.97,36.21) startOffset 0 endOffset 1 height 17.00: " "
                 chunk 1 (end anchor, vertical) text run 2 at (97.29,35.22) startOffset 1 endOffset 2 height 17.00: "a"
@@ -184,75 +184,75 @@
                 chunk 1 (end anchor, vertical) text run 6 at (117.11,20.69) startOffset 5 endOffset 6 height 17.00: "t"
                 chunk 1 (end anchor, vertical) text run 7 at (122.51,18.04) startOffset 6 endOffset 7 height 17.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 77.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 77.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 18 width 77.82: "startOffset=\"100%\""
+        LayoutSVGText {text} at (35,50) size 78x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 78x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 18 width 78.00: "startOffset=\"100%\""
         LayoutSVGText {text} at (35,60) size 72x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 72x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 17 width 72.00: "text-anchor=\"end\""
         LayoutSVGText {text} at (35,70) size 107x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,70) size 107x12
             chunk 1 text run 1 at (35.00,80.00) startOffset 0 endOffset 25 width 107.00: "glyph-orientation=\"90deg\""
-      LayoutSVGContainer {g} at (15,0.23) size 132x81.77 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,270.00)}]
+      LayoutSVGContainer {g} at (15,0.25) size 132x81.75 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,270.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
-        LayoutSVGText {text} at (42.64,0.23) size 79.66x44.61 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (42.64,0.23) size 79.66x44.61
-            LayoutSVGInlineText {#text} at (42.64,0.23) size 31.83x29.36
-              chunk 1 (vertical) text run 1 at (46.98,8.79) startOffset 0 endOffset 1 height 17.00: "T"
-              chunk 1 (vertical) text run 2 at (54.17,10.62) startOffset 1 endOffset 2 height 17.00: "e"
-              chunk 1 (vertical) text run 3 at (59.97,14.97) startOffset 2 endOffset 3 height 17.00: "x"
-              chunk 1 (vertical) text run 4 at (64.30,19.28) startOffset 3 endOffset 4 height 17.00: "t"
-              chunk 1 (vertical) text run 5 at (67.19,22.07) startOffset 4 endOffset 5 height 17.00: " "
-            LayoutSVGTSpan {tspan} at (42.64,0.23) size 79.66x44.61
-              LayoutSVGInlineText {#text} at (69.50,9.44) size 22.11x22.56
-                chunk 1 (vertical) text run 1 at (71.54,26.04) startOffset 0 endOffset 1 height 17.00: "o"
-                chunk 1 (vertical) text run 2 at (77.87,30.99) startOffset 1 endOffset 2 height 17.00: "n"
-            LayoutSVGTSpan {tspan} at (42.64,0.23) size 79.66x44.61
-              LayoutSVGInlineText {#text} at (77.56,13.06) size 44.75x31.78
-                chunk 1 (vertical) text run 1 at (83.03,34.01) startOffset 0 endOffset 1 height 17.00: " "
-                chunk 1 (vertical) text run 2 at (88.20,35.82) startOffset 1 endOffset 2 height 17.00: "a"
-                chunk 1 (vertical) text run 3 at (93.70,36.10) startOffset 2 endOffset 3 height 17.00: " "
-                chunk 1 (vertical) text run 4 at (99.40,34.26) startOffset 3 endOffset 4 height 17.00: "P"
-                chunk 1 (vertical) text run 5 at (105.35,29.65) startOffset 4 endOffset 5 height 17.00: "a"
-                chunk 1 (vertical) text run 6 at (109.48,25.94) startOffset 5 endOffset 6 height 17.00: "t"
-                chunk 1 (vertical) text run 7 at (114.33,22.38) startOffset 6 endOffset 7 height 17.00: "h"
+        LayoutSVGText {text} at (42.69,0.25) size 78.92x44.52 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (42.69,0.25) size 78.92x44.52
+            LayoutSVGInlineText {#text} at (42.69,0.25) size 31.13x28.67
+              chunk 1 (vertical) text run 1 at (46.74,8.79) startOffset 0 endOffset 1 height 17.00: "T"
+              chunk 1 (vertical) text run 2 at (53.49,10.28) startOffset 1 endOffset 2 height 17.00: "e"
+              chunk 1 (vertical) text run 3 at (59.21,14.24) startOffset 2 endOffset 3 height 17.00: "x"
+              chunk 1 (vertical) text run 4 at (63.62,18.60) startOffset 3 endOffset 4 height 17.00: "t"
+              chunk 1 (vertical) text run 5 at (66.50,21.41) startOffset 4 endOffset 5 height 17.00: " "
+            LayoutSVGTSpan {tspan} at (42.69,0.25) size 78.92x44.52
+              LayoutSVGInlineText {#text} at (68.83,8.91) size 22.22x22.61
+                chunk 1 (vertical) text run 1 at (70.84,25.42) startOffset 0 endOffset 1 height 17.00: "o"
+                chunk 1 (vertical) text run 2 at (77.06,30.42) startOffset 1 endOffset 2 height 17.00: "n"
+            LayoutSVGTSpan {tspan} at (42.69,0.25) size 78.92x44.52
+              LayoutSVGInlineText {#text} at (76.50,13.61) size 45.13x31.16
+                chunk 1 (vertical) text run 1 at (82.17,33.58) startOffset 0 endOffset 1 height 17.00: " "
+                chunk 1 (vertical) text run 2 at (87.30,35.60) startOffset 1 endOffset 2 height 17.00: "a"
+                chunk 1 (vertical) text run 3 at (92.74,36.19) startOffset 2 endOffset 3 height 17.00: " "
+                chunk 1 (vertical) text run 4 at (98.50,34.71) startOffset 3 endOffset 4 height 17.00: "P"
+                chunk 1 (vertical) text run 5 at (104.61,30.38) startOffset 4 endOffset 5 height 17.00: "a"
+                chunk 1 (vertical) text run 6 at (108.77,26.53) startOffset 5 endOffset 6 height 17.00: "t"
+                chunk 1 (vertical) text run 7 at (113.55,22.90) startOffset 6 endOffset 7 height 17.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 64.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 64.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 64.82: "startOffset=\"35\""
+        LayoutSVGText {text} at (35,50) size 65x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 65x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 65.00: "startOffset=\"35\""
         LayoutSVGText {text} at (35,60) size 75x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 75x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 19 width 75.00: "text-anchor=\"start\""
         LayoutSVGText {text} at (35,70) size 112x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,70) size 112x12
             chunk 1 text run 1 at (35.00,80.00) startOffset 0 endOffset 26 width 112.00: "glyph-orientation=\"180deg\""
-      LayoutSVGContainer {g} at (9.77,-6.84) size 125.23x78.84 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,270.00)}]
+      LayoutSVGContainer {g} at (9.42,-6.55) size 125.58x78.55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,270.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
-        LayoutSVGText {text} at (9.77,-6.84) size 71.11x42.63 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (9.77,-6.84) size 71.11x42.63
-            LayoutSVGInlineText {#text} at (9.77,11.91) size 23.16x23.36
-              chunk 1 (middle anchor, vertical) text run 1 at (18.59,26.42) startOffset 2 endOffset 3 height 17.00: "x"
-              chunk 1 (middle anchor, vertical) text run 2 at (22.92,22.24) startOffset 3 endOffset 4 height 17.00: "t"
-              chunk 1 (middle anchor, vertical) text run 3 at (25.81,19.60) startOffset 4 endOffset 5 height 17.00: " "
-            LayoutSVGTSpan {tspan} at (9.77,-6.84) size 71.11x42.63
-              LayoutSVGInlineText {#text} at (16.05,-6.84) size 23.95x23.83
-                chunk 1 (middle anchor, vertical) text run 1 at (30.46,15.76) startOffset 0 endOffset 1 height 17.00: "o"
-                chunk 1 (middle anchor, vertical) text run 2 at (37.14,11.43) startOffset 1 endOffset 2 height 17.00: "n"
-            LayoutSVGTSpan {tspan} at (9.77,-6.84) size 71.11x42.63
-              LayoutSVGInlineText {#text} at (38.81,0.06) size 42.08x35.72
-                chunk 1 (middle anchor, vertical) text run 1 at (42.74,9.29) startOffset 0 endOffset 1 height 17.00: " "
-                chunk 1 (middle anchor, vertical) text run 2 at (48.21,8.85) startOffset 1 endOffset 2 height 17.00: "a"
-                chunk 1 (middle anchor, vertical) text run 3 at (53.47,10.27) startOffset 2 endOffset 3 height 17.00: " "
-                chunk 1 (middle anchor, vertical) text run 4 at (58.40,13.51) startOffset 3 endOffset 4 height 17.00: "P"
-                chunk 1 (middle anchor, vertical) text run 5 at (63.96,18.94) startOffset 4 endOffset 5 height 17.00: "a"
-                chunk 1 (middle anchor, vertical) text run 6 at (67.93,22.77) startOffset 5 endOffset 6 height 17.00: "t"
-                chunk 1 (middle anchor, vertical) text run 7 at (72.34,26.72) startOffset 6 endOffset 7 height 17.00: "h"
+        LayoutSVGText {text} at (9.42,-6.55) size 71.11x42.17 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (9.42,-6.55) size 71.11x42.17
+            LayoutSVGInlineText {#text} at (9.42,12.22) size 23.19x23.38
+              chunk 1 (middle anchor, vertical) text run 1 at (18.25,26.76) startOffset 2 endOffset 3 height 17.00: "x"
+              chunk 1 (middle anchor, vertical) text run 2 at (22.58,22.56) startOffset 3 endOffset 4 height 17.00: "t"
+              chunk 1 (middle anchor, vertical) text run 3 at (25.47,19.91) startOffset 4 endOffset 5 height 17.00: " "
+            LayoutSVGTSpan {tspan} at (9.42,-6.55) size 71.11x42.17
+              LayoutSVGInlineText {#text} at (15.58,-6.55) size 23.97x23.86
+                chunk 1 (middle anchor, vertical) text run 1 at (30.09,16.04) startOffset 0 endOffset 1 height 17.00: "o"
+                chunk 1 (middle anchor, vertical) text run 2 at (36.74,11.64) startOffset 1 endOffset 2 height 17.00: "n"
+            LayoutSVGTSpan {tspan} at (9.42,-6.55) size 71.11x42.17
+              LayoutSVGInlineText {#text} at (38.19,0.11) size 42.34x35.33
+                chunk 1 (middle anchor, vertical) text run 1 at (42.30,9.40) startOffset 0 endOffset 1 height 17.00: " "
+                chunk 1 (middle anchor, vertical) text run 2 at (47.74,8.81) startOffset 1 endOffset 2 height 17.00: "a"
+                chunk 1 (middle anchor, vertical) text run 3 at (53.02,10.07) startOffset 2 endOffset 3 height 17.00: " "
+                chunk 1 (middle anchor, vertical) text run 4 at (58.02,13.19) startOffset 3 endOffset 4 height 17.00: "P"
+                chunk 1 (middle anchor, vertical) text run 5 at (63.62,18.60) startOffset 4 endOffset 5 height 17.00: "a"
+                chunk 1 (middle anchor, vertical) text run 6 at (67.59,22.44) startOffset 5 endOffset 6 height 17.00: "t"
+                chunk 1 (middle anchor, vertical) text run 7 at (71.97,26.41) startOffset 6 endOffset 7 height 17.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 64.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 64.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 64.82: "startOffset=\"35\""
+        LayoutSVGText {text} at (35,50) size 65x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 65x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 65.00: "startOffset=\"35\""
         LayoutSVGText {text} at (35,60) size 86x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 86x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 20 width 86.00: "text-anchor=\"middle\""
@@ -271,9 +271,9 @@
                 chunk 1 (end anchor, vertical) text run 3 at (26.58,18.93) startOffset 5 endOffset 6 height 17.00: "t"
                 chunk 1 (end anchor, vertical) text run 4 at (31.26,15.16) startOffset 6 endOffset 7 height 17.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 64.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 64.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 64.82: "startOffset=\"35\""
+        LayoutSVGText {text} at (35,50) size 65x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 65x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 65.00: "startOffset=\"35\""
         LayoutSVGText {text} at (35,60) size 72x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,60) size 72x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 17 width 72.00: "text-anchor=\"end\""
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/xmlSpace-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/xmlSpace-expected.txt
index 2c813d1..fc3abf46 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/xmlSpace-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/batik/text/xmlSpace-expected.txt
@@ -2,9 +2,9 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGText {text} at (130.88,25) size 188.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (130.88,25) size 188.22x18
-        chunk 1 (middle anchor) text run 1 at (130.89,40.00) startOffset 0 endOffset 26 width 188.23: "Test of xml:space handling"
+    LayoutSVGText {text} at (131,25) size 188x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (131,25) size 188x18
+        chunk 1 (middle anchor) text run 1 at (131.00,40.00) startOffset 0 endOffset 26 width 188.00: "Test of xml:space handling"
     LayoutSVGContainer {g} at (10,58) size 435x322
       LayoutSVGText {text} at (10,58) size 34x22 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,58) size 34x22
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/canvas/canvas-pattern-svg-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/canvas/canvas-pattern-svg-expected.png
index 171a963..b41fa6bb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/canvas/canvas-pattern-svg-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/canvas/canvas-pattern-svg-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/button-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/button-expected.png
index 50ea5ba..c320027 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/button-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/button-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/button-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/button-expected.txt
index 5f05456..8a32eb6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/button-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/button-expected.txt
@@ -90,9 +90,9 @@
             LayoutSVGContainer {g} at (-3,-7) size 7.25x14 [transform={m=((1.25,0.00)(0.00,1.25)) t=(0.00,0.00)}]
               LayoutSVGPath {line} at (0,0) size 3x7 [stroke={[type=SOLID] [color=#000000] [stroke width=1.75]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=0.00] [x2=3.00] [y2=7.00]
               LayoutSVGPath {path} at (-3,-7) size 7.25x10 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF] [fill rule=EVEN-ODD]}] [data="M -3 -7 L -3 3 L 0 0 L 4.25 -0.5 Z"]
-    LayoutSVGText {text} at (100,194.63) size 73.11x19.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (100,194.63) size 73.11x19.19
-        chunk 1 text run 1 at (100.00,210.00) startOffset 0 endOffset 10 width 73.12: "StatusText"
+    LayoutSVGText {text} at (100,194.63) size 74.23x19.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (100,194.63) size 74.23x19.19
+        chunk 1 text run 1 at (100.00,210.00) startOffset 0 endOffset 10 width 74.24: "StatusText"
     LayoutSVGText {text} at (430,304.63) size 496.63x19.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (430,304.63) size 496.63x19.19
         chunk 1 text run 1 at (430.00,320.00) startOffset 0 endOffset 73 width 496.64: "Click this text to randomly resize the multiline textbutton (textbutton7)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/colourpicker-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/colourpicker-expected.png
index 6c90ec0..17e7f97a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/colourpicker-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/colourpicker-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/colourpicker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/colourpicker-expected.txt
index 2494f4c..8ea475bd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/colourpicker-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/colourpicker-expected.txt
@@ -49,9 +49,9 @@
         LayoutSVGContainer {use} at (0,-10) size 0x20 [transform={m=((1.00,0.00)(0.00,1.00)) t=(410.00,463.60)}]
           LayoutSVGViewportContainer {svg} at (0,-10) size 0x20
             LayoutSVGPath {line} at (0,-10) size 0x20 [stroke={[type=SOLID] [color=#696969] [stroke width=5.00]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=-10.00] [x2=0.00] [y2=10.00]
-        LayoutSVGText {text} at (416,456.58) size 50.30x15.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (416,456.58) size 50.30x15.36
-            chunk 1 text run 1 at (416.00,468.10) startOffset 0 endOffset 9 width 50.31: "Value (%)"
+        LayoutSVGText {text} at (416,456.58) size 51.19x15.36 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (416,456.58) size 51.19x15.36
+            chunk 1 text run 1 at (416.00,468.10) startOffset 0 endOffset 9 width 51.20: "Value (%)"
         LayoutSVGRect {rect} at (302,483.85) size 108x7.50 [fill={[type=LINEAR-GRADIENT] [id="colourPicker1_alphaGradient"]}] [x=302.00] [y=483.85] [width=108.00] [height=7.50]
         LayoutSVGPath {line} at (302,487.60) size 108x0 [stroke={[type=SOLID] [color=#000000] [opacity=0.00] [stroke width=15.00] [line cap=SQUARE]}] [fill={[type=SOLID] [color=#000000] [opacity=0.00]}] [x1=302.00] [y1=487.60] [x2=410.00] [y2=487.60]
         LayoutSVGPath {line} at (302,487.60) size 108x0 [x1=302.00] [y1=487.60] [x2=410.00] [y2=487.60]
@@ -61,9 +61,9 @@
         LayoutSVGText {text} at (416,480.58) size 62.72x15.36 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (416,480.58) size 62.72x15.36
             chunk 1 text run 1 at (416.00,492.10) startOffset 0 endOffset 11 width 62.72: "Opacity (%)"
-        LayoutSVGText {text} at (212,502.47) size 238.47x15.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (212,502.47) size 238.47x15.36
-            chunk 1 text run 1 at (212.00,514.00) startOffset 0 endOffset 40 width 238.47: "RGBA: 0,255,0,100; HSVA: 120,100,100,100"
+        LayoutSVGText {text} at (212,502.47) size 239.36x15.36 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (212,502.47) size 239.36x15.36
+            chunk 1 text run 1 at (212.00,514.00) startOffset 0 endOffset 40 width 239.36: "RGBA: 0,255,0,100; HSVA: 120,100,100,100"
       LayoutSVGContainer {g} at (500,200) size 300x100
         LayoutSVGRect {rect} at (500,200) size 300x100 [fill={[type=SOLID] [color=#DCDCDC]}] [x=500.00] [y=200.00] [width=300.00] [height=100.00]
         LayoutSVGRect {rect} at (512,209.25) size 198x7.50 [fill={[type=LINEAR-GRADIENT] [id="colourPicker3_hueGradient"]}] [x=512.00] [y=209.25] [width=198.00] [height=7.50]
@@ -92,12 +92,12 @@
         LayoutSVGContainer {use} at (0,-10) size 0x20 [transform={m=((1.00,0.00)(0.00,1.00)) t=(710.00,266.33)}]
           LayoutSVGViewportContainer {svg} at (0,-10) size 0x20
             LayoutSVGPath {line} at (0,-10) size 0x20 [stroke={[type=SOLID] [color=#696969] [stroke width=5.00]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=-10.00] [x2=0.00] [y2=10.00]
-        LayoutSVGText {text} at (716,259.31) size 50.30x15.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (716,259.31) size 50.30x15.36
-            chunk 1 text run 1 at (716.00,270.83) startOffset 0 endOffset 9 width 50.31: "Value (%)"
-        LayoutSVGText {text} at (512,283.47) size 225.66x15.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (512,283.47) size 225.66x15.36
-            chunk 1 text run 1 at (512.00,295.00) startOffset 0 endOffset 38 width 225.67: "RGBA: 255,0,0,100; HSVA: 0,100,100,100"
+        LayoutSVGText {text} at (716,259.31) size 51.19x15.36 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (716,259.31) size 51.19x15.36
+            chunk 1 text run 1 at (716.00,270.83) startOffset 0 endOffset 9 width 51.20: "Value (%)"
+        LayoutSVGText {text} at (512,283.47) size 226.55x15.36 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (512,283.47) size 226.55x15.36
+            chunk 1 text run 1 at (512.00,295.00) startOffset 0 endOffset 38 width 226.56: "RGBA: 255,0,0,100; HSVA: 0,100,100,100"
       LayoutSVGContainer {g} at (700,500) size 300x120
         LayoutSVGRect {rect} at (700,500) size 300x120 [fill={[type=SOLID] [color=#DCDCDC]}] [x=700.00] [y=500.00] [width=300.00] [height=120.00]
         LayoutSVGRect {rect} at (712,511.85) size 198x7.50 [fill={[type=LINEAR-GRADIENT] [id="colourPicker4_hueGradient"]}] [x=712.00] [y=511.85] [width=198.00] [height=7.50]
@@ -125,9 +125,9 @@
         LayoutSVGContainer {use} at (0,-10) size 0x20 [transform={m=((1.00,0.00)(0.00,1.00)) t=(836.86,563.60)}]
           LayoutSVGViewportContainer {svg} at (0,-10) size 0x20
             LayoutSVGPath {line} at (0,-10) size 0x20 [stroke={[type=SOLID] [color=#696969] [stroke width=5.00]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=-10.00] [x2=0.00] [y2=10.00]
-        LayoutSVGText {text} at (916,556.58) size 50.30x15.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (916,556.58) size 50.30x15.36
-            chunk 1 text run 1 at (916.00,568.10) startOffset 0 endOffset 9 width 50.31: "Value (%)"
+        LayoutSVGText {text} at (916,556.58) size 51.19x15.36 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (916,556.58) size 51.19x15.36
+            chunk 1 text run 1 at (916.00,568.10) startOffset 0 endOffset 9 width 51.20: "Value (%)"
         LayoutSVGRect {rect} at (772,583.85) size 138x7.50 [fill={[type=LINEAR-GRADIENT] [id="colourPicker4_alphaGradient"]}] [x=772.00] [y=583.85] [width=138.00] [height=7.50]
         LayoutSVGPath {line} at (772,587.60) size 138x0 [stroke={[type=SOLID] [color=#000000] [opacity=0.00] [stroke width=15.00] [line cap=SQUARE]}] [fill={[type=SOLID] [color=#000000] [opacity=0.00]}] [x1=772.00] [y1=587.60] [x2=910.00] [y2=587.60]
         LayoutSVGPath {line} at (772,587.60) size 138x0 [x1=772.00] [y1=587.60] [x2=910.00] [y2=587.60]
@@ -137,9 +137,9 @@
         LayoutSVGText {text} at (916,580.58) size 62.72x15.36 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (916,580.58) size 62.72x15.36
             chunk 1 text run 1 at (916.00,592.10) startOffset 0 endOffset 11 width 62.72: "Opacity (%)"
-        LayoutSVGText {text} at (712,602.47) size 232.06x15.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (712,602.47) size 232.06x15.36
-            chunk 1 text run 1 at (712.00,614.00) startOffset 0 endOffset 39 width 232.07: "RGBA: 120,120,120,100; HSVA: 0,0,47,100"
+        LayoutSVGText {text} at (712,602.47) size 232.95x15.36 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (712,602.47) size 232.95x15.36
+            chunk 1 text run 1 at (712.00,614.00) startOffset 0 endOffset 39 width 232.96: "RGBA: 120,120,120,100; HSVA: 0,0,47,100"
     LayoutSVGContainer {g} at (490,190) size 336.39x153.03 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(0.00,-400.00)}]
       LayoutSVGRect {rect} at (490,190) size 320x110 [fill={[type=SOLID] [color=#00FFFF] [opacity=0.50]}] [x=490.00] [y=190.00] [width=320.00] [height=110.00]
       LayoutSVGText {text} at (500,303.36) size 326.39x39.67 contains 1 chunk(s)
@@ -178,9 +178,9 @@
         LayoutSVGText {text} at (716,252.67) size 62.72x15.36 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (716,252.67) size 62.72x15.36
             chunk 1 text run 1 at (716.00,264.20) startOffset 0 endOffset 11 width 62.72: "Opacity (%)"
-        LayoutSVGText {text} at (512,273.97) size 238.47x15.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (512,273.97) size 238.47x15.36
-            chunk 1 text run 1 at (512.00,285.50) startOffset 0 endOffset 40 width 238.47: "RGBA: 0,255,255,50; HSVA: 180,100,100,50"
+        LayoutSVGText {text} at (512,273.97) size 239.36x15.36 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (512,273.97) size 239.36x15.36
+            chunk 1 text run 1 at (512.00,285.50) startOffset 0 endOffset 40 width 239.36: "RGBA: 0,255,255,50; HSVA: 180,100,100,50"
     LayoutSVGContainer {g} at (499,169) size 367x350
       LayoutSVGContainer {g} at (509,441) size 112x22
         LayoutSVGRect {rect} at (509,441) size 110x20 [fill={[type=SOLID] [color=#FFFFFF]}] [x=509.00] [y=441.00] [width=110.00] [height=20.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/scrollbar-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/scrollbar-expected.png
index a74d6bde..e9688e9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/scrollbar-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/scrollbar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/scrollbar-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/scrollbar-expected.txt
index 77fdd764..d0bb6de9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/scrollbar-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/scrollbar-expected.txt
@@ -12,7 +12,7 @@
     LayoutSVGViewportContainer {svg} at (0,0) size 3607x420.50
       LayoutSVGContainer {g} at (0,0) size 3607x420.50
         LayoutSVGImage {image} at (0,0) size 3607x420.50
-        LayoutSVGContainer {g} at (410.38,64.80) size 2035.23x325.45
+        LayoutSVGContainer {g} at (410.38,64.80) size 2034.81x325.45
           LayoutSVGText {text} at (410.38,73.80) size 91.25x18.75 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (410.38,73.80) size 91.25x18.75
               chunk 1 (middle anchor) text run 1 at (410.38,88.80) startOffset 0 endOffset 13 width 91.25: "Furggeltihorn"
@@ -31,9 +31,9 @@
           LayoutSVGText {text} at (2250.77,147.59) size 81.25x18.75 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (2250.77,147.59) size 81.25x18.75
               chunk 1 (middle anchor) text run 1 at (2250.77,162.60) startOffset 0 endOffset 11 width 81.25: "Crap Grisch"
-          LayoutSVGText {text} at (2379.78,134.59) size 65.83x18.75 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (2379.78,134.59) size 65.83x18.75
-              chunk 1 (middle anchor) text run 1 at (2379.78,149.60) startOffset 0 endOffset 9 width 65.84: "Piz Tom\x{FC}l"
+          LayoutSVGText {text} at (2380.19,134.59) size 65x18.75 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (2380.19,134.59) size 65x18.75
+              chunk 1 (middle anchor) text run 1 at (2380.20,149.60) startOffset 0 endOffset 9 width 65.00: "Piz Tom\x{FC}l"
           LayoutSVGText {text} at (1734.47,97.59) size 56.25x18.75 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (1734.47,97.59) size 56.25x18.75
               chunk 1 (middle anchor) text run 1 at (1734.47,112.60) startOffset 0 endOffset 8 width 56.25: "Fruntalp"
@@ -55,9 +55,9 @@
         LayoutSVGRect {rect} at (950.50,234.50) size 15x15 [stroke={[type=SOLID] [color=#696969]}] [fill={[type=SOLID] [color=#D3D3D3]}] [x=950.50] [y=234.50] [width=15.00] [height=15.00]
         LayoutSVGPath {path} at (954.50,54.50) size 8x8 [fill={[type=SOLID] [color=#696969]}] [data="M 958 54.5 L 962.5 62.5 L 954.5 62.5 Z"]
         LayoutSVGPath {path} at (954.50,238.50) size 8x8 [fill={[type=SOLID] [color=#696969]}] [data="M 958 246.5 L 954.5 238.5 L 962.5 238.5 Z"]
-    LayoutSVGText {text} at (397.14,267.50) size 552.86x16.25 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (397.14,267.50) size 552.86x16.25
-        chunk 1 (end anchor) text run 1 at (397.14,280.00) startOffset 0 endOffset 89 width 552.86: "Panorama Zervreilastausee, Vals, Graub\x{FC}nden, Switzerland, taken 2006-02-04 (\x{A9} A. Neumann)"
+    LayoutSVGText {text} at (396.25,267.50) size 553.75x16.25 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (396.25,267.50) size 553.75x16.25
+        chunk 1 (end anchor) text run 1 at (396.25,280.00) startOffset 0 endOffset 89 width 553.75: "Panorama Zervreilastausee, Vals, Graub\x{FC}nden, Switzerland, taken 2006-02-04 (\x{A9} A. Neumann)"
     LayoutSVGViewportContainer {svg} at (0,0) size 3560.75x689
       LayoutSVGContainer {g} at (0,0) size 3560.75x689
         LayoutSVGImage {image} at (0,0) size 3560.75x689
@@ -76,9 +76,9 @@
         LayoutSVGRect {rect} at (950.50,539.50) size 10x10 [stroke={[type=SOLID] [color=#696969]}] [fill={[type=SOLID] [color=#D3D3D3]}] [x=950.50] [y=539.50] [width=10.00] [height=10.00]
         LayoutSVGPath {path} at (953.50,532.50) size 6x6 [fill={[type=SOLID] [color=#696969]}] [data="M 955.5 532.5 L 959.5 538.5 L 953.5 538.5 Z"]
         LayoutSVGPath {path} at (953.50,542.50) size 6x6 [fill={[type=SOLID] [color=#696969]}] [data="M 955.5 548.5 L 953.5 542.5 L 959.5 542.5 Z"]
-    LayoutSVGText {text} at (404.19,562.50) size 545.80x16.25 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (404.19,562.50) size 545.80x16.25
-        chunk 1 (end anchor) text run 1 at (404.20,575.00) startOffset 0 endOffset 94 width 545.80: "Panorama Chalchtrittli, Tierfed, Linthal, Glarus, Switzerland, taken 2005-09-03 (\x{A9} A. Neumann)"
+    LayoutSVGText {text} at (403.75,562.50) size 546.25x16.25 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (403.75,562.50) size 546.25x16.25
+        chunk 1 (end anchor) text run 1 at (403.75,575.00) startOffset 0 endOffset 94 width 546.25: "Panorama Chalchtrittli, Tierfed, Linthal, Glarus, Switzerland, taken 2005-09-03 (\x{A9} A. Neumann)"
     LayoutSVGContainer {g} at (49,579) size 232x22
       LayoutSVGContainer {g} at (49,579) size 112x22
         LayoutSVGRect {rect} at (49,579) size 110x20 [fill={[type=SOLID] [color=#FFFFFF]}] [x=49.00] [y=579.00] [width=110.00] [height=20.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/selectionlist-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/selectionlist-expected.png
index 51e1429..e554853 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/selectionlist-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/selectionlist-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/selectionlist-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/selectionlist-expected.txt
index a45baad..dbf79b5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/selectionlist-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/selectionlist-expected.txt
@@ -58,10 +58,10 @@
             chunk 1 text run 1 at (220.00,232.00) startOffset 0 endOffset 23 width 125.44: "Note that one can also "
             chunk 1 text run 1 at (345.44,232.00) startOffset 0 endOffset 49 width 253.44: "transform the group containing the selection list"
         LayoutSVGTSpan {tspan} at (220,200.47) size 469.75x75.36
-          LayoutSVGInlineText {#text} at (220,240.47) size 440.38x15.36
+          LayoutSVGInlineText {#text} at (220,240.47) size 441.59x15.36
             chunk 1 text run 1 at (220.00,252.00) startOffset 0 endOffset 5 width 26.88: "This "
-            chunk 1 text run 1 at (246.88,252.00) startOffset 0 endOffset 74 width 381.50: "selectionlist does not react on user input (functionToCall is a undefined "
-            chunk 1 text run 1 at (628.38,252.00) startOffset 0 endOffset 6 width 32.00: "value)"
+            chunk 1 text run 1 at (246.88,252.00) startOffset 0 endOffset 74 width 382.72: "selectionlist does not react on user input (functionToCall is a undefined "
+            chunk 1 text run 1 at (629.60,252.00) startOffset 0 endOffset 6 width 32.00: "value)"
         LayoutSVGTSpan {tspan} at (220,200.47) size 469.75x75.36
           LayoutSVGInlineText {#text} at (220,260.47) size 469.73x15.36
             chunk 1 text run 1 at (220.00,272.00) startOffset 0 endOffset 14 width 70.40: "Click on this "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/textbox-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/textbox-expected.png
index 86797b2e..13945c1e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/textbox-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/textbox-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/textbox-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/textbox-expected.txt
index 8846f93..dea8179 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/textbox-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/carto.net/textbox-expected.txt
@@ -19,19 +19,19 @@
               LayoutSVGInlineText {#text} at (105,36.63) size 17.91x19.19
                 chunk 1 text run 1 at (105.00,52.00) startOffset 0 endOffset 2 width 17.92: "50"
             LayoutSVGPath {line} at (100,38.50) size 0x16.50 [stroke={[type=SOLID] [color=#FF0000] [stroke width=1.50]}] [fill={[type=SOLID] [color=#000000]}] [x1=100.00] [y1=55.00] [x2=100.00] [y2=38.50]
-    LayoutSVGContainer {g} at (0,0) size 444.38x30 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,300.00)}]
-      LayoutSVGContainer {g} at (0,0) size 444.38x30
+    LayoutSVGContainer {g} at (0,0) size 446.59x30 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,300.00)}]
+      LayoutSVGContainer {g} at (0,0) size 446.59x30
         LayoutSVGRect {rect} at (0,0) size 230x30 [stroke={[type=SOLID] [color=#696969] [stroke width=1.50]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=0.00] [y=0.00] [width=230.00] [height=30.00]
-        LayoutSVGViewportContainer {svg} at (0,6.63) size 444.38x19.19
-          LayoutSVGContainer {g} at (0,6.63) size 444.38x19.19
-            LayoutSVGText {text} at (5,6.63) size 439.38x19.19 contains 1 chunk(s)
-              LayoutSVGInlineText {#text} at (5,6.63) size 439.38x19.19
-                chunk 1 text run 1 at (5.00,22.00) startOffset 0 endOffset 66 width 438.10: "This is a transformed textbox with a very, very, very long content"
+        LayoutSVGViewportContainer {svg} at (0,6.63) size 446.59x19.19
+          LayoutSVGContainer {g} at (0,6.63) size 446.59x19.19
+            LayoutSVGText {text} at (5,6.63) size 441.59x19.19 contains 1 chunk(s)
+              LayoutSVGInlineText {#text} at (5,6.63) size 441.59x19.19
+                chunk 1 text run 1 at (5.00,22.00) startOffset 0 endOffset 66 width 440.32: "This is a transformed textbox with a very, very, very long content"
             LayoutSVGPath {line} at (0,8.50) size 0x16.50 [stroke={[type=SOLID] [color=#FF0000] [stroke width=1.50]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=25.00] [x2=0.00] [y2=8.50]
     LayoutSVGContainer {g} at (100,34.63) size 840x330.19
-      LayoutSVGText {text} at (100,214.63) size 65.50x19.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (100,214.63) size 65.50x19.19
-          chunk 1 text run 1 at (100.00,230.00) startOffset 0 endOffset 10 width 64.23: "ResultText"
+      LayoutSVGText {text} at (100,214.63) size 66.55x19.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (100,214.63) size 66.55x19.19
+          chunk 1 text run 1 at (100.00,230.00) startOffset 0 endOffset 10 width 65.28: "ResultText"
       LayoutSVGText {text} at (170,34.63) size 311.03x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (170,34.63) size 311.03x19.19
           chunk 1 text run 1 at (170.00,50.00) startOffset 0 endOffset 53 width 311.04: "This textbox (textbox 2) only accepts up to 5 digits."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/css/css-box-min-width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/css/css-box-min-width-expected.txt
index 29175e94..6bd4a4a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/css/css-box-min-width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/css/css-box-min-width-expected.txt
@@ -7,5 +7,5 @@
         LayoutSVGRoot {svg} at (5,5) size 100x100
           LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
       LayoutBlockFlow {P} at (0,110) size 784x20
-        LayoutText {#text} at (0,0) size 434x19
-          text run at (0,0) width 434: "You should see a solid 5px black border around a 100x100 blue rect."
+        LayoutText {#text} at (0,0) size 433x19
+          text run at (0,0) width 433: "You should see a solid 5px black border around a 100x100 blue rect."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/absolute-sized-svg-in-xhtml-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/absolute-sized-svg-in-xhtml-expected.png
index 657620a..5a6e3df 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/absolute-sized-svg-in-xhtml-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/absolute-sized-svg-in-xhtml-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/absolute-sized-svg-in-xhtml-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/absolute-sized-svg-in-xhtml-expected.txt
index ed6e826..09e6af2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/absolute-sized-svg-in-xhtml-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/absolute-sized-svg-in-xhtml-expected.txt
@@ -2,22 +2,22 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x105
   LayoutBlockFlow {html} at (0,0) size 800x105
-    LayoutInline {body} at (0,0) size 226x19
+    LayoutInline {body} at (0,0) size 224x19
       LayoutText {#text} at (0,0) size 0x0
-      LayoutInline {h1} at (0,0) size 54x19
-        LayoutText {#text} at (0,85) size 54x19
-          text run at (0,85) width 54: "Test 123"
-      LayoutText {#text} at (53,85) size 5x19
-        text run at (53,85) width 5: " "
-      LayoutSVGRoot {svg} at (57.88,0) size 100x100
-        LayoutSVGText {text} at (0,-15) size 191.39x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,-15) size 191.39x19
-            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 29 width 191.40: "You should see an error above"
+      LayoutInline {h1} at (0,0) size 53x19
+        LayoutText {#text} at (0,85) size 53x19
+          text run at (0,85) width 53: "Test 123"
+      LayoutText {#text} at (53,85) size 4x19
+        text run at (53,85) width 4: " "
+      LayoutSVGRoot {svg} at (57,0) size 100x100
+        LayoutSVGText {text} at (0,-15) size 191x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,-15) size 191x19
+            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 29 width 191.00: "You should see an error above"
         LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
-      LayoutText {#text} at (157,85) size 5x19
-        text run at (157,85) width 5: " "
-      LayoutInline {h1} at (0,0) size 65x19
-        LayoutText {#text} at (161,85) size 65x19
-          text run at (161,85) width 65: "Test ABC"
+      LayoutText {#text} at (157,85) size 4x19
+        text run at (157,85) width 4: " "
+      LayoutInline {h1} at (0,0) size 63x19
+        LayoutText {#text} at (161,85) size 63x19
+          text run at (161,85) width 63: "Test ABC"
       LayoutText {#text} at (0,0) size 0x0
     LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/bug45331-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/bug45331-expected.png
index f6241b28..3ea738b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/bug45331-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/bug45331-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/clip-mask-negative-scale-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/clip-mask-negative-scale-expected.png
index 087ea06..9e32c20 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/clip-mask-negative-scale-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/clip-mask-negative-scale-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/clip-mask-negative-scale-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/clip-mask-negative-scale-expected.txt
new file mode 100644
index 0000000..cff3231c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/clip-mask-negative-scale-expected.txt
@@ -0,0 +1,46 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutSVGRoot {svg} at (0,0) size 800x600
+    LayoutSVGHiddenContainer {defs} at (10,10) size 200x200
+      LayoutSVGResourceClipper {clipPath} [id="clip"] [clipPathUnits=userSpaceOnUse]
+        LayoutSVGPath {path} at (10,10) size 90x90 [fill={[type=SOLID] [color=#000000]}] [data="M 10 10 h 90 v 90 h -90 Z"]
+      LayoutSVGResourceMasker {mask} [id="mask"] [maskUnits=objectBoundingBox] [maskContentUnits=userSpaceOnUse]
+        LayoutSVGRect {rect} at (10,10) size 90x90 [fill={[type=SOLID] [color=#FFFFFF]}] [x=10.00] [y=10.00] [width=90.00] [height=90.00]
+      LayoutSVGImage {image} at (10,10) size 200x200
+    LayoutSVGContainer {g} at (10,10) size 200x200 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-100.00,-100.00)}]
+      [masker="mask"] LayoutSVGResourceMasker {mask} at (10,10) size 90x90
+      LayoutSVGContainer {use} at (10,10) size 200x200
+        LayoutSVGImage {image} at (10,10) size 200x200
+    LayoutSVGContainer {g} at (10,10) size 200x200 [transform={m=((-1.00,0.00)(0.00,-1.00)) t=(-100.00,-100.00)}]
+      [masker="mask"] LayoutSVGResourceMasker {mask} at (10,10) size 90x90
+      LayoutSVGContainer {use} at (10,10) size 200x200
+        LayoutSVGImage {image} at (10,10) size 200x200
+    LayoutSVGContainer {g} at (10,10) size 200x200 [transform={m=((-1.00,0.00)(0.00,1.00)) t=(-100.00,-100.00)}]
+      [masker="mask"] LayoutSVGResourceMasker {mask} at (10,10) size 90x90
+      LayoutSVGContainer {use} at (10,10) size 200x200
+        LayoutSVGImage {image} at (10,10) size 200x200
+    LayoutSVGContainer {g} at (10,10) size 200x200 [transform={m=((1.00,0.00)(0.00,-1.00)) t=(-100.00,-100.00)}]
+      [masker="mask"] LayoutSVGResourceMasker {mask} at (10,10) size 90x90
+      LayoutSVGContainer {use} at (10,10) size 200x200
+        LayoutSVGImage {image} at (10,10) size 200x200
+    LayoutSVGContainer {g} at (-310,-310) size 420x420 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,0.00)}]
+      LayoutSVGContainer {g} at (10,10) size 200x200 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-100.00,-100.00)}]
+        [clipPath="clip"] LayoutSVGResourceClipper {clipPath} at (10,10) size 90x90
+        LayoutSVGContainer {use} at (10,10) size 200x200
+          LayoutSVGImage {image} at (10,10) size 200x200
+      LayoutSVGContainer {g} at (10,10) size 200x200 [transform={m=((-1.00,0.00)(0.00,-1.00)) t=(-100.00,-100.00)}]
+        [clipPath="clip"] LayoutSVGResourceClipper {clipPath} at (10,10) size 90x90
+        LayoutSVGContainer {use} at (10,10) size 200x200
+          LayoutSVGImage {image} at (10,10) size 200x200
+      LayoutSVGContainer {g} at (10,10) size 200x200 [transform={m=((-1.00,0.00)(0.00,1.00)) t=(-100.00,-100.00)}]
+        [clipPath="clip"] LayoutSVGResourceClipper {clipPath} at (10,10) size 90x90
+        LayoutSVGContainer {use} at (10,10) size 200x200
+          LayoutSVGImage {image} at (10,10) size 200x200
+      LayoutSVGContainer {g} at (10,10) size 200x200 [transform={m=((1.00,0.00)(0.00,-1.00)) t=(-100.00,-100.00)}]
+        [clipPath="clip"] LayoutSVGResourceClipper {clipPath} at (10,10) size 90x90
+        LayoutSVGContainer {use} at (10,10) size 200x200
+          LayoutSVGImage {image} at (10,10) size 200x200
+    LayoutSVGText {text} at (-200,91) size 483.75x11.25 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (-200,91) size 483.75x11.25
+        chunk 1 text run 1 at (-200.00,100.00) startOffset 0 endOffset 120 width 483.75: "This test passes when it displays two four-square groups, all green and with arrows pointing away from the group center."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/clone-element-with-animated-svg-properties-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/clone-element-with-animated-svg-properties-expected.txt
index f282fcf..13feda97 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/clone-element-with-animated-svg-properties-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/clone-element-with-animated-svg-properties-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 536x19
-          text run at (0,0) width 536: "Here is an html paragraph. And below is a svg drawing. You should see two ellipses."
+        LayoutText {#text} at (0,0) size 535x19
+          text run at (0,0) width 535: "Here is an html paragraph. And below is a svg drawing. You should see two ellipses."
       LayoutBlockFlow {DIV} at (0,36) size 784x400
         LayoutSVGRoot {svg} at (0,0) size 400x400
           LayoutSVGEllipse {ellipse} at (20,40) size 60x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FF0000]}] [cx=50.00] [cy=50.00] [rx=30.00] [ry=10.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/container-opacity-clip-viewBox-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/container-opacity-clip-viewBox-expected.png
index f4b9ffe..52b0130 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/container-opacity-clip-viewBox-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/container-opacity-clip-viewBox-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/container-opacity-clip-viewBox-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/container-opacity-clip-viewBox-expected.txt
index 50014c1..fb78ead 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/container-opacity-clip-viewBox-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/container-opacity-clip-viewBox-expected.txt
@@ -19,6 +19,6 @@
         LayoutSVGInlineText {#text} at (359,0) size 4x19
           chunk 1 text run 1 at (359.00,15.00) startOffset 0 endOffset 1 width 4.00: " "
         LayoutSVGTSpan {tspan} at (0,-15) size 363x49
-          LayoutSVGInlineText {#text} at (0,15) size 70.41x19
-            chunk 1 text run 1 at (0.00,30.00) startOffset 0 endOffset 9 width 70.41: "Bug 11909"
+          LayoutSVGInlineText {#text} at (0,15) size 71x19
+            chunk 1 text run 1 at (0.00,30.00) startOffset 0 endOffset 9 width 71.00: "Bug 11909"
         LayoutSVGInlineText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/coords-relative-units-transforms-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/coords-relative-units-transforms-expected.txt
index ce5f254..03f0711 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/coords-relative-units-transforms-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/coords-relative-units-transforms-expected.txt
@@ -3,7 +3,7 @@
 layer at (0,0) size 400x200
   LayoutSVGRoot {svg} at (0,0) size 400x200
     LayoutSVGRect {rect} at (5,5) size 3990x1990 [stroke={[type=SOLID] [color=#0000FF] [stroke width=10.00]}] [x=5.00] [y=5.00] [width=3990.00] [height=1990.00]
-    LayoutSVGContainer {g} at (350,150) size 3386.33x1450
+    LayoutSVGContainer {g} at (350,150) size 3390x1450
       LayoutSVGContainer {g} at (-50,150) size 820x1434 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,0.00)}]
         LayoutSVGText {text} at (-50,150) size 820x180 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-50,150) size 820x180
@@ -13,17 +13,17 @@
         LayoutSVGContainer {g} at (0,600) size 384x192 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}]
           LayoutSVGRect {rect} at (0,600) size 384x192 [stroke={[type=SOLID] [color=#FF0000] [stroke width=38.40]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=600.00] [width=384.00] [height=192.00]
       LayoutSVGContainer {g} at (-50,150) size 800x1425 [transform={m=((1.00,0.00)(0.00,1.00)) t=(1600.00,0.00)}]
-        LayoutSVGText {text} at (-50,150) size 776.33x180 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-50,150) size 776.33x180
-            chunk 1 text run 1 at (-50.00,300.00) startOffset 0 endOffset 11 width 776.34: "Rel. units:"
+        LayoutSVGText {text} at (-50,150) size 780x180 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-50,150) size 780x180
+            chunk 1 text run 1 at (-50.00,300.00) startOffset 0 endOffset 11 width 780.00: "Rel. units:"
         LayoutSVGRect {rect} at (0,400) size 375x187.50 [stroke={[type=SOLID] [color=#FF0000] [stroke width=37.50]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=400.00] [width=375.00] [height=187.50]
         LayoutSVGRect {rect} at (0,750) size 375x187.50 [stroke={[type=SOLID] [color=#FF0000] [stroke width=37.50]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=750.00] [width=375.00] [height=187.50]
         LayoutSVGContainer {g} at (0,600) size 375x187.50 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}]
           LayoutSVGRect {rect} at (0,600) size 375x187.50 [stroke={[type=SOLID] [color=#FF0000] [stroke width=37.50]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=600.00] [width=375.00] [height=187.50]
-      LayoutSVGContainer {g} at (-50,150) size 986.33x1450 [transform={m=((1.00,0.00)(0.00,1.00)) t=(2800.00,0.00)}]
-        LayoutSVGText {text} at (-50,150) size 986.33x180 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-50,150) size 986.33x180
-            chunk 1 text run 1 at (-50.00,300.00) startOffset 0 endOffset 12 width 986.34: "Percentages:"
+      LayoutSVGContainer {g} at (-50,150) size 990x1450 [transform={m=((1.00,0.00)(0.00,1.00)) t=(2800.00,0.00)}]
+        LayoutSVGText {text} at (-50,150) size 990x180 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-50,150) size 990x180
+            chunk 1 text run 1 at (-50.00,300.00) startOffset 0 endOffset 12 width 990.00: "Percentages:"
         LayoutSVGRect {rect} at (0,400) size 400x200 [stroke={[type=SOLID] [color=#FF0000] [stroke width=31.62]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=400.00] [width=400.00] [height=200.00]
         LayoutSVGRect {rect} at (0,750) size 400x200 [stroke={[type=SOLID] [color=#FF0000] [stroke width=31.62]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=750.00] [width=400.00] [height=200.00]
         LayoutSVGContainer {g} at (0,600) size 400x200 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Discrete-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Discrete-expected.png
index c4194ad9..534d4c3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Discrete-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Discrete-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Gamma-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Gamma-expected.png
index 8f0745a..a4d9d7cc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Gamma-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Gamma-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Linear-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Linear-expected.png
index 680e6cb4..a4c4da2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Linear-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Linear-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Table-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Table-expected.png
index 218ec16..95c2b200 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/feComponentTransfer-Table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/fill-fallback-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/fill-fallback-expected.png
index 0b3acc2..688e205 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/fill-fallback-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/fill-fallback-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/fill-fallback-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/fill-fallback-expected.txt
index d614296..c6a87c7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/fill-fallback-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/fill-fallback-expected.txt
@@ -11,6 +11,6 @@
     LayoutSVGText {text} at (0,155) size 441x19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (0,155) size 441x19
         chunk 1 text run 1 at (0.00,170.00) startOffset 0 endOffset 74 width 441.00: "The left should fall back to the green color since the uri does not exist."
-    LayoutSVGText {text} at (0,175) size 488.11x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,175) size 488.11x19
-        chunk 1 text run 1 at (0.00,190.00) startOffset 0 endOffset 78 width 488.12: "The right should show the valid uri and not fall back to red color. Bug 12062."
+    LayoutSVGText {text} at (0,175) size 489x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,175) size 489x19
+        chunk 1 text run 1 at (0.00,190.00) startOffset 0 endOffset 78 width 489.00: "The right should show the valid uri and not fall back to red color. Bug 12062."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/getsvgdocument-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/getsvgdocument-expected.txt
index 8f77071..d4ca5f2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/getsvgdocument-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/getsvgdocument-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 766x39
-          text run at (0,0) width 766: "This tests to see if HTMLEmbedElement.getSVGDocument() and HTMLObjectElement.getSVGDocument() work. You"
+        LayoutText {#text} at (0,0) size 765x39
+          text run at (0,0) width 765: "This tests to see if HTMLEmbedElement.getSVGDocument() and HTMLObjectElement.getSVGDocument() work. You"
           text run at (0,20) width 300: "should see SUCCESS printed twice below this:"
       LayoutBlockFlow (anonymous) at (0,56) size 784x60
         LayoutBR {BR} at (85,20) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/gradient-with-1d-boundingbox-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/gradient-with-1d-boundingbox-expected.png
index 2a549ce..8c82001 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/gradient-with-1d-boundingbox-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/gradient-with-1d-boundingbox-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/gradient-with-1d-boundingbox-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/gradient-with-1d-boundingbox-expected.txt
index 0e865e8f..7fcd290 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/gradient-with-1d-boundingbox-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/gradient-with-1d-boundingbox-expected.txt
@@ -11,6 +11,6 @@
       LayoutSVGPath {line} at (0,-9) size 0x18 [stroke={[type=RADIAL-GRADIENT] [id="gradient2"]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=-9.00] [x2=0.00] [y2=9.00]
       LayoutSVGPath {line} at (-9,0) size 18x0 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(0.00,0.00)}] [stroke={[type=RADIAL-GRADIENT] [id="gradient2"]}] [fill={[type=SOLID] [color=#000000]}] [x1=-9.00] [y1=0.00] [x2=9.00] [y2=0.00]
       LayoutSVGPath {line} at (-9,0) size 18x0 [transform={m=((0.71,-0.71)(0.71,0.71)) t=(0.00,0.00)}] [stroke={[type=RADIAL-GRADIENT] [id="gradient2"]}] [fill={[type=SOLID] [color=#000000]}] [x1=-9.00] [y1=0.00] [x2=9.00] [y2=0.00]
-    LayoutSVGText {text} at (7.30,135) size 266.39x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (7.30,135) size 266.39x19
-        chunk 1 (middle anchor) text run 1 at (7.30,150.00) startOffset 0 endOffset 43 width 265.40: "You should see a green line, and a red star"
+    LayoutSVGText {text} at (7.50,135) size 266x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (7.50,135) size 266x19
+        chunk 1 (middle anchor) text run 1 at (7.50,150.00) startOffset 0 endOffset 43 width 265.00: "You should see a green line, and a red star"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/image-rescale-scroll-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/image-rescale-scroll-expected.png
index 4876f988..330f44d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/image-rescale-scroll-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/image-rescale-scroll-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/image-rescale-scroll-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/image-rescale-scroll-expected.txt
index 1d5d79d..ee37a704 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/image-rescale-scroll-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/image-rescale-scroll-expected.txt
@@ -7,10 +7,10 @@
         LayoutText {#text} at (0,0) size 542x19
           text run at (0,0) width 542: "This test verifies correct repaint of scrolled/re-painted-after-uncovering, scaled images."
       LayoutBlockFlow {P} at (0,36) size 784x40
-        LayoutText {#text} at (0,0) size 755x39
-          text run at (0,0) width 560: "If successful, the image below extends past the bottom of the window, with no white bar "
-          text run at (559,0) width 196: "occluding the part of the image"
-          text run at (0,20) width 238: "adjacent to the bottom of the window."
+        LayoutText {#text} at (0,0) size 754x39
+          text run at (0,0) width 559: "If successful, the image below extends past the bottom of the window, with no white bar "
+          text run at (559,0) width 195: "occluding the part of the image"
+          text run at (0,20) width 237: "adjacent to the bottom of the window."
 layer at (50,580) size 160x105 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
   LayoutImage (positioned) {IMG} at (50,580) size 160x105
 layer at (0,600) size 300x10 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/image-with-transform-clip-filter-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/image-with-transform-clip-filter-expected.txt
index 5cbc4962..cc03359 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/image-with-transform-clip-filter-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/image-with-transform-clip-filter-expected.txt
@@ -11,6 +11,6 @@
     LayoutSVGImage {image} at (0,50) size 503x410 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,-25.00)}]
       [clipPath="myclip"] LayoutSVGResourceClipper {clipPath} at (0,0) size 100x100
       [filter="myfilter"] LayoutSVGResourceFilter {filter} at (-50.30,9) size 603.60x492
-    LayoutSVGText {text} at (0,110) size 540.39x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,110) size 540.39x19
-        chunk 1 text run 1 at (0.00,125.00) startOffset 0 endOffset 84 width 540.40: "You should see a solid green block above (a blurred and clipped green checkerboard)."
+    LayoutSVGText {text} at (0,110) size 540x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,110) size 540x19
+        chunk 1 text run 1 at (0.00,125.00) startOffset 0 endOffset 84 width 540.00: "You should see a solid green block above (a blurred and clipped green checkerboard)."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-css-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-css-expected.png
index cb70b12..bf6c8c0e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-css-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-css-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-css-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-css-expected.txt
index c41325d..4dfac145 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-css-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-css-expected.txt
@@ -19,9 +19,9 @@
         chunk 1 text run 1 at (0.00,33.00) startOffset 0 endOffset 25 width 175.80: "no markers and no dashes."
     LayoutSVGPath {path} at (30,40) size 50x50 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#008000]}] [data="M 30 40 L 80 40 L 80 90 L 30 90 Z"]
     LayoutSVGEllipse {circle} at (160,40) size 40x40 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=LINEAR-GRADIENT] [id="grad"]}] [cx=180.00] [cy=60.00] [r=20.00]
-    LayoutSVGText {text} at (0,95.59) size 293.95x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,95.59) size 293.95x18.59
-        chunk 1 text run 1 at (0.00,110.00) startOffset 0 endOffset 45 width 293.96: "The circle should be opaque green, no filter,"
-    LayoutSVGText {text} at (0,115.59) size 110.70x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,115.59) size 110.70x18.59
-        chunk 1 text run 1 at (0.00,130.00) startOffset 0 endOffset 17 width 110.72: "green stop color."
+    LayoutSVGText {text} at (0,95.59) size 293.39x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,95.59) size 293.39x18.59
+        chunk 1 text run 1 at (0.00,110.00) startOffset 0 endOffset 45 width 293.40: "The circle should be opaque green, no filter,"
+    LayoutSVGText {text} at (0,115.59) size 110.39x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,115.59) size 110.39x18.59
+        chunk 1 text run 1 at (0.00,130.00) startOffset 0 endOffset 17 width 110.40: "green stop color."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-fill-hex-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-fill-hex-expected.png
index 50aa8a94..022bf9b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-fill-hex-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-fill-hex-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-fill-hex-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-fill-hex-expected.txt
index c4addd5..97eb0b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-fill-hex-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-fill-hex-expected.txt
@@ -2,22 +2,22 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (0,0) size 674.36x214
+    LayoutSVGContainer {g} at (0,0) size 675x214
       LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
       LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#FFA500]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
-      LayoutSVGContainer {g} at (10,115) size 664.36x99
+      LayoutSVGContainer {g} at (10,115) size 665x99
         LayoutSVGText {text} at (10,115) size 236x19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,115) size 236x19
             chunk 1 text run 1 at (10.00,130.00) startOffset 0 endOffset 32 width 236.00: "The above rect should be ORANGE."
         LayoutSVGText {text} at (10,135) size 646x19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,135) size 646x19
             chunk 1 text run 1 at (10.00,150.00) startOffset 0 endOffset 100 width 646.00: "SVG 1.1 FULL says there should be a \"highly perceivable error\" message when an invalid fill is used."
-        LayoutSVGText {text} at (10,155) size 467.36x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,155) size 467.36x19
-            chunk 1 text run 1 at (10.00,170.00) startOffset 0 endOffset 77 width 467.36: "Browsers don't display such an error, instead use some sort of fill-fallback."
-        LayoutSVGText {text} at (10,175) size 664.36x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,175) size 664.36x19
-            chunk 1 text run 1 at (10.00,190.00) startOffset 0 endOffset 116 width 664.36: "If there's an invalid fill color, but no fallback specified, the fill of the object is inherited from parent object."
-        LayoutSVGText {text} at (10,195) size 272.95x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,195) size 272.95x19
-            chunk 1 text run 1 at (10.00,210.00) startOffset 0 endOffset 41 width 272.96: "Our result matches Opera and Firefox now."
+        LayoutSVGText {text} at (10,155) size 468x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,155) size 468x19
+            chunk 1 text run 1 at (10.00,170.00) startOffset 0 endOffset 77 width 468.00: "Browsers don't display such an error, instead use some sort of fill-fallback."
+        LayoutSVGText {text} at (10,175) size 665x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,175) size 665x19
+            chunk 1 text run 1 at (10.00,190.00) startOffset 0 endOffset 116 width 665.00: "If there's an invalid fill color, but no fallback specified, the fill of the object is inherited from parent object."
+        LayoutSVGText {text} at (10,195) size 272x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,195) size 272x19
+            chunk 1 text run 1 at (10.00,210.00) startOffset 0 endOffset 41 width 272.00: "Our result matches Opera and Firefox now."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-stroke-hex-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-stroke-hex-expected.png
index 857cd249..5e33333 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-stroke-hex-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-stroke-hex-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-stroke-hex-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-stroke-hex-expected.txt
index e8b1aa7..88d82c6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-stroke-hex-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/invalid-stroke-hex-expected.txt
@@ -5,19 +5,19 @@
     LayoutSVGContainer {g} at (0,0) size 100x100
       LayoutSVGRect {rect} at (0,0) size 100x100 [stroke={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
       LayoutSVGRect {rect} at (0,0) size 100x100 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
-    LayoutSVGContainer {g} at (10,115) size 706.36x99
+    LayoutSVGContainer {g} at (10,115) size 707x99
       LayoutSVGText {text} at (10,115) size 269x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,115) size 269x19
           chunk 1 text run 1 at (10.00,130.00) startOffset 0 endOffset 40 width 269.00: "The above stroke of rect should be BLUE."
       LayoutSVGText {text} at (10,135) size 667x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,135) size 667x19
           chunk 1 text run 1 at (10.00,150.00) startOffset 0 endOffset 102 width 667.00: "SVG 1.1 FULL says there should be a \"highly perceivable error\" message when an invalid stroke is used."
-      LayoutSVGText {text} at (10,155) size 467.36x19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,155) size 467.36x19
-          chunk 1 text run 1 at (10.00,170.00) startOffset 0 endOffset 77 width 467.36: "Browsers don't display such an error, instead use some sort of fill-fallback."
-      LayoutSVGText {text} at (10,175) size 706.36x19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,175) size 706.36x19
-          chunk 1 text run 1 at (10.00,190.00) startOffset 0 endOffset 120 width 706.36: "If there's an invalid stroke color, but no fallback specified, the stroke of the object is inherited from parent object."
-      LayoutSVGText {text} at (10,195) size 272.95x19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,195) size 272.95x19
-          chunk 1 text run 1 at (10.00,210.00) startOffset 0 endOffset 41 width 272.96: "Our result matches Opera and Firefox now."
+      LayoutSVGText {text} at (10,155) size 468x19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,155) size 468x19
+          chunk 1 text run 1 at (10.00,170.00) startOffset 0 endOffset 77 width 468.00: "Browsers don't display such an error, instead use some sort of fill-fallback."
+      LayoutSVGText {text} at (10,175) size 707x19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,175) size 707x19
+          chunk 1 text run 1 at (10.00,190.00) startOffset 0 endOffset 120 width 707.00: "If there's an invalid stroke color, but no fallback specified, the stroke of the object is inherited from parent object."
+      LayoutSVGText {text} at (10,195) size 272x19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,195) size 272x19
+          chunk 1 text run 1 at (10.00,210.00) startOffset 0 endOffset 41 width 272.00: "Our result matches Opera and Firefox now."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/junk-data-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/junk-data-expected.png
index 1425a7ce..4d735e0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/junk-data-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/junk-data-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/junk-data-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/junk-data-expected.txt
index 276e8e3..28bb19f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/junk-data-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/junk-data-expected.txt
@@ -16,7 +16,7 @@
             text run at (0,0) width 427: "Below is a rendering of the page up to the first error."
       LayoutBlockFlow (anonymous) at (0,155.88) size 769x605
         LayoutSVGRoot {svg} at (0,0) size 769x600
-          LayoutSVGText {text} at (0,105) size 191.39x19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (0,105) size 191.39x19
-              chunk 1 text run 1 at (0.00,120.00) startOffset 0 endOffset 29 width 191.40: "You should see an error above"
+          LayoutSVGText {text} at (0,105) size 191x19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (0,105) size 191x19
+              chunk 1 text run 1 at (0.00,120.00) startOffset 0 endOffset 29 width 191.00: "You should see an error above"
           LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/linking-uri-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/linking-uri-01-b-expected.txt
index 396f8d03..45b16c8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/linking-uri-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/linking-uri-01-b-expected.txt
@@ -64,9 +64,9 @@
           LayoutSVGInlineText {#text} at (59.41,282.44) size 51.19x15.56
             chunk 1 (middle anchor) text run 1 at (59.41,295.00) startOffset 0 endOffset 7 width 51.19: "Polygon"
         LayoutSVGRect {rect} at (36,208) size 100x89 [stroke={[type=SOLID] [color=#000000]}] [x=36.00] [y=208.00] [width=100.00] [height=89.00]
-        LayoutSVGText {text} at (53.11,186) size 63.77x11.25 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (53.11,186) size 63.77x11.25
-            chunk 1 (middle anchor) text run 1 at (53.12,195.00) startOffset 0 endOffset 14 width 63.77: "viewTarget, no"
+        LayoutSVGText {text} at (53.13,186) size 63.75x11.25 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (53.13,186) size 63.75x11.25
+            chunk 1 (middle anchor) text run 1 at (53.13,195.00) startOffset 0 endOffset 14 width 63.75: "viewTarget, no"
         LayoutSVGText {text} at (40.94,195) size 88.13x11.25 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (40.94,195) size 88.13x11.25
             chunk 1 (middle anchor) text run 1 at (40.94,204.00) startOffset 0 endOffset 19 width 88.13: "changes to viewport"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/load-non-wellformed-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/load-non-wellformed-expected.png
index 5f532d0..89cb16bc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/load-non-wellformed-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/load-non-wellformed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-default-width-height-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-default-width-height-expected.png
index 5237219f..f344dec 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-default-width-height-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-default-width-height-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-default-width-height-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-default-width-height-expected.txt
index d7ea6848..c313bcb5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-default-width-height-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-default-width-height-expected.txt
@@ -6,12 +6,12 @@
       LayoutSVGText {text} at (0,5.59) size 411.59x18.59 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (0,5.59) size 411.59x18.59
           chunk 1 text run 1 at (0.00,20.00) startOffset 0 endOffset 61 width 411.60: "This should show three markers on the path for start/mid/end."
-      LayoutSVGText {text} at (0,25.59) size 385.16x18.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,25.59) size 385.16x18.59
-          chunk 1 text run 1 at (0.00,40.00) startOffset 0 endOffset 55 width 385.16: "Start marker has no markerWidth/markerHeight specified."
-      LayoutSVGText {text} at (0,45.59) size 284.95x18.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,45.59) size 284.95x18.59
-          chunk 1 text run 1 at (0.00,60.00) startOffset 0 endOffset 40 width 284.96: "Mid marker has no markerWidth specified."
+      LayoutSVGText {text} at (0,25.59) size 384.59x18.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,25.59) size 384.59x18.59
+          chunk 1 text run 1 at (0.00,40.00) startOffset 0 endOffset 55 width 384.60: "Start marker has no markerWidth/markerHeight specified."
+      LayoutSVGText {text} at (0,45.59) size 284.39x18.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,45.59) size 284.39x18.59
+          chunk 1 text run 1 at (0.00,60.00) startOffset 0 endOffset 40 width 284.40: "Mid marker has no markerWidth specified."
       LayoutSVGText {text} at (0,65.59) size 289.19x18.59 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (0,65.59) size 289.19x18.59
           chunk 1 text run 1 at (0.00,80.00) startOffset 0 endOffset 41 width 289.20: "End marker has no markerHeight specified."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-orient-auto-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-orient-auto-expected.png
index 2b26d0f4..b9009872 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-orient-auto-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-orient-auto-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-orient-auto-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-orient-auto-expected.txt
index e3abac4..19204f2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-orient-auto-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/marker-orient-auto-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x545
       LayoutText {#text} at (0,0) size 779x39
         text run at (0,0) width 779: "Test for wkbug.com/112054. This test passes if the green star has orange markers pointing outside only and the blue star has"
-        text run at (0,20) width 229: "orange markers pointing inside only."
-      LayoutBR {BR} at (228,20) size 1x19
+        text run at (0,20) width 228: "orange markers pointing inside only."
+      LayoutBR {BR} at (228,20) size 0x19
       LayoutSVGRoot {svg} at (0,40) size 500x500
         LayoutSVGResourceMarker {marker} [id="marker"] [markerUnits=strokeWidth] [ref at (0,0)] [angle=auto]
           LayoutSVGPath {path} at (0,0) size 4x5 [stroke={[type=SOLID] [color=#000000] [stroke width=0.50]}] [fill={[type=SOLID] [color=#FFA500]}] [data="M 0 0 L 4 0 L 2 5 L 0 0 Z"]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/missing-xlink-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/missing-xlink-expected.png
index cbb23b7..b2b51a4f1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/missing-xlink-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/missing-xlink-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/missing-xlink-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/missing-xlink-expected.txt
index 3324134..b57034e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/missing-xlink-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/missing-xlink-expected.txt
@@ -16,7 +16,7 @@
             text run at (0,0) width 427: "Below is a rendering of the page up to the first error."
       LayoutBlockFlow (anonymous) at (0,155.88) size 769x605
         LayoutSVGRoot {svg} at (0,0) size 769x600
-          LayoutSVGText {text} at (0,105) size 191.39x19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (0,105) size 191.39x19
-              chunk 1 text run 1 at (0.00,120.00) startOffset 0 endOffset 29 width 191.40: "You should see an error above"
+          LayoutSVGText {text} at (0,105) size 191x19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (0,105) size 191x19
+              chunk 1 text run 1 at (0.00,120.00) startOffset 0 endOffset 29 width 191.00: "You should see an error above"
           LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/path-bad-data-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/path-bad-data-expected.png
index 8faa76d..1538dcf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/path-bad-data-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/path-bad-data-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.png
index 136992c..6185f500 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.txt
index 615f24e..5c80f89 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.txt
@@ -16,9 +16,9 @@
       LayoutText {#text} at (202,327) size 4x19
         text run at (202,327) width 4: " "
       LayoutSVGRoot {svg} at (206,40) size 202x302
-        LayoutSVGText {text} at (5,265) size 80.44x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (5,265) size 80.44x19
-            chunk 1 text run 1 at (5.00,280.00) startOffset 0 endOffset 11 width 80.44: "+Transforms"
+        LayoutSVGText {text} at (5,265) size 81x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (5,265) size 81x19
+            chunk 1 text run 1 at (5.00,280.00) startOffset 0 endOffset 11 width 81.00: "+Transforms"
         LayoutSVGContainer {g} at (0,0) size 100x100 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,100.00)}]
           LayoutSVGRect {rect} at (0,0) size 100x50 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
           LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=PATTERN] [id="pattern"]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-with-transformation-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-with-transformation-expected.png
index d4cd0140..a32acd3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-with-transformation-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-with-transformation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-with-transformation-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-with-transformation-expected.txt
index 4e5afed..b520c55 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-with-transformation-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pattern-with-transformation-expected.txt
@@ -10,6 +10,6 @@
         LayoutSVGRect {rect} at (5,5) size 5x5 [fill={[type=SOLID] [color=#FFFF00]}] [x=5.00] [y=5.00] [width=5.00] [height=5.00]
     LayoutSVGContainer {g} at (10,10) size 120x100
       LayoutSVGRect {rect} at (10,10) size 120x100 [stroke={[type=PATTERN] [id="pat"]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=10.00] [y=10.00] [width=120.00] [height=100.00]
-      LayoutSVGText {text} at (15,25) size 82.50x57 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (15,25) size 82.50x57
-          chunk 1 text run 1 at (15.00,70.00) startOffset 0 endOffset 4 width 82.51: "Test"
+      LayoutSVGText {text} at (15,25) size 82x57 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (15,25) size 82x57
+          chunk 1 text run 1 at (15.00,70.00) startOffset 0 endOffset 4 width 82.00: "Test"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-css-transform-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-css-transform-expected.png
index 2f4a627..c39aa74 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-css-transform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-css-transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-css-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-css-transform-expected.txt
index fa97886..cb0bb97 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-css-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-css-transform-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGText {text} at (110,5) size 106.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (110,5) size 106.03x19
-        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 106.04: "Visibility: visible"
-    LayoutSVGText {text} at (340,5) size 108.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (340,5) size 108.03x19
-        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 108.04: "Visibility: hidden"
+    LayoutSVGText {text} at (110,5) size 107x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (110,5) size 107x19
+        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 107.00: "Visibility: visible"
+    LayoutSVGText {text} at (340,5) size 109x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (340,5) size 109x19
+        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 109.00: "Visibility: hidden"
     LayoutSVGContainer {g} at (-1,30) size 550x563
       LayoutSVGText {text} at (0,45) size 27x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (0,45) size 27x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-expected.png
index 2f4a627..c39aa74 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-expected.txt
index 84de6d7..5c59fb4f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-image-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGText {text} at (110,5) size 106.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (110,5) size 106.03x19
-        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 106.04: "Visibility: visible"
-    LayoutSVGText {text} at (340,5) size 108.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (340,5) size 108.03x19
-        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 108.04: "Visibility: hidden"
+    LayoutSVGText {text} at (110,5) size 107x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (110,5) size 107x19
+        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 107.00: "Visibility: visible"
+    LayoutSVGText {text} at (340,5) size 109x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (340,5) size 109x19
+        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 109.00: "Visibility: hidden"
     LayoutSVGContainer {g} at (-1,30) size 550x563
       LayoutSVGText {text} at (0,45) size 27x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (0,45) size 27x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-path-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-path-expected.png
index 6374808..9fdb6f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-path-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-path-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-path-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-path-expected.txt
index 108c1b37..949cf8b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-path-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-path-expected.txt
@@ -11,12 +11,12 @@
     LayoutSVGText {text} at (605,45) size 69x19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (605,45) size 69x19
         chunk 1 text run 1 at (605.00,60.00) startOffset 0 endOffset 11 width 69.00: "Hit Stroke:"
-    LayoutSVGText {text} at (110,5) size 106.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (110,5) size 106.03x19
-        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 106.04: "Visibility: visible"
-    LayoutSVGText {text} at (340,5) size 108.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (340,5) size 108.03x19
-        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 108.04: "Visibility: hidden"
+    LayoutSVGText {text} at (110,5) size 107x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (110,5) size 107x19
+        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 107.00: "Visibility: visible"
+    LayoutSVGText {text} at (340,5) size 109x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (340,5) size 109x19
+        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 109.00: "Visibility: hidden"
     LayoutSVGContainer {g} at (-1,20) size 731x573
       LayoutSVGRect {rect} at (680,20) size 50x50 [fill={[type=SOLID] [color=#FFA500]}] [x=680.00] [y=20.00] [width=50.00] [height=50.00]
       LayoutSVGText {text} at (685,25) size 27x19 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-css-transform-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-css-transform-expected.png
index 7dd6ae2d..a18c5a7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-css-transform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-css-transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-css-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-css-transform-expected.txt
index d61be574..cb1c9e0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-css-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-css-transform-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGText {text} at (110,5) size 106.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (110,5) size 106.03x19
-        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 106.04: "Visibility: visible"
-    LayoutSVGText {text} at (340,5) size 108.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (340,5) size 108.03x19
-        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 108.04: "Visibility: hidden"
+    LayoutSVGText {text} at (110,5) size 107x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (110,5) size 107x19
+        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 107.00: "Visibility: visible"
+    LayoutSVGText {text} at (340,5) size 109x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (340,5) size 109x19
+        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 109.00: "Visibility: hidden"
     LayoutSVGContainer {g} at (-1,24) size 533x559
       LayoutSVGText {text} at (0,45) size 27x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (0,45) size 27x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-expected.png
index 88e02cb..1e353a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-expected.txt
index 76dc28e..86bf186d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/pointer-events-text-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGText {text} at (110,5) size 106.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (110,5) size 106.03x19
-        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 106.04: "Visibility: visible"
-    LayoutSVGText {text} at (340,5) size 108.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (340,5) size 108.03x19
-        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 108.04: "Visibility: hidden"
+    LayoutSVGText {text} at (110,5) size 107x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (110,5) size 107x19
+        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 107.00: "Visibility: visible"
+    LayoutSVGText {text} at (340,5) size 109x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (340,5) size 109x19
+        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 109.00: "Visibility: hidden"
     LayoutSVGContainer {g} at (-1,24) size 533x559
       LayoutSVGText {text} at (0,45) size 27x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (0,45) size 27x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/rootmost-svg-xy-attrs-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/rootmost-svg-xy-attrs-expected.png
index 8a5d082..fb37003 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/rootmost-svg-xy-attrs-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/rootmost-svg-xy-attrs-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/rootmost-svg-xy-attrs-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/rootmost-svg-xy-attrs-expected.txt
index 5bc22f6b..8a9aa4a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/rootmost-svg-xy-attrs-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/rootmost-svg-xy-attrs-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x309.88
     LayoutBlockFlow {body} at (8,21.44) size 784x280.44
       LayoutBlockFlow {h1} at (0,0) size 784x37
-        LayoutText {#text} at (0,0) size 746x36
-          text run at (0,0) width 746: "Test case for x/y attributes on root-most <svg> element"
+        LayoutText {#text} at (0,0) size 747x36
+          text run at (0,0) width 747: "Test case for x/y attributes on root-most <svg> element"
       LayoutBlockFlow {p} at (0,58.44) size 784x60
         LayoutText {#text} at (0,0) size 29x19
           text run at (0,0) width 29: "The "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/second-inline-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/second-inline-text-expected.png
index 30e742ae..cdc54f77 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/second-inline-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/second-inline-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/second-inline-text-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/second-inline-text-expected.txt
index 1581667..764ef14 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/second-inline-text-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/second-inline-text-expected.txt
@@ -9,14 +9,14 @@
       LayoutBlockFlow {div} at (0,36) size 784x105
         LayoutSVGRoot {svg} at (0,0) size 100x100
           LayoutSVGPath {path} at (28,18.86) size 45x62.14 [fill={[type=SOLID] [color=#337711]}] [data="M 38 38 c 0 -12 24 -15 23 -2 c 0 9 -16 13 -16 23 v 7 h 11 v -4 c 0 -9 17 -12 17 -27 c -2 -22 -45 -22 -45 3 Z M 45 70 h 11 v 11 h -11 Z"]
-          LayoutSVGText {text} at (10,35) size 37.53x19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,35) size 37.53x19
-              chunk 1 text run 1 at (10.00,50.00) startOffset 0 endOffset 4 width 37.53: "PASS"
+          LayoutSVGText {text} at (10,35) size 37x19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,35) size 37x19
+              chunk 1 text run 1 at (10.00,50.00) startOffset 0 endOffset 4 width 37.00: "PASS"
         LayoutText {#text} at (100,85) size 4x19
           text run at (100,85) width 4: " "
         LayoutSVGRoot {svg} at (104,0) size 100x100
           LayoutSVGPath {path} at (28,18.86) size 45x62.14 [fill={[type=SOLID] [color=#337711]}] [data="M 38 38 c 0 -12 24 -15 23 -2 c 0 9 -16 13 -16 23 v 7 h 11 v -4 c 0 -9 17 -12 17 -27 c -2 -22 -45 -22 -45 3 Z M 45 70 h 11 v 11 h -11 Z"]
-          LayoutSVGText {text} at (10,35) size 37.53x19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,35) size 37.53x19
-              chunk 1 text run 1 at (10.00,50.00) startOffset 0 endOffset 4 width 37.53: "PASS"
+          LayoutSVGText {text} at (10,35) size 37x19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,35) size 37x19
+              chunk 1 text run 1 at (10.00,50.00) startOffset 0 endOffset 4 width 37.00: "PASS"
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/simpleCDF-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/simpleCDF-expected.txt
index aa9092c..e58cd65 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/simpleCDF-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/simpleCDF-expected.txt
@@ -11,5 +11,5 @@
           LayoutSVGRect {rect} at (0,0) size 200x200 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=200.00] [height=200.00]
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {p} at (0,257) size 784x20
-        LayoutText {#text} at (0,0) size 268x19
-          text run at (0,0) width 268: "You should see an SVG image above this!"
+        LayoutText {#text} at (0,0) size 267x19
+          text run at (0,0) width 267: "You should see an SVG image above this!"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/stroke-fallback-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/stroke-fallback-expected.png
index e7a9c14..a6809c10 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/stroke-fallback-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/stroke-fallback-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/stroke-fallback-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/stroke-fallback-expected.txt
index 4c9ea37..a220e1c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/stroke-fallback-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/stroke-fallback-expected.txt
@@ -11,6 +11,6 @@
     LayoutSVGText {text} at (0,155) size 441x19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (0,155) size 441x19
         chunk 1 text run 1 at (0.00,170.00) startOffset 0 endOffset 74 width 441.00: "The left should fall back to the green color since the uri does not exist."
-    LayoutSVGText {text} at (0,175) size 488.11x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,175) size 488.11x19
-        chunk 1 text run 1 at (0.00,190.00) startOffset 0 endOffset 78 width 488.12: "The right should show the valid uri and not fall back to red color. Bug 12062."
+    LayoutSVGText {text} at (0,175) size 489x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,175) size 489x19
+        chunk 1 text run 1 at (0.00,190.00) startOffset 0 endOffset 78 width 489.00: "The right should show the valid uri and not fall back to red color. Bug 12062."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/stroked-pattern-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/stroked-pattern-expected.txt
index df30d2c..0950bddd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/stroked-pattern-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/stroked-pattern-expected.txt
@@ -8,10 +8,10 @@
         LayoutSVGEllipse {circle} at (-20,-20) size 80x80 [stroke={[type=SOLID] [color=#640000] [stroke width=12.00]}] [fill={[type=RADIAL-GRADIENT] [id="redToYellow"]}] [cx=20.00] [cy=20.00] [r=40.00]
     LayoutSVGRect {rect} at (50,50) size 350x400 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="pattern"]}] [x=50.00] [y=50.00] [width=350.00] [height=400.00]
     LayoutSVGRect {rect} at (1,1) size 448x498 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=448.00] [height=498.00]
-    LayoutSVGContainer {g} at (134.48,10) size 181.02x27.48
-      LayoutSVGText {text} at (134.48,10) size 181.02x12.48 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (134.48,10) size 181.02x12.48
-          chunk 1 (middle anchor) text run 1 at (134.49,20.00) startOffset 0 endOffset 47 width 181.02: "stroked circle shouldn't be clipped in any way."
+    LayoutSVGContainer {g} at (134.16,10) size 181.66x27.48
+      LayoutSVGText {text} at (134.16,10) size 181.66x12.48 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (134.16,10) size 181.66x12.48
+          chunk 1 (middle anchor) text run 1 at (134.17,20.00) startOffset 0 endOffset 47 width 181.67: "stroked circle shouldn't be clipped in any way."
       LayoutSVGText {text} at (162.08,25) size 125.83x12.48 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (162.08,25) size 125.83x12.48
           chunk 1 (middle anchor) text run 1 at (162.08,35.00) startOffset 0 endOffset 32 width 125.83: "(stroke-width should be visible!"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-float-border-padding-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-float-border-padding-expected.png
index fc8ee63..96ed315 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-float-border-padding-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-float-border-padding-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-float-border-padding-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-float-border-padding-expected.txt
index 00f324b..c014067d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-float-border-padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-float-border-padding-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {html} at (0,0) size 800x526
     LayoutBlockFlow {body} at (8,8) size 784x502
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 638x19
+        LayoutText {#text} at (0,0) size 637x19
           text run at (0,0) width 241: "The two blocks should look identical. "
-          text run at (241,0) width 397: "One uses an SVG, and the other just uses a normal HTML div."
+          text run at (241,0) width 396: "One uses an SVG, and the other just uses a normal HTML div."
       LayoutBlockFlow {p} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 354x19
           text run at (0,0) width 354: "There should be a red, white and blue pattern below this"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-fonts-in-html-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-fonts-in-html-expected.png
index 4898db49..42aec8d6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-fonts-in-html-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-fonts-in-html-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-fonts-in-html-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-fonts-in-html-expected.txt
index 6f26c70..2b05714b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-fonts-in-html-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-fonts-in-html-expected.txt
@@ -22,8 +22,8 @@
 layer at (173,47) size 454x190
   LayoutBlockFlow (positioned) {H1} at (0,15.11) size 453.53x190 [color=#DD9955]
     LayoutInline {SPAN} at (0,0) size 341x190
-      LayoutText {#text} at (64,0) size 341x190
-        text run at (64,0) width 326: "CSS ZEN"
+      LayoutText {#text} at (63,0) size 341x190
+        text run at (63,0) width 327: "CSS ZEN"
         text run at (56,95) width 341: "GARDEN"
 layer at (173,119) size 454x22
   LayoutBlockFlow (positioned) {H2} at (0,87.47) size 453.53x22 [color=#EEFF00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-clip-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-clip-expected.png
index 9ae1b79..9a5ca62 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-clip-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-clip-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-clip-expected.txt
index bb3378c..d2c140c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-clip-expected.txt
@@ -5,11 +5,11 @@
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
       LayoutSVGResourceClipper {clipPath} [id="myclip"] [clipPathUnits=userSpaceOnUse]
         LayoutSVGPath {path} at (200,200) size 100x200 [fill={[type=SOLID] [color=#000000]}] [data="M 200 200 l 100 0 l 0 200 l -100 0 Z"]
-    LayoutSVGContainer {g} at (0,76) size 643.91x62
-      LayoutSVGText {text} at (0,76) size 127.94x62 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,76) size 127.94x62
-          chunk 1 text run 1 at (0.00,125.00) startOffset 0 endOffset 4 width 127.95: "PASS"
-      LayoutSVGText {text} at (0,76) size 643.91x62 contains 1 chunk(s)
+    LayoutSVGContainer {g} at (0,76) size 644x62
+      LayoutSVGText {text} at (0,76) size 127x62 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,76) size 127x62
+          chunk 1 text run 1 at (0.00,125.00) startOffset 0 endOffset 4 width 127.00: "PASS"
+      LayoutSVGText {text} at (0,76) size 644x62 contains 1 chunk(s)
         [clipPath="myclip"] LayoutSVGResourceClipper {clipPath} at (200,200) size 100x200
-        LayoutSVGInlineText {#text} at (0,76) size 643.91x62
-          chunk 1 text run 1 at (0.00,125.00) startOffset 0 endOffset 28 width 643.92: "FAIL (should be clipped out)"
+        LayoutSVGInlineText {#text} at (0,76) size 644x62
+          chunk 1 text run 1 at (0.00,125.00) startOffset 0 endOffset 28 width 644.00: "FAIL (should be clipped out)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-dom-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-dom-01-f-expected.png
index 9faf6af..dbec151 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-dom-01-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-dom-01-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-dom-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-dom-01-f-expected.txt
index b8069b57..e03aa49 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-dom-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-dom-01-f-expected.txt
@@ -4,57 +4,57 @@
   LayoutSVGRoot {svg} at (0,0) size 480x360
     LayoutSVGContainer {g} at (30,15) size 405x268
       LayoutSVGContainer {g} at (30,15) size 405x268
-        LayoutSVGRect {rect} at (125.33,16) size 8x17 [fill={[type=SOLID] [color=#ADD8E6]}] [x=125.33] [y=16.00] [width=8.00] [height=17.00]
-        LayoutSVGRect {rect} at (92.21,20.10) size 14.14x14.14 [fill={[type=SOLID] [color=#ADD8E6]}] [x=92.21] [y=20.10] [width=14.14] [height=14.14]
-        LayoutSVGPath {line} at (62.33,30) size 355.34x0 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=62.33] [y1=30.00] [x2=417.67] [y2=30.00]
-        LayoutSVGPath {line} at (133.33,15) size 0x15 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=133.33] [y1=30.00] [x2=133.33] [y2=15.00]
-        LayoutSVGPath {line} at (125.33,15) size 0x15 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=125.33] [y1=30.00] [x2=125.33] [y2=15.00]
-        LayoutSVGPath {line} at (189.33,30) size 56x0 [stroke={[type=SOLID] [color=#00FF00]}] [fill={[type=SOLID] [color=#000000]}] [x1=189.33] [y1=30.00] [x2=245.33] [y2=30.00]
-        LayoutSVGText {text} at (62.33,16) size 355.33x22 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (62.33,16) size 32x17
-            chunk 1 (middle anchor) text run 1 at (62.33,30.00) startOffset 0 endOffset 5 width 32.00: "This "
-          LayoutSVGTSpan {tspan} at (62.33,16) size 355.33x22
-            LayoutSVGInlineText {#text} at (92.20,20.09) size 19.11x17.89
-              chunk 1 (middle anchor) text run 1 at (94.33,30.00) startOffset 0 endOffset 1 width 3.00: "i"
-              chunk 1 (middle anchor) text run 2 at (97.33,30.00) startOffset 1 endOffset 2 width 8.00: "s"
-          LayoutSVGInlineText {#text} at (105.33,16) size 312.33x17
-            chunk 1 (middle anchor) text run 1 at (105.33,30.00) startOffset 0 endOffset 47 width 312.34: " a test of the interface SVGTextContentElement."
+        LayoutSVGRect {rect} at (125.50,16) size 8x17 [fill={[type=SOLID] [color=#ADD8E6]}] [x=125.50] [y=16.00] [width=8.00] [height=17.00]
+        LayoutSVGRect {rect} at (92.38,20.10) size 14.14x14.14 [fill={[type=SOLID] [color=#ADD8E6]}] [x=92.38] [y=20.10] [width=14.14] [height=14.14]
+        LayoutSVGPath {line} at (62.50,30) size 355x0 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=62.50] [y1=30.00] [x2=417.50] [y2=30.00]
+        LayoutSVGPath {line} at (133.50,15) size 0x15 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=133.50] [y1=30.00] [x2=133.50] [y2=15.00]
+        LayoutSVGPath {line} at (125.50,15) size 0x15 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=125.50] [y1=30.00] [x2=125.50] [y2=15.00]
+        LayoutSVGPath {line} at (189.50,30) size 56x0 [stroke={[type=SOLID] [color=#00FF00]}] [fill={[type=SOLID] [color=#000000]}] [x1=189.50] [y1=30.00] [x2=245.50] [y2=30.00]
+        LayoutSVGText {text} at (62.50,16) size 355x22 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (62.50,16) size 32x17
+            chunk 1 (middle anchor) text run 1 at (62.50,30.00) startOffset 0 endOffset 5 width 32.00: "This "
+          LayoutSVGTSpan {tspan} at (62.50,16) size 355x22
+            LayoutSVGInlineText {#text} at (92.38,20.09) size 19.11x17.89
+              chunk 1 (middle anchor) text run 1 at (94.50,30.00) startOffset 0 endOffset 1 width 3.00: "i"
+              chunk 1 (middle anchor) text run 2 at (97.50,30.00) startOffset 1 endOffset 2 width 8.00: "s"
+          LayoutSVGInlineText {#text} at (105.50,16) size 312x17
+            chunk 1 (middle anchor) text run 1 at (105.50,30.00) startOffset 0 endOffset 47 width 312.00: " a test of the interface SVGTextContentElement."
         LayoutSVGText {text} at (30,46) size 228x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (30,46) size 228x17
             chunk 1 text run 1 at (30.00,60.00) startOffset 0 endOffset 34 width 228.00: ".getCharNumAtPosition() result: 30"
-        LayoutSVGText {text} at (30,66) size 245.33x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (30,66) size 245.33x17
-            chunk 1 text run 1 at (30.00,80.00) startOffset 0 endOffset 36 width 245.34: ".getComputedTextLength() result: 355"
-        LayoutSVGText {text} at (30,86) size 294.88x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (30,86) size 294.88x17
-            chunk 1 text run 1 at (30.00,100.00) startOffset 0 endOffset 46 width 294.89: ".getEndPositionOfChar(11) result ('e'): 133,30"
-        LayoutSVGText {text} at (30,106) size 290.88x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (30,106) size 290.88x17
-            chunk 1 text run 1 at (30.00,120.00) startOffset 0 endOffset 46 width 290.89: ".getExtentOfChar(11) result ('e'): 125,16,8,17"
+        LayoutSVGText {text} at (30,66) size 245x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (30,66) size 245x17
+            chunk 1 text run 1 at (30.00,80.00) startOffset 0 endOffset 36 width 245.00: ".getComputedTextLength() result: 355"
+        LayoutSVGText {text} at (30,86) size 294x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (30,86) size 294x17
+            chunk 1 text run 1 at (30.00,100.00) startOffset 0 endOffset 46 width 294.00: ".getEndPositionOfChar(11) result ('e'): 134,30"
+        LayoutSVGText {text} at (30,106) size 290x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (30,106) size 290x17
+            chunk 1 text run 1 at (30.00,120.00) startOffset 0 endOffset 46 width 290.00: ".getExtentOfChar(11) result ('e'): 126,16,8,17"
         LayoutSVGText {text} at (30,126) size 207x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (30,126) size 207x17
             chunk 1 text run 1 at (30.00,140.00) startOffset 0 endOffset 30 width 207.00: ".getNumberOfChars() result: 54"
         LayoutSVGText {text} at (30,146) size 208x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (30,146) size 208x17
             chunk 1 text run 1 at (30.00,160.00) startOffset 0 endOffset 32 width 208.00: ".getRotationOfChar(5) result: 45"
-        LayoutSVGText {text} at (30,166) size 299.88x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (30,166) size 299.88x17
-            chunk 1 text run 1 at (30.00,180.00) startOffset 0 endOffset 48 width 299.89: ".getStartPositionOfChar(11) result ('e'): 125,30"
+        LayoutSVGText {text} at (30,166) size 299x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (30,166) size 299x17
+            chunk 1 text run 1 at (30.00,180.00) startOffset 0 endOffset 48 width 299.00: ".getStartPositionOfChar(11) result ('e'): 126,30"
         LayoutSVGText {text} at (30,186) size 310x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (30,186) size 310x17
             chunk 1 text run 1 at (30.00,200.00) startOffset 0 endOffset 50 width 310.00: ".getSubStringLength(22,9) result ('interface'): 56"
         LayoutSVGText {text} at (30,206) size 405x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (30,206) size 405x17
             chunk 1 text run 1 at (30.00,220.00) startOffset 0 endOffset 64 width 405.00: ".selectSubString(18,3) result: the word 'the' should be selected"
-        LayoutSVGText {text} at (30,226) size 238.88x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (30,226) size 238.88x17
-            chunk 1 text run 1 at (30.00,240.00) startOffset 0 endOffset 37 width 238.89: ".textLength.baseVal.value result: 355"
-        LayoutSVGText {text} at (30,246) size 238.88x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (30,246) size 238.88x17
-            chunk 1 text run 1 at (30.00,260.00) startOffset 0 endOffset 37 width 238.89: ".textLength.animVal.value result: 355"
-        LayoutSVGText {text} at (30,266) size 379.77x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (30,266) size 379.77x17
-            chunk 1 text run 1 at (30.00,280.00) startOffset 0 endOffset 59 width 379.77: ".lengthAdjust.baseVal and .lengthAdjust.animVal result: 1,1"
+        LayoutSVGText {text} at (30,226) size 238x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (30,226) size 238x17
+            chunk 1 text run 1 at (30.00,240.00) startOffset 0 endOffset 37 width 238.00: ".textLength.baseVal.value result: 355"
+        LayoutSVGText {text} at (30,246) size 238x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (30,246) size 238x17
+            chunk 1 text run 1 at (30.00,260.00) startOffset 0 endOffset 37 width 238.00: ".textLength.animVal.value result: 355"
+        LayoutSVGText {text} at (30,266) size 378x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (30,266) size 378x17
+            chunk 1 text run 1 at (30.00,280.00) startOffset 0 endOffset 59 width 378.00: ".lengthAdjust.baseVal and .lengthAdjust.animVal result: 1,1"
     LayoutSVGText {text} at (10,304) size 264x46 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 264x46
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 264.00: "$Revision: 1.1 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-filter-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-filter-expected.txt
index 881a4e8..1293d5f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-filter-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-filter-expected.txt
@@ -6,7 +6,7 @@
       LayoutSVGResourceFilter {filter} [id="myfilter"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
         [feGaussianBlur stdDeviation="3.00, 3.00"]
           [SourceGraphic]
-    LayoutSVGText {text} at (4,11) size 563.42x62 contains 1 chunk(s)
-      [filter="myfilter"] LayoutSVGResourceFilter {filter} at (-52.34,4.80) size 676.11x74.40
-      LayoutSVGInlineText {#text} at (4,11) size 563.42x62
-        chunk 1 text run 1 at (4.00,60.00) startOffset 0 endOffset 26 width 563.43: "This text should be blury."
+    LayoutSVGText {text} at (4,11) size 563x62 contains 1 chunk(s)
+      [filter="myfilter"] LayoutSVGResourceFilter {filter} at (-52.30,4.80) size 675.60x74.40
+      LayoutSVGInlineText {#text} at (4,11) size 563x62
+        chunk 1 text run 1 at (4.00,60.00) startOffset 0 endOffset 26 width 563.00: "This text should be blury."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-match-highlight-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-match-highlight-expected.png
index b78fafc..92c4882 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-match-highlight-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-match-highlight-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-match-highlight-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-match-highlight-expected.txt
index a0702f9a..c29f728 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-match-highlight-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-match-highlight-expected.txt
@@ -3,14 +3,14 @@
 layer at (0,0) size 800x421
   LayoutBlockFlow {HTML} at (0,0) size 800x421
     LayoutBlockFlow {BODY} at (8,8) size 784x405
-      LayoutText {#text} at (0,0) size 449x19
-        text run at (0,0) width 449: "Test for crbug.com/56580: There should be 9 highlighted instances of \""
-      LayoutInline {SPAN} at (0,0) size 45x19
-        LayoutText {#text} at (448,0) size 45x19
-          text run at (448,0) width 45: "findme"
-      LayoutText {#text} at (492,0) size 744x39
-        text run at (492,0) width 136: "\". The 6th higlighted "
-        text run at (627,0) width 117: "instance should be"
+      LayoutText {#text} at (0,0) size 448x19
+        text run at (0,0) width 448: "Test for crbug.com/56580: There should be 9 highlighted instances of \""
+      LayoutInline {SPAN} at (0,0) size 44x19
+        LayoutText {#text} at (448,0) size 44x19
+          text run at (448,0) width 44: "findme"
+      LayoutText {#text} at (492,0) size 743x39
+        text run at (492,0) width 135: "\". The 6th higlighted "
+        text run at (627,0) width 116: "instance should be"
         text run at (0,20) width 41: "active."
       LayoutBR {BR} at (41,20) size 0x19
       LayoutBR {BR} at (0,40) size 0x19
@@ -47,10 +47,10 @@
         LayoutSVGText {text} at (10,91) size 138x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,91) size 138x12
             chunk 1 text run 1 at (10.00,100.00) startOffset 0 endOffset 23 width 138.00: "Findme in a typewriter!"
-        LayoutSVGContainer {g} at (69.41,15.14) size 683.38x236.56 [transform={m=((0.30,0.00)(0.00,0.30)) t=(0.00,120.00)}]
-          LayoutSVGText {text} at (69.41,15.14) size 683.38x236.56 contains 1 chunk(s)
-            LayoutSVGTextPath {textPath} at (69.41,15.14) size 683.38x236.56
-              LayoutSVGInlineText {#text} at (69.41,15.14) size 683.38x236.56
+        LayoutSVGContainer {g} at (69.41,15.14) size 683.69x236.56 [transform={m=((0.30,0.00)(0.00,0.30)) t=(0.00,120.00)}]
+          LayoutSVGText {text} at (69.41,15.14) size 683.69x236.56 contains 1 chunk(s)
+            LayoutSVGTextPath {textPath} at (69.41,15.14) size 683.69x236.56
+              LayoutSVGInlineText {#text} at (69.41,15.14) size 683.69x236.56
                 chunk 1 text run 1 at (108.29,191.71) startOffset 0 endOffset 1 width 23.33: "F"
                 chunk 1 text run 2 at (121.32,178.75) startOffset 1 endOffset 2 width 13.33: "i"
                 chunk 1 text run 3 at (135.54,164.79) startOffset 2 endOffset 3 width 26.67: "n"
@@ -73,16 +73,16 @@
                 chunk 1 text run 20 at (471.64,168.91) startOffset 19 endOffset 20 width 13.33: "i"
                 chunk 1 text run 21 at (486.84,181.99) startOffset 20 endOffset 21 width 26.67: "d"
                 chunk 1 text run 22 at (503.79,195.51) startOffset 21 endOffset 22 width 16.67: " "
-                chunk 1 text run 23 at (521.33,208.10) startOffset 22 endOffset 23 width 26.67: "y"
-                chunk 1 text run 24 at (543.94,221.85) startOffset 23 endOffset 24 width 26.67: "o"
-                chunk 1 text run 25 at (568.00,232.88) startOffset 24 endOffset 25 width 26.67: "u"
-                chunk 1 text run 26 at (588.78,238.94) startOffset 25 endOffset 26 width 16.67: " "
-                chunk 1 text run 27 at (605.28,241.20) startOffset 26 endOffset 27 width 16.67: "f"
-                chunk 1 text run 28 at (620.26,241.11) startOffset 27 endOffset 28 width 13.33: "i"
-                chunk 1 text run 29 at (639.91,237.63) startOffset 28 endOffset 29 width 26.67: "n"
-                chunk 1 text run 30 at (664.48,227.44) startOffset 29 endOffset 30 width 26.67: "d"
-                chunk 1 text run 31 at (692.72,206.93) startOffset 30 endOffset 31 width 43.33: "m"
-                chunk 1 text run 32 at (718.23,182.83) startOffset 31 endOffset 32 width 26.67: "e"
-                chunk 1 text run 33 at (737.46,166.87) startOffset 32 endOffset 33 width 23.33: "?"
+                chunk 1 text run 23 at (521.40,208.15) startOffset 22 endOffset 23 width 26.67: "y"
+                chunk 1 text run 24 at (544.18,221.98) startOffset 23 endOffset 24 width 26.67: "o"
+                chunk 1 text run 25 at (568.34,233.00) startOffset 24 endOffset 25 width 26.67: "u"
+                chunk 1 text run 26 at (589.15,239.02) startOffset 25 endOffset 26 width 16.67: " "
+                chunk 1 text run 27 at (605.65,241.23) startOffset 26 endOffset 27 width 16.67: "f"
+                chunk 1 text run 28 at (620.63,241.08) startOffset 27 endOffset 28 width 13.33: "i"
+                chunk 1 text run 29 at (640.27,237.53) startOffset 28 endOffset 29 width 26.67: "n"
+                chunk 1 text run 30 at (664.80,227.26) startOffset 29 endOffset 30 width 26.67: "d"
+                chunk 1 text run 31 at (693.00,206.68) startOffset 30 endOffset 31 width 43.33: "m"
+                chunk 1 text run 32 at (718.50,182.59) startOffset 31 endOffset 32 width 26.67: "e"
+                chunk 1 text run 33 at (737.76,166.64) startOffset 32 endOffset 33 width 23.33: "?"
             LayoutSVGInlineText {#text} at (0,0) size 0x0
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-rotated-gradient-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-rotated-gradient-expected.txt
index e2982cb..dbcce3a0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-rotated-gradient-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-rotated-gradient-expected.txt
@@ -4,8 +4,8 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
       LayoutSVGResourceLinearGradient {linearGradient} [id="g"] [gradientUnits=userSpaceOnUse] [stops=( #FF0000@0.00 #00000080@1.00 )] [start=(0,0)] [end=(0,600)]
-    LayoutSVGText {text} at (0,13) size 644.98x22 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,13) size 644.98x22
+    LayoutSVGText {text} at (0,13) size 645x22 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,13) size 645x22
         chunk 1 text run 1 at (0.00,30.00) startOffset 0 endOffset 81 width 645.00: "You should see red, black, red, black text all rotated 45deg, translated by 100px"
     LayoutSVGContainer {g} at (50,22) size 78x36 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(0.00,0.00)}]
       LayoutSVGText {text} at (50,22) size 78x36 contains 1 chunk(s)
@@ -24,8 +24,8 @@
       LayoutSVGText {text} at (50,22) size 78x36 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (50,22) size 78x36
           chunk 1 text run 1 at (50.00,50.00) startOffset 0 endOffset 4 width 78.00: "TEST"
-    LayoutSVGText {text} at (0,153) size 709.98x22 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,153) size 709.98x22
+    LayoutSVGText {text} at (0,153) size 710x22 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,153) size 710x22
         chunk 1 text run 1 at (0.00,170.00) startOffset 0 endOffset 88 width 710.00: "You should see the same pattern again, just a bit scaled, by the viewBox of an inner svg"
     LayoutSVGViewportContainer {svg} at (-5.65,121.15) size 379.66x79.66
       LayoutSVGContainer {g} at (100,71.33) size 76x36.66 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(0.00,0.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-whitespace-handling-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-whitespace-handling-expected.png
index 9b13245..1dc42c1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-whitespace-handling-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-whitespace-handling-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-whitespace-handling-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-whitespace-handling-expected.txt
index bb4da2c7..cdbc8b0f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-whitespace-handling-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/text-whitespace-handling-expected.txt
@@ -2,16 +2,16 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (9.50,6) size 248.38x258
-      LayoutSVGText {text} at (10,6) size 238.38x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,6) size 238.38x18
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 36 width 238.38: "Testing xml:space=\"default\" support:"
-      LayoutSVGText {text} at (9.50,26) size 172.72x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (9.50,26) size 172.72x18
-          chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 23 width 172.22: "No Spaces Between Words"
-      LayoutSVGText {text} at (10,46) size 128.38x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,46) size 128.38x18
-          chunk 1 text run 1 at (10.00,60.00) startOffset 0 endOffset 18 width 128.38: "Tabs become spaces"
+    LayoutSVGContainer {g} at (9.50,6) size 248.50x258
+      LayoutSVGText {text} at (10,6) size 238.50x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,6) size 238.50x18
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 36 width 238.50: "Testing xml:space=\"default\" support:"
+      LayoutSVGText {text} at (9.50,26) size 173x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (9.50,26) size 173x18
+          chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 23 width 172.50: "No Spaces Between Words"
+      LayoutSVGText {text} at (10,46) size 128.50x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,46) size 128.50x18
+          chunk 1 text run 1 at (10.00,60.00) startOffset 0 endOffset 18 width 128.50: "Tabs become spaces"
       LayoutSVGText {text} at (9.50,66) size 110x18 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (9.50,66) size 110x18
           chunk 1 text run 1 at (10.00,80.00) startOffset 0 endOffset 16 width 109.50: "No leading space"
@@ -23,15 +23,15 @@
           chunk 1 text run 1 at (10.00,120.00) startOffset 0 endOffset 11 width 78.00: "Whitespace "
           chunk 1 text run 1 at (88.00,120.00) startOffset 0 endOffset 3 width 14.50: "is "
           chunk 1 text run 1 at (102.50,120.00) startOffset 0 endOffset 10 width 65.00: "simplified"
-      LayoutSVGText {text} at (10,146) size 247.88x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,146) size 247.88x18
-          chunk 1 text run 1 at (10.00,160.00) startOffset 0 endOffset 37 width 247.88: "Testing xml:space=\"preserve\" support:"
+      LayoutSVGText {text} at (10,146) size 248x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,146) size 248x18
+          chunk 1 text run 1 at (10.00,160.00) startOffset 0 endOffset 37 width 248.00: "Testing xml:space=\"preserve\" support:"
       LayoutSVGText {text} at (10,166) size 172x18 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,166) size 172x18
           chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 24 width 172.00: " Newlines Become Spaces "
-      LayoutSVGText {text} at (10,186) size 128.38x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,186) size 128.38x18
-          chunk 1 text run 1 at (10.00,200.00) startOffset 0 endOffset 18 width 128.38: "Tabs become spaces"
+      LayoutSVGText {text} at (10,186) size 128.50x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,186) size 128.50x18
+          chunk 1 text run 1 at (10.00,200.00) startOffset 0 endOffset 18 width 128.50: "Tabs become spaces"
       LayoutSVGText {text} at (10,206) size 156x18 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,206) size 156x18
           chunk 1 text run 1 at (10.00,220.00) startOffset 0 endOffset 25 width 156.00: "    Respect leading space"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-event-handler-on-referenced-element-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-event-handler-on-referenced-element-expected.png
index 9940772..3ec55ff 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-event-handler-on-referenced-element-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-event-handler-on-referenced-element-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-font-face-crash-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-font-face-crash-expected.png
index 14f80e9..a0d1b56 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-font-face-crash-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-font-face-crash-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-modify-container-in-target-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-modify-container-in-target-expected.txt
index d5cb172d..033cd84c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-modify-container-in-target-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-modify-container-in-target-expected.txt
@@ -17,6 +17,6 @@
         LayoutSVGContainer {g} at (0,0) size 60x10
           LayoutSVGRect {rect} at (0,0) size 60x10 [stroke={[type=SOLID] [color=#000080] [stroke width=5.00]}] [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=60.00] [height=10.00]
         LayoutSVGEllipse {circle} at (20,-5) size 20x20 [opacity=0.50] [fill={[type=SOLID] [color=#008000]}] [cx=30.00] [cy=5.00] [r=10.00]
-    LayoutSVGText {text} at (10,61.50) size 200.48x11 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,61.50) size 200.48x11
+    LayoutSVGText {text} at (10,61.50) size 200.50x11 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,61.50) size 200.50x11
         chunk 1 text run 1 at (10.00,70.00) startOffset 0 endOffset 50 width 200.50: "You should see a red rectangle and a green circle."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-modify-target-container-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-modify-target-container-expected.txt
index a2326c9..4dc6797 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-modify-target-container-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-modify-target-container-expected.txt
@@ -14,6 +14,6 @@
       LayoutSVGContainer {g} at (0,-5) size 60x20
         LayoutSVGRect {rect} at (0,0) size 60x10 [stroke={[type=SOLID] [color=#000080] [stroke width=5.00]}] [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=60.00] [height=10.00]
         LayoutSVGEllipse {circle} at (20,-5) size 20x20 [opacity=0.50] [fill={[type=SOLID] [color=#008000]}] [cx=30.00] [cy=5.00] [r=10.00]
-    LayoutSVGText {text} at (30,61.50) size 146.98x11 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (30,61.50) size 146.98x11
+    LayoutSVGText {text} at (30,61.50) size 147x11 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (30,61.50) size 147x11
         chunk 1 text run 1 at (30.00,70.00) startOffset 0 endOffset 35 width 147.00: "You should shapes _above_ this text"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-modify-target-symbol-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-modify-target-symbol-expected.txt
index 3d88530..ef20c46 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-modify-target-symbol-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-modify-target-symbol-expected.txt
@@ -11,6 +11,6 @@
     LayoutSVGContainer {use} at (0,0) size 60x10 [transform={m=((1.00,0.00)(0.00,1.00)) t=(125.00,25.00)}]
       LayoutSVGViewportContainer {svg} at (0,0) size 60x10
         LayoutSVGRect {rect} at (0,0) size 60x10 [stroke={[type=SOLID] [color=#000080] [stroke width=5.00]}] [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=60.00] [height=10.00]
-    LayoutSVGText {text} at (30,61.50) size 146.98x11 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (30,61.50) size 146.98x11
+    LayoutSVGText {text} at (30,61.50) size 147x11 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (30,61.50) size 147x11
         chunk 1 text run 1 at (30.00,70.00) startOffset 0 endOffset 35 width 147.00: "You should shapes _above_ this text"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-1-expected.png
index afbe04c..1b611f5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-1-expected.txt
index 8581095..ecb4d4e6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-1-expected.txt
@@ -4,6 +4,6 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGForeignObject {foreignObject} at (10,10) size 480x360
       LayoutBlockFlow {xhtml:div} at (0,0) size 480x20
-        LayoutText {#text} at (0,0) size 243x19
-          text run at (0,0) width 243: "You should only see this string ONCE"
+        LayoutText {#text} at (0,0) size 242x19
+          text run at (0,0) width 242: "You should only see this string ONCE"
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(250.00,-35.86)}]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-2-expected.png
index afbe04c..1b611f5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-2-expected.txt
index c8e9acf..857e1e8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-2-expected.txt
@@ -6,8 +6,8 @@
       LayoutSVGContainer {g} at (54.37,54.76) size 3066.23x2168.26
         LayoutSVGForeignObject {foreignObject} at (10,10) size 580x380
           LayoutBlockFlow {xhtml:div} at (0,0) size 580x20
-            LayoutText {#text} at (0,0) size 243x19
-              text run at (0,0) width 243: "You should only see this string ONCE"
+            LayoutText {#text} at (0,0) size 242x19
+              text run at (0,0) width 242: "You should only see this string ONCE"
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(250.00,-35.86)}]
       LayoutSVGContainer {g} at (0,0) size 0x0
         LayoutSVGContainer {g} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-3-expected.png
index afbe04c..1b611f5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-3-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-3-expected.txt
index 8beb24d3..ffec4451 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-3-expected.txt
@@ -4,7 +4,7 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGForeignObject {foreignObject} at (10,10) size 580x380
       LayoutBlockFlow {xhtml:div} at (0,0) size 580x20
-        LayoutText {#text} at (0,0) size 243x19
-          text run at (0,0) width 243: "You should only see this string ONCE"
+        LayoutText {#text} at (0,0) size 242x19
+          text run at (0,0) width 242: "You should only see this string ONCE"
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(250.00,-35.86)}]
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(250.00,-35.86)}]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-4-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-4-expected.png
index afbe04c..1b611f5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-4-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-4-expected.txt
index 91087d6..5c90719 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-4-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-4-expected.txt
@@ -6,8 +6,8 @@
       LayoutSVGContainer {g} at (54.37,54.76) size 3066.23x2168.26
         LayoutSVGForeignObject {foreignObject} at (10,10) size 580x380
           LayoutBlockFlow {xhtml:div} at (0,0) size 580x20
-            LayoutText {#text} at (0,0) size 243x19
-              text run at (0,0) width 243: "You should only see this string ONCE"
+            LayoutText {#text} at (0,0) size 242x19
+              text run at (0,0) width 242: "You should only see this string ONCE"
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(250.00,-35.86)}]
       LayoutSVGContainer {g} at (0,0) size 0x0
         LayoutSVGContainer {g} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-5-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-5-expected.png
index afbe04c..1b611f5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-5-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-5-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-5-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-5-expected.txt
index f47af58..f2a7c47 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-5-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-5-expected.txt
@@ -6,8 +6,8 @@
       LayoutSVGHiddenContainer {symbol} at (0,0) size 0x0
     LayoutSVGForeignObject {foreignObject} at (10,10) size 580x380
       LayoutBlockFlow {xhtml:div} at (0,0) size 580x20
-        LayoutText {#text} at (0,0) size 243x19
-          text run at (0,0) width 243: "You should only see this string ONCE"
+        LayoutText {#text} at (0,0) size 242x19
+          text run at (0,0) width 242: "You should only see this string ONCE"
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(25.00,25.00)}]
       LayoutSVGViewportContainer {svg} at (0,0) size 0x0
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,10.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-6-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-6-expected.png
index afbe04c..1b611f5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-6-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-6-expected.txt
index 1917d13..c475ba0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-6-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-disallowed-foreign-object-6-expected.txt
@@ -6,8 +6,8 @@
       LayoutSVGViewportContainer {svg} at (0,0) size 0x0
     LayoutSVGForeignObject {foreignObject} at (10,10) size 580x380
       LayoutBlockFlow {xhtml:div} at (0,0) size 580x20
-        LayoutText {#text} at (0,0) size 243x19
-          text run at (0,0) width 243: "You should only see this string ONCE"
+        LayoutText {#text} at (0,0) size 242x19
+          text run at (0,0) width 242: "You should only see this string ONCE"
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(25.00,25.00)}]
       LayoutSVGViewportContainer {svg} at (0,0) size 0x0
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,10.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-non-svg-namespaced-element-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-non-svg-namespaced-element-expected.png
index afbe04c..1b611f5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-non-svg-namespaced-element-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-non-svg-namespaced-element-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-non-svg-namespaced-element-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-non-svg-namespaced-element-expected.txt
index 8581095..ecb4d4e6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-non-svg-namespaced-element-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-non-svg-namespaced-element-expected.txt
@@ -4,6 +4,6 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGForeignObject {foreignObject} at (10,10) size 480x360
       LayoutBlockFlow {xhtml:div} at (0,0) size 480x20
-        LayoutText {#text} at (0,0) size 243x19
-          text run at (0,0) width 243: "You should only see this string ONCE"
+        LayoutText {#text} at (0,0) size 242x19
+          text run at (0,0) width 242: "You should only see this string ONCE"
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(250.00,-35.86)}]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-text-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-text-expected.txt
index c438d39..5212ca6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-text-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-on-text-expected.txt
@@ -2,18 +2,18 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGHiddenContainer {defs} at (0,-25.50) size 66.70x45
-      LayoutSVGText {text} at (0,-25.50) size 66.70x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,-25.50) size 66.70x45
-          chunk 1 text run 1 at (0.00,10.00) startOffset 0 endOffset 4 width 66.21: "Test"
-    LayoutSVGContainer {g} at (0,-25.50) size 66.70x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(125.00,25.00)}]
-      LayoutSVGText {text} at (0,-25.50) size 66.70x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,-25.50) size 66.70x45
-          chunk 1 text run 1 at (0.00,10.00) startOffset 0 endOffset 4 width 66.21: "Test"
+    LayoutSVGHiddenContainer {defs} at (0,-25.50) size 66.50x45
+      LayoutSVGText {text} at (0,-25.50) size 66.50x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,-25.50) size 66.50x45
+          chunk 1 text run 1 at (0.00,10.00) startOffset 0 endOffset 4 width 66.00: "Test"
+    LayoutSVGContainer {g} at (0,-25.50) size 66.50x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(125.00,25.00)}]
+      LayoutSVGText {text} at (0,-25.50) size 66.50x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,-25.50) size 66.50x45
+          chunk 1 text run 1 at (0.00,10.00) startOffset 0 endOffset 4 width 66.00: "Test"
     LayoutSVGText {text} at (10,46) size 244x18 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,46) size 244x18
         chunk 1 text run 1 at (10.00,60.00) startOffset 0 endOffset 38 width 244.00: "The two objects should look identical."
-    LayoutSVGContainer {use} at (0,-25.50) size 66.70x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(25.00,25.00)}]
-      LayoutSVGText {text} at (0,-25.50) size 66.70x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,-25.50) size 66.70x45
-          chunk 1 text run 1 at (0.00,10.00) startOffset 0 endOffset 4 width 66.21: "Test"
+    LayoutSVGContainer {use} at (0,-25.50) size 66.50x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(25.00,25.00)}]
+      LayoutSVGText {text} at (0,-25.50) size 66.50x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,-25.50) size 66.50x45
+          chunk 1 text run 1 at (0.00,10.00) startOffset 0 endOffset 4 width 66.00: "Test"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-property-changes-through-dom-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-property-changes-through-dom-expected.txt
index fd6a9d1..8a3ca790b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-property-changes-through-dom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-property-changes-through-dom-expected.txt
@@ -11,6 +11,6 @@
     LayoutSVGContainer {g} at (200,-50) size 100x100 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,60.00)}]
       LayoutSVGContainer {use} at (0,0) size 100x100 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,-50.00)}]
         LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
-    LayoutSVGText {text} at (60,125) size 234.39x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (60,125) size 234.39x19
-        chunk 1 text run 1 at (60.00,140.00) startOffset 0 endOffset 36 width 234.40: "You should see two green rectangles."
+    LayoutSVGText {text} at (60,125) size 234x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (60,125) size 234x19
+        chunk 1 text run 1 at (60.00,140.00) startOffset 0 endOffset 36 width 234.00: "You should see two green rectangles."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-property-changes-through-svg-dom-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-property-changes-through-svg-dom-expected.txt
index fd6a9d1..8a3ca790b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-property-changes-through-svg-dom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/use-property-changes-through-svg-dom-expected.txt
@@ -11,6 +11,6 @@
     LayoutSVGContainer {g} at (200,-50) size 100x100 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,60.00)}]
       LayoutSVGContainer {use} at (0,0) size 100x100 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,-50.00)}]
         LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
-    LayoutSVGText {text} at (60,125) size 234.39x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (60,125) size 234.39x19
-        chunk 1 text run 1 at (60.00,140.00) startOffset 0 endOffset 36 width 234.40: "You should see two green rectangles."
+    LayoutSVGText {text} at (60,125) size 234x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (60,125) size 234x19
+        chunk 1 text run 1 at (60.00,140.00) startOffset 0 endOffset 36 width 234.00: "You should see two green rectangles."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/viewport-em-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/viewport-em-expected.png
index 05adf179..7401a05c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/viewport-em-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/viewport-em-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/viewport-em-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/viewport-em-expected.txt
index 515c654..20433c5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/viewport-em-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/viewport-em-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x233
     LayoutBlockFlow {body} at (8,16) size 784x209
       LayoutBlockFlow {p} at (0,0) size 784x20 [color=#000080]
-        LayoutText {#text} at (0,0) size 263x19
-          text run at (0,0) width 263: "There should be two identical bars below."
+        LayoutText {#text} at (0,0) size 262x19
+          text run at (0,0) width 262: "There should be two identical bars below."
       LayoutBlockFlow {p} at (0,36) size 784x20 [color=#000080]
         LayoutText {#text} at (0,0) size 56x19
           text run at (0,0) width 56: "First bar:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dom/SVGLocatable-getCTM-svg-root-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dom/SVGLocatable-getCTM-svg-root-expected.png
index 4f7de02..79589b1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dom/SVGLocatable-getCTM-svg-root-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dom/SVGLocatable-getCTM-svg-root-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dom/SVGStringList-basics-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dom/SVGStringList-basics-expected.png
index 6b7f0ab..01be30c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dom/SVGStringList-basics-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dom/SVGStringList-basics-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dom/css-transforms-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dom/css-transforms-expected.png
index c7ae42a..086e30d2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dom/css-transforms-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dom/css-transforms-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.png
index ef17c96f..f974f71 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr-expected.png
index 1e175d8..d082f77d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr-expected.png
index 1e175d8..d082f77d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.png
index ef17c96f..f974f71 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop-expected.png
index 1e175d8..d082f77d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call-expected.png
index 1e175d8..d082f77d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-height-attr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-height-attr-expected.png
index cc29e12d..12075ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-height-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-height-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-width-attr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-width-attr-expected.png
index cc29e12d..12075ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-width-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-width-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-x-attr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-x-attr-expected.png
index cc29e12d..12075ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-x-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-x-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-y-attr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-y-attr-expected.png
index cc29e12d..12075ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-y-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-dom-y-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-height-prop-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-height-prop-expected.png
index cc29e12d..12075ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-height-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-height-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-width-prop-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-width-prop-expected.png
index cc29e12d..12075ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-width-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-width-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-x-prop-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-x-prop-expected.png
index cc29e12d..12075ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-x-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-x-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-y-prop-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-y-prop-expected.png
index cc29e12d..12075ce 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-y-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGForeignObjectElement-svgdom-y-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-dx-attr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-dx-attr-expected.png
index 14fcf4cf..c3b9261 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-dx-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-dx-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-dy-attr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-dy-attr-expected.png
index 14fcf4cf..c3b9261 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-dy-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-dy-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-rotate-attr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-rotate-attr-expected.png
index 88df7c1fc..6effc0c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-rotate-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-rotate-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-transform-attr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-transform-attr-expected.png
index 00bac36..0ae0031 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-transform-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-transform-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-x-attr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-x-attr-expected.png
index 14fcf4cf..c3b9261 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-x-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-x-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-y-attr-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-y-attr-expected.png
index 14fcf4cf..c3b9261 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-y-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-dom-y-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-dx-prop-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-dx-prop-expected.png
index 14fcf4cf..c3b9261 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-dx-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-dx-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-dy-prop-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-dy-prop-expected.png
index 14fcf4cf..c3b9261 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-dy-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-dy-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-rotate-prop-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-rotate-prop-expected.png
index e3a5ead..75616699 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-rotate-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-rotate-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-transform-prop-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-transform-prop-expected.png
index 256eccc..4a0d64f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-transform-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-transform-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-x-prop-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-x-prop-expected.png
index 14fcf4cf..c3b9261 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-x-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-x-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-y-prop-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-y-prop-expected.png
index 14fcf4cf..c3b9261 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-y-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/dynamic-updates/SVGTextElement-svgdom-y-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/filters/filter-on-tspan-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/filters/filter-on-tspan-expected.png
index 17f91304..9286f68 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/filters/filter-on-tspan-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/filters/filter-on-tspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/filters/filter-on-tspan-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/filters/filter-on-tspan-expected.txt
index f3c6ad5..6d017df 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/filters/filter-on-tspan-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/filters/filter-on-tspan-expected.txt
@@ -5,12 +5,12 @@
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
       LayoutSVGResourceFilter {filter} [id="filter"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
         [feFlood flood-color="#008000" flood-opacity="1.00"]
-    LayoutSVGText {text} at (100,85) size 97.88x19 contains 1 chunk(s)
+    LayoutSVGText {text} at (100,85) size 97x19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (100,85) size 68x19
         chunk 1 text run 1 at (100.00,100.00) startOffset 0 endOffset 12 width 68.00: "Die ist ein "
-      LayoutSVGTSpan {tspan} at (100,85) size 97.88x19
-        [filter="filter"] LayoutSVGResourceFilter {filter} at (90.21,83.10) size 117.45x22.80
-        LayoutSVGInlineText {#text} at (168,85) size 26.88x19
-          chunk 1 text run 1 at (168.00,100.00) startOffset 0 endOffset 4 width 25.88: "Test"
-      LayoutSVGInlineText {#text} at (193.88,85) size 4x19
-        chunk 1 text run 1 at (193.88,100.00) startOffset 0 endOffset 1 width 4.00: "."
+      LayoutSVGTSpan {tspan} at (100,85) size 97x19
+        [filter="filter"] LayoutSVGResourceFilter {filter} at (90.30,83.10) size 116.40x22.80
+        LayoutSVGInlineText {#text} at (168,85) size 26x19
+          chunk 1 text run 1 at (168.00,100.00) startOffset 0 endOffset 4 width 25.00: "Test"
+      LayoutSVGInlineText {#text} at (193,85) size 4x19
+        chunk 1 text run 1 at (193.00,100.00) startOffset 0 endOffset 1 width 4.00: "."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/foreignObject/fO-parent-display-changes-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/foreignObject/fO-parent-display-changes-expected.png
index 7ecfd763..300b4c7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/foreignObject/fO-parent-display-changes-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/foreignObject/fO-parent-display-changes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/foreignObject/fO-parent-display-changes-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/foreignObject/fO-parent-display-changes-expected.txt
deleted file mode 100644
index 44463c1..0000000
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/foreignObject/fO-parent-display-changes-expected.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGRect {rect} at (0,0) size 100x90 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=90.00]
-    LayoutSVGContainer {g} at (0,0) size 100x90
-      LayoutSVGForeignObject {foreignObject} at (0,0) size 100x90
-        LayoutBlockFlow {html} at (0,0) size 100x100
-          LayoutBlockFlow {body} at (0,0) size 100x100 [color=#FFFFFF]
-            LayoutText {#text} at (0,0) size 38x19
-              text run at (0,0) width 38: "PASS"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/foreignObject/svg-document-in-html-document-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/foreignObject/svg-document-in-html-document-expected.png
index 0c16be1..c156654 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/foreignObject/svg-document-in-html-document-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/foreignObject/svg-document-in-html-document-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/foreignObject/svg-document-in-html-document-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/foreignObject/svg-document-in-html-document-expected.txt
index 62d75dc..89e27551 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/foreignObject/svg-document-in-html-document-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/foreignObject/svg-document-in-html-document-expected.txt
@@ -5,12 +5,12 @@
     LayoutSVGForeignObject {foreignObject} at (0,0) size 300x100
       LayoutBlockFlow {html} at (0,0) size 300x191
         LayoutBlockFlow {p} at (0,0) size 300x20
-          LayoutText {#text} at (0,0) size 217x19
-            text run at (0,0) width 217: "Test from HTML in foreignObject"
+          LayoutText {#text} at (0,0) size 216x19
+            text run at (0,0) width 216: "Test from HTML in foreignObject"
         LayoutBlockFlow (anonymous) at (0,36) size 300x155
           LayoutSVGRoot {svg} at (0,0) size 300x150
             LayoutSVGRect {rect} at (0,0) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=20.00] [height=20.00]
-            LayoutSVGText {text} at (0,35) size 270.88x19 contains 1 chunk(s)
-              LayoutSVGInlineText {#text} at (0,35) size 270.88x19
-                chunk 1 text run 1 at (0.00,50.00) startOffset 0 endOffset 38 width 269.88: "Test from SVG in HTML in foreignObject"
+            LayoutSVGText {text} at (0,35) size 270x19 contains 1 chunk(s)
+              LayoutSVGInlineText {#text} at (0,35) size 270x19
+                chunk 1 text run 1 at (0.00,50.00) startOffset 0 endOffset 38 width 269.00: "Test from SVG in HTML in foreignObject"
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/data-types/002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/data-types/002-expected.png
index b521472c..cbee83f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/data-types/002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/data-types/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/data-types/002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/data-types/002-expected.txt
index 515c654..20433c5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/data-types/002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/data-types/002-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x233
     LayoutBlockFlow {body} at (8,16) size 784x209
       LayoutBlockFlow {p} at (0,0) size 784x20 [color=#000080]
-        LayoutText {#text} at (0,0) size 263x19
-          text run at (0,0) width 263: "There should be two identical bars below."
+        LayoutText {#text} at (0,0) size 262x19
+          text run at (0,0) width 262: "There should be two identical bars below."
       LayoutBlockFlow {p} at (0,36) size 784x20 [color=#000080]
         LayoutText {#text} at (0,0) size 56x19
           text run at (0,0) width 56: "First bar:"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/dynamic/002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/dynamic/002-expected.txt
deleted file mode 100644
index e7f0209..0000000
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/dynamic/002-expected.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 400x200
-  LayoutSVGRoot {svg} at (0,0) size 400x200
-    LayoutSVGText {text} at (20,3) size 45.16x22 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (20,3) size 45.16x22
-        chunk 1 text run 1 at (20.00,20.00) startOffset 0 endOffset 4 width 45.16: "PASS"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/012-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/012-expected.png
index aa72df6..bc4ea75 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/013-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/013-expected.png
index e030d9b..c0d825c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/013-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/013-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/013-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/013-expected.txt
index c4e8883..c649313 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/013-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/013-expected.txt
@@ -6,13 +6,13 @@
     LayoutBlockFlow {body} at (8,8) size 784x81
       LayoutBlockFlow (anonymous) at (0,0) size 784x25
         LayoutSVGRoot {svg} at (0,0) size 784x20
-          LayoutSVGText {text} at (10,20) size 123.70x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,20) size 123.70x12
-              chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 30 width 123.71: "FAIL (This should not render.)"
+          LayoutSVGText {text} at (10,20) size 125x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,20) size 125x12
+              chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 30 width 125.00: "FAIL (This should not render.)"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {p} at (0,41) size 784x40 [color=#008000]
-        LayoutText {#text} at (0,0) size 748x39
-          text run at (0,0) width 416: "This line should be green, the word \"FAIL\" should not appear on "
-          text run at (415,0) width 333: "this page, but a highly perceivable indication of error"
+        LayoutText {#text} at (0,0) size 747x39
+          text run at (0,0) width 415: "This line should be green, the word \"FAIL\" should not appear on "
+          text run at (415,0) width 332: "this page, but a highly perceivable indication of error"
           text run at (0,20) width 65: "should be "
           text run at (65,20) width 125: "present somewhere."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/017-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/017-expected.png
index 871b1e1..e9158cb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/017-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/017-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/017-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/017-expected.txt
index ebad82f..0167e9d91 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/017-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/error/017-expected.txt
@@ -11,10 +11,10 @@
         LayoutSVGContainer {use} at (0,0) size 0x0
     LayoutSVGContainer {g} at (0,0) size 0x0
       LayoutSVGContainer {use} at (0,0) size 0x0
-    LayoutSVGText {text} at (20,40) size 429.16x225 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (20,40) size 429.16x225
-        chunk 1 text run 1 at (20.00,220.00) startOffset 0 endOffset 4 width 429.16: "FAIL"
+    LayoutSVGText {text} at (20,40) size 430x225 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (20,40) size 430x225
+        chunk 1 text run 1 at (20.00,220.00) startOffset 0 endOffset 4 width 430.00: "FAIL"
     LayoutSVGEllipse {circle} at (-100,-100) size 400x400 [stroke={[type=SOLID] [color=#000000] [stroke width=5.00]}] [fill={[type=SOLID] [color=#FF0000]}] [cx=100.00] [cy=100.00] [r=200.00]
-    LayoutSVGText {text} at (20,40) size 429.16x225 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (20,40) size 429.16x225
-        chunk 1 text run 1 at (20.00,220.00) startOffset 0 endOffset 4 width 429.16: "FAIL"
+    LayoutSVGText {text} at (20,40) size 430x225 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (20,40) size 430x225
+        chunk 1 text run 1 at (20.00,220.00) startOffset 0 endOffset 4 width 430.00: "FAIL"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/003-expected.png
index 12beebb0..9c9a57e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/003-expected.txt
index 6b08228..222f456 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/003-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {p} at (0,0) size 784x22
         LayoutTextControl {input} at (0,0) size 334x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
       LayoutBlockFlow {p} at (0,38) size 784x20
-        LayoutText {#text} at (0,0) size 461x19
-          text run at (0,0) width 461: "It should say \"PASSED\" above and there should be a green circle below."
+        LayoutText {#text} at (0,0) size 459x19
+          text run at (0,0) width 459: "It should say \"PASSED\" above and there should be a green circle below."
       LayoutBlockFlow (anonymous) at (0,74) size 784x205
         LayoutSVGRoot {svg} at (0,0) size 200x200
           LayoutSVGEllipse {circle} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [cx=50.00] [cy=50.00] [r=50.00]
         LayoutText {#text} at (0,0) size 0x0
 layer at (10,19) size 330x16
   LayoutBlockFlow {div} at (2,3) size 330x16
-    LayoutText {#text} at (0,0) size 137x16
-      text run at (0,0) width 137: "This test has PASSED."
+    LayoutText {#text} at (0,0) size 138x16
+      text run at (0,0) width 138: "This test has PASSED."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/006-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/006-expected.txt
index e5cc188f..ac1626a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/006-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/006-expected.txt
@@ -14,5 +14,5 @@
       text run at (0,20) width 199: "below with no red on this page."
 layer at (8,8) size 200x200 backgroundClip at (8,208) size 200x200 clip at (8,208) size 200x200
   LayoutBlockFlow (positioned) {div} at (0,-200) size 200x200 [color=#FFFF00] [bgcolor=#FF0000]
-    LayoutText {#text} at (0,0) size 35x19
-      text run at (0,0) width 35: "FAIL"
+    LayoutText {#text} at (0,0) size 34x19
+      text run at (0,0) width 34: "FAIL"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/007-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/007-expected.png
index 2c8c894..bc86812 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/007-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/007-expected.txt
deleted file mode 100644
index cca5912..0000000
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/007-expected.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 400x400
-  LayoutSVGRoot {svg} at (0,0) size 400x400
-    LayoutSVGForeignObject {foreignObject} at (0,0) size 400x400
-      LayoutBlockFlow {p} at (0,0) size 400x20
-        LayoutText {#text} at (0,0) size 38x19
-          text run at (0,0) width 38: "PASS"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/008-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/008-expected.png
index f5df6ba..c5c42283 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/008-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/008-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/008-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/008-expected.txt
index 90a8e08..1f09f139 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/008-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/008-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x465
     LayoutBlockFlow {body} at (8,16) size 784x441
       LayoutBlockFlow {p} at (0,0) size 784x20 [color=#000080]
-        LayoutText {#text} at (0,0) size 405x19
-          text run at (0,0) width 405: "There should be a blue circle with the word \"TEST\" in it below."
+        LayoutText {#text} at (0,0) size 404x19
+          text run at (0,0) width 404: "There should be a blue circle with the word \"TEST\" in it below."
       LayoutBlockFlow (anonymous) at (0,36) size 784x405
         LayoutSVGRoot {svg} at (0,0) size 400x400
           LayoutSVGRect {rect} at (0,0) size 400x400 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=400.00] [height=400.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/009-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/009-expected.png
index 8375475..95078d8a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/009-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/009-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/009-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/009-expected.txt
index bb88a9b..2eea96b6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/009-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/009-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x281
     LayoutBlockFlow {body} at (8,8) size 784x265
       LayoutBlockFlow {p} at (0,0) size 784x20 [color=#000080]
-        LayoutText {#text} at (0,0) size 454x19
-          text run at (0,0) width 454: "The word \"TEST \" should appear twice below, the same size each time."
+        LayoutText {#text} at (0,0) size 453x19
+          text run at (0,0) width 453: "The word \"TEST \" should appear twice below, the same size each time."
       LayoutBlockFlow (anonymous) at (0,20) size 784x125
         LayoutSVGRoot {svg} at (0,0) size 400x120
           LayoutSVGRect {rect} at (0,0) size 60x12 [transform={m=((10.00,0.00)(0.00,10.00)) t=(0.00,0.00)}] [fill={[type=SOLID] [color=#EEEEEE]}] [x=0.00] [y=0.00] [width=60.00] [height=12.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/010-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/010-expected.png
index b6af9c72..2c2cc6cd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/010-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/010-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/010-expected.txt
index 7439e32a..432dd3c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/010-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/mixed/010-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x165
     LayoutBlockFlow {body} at (8,16) size 784x141 [color=#008000]
       LayoutBlockFlow {p} at (0,0) size 784x20 [color=#000000]
-        LayoutText {#text} at (0,0) size 237x19
-          text run at (0,0) width 237: "There should be a green block below."
+        LayoutText {#text} at (0,0) size 236x19
+          text run at (0,0) width 236: "There should be a green block below."
       LayoutBlockFlow (anonymous) at (0,36) size 784x105
         LayoutSVGRoot {svg} at (0,0) size 300x100
           LayoutSVGRect {rect} at (0,0) size 300x100 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=300.00] [height=100.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/perf/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/perf/001-expected.png
index c8194148..2aa98830 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/perf/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/perf/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/perf/002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/perf/002-expected.png
index 2b77e43..a3187015 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/perf/002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/perf/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/perf/007-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/perf/007-expected.png
index c5db127c..42a5e1c7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/perf/007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/perf/007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/rendering-model/003-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/rendering-model/003-expected.png
index eae3bbf..351e323 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/rendering-model/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/rendering-model/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/rendering-model/003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/rendering-model/003-expected.txt
index d1f0a0f..d3027cb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/rendering-model/003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/rendering-model/003-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x409
     LayoutBlockFlow {body} at (8,16) size 784x377
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 430x19
-          text run at (0,0) width 430: "There should be two identical blue squares below, and no scrollbars."
+        LayoutText {#text} at (0,0) size 429x19
+          text run at (0,0) width 429: "There should be two identical blue squares below, and no scrollbars."
       LayoutBlockFlow {div} at (0,36) size 160x160 [bgcolor=#000080]
       LayoutBlockFlow {p} at (0,212) size 784x165
 layer at (8,228) size 160x160
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/text/002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/text/002-expected.txt
deleted file mode 100644
index a877e1e..0000000
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/text/002-expected.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x400
-  LayoutSVGRoot {svg} at (0,0) size 800x400
-    LayoutSVGText {text} at (10,120) size 458.64x225 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,120) size 458.64x225
-        chunk 1 text run 1 at (10.00,300.00) startOffset 0 endOffset 4 width 458.64: "PASS"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/viewbox/002-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/viewbox/002-expected.txt
new file mode 100644
index 0000000..ee82fb0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/viewbox/002-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 300x200
+  LayoutSVGRoot {svg} at (0,0) size 300x200
+    LayoutSVGRect {rect} at (0,0) size 1x1 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=1.00] [height=1.00]
+    LayoutSVGText {text} at (10,12.17) size 42.95x22.14 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,12.17) size 42.95x22.14
+        chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 4 width 42.97: "FAIL"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/viewbox/003-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/viewbox/003-expected.txt
new file mode 100644
index 0000000..ee82fb0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/viewbox/003-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 300x200
+  LayoutSVGRoot {svg} at (0,0) size 300x200
+    LayoutSVGRect {rect} at (0,0) size 1x1 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=1.00] [height=1.00]
+    LayoutSVGText {text} at (10,12.17) size 42.95x22.14 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,12.17) size 42.95x22.14
+        chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 4 width 42.97: "FAIL"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/viewbox/preserveAspectRatio/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/viewbox/preserveAspectRatio/001-expected.png
index b258dd7..18edb4e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/viewbox/preserveAspectRatio/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/viewbox/preserveAspectRatio/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt
index 19b1aa5..5f4d556 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt
@@ -10,7 +10,7 @@
         chunk 1 (middle anchor) text run 1 at (11.00,30.00) startOffset 0 endOffset 24 width 78.00: "This should be a SQUARE."
     LayoutSVGText {text} at (15.58,35.50) size 68.83x5.66 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (15.58,35.50) size 68.83x5.66
-        chunk 1 (middle anchor) text run 1 at (15.58,40.00) startOffset 0 endOffset 36 width 68.84: "It should stretch to fit the window."
+        chunk 1 (middle anchor) text run 1 at (15.58,40.00) startOffset 0 endOffset 36 width 68.83: "It should stretch to fit the window."
     LayoutSVGText {text} at (32.50,45.33) size 35x3.33 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (32.50,45.33) size 35x3.33
         chunk 1 (middle anchor) text run 1 at (32.50,48.00) startOffset 0 endOffset 27 width 35.00: "(Whatever the window size.)"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-anchor-direction-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-anchor-direction-expected.png
index 612448a..277a6507 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-anchor-direction-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-anchor-direction-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-anchor-direction-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-anchor-direction-expected.txt
index f7cbb0a..6af6aae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-anchor-direction-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-anchor-direction-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (26.39,41) size 427.20x181.39
-      LayoutSVGText {text} at (240,41) size 213.50x11.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (240,41) size 213.50x11.39
-          chunk 1 text run 1 at (240.00,50.00) startOffset 0 endOffset 56 width 212.90 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
-      LayoutSVGText {text} at (133.55,71) size 213.50x11.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (133.55,71) size 213.50x11.39
-          chunk 1 (middle anchor) text run 1 at (133.55,80.00) startOffset 0 endOffset 56 width 212.90 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
-      LayoutSVGText {text} at (27.09,101) size 213.50x11.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (27.09,101) size 213.50x11.39
-          chunk 1 (end anchor) text run 1 at (27.10,110.00) startOffset 0 endOffset 56 width 212.90 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
+      LayoutSVGText {text} at (240,41) size 213x11.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (240,41) size 213x11.39
+          chunk 1 text run 1 at (240.00,50.00) startOffset 0 endOffset 56 width 212.40 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
+      LayoutSVGText {text} at (133.80,71) size 213x11.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (133.80,71) size 213x11.39
+          chunk 1 (middle anchor) text run 1 at (133.80,80.00) startOffset 0 endOffset 56 width 212.40 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
+      LayoutSVGText {text} at (27.59,101) size 213x11.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (27.59,101) size 213x11.39
+          chunk 1 (end anchor) text run 1 at (27.60,110.00) startOffset 0 endOffset 56 width 212.40 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
       LayoutSVGText {text} at (26.39,141) size 213.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (26.39,141) size 213.59x11.39
           chunk 1 text run 1 at (26.40,150.00) startOffset 0 endOffset 56 width 213.60 RTL override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-query-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-query-expected.png
index b2e59d3..bc1b99b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-query-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-query-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-query-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-query-expected.txt
index 796cd45..2e83ef7e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-query-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-text-query-expected.txt
@@ -64,9 +64,9 @@
         LayoutSVGInlineText {#text} at (76.89,55.59) size 4.80x4.19
           chunk 1 (middle anchor) text run 1 at (76.90,59.20) startOffset 0 endOffset 2 width 4.80: "10"
       LayoutSVGRect {rect} at (81.40,33.20) size 3.60x21 [fill={[type=SOLID] [color=#0000FF] [opacity=0.40]}] [x=81.40] [y=33.20] [width=3.60] [height=21.00]
-      LayoutSVGText {text} at (80.94,55.59) size 4.50x4.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (80.94,55.59) size 4.50x4.19
-          chunk 1 (middle anchor) text run 1 at (80.95,59.20) startOffset 0 endOffset 2 width 4.50: "11"
+      LayoutSVGText {text} at (80.80,55.59) size 4.80x4.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (80.80,55.59) size 4.80x4.19
+          chunk 1 (middle anchor) text run 1 at (80.80,59.20) startOffset 0 endOffset 2 width 4.80: "11"
       LayoutSVGRect {rect} at (85,33.20) size 6x21 [fill={[type=SOLID] [color=#4B0082] [opacity=0.40]}] [x=85.00] [y=33.20] [width=6.00] [height=21.00]
       LayoutSVGText {text} at (85.59,55.59) size 4.80x4.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (85.59,55.59) size 4.80x4.19
@@ -132,9 +132,9 @@
         LayoutSVGInlineText {#text} at (18.69,85.59) size 4.80x4.19
           chunk 1 (middle anchor) text run 1 at (18.70,89.20) startOffset 0 endOffset 2 width 4.80: "10"
       LayoutSVGRect {rect} at (10,63.20) size 9x21 [fill={[type=SOLID] [color=#0000FF] [opacity=0.40]}] [x=10.00] [y=63.20] [width=9.00] [height=21.00]
-      LayoutSVGText {text} at (12.23,85.59) size 4.50x4.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (12.23,85.59) size 4.50x4.19
-          chunk 1 (middle anchor) text run 1 at (12.25,89.20) startOffset 0 endOffset 2 width 4.50: "11"
+      LayoutSVGText {text} at (12.09,85.59) size 4.80x4.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (12.09,85.59) size 4.80x4.19
+          chunk 1 (middle anchor) text run 1 at (12.10,89.20) startOffset 0 endOffset 2 width 4.80: "11"
       LayoutSVGRect {rect} at (81.40,63.20) size 6x21 [fill={[type=SOLID] [color=#4B0082] [opacity=0.40]}] [x=81.40] [y=63.20] [width=6.00] [height=21.00]
       LayoutSVGText {text} at (81.98,85.59) size 4.80x4.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (81.98,85.59) size 4.80x4.19
@@ -200,9 +200,9 @@
         LayoutSVGInlineText {#text} at (46.59,115.59) size 4.80x4.19
           chunk 1 (middle anchor) text run 1 at (46.60,119.20) startOffset 0 endOffset 2 width 4.80: "10"
       LayoutSVGRect {rect} at (43,93.20) size 4.20x21 [fill={[type=SOLID] [color=#0000FF] [opacity=0.40]}] [x=43.00] [y=93.20] [width=4.20] [height=21.00]
-      LayoutSVGText {text} at (42.84,115.59) size 4.50x4.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (42.84,115.59) size 4.50x4.19
-          chunk 1 (middle anchor) text run 1 at (42.85,119.20) startOffset 0 endOffset 2 width 4.50: "11"
+      LayoutSVGText {text} at (42.69,115.59) size 4.80x4.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (42.69,115.59) size 4.80x4.19
+          chunk 1 (middle anchor) text run 1 at (42.70,119.20) startOffset 0 endOffset 2 width 4.80: "11"
       LayoutSVGRect {rect} at (37,93.20) size 6x21 [fill={[type=SOLID] [color=#4B0082] [opacity=0.40]}] [x=37.00] [y=93.20] [width=6.00] [height=21.00]
       LayoutSVGText {text} at (37.59,115.59) size 4.80x4.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (37.59,115.59) size 4.80x4.19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-tspans-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-tspans-expected.png
index abaa916..97e2a2e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-tspans-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-tspans-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-tspans-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-tspans-expected.txt
index 35b3aaf..4c1d423e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-tspans-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/bidi-tspans-expected.txt
@@ -2,18 +2,18 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (92.16,133.19) size 275.67x51
-      LayoutSVGText {text} at (92.16,133.19) size 275.67x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (92.16,133.19) size 275.67x21
-          chunk 1 (middle anchor) text run 1 at (92.16,150.00) startOffset 0 endOffset 10 width 55.80 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}\"!"
-          chunk 1 (middle anchor) text run 1 at (147.96,150.00) startOffset 0 endOffset 14 width 137.07: "dirRTL ubEmbed"
-          chunk 1 (middle anchor) text run 1 at (285.04,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
-      LayoutSVGText {text} at (92.16,163.19) size 275.67x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (285.03,163.19) size 82.80x21
-          chunk 1 (middle anchor) text run 1 at (285.04,180.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
-        LayoutSVGTSpan {tspan} at (92.16,163.19) size 275.67x21
-          LayoutSVGInlineText {#text} at (103.56,163.19) size 181.45x21
-            chunk 1 (middle anchor) text run 1 at (103.56,180.00) startOffset 0 endOffset 8 width 44.40 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
-            chunk 1 (middle anchor) text run 1 at (147.96,180.00) startOffset 0 endOffset 14 width 137.07: "dirRTL ubEmbed"
-        LayoutSVGInlineText {#text} at (92.16,163.19) size 11.39x21
-          chunk 1 (middle anchor) text run 1 at (92.16,180.00) startOffset 0 endOffset 2 width 11.40 RTL: "\"!"
+    LayoutSVGContainer {g} at (91.98,133.19) size 276x51
+      LayoutSVGText {text} at (91.98,133.19) size 276x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (91.98,133.19) size 276x21
+          chunk 1 (middle anchor) text run 1 at (92.00,150.00) startOffset 0 endOffset 10 width 55.80 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}\"!"
+          chunk 1 (middle anchor) text run 1 at (147.80,150.00) startOffset 0 endOffset 14 width 137.40: "dirRTL ubEmbed"
+          chunk 1 (middle anchor) text run 1 at (285.20,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
+      LayoutSVGText {text} at (91.98,163.19) size 276x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (285.19,163.19) size 82.80x21
+          chunk 1 (middle anchor) text run 1 at (285.20,180.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
+        LayoutSVGTSpan {tspan} at (91.98,163.19) size 276x21
+          LayoutSVGInlineText {#text} at (103.39,163.19) size 181.80x21
+            chunk 1 (middle anchor) text run 1 at (103.40,180.00) startOffset 0 endOffset 8 width 44.40 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
+            chunk 1 (middle anchor) text run 1 at (147.80,180.00) startOffset 0 endOffset 14 width 137.40: "dirRTL ubEmbed"
+        LayoutSVGInlineText {#text} at (91.98,163.19) size 11.39x21
+          chunk 1 (middle anchor) text run 1 at (92.00,180.00) startOffset 0 endOffset 2 width 11.40 RTL: "\"!"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/combining-character-queries-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/combining-character-queries-expected.png
index e53596e..bf5ec82 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/combining-character-queries-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/combining-character-queries-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/combining-character-queries-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/combining-character-queries-expected.txt
index 802f467..373be5d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/combining-character-queries-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/combining-character-queries-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x521
     LayoutBlockFlow {BODY} at (8,8) size 784x505
       LayoutSVGRoot {svg} at (0,0) size 600x500
-        LayoutSVGContainer {g} at (41,11) size 387.37x356
+        LayoutSVGContainer {g} at (41,11) size 388x356
           LayoutSVGRect {rect} at (50,11) size 18x49 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=50.00] [y=11.00] [width=18.00] [height=49.00]
           LayoutSVGText {text} at (57,57) size 4x10 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (57,57) size 4x10
@@ -201,26 +201,26 @@
           LayoutSVGText {text} at (224.50,205) size 4x10 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (224.50,205) size 4x10
               chunk 1 (middle anchor) text run 1 at (224.50,213.00) startOffset 0 endOffset 1 width 4.00: "3"
-          LayoutSVGRect {rect} at (231,168) size 11.68x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=231.00] [y=168.00] [width=11.68] [height=40.00]
-          LayoutSVGText {text} at (234.83,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (234.83,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (234.84,213.00) startOffset 0 endOffset 1 width 4.00: "4"
-          LayoutSVGRect {rect} at (242.68,168) size 11.68x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=242.68] [y=168.00] [width=11.68] [height=40.00]
-          LayoutSVGText {text} at (246.52,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (246.52,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (246.53,213.00) startOffset 0 endOffset 1 width 4.00: "5"
-          LayoutSVGRect {rect} at (254.37,168) size 3.33x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=254.37] [y=168.00] [width=3.33] [height=40.00]
-          LayoutSVGText {text} at (254.03,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (254.03,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (254.03,213.00) startOffset 0 endOffset 1 width 4.00: "6"
-          LayoutSVGRect {rect} at (257.70,168) size 3.33x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=257.70] [y=168.00] [width=3.33] [height=40.00]
-          LayoutSVGText {text} at (257.36,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (257.36,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (257.37,213.00) startOffset 0 endOffset 1 width 4.00: "7"
-          LayoutSVGRect {rect} at (261.03,168) size 3.33x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=261.03] [y=168.00] [width=3.33] [height=40.00]
-          LayoutSVGText {text} at (260.69,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (260.69,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (260.70,213.00) startOffset 0 endOffset 1 width 4.00: "8"
+          LayoutSVGRect {rect} at (231,168) size 12x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=231.00] [y=168.00] [width=12.00] [height=40.00]
+          LayoutSVGText {text} at (235,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (235,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (235.00,213.00) startOffset 0 endOffset 1 width 4.00: "4"
+          LayoutSVGRect {rect} at (243,168) size 12x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=243.00] [y=168.00] [width=12.00] [height=40.00]
+          LayoutSVGText {text} at (247,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (247,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (247.00,213.00) startOffset 0 endOffset 1 width 4.00: "5"
+          LayoutSVGRect {rect} at (255,168) size 3.33x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=255.00] [y=168.00] [width=3.33] [height=40.00]
+          LayoutSVGText {text} at (254.66,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (254.66,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (254.67,213.00) startOffset 0 endOffset 1 width 4.00: "6"
+          LayoutSVGRect {rect} at (258.33,168) size 3.33x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=258.33] [y=168.00] [width=3.33] [height=40.00]
+          LayoutSVGText {text} at (258,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (258,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (258.00,213.00) startOffset 0 endOffset 1 width 4.00: "7"
+          LayoutSVGRect {rect} at (261.67,168) size 3.33x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=261.67] [y=168.00] [width=3.33] [height=40.00]
+          LayoutSVGText {text} at (261.33,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (261.33,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (261.33,213.00) startOffset 0 endOffset 1 width 4.00: "8"
           LayoutSVGRect {rect} at (350,168) size 10x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=350.00] [y=168.00] [width=10.00] [height=40.00]
           LayoutSVGText {text} at (353,205) size 4x10 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (353,205) size 4x10
@@ -237,26 +237,26 @@
           LayoutSVGText {text} at (371,205) size 4x10 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (371,205) size 4x10
               chunk 1 (middle anchor) text run 1 at (371.00,213.00) startOffset 0 endOffset 1 width 4.00: "3"
-          LayoutSVGRect {rect} at (378,168) size 9.68x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=378.00] [y=168.00] [width=9.68] [height=40.00]
-          LayoutSVGText {text} at (380.83,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (380.83,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (380.84,213.00) startOffset 0 endOffset 1 width 4.00: "4"
-          LayoutSVGRect {rect} at (387.68,168) size 9.68x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=387.68] [y=168.00] [width=9.68] [height=40.00]
-          LayoutSVGText {text} at (390.52,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (390.52,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (390.53,213.00) startOffset 0 endOffset 1 width 4.00: "5"
-          LayoutSVGRect {rect} at (397.37,168) size 3.33x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=397.37] [y=168.00] [width=3.33] [height=40.00]
-          LayoutSVGText {text} at (397.03,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (397.03,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (397.03,213.00) startOffset 0 endOffset 1 width 4.00: "6"
-          LayoutSVGRect {rect} at (400.70,168) size 3.33x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=400.70] [y=168.00] [width=3.33] [height=40.00]
-          LayoutSVGText {text} at (400.36,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (400.36,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (400.37,213.00) startOffset 0 endOffset 1 width 4.00: "7"
-          LayoutSVGRect {rect} at (404.03,168) size 3.33x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=404.03] [y=168.00] [width=3.33] [height=40.00]
-          LayoutSVGText {text} at (403.69,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (403.69,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (403.70,213.00) startOffset 0 endOffset 1 width 4.00: "8"
+          LayoutSVGRect {rect} at (378,168) size 10x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=378.00] [y=168.00] [width=10.00] [height=40.00]
+          LayoutSVGText {text} at (381,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (381,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (381.00,213.00) startOffset 0 endOffset 1 width 4.00: "4"
+          LayoutSVGRect {rect} at (388,168) size 10x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=388.00] [y=168.00] [width=10.00] [height=40.00]
+          LayoutSVGText {text} at (391,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (391,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (391.00,213.00) startOffset 0 endOffset 1 width 4.00: "5"
+          LayoutSVGRect {rect} at (398,168) size 3.33x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=398.00] [y=168.00] [width=3.33] [height=40.00]
+          LayoutSVGText {text} at (397.66,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (397.66,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (397.67,213.00) startOffset 0 endOffset 1 width 4.00: "6"
+          LayoutSVGRect {rect} at (401.33,168) size 3.33x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=401.33] [y=168.00] [width=3.33] [height=40.00]
+          LayoutSVGText {text} at (401,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (401,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (401.00,213.00) startOffset 0 endOffset 1 width 4.00: "7"
+          LayoutSVGRect {rect} at (404.67,168) size 3.33x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=404.67] [y=168.00] [width=3.33] [height=40.00]
+          LayoutSVGText {text} at (404.33,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (404.33,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (404.33,213.00) startOffset 0 endOffset 1 width 4.00: "8"
           LayoutSVGRect {rect} at (50,236) size 18x49 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=50.00] [y=236.00] [width=18.00] [height=49.00]
           LayoutSVGText {text} at (57,282) size 4x10 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (57,282) size 4x10
@@ -297,86 +297,86 @@
           LayoutSVGText {text} at (140,282) size 4x10 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (140,282) size 4x10
               chunk 1 (middle anchor) text run 1 at (140.00,290.00) startOffset 0 endOffset 1 width 4.00: "9"
-          LayoutSVGRect {rect} at (200,243) size 11.68x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=200.00] [y=243.00] [width=11.68] [height=40.00]
-          LayoutSVGText {text} at (203.83,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (203.83,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (203.84,288.00) startOffset 0 endOffset 1 width 4.00: "0"
-          LayoutSVGRect {rect} at (211.68,243) size 6x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=211.68] [y=243.00] [width=6.00] [height=40.00]
-          LayoutSVGText {text} at (212.67,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (212.67,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (212.68,288.00) startOffset 0 endOffset 1 width 4.00: "1"
-          LayoutSVGRect {rect} at (217.68,243) size 6x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=217.68] [y=243.00] [width=6.00] [height=40.00]
-          LayoutSVGText {text} at (218.67,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (218.67,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (218.68,288.00) startOffset 0 endOffset 1 width 4.00: "2"
-          LayoutSVGRect {rect} at (251.68,243) size 7x40 [fill={[type=SOLID] [color=#008000] [opacity=0.30]}] [x=251.68] [y=243.00] [width=7.00] [height=40.00]
-          LayoutSVGText {text} at (253.17,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (253.17,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (253.18,288.00) startOffset 0 endOffset 1 width 4.00: "3"
-          LayoutSVGRect {rect} at (244.68,243) size 7x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=244.68] [y=243.00] [width=7.00] [height=40.00]
-          LayoutSVGText {text} at (246.17,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (246.17,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (246.18,288.00) startOffset 0 endOffset 1 width 4.00: "4"
-          LayoutSVGRect {rect} at (234.18,243) size 10.50x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=234.18] [y=243.00] [width=10.50] [height=40.00]
-          LayoutSVGText {text} at (237.42,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (237.42,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (237.43,288.00) startOffset 0 endOffset 1 width 4.00: "5"
-          LayoutSVGRect {rect} at (223.68,243) size 10.50x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=223.68] [y=243.00] [width=10.50] [height=40.00]
-          LayoutSVGText {text} at (226.92,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (226.92,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (226.93,288.00) startOffset 0 endOffset 1 width 4.00: "6"
-          LayoutSVGRect {rect} at (258.68,243) size 11.68x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=258.68] [y=243.00] [width=11.68] [height=40.00]
-          LayoutSVGText {text} at (262.52,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (262.52,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (262.53,288.00) startOffset 0 endOffset 1 width 4.00: "7"
-          LayoutSVGRect {rect} at (270.37,243) size 6x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=270.37] [y=243.00] [width=6.00] [height=40.00]
-          LayoutSVGText {text} at (271.36,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (271.36,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (271.37,288.00) startOffset 0 endOffset 1 width 4.00: "8"
-          LayoutSVGRect {rect} at (276.37,243) size 6x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=276.37] [y=243.00] [width=6.00] [height=40.00]
-          LayoutSVGText {text} at (277.36,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (277.36,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (277.37,288.00) startOffset 0 endOffset 1 width 4.00: "9"
-          LayoutSVGRect {rect} at (350,243) size 9.68x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=350.00] [y=243.00] [width=9.68] [height=40.00]
-          LayoutSVGText {text} at (352.83,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (352.83,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (352.84,288.00) startOffset 0 endOffset 1 width 4.00: "0"
-          LayoutSVGRect {rect} at (359.68,243) size 6x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=359.68] [y=243.00] [width=6.00] [height=40.00]
-          LayoutSVGText {text} at (360.67,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (360.67,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (360.68,288.00) startOffset 0 endOffset 1 width 4.00: "1"
-          LayoutSVGRect {rect} at (365.68,243) size 6x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=365.68] [y=243.00] [width=6.00] [height=40.00]
-          LayoutSVGText {text} at (366.67,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (366.67,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (366.68,288.00) startOffset 0 endOffset 1 width 4.00: "2"
-          LayoutSVGRect {rect} at (399.68,243) size 7x40 [fill={[type=SOLID] [color=#008000] [opacity=0.30]}] [x=399.68] [y=243.00] [width=7.00] [height=40.00]
-          LayoutSVGText {text} at (401.17,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (401.17,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (401.18,288.00) startOffset 0 endOffset 1 width 4.00: "3"
-          LayoutSVGRect {rect} at (392.68,243) size 7x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=392.68] [y=243.00] [width=7.00] [height=40.00]
-          LayoutSVGText {text} at (394.17,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (394.17,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (394.18,288.00) startOffset 0 endOffset 1 width 4.00: "4"
-          LayoutSVGRect {rect} at (382.18,243) size 10.50x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=382.18] [y=243.00] [width=10.50] [height=40.00]
-          LayoutSVGText {text} at (385.42,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (385.42,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (385.43,288.00) startOffset 0 endOffset 1 width 4.00: "5"
-          LayoutSVGRect {rect} at (371.68,243) size 10.50x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=371.68] [y=243.00] [width=10.50] [height=40.00]
-          LayoutSVGText {text} at (374.92,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (374.92,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (374.93,288.00) startOffset 0 endOffset 1 width 4.00: "6"
-          LayoutSVGRect {rect} at (406.68,243) size 9.68x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=406.68] [y=243.00] [width=9.68] [height=40.00]
-          LayoutSVGText {text} at (409.52,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (409.52,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (409.53,288.00) startOffset 0 endOffset 1 width 4.00: "7"
-          LayoutSVGRect {rect} at (416.37,243) size 6x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=416.37] [y=243.00] [width=6.00] [height=40.00]
-          LayoutSVGText {text} at (417.36,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (417.36,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (417.37,288.00) startOffset 0 endOffset 1 width 4.00: "8"
-          LayoutSVGRect {rect} at (422.37,243) size 6x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=422.37] [y=243.00] [width=6.00] [height=40.00]
-          LayoutSVGText {text} at (423.36,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (423.36,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (423.37,288.00) startOffset 0 endOffset 1 width 4.00: "9"
+          LayoutSVGRect {rect} at (200,243) size 12x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=200.00] [y=243.00] [width=12.00] [height=40.00]
+          LayoutSVGText {text} at (204,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (204,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (204.00,288.00) startOffset 0 endOffset 1 width 4.00: "0"
+          LayoutSVGRect {rect} at (212,243) size 6x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=212.00] [y=243.00] [width=6.00] [height=40.00]
+          LayoutSVGText {text} at (213,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (213,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (213.00,288.00) startOffset 0 endOffset 1 width 4.00: "1"
+          LayoutSVGRect {rect} at (218,243) size 6x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=218.00] [y=243.00] [width=6.00] [height=40.00]
+          LayoutSVGText {text} at (219,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (219,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (219.00,288.00) startOffset 0 endOffset 1 width 4.00: "2"
+          LayoutSVGRect {rect} at (252,243) size 7x40 [fill={[type=SOLID] [color=#008000] [opacity=0.30]}] [x=252.00] [y=243.00] [width=7.00] [height=40.00]
+          LayoutSVGText {text} at (253.50,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (253.50,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (253.50,288.00) startOffset 0 endOffset 1 width 4.00: "3"
+          LayoutSVGRect {rect} at (245,243) size 7x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=245.00] [y=243.00] [width=7.00] [height=40.00]
+          LayoutSVGText {text} at (246.50,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (246.50,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (246.50,288.00) startOffset 0 endOffset 1 width 4.00: "4"
+          LayoutSVGRect {rect} at (234.50,243) size 10.50x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=234.50] [y=243.00] [width=10.50] [height=40.00]
+          LayoutSVGText {text} at (237.75,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (237.75,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (237.75,288.00) startOffset 0 endOffset 1 width 4.00: "5"
+          LayoutSVGRect {rect} at (224,243) size 10.50x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=224.00] [y=243.00] [width=10.50] [height=40.00]
+          LayoutSVGText {text} at (227.25,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (227.25,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (227.25,288.00) startOffset 0 endOffset 1 width 4.00: "6"
+          LayoutSVGRect {rect} at (259,243) size 12x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=259.00] [y=243.00] [width=12.00] [height=40.00]
+          LayoutSVGText {text} at (263,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (263,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (263.00,288.00) startOffset 0 endOffset 1 width 4.00: "7"
+          LayoutSVGRect {rect} at (271,243) size 6x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=271.00] [y=243.00] [width=6.00] [height=40.00]
+          LayoutSVGText {text} at (272,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (272,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (272.00,288.00) startOffset 0 endOffset 1 width 4.00: "8"
+          LayoutSVGRect {rect} at (277,243) size 6x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=277.00] [y=243.00] [width=6.00] [height=40.00]
+          LayoutSVGText {text} at (278,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (278,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (278.00,288.00) startOffset 0 endOffset 1 width 4.00: "9"
+          LayoutSVGRect {rect} at (350,243) size 10x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=350.00] [y=243.00] [width=10.00] [height=40.00]
+          LayoutSVGText {text} at (353,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (353,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (353.00,288.00) startOffset 0 endOffset 1 width 4.00: "0"
+          LayoutSVGRect {rect} at (360,243) size 6x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=360.00] [y=243.00] [width=6.00] [height=40.00]
+          LayoutSVGText {text} at (361,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (361,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (361.00,288.00) startOffset 0 endOffset 1 width 4.00: "1"
+          LayoutSVGRect {rect} at (366,243) size 6x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=366.00] [y=243.00] [width=6.00] [height=40.00]
+          LayoutSVGText {text} at (367,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (367,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (367.00,288.00) startOffset 0 endOffset 1 width 4.00: "2"
+          LayoutSVGRect {rect} at (400,243) size 7x40 [fill={[type=SOLID] [color=#008000] [opacity=0.30]}] [x=400.00] [y=243.00] [width=7.00] [height=40.00]
+          LayoutSVGText {text} at (401.50,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (401.50,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (401.50,288.00) startOffset 0 endOffset 1 width 4.00: "3"
+          LayoutSVGRect {rect} at (393,243) size 7x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=393.00] [y=243.00] [width=7.00] [height=40.00]
+          LayoutSVGText {text} at (394.50,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (394.50,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (394.50,288.00) startOffset 0 endOffset 1 width 4.00: "4"
+          LayoutSVGRect {rect} at (382.50,243) size 10.50x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=382.50] [y=243.00] [width=10.50] [height=40.00]
+          LayoutSVGText {text} at (385.75,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (385.75,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (385.75,288.00) startOffset 0 endOffset 1 width 4.00: "5"
+          LayoutSVGRect {rect} at (372,243) size 10.50x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=372.00] [y=243.00] [width=10.50] [height=40.00]
+          LayoutSVGText {text} at (375.25,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (375.25,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (375.25,288.00) startOffset 0 endOffset 1 width 4.00: "6"
+          LayoutSVGRect {rect} at (407,243) size 10x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=407.00] [y=243.00] [width=10.00] [height=40.00]
+          LayoutSVGText {text} at (410,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (410,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (410.00,288.00) startOffset 0 endOffset 1 width 4.00: "7"
+          LayoutSVGRect {rect} at (417,243) size 6x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=417.00] [y=243.00] [width=6.00] [height=40.00]
+          LayoutSVGText {text} at (418,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (418,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (418.00,288.00) startOffset 0 endOffset 1 width 4.00: "8"
+          LayoutSVGRect {rect} at (423,243) size 6x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=423.00] [y=243.00] [width=6.00] [height=40.00]
+          LayoutSVGText {text} at (424,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (424,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (424.00,288.00) startOffset 0 endOffset 1 width 4.00: "9"
           LayoutSVGRect {rect} at (50,311) size 5x49 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=50.00] [y=311.00] [width=5.00] [height=49.00]
           LayoutSVGText {text} at (50.50,357) size 4x10 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (50.50,357) size 4x10
@@ -436,11 +436,11 @@
         LayoutSVGText {text} at (50,11) size 59x49 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (50,11) size 59x49
             chunk 1 text run 1 at (50.00,50.00) startOffset 0 endOffset 6 width 59.00: "ab\x{30C}c\x{30C}\x{30C}"
-        LayoutSVGText {text} at (200,16.63) size 57x41.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (200,16.63) size 57x41.36
+        LayoutSVGText {text} at (200,17) size 57x41 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (200,17) size 57x41
             chunk 1 text run 1 at (200.00,50.00) startOffset 0 endOffset 6 width 57.00: "ab\x{30C}c\x{30C}\x{30C}"
-        LayoutSVGText {text} at (350,16.63) size 60x41.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (350,16.63) size 60x41.36
+        LayoutSVGText {text} at (350,17) size 60x41 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (350,17) size 60x41
             chunk 1 text run 1 at (350.00,50.00) startOffset 0 endOffset 6 width 60.00: "ab\x{30C}c\x{30C}\x{30C}"
         LayoutSVGText {text} at (40.98,86) size 59x49 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (40.98,86) size 59x49
@@ -450,55 +450,55 @@
             chunk 1 text run 1 at (82.00,125.00) startOffset 0 endOffset 1 width 0.00 RTL: "\x{200F}"
             chunk 1 text run 1 at (82.00,125.00) startOffset 0 endOffset 1 width 18.00: "a"
             chunk 1 text run 1 at (100.00,125.00) startOffset 0 endOffset 1 width 0.00 RTL: "\x{200F}"
-        LayoutSVGText {text} at (192.98,91.63) size 57x41.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (192.98,91.63) size 57.02x41.38
+        LayoutSVGText {text} at (192.98,92) size 57x41 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (192.98,92) size 57.02x41
             chunk 1 text run 1 at (193.00,125.00) startOffset 0 endOffset 3 width 19.00: "c\x{30C}\x{30C}"
             chunk 1 text run 1 at (212.00,125.00) startOffset 0 endOffset 1 width 0.00 RTL: "\x{200F}"
             chunk 1 text run 1 at (212.00,125.00) startOffset 0 endOffset 2 width 22.00: "b\x{30C}"
             chunk 1 text run 1 at (234.00,125.00) startOffset 0 endOffset 1 width 0.00 RTL: "\x{200F}"
             chunk 1 text run 1 at (234.00,125.00) startOffset 0 endOffset 1 width 16.00: "a"
             chunk 1 text run 1 at (250.00,125.00) startOffset 0 endOffset 1 width 0.00 RTL: "\x{200F}"
-        LayoutSVGText {text} at (339.98,91.63) size 60x41.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (339.98,91.63) size 60.02x41.38
+        LayoutSVGText {text} at (339.98,92) size 60x41 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (339.98,92) size 60.02x41
             chunk 1 text run 1 at (340.00,125.00) startOffset 0 endOffset 3 width 19.00: "c\x{30C}\x{30C}"
             chunk 1 text run 1 at (359.00,125.00) startOffset 0 endOffset 1 width 0.00 RTL: "\x{200F}"
             chunk 1 text run 1 at (359.00,125.00) startOffset 0 endOffset 2 width 22.00: "b\x{30C}"
             chunk 1 text run 1 at (381.00,125.00) startOffset 0 endOffset 1 width 0.00 RTL: "\x{200F}"
             chunk 1 text run 1 at (381.00,125.00) startOffset 0 endOffset 1 width 19.00: "a"
             chunk 1 text run 1 at (400.00,125.00) startOffset 0 endOffset 1 width 0.00 RTL: "\x{200F}"
-        LayoutSVGText {text} at (200,168) size 65.36x40 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (200,168) size 65.36x40
-            chunk 1 text run 1 at (200.00,200.00) startOffset 0 endOffset 9 width 64.37: "fi\x{30C} ffi\x{30C}\x{30C}"
-        LayoutSVGText {text} at (350,168) size 58.36x40 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (350,168) size 58.36x40
-            chunk 1 text run 1 at (350.00,200.00) startOffset 0 endOffset 9 width 57.37: "fi\x{30C} ffi\x{30C}\x{30C}"
-        LayoutSVGText {text} at (50,236) size 96.95x49 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (50,236) size 96.95x49
+        LayoutSVGText {text} at (200,168) size 66x40 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (200,168) size 66x40
+            chunk 1 text run 1 at (200.00,200.00) startOffset 0 endOffset 9 width 65.00: "fi\x{30C} ffi\x{30C}\x{30C}"
+        LayoutSVGText {text} at (350,168) size 59x40 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (350,168) size 59x40
+            chunk 1 text run 1 at (350.00,200.00) startOffset 0 endOffset 9 width 58.00: "fi\x{30C} ffi\x{30C}\x{30C}"
+        LayoutSVGText {text} at (50,236) size 97x49 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (50,236) size 97x49
             chunk 1 text run 1 at (50.00,275.00) startOffset 0 endOffset 3 width 30.00: "ff\x{30C}"
             chunk 1 text run 1 at (80.00,275.00) startOffset 0 endOffset 4 width 35.00 RTL: "\x{640}\x{640}\x{644}\x{627}"
             chunk 1 text run 1 at (115.00,275.00) startOffset 0 endOffset 3 width 30.00: "ff\x{30C}"
-        LayoutSVGText {text} at (200,241.63) size 84.31x41.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (200,241.63) size 84.30x41.38
-            chunk 1 text run 1 at (200.00,275.00) startOffset 0 endOffset 3 width 23.68: "ff\x{30C}"
-            chunk 1 text run 1 at (223.68,275.00) startOffset 0 endOffset 4 width 35.00 RTL: "\x{640}\x{640}\x{644}\x{627}"
-            chunk 1 text run 1 at (258.68,275.00) startOffset 0 endOffset 3 width 23.68: "ff\x{30C}"
-        LayoutSVGText {text} at (350,241.63) size 80.31x41.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (350,241.63) size 80.30x41.38
-            chunk 1 text run 1 at (350.00,275.00) startOffset 0 endOffset 3 width 21.68: "ff\x{30C}"
-            chunk 1 text run 1 at (371.68,275.00) startOffset 0 endOffset 4 width 35.00 RTL: "\x{640}\x{640}\x{644}\x{627}"
-            chunk 1 text run 1 at (406.68,275.00) startOffset 0 endOffset 3 width 21.68: "ff\x{30C}"
-        LayoutSVGText {text} at (35,311) size 52.64x49 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,311) size 52.64x49
+        LayoutSVGText {text} at (200,242) size 85x41 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (200,242) size 85x41
+            chunk 1 text run 1 at (200.00,275.00) startOffset 0 endOffset 3 width 24.00: "ff\x{30C}"
+            chunk 1 text run 1 at (224.00,275.00) startOffset 0 endOffset 4 width 35.00 RTL: "\x{640}\x{640}\x{644}\x{627}"
+            chunk 1 text run 1 at (259.00,275.00) startOffset 0 endOffset 3 width 24.00: "ff\x{30C}"
+        LayoutSVGText {text} at (350,242) size 81x41 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (350,242) size 81x41
+            chunk 1 text run 1 at (350.00,275.00) startOffset 0 endOffset 3 width 22.00: "ff\x{30C}"
+            chunk 1 text run 1 at (372.00,275.00) startOffset 0 endOffset 4 width 35.00 RTL: "\x{640}\x{640}\x{644}\x{627}"
+            chunk 1 text run 1 at (407.00,275.00) startOffset 0 endOffset 3 width 22.00: "ff\x{30C}"
+        LayoutSVGText {text} at (35,311) size 53x49 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,311) size 53x49
             chunk 1 text run 1 at (50.00,350.00) startOffset 0 endOffset 1 width 0.00: "\x{30C}"
             chunk 1 text run 1 at (55.00,350.00) startOffset 0 endOffset 1 width 18.00 RTL: "\x{FDB0}"
             chunk 1 text run 1 at (73.00,350.00) startOffset 0 endOffset 2 width 10.00: "i\x{333}"
-        LayoutSVGText {text} at (196,318) size 54.64x40 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (196,318) size 54.64x40
+        LayoutSVGText {text} at (196,318) size 55x40 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (196,318) size 55x40
             chunk 1 text run 1 at (200.00,350.00) startOffset 0 endOffset 2 width 11.00: ".\x{30C}"
             chunk 1 text run 1 at (209.00,350.00) startOffset 0 endOffset 1 width 27.00 RTL: "\x{FDB0}"
             chunk 1 text run 1 at (236.00,350.00) startOffset 0 endOffset 2 width 10.00: "i\x{333}"
-        LayoutSVGText {text} at (346,318) size 54.64x40 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (346,318) size 54.64x40
+        LayoutSVGText {text} at (346,318) size 55x40 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (346,318) size 55x40
             chunk 1 text run 1 at (350.00,350.00) startOffset 0 endOffset 2 width 11.00: ".\x{30C}"
             chunk 1 text run 1 at (360.00,350.00) startOffset 0 endOffset 1 width 26.00 RTL: "\x{FDB0}"
             chunk 1 text run 1 at (386.00,350.00) startOffset 0 endOffset 2 width 10.00: "i\x{333}"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/foreignObject-text-clipping-bug-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/foreignObject-text-clipping-bug-expected.png
index 7569222..08cff4e8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/foreignObject-text-clipping-bug-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/foreignObject-text-clipping-bug-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/foreignObject-text-clipping-bug-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/foreignObject-text-clipping-bug-expected.txt
index 74d4ace..ae9a4540 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/foreignObject-text-clipping-bug-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/foreignObject-text-clipping-bug-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x271
     LayoutBlockFlow {body} at (8,8) size 784x255
       LayoutBlockFlow {p} at (0,0) size 784x20 [color=#000080]
-        LayoutText {#text} at (0,0) size 454x19
-          text run at (0,0) width 454: "The word \"TEST \" should appear twice below, the same size each time."
+        LayoutText {#text} at (0,0) size 453x19
+          text run at (0,0) width 453: "The word \"TEST \" should appear twice below, the same size each time."
       LayoutBlockFlow (anonymous) at (0,20) size 784x125
         LayoutSVGRoot {svg} at (0,0) size 400x120
           LayoutSVGRect {rect} at (1,1) size 60x12 [transform={m=((10.00,0.00)(0.00,10.00)) t=(0.00,0.00)}] [fill={[type=SOLID] [color=#D3D3D3]}] [x=1.00] [y=1.00] [width=60.00] [height=12.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/lengthAdjust-text-metrics-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/lengthAdjust-text-metrics-expected.txt
index ad2016f..6082cac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/lengthAdjust-text-metrics-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/lengthAdjust-text-metrics-expected.txt
@@ -14,34 +14,34 @@
 PASS lengthToString(svgText.getComputedTextLength()) is "200.0"
 
 Test getSubStringLength() API
-FAIL lengthToString(svgText.getSubStringLength(0, 1)) should be 61.5. Was 59.2.
-FAIL lengthToString(svgText.getSubStringLength(0, 2)) should be 117.9. Was 113.0.
-FAIL lengthToString(svgText.getSubStringLength(0, 3)) should be 169.2. Was 167.4.
+FAIL lengthToString(svgText.getSubStringLength(0, 1)) should be 61.5. Was 59.5.
+FAIL lengthToString(svgText.getSubStringLength(0, 2)) should be 117.9. Was 113.5.
+FAIL lengthToString(svgText.getSubStringLength(0, 3)) should be 169.2. Was 167.6.
 PASS lengthToString(svgText.getSubStringLength(0, 4)) is "200.0"
-FAIL lengthToString(svgText.getSubStringLength(1, 1)) should be 56.4. Was 53.8.
-FAIL lengthToString(svgText.getSubStringLength(1, 2)) should be 107.7. Was 108.2.
-FAIL lengthToString(svgText.getSubStringLength(1, 3)) should be 138.5. Was 140.8.
-FAIL lengthToString(svgText.getSubStringLength(2, 1)) should be 51.3. Was 54.4.
-FAIL lengthToString(svgText.getSubStringLength(2, 2)) should be 82.1. Was 87.0.
-FAIL lengthToString(svgText.getSubStringLength(3, 1)) should be 30.8. Was 32.6.
+FAIL lengthToString(svgText.getSubStringLength(1, 1)) should be 56.4. Was 54.1.
+FAIL lengthToString(svgText.getSubStringLength(1, 2)) should be 107.7. Was 108.1.
+FAIL lengthToString(svgText.getSubStringLength(1, 3)) should be 138.5. Was 140.5.
+FAIL lengthToString(svgText.getSubStringLength(2, 1)) should be 51.3. Was 54.1.
+FAIL lengthToString(svgText.getSubStringLength(2, 2)) should be 82.1. Was 86.5.
+FAIL lengthToString(svgText.getSubStringLength(3, 1)) should be 30.8. Was 32.4.
 
 Test getStartPositionOfChar() API
 PASS pointToString(svgText.getStartPositionOfChar(0)) is "(10.0,20.0)"
-FAIL pointToString(svgText.getStartPositionOfChar(1)) should be (71.5,20.0). Was (69.2,20.0).
-FAIL pointToString(svgText.getStartPositionOfChar(2)) should be (127.9,20.0). Was (123.0,20.0).
-FAIL pointToString(svgText.getStartPositionOfChar(3)) should be (179.2,20.0). Was (177.4,20.0).
+FAIL pointToString(svgText.getStartPositionOfChar(1)) should be (71.5,20.0). Was (69.5,20.0).
+FAIL pointToString(svgText.getStartPositionOfChar(2)) should be (127.9,20.0). Was (123.5,20.0).
+FAIL pointToString(svgText.getStartPositionOfChar(3)) should be (179.2,20.0). Was (177.6,20.0).
 
 Test getEndPositionOfChar() API
-FAIL pointToString(svgText.getEndPositionOfChar(0)) should be (71.5,20.0). Was (69.2,20.0).
-FAIL pointToString(svgText.getEndPositionOfChar(1)) should be (127.9,20.0). Was (123.0,20.0).
-FAIL pointToString(svgText.getEndPositionOfChar(2)) should be (179.2,20.0). Was (177.4,20.0).
+FAIL pointToString(svgText.getEndPositionOfChar(0)) should be (71.5,20.0). Was (69.5,20.0).
+FAIL pointToString(svgText.getEndPositionOfChar(1)) should be (127.9,20.0). Was (123.5,20.0).
+FAIL pointToString(svgText.getEndPositionOfChar(2)) should be (179.2,20.0). Was (177.6,20.0).
 PASS pointToString(svgText.getEndPositionOfChar(3)) is "(210.0,20.0)"
 
 Test getExtentOfChar() API
-FAIL rectToString(svgText.getExtentOfChar(0)) should be (10.0,1.9)-(61.5x22.3). Was (10.0,1.0)-(59.2x23.0).
-FAIL rectToString(svgText.getExtentOfChar(1)) should be (71.5,1.9)-(56.4x22.3). Was (69.2,1.0)-(53.8x23.0).
-FAIL rectToString(svgText.getExtentOfChar(2)) should be (127.9,1.9)-(51.3x22.3). Was (123.0,1.0)-(54.4x23.0).
-FAIL rectToString(svgText.getExtentOfChar(3)) should be (179.2,1.9)-(30.8x22.3). Was (177.4,1.0)-(32.6x23.0).
+FAIL rectToString(svgText.getExtentOfChar(0)) should be (10.0,1.9)-(61.5x22.3). Was (10.0,1.0)-(59.5x23.0).
+FAIL rectToString(svgText.getExtentOfChar(1)) should be (71.5,1.9)-(56.4x22.3). Was (69.5,1.0)-(54.1x23.0).
+FAIL rectToString(svgText.getExtentOfChar(2)) should be (127.9,1.9)-(51.3x22.3). Was (123.5,1.0)-(54.1x23.0).
+FAIL rectToString(svgText.getExtentOfChar(3)) should be (179.2,1.9)-(30.8x22.3). Was (177.6,1.0)-(32.4x23.0).
 
 Test getRotationOfChar() API
 PASS svgText.getRotationOfChar(0).toFixed(1) is "0.0"
@@ -50,7 +50,7 @@
 PASS svgText.getRotationOfChar(3).toFixed(1) is "0.0"
 
 Test getCharNumAtPosition() API
-> Testing point=(0.0,10.0)
+> Testing point=(-0.0,10.0)
 PASS svgText.getCharNumAtPosition(point) is -1
 > Testing point=(9.9,10.0)
 PASS svgText.getCharNumAtPosition(point) is -1
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/ligature-queries-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/ligature-queries-expected.png
index 66eb7d4..0751c586 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/ligature-queries-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/ligature-queries-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/ligature-queries-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/ligature-queries-expected.txt
index 9ceefce5..9aa385f9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/ligature-queries-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/ligature-queries-expected.txt
@@ -52,9 +52,9 @@
             LayoutSVGInlineText {#text} at (241.50,60) size 10x12
               chunk 1 (middle anchor) text run 1 at (241.50,70.00) startOffset 0 endOffset 2 width 10.00: "10"
           LayoutSVGRect {rect} at (259,-6) size 14x71 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=259.00] [y=-6.00] [width=14.00] [height=71.00]
-          LayoutSVGText {text} at (261.17,60) size 9.63x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (261.17,60) size 9.63x12
-              chunk 1 (middle anchor) text run 1 at (261.19,70.00) startOffset 0 endOffset 2 width 9.63: "11"
+          LayoutSVGText {text} at (261,60) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (261,60) size 10x12
+              chunk 1 (middle anchor) text run 1 at (261.00,70.00) startOffset 0 endOffset 2 width 10.00: "11"
           LayoutSVGRect {rect} at (273,-6) size 15x71 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=273.00] [y=-6.00] [width=15.00] [height=71.00]
           LayoutSVGText {text} at (275.50,60) size 10x12 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (275.50,60) size 10x12
@@ -156,65 +156,65 @@
             LayoutSVGInlineText {#text} at (220.50,157) size 10x12
               chunk 1 (middle anchor) text run 1 at (220.50,167.00) startOffset 0 endOffset 2 width 10.00: "10"
           LayoutSVGRect {rect} at (234,105) size 14x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=234.00] [y=105.00] [width=14.00] [height=57.00]
-          LayoutSVGText {text} at (236.17,157) size 9.63x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (236.17,157) size 9.63x12
-              chunk 1 (middle anchor) text run 1 at (236.19,167.00) startOffset 0 endOffset 2 width 9.63: "11"
+          LayoutSVGText {text} at (236,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (236,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (236.00,167.00) startOffset 0 endOffset 2 width 10.00: "11"
           LayoutSVGRect {rect} at (248,105) size 13x57 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=248.00] [y=105.00] [width=13.00] [height=57.00]
           LayoutSVGText {text} at (249.50,157) size 10x12 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (249.50,157) size 10x12
               chunk 1 (middle anchor) text run 1 at (249.50,167.00) startOffset 0 endOffset 2 width 10.00: "12"
-          LayoutSVGRect {rect} at (261,105) size 16.55x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=261.00] [y=105.00] [width=16.55] [height=57.00]
-          LayoutSVGText {text} at (264.27,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (264.27,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (264.27,167.00) startOffset 0 endOffset 2 width 10.00: "13"
-          LayoutSVGRect {rect} at (277.55,105) size 16.55x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=277.55] [y=105.00] [width=16.55] [height=57.00]
-          LayoutSVGText {text} at (280.81,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (280.81,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (280.82,167.00) startOffset 0 endOffset 2 width 10.00: "14"
-          LayoutSVGRect {rect} at (294.10,105) size 14x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=294.10] [y=105.00] [width=14.00] [height=57.00]
-          LayoutSVGText {text} at (296.09,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (296.09,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (296.10,167.00) startOffset 0 endOffset 2 width 10.00: "15"
-          LayoutSVGRect {rect} at (308.10,105) size 13x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=308.10] [y=105.00] [width=13.00] [height=57.00]
-          LayoutSVGText {text} at (309.59,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (309.59,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (309.60,167.00) startOffset 0 endOffset 2 width 10.00: "16"
-          LayoutSVGRect {rect} at (321.10,105) size 22x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=321.10] [y=105.00] [width=22.00] [height=57.00]
-          LayoutSVGText {text} at (327.09,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (327.09,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (327.10,167.00) startOffset 0 endOffset 2 width 10.00: "17"
-          LayoutSVGRect {rect} at (343.10,105) size 25x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=343.10] [y=105.00] [width=25.00] [height=57.00]
-          LayoutSVGText {text} at (350.59,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (350.59,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (350.60,167.00) startOffset 0 endOffset 2 width 10.00: "18"
-          LayoutSVGRect {rect} at (368.10,105) size 22x57 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=368.10] [y=105.00] [width=22.00] [height=57.00]
-          LayoutSVGText {text} at (374.09,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (374.09,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (374.10,167.00) startOffset 0 endOffset 2 width 10.00: "19"
-          LayoutSVGRect {rect} at (390.10,105) size 16.55x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=390.10] [y=105.00] [width=16.55] [height=57.00]
-          LayoutSVGText {text} at (393.36,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (393.36,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (393.37,167.00) startOffset 0 endOffset 2 width 10.00: "20"
-          LayoutSVGRect {rect} at (406.65,105) size 16.55x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=406.65] [y=105.00] [width=16.55] [height=57.00]
-          LayoutSVGText {text} at (409.91,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (409.91,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (409.92,167.00) startOffset 0 endOffset 2 width 10.00: "21"
-          LayoutSVGRect {rect} at (423.19,105) size 14x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=423.19] [y=105.00] [width=14.00] [height=57.00]
-          LayoutSVGText {text} at (425.19,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (425.19,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (425.19,167.00) startOffset 0 endOffset 2 width 10.00: "22"
-          LayoutSVGRect {rect} at (437.19,105) size 25x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=437.19] [y=105.00] [width=25.00] [height=57.00]
-          LayoutSVGText {text} at (444.69,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (444.69,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (444.69,167.00) startOffset 0 endOffset 2 width 10.00: "23"
-          LayoutSVGRect {rect} at (462.19,105) size 22x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=462.19] [y=105.00] [width=22.00] [height=57.00]
-          LayoutSVGText {text} at (468.19,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (468.19,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (468.19,167.00) startOffset 0 endOffset 2 width 10.00: "24"
-          LayoutSVGRect {rect} at (484.19,105) size 17x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=484.19] [y=105.00] [width=17.00] [height=57.00]
-          LayoutSVGText {text} at (487.69,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (487.69,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (487.69,167.00) startOffset 0 endOffset 2 width 10.00: "25"
+          LayoutSVGRect {rect} at (261,105) size 17x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=261.00] [y=105.00] [width=17.00] [height=57.00]
+          LayoutSVGText {text} at (264.50,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (264.50,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (264.50,167.00) startOffset 0 endOffset 2 width 10.00: "13"
+          LayoutSVGRect {rect} at (278,105) size 17x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=278.00] [y=105.00] [width=17.00] [height=57.00]
+          LayoutSVGText {text} at (281.50,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (281.50,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (281.50,167.00) startOffset 0 endOffset 2 width 10.00: "14"
+          LayoutSVGRect {rect} at (295,105) size 14x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=295.00] [y=105.00] [width=14.00] [height=57.00]
+          LayoutSVGText {text} at (297,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (297,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (297.00,167.00) startOffset 0 endOffset 2 width 10.00: "15"
+          LayoutSVGRect {rect} at (309,105) size 13x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=309.00] [y=105.00] [width=13.00] [height=57.00]
+          LayoutSVGText {text} at (310.50,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (310.50,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (310.50,167.00) startOffset 0 endOffset 2 width 10.00: "16"
+          LayoutSVGRect {rect} at (322,105) size 22x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=322.00] [y=105.00] [width=22.00] [height=57.00]
+          LayoutSVGText {text} at (328,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (328,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (328.00,167.00) startOffset 0 endOffset 2 width 10.00: "17"
+          LayoutSVGRect {rect} at (344,105) size 25x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=344.00] [y=105.00] [width=25.00] [height=57.00]
+          LayoutSVGText {text} at (351.50,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (351.50,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (351.50,167.00) startOffset 0 endOffset 2 width 10.00: "18"
+          LayoutSVGRect {rect} at (369,105) size 22x57 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=369.00] [y=105.00] [width=22.00] [height=57.00]
+          LayoutSVGText {text} at (375,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (375,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (375.00,167.00) startOffset 0 endOffset 2 width 10.00: "19"
+          LayoutSVGRect {rect} at (391,105) size 17x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=391.00] [y=105.00] [width=17.00] [height=57.00]
+          LayoutSVGText {text} at (394.50,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (394.50,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (394.50,167.00) startOffset 0 endOffset 2 width 10.00: "20"
+          LayoutSVGRect {rect} at (408,105) size 17x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=408.00] [y=105.00] [width=17.00] [height=57.00]
+          LayoutSVGText {text} at (411.50,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (411.50,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (411.50,167.00) startOffset 0 endOffset 2 width 10.00: "21"
+          LayoutSVGRect {rect} at (425,105) size 14x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=425.00] [y=105.00] [width=14.00] [height=57.00]
+          LayoutSVGText {text} at (427,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (427,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (427.00,167.00) startOffset 0 endOffset 2 width 10.00: "22"
+          LayoutSVGRect {rect} at (439,105) size 25x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=439.00] [y=105.00] [width=25.00] [height=57.00]
+          LayoutSVGText {text} at (446.50,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (446.50,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (446.50,167.00) startOffset 0 endOffset 2 width 10.00: "23"
+          LayoutSVGRect {rect} at (464,105) size 22x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=464.00] [y=105.00] [width=22.00] [height=57.00]
+          LayoutSVGText {text} at (470,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (470,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (470.00,167.00) startOffset 0 endOffset 2 width 10.00: "24"
+          LayoutSVGRect {rect} at (486,105) size 17x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=486.00] [y=105.00] [width=17.00] [height=57.00]
+          LayoutSVGText {text} at (489.50,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (489.50,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (489.50,167.00) startOffset 0 endOffset 2 width 10.00: "25"
           LayoutSVGRect {rect} at (25,204) size 28x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=25.00] [y=204.00] [width=28.00] [height=57.00]
           LayoutSVGText {text} at (36.50,256) size 5x12 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (36.50,256) size 5x12
@@ -260,65 +260,65 @@
             LayoutSVGInlineText {#text} at (239,256) size 10x12
               chunk 1 (middle anchor) text run 1 at (239.00,266.00) startOffset 0 endOffset 2 width 10.00: "10"
           LayoutSVGRect {rect} at (251,204) size 11x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=251.00] [y=204.00] [width=11.00] [height=57.00]
-          LayoutSVGText {text} at (251.67,256) size 9.63x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (251.67,256) size 9.63x12
-              chunk 1 (middle anchor) text run 1 at (251.69,266.00) startOffset 0 endOffset 2 width 9.63: "11"
+          LayoutSVGText {text} at (251.50,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (251.50,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (251.50,266.00) startOffset 0 endOffset 2 width 10.00: "11"
           LayoutSVGRect {rect} at (262,204) size 14x57 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=262.00] [y=204.00] [width=14.00] [height=57.00]
           LayoutSVGText {text} at (264,256) size 10x12 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (264,256) size 10x12
               chunk 1 (middle anchor) text run 1 at (264.00,266.00) startOffset 0 endOffset 2 width 10.00: "12"
-          LayoutSVGRect {rect} at (276,204) size 13.55x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=276.00] [y=204.00] [width=13.55] [height=57.00]
-          LayoutSVGText {text} at (277.77,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (277.77,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (277.77,266.00) startOffset 0 endOffset 2 width 10.00: "13"
-          LayoutSVGRect {rect} at (289.55,204) size 13.55x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=289.55] [y=204.00] [width=13.55] [height=57.00]
-          LayoutSVGText {text} at (291.31,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (291.31,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (291.32,266.00) startOffset 0 endOffset 2 width 10.00: "14"
-          LayoutSVGRect {rect} at (303.10,204) size 11x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=303.10] [y=204.00] [width=11.00] [height=57.00]
-          LayoutSVGText {text} at (303.59,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (303.59,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (303.60,266.00) startOffset 0 endOffset 2 width 10.00: "15"
-          LayoutSVGRect {rect} at (314.10,204) size 14x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=314.10] [y=204.00] [width=14.00] [height=57.00]
-          LayoutSVGText {text} at (316.09,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (316.09,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (316.10,266.00) startOffset 0 endOffset 2 width 10.00: "16"
-          LayoutSVGRect {rect} at (328.10,204) size 28x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=328.10] [y=204.00] [width=28.00] [height=57.00]
-          LayoutSVGText {text} at (337.09,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (337.09,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (337.10,266.00) startOffset 0 endOffset 2 width 10.00: "17"
-          LayoutSVGRect {rect} at (356.10,204) size 28x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=356.10] [y=204.00] [width=28.00] [height=57.00]
-          LayoutSVGText {text} at (365.09,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (365.09,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (365.10,266.00) startOffset 0 endOffset 2 width 10.00: "18"
-          LayoutSVGRect {rect} at (384.10,204) size 25x57 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=384.10] [y=204.00] [width=25.00] [height=57.00]
-          LayoutSVGText {text} at (391.59,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (391.59,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (391.60,266.00) startOffset 0 endOffset 2 width 10.00: "19"
-          LayoutSVGRect {rect} at (409.10,204) size 13.55x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=409.10] [y=204.00] [width=13.55] [height=57.00]
-          LayoutSVGText {text} at (410.86,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (410.86,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (410.87,266.00) startOffset 0 endOffset 2 width 10.00: "20"
-          LayoutSVGRect {rect} at (422.65,204) size 13.55x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=422.65] [y=204.00] [width=13.55] [height=57.00]
-          LayoutSVGText {text} at (424.41,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (424.41,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (424.42,266.00) startOffset 0 endOffset 2 width 10.00: "21"
-          LayoutSVGRect {rect} at (436.19,204) size 11x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=436.19] [y=204.00] [width=11.00] [height=57.00]
-          LayoutSVGText {text} at (436.69,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (436.69,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (436.69,266.00) startOffset 0 endOffset 2 width 10.00: "22"
-          LayoutSVGRect {rect} at (447.19,204) size 28x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=447.19] [y=204.00] [width=28.00] [height=57.00]
-          LayoutSVGText {text} at (456.19,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (456.19,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (456.19,266.00) startOffset 0 endOffset 2 width 10.00: "23"
-          LayoutSVGRect {rect} at (475.19,204) size 28x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=475.19] [y=204.00] [width=28.00] [height=57.00]
-          LayoutSVGText {text} at (484.19,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (484.19,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (484.19,266.00) startOffset 0 endOffset 2 width 10.00: "24"
-          LayoutSVGRect {rect} at (503.19,204) size 14x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=503.19] [y=204.00] [width=14.00] [height=57.00]
-          LayoutSVGText {text} at (505.19,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (505.19,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (505.19,266.00) startOffset 0 endOffset 2 width 10.00: "25"
+          LayoutSVGRect {rect} at (276,204) size 14x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=276.00] [y=204.00] [width=14.00] [height=57.00]
+          LayoutSVGText {text} at (278,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (278,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (278.00,266.00) startOffset 0 endOffset 2 width 10.00: "13"
+          LayoutSVGRect {rect} at (290,204) size 14x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=290.00] [y=204.00] [width=14.00] [height=57.00]
+          LayoutSVGText {text} at (292,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (292,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (292.00,266.00) startOffset 0 endOffset 2 width 10.00: "14"
+          LayoutSVGRect {rect} at (304,204) size 11x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=304.00] [y=204.00] [width=11.00] [height=57.00]
+          LayoutSVGText {text} at (304.50,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (304.50,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (304.50,266.00) startOffset 0 endOffset 2 width 10.00: "15"
+          LayoutSVGRect {rect} at (315,204) size 14x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=315.00] [y=204.00] [width=14.00] [height=57.00]
+          LayoutSVGText {text} at (317,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (317,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (317.00,266.00) startOffset 0 endOffset 2 width 10.00: "16"
+          LayoutSVGRect {rect} at (329,204) size 28x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=329.00] [y=204.00] [width=28.00] [height=57.00]
+          LayoutSVGText {text} at (338,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (338,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (338.00,266.00) startOffset 0 endOffset 2 width 10.00: "17"
+          LayoutSVGRect {rect} at (357,204) size 28x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=357.00] [y=204.00] [width=28.00] [height=57.00]
+          LayoutSVGText {text} at (366,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (366,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (366.00,266.00) startOffset 0 endOffset 2 width 10.00: "18"
+          LayoutSVGRect {rect} at (385,204) size 25x57 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=385.00] [y=204.00] [width=25.00] [height=57.00]
+          LayoutSVGText {text} at (392.50,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (392.50,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (392.50,266.00) startOffset 0 endOffset 2 width 10.00: "19"
+          LayoutSVGRect {rect} at (410,204) size 14x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=410.00] [y=204.00] [width=14.00] [height=57.00]
+          LayoutSVGText {text} at (412,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (412,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (412.00,266.00) startOffset 0 endOffset 2 width 10.00: "20"
+          LayoutSVGRect {rect} at (424,204) size 14x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=424.00] [y=204.00] [width=14.00] [height=57.00]
+          LayoutSVGText {text} at (426,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (426,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (426.00,266.00) startOffset 0 endOffset 2 width 10.00: "21"
+          LayoutSVGRect {rect} at (438,204) size 11x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=438.00] [y=204.00] [width=11.00] [height=57.00]
+          LayoutSVGText {text} at (438.50,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (438.50,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (438.50,266.00) startOffset 0 endOffset 2 width 10.00: "22"
+          LayoutSVGRect {rect} at (449,204) size 28x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=449.00] [y=204.00] [width=28.00] [height=57.00]
+          LayoutSVGText {text} at (458,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (458,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (458.00,266.00) startOffset 0 endOffset 2 width 10.00: "23"
+          LayoutSVGRect {rect} at (477,204) size 28x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=477.00] [y=204.00] [width=28.00] [height=57.00]
+          LayoutSVGText {text} at (486,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (486,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (486.00,266.00) startOffset 0 endOffset 2 width 10.00: "24"
+          LayoutSVGRect {rect} at (505,204) size 14x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=505.00] [y=204.00] [width=14.00] [height=57.00]
+          LayoutSVGText {text} at (507,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (507,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (507.00,266.00) startOffset 0 endOffset 2 width 10.00: "25"
           LayoutSVGRect {rect} at (46.06,341.87) size 30.23x72.67 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=46.06] [y=341.87] [width=30.23] [height=72.67]
           LayoutSVGText {text} at (58.67,409.53) size 5x12 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (58.67,409.53) size 5x12
@@ -364,9 +364,9 @@
             LayoutSVGInlineText {#text} at (254.81,339.94) size 10x12
               chunk 1 (middle anchor) text run 1 at (254.81,349.94) startOffset 0 endOffset 2 width 10.00: "10"
           LayoutSVGRect {rect} at (275.37,268.10) size 16.46x71.44 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=275.37] [y=268.10] [width=16.46] [height=71.44]
-          LayoutSVGText {text} at (278.78,334.53) size 9.63x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (278.78,334.53) size 9.63x12
-              chunk 1 (middle anchor) text run 1 at (278.79,344.55) startOffset 0 endOffset 2 width 9.63: "11"
+          LayoutSVGText {text} at (278.59,334.53) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (278.59,334.53) size 10x12
+              chunk 1 (middle anchor) text run 1 at (278.60,344.55) startOffset 0 endOffset 2 width 10.00: "11"
           LayoutSVGRect {rect} at (288.77,268.43) size 37x74.27 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=288.77] [y=268.43] [width=36.99] [height=74.27]
           LayoutSVGText {text} at (302.27,337.70) size 10x12 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (302.27,337.70) size 10x12
@@ -454,12 +454,12 @@
         LayoutSVGText {text} at (25,-6) size 569x71 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,-6) size 569x71
             chunk 1 text run 1 at (25.00,50.00) startOffset 0 endOffset 26 width 569.00: "\x{F6}h \x{443}\x{30C}eah! fi ffi abcffidef"
-        LayoutSVGText {text} at (25,105) size 481.19x57 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25,105) size 481.19x57
-            chunk 1 text run 1 at (25.00,150.00) startOffset 0 endOffset 26 width 476.19: "\x{F6}h \x{443}\x{30C}eah! fi ffi abcffidef"
-        LayoutSVGText {text} at (25,204) size 494.19x57 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25,204) size 494.19x57
-            chunk 1 text run 1 at (25.00,250.00) startOffset 0 endOffset 26 width 492.19: "\x{F6}h \x{443}\x{30C}eah! fi ffi abcffidef"
+        LayoutSVGText {text} at (25,105) size 483x57 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25,105) size 483x57
+            chunk 1 text run 1 at (25.00,150.00) startOffset 0 endOffset 26 width 478.00: "\x{F6}h \x{443}\x{30C}eah! fi ffi abcffidef"
+        LayoutSVGText {text} at (25,204) size 496x57 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25,204) size 496x57
+            chunk 1 text run 1 at (25.00,250.00) startOffset 0 endOffset 26 width 494.00: "\x{F6}h \x{443}\x{30C}eah! fi ffi abcffidef"
         LayoutSVGContainer {use} at (25,324.26) size 475x125.74
           LayoutSVGPath {path} at (25,324.26) size 475x125.74 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#00000000]}] [data="M 25 400 C 300 400 200 200 500 450"]
         LayoutSVGText {text} at (46.05,268.09) size 485.56x190.20 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-1-expected.png
index 907bbf15..2978235 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-1-expected.txt
index 7d641e00..44ff088 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-1-expected.txt
@@ -2,26 +2,26 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (10,0.80) size 12.54x11.60
+    LayoutSVGContainer {g} at (10,0.80) size 12.46x11.60
       LayoutSVGPath {svg:line} at (10,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=0.80] [x2=10.00] [y2=12.40]
-      LayoutSVGPath {svg:line} at (22.54,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=22.54] [y1=0.80] [x2=22.54] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (10,0.80) size 12.54x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=12.54] [height=11.40]
+      LayoutSVGPath {svg:line} at (22.46,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=22.46] [y1=0.80] [x2=22.46] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (10,0.80) size 12.46x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=12.46] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (14.07,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (17.54,10.00) startOffset 2 endOffset 3 width 5.00: "x"
-        chunk 1 text run 4 at (20.96,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (22.18,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (23.40,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (24.62,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (28.65,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (29.87,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (34.89,10.00) startOffset 9 endOffset 10 width 5.60: "q"
-        chunk 1 text run 11 at (38.91,10.00) startOffset 10 endOffset 11 width 5.60: "u"
-        chunk 1 text run 12 at (42.93,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (46.96,10.00) startOffset 12 endOffset 13 width 5.60: "e"
-        chunk 1 text run 14 at (50.98,10.00) startOffset 13 endOffset 14 width 5.00: "z"
+        chunk 1 text run 2 at (14.03,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (17.46,10.00) startOffset 2 endOffset 3 width 5.00: "x"
+        chunk 1 text run 4 at (20.89,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (22.11,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (23.34,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (24.57,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (28.60,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (29.83,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (34.86,10.00) startOffset 9 endOffset 10 width 5.60: "q"
+        chunk 1 text run 11 at (38.89,10.00) startOffset 10 endOffset 11 width 5.60: "u"
+        chunk 1 text run 12 at (42.91,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (46.94,10.00) startOffset 12 endOffset 13 width 5.60: "e"
+        chunk 1 text run 14 at (50.97,10.00) startOffset 13 endOffset 14 width 5.00: "z"
         chunk 1 text run 15 at (54.40,10.00) startOffset 14 endOffset 15 width 5.60: "e"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 3 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-2-expected.png
index b458913..58ec7420 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-2-expected.txt
index 1a8d868c..8412b2f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-2-expected.txt
@@ -2,26 +2,26 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (29.87,0.80) size 10.62x11.60
-      LayoutSVGPath {svg:line} at (29.87,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=29.87] [y1=0.80] [x2=29.87] [y2=12.40]
-      LayoutSVGPath {svg:line} at (40.49,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=40.49] [y1=0.80] [x2=40.49] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (29.87,0.80) size 10.62x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=29.87] [y=0.80] [width=10.62] [height=11.40]
+    LayoutSVGContainer {g} at (29.83,0.80) size 10.63x11.60
+      LayoutSVGPath {svg:line} at (29.83,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=29.83] [y1=0.80] [x2=29.83] [y2=12.40]
+      LayoutSVGPath {svg:line} at (40.46,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=40.46] [y1=0.80] [x2=40.46] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (29.83,0.80) size 10.63x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=29.83] [y=0.80] [width=10.63] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (14.07,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (17.54,10.00) startOffset 2 endOffset 3 width 5.00: "x"
-        chunk 1 text run 4 at (20.96,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (22.18,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (23.40,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (24.62,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (28.65,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (29.87,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (34.89,10.00) startOffset 9 endOffset 10 width 5.60: "q"
-        chunk 1 text run 11 at (38.91,10.00) startOffset 10 endOffset 11 width 5.60: "u"
-        chunk 1 text run 12 at (42.93,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (46.96,10.00) startOffset 12 endOffset 13 width 5.60: "e"
-        chunk 1 text run 14 at (50.98,10.00) startOffset 13 endOffset 14 width 5.00: "z"
+        chunk 1 text run 2 at (14.03,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (17.46,10.00) startOffset 2 endOffset 3 width 5.00: "x"
+        chunk 1 text run 4 at (20.89,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (22.11,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (23.34,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (24.57,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (28.60,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (29.83,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (34.86,10.00) startOffset 9 endOffset 10 width 5.60: "q"
+        chunk 1 text run 11 at (38.89,10.00) startOffset 10 endOffset 11 width 5.60: "u"
+        chunk 1 text run 12 at (42.91,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (46.94,10.00) startOffset 12 endOffset 13 width 5.60: "e"
+        chunk 1 text run 14 at (50.97,10.00) startOffset 13 endOffset 14 width 5.00: "z"
         chunk 1 text run 15 at (54.40,10.00) startOffset 14 endOffset 15 width 5.60: "e"
 selection start: position 8 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 10 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-3-expected.png
index 944436a4..4a569d9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-3-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-3-expected.txt
index 23d45277..c2ced96 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-3-expected.txt
@@ -2,26 +2,26 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (29.87,0.80) size 14.64x11.60
-      LayoutSVGPath {svg:line} at (29.87,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=29.87] [y1=0.80] [x2=29.87] [y2=12.40]
-      LayoutSVGPath {svg:line} at (44.51,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=44.51] [y1=0.80] [x2=44.51] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (29.87,0.80) size 14.64x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=29.87] [y=0.80] [width=14.64] [height=11.40]
+    LayoutSVGContainer {g} at (29.83,0.80) size 14.66x11.60
+      LayoutSVGPath {svg:line} at (29.83,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=29.83] [y1=0.80] [x2=29.83] [y2=12.40]
+      LayoutSVGPath {svg:line} at (44.49,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=44.49] [y1=0.80] [x2=44.49] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (29.83,0.80) size 14.66x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=29.83] [y=0.80] [width=14.66] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (14.07,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (17.54,10.00) startOffset 2 endOffset 3 width 5.00: "x"
-        chunk 1 text run 4 at (20.96,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (22.18,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (23.40,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (24.62,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (28.65,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (29.87,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (34.89,10.00) startOffset 9 endOffset 10 width 5.60: "q"
-        chunk 1 text run 11 at (38.91,10.00) startOffset 10 endOffset 11 width 5.60: "u"
-        chunk 1 text run 12 at (42.93,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (46.96,10.00) startOffset 12 endOffset 13 width 5.60: "e"
-        chunk 1 text run 14 at (50.98,10.00) startOffset 13 endOffset 14 width 5.00: "z"
+        chunk 1 text run 2 at (14.03,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (17.46,10.00) startOffset 2 endOffset 3 width 5.00: "x"
+        chunk 1 text run 4 at (20.89,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (22.11,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (23.34,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (24.57,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (28.60,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (29.83,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (34.86,10.00) startOffset 9 endOffset 10 width 5.60: "q"
+        chunk 1 text run 11 at (38.89,10.00) startOffset 10 endOffset 11 width 5.60: "u"
+        chunk 1 text run 12 at (42.91,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (46.94,10.00) startOffset 12 endOffset 13 width 5.60: "e"
+        chunk 1 text run 14 at (50.97,10.00) startOffset 13 endOffset 14 width 5.00: "z"
         chunk 1 text run 15 at (54.40,10.00) startOffset 14 endOffset 15 width 5.60: "e"
 selection start: position 8 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 11 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-4-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-4-expected.png
index 8c6d33f..dbe02186 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-4-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-4-expected.txt
index 6d85549..e09f0f85 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-4-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-squeeze-4-expected.txt
@@ -9,19 +9,19 @@
     LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (14.07,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (17.54,10.00) startOffset 2 endOffset 3 width 5.00: "x"
-        chunk 1 text run 4 at (20.96,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (22.18,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (23.40,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (24.62,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (28.65,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (29.87,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (34.89,10.00) startOffset 9 endOffset 10 width 5.60: "q"
-        chunk 1 text run 11 at (38.91,10.00) startOffset 10 endOffset 11 width 5.60: "u"
-        chunk 1 text run 12 at (42.93,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (46.96,10.00) startOffset 12 endOffset 13 width 5.60: "e"
-        chunk 1 text run 14 at (50.98,10.00) startOffset 13 endOffset 14 width 5.00: "z"
+        chunk 1 text run 2 at (14.03,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (17.46,10.00) startOffset 2 endOffset 3 width 5.00: "x"
+        chunk 1 text run 4 at (20.89,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (22.11,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (23.34,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (24.57,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (28.60,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (29.83,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (34.86,10.00) startOffset 9 endOffset 10 width 5.60: "q"
+        chunk 1 text run 11 at (38.89,10.00) startOffset 10 endOffset 11 width 5.60: "u"
+        chunk 1 text run 12 at (42.91,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (46.94,10.00) startOffset 12 endOffset 13 width 5.60: "e"
+        chunk 1 text run 14 at (50.97,10.00) startOffset 13 endOffset 14 width 5.00: "z"
         chunk 1 text run 15 at (54.40,10.00) startOffset 14 endOffset 15 width 5.60: "e"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 15 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-1-expected.png
index e1bb197..4ef06d4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-1-expected.txt
index 118807e8..37c72b3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-1-expected.txt
@@ -2,26 +2,26 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (10,0.80) size 36.86x11.60
+    LayoutSVGContainer {g} at (10,0.80) size 36.79x11.60
       LayoutSVGPath {svg:line} at (10,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=0.80] [x2=10.00] [y2=12.40]
-      LayoutSVGPath {svg:line} at (46.86,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=46.86] [y1=0.80] [x2=46.86] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (10,0.80) size 36.86x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=36.86] [height=11.40]
+      LayoutSVGPath {svg:line} at (46.79,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=46.79] [y1=0.80] [x2=46.79] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (10,0.80) size 36.79x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=36.79] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 150x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 150x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (21.77,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (32.94,10.00) startOffset 2 endOffset 3 width 5.00: "x"
-        chunk 1 text run 4 at (44.06,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (52.98,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (61.90,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (70.82,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (82.55,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (91.47,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (104.19,10.00) startOffset 9 endOffset 10 width 2.80: "t"
-        chunk 1 text run 11 at (113.11,10.00) startOffset 10 endOffset 11 width 3.40: "r"
-        chunk 1 text run 12 at (122.63,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (134.36,10.00) startOffset 12 endOffset 13 width 2.80: "t"
-        chunk 1 text run 14 at (143.28,10.00) startOffset 13 endOffset 14 width 5.00: "c"
+        chunk 1 text run 2 at (21.73,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (32.86,10.00) startOffset 2 endOffset 3 width 5.00: "x"
+        chunk 1 text run 4 at (43.99,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (52.91,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (61.84,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (70.77,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (82.50,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (91.43,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (104.16,10.00) startOffset 9 endOffset 10 width 2.80: "t"
+        chunk 1 text run 11 at (113.09,10.00) startOffset 10 endOffset 11 width 3.40: "r"
+        chunk 1 text run 12 at (122.61,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (134.34,10.00) startOffset 12 endOffset 13 width 2.80: "t"
+        chunk 1 text run 14 at (143.27,10.00) startOffset 13 endOffset 14 width 5.00: "c"
         chunk 1 text run 15 at (154.40,10.00) startOffset 14 endOffset 15 width 5.60: "h"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 4 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-2-expected.png
index 1147c48..c2ede8a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-2-expected.txt
index 7d5c022..4e8594ba 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-2-expected.txt
@@ -2,26 +2,26 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (61.90,0.80) size 14.52x11.60
-      LayoutSVGPath {svg:line} at (61.90,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=61.90] [y1=0.80] [x2=61.90] [y2=12.40]
-      LayoutSVGPath {svg:line} at (76.42,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=76.42] [y1=0.80] [x2=76.42] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (61.90,0.80) size 14.52x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=61.90] [y=0.80] [width=14.52] [height=11.40]
+    LayoutSVGContainer {g} at (61.84,0.80) size 14.53x11.60
+      LayoutSVGPath {svg:line} at (61.84,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=61.84] [y1=0.80] [x2=61.84] [y2=12.40]
+      LayoutSVGPath {svg:line} at (76.37,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=76.37] [y1=0.80] [x2=76.37] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (61.84,0.80) size 14.53x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=61.84] [y=0.80] [width=14.53] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 150x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 150x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (21.77,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (32.94,10.00) startOffset 2 endOffset 3 width 5.00: "x"
-        chunk 1 text run 4 at (44.06,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (52.98,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (61.90,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (70.82,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (82.55,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (91.47,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (104.19,10.00) startOffset 9 endOffset 10 width 2.80: "t"
-        chunk 1 text run 11 at (113.11,10.00) startOffset 10 endOffset 11 width 3.40: "r"
-        chunk 1 text run 12 at (122.63,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (134.36,10.00) startOffset 12 endOffset 13 width 2.80: "t"
-        chunk 1 text run 14 at (143.28,10.00) startOffset 13 endOffset 14 width 5.00: "c"
+        chunk 1 text run 2 at (21.73,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (32.86,10.00) startOffset 2 endOffset 3 width 5.00: "x"
+        chunk 1 text run 4 at (43.99,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (52.91,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (61.84,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (70.77,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (82.50,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (91.43,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (104.16,10.00) startOffset 9 endOffset 10 width 2.80: "t"
+        chunk 1 text run 11 at (113.09,10.00) startOffset 10 endOffset 11 width 3.40: "r"
+        chunk 1 text run 12 at (122.61,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (134.34,10.00) startOffset 12 endOffset 13 width 2.80: "t"
+        chunk 1 text run 14 at (143.27,10.00) startOffset 13 endOffset 14 width 5.00: "c"
         chunk 1 text run 15 at (154.40,10.00) startOffset 14 endOffset 15 width 5.60: "h"
 selection start: position 5 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 7 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-3-expected.png
index 7733ca6..146e5ae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-3-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-3-expected.txt
index 501b9176..5f539fa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-3-expected.txt
@@ -2,26 +2,26 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (91.47,0.80) size 25.04x11.60
-      LayoutSVGPath {svg:line} at (91.47,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=91.47] [y1=0.80] [x2=91.47] [y2=12.40]
-      LayoutSVGPath {svg:line} at (116.51,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=116.51] [y1=0.80] [x2=116.51] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (91.47,0.80) size 25.04x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=91.47] [y=0.80] [width=25.04] [height=11.40]
+    LayoutSVGContainer {g} at (91.43,0.80) size 25.06x11.60
+      LayoutSVGPath {svg:line} at (91.43,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=91.43] [y1=0.80] [x2=91.43] [y2=12.40]
+      LayoutSVGPath {svg:line} at (116.49,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=116.49] [y1=0.80] [x2=116.49] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (91.43,0.80) size 25.06x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=91.43] [y=0.80] [width=25.06] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 150x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 150x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (21.77,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (32.94,10.00) startOffset 2 endOffset 3 width 5.00: "x"
-        chunk 1 text run 4 at (44.06,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (52.98,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (61.90,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (70.82,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (82.55,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (91.47,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (104.19,10.00) startOffset 9 endOffset 10 width 2.80: "t"
-        chunk 1 text run 11 at (113.11,10.00) startOffset 10 endOffset 11 width 3.40: "r"
-        chunk 1 text run 12 at (122.63,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (134.36,10.00) startOffset 12 endOffset 13 width 2.80: "t"
-        chunk 1 text run 14 at (143.28,10.00) startOffset 13 endOffset 14 width 5.00: "c"
+        chunk 1 text run 2 at (21.73,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (32.86,10.00) startOffset 2 endOffset 3 width 5.00: "x"
+        chunk 1 text run 4 at (43.99,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (52.91,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (61.84,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (70.77,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (82.50,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (91.43,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (104.16,10.00) startOffset 9 endOffset 10 width 2.80: "t"
+        chunk 1 text run 11 at (113.09,10.00) startOffset 10 endOffset 11 width 3.40: "r"
+        chunk 1 text run 12 at (122.61,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (134.34,10.00) startOffset 12 endOffset 13 width 2.80: "t"
+        chunk 1 text run 14 at (143.27,10.00) startOffset 13 endOffset 14 width 5.00: "c"
         chunk 1 text run 15 at (154.40,10.00) startOffset 14 endOffset 15 width 5.60: "h"
 selection start: position 8 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 11 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-4-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-4-expected.png
index 1af4723..4165516 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-4-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-4-expected.txt
index 886f7c2f..cd8c15c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-4-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacing-stretch-4-expected.txt
@@ -9,19 +9,19 @@
     LayoutSVGText {text} at (10,0.80) size 150x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 150x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (21.77,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (32.94,10.00) startOffset 2 endOffset 3 width 5.00: "x"
-        chunk 1 text run 4 at (44.06,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (52.98,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (61.90,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (70.82,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (82.55,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (91.47,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (104.19,10.00) startOffset 9 endOffset 10 width 2.80: "t"
-        chunk 1 text run 11 at (113.11,10.00) startOffset 10 endOffset 11 width 3.40: "r"
-        chunk 1 text run 12 at (122.63,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (134.36,10.00) startOffset 12 endOffset 13 width 2.80: "t"
-        chunk 1 text run 14 at (143.28,10.00) startOffset 13 endOffset 14 width 5.00: "c"
+        chunk 1 text run 2 at (21.73,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (32.86,10.00) startOffset 2 endOffset 3 width 5.00: "x"
+        chunk 1 text run 4 at (43.99,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (52.91,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (61.84,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (70.77,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (82.50,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (91.43,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (104.16,10.00) startOffset 9 endOffset 10 width 2.80: "t"
+        chunk 1 text run 11 at (113.09,10.00) startOffset 10 endOffset 11 width 3.40: "r"
+        chunk 1 text run 12 at (122.61,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (134.34,10.00) startOffset 12 endOffset 13 width 2.80: "t"
+        chunk 1 text run 14 at (143.27,10.00) startOffset 13 endOffset 14 width 5.00: "c"
         chunk 1 text run 15 at (154.40,10.00) startOffset 14 endOffset 15 width 5.60: "h"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 15 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.png
index b5b9d7e83..5778aca 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt
index 00ddd69..fc7d52b98 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (10,0.80) size 12.83x11.60
+    LayoutSVGContainer {g} at (10,0.80) size 12.78x11.60
       LayoutSVGPath {svg:line} at (10,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=0.80] [x2=10.00] [y2=12.40]
-      LayoutSVGPath {svg:line} at (22.83,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=22.83] [y1=0.80] [x2=22.83] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (10,0.80) size 12.83x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=12.83] [height=11.40]
+      LayoutSVGPath {svg:line} at (22.78,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=22.78] [y1=0.80] [x2=22.78] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (10,0.80) size 12.78x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=12.78] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 72.09: "Text to Squeeze"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 72.00: "Text to Squeeze"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 4 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.png
index cd5d8ad..9e424e90 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.txt
index 67dae4f..8eff6ef 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (24.77,0.80) size 5.83x11.60
-      LayoutSVGPath {svg:line} at (24.77,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=24.77] [y1=0.80] [x2=24.77] [y2=12.40]
-      LayoutSVGPath {svg:line} at (30.59,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=30.59] [y1=0.80] [x2=30.59] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (24.77,0.80) size 5.83x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=24.77] [y=0.80] [width=5.83] [height=11.40]
+    LayoutSVGContainer {g} at (24.72,0.80) size 5.83x11.60
+      LayoutSVGPath {svg:line} at (24.72,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=24.72] [y1=0.80] [x2=24.72] [y2=12.40]
+      LayoutSVGPath {svg:line} at (30.56,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=30.56] [y1=0.80] [x2=30.56] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (24.72,0.80) size 5.83x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=24.72] [y=0.80] [width=5.83] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 72.09: "Text to Squeeze"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 72.00: "Text to Squeeze"
 selection start: position 5 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 7 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.png
index 5d202bc..c38c051 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.txt
index 54e34b58..493b736 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (32.53,0.80) size 12.35x11.60
-      LayoutSVGPath {svg:line} at (32.53,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=32.53] [y1=0.80] [x2=32.53] [y2=12.40]
-      LayoutSVGPath {svg:line} at (44.88,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=44.88] [y1=0.80] [x2=44.88] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (32.53,0.80) size 12.35x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=32.53] [y=0.80] [width=12.35] [height=11.40]
+    LayoutSVGContainer {g} at (32.50,0.80) size 12.36x11.60
+      LayoutSVGPath {svg:line} at (32.50,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=32.50] [y1=0.80] [x2=32.50] [y2=12.40]
+      LayoutSVGPath {svg:line} at (44.86,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=44.86] [y1=0.80] [x2=44.86] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (32.50,0.80) size 12.36x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=32.50] [y=0.80] [width=12.36] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 72.09: "Text to Squeeze"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 72.00: "Text to Squeeze"
 selection start: position 8 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 11 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.png
index e42b995a..16a3cc5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt
index b025c0a..3e173120 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt
@@ -8,6 +8,6 @@
       LayoutSVGRect {svg:rect} at (10,0.80) size 50x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=50.00] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 72.09: "Text to Squeeze"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 72.00: "Text to Squeeze"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 15 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.png
index eae1c6c..8756e66e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt
index 2d36208..de1a83b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (10,0.80) size 40.27x11.60
+    LayoutSVGContainer {g} at (10,0.80) size 40.12x11.60
       LayoutSVGPath {svg:line} at (10,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=0.80] [x2=10.00] [y2=12.40]
-      LayoutSVGPath {svg:line} at (50.27,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=50.27] [y1=0.80] [x2=50.27] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (10,0.80) size 40.27x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=40.27] [height=11.40]
+      LayoutSVGPath {svg:line} at (50.12,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=50.12] [y1=0.80] [x2=50.12] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (10,0.80) size 40.12x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=40.12] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 140x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 140x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.29: "Text to Stretch"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.20: "Text to Stretch"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 4 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.png
index 5e66314..2d3cff6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt
index 3169d42..b2614273 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (56.36,0.80) size 18.29x11.60
-      LayoutSVGPath {svg:line} at (56.36,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=56.36] [y1=0.80] [x2=56.36] [y2=12.40]
-      LayoutSVGPath {svg:line} at (74.66,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=74.66] [y1=0.80] [x2=74.66] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (56.36,0.80) size 18.29x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=56.36] [y=0.80] [width=18.29] [height=11.40]
+    LayoutSVGContainer {g} at (56.23,0.80) size 18.32x11.60
+      LayoutSVGPath {svg:line} at (56.23,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=56.23] [y1=0.80] [x2=56.23] [y2=12.40]
+      LayoutSVGPath {svg:line} at (74.55,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=74.55] [y1=0.80] [x2=74.55] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (56.23,0.80) size 18.32x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=56.23] [y=0.80] [width=18.32] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 140x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 140x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.29: "Text to Stretch"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.20: "Text to Stretch"
 selection start: position 5 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 7 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.png
index 27c8669d..1c5dfde 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt
index f6ed3e9d..9c31815 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (80.75,0.80) size 27.87x11.60
-      LayoutSVGPath {svg:line} at (80.75,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=80.75] [y1=0.80] [x2=80.75] [y2=12.40]
-      LayoutSVGPath {svg:line} at (108.63,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=108.63] [y1=0.80] [x2=108.63] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (80.75,0.80) size 27.87x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=80.75] [y=0.80] [width=27.87] [height=11.40]
+    LayoutSVGContainer {g} at (80.65,0.80) size 27.91x11.60
+      LayoutSVGPath {svg:line} at (80.65,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=80.65] [y1=0.80] [x2=80.65] [y2=12.40]
+      LayoutSVGPath {svg:line} at (108.57,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=108.57] [y1=0.80] [x2=108.57] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (80.65,0.80) size 27.91x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=80.65] [y=0.80] [width=27.91] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 140x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 140x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.29: "Text to Stretch"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.20: "Text to Stretch"
 selection start: position 8 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 11 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.png
index f3f58d27..2e7aa7f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt
index 3f2068e..c70710a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt
@@ -8,6 +8,6 @@
       LayoutSVGRect {svg:rect} at (10,0.80) size 140x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=140.00] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 140x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 140x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.29: "Text to Stretch"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.20: "Text to Stretch"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 15 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/small-fonts-in-html5-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/small-fonts-in-html5-expected.png
index 61776f8ed..4a4fef9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/small-fonts-in-html5-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/small-fonts-in-html5-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/surrogate-pair-queries-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/surrogate-pair-queries-expected.txt
index b03e023..0329100 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/surrogate-pair-queries-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/surrogate-pair-queries-expected.txt
@@ -302,37 +302,37 @@
         LayoutSVGText {text} at (350,18) size 52x40 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (350,18) size 52x40
             chunk 1 text run 1 at (350.00,50.00) startOffset 0 endOffset 4 width 52.00: "\x{D83C}\x{DFB6}\x{D83C}\x{DFB6}"
-        LayoutSVGText {text} at (50,66.81) size 49x68.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (50,66.81) size 49x68.19
+        LayoutSVGText {text} at (50,67) size 49x68 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (50,67) size 49x68
             chunk 1 text run 1 at (50.00,125.00) startOffset 0 endOffset 6 width 49.00: "\x{D801}\x{DC37}\x{30C} v\x{30C}"
-        LayoutSVGText {text} at (200,78.81) size 57x54.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (200,78.81) size 57x54.19
+        LayoutSVGText {text} at (200,79) size 57x54 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (200,79) size 57x54
             chunk 1 text run 1 at (200.00,125.00) startOffset 0 endOffset 6 width 57.00: "\x{D801}\x{DC37}\x{30C} v\x{30C}"
-        LayoutSVGText {text} at (350,78.81) size 57x54.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (350,78.81) size 57x54.19
+        LayoutSVGText {text} at (350,79) size 57x54 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (350,79) size 57x54
             chunk 1 text run 1 at (350.00,125.00) startOffset 0 endOffset 6 width 57.00: "\x{D801}\x{DC37}\x{30C} v\x{30C}"
-        LayoutSVGText {text} at (96,191.81) size 54x68.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (96,191.81) size 54x68.19
+        LayoutSVGText {text} at (96,192) size 54x68 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (96,192) size 54x68
             chunk 1 text run 1 at (96.00,250.00) startOffset 0 endOffset 2 width 18.00 RTL: "\x{D83C}\x{DFB6}"
             chunk 1 text run 1 at (114.00,250.00) startOffset 0 endOffset 3 width 18.00: "\x{D801}\x{DC37}\x{30C}"
             chunk 1 text run 1 at (132.00,250.00) startOffset 0 endOffset 2 width 18.00 RTL: "\x{D83C}\x{DFB6}"
-        LayoutSVGText {text} at (219,203.81) size 81x54.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (219,203.81) size 81x54.19
+        LayoutSVGText {text} at (219,204) size 81x54 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (219,204) size 81x54
             chunk 1 text run 1 at (219.00,250.00) startOffset 0 endOffset 2 width 27.00 RTL: "\x{D83C}\x{DFB6}"
             chunk 1 text run 1 at (246.00,250.00) startOffset 0 endOffset 3 width 27.00: "\x{D801}\x{DC37}\x{30C}"
             chunk 1 text run 1 at (273.00,250.00) startOffset 0 endOffset 2 width 27.00 RTL: "\x{D83C}\x{DFB6}"
-        LayoutSVGText {text} at (372,203.81) size 78x54.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (372,203.81) size 78x54.19
+        LayoutSVGText {text} at (372,204) size 78x54 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (372,204) size 78x54
             chunk 1 text run 1 at (372.00,250.00) startOffset 0 endOffset 2 width 26.00 RTL: "\x{D83C}\x{DFB6}"
             chunk 1 text run 1 at (398.00,250.00) startOffset 0 endOffset 3 width 26.00: "\x{D801}\x{DC37}\x{30C}"
             chunk 1 text run 1 at (424.00,250.00) startOffset 0 endOffset 2 width 26.00 RTL: "\x{D83C}\x{DFB6}"
-        LayoutSVGText {text} at (96,291.81) size 54x68.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (96,291.81) size 54x68.19
+        LayoutSVGText {text} at (96,292) size 54x68 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (96,292) size 54x68
             chunk 1 text run 1 at (96.00,350.00) startOffset 0 endOffset 7 width 54.00 RTL override: "\x{D83C}\x{DFB6}\x{D801}\x{DC37}\x{30C}\x{D83C}\x{DFB6}"
-        LayoutSVGText {text} at (219,303.81) size 81x54.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (219,303.81) size 81x54.19
+        LayoutSVGText {text} at (219,304) size 81x54 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (219,304) size 81x54
             chunk 1 text run 1 at (219.00,350.00) startOffset 0 endOffset 7 width 81.00 RTL override: "\x{D83C}\x{DFB6}\x{D801}\x{DC37}\x{30C}\x{D83C}\x{DFB6}"
-        LayoutSVGText {text} at (372,303.81) size 78x54.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (372,303.81) size 78x54.19
+        LayoutSVGText {text} at (372,304) size 78x54 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (372,304) size 78x54
             chunk 1 text run 1 at (372.00,350.00) startOffset 0 endOffset 7 width 78.00 RTL override: "\x{D83C}\x{DFB6}\x{D801}\x{DC37}\x{30C}\x{D83C}\x{DFB6}"
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-decorations-in-scaled-pattern-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-decorations-in-scaled-pattern-expected.png
index bb2efe9..16028ac1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-decorations-in-scaled-pattern-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-decorations-in-scaled-pattern-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-decorations-in-scaled-pattern-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-decorations-in-scaled-pattern-expected.txt
index 67b116e0..1e79c8a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-decorations-in-scaled-pattern-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-decorations-in-scaled-pattern-expected.txt
@@ -4,12 +4,12 @@
   LayoutSVGRoot {svg} at (0,0) size 600x400
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
       LayoutSVGResourcePattern {pattern} [id="pattern"] [patternUnits=objectBoundingBox] [patternContentUnits=objectBoundingBox]
-        LayoutSVGContainer {g} at (0,-2.36) size 26.98x13.72 [transform={m=((0.05,0.01)(-0.00,0.20)) t=(0.00,0.00)}]
-          LayoutSVGText {text} at (0,-2.36) size 26.98x13.72 contains 1 chunk(s)
-            LayoutSVGTSpan {tspan} at (0,-2.36) size 26.98x13.72
-              LayoutSVGInlineText {#text} at (0,-2.36) size 26.98x13.72
-                chunk 1 text run 1 at (0.00,4.50) startOffset 0 endOffset 4 width 26.99: "PASS"
+        LayoutSVGContainer {g} at (0,-2.36) size 27.44x13.72 [transform={m=((0.05,0.01)(-0.00,0.20)) t=(0.00,0.00)}]
+          LayoutSVGText {text} at (0,-2.36) size 27.44x13.72 contains 1 chunk(s)
+            LayoutSVGTSpan {tspan} at (0,-2.36) size 27.44x13.72
+              LayoutSVGInlineText {#text} at (0,-2.36) size 27.44x13.72
+                chunk 1 text run 1 at (0.00,4.50) startOffset 0 endOffset 4 width 27.44: "PASS"
     LayoutSVGRect {rect} at (0,0) size 200x200 [fill={[type=PATTERN] [id="pattern"]}] [x=0.00] [y=0.00] [width=200.00] [height=200.00]
-    LayoutSVGText {text} at (0,215) size 437.53x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,215) size 437.53x19
-        chunk 1 text run 1 at (0.00,230.00) startOffset 0 endOffset 70 width 437.53: "This test passes if the word \"PASS\" appears above with a line over it."
+    LayoutSVGText {text} at (0,215) size 437x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,215) size 437x19
+        chunk 1 text run 1 at (0.00,230.00) startOffset 0 endOffset 70 width 437.00: "This test passes if the word \"PASS\" appears above with a line over it."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-midpoint-split-bug-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-midpoint-split-bug-expected.png
index c9a75aa..44cdbc3e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-midpoint-split-bug-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-midpoint-split-bug-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-midpoint-split-bug-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-midpoint-split-bug-expected.txt
index b0e1d333..f60ba072 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-midpoint-split-bug-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-midpoint-split-bug-expected.txt
@@ -3,11 +3,11 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGText {text} at (20,75) size 205x57 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (20,75) size 82.50x57
-        chunk 1 text run 1 at (20.00,120.00) startOffset 0 endOffset 4 width 82.51: "Test"
+      LayoutSVGInlineText {#text} at (20,75) size 82x57
+        chunk 1 text run 1 at (20.00,120.00) startOffset 0 endOffset 4 width 82.00: "Test"
       LayoutSVGTSpan {tspan} at (20,75) size 205x57
-        LayoutSVGInlineText {#text} at (102.50,75) size 13x57
-          chunk 1 text run 1 at (102.51,120.00) startOffset 0 endOffset 1 width 13.00: " "
+        LayoutSVGInlineText {#text} at (102,75) size 13x57
+          chunk 1 text run 1 at (102.00,120.00) startOffset 0 endOffset 1 width 13.00: " "
         LayoutSVGTSpan {tspan} at (20,75) size 205x57
           LayoutSVGInlineText {#text} at (150,75) size 75x57
             chunk 1 text run 1 at (150.00,120.00) startOffset 0 endOffset 4 width 75.00: "text"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-repaint-rects-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-repaint-rects-expected.png
index 87ef6ea..aeab650 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-repaint-rects-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-repaint-rects-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-repaint-rects-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-repaint-rects-expected.txt
index a2a1c33..0efe2e8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-repaint-rects-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-repaint-rects-expected.txt
@@ -51,8 +51,8 @@
           text run at (722,32) width 4: " "
           text run at (726,32) width 47: "this test"
           text run at (0,52) width 784: "case is specially constructed so that when the view is sized to 800x600 (the default for DumpRenderTree) the text wraps and"
-          text run at (0,72) width 306: "not all of the text in the SVG is drawn correctly. "
-          text run at (305,72) width 315: "You should see all of A-L (and half of M) above. "
-          text run at (619,72) width 160: "The code was incorrectly"
+          text run at (0,72) width 305: "not all of the text in the SVG is drawn correctly. "
+          text run at (305,72) width 313: "You should see all of A-L (and half of M) above. "
+          text run at (618,72) width 159: "The code was incorrectly"
           text run at (0,92) width 757: "calculating the PaintInfo::rect (damage rect) when passing it through LayoutBlockFlow and render block was (correctly)"
           text run at (0,112) width 300: "clipping out some of the lineboxes during paint."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-01-b-expected.txt
index 0d3d1fa..dfb0f20 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-01-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (5,8.80) size 451.80x277.80
-      LayoutSVGText {text} at (5,8.80) size 441.42x39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,8.80) size 441.42x39
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 31 width 441.43: "Test 'text-anchor' (horizontal)"
+      LayoutSVGText {text} at (5,8.80) size 441.59x39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,8.80) size 441.59x39
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 31 width 441.60: "Test 'text-anchor' (horizontal)"
       LayoutSVGContainer {g} at (20,102.41) size 436.80x184.19
         LayoutSVGContainer {g} at (-3,-27.59) size 229.80x34.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(230.00,130.00)}]
           LayoutSVGPath {line} at (0,0) size 50x0 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=0.00] [x2=50.00] [y2=0.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-02-b-expected.txt
index e225631e..7994caf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-02-b-expected.txt
@@ -2,10 +2,10 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (5,8.80) size 472.63x275.28
-      LayoutSVGText {text} at (5,8.80) size 472.63x39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,8.80) size 472.63x39
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 34 width 472.63: "Test 'baseline-shift' (horizontal)"
+    LayoutSVGContainer {g} at (5,8.80) size 472.80x275.28
+      LayoutSVGText {text} at (5,8.80) size 472.80x39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,8.80) size 472.80x39
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 34 width 472.80: "Test 'baseline-shift' (horizontal)"
       LayoutSVGContainer {g} at (0,-34.59) size 402x198.67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(15.00,120.00)}]
         LayoutSVGText {text} at (0,-34.59) size 348.59x41.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,-27.59) size 97.19x34.19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-03-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-03-b-expected.png
index 2be449b..dc9bd6a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-03-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-03-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-03-b-expected.txt
index 0a2e618..01f2f73 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-03-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (-2.39,4) size 472.19x221
-      LayoutSVGText {text} at (5,4) size 347.16x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,4) size 347.16x45
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 347.17: "Test of 'text-anchor'"
+      LayoutSVGText {text} at (5,4) size 346.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,4) size 346.80x45
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 346.80: "Test of 'text-anchor'"
       LayoutSVGPath {line} at (225,75) size 0x150 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=225.00] [y1=75.00] [x2=225.00] [y2=225.00]
       LayoutSVGContainer {g} at (-2.39,82.39) size 472.19x134.19
         LayoutSVGText {text} at (-2.39,82.39) size 472.19x134.19 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-04-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-04-b-expected.png
index f00b24f..76f17502 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-04-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-04-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-04-b-expected.txt
index 4f22509..2a455b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-04-b-expected.txt
@@ -3,17 +3,17 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (-5,4) size 483.59x262.58
-      LayoutSVGText {text} at (5,4) size 347.16x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,4) size 347.16x45
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 347.17: "Test of 'text-anchor'"
+      LayoutSVGText {text} at (5,4) size 346.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,4) size 346.80x45
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 346.80: "Test of 'text-anchor'"
       LayoutSVGHiddenContainer {defs} at (-5,-14.39) size 225x274.39
         LayoutSVGText {text} at (0,-14.39) size 82.19x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,-14.39) size 82.19x18.59
             chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 13 width 80.40: "end text tref"
         LayoutSVGPath {path} at (-5,260) size 225x0 [fill={[type=SOLID] [color=#000000]}] [data="M -5 260 L 220 260"]
-      LayoutSVGText {text} at (20,52.39) size 216.86x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (20,52.39) size 216.86x34.19
-          chunk 1 text run 1 at (20.00,80.00) startOffset 0 endOffset 17 width 216.87: "Tspan, tref, toap"
+      LayoutSVGText {text} at (20,52.39) size 216.59x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (20,52.39) size 216.59x34.19
+          chunk 1 text run 1 at (20.00,80.00) startOffset 0 endOffset 17 width 216.60: "Tspan, tref, toap"
       LayoutSVGPath {line} at (220,120) size 0x140 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=220.00] [y1=120.00] [x2=220.00] [y2=260.00]
       LayoutSVGContainer {g} at (-5,112.39) size 483.59x154.19
         LayoutSVGText {text} at (220,112.39) size 258.59x34.19 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-05-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-05-b-expected.png
index ce86e3c..ad32f9a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-05-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-05-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-05-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-05-b-expected.txt
index 0c2b250..9c1fec0d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-05-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-05-b-expected.txt
@@ -2,10 +2,10 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (5,4) size 467.77x317
-      LayoutSVGText {text} at (5,4) size 467.77x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,4) size 467.77x45
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 29 width 467.77: "Test 'text-anchor' (vertical)"
+    LayoutSVGContainer {g} at (5,4) size 467.39x317
+      LayoutSVGText {text} at (5,4) size 467.39x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,4) size 467.39x45
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 29 width 467.40: "Test 'text-anchor' (vertical)"
       LayoutSVGContainer {g} at (142.91,47.41) size 134.19x273.59
         LayoutSVGContainer {g} at (-17.09,-102.59) size 134.19x273.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(160.00,150.00)}]
           LayoutSVGContainer {g} at (-17.09,-3) size 34.19x174
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-06-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-06-b-expected.png
index b12888e..845efc52 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-06-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-06-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-06-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-06-b-expected.txt
index 82df9b3..4620885 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-06-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-align-06-b-expected.txt
@@ -2,10 +2,10 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (0,4) size 483.95x363.80
-      LayoutSVGText {text} at (0,4) size 483.95x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,4) size 483.95x45
-          chunk 1 text run 1 at (0.00,40.00) startOffset 0 endOffset 31 width 483.97: "Test 'baseline-shift' (vertic.)"
+    LayoutSVGContainer {g} at (0,4) size 483.59x363.80
+      LayoutSVGText {text} at (0,4) size 483.59x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,4) size 483.59x45
+          chunk 1 text run 1 at (0.00,40.00) startOffset 0 endOffset 31 width 483.60: "Test 'baseline-shift' (vertic.)"
       LayoutSVGContainer {g} at (72.91,60) size 311.67x307.80
         LayoutSVGContainer {g} at (-17.09,0) size 311.67x307.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(90.00,60.00)}]
           LayoutSVGText {text} at (-17.09,0) size 41.19x171 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-deco-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-deco-01-b-expected.png
index 069b59e..65b69e8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-deco-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-deco-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-deco-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-deco-01-b-expected.txt
index 51f2a4a9..d5c962a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-deco-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-deco-01-b-expected.txt
@@ -2,44 +2,44 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (10,4.39) size 378.16x276
-      LayoutSVGText {text} at (10,4.39) size 154.81x19.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,4.39) size 154.81x19.19
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 23 width 154.83: "Test 'text-decoration'."
-      LayoutSVGContainer {g} at (25,43.39) size 363.16x237
+    LayoutSVGContainer {g} at (10,4.39) size 378.59x276
+      LayoutSVGText {text} at (10,4.39) size 155.39x19.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,4.39) size 155.39x19.19
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 23 width 155.40: "Test 'text-decoration'."
+      LayoutSVGContainer {g} at (25,43.39) size 363.59x237
         LayoutSVGText {text} at (25,43.39) size 121.80x27 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,43.39) size 121.80x27
             chunk 1 text run 1 at (25.00,65.00) startOffset 0 endOffset 11 width 121.80: "Normal text"
-        LayoutSVGText {text} at (25,113.39) size 224.73x27 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25,113.39) size 224.73x27
-            chunk 1 text run 1 at (25.00,135.00) startOffset 0 endOffset 22 width 224.74: "Text with line-through"
+        LayoutSVGText {text} at (25,113.39) size 225x27 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25,113.39) size 225x27
+            chunk 1 text run 1 at (25.00,135.00) startOffset 0 endOffset 22 width 225.00: "Text with line-through"
         LayoutSVGText {text} at (25,183.39) size 160.19x27 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,183.39) size 160.19x27
             chunk 1 text run 1 at (25.00,205.00) startOffset 0 endOffset 15 width 160.20: "Underlined text"
-        LayoutSVGText {text} at (25,253.39) size 363.16x27 contains 1 chunk(s)
-          LayoutSVGTSpan {tspan} at (25,253.39) size 363.16x27
+        LayoutSVGText {text} at (25,253.39) size 363.59x27 contains 1 chunk(s)
+          LayoutSVGTSpan {tspan} at (25,253.39) size 363.59x27
             LayoutSVGInlineText {#text} at (25,253.39) size 45x27
               chunk 1 text run 1 at (25.00,275.00) startOffset 0 endOffset 3 width 45.00: "One"
           LayoutSVGInlineText {#text} at (70,253.39) size 6.59x27
             chunk 1 text run 1 at (70.00,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 363.16x27
+          LayoutSVGTSpan {tspan} at (25,253.39) size 363.59x27
             LayoutSVGInlineText {#text} at (76.59,253.39) size 51.59x27
               chunk 1 text run 1 at (76.60,275.00) startOffset 0 endOffset 4 width 51.60: "word"
           LayoutSVGInlineText {#text} at (128.19,253.39) size 6.59x27
             chunk 1 text run 1 at (128.20,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 363.16x27
+          LayoutSVGTSpan {tspan} at (25,253.39) size 363.59x27
             LayoutSVGInlineText {#text} at (134.80,253.39) size 38.39x27
               chunk 1 text run 1 at (134.80,275.00) startOffset 0 endOffset 3 width 38.40: "has"
           LayoutSVGInlineText {#text} at (173.19,253.39) size 6.59x27
             chunk 1 text run 1 at (173.20,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 363.16x27
-            LayoutSVGInlineText {#text} at (179.80,253.39) size 85.36x27
-              chunk 1 text run 1 at (179.80,275.00) startOffset 0 endOffset 9 width 85.37: "different"
-          LayoutSVGInlineText {#text} at (265.16,253.39) size 6.59x27
-            chunk 1 text run 1 at (265.17,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 363.16x27
-            LayoutSVGInlineText {#text} at (271.77,253.39) size 116.39x27
-              chunk 1 text run 1 at (271.77,275.00) startOffset 0 endOffset 11 width 116.40: "underlining"
+          LayoutSVGTSpan {tspan} at (25,253.39) size 363.59x27
+            LayoutSVGInlineText {#text} at (179.80,253.39) size 85.80x27
+              chunk 1 text run 1 at (179.80,275.00) startOffset 0 endOffset 9 width 85.80: "different"
+          LayoutSVGInlineText {#text} at (265.59,253.39) size 6.59x27
+            chunk 1 text run 1 at (265.60,275.00) startOffset 0 endOffset 1 width 6.60: " "
+          LayoutSVGTSpan {tspan} at (25,253.39) size 363.59x27
+            LayoutSVGInlineText {#text} at (272.19,253.39) size 116.39x27
+              chunk 1 text run 1 at (272.20,275.00) startOffset 0 endOffset 11 width 116.40: "underlining"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-intro-05-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-intro-05-t-expected.png
index 5ced135..02d6402 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-intro-05-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-intro-05-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-intro-05-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-intro-05-t-expected.txt
index 43c9118..ebc94a9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-intro-05-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-intro-05-t-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (43,49.31) size 418.80x197.88
-      LayoutSVGText {text} at (113.19,49.31) size 348.59x37.88 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (113.19,49.31) size 348.59x37.88
+    LayoutSVGContainer {g} at (43,49.39) size 418.80x197.80
+      LayoutSVGText {text} at (113.19,49.39) size 348.59x37.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (113.19,49.39) size 348.59x37.80
           chunk 1 (end anchor) text run 1 at (113.20,80.00) startOffset 0 endOffset 37 width 346.80 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
-      LayoutSVGText {text} at (43,123.55) size 418.80x44.84 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (43,123.55) size 418.80x44.84
+      LayoutSVGText {text} at (43,123.39) size 418.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (43,123.39) size 418.80x45
           chunk 1 (end anchor) text run 1 at (43.00,160.00) startOffset 0 endOffset 37 width 417.00 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
-      LayoutSVGText {text} at (113.19,209.31) size 348.59x37.88 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (113.19,209.31) size 348.59x37.88
+      LayoutSVGText {text} at (113.19,209.39) size 348.59x37.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (113.19,209.39) size 348.59x37.80
           chunk 1 (end anchor) text run 1 at (113.20,240.00) startOffset 0 endOffset 37 width 346.80 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-path-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-path-01-b-expected.png
index 8385894..91ade57d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-path-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-path-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-path-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-path-01-b-expected.txt
index 472b10b..8edef54 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-path-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-path-01-b-expected.txt
@@ -63,30 +63,30 @@
       LayoutSVGContainer {g} at (113,211.39) size 300x79.80
         LayoutSVGContainer {use} at (113,233) size 300x0
           LayoutSVGPath {path} at (113,233) size 300x0 [stroke={[type=SOLID] [color=#0000FF] [stroke width=4.00]}] [data="M 113 233 L 413 233"]
-        LayoutSVGText {text} at (212,211.39) size 176.73x27 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (212,211.39) size 176.73x27
-            LayoutSVGInlineText {#text} at (212,211.39) size 176.73x27
+        LayoutSVGText {text} at (212,211.39) size 177x27 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (212,211.39) size 177x27
+            LayoutSVGInlineText {#text} at (212,211.39) size 177x27
               chunk 1 text run 1 at (219.20,233.00) startOffset 0 endOffset 1 width 14.40: "T"
               chunk 1 text run 2 at (233.00,233.00) startOffset 1 endOffset 2 width 13.20: "h"
               chunk 1 text run 3 at (246.20,233.00) startOffset 2 endOffset 3 width 13.20: "e"
               chunk 1 text run 4 at (256.10,233.00) startOffset 3 endOffset 4 width 6.60: " "
-              chunk 1 text run 5 at (265.93,233.00) startOffset 4 endOffset 5 width 14.40: "T"
-              chunk 1 text run 6 at (278.40,233.00) startOffset 5 endOffset 6 width 13.20: "e"
-              chunk 1 text run 7 at (290.34,233.00) startOffset 6 endOffset 7 width 12.00: "x"
-              chunk 1 text run 8 at (299.64,233.00) startOffset 7 endOffset 8 width 6.60: "t"
-              chunk 1 text run 9 at (306.24,233.00) startOffset 8 endOffset 9 width 6.60: " "
-              chunk 1 text run 10 at (316.14,233.00) startOffset 9 endOffset 10 width 13.20: "o"
-              chunk 1 text run 11 at (329.34,233.00) startOffset 10 endOffset 11 width 13.20: "n"
-              chunk 1 text run 12 at (339.24,233.00) startOffset 11 endOffset 12 width 6.60: " "
-              chunk 1 text run 13 at (349.14,233.00) startOffset 12 endOffset 13 width 13.20: "p"
-              chunk 1 text run 14 at (362.34,233.00) startOffset 13 endOffset 14 width 13.20: "a"
-              chunk 1 text run 15 at (372.24,233.00) startOffset 14 endOffset 15 width 6.60: "t"
-              chunk 1 text run 16 at (382.14,233.00) startOffset 15 endOffset 16 width 13.20: "h"
+              chunk 1 text run 5 at (266.00,233.00) startOffset 4 endOffset 5 width 14.40: "T"
+              chunk 1 text run 6 at (278.60,233.00) startOffset 5 endOffset 6 width 13.20: "e"
+              chunk 1 text run 7 at (290.60,233.00) startOffset 6 endOffset 7 width 12.00: "x"
+              chunk 1 text run 8 at (299.90,233.00) startOffset 7 endOffset 8 width 6.60: "t"
+              chunk 1 text run 9 at (306.50,233.00) startOffset 8 endOffset 9 width 6.60: " "
+              chunk 1 text run 10 at (316.40,233.00) startOffset 9 endOffset 10 width 13.20: "o"
+              chunk 1 text run 11 at (329.60,233.00) startOffset 10 endOffset 11 width 13.20: "n"
+              chunk 1 text run 12 at (339.50,233.00) startOffset 11 endOffset 12 width 6.60: " "
+              chunk 1 text run 13 at (349.40,233.00) startOffset 12 endOffset 13 width 13.20: "p"
+              chunk 1 text run 14 at (362.60,233.00) startOffset 13 endOffset 14 width 13.20: "a"
+              chunk 1 text run 15 at (372.50,233.00) startOffset 14 endOffset 15 width 6.60: "t"
+              chunk 1 text run 16 at (382.40,233.00) startOffset 15 endOffset 16 width 13.20: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGRect {rect} at (118,250) size 260x41 [stroke={[type=SOLID] [color=#000000]}] [x=118.00] [y=250.00] [width=260.00] [height=41.00]
-        LayoutSVGText {text} at (120,248.39) size 227.63x22.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (120,248.39) size 227.63x22.80
-            chunk 1 text run 1 at (120.00,267.00) startOffset 0 endOffset 30 width 227.64: "'startOffset' attribute of the"
+        LayoutSVGText {text} at (120,248.39) size 228x22.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (120,248.39) size 228x22.80
+            chunk 1 text run 1 at (120.00,267.00) startOffset 0 endOffset 30 width 228.00: "'startOffset' attribute of the"
         LayoutSVGText {text} at (120,268.39) size 159x22.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (120,268.39) size 159x22.80
             chunk 1 text run 1 at (120.00,287.00) startOffset 0 endOffset 19 width 159.00: "'textPath' element."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-spacing-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-spacing-01-b-expected.txt
index f9e774f0..05195514 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-spacing-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-spacing-01-b-expected.txt
@@ -2,8 +2,8 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (3,0.80) size 72.70x49.89
-      LayoutSVGContainer {g} at (3,0.80) size 72.70x49.89
+    LayoutSVGContainer {g} at (3,0.80) size 72.69x49.89
+      LayoutSVGContainer {g} at (3,0.80) size 72.69x49.89
         LayoutSVGText {text} at (3,0.80) size 55.09x8.89 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (3,0.80) size 55.09x8.89
             chunk 1 text run 1 at (3.00,8.00) startOffset 0 endOffset 16 width 55.10: "letter-spacing:0"
@@ -45,21 +45,21 @@
             chunk 1 text run 15 at (55.60,24.00) startOffset 14 endOffset 15 width 2.20: ":"
             chunk 1 text run 16 at (58.10,24.00) startOffset 15 endOffset 16 width 2.20: "."
             chunk 1 text run 17 at (60.60,24.00) startOffset 16 endOffset 17 width 4.50: "3"
-        LayoutSVGText {text} at (3,25.80) size 63.70x8.89 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (3,25.80) size 63.70x8.89
-            chunk 1 text run 1 at (3.00,33.00) startOffset 0 endOffset 16 width 63.71: "ws:0 - Two Words"
-        LayoutSVGText {text} at (3,33.80) size 57.41x8.89 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (3,33.80) size 57.41x8.89
+        LayoutSVGText {text} at (3,25.80) size 63.69x8.89 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (3,25.80) size 63.69x8.89
+            chunk 1 text run 1 at (3.00,33.00) startOffset 0 endOffset 16 width 63.70: "ws:0 - Two Words"
+        LayoutSVGText {text} at (3,33.80) size 57.39x8.89 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (3,33.80) size 57.39x8.89
             chunk 1 text run 1 at (3.00,41.00) startOffset 0 endOffset 6 width 21.40: "ws:-3 "
             chunk 1 text run 2 at (21.40,41.00) startOffset 6 endOffset 8 width 4.90: "- "
-            chunk 1 text run 3 at (23.30,41.00) startOffset 8 endOffset 12 width 16.96: "Two "
-            chunk 1 text run 4 at (37.26,41.00) startOffset 12 endOffset 17 width 23.16: "Words"
-        LayoutSVGText {text} at (3,41.80) size 72.70x8.89 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (3,41.80) size 72.70x8.89
+            chunk 1 text run 3 at (23.30,41.00) startOffset 8 endOffset 12 width 17.00: "Two "
+            chunk 1 text run 4 at (37.30,41.00) startOffset 12 endOffset 17 width 23.10: "Words"
+        LayoutSVGText {text} at (3,41.80) size 72.69x8.89 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (3,41.80) size 72.69x8.89
             chunk 1 text run 1 at (3.00,49.00) startOffset 0 endOffset 5 width 18.70: "ws:3 "
             chunk 1 text run 2 at (24.70,49.00) startOffset 5 endOffset 7 width 4.90: "- "
-            chunk 1 text run 3 at (32.60,49.00) startOffset 7 endOffset 11 width 16.96: "Two "
-            chunk 1 text run 4 at (52.56,49.00) startOffset 11 endOffset 16 width 23.16: "Words"
+            chunk 1 text run 3 at (32.60,49.00) startOffset 7 endOffset 11 width 17.00: "Two "
+            chunk 1 text run 4 at (52.60,49.00) startOffset 11 endOffset 16 width 23.10: "Words"
     LayoutSVGText {text} at (5,51.59) size 39.59x6.80 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (5,51.59) size 39.59x6.80
         chunk 1 text run 1 at (5.00,57.00) startOffset 0 endOffset 16 width 39.60: "$Revision: 1.6 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-07-t-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-07-t-expected.png
index c21dfda..e59a997 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-07-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-07-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-07-t-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-07-t-expected.txt
index 4dacccbd..49cef05 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-07-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-07-t-expected.txt
@@ -13,14 +13,14 @@
           chunk 1 text run 1 at (340.00,160.00) startOffset 0 endOffset 1 width 9.00: " "
           chunk 1 text run 1 at (360.00,180.00) startOffset 0 endOffset 1 width 25.20: "X"
           chunk 1 text run 1 at (385.20,200.00) startOffset 0 endOffset 2 width 34.20: " Y"
-      LayoutSVGText {text} at (10,28.19) size 146.97x53.28 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,28.19) size 146.97x53.28
+      LayoutSVGText {text} at (10,28.19) size 147.05x53.28 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,28.19) size 147.05x53.28
           chunk 1 text run 1 at (10.00,60.00) startOffset 0 endOffset 1 width 23.40: "R"
           chunk 1 text run 2 at (33.40,60.00) startOffset 1 endOffset 2 width 25.20: "O"
           chunk 1 text run 3 at (58.60,60.00) startOffset 2 endOffset 3 width 21.00: "T"
-          chunk 1 text run 4 at (78.20,60.00) startOffset 3 endOffset 4 width 25.20: "A"
-          chunk 1 text run 5 at (100.06,60.00) startOffset 4 endOffset 5 width 21.00: "T"
-          chunk 1 text run 6 at (119.12,60.00) startOffset 5 endOffset 6 width 21.00: "E"
+          chunk 1 text run 4 at (78.40,60.00) startOffset 3 endOffset 4 width 25.20: "A"
+          chunk 1 text run 5 at (100.00,60.00) startOffset 4 endOffset 5 width 21.00: "T"
+          chunk 1 text run 6 at (119.20,60.00) startOffset 5 endOffset 6 width 21.00: "E"
       LayoutSVGText {text} at (10,165.41) size 247.27x142.98 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,165.41) size 247.27x142.97
           chunk 1 text run 1 at (10.00,300.00) startOffset 0 endOffset 1 width 23.40: "B"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-08-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-08-b-expected.png
index f442421..34325f74 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-08-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-08-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-08-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-08-b-expected.txt
index f01b334..cec2aa3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-08-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-text-08-b-expected.txt
@@ -2,19 +2,19 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (19,-4.19) size 465.25x257.98
-      LayoutSVGText {text} at (19,-4.19) size 389.72x78 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,-4.19) size 389.72x78
-          chunk 1 text run 1 at (19.00,60.00) startOffset 0 endOffset 11 width 389.73: "Normal Text"
-      LayoutSVGText {text} at (19,55.80) size 343.48x78 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,55.80) size 343.48x78
-          chunk 1 text run 1 at (19.00,120.00) startOffset 0 endOffset 12 width 343.49: "Fill opacity"
-      LayoutSVGText {text} at (19,115.80) size 465.25x78 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,115.80) size 465.25x78
-          chunk 1 text run 1 at (19.00,180.00) startOffset 0 endOffset 14 width 465.26: "Stroke opacity"
-      LayoutSVGText {text} at (19,175.80) size 242.69x78 [opacity=0.50] contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,175.80) size 242.69x78 [opacity=0.50]
-          chunk 1 text run 1 at (19.00,240.00) startOffset 0 endOffset 7 width 242.69: "Opacity"
+    LayoutSVGContainer {g} at (19,-4.19) size 465x257.98
+      LayoutSVGText {text} at (19,-4.19) size 389.39x78 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,-4.19) size 389.39x78
+          chunk 1 text run 1 at (19.00,60.00) startOffset 0 endOffset 11 width 389.40: "Normal Text"
+      LayoutSVGText {text} at (19,55.80) size 343.80x78 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,55.80) size 343.80x78
+          chunk 1 text run 1 at (19.00,120.00) startOffset 0 endOffset 12 width 343.80: "Fill opacity"
+      LayoutSVGText {text} at (19,115.80) size 465x78 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,115.80) size 465x78
+          chunk 1 text run 1 at (19.00,180.00) startOffset 0 endOffset 14 width 465.00: "Stroke opacity"
+      LayoutSVGText {text} at (19,175.80) size 243x78 [opacity=0.50] contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,175.80) size 243x78 [opacity=0.50]
+          chunk 1 text run 1 at (19.00,240.00) startOffset 0 endOffset 7 width 243.00: "Opacity"
     LayoutSVGText {text} at (10,304) size 268.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 268.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 268.20: "$Revision: 1.3 $"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tselect-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tselect-01-b-expected.png
index b673572..5db62df8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tselect-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tselect-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tselect-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tselect-01-b-expected.txt
index cca89df6..40e75e4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tselect-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tselect-01-b-expected.txt
@@ -3,39 +3,39 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (1,1) size 478x358
-      LayoutSVGText {text} at (10,4.39) size 310.22x19.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,4.39) size 310.22x19.19
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 46 width 310.23: "Test single line and multiline text selection."
-      LayoutSVGContainer {g} at (25,49.39) size 371.70x219.19
+      LayoutSVGText {text} at (10,4.39) size 310.80x19.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,4.39) size 310.80x19.19
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 46 width 310.80: "Test single line and multiline text selection."
+      LayoutSVGContainer {g} at (25,49.39) size 371.39x219.19
         LayoutSVGText {text} at (25,49.39) size 261x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,49.39) size 261x19.19
             chunk 1 text run 1 at (25.00,65.00) startOffset 0 endOffset 37 width 261.00: "Here is a stand-alone 'text' element."
-        LayoutSVGText {text} at (25,74.39) size 305.70x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25,74.39) size 305.70x19.19
-            chunk 1 text run 1 at (25.00,90.00) startOffset 0 endOffset 43 width 305.72: "Here is a second 'text' element just below."
+        LayoutSVGText {text} at (25,74.39) size 305.39x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25,74.39) size 305.39x19.19
+            chunk 1 text run 1 at (25.00,90.00) startOffset 0 endOffset 43 width 305.40: "Here is a second 'text' element just below."
         LayoutSVGText {text} at (25,99.39) size 351.59x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,99.39) size 351.59x19.19
             chunk 1 text run 1 at (25.00,115.00) startOffset 0 endOffset 48 width 351.60: "Because these are four separate 'text' elements,"
         LayoutSVGText {text} at (25,124.39) size 333.59x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,124.39) size 333.59x19.19
             chunk 1 text run 1 at (25.00,140.00) startOffset 0 endOffset 47 width 333.60: "text selection should not go across lines here."
-        LayoutSVGText {text} at (25,174.39) size 371.70x94.19 contains 1 chunk(s)
-          LayoutSVGTSpan {tspan} at (25,174.39) size 371.70x94.19
-            LayoutSVGInlineText {#text} at (25,174.39) size 366.91x19.19
-              chunk 1 text run 1 at (25.00,190.00) startOffset 0 endOffset 50 width 366.92: "However, these lines of text are achieved by using"
-          LayoutSVGInlineText {#text} at (391.91,174.39) size 4.80x19.19
-            chunk 1 text run 1 at (391.92,190.00) startOffset 0 endOffset 1 width 4.80: " "
-          LayoutSVGTSpan {tspan} at (25,174.39) size 371.70x94.19
+        LayoutSVGText {text} at (25,174.39) size 371.39x94.19 contains 1 chunk(s)
+          LayoutSVGTSpan {tspan} at (25,174.39) size 371.39x94.19
+            LayoutSVGInlineText {#text} at (25,174.39) size 366.59x19.19
+              chunk 1 text run 1 at (25.00,190.00) startOffset 0 endOffset 50 width 366.60: "However, these lines of text are achieved by using"
+          LayoutSVGInlineText {#text} at (391.59,174.39) size 4.80x19.19
+            chunk 1 text run 1 at (391.60,190.00) startOffset 0 endOffset 1 width 4.80: " "
+          LayoutSVGTSpan {tspan} at (25,174.39) size 371.39x94.19
             LayoutSVGInlineText {#text} at (25,199.39) size 356.39x19.19
               chunk 1 text run 1 at (25.00,215.00) startOffset 0 endOffset 51 width 356.40: "one 'tspan' per line, all contained within the same"
           LayoutSVGInlineText {#text} at (381.39,199.39) size 4.80x19.19
             chunk 1 text run 1 at (381.40,215.00) startOffset 0 endOffset 1 width 4.80: " "
-          LayoutSVGTSpan {tspan} at (25,174.39) size 371.70x94.19
+          LayoutSVGTSpan {tspan} at (25,174.39) size 371.39x94.19
             LayoutSVGInlineText {#text} at (25,224.39) size 352.19x19.19
               chunk 1 text run 1 at (25.00,240.00) startOffset 0 endOffset 51 width 352.20: "'text' element, so you should be able to select all"
           LayoutSVGInlineText {#text} at (377.19,224.39) size 4.80x19.19
             chunk 1 text run 1 at (377.20,240.00) startOffset 0 endOffset 1 width 4.80: " "
-          LayoutSVGTSpan {tspan} at (25,174.39) size 371.70x94.19
+          LayoutSVGTSpan {tspan} at (25,174.39) size 371.39x94.19
             LayoutSVGInlineText {#text} at (25,249.39) size 197.39x19.19
               chunk 1 text run 1 at (25.00,265.00) startOffset 0 endOffset 28 width 197.40: "four lines at the same time."
           LayoutSVGInlineText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tspan-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tspan-01-b-expected.png
index 2ae873f6..4bcd30e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tspan-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tspan-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tspan-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tspan-01-b-expected.txt
index 73c8a48d..9297d72 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tspan-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/text/text-selection-tspan-01-b-expected.txt
@@ -2,30 +2,30 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (17.50,4.39) size 455.11x293.86
+    LayoutSVGContainer {g} at (17.50,4.39) size 455.09x293.86
       LayoutSVGText {text} at (25,4.39) size 431.39x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (25,4.39) size 431.39x19.19
           chunk 1 text run 1 at (25.00,20.00) startOffset 0 endOffset 60 width 431.40: "Basics of tspan: changing visual properties and positioning."
       LayoutSVGContainer {g} at (47.50,48.14) size 312.94x80.69
-        LayoutSVGText {text} at (74,48.14) size 163.53x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (74,48.14) size 55.53x19.19
-            chunk 1 text run 1 at (74.00,63.75) startOffset 0 endOffset 7 width 55.53: "You are"
-          LayoutSVGTSpan {tspan} at (74,48.14) size 163.53x19.80
-            LayoutSVGInlineText {#text} at (129.53,48.75) size 35.39x19.19
-              chunk 1 text run 1 at (129.53,63.75) startOffset 0 endOffset 5 width 35.40: " not "
-          LayoutSVGInlineText {#text} at (164.92,48.14) size 72.59x19.19
-            chunk 1 text run 1 at (164.93,63.75) startOffset 0 endOffset 9 width 72.60: "a banana."
+        LayoutSVGText {text} at (74,48.14) size 163.80x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (74,48.14) size 55.80x19.19
+            chunk 1 text run 1 at (74.00,63.75) startOffset 0 endOffset 7 width 55.80: "You are"
+          LayoutSVGTSpan {tspan} at (74,48.14) size 163.80x19.80
+            LayoutSVGInlineText {#text} at (129.80,48.75) size 35.39x19.19
+              chunk 1 text run 1 at (129.80,63.75) startOffset 0 endOffset 5 width 35.40: " not "
+          LayoutSVGInlineText {#text} at (165.19,48.14) size 72.59x19.19
+            chunk 1 text run 1 at (165.20,63.75) startOffset 0 endOffset 9 width 72.60: "a banana."
         LayoutSVGRect {rect} at (47.50,74.25) size 310.50x53.50 [stroke={[type=SOLID] [color=#000000]}] [x=47.50] [y=74.25] [width=310.50] [height=53.50]
-        LayoutSVGText {text} at (65.25,75.14) size 212.75x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (65.25,75.14) size 212.75x19.19
-            chunk 1 text run 1 at (65.25,90.75) startOffset 0 endOffset 29 width 212.76: "Text: \"You are not a banana.\""
+        LayoutSVGText {text} at (65.25,75.14) size 213.59x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (65.25,75.14) size 213.59x19.19
+            chunk 1 text run 1 at (65.25,90.75) startOffset 0 endOffset 29 width 213.60: "Text: \"You are not a banana.\""
         LayoutSVGText {text} at (65.25,92.39) size 295.19x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (65.25,92.39) size 295.19x19.19
             chunk 1 text run 1 at (65.25,108.00) startOffset 0 endOffset 43 width 295.20: "'tspan' changes visual attributes of \"not\","
         LayoutSVGText {text} at (65.25,109.64) size 87x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (65.25,109.64) size 87x19.19
             chunk 1 text run 1 at (65.25,125.25) startOffset 0 endOffset 13 width 87.00: "to red, bold."
-      LayoutSVGContainer {g} at (225,128) size 247.61x105.08
+      LayoutSVGContainer {g} at (225,128) size 247.59x105.08
         LayoutSVGText {text} at (257.50,128) size 180.19x44.09 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (257.50,138.14) size 55.80x19.19
             chunk 1 text run 1 at (257.50,153.75) startOffset 0 endOffset 7 width 55.80: "But you"
@@ -36,12 +36,12 @@
             LayoutSVGInlineText {#text} at (369.89,152.89) size 67.80x19.19
               chunk 1 text run 1 at (369.90,168.50) startOffset 0 endOffset 9 width 67.80: " a peach!"
         LayoutSVGRect {rect} at (225,179) size 245.50x53.50 [stroke={[type=SOLID] [color=#000000]}] [x=225.00] [y=179.00] [width=245.50] [height=53.50]
-        LayoutSVGText {text} at (238,179.39) size 204.02x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (238,179.39) size 204.02x19.19
-            chunk 1 text run 1 at (238.00,195.00) startOffset 0 endOffset 28 width 204.03: "Text: \"But you are a peach!\""
-        LayoutSVGText {text} at (238,196.64) size 234.61x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (238,196.64) size 234.61x19.19
-            chunk 1 text run 1 at (238.00,212.25) startOffset 0 endOffset 34 width 234.61: "Using dx,dy, 'tspan' raises \"are\","
+        LayoutSVGText {text} at (238,179.39) size 204.59x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (238,179.39) size 204.59x19.19
+            chunk 1 text run 1 at (238.00,195.00) startOffset 0 endOffset 28 width 204.60: "Text: \"But you are a peach!\""
+        LayoutSVGText {text} at (238,196.64) size 234.59x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (238,196.64) size 234.59x19.19
+            chunk 1 text run 1 at (238.00,212.25) startOffset 0 endOffset 34 width 234.60: "Using dx,dy, 'tspan' raises \"are\","
         LayoutSVGText {text} at (238,213.89) size 178.19x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (238,213.89) size 178.19x19.19
             chunk 1 text run 1 at (238.00,229.50) startOffset 0 endOffset 25 width 178.20: "'tspan' lowers \"a peach!\""
@@ -64,12 +64,12 @@
               chunk 1 text run 1 at (81.88,230.50) startOffset 0 endOffset 1 width 9.00: "u"
               chunk 1 text run 1 at (100.63,230.50) startOffset 0 endOffset 1 width 8.40: "z"
               chunk 1 text run 1 at (119.38,230.50) startOffset 0 endOffset 1 width 8.40: "z"
-              chunk 1 text run 1 at (138.13,230.50) startOffset 0 endOffset 2 width 12.01: "y."
+              chunk 1 text run 1 at (138.13,230.50) startOffset 0 endOffset 2 width 12.00: "y."
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGRect {rect} at (17.50,244.75) size 335.50x53.50 [stroke={[type=SOLID] [color=#000000]}] [x=17.50] [y=244.75] [width=335.50] [height=53.50]
-        LayoutSVGText {text} at (25.25,242.39) size 166.23x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25.25,242.39) size 166.23x19.19
-            chunk 1 text run 1 at (25.25,258.00) startOffset 0 endOffset 23 width 166.24: "Text: \"Cute and fuzzy.\""
+        LayoutSVGText {text} at (25.25,242.39) size 166.80x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25.25,242.39) size 166.80x19.19
+            chunk 1 text run 1 at (25.25,258.00) startOffset 0 endOffset 23 width 166.80: "Text: \"Cute and fuzzy.\""
         LayoutSVGText {text} at (25.25,259.64) size 329.39x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25.25,259.64) size 329.39x19.19
             chunk 1 text run 1 at (25.25,275.25) startOffset 0 endOffset 45 width 329.40: "'tspan' char-by-char placement of \"Cute and\","
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-mask-with-svg-transform-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-mask-with-svg-transform-expected.png
index acc3448..1a2c5b94 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-mask-with-svg-transform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-mask-with-svg-transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-mask-with-svg-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-mask-with-svg-transform-expected.txt
index 5c6a1d4b..9046560 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-mask-with-svg-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-mask-with-svg-transform-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (1,1) size 478x358 [transform={m=((0.43,0.25)(-0.25,0.43)) t=(50.00,50.00)}]
       LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-      LayoutSVGText {text} at (10,5.59) size 138.84x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,5.59) size 138.84x18
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 21 width 137.65: "Test for mask support"
+      LayoutSVGText {text} at (10,5.59) size 138x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,5.59) size 138x18
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 21 width 136.80: "Test for mask support"
       LayoutSVGRect {rect} at (10,30) size 100x260 [fill={[type=SOLID] [color=#FF0000]}] [x=10.00] [y=30.00] [width=100.00] [height=260.00]
       LayoutSVGResourceMasker {mask} [id="mask1"] [maskUnits=userSpaceOnUse] [maskContentUnits=userSpaceOnUse]
         LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
@@ -40,9 +40,9 @@
         [masker="mask3"] LayoutSVGResourceMasker {mask} at (60,200) size 200x100
         LayoutSVGInlineText {#text} at (60,181.59) size 219.59x124.80
           chunk 1 text run 1 at (60.00,280.00) startOffset 0 endOffset 3 width 219.60: "SVG"
-      LayoutSVGText {text} at (200,213) size 202.66x15.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (200,213) size 202.66x15.59
-          chunk 1 text run 1 at (200.00,225.00) startOffset 0 endOffset 36 width 202.67: "Text with mask containing rectangles"
+      LayoutSVGText {text} at (200,213) size 201.59x15.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (200,213) size 201.59x15.59
+          chunk 1 text run 1 at (200.00,225.00) startOffset 0 endOffset 36 width 201.60: "Text with mask containing rectangles"
       LayoutSVGText {text} at (200,228) size 106.80x15.59 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (200,228) size 106.80x15.59
           chunk 1 text run 1 at (200.00,240.00) startOffset 0 endOffset 20 width 106.80: "of various opacities"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.png
index cd548eb2..448b207 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt
index ea8bb86..cbb7637 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {p} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 550x19
           text run at (0,0) width 318: "CSS Transformed HTML div with SVG inside it. "
-          text run at (317,0) width 233: "objectBoundingBox patterns on text."
+          text run at (318,0) width 232: "objectBoundingBox patterns on text."
 layer at (58,86) size 400x400
   LayoutBlockFlow {div} at (50,70) size 400x400
     LayoutSVGRoot {svg} at (0,0) size 400x300
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/wicd/test-scalable-background-image1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/wicd/test-scalable-background-image1-expected.png
index d4feca9..b486db2b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/wicd/test-scalable-background-image1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/wicd/test-scalable-background-image1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/wicd/test-scalable-background-image1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/wicd/test-scalable-background-image1-expected.txt
index f572084..9f0087f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/wicd/test-scalable-background-image1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/wicd/test-scalable-background-image1-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 315x30
           text run at (0,0) width 315: "scalable CSS background"
       LayoutBlockFlow {h4} at (10,71.72) size 752x16
-        LayoutText {#text} at (0,0) size 124x16
-          text run at (0,0) width 124: "WICD Core 1.0 #11"
+        LayoutText {#text} at (0,0) size 123x16
+          text run at (0,0) width 123: "WICD Core 1.0 #11"
       LayoutBlockFlow {p} at (10,106.86) size 711.83x37
         LayoutText {#text} at (10,10) size 495x17
           text run at (10,10) width 495: "This text paragraph, as well as all following, must have a SVG background image."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-coords-viewattr-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-coords-viewattr-01-b-expected.png
index 94f7435..7d791d5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-coords-viewattr-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-coords-viewattr-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt
index a58f6cd..6fa63f5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt
@@ -14,14 +14,14 @@
             LayoutSVGEllipse {circle} at (10.50,10.50) size 3x3 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
             LayoutSVGEllipse {circle} at (15.50,10.50) size 3x3 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
             LayoutSVGPath {path} at (10,19) size 10x4 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [data="M 10 19 L 15 23 L 20 19"]
-        LayoutSVGText {text} at (10,102.19) size 41.45x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,102.19) size 41.45x10.19
-            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 41.46: "Viewport 1"
+        LayoutSVGText {text} at (10,102.19) size 41.98x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,102.19) size 41.98x10.19
+            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 42.00: "Viewport 1"
         LayoutSVGContainer {g} at (0.50,0.50) size 49x29 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,120.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 49x29 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=49.00] [height=29.00]
-        LayoutSVGText {text} at (10,172.19) size 41.45x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,172.19) size 41.45x10.19
-            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 41.46: "Viewport 2"
+        LayoutSVGText {text} at (10,172.19) size 41.98x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,172.19) size 41.98x10.19
+            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 42.00: "Viewport 2"
         LayoutSVGContainer {g} at (0.50,0.50) size 29x59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,190.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 29x59 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=29.00] [height=59.00]
         LayoutSVGContainer {g} at (0,-27.80) size 119.50x107.42 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,50.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-hixie-mixed-008-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-hixie-mixed-008-expected.txt
deleted file mode 100644
index 4a84a213..0000000
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-hixie-mixed-008-expected.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 668
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 785x668 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutBlockFlow {html} at (0,0) size 785x667.58
-    LayoutBlockFlow {body} at (11.52,23.03) size 761.97x633.03
-      LayoutBlockFlow {p} at (0,0) size 761.97x27 [color=#000080]
-        LayoutText {#text} at (0,0) size 594x26
-          text run at (0,0) width 594: "There should be a blue circle with the word \"TEST\" in it below."
-      LayoutBlockFlow (anonymous) at (0,50.03) size 761.97x583
-        LayoutSVGRoot {svg} at (0,0) size 576x576
-          LayoutSVGRect {rect} at (0,0) size 400x400 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=400.00] [height=400.00]
-          LayoutSVGEllipse {circle} at (0,0) size 400x400 [fill={[type=SOLID] [color=#000080]}] [cx=200.00] [cy=200.00] [r=200.00]
-          LayoutSVGForeignObject {foreignObject} at (0,175) size 400x50 [color=#FFFFFF]
-            LayoutBlockFlow {div} at (0,0) size 400x59
-              LayoutText {#text} at (139,1) size 122x57
-                text run at (139,1) width 122: "TEST"
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-hixie-mixed-009-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-hixie-mixed-009-expected.txt
index e240789..d620af130 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-hixie-mixed-009-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-hixie-mixed-009-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x402.63
     LayoutBlockFlow {body} at (11.52,11.52) size 776.97x379.59
       LayoutBlockFlow {p} at (0,0) size 776.97x27 [color=#000080]
-        LayoutText {#text} at (0,0) size 664x26
-          text run at (0,0) width 664: "The word \"TEST \" should appear twice below, the same size each time."
+        LayoutText {#text} at (0,0) size 663x26
+          text run at (0,0) width 663: "The word \"TEST \" should appear twice below, the same size each time."
       LayoutBlockFlow (anonymous) at (0,27) size 776.97x179.80
         LayoutSVGRoot {svg} at (0,0) size 576x172.80
           LayoutSVGRect {rect} at (0,0) size 60x12 [transform={m=((10.00,0.00)(0.00,10.00)) t=(0.00,0.00)}] [fill={[type=SOLID] [color=#EEEEEE]}] [x=0.00] [y=0.00] [width=60.00] [height=12.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-float-border-padding-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-float-border-padding-expected.txt
index 4b4e705..45ee676 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-float-border-padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-float-border-padding-expected.txt
@@ -7,7 +7,7 @@
         LayoutText {#text} at (0,0) size 758x53
           text run at (0,0) width 357: "The two blocks should look identical. "
           text run at (357,0) width 401: "One uses an SVG, and the other just uses a"
-          text run at (0,27) width 178: "normal HTML div."
+          text run at (0,27) width 177: "normal HTML div."
       LayoutBlockFlow {p} at (0,77.03) size 761.97x27
         LayoutText {#text} at (0,0) size 524x26
           text run at (0,0) width 524: "There should be a red, white and blue pattern below this"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png
index f55e96d..3cec18e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png
index 2732b22..ab61aa7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-008-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-008-expected.png
index b91bf785..2a4d9592 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-008-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-008-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-008-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-008-expected.txt
index 4653a24..f5bdcf3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-008-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-008-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x488.06
     LayoutBlockFlow {body} at (8,23.03) size 784x457.03
       LayoutBlockFlow {p} at (0,0) size 784x27 [color=#000080]
-        LayoutText {#text} at (0,0) size 594x26
-          text run at (0,0) width 594: "There should be a blue circle with the word \"TEST\" in it below."
+        LayoutText {#text} at (0,0) size 593x26
+          text run at (0,0) width 593: "There should be a blue circle with the word \"TEST\" in it below."
       LayoutBlockFlow (anonymous) at (0,50.03) size 784x407
         LayoutSVGRoot {svg} at (0,0) size 400x400
           LayoutSVGRect {rect} at (0,0) size 400x400 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=400.00] [height=400.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-009-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-009-expected.png
index 3ca48b9..2dea905 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-009-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-009-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-009-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-009-expected.txt
index 41b6e96..08b8494 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-009-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-hixie-mixed-009-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x290
     LayoutBlockFlow {body} at (8,8) size 784x274
       LayoutBlockFlow {p} at (0,0) size 784x27 [color=#000080]
-        LayoutText {#text} at (0,0) size 664x26
-          text run at (0,0) width 664: "The word \"TEST \" should appear twice below, the same size each time."
+        LayoutText {#text} at (0,0) size 663x26
+          text run at (0,0) width 663: "The word \"TEST \" should appear twice below, the same size each time."
       LayoutBlockFlow (anonymous) at (0,27) size 784x127
         LayoutSVGRoot {svg} at (0,0) size 400x120
           LayoutSVGRect {rect} at (0,0) size 60x12 [transform={m=((10.00,0.00)(0.00,10.00)) t=(0.00,0.00)}] [fill={[type=SOLID] [color=#EEEEEE]}] [x=0.00] [y=0.00] [width=60.00] [height=12.00]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-svg-float-border-padding-expected.png b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-svg-float-border-padding-expected.png
index bd55409..17655f3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-svg-float-border-padding-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-svg-float-border-padding-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-svg-float-border-padding-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-svg-float-border-padding-expected.txt
index f4ef9d1..546cc7b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-svg-float-border-padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-svg-float-border-padding-expected.txt
@@ -7,7 +7,7 @@
         LayoutText {#text} at (0,0) size 758x53
           text run at (0,0) width 357: "The two blocks should look identical. "
           text run at (357,0) width 401: "One uses an SVG, and the other just uses a"
-          text run at (0,27) width 178: "normal HTML div."
+          text run at (0,27) width 177: "normal HTML div."
       LayoutBlockFlow {p} at (0,77.03) size 769x27
         LayoutText {#text} at (0,0) size 524x26
           text run at (0,0) width 524: "There should be a red, white and blue pattern below this"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/layering/paint-test-layering-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/layering/paint-test-layering-1-expected.png
index d6b53f1..e3f7578 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/layering/paint-test-layering-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/layering/paint-test-layering-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/layering/paint-test-layering-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/layering/paint-test-layering-2-expected.png
index 82dda0d..f753931 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/layering/paint-test-layering-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/layering/paint-test-layering-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug10269-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug10269-1-expected.png
index 8b89004..3448fd0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug10269-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug10269-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug10296-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug10296-1-expected.png
index 021104a..071d688 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug10296-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug10296-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1055-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1055-1-expected.png
index 3469b24e..3c4225d5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1055-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1055-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug106158-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug106158-1-expected.png
index 338e8fa..3f400ea 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug106158-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug106158-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug106158-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug106158-2-expected.png
index f3e4cd2..0636f18 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug106158-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug106158-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug10633-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug10633-expected.png
index b6b1361..14819bbc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug10633-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug10633-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug109043-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug109043-expected.png
index 235efc0c..33dfe43 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug109043-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug109043-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug113235-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug113235-1-expected.png
index c6eecc8..1245c8f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug113235-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug113235-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug113235-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug113235-2-expected.png
index f035ca2..8567914 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug113235-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug113235-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1163-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1163-1-expected.png
index 86e4107..b831868 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1163-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1163-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1188-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1188-expected.png
index 11299468..ee96e4946 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1188-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1188-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug11944-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug11944-expected.png
index 0a9c1143..54facd4a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug11944-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug11944-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1302-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1302-expected.png
index 88863e18c..2ee5e61 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1302-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1302-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug131020-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug131020-expected.png
index d96830f..9637dfc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug131020-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug131020-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug131020_iframe-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug131020_iframe-expected.png
index 95ca739e..b1fc6c4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug131020_iframe-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug131020_iframe-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug13118-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug13118-expected.png
index b9d589f1..142c36e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug13118-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug13118-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1318-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1318-expected.png
index 5d3e1b0..ade5529 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1318-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1318-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug133756-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug133756-2-expected.png
index 3977281..a56d7e33 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug133756-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug133756-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug139524-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug139524-2-expected.png
index ca14218..77a883c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug139524-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug139524-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1430-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1430-expected.png
index 4f487e8..cd974a7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1430-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug1430-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug14323-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug14323-expected.png
index c68fdce..b1648561 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug14323-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug14323-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug149275-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug149275-2-expected.png
index 3f427285..03b1d492 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug149275-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug149275-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug14929-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug14929-expected.png
index 16f4ff63..15f25b88 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug14929-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug14929-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug15544-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug15544-expected.png
index cacc4aa..6925aaf8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug15544-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug15544-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug16012-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug16012-expected.png
index 048695317..54f2550 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug16012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug16012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug16252-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug16252-expected.png
index c86d9d1..7b381eb6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug16252-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug16252-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17130-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17130-1-expected.png
index fb62de9..39d9b91 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17130-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17130-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17130-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17130-2-expected.png
index 30ff968a..070b5445 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17130-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17130-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17138-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17138-expected.png
index 8ef6f55..62efbf6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17138-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17138-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17587-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17587-expected.png
index 274d06a2..aa2c8e13 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17587-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug17587-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug18359-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug18359-expected.png
index cb96a7f3..9528489 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug18359-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug18359-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug18664-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug18664-expected.png
index c2e81f4..887c0040 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug18664-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug18664-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug18955-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug18955-expected.png
index 0ba28a7..8ce0f38 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug18955-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug18955-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug19356-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug19356-expected.png
index cf775dd..4ff6787 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug19356-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug19356-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2050-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2050-expected.png
index 3023fb5..2bdbe62 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2050-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2050-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug20579-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug20579-expected.png
index 8ad2db8..fd2eaa2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug20579-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug20579-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2065-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2065-expected.png
index 81f60b9..df0880a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2065-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2065-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug20804-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug20804-expected.png
index 49d2978..4f6b265 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug20804-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug20804-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2123-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2123-expected.png
index 283cd75..3584099 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2123-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2123-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug220536-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug220536-expected.png
index 649b1b2..7429762 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug220536-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug220536-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-2-expected.png
index c4d6b7cc..40892bf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-2a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-2a-expected.png
index c4d6b7cc..40892bf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-2a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-2a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-3-expected.png
index f6be7356..50999425 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-3a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-3a-expected.png
index f6be7356..50999425 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-3a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug22246-3a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug23235-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug23235-expected.png
index d47cf177..fbc2359 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug23235-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug23235-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug23299-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug23299-expected.png
index f5a960ba..f33dbe8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug23299-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug23299-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug24627-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug24627-expected.png
index a2010e4..34aa8479 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug24627-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug24627-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-1-expected.png
index 96b256a..0070a3d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-2-expected.png
index 8daeb104..130e8328 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-3-expected.png
index 3b53ba30..b68aa6c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-4-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-4-expected.png
index cc37617a..60cdfab 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2509-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2509-expected.png
index 60497b6..12e387f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2509-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2509-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug25663-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug25663-expected.png
index 6f03a052..8d88c0a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug25663-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug25663-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2585-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2585-expected.png
index 9062bd2..6013a7e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2585-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2585-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug27038-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug27038-2-expected.png
index ca2ebc7..07a6bc6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug27038-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug27038-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug27038-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug27038-3-expected.png
index 8e4a228..0751ebed 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug27038-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug27038-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2886-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2886-expected.png
index a59edd2..532fce2c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2886-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2886-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug29058-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug29058-1-expected.png
index e188e80..d73e9c8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug29058-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug29058-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug29157-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug29157-expected.png
index efb1318f..5c00b12 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug29157-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug29157-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug29326-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug29326-expected.png
index 403ba76..afce1a0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug29326-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug29326-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2981-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2981-1-expected.png
index d93f140c..d41c3f5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2981-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2981-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2997-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2997-expected.png
index f1997d4..5fcf0fe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2997-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug2997-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30273-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30273-expected.png
index a5b96a4..2285c3d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30273-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30273-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30332-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30332-1-expected.png
index 6434c763..7ce1ad62 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30332-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30332-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30332-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30332-2-expected.png
index 6434c763..7ce1ad62 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30332-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30332-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30692-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30692-expected.png
index 79acf76..df98f76 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30692-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug30692-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug32205-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug32205-2-expected.png
index 728f9ae..85c2088 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug32205-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug32205-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug32205-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug32205-3-expected.png
index d348886..cd40ff4f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug32205-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug32205-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug32447-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug32447-expected.png
index 61b7f57..d6fa1db 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug32447-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug32447-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug3260-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug3260-expected.png
index ecbcfbb6..63d1914d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug3260-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug3260-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug34538-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug34538-expected.png
index 61b7f57..d6fa1db 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug34538-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug34538-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug3454-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug3454-expected.png
index 6942439..447574b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug3454-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug3454-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug3977-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug3977-expected.png
index 7914d5d..e341c11 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug3977-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug3977-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug42187-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug42187-expected.png
index 1befe5c..7c97e154 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug42187-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug42187-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug43039-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug43039-expected.png
index f878df0..b5f300ff 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug43039-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug43039-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug43854-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug43854-2-expected.png
index b46a0d7..e9339436 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug43854-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug43854-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug4427-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug4427-expected.png
index b62dff0..51954e7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug4427-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug4427-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug44523-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug44523-expected.png
index cba4e77..5dbd5de 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug44523-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug44523-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug4501-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug4501-expected.png
index 1bb70798..45abd9a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug4501-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug4501-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug45055-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug45055-2-expected.png
index 2f36a5d..16c7fc3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug45055-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug45055-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug45055-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug45055-expected.png
index 98a0c03..9942569 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug45055-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug45055-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug4576-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug4576-expected.png
index e06138a3..ae9057d5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug4576-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug4576-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46268-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46268-3-expected.png
index 067501f..7e73710 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46268-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46268-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46368-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46368-1-expected.png
index 2ea5393..c50b96c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46368-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46368-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46480-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46480-1-expected.png
index 8bdc814..30bcbf9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46480-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46480-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46480-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46480-2-expected.png
index d1cec26..a8220fe1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46480-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46480-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46623-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46623-1-expected.png
index e11139c..ed2d535 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46623-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46623-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46623-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46623-2-expected.png
index 613bdde9..1684fe5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46623-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug46623-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug48028-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug48028-1-expected.png
index c16c4d3..d189bbb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug48028-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug48028-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug51037-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug51037-expected.png
index afcdfdf..acabff4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug51037-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug51037-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5188-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5188-expected.png
index 0048c73..ce0d07a6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5188-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5188-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5538-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5538-expected.png
index 9479408cd..69e7eb1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5538-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5538-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug55694-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug55694-expected.png
index b815628..7f4cc1e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug55694-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug55694-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug57828-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug57828-2-expected.png
index 0dcedb9..579c92aa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug57828-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug57828-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5799-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5799-expected.png
index 6621365..a8303a4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5799-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5799-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5835-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5835-expected.png
index 26152b70..7ad377f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5835-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug5835-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug58402-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug58402-1-expected.png
index a27e191..cbe722a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug58402-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug58402-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug59354-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug59354-expected.png
index 8a356dc1..64be146 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug59354-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug59354-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug60749-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug60749-expected.png
index b837e3b..0511e8472 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug60749-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug60749-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6184-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6184-expected.png
index d47f6d5..4beb6fc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6184-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6184-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6304-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6304-expected.png
index 1718426..362e1c1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6304-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6304-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6404-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6404-expected.png
index d880b581..7b0dcfd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6404-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6404-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6674-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6674-expected.png
index 74aad39..049df7f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6674-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug6674-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug69187-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug69187-expected.png
index b734f67d..14e3ee3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug69187-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug69187-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug69382-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug69382-1-expected.png
index 9424134e..cb539b0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug69382-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug69382-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug69382-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug69382-2-expected.png
index 3f89c49..7bf4d7f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug69382-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug69382-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug709-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug709-expected.png
index d842074..d64fe67 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug709-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug709-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7112-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7112-1-expected.png
index 006c45e..5d1a060 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7112-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7112-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7112-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7112-2-expected.png
index ff2f2aa..f0db0397 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7112-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7112-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7121-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7121-1-expected.png
index cd06fec..fb7346f9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7121-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7121-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug73321-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug73321-expected.png
index 3665962..fdc71f6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug73321-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug73321-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7342-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7342-expected.png
index 2f54f66..b4ff9a7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7342-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug7342-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug80762-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug80762-1-expected.png
index 2f27d8d..65dd91e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug80762-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug80762-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug82946-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug82946-1-expected.png
index 8de55b7e..3575057 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug82946-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug82946-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug82946-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug82946-2-expected.png
index 6bf1cc8..c321de1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug82946-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug82946-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug8381-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug8381-expected.png
index 45bf4a6..9530743 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug8381-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug8381-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug86708-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug86708-expected.png
index 0e08586f..856bba3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug86708-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug86708-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug8858-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug8858-expected.png
index 0711e10..0fff3b5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug8858-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug8858-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug93363-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug93363-expected.png
index 8535980..06be142 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug93363-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug93363-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug96334-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug96334-expected.png
index 9fdc4d3..369ae7e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug96334-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug96334-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug965-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug965-expected.png
index 817e369..0026408 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug965-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/bugs/bug965-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/collapsing_borders/bug41262-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/collapsing_borders/bug41262-3-expected.png
index 383d0dfe..035ed498 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/collapsing_borders/bug41262-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/collapsing_borders/bug41262-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/bloomberg-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/bloomberg-expected.png
index 9189ad5..c7ee1e0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/bloomberg-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/bloomberg-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/borders-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/borders-expected.png
index 690e3b5..9df2d43 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/borders-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/borders-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/col_widths_auto_autoFix-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/col_widths_auto_autoFix-expected.png
index d3a817b..fc881b3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/col_widths_auto_autoFix-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/col_widths_auto_autoFix-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/margins-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/margins-expected.png
index 1364dae..3da6477 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/margins-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/margins-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/one_row-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/one_row-expected.png
index 59a412e..73b392f145 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/one_row-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/one_row-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/row_span-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/row_span-expected.png
index 6c89243..65c658f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/row_span-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/core/row_span-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/appendCol2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/appendCol2-expected.png
index a0fd2889..e67e3df 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/appendCol2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/appendCol2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/appendRowsExpand1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/appendRowsExpand1-expected.png
index b465092..5e29cea 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/appendRowsExpand1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/appendRowsExpand1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/appendTbodyExpand1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/appendTbodyExpand1-expected.png
index e26ad75..f479386a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/appendTbodyExpand1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/appendTbodyExpand1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteCellsShrink1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteCellsShrink1-expected.png
index 79242f1..31583ac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteCellsShrink1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteCellsShrink1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteCellsShrink2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteCellsShrink2-expected.png
index 8c6517747..04baafe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteCellsShrink2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteCellsShrink2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteRowsRebuild1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteRowsRebuild1-expected.png
index cee784b..8fad39f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteRowsRebuild1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteRowsRebuild1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteRowsShrink1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteRowsShrink1-expected.png
index cee784b..8fad39f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteRowsShrink1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteRowsShrink1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteTbodyExpand1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteTbodyExpand1-expected.png
index 8d3fa8a..2788fd6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteTbodyExpand1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteTbodyExpand1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteTbodyRebuild1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteTbodyRebuild1-expected.png
index b53ac6f..04deec16b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteTbodyRebuild1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/deleteTbodyRebuild1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsExpand1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsExpand1-expected.png
index 22e5bbd8..34269f0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsExpand1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsExpand1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsExpand2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsExpand2-expected.png
index 1da8f9e4..78b191f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsExpand2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsExpand2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsRebuild1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsRebuild1-expected.png
index 8f29e4d..7aac83ba 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsRebuild1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsRebuild1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsRebuild2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsRebuild2-expected.png
index a4c2d1c..ea97994 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsRebuild2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertCellsRebuild2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertRowsExpand1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertRowsExpand1-expected.png
index 7c1fe7d4..d27fd03b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertRowsExpand1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertRowsExpand1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertRowsRebuild1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertRowsRebuild1-expected.png
index 3b6eb379..9621a2e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertRowsRebuild1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/insertRowsRebuild1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/tableDom-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/tableDom-expected.png
index 98524dd..4f5934b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/tableDom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/dom/tableDom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/body_tfoot-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/body_tfoot-expected.png
index 4a5533d..d42ed7f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/body_tfoot-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/body_tfoot-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/col_span-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/col_span-expected.png
index 6b239df..b484450 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/col_span-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/col_span-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_center-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_center-expected.png
index a326ef791..29027eb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_center-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_center-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_justify-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_justify-expected.png
index 86bfa29..34fa96c6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_left-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_left-expected.png
index 89107bb4..3945314a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_right-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_right-expected.png
index a182763..03e9395 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_align_right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_span-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_span-expected.png
index 1800ea14..4234253 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_span-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/colgroup_span-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/table_rules_all-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/table_rules_all-expected.png
index 5110432..390abc4f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/table_rules_all-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/table_rules_all-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_bgcolor_teal-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_bgcolor_teal-expected.png
index cf4597a..8aba35b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_bgcolor_teal-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_bgcolor_teal-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_bgcolor_teal_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_bgcolor_teal_rgb-expected.png
index cf4597a..8aba35b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_bgcolor_teal_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_bgcolor_teal_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_border_1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_border_1-expected.png
index 159d289..2bc1c1c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_border_1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_border_1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_border_2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_border_2-expected.png
index fb61be3..79214ac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_border_2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_border_2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_border_3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_border_3-expected.png
index 83c7c1c..5f59790 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_border_3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_border_3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_caption_align_bot-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_caption_align_bot-expected.png
index 16a91bb..b7390bb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_caption_align_bot-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_caption_align_bot-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_caption_align_top-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_caption_align_top-expected.png
index 8008ee1..549c0b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_caption_align_top-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_caption_align_top-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_cellpadding-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_cellpadding-expected.png
index 5741208..f076c62 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_cellpadding-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_cellpadding-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_cellpadding_pct-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_cellpadding_pct-expected.png
index adeeced..2f500b9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_cellpadding_pct-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_cellpadding_pct-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_cellspacing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_cellspacing-expected.png
index 8352eb5..16b30ff 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_cellspacing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_cellspacing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_row_th_nowrap-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_row_th_nowrap-expected.png
index 25850a3..42272f3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_row_th_nowrap-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_row_th_nowrap-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_style-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_style-expected.png
index c19209a..67ebee0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_align_center-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_align_center-expected.png
index 66e2571..5fc76f2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_align_center-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_align_center-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_align_left-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_align_left-expected.png
index 1f8a442..d5a1dec9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_align_left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_align_left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_align_right-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_align_right-expected.png
index ceaeefc..d5442108 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_align_right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_align_right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_colspan-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_colspan-expected.png
index 33841b3..1fcd923 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_colspan-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_colspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_height-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_height-expected.png
index ef00a58..fe660fc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_height-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_height-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_nowrap-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_nowrap-expected.png
index 76d386d4..8d1a00d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_nowrap-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_nowrap-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_rowspan-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_rowspan-expected.png
index 76cbf4c..4e7618a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_rowspan-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_td_rowspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_align_center-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_align_center-expected.png
index a97fdedb..4159aa4e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_align_center-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_align_center-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_align_left-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_align_left-expected.png
index 4779096..5087b1ab 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_align_left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_align_left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_align_right-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_align_right-expected.png
index 1d3770a..08df8c3b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_align_right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_align_right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_colspan-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_colspan-expected.png
index d359b3e8..591b7982 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_colspan-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_colspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_height-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_height-expected.png
index 066aa6a..e6ed1543 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_height-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_height-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_rowspan-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_rowspan-expected.png
index 7a8d9cc..38cb9a4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_rowspan-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_rowspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_width-expected.png
index 865850f8..96d41de5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_th_width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_width_percent-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_width_percent-expected.png
index 4d24a5b..accfd0d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_width_percent-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tables_width_percent-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tbody_align_char-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tbody_align_char-expected.png
index db927854..d6b187e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tbody_align_char-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tbody_align_char-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tfoot_align_char-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tfoot_align_char-expected.png
index df0160e6..09bd2d0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tfoot_align_char-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tfoot_align_char-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tfoot_align_justify-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tfoot_align_justify-expected.png
index 07c0617..21a1fa2a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tfoot_align_justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tfoot_align_justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/thead_align_char-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/thead_align_char-expected.png
index 05d9030..3ced758 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/thead_align_char-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/thead_align_char-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_aqua_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_aqua_rgb-expected.png
index a3b4baa..f7b4fa5b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_aqua_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_aqua_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_black-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_black-expected.png
index edc1791..eac01d1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_black-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_black-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_black_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_black_rgb-expected.png
index edc1791..eac01d1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_black_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_black_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_blue-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_blue-expected.png
index 1a75ba9..d073590 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_blue-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_blue-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_blue_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_blue_rgb-expected.png
index 1a75ba9..d073590 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_blue_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_blue_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_fuchsia-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_fuchsia-expected.png
index a66c1590..0536a7f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_fuchsia-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_fuchsia-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_fuchsia_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_fuchsia_rgb-expected.png
index a66c1590..0536a7f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_fuchsia_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_fuchsia_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_gray-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_gray-expected.png
index 13e79623..d84384ae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_gray-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_gray-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_gray_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_gray_rgb-expected.png
index 13e79623..d84384ae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_gray_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_gray_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_green-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_green-expected.png
index 83fab825..4b2e2934 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_green-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_green-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_green_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_green_rgb-expected.png
index 83fab825..4b2e2934 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_green_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_green_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_lime-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_lime-expected.png
index dc37773..702b30a6b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_lime-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_lime-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_lime_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_lime_rgb-expected.png
index dc37773..702b30a6b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_lime_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_lime_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_maroon-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_maroon-expected.png
index 4f877fc..76c986d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_maroon-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_maroon-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_maroon_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_maroon_rgb-expected.png
index 4f877fc..76c986d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_maroon_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_maroon_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_navy-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_navy-expected.png
index e834f4e..b9308cf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_navy-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_navy-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_navy_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_navy_rgb-expected.png
index e834f4e..b9308cf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_navy_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_navy_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_olive-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_olive-expected.png
index 37c7032..13dfc31 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_olive-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_olive-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_olive_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_olive_rgb-expected.png
index 37c7032..13dfc31 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_olive_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_olive_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_purple-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_purple-expected.png
index 7bb54d7..55863ec 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_purple-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_purple-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_purple_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_purple_rgb-expected.png
index 7bb54d7..55863ec 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_purple_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_purple_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_red-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_red-expected.png
index e75a8f16..d8dd332 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_red-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_red-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_red_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_red_rgb-expected.png
index e75a8f16..d8dd332 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_red_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_red_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_silver-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_silver-expected.png
index c4600cfe..ab13ef1b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_silver-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_silver-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_silver_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_silver_rgb-expected.png
index c4600cfe..ab13ef1b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_silver_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_silver_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_teal-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_teal-expected.png
index 6ea16574..c19824a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_teal-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_teal-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_teal_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_teal_rgb-expected.png
index 6ea16574..c19824a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_teal_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_teal_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_white-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_white-expected.png
index 76c2d59..da676d0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_white-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_white-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_white_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_white_rgb-expected.png
index 76c2d59..da676d0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_white_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_white_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_yellow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_yellow-expected.png
index 70a628a..97a7dcf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_yellow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_yellow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_yellow_rgb-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_yellow_rgb-expected.png
index 70a628a..97a7dcf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_yellow_rgb-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/tr_bgcolor_yellow_rgb-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_col_width_rel-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_col_width_rel-expected.png
index 87ae178..3f75990987 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_col_width_rel-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_col_width_rel-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_colgroup_width_rel-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_colgroup_width_rel-expected.png
index 72f43a0..f126c12 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_colgroup_width_rel-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_colgroup_width_rel-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table-expected.png
index da0340dd..d93ec4f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_border-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_border-expected.png
index eb2175a..fd9c82e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_border_none-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_border_none-expected.png
index 2f0efd16..df495a0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_border_none-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_border_none-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_border_px-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_border_px-expected.png
index e59bea0..b41ed0d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_border_px-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_border_px-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_class-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_class-expected.png
index 1791379..4a2b841 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_class-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_class-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_id-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_id-expected.png
index f6b81b33..4b5408d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_id-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_id-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_rules_groups-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_rules_groups-expected.png
index 738979b..a6f2414 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_rules_groups-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_rules_groups-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_rules_none-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_rules_none-expected.png
index 2e8f690f..11ea4a7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_rules_none-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_rules_none-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_style-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_style-expected.png
index b8746242..3a48ee3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_table_style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tbody_align_justify-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tbody_align_justify-expected.png
index 95b4b24..f3ee1e41 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tbody_align_justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tbody_align_justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_center-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_center-expected.png
index abf210d1..4ac30dd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_center-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_center-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_char-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_char-expected.png
index 4b5ffef..41bcccb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_char-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_char-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_justify-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_justify-expected.png
index 10b1819..0ea13d7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_left-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_left-expected.png
index ea52d9d..e430fa9f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_right-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_right-expected.png
index 5d642d1..d6834ae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_td_align_right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tfoot_align_justify-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tfoot_align_justify-expected.png
index 35605dce..1a5f089 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tfoot_align_justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tfoot_align_justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_center-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_center-expected.png
index 52cb8c4..e1874b4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_center-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_center-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_char-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_char-expected.png
index 5e8f41a..32192ad 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_char-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_char-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_left-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_left-expected.png
index 8e5a6bf..e0c05ab9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_right-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_right-expected.png
index ca4988f..b0263eb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_align_right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_valign_baseline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_valign_baseline-expected.png
index eee69b8..9164757c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_valign_baseline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_th_valign_baseline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_thead_align_justify-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_thead_align_justify-expected.png
index 0bbf3b1..e21c40f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_thead_align_justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_thead_align_justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tr_align_char-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tr_align_char-expected.png
index 4b5ffef..41bcccb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tr_align_char-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tr_align_char-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tr_align_justify-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tr_align_justify-expected.png
index 17bbc92..36c9dbf6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tr_align_justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/marvin/x_tr_align_justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/nested2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/nested2-expected.png
index ad95d81..e99093fe5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/nested2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/nested2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/test3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/test3-expected.png
index 2f73a25..6209f1c3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/test3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/test3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/test6-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/test6-expected.png
index 16dec6b1..577ae78d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/test6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/test6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/wa_table_thtd_rowspan-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/wa_table_thtd_rowspan-expected.png
index 28960e6..f03a5b30 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/wa_table_thtd_rowspan-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/wa_table_thtd_rowspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/wa_table_tr_align-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/wa_table_tr_align-expected.png
index 1c20c46..2faea9fa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/wa_table_tr_align-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla/other/wa_table_tr_align-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1010-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1010-expected.png
index c163ade..3d9dcc45 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1010-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug10140-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug10140-expected.png
index 3c26093..9191d40 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug10140-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug10140-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png
index f744c6a..631bde29 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1128-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1128-expected.png
index 89ddc733..684efb7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1128-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1128-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug11331-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug11331-expected.png
index 3d342fd..d86f6cac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug11331-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug11331-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug14007-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug14007-2-expected.png
index 752a287..85496fc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug14007-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug14007-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1725-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1725-expected.png
index b0e3f5c9..4d60998c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1725-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug1725-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug17826-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug17826-expected.png
index fcc5a41b..54f5dfc4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug17826-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug17826-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug18770-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug18770-expected.png
index befc16c..1a203f9b9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug18770-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug18770-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug19526-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug19526-expected.png
index b282cd6..129e31d46 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug19526-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug19526-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png
index 076ef65..1195cb4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug25707-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug25707-expected.png
index 3b2bcc4..bf21f37 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug25707-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug25707-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug29058-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug29058-2-expected.png
index a53ec90..42eee2a0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug29058-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug29058-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug32205-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug32205-1-expected.png
index e87bbfd..ca7b28c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug32205-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug32205-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug32205-4-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug32205-4-expected.png
index baf669c..a53a2b1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug32205-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug32205-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug42043-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug42043-expected.png
index faba897..7e523e3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug42043-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug42043-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug46268-4-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug46268-4-expected.png
index a6ae7e6..36d9e95 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug46268-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug46268-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug56024-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug56024-expected.png
index e2ac1f1..89494ccd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug56024-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug56024-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug59252-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug59252-expected.png
index 8e0c62f..a4807fa2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug59252-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug59252-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug61042-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug61042-1-expected.png
index 6c1ce8b..33acbff 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug61042-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug61042-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug61042-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug61042-2-expected.png
index 6c1ce8b..33acbff 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug61042-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug61042-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug80762-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug80762-2-expected.png
index dc976c1..1dccdbd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug80762-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug80762-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug8499-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug8499-expected.png
index 57297098..b95248ab 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug8499-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug8499-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug89315-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug89315-expected.png
index a5b7ca3..bd0a1f9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug89315-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug89315-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug91057-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug91057-expected.png
index c51f75c..50aa097 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug91057-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug91057-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.png
index e66d081..b1a8b26 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.png
index cc12cf8..2d2898f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/backgrounds-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/backgrounds-expected.png
index 03ae63da..d759861 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/backgrounds-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/backgrounds-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/captions1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/captions1-expected.png
index 8302960..c27ab7a8b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/captions1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/captions1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/captions2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/captions2-expected.png
index f7e3397..e0c25c9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/captions2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/captions2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/captions3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/captions3-expected.png
index ceb3668..91277b72 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/captions3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/captions3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/cols1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/cols1-expected.png
index b9a48244..b864ab5dd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/cols1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/cols1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/standards1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/standards1-expected.png
index 4fd5487..87fb4dd2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/standards1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/core/standards1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/appendCells1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/appendCells1-expected.png
index 8024fc4..67cc49b0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/appendCells1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/appendCells1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/appendCellsRebuild1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/appendCellsRebuild1-expected.png
index d561116..15f40c1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/appendCellsRebuild1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/appendCellsRebuild1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/appendCol1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/appendCol1-expected.png
index a0fd2889..e67e3df 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/appendCol1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/appendCol1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/insertTbodyExpand1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/insertTbodyExpand1-expected.png
index 34735e49..f8487bd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/insertTbodyExpand1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/insertTbodyExpand1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/insertTbodyRebuild1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/insertTbodyRebuild1-expected.png
index 34735e49..f8487bd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/insertTbodyRebuild1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/dom/insertTbodyRebuild1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/table_frame_lhs-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/table_frame_lhs-expected.png
index 07cbef6..fe7205b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/table_frame_lhs-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/table_frame_lhs-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/table_frame_rhs-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/table_frame_rhs-expected.png
index 012a1fa..d6fc633 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/table_frame_rhs-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/table_frame_rhs-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/table_rules_cols-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/table_rules_cols-expected.png
index 44e4af1..5d2a436 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/table_rules_cols-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/table_rules_cols-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/tables_caption_align_left-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/tables_caption_align_left-expected.png
index 2a2acb1..49a36938 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/tables_caption_align_left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/tables_caption_align_left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/tables_caption_align_right-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/tables_caption_align_right-expected.png
index 9379f4c7..02c47e9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/tables_caption_align_right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/tables_caption_align_right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/tables_cellspacing_pct-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/tables_cellspacing_pct-expected.png
index 05f6e5aa..411d2f84 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/tables_cellspacing_pct-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/tables_cellspacing_pct-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/x_table_rules_all-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/x_table_rules_all-expected.png
index 47a2ff7..7bea5f6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/x_table_rules_all-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/x_table_rules_all-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/x_table_rules_cols-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/x_table_rules_cols-expected.png
index 01f12b7..8c4a9a2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/x_table_rules_cols-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/x_table_rules_cols-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/x_table_rules_rows-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/x_table_rules_rows-expected.png
index 36b6c70..ace50a2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/x_table_rules_rows-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/marvin/x_table_rules_rows-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/other/test4-expected.png b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/other/test4-expected.png
index 0663eed..a1ed596 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/other/test4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/tables/mozilla_expected_failures/other/test4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/compound-transforms-vs-containers-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/compound-transforms-vs-containers-expected.png
index 53b7da2b..5e2c917 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/compound-transforms-vs-containers-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/compound-transforms-vs-containers-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/compound-transforms-vs-containers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/compound-transforms-vs-containers-expected.txt
index 4e3d8cd3..c79d561 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/compound-transforms-vs-containers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/compound-transforms-vs-containers-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x560
     LayoutBlockFlow {BODY} at (8,16) size 784x524
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 767x39
-          text run at (0,0) width 767: "Test ensures that nested transformed elements produce the same result as a single compound transform.You should not see"
+        LayoutText {#text} at (0,0) size 765x39
+          text run at (0,0) width 765: "Test ensures that nested transformed elements produce the same result as a single compound transform.You should not see"
           text run at (0,20) width 188: "any red in the two tests below"
 layer at (78,76) size 402x222
   LayoutBlockFlow (relative positioned) {DIV} at (20,60) size 402x222 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-borderbox-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-borderbox-expected.png
index 87b91ac..824e830 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-borderbox-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-borderbox-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-borderbox-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-borderbox-expected.txt
index a638247..1fc1b81 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-borderbox-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-borderbox-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {BODY} at (8,16) size 784x260
       LayoutBlockFlow {P} at (0,0) size 784x0
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 670x19
-          text run at (0,0) width 670: "Top box should have gray part extending outside the black outline. Lower box should lie inside the outline"
+        LayoutText {#text} at (0,0) size 669x19
+          text run at (0,0) width 669: "Top box should have gray part extending outside the black outline. Lower box should lie inside the outline"
       LayoutBlockFlow {DIV} at (30,50) size 400x210
 layer at (38,66) size 250x100
   LayoutBlockFlow {DIV} at (0,0) size 250x100 [bgcolor=#008000] [border: none (50px solid #808080) none]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-fixed-container-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-fixed-container-expected.png
index 6672df1..7dd9e953 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-fixed-container-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-fixed-container-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-fixed-container-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-fixed-container-expected.txt
index c9e829c..78ca2ae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-fixed-container-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-fixed-container-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x1150
     LayoutBlockFlow {BODY} at (0,150) size 785x1000
       LayoutBlockFlow {P} at (0,250) size 785x20
-        LayoutText {#text} at (0,0) size 544x19
-          text run at (0,0) width 544: "Tests fixed position elements combined with transforms. You should see no red above."
+        LayoutText {#text} at (0,0) size 542x19
+          text run at (0,0) width 542: "Tests fixed position elements combined with transforms. You should see no red above."
 layer at (50,100) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (50,200) size 100x100 [bgcolor=#FF0000]
 layer at (250,100) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-origin-borderbox-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-origin-borderbox-expected.png
index 0b158ebb..d91ef00fc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-origin-borderbox-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-origin-borderbox-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-origin-borderbox-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-origin-borderbox-expected.txt
index 57a3202..41d0373 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-origin-borderbox-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/2d/transform-origin-borderbox-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x526
     LayoutBlockFlow {BODY} at (8,16) size 784x480
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 546x19
-          text run at (0,0) width 546: "Tests that origin of rotation is the center of the border box, with and without box-sizing"
+        LayoutText {#text} at (0,0) size 545x19
+          text run at (0,0) width 545: "Tests that origin of rotation is the center of the border box, with and without box-sizing"
       LayoutBlockFlow {DIV} at (30,50) size 200x200 [bgcolor=#FF0000]
       LayoutBlockFlow {DIV} at (30,280) size 200x200 [bgcolor=#FF0000]
 layer at (38,66) size 200x200
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/general/perspective-units-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/general/perspective-units-expected.png
index f616e7d..393ec1d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/general/perspective-units-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/general/perspective-units-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-hit-test-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-hit-test-expected.png
index fa86a64e..d6bd528 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-hit-test-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-hit-test-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-hit-test-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-hit-test-expected.txt
index 42855bea..b4419d9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-hit-test-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-hit-test-expected.txt
@@ -4,19 +4,19 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 759x19
-          text run at (0,0) width 759: "There are two boxes below, both rotated 180\x{B0} in Y. The rightmost one has backface-visibility: hidden, so you can't see it."
+        LayoutText {#text} at (0,0) size 758x19
+          text run at (0,0) width 758: "There are two boxes below, both rotated 180\x{B0} in Y. The rightmost one has backface-visibility: hidden, so you can't see it."
       LayoutBlockFlow {DIV} at (0,36) size 402x202 [border: (1px solid #000000)]
         LayoutText {#text} at (197,182) size 4x19
           text run at (197,182) width 4: " "
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,238) size 784x40
-        LayoutText {#text} at (0,0) size 167x19
-          text run at (0,0) width 167: "Found box1 on left: PASS"
-        LayoutBR {BR} at (166,15) size 1x0
-        LayoutText {#text} at (0,20) size 202x19
-          text run at (0,20) width 202: "Found container on right: PASS"
-        LayoutBR {BR} at (201,35) size 1x0
+        LayoutText {#text} at (0,0) size 166x19
+          text run at (0,0) width 166: "Found box1 on left: PASS"
+        LayoutBR {BR} at (166,15) size 0x0
+        LayoutText {#text} at (0,20) size 201x19
+          text run at (0,20) width 201: "Found container on right: PASS"
+        LayoutBR {BR} at (201,35) size 0x0
 layer at (27,63) size 160x160
   LayoutBlockFlow {DIV} at (19,19) size 160x160 [bgcolor=#808080]
 layer at (227,63) size 160x160
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-no-transform-hit-test-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-no-transform-hit-test-expected.png
index d0a21b3..902b5ef 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-no-transform-hit-test-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-no-transform-hit-test-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-no-transform-hit-test-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-no-transform-hit-test-expected.txt
index 939619e..1706aae 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-no-transform-hit-test-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/hit-testing/backface-no-transform-hit-test-expected.txt
@@ -7,12 +7,12 @@
         LayoutText {#text} at (0,0) size 753x19
           text run at (0,0) width 753: "There are two boxes inside a container that is rotated 180\x{B0} in Y. box2 has backface-visibility: hidden, so you can't see it."
       LayoutBlockFlow {DIV} at (0,238) size 784x40
-        LayoutText {#text} at (0,0) size 193x19
-          text run at (0,0) width 193: "Found container on left: PASS"
-        LayoutBR {BR} at (192,15) size 1x0
-        LayoutText {#text} at (0,20) size 176x19
-          text run at (0,20) width 176: "Found box1 on right: PASS"
-        LayoutBR {BR} at (175,35) size 1x0
+        LayoutText {#text} at (0,0) size 192x19
+          text run at (0,0) width 192: "Found container on left: PASS"
+        LayoutBR {BR} at (192,15) size 0x0
+        LayoutText {#text} at (0,20) size 175x19
+          text run at (0,20) width 175: "Found box1 on right: PASS"
+        LayoutBR {BR} at (175,35) size 0x0
 layer at (8,44) size 402x202
   LayoutBlockFlow {DIV} at (0,36) size 402x202 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
     LayoutText {#text} at (197,32) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-2-expected.png
index a72f9457..a89fc57 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-2-expected.txt
index 617d6bd..de05769 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-2-expected.txt
@@ -12,27 +12,27 @@
       LayoutBlockFlow {DIV} at (513,21) size 202x202 [border: (1px solid #000000)]
       LayoutText {#text} at (0,0) size 0x0
 layer at (30,500) size 312x100
-  LayoutBlockFlow (positioned) {DIV} at (30,500) size 312.25x100
-    LayoutInline {SPAN} at (0,0) size 313x19 [color=#008000]
-      LayoutText {#text} at (0,0) size 313x19
-        text run at (0,0) width 313: "PASS: event at (120, 128) hit box4 at offset (1, 1)"
-    LayoutBR {BR} at (312,15) size 1x0
-    LayoutInline {SPAN} at (0,0) size 305x19 [color=#008000]
-      LayoutText {#text} at (0,20) size 305x19
-        text run at (0,20) width 305: "PASS: event at (336, 87) hit box7 at offset (1, 1)"
-    LayoutBR {BR} at (304,35) size 1x0
-    LayoutInline {SPAN} at (0,0) size 305x19 [color=#008000]
-      LayoutText {#text} at (0,40) size 305x19
-        text run at (0,40) width 305: "PASS: event at (348, 86) hit box8 at offset (1, 1)"
-    LayoutBR {BR} at (304,55) size 1x0
+  LayoutBlockFlow (positioned) {DIV} at (30,500) size 312x100
+    LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
+      LayoutText {#text} at (0,0) size 312x19
+        text run at (0,0) width 312: "PASS: event at (120, 128) hit box4 at offset (1, 1)"
+    LayoutBR {BR} at (312,15) size 0x0
+    LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
+      LayoutText {#text} at (0,20) size 304x19
+        text run at (0,20) width 304: "PASS: event at (336, 87) hit box7 at offset (1, 1)"
+    LayoutBR {BR} at (304,35) size 0x0
+    LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
+      LayoutText {#text} at (0,40) size 304x19
+        text run at (0,40) width 304: "PASS: event at (348, 86) hit box8 at offset (1, 1)"
+    LayoutBR {BR} at (304,55) size 0x0
     LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
       LayoutText {#text} at (0,60) size 312x19
         text run at (0,60) width 312: "PASS: event at (582, 87) hit box11 at offset (1, 1)"
-    LayoutBR {BR} at (311,75) size 1x0
-    LayoutInline {SPAN} at (0,0) size 313x19 [color=#008000]
-      LayoutText {#text} at (0,80) size 313x19
-        text run at (0,80) width 313: "PASS: event at (594, 86) hit box12 at offset (1, 1)"
-    LayoutBR {BR} at (312,95) size 1x0
+    LayoutBR {BR} at (312,75) size 0x0
+    LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
+      LayoutText {#text} at (0,80) size 312x19
+        text run at (0,80) width 312: "PASS: event at (594, 86) hit box12 at offset (1, 1)"
+    LayoutBR {BR} at (312,95) size 0x0
 layer at (42,42) size 140x140
   LayoutBlockFlow {DIV} at (21,21) size 140x140 [bgcolor=#DDDDDD] [border: (1px solid #000000)]
 layer at (63,63) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-3-expected.png
index 1387a47..26fbcd9c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-3-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-3-expected.txt
index 4b05ab46..7405d92 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-3-expected.txt
@@ -4,23 +4,23 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
 layer at (30,500) size 339x80
-  LayoutBlockFlow (positioned) {DIV} at (30,500) size 339.25x80
-    LayoutInline {SPAN} at (0,0) size 300x19 [color=#008000]
-      LayoutText {#text} at (0,0) size 300x19
-        text run at (0,0) width 300: "PASS: event at (158, 83) hit card at offset (2, 2)"
-    LayoutBR {BR} at (299,15) size 1x0
+  LayoutBlockFlow (positioned) {DIV} at (30,500) size 339x80
+    LayoutInline {SPAN} at (0,0) size 299x19 [color=#008000]
+      LayoutText {#text} at (0,0) size 299x19
+        text run at (0,0) width 299: "PASS: event at (158, 83) hit card at offset (2, 2)"
+    LayoutBR {BR} at (299,15) size 0x0
     LayoutInline {SPAN} at (0,0) size 323x19 [color=#008000]
       LayoutText {#text} at (0,20) size 323x19
         text run at (0,20) width 323: "PASS: event at (309, 112) hit card at offset (198, 2)"
-    LayoutBR {BR} at (322,35) size 1x0
-    LayoutInline {SPAN} at (0,0) size 324x19 [color=#008000]
-      LayoutText {#text} at (0,40) size 324x19
-        text run at (0,40) width 324: "PASS: event at (158, 338) hit card at offset (2, 198)"
-    LayoutBR {BR} at (323,55) size 1x0
-    LayoutInline {SPAN} at (0,0) size 340x19 [color=#008000]
-      LayoutText {#text} at (0,60) size 340x19
-        text run at (0,60) width 340: "PASS: event at (309, 308) hit card at offset (198, 198)"
-    LayoutBR {BR} at (339,75) size 1x0
+    LayoutBR {BR} at (323,35) size 0x0
+    LayoutInline {SPAN} at (0,0) size 323x19 [color=#008000]
+      LayoutText {#text} at (0,40) size 323x19
+        text run at (0,40) width 323: "PASS: event at (158, 338) hit card at offset (2, 198)"
+    LayoutBR {BR} at (323,55) size 0x0
+    LayoutInline {SPAN} at (0,0) size 339x19 [color=#008000]
+      LayoutText {#text} at (0,60) size 339x19
+        text run at (0,60) width 339: "PASS: event at (309, 308) hit card at offset (198, 198)"
+    LayoutBR {BR} at (339,75) size 0x0
 layer at (8,8) size 402x402
   LayoutBlockFlow (positioned) {DIV} at (8,8) size 402x402 [border: (1px solid #000000)]
 layer at (59,59) size 302x302
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.png
index 25b2ffa..053f67a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.txt
index 76dc7fb1..135f9d1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.txt
@@ -10,23 +10,23 @@
         LayoutText {#text} at (0,0) size 366x19
           text run at (0,0) width 366: "When hit-testing coplanar elements, document order wins."
 layer at (30,400) size 304x80
-  LayoutBlockFlow (positioned) {DIV} at (30,400) size 304.25x80
-    LayoutInline {SPAN} at (0,0) size 297x19 [color=#008000]
-      LayoutText {#text} at (0,0) size 297x19
-        text run at (0,0) width 297: "PASS: event at (44, 44) hit box1 at offset (1, 1)"
-    LayoutBR {BR} at (296,15) size 1x0
-    LayoutInline {SPAN} at (0,0) size 297x19 [color=#008000]
-      LayoutText {#text} at (0,20) size 297x19
-        text run at (0,20) width 297: "PASS: event at (70, 59) hit box2 at offset (1, 1)"
-    LayoutBR {BR} at (296,35) size 1x0
-    LayoutInline {SPAN} at (0,0) size 305x19 [color=#008000]
-      LayoutText {#text} at (0,40) size 305x19
-        text run at (0,40) width 305: "PASS: event at (70, 101) hit box3 at offset (1, 1)"
-    LayoutBR {BR} at (304,55) size 1x0
-    LayoutInline {SPAN} at (0,0) size 305x19 [color=#008000]
-      LayoutText {#text} at (0,60) size 305x19
-        text run at (0,60) width 305: "PASS: event at (70, 144) hit box4 at offset (1, 1)"
-    LayoutBR {BR} at (304,75) size 1x0
+  LayoutBlockFlow (positioned) {DIV} at (30,400) size 304x80
+    LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
+      LayoutText {#text} at (0,0) size 296x19
+        text run at (0,0) width 296: "PASS: event at (44, 44) hit box1 at offset (1, 1)"
+    LayoutBR {BR} at (296,15) size 0x0
+    LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
+      LayoutText {#text} at (0,20) size 296x19
+        text run at (0,20) width 296: "PASS: event at (70, 59) hit box2 at offset (1, 1)"
+    LayoutBR {BR} at (296,35) size 0x0
+    LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
+      LayoutText {#text} at (0,40) size 304x19
+        text run at (0,40) width 304: "PASS: event at (70, 101) hit box3 at offset (1, 1)"
+    LayoutBR {BR} at (304,55) size 0x0
+    LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
+      LayoutText {#text} at (0,60) size 304x19
+        text run at (0,60) width 304: "PASS: event at (70, 144) hit box4 at offset (1, 1)"
+    LayoutBR {BR} at (304,75) size 0x0
 layer at (42,42) size 260x260
   LayoutBlockFlow (relative positioned) {DIV} at (21,21) size 260x260 [bgcolor=#DDDDDD] [border: (1px solid #000000)]
 layer at (73,63) size 200x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-deep-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-deep-expected.txt
index c83f2b9..9b01373 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-deep-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-deep-expected.txt
@@ -21,36 +21,36 @@
   LayoutBlockFlow {DIV} at (41,41) size 300x300 [border: (1px solid #000000)]
     LayoutBlockFlow {DIV} at (61,61) size 90x90 [bgcolor=#0000FF]
 layer at (30,650) size 344x160 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutBlockFlow (positioned) {DIV} at (30,650) size 344.25x160
-    LayoutInline {SPAN} at (0,0) size 297x19 [color=#008000]
-      LayoutText {#text} at (0,0) size 297x19
-        text run at (0,0) width 297: "PASS: event at (45, 45) hit box1 at offset (2, 2)"
-    LayoutBR {BR} at (296,15) size 1x0
-    LayoutInline {SPAN} at (0,0) size 297x19 [color=#008000]
-      LayoutText {#text} at (0,20) size 297x19
-        text run at (0,20) width 297: "PASS: event at (54, 44) hit box2 at offset (1, 1)"
-    LayoutBR {BR} at (296,35) size 1x0
-    LayoutInline {SPAN} at (0,0) size 305x19 [color=#008000]
-      LayoutText {#text} at (0,40) size 305x19
-        text run at (0,40) width 305: "PASS: event at (104, 93) hit box3 at offset (1, 1)"
-    LayoutBR {BR} at (304,55) size 1x0
-    LayoutInline {SPAN} at (0,0) size 313x19 [color=#008000]
-      LayoutText {#text} at (0,60) size 313x19
-        text run at (0,60) width 313: "PASS: event at (175, 137) hit box4 at offset (1, 1)"
-    LayoutBR {BR} at (312,75) size 1x0
-    LayoutInline {SPAN} at (0,0) size 329x19 [color=#008000]
-      LayoutText {#text} at (0,80) size 329x19
-        text run at (0,80) width 329: "PASS: event at (167, 528) hit box4 at offset (1, 295)"
-    LayoutBR {BR} at (328,95) size 1x0
-    LayoutInline {SPAN} at (0,0) size 313x19 [color=#008000]
-      LayoutText {#text} at (0,100) size 313x19
-        text run at (0,100) width 313: "PASS: event at (227, 197) hit box5 at offset (1, 1)"
-    LayoutBR {BR} at (312,115) size 1x0
-    LayoutInline {SPAN} at (0,0) size 345x19 [color=#008000]
-      LayoutText {#text} at (0,120) size 345x19
-        text run at (0,120) width 345: "PASS: event at (539, 569) hit box7 at offset (295, 295)"
-    LayoutBR {BR} at (344,135) size 1x0
-    LayoutInline {SPAN} at (0,0) size 329x19 [color=#008000]
-      LayoutText {#text} at (0,140) size 329x19
-        text run at (0,140) width 329: "PASS: event at (431, 441) hit box8 at offset (85, 85)"
-    LayoutBR {BR} at (328,155) size 1x0
+  LayoutBlockFlow (positioned) {DIV} at (30,650) size 344x160
+    LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
+      LayoutText {#text} at (0,0) size 296x19
+        text run at (0,0) width 296: "PASS: event at (45, 45) hit box1 at offset (2, 2)"
+    LayoutBR {BR} at (296,15) size 0x0
+    LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
+      LayoutText {#text} at (0,20) size 296x19
+        text run at (0,20) width 296: "PASS: event at (54, 44) hit box2 at offset (1, 1)"
+    LayoutBR {BR} at (296,35) size 0x0
+    LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
+      LayoutText {#text} at (0,40) size 304x19
+        text run at (0,40) width 304: "PASS: event at (104, 93) hit box3 at offset (1, 1)"
+    LayoutBR {BR} at (304,55) size 0x0
+    LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
+      LayoutText {#text} at (0,60) size 312x19
+        text run at (0,60) width 312: "PASS: event at (175, 137) hit box4 at offset (1, 1)"
+    LayoutBR {BR} at (312,75) size 0x0
+    LayoutInline {SPAN} at (0,0) size 328x19 [color=#008000]
+      LayoutText {#text} at (0,80) size 328x19
+        text run at (0,80) width 328: "PASS: event at (167, 528) hit box4 at offset (1, 295)"
+    LayoutBR {BR} at (328,95) size 0x0
+    LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
+      LayoutText {#text} at (0,100) size 312x19
+        text run at (0,100) width 312: "PASS: event at (227, 197) hit box5 at offset (1, 1)"
+    LayoutBR {BR} at (312,115) size 0x0
+    LayoutInline {SPAN} at (0,0) size 344x19 [color=#008000]
+      LayoutText {#text} at (0,120) size 344x19
+        text run at (0,120) width 344: "PASS: event at (539, 569) hit box7 at offset (295, 295)"
+    LayoutBR {BR} at (344,135) size 0x0
+    LayoutInline {SPAN} at (0,0) size 328x19 [color=#008000]
+      LayoutText {#text} at (0,140) size 328x19
+        text run at (0,140) width 328: "PASS: event at (431, 441) hit box8 at offset (85, 85)"
+    LayoutBR {BR} at (328,155) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-expected.png
index af5c408..9da0458 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-expected.txt
index 3fb5c51..a91c3c6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-expected.txt
@@ -4,43 +4,43 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x600
     LayoutBlockFlow {BODY} at (0,0) size 785x600 [border: (1px solid #000000)]
 layer at (30,500) size 336x180 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutBlockFlow (positioned) {DIV} at (30,500) size 336.25x180
-    LayoutInline {SPAN} at (0,0) size 297x19 [color=#008000]
-      LayoutText {#text} at (0,0) size 297x19
-        text run at (0,0) width 297: "PASS: event at (44, 44) hit box1 at offset (1, 1)"
-    LayoutBR {BR} at (296,15) size 1x0
-    LayoutInline {SPAN} at (0,0) size 297x19 [color=#008000]
-      LayoutText {#text} at (0,20) size 297x19
-        text run at (0,20) width 297: "PASS: event at (69, 55) hit box2 at offset (1, 1)"
-    LayoutBR {BR} at (296,35) size 1x0
-    LayoutInline {SPAN} at (0,0) size 329x19 [color=#008000]
-      LayoutText {#text} at (0,40) size 329x19
-        text run at (0,40) width 329: "PASS: event at (165, 182) hit box2 at offset (95, 95)"
-    LayoutBR {BR} at (328,55) size 1x0
-    LayoutInline {SPAN} at (0,0) size 305x19 [color=#008000]
-      LayoutText {#text} at (0,60) size 305x19
-        text run at (0,60) width 305: "PASS: event at (333, 79) hit box7 at offset (1, 1)"
-    LayoutBR {BR} at (304,75) size 1x0
-    LayoutInline {SPAN} at (0,0) size 313x19 [color=#008000]
-      LayoutText {#text} at (0,80) size 313x19
-        text run at (0,80) width 313: "PASS: event at (87, 325) hit box10 at offset (1, 1)"
-    LayoutBR {BR} at (312,95) size 1x0
-    LayoutInline {SPAN} at (0,0) size 337x19 [color=#008000]
-      LayoutText {#text} at (0,100) size 337x19
-        text run at (0,100) width 337: "PASS: event at (196, 467) hit box10 at offset (97, 97)"
-    LayoutBR {BR} at (336,115) size 1x0
-    LayoutInline {SPAN} at (0,0) size 321x19 [color=#008000]
-      LayoutText {#text} at (0,120) size 321x19
-        text run at (0,120) width 321: "PASS: event at (333, 325) hit box13 at offset (1, 1)"
-    LayoutBR {BR} at (320,135) size 1x0
-    LayoutInline {SPAN} at (0,0) size 321x19 [color=#008000]
-      LayoutText {#text} at (0,140) size 321x19
-        text run at (0,140) width 321: "PASS: event at (353, 352) hit box14 at offset (1, 1)"
-    LayoutBR {BR} at (320,155) size 1x0
-    LayoutInline {SPAN} at (0,0) size 337x19 [color=#008000]
-      LayoutText {#text} at (0,160) size 337x19
-        text run at (0,160) width 337: "PASS: event at (472, 507) hit box14 at offset (96, 96)"
-    LayoutBR {BR} at (336,175) size 1x0
+  LayoutBlockFlow (positioned) {DIV} at (30,500) size 336x180
+    LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
+      LayoutText {#text} at (0,0) size 296x19
+        text run at (0,0) width 296: "PASS: event at (44, 44) hit box1 at offset (1, 1)"
+    LayoutBR {BR} at (296,15) size 0x0
+    LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
+      LayoutText {#text} at (0,20) size 296x19
+        text run at (0,20) width 296: "PASS: event at (69, 55) hit box2 at offset (1, 1)"
+    LayoutBR {BR} at (296,35) size 0x0
+    LayoutInline {SPAN} at (0,0) size 328x19 [color=#008000]
+      LayoutText {#text} at (0,40) size 328x19
+        text run at (0,40) width 328: "PASS: event at (165, 182) hit box2 at offset (95, 95)"
+    LayoutBR {BR} at (328,55) size 0x0
+    LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
+      LayoutText {#text} at (0,60) size 304x19
+        text run at (0,60) width 304: "PASS: event at (333, 79) hit box7 at offset (1, 1)"
+    LayoutBR {BR} at (304,75) size 0x0
+    LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
+      LayoutText {#text} at (0,80) size 312x19
+        text run at (0,80) width 312: "PASS: event at (87, 325) hit box10 at offset (1, 1)"
+    LayoutBR {BR} at (312,95) size 0x0
+    LayoutInline {SPAN} at (0,0) size 336x19 [color=#008000]
+      LayoutText {#text} at (0,100) size 336x19
+        text run at (0,100) width 336: "PASS: event at (196, 467) hit box10 at offset (97, 97)"
+    LayoutBR {BR} at (336,115) size 0x0
+    LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
+      LayoutText {#text} at (0,120) size 320x19
+        text run at (0,120) width 320: "PASS: event at (333, 325) hit box13 at offset (1, 1)"
+    LayoutBR {BR} at (320,135) size 0x0
+    LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
+      LayoutText {#text} at (0,140) size 320x19
+        text run at (0,140) width 320: "PASS: event at (353, 352) hit box14 at offset (1, 1)"
+    LayoutBR {BR} at (320,155) size 0x0
+    LayoutInline {SPAN} at (0,0) size 336x19 [color=#008000]
+      LayoutText {#text} at (0,160) size 336x19
+        text run at (0,160) width 336: "PASS: event at (472, 507) hit box14 at offset (96, 96)"
+    LayoutBR {BR} at (336,175) size 0x0
 layer at (21,21) size 202x202
   LayoutBlockFlow (positioned) {DIV} at (21,21) size 202x202 [border: (1px solid #000000)]
 layer at (42,42) size 140x140
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png
index a818a2e6..840936b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-origins-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-origins-expected.txt
index bb38ea1e..89e9dfe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-origins-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-origins-expected.txt
@@ -15,44 +15,44 @@
         text run at (243,475) width 4: " "
       LayoutBlockFlow {DIV} at (267,268) size 202x202 [border: (1px solid #000000)]
       LayoutText {#text} at (0,0) size 0x0
-layer at (30,500) size 496x180 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutBlockFlow (positioned) {DIV} at (30,500) size 495.81x180
-    LayoutInline {SPAN} at (0,0) size 297x19 [color=#008000]
-      LayoutText {#text} at (0,0) size 297x19
-        text run at (0,0) width 297: "PASS: event at (48, 48) hit box1 at offset (5, 5)"
-    LayoutBR {BR} at (296,15) size 1x0
-    LayoutInline {SPAN} at (0,0) size 297x19 [color=#008000]
-      LayoutText {#text} at (0,20) size 297x19
-        text run at (0,20) width 297: "PASS: event at (70, 41) hit box2 at offset (2, 2)"
-    LayoutBR {BR} at (296,35) size 1x0
-    LayoutInline {SPAN} at (0,0) size 329x19 [color=#008000]
-      LayoutText {#text} at (0,40) size 329x19
-        text run at (0,40) width 329: "PASS: event at (185, 164) hit box2 at offset (96, 96)"
-    LayoutBR {BR} at (328,55) size 1x0
-    LayoutInline {SPAN} at (0,0) size 305x19 [color=#008000]
-      LayoutText {#text} at (0,60) size 305x19
-        text run at (0,60) width 305: "PASS: event at (338, 64) hit box7 at offset (2, 2)"
-    LayoutBR {BR} at (304,75) size 1x0
-    LayoutInline {SPAN} at (0,0) size 488x19 [color=#FF0000]
-      LayoutText {#text} at (0,80) size 488x19
-        text run at (0,80) width 488: "FAIL: event at (92, 310) expected to hit box10 at (2, 2) but hit box10 at (2, 1)"
-    LayoutBR {BR} at (487,95) size 1x0
-    LayoutInline {SPAN} at (0,0) size 337x19 [color=#008000]
-      LayoutText {#text} at (0,100) size 337x19
-        text run at (0,100) width 337: "PASS: event at (217, 444) hit box10 at offset (95, 95)"
-    LayoutBR {BR} at (336,115) size 1x0
-    LayoutInline {SPAN} at (0,0) size 321x19 [color=#008000]
-      LayoutText {#text} at (0,120) size 321x19
-        text run at (0,120) width 321: "PASS: event at (337, 309) hit box13 at offset (1, 1)"
-    LayoutBR {BR} at (320,135) size 1x0
-    LayoutInline {SPAN} at (0,0) size 496x19 [color=#FF0000]
-      LayoutText {#text} at (0,140) size 496x19
-        text run at (0,140) width 496: "FAIL: event at (360, 334) expected to hit box14 at (1, 1) but hit box14 at (1, 0)"
-    LayoutBR {BR} at (495,155) size 1x0
-    LayoutInline {SPAN} at (0,0) size 337x19 [color=#008000]
-      LayoutText {#text} at (0,160) size 337x19
-        text run at (0,160) width 337: "PASS: event at (500, 484) hit box14 at offset (95, 95)"
-    LayoutBR {BR} at (336,175) size 1x0
+layer at (30,500) size 495x180 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow (positioned) {DIV} at (30,500) size 495x180
+    LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
+      LayoutText {#text} at (0,0) size 296x19
+        text run at (0,0) width 296: "PASS: event at (48, 48) hit box1 at offset (5, 5)"
+    LayoutBR {BR} at (296,15) size 0x0
+    LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
+      LayoutText {#text} at (0,20) size 296x19
+        text run at (0,20) width 296: "PASS: event at (70, 41) hit box2 at offset (2, 2)"
+    LayoutBR {BR} at (296,35) size 0x0
+    LayoutInline {SPAN} at (0,0) size 328x19 [color=#008000]
+      LayoutText {#text} at (0,40) size 328x19
+        text run at (0,40) width 328: "PASS: event at (185, 164) hit box2 at offset (96, 96)"
+    LayoutBR {BR} at (328,55) size 0x0
+    LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
+      LayoutText {#text} at (0,60) size 304x19
+        text run at (0,60) width 304: "PASS: event at (338, 64) hit box7 at offset (2, 2)"
+    LayoutBR {BR} at (304,75) size 0x0
+    LayoutInline {SPAN} at (0,0) size 487x19 [color=#FF0000]
+      LayoutText {#text} at (0,80) size 487x19
+        text run at (0,80) width 487: "FAIL: event at (92, 310) expected to hit box10 at (2, 2) but hit box10 at (2, 1)"
+    LayoutBR {BR} at (487,95) size 0x0
+    LayoutInline {SPAN} at (0,0) size 336x19 [color=#008000]
+      LayoutText {#text} at (0,100) size 336x19
+        text run at (0,100) width 336: "PASS: event at (217, 444) hit box10 at offset (95, 95)"
+    LayoutBR {BR} at (336,115) size 0x0
+    LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
+      LayoutText {#text} at (0,120) size 320x19
+        text run at (0,120) width 320: "PASS: event at (337, 309) hit box13 at offset (1, 1)"
+    LayoutBR {BR} at (320,135) size 0x0
+    LayoutInline {SPAN} at (0,0) size 495x19 [color=#FF0000]
+      LayoutText {#text} at (0,140) size 495x19
+        text run at (0,140) width 495: "FAIL: event at (360, 334) expected to hit box14 at (1, 1) but hit box14 at (1, 0)"
+    LayoutBR {BR} at (495,155) size 0x0
+    LayoutInline {SPAN} at (0,0) size 336x19 [color=#008000]
+      LayoutText {#text} at (0,160) size 336x19
+        text run at (0,160) width 336: "PASS: event at (500, 484) hit box14 at offset (95, 95)"
+    LayoutBR {BR} at (336,175) size 0x0
 layer at (42,42) size 140x140
   LayoutBlockFlow {DIV} at (21,21) size 140x140 [bgcolor=#DDDDDD] [border: (1px solid #000000)]
 layer at (63,63) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.png
index e745925..0531598 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.txt
index c3d2c9a..1113879 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.txt
@@ -9,23 +9,23 @@
         LayoutText {#text} at (0,0) size 602x19
           text run at (0,0) width 602: "The green overlay is translated in Z by 100px, so should hit test in front relative to the blue box."
 layer at (30,400) size 343x80
-  LayoutBlockFlow (positioned) {DIV} at (30,400) size 342.66x80
-    LayoutInline {SPAN} at (0,0) size 321x19 [color=#008000]
-      LayoutText {#text} at (0,0) size 321x19
-        text run at (0,0) width 321: "PASS: event at (285, 50) hit box2 at offset (197, 1)"
-    LayoutBR {BR} at (320,15) size 1x0
-    LayoutInline {SPAN} at (0,0) size 321x19 [color=#008000]
-      LayoutText {#text} at (0,20) size 321x19
-        text run at (0,20) width 321: "PASS: event at (174, 108) hit box3 at offset (50, 2)"
-    LayoutBR {BR} at (320,35) size 1x0
-    LayoutInline {SPAN} at (0,0) size 328x19 [color=#008000]
-      LayoutText {#text} at (0,40) size 328x19
-        text run at (0,40) width 328: "PASS: event at (61, 50) hit overlay at offset (39, 28)"
-    LayoutBR {BR} at (327,55) size 1x0
+  LayoutBlockFlow (positioned) {DIV} at (30,400) size 343x80
+    LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
+      LayoutText {#text} at (0,0) size 320x19
+        text run at (0,0) width 320: "PASS: event at (285, 50) hit box2 at offset (197, 1)"
+    LayoutBR {BR} at (320,15) size 0x0
+    LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
+      LayoutText {#text} at (0,20) size 320x19
+        text run at (0,20) width 320: "PASS: event at (174, 108) hit box3 at offset (50, 2)"
+    LayoutBR {BR} at (320,35) size 0x0
+    LayoutInline {SPAN} at (0,0) size 327x19 [color=#008000]
+      LayoutText {#text} at (0,40) size 327x19
+        text run at (0,40) width 327: "PASS: event at (61, 50) hit overlay at offset (39, 28)"
+    LayoutBR {BR} at (327,55) size 0x0
     LayoutInline {SPAN} at (0,0) size 343x19 [color=#008000]
       LayoutText {#text} at (0,60) size 343x19
         text run at (0,60) width 343: "PASS: event at (119, 108) hit overlay at offset (97, 86)"
-    LayoutBR {BR} at (342,75) size 1x0
+    LayoutBR {BR} at (343,75) size 0x0
 layer at (21,21) size 302x302
   LayoutBlockFlow (relative positioned) {DIV} at (20,20) size 302x302 [border: (1px solid #000000)]
 layer at (42,42) size 260x260
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png
index df0605e..b5daf4c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.txt
index 68f8702..353effcb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.txt
@@ -4,75 +4,75 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x600
     LayoutBlockFlow {BODY} at (0,0) size 785x600 [border: (1px solid #000000)]
 layer at (30,500) size 336x340 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutBlockFlow (positioned) {DIV} at (30,500) size 336.25x340
-    LayoutInline {SPAN} at (0,0) size 297x19 [color=#008000]
-      LayoutText {#text} at (0,0) size 297x19
-        text run at (0,0) width 297: "PASS: event at (44, 44) hit box1 at offset (1, 1)"
-    LayoutBR {BR} at (296,15) size 1x0
-    LayoutInline {SPAN} at (0,0) size 297x19 [color=#008000]
-      LayoutText {#text} at (0,20) size 297x19
-        text run at (0,20) width 297: "PASS: event at (74, 68) hit box2 at offset (1, 1)"
-    LayoutBR {BR} at (296,35) size 1x0
-    LayoutInline {SPAN} at (0,0) size 329x19 [color=#008000]
-      LayoutText {#text} at (0,40) size 329x19
-        text run at (0,40) width 329: "PASS: event at (157, 164) hit box2 at offset (97, 97)"
-    LayoutBR {BR} at (328,55) size 1x0
-    LayoutInline {SPAN} at (0,0) size 305x19 [color=#008000]
-      LayoutText {#text} at (0,60) size 305x19
-        text run at (0,60) width 305: "PASS: event at (320, 68) hit box4 at offset (1, 1)"
-    LayoutBR {BR} at (304,75) size 1x0
-    LayoutInline {SPAN} at (0,0) size 305x19 [color=#008000]
-      LayoutText {#text} at (0,80) size 305x19
-        text run at (0,80) width 305: "PASS: event at (336, 87) hit box5 at offset (1, 1)"
-    LayoutBR {BR} at (304,95) size 1x0
-    LayoutInline {SPAN} at (0,0) size 305x19 [color=#008000]
-      LayoutText {#text} at (0,100) size 305x19
-        text run at (0,100) width 305: "PASS: event at (582, 87) hit box8 at offset (1, 1)"
-    LayoutBR {BR} at (304,115) size 1x0
-    LayoutInline {SPAN} at (0,0) size 329x19 [color=#008000]
-      LayoutText {#text} at (0,120) size 329x19
-        text run at (0,120) width 329: "PASS: event at (658, 174) hit box8 at offset (85, 85)"
-    LayoutBR {BR} at (328,135) size 1x0
-    LayoutInline {SPAN} at (0,0) size 313x19 [color=#008000]
-      LayoutText {#text} at (0,140) size 313x19
-        text run at (0,140) width 313: "PASS: event at (74, 314) hit box10 at offset (1, 1)"
-    LayoutBR {BR} at (312,155) size 1x0
+  LayoutBlockFlow (positioned) {DIV} at (30,500) size 336x340
+    LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
+      LayoutText {#text} at (0,0) size 296x19
+        text run at (0,0) width 296: "PASS: event at (44, 44) hit box1 at offset (1, 1)"
+    LayoutBR {BR} at (296,15) size 0x0
+    LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
+      LayoutText {#text} at (0,20) size 296x19
+        text run at (0,20) width 296: "PASS: event at (74, 68) hit box2 at offset (1, 1)"
+    LayoutBR {BR} at (296,35) size 0x0
+    LayoutInline {SPAN} at (0,0) size 328x19 [color=#008000]
+      LayoutText {#text} at (0,40) size 328x19
+        text run at (0,40) width 328: "PASS: event at (157, 164) hit box2 at offset (97, 97)"
+    LayoutBR {BR} at (328,55) size 0x0
+    LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
+      LayoutText {#text} at (0,60) size 304x19
+        text run at (0,60) width 304: "PASS: event at (320, 68) hit box4 at offset (1, 1)"
+    LayoutBR {BR} at (304,75) size 0x0
+    LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
+      LayoutText {#text} at (0,80) size 304x19
+        text run at (0,80) width 304: "PASS: event at (336, 87) hit box5 at offset (1, 1)"
+    LayoutBR {BR} at (304,95) size 0x0
+    LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
+      LayoutText {#text} at (0,100) size 304x19
+        text run at (0,100) width 304: "PASS: event at (582, 87) hit box8 at offset (1, 1)"
+    LayoutBR {BR} at (304,115) size 0x0
+    LayoutInline {SPAN} at (0,0) size 328x19 [color=#008000]
+      LayoutText {#text} at (0,120) size 328x19
+        text run at (0,120) width 328: "PASS: event at (658, 174) hit box8 at offset (85, 85)"
+    LayoutBR {BR} at (328,135) size 0x0
+    LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
+      LayoutText {#text} at (0,140) size 312x19
+        text run at (0,140) width 312: "PASS: event at (74, 314) hit box10 at offset (1, 1)"
+    LayoutBR {BR} at (312,155) size 0x0
     LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
       LayoutText {#text} at (0,160) size 312x19
         text run at (0,160) width 312: "PASS: event at (91, 351) hit box11 at offset (1, 1)"
-    LayoutBR {BR} at (311,175) size 1x0
-    LayoutInline {SPAN} at (0,0) size 321x19 [color=#008000]
-      LayoutText {#text} at (0,180) size 321x19
-        text run at (0,180) width 321: "PASS: event at (320, 314) hit box13 at offset (1, 1)"
-    LayoutBR {BR} at (320,195) size 1x0
-    LayoutInline {SPAN} at (0,0) size 321x19 [color=#008000]
-      LayoutText {#text} at (0,200) size 321x19
-        text run at (0,200) width 321: "PASS: event at (343, 351) hit box14 at offset (1, 1)"
-    LayoutBR {BR} at (320,215) size 1x0
-    LayoutInline {SPAN} at (0,0) size 321x19 [color=#008000]
-      LayoutText {#text} at (0,220) size 321x19
-        text run at (0,220) width 321: "PASS: event at (365, 375) hit box15 at offset (1, 1)"
-    LayoutBR {BR} at (320,235) size 1x0
-    LayoutInline {SPAN} at (0,0) size 321x19 [color=#008000]
-      LayoutText {#text} at (0,240) size 321x19
-        text run at (0,240) width 321: "PASS: event at (566, 314) hit box17 at offset (1, 1)"
-    LayoutBR {BR} at (320,255) size 1x0
-    LayoutInline {SPAN} at (0,0) size 321x19 [color=#008000]
-      LayoutText {#text} at (0,260) size 321x19
-        text run at (0,260) width 321: "PASS: event at (587, 352) hit box18 at offset (1, 1)"
-    LayoutBR {BR} at (320,275) size 1x0
-    LayoutInline {SPAN} at (0,0) size 321x19 [color=#008000]
-      LayoutText {#text} at (0,280) size 321x19
-        text run at (0,280) width 321: "PASS: event at (629, 401) hit box19 at offset (1, 1)"
-    LayoutBR {BR} at (320,295) size 1x0
-    LayoutInline {SPAN} at (0,0) size 321x19 [color=#008000]
-      LayoutText {#text} at (0,300) size 321x19
-        text run at (0,300) width 321: "PASS: event at (653, 422) hit box20 at offset (1, 1)"
-    LayoutBR {BR} at (320,315) size 1x0
-    LayoutInline {SPAN} at (0,0) size 337x19 [color=#008000]
-      LayoutText {#text} at (0,320) size 337x19
-        text run at (0,320) width 337: "PASS: event at (745, 505) hit box20 at offset (85, 86)"
-    LayoutBR {BR} at (336,335) size 1x0
+    LayoutBR {BR} at (312,175) size 0x0
+    LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
+      LayoutText {#text} at (0,180) size 320x19
+        text run at (0,180) width 320: "PASS: event at (320, 314) hit box13 at offset (1, 1)"
+    LayoutBR {BR} at (320,195) size 0x0
+    LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
+      LayoutText {#text} at (0,200) size 320x19
+        text run at (0,200) width 320: "PASS: event at (343, 351) hit box14 at offset (1, 1)"
+    LayoutBR {BR} at (320,215) size 0x0
+    LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
+      LayoutText {#text} at (0,220) size 320x19
+        text run at (0,220) width 320: "PASS: event at (365, 375) hit box15 at offset (1, 1)"
+    LayoutBR {BR} at (320,235) size 0x0
+    LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
+      LayoutText {#text} at (0,240) size 320x19
+        text run at (0,240) width 320: "PASS: event at (566, 314) hit box17 at offset (1, 1)"
+    LayoutBR {BR} at (320,255) size 0x0
+    LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
+      LayoutText {#text} at (0,260) size 320x19
+        text run at (0,260) width 320: "PASS: event at (587, 352) hit box18 at offset (1, 1)"
+    LayoutBR {BR} at (320,275) size 0x0
+    LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
+      LayoutText {#text} at (0,280) size 320x19
+        text run at (0,280) width 320: "PASS: event at (629, 401) hit box19 at offset (1, 1)"
+    LayoutBR {BR} at (320,295) size 0x0
+    LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
+      LayoutText {#text} at (0,300) size 320x19
+        text run at (0,300) width 320: "PASS: event at (653, 422) hit box20 at offset (1, 1)"
+    LayoutBR {BR} at (320,315) size 0x0
+    LayoutInline {SPAN} at (0,0) size 336x19 [color=#008000]
+      LayoutText {#text} at (0,320) size 336x19
+        text run at (0,320) width 336: "PASS: event at (745, 505) hit box20 at offset (85, 86)"
+    LayoutBR {BR} at (336,335) size 0x0
 layer at (21,21) size 202x202
   LayoutBlockFlow (positioned) {DIV} at (21,21) size 202x202 [border: (1px solid #000000)]
 layer at (42,42) size 140x140
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/bounding-rect-zoom-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/bounding-rect-zoom-expected.png
index 0714bc9..9e9b2b0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/bounding-rect-zoom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/bounding-rect-zoom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/bounding-rect-zoom-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/bounding-rect-zoom-expected.txt
index 397cc4e..0f29e50b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/bounding-rect-zoom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/bounding-rect-zoom-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (7.19,7.19) size 785.63x585.63
       LayoutBlockFlow {P} at (0,0) size 785.63x34
-        LayoutText {#text} at (0,0) size 302x16
-          text run at (0,0) width 302: "Tests that these functions account for full page zoom."
-        LayoutBR {BR} at (301,13) size 1x0
+        LayoutText {#text} at (0,0) size 301x16
+          text run at (0,0) width 301: "Tests that these functions account for full page zoom."
+        LayoutBR {BR} at (301,13) size 0x0
         LayoutText {#text} at (0,17) size 176x16
           text run at (0,17) width 176: "There should be no red visible."
       LayoutTable {TABLE} at (0,48.39) size 785x21
@@ -22,19 +22,19 @@
   LayoutBlockFlow (positioned) {DIV} at (90,90) size 90x90 [bgcolor=#FF0000]
 layer at (90,90) size 90x90
   LayoutBlockFlow (positioned) {DIV} at (90,90) size 90x90 [bgcolor=#008000]
-layer at (9,198) size 34x18
-  LayoutBlockFlow (positioned) {DIV} at (9,198) size 33.94x18
-    LayoutInline {SPAN} at (0,0) size 34x16 [color=#008000]
-      LayoutInline {B} at (0,0) size 34x17
-        LayoutText {#text} at (0,0) size 34x17
-          text run at (0,0) width 34: "PASS"
+layer at (9,198) size 33x18
+  LayoutBlockFlow (positioned) {DIV} at (9,198) size 33x18
+    LayoutInline {SPAN} at (0,0) size 33x16 [color=#008000]
+      LayoutInline {B} at (0,0) size 33x17
+        LayoutText {#text} at (0,0) size 33x17
+          text run at (0,0) width 33: "PASS"
 layer at (270,90) size 90x90
   LayoutBlockFlow (positioned) {DIV} at (270,90) size 90x90 [bgcolor=#FF0000]
 layer at (270,90) size 90x90
   LayoutBlockFlow (positioned) {DIV} at (270,90) size 90x90 [bgcolor=#008000]
-layer at (198,198) size 34x18
-  LayoutBlockFlow (positioned) {DIV} at (198,198) size 33.94x18
-    LayoutInline {SPAN} at (0,0) size 34x16 [color=#008000]
-      LayoutInline {B} at (0,0) size 34x17
-        LayoutText {#text} at (0,0) size 34x17
-          text run at (0,0) width 34: "PASS"
+layer at (198,198) size 33x18
+  LayoutBlockFlow (positioned) {DIV} at (198,198) size 33x18
+    LayoutInline {SPAN} at (0,0) size 33x16 [color=#008000]
+      LayoutInline {B} at (0,0) size 33x17
+        LayoutText {#text} at (0,0) size 33x17
+          text run at (0,0) width 33: "PASS"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/diamond-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/diamond-expected.png
index ea15b10..dc6ed11f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/diamond-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/diamond-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/diamond-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/diamond-expected.txt
index 7ced686..f2be92f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/diamond-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/diamond-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 749x19
-          text run at (0,0) width 227: "You should see three blocks below. "
-          text run at (226,0) width 523: "The middle one should look like a diamond because it has been rotated 45 degrees."
+        LayoutText {#text} at (0,0) size 747x19
+          text run at (0,0) width 225: "You should see three blocks below. "
+          text run at (225,0) width 522: "The middle one should look like a diamond because it has been rotated 45 degrees."
       LayoutBlockFlow (floating) {DIV} at (5,41) size 110x110 [bgcolor=#87CEEB] [border: (5px solid #000000)]
       LayoutBlockFlow (floating) {DIV} at (245,41) size 110x110 [bgcolor=#87CEEB] [border: (5px solid #000000)]
 layer at (133,49) size 110x110
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-on-inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-on-inline-expected.png
index 02332e7..156bfe3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-on-inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-on-inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-on-inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-on-inline-expected.txt
index 489386d..e7e80fb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-on-inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-on-inline-expected.txt
@@ -14,13 +14,13 @@
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 29x19
           text run at (0,0) width 29: "The "
-        LayoutText {#text} at (167,0) size 569x19
-          text run at (167,0) width 569: " has a transform, which has no effect on inlines. It also has opacity to throw it into a Layer."
+        LayoutText {#text} at (167,0) size 570x19
+          text run at (167,0) width 570: " has a transform, which has no effect on inlines. It also has opacity to throw it into a Layer."
       LayoutBlockFlow {P} at (0,72) size 784x20
         LayoutText {#text} at (0,0) size 29x19
           text run at (0,0) width 29: "The "
-        LayoutText {#text} at (167,0) size 541x19
-          text run at (167,0) width 541: " has a transform and opacity, and is an inline-block. So it should respect the transform."
+        LayoutText {#text} at (167,0) size 540x19
+          text run at (167,0) width 540: " has a transform and opacity, and is an inline-block. So it should respect the transform."
 layer at (8,44) size 138x19 transparent
   LayoutInline {SPAN} at (0,0) size 138x19
     LayoutText {#text} at (29,0) size 138x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-overflow-expected.txt
index 8139a36b..d546c19 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-overflow-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (0,0) size 800x584
       LayoutBlockFlow {P} at (0,216) size 800x20
-        LayoutText {#text} at (0,0) size 250x19
-          text run at (0,0) width 250: "You should see one green square above"
+        LayoutText {#text} at (0,0) size 249x19
+          text run at (0,0) width 249: "You should see one green square above"
 layer at (50,50) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (50,50) size 100x100 [bgcolor=#FF0000]
 layer at (0,0) size 200x200 backgroundClip at (50,50) size 100x100 clip at (50,50) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-positioned-ancestor-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-positioned-ancestor-expected.png
index 96ea65b..4c3d562 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-positioned-ancestor-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-positioned-ancestor-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-positioned-ancestor-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-positioned-ancestor-expected.txt
index 6e3e127..7d4b882 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-positioned-ancestor-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-positioned-ancestor-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x382
     LayoutBlockFlow {BODY} at (8,16) size 784x358
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 505x19
-          text run at (0,0) width 505: "You should see a green box inside a gray box. If you see red, the test has failed. "
-        LayoutInline {A} at (0,0) size 749x39 [color=#0000EE]
-          LayoutText {#text} at (504,0) size 749x39
-            text run at (504,0) width 245: "https://bugs.webkit.org/show_bug.cgi?"
+        LayoutText {#text} at (0,0) size 504x19
+          text run at (0,0) width 504: "You should see a green box inside a gray box. If you see red, the test has failed. "
+        LayoutInline {A} at (0,0) size 748x39 [color=#0000EE]
+          LayoutText {#text} at (504,0) size 748x39
+            text run at (504,0) width 244: "https://bugs.webkit.org/show_bug.cgi?"
             text run at (0,20) width 61: "id=18885"
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,72) size 302x302
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-table-row-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-table-row-expected.png
index e288cd0..70174aa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-table-row-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/transform-table-row-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/transformed-caret-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/transformed-caret-expected.png
index 078a7ef..2837e03 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/transformed-caret-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/transformed-caret-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/transforms-with-opacity-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/transforms-with-opacity-expected.png
index c3a6057..89a25f6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/transforms-with-opacity-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/transforms-with-opacity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/transforms-with-zoom-expected.png b/third_party/WebKit/LayoutTests/platform/linux/transforms/transforms-with-zoom-expected.png
index 1679f87..b25421a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/transforms-with-zoom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/transforms-with-zoom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/transforms/transforms-with-zoom-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/transforms/transforms-with-zoom-expected.txt
index edf887b6..64042fe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/transforms/transforms-with-zoom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/transforms/transforms-with-zoom-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 375x21
             text run at (0,0) width 375: "https://bugs.webkit.org/show_bug.cgi?id=24784"
       LayoutBlockFlow {P} at (0,41.19) size 800x22
-        LayoutText {#text} at (0,0) size 640x21
-          text run at (0,0) width 640: "Test transform lengths with zoom. You should see two green squares below, no red."
+        LayoutText {#text} at (0,0) size 638x21
+          text run at (0,0) width 638: "Test transform lengths with zoom. You should see two green squares below, no red."
 layer at (120,84) size 120x120
   LayoutBlockFlow (positioned) {DIV} at (120,84) size 120x120 [bgcolor=#FF0000]
 layer at (300,84) size 120x120
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/compositing-visible-descendant-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/compositing-visible-descendant-expected.png
new file mode 100644
index 0000000..5fc965f2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/compositing-visible-descendant-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/compositing-visible-descendant-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/compositing-visible-descendant-expected.txt
new file mode 100644
index 0000000..5fa47ca4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/compositing-visible-descendant-expected.txt
@@ -0,0 +1,14 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x576
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 252x19
+          text run at (0,0) width 252: "You should see one green square below."
+layer at (20,40) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (20,40) size 100x100 [bgcolor=#FF0000]
+hidden layer at (20,40) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (20,40) size 100x100
+layer at (20,40) size 100x100
+  LayoutBlockFlow (relative positioned) {DIV} at (0,0) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/direct-image-compositing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/direct-image-compositing-expected.png
new file mode 100644
index 0000000..b7bdff9e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/direct-image-compositing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/direct-image-compositing-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/direct-image-compositing-expected.txt
new file mode 100644
index 0000000..4cc9e31
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/direct-image-compositing-expected.txt
@@ -0,0 +1,67 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 756
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x756 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x755.88
+    LayoutBlockFlow {BODY} at (8,21.44) size 769x118.44
+      LayoutBlockFlow {H1} at (0,0) size 769x37
+        LayoutText {#text} at (0,0) size 389x36
+          text run at (0,0) width 389: "Image optimisation in layers"
+      LayoutBlockFlow {P} at (0,58.44) size 769x60
+        LayoutText {#text} at (0,0) size 747x59
+          text run at (0,0) width 595: "This test exercises direct compositing of images with hardware acceleration. The visual results "
+          text run at (595,0) width 34: "using"
+          text run at (0,20) width 681: "ACCELERATED_COMPOSITING and regular TOT should be identical. Running this test manually with "
+          text run at (681,20) width 66: "the correct"
+          text run at (0,40) width 442: "debug options will show which elements are directly composited. See "
+        LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
+          LayoutText {#text} at (442,40) size 305x19
+            text run at (442,40) width 305: "https://bugs.webkit.org/show_bug.cgi?id=23361"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow (floating) {DIV} at (0,134.44) size 260x200
+        LayoutText {#text} at (150,0) size 106x79
+          text run at (150,0) width 106: "Basic image - no"
+          text run at (150,20) width 83: "style - can be"
+          text run at (150,40) width 47: "directly"
+          text run at (150,60) width 72: "composited"
+      LayoutBlockFlow (floating) {DIV} at (260,134.44) size 260x200
+        LayoutText {#text} at (160,0) size 100x79
+          text run at (160,0) width 100: "5px blue border"
+          text run at (160,20) width 88: "- can NOT be"
+          text run at (160,40) width 47: "directly"
+          text run at (160,60) width 72: "composited"
+      LayoutBlockFlow (floating) {DIV} at (0,334.44) size 260x200
+        LayoutText {#text} at (160,0) size 79x79
+          text run at (160,0) width 79: "margin - can"
+          text run at (160,20) width 53: "NOT be"
+          text run at (160,40) width 47: "directly"
+          text run at (160,60) width 72: "composited"
+      LayoutBlockFlow (floating) {DIV} at (260,334.44) size 260x200
+        LayoutText {#text} at (150,0) size 109x59
+          text run at (150,0) width 109: "solid background"
+          text run at (150,20) width 101: "- can be directly"
+          text run at (150,40) width 72: "composited"
+      LayoutBlockFlow (floating) {DIV} at (0,534.44) size 260x200
+        LayoutText {#text} at (150,0) size 104x79
+          text run at (150,0) width 75: "background"
+          text run at (150,20) width 73: "image - can"
+          text run at (150,40) width 104: "NOT be directly"
+          text run at (150,60) width 72: "composited"
+      LayoutBlockFlow (floating) {DIV} at (260,534.44) size 260x200
+        LayoutText {#text} at (150,0) size 83x99
+          text run at (150,0) width 67: "rotated but"
+          text run at (150,20) width 81: "otherwise no"
+          text run at (150,40) width 83: "style - can be"
+          text run at (150,60) width 47: "directly"
+          text run at (150,80) width 72: "composited"
+layer at (8,156) size 150x150
+  LayoutImage (floating) {IMG} at (0,0) size 150x150
+layer at (268,156) size 160x160
+  LayoutImage (floating) {IMG} at (0,0) size 160x160 [border: (5px solid #0000FF)]
+layer at (13,361) size 150x150
+  LayoutImage (floating) {IMG} at (5,5) size 150x150
+layer at (268,356) size 150x150
+  LayoutImage (floating) {IMG} at (0,0) size 150x150 [bgcolor=#808080]
+layer at (8,556) size 150x150 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutImage (floating) {IMG} at (0,0) size 150x150 [bgcolor=#FFA500]
+layer at (268,556) size 150x150 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutImage (floating) {IMG} at (0,0) size 150x150
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/generated-content-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/generated-content-expected.png
new file mode 100644
index 0000000..cec9baf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/generated-content-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/generated-content-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/generated-content-expected.txt
new file mode 100644
index 0000000..91e2760
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/generated-content-expected.txt
@@ -0,0 +1,17 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x298
+  LayoutBlockFlow {HTML} at (0,0) size 800x298
+    LayoutBlockFlow {BODY} at (8,16) size 784x274
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
+          LayoutText {#text} at (0,0) size 305x19
+            text run at (0,0) width 305: "https://bugs.webkit.org/show_bug.cgi?id=26095"
+      LayoutBlockFlow {P} at (0,36) size 784x20
+        LayoutText {#text} at (0,0) size 386x19
+          text run at (0,0) width 386: "Tests that a 3D transform on a generated node does not crash."
+      LayoutBlockFlow {DIV} at (0,72) size 202x202 [border: (1px solid #000000)]
+layer at (9,89) size 200x200
+  LayoutBlockFlow {<pseudo:after>} at (1,1) size 200x200
+    LayoutTextFragment (anonymous) at (0,0) size 65x19
+      text run at (0,0) width 65: "Generated"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/abs-position-inside-opacity-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/abs-position-inside-opacity-expected.png
new file mode 100644
index 0000000..8da9496
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/abs-position-inside-opacity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/abs-position-inside-opacity-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/abs-position-inside-opacity-expected.txt
new file mode 100644
index 0000000..b9c0c0f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/abs-position-inside-opacity-expected.txt
@@ -0,0 +1,20 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x542
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 325x19
+          text run at (0,0) width 325: "You should see two green boxes below, with no red"
+layer at (58,78) size 120x120
+  LayoutBlockFlow (relative positioned) {DIV} at (50,70) size 120x120 [border: (1px solid #000000)]
+layer at (69,89) size 100x100 transparent
+  LayoutBlockFlow {DIV} at (11,11) size 100x100 [bgcolor=#FF0000]
+layer at (69,89) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (11,11) size 100x100 [bgcolor=#008000]
+layer at (58,248) size 120x120
+  LayoutBlockFlow (relative positioned) {DIV} at (50,240) size 120x120 [border: (1px solid #000000)]
+layer at (69,259) size 100x100 transparent
+  LayoutBlockFlow {DIV} at (11,11) size 100x100 [bgcolor=#FF0000]
+layer at (69,259) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (11,11) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/clipping-foreground-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/clipping-foreground-expected.png
new file mode 100644
index 0000000..afd0f31
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/clipping-foreground-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/fixed-in-composited-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/fixed-in-composited-expected.txt
new file mode 100644
index 0000000..8679498
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/fixed-in-composited-expected.txt
@@ -0,0 +1,31 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollY 50.00 scrollHeight 1000
+  LayoutView at (0,0) size 800x600
+layer at (0,-50) size 785x1000 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1000
+    LayoutBlockFlow {BODY} at (0,0) size 785x1000
+      LayoutBlockFlow {P} at (0,210) size 785x20
+        LayoutText {#text} at (0,0) size 186x19
+          text run at (0,0) width 186: "You should see no red above."
+layer at (20,20) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (20,70) size 100x100 [bgcolor=#FF0000]
+layer at (220,70) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (220,120) size 100x100 [bgcolor=#FF0000]
+layer at (420,70) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (420,120) size 100x100 [bgcolor=#FF0000]
+layer at (0,-50) size 60x60 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {DIV} at (0,0) size 60x60 [bgcolor=#0000FF33]
+layer at (95,95) size 50x50
+  LayoutBlockFlow (positioned) zI: 1 {DIV} at (95,145) size 50x50
+layer at (20,20) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (20,20) size 100x100 [bgcolor=#008000]
+layer at (200,50) size 50x50
+  LayoutBlockFlow (positioned) zI: 1 {DIV} at (200,100) size 50x50
+layer at (220,70) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (20,20) size 100x100 [bgcolor=#008000]
+layer at (400,50) size 50x50
+  LayoutBlockFlow (positioned) zI: 1 {DIV} at (400,100) size 50x50
+layer at (400,50) size 100x100
+  LayoutBlockFlow {DIV} at (0,0) size 100x100
+layer at (420,70) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (20,20) size 100x100 [bgcolor=#008000]
+scrolled to 0,50
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/fixed-position-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/fixed-position-expected.txt
new file mode 100644
index 0000000..5d8e7708
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/fixed-position-expected.txt
@@ -0,0 +1,14 @@
+layer at (0,0) size 800x600 scrollX 50.00 scrollY 50.00 scrollWidth 1008 scrollHeight 1016
+  LayoutView at (0,0) size 800x600
+layer at (-50,-50) size 800x1016 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x1016
+    LayoutBlockFlow {BODY} at (8,8) size 1000x1000
+layer at (0,116) size 437x20
+  LayoutBlockFlow (positioned) {P} at (50,166) size 437x20
+    LayoutText {#text} at (0,0) size 437x19
+      text run at (0,0) width 437: "You should see a green square in the top left corner of an orange box."
+layer at (0,0) size 100x100 transparent
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 100x100 [bgcolor=#FFA500]
+layer at (0,0) size 50x50
+  LayoutBlockFlow {DIV} at (0,0) size 50x50 [bgcolor=#008000]
+scrolled to 50,50
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/partial-layout-update-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/partial-layout-update-expected.png
new file mode 100644
index 0000000..846d5f7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/partial-layout-update-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/partial-layout-update-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/partial-layout-update-expected.txt
new file mode 100644
index 0000000..a3e14cb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/partial-layout-update-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 359x19
+          text run at (0,0) width 359: "The green box should always obscure the red box below."
+layer at (8,44) size 402x202 clip at (9,45) size 400x200
+  LayoutBlockFlow (relative positioned) {DIV} at (0,36) size 402x202 [border: (1px solid #000000)]
+layer at (9,45) size 200x200
+  LayoutBlockFlow (positioned) zI: 3 {DIV} at (1,1) size 200x200 [bgcolor=#BBBBBB]
+layer at (9,45) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 100x100 [bgcolor=#FF0000]
+layer at (9,45) size 100x100
+  LayoutBlockFlow {DIV} at (0,0) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/root-layer-update-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/root-layer-update-expected.png
new file mode 100644
index 0000000..074839c0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/root-layer-update-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/root-layer-update-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/root-layer-update-expected.txt
new file mode 100644
index 0000000..8156967
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/root-layer-update-expected.txt
@@ -0,0 +1,20 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x174
+  LayoutBlockFlow {HTML} at (0,0) size 800x174
+    LayoutBlockFlow {BODY} at (100,0) size 600x158
+      LayoutBlockFlow {P} at (0,118) size 600x40
+        LayoutInline {A} at (0,0) size 149x19 [color=#0000EE]
+          LayoutText {#text} at (0,0) size 149x19
+            text run at (0,0) width 149: "rdar://problem/7026010"
+        LayoutBR {BR} at (149,0) size 0x19
+        LayoutText {#text} at (0,20) size 461x19
+          text run at (0,20) width 461: "Test for the root layer getting correctly positioned. You should see no red."
+layer at (350,1) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (350,1) size 100x100 [bgcolor=#FF0000]
+layer at (-100,0) size 300x100 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow (positioned) {DIV} at (-100,0) size 300x100 [bgcolor=#808080]
+layer at (100,0) size 600x102
+  LayoutBlockFlow (relative positioned) {DIV} at (0,0) size 600x102 [border: (1px solid #000000)]
+layer at (350,1) size 100x100
+  LayoutBlockFlow {DIV} at (250,1) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.png
new file mode 100644
index 0000000..6a76071
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt
new file mode 100644
index 0000000..82224b11a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt
@@ -0,0 +1,19 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (0,0) size 800x584
+      LayoutBlockFlow {P} at (0,0) size 800x20
+        LayoutText {#text} at (0,0) size 31x19
+          text run at (0,0) width 31: "Bug "
+        LayoutInline {A} at (0,0) size 40x19 [color=#0000EE]
+          LayoutText {#text} at (31,0) size 40x19
+            text run at (31,0) width 40: "29495"
+        LayoutText {#text} at (71,0) size 323x19
+          text run at (71,0) width 323: ". You should see one green box below, with no red."
+layer at (10,60) size 50x50
+  LayoutBlockFlow (positioned) {DIV} at (10,60) size 50x50 [bgcolor=#FF0000]
+layer at (10,10) size 0x0
+  LayoutBlockFlow (positioned) {DIV} at (10,10) size 0x0
+layer at (10,10) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/gestures/gesture-tapHighlight-pixel-rotated-div-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/gestures/gesture-tapHighlight-pixel-rotated-div-expected.png
new file mode 100644
index 0000000..bdb9f811
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/gestures/gesture-tapHighlight-pixel-rotated-div-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/gestures/gesture-tapHighlight-pixel-rotated-link-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/gestures/gesture-tapHighlight-pixel-rotated-link-expected.png
new file mode 100644
index 0000000..67dc484
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/gestures/gesture-tapHighlight-pixel-rotated-link-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/gestures/gesture-tapHighlight-pixel-transparent-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/gestures/gesture-tapHighlight-pixel-transparent-expected.png
new file mode 100644
index 0000000..638b06b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/gestures/gesture-tapHighlight-pixel-transparent-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/gestures/gesture-tapHighlight-with-squashing-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/gestures/gesture-tapHighlight-with-squashing-expected.png
new file mode 100644
index 0000000..02d5b302
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/gestures/gesture-tapHighlight-with-squashing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/iframes/composited-iframe-alignment-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/iframes/composited-iframe-alignment-expected.png
new file mode 100644
index 0000000..4c8527d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/iframes/composited-iframe-alignment-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/iframes/iframe-copy-on-scroll-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/iframes/iframe-copy-on-scroll-expected.png
new file mode 100644
index 0000000..38a39741
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/iframes/iframe-copy-on-scroll-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/iframes/iframe-copy-on-scroll-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/iframes/iframe-copy-on-scroll-expected.txt
new file mode 100644
index 0000000..0d56820
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/iframes/iframe-copy-on-scroll-expected.txt
@@ -0,0 +1,21 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x52
+  LayoutBlockFlow {HTML} at (0,0) size 800x52
+    LayoutBlockFlow {BODY} at (8,16) size 784x20
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 374x19
+          text run at (0,0) width 374: "In pixel results, the blue box should be scrolled out of view."
+layer at (8,52) size 0x0
+  LayoutBlockFlow (positioned) {DIV} at (8,52) size 0x0
+layer at (8,52) size 324x229
+  LayoutBlockFlow (positioned) zI: 1 {DIV} at (8,52) size 324x229
+    LayoutText zI: 1 {#text} at (0,0) size 0x0
+layer at (18,62) size 304x204
+  LayoutIFrame {IFRAME} at (10,10) size 304x204 [border: (2px inset #EEEEEE)]
+    layer at (0,0) size 300x200 clip at (0,0) size 285x200 scrollY 120.00 scrollHeight 1018
+      LayoutView at (0,0) size 300x200
+    layer at (0,-120) size 285x1018 backgroundClip at (0,0) size 285x200 clip at (0,0) size 285x200
+      LayoutBlockFlow {HTML} at (0,0) size 285x1018
+        LayoutBlockFlow {BODY} at (8,10) size 269x1000 [bgcolor=#C0C0C0]
+          LayoutBlockFlow {DIV} at (10,0) size 110x110 [bgcolor=#0000FF]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/images/direct-image-background-color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/images/direct-image-background-color-expected.png
new file mode 100644
index 0000000..0a96b80
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/images/direct-image-background-color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/images/direct-image-background-color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/images/direct-image-background-color-expected.txt
new file mode 100644
index 0000000..284e5e8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/images/direct-image-background-color-expected.txt
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,20) size 784x564
+      LayoutImage {IMG} at (20,0) size 280x200 [bgcolor=#00008080]
+      LayoutBlockFlow {P} at (0,440) size 784x20
+        LayoutText {#text} at (0,0) size 240x19
+          text run at (0,0) width 240: "Top and bottom should look the same."
+layer at (28,240) size 280x200
+  LayoutImage {IMG} at (20,220) size 280x200 [bgcolor=#00008080]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/layers-inside-overflow-scroll-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/layers-inside-overflow-scroll-expected.png
new file mode 100644
index 0000000..59e153f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/layers-inside-overflow-scroll-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/layers-inside-overflow-scroll-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/layers-inside-overflow-scroll-expected.txt
new file mode 100644
index 0000000..1af5ffc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/layers-inside-overflow-scroll-expected.txt
@@ -0,0 +1,22 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x431
+  LayoutBlockFlow {HTML} at (0,0) size 800x431
+    LayoutBlockFlow {BODY} at (8,16) size 784x405
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 435x19
+          text run at (0,0) width 435: "The red box in the overflow:scroll div should be scrolled out of view."
+      LayoutBlockFlow {DIV} at (10,36) size 302x207 [border: (1px solid #000000)]
+        LayoutText {#text} at (0,0) size 0x0
+layer at (19,53) size 300x200
+  LayoutVideo {VIDEO} at (1,1) size 300x200
+layer at (18,269) size 302x152 clip at (19,270) size 285x150 scrollY 100.00 scrollHeight 500
+  LayoutBlockFlow {DIV} at (10,253) size 302x152 [border: (1px solid #000000)]
+    LayoutBlockFlow {DIV} at (1,1) size 285x500
+layer at (19,53) size 300x200
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 300x200
+    LayoutBlockFlow {DIV} at (0,168) size 300x32
+layer at (19,53) size 300x158
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 300x158
+layer at (19,170) size 100x100 backgroundClip at (19,270) size 285x150 clip at (19,270) size 285x150
+  LayoutBlockFlow {DIV} at (0,0) size 100x100 [bgcolor=#FF0000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/direct-image-mask-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/direct-image-mask-expected.png
new file mode 100644
index 0000000..22ffe4d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/direct-image-mask-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/direct-image-mask-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/direct-image-mask-expected.txt
new file mode 100644
index 0000000..55a1083
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/direct-image-mask-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 579x19
+          text run at (0,0) width 579: "Testing reflections on directly composited images. Left and right sides should look the same."
+      LayoutBlockFlow (anonymous) at (0,36) size 784x169
+        LayoutText {#text} at (224,149) size 4x19
+          text run at (224,149) width 4: " "
+        LayoutText {#text} at (0,0) size 0x0
+layer at (28,64) size 184x124 transparent
+  LayoutImage {IMG} at (20,20) size 184x124
+layer at (256,64) size 184x124 transparent
+  LayoutImage {IMG} at (248,20) size 184x124
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/mask-with-added-filters-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/mask-with-added-filters-expected.png
new file mode 100644
index 0000000..ad59e851
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/mask-with-added-filters-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/mask-with-added-filters-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/mask-with-added-filters-expected.txt
new file mode 100644
index 0000000..224bc76a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/mask-with-added-filters-expected.txt
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 646
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x646 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x646
+    LayoutBlockFlow {BODY} at (8,16) size 769x622
+      LayoutBlockFlow {P} at (0,0) size 769x40
+        LayoutText {#text} at (0,0) size 747x39
+          text run at (0,0) width 747: "Testing masks with filters on compositing layers. Left and right columns should look almost the same, composited filter"
+          text run at (0,20) width 139: "look slightly different."
+      LayoutBlockFlow (anonymous) at (0,56) size 769x566
+        LayoutText {#text} at (262,546) size 4x19
+          text run at (262,546) width 4: " "
+        LayoutText {#text} at (0,0) size 0x0
+layer at (8,72) size 262x562 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow (relative positioned) {DIV} at (0,0) size 262x562 [border: (1px solid #000000)]
+    LayoutText {#text} at (0,0) size 0x0
+layer at (9,73) size 260x560 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600 transparent
+  LayoutImage {IMG} at (1,1) size 260x560
+layer at (274,72) size 262x562 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow (relative positioned) {DIV} at (266,0) size 262x562 [border: (1px solid #000000)]
+    LayoutText {#text} at (0,0) size 0x0
+layer at (275,73) size 260x560 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600 transparent
+  LayoutImage {IMG} at (1,1) size 260x560
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/mask-with-removed-filters-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/mask-with-removed-filters-expected.png
new file mode 100644
index 0000000..7893432
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/mask-with-removed-filters-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/mask-with-removed-filters-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/mask-with-removed-filters-expected.txt
new file mode 100644
index 0000000..7b6dcdc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/mask-with-removed-filters-expected.txt
@@ -0,0 +1,20 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 626
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x626 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x626
+    LayoutBlockFlow {BODY} at (8,16) size 769x602
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 593x19
+          text run at (0,0) width 593: "Testing masks with filters on compositing layers. Left and right columns should look the same."
+      LayoutBlockFlow (anonymous) at (0,36) size 769x566
+        LayoutBlockFlow {DIV} at (0,0) size 262x562 [border: (1px solid #000000)]
+          LayoutText {#text} at (0,0) size 0x0
+        LayoutText {#text} at (262,546) size 4x19
+          text run at (262,546) width 4: " "
+        LayoutBlockFlow {DIV} at (266,0) size 262x562 [border: (1px solid #000000)]
+          LayoutText {#text} at (0,0) size 0x0
+        LayoutText {#text} at (0,0) size 0x0
+layer at (9,53) size 260x560 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600 transparent
+  LayoutImage {IMG} at (1,1) size 260x560
+layer at (275,53) size 260x560 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600 transparent
+  LayoutImage {IMG} at (1,1) size 260x560
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/masked-ancestor-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/masked-ancestor-expected.png
new file mode 100644
index 0000000..79c8456
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/masked-ancestor-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/masked-ancestor-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/masked-ancestor-expected.txt
new file mode 100644
index 0000000..0a04e126
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/masked-ancestor-expected.txt
@@ -0,0 +1,20 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 619
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x619 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x619
+    LayoutBlockFlow {BODY} at (8,8) size 769x603
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 522x19
+          text run at (0,0) width 522: "Testing masks on compositing layers. Left and right columns should look the same."
+      LayoutBlockFlow (anonymous) at (0,36) size 769x567
+        LayoutText {#text} at (262,547) size 4x19
+          text run at (262,547) width 4: " "
+        LayoutText {#text} at (0,0) size 0x0
+layer at (8,44) size 262x562 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600 transparent
+  LayoutBlockFlow {DIV} at (0,0) size 262x562 [border: (1px solid #000000)]
+layer at (39,75) size 200x200
+  LayoutBlockFlow (relative positioned) {DIV} at (31,31) size 200x200 [bgcolor=#6464FFCC] [border: (10px solid #000000)]
+layer at (274,44) size 262x562 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600 transparent
+  LayoutBlockFlow {DIV} at (266,0) size 262x562 [border: (1px solid #000000)]
+layer at (305,75) size 200x200
+  LayoutBlockFlow (relative positioned) {DIV} at (31,31) size 200x200 [bgcolor=#6464FFCC] [border: (10px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/multiple-masks-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/multiple-masks-expected.png
new file mode 100644
index 0000000..844ced0c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/multiple-masks-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/multiple-masks-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/multiple-masks-expected.txt
new file mode 100644
index 0000000..18ebb0ee
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/multiple-masks-expected.txt
@@ -0,0 +1,18 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 619
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x619 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x619
+    LayoutBlockFlow {BODY} at (8,8) size 769x603
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 522x19
+          text run at (0,0) width 522: "Testing masks on compositing layers. Left and right columns should look the same."
+      LayoutBlockFlow (anonymous) at (0,36) size 769x567
+        LayoutBlockFlow {DIV} at (0,0) size 262x562 [border: (1px solid #000000)]
+        LayoutText {#text} at (262,547) size 4x19
+          text run at (262,547) width 4: " "
+        LayoutBlockFlow {DIV} at (266,0) size 262x562 [border: (1px solid #000000)]
+        LayoutText {#text} at (0,0) size 0x0
+layer at (39,75) size 200x200 transparent
+  LayoutBlockFlow (relative positioned) {DIV} at (31,31) size 200x200 [bgcolor=#6464FFCC] [border: (10px solid #000000)]
+layer at (305,75) size 200x200 transparent
+  LayoutBlockFlow (relative positioned) {DIV} at (31,31) size 200x200 [bgcolor=#6464FFCC] [border: (10px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/simple-composited-mask-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/simple-composited-mask-expected.png
new file mode 100644
index 0000000..74a48dbf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/simple-composited-mask-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/simple-composited-mask-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/simple-composited-mask-expected.txt
new file mode 100644
index 0000000..4e34930
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/masks/simple-composited-mask-expected.txt
@@ -0,0 +1,22 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 619
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x619 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x619
+    LayoutBlockFlow {BODY} at (8,8) size 769x603
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 522x19
+          text run at (0,0) width 522: "Testing masks on compositing layers. Left and right columns should look the same."
+      LayoutBlockFlow (anonymous) at (0,36) size 769x567
+        LayoutBlockFlow {DIV} at (0,0) size 262x562 [border: (1px solid #000000)]
+        LayoutText {#text} at (262,547) size 4x19
+          text run at (262,547) width 4: " "
+        LayoutBlockFlow {DIV} at (266,0) size 262x562 [border: (1px solid #000000)]
+        LayoutText {#text} at (0,0) size 0x0
+layer at (39,75) size 200x200 transparent
+  LayoutBlockFlow (relative positioned) {DIV} at (31,31) size 200x200 [bgcolor=#6464FFCC] [border: (10px solid #000000)]
+layer at (39,305) size 200x200 transparent
+  LayoutBlockFlow (relative positioned) {DIV} at (31,261) size 200x200 [bgcolor=#6464FFCC] [border: (10px solid #000000)]
+layer at (305,75) size 200x200 transparent
+  LayoutBlockFlow (relative positioned) {DIV} at (31,31) size 200x200 [bgcolor=#6464FFCC] [border: (10px solid #000000)]
+layer at (305,305) size 200x200 transparent
+  LayoutBlockFlow (relative positioned) {DIV} at (31,261) size 200x200 [bgcolor=#6464FFCC] [border: (10px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/ancestor-overflow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/ancestor-overflow-expected.png
new file mode 100644
index 0000000..069b591a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/ancestor-overflow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/ancestor-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/ancestor-overflow-expected.txt
new file mode 100644
index 0000000..c5c27bc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/ancestor-overflow-expected.txt
@@ -0,0 +1,55 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x434
+  LayoutBlockFlow {HTML} at (0,0) size 800x434
+    LayoutBlockFlow {BODY} at (8,16) size 784x410
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 457x19
+          text run at (0,0) width 457: "Test overflow clipping of composited elements in various configurations."
+      LayoutBlockFlow (anonymous) at (0,36) size 784x374
+        LayoutText {#text} at (182,167) size 4x19
+          text run at (182,167) width 4: " "
+        LayoutText {#text} at (368,167) size 4x19
+          text run at (368,167) width 4: " "
+        LayoutText {#text} at (554,167) size 4x19
+          text run at (554,167) width 4: " "
+        LayoutBR {BR} at (0,0) size 0x0
+        LayoutText {#text} at (182,354) size 4x19
+          text run at (182,354) width 4: " "
+        LayoutText {#text} at (368,354) size 4x19
+          text run at (368,354) width 4: " "
+        LayoutText {#text} at (0,0) size 0x0
+layer at (28,72) size 142x142 clip at (29,73) size 140x140 scrollHeight 171
+  LayoutBlockFlow {DIV} at (20,20) size 142x142 [border: (1px solid #000000)]
+    LayoutBlockFlow {DIV} at (11,11) size 122x122 [border: (1px solid #0000FF)]
+layer at (214,72) size 142x142 clip at (215,73) size 140x140
+  LayoutBlockFlow {DIV} at (206,20) size 142x142 [border: (1px solid #000000)]
+layer at (28,259) size 142x142 clip at (29,260) size 140x140 scrollHeight 171
+  LayoutBlockFlow {DIV} at (20,207) size 142x142 [border: (1px solid #000000)]
+    LayoutBlockFlow {DIV} at (11,11) size 122x122 [border: (1px solid #0000FF)]
+layer at (214,259) size 142x142 clip at (215,260) size 140x140
+  LayoutBlockFlow {DIV} at (206,207) size 142x142 [border: (1px solid #000000)]
+layer at (50,94) size 100x150 backgroundClip at (29,73) size 140x140 clip at (29,73) size 140x140
+  LayoutBlockFlow {DIV} at (11,11) size 100x150 [bgcolor=#808080]
+layer at (225,83) size 122x122
+  LayoutBlockFlow (positioned) {DIV} at (225,83) size 122x122 [border: (1px solid #0000FF)]
+layer at (236,94) size 100x150
+  LayoutBlockFlow {DIV} at (11,11) size 100x150 [bgcolor=#808080]
+layer at (400,72) size 142x142 clip at (401,73) size 140x140 scrollHeight 171
+  LayoutBlockFlow (relative positioned) {DIV} at (392,20) size 142x142 [border: (1px solid #000000)]
+layer at (411,83) size 122x122
+  LayoutBlockFlow (positioned) {DIV} at (11,11) size 122x122 [border: (1px solid #0000FF)]
+layer at (422,94) size 100x150 backgroundClip at (401,73) size 140x140 clip at (401,73) size 140x140
+  LayoutBlockFlow {DIV} at (11,11) size 100x150 [bgcolor=#808080]
+layer at (50,281) size 100x150 backgroundClip at (29,260) size 140x140 clip at (29,260) size 140x140
+  LayoutBlockFlow {DIV} at (11,11) size 100x150 [bgcolor=#808080]
+layer at (225,270) size 122x122
+  LayoutBlockFlow (positioned) {DIV} at (225,270) size 122x122 [border: (1px solid #0000FF)]
+layer at (236,281) size 100x150
+  LayoutBlockFlow {DIV} at (11,11) size 100x150 [bgcolor=#808080]
+layer at (400,259) size 142x142 clip at (401,260) size 140x140 scrollHeight 171
+  LayoutBlockFlow (relative positioned) {DIV} at (392,207) size 142x142 [border: (1px solid #000000)]
+layer at (411,270) size 122x122
+  LayoutBlockFlow (positioned) {DIV} at (11,11) size 122x122 [border: (1px solid #0000FF)]
+layer at (422,281) size 100x150 backgroundClip at (401,260) size 140x140 clip at (401,260) size 140x140
+  LayoutBlockFlow {DIV} at (11,11) size 100x150 [bgcolor=#808080]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/fixed-position-ancestor-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/fixed-position-ancestor-clip-expected.txt
new file mode 100644
index 0000000..0b5b47f0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/fixed-position-ancestor-clip-expected.txt
@@ -0,0 +1,14 @@
+layer at (0,0) size 800x600 scrollX 50.00 scrollY 50.00 scrollWidth 1008 scrollHeight 1016
+  LayoutView at (0,0) size 800x600
+layer at (-50,-50) size 800x1016 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x1016
+    LayoutBlockFlow {BODY} at (8,8) size 1000x1000
+layer at (0,116) size 316x20
+  LayoutBlockFlow (positioned) {P} at (50,166) size 316x20
+    LayoutText {#text} at (0,0) size 316x19
+      text run at (0,0) width 316: "You should see a single green square, with no red."
+layer at (8,8) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (8,8) size 100x100 [bgcolor=#FF0000]
+layer at (8,8) size 100x100
+  LayoutBlockFlow {DIV} at (0,0) size 100x100 [bgcolor=#008000]
+scrolled to 50,50
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/mask-with-small-content-rect-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/mask-with-small-content-rect-expected.png
index 7cf935d..27bc303 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/mask-with-small-content-rect-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/mask-with-small-content-rect-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/mask-with-small-content-rect-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/mask-with-small-content-rect-expected.txt
new file mode 100644
index 0000000..83719e5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/mask-with-small-content-rect-expected.txt
@@ -0,0 +1,20 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x273
+  LayoutBlockFlow {HTML} at (0,0) size 800x273
+    LayoutBlockFlow {BODY} at (8,16) size 784x249
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 522x19
+          text run at (0,0) width 522: "Testing masks on compositing layers. Left and right columns should look the same."
+      LayoutBlockFlow (anonymous) at (0,36) size 784x213
+        LayoutText {#text} at (208,193) size 4x19
+          text run at (208,193) width 4: " "
+        LayoutText {#text} at (0,0) size 0x0
+layer at (8,52) size 208x208 clip at (12,56) size 200x200 scrollWidth 225 scrollHeight 225
+  LayoutBlockFlow (relative positioned) {DIV} at (0,0) size 208x208 [bgcolor=#0000FF] [border: (4px solid #FF0000)]
+layer at (187,231) size 50x50 backgroundClip at (12,56) size 200x200 clip at (12,56) size 200x200
+  LayoutBlockFlow (positioned) {DIV} at (179,179) size 50x50 [bgcolor=#000000]
+layer at (270,52) size 208x208 clip at (274,56) size 200x200 scrollWidth 225 scrollHeight 225
+  LayoutBlockFlow (relative positioned) {DIV} at (212,0) size 208x208 [bgcolor=#0000FF] [border: (4px solid #FF0000)]
+layer at (449,231) size 50x50 backgroundClip at (274,56) size 200x200 clip at (274,56) size 200x200
+  LayoutBlockFlow (positioned) {DIV} at (179,179) size 50x50 [bgcolor=#000000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/nested-scrolling-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/nested-scrolling-expected.png
new file mode 100644
index 0000000..e4489218
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/nested-scrolling-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/nested-scrolling-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/nested-scrolling-expected.txt
new file mode 100644
index 0000000..c62b081
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/nested-scrolling-expected.txt
@@ -0,0 +1,54 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 838
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x838 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x838
+    LayoutBlockFlow {BODY} at (8,8) size 769x822
+      LayoutBlockFlow (anonymous) at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 80x19
+          text run at (0,0) width 80: "Text outside."
+layer at (8,28) size 702x802 backgroundClip at (8,28) size 702x572 clip at (9,29) size 685x571 scrollHeight 1286
+  LayoutBlockFlow {DIV} at (0,20) size 702x802 [border: (1px solid #000000)]
+    LayoutBlockFlow {P} at (1,17) size 685x165
+      LayoutText {#text} at (0,7) size 674x151
+        text run at (0,7) width 642: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
+        text run at (0,40) width 670: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex"
+        text run at (0,73) width 674: "ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat"
+        text run at (0,106) width 672: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
+        text run at (0,139) width 93: "id est laborum."
+    LayoutBlockFlow {P} at (1,230) size 685x165
+      LayoutText {#text} at (0,7) size 674x151
+        text run at (0,7) width 642: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
+        text run at (0,40) width 670: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex"
+        text run at (0,73) width 674: "ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat"
+        text run at (0,106) width 672: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
+        text run at (0,139) width 93: "id est laborum."
+    LayoutBlockFlow {P} at (1,861) size 685x165
+      LayoutText {#text} at (0,7) size 674x151
+        text run at (0,7) width 642: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
+        text run at (0,40) width 670: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex"
+        text run at (0,73) width 674: "ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat"
+        text run at (0,106) width 672: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
+        text run at (0,139) width 93: "id est laborum."
+    LayoutBlockFlow {P} at (1,1074) size 685x165
+      LayoutText {#text} at (0,7) size 674x151
+        text run at (0,7) width 642: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
+        text run at (0,40) width 670: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex"
+        text run at (0,73) width 674: "ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat"
+        text run at (0,106) width 672: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
+        text run at (0,139) width 93: "id est laborum."
+layer at (19,471) size 602x402 backgroundClip at (19,471) size 602x129 clip at (20,472) size 585x128 scrollHeight 442
+  LayoutBlockFlow {DIV} at (11,443) size 602x402 [border: (1px solid #000000)]
+    LayoutBlockFlow {P} at (1,17) size 585x165
+      LayoutText {#text} at (0,7) size 584x151
+        text run at (0,7) width 584: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut"
+        text run at (0,40) width 574: "labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco"
+        text run at (0,73) width 559: "laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in"
+        text run at (0,106) width 569: "voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat"
+        text run at (0,139) width 465: "non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
+    LayoutBlockFlow {P} at (1,230) size 585x165
+      LayoutText {#text} at (0,7) size 584x151
+        text run at (0,7) width 584: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut"
+        text run at (0,40) width 574: "labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco"
+        text run at (0,73) width 559: "laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in"
+        text run at (0,106) width 569: "voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat"
+        text run at (0,139) width 465: "non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/overflow-compositing-descendant-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/overflow-compositing-descendant-expected.txt
new file mode 100644
index 0000000..0b7a7166
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/overflow-compositing-descendant-expected.txt
@@ -0,0 +1,22 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x52
+  LayoutBlockFlow {HTML} at (0,0) size 800x52
+    LayoutBlockFlow {BODY} at (8,16) size 784x20
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 465x19
+          text run at (0,0) width 465: "You should see a green box under the video. If you see red, the test failed."
+layer at (8,52) size 132x222 clip at (9,53) size 130x220 scrollHeight 225
+  LayoutBlockFlow (positioned) {DIV} at (8,52) size 132x222 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
+    LayoutBlockFlow (anonymous) at (11,11) size 110x105
+      LayoutText {#text} at (0,0) size 0x0
+    LayoutBlockFlow {DIV} at (11,116) size 100x100 [bgcolor=#FF0000]
+layer at (19,63) size 100x100
+  LayoutVideo {VIDEO} at (0,0) size 100x100 [bgcolor=#000000]
+layer at (19,63) size 100x100
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 100x100
+    LayoutBlockFlow {DIV} at (0,68) size 100x32
+layer at (19,63) size 100x58
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 100x58
+layer at (19,168) size 100x100
+  LayoutBlockFlow (relative positioned) {DIV} at (11,116) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/scaled-mask-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/scaled-mask-expected.png
index 1ae2329..0c1ea50 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/scaled-mask-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/scaled-mask-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/scaled-mask-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/scaled-mask-expected.txt
new file mode 100644
index 0000000..1915dd9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/scaled-mask-expected.txt
@@ -0,0 +1,20 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x52
+  LayoutBlockFlow {HTML} at (0,0) size 800x52
+    LayoutBlockFlow {BODY} at (8,16) size 784x20
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 513x19
+          text run at (0,0) width 513: "Testing masks on compositing layers. Top and bottom rows should look the same."
+layer at (8,52) size 0x0
+  LayoutBlockFlow (positioned) {DIV} at (8,52) size 0x0
+layer at (8,52) size 208x208 clip at (12,56) size 200x200 scrollWidth 500 scrollHeight 500
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 208x208 [bgcolor=#808080] [border: (4px solid #FF0000)]
+layer at (12,56) size 500x500 backgroundClip at (16,56) size 400x200 clip at (16,56) size 400x200
+  LayoutBlockFlow (positioned) {DIV} at (4,4) size 500x500 [bgcolor=#000000]
+layer at (8,300) size 0x0
+  LayoutBlockFlow (positioned) {DIV} at (8,300) size 0x0
+layer at (8,300) size 208x208 clip at (12,304) size 200x200 scrollWidth 500 scrollHeight 500
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 208x208 [bgcolor=#808080] [border: (4px solid #FF0000)]
+layer at (12,304) size 500x500 backgroundClip at (16,304) size 400x200 clip at (16,304) size 400x200
+  LayoutBlockFlow (positioned) {DIV} at (4,4) size 500x500 [bgcolor=#000000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/scroll-ancestor-update-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/scroll-ancestor-update-expected.png
new file mode 100644
index 0000000..46fe34d3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/scroll-ancestor-update-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/scrollbar-painting-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/scrollbar-painting-expected.txt
new file mode 100644
index 0000000..88bc438
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overflow/scrollbar-painting-expected.txt
@@ -0,0 +1,14 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x272
+  LayoutBlockFlow {HTML} at (0,0) size 800x272
+    LayoutBlockFlow {BODY} at (8,16) size 784x246
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 474x19
+          text run at (0,0) width 474: "You should see scrollbars on the gray square, and a resizer control below it."
+layer at (18,52) size 100x100 clip at (18,52) size 85x85 scrollWidth 500 scrollHeight 500
+  LayoutBlockFlow (relative positioned) {DIV} at (10,36) size 100x100
+layer at (18,52) size 500x500 backgroundClip at (18,52) size 85x85 clip at (18,52) size 85x85
+  LayoutBlockFlow {DIV} at (0,0) size 500x500 [bgcolor=#808080]
+layer at (18,162) size 100x100
+  LayoutBlockFlow {DIV} at (10,146) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overlap-blending/reflection-opacity-huge-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overlap-blending/reflection-opacity-huge-expected.png
new file mode 100644
index 0000000..8da21f5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overlap-blending/reflection-opacity-huge-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overlap-blending/reflection-opacity-huge-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overlap-blending/reflection-opacity-huge-expected.txt
new file mode 100644
index 0000000..cddfa1d5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/overlap-blending/reflection-opacity-huge-expected.txt
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600 clip at (0,0) size 800x585 scrollWidth 2150
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x240
+  LayoutBlockFlow {HTML} at (0,0) size 800x240
+    LayoutBlockFlow {BODY} at (0,0) size 800x240
+      LayoutBlockFlow {P} at (0,0) size 800x40
+        LayoutText {#text} at (0,0) size 775x39
+          text run at (0,0) width 775: "Opacity should be applied after reflection, so you should see a green rectangle below. The overlap between the original and"
+          text run at (0,20) width 197: "reflection should not be visible."
+layer at (0,40) size 2150x200 backgroundClip at (0,0) size 800x585 clip at (0,0) size 800x585 transparent
+  LayoutBlockFlow (relative positioned) {DIV} at (0,40) size 2150x200 [bgcolor=#008000]
+    LayoutText {#text} at (0,0) size 8x19
+      text run at (0,0) width 8: "1"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/animation-inside-reflection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/animation-inside-reflection-expected.png
new file mode 100644
index 0000000..54a2b4e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/animation-inside-reflection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/compositing-change-inside-reflection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/compositing-change-inside-reflection-expected.png
new file mode 100644
index 0000000..71dc7fb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/compositing-change-inside-reflection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/compositing-change-inside-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/compositing-change-inside-reflection-expected.txt
new file mode 100644
index 0000000..7e569c4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/compositing-change-inside-reflection-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x52
+  LayoutBlockFlow {HTML} at (0,0) size 800x52
+    LayoutBlockFlow {BODY} at (8,16) size 784x20
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 568x19
+          text run at (0,0) width 568: "Test dynamically created compositing layer inside reflection. You should see no red below."
+layer at (8,52) size 784x0
+  LayoutBlockFlow (relative positioned) {DIV} at (0,36) size 784x0
+layer at (19,183) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (11,131) size 100x100 [bgcolor=#FF0000]
+layer at (8,52) size 120x120
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 120x120 [border: (1px solid #000000)]
+layer at (19,63) size 100x100
+  LayoutBlockFlow {DIV} at (11,11) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/load-video-in-reflection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/load-video-in-reflection-expected.png
new file mode 100644
index 0000000..c947911
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/load-video-in-reflection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/load-video-in-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/load-video-in-reflection-expected.txt
new file mode 100644
index 0000000..3b4f65d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/load-video-in-reflection-expected.txt
@@ -0,0 +1,18 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x353
+  LayoutBlockFlow {HTML} at (0,0) size 800x353
+    LayoutBlockFlow {BODY} at (8,16) size 784x329
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 489x19
+          text run at (0,0) width 489: "You should see a reflected video below, rather than the red video background."
+layer at (8,52) size 300x293
+  LayoutBlockFlow {DIV} at (0,36) size 300x293
+    LayoutText {#text} at (0,0) size 0x0
+layer at (8,52) size 352x288
+  LayoutVideo {VIDEO} at (0,0) size 352x288 [bgcolor=#FF0000]
+layer at (8,52) size 352x288
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 352x288
+    LayoutBlockFlow {DIV} at (0,256) size 352x32
+layer at (8,52) size 352x246
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 352x246
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-expected.txt
new file mode 100644
index 0000000..ada19717
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-expected.txt
@@ -0,0 +1,14 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x308
+  LayoutBlockFlow {HTML} at (0,0) size 800x308
+    LayoutBlockFlow {BODY} at (8,16) size 784x272
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 380x19
+          text run at (0,0) width 380: "You should see the original and three copies of the blue box."
+layer at (28,56) size 122x232
+  LayoutBlockFlow {DIV} at (20,40) size 122x232 [border: (1px solid #000000)]
+layer at (39,67) size 100x100
+  LayoutBlockFlow {DIV} at (11,11) size 100x100 [bgcolor=#008000]
+    LayoutText {#text} at (33,1) size 34x76
+      text run at (33,1) width 34: "1"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-on-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-on-overflow-expected.txt
new file mode 100644
index 0000000..ea46bc9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-on-overflow-expected.txt
@@ -0,0 +1,40 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x308
+  LayoutBlockFlow {HTML} at (0,0) size 800x308
+    LayoutBlockFlow {BODY} at (8,16) size 784x272
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 447x19
+          text run at (0,0) width 447: "You should see the original and three copies of the green box with text."
+layer at (28,56) size 122x232
+  LayoutBlockFlow {DIV} at (20,40) size 122x232 [border: (1px solid #000000)]
+layer at (39,67) size 100x100
+  LayoutBlockFlow {DIV} at (11,11) size 100x100 [bgcolor=#008000]
+layer at (39,67) size 100x100 clip at (39,67) size 85x85 scrollHeight 500
+  LayoutBlockFlow (relative positioned) {DIV} at (0,0) size 100x100
+layer at (39,67) size 85x500 backgroundClip at (39,67) size 85x85 clip at (39,67) size 85x85
+  LayoutBlockFlow {DIV} at (0,0) size 85x500
+    LayoutText {#text} at (0,0) size 84x459
+      text run at (0,0) width 84: "Lorem ipsum"
+      text run at (0,20) width 51: "dolor sit"
+      text run at (0,40) width 34: "amet,"
+      text run at (0,60) width 71: "consectetur"
+      text run at (0,80) width 68: "adipisicing"
+      text run at (0,100) width 68: "elit, sed do"
+      text run at (0,120) width 53: "eiusmod"
+      text run at (0,140) width 44: "tempor"
+      text run at (0,160) width 79: "incididunt ut"
+      text run at (0,180) width 54: "labore et"
+      text run at (0,200) width 40: "dolore"
+      text run at (0,220) width 42: "magna"
+      text run at (0,240) width 62: "aliqua. Ut"
+      text run at (0,260) width 50: "enim ad"
+      text run at (0,280) width 40: "minim"
+      text run at (0,300) width 80: "veniam, quis"
+      text run at (0,320) width 47: "nostrud"
+      text run at (0,340) width 73: "exercitation"
+      text run at (0,360) width 50: "ullamco"
+      text run at (0,380) width 84: "laboris nisi ut"
+      text run at (0,400) width 80: "aliquip ex ea"
+      text run at (0,420) width 63: "commodo"
+      text run at (0,440) width 67: "consequat."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-transformed-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-transformed-expected.png
new file mode 100644
index 0000000..103a4fc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-transformed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-transformed-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-transformed-expected.txt
new file mode 100644
index 0000000..6dead8d6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-transformed-expected.txt
@@ -0,0 +1,14 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x308
+  LayoutBlockFlow {HTML} at (0,0) size 800x308
+    LayoutBlockFlow {BODY} at (8,16) size 784x272
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 547x19
+          text run at (0,0) width 547: "Test transform change on reflected elements. Left and right side should be symmetrical."
+layer at (28,56) size 122x232
+  LayoutBlockFlow {DIV} at (20,40) size 122x232 [border: (1px solid #000000)]
+layer at (39,67) size 100x100
+  LayoutBlockFlow {DIV} at (11,11) size 100x100 [bgcolor=#008000]
+    LayoutText {#text} at (33,1) size 34x76
+      text run at (33,1) width 34: "1"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-transformed2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-transformed2-expected.png
new file mode 100644
index 0000000..d1bf01c6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-transformed2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-transformed2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-transformed2-expected.txt
new file mode 100644
index 0000000..8f3e157
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/nested-reflection-transformed2-expected.txt
@@ -0,0 +1,15 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x328
+  LayoutBlockFlow {HTML} at (0,0) size 800x328
+    LayoutBlockFlow {BODY} at (8,16) size 784x292
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 777x39
+          text run at (0,0) width 777: "Test transform change on reflected elements, with compositing layers larger than render layers. Left and right side should be"
+          text run at (0,20) width 80: "symmetrical."
+layer at (28,76) size 122x232
+  LayoutBlockFlow {DIV} at (20,60) size 122x232 [border: (1px solid #000000)]
+layer at (39,87) size 100x100
+  LayoutBlockFlow {DIV} at (11,11) size 100x100 [bgcolor=#008000]
+    LayoutText {#text} at (33,1) size 34x76
+      text run at (33,1) width 34: "1"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-in-composited-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-in-composited-expected.png
new file mode 100644
index 0000000..c349cfe3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-in-composited-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-opacity-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-opacity-expected.png
new file mode 100644
index 0000000..5b489fdab
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-opacity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-opacity-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-opacity-expected.txt
new file mode 100644
index 0000000..0b217523
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-opacity-expected.txt
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x180
+  LayoutBlockFlow {HTML} at (0,0) size 800x180
+    LayoutBlockFlow {BODY} at (8,16) size 784x156
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 775x39
+          text run at (0,0) width 775: "Opacity should be applied after reflection, so you should see a green rectangle below. The overlap between the original and"
+          text run at (0,20) width 197: "reflection should not be visible."
+layer at (8,72) size 150x100 transparent
+  LayoutBlockFlow (relative positioned) {DIV} at (0,56) size 150x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-ordering-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-ordering-expected.txt
new file mode 100644
index 0000000..8dfe3466
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-ordering-expected.txt
@@ -0,0 +1,12 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x196
+  LayoutBlockFlow {HTML} at (0,0) size 800x196
+    LayoutBlockFlow {BODY} at (8,16) size 784x160
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 767x19
+          text run at (0,0) width 767: "You should see a black rectangle divided into two parts; the top part should be taller (reflection should be behind original)."
+layer at (28,56) size 220x120
+  LayoutBlockFlow {DIV} at (20,40) size 220x120 [bgcolor=#FFFFFF] [border: (10px solid #000000)]
+    LayoutText {#text} at (67,10) size 86x27
+      text run at (67,10) width 86: "Contents"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-positioning-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-positioning-expected.png
new file mode 100644
index 0000000..aa28772
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-positioning-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-positioning-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-positioning-expected.txt
new file mode 100644
index 0000000..129ef01
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-positioning-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x52
+  LayoutBlockFlow {HTML} at (0,0) size 800x52
+    LayoutBlockFlow {BODY} at (8,16) size 784x20
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 503x19
+          text run at (0,0) width 503: "Position of reflected layer should update correctly. You should see no red below."
+layer at (20,50) size 150x120
+  LayoutBlockFlow (positioned) {DIV} at (20,50) size 150x120
+layer at (46,185) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (26,135) size 100x100 [bgcolor=#FF0000]
+layer at (20,50) size 150x120
+  LayoutBlockFlow (relative positioned) {DIV} at (0,0) size 150x120 [border: (1px solid #000000)]
+layer at (46,61) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (26,11) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-positioning2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-positioning2-expected.png
new file mode 100644
index 0000000..60e0196a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-positioning2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-positioning2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-positioning2-expected.txt
new file mode 100644
index 0000000..9d85e13
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/reflection-positioning2-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x52
+  LayoutBlockFlow {HTML} at (0,0) size 800x52
+    LayoutBlockFlow {BODY} at (8,16) size 784x20
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 503x19
+          text run at (0,0) width 503: "Position of reflected layer should update correctly. You should see no red below."
+layer at (50,50) size 150x120
+  LayoutBlockFlow (positioned) {DIV} at (50,50) size 150x120
+layer at (76,185) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (26,135) size 100x100 [bgcolor=#FF0000]
+layer at (50,50) size 150x120
+  LayoutBlockFlow (relative positioned) {DIV} at (0,0) size 150x120 [border: (1px solid #000000)]
+layer at (76,61) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (26,11) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/simple-composited-reflections-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/simple-composited-reflections-expected.png
new file mode 100644
index 0000000..b55d25aa
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/simple-composited-reflections-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/simple-composited-reflections-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/simple-composited-reflections-expected.txt
new file mode 100644
index 0000000..dbbc9c5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/simple-composited-reflections-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 579x19
+          text run at (0,0) width 579: "Testing reflections on directly composited images. Left and right sides should look the same."
+      LayoutBlockFlow (anonymous) at (0,36) size 784x169
+        LayoutText {#text} at (224,149) size 4x19
+          text run at (224,149) width 4: " "
+        LayoutText {#text} at (0,0) size 0x0
+layer at (28,64) size 184x124
+  LayoutImage {IMG} at (20,20) size 184x124
+layer at (256,64) size 184x124
+  LayoutImage {IMG} at (248,20) size 184x124
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/transform-inside-reflection-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/transform-inside-reflection-expected.png
new file mode 100644
index 0000000..de77933a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/transform-inside-reflection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/transform-inside-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/transform-inside-reflection-expected.txt
new file mode 100644
index 0000000..5fd9b1da5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/reflections/transform-inside-reflection-expected.txt
@@ -0,0 +1,15 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x328
+  LayoutBlockFlow {HTML} at (0,0) size 800x328
+    LayoutBlockFlow {BODY} at (8,16) size 784x292
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 782x39
+          text run at (0,0) width 782: "Transform inside nested reflections should be applied correctly. You should see four rotated green boxes, as mirror images of"
+          text run at (0,20) width 69: "each other."
+layer at (28,76) size 122x232
+  LayoutBlockFlow {DIV} at (20,60) size 122x232 [border: (1px solid #000000)]
+layer at (39,87) size 102x102
+  LayoutBlockFlow {DIV} at (11,11) size 102x102 [border: (1px solid #000000)]
+layer at (50,98) size 80x80
+  LayoutBlockFlow {DIV} at (11,11) size 80x80 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/self-painting-layers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/self-painting-layers-expected.txt
new file mode 100644
index 0000000..1b3ea284
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/self-painting-layers-expected.txt
@@ -0,0 +1,28 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x431
+  LayoutBlockFlow {HTML} at (0,0) size 800x431
+    LayoutBlockFlow {BODY} at (8,16) size 784x405
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 324x19
+          text run at (0,0) width 324: "You should not see double text when the div scrolls"
+      LayoutBlockFlow {DIV} at (10,36) size 302x207 [border: (1px solid #000000)]
+        LayoutText {#text} at (0,0) size 0x0
+layer at (19,53) size 300x200
+  LayoutVideo {VIDEO} at (1,1) size 300x200
+layer at (18,269) size 302x152 clip at (19,270) size 285x150 scrollY 24.00 scrollHeight 500
+  LayoutBlockFlow {DIV} at (10,253) size 302x152 [border: (1px solid #000000)]
+    LayoutBlockFlow {DIV} at (1,1) size 285x500
+      LayoutText {#text} at (0,6) size 107x36
+        text run at (0,6) width 107: "Scrolled"
+      LayoutBR {BR} at (107,6) size 0x36
+      LayoutText {#text} at (0,54) size 48x36
+        text run at (0,54) width 48: "text"
+      LayoutBR {BR} at (48,54) size 0x36
+      LayoutText {#text} at (0,102) size 63x36
+        text run at (0,102) width 63: "here."
+layer at (19,53) size 300x200
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 300x200
+    LayoutBlockFlow {DIV} at (0,168) size 300x32
+layer at (19,53) size 300x158
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 300x158
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/sibling-positioning-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/sibling-positioning-expected.png
new file mode 100644
index 0000000..2906dd21
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/sibling-positioning-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/text-on-large-layer-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/text-on-large-layer-expected.png
new file mode 100644
index 0000000..759d9602
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/text-on-large-layer-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/text-on-large-layer-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/text-on-large-layer-expected.txt
new file mode 100644
index 0000000..4ca38ef
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/text-on-large-layer-expected.txt
@@ -0,0 +1,12 @@
+layer at (0,0) size 800x600 scrollWidth 2003 scrollHeight 10001
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x8
+  LayoutBlockFlow {HTML} at (0,0) size 800x8
+    LayoutBlockFlow {BODY} at (8,8) size 784x0
+layer at (3,1) size 2000x10000 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow (positioned) {DIV} at (3,1) size 2000x10000
+    LayoutText {#text} at (0,0) size 541x19
+      text run at (0,0) width 541: "This is some text inside a very large composited layer to test that it is rendered sharply."
+    LayoutBR {BR} at (541,0) size 0x19
+    LayoutText {#text} at (0,20) size 212x19
+      text run at (0,20) width 212: "The test passes if this text is crisp."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/text-on-scaled-surface-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/text-on-scaled-surface-expected.png
new file mode 100644
index 0000000..701ce649
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/text-on-scaled-surface-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/transitions/scale-transition-no-start-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/transitions/scale-transition-no-start-expected.png
new file mode 100644
index 0000000..891bb29
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/transitions/scale-transition-no-start-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/transitions/singular-scale-transition-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/transitions/singular-scale-transition-expected.png
new file mode 100644
index 0000000..51702b4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/transitions/singular-scale-transition-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/video-frame-size-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/video-frame-size-change-expected.png
new file mode 100644
index 0000000..4de05e8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/video-frame-size-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/video-frame-size-change-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/video-frame-size-change-expected.txt
new file mode 100644
index 0000000..7f058429
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/video-frame-size-change-expected.txt
@@ -0,0 +1,26 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x245
+  LayoutBlockFlow {HTML} at (0,0) size 800x245
+    LayoutBlockFlow {BODY} at (8,16) size 784x221
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 482x19
+          text run at (0,0) width 482: "Tests decoding and rendering a video element that has a changing resolution."
+      LayoutBlockFlow (anonymous) at (0,36) size 784x185
+        LayoutText {#text} at (320,165) size 4x19
+          text run at (320,165) width 4: " "
+        LayoutText {#text} at (0,0) size 0x0
+layer at (8,52) size 320x180
+  LayoutVideo {VIDEO} at (0,0) size 320x180
+layer at (332,52) size 320x180
+  LayoutVideo {VIDEO} at (324,0) size 320x180
+layer at (8,52) size 320x180
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x180
+    LayoutBlockFlow {DIV} at (0,148) size 320x32
+layer at (8,52) size 320x138
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x138
+layer at (332,52) size 320x180
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x180
+    LayoutBlockFlow {DIV} at (0,148) size 320x32
+layer at (332,52) size 320x138
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x138
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/webgl/webgl-background-color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/webgl/webgl-background-color-expected.png
new file mode 100644
index 0000000..9e6b46d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/webgl/webgl-background-color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/webgl/webgl-background-color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/webgl/webgl-background-color-expected.txt
new file mode 100644
index 0000000..9e99ab41
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/webgl/webgl-background-color-expected.txt
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x537
+  LayoutBlockFlow {HTML} at (0,0) size 800x537
+    LayoutBlockFlow {BODY} at (8,20) size 784x501
+      LayoutBlockFlow {DIV} at (20,0) size 240x200 [bgcolor=#00008080]
+      LayoutBlockFlow (anonymous) at (0,220) size 784x245
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,481) size 784x20
+        LayoutText {#text} at (0,0) size 240x19
+          text run at (0,0) width 240: "Top and bottom should look the same."
+layer at (28,260) size 240x200
+  LayoutHTMLCanvas {CANVAS} at (20,20) size 240x200 [bgcolor=#00008080]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/webgl/webgl-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/webgl/webgl-reflection-expected.txt
new file mode 100644
index 0000000..b74f3bb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/compositing/webgl/webgl-reflection-expected.txt
@@ -0,0 +1,12 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x309
+  LayoutBlockFlow {HTML} at (0,0) size 800x309
+    LayoutBlockFlow {BODY} at (8,16) size 784x285
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 309x19
+          text run at (0,0) width 309: "You should see a green triangle and its reflection."
+      LayoutBlockFlow (anonymous) at (0,36) size 784x249
+        LayoutText {#text} at (0,0) size 0x0
+layer at (28,72) size 244x204
+  LayoutHTMLCanvas {CANVAS} at (20,20) size 244x204 [border: (2px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/bidi-002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/bidi-002-expected.png
new file mode 100644
index 0000000..7a500aac
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/bidi-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/bidi-009a-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/bidi-009a-expected.png
new file mode 100644
index 0000000..b8a0dcc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/bidi-009a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/bidi-012-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/bidi-012-expected.png
new file mode 100644
index 0000000..12e032f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/bidi-012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/block-mask-overlay-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/block-mask-overlay-image-expected.png
new file mode 100644
index 0000000..66bb3d1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/block-mask-overlay-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/block-mask-overlay-image-outset-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/block-mask-overlay-image-outset-expected.png
new file mode 100644
index 0000000..f1a4651
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/block-mask-overlay-image-outset-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-constraints-double-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-constraints-double-expected.png
index e8abef2..1e7e3190 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-constraints-double-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-constraints-double-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-constraints-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-constraints-expected.png
index f2d4621..7bb6282 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-constraints-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-constraints-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-huge-assert-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-huge-assert-expected.png
index 8afade1..2e72b90 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-huge-assert-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-huge-assert-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-inline-flow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-inline-flow-expected.png
new file mode 100644
index 0000000..a7ea7b9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-inline-flow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-split-inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-split-inline-expected.png
new file mode 100644
index 0000000..1cf373d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/border-radius-split-inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/different-color-borders-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/different-color-borders-expected.png
new file mode 100644
index 0000000..c3ba62c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/different-color-borders-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/outline-alpha-inline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/outline-alpha-inline-expected.png
new file mode 100644
index 0000000..f01b0dcf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/outline-alpha-inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/rtl-border-01-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/rtl-border-01-expected.png
new file mode 100644
index 0000000..f6917a4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/rtl-border-01-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/rtl-border-02-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/rtl-border-02-expected.png
new file mode 100644
index 0000000..a669091
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/rtl-border-02-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/rtl-border-03-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/rtl-border-03-expected.png
new file mode 100644
index 0000000..3a3cf1e1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/rtl-border-03-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/rtl-border-04-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/rtl-border-04-expected.png
new file mode 100644
index 0000000..4de34c63
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/rtl-border-04-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/rtl-border-05-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/rtl-border-05-expected.png
new file mode 100644
index 0000000..c3673efc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/borders/rtl-border-05-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/border-radius-clipped-layer-second-column-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/border-radius-clipped-layer-second-column-expected.png
index dc2d74d..d89de2d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/border-radius-clipped-layer-second-column-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/border-radius-clipped-layer-second-column-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-inner-multicol-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-inner-multicol-expected.png
new file mode 100644
index 0000000..1500e28
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-inner-multicol-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-layer-multiple-fragments-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-layer-multiple-fragments-expected.png
new file mode 100644
index 0000000..04aaf67
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-layer-multiple-fragments-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-layer-multiple-fragments-translated-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-layer-multiple-fragments-translated-expected.png
new file mode 100644
index 0000000..327399d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-layer-multiple-fragments-translated-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-layer-nested-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-layer-nested-expected.png
new file mode 100644
index 0000000..3547926
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-layer-nested-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-layer-will-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-layer-will-change-expected.png
new file mode 100644
index 0000000..f6de4b59
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-layer-will-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-opacity-2nd-and-3rd-column-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-opacity-2nd-and-3rd-column-expected.png
new file mode 100644
index 0000000..c477e27a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-opacity-2nd-and-3rd-column-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-relpos-clipped-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-relpos-clipped-expected.png
new file mode 100644
index 0000000..972e405
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-relpos-clipped-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-relpos-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-relpos-expected.png
new file mode 100644
index 0000000..f1ebb02
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-relpos-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-relpos-in-clipped-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-relpos-in-clipped-expected.png
new file mode 100644
index 0000000..95463cc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-relpos-in-clipped-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-relpos-overlapping-will-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-relpos-overlapping-will-change-expected.png
new file mode 100644
index 0000000..231fd6b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-relpos-overlapping-will-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-relpos-resize-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-relpos-resize-expected.png
new file mode 100644
index 0000000..e9ebf6b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-relpos-resize-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-with-child-layer-in-next-column-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-with-child-layer-in-next-column-expected.png
new file mode 100644
index 0000000..b37a29b9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-with-child-layer-in-next-column-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-with-overflow-in-next-column-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-with-overflow-in-next-column-expected.png
new file mode 100644
index 0000000..ad7e3ec8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/composited-with-overflow-in-next-column-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/layers-in-multicol-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/layers-in-multicol-expected.png
new file mode 100644
index 0000000..eeabb0f4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/layers-in-multicol-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/layers-split-across-columns-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/layers-split-across-columns-expected.png
new file mode 100644
index 0000000..a7b1380
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/layers-split-across-columns-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/multicol-with-child-renderLayer-for-input-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/multicol-with-child-renderLayer-for-input-expected.png
new file mode 100644
index 0000000..9a4777cd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/multicol-with-child-renderLayer-for-input-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/span/invalid-spanner-in-transform-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/span/invalid-spanner-in-transform-expected.png
new file mode 100644
index 0000000..a817b05
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/span/invalid-spanner-in-transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/vertical-lr/composited-relpos-overlapping-will-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/vertical-lr/composited-relpos-overlapping-will-change-expected.png
new file mode 100644
index 0000000..66d9efc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/vertical-lr/composited-relpos-overlapping-will-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/vertical-rl/composited-relpos-overlapping-will-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/vertical-rl/composited-relpos-overlapping-will-change-expected.png
new file mode 100644
index 0000000..dce6fec3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/fast/multicol/vertical-rl/composited-relpos-overlapping-will-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/filters/clip-filter-overflow-clip-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/filters/clip-filter-overflow-clip-expected.png
new file mode 100644
index 0000000..cb1ae47
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/filters/clip-filter-overflow-clip-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/filters/clip-filter-overflow-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/filters/clip-filter-overflow-clip-expected.txt
new file mode 100644
index 0000000..b8a0201
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/filters/clip-filter-overflow-clip-expected.txt
@@ -0,0 +1,17 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x96
+  LayoutBlockFlow {HTML} at (0,0) size 800x96
+    LayoutBlockFlow {BODY} at (8,8) size 784x80
+      LayoutText {#text} at (0,0) size 489x19
+        text run at (0,0) width 489: "This test verifies CSS clip, filter, and overflow clip are applied in the order of:"
+      LayoutBR {BR} at (489,0) size 0x19
+      LayoutText {#text} at (0,20) size 418x19
+        text run at (0,20) width 418: "output <-- clip <-- filter <-- overflow clip <-- normal-flow contents"
+      LayoutBR {BR} at (418,20) size 0x19
+      LayoutText {#text} at (0,40) size 777x39
+        text run at (0,40) width 777: "The test succeeds if the green box below has a crisp left edge, blurred top/bottom dashed border, and a crisp right edge with"
+        text run at (0,60) width 347: "blurred partial dashed border. No red should be visible."
+layer at (10,200) size 110x110 backgroundClip at (65,191) size 50x128 clip at (65,205) size 50x100 scrollWidth 105 scrollHeight 105
+  LayoutBlockFlow (positioned) {DIV} at (10,200) size 110x110 [bgcolor=#008000] [border: (5px dashed #000000)]
+    LayoutBlockFlow {DIV} at (0,0) size 110x110 [border: (5px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/4774354-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/4774354-expected.txt
new file mode 100644
index 0000000..3bfe07c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/4774354-expected.txt
@@ -0,0 +1,15 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutText {#text} at (0,0) size 0x0
+layer at (8,8) size 304x154
+  LayoutIFrame {IFRAME} at (0,0) size 304x154 [border: (2px inset #EEEEEE)]
+    layer at (0,0) size 300x150
+      LayoutView at (0,0) size 300x150
+    layer at (0,0) size 300x150
+      LayoutBlockFlow {HTML} at (0,0) size 300x150
+        LayoutBlockFlow {BODY} at (8,8) size 284x134 [bgcolor=#FFFFE0]
+          LayoutText {#text} at (0,0) size 238x19
+            text run at (0,0) width 238: "You should not see a caret in this text."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/box/invalidate-box-shadow-currentColor-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/box/invalidate-box-shadow-currentColor-expected.txt
new file mode 100644
index 0000000..d1d90688
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/box/invalidate-box-shadow-currentColor-expected.txt
@@ -0,0 +1,52 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutInline SPAN id='target'",
+          "rect": [8, 8, 28, 24],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 8, 28, 19],
+          "reason": "style change"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutInline SPAN id='target'",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineFlowBox",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox 'Text'",
+      "reason": "style change"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/bugzilla-7235-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/bugzilla-7235-expected.png
new file mode 100644
index 0000000..0c6711e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/bugzilla-7235-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/canvas-resize-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/canvas-resize-expected.png
new file mode 100644
index 0000000..527cdb84
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/canvas-resize-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/canvas-resize-no-full-invalidation-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/canvas-resize-no-full-invalidation-expected.png
new file mode 100644
index 0000000..42ac8787
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/canvas-resize-no-full-invalidation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/layer-repaint-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/layer-repaint-expected.png
new file mode 100644
index 0000000..70fe89cb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/layer-repaint-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/layer-repaint-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/layer-repaint-expected.txt
new file mode 100644
index 0000000..74e8d63
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/layer-repaint-expected.txt
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x362
+  LayoutBlockFlow {HTML} at (0,0) size 800x362
+    LayoutBlockFlow {BODY} at (8,16) size 784x338
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 425x19
+          text run at (0,0) width 425: "Test for repaint in a composited layer. You should see no red below."
+layer at (8,52) size 202x302
+  LayoutBlockFlow {DIV} at (0,36) size 202x302 [border: (1px solid #000000)]
+    LayoutBlockFlow {DIV} at (51,51) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/layer-repaint-rects-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/layer-repaint-rects-expected.png
new file mode 100644
index 0000000..da6659d9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/layer-repaint-rects-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/layer-repaint-rects-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/layer-repaint-rects-expected.txt
new file mode 100644
index 0000000..738644ef
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/layer-repaint-rects-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x52
+  LayoutBlockFlow {HTML} at (0,0) size 800x52
+    LayoutBlockFlow {BODY} at (0,16) size 800x20
+      LayoutBlockFlow {P} at (0,0) size 800x20
+        LayoutText {#text} at (0,0) size 652x19
+          text run at (0,0) width 652: "Tests repaint after a layer stops compositing. You should see no red below after the end of the transition."
+layer at (0,100) size 402x232
+  LayoutBlockFlow (positioned) {DIV} at (0,100) size 402x232 [border: (1px solid #000000)]
+layer at (1,111) size 200x100
+  LayoutBlockFlow (positioned) {DIV} at (1,11) size 200x100 [bgcolor=#8888FF]
+layer at (1,221) size 200x100
+  LayoutBlockFlow (positioned) {DIV} at (1,121) size 200x100 [bgcolor=#FF0000]
+layer at (1,221) size 200x100
+  LayoutBlockFlow (positioned) {DIV} at (1,221) size 200x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/text-color-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/text-color-change-expected.png
new file mode 100644
index 0000000..7205d3c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/text-color-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/text-match-highlight-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/text-match-highlight-expected.png
new file mode 100644
index 0000000..79ecf528
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/text-match-highlight-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/updating-scrolling-container-and-content-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/updating-scrolling-container-and-content-expected.png
new file mode 100644
index 0000000..7a3ecb0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/updating-scrolling-container-and-content-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/updating-scrolling-container-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/updating-scrolling-container-expected.png
new file mode 100644
index 0000000..3f979365
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/compositing/updating-scrolling-container-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/inline-color-change-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/inline-color-change-expected.txt
new file mode 100644
index 0000000..023f8c6a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/inline-color-change-expected.txt
@@ -0,0 +1,52 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutInline SPAN id='target'",
+          "rect": [8, 72, 37, 19],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 72, 37, 19],
+          "reason": "style change"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutInline SPAN id='target'",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineFlowBox",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "style change"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-1-expected.png
new file mode 100644
index 0000000..57896b3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-1-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-1-expected.txt
new file mode 100644
index 0000000..7d0abdbe
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-1-expected.txt
@@ -0,0 +1,387 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow P",
+          "rect": [8, 74, 418, 526],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 240, 408, 139],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [13, 80, 408, 119],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [13, 500, 408, 99],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [13, 520, 408, 80],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [13, 180, 408, 79],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [13, 240, 407, 139],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [65, 360, 356, 39],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 460, 355, 59],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 420, 355, 39],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 420, 355, 39],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 440, 354, 59],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [65, 400, 304, 39],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [65, 400, 304, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [65, 380, 304, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow (floating) DIV id='pinkFloat'",
+          "rect": [378, 138, 70, 30],
+          "reason": "incremental"
+        },
+        {
+          "object": "LayoutBlockFlow (floating) SPAN id='greenFloat'",
+          "rect": [372, 403, 48, 81],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow (floating) SPAN id='greenFloat'",
+          "rect": [372, 383, 48, 81],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [238, 180, 40, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [151, 180, 40, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutView #document",
+          "rect": [485, 0, 15, 600],
+          "reason": "scroll control"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "VerticalScrollbar",
+      "reason": "scroll control"
+    },
+    {
+      "object": "LayoutBlockFlow (floating) DIV id='pinkFloat'",
+      "reason": "incremental"
+    },
+    {
+      "object": "LayoutBlockFlow P",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'The chief difficulty Alice found at first was in managing'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'her\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'flamingo: she succeeded in getting its body tucked'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'away,\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'comfortably enough, under her arm, with its legs'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'hanging down,\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'but generally, just as she had got its neck'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'nicely straightened\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'out, and was going to give the hedgehog a'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'blow with its head, it\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'would'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox ' twist itself round and look up in her'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'face, with\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'such a puzzled expression that she could not help'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'bursting out\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'laughing: and when she had got its head down, and'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'was going to\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'begin again, it was very provoking to find that the'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'hedgehog had\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'unrolled itself, and was in the act of crawling'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'away: besides all\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'this, there was generally a ridge or furrow in'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'the way wherever\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'she wanted to send the hedgehog to, and, as'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'the doubled-up\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'soldiers were always getting up and walking off'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'to other parts of\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'the ground, Alice soon came to the conclusion'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'that it was a very\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'difficult game indeed.\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'The players all played at once without waiting'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutBlockFlow (floating) SPAN id='greenFloat'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'for turns,\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'quarrelling all the while, and fighting'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'for the hedgehogs; and in\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'a very short time '",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'the'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'Queen'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox ' was in a furious passion, and went\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'stamping'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'about, and shouting \u2018Off with his head!\u2019 or \u2018Off with'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'her head!\u2019 about once in a minute.\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'Alice began to feel very uneasy: to be sure, she had not as\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'yet'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'had any dispute with the Queen, but she knew that it might'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'happen any minute, \u2018and then,\u2019 thought she, \u2018what would'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'become of\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'me? They\u2019re dreadfully fond of beheading people'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'here; the great\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'wonder is, that there\u2018s any one left alive!\u2019'",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-10-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-10-expected.png
new file mode 100644
index 0000000..b80bcae
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-10-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-2-expected.png
new file mode 100644
index 0000000..7b0d256
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-2-expected.txt
new file mode 100644
index 0000000..ca5e77d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-2-expected.txt
@@ -0,0 +1,405 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow P",
+          "rect": [8, 74, 418, 526],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [13, 520, 408, 80],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [13, 241, 407, 139],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [13, 240, 407, 139],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 181, 407, 79],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 180, 407, 79],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [65, 361, 356, 39],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [65, 360, 356, 39],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 80, 355, 120],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 461, 355, 59],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 460, 355, 59],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 421, 355, 39],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 420, 355, 39],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [65, 401, 304, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [65, 400, 304, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [302, 441, 66, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [302, 440, 66, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow (floating) SPAN id='greenFloat'",
+          "rect": [372, 404, 48, 81],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow (floating) SPAN id='greenFloat'",
+          "rect": [372, 403, 48, 81],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow (floating) SPAN id='blueFloat'",
+          "rect": [14, 364, 48, 65],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow (floating) SPAN id='blueFloat'",
+          "rect": [14, 363, 48, 65],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [235, 180, 45, 20],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutView #document",
+          "rect": [485, 0, 15, 600],
+          "reason": "scroll control"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "VerticalScrollbar",
+      "reason": "scroll control"
+    },
+    {
+      "object": "LayoutBlockFlow P",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'The chief difficulty Alice found at first was in managing'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'her\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'flamingo: she succeeded in getting its body tucked'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'away,\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'comfortably enough, under her arm, with its legs'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'hanging down,\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'but generally, just as she had got its neck'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'nicely straightened\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'out, and was going to give the'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'hedgehog a blow with its head, it\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutInline I id='would'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox 'would'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox ' twist itself round and'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'look up in her face, with\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'such a puzzled expression that she'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'could not help bursting out\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'laughing: and when she had got its'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'head down, and was going to\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'begin again, it was very'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'provoking to find that the hedgehog had\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'unrolled itself, and was'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'in the act of crawling away: besides all\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'this, there was generally'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'a ridge or furrow in the way wherever\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'she wanted to send the'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'hedgehog to, and, as the doubled-up\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'soldiers were always'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'getting up and walking off to other parts of\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'the ground, Alice'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'soon came to the conclusion that it was a very\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutBlockFlow (floating) SPAN id='blueFloat'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'difficult'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'game indeed.\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'The players all played at once without waiting'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutBlockFlow (floating) SPAN id='greenFloat'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'for turns,\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'quarrelling all the while, and fighting'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'for the hedgehogs; and in\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'a very short time '",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'the Queen'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'was in a furious passion, and went\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'stamping about, and'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'her head!\u2019'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'about once in a minute.\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'Alice began to feel very uneasy: to be sure, she had not as\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'yet'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'had any dispute with the Queen, but she knew that it might'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'happen any minute, \u2018and then,\u2019 thought she, \u2018what would'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'become of\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'me? They\u2019re dreadfully fond of beheading people'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'here; the great\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'wonder is, that there\u2018s any one left alive!\u2019'",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-3-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-3-expected.png
new file mode 100644
index 0000000..5c9f419
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-4-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-4-expected.png
new file mode 100644
index 0000000..01a4e5a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-5-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-5-expected.png
new file mode 100644
index 0000000..918d3aa
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-5-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-6-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-6-expected.png
new file mode 100644
index 0000000..cbfb3d8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-7-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-7-expected.png
new file mode 100644
index 0000000..3c38b063
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-7-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-8-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-8-expected.png
new file mode 100644
index 0000000..4903f2f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-8-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-8-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-8-expected.txt
new file mode 100644
index 0000000..2ef8196b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-8-expected.txt
@@ -0,0 +1,321 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow P",
+          "rect": [8, 74, 418, 526],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [13, 240, 407, 139],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 180, 407, 79],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 360, 406, 39],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [13, 440, 357, 79],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [65, 360, 356, 39],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 80, 355, 119],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 420, 355, 39],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 400, 354, 59],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [65, 400, 304, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [14, 400, 297, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [184, 440, 68, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [302, 440, 66, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow (floating) SPAN id='blueFloat'",
+          "rect": [14, 363, 48, 65],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [238, 180, 40, 19],
+          "reason": "geometry"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutBlockFlow (floating) SPAN id='blueFloat'",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutBlockFlow P",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'The chief difficulty Alice found at first was in managing'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'her\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'flamingo: she succeeded in getting its body tucked'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'away,\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'comfortably enough, under her arm, with its legs'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'hanging down,\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'but generally, just as she had got its neck'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'nicely straightened\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'out, and was going to give the'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'hedgehog a blow with its head, it\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'would'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox ' twist itself round and'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'look up in her face, with\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'such a puzzled expression that she'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'could not help bursting out\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'laughing: and when she had got its'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'head down, and was going to\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'begin again, it was very'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'provoking to find that the hedgehog had\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'unrolled itself, and was'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'in the act of crawling away: besides all\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'this, there was generally'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'a ridge or furrow in the way wherever\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'she wanted to send the'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'hedgehog to, and, as the doubled-up\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'soldiers were always'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'getting up and walking off to other parts of\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'the ground, Alice'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'soon came to the conclusion that it was a very\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'difficult game'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'indeed.\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'The players all played at once without waiting\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'for turns,'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'quarrelling all the while, and fighting for the hedgehogs;'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'and in\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'a very short time '",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'the Queen'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox ' was in a furious'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'passion, and went\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'stamping about, and shouting \u2018Off'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'with his head!\u2019 or \u2018Off with\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'her head!\u2019 about once in a'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'minute.\n'",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-9-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-9-expected.png
new file mode 100644
index 0000000..5935454d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/line-flow-with-floats-9-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/lines-with-layout-delta-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/lines-with-layout-delta-expected.txt
new file mode 100644
index 0000000..822bb5b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/lines-with-layout-delta-expected.txt
@@ -0,0 +1,52 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow (floating) DIV id='target'",
+          "rect": [8, 58, 200, 20],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 58, 37, 19],
+          "reason": "full"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutBlockFlow (floating) DIV id='target'",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "full"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "full"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/list-marker-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/list-marker-expected.png
new file mode 100644
index 0000000..96e074e6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/list-marker-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/list-marker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/list-marker-expected.txt
new file mode 100644
index 0000000..6dc6ec0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/list-marker-expected.txt
@@ -0,0 +1,46 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x576
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Test for "
+        LayoutInline {I} at (0,0) size 728x39
+          LayoutInline {A} at (0,0) size 301x19 [color=#0000EE]
+            LayoutText {#text} at (51,0) size 301x19
+              text run at (51,0) width 301: "http://bugs.webkit.org/show_bug.cgi?id=12910"
+          LayoutText {#text} at (352,0) size 728x39
+            text run at (352,0) width 4: " "
+            text run at (356,0) width 372: "REGRESSION (r18756-r18765): list-bullet doesn't redraw"
+            text run at (0,20) width 368: "properly when changing the list's content using JavaScript"
+        LayoutText {#text} at (368,20) size 4x19
+          text run at (368,20) width 4: "."
+      LayoutBlockFlow {UL} at (0,56) size 784x20
+        LayoutListItem {LI} at (40,0) size 744x20
+          LayoutBlockFlow (anonymous) at (0,0) size 744x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 21x19
+              text run at (0,0) width 21: "foo"
+          LayoutBlockFlow {DIV} at (10,30) size 724x0
+      LayoutBlockFlow {UL} at (0,92) size 784x20
+        LayoutListItem {LI} at (40,0) size 744x20
+          LayoutBlockFlow (anonymous) at (0,0) size 744x20
+            LayoutListMarker (anonymous) at (-1,0) size 7x19: bullet
+            LayoutText {#text} at (22,0) size 20x19
+              text run at (22,0) width 20: "bar"
+          LayoutBlockFlow {DIV} at (10,30) size 724x0
+      LayoutBlockFlow {UL} at (0,128) size 784x20
+        LayoutListItem {LI} at (0,0) size 744x20
+          LayoutBlockFlow (anonymous) at (0,0) size 744x20
+            LayoutListMarker (anonymous) at (755,0) size 7x19: bullet
+            LayoutText {#text} at (723,0) size 21x19
+              text run at (723,0) width 21: "foo"
+          LayoutBlockFlow {DIV} at (10,30) size 724x0
+      LayoutBlockFlow {UL} at (0,164) size 784x20
+        LayoutListItem {LI} at (0,0) size 744x20
+          LayoutBlockFlow (anonymous) at (0,0) size 744x20
+            LayoutListMarker (anonymous) at (738,0) size 7x19: bullet
+            LayoutText {#text} at (702,0) size 20x19
+              text run at (702,0) width 20: "bar"
+          LayoutBlockFlow {DIV} at (10,30) size 724x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/make-children-non-inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/make-children-non-inline-expected.txt
new file mode 100644
index 0000000..6a9c6da0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/make-children-non-inline-expected.txt
@@ -0,0 +1,364 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow DIV",
+          "rect": [8, 64, 784, 280],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutBlockFlow (anonymous)",
+          "rect": [8, 64, 784, 100],
+          "reason": "appeared"
+        },
+        {
+          "object": "LayoutBlockFlow (anonymous)",
+          "rect": [8, 264, 784, 80],
+          "reason": "appeared"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 264, 111, 19],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 164, 111, 19],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 144, 80, 19],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 144, 80, 19],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 104, 79, 19],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 104, 79, 19],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 284, 67, 19],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 184, 67, 19],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 324, 62, 19],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 224, 62, 19],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 124, 45, 19],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 124, 45, 19],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 84, 43, 19],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 84, 43, 19],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 64, 38, 19],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 64, 38, 19],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 304, 29, 19],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 204, 29, 19],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutBlockFlow DIV id='target'",
+          "rect": [8, 164, 10, 100],
+          "reason": "appeared"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutBlockFlow DIV",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutBlockFlow (anonymous)",
+      "reason": "appeared"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "appeared"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox 'Word,'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox '\n'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox 'words,'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox '\n'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox 'more words.'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox '\n'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox 'I could'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox '\n'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox 'write a book'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox '\n'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutBlockFlow DIV id='target'",
+      "reason": "appeared"
+    },
+    {
+      "object": "LayoutBlockFlow (anonymous)",
+      "reason": "appeared"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "appeared"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox 'about all the stuff'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox '\n'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox 'that comes'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox '\n'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox 'after'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox '\n'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox 'the break.'",
+      "reason": "style change"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/multi-layout-one-frame-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/multi-layout-one-frame-expected.txt
new file mode 100644
index 0000000..fef9bd8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/multi-layout-one-frame-expected.txt
@@ -0,0 +1,78 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow DIV",
+          "rect": [168, 11, 150, 16],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow DIV",
+          "rect": [10, 11, 150, 16],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [168, 11, 54, 16],
+          "reason": "full"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [10, 11, 54, 16],
+          "reason": "full"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutBlockFlow DIV",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "full"
+    },
+    {
+      "object": "InlineTextBox 'PASSED'",
+      "reason": "full"
+    },
+    {
+      "object": "LayoutBlockFlow DIV",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "full"
+    },
+    {
+      "object": "InlineTextBox 'PASSED'",
+      "reason": "full"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/multicol/column-rules-fixed-height-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/multicol/column-rules-fixed-height-expected.png
new file mode 100644
index 0000000..5e109fa8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/multicol/column-rules-fixed-height-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/outline/inline-outline-repaint-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/outline/inline-outline-repaint-expected.png
new file mode 100644
index 0000000..c74929e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/outline/inline-outline-repaint-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/outline/layer-outline-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/outline/layer-outline-expected.png
new file mode 100644
index 0000000..390ce4ad
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/outline/layer-outline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/outline/layer-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/outline/layer-outline-expected.txt
new file mode 100644
index 0000000..eab183ba
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/outline/layer-outline-expected.txt
@@ -0,0 +1,36 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 207x19
+          text run at (0,0) width 207: "This tests for regressions against "
+        LayoutInline {I} at (0,0) size 542x19
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (207,0) size 348x19
+              text run at (207,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7943"
+          LayoutText {#text} at (555,0) size 194x19
+            text run at (555,0) width 194: " Layer outline does not repaint"
+        LayoutText {#text} at (749,0) size 4x19
+          text run at (749,0) width 4: "."
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (18,194) size 100x100 clip at (19,195) size 98x98
+  LayoutBlockFlow {DIV} at (10,186) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (8,54) size 784x130
+  LayoutBlockFlow (relative positioned) {DIV} at (0,46) size 784x130
+layer at (18,64) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (10,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (148,64) size 100x100 backgroundClip at (138,54) size 100x100 clip at (138,54) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (140,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (278,64) size 100x100 backgroundClip at (268,54) size 5x5 clip at (268,54) size 5x5
+  LayoutBlockFlow (positioned) {DIV} at (270,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (408,64) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (400,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (538,64) size 100x100 backgroundClip at (548,74) size 100x100 clip at (548,74) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (530,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (668,64) size 100x100 backgroundClip at (773,169) size 5x5 clip at (773,169) size 5x5
+  LayoutBlockFlow (positioned) {DIV} at (660,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (18,324) size 100x100
+  LayoutBlockFlow (relative positioned) {DIV} at (0,296) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/outline/layer-outline-horizontal-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/outline/layer-outline-horizontal-expected.png
new file mode 100644
index 0000000..390ce4ad
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/outline/layer-outline-horizontal-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/outline/layer-outline-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/outline/layer-outline-horizontal-expected.txt
new file mode 100644
index 0000000..eab183ba
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/outline/layer-outline-horizontal-expected.txt
@@ -0,0 +1,36 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 207x19
+          text run at (0,0) width 207: "This tests for regressions against "
+        LayoutInline {I} at (0,0) size 542x19
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (207,0) size 348x19
+              text run at (207,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7943"
+          LayoutText {#text} at (555,0) size 194x19
+            text run at (555,0) width 194: " Layer outline does not repaint"
+        LayoutText {#text} at (749,0) size 4x19
+          text run at (749,0) width 4: "."
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (18,194) size 100x100 clip at (19,195) size 98x98
+  LayoutBlockFlow {DIV} at (10,186) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (8,54) size 784x130
+  LayoutBlockFlow (relative positioned) {DIV} at (0,46) size 784x130
+layer at (18,64) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (10,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (148,64) size 100x100 backgroundClip at (138,54) size 100x100 clip at (138,54) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (140,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (278,64) size 100x100 backgroundClip at (268,54) size 5x5 clip at (268,54) size 5x5
+  LayoutBlockFlow (positioned) {DIV} at (270,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (408,64) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (400,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (538,64) size 100x100 backgroundClip at (548,74) size 100x100 clip at (548,74) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (530,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (668,64) size 100x100 backgroundClip at (773,169) size 5x5 clip at (773,169) size 5x5
+  LayoutBlockFlow (positioned) {DIV} at (660,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (18,324) size 100x100
+  LayoutBlockFlow (relative positioned) {DIV} at (0,296) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/flexible-box-overflow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/flexible-box-overflow-expected.png
new file mode 100644
index 0000000..a193e54
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/flexible-box-overflow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/flexible-box-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/flexible-box-overflow-expected.txt
new file mode 100644
index 0000000..c692ae66
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/flexible-box-overflow-expected.txt
@@ -0,0 +1,43 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x552
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 226x19
+          text run at (0,0) width 226: "This is a test for regressions against "
+        LayoutInline {I} at (0,0) size 762x39
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (226,0) size 348x19
+              text run at (226,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8056"
+          LayoutText {#text} at (574,0) size 762x39
+            text run at (574,0) width 4: " "
+            text run at (578,0) width 184: "Flexible boxes do not repaint"
+            text run at (0,20) width 238: "their top, left and children's overflows"
+        LayoutText {#text} at (238,20) size 4x19
+          text run at (238,20) width 4: "."
+      LayoutBlockFlow {DIV} at (0,66) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+            LayoutText {#text} at (1,1) size 177x19
+              text run at (1,1) width 177: "Lorem ipsum dolor sit amet."
+      LayoutBlockFlow {DIV} at (0,186) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+      LayoutBlockFlow {DIV} at (0,306) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+      LayoutBlockFlow {DIV} at (0,426) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+            LayoutText {#text} at (1,1) size 98x159
+              text run at (1,1) width 84: "Lorem ipsum"
+              text run at (1,21) width 89: "dolor sit amet,"
+              text run at (1,41) width 78: "consectetuer"
+              text run at (1,61) width 91: "adipiscing elit."
+              text run at (1,81) width 98: "Etiam et ipsum."
+              text run at (1,101) width 31: "Nam"
+              text run at (1,121) width 98: "consectetuer mi"
+              text run at (1,141) width 61: "eget velit."
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.png
new file mode 100644
index 0000000..a193e54
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.txt
new file mode 100644
index 0000000..c692ae66
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.txt
@@ -0,0 +1,43 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x552
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 226x19
+          text run at (0,0) width 226: "This is a test for regressions against "
+        LayoutInline {I} at (0,0) size 762x39
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (226,0) size 348x19
+              text run at (226,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8056"
+          LayoutText {#text} at (574,0) size 762x39
+            text run at (574,0) width 4: " "
+            text run at (578,0) width 184: "Flexible boxes do not repaint"
+            text run at (0,20) width 238: "their top, left and children's overflows"
+        LayoutText {#text} at (238,20) size 4x19
+          text run at (238,20) width 4: "."
+      LayoutBlockFlow {DIV} at (0,66) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+            LayoutText {#text} at (1,1) size 177x19
+              text run at (1,1) width 177: "Lorem ipsum dolor sit amet."
+      LayoutBlockFlow {DIV} at (0,186) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+      LayoutBlockFlow {DIV} at (0,306) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+      LayoutBlockFlow {DIV} at (0,426) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+            LayoutText {#text} at (1,1) size 98x159
+              text run at (1,1) width 84: "Lorem ipsum"
+              text run at (1,21) width 89: "dolor sit amet,"
+              text run at (1,41) width 78: "consectetuer"
+              text run at (1,61) width 91: "adipiscing elit."
+              text run at (1,81) width 98: "Etiam et ipsum."
+              text run at (1,101) width 31: "Nam"
+              text run at (1,121) width 98: "consectetuer mi"
+              text run at (1,141) width 61: "eget velit."
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/inline-block-overflow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/inline-block-overflow-expected.png
new file mode 100644
index 0000000..bff9a6ca
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/inline-block-overflow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/inline-block-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/inline-block-overflow-expected.txt
new file mode 100644
index 0000000..22a1a6a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/inline-block-overflow-expected.txt
@@ -0,0 +1,19 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 321x19
+          text run at (0,0) width 321: "This is a repaint test of inline blocks with overflow."
+      LayoutBlockFlow (anonymous) at (0,46) size 784x20
+        LayoutInline {SPAN} at (0,0) size 198x19
+          LayoutText {#text} at (0,0) size 98x19
+            text run at (0,0) width 98: "Here comes an "
+          LayoutBlockFlow {SPAN} at (98,0) size 100x20 [bgcolor=#C0C0C0]
+            LayoutText {#text} at (0,0) size 91x39
+              text run at (0,0) width 74: "inline block"
+              text run at (0,20) width 91: "with overflow."
+        LayoutText {#text} at (0,0) size 0x0
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/overflow-outline-repaint-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/overflow-outline-repaint-expected.png
new file mode 100644
index 0000000..507aad6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/overflow-outline-repaint-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/paged-with-overflowing-block-rl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/paged-with-overflowing-block-rl-expected.png
new file mode 100644
index 0000000..b2010ce5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/paged-with-overflowing-block-rl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/vertical-overflow-child-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/vertical-overflow-child-expected.png
new file mode 100644
index 0000000..171cad8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/vertical-overflow-child-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/vertical-overflow-parent-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/vertical-overflow-parent-expected.png
new file mode 100644
index 0000000..25d47ed
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/vertical-overflow-parent-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/vertical-overflow-same-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/vertical-overflow-same-expected.png
new file mode 100644
index 0000000..3130ed1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/overflow/vertical-overflow-same-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/paint-invalidation-with-reparent-across-frame-boundaries-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/paint-invalidation-with-reparent-across-frame-boundaries-expected.png
new file mode 100644
index 0000000..246a027
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/paint-invalidation-with-reparent-across-frame-boundaries-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/position/fixed-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/position/fixed-expected.png
new file mode 100644
index 0000000..dcb8befc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/position/fixed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/position/layout-state-relative-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/position/layout-state-relative-expected.txt
new file mode 100644
index 0000000..fbe9e64
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/position/layout-state-relative-expected.txt
@@ -0,0 +1,52 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow (relative positioned) DIV id='target'",
+          "rect": [8, 152, 784, 20],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 152, 37, 19],
+          "reason": "full"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutBlockFlow (relative positioned) DIV id='target'",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "full"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "full"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/position/positioned-document-element-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/position/positioned-document-element-expected.txt
new file mode 100644
index 0000000..aa77697
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/position/positioned-document-element-expected.txt
@@ -0,0 +1,93 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#008000"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#008000",
+      "paintInvalidations": [
+        {
+          "object": "LayoutView #document",
+          "rect": [0, 0, 800, 600],
+          "reason": "background on scrolling contents layer"
+        },
+        {
+          "object": "LayoutBlockFlow (positioned) HTML class='changed'",
+          "rect": [0, 0, 800, 52],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutBlockFlow P",
+          "rect": [8, 16, 784, 20],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow (positioned) HTML class='changed'",
+          "rect": [100, 100, 439, 52],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutBlockFlow P",
+          "rect": [108, 116, 423, 20],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [108, 116, 423, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 16, 423, 19],
+          "reason": "geometry"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "Scrolling Contents Layer",
+      "reason": "background on scrolling contents layer"
+    },
+    {
+      "object": "LayoutView #document",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutBlockFlow (positioned) HTML class='changed'",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutBlockFlow BODY",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutBlockFlow P",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'Tests that the entire viewport is painted with a floated html element.'",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/position/positioned-great-grandparent-change-location-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/position/positioned-great-grandparent-change-location-expected.txt
new file mode 100644
index 0000000..a2725a7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/position/positioned-great-grandparent-change-location-expected.txt
@@ -0,0 +1,70 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow (positioned) DIV",
+          "rect": [100, 200, 100, 100],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow (positioned) DIV",
+          "rect": [100, 100, 100, 100],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [100, 200, 40, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [100, 100, 40, 19],
+          "reason": "geometry"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutBlockFlow (positioned) DIV",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutBlockFlow (positioned) DIV",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutBlockFlow (positioned) DIV",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'Target'",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/reflection/reflection-with-rotation-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/reflection/reflection-with-rotation-expected.png
new file mode 100644
index 0000000..f3c6567
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/reflection/reflection-with-rotation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/reflection/reflection-with-rotation-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/reflection/reflection-with-rotation-expected.txt
new file mode 100644
index 0000000..d4475f5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/reflection/reflection-with-rotation-expected.txt
@@ -0,0 +1,52 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow DIV id='target'",
+          "rect": [22, 50, 226, 167],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [23, 51, 71, 109],
+          "reason": "full"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutBlockFlow DIV id='target'",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "full"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "full"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/remove-inline-after-layout-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/remove-inline-after-layout-expected.txt
new file mode 100644
index 0000000..646980d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/remove-inline-after-layout-expected.txt
@@ -0,0 +1,92 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow (anonymous)",
+          "rect": [8, 108, 784, 105],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [112, 193, 179, 19],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutBlockFlow DIV",
+          "rect": [291, 108, 100, 100],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow DIV",
+          "rect": [112, 108, 100, 100],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow DIV",
+          "rect": [8, 108, 100, 100],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [108, 193, 4, 19],
+          "reason": "geometry"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutInline SPAN id='target'",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutBlockFlow (anonymous)",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutBlockFlow DIV",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutBlockFlow DIV",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/remove-inline-layer-after-layout-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/remove-inline-layer-after-layout-expected.txt
new file mode 100644
index 0000000..22fd099
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/remove-inline-layer-after-layout-expected.txt
@@ -0,0 +1,97 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow (anonymous)",
+          "rect": [8, 108, 784, 105],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutInline SPAN id='target'",
+          "rect": [112, 108, 179, 104],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [112, 193, 179, 19],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutBlockFlow DIV",
+          "rect": [291, 108, 100, 100],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow DIV",
+          "rect": [112, 108, 100, 100],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow DIV",
+          "rect": [8, 108, 100, 100],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [108, 193, 4, 19],
+          "reason": "geometry"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutInline SPAN id='target'",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutBlockFlow (anonymous)",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutBlockFlow DIV",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\n'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutBlockFlow DIV",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/resize-iframe-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/resize-iframe-text-expected.png
new file mode 100644
index 0000000..07e17527
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/resize-iframe-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scale-page-shrink-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scale-page-shrink-expected.png
new file mode 100644
index 0000000..efdfb912
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scale-page-shrink-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/caret-with-composited-scroll-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/caret-with-composited-scroll-expected.png
new file mode 100644
index 0000000..dd9a0d19
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/caret-with-composited-scroll-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/destroy-composited-scrollbar-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/destroy-composited-scrollbar-expected.png
new file mode 100644
index 0000000..b5ad85ea
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/destroy-composited-scrollbar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/destroy-overlay-scrollbar-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/destroy-overlay-scrollbar-expected.png
new file mode 100644
index 0000000..2042357
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/destroy-overlay-scrollbar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/destroy-scrollbar-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/destroy-scrollbar-expected.png
new file mode 100644
index 0000000..043f586
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/destroy-scrollbar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/fixed-child-of-transformed-scrolled-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/fixed-child-of-transformed-scrolled-expected.png
new file mode 100644
index 0000000..0cec37d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/fixed-child-of-transformed-scrolled-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/fixed-descendant-of-transformed-scrolled-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/fixed-descendant-of-transformed-scrolled-expected.png
new file mode 100644
index 0000000..b02994b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/fixed-descendant-of-transformed-scrolled-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.png
new file mode 100644
index 0000000..16e374e0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.txt
new file mode 100644
index 0000000..a65ba17
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.txt
@@ -0,0 +1,52 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [785, 585],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [2000, 2000],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutText #text",
+          "rect": [0, 320, 400, 19],
+          "reason": "style change"
+        }
+      ],
+      "transform": 1
+    }
+  ],
+  "transforms": [
+    {
+      "id": 1,
+      "transform": [
+        [1, 0, 0, 0],
+        [0, 1, 0, 0],
+        [0, 0, 1, 0],
+        [-200, -200, 0, 1]
+      ],
+      "flattenInheritedTransform": false
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutText #text",
+      "reason": "style change"
+    },
+    {
+      "object": "InlineTextBox 'Text Text Text Text Text Text Text Text Text Text Text Text Text'",
+      "reason": "style change"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/line-in-scrolled-clipped-block-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/line-in-scrolled-clipped-block-expected.png
new file mode 100644
index 0000000..3fc1738e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/line-in-scrolled-clipped-block-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/overflow-scroll-after-move-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/overflow-scroll-after-move-expected.png
new file mode 100644
index 0000000..f82731cb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/overflow-scroll-after-move-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/overflow-scroll-body-appear-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/overflow-scroll-body-appear-expected.txt
new file mode 100644
index 0000000..da67bef1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/overflow-scroll-body-appear-expected.txt
@@ -0,0 +1,125 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [785, 585],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [2008, 2096],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow BODY",
+          "rect": [8, 16, 784, 2072],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutBlockFlow P",
+          "rect": [8, 52, 784, 20],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow P",
+          "rect": [8, 16, 784, 20],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [124, 52, 383, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 16, 340, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 52, 116, 19],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [507, 52, 4, 19],
+          "reason": "geometry"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutView #document",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutView #document",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutView #document",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutBlockFlow BODY",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutBlockFlow P",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'You should see both vertical and horizontal scrollbars.'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutBlockFlow P",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'This is the test for '",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'Bug 36461 - No vertical scrollbar after the CSS class change'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '.'",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/overflow-scroll-delete-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/overflow-scroll-delete-expected.png
new file mode 100644
index 0000000..1e4e2c6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/overflow-scroll-delete-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/overflow-scroll-local-background-text-color-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/overflow-scroll-local-background-text-color-change-expected.png
new file mode 100644
index 0000000..78aafce
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/overflow-scroll-local-background-text-color-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/resize-scrollable-div-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/resize-scrollable-div-expected.png
new file mode 100644
index 0000000..461a738
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/resize-scrollable-div-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/resize-scrollable-iframe-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/resize-scrollable-iframe-expected.png
new file mode 100644
index 0000000..b0e8fc4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/resize-scrollable-iframe-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/scrollbar-damage-and-full-viewport-repaint-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/scrollbar-damage-and-full-viewport-repaint-expected.png
new file mode 100644
index 0000000..724238a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/scroll/scrollbar-damage-and-full-viewport-repaint-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/japanese-rl-selection-clear-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/japanese-rl-selection-clear-expected.png
new file mode 100644
index 0000000..d10a20c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/japanese-rl-selection-clear-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/japanese-rl-selection-clear-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/japanese-rl-selection-clear-expected.txt
new file mode 100644
index 0000000..1981c8b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/japanese-rl-selection-clear-expected.txt
@@ -0,0 +1,91 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutText #text",
+          "rect": [442, 123, 335, 404],
+          "reason": "geometry"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/japanese-rl-selection-repaint-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/japanese-rl-selection-repaint-expected.png
new file mode 100644
index 0000000..75314ded
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/japanese-rl-selection-repaint-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/japanese-rl-selection-repaint-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/japanese-rl-selection-repaint-expected.txt
new file mode 100644
index 0000000..e7ed186
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/japanese-rl-selection-repaint-expected.txt
@@ -0,0 +1,75 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutText #text",
+          "rect": [538, 23, 239, 556],
+          "reason": "geometry"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selected-replaced-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selected-replaced-expected.png
new file mode 100644
index 0000000..220cdab8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selected-replaced-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selection-after-delete-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selection-after-delete-expected.png
new file mode 100644
index 0000000..de5ef555
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selection-after-delete-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selection-clear-after-move-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selection-clear-after-move-expected.png
new file mode 100644
index 0000000..46f6fd7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selection-clear-after-move-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selection-clear-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selection-clear-expected.txt
new file mode 100644
index 0000000..05edd50
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selection-clear-expected.txt
@@ -0,0 +1,104 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow DIV id='firstLine'",
+          "rect": [8, 8, 100, 200],
+          "reason": "full"
+        },
+        {
+          "object": "LayoutBlockFlow (anonymous)",
+          "rect": [8, 208, 100, 100],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutBlockFlow DIV id='root'",
+          "rect": [8, 208, 100, 100],
+          "reason": "incremental"
+        },
+        {
+          "object": "LayoutBlockFlow (anonymous)",
+          "rect": [8, 108, 100, 100],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 48, 95, 119],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [8, 48, 8, 19],
+          "reason": "appeared"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutBlockFlow DIV id='root'",
+      "reason": "incremental"
+    },
+    {
+      "object": "LayoutBlockFlow DIV id='firstLine'",
+      "reason": "full"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "full"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "appeared"
+    },
+    {
+      "object": "InlineTextBox '\u00A0'",
+      "reason": "appeared"
+    },
+    {
+      "object": "LayoutBlockFlow (anonymous)",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "selection"
+    },
+    {
+      "object": "InlineTextBox '\n'",
+      "reason": "selection"
+    },
+    {
+      "object": "LayoutBR BR",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox '\n'",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selection-rl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selection-rl-expected.png
new file mode 100644
index 0000000..f452c14a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selection-rl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selection-rl-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selection-rl-expected.txt
new file mode 100644
index 0000000..d0eac89a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/selection-rl-expected.txt
@@ -0,0 +1,39 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutText #text",
+          "rect": [773, 37, 19, 83],
+          "reason": "selection"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutText #text",
+      "reason": "selection"
+    },
+    {
+      "object": "InlineTextBox 'Testing both hit testing'",
+      "reason": "selection"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/text-selection-rect-in-overflow-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/text-selection-rect-in-overflow-2-expected.png
new file mode 100644
index 0000000..1d7e311
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/text-selection-rect-in-overflow-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/text-selection-rect-in-overflow-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/text-selection-rect-in-overflow-2-expected.txt
new file mode 100644
index 0000000..46f380b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/selection/text-selection-rect-in-overflow-2-expected.txt
@@ -0,0 +1,39 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutText #text",
+          "rect": [18, 18, 232, 19],
+          "reason": "selection"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutText #text",
+      "reason": "selection"
+    },
+    {
+      "object": "InlineTextBox 'Should have blue, not gray, highlight'",
+      "reason": "selection"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/subtree-root-skipped-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/subtree-root-skipped-expected.png
new file mode 100644
index 0000000..716c9acb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/subtree-root-skipped-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/subtree-root-skipped-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/subtree-root-skipped-expected.txt
new file mode 100644
index 0000000..307bbbe
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/subtree-root-skipped-expected.txt
@@ -0,0 +1,61 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow DIV",
+          "rect": [10, 11, 150, 16],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [10, 11, 36, 16],
+          "reason": "full"
+        },
+        {
+          "object": "LayoutBlockFlow (positioned) DIV id='div'",
+          "rect": [8, 288, 10, 20],
+          "reason": "geometry"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutBlockFlow DIV",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "full"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "full"
+    },
+    {
+      "object": "LayoutBlockFlow (positioned) DIV id='div'",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/animated-path-inside-transformed-html-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/animated-path-inside-transformed-html-expected.png
index 4108e12..399b4b9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/animated-path-inside-transformed-html-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/animated-path-inside-transformed-html-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/animated-svg-as-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/animated-svg-as-image-expected.png
new file mode 100644
index 0000000..61e5580
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/animated-svg-as-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/animated-svg-as-image-no-fixed-intrinsic-size-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/animated-svg-as-image-no-fixed-intrinsic-size-expected.png
new file mode 100644
index 0000000..602bc01
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/animated-svg-as-image-no-fixed-intrinsic-size-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/animated-svg-as-image-same-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/animated-svg-as-image-same-image-expected.png
new file mode 100644
index 0000000..61e5580
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/animated-svg-as-image-same-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/append-text-node-to-tspan-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/append-text-node-to-tspan-expected.png
new file mode 100644
index 0000000..e749ba7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/append-text-node-to-tspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/append-text-node-to-tspan-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/append-text-node-to-tspan-expected.txt
new file mode 100644
index 0000000..4af0c0d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/append-text-node-to-tspan-expected.txt
@@ -0,0 +1,156 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "appeared"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan id='modify'",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGText text",
+          "rect": [10, 62, 306, 377],
+          "reason": "style change"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutSVGText text",
+      "reason": "style change"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutSVGTSpan tspan id='modify'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineFlowBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'PA'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "appeared"
+    },
+    {
+      "object": "InlineTextBox 'SS'",
+      "reason": "appeared"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox ' '",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGTSpan tspan",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineFlowBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox ' '",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGTSpan tspan",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineFlowBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/embedded-svg-size-changes-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/embedded-svg-size-changes-expected.png
new file mode 100644
index 0000000..604d436
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/embedded-svg-size-changes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/ems-display-none-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/ems-display-none-expected.png
new file mode 100644
index 0000000..57b16a2e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/ems-display-none-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/exs-display-none-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/exs-display-none-expected.png
new file mode 100644
index 0000000..644da10e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/exs-display-none-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/hit-test-unclosed-subpaths-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/hit-test-unclosed-subpaths-expected.png
new file mode 100644
index 0000000..a1fafdd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/hit-test-unclosed-subpaths-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/modify-text-node-in-tspan-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/modify-text-node-in-tspan-expected.png
new file mode 100644
index 0000000..e749ba7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/modify-text-node-in-tspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/modify-text-node-in-tspan-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/modify-text-node-in-tspan-expected.txt
new file mode 100644
index 0000000..d81066f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/modify-text-node-in-tspan-expected.txt
@@ -0,0 +1,143 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "full"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan id='modify'",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGText text",
+          "rect": [10, 62, 306, 377],
+          "reason": "full"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutSVGText text",
+      "reason": "full"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "full"
+    },
+    {
+      "object": "LayoutSVGTSpan tspan id='modify'",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineFlowBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "full"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "full"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox ' '",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGTSpan tspan",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineFlowBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox ' '",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGTSpan tspan",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineFlowBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/nested-embedded-svg-size-changes-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/nested-embedded-svg-size-changes-expected.png
new file mode 100644
index 0000000..36087bf5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/nested-embedded-svg-size-changes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/remove-text-node-from-tspan-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/remove-text-node-from-tspan-expected.png
new file mode 100644
index 0000000..4b0c856
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/remove-text-node-from-tspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/remove-text-node-from-tspan-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/remove-text-node-from-tspan-expected.txt
new file mode 100644
index 0000000..dd0fd56
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/remove-text-node-from-tspan-expected.txt
@@ -0,0 +1,140 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 377],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan id='modify'",
+          "rect": [10, 62, 306, 377],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGText text",
+          "rect": [10, 62, 306, 377],
+          "reason": "full"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutSVGText text",
+      "reason": "full"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "full"
+    },
+    {
+      "object": "LayoutSVGTSpan tspan id='modify'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGTSpan tspan",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineFlowBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox ' '",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGTSpan tspan",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineFlowBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/remove-tspan-from-text-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/remove-tspan-from-text-expected.png
new file mode 100644
index 0000000..879a09e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/remove-tspan-from-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/remove-tspan-from-text-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/remove-tspan-from-text-expected.txt
new file mode 100644
index 0000000..cc4a58d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/remove-tspan-from-text-expected.txt
@@ -0,0 +1,131 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 257],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 257],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 257],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 257],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [10, 62, 306, 257],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan",
+          "rect": [10, 62, 306, 257],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan",
+          "rect": [10, 62, 306, 257],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan id='remove'",
+          "rect": [10, 62, 306, 257],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutSVGText text id='text'",
+          "rect": [10, 62, 306, 257],
+          "reason": "full"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutSVGTSpan tspan id='remove'",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutSVGText text id='text'",
+      "reason": "full"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "full"
+    },
+    {
+      "object": "LayoutSVGTSpan tspan",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineFlowBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox ' '",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGTSpan tspan",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineFlowBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "geometry"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "geometry"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.png
new file mode 100644
index 0000000..5636c8b8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/tabgroup-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/tabgroup-expected.png
index 3276a980..fdac35c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/tabgroup-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/tabgroup-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/text-mask-update-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/text-mask-update-expected.txt
new file mode 100644
index 0000000..f50ba7f4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/text-mask-update-expected.txt
@@ -0,0 +1,48 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutSVGRect rect",
+          "rect": [10, 3, 45, 22],
+          "reason": "style change"
+        },
+        {
+          "object": "LayoutSVGRect rect",
+          "rect": [10, 33, 42, 17],
+          "reason": "full"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "LayoutSVGRect rect",
+      "reason": "style change"
+    },
+    {
+      "object": "LayoutSVGRect rect",
+      "reason": "full"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/text-rescale-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/text-rescale-expected.png
new file mode 100644
index 0000000..443b1ea
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/text-rescale-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/text-rescale-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/text-rescale-expected.txt
new file mode 100644
index 0000000..b9a2a37
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/text-rescale-expected.txt
@@ -0,0 +1,435 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutSVGContainer g id='text2g'",
+          "rect": [0, 63, 401, 100],
+          "reason": "full"
+        },
+        {
+          "object": "LayoutSVGContainer g id='text1g'",
+          "rect": [0, 13, 401, 100],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGContainer g id='text3g'",
+          "rect": [0, 113, 401, 87],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [0, 114, 192, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [0, 114, 192, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [0, 114, 192, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan",
+          "rect": [0, 114, 192, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGText text",
+          "rect": [0, 114, 192, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [0, 14, 192, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [0, 14, 192, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [0, 14, 192, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan",
+          "rect": [0, 14, 192, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGText text",
+          "rect": [0, 14, 192, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGForeignObject foreignObject",
+          "rect": [210, 13, 100, 100],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGForeignObject foreignObject",
+          "rect": [210, 113, 100, 87],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutBlockFlow P",
+          "rect": [210, 113, 100, 48],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutBlockFlow P",
+          "rect": [210, 13, 100, 48],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [310, 114, 91, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGText text",
+          "rect": [310, 114, 91, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGViewportContainer svg",
+          "rect": [310, 114, 91, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [310, 14, 91, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGText text",
+          "rect": [310, 14, 91, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGViewportContainer svg",
+          "rect": [310, 14, 91, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [210, 114, 91, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [210, 14, 91, 46],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGContainer g id='text3g'",
+          "rect": [0, 3, 14, 4],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [0, 3, 8, 3],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [0, 3, 8, 3],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [0, 3, 8, 3],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan",
+          "rect": [0, 3, 8, 3],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGText text",
+          "rect": [0, 3, 8, 3],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGContainer g id='text1g'",
+          "rect": [0, 0, 8, 2],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [0, 0, 8, 2],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [0, 0, 8, 2],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [0, 0, 8, 2],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGTSpan tspan",
+          "rect": [0, 0, 8, 2],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGText text",
+          "rect": [0, 0, 8, 2],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [9, 3, 5, 3],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGText text",
+          "rect": [9, 3, 5, 3],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGViewportContainer svg",
+          "rect": [9, 3, 5, 3],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGInlineText #text",
+          "rect": [0, 0, 5, 2],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGText text",
+          "rect": [0, 0, 5, 2],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGViewportContainer svg",
+          "rect": [0, 0, 5, 2],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGForeignObject foreignObject",
+          "rect": [6, 3, 4, 4],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutBlockFlow P",
+          "rect": [6, 3, 4, 2],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [6, 3, 4, 2],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutBlockFlow P",
+          "rect": [0, 0, 1, 1],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutSVGForeignObject foreignObject",
+          "rect": [0, 0, 1, 1],
+          "reason": "subtree"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [0, 0, 1, 1],
+          "reason": "subtree"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutSVGContainer g id='text1g'",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGText text",
+      "reason": "subtree"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "subtree"
+    },
+    {
+      "object": "InlineTextBox 'PASS '",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGTSpan tspan",
+      "reason": "subtree"
+    },
+    {
+      "object": "InlineFlowBox",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "subtree"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGForeignObject foreignObject",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutBlockFlow P",
+      "reason": "subtree"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "subtree"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGViewportContainer svg",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGText text",
+      "reason": "subtree"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "subtree"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGContainer g id='text2g'",
+      "reason": "full"
+    },
+    {
+      "object": "LayoutSVGContainer g id='text3g'",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGText text",
+      "reason": "subtree"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "subtree"
+    },
+    {
+      "object": "InlineTextBox 'PASS '",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGTSpan tspan",
+      "reason": "subtree"
+    },
+    {
+      "object": "InlineFlowBox",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "subtree"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGForeignObject foreignObject",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutBlockFlow P",
+      "reason": "subtree"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "subtree"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGViewportContainer svg",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGText text",
+      "reason": "subtree"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "subtree"
+    },
+    {
+      "object": "LayoutSVGInlineText #text",
+      "reason": "subtree"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "subtree"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/use-event-handler-on-use-element-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/use-event-handler-on-use-element-expected.png
new file mode 100644
index 0000000..3ec55ff
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/use-event-handler-on-use-element-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/window-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/window-expected.png
new file mode 100644
index 0000000..1f01354
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/window-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/zoom-coords-viewattr-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/zoom-coords-viewattr-01-b-expected.png
index 148a277e..107f051 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/zoom-coords-viewattr-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/svg/zoom-coords-viewattr-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/caret-contenteditable-content-after-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/caret-contenteditable-content-after-expected.png
new file mode 100644
index 0000000..6ec365d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/caret-contenteditable-content-after-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-col-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-col-expected.png
new file mode 100644
index 0000000..5d8d079f1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-col-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-col-initial-empty-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-col-initial-empty-expected.png
new file mode 100644
index 0000000..5d8d079f1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-col-initial-empty-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-col-span-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-col-span-expected.png
new file mode 100644
index 0000000..d7a334d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-col-span-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-col-span-initial-empty-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-col-span-initial-empty-expected.png
new file mode 100644
index 0000000..d7a334d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-col-span-initial-empty-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-colgroup-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-colgroup-expected.png
new file mode 100644
index 0000000..5d8d079f1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-colgroup-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-colgroup-initial-empty-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-colgroup-initial-empty-expected.png
new file mode 100644
index 0000000..5d8d079f1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-colgroup-initial-empty-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-composited-row-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-composited-row-expected.png
new file mode 100644
index 0000000..73ae11f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-composited-row-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-composited-row-initial-empty-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-composited-row-initial-empty-expected.png
new file mode 100644
index 0000000..73ae11f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-composited-row-initial-empty-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-expected.png
new file mode 100644
index 0000000..73ae11f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-initial-empty-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-initial-empty-expected.png
new file mode 100644
index 0000000..73ae11f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-initial-empty-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-section-composited-row-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-section-composited-row-expected.png
new file mode 100644
index 0000000..365d5e2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-section-composited-row-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-section-composited-row-initial-empty-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-section-composited-row-initial-empty-expected.png
new file mode 100644
index 0000000..365d5e2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-section-composited-row-initial-empty-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-section-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-section-expected.png
new file mode 100644
index 0000000..428de93
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-section-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-section-initial-empty-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-section-initial-empty-expected.png
new file mode 100644
index 0000000..428de93
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/composited-table-background-section-initial-empty-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/single-line-cells-repeating-thead-break-inside-on-thead-only-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/single-line-cells-repeating-thead-break-inside-on-thead-only-expected.png
new file mode 100644
index 0000000..065309c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/table/single-line-cells-repeating-thead-break-inside-on-thead-only-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-match-document-change-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-match-document-change-expected.png
new file mode 100644
index 0000000..0dc7eb7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-match-document-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-match-document-change-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-match-document-change-expected.txt
new file mode 100644
index 0000000..ece2bd4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-match-document-change-expected.txt
@@ -0,0 +1,70 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow DIV id='to-be-changed'",
+          "rect": [18, 130, 269, 40],
+          "reason": "full"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [18, 130, 250, 39],
+          "reason": "disappeared"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [18, 130, 82, 19],
+          "reason": "appeared"
+        },
+        {
+          "object": "LayoutView #document",
+          "rect": [295, 102, 15, 400],
+          "reason": "scroll control"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutText #text",
+      "reason": "disappeared"
+    },
+    {
+      "object": "VerticalScrollbar",
+      "reason": "scroll control"
+    },
+    {
+      "object": "LayoutBlockFlow DIV id='to-be-changed'",
+      "reason": "full"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "full"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "appeared"
+    },
+    {
+      "object": "InlineTextBox 'After change'",
+      "reason": "appeared"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-shadow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-shadow-expected.png
new file mode 100644
index 0000000..e08d304a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-shadow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-shadow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-shadow-expected.txt
new file mode 100644
index 0000000..98f1bcb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-shadow-expected.txt
@@ -0,0 +1,42 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x562
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 172x19
+          text run at (0,0) width 172: "This is a regression test for "
+        LayoutInline {I} at (0,0) size 596x19
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (172,0) size 348x19
+              text run at (172,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7301"
+          LayoutText {#text} at (520,0) size 248x19
+            text run at (520,0) width 4: " "
+            text run at (524,0) width 244: "Text shadow does not repaint correctly"
+        LayoutText {#text} at (768,0) size 4x19
+          text run at (768,0) width 4: "."
+      LayoutBlockFlow {DIV} at (30,68) size 724x21
+        LayoutInline {SPAN} at (0,0) size 202x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 202x20
+            text run at (0,0) width 202: "Lorem ipsum dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,119) size 724x21
+        LayoutInline {SPAN} at (0,0) size 202x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 202x20
+            text run at (0,0) width 202: "Lorem ipsum dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,170) size 724x21
+        LayoutText {#text} at (0,1) size 88x19
+          text run at (0,1) width 88: "Lorem ipsum "
+        LayoutInline {SPAN} at (0,0) size 100x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (88,0) size 100x20
+            text run at (88,0) width 100: "dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,221) size 724x21
+        LayoutInline {SPAN} at (0,0) size 97x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 97x20
+            text run at (0,0) width 97: "Lorem ipsum"
+        LayoutText {#text} at (97,1) size 89x19
+          text run at (97,1) width 89: " dolor sit amet"
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-shadow-horizontal-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-shadow-horizontal-expected.png
new file mode 100644
index 0000000..e08d304a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-shadow-horizontal-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-shadow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-shadow-horizontal-expected.txt
new file mode 100644
index 0000000..98f1bcb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/text-shadow-horizontal-expected.txt
@@ -0,0 +1,42 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x562
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 172x19
+          text run at (0,0) width 172: "This is a regression test for "
+        LayoutInline {I} at (0,0) size 596x19
+          LayoutInline {A} at (0,0) size 348x19 [color=#0000EE]
+            LayoutText {#text} at (172,0) size 348x19
+              text run at (172,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7301"
+          LayoutText {#text} at (520,0) size 248x19
+            text run at (520,0) width 4: " "
+            text run at (524,0) width 244: "Text shadow does not repaint correctly"
+        LayoutText {#text} at (768,0) size 4x19
+          text run at (768,0) width 4: "."
+      LayoutBlockFlow {DIV} at (30,68) size 724x21
+        LayoutInline {SPAN} at (0,0) size 202x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 202x20
+            text run at (0,0) width 202: "Lorem ipsum dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,119) size 724x21
+        LayoutInline {SPAN} at (0,0) size 202x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 202x20
+            text run at (0,0) width 202: "Lorem ipsum dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,170) size 724x21
+        LayoutText {#text} at (0,1) size 88x19
+          text run at (0,1) width 88: "Lorem ipsum "
+        LayoutInline {SPAN} at (0,0) size 100x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (88,0) size 100x20
+            text run at (88,0) width 100: "dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,221) size 724x21
+        LayoutInline {SPAN} at (0,0) size 97x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 97x20
+            text run at (0,0) width 97: "Lorem ipsum"
+        LayoutText {#text} at (97,1) size 89x19
+          text run at (97,1) width 89: " dolor sit amet"
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/transform/transform-layout-repaint-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/transform/transform-layout-repaint-expected.txt
new file mode 100644
index 0000000..1462963
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/invalidation/transform/transform-layout-repaint-expected.txt
@@ -0,0 +1,52 @@
+{
+  "layers": [
+    {
+      "name": "LayoutView #document",
+      "bounds": [800, 600],
+      "drawsContent": false,
+      "backgroundColor": "#FFFFFF"
+    },
+    {
+      "name": "Scrolling Layer",
+      "bounds": [800, 600],
+      "drawsContent": false
+    },
+    {
+      "name": "Scrolling Contents Layer",
+      "bounds": [800, 600],
+      "contentsOpaque": true,
+      "backgroundColor": "#FFFFFF",
+      "paintInvalidations": [
+        {
+          "object": "LayoutBlockFlow DIV id='target'",
+          "rect": [40, 50, 208, 118],
+          "reason": "geometry"
+        },
+        {
+          "object": "LayoutText #text",
+          "rect": [52, 51, 42, 31],
+          "reason": "full"
+        }
+      ]
+    }
+  ],
+  "objectPaintInvalidations": [
+    {
+      "object": "LayoutBlockFlow DIV id='target'",
+      "reason": "geometry"
+    },
+    {
+      "object": "RootInlineBox",
+      "reason": "geometry"
+    },
+    {
+      "object": "LayoutText #text",
+      "reason": "full"
+    },
+    {
+      "object": "InlineTextBox 'PASS'",
+      "reason": "full"
+    }
+  ]
+}
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/active-suggestion-marker-basic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/active-suggestion-marker-basic-expected.png
new file mode 100644
index 0000000..a1b7584
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/active-suggestion-marker-basic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/active-suggestion-marker-basic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/active-suggestion-marker-basic-expected.txt
new file mode 100644
index 0000000..b1af9d0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/active-suggestion-marker-basic-expected.txt
@@ -0,0 +1,72 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x260
+  LayoutBlockFlow {HTML} at (0,0) size 800x260
+    LayoutBlockFlow {BODY} at (8,8) size 784x0
+      LayoutBlockFlow (floating) {DIV} at (706,0) size 78x192
+        LayoutBlockFlow {P} at (0,16) size 78x20
+          LayoutText {#text} at (47,0) size 31x19
+            text run at (47,0) width 31: "RTL"
+        LayoutBlockFlow {DIV} at (0,52) size 78x20
+          LayoutText {#text} at (36,0) size 42x19
+            text run at (36,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,72) size 78x20
+          LayoutText {#text} at (36,0) size 42x19
+            text run at (36,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,92) size 78x20
+          LayoutText {#text} at (36,0) size 42x19
+            text run at (36,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,112) size 78x20
+          LayoutText {#text} at (36,0) size 42x19
+            text run at (36,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,132) size 78x20
+          LayoutText {#text} at (36,0) size 42x19
+            text run at (36,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,152) size 78x40
+          LayoutBlockFlow {DIV} at (0,0) size 78x20
+            LayoutText {#text} at (0,0) size 42x19
+              text run at (0,0) width 42: "abcdef"
+            LayoutInline {SPAN} at (0,0) size 36x19
+              LayoutText {#text} at (42,0) size 36x19
+                text run at (42,0) width 36: "ghijkl"
+          LayoutBlockFlow {DIV} at (0,20) size 78x20
+            LayoutText {#text} at (29,0) size 49x19
+              text run at (29,0) width 49: "mnopqr"
+      LayoutBlockFlow (floating) {DIV} at (0,0) size 78x252
+        LayoutBlockFlow {P} at (0,16) size 78x20
+          LayoutText {#text} at (0,0) size 29x19
+            text run at (0,0) width 29: "LTR"
+        LayoutBlockFlow {DIV} at (0,52) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,72) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,92) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,112) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,132) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,152) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,172) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,192) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,212) size 78x40
+          LayoutBlockFlow {DIV} at (0,0) size 78x20
+            LayoutText {#text} at (0,0) size 42x19
+              text run at (0,0) width 42: "abcdef"
+            LayoutInline {SPAN} at (0,0) size 36x19
+              LayoutText {#text} at (42,0) size 36x19
+                text run at (42,0) width 36: "ghijkl"
+          LayoutBlockFlow {DIV} at (0,20) size 78x20
+            LayoutText {#text} at (0,0) size 49x19
+              text run at (0,0) width 49: "mnopqr"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/composition-marker-basic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/composition-marker-basic-expected.png
new file mode 100644
index 0000000..a1b7584
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/composition-marker-basic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/composition-marker-basic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/composition-marker-basic-expected.txt
new file mode 100644
index 0000000..b1af9d0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/composition-marker-basic-expected.txt
@@ -0,0 +1,72 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x260
+  LayoutBlockFlow {HTML} at (0,0) size 800x260
+    LayoutBlockFlow {BODY} at (8,8) size 784x0
+      LayoutBlockFlow (floating) {DIV} at (706,0) size 78x192
+        LayoutBlockFlow {P} at (0,16) size 78x20
+          LayoutText {#text} at (47,0) size 31x19
+            text run at (47,0) width 31: "RTL"
+        LayoutBlockFlow {DIV} at (0,52) size 78x20
+          LayoutText {#text} at (36,0) size 42x19
+            text run at (36,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,72) size 78x20
+          LayoutText {#text} at (36,0) size 42x19
+            text run at (36,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,92) size 78x20
+          LayoutText {#text} at (36,0) size 42x19
+            text run at (36,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,112) size 78x20
+          LayoutText {#text} at (36,0) size 42x19
+            text run at (36,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,132) size 78x20
+          LayoutText {#text} at (36,0) size 42x19
+            text run at (36,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,152) size 78x40
+          LayoutBlockFlow {DIV} at (0,0) size 78x20
+            LayoutText {#text} at (0,0) size 42x19
+              text run at (0,0) width 42: "abcdef"
+            LayoutInline {SPAN} at (0,0) size 36x19
+              LayoutText {#text} at (42,0) size 36x19
+                text run at (42,0) width 36: "ghijkl"
+          LayoutBlockFlow {DIV} at (0,20) size 78x20
+            LayoutText {#text} at (29,0) size 49x19
+              text run at (29,0) width 49: "mnopqr"
+      LayoutBlockFlow (floating) {DIV} at (0,0) size 78x252
+        LayoutBlockFlow {P} at (0,16) size 78x20
+          LayoutText {#text} at (0,0) size 29x19
+            text run at (0,0) width 29: "LTR"
+        LayoutBlockFlow {DIV} at (0,52) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,72) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,92) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,112) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,132) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,152) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,172) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,192) size 78x20
+          LayoutText {#text} at (0,0) size 42x19
+            text run at (0,0) width 42: "abcdef"
+        LayoutBlockFlow {DIV} at (0,212) size 78x40
+          LayoutBlockFlow {DIV} at (0,0) size 78x20
+            LayoutText {#text} at (0,0) size 42x19
+              text run at (0,0) width 42: "abcdef"
+            LayoutInline {SPAN} at (0,0) size 36x19
+              LayoutText {#text} at (42,0) size 36x19
+                text run at (42,0) width 36: "ghijkl"
+          LayoutBlockFlow {DIV} at (0,20) size 78x20
+            LayoutText {#text} at (0,0) size 49x19
+              text run at (0,0) width 49: "mnopqr"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/ellipsis-ltr-text-in-ltr-flow-with-markers-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/ellipsis-ltr-text-in-ltr-flow-with-markers-expected.png
new file mode 100644
index 0000000..9fc92c2d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/ellipsis-ltr-text-in-ltr-flow-with-markers-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/ellipsis-ltr-text-in-ltr-flow-with-markers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/ellipsis-ltr-text-in-ltr-flow-with-markers-expected.txt
new file mode 100644
index 0000000..3e403aa
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/ellipsis-ltr-text-in-ltr-flow-with-markers-expected.txt
@@ -0,0 +1,41 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x196
+  LayoutBlockFlow {HTML} at (0,0) size 800x196
+    LayoutBlockFlow {BODY} at (8,8) size 784x180
+layer at (8,8) size 100x20 scrollWidth 133
+  LayoutBlockFlow {DIV} at (0,0) size 100x20
+    LayoutText {#text} at (0,0) size 133x19
+      text run at (0,0) width 133: "markAllComposition"
+layer at (8,28) size 100x20 scrollWidth 142
+  LayoutBlockFlow {DIV} at (0,20) size 100x20
+    LayoutText {#text} at (0,0) size 142x19
+      text run at (0,0) width 142: "markStartComposition"
+layer at (8,48) size 100x20 scrollWidth 139
+  LayoutBlockFlow {DIV} at (0,40) size 100x20
+    LayoutText {#text} at (0,0) size 139x19
+      text run at (0,0) width 139: "markEndComposition"
+layer at (8,68) size 100x20 scrollWidth 104
+  LayoutBlockFlow {DIV} at (0,60) size 100x20
+    LayoutText {#text} at (0,0) size 104x19
+      text run at (0,0) width 104: "markAllSpelling"
+layer at (8,88) size 100x20 scrollWidth 113
+  LayoutBlockFlow {DIV} at (0,80) size 100x20
+    LayoutText {#text} at (0,0) size 113x19
+      text run at (0,0) width 113: "markStartSpelling"
+layer at (8,108) size 100x20 scrollWidth 110
+  LayoutBlockFlow {DIV} at (0,100) size 100x20
+    LayoutText {#text} at (0,0) size 110x19
+      text run at (0,0) width 110: "markEndSpelling"
+layer at (8,128) size 100x20 scrollWidth 119
+  LayoutBlockFlow {DIV} at (0,120) size 100x20
+    LayoutText {#text} at (0,0) size 119x19
+      text run at (0,0) width 119: "markAllTextMatch"
+layer at (8,148) size 100x20 scrollWidth 128
+  LayoutBlockFlow {DIV} at (0,140) size 100x20
+    LayoutText {#text} at (0,0) size 128x19
+      text run at (0,0) width 128: "markStartTextMatch"
+layer at (8,168) size 100x20 scrollWidth 125
+  LayoutBlockFlow {DIV} at (0,160) size 100x20
+    LayoutText {#text} at (0,0) size 125x19
+      text run at (0,0) width 125: "markEndTextMatch"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/ellipsis-ltr-text-in-rtl-flow-with-markers-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/ellipsis-ltr-text-in-rtl-flow-with-markers-expected.png
new file mode 100644
index 0000000..033ba0e4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/ellipsis-ltr-text-in-rtl-flow-with-markers-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/first-letter-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/first-letter-expected.png
new file mode 100644
index 0000000..a19630d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/first-letter-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/first-letter-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/first-letter-expected.txt
new file mode 100644
index 0000000..65b1909
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/first-letter-expected.txt
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x36
+  LayoutBlockFlow {HTML} at (0,0) size 800x36
+    LayoutBlockFlow {BODY} at (8,8) size 784x20
+      LayoutBlockFlow {DIV} at (0,0) size 784x20
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 12x19 [color=#FF0000]
+          LayoutTextFragment (anonymous) at (0,0) size 12x19
+            text run at (0,0) width 12: "N"
+        LayoutTextFragment {#text} at (12,0) size 235x19
+          text run at (12,0) width 235: "one Composition Spelling TextMatch"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/grammar-markers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/grammar-markers-expected.txt
new file mode 100644
index 0000000..bb6d633
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/grammar-markers-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x36
+  LayoutBlockFlow {HTML} at (0,0) size 800x36
+    LayoutBlockFlow {BODY} at (8,8) size 784x20
+      LayoutBlockFlow {DIV} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 111x19
+          text run at (0,0) width 111: "You has the right."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/grammar-markers-hidpi-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/grammar-markers-hidpi-expected.png
index 9c03c5e9..f1d5f40e0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/grammar-markers-hidpi-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/grammar-markers-hidpi-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/grammar-markers-hidpi-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/grammar-markers-hidpi-expected.txt
new file mode 100644
index 0000000..e9d41ae
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/grammar-markers-hidpi-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 1600x1200
+  LayoutView at (0,0) size 1600x1200
+layer at (0,0) size 1600x69
+  LayoutBlockFlow {HTML} at (0,0) size 1600x69
+    LayoutBlockFlow {BODY} at (16,16) size 1568x37
+      LayoutBlockFlow {DIV} at (0,0) size 1568x37
+        LayoutText {#text} at (0,0) size 225x36
+          text run at (0,0) width 225: "You has the right."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline-spelling-markers-hidpi-composited-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline-spelling-markers-hidpi-composited-expected.png
index 0488b3b..8a683dc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline-spelling-markers-hidpi-composited-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline-spelling-markers-hidpi-composited-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline-spelling-markers-hidpi-composited-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline-spelling-markers-hidpi-composited-expected.txt
new file mode 100644
index 0000000..70a5618
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline-spelling-markers-hidpi-composited-expected.txt
@@ -0,0 +1,33 @@
+layer at (0,0) size 1600x1200
+  LayoutView at (0,0) size 1600x1200
+layer at (0,0) size 1600x356
+  LayoutBlockFlow {HTML} at (0,0) size 1600x356
+    LayoutBlockFlow {BODY} at (16,16) size 1568x324
+      LayoutBlockFlow (anonymous) at (0,0) size 1568x37
+        LayoutText {#text} at (0,0) size 59x36
+          text run at (0,0) width 59: "LTR"
+      LayoutBlockFlow (anonymous) at (0,81) size 1568x37
+        LayoutText {#text} at (0,0) size 59x36
+          text run at (0,0) width 59: "RTL"
+      LayoutBlockFlow (anonymous) at (0,162) size 1568x37
+        LayoutText {#text} at (0,0) size 368x36
+          text run at (0,0) width 368: "LTR (text-overflow:ellipses)"
+      LayoutBlockFlow (anonymous) at (0,243) size 1568x37
+        LayoutText {#text} at (0,0) size 368x36
+          text run at (0,0) width 368: "RTL (text-overflow:ellipses)"
+layer at (16,53) size 404x44 clip at (18,55) size 400x40 scrollWidth 452
+  LayoutBlockFlow {DIV} at (0,37) size 404x44 [border: (2px solid #000000)]
+    LayoutText {#text} at (2,2) size 451x36
+      text run at (2,2) width 451: "the the adlj adaasj sdklj. there there"
+layer at (16,134) size 404x44 clip at (18,136) size 400x40 scrollX 51.00 scrollWidth 451
+  LayoutBlockFlow {DIV} at (0,118) size 404x44 [border: (2px solid #000000)]
+    LayoutText {#text} at (-49,2) size 451x36
+      text run at (-49,2) width 451 RTL override: "the the adlj adaasj sdklj. there there"
+layer at (16,215) size 404x44 clip at (18,217) size 400x40 scrollWidth 452
+  LayoutBlockFlow {DIV} at (0,199) size 404x44 [border: (2px solid #000000)]
+    LayoutText {#text} at (2,2) size 451x36
+      text run at (2,2) width 451: "the the adlj adaasj sdklj. there there"
+layer at (16,296) size 404x44 clip at (18,298) size 400x40 scrollX 51.00 scrollWidth 451
+  LayoutBlockFlow {DIV} at (0,280) size 404x44 [border: (2px solid #000000)]
+    LayoutText {#text} at (-49,2) size 451x36
+      text run at (-49,2) width 451 RTL override: "the the adlj adaasj sdklj. there there"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline-spelling-markers-hidpi-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline-spelling-markers-hidpi-expected.png
index 74fc40e..485a0a39 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline-spelling-markers-hidpi-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline-spelling-markers-hidpi-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline-spelling-markers-hidpi-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline-spelling-markers-hidpi-expected.txt
new file mode 100644
index 0000000..70a5618
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline-spelling-markers-hidpi-expected.txt
@@ -0,0 +1,33 @@
+layer at (0,0) size 1600x1200
+  LayoutView at (0,0) size 1600x1200
+layer at (0,0) size 1600x356
+  LayoutBlockFlow {HTML} at (0,0) size 1600x356
+    LayoutBlockFlow {BODY} at (16,16) size 1568x324
+      LayoutBlockFlow (anonymous) at (0,0) size 1568x37
+        LayoutText {#text} at (0,0) size 59x36
+          text run at (0,0) width 59: "LTR"
+      LayoutBlockFlow (anonymous) at (0,81) size 1568x37
+        LayoutText {#text} at (0,0) size 59x36
+          text run at (0,0) width 59: "RTL"
+      LayoutBlockFlow (anonymous) at (0,162) size 1568x37
+        LayoutText {#text} at (0,0) size 368x36
+          text run at (0,0) width 368: "LTR (text-overflow:ellipses)"
+      LayoutBlockFlow (anonymous) at (0,243) size 1568x37
+        LayoutText {#text} at (0,0) size 368x36
+          text run at (0,0) width 368: "RTL (text-overflow:ellipses)"
+layer at (16,53) size 404x44 clip at (18,55) size 400x40 scrollWidth 452
+  LayoutBlockFlow {DIV} at (0,37) size 404x44 [border: (2px solid #000000)]
+    LayoutText {#text} at (2,2) size 451x36
+      text run at (2,2) width 451: "the the adlj adaasj sdklj. there there"
+layer at (16,134) size 404x44 clip at (18,136) size 400x40 scrollX 51.00 scrollWidth 451
+  LayoutBlockFlow {DIV} at (0,118) size 404x44 [border: (2px solid #000000)]
+    LayoutText {#text} at (-49,2) size 451x36
+      text run at (-49,2) width 451 RTL override: "the the adlj adaasj sdklj. there there"
+layer at (16,215) size 404x44 clip at (18,217) size 400x40 scrollWidth 452
+  LayoutBlockFlow {DIV} at (0,199) size 404x44 [border: (2px solid #000000)]
+    LayoutText {#text} at (2,2) size 451x36
+      text run at (2,2) width 451: "the the adlj adaasj sdklj. there there"
+layer at (16,296) size 404x44 clip at (18,298) size 400x40 scrollX 51.00 scrollWidth 451
+  LayoutBlockFlow {DIV} at (0,280) size 404x44 [border: (2px solid #000000)]
+    LayoutText {#text} at (-49,2) size 451x36
+      text run at (-49,2) width 451 RTL override: "the the adlj adaasj sdklj. there there"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline_spelling_markers-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline_spelling_markers-expected.png
new file mode 100644
index 0000000..f86ad2b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline_spelling_markers-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline_spelling_markers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline_spelling_markers-expected.txt
new file mode 100644
index 0000000..54741dd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/inline_spelling_markers-expected.txt
@@ -0,0 +1,33 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x184
+  LayoutBlockFlow {HTML} at (0,0) size 800x184
+    LayoutBlockFlow {BODY} at (8,8) size 784x168
+      LayoutBlockFlow (anonymous) at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 29x19
+          text run at (0,0) width 29: "LTR"
+      LayoutBlockFlow (anonymous) at (0,42) size 784x20
+        LayoutText {#text} at (0,0) size 31x19
+          text run at (0,0) width 31: "RTL"
+      LayoutBlockFlow (anonymous) at (0,84) size 784x20
+        LayoutText {#text} at (0,0) size 182x19
+          text run at (0,0) width 182: "LTR (text-overflow:ellipses):"
+      LayoutBlockFlow (anonymous) at (0,126) size 784x20
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "RTL (text-overflow:ellipses):"
+layer at (8,28) size 202x22 clip at (9,29) size 200x20 scrollWidth 221
+  LayoutBlockFlow {DIV} at (0,20) size 202x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (1,1) size 220x19
+      text run at (1,1) width 220: "the the adlj adaasj sdklj. there there"
+layer at (8,70) size 202x22 clip at (9,71) size 200x20 scrollX 20.00 scrollWidth 220
+  LayoutBlockFlow {DIV} at (0,62) size 202x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (-19,1) size 220x19
+      text run at (-19,1) width 220 RTL override: "the the adlj adaasj sdklj. there there"
+layer at (8,112) size 202x22 clip at (9,113) size 200x20 scrollWidth 221
+  LayoutBlockFlow {DIV} at (0,104) size 202x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (1,1) size 220x19
+      text run at (1,1) width 220: "the the adlj adaasj sdklj. there there"
+layer at (8,154) size 202x22 clip at (9,155) size 200x20 scrollX 20.00 scrollWidth 220
+  LayoutBlockFlow {DIV} at (0,146) size 202x22 [border: (1px solid #000000)]
+    LayoutText {#text} at (-19,1) size 220x19
+      text run at (-19,1) width 220 RTL override: "the the adlj adaasj sdklj. there there"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/suggestion-marker-basic-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/suggestion-marker-basic-expected.png
new file mode 100644
index 0000000..46e3b889
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/suggestion-marker-basic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/suggestion-marker-basic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/suggestion-marker-basic-expected.txt
new file mode 100644
index 0000000..b9e7c1fe
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/markers/suggestion-marker-basic-expected.txt
@@ -0,0 +1,102 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x460
+  LayoutBlockFlow {HTML} at (0,0) size 800x460
+    LayoutBlockFlow {BODY} at (8,8) size 784x0
+      LayoutBlockFlow (floating) {DIV} at (586,0) size 198x192
+        LayoutBlockFlow {P} at (0,16) size 198x20
+          LayoutText {#text} at (167,0) size 31x19
+            text run at (167,0) width 31: "RTL"
+        LayoutBlockFlow {DIV} at (0,52) size 198x20
+          LayoutText {#text} at (127,0) size 71x19
+            text run at (127,0) width 71: "markRtlAll"
+        LayoutBlockFlow {DIV} at (0,72) size 198x20
+          LayoutText {#text} at (90,0) size 108x19
+            text run at (90,0) width 108: "markRtlAllThick"
+        LayoutBlockFlow {DIV} at (0,92) size 198x20
+          LayoutText {#text} at (81,0) size 117x19
+            text run at (81,0) width 117: "markRtlBeginning"
+        LayoutBlockFlow {DIV} at (0,112) size 198x20
+          LayoutText {#text} at (0,0) size 198x19
+            text run at (0,0) width 198: "markRtlAllExceptFirstAndLast"
+        LayoutBlockFlow {DIV} at (0,132) size 198x20
+          LayoutText {#text} at (121,0) size 77x19
+            text run at (121,0) width 77: "markRtlEnd"
+        LayoutBlockFlow {DIV} at (0,152) size 198x40
+          LayoutBlockFlow {DIV} at (0,0) size 198x20
+            LayoutText {#text} at (147,0) size 32x19
+              text run at (147,0) width 32: "mark"
+            LayoutInline {SPAN} at (0,0) size 19x19
+              LayoutText {#text} at (179,0) size 19x19
+                text run at (179,0) width 19: "Rtl"
+          LayoutBlockFlow {DIV} at (0,20) size 198x20
+            LayoutText {#text} at (113,0) size 85x19
+              text run at (113,0) width 85: "AcrossNodes"
+      LayoutBlockFlow (floating) {DIV} at (0,0) size 331x452
+        LayoutBlockFlow {P} at (0,16) size 331x20
+          LayoutText {#text} at (0,0) size 29x19
+            text run at (0,0) width 29: "LTR"
+        LayoutBlockFlow {DIV} at (0,52) size 331x20
+          LayoutText {#text} at (0,0) size 52x19
+            text run at (0,0) width 52: "markAll"
+        LayoutBlockFlow {DIV} at (0,72) size 331x20
+          LayoutText {#text} at (0,0) size 89x19
+            text run at (0,0) width 89: "markAllThick"
+        LayoutBlockFlow {DIV} at (0,92) size 331x20
+          LayoutText {#text} at (0,0) size 151x19
+            text run at (0,0) width 151: "markAllDifferentColors"
+        LayoutBlockFlow {DIV} at (0,112) size 331x20
+          LayoutText {#text} at (0,0) size 98x19
+            text run at (0,0) width 98: "markBeginning"
+        LayoutBlockFlow {DIV} at (0,132) size 331x20
+          LayoutText {#text} at (0,0) size 179x19
+            text run at (0,0) width 179: "markAllExceptFirstAndLast"
+        LayoutBlockFlow {DIV} at (0,152) size 331x20
+          LayoutText {#text} at (0,0) size 58x19
+            text run at (0,0) width 58: "markEnd"
+        LayoutBlockFlow {DIV} at (0,172) size 331x20
+          LayoutText {#text} at (0,0) size 114x19
+            text run at (0,0) width 114: "markNothingZero"
+        LayoutBlockFlow {DIV} at (0,192) size 331x20
+          LayoutText {#text} at (0,0) size 110x19
+            text run at (0,0) width 110: "markNothingEnd"
+        LayoutBlockFlow {DIV} at (0,212) size 331x40
+          LayoutBlockFlow {DIV} at (0,0) size 331x20
+            LayoutText {#text} at (0,0) size 32x19
+              text run at (0,0) width 32: "mark"
+            LayoutInline {SPAN} at (0,0) size 44x19
+              LayoutText {#text} at (32,0) size 44x19
+                text run at (32,0) width 44: "Across"
+          LayoutBlockFlow {DIV} at (0,20) size 331x20
+            LayoutText {#text} at (0,0) size 41x19
+              text run at (0,0) width 41: "Nodes"
+        LayoutBlockFlow {DIV} at (0,252) size 331x20
+          LayoutText {#text} at (0,0) size 245x19
+            text run at (0,0) width 245: "overridingSpellingMarkerAtBeginning"
+        LayoutBlockFlow {DIV} at (0,272) size 331x20
+          LayoutText {#text} at (0,0) size 205x19
+            text run at (0,0) width 205: "overridingSpellingMarkerAtEnd"
+        LayoutBlockFlow {DIV} at (0,292) size 331x20
+          LayoutText {#text} at (0,0) size 302x19
+            text run at (0,0) width 302: "overridingSpellingMarkerIntersectingBeginning"
+        LayoutBlockFlow {DIV} at (0,312) size 331x20
+          LayoutText {#text} at (0,0) size 262x19
+            text run at (0,0) width 262: "overridingSpellingMarkerIntersectingEnd"
+        LayoutBlockFlow {DIV} at (0,332) size 331x20
+          LayoutText {#text} at (0,0) size 252x19
+            text run at (0,0) width 252: "notOverridingSpellingMarkersTouching"
+        LayoutBlockFlow {DIV} at (0,352) size 331x20
+          LayoutText {#text} at (0,0) size 274x19
+            text run at (0,0) width 274: "overridingCompositionMarkerAtBeginning"
+        LayoutBlockFlow {DIV} at (0,372) size 331x20
+          LayoutText {#text} at (0,0) size 234x19
+            text run at (0,0) width 234: "overridingCompositionMarkerAtEnd"
+        LayoutBlockFlow {DIV} at (0,392) size 331x20
+          LayoutText {#text} at (0,0) size 331x19
+            text run at (0,0) width 331: "overridingCompositionMarkerIntersectingBeginning"
+        LayoutBlockFlow {DIV} at (0,412) size 331x20
+          LayoutText {#text} at (0,0) size 291x19
+            text run at (0,0) width 291: "overridingCompositionMarkerIntersectingEnd"
+        LayoutBlockFlow {DIV} at (0,432) size 331x20
+          LayoutText {#text} at (0,0) size 281x19
+            text run at (0,0) width 281: "notOverridingCompositionMarkersTouching"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/overflow/fixed-background-scroll-window-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/overflow/fixed-background-scroll-window-expected.png
new file mode 100644
index 0000000..62194c7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/overflow/fixed-background-scroll-window-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/printing/print-text-shadow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/printing/print-text-shadow-expected.png
new file mode 100644
index 0000000..0cd8ad4e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/paint/printing/print-text-shadow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/forced-break-tree-dump-only-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/forced-break-tree-dump-only-expected.txt
new file mode 100644
index 0000000..598c1ee5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/forced-break-tree-dump-only-expected.txt
@@ -0,0 +1,18 @@
+layer at (0,0) size 800x600 scrollHeight 827
+  LayoutView at (0,0) size 1066x799
+layer at (0,0) size 1066x827 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 1066x827
+    LayoutBlockFlow {BODY} at (8,16) size 1050x803
+      LayoutBlockFlow {P} at (0,0) size 1050x40
+        LayoutText {#text} at (0,0) size 1009x39
+          text run at (0,0) width 554: "This is a test that only dumps the layout tree, and doesn't actually display the page. This "
+          text run at (554,0) width 455: "tests some peculiarities in the test framework for printing. To run this test"
+          text run at (0,20) width 101: "manually, run it "
+          text run at (101,20) width 220: "with content_shell --run-layout-test"
+      LayoutBlockFlow {DIV} at (0,56) size 1050x20
+        LayoutText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This should be on page 1."
+      LayoutBlockFlow {DIV} at (0,783) size 1050x20
+        LayoutText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This should be on page 2."
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/iframe-print-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/iframe-print-expected.png
new file mode 100644
index 0000000..d2c4804
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/iframe-print-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/iframe-print-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/iframe-print-expected.txt
new file mode 100644
index 0000000..970fdbb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/iframe-print-expected.txt
@@ -0,0 +1,41 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 1066x799
+layer at (0,0) size 1066x799 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 1066x799
+    LayoutBlockFlow {BODY} at (8,8) size 1050x783
+      LayoutText {#text} at (304,289) size 4x19
+        text run at (304,289) width 4: " "
+      LayoutText {#text} at (0,0) size 0x0
+layer at (8,208) size 304x104
+  LayoutIFrame {IFRAME} at (0,200) size 304x104 [border: (2px inset #EEEEEE)]
+    layer at (0,0) size 300x100
+      LayoutView at (0,0) size 300x100
+    layer at (0,0) size 300x36
+      LayoutBlockFlow {HTML} at (0,0) size 300x36
+        LayoutBlockFlow {BODY} at (8,8) size 284x20
+          LayoutText {#text} at (0,0) size 240x19
+            text run at (0,0) width 240: "You should see this text when printed."
+layer at (316,8) size 304x304
+  LayoutIFrame {IFRAME} at (308,0) size 304x304 [border: (2px inset #EEEEEE)]
+    layer at (0,0) size 300x300
+      LayoutView at (0,0) size 300x300
+    layer at (35,0) size 265x300
+      LayoutBlockFlow {HTML} at (0,0) size 265x300
+        LayoutBlockFlow {BODY} at (8,8) size 249x284
+          LayoutText {#text} at (0,0) size 19x244
+            text run at (0,0) width 244: "You should see this text when printed. "
+          LayoutBR {BR} at (0,244) size 19x0
+          LayoutText {#text} at (20,0) size 19x159
+            text run at (20,0) width 159: "Vertical text on the right. "
+          LayoutBR {BR} at (20,159) size 19x0
+          LayoutText {#text} at (0,0) size 0x0
+    layer at (48,8) size 204x154
+      LayoutIFrame {IFRAME} at (40,0) size 204x154 [border: (2px inset #EEEEEE)]
+        layer at (0,0) size 200x150
+          LayoutView at (0,0) size 200x150
+        layer at (0,0) size 200x56
+          LayoutBlockFlow {HTML} at (0,0) size 200x56
+            LayoutBlockFlow {BODY} at (8,8) size 184x40
+              LayoutText {#text} at (0,0) size 149x39
+                text run at (0,0) width 149: "You should see this text"
+                text run at (0,20) width 87: "when printed."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/tfoot-repeats-at-bottom-of-each-page-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/tfoot-repeats-at-bottom-of-each-page-expected.png
new file mode 100644
index 0000000..0b011f3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/tfoot-repeats-at-bottom-of-each-page-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/tfoot-repeats-at-bottom-of-each-page-multiple-tables-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/tfoot-repeats-at-bottom-of-each-page-multiple-tables-expected.png
new file mode 100644
index 0000000..ed6dbde9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/tfoot-repeats-at-bottom-of-each-page-multiple-tables-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/thead-repeats-at-top-of-each-page-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/thead-repeats-at-top-of-each-page-expected.png
new file mode 100644
index 0000000..dd32244
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/thead-repeats-at-top-of-each-page-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/thead-repeats-at-top-of-each-page-multiple-tables-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/thead-repeats-at-top-of-each-page-multiple-tables-expected.png
new file mode 100644
index 0000000..81755375
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/thead-repeats-at-top-of-each-page-multiple-tables-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/thead-under-multicol-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/thead-under-multicol-expected.txt
new file mode 100644
index 0000000..c23bb20
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spv175/printing/thead-under-multicol-expected.txt
@@ -0,0 +1,373 @@
+layer at (0,0) size 800x600 scrollHeight 2016
+  LayoutView at (0,0) size 1561x1193
+layer at (0,0) size 1561x2016 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 1561x2016
+    LayoutBlockFlow {BODY} at (8,8) size 1545x2000
+layer at (8,8) size 1545x2000 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {DIV} at (0,0) size 1545x2000
+    LayoutMultiColumnSet (anonymous) at (0,0) size 1545x2000
+layer at (8,8) size 765x3840 backgroundClip at (0,0) size 781x600 clip at (0,0) size 781x600
+  LayoutMultiColumnFlowThread (anonymous) at (0,0) size 764.50x3840
+    LayoutTable {TABLE} at (0,0) size 305x3840
+      LayoutTableSection {THEAD} at (0,0) size 305x31
+        LayoutTableRow {TR} at (0,2) size 305x27
+          LayoutTableCell {TH} at (2,2) size 99x27 [r=0 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 97x24
+              text run at (1,1) width 97: "Column 1"
+          LayoutTableCell {TH} at (103,2) size 99x27 [r=0 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 97x24
+              text run at (1,1) width 97: "Column 2"
+          LayoutTableCell {TH} at (204,2) size 99x27 [r=0 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 97x24
+              text run at (1,1) width 97: "Column 3"
+      LayoutTableSection {TBODY} at (0,31) size 305x3809
+        LayoutTableRow {TR} at (0,0) size 305x102
+          LayoutTableCell {TD} at (2,37) size 99x27 [r=0 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "1-1"
+          LayoutTableCell {TD} at (103,37) size 99x27 [r=0 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "2-1"
+          LayoutTableCell {TD} at (204,37) size 99x27 [r=0 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "3-1"
+        LayoutTableRow {TR} at (0,104) size 305x102
+          LayoutTableCell {TD} at (2,141) size 99x27 [r=1 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "1-2"
+          LayoutTableCell {TD} at (103,141) size 99x27 [r=1 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "2-2"
+          LayoutTableCell {TD} at (204,141) size 99x27 [r=1 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "3-2"
+        LayoutTableRow {TR} at (0,208) size 305x102
+          LayoutTableCell {TD} at (2,245) size 99x27 [r=2 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "1-3"
+          LayoutTableCell {TD} at (103,245) size 99x27 [r=2 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "2-3"
+          LayoutTableCell {TD} at (204,245) size 99x27 [r=2 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "3-3"
+        LayoutTableRow {TR} at (0,312) size 305x102
+          LayoutTableCell {TD} at (2,349) size 99x27 [r=3 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "1-4"
+          LayoutTableCell {TD} at (103,349) size 99x27 [r=3 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "2-4"
+          LayoutTableCell {TD} at (204,349) size 99x27 [r=3 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "3-4"
+        LayoutTableRow {TR} at (0,416) size 305x102
+          LayoutTableCell {TD} at (2,453) size 99x27 [r=4 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "1-5"
+          LayoutTableCell {TD} at (103,453) size 99x27 [r=4 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "2-5"
+          LayoutTableCell {TD} at (204,453) size 99x27 [r=4 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "3-5"
+        LayoutTableRow {TR} at (0,520) size 305x102
+          LayoutTableCell {TD} at (2,557) size 99x27 [r=5 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "1-6"
+          LayoutTableCell {TD} at (103,557) size 99x27 [r=5 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "2-6"
+          LayoutTableCell {TD} at (204,557) size 99x27 [r=5 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "3-6"
+        LayoutTableRow {TR} at (0,624) size 305x102
+          LayoutTableCell {TD} at (2,661) size 99x27 [r=6 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "1-7"
+          LayoutTableCell {TD} at (103,661) size 99x27 [r=6 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "2-7"
+          LayoutTableCell {TD} at (204,661) size 99x27 [r=6 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "3-7"
+        LayoutTableRow {TR} at (0,728) size 305x102
+          LayoutTableCell {TD} at (2,765) size 99x27 [r=7 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "1-8"
+          LayoutTableCell {TD} at (103,765) size 99x27 [r=7 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "2-8"
+          LayoutTableCell {TD} at (204,765) size 99x27 [r=7 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "3-8"
+        LayoutTableRow {TR} at (0,832) size 305x102
+          LayoutTableCell {TD} at (2,869) size 99x27 [r=8 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "1-9"
+          LayoutTableCell {TD} at (103,869) size 99x27 [r=8 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "2-9"
+          LayoutTableCell {TD} at (204,869) size 99x27 [r=8 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 31x24
+              text run at (1,1) width 31: "3-9"
+        LayoutTableRow {TR} at (0,936) size 305x102
+          LayoutTableCell {TD} at (2,973) size 99x27 [r=9 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-10"
+          LayoutTableCell {TD} at (103,973) size 99x27 [r=9 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-10"
+          LayoutTableCell {TD} at (204,973) size 99x27 [r=9 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-10"
+        LayoutTableRow {TR} at (0,1040) size 305x102
+          LayoutTableCell {TD} at (2,1077) size 99x27 [r=10 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 41x24
+              text run at (1,1) width 41: "1-11"
+          LayoutTableCell {TD} at (103,1077) size 99x27 [r=10 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 41x24
+              text run at (1,1) width 41: "2-11"
+          LayoutTableCell {TD} at (204,1077) size 99x27 [r=10 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 41x24
+              text run at (1,1) width 41: "3-11"
+        LayoutTableRow {TR} at (0,1185) size 305x102
+          LayoutTableCell {TD} at (2,1222) size 99x27 [r=11 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-12"
+          LayoutTableCell {TD} at (103,1222) size 99x27 [r=11 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-12"
+          LayoutTableCell {TD} at (204,1222) size 99x27 [r=11 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-12"
+        LayoutTableRow {TR} at (0,1289) size 305x102
+          LayoutTableCell {TD} at (2,1326) size 99x27 [r=12 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-13"
+          LayoutTableCell {TD} at (103,1326) size 99x27 [r=12 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-13"
+          LayoutTableCell {TD} at (204,1326) size 99x27 [r=12 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-13"
+        LayoutTableRow {TR} at (0,1393) size 305x102
+          LayoutTableCell {TD} at (2,1430) size 99x27 [r=13 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-14"
+          LayoutTableCell {TD} at (103,1430) size 99x27 [r=13 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-14"
+          LayoutTableCell {TD} at (204,1430) size 99x27 [r=13 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-14"
+        LayoutTableRow {TR} at (0,1497) size 305x102
+          LayoutTableCell {TD} at (2,1534) size 99x27 [r=14 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-15"
+          LayoutTableCell {TD} at (103,1534) size 99x27 [r=14 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-15"
+          LayoutTableCell {TD} at (204,1534) size 99x27 [r=14 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-15"
+        LayoutTableRow {TR} at (0,1601) size 305x102
+          LayoutTableCell {TD} at (2,1638) size 99x27 [r=15 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-16"
+          LayoutTableCell {TD} at (103,1638) size 99x27 [r=15 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-16"
+          LayoutTableCell {TD} at (204,1638) size 99x27 [r=15 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-16"
+        LayoutTableRow {TR} at (0,1705) size 305x102
+          LayoutTableCell {TD} at (2,1742) size 99x27 [r=16 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-17"
+          LayoutTableCell {TD} at (103,1742) size 99x27 [r=16 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-17"
+          LayoutTableCell {TD} at (204,1742) size 99x27 [r=16 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-17"
+        LayoutTableRow {TR} at (0,1809) size 305x102
+          LayoutTableCell {TD} at (2,1846) size 99x27 [r=17 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-18"
+          LayoutTableCell {TD} at (103,1846) size 99x27 [r=17 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-18"
+          LayoutTableCell {TD} at (204,1846) size 99x27 [r=17 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-18"
+        LayoutTableRow {TR} at (0,1913) size 305x102
+          LayoutTableCell {TD} at (2,1950) size 99x27 [r=18 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-19"
+          LayoutTableCell {TD} at (103,1950) size 99x27 [r=18 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-19"
+          LayoutTableCell {TD} at (204,1950) size 99x27 [r=18 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-19"
+        LayoutTableRow {TR} at (0,2017) size 305x102
+          LayoutTableCell {TD} at (2,2054) size 99x27 [r=19 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-20"
+          LayoutTableCell {TD} at (103,2054) size 99x27 [r=19 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-20"
+          LayoutTableCell {TD} at (204,2054) size 99x27 [r=19 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-20"
+        LayoutTableRow {TR} at (0,2121) size 305x102
+          LayoutTableCell {TD} at (2,2158) size 99x27 [r=20 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-21"
+          LayoutTableCell {TD} at (103,2158) size 99x27 [r=20 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-21"
+          LayoutTableCell {TD} at (204,2158) size 99x27 [r=20 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-21"
+        LayoutTableRow {TR} at (0,2225) size 305x102
+          LayoutTableCell {TD} at (2,2262) size 99x27 [r=21 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-22"
+          LayoutTableCell {TD} at (103,2262) size 99x27 [r=21 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-22"
+          LayoutTableCell {TD} at (204,2262) size 99x27 [r=21 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-22"
+        LayoutTableRow {TR} at (0,2370) size 305x102
+          LayoutTableCell {TD} at (2,2407) size 99x27 [r=22 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-23"
+          LayoutTableCell {TD} at (103,2407) size 99x27 [r=22 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-23"
+          LayoutTableCell {TD} at (204,2407) size 99x27 [r=22 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-23"
+        LayoutTableRow {TR} at (0,2474) size 305x102
+          LayoutTableCell {TD} at (2,2511) size 99x27 [r=23 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-24"
+          LayoutTableCell {TD} at (103,2511) size 99x27 [r=23 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-24"
+          LayoutTableCell {TD} at (204,2511) size 99x27 [r=23 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-24"
+        LayoutTableRow {TR} at (0,2578) size 305x102
+          LayoutTableCell {TD} at (2,2615) size 99x27 [r=24 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-25"
+          LayoutTableCell {TD} at (103,2615) size 99x27 [r=24 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-25"
+          LayoutTableCell {TD} at (204,2615) size 99x27 [r=24 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-25"
+        LayoutTableRow {TR} at (0,2682) size 305x102
+          LayoutTableCell {TD} at (2,2719) size 99x27 [r=25 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-26"
+          LayoutTableCell {TD} at (103,2719) size 99x27 [r=25 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-26"
+          LayoutTableCell {TD} at (204,2719) size 99x27 [r=25 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-26"
+        LayoutTableRow {TR} at (0,2786) size 305x102
+          LayoutTableCell {TD} at (2,2823) size 99x27 [r=26 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-27"
+          LayoutTableCell {TD} at (103,2823) size 99x27 [r=26 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-27"
+          LayoutTableCell {TD} at (204,2823) size 99x27 [r=26 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-27"
+        LayoutTableRow {TR} at (0,2890) size 305x102
+          LayoutTableCell {TD} at (2,2927) size 99x27 [r=27 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-28"
+          LayoutTableCell {TD} at (103,2927) size 99x27 [r=27 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-28"
+          LayoutTableCell {TD} at (204,2927) size 99x27 [r=27 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-28"
+        LayoutTableRow {TR} at (0,2994) size 305x102
+          LayoutTableCell {TD} at (2,3031) size 99x27 [r=28 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-29"
+          LayoutTableCell {TD} at (103,3031) size 99x27 [r=28 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-29"
+          LayoutTableCell {TD} at (204,3031) size 99x27 [r=28 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-29"
+        LayoutTableRow {TR} at (0,3185) size 305x102
+          LayoutTableCell {TD} at (2,3222) size 99x27 [r=29 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-30"
+          LayoutTableCell {TD} at (103,3222) size 99x27 [r=29 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-30"
+          LayoutTableCell {TD} at (204,3222) size 99x27 [r=29 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-30"
+        LayoutTableRow {TR} at (0,3289) size 305x102
+          LayoutTableCell {TD} at (2,3326) size 99x27 [r=30 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-31"
+          LayoutTableCell {TD} at (103,3326) size 99x27 [r=30 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-31"
+          LayoutTableCell {TD} at (204,3326) size 99x27 [r=30 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-31"
+        LayoutTableRow {TR} at (0,3393) size 305x102
+          LayoutTableCell {TD} at (2,3430) size 99x27 [r=31 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-32"
+          LayoutTableCell {TD} at (103,3430) size 99x27 [r=31 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-32"
+          LayoutTableCell {TD} at (204,3430) size 99x27 [r=31 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-32"
+        LayoutTableRow {TR} at (0,3497) size 305x102
+          LayoutTableCell {TD} at (2,3534) size 99x27 [r=32 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-33"
+          LayoutTableCell {TD} at (103,3534) size 99x27 [r=32 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-33"
+          LayoutTableCell {TD} at (204,3534) size 99x27 [r=32 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-33"
+        LayoutTableRow {TR} at (0,3601) size 305x102
+          LayoutTableCell {TD} at (2,3638) size 99x27 [r=33 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-34"
+          LayoutTableCell {TD} at (103,3638) size 99x27 [r=33 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-34"
+          LayoutTableCell {TD} at (204,3638) size 99x27 [r=33 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-34"
+        LayoutTableRow {TR} at (0,3705) size 305x102
+          LayoutTableCell {TD} at (2,3742) size 99x27 [r=34 c=0 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "1-35"
+          LayoutTableCell {TD} at (103,3742) size 99x27 [r=34 c=1 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "2-35"
+          LayoutTableCell {TD} at (204,3742) size 99x27 [r=34 c=2 rs=1 cs=1]
+            LayoutText {#text} at (1,1) size 43x24
+              text run at (1,1) width 43: "3-35"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/color-profile-image-filter-all-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/color-profile-image-filter-all-expected.png
index b38d5c9..9bbb5f1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/color-profile-image-filter-all-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/color-profile-image-filter-all-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/cross-fade-svg-size-diff-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/cross-fade-svg-size-diff-expected.png
index 91776e00..8ddb2e6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/cross-fade-svg-size-diff-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/cross-fade-svg-size-diff-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/cross-fade-svg-size-diff-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/cross-fade-svg-size-diff-expected.txt
new file mode 100644
index 0000000..771fb96d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/cross-fade-svg-size-diff-expected.txt
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x560
+  LayoutBlockFlow {HTML} at (0,0) size 800x560
+    LayoutBlockFlow {BODY} at (8,16) size 784x536
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 410x19
+          text run at (0,0) width 410: "There should be three circles below. One big and two small ones."
+      LayoutBlockFlow {DIV} at (0,36) size 300x300
+      LayoutBlockFlow {DIV} at (0,336) size 100x100
+      LayoutBlockFlow {DIV} at (0,436) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/cross-fade-svg-size-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/cross-fade-svg-size-expected.png
index f89f2e3..3cbdecf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/cross-fade-svg-size-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/cross-fade-svg-size-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/cross-fade-svg-size-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/cross-fade-svg-size-expected.txt
new file mode 100644
index 0000000..d8d69bff
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/cross-fade-svg-size-expected.txt
@@ -0,0 +1,20 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x165
+  LayoutBlockFlow {HTML} at (0,0) size 800x165
+    LayoutBlockFlow {BODY} at (8,16) size 784x141
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 260x19
+          text run at (0,0) width 260: "There should be four green circles below."
+      LayoutBlockFlow (anonymous) at (0,36) size 784x105
+        LayoutBlockFlow {DIV} at (0,0) size 100x100
+        LayoutText {#text} at (100,85) size 4x19
+          text run at (100,85) width 4: " "
+        LayoutBlockFlow {DIV} at (104,0) size 100x100
+        LayoutText {#text} at (204,85) size 4x19
+          text run at (204,85) width 4: " "
+        LayoutBlockFlow {DIV} at (208,0) size 100x100
+        LayoutText {#text} at (308,85) size 4x19
+          text run at (308,85) width 4: " "
+        LayoutBlockFlow {DIV} at (312,0) size 100x100
+        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/exif-orientation-css-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/exif-orientation-css-expected.png
index b0f98fbb..caccffa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/exif-orientation-css-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/exif-orientation-css-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/exif-orientation-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/exif-orientation-expected.png
index ca7ed4930..2279f7b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/exif-orientation-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/exif-orientation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/exif-orientation-image-document-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/exif-orientation-image-document-expected.png
index 5caba57..fea222da 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/exif-orientation-image-document-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/exif-orientation-image-document-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/favicon-as-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/favicon-as-image-expected.png
index 3d36747..eae31c2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/favicon-as-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/favicon-as-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/favicon-as-image-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/favicon-as-image-expected.txt
new file mode 100644
index 0000000..d2576274
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/favicon-as-image-expected.txt
@@ -0,0 +1,21 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (0,0) size 800x600
+      LayoutBlockFlow {DIV} at (0,0) size 800x20
+        LayoutText {#text} at (0,0) size 447x19
+          text run at (0,0) width 447: "Two green 16x16 pixel squares should appear below stacked vertically."
+      LayoutBlockFlow {DIV} at (0,20) size 16x16 [bgcolor=#FF0000]
+        LayoutImage {IMG} at (0,0) size 16x16
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow (anonymous) at (0,36) size 800x16
+        LayoutText {#text} at (0,0) size 0x0
+layer at (0,36) size 16x16
+  LayoutIFrame {IFRAME} at (0,0) size 16x16 [bgcolor=#FF0000]
+    layer at (0,0) size 16x16
+      LayoutView at (0,0) size 16x16
+    layer at (0,0) size 16x16
+      LayoutBlockFlow {HTML} at (0,0) size 16x16
+        LayoutBlockFlow {BODY} at (0,0) size 16x16
+          LayoutImage {IMG} at (0,0) size 16x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.png
index e89b9a27b..a6374bd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.txt
index d69ad1f8..23a3165 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 763x39
           text run at (0,0) width 763: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 760: "shape=\"circle\">. This test PASSED if a circular-shaped focus ring is drawn around the <area> in the imagemap (below)."
+          text run at (0,20) width 759: "shape=\"circle\">. This test PASSED if a circular-shaped focus ring is drawn around the <area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,56) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-expected.png
index e17091e..04c15b5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-expected.txt
new file mode 100644
index 0000000..2a1580a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-expected.txt
@@ -0,0 +1,17 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 724x39
+          text run at (0,0) width 724: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an"
+          text run at (0,20) width 622: "imagemap. This test PASSED if a focus ring is drawn around the <area> in the imagemap (below)."
+      LayoutBlockFlow (anonymous) at (0,56) size 784x128
+        LayoutInline {MAP} at (0,0) size 0x0
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {AREA} at (0,0) size 0x0
+          LayoutText {#text} at (0,0) size 0x0
+        LayoutText {#text} at (0,0) size 0x0
+        LayoutImage {IMG} at (0,0) size 128x128
+        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-in-positioned-container-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-in-positioned-container-expected.png
index 067f704..50ecdb30 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-in-positioned-container-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-in-positioned-container-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-in-positioned-container-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-in-positioned-container-expected.txt
index b61a818..aa55f182 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-in-positioned-container-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-in-positioned-container-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x36
   LayoutBlockFlow {HTML} at (0,0) size 800x36
     LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutText {#text} at (0,0) size 551x19
-        text run at (0,0) width 551: "Tests that we paint area outline properly when the image is inside positioned containers."
+      LayoutText {#text} at (0,0) size 550x19
+        text run at (0,0) width 550: "Tests that we paint area outline properly when the image is inside positioned containers."
 layer at (20,50) size 0x0
   LayoutBlockFlow (positioned) {DIV} at (20,50) size 0x0
 layer at (30,60) size 50x55
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-expected.png
index 113cea58..b331637 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-expected.txt
new file mode 100644
index 0000000..de1ce31
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-expected.txt
@@ -0,0 +1,17 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 776x39
+          text run at (0,0) width 776: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area>."
+          text run at (0,20) width 640: "This test PASSED if a green-colored focus ring is drawn around the <area> in the imagemap (below)."
+      LayoutBlockFlow (anonymous) at (0,56) size 784x128
+        LayoutInline {MAP} at (0,0) size 0x0
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {AREA} at (0,0) size 0x0
+          LayoutText {#text} at (0,0) size 0x0
+        LayoutText {#text} at (0,0) size 0x0
+        LayoutImage {IMG} at (0,0) size 128x128
+        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png
index fdcbfad..bb35c68 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt
new file mode 100644
index 0000000..8d25218
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt
@@ -0,0 +1,18 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x60
+        LayoutText {#text} at (0,0) size 767x59
+          text run at (0,0) width 762: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that the focus ring color for an <area>"
+          text run at (0,20) width 767: "can be explicitly inherited from <map>. This test PASSED if a green-colored focus ring is drawn around the <area> in the"
+          text run at (0,40) width 122: "imagemap (below)."
+      LayoutBlockFlow (anonymous) at (0,76) size 784x128
+        LayoutInline {MAP} at (0,0) size 0x0
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {AREA} at (0,0) size 0x0
+          LayoutText {#text} at (0,0) size 0x0
+        LayoutText {#text} at (0,0) size 0x0
+        LayoutImage {IMG} at (0,0) size 128x128
+        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png
index a49ed399..38892792 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt
new file mode 100644
index 0000000..3b327342
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x60
+        LayoutText {#text} at (0,0) size 770x39
+          text run at (0,0) width 770: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that the focus ring color is not inherited"
+          text run at (0,20) width 207: "for an <area> (by default) as per "
+        LayoutInline {A} at (0,0) size 467x19 [color=#0000EE]
+          LayoutText {#text} at (207,20) size 467x19
+            text run at (207,20) width 467: "section 18.4 \"Dynamic outlines: the 'outline' property\" of the CSS2.1 spec"
+        LayoutText {#text} at (674,20) size 735x39
+          text run at (674,20) width 61: ". This test"
+          text run at (0,40) width 565: "FAILED if a red-colored focus ring is drawn around the <area> in the imagemap (below)."
+      LayoutBlockFlow (anonymous) at (0,76) size 784x128
+        LayoutInline {MAP} at (0,0) size 0x0
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {AREA} at (0,0) size 0x0
+          LayoutText {#text} at (0,0) size 0x0
+        LayoutText {#text} at (0,0) size 0x0
+        LayoutImage {IMG} at (0,0) size 128x128
+        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-paint-root-offset-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-paint-root-offset-expected.png
index 00af91d..373eff0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-paint-root-offset-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-paint-root-offset-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-paint-root-offset-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
index 3877147..d19ca6c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x36
   LayoutBlockFlow {HTML} at (0,0) size 800x36
     LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutText {#text} at (0,0) size 437x19
-        text run at (0,0) width 437: "Tests that we paint area outline properly when the paintroot is shifted."
+      LayoutText {#text} at (0,0) size 436x19
+        text run at (0,0) width 436: "Tests that we paint area outline properly when the paintroot is shifted."
 layer at (5,50) size 50x55
   LayoutBlockFlow (positioned) {DIV} at (5,50) size 50x55
     LayoutImage {IMG} at (0,0) size 50x50
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-scale-transform-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-scale-transform-expected.png
index f7a7721..ff7dae6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-scale-transform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-scale-transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-scale-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-scale-transform-expected.txt
index 8e4a1697..b8f1a159 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-scale-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-with-scale-transform-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x36
   LayoutBlockFlow {HTML} at (0,0) size 800x36
     LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutText {#text} at (0,0) size 487x19
-        text run at (0,0) width 487: "Tests that we paint area outline properly when the image's container is scaled."
+      LayoutText {#text} at (0,0) size 486x19
+        text run at (0,0) width 486: "Tests that we paint area outline properly when the image's container is scaled."
 layer at (100,100) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (100,100) size 100x100
     LayoutImage {IMG} at (0,0) size 50x50
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-zero-outline-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-zero-outline-width-expected.png
index 0aa30d7..f9a8dea5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-zero-outline-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-zero-outline-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-zero-outline-width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-zero-outline-width-expected.txt
new file mode 100644
index 0000000..1334cec
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-zero-outline-width-expected.txt
@@ -0,0 +1,18 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x60
+        LayoutText {#text} at (0,0) size 748x59
+          text run at (0,0) width 748: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is not drawn for an"
+          text run at (0,20) width 736: "<area> with a 0px outline-width. This test PASSED if no red focus ring is drawn around the <area> in the imagemap"
+          text run at (0,40) width 53: "(below)."
+      LayoutBlockFlow (anonymous) at (0,76) size 784x128
+        LayoutInline {MAP} at (0,0) size 0x0
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {AREA} at (0,0) size 0x0
+          LayoutText {#text} at (0,0) size 0x0
+        LayoutText {#text} at (0,0) size 0x0
+        LayoutImage {IMG} at (0,0) size 128x128
+        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-zoom-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-zoom-expected.png
index e9c4af9..71e0adf 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-zoom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-focus-ring-zoom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-circle-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-circle-focus-ring-expected.png
index a722889..c8c17ec 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-circle-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-circle-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-circle-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-circle-focus-ring-expected.txt
index 493a04d..518cb96 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-circle-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-circle-focus-ring-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x60
         LayoutText {#text} at (0,0) size 763x59
           text run at (0,0) width 763: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 743: "shape=\"circle\"> that overflows the img element. This test PASSED if a half-circule-shaped focus ring is drawn for the"
+          text run at (0,20) width 742: "shape=\"circle\"> that overflows the img element. This test PASSED if a half-circule-shaped focus ring is drawn for the"
           text run at (0,40) width 209: "<area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,76) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.png
index 712af0f..01045b13 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.txt
index 8e775e6..20bd3c5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x60
-        LayoutText {#text} at (0,0) size 782x59
+        LayoutText {#text} at (0,0) size 781x59
           text run at (0,0) width 763: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 782: "shape=\"polygon\"> that is overflowing the bounds for the img element. This test PASSED if a clipped star-shaped focus ring"
+          text run at (0,20) width 781: "shape=\"polygon\"> that is overflowing the bounds for the img element. This test PASSED if a clipped star-shaped focus ring"
           text run at (0,40) width 338: "is drawn around the <area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,76) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-polygon-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-polygon-focus-ring-expected.png
index 430188f5..ae2bd0a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-polygon-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-polygon-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-polygon-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-polygon-focus-ring-expected.txt
index 12e3e1fb..9199db8d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-polygon-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/imagemap-polygon-focus-ring-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 763x39
           text run at (0,0) width 763: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 763: "shape=\"polygon\">. This test PASSED if a cross-shaped focus ring is drawn around the <area> in the imagemap (below)."
+          text run at (0,20) width 762: "shape=\"polygon\">. This test PASSED if a cross-shaped focus ring is drawn around the <area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,56) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/pixel-crack-image-background-webkit-transform-scale-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/pixel-crack-image-background-webkit-transform-scale-expected.png
index 37ee86f..c849a2c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/pixel-crack-image-background-webkit-transform-scale-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/pixel-crack-image-background-webkit-transform-scale-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/pixel-crack-image-background-webkit-transform-scale-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/pixel-crack-image-background-webkit-transform-scale-expected.txt
new file mode 100644
index 0000000..61b177c7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/pixel-crack-image-background-webkit-transform-scale-expected.txt
@@ -0,0 +1,2409 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x576
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 731x19
+          text run at (0,0) width 428: "Test pixel cracks when background sprite is transformed with scale. "
+          text run at (428,0) width 303: "Need to run pixel test to verify if it is successful."
+layer at (12,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,72) size 16x16
+layer at (24,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,72) size 16x16
+layer at (36,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,72) size 16x16
+layer at (48,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,72) size 16x16
+layer at (60,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,72) size 16x16
+layer at (72,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,72) size 16x16
+layer at (84,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,72) size 16x16
+layer at (96,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,72) size 16x16
+layer at (108,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,72) size 16x16
+layer at (120,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,72) size 16x16
+layer at (132,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,72) size 16x16
+layer at (144,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,72) size 16x16
+layer at (156,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,72) size 16x16
+layer at (168,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,72) size 16x16
+layer at (180,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,72) size 16x16
+layer at (192,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,72) size 16x16
+layer at (204,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,72) size 16x16
+layer at (216,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,72) size 16x16
+layer at (228,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,72) size 16x16
+layer at (240,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,72) size 16x16
+layer at (252,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,72) size 16x16
+layer at (264,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,72) size 16x16
+layer at (276,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,72) size 16x16
+layer at (288,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,72) size 16x16
+layer at (300,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,72) size 16x16
+layer at (312,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,72) size 16x16
+layer at (324,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,72) size 16x16
+layer at (336,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,72) size 16x16
+layer at (348,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,72) size 16x16
+layer at (360,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,72) size 16x16
+layer at (372,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,72) size 16x16
+layer at (384,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,72) size 16x16
+layer at (396,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,72) size 16x16
+layer at (408,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,72) size 16x16
+layer at (420,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,72) size 16x16
+layer at (432,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,72) size 16x16
+layer at (444,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,72) size 16x16
+layer at (456,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,72) size 16x16
+layer at (468,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,72) size 16x16
+layer at (480,72) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,72) size 16x16
+layer at (12,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,84) size 16x16
+layer at (24,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,84) size 16x16
+layer at (36,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,84) size 16x16
+layer at (48,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,84) size 16x16
+layer at (60,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,84) size 16x16
+layer at (72,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,84) size 16x16
+layer at (84,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,84) size 16x16
+layer at (96,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,84) size 16x16
+layer at (108,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,84) size 16x16
+layer at (120,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,84) size 16x16
+layer at (132,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,84) size 16x16
+layer at (144,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,84) size 16x16
+layer at (156,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,84) size 16x16
+layer at (168,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,84) size 16x16
+layer at (180,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,84) size 16x16
+layer at (192,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,84) size 16x16
+layer at (204,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,84) size 16x16
+layer at (216,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,84) size 16x16
+layer at (228,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,84) size 16x16
+layer at (240,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,84) size 16x16
+layer at (252,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,84) size 16x16
+layer at (264,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,84) size 16x16
+layer at (276,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,84) size 16x16
+layer at (288,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,84) size 16x16
+layer at (300,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,84) size 16x16
+layer at (312,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,84) size 16x16
+layer at (324,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,84) size 16x16
+layer at (336,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,84) size 16x16
+layer at (348,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,84) size 16x16
+layer at (360,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,84) size 16x16
+layer at (372,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,84) size 16x16
+layer at (384,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,84) size 16x16
+layer at (396,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,84) size 16x16
+layer at (408,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,84) size 16x16
+layer at (420,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,84) size 16x16
+layer at (432,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,84) size 16x16
+layer at (444,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,84) size 16x16
+layer at (456,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,84) size 16x16
+layer at (468,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,84) size 16x16
+layer at (480,84) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,84) size 16x16
+layer at (12,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,96) size 16x16
+layer at (24,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,96) size 16x16
+layer at (36,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,96) size 16x16
+layer at (48,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,96) size 16x16
+layer at (60,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,96) size 16x16
+layer at (72,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,96) size 16x16
+layer at (84,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,96) size 16x16
+layer at (96,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,96) size 16x16
+layer at (108,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,96) size 16x16
+layer at (120,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,96) size 16x16
+layer at (132,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,96) size 16x16
+layer at (144,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,96) size 16x16
+layer at (156,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,96) size 16x16
+layer at (168,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,96) size 16x16
+layer at (180,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,96) size 16x16
+layer at (192,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,96) size 16x16
+layer at (204,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,96) size 16x16
+layer at (216,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,96) size 16x16
+layer at (228,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,96) size 16x16
+layer at (240,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,96) size 16x16
+layer at (252,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,96) size 16x16
+layer at (264,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,96) size 16x16
+layer at (276,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,96) size 16x16
+layer at (288,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,96) size 16x16
+layer at (300,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,96) size 16x16
+layer at (312,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,96) size 16x16
+layer at (324,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,96) size 16x16
+layer at (336,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,96) size 16x16
+layer at (348,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,96) size 16x16
+layer at (360,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,96) size 16x16
+layer at (372,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,96) size 16x16
+layer at (384,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,96) size 16x16
+layer at (396,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,96) size 16x16
+layer at (408,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,96) size 16x16
+layer at (420,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,96) size 16x16
+layer at (432,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,96) size 16x16
+layer at (444,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,96) size 16x16
+layer at (456,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,96) size 16x16
+layer at (468,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,96) size 16x16
+layer at (480,96) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,96) size 16x16
+layer at (12,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,108) size 16x16
+layer at (24,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,108) size 16x16
+layer at (36,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,108) size 16x16
+layer at (48,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,108) size 16x16
+layer at (60,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,108) size 16x16
+layer at (72,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,108) size 16x16
+layer at (84,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,108) size 16x16
+layer at (96,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,108) size 16x16
+layer at (108,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,108) size 16x16
+layer at (120,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,108) size 16x16
+layer at (132,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,108) size 16x16
+layer at (144,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,108) size 16x16
+layer at (156,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,108) size 16x16
+layer at (168,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,108) size 16x16
+layer at (180,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,108) size 16x16
+layer at (192,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,108) size 16x16
+layer at (204,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,108) size 16x16
+layer at (216,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,108) size 16x16
+layer at (228,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,108) size 16x16
+layer at (240,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,108) size 16x16
+layer at (252,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,108) size 16x16
+layer at (264,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,108) size 16x16
+layer at (276,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,108) size 16x16
+layer at (288,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,108) size 16x16
+layer at (300,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,108) size 16x16
+layer at (312,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,108) size 16x16
+layer at (324,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,108) size 16x16
+layer at (336,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,108) size 16x16
+layer at (348,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,108) size 16x16
+layer at (360,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,108) size 16x16
+layer at (372,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,108) size 16x16
+layer at (384,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,108) size 16x16
+layer at (396,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,108) size 16x16
+layer at (408,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,108) size 16x16
+layer at (420,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,108) size 16x16
+layer at (432,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,108) size 16x16
+layer at (444,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,108) size 16x16
+layer at (456,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,108) size 16x16
+layer at (468,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,108) size 16x16
+layer at (480,108) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,108) size 16x16
+layer at (12,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,120) size 16x16
+layer at (24,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,120) size 16x16
+layer at (36,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,120) size 16x16
+layer at (48,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,120) size 16x16
+layer at (60,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,120) size 16x16
+layer at (72,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,120) size 16x16
+layer at (84,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,120) size 16x16
+layer at (96,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,120) size 16x16
+layer at (108,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,120) size 16x16
+layer at (120,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,120) size 16x16
+layer at (132,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,120) size 16x16
+layer at (144,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,120) size 16x16
+layer at (156,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,120) size 16x16
+layer at (168,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,120) size 16x16
+layer at (180,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,120) size 16x16
+layer at (192,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,120) size 16x16
+layer at (204,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,120) size 16x16
+layer at (216,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,120) size 16x16
+layer at (228,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,120) size 16x16
+layer at (240,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,120) size 16x16
+layer at (252,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,120) size 16x16
+layer at (264,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,120) size 16x16
+layer at (276,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,120) size 16x16
+layer at (288,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,120) size 16x16
+layer at (300,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,120) size 16x16
+layer at (312,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,120) size 16x16
+layer at (324,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,120) size 16x16
+layer at (336,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,120) size 16x16
+layer at (348,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,120) size 16x16
+layer at (360,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,120) size 16x16
+layer at (372,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,120) size 16x16
+layer at (384,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,120) size 16x16
+layer at (396,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,120) size 16x16
+layer at (408,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,120) size 16x16
+layer at (420,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,120) size 16x16
+layer at (432,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,120) size 16x16
+layer at (444,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,120) size 16x16
+layer at (456,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,120) size 16x16
+layer at (468,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,120) size 16x16
+layer at (480,120) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,120) size 16x16
+layer at (12,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,132) size 16x16
+layer at (24,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,132) size 16x16
+layer at (36,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,132) size 16x16
+layer at (48,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,132) size 16x16
+layer at (60,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,132) size 16x16
+layer at (72,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,132) size 16x16
+layer at (84,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,132) size 16x16
+layer at (96,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,132) size 16x16
+layer at (108,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,132) size 16x16
+layer at (120,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,132) size 16x16
+layer at (132,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,132) size 16x16
+layer at (144,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,132) size 16x16
+layer at (156,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,132) size 16x16
+layer at (168,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,132) size 16x16
+layer at (180,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,132) size 16x16
+layer at (192,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,132) size 16x16
+layer at (204,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,132) size 16x16
+layer at (216,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,132) size 16x16
+layer at (228,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,132) size 16x16
+layer at (240,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,132) size 16x16
+layer at (252,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,132) size 16x16
+layer at (264,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,132) size 16x16
+layer at (276,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,132) size 16x16
+layer at (288,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,132) size 16x16
+layer at (300,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,132) size 16x16
+layer at (312,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,132) size 16x16
+layer at (324,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,132) size 16x16
+layer at (336,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,132) size 16x16
+layer at (348,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,132) size 16x16
+layer at (360,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,132) size 16x16
+layer at (372,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,132) size 16x16
+layer at (384,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,132) size 16x16
+layer at (396,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,132) size 16x16
+layer at (408,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,132) size 16x16
+layer at (420,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,132) size 16x16
+layer at (432,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,132) size 16x16
+layer at (444,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,132) size 16x16
+layer at (456,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,132) size 16x16
+layer at (468,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,132) size 16x16
+layer at (480,132) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,132) size 16x16
+layer at (12,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,144) size 16x16
+layer at (24,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,144) size 16x16
+layer at (36,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,144) size 16x16
+layer at (48,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,144) size 16x16
+layer at (60,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,144) size 16x16
+layer at (72,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,144) size 16x16
+layer at (84,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,144) size 16x16
+layer at (96,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,144) size 16x16
+layer at (108,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,144) size 16x16
+layer at (120,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,144) size 16x16
+layer at (132,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,144) size 16x16
+layer at (144,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,144) size 16x16
+layer at (156,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,144) size 16x16
+layer at (168,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,144) size 16x16
+layer at (180,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,144) size 16x16
+layer at (192,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,144) size 16x16
+layer at (204,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,144) size 16x16
+layer at (216,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,144) size 16x16
+layer at (228,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,144) size 16x16
+layer at (240,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,144) size 16x16
+layer at (252,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,144) size 16x16
+layer at (264,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,144) size 16x16
+layer at (276,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,144) size 16x16
+layer at (288,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,144) size 16x16
+layer at (300,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,144) size 16x16
+layer at (312,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,144) size 16x16
+layer at (324,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,144) size 16x16
+layer at (336,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,144) size 16x16
+layer at (348,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,144) size 16x16
+layer at (360,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,144) size 16x16
+layer at (372,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,144) size 16x16
+layer at (384,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,144) size 16x16
+layer at (396,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,144) size 16x16
+layer at (408,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,144) size 16x16
+layer at (420,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,144) size 16x16
+layer at (432,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,144) size 16x16
+layer at (444,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,144) size 16x16
+layer at (456,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,144) size 16x16
+layer at (468,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,144) size 16x16
+layer at (480,144) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,144) size 16x16
+layer at (12,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,156) size 16x16
+layer at (24,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,156) size 16x16
+layer at (36,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,156) size 16x16
+layer at (48,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,156) size 16x16
+layer at (60,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,156) size 16x16
+layer at (72,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,156) size 16x16
+layer at (84,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,156) size 16x16
+layer at (96,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,156) size 16x16
+layer at (108,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,156) size 16x16
+layer at (120,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,156) size 16x16
+layer at (132,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,156) size 16x16
+layer at (144,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,156) size 16x16
+layer at (156,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,156) size 16x16
+layer at (168,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,156) size 16x16
+layer at (180,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,156) size 16x16
+layer at (192,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,156) size 16x16
+layer at (204,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,156) size 16x16
+layer at (216,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,156) size 16x16
+layer at (228,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,156) size 16x16
+layer at (240,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,156) size 16x16
+layer at (252,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,156) size 16x16
+layer at (264,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,156) size 16x16
+layer at (276,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,156) size 16x16
+layer at (288,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,156) size 16x16
+layer at (300,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,156) size 16x16
+layer at (312,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,156) size 16x16
+layer at (324,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,156) size 16x16
+layer at (336,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,156) size 16x16
+layer at (348,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,156) size 16x16
+layer at (360,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,156) size 16x16
+layer at (372,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,156) size 16x16
+layer at (384,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,156) size 16x16
+layer at (396,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,156) size 16x16
+layer at (408,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,156) size 16x16
+layer at (420,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,156) size 16x16
+layer at (432,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,156) size 16x16
+layer at (444,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,156) size 16x16
+layer at (456,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,156) size 16x16
+layer at (468,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,156) size 16x16
+layer at (480,156) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,156) size 16x16
+layer at (12,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,168) size 16x16
+layer at (24,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,168) size 16x16
+layer at (36,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,168) size 16x16
+layer at (48,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,168) size 16x16
+layer at (60,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,168) size 16x16
+layer at (72,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,168) size 16x16
+layer at (84,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,168) size 16x16
+layer at (96,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,168) size 16x16
+layer at (108,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,168) size 16x16
+layer at (120,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,168) size 16x16
+layer at (132,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,168) size 16x16
+layer at (144,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,168) size 16x16
+layer at (156,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,168) size 16x16
+layer at (168,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,168) size 16x16
+layer at (180,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,168) size 16x16
+layer at (192,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,168) size 16x16
+layer at (204,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,168) size 16x16
+layer at (216,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,168) size 16x16
+layer at (228,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,168) size 16x16
+layer at (240,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,168) size 16x16
+layer at (252,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,168) size 16x16
+layer at (264,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,168) size 16x16
+layer at (276,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,168) size 16x16
+layer at (288,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,168) size 16x16
+layer at (300,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,168) size 16x16
+layer at (312,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,168) size 16x16
+layer at (324,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,168) size 16x16
+layer at (336,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,168) size 16x16
+layer at (348,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,168) size 16x16
+layer at (360,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,168) size 16x16
+layer at (372,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,168) size 16x16
+layer at (384,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,168) size 16x16
+layer at (396,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,168) size 16x16
+layer at (408,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,168) size 16x16
+layer at (420,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,168) size 16x16
+layer at (432,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,168) size 16x16
+layer at (444,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,168) size 16x16
+layer at (456,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,168) size 16x16
+layer at (468,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,168) size 16x16
+layer at (480,168) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,168) size 16x16
+layer at (12,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,180) size 16x16
+layer at (24,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,180) size 16x16
+layer at (36,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,180) size 16x16
+layer at (48,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,180) size 16x16
+layer at (60,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,180) size 16x16
+layer at (72,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,180) size 16x16
+layer at (84,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,180) size 16x16
+layer at (96,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,180) size 16x16
+layer at (108,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,180) size 16x16
+layer at (120,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,180) size 16x16
+layer at (132,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,180) size 16x16
+layer at (144,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,180) size 16x16
+layer at (156,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,180) size 16x16
+layer at (168,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,180) size 16x16
+layer at (180,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,180) size 16x16
+layer at (192,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,180) size 16x16
+layer at (204,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,180) size 16x16
+layer at (216,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,180) size 16x16
+layer at (228,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,180) size 16x16
+layer at (240,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,180) size 16x16
+layer at (252,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,180) size 16x16
+layer at (264,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,180) size 16x16
+layer at (276,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,180) size 16x16
+layer at (288,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,180) size 16x16
+layer at (300,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,180) size 16x16
+layer at (312,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,180) size 16x16
+layer at (324,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,180) size 16x16
+layer at (336,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,180) size 16x16
+layer at (348,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,180) size 16x16
+layer at (360,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,180) size 16x16
+layer at (372,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,180) size 16x16
+layer at (384,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,180) size 16x16
+layer at (396,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,180) size 16x16
+layer at (408,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,180) size 16x16
+layer at (420,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,180) size 16x16
+layer at (432,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,180) size 16x16
+layer at (444,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,180) size 16x16
+layer at (456,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,180) size 16x16
+layer at (468,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,180) size 16x16
+layer at (480,180) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,180) size 16x16
+layer at (12,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,192) size 16x16
+layer at (24,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,192) size 16x16
+layer at (36,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,192) size 16x16
+layer at (48,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,192) size 16x16
+layer at (60,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,192) size 16x16
+layer at (72,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,192) size 16x16
+layer at (84,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,192) size 16x16
+layer at (96,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,192) size 16x16
+layer at (108,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,192) size 16x16
+layer at (120,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,192) size 16x16
+layer at (132,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,192) size 16x16
+layer at (144,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,192) size 16x16
+layer at (156,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,192) size 16x16
+layer at (168,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,192) size 16x16
+layer at (180,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,192) size 16x16
+layer at (192,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,192) size 16x16
+layer at (204,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,192) size 16x16
+layer at (216,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,192) size 16x16
+layer at (228,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,192) size 16x16
+layer at (240,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,192) size 16x16
+layer at (252,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,192) size 16x16
+layer at (264,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,192) size 16x16
+layer at (276,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,192) size 16x16
+layer at (288,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,192) size 16x16
+layer at (300,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,192) size 16x16
+layer at (312,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,192) size 16x16
+layer at (324,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,192) size 16x16
+layer at (336,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,192) size 16x16
+layer at (348,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,192) size 16x16
+layer at (360,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,192) size 16x16
+layer at (372,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,192) size 16x16
+layer at (384,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,192) size 16x16
+layer at (396,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,192) size 16x16
+layer at (408,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,192) size 16x16
+layer at (420,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,192) size 16x16
+layer at (432,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,192) size 16x16
+layer at (444,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,192) size 16x16
+layer at (456,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,192) size 16x16
+layer at (468,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,192) size 16x16
+layer at (480,192) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,192) size 16x16
+layer at (12,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,204) size 16x16
+layer at (24,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,204) size 16x16
+layer at (36,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,204) size 16x16
+layer at (48,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,204) size 16x16
+layer at (60,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,204) size 16x16
+layer at (72,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,204) size 16x16
+layer at (84,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,204) size 16x16
+layer at (96,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,204) size 16x16
+layer at (108,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,204) size 16x16
+layer at (120,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,204) size 16x16
+layer at (132,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,204) size 16x16
+layer at (144,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,204) size 16x16
+layer at (156,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,204) size 16x16
+layer at (168,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,204) size 16x16
+layer at (180,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,204) size 16x16
+layer at (192,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,204) size 16x16
+layer at (204,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,204) size 16x16
+layer at (216,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,204) size 16x16
+layer at (228,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,204) size 16x16
+layer at (240,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,204) size 16x16
+layer at (252,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,204) size 16x16
+layer at (264,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,204) size 16x16
+layer at (276,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,204) size 16x16
+layer at (288,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,204) size 16x16
+layer at (300,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,204) size 16x16
+layer at (312,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,204) size 16x16
+layer at (324,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,204) size 16x16
+layer at (336,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,204) size 16x16
+layer at (348,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,204) size 16x16
+layer at (360,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,204) size 16x16
+layer at (372,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,204) size 16x16
+layer at (384,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,204) size 16x16
+layer at (396,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,204) size 16x16
+layer at (408,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,204) size 16x16
+layer at (420,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,204) size 16x16
+layer at (432,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,204) size 16x16
+layer at (444,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,204) size 16x16
+layer at (456,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,204) size 16x16
+layer at (468,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,204) size 16x16
+layer at (480,204) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,204) size 16x16
+layer at (12,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,216) size 16x16
+layer at (24,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,216) size 16x16
+layer at (36,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,216) size 16x16
+layer at (48,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,216) size 16x16
+layer at (60,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,216) size 16x16
+layer at (72,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,216) size 16x16
+layer at (84,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,216) size 16x16
+layer at (96,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,216) size 16x16
+layer at (108,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,216) size 16x16
+layer at (120,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,216) size 16x16
+layer at (132,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,216) size 16x16
+layer at (144,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,216) size 16x16
+layer at (156,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,216) size 16x16
+layer at (168,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,216) size 16x16
+layer at (180,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,216) size 16x16
+layer at (192,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,216) size 16x16
+layer at (204,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,216) size 16x16
+layer at (216,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,216) size 16x16
+layer at (228,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,216) size 16x16
+layer at (240,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,216) size 16x16
+layer at (252,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,216) size 16x16
+layer at (264,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,216) size 16x16
+layer at (276,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,216) size 16x16
+layer at (288,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,216) size 16x16
+layer at (300,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,216) size 16x16
+layer at (312,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,216) size 16x16
+layer at (324,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,216) size 16x16
+layer at (336,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,216) size 16x16
+layer at (348,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,216) size 16x16
+layer at (360,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,216) size 16x16
+layer at (372,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,216) size 16x16
+layer at (384,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,216) size 16x16
+layer at (396,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,216) size 16x16
+layer at (408,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,216) size 16x16
+layer at (420,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,216) size 16x16
+layer at (432,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,216) size 16x16
+layer at (444,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,216) size 16x16
+layer at (456,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,216) size 16x16
+layer at (468,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,216) size 16x16
+layer at (480,216) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,216) size 16x16
+layer at (12,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,228) size 16x16
+layer at (24,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,228) size 16x16
+layer at (36,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,228) size 16x16
+layer at (48,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,228) size 16x16
+layer at (60,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,228) size 16x16
+layer at (72,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,228) size 16x16
+layer at (84,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,228) size 16x16
+layer at (96,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,228) size 16x16
+layer at (108,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,228) size 16x16
+layer at (120,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,228) size 16x16
+layer at (132,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,228) size 16x16
+layer at (144,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,228) size 16x16
+layer at (156,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,228) size 16x16
+layer at (168,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,228) size 16x16
+layer at (180,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,228) size 16x16
+layer at (192,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,228) size 16x16
+layer at (204,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,228) size 16x16
+layer at (216,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,228) size 16x16
+layer at (228,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,228) size 16x16
+layer at (240,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,228) size 16x16
+layer at (252,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,228) size 16x16
+layer at (264,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,228) size 16x16
+layer at (276,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,228) size 16x16
+layer at (288,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,228) size 16x16
+layer at (300,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,228) size 16x16
+layer at (312,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,228) size 16x16
+layer at (324,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,228) size 16x16
+layer at (336,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,228) size 16x16
+layer at (348,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,228) size 16x16
+layer at (360,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,228) size 16x16
+layer at (372,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,228) size 16x16
+layer at (384,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,228) size 16x16
+layer at (396,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,228) size 16x16
+layer at (408,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,228) size 16x16
+layer at (420,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,228) size 16x16
+layer at (432,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,228) size 16x16
+layer at (444,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,228) size 16x16
+layer at (456,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,228) size 16x16
+layer at (468,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,228) size 16x16
+layer at (480,228) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,228) size 16x16
+layer at (12,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,240) size 16x16
+layer at (24,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,240) size 16x16
+layer at (36,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,240) size 16x16
+layer at (48,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,240) size 16x16
+layer at (60,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,240) size 16x16
+layer at (72,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,240) size 16x16
+layer at (84,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,240) size 16x16
+layer at (96,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,240) size 16x16
+layer at (108,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,240) size 16x16
+layer at (120,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,240) size 16x16
+layer at (132,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,240) size 16x16
+layer at (144,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,240) size 16x16
+layer at (156,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,240) size 16x16
+layer at (168,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,240) size 16x16
+layer at (180,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,240) size 16x16
+layer at (192,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,240) size 16x16
+layer at (204,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,240) size 16x16
+layer at (216,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,240) size 16x16
+layer at (228,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,240) size 16x16
+layer at (240,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,240) size 16x16
+layer at (252,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,240) size 16x16
+layer at (264,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,240) size 16x16
+layer at (276,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,240) size 16x16
+layer at (288,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,240) size 16x16
+layer at (300,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,240) size 16x16
+layer at (312,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,240) size 16x16
+layer at (324,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,240) size 16x16
+layer at (336,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,240) size 16x16
+layer at (348,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,240) size 16x16
+layer at (360,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,240) size 16x16
+layer at (372,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,240) size 16x16
+layer at (384,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,240) size 16x16
+layer at (396,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,240) size 16x16
+layer at (408,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,240) size 16x16
+layer at (420,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,240) size 16x16
+layer at (432,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,240) size 16x16
+layer at (444,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,240) size 16x16
+layer at (456,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,240) size 16x16
+layer at (468,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,240) size 16x16
+layer at (480,240) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,240) size 16x16
+layer at (12,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,252) size 16x16
+layer at (24,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,252) size 16x16
+layer at (36,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,252) size 16x16
+layer at (48,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,252) size 16x16
+layer at (60,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,252) size 16x16
+layer at (72,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,252) size 16x16
+layer at (84,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,252) size 16x16
+layer at (96,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,252) size 16x16
+layer at (108,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,252) size 16x16
+layer at (120,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,252) size 16x16
+layer at (132,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,252) size 16x16
+layer at (144,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,252) size 16x16
+layer at (156,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,252) size 16x16
+layer at (168,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,252) size 16x16
+layer at (180,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,252) size 16x16
+layer at (192,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,252) size 16x16
+layer at (204,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,252) size 16x16
+layer at (216,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,252) size 16x16
+layer at (228,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,252) size 16x16
+layer at (240,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,252) size 16x16
+layer at (252,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,252) size 16x16
+layer at (264,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,252) size 16x16
+layer at (276,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,252) size 16x16
+layer at (288,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,252) size 16x16
+layer at (300,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,252) size 16x16
+layer at (312,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,252) size 16x16
+layer at (324,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,252) size 16x16
+layer at (336,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,252) size 16x16
+layer at (348,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,252) size 16x16
+layer at (360,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,252) size 16x16
+layer at (372,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,252) size 16x16
+layer at (384,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,252) size 16x16
+layer at (396,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,252) size 16x16
+layer at (408,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,252) size 16x16
+layer at (420,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,252) size 16x16
+layer at (432,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,252) size 16x16
+layer at (444,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,252) size 16x16
+layer at (456,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,252) size 16x16
+layer at (468,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,252) size 16x16
+layer at (480,252) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,252) size 16x16
+layer at (12,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,264) size 16x16
+layer at (24,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,264) size 16x16
+layer at (36,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,264) size 16x16
+layer at (48,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,264) size 16x16
+layer at (60,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,264) size 16x16
+layer at (72,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,264) size 16x16
+layer at (84,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,264) size 16x16
+layer at (96,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,264) size 16x16
+layer at (108,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,264) size 16x16
+layer at (120,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,264) size 16x16
+layer at (132,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,264) size 16x16
+layer at (144,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,264) size 16x16
+layer at (156,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,264) size 16x16
+layer at (168,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,264) size 16x16
+layer at (180,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,264) size 16x16
+layer at (192,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,264) size 16x16
+layer at (204,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,264) size 16x16
+layer at (216,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,264) size 16x16
+layer at (228,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,264) size 16x16
+layer at (240,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,264) size 16x16
+layer at (252,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,264) size 16x16
+layer at (264,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,264) size 16x16
+layer at (276,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,264) size 16x16
+layer at (288,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,264) size 16x16
+layer at (300,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,264) size 16x16
+layer at (312,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,264) size 16x16
+layer at (324,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,264) size 16x16
+layer at (336,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,264) size 16x16
+layer at (348,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,264) size 16x16
+layer at (360,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,264) size 16x16
+layer at (372,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,264) size 16x16
+layer at (384,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,264) size 16x16
+layer at (396,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,264) size 16x16
+layer at (408,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,264) size 16x16
+layer at (420,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,264) size 16x16
+layer at (432,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,264) size 16x16
+layer at (444,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,264) size 16x16
+layer at (456,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,264) size 16x16
+layer at (468,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,264) size 16x16
+layer at (480,264) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,264) size 16x16
+layer at (12,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,276) size 16x16
+layer at (24,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,276) size 16x16
+layer at (36,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,276) size 16x16
+layer at (48,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,276) size 16x16
+layer at (60,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,276) size 16x16
+layer at (72,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,276) size 16x16
+layer at (84,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,276) size 16x16
+layer at (96,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,276) size 16x16
+layer at (108,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,276) size 16x16
+layer at (120,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,276) size 16x16
+layer at (132,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,276) size 16x16
+layer at (144,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,276) size 16x16
+layer at (156,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,276) size 16x16
+layer at (168,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,276) size 16x16
+layer at (180,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,276) size 16x16
+layer at (192,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,276) size 16x16
+layer at (204,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,276) size 16x16
+layer at (216,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,276) size 16x16
+layer at (228,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,276) size 16x16
+layer at (240,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,276) size 16x16
+layer at (252,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,276) size 16x16
+layer at (264,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,276) size 16x16
+layer at (276,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,276) size 16x16
+layer at (288,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,276) size 16x16
+layer at (300,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,276) size 16x16
+layer at (312,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,276) size 16x16
+layer at (324,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,276) size 16x16
+layer at (336,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,276) size 16x16
+layer at (348,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,276) size 16x16
+layer at (360,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,276) size 16x16
+layer at (372,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,276) size 16x16
+layer at (384,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,276) size 16x16
+layer at (396,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,276) size 16x16
+layer at (408,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,276) size 16x16
+layer at (420,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,276) size 16x16
+layer at (432,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,276) size 16x16
+layer at (444,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,276) size 16x16
+layer at (456,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,276) size 16x16
+layer at (468,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,276) size 16x16
+layer at (480,276) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,276) size 16x16
+layer at (12,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,288) size 16x16
+layer at (24,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,288) size 16x16
+layer at (36,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,288) size 16x16
+layer at (48,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,288) size 16x16
+layer at (60,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,288) size 16x16
+layer at (72,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,288) size 16x16
+layer at (84,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,288) size 16x16
+layer at (96,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,288) size 16x16
+layer at (108,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,288) size 16x16
+layer at (120,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,288) size 16x16
+layer at (132,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,288) size 16x16
+layer at (144,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,288) size 16x16
+layer at (156,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,288) size 16x16
+layer at (168,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,288) size 16x16
+layer at (180,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,288) size 16x16
+layer at (192,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,288) size 16x16
+layer at (204,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,288) size 16x16
+layer at (216,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,288) size 16x16
+layer at (228,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,288) size 16x16
+layer at (240,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,288) size 16x16
+layer at (252,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,288) size 16x16
+layer at (264,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,288) size 16x16
+layer at (276,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,288) size 16x16
+layer at (288,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,288) size 16x16
+layer at (300,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,288) size 16x16
+layer at (312,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,288) size 16x16
+layer at (324,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,288) size 16x16
+layer at (336,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,288) size 16x16
+layer at (348,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,288) size 16x16
+layer at (360,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,288) size 16x16
+layer at (372,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,288) size 16x16
+layer at (384,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,288) size 16x16
+layer at (396,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,288) size 16x16
+layer at (408,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,288) size 16x16
+layer at (420,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,288) size 16x16
+layer at (432,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,288) size 16x16
+layer at (444,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,288) size 16x16
+layer at (456,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,288) size 16x16
+layer at (468,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,288) size 16x16
+layer at (480,288) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,288) size 16x16
+layer at (12,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,300) size 16x16
+layer at (24,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,300) size 16x16
+layer at (36,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,300) size 16x16
+layer at (48,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,300) size 16x16
+layer at (60,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,300) size 16x16
+layer at (72,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,300) size 16x16
+layer at (84,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,300) size 16x16
+layer at (96,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,300) size 16x16
+layer at (108,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,300) size 16x16
+layer at (120,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,300) size 16x16
+layer at (132,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,300) size 16x16
+layer at (144,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,300) size 16x16
+layer at (156,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,300) size 16x16
+layer at (168,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,300) size 16x16
+layer at (180,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,300) size 16x16
+layer at (192,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,300) size 16x16
+layer at (204,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,300) size 16x16
+layer at (216,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,300) size 16x16
+layer at (228,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,300) size 16x16
+layer at (240,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,300) size 16x16
+layer at (252,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,300) size 16x16
+layer at (264,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,300) size 16x16
+layer at (276,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,300) size 16x16
+layer at (288,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,300) size 16x16
+layer at (300,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,300) size 16x16
+layer at (312,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,300) size 16x16
+layer at (324,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,300) size 16x16
+layer at (336,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,300) size 16x16
+layer at (348,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,300) size 16x16
+layer at (360,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,300) size 16x16
+layer at (372,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,300) size 16x16
+layer at (384,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,300) size 16x16
+layer at (396,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,300) size 16x16
+layer at (408,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,300) size 16x16
+layer at (420,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,300) size 16x16
+layer at (432,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,300) size 16x16
+layer at (444,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,300) size 16x16
+layer at (456,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,300) size 16x16
+layer at (468,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,300) size 16x16
+layer at (480,300) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,300) size 16x16
+layer at (12,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,312) size 16x16
+layer at (24,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,312) size 16x16
+layer at (36,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,312) size 16x16
+layer at (48,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,312) size 16x16
+layer at (60,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,312) size 16x16
+layer at (72,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,312) size 16x16
+layer at (84,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,312) size 16x16
+layer at (96,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,312) size 16x16
+layer at (108,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,312) size 16x16
+layer at (120,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,312) size 16x16
+layer at (132,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,312) size 16x16
+layer at (144,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,312) size 16x16
+layer at (156,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,312) size 16x16
+layer at (168,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,312) size 16x16
+layer at (180,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,312) size 16x16
+layer at (192,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,312) size 16x16
+layer at (204,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,312) size 16x16
+layer at (216,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,312) size 16x16
+layer at (228,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,312) size 16x16
+layer at (240,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,312) size 16x16
+layer at (252,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,312) size 16x16
+layer at (264,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,312) size 16x16
+layer at (276,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,312) size 16x16
+layer at (288,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,312) size 16x16
+layer at (300,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,312) size 16x16
+layer at (312,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,312) size 16x16
+layer at (324,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,312) size 16x16
+layer at (336,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,312) size 16x16
+layer at (348,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,312) size 16x16
+layer at (360,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,312) size 16x16
+layer at (372,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,312) size 16x16
+layer at (384,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,312) size 16x16
+layer at (396,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,312) size 16x16
+layer at (408,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,312) size 16x16
+layer at (420,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,312) size 16x16
+layer at (432,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,312) size 16x16
+layer at (444,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,312) size 16x16
+layer at (456,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,312) size 16x16
+layer at (468,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,312) size 16x16
+layer at (480,312) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,312) size 16x16
+layer at (12,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,324) size 16x16
+layer at (24,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,324) size 16x16
+layer at (36,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,324) size 16x16
+layer at (48,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,324) size 16x16
+layer at (60,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,324) size 16x16
+layer at (72,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,324) size 16x16
+layer at (84,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,324) size 16x16
+layer at (96,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,324) size 16x16
+layer at (108,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,324) size 16x16
+layer at (120,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,324) size 16x16
+layer at (132,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,324) size 16x16
+layer at (144,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,324) size 16x16
+layer at (156,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,324) size 16x16
+layer at (168,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,324) size 16x16
+layer at (180,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,324) size 16x16
+layer at (192,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,324) size 16x16
+layer at (204,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,324) size 16x16
+layer at (216,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,324) size 16x16
+layer at (228,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,324) size 16x16
+layer at (240,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,324) size 16x16
+layer at (252,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,324) size 16x16
+layer at (264,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,324) size 16x16
+layer at (276,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,324) size 16x16
+layer at (288,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,324) size 16x16
+layer at (300,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,324) size 16x16
+layer at (312,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,324) size 16x16
+layer at (324,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,324) size 16x16
+layer at (336,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,324) size 16x16
+layer at (348,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,324) size 16x16
+layer at (360,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,324) size 16x16
+layer at (372,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,324) size 16x16
+layer at (384,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,324) size 16x16
+layer at (396,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,324) size 16x16
+layer at (408,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,324) size 16x16
+layer at (420,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,324) size 16x16
+layer at (432,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,324) size 16x16
+layer at (444,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,324) size 16x16
+layer at (456,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,324) size 16x16
+layer at (468,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,324) size 16x16
+layer at (480,324) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,324) size 16x16
+layer at (12,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,336) size 16x16
+layer at (24,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,336) size 16x16
+layer at (36,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,336) size 16x16
+layer at (48,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,336) size 16x16
+layer at (60,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,336) size 16x16
+layer at (72,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,336) size 16x16
+layer at (84,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,336) size 16x16
+layer at (96,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,336) size 16x16
+layer at (108,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,336) size 16x16
+layer at (120,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,336) size 16x16
+layer at (132,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,336) size 16x16
+layer at (144,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,336) size 16x16
+layer at (156,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,336) size 16x16
+layer at (168,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,336) size 16x16
+layer at (180,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,336) size 16x16
+layer at (192,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,336) size 16x16
+layer at (204,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,336) size 16x16
+layer at (216,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,336) size 16x16
+layer at (228,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,336) size 16x16
+layer at (240,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,336) size 16x16
+layer at (252,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,336) size 16x16
+layer at (264,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,336) size 16x16
+layer at (276,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,336) size 16x16
+layer at (288,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,336) size 16x16
+layer at (300,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,336) size 16x16
+layer at (312,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,336) size 16x16
+layer at (324,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,336) size 16x16
+layer at (336,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,336) size 16x16
+layer at (348,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,336) size 16x16
+layer at (360,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,336) size 16x16
+layer at (372,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,336) size 16x16
+layer at (384,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,336) size 16x16
+layer at (396,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,336) size 16x16
+layer at (408,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,336) size 16x16
+layer at (420,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,336) size 16x16
+layer at (432,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,336) size 16x16
+layer at (444,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,336) size 16x16
+layer at (456,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,336) size 16x16
+layer at (468,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,336) size 16x16
+layer at (480,336) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,336) size 16x16
+layer at (12,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,348) size 16x16
+layer at (24,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,348) size 16x16
+layer at (36,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,348) size 16x16
+layer at (48,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,348) size 16x16
+layer at (60,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,348) size 16x16
+layer at (72,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,348) size 16x16
+layer at (84,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,348) size 16x16
+layer at (96,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,348) size 16x16
+layer at (108,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,348) size 16x16
+layer at (120,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,348) size 16x16
+layer at (132,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,348) size 16x16
+layer at (144,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,348) size 16x16
+layer at (156,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,348) size 16x16
+layer at (168,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,348) size 16x16
+layer at (180,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,348) size 16x16
+layer at (192,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,348) size 16x16
+layer at (204,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,348) size 16x16
+layer at (216,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,348) size 16x16
+layer at (228,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,348) size 16x16
+layer at (240,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,348) size 16x16
+layer at (252,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,348) size 16x16
+layer at (264,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,348) size 16x16
+layer at (276,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,348) size 16x16
+layer at (288,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,348) size 16x16
+layer at (300,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,348) size 16x16
+layer at (312,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,348) size 16x16
+layer at (324,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,348) size 16x16
+layer at (336,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,348) size 16x16
+layer at (348,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,348) size 16x16
+layer at (360,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,348) size 16x16
+layer at (372,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,348) size 16x16
+layer at (384,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,348) size 16x16
+layer at (396,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,348) size 16x16
+layer at (408,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,348) size 16x16
+layer at (420,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,348) size 16x16
+layer at (432,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,348) size 16x16
+layer at (444,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,348) size 16x16
+layer at (456,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,348) size 16x16
+layer at (468,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,348) size 16x16
+layer at (480,348) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,348) size 16x16
+layer at (12,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,360) size 16x16
+layer at (24,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,360) size 16x16
+layer at (36,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,360) size 16x16
+layer at (48,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,360) size 16x16
+layer at (60,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,360) size 16x16
+layer at (72,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,360) size 16x16
+layer at (84,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,360) size 16x16
+layer at (96,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,360) size 16x16
+layer at (108,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,360) size 16x16
+layer at (120,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,360) size 16x16
+layer at (132,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,360) size 16x16
+layer at (144,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,360) size 16x16
+layer at (156,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,360) size 16x16
+layer at (168,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,360) size 16x16
+layer at (180,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,360) size 16x16
+layer at (192,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,360) size 16x16
+layer at (204,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,360) size 16x16
+layer at (216,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,360) size 16x16
+layer at (228,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,360) size 16x16
+layer at (240,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,360) size 16x16
+layer at (252,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,360) size 16x16
+layer at (264,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,360) size 16x16
+layer at (276,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,360) size 16x16
+layer at (288,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,360) size 16x16
+layer at (300,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,360) size 16x16
+layer at (312,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,360) size 16x16
+layer at (324,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,360) size 16x16
+layer at (336,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,360) size 16x16
+layer at (348,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,360) size 16x16
+layer at (360,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,360) size 16x16
+layer at (372,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,360) size 16x16
+layer at (384,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,360) size 16x16
+layer at (396,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,360) size 16x16
+layer at (408,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,360) size 16x16
+layer at (420,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,360) size 16x16
+layer at (432,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,360) size 16x16
+layer at (444,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,360) size 16x16
+layer at (456,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,360) size 16x16
+layer at (468,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,360) size 16x16
+layer at (480,360) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,360) size 16x16
+layer at (12,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,372) size 16x16
+layer at (24,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,372) size 16x16
+layer at (36,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,372) size 16x16
+layer at (48,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,372) size 16x16
+layer at (60,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,372) size 16x16
+layer at (72,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,372) size 16x16
+layer at (84,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,372) size 16x16
+layer at (96,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,372) size 16x16
+layer at (108,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,372) size 16x16
+layer at (120,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,372) size 16x16
+layer at (132,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,372) size 16x16
+layer at (144,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,372) size 16x16
+layer at (156,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,372) size 16x16
+layer at (168,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,372) size 16x16
+layer at (180,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,372) size 16x16
+layer at (192,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,372) size 16x16
+layer at (204,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,372) size 16x16
+layer at (216,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,372) size 16x16
+layer at (228,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,372) size 16x16
+layer at (240,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,372) size 16x16
+layer at (252,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,372) size 16x16
+layer at (264,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,372) size 16x16
+layer at (276,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,372) size 16x16
+layer at (288,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,372) size 16x16
+layer at (300,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,372) size 16x16
+layer at (312,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,372) size 16x16
+layer at (324,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,372) size 16x16
+layer at (336,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,372) size 16x16
+layer at (348,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,372) size 16x16
+layer at (360,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,372) size 16x16
+layer at (372,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,372) size 16x16
+layer at (384,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,372) size 16x16
+layer at (396,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,372) size 16x16
+layer at (408,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,372) size 16x16
+layer at (420,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,372) size 16x16
+layer at (432,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,372) size 16x16
+layer at (444,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,372) size 16x16
+layer at (456,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,372) size 16x16
+layer at (468,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,372) size 16x16
+layer at (480,372) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,372) size 16x16
+layer at (12,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,384) size 16x16
+layer at (24,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,384) size 16x16
+layer at (36,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,384) size 16x16
+layer at (48,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,384) size 16x16
+layer at (60,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,384) size 16x16
+layer at (72,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,384) size 16x16
+layer at (84,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,384) size 16x16
+layer at (96,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,384) size 16x16
+layer at (108,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,384) size 16x16
+layer at (120,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,384) size 16x16
+layer at (132,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,384) size 16x16
+layer at (144,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,384) size 16x16
+layer at (156,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,384) size 16x16
+layer at (168,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,384) size 16x16
+layer at (180,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,384) size 16x16
+layer at (192,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,384) size 16x16
+layer at (204,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,384) size 16x16
+layer at (216,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,384) size 16x16
+layer at (228,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,384) size 16x16
+layer at (240,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,384) size 16x16
+layer at (252,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,384) size 16x16
+layer at (264,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,384) size 16x16
+layer at (276,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,384) size 16x16
+layer at (288,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,384) size 16x16
+layer at (300,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,384) size 16x16
+layer at (312,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,384) size 16x16
+layer at (324,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,384) size 16x16
+layer at (336,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,384) size 16x16
+layer at (348,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,384) size 16x16
+layer at (360,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,384) size 16x16
+layer at (372,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,384) size 16x16
+layer at (384,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,384) size 16x16
+layer at (396,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,384) size 16x16
+layer at (408,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,384) size 16x16
+layer at (420,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,384) size 16x16
+layer at (432,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,384) size 16x16
+layer at (444,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,384) size 16x16
+layer at (456,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,384) size 16x16
+layer at (468,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,384) size 16x16
+layer at (480,384) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,384) size 16x16
+layer at (12,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,396) size 16x16
+layer at (24,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,396) size 16x16
+layer at (36,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,396) size 16x16
+layer at (48,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,396) size 16x16
+layer at (60,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,396) size 16x16
+layer at (72,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,396) size 16x16
+layer at (84,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,396) size 16x16
+layer at (96,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,396) size 16x16
+layer at (108,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,396) size 16x16
+layer at (120,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,396) size 16x16
+layer at (132,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,396) size 16x16
+layer at (144,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,396) size 16x16
+layer at (156,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,396) size 16x16
+layer at (168,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,396) size 16x16
+layer at (180,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,396) size 16x16
+layer at (192,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,396) size 16x16
+layer at (204,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,396) size 16x16
+layer at (216,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,396) size 16x16
+layer at (228,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,396) size 16x16
+layer at (240,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,396) size 16x16
+layer at (252,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,396) size 16x16
+layer at (264,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,396) size 16x16
+layer at (276,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,396) size 16x16
+layer at (288,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,396) size 16x16
+layer at (300,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,396) size 16x16
+layer at (312,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,396) size 16x16
+layer at (324,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,396) size 16x16
+layer at (336,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,396) size 16x16
+layer at (348,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,396) size 16x16
+layer at (360,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,396) size 16x16
+layer at (372,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,396) size 16x16
+layer at (384,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,396) size 16x16
+layer at (396,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,396) size 16x16
+layer at (408,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,396) size 16x16
+layer at (420,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,396) size 16x16
+layer at (432,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,396) size 16x16
+layer at (444,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,396) size 16x16
+layer at (456,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,396) size 16x16
+layer at (468,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,396) size 16x16
+layer at (480,396) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,396) size 16x16
+layer at (12,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,408) size 16x16
+layer at (24,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,408) size 16x16
+layer at (36,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,408) size 16x16
+layer at (48,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,408) size 16x16
+layer at (60,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,408) size 16x16
+layer at (72,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,408) size 16x16
+layer at (84,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,408) size 16x16
+layer at (96,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,408) size 16x16
+layer at (108,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,408) size 16x16
+layer at (120,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,408) size 16x16
+layer at (132,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,408) size 16x16
+layer at (144,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,408) size 16x16
+layer at (156,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,408) size 16x16
+layer at (168,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,408) size 16x16
+layer at (180,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,408) size 16x16
+layer at (192,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,408) size 16x16
+layer at (204,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,408) size 16x16
+layer at (216,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,408) size 16x16
+layer at (228,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,408) size 16x16
+layer at (240,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,408) size 16x16
+layer at (252,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,408) size 16x16
+layer at (264,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,408) size 16x16
+layer at (276,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,408) size 16x16
+layer at (288,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,408) size 16x16
+layer at (300,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,408) size 16x16
+layer at (312,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,408) size 16x16
+layer at (324,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,408) size 16x16
+layer at (336,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,408) size 16x16
+layer at (348,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,408) size 16x16
+layer at (360,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,408) size 16x16
+layer at (372,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,408) size 16x16
+layer at (384,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,408) size 16x16
+layer at (396,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,408) size 16x16
+layer at (408,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,408) size 16x16
+layer at (420,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,408) size 16x16
+layer at (432,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,408) size 16x16
+layer at (444,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,408) size 16x16
+layer at (456,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,408) size 16x16
+layer at (468,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,408) size 16x16
+layer at (480,408) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,408) size 16x16
+layer at (12,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (12,420) size 16x16
+layer at (24,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (24,420) size 16x16
+layer at (36,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (36,420) size 16x16
+layer at (48,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (48,420) size 16x16
+layer at (60,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (60,420) size 16x16
+layer at (72,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (72,420) size 16x16
+layer at (84,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (84,420) size 16x16
+layer at (96,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (96,420) size 16x16
+layer at (108,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (108,420) size 16x16
+layer at (120,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (120,420) size 16x16
+layer at (132,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (132,420) size 16x16
+layer at (144,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (144,420) size 16x16
+layer at (156,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (156,420) size 16x16
+layer at (168,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (168,420) size 16x16
+layer at (180,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (180,420) size 16x16
+layer at (192,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (192,420) size 16x16
+layer at (204,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (204,420) size 16x16
+layer at (216,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (216,420) size 16x16
+layer at (228,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (228,420) size 16x16
+layer at (240,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (240,420) size 16x16
+layer at (252,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (252,420) size 16x16
+layer at (264,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (264,420) size 16x16
+layer at (276,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (276,420) size 16x16
+layer at (288,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (288,420) size 16x16
+layer at (300,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (300,420) size 16x16
+layer at (312,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (312,420) size 16x16
+layer at (324,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (324,420) size 16x16
+layer at (336,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (336,420) size 16x16
+layer at (348,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (348,420) size 16x16
+layer at (360,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (360,420) size 16x16
+layer at (372,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (372,420) size 16x16
+layer at (384,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (384,420) size 16x16
+layer at (396,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (396,420) size 16x16
+layer at (408,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (408,420) size 16x16
+layer at (420,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (420,420) size 16x16
+layer at (432,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (432,420) size 16x16
+layer at (444,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (444,420) size 16x16
+layer at (456,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (456,420) size 16x16
+layer at (468,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (468,420) size 16x16
+layer at (480,420) size 16x16
+  LayoutBlockFlow (positioned) {DIV} at (480,420) size 16x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-0px-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-0px-images-expected.png
index 0111d223..65fa2e51 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-0px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-0px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-0px-images-quirk-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-0px-images-quirk-expected.png
index 874ef6a..e976f09 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-0px-images-quirk-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-0px-images-quirk-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-10px-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-10px-images-expected.png
index 2d74891..4799750 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-10px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-10px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-16px-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-16px-images-expected.png
index 7cb4bc0..6d43060 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-16px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-16px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-1px-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-1px-images-expected.png
index 52de00c..4d5232a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-1px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-1px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-block-flow-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-block-flow-images-expected.png
index dab7c4b..480ba64 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-block-flow-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-block-flow-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-images-empty-alt-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-images-empty-alt-expected.png
index aacb42a..ef7f35b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-images-empty-alt-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-images-empty-alt-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-images-expected.png
index 45457cf..e213a96 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/exotic-color-space/images/rendering-broken-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png
index 6608d6c..5b7d327f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/exif-orientation-css-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/exif-orientation-css-expected.png
index 7b73b3e..2e556fc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/exif-orientation-css-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/exif-orientation-css-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/exif-orientation-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/exif-orientation-expected.png
index cf791fa6..0034ea8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/exif-orientation-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/exif-orientation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/exif-orientation-image-document-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/exif-orientation-image-document-expected.png
index 181028f7..466708d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/exif-orientation-image-document-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/exif-orientation-image-document-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/favicon-as-image-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/favicon-as-image-expected.png
index 5497ad0..74aadea 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/favicon-as-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/favicon-as-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/favicon-as-image-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/favicon-as-image-expected.txt
index f1f230b..d2576274 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/favicon-as-image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/favicon-as-image-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (0,0) size 800x600
       LayoutBlockFlow {DIV} at (0,0) size 800x20
-        LayoutText {#text} at (0,0) size 449x19
-          text run at (0,0) width 449: "Two green 16x16 pixel squares should appear below stacked vertically."
+        LayoutText {#text} at (0,0) size 447x19
+          text run at (0,0) width 447: "Two green 16x16 pixel squares should appear below stacked vertically."
       LayoutBlockFlow {DIV} at (0,20) size 16x16 [bgcolor=#FF0000]
         LayoutImage {IMG} at (0,0) size 16x16
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.png
index d4f7e79..8ed8cf43 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.txt
index d69ad1f8..23a3165 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 763x39
           text run at (0,0) width 763: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 760: "shape=\"circle\">. This test PASSED if a circular-shaped focus ring is drawn around the <area> in the imagemap (below)."
+          text run at (0,20) width 759: "shape=\"circle\">. This test PASSED if a circular-shaped focus ring is drawn around the <area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,56) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-expected.png
index 54aa4c92..fb7f7cb3e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-expected.txt
index d7f3622..2a1580a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 724x39
           text run at (0,0) width 724: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an"
-          text run at (0,20) width 623: "imagemap. This test PASSED if a focus ring is drawn around the <area> in the imagemap (below)."
+          text run at (0,20) width 622: "imagemap. This test PASSED if a focus ring is drawn around the <area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,56) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-in-positioned-container-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-in-positioned-container-expected.png
index b885b10..0ff6228e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-in-positioned-container-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-in-positioned-container-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-in-positioned-container-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-in-positioned-container-expected.txt
index b61a818..aa55f182 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-in-positioned-container-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-in-positioned-container-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x36
   LayoutBlockFlow {HTML} at (0,0) size 800x36
     LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutText {#text} at (0,0) size 551x19
-        text run at (0,0) width 551: "Tests that we paint area outline properly when the image is inside positioned containers."
+      LayoutText {#text} at (0,0) size 550x19
+        text run at (0,0) width 550: "Tests that we paint area outline properly when the image is inside positioned containers."
 layer at (20,50) size 0x0
   LayoutBlockFlow (positioned) {DIV} at (20,50) size 0x0
 layer at (30,60) size 50x55
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-expected.png
index 8b5bf55..8295a46 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-expected.txt
index 482994c..de1ce31 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 776x39
           text run at (0,0) width 776: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area>."
-          text run at (0,20) width 641: "This test PASSED if a green-colored focus ring is drawn around the <area> in the imagemap (below)."
+          text run at (0,20) width 640: "This test PASSED if a green-colored focus ring is drawn around the <area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,56) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png
index 5baae40..5aa5ea3e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt
index a52dc47..8d25218 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x60
-        LayoutText {#text} at (0,0) size 768x59
+        LayoutText {#text} at (0,0) size 767x59
           text run at (0,0) width 762: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that the focus ring color for an <area>"
-          text run at (0,20) width 768: "can be explicitly inherited from <map>. This test PASSED if a green-colored focus ring is drawn around the <area> in the"
+          text run at (0,20) width 767: "can be explicitly inherited from <map>. This test PASSED if a green-colored focus ring is drawn around the <area> in the"
           text run at (0,40) width 122: "imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,76) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-paint-root-offset-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-paint-root-offset-expected.png
index f3ab81f..83759ad 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-paint-root-offset-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-paint-root-offset-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-paint-root-offset-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
index 3877147..d19ca6c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x36
   LayoutBlockFlow {HTML} at (0,0) size 800x36
     LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutText {#text} at (0,0) size 437x19
-        text run at (0,0) width 437: "Tests that we paint area outline properly when the paintroot is shifted."
+      LayoutText {#text} at (0,0) size 436x19
+        text run at (0,0) width 436: "Tests that we paint area outline properly when the paintroot is shifted."
 layer at (5,50) size 50x55
   LayoutBlockFlow (positioned) {DIV} at (5,50) size 50x55
     LayoutImage {IMG} at (0,0) size 50x50
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-scale-transform-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-scale-transform-expected.png
index 0ad634a..bf05b74 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-scale-transform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-scale-transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-scale-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-scale-transform-expected.txt
index 8e4a1697..b8f1a159 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-scale-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-with-scale-transform-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x36
   LayoutBlockFlow {HTML} at (0,0) size 800x36
     LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutText {#text} at (0,0) size 487x19
-        text run at (0,0) width 487: "Tests that we paint area outline properly when the image's container is scaled."
+      LayoutText {#text} at (0,0) size 486x19
+        text run at (0,0) width 486: "Tests that we paint area outline properly when the image's container is scaled."
 layer at (100,100) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (100,100) size 100x100
     LayoutImage {IMG} at (0,0) size 50x50
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-zero-outline-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-zero-outline-width-expected.png
index d2b8d51..4f97cd1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-zero-outline-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-zero-outline-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-zero-outline-width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-zero-outline-width-expected.txt
index bc291444..1334cec 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-zero-outline-width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-zero-outline-width-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x60
         LayoutText {#text} at (0,0) size 748x59
           text run at (0,0) width 748: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is not drawn for an"
-          text run at (0,20) width 737: "<area> with a 0px outline-width. This test PASSED if no red focus ring is drawn around the <area> in the imagemap"
+          text run at (0,20) width 736: "<area> with a 0px outline-width. This test PASSED if no red focus ring is drawn around the <area> in the imagemap"
           text run at (0,40) width 53: "(below)."
       LayoutBlockFlow (anonymous) at (0,76) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-zoom-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-zoom-expected.png
index d052bbc..7d6121d0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-zoom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-focus-ring-zoom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-circle-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-circle-focus-ring-expected.png
index 75afe18..d89962c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-circle-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-circle-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-circle-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-circle-focus-ring-expected.txt
index 493a04d..518cb96 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-circle-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-circle-focus-ring-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x60
         LayoutText {#text} at (0,0) size 763x59
           text run at (0,0) width 763: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 743: "shape=\"circle\"> that overflows the img element. This test PASSED if a half-circule-shaped focus ring is drawn for the"
+          text run at (0,20) width 742: "shape=\"circle\"> that overflows the img element. This test PASSED if a half-circule-shaped focus ring is drawn for the"
           text run at (0,40) width 209: "<area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,76) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.png
index 8a2d062..f5b85b9e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.txt
index 8e775e6..20bd3c5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x60
-        LayoutText {#text} at (0,0) size 782x59
+        LayoutText {#text} at (0,0) size 781x59
           text run at (0,0) width 763: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 782: "shape=\"polygon\"> that is overflowing the bounds for the img element. This test PASSED if a clipped star-shaped focus ring"
+          text run at (0,20) width 781: "shape=\"polygon\"> that is overflowing the bounds for the img element. This test PASSED if a clipped star-shaped focus ring"
           text run at (0,40) width 338: "is drawn around the <area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,76) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-polygon-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-polygon-focus-ring-expected.png
index 74092d3..8bfdb5b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-polygon-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-polygon-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-polygon-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-polygon-focus-ring-expected.txt
index 12e3e1fb..9199db8d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-polygon-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/imagemap-polygon-focus-ring-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 763x39
           text run at (0,0) width 763: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 763: "shape=\"polygon\">. This test PASSED if a cross-shaped focus ring is drawn around the <area> in the imagemap (below)."
+          text run at (0,20) width 762: "shape=\"polygon\">. This test PASSED if a cross-shaped focus ring is drawn around the <area> in the imagemap (below)."
       LayoutBlockFlow (anonymous) at (0,56) size 784x128
         LayoutInline {MAP} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/pixel-crack-image-background-webkit-transform-scale-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/pixel-crack-image-background-webkit-transform-scale-expected.png
index 97ac605..f00584c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/pixel-crack-image-background-webkit-transform-scale-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/pixel-crack-image-background-webkit-transform-scale-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/pixel-crack-image-background-webkit-transform-scale-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/pixel-crack-image-background-webkit-transform-scale-expected.txt
index 0ac5849b..61b177c7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/pixel-crack-image-background-webkit-transform-scale-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/pixel-crack-image-background-webkit-transform-scale-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 732x19
-          text run at (0,0) width 429: "Test pixel cracks when background sprite is transformed with scale. "
-          text run at (428,0) width 304: "Need to run pixel test to verify if it is successful."
+        LayoutText {#text} at (0,0) size 731x19
+          text run at (0,0) width 428: "Test pixel cracks when background sprite is transformed with scale. "
+          text run at (428,0) width 303: "Need to run pixel test to verify if it is successful."
 layer at (12,72) size 16x16
   LayoutBlockFlow (positioned) {DIV} at (12,72) size 16x16
 layer at (24,72) size 16x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-0px-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-0px-images-expected.png
index 3a186c6..3f730ad 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-0px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-0px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-0px-images-quirk-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-0px-images-quirk-expected.png
index 8a2c859b..acd6275 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-0px-images-quirk-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-0px-images-quirk-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-10px-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-10px-images-expected.png
index 563f346e4..c4a275b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-10px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-10px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-16px-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-16px-images-expected.png
index 53a7854..cb7f4177 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-16px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-16px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-1px-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-1px-images-expected.png
index bf560f4..1b28ab0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-1px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-1px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-block-flow-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-block-flow-images-expected.png
index 526c41e0..fac573c6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-block-flow-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-block-flow-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-images-empty-alt-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-images-empty-alt-expected.png
index 5809f483..0afc701 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-images-empty-alt-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-images-empty-alt-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-images-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-images-expected.png
index 8806edf..ae6e912 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-shadow-source-in-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-shadow-source-in-expected.png
index c86464b..a84978f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-shadow-source-in-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-shadow-source-in-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-shadow-source-in-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-shadow-source-in-expected.txt
index c370adf..f9aaa80 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-shadow-source-in-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-shadow-source-in-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x470
     LayoutBlockFlow {BODY} at (8,8) size 784x454
       LayoutBlockFlow {DIV} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 59x19
-          text run at (0,0) width 59: "Test Rect"
+        LayoutText {#text} at (0,0) size 58x19
+          text run at (0,0) width 58: "Test Rect"
       LayoutBlockFlow (anonymous) at (0,20) size 784x207
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,227) size 784x20
-        LayoutText {#text} at (0,0) size 69x19
-          text run at (0,0) width 69: "Test Image"
+        LayoutText {#text} at (0,0) size 68x19
+          text run at (0,0) width 68: "Test Image"
       LayoutBlockFlow (anonymous) at (0,247) size 784x207
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,28) size 202x202
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png
index dc36ef4..c50e830 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-textMetrics-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-textMetrics-width-expected.png
index 3914315..a32526d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-textMetrics-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-textMetrics-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/fillrect_gradient-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/fillrect_gradient-expected.png
index c9bfa049..a8ff561 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/fillrect_gradient-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/fillrect_gradient-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/patternfill-repeat-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/patternfill-repeat-expected.png
index 04ca244..ed400aa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/patternfill-repeat-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/patternfill-repeat-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/patternfill-repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/patternfill-repeat-expected.txt
index 479b43d..19be85d5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/patternfill-repeat-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/patternfill-repeat-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x469
     LayoutBlockFlow {BODY} at (8,16) size 784x437
       LayoutBlockFlow {P} at (0,0) size 784x80
-        LayoutText {#text} at (0,0) size 772x79
-          text run at (0,0) width 750: "There should be one big square below containing four squares. Top left square should be filled with 3 rows of 2 and bit"
-          text run at (0,20) width 772: "Apple images. Top right square should be 2 and a bit rows with one Apple image column along the left edge of the square."
+        LayoutText {#text} at (0,0) size 771x79
+          text run at (0,0) width 749: "There should be one big square below containing four squares. Top left square should be filled with 3 rows of 2 and bit"
+          text run at (0,20) width 771: "Apple images. Top right square should be 2 and a bit rows with one Apple image column along the left edge of the square."
           text run at (0,40) width 764: "Bottom left square should be one row with three Apple images along the top of the square. Bottom right square should be"
           text run at (0,60) width 220: "one Apple image in top left corner."
       LayoutBlockFlow {P} at (0,96) size 784x341
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/setWidthResetAfterForcedRender-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/setWidthResetAfterForcedRender-expected.png
index 1c53ed2c..9bfc4ea 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/setWidthResetAfterForcedRender-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/setWidthResetAfterForcedRender-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/shadow-offset-1-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/shadow-offset-1-expected.png
index 66bfcdc..e7802a1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/shadow-offset-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/shadow-offset-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/toDataURL-alpha-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/toDataURL-alpha-expected.png
index ead8cdfe..eb0e629 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/toDataURL-alpha-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/toDataURL-alpha-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/001-expected.png
new file mode 100644
index 0000000..a72ab63
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/011-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/011-expected.png
index 546ffbf..1d4fa6d4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/011-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/011-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/014-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/014-expected.png
index c3a3bfa2..da92e4b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/014-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/014-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/015-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/015-expected.png
index 6275fdd..4c9ae273 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/015-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/015-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/016-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/016-expected.png
index 06ca48b..5eb4a5c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/016-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/016-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/020-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/020-expected.png
index c3d90be..d0b8330 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/020-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/020-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/adding-near-anonymous-block-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/adding-near-anonymous-block-expected.png
index 9a76f37..903cbd9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/adding-near-anonymous-block-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/adding-near-anonymous-block-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/minheight-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/minheight-expected.png
index 9c1e0dae..8709f06 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/minheight-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/minheight-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/text-indent-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/text-indent-rtl-expected.png
index 5240cfbf..b35c3f9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/text-indent-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/text-indent-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/truncation-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/truncation-rtl-expected.png
index a206a64..f9fe174 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/truncation-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/truncation-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/white-space-pre-wraps-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/white-space-pre-wraps-expected.png
index 6822702f..60d3b93 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/white-space-pre-wraps-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/basic/white-space-pre-wraps-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/001-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/001-expected.png
index 078c0ef..7e1089e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/002-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/002-expected.png
index 05090c7..875ddee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/015-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/015-expected.png
new file mode 100644
index 0000000..378ac4cb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/015-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/021-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/021-expected.png
index 821d7c4e..6861b17 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/021-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/021-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/023-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/023-expected.png
new file mode 100644
index 0000000..1de7d341
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/023-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box-expected.png
index 12f2ab2e..c970a42 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/add-inline-to-block-flow-with-block-children-that-do-not-need-anonymous-boxes-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/add-inline-to-block-flow-with-block-children-that-do-not-need-anonymous-boxes-expected.png
index 4646ec6..ef600b6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/add-inline-to-block-flow-with-block-children-that-do-not-need-anonymous-boxes-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/add-inline-to-block-flow-with-block-children-that-do-not-need-anonymous-boxes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/avoidance-percent-width-strict-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/avoidance-percent-width-strict-expected.png
index e265b5831..6a8540e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/avoidance-percent-width-strict-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/avoidance-percent-width-strict-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/centered-float-avoidance-complexity-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/centered-float-avoidance-complexity-expected.png
index 98a8a2e6..d81342c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/centered-float-avoidance-complexity-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/centered-float-avoidance-complexity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/dynamic-unfloat-pref-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/dynamic-unfloat-pref-width-expected.png
new file mode 100644
index 0000000..3cb17b3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/dynamic-unfloat-pref-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/editable-text-overlapping-float-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/editable-text-overlapping-float-expected.png
index fdc50f7..34dda8c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/editable-text-overlapping-float-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/editable-text-overlapping-float-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/float-avoidance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/float-avoidance-expected.png
new file mode 100644
index 0000000..d274c42e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/float-avoidance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/floats-and-text-indent-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/floats-and-text-indent-expected.png
new file mode 100644
index 0000000..38271296
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/floats-and-text-indent-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/independent-align-positioning-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/independent-align-positioning-expected.png
index 78fd7083..e1b04ea3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/independent-align-positioning-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/independent-align-positioning-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/intruding-painted-twice-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/intruding-painted-twice-expected.png
index 5b749c4..dce33f7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/intruding-painted-twice-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/intruding-painted-twice-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/multiple-float-positioning-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/multiple-float-positioning-expected.png
new file mode 100644
index 0000000..ae5c202
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/multiple-float-positioning-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/nestedAnonymousBlocks2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/nestedAnonymousBlocks2-expected.png
new file mode 100644
index 0000000..6e85942
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/nestedAnonymousBlocks2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/overlapping-floats-with-overflow-hidden-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/overlapping-floats-with-overflow-hidden-expected.png
new file mode 100644
index 0000000..8a36c27
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/overlapping-floats-with-overflow-hidden-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/shrink-to-avoid-float-complexity-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/shrink-to-avoid-float-complexity-expected.png
new file mode 100644
index 0000000..225761f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/shrink-to-avoid-float-complexity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/shrink-to-fit-width-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/shrink-to-fit-width-expected.png
index ae3cfd1..cc9feef 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/shrink-to-fit-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/shrink-to-fit-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/table-relayout-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/table-relayout-expected.png
index 489ef6d..c5c5d991 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/table-relayout-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/table-relayout-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/vertical-move-relayout-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/vertical-move-relayout-expected.png
index aea54ba..ad3dfb3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/vertical-move-relayout-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/float/vertical-move-relayout-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/006-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/006-expected.png
new file mode 100644
index 0000000..6e262d3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/006-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/010-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/010-expected.png
index b564499..c6016157 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/010-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/011-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/011-expected.png
index b564499..c6016157 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/011-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/011-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/017-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/017-expected.png
index 314f4f7b..c403261 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/017-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/017-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/018-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/018-expected.png
new file mode 100644
index 0000000..1ee44e22
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/018-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/026-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/026-expected.png
new file mode 100644
index 0000000..c6f290b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/026-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/027-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/027-expected.png
new file mode 100644
index 0000000..a5c0e92
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/027-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/028-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/028-expected.png
new file mode 100644
index 0000000..c6f290b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/028-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/029-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/029-expected.png
new file mode 100644
index 0000000..c6f290b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/029-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/030-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/030-expected.png
new file mode 100644
index 0000000..7a007922
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/030-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/035-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/035-expected.png
new file mode 100644
index 0000000..c6f290b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/035-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/039-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/039-expected.png
new file mode 100644
index 0000000..0c20d49
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/039-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/040-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/040-expected.png
new file mode 100644
index 0000000..0c20d49
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/040-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/101-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/101-expected.png
new file mode 100644
index 0000000..72b8b20a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/101-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/102-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/102-expected.png
new file mode 100644
index 0000000..c3a08095
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/102-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/103-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/103-expected.png
index d3d35c0..5269f8a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/103-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/103-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/104-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/104-expected.png
index e5a96215..db12112f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/104-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/104-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/006-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/006-expected.png
new file mode 100644
index 0000000..6e262d3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/006-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/010-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/010-expected.png
index b564499..c6016157 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/010-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/011-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/011-expected.png
index b564499..c6016157 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/011-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/011-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/017-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/017-expected.png
index 314f4f7b..c403261 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/017-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/017-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/018-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/018-expected.png
new file mode 100644
index 0000000..1ee44e22
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/018-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/negative-margins-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/negative-margins-expected.png
new file mode 100644
index 0000000..929c2485
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/block/margin-collapse/negative-margins-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/001-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/001-expected.txt
index aafbaa1..89e0f74 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/001-expected.txt
@@ -6,6 +6,6 @@
       LayoutNGBlockFlow {DIV} at (0,0) size 784x59 [border: (2px solid #FF0000)]
         LayoutText {#text} at (2,37) size 158x19
           text run at (2,37) width 158: "This image has a margin "
-        LayoutImage {IMG} at (209.72,2) size 50x50 [bgcolor=#008000]
-        LayoutText {#text} at (309,37) size 37x19
-          text run at (309,37) width 37: " on it."
+        LayoutImage {IMG} at (210,2) size 50x50 [bgcolor=#008000]
+        LayoutText {#text} at (310,37) size 36x19
+          text run at (310,37) width 36: " on it."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/nested-top-alignment-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/nested-top-alignment-expected.png
new file mode 100644
index 0000000..03c1482b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/nested-top-alignment-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/nested-top-alignment-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/nested-top-alignment-expected.txt
index 2cafb376..d3060ab 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/nested-top-alignment-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/nested-top-alignment-expected.txt
@@ -3,13 +3,13 @@
 layer at (0,0) size 800x600
   LayoutNGBlockFlow {HTML} at (0,0) size 800x600
     LayoutNGBlockFlow {BODY} at (8,8) size 784x584
-      LayoutNGBlockFlow (floating) {DIV} at (0,0) size 56.86x28 [border: (1px solid #000000)]
-        LayoutNGBlockFlow {SPAN} at (1,1) size 54.86x26
-          LayoutNGBlockFlow {SPAN} at (0,0) size 54.86x26
+      LayoutNGBlockFlow (floating) {DIV} at (0,0) size 57x28 [border: (1px solid #000000)]
+        LayoutNGBlockFlow {SPAN} at (1,1) size 55x26
+          LayoutNGBlockFlow {SPAN} at (0,0) size 55x26
             LayoutText {#text} at (0,4) size 55x15
               text run at (0,4) width 55: "Float Text"
           LayoutText {#text} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
       LayoutNGBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (58,0) size 468x19
-          text run at (58,0) width 468: "The float on the left should have a black border enclosing its text contents."
+        LayoutText {#text} at (59,0) size 467x19
+          text run at (59,0) width 467: "The float on the left should have a black border enclosing its text contents."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/vertical-align-with-fallback-fonts-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/vertical-align-with-fallback-fonts-expected.png
new file mode 100644
index 0000000..3dc7023
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/vertical-align-with-fallback-fonts-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/vertical-align-with-fallback-fonts-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/vertical-align-with-fallback-fonts-expected.txt
new file mode 100644
index 0000000..fc597a12
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/layout_ng/fast/inline/vertical-align-with-fallback-fonts-expected.txt
@@ -0,0 +1,26 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x210
+  LayoutNGBlockFlow {HTML} at (0,0) size 800x210
+    LayoutNGBlockFlow {BODY} at (8,16) size 784x186
+      LayoutNGBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 351x19
+          text run at (0,0) width 351: "Test pass if all lines have superscripts enclosed in a box."
+      LayoutNGBlockFlow {DIV} at (0,36) size 784x50
+        LayoutText {#text} at (0,-4) size 36x57
+          text run at (0,-4) width 36: "A"
+        LayoutInline {SPAN} at (0,0) size 20x30 [border: (1px solid #000000)]
+          LayoutText {#text} at (37,-2) size 18x28
+            text run at (37,-2) width 18: "A"
+      LayoutNGBlockFlow {DIV} at (0,86) size 784x50
+        LayoutText {#text} at (0,-4) size 36x57
+          text run at (0,-4) width 36: "A"
+        LayoutInline {SPAN} at (0,0) size 19x30 [border: (1px solid #000000)]
+          LayoutText {#text} at (37,-2) size 17x28
+            text run at (37,-2) width 17: "B"
+      LayoutNGBlockFlow {DIV} at (0,136) size 784x50
+        LayoutText {#text} at (0,-4) size 36x57
+          text run at (0,-4) width 36: "A"
+        LayoutInline {SPAN} at (0,0) size 27x30 [border: (1px solid #000000)]
+          LayoutText {#text} at (37,-2) size 25x28
+            text run at (37,-2) width 25: "\x{3042}"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mouseevent_fractional/fast/events/pointer-events-2-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/mouseevent_fractional/fast/events/pointer-events-2-expected.png
new file mode 100644
index 0000000..13205f9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mouseevent_fractional/fast/events/pointer-events-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mouseevent_fractional/fast/events/pointer-events-2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mouseevent_fractional/fast/events/pointer-events-2-expected.txt
new file mode 100644
index 0000000..48bd68a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mouseevent_fractional/fast/events/pointer-events-2-expected.txt
@@ -0,0 +1,199 @@
+layer at (0,0) size 800x600 scrollHeight 640
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x176
+  LayoutBlockFlow {HTML} at (0,0) size 800x175.88
+    LayoutBlockFlow {BODY} at (8,21.44) size 784x138.44
+      LayoutBlockFlow {H1} at (0,0) size 784x37
+        LayoutText {#text} at (0,0) size 755x36
+          text run at (0,0) width 755: "Testing the values of 'pointer-events' on HTML content"
+      LayoutBlockFlow {P} at (0,58.44) size 784x80
+        LayoutText {#text} at (0,0) size 777x79
+          text run at (0,0) width 577: "This test is expected to be run from within DumpRenderTree. If running manually, click on "
+          text run at (577,0) width 200: "the elements in the first column,"
+          text run at (0,20) width 324: "making sure the actual result (3rd column) matches "
+          text run at (324,20) width 442: "the expected result (2nd column). Repeat for click target (4th column),"
+          text run at (0,40) width 183: "expected result (5th column) "
+          text run at (183,40) width 527: "and actual result (6th column). Note: You should click on a yellow inline element if "
+          text run at (710,40) width 66: "one exists,"
+          text run at (0,60) width 198: "otherwise anywhere in the box."
+layer at (10,140) size 300x100
+  LayoutBlockFlow (positioned) {DIV} at (10,140) size 300x100
+layer at (10,140) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 80x80
+layer at (10,140) size 80x80
+  LayoutBlockFlow (positioned) {P} at (0,0) size 80x80 [bgcolor=#808080]
+    LayoutText {#text} at (0,0) size 71x39
+      text run at (0,0) width 49: "pointer-"
+      text run at (0,20) width 71: "events auto"
+layer at (110,140) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (100,0) size 80x80
+    LayoutText {#text} at (0,0) size 16x19
+      text run at (0,0) width 16: "p1"
+layer at (210,140) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (200,0) size 80x80
+    LayoutText {#text} at (0,0) size 16x19
+      text run at (0,0) width 16: "p1"
+layer at (10,240) size 300x100
+  LayoutBlockFlow (positioned) {DIV} at (10,240) size 300x100
+layer at (10,240) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 80x80
+layer at (10,240) size 80x80
+  LayoutBlockFlow (positioned) {P} at (0,0) size 80x80 [bgcolor=#808080]
+    LayoutText {#text} at (0,0) size 75x39
+      text run at (0,0) width 49: "pointer-"
+      text run at (0,20) width 75: "events none"
+layer at (110,240) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (100,0) size 80x80
+    LayoutText {#text} at (0,0) size 31x19
+      text run at (0,0) width 31: "none"
+layer at (210,240) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (200,0) size 80x80
+    LayoutText {#text} at (0,0) size 31x19
+      text run at (0,0) width 31: "none"
+layer at (10,340) size 300x100
+  LayoutBlockFlow (positioned) {DIV} at (10,340) size 300x100
+layer at (10,340) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 80x80
+layer at (10,340) size 80x80
+  LayoutBlockFlow (positioned) {P} at (0,0) size 80x80 [bgcolor=#808080]
+    LayoutText {#text} at (0,0) size 71x39
+      text run at (0,0) width 57: "siblings -"
+      text run at (0,20) width 71: "auto on top"
+layer at (10,340) size 80x80
+  LayoutBlockFlow (positioned) {P} at (0,0) size 80x80
+layer at (110,340) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (100,0) size 80x80
+    LayoutText {#text} at (0,0) size 16x19
+      text run at (0,0) width 16: "p4"
+layer at (210,340) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (200,0) size 80x80
+    LayoutText {#text} at (0,0) size 16x19
+      text run at (0,0) width 16: "p4"
+layer at (10,440) size 300x100
+  LayoutBlockFlow (positioned) {DIV} at (10,440) size 300x100
+layer at (10,440) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 80x80
+layer at (10,440) size 80x80
+  LayoutBlockFlow (positioned) {P} at (0,0) size 80x80 [bgcolor=#808080]
+    LayoutText {#text} at (0,0) size 75x39
+      text run at (0,0) width 57: "siblings -"
+      text run at (0,20) width 75: "none on top"
+layer at (10,440) size 80x80
+  LayoutBlockFlow (positioned) {P} at (0,0) size 80x80
+layer at (110,440) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (100,0) size 80x80
+    LayoutText {#text} at (0,0) size 16x19
+      text run at (0,0) width 16: "p5"
+layer at (210,440) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (200,0) size 80x80
+    LayoutText {#text} at (0,0) size 16x19
+      text run at (0,0) width 16: "p5"
+layer at (10,540) size 300x100 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow (positioned) {DIV} at (10,540) size 300x100
+layer at (10,540) size 80x80 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 80x80
+layer at (10,540) size 80x80 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 80x80
+layer at (10,540) size 80x80 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow (positioned) {P} at (0,0) size 80x80 [bgcolor=#808080]
+    LayoutText {#text} at (0,0) size 80x39
+      text run at (0,0) width 80: "nested - auto"
+      text run at (0,20) width 32: "outer"
+layer at (110,540) size 80x80 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow (positioned) {DIV} at (100,0) size 80x80
+    LayoutText {#text} at (0,0) size 16x19
+      text run at (0,0) width 16: "p7"
+layer at (210,540) size 80x80 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow (positioned) {DIV} at (200,0) size 80x80
+    LayoutText {#text} at (0,0) size 16x19
+      text run at (0,0) width 16: "p7"
+layer at (340,140) size 300x100
+  LayoutBlockFlow (positioned) {DIV} at (340,140) size 300x100
+layer at (340,140) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 80x80
+layer at (340,140) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 80x80
+layer at (340,140) size 80x80
+  LayoutBlockFlow (positioned) {P} at (0,0) size 80x80 [bgcolor=#808080]
+    LayoutText {#text} at (0,0) size 67x39
+      text run at (0,0) width 49: "nested -"
+      text run at (0,20) width 67: "none outer"
+layer at (440,140) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (100,0) size 80x80
+    LayoutText {#text} at (0,0) size 24x19
+      text run at (0,0) width 24: "p10"
+layer at (540,140) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (200,0) size 80x80
+    LayoutText {#text} at (0,0) size 24x19
+      text run at (0,0) width 24: "p10"
+layer at (340,240) size 300x100
+  LayoutBlockFlow (positioned) {DIV} at (340,240) size 300x100
+layer at (340,240) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 80x80
+layer at (340,240) size 80x80
+  LayoutImage (positioned) {IMG} at (0,0) size 80x80
+layer at (440,240) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (100,0) size 80x80
+    LayoutText {#text} at (0,0) size 24x19
+      text run at (0,0) width 24: "p11"
+layer at (540,240) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (200,0) size 80x80
+    LayoutText {#text} at (0,0) size 24x19
+      text run at (0,0) width 24: "p11"
+layer at (340,340) size 300x100
+  LayoutBlockFlow (positioned) {DIV} at (340,340) size 300x100
+layer at (340,340) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 80x80
+layer at (340,340) size 80x80
+  LayoutImage (positioned) {IMG} at (0,0) size 80x80
+layer at (440,340) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (100,0) size 80x80
+    LayoutText {#text} at (0,0) size 31x19
+      text run at (0,0) width 31: "none"
+layer at (540,340) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (200,0) size 80x80
+    LayoutText {#text} at (0,0) size 31x19
+      text run at (0,0) width 31: "none"
+layer at (340,440) size 300x100
+  LayoutBlockFlow (positioned) {DIV} at (340,440) size 300x100
+layer at (340,440) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 80x80
+layer at (340,440) size 80x80
+  LayoutBlockFlow (positioned) {P} at (0,0) size 80x80 [bgcolor=#808080]
+    LayoutInline {SPAN} at (0,0) size 35x19 [bgcolor=#FFFF00]
+      LayoutText {#text} at (0,0) size 35x19
+        text run at (0,0) width 35: "inline"
+    LayoutText {#text} at (35,0) size 74x59
+      text run at (35,0) width 25: " has"
+      text run at (0,20) width 74: "auto, parent"
+      text run at (0,40) width 31: "none"
+layer at (440,440) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (100,0) size 80x80
+    LayoutText {#text} at (0,0) size 24x19
+      text run at (0,0) width 24: "p14"
+layer at (540,440) size 80x80
+  LayoutBlockFlow (positioned) {DIV} at (200,0) size 80x80
+    LayoutText {#text} at (0,0) size 24x19
+      text run at (0,0) width 24: "p14"
+layer at (340,540) size 300x100 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow (positioned) {DIV} at (340,540) size 300x100
+layer at (340,540) size 80x80 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 80x80
+layer at (340,540) size 80x80 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow (positioned) {P} at (0,0) size 80x80 [bgcolor=#808080]
+    LayoutInline {SPAN} at (0,0) size 35x19 [bgcolor=#FFFF00]
+      LayoutText {#text} at (0,0) size 35x19
+        text run at (0,0) width 35: "inline"
+    LayoutText {#text} at (35,0) size 78x59
+      text run at (35,0) width 25: " has"
+      text run at (0,20) width 78: "none, parent"
+      text run at (0,40) width 27: "auto"
+layer at (440,540) size 80x80 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow (positioned) {DIV} at (100,0) size 80x80
+    LayoutText {#text} at (0,0) size 24x19
+      text run at (0,0) width 24: "p15"
+layer at (540,540) size 80x80 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow (positioned) {DIV} at (200,0) size 80x80
+    LayoutText {#text} at (0,0) size 24x19
+      text run at (0,0) width 24: "p15"
+caret: position 1 of child 0 {#text} of child 0 {SPAN} of child 1 {P} of child 1 {DIV} of child 23 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.png
index ba4b97c..a2dbbef 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.txt
index 5122955a..2f7be3e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x550
     LayoutBlockFlow {BODY} at (8,16) size 769x526
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 252x19
-          text run at (0,0) width 252: "Test controls rendering with cast button."
+        LayoutText {#text} at (0,0) size 251x19
+          text run at (0,0) width 251: "Test controls rendering with cast button."
       LayoutBlockFlow {DIV} at (0,36) size 769x245
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,281) size 769x245
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.png
index 6881c87..a344c15f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.txt
index 9d10244..f6824af 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x550
     LayoutBlockFlow {BODY} at (8,16) size 769x526
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 348x19
-          text run at (0,0) width 348: "Test overlay cast button rendering on dark background."
+        LayoutText {#text} at (0,0) size 347x19
+          text run at (0,0) width 347: "Test overlay cast button rendering on dark background."
       LayoutBlockFlow {DIV} at (0,36) size 769x245
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,281) size 769x245
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.png
index 6f50ab8..791091d8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.txt
index 16b8ca71..dcbe77e9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x619.81
     LayoutBlockFlow {BODY} at (8,16) size 769x595.81
       LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 348x19
-          text run at (0,0) width 348: "Test overlay cast button rendering on light background."
+        LayoutText {#text} at (0,0) size 347x19
+          text run at (0,0) width 347: "Test overlay cast button rendering on light background."
       LayoutBlockFlow {DIV} at (0,36) size 769x293
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,329) size 769x266.81
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/ancestor-overflow-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/ancestor-overflow-expected.png
index 65df0fe..069b591a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/ancestor-overflow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/ancestor-overflow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/ancestor-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/ancestor-overflow-expected.txt
index cdaa1eb..c5c27bc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/ancestor-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/ancestor-overflow-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x434
     LayoutBlockFlow {BODY} at (8,16) size 784x410
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 458x19
-          text run at (0,0) width 458: "Test overflow clipping of composited elements in various configurations."
+        LayoutText {#text} at (0,0) size 457x19
+          text run at (0,0) width 457: "Test overflow clipping of composited elements in various configurations."
       LayoutBlockFlow (anonymous) at (0,36) size 784x374
         LayoutText {#text} at (182,167) size 4x19
           text run at (182,167) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/fixed-position-ancestor-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/fixed-position-ancestor-clip-expected.txt
index 32b4c458..0b5b47f0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/fixed-position-ancestor-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/fixed-position-ancestor-clip-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x1016
     LayoutBlockFlow {BODY} at (8,8) size 1000x1000
 layer at (0,116) size 316x20
-  LayoutBlockFlow (positioned) {P} at (50,166) size 316.41x20
-    LayoutText {#text} at (0,0) size 317x19
-      text run at (0,0) width 317: "You should see a single green square, with no red."
+  LayoutBlockFlow (positioned) {P} at (50,166) size 316x20
+    LayoutText {#text} at (0,0) size 316x19
+      text run at (0,0) width 316: "You should see a single green square, with no red."
 layer at (8,8) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (8,8) size 100x100 [bgcolor=#FF0000]
 layer at (8,8) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.png
index 7cf935d..27bc303 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.txt
index cdaeb8f..83719e5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x273
     LayoutBlockFlow {BODY} at (8,16) size 784x249
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 523x19
-          text run at (0,0) width 523: "Testing masks on compositing layers. Left and right columns should look the same."
+        LayoutText {#text} at (0,0) size 522x19
+          text run at (0,0) width 522: "Testing masks on compositing layers. Left and right columns should look the same."
       LayoutBlockFlow (anonymous) at (0,36) size 784x213
         LayoutText {#text} at (208,193) size 4x19
           text run at (208,193) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.png
index 65f74c3..e4489218 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.txt
index 223bac9..c62b081 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x838
     LayoutBlockFlow {BODY} at (8,8) size 769x822
       LayoutBlockFlow (anonymous) at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 81x19
-          text run at (0,0) width 81: "Text outside."
+        LayoutText {#text} at (0,0) size 80x19
+          text run at (0,0) width 80: "Text outside."
 layer at (8,28) size 702x802 backgroundClip at (8,28) size 702x572 clip at (9,29) size 685x571 scrollHeight 1286
   LayoutBlockFlow {DIV} at (0,20) size 702x802 [border: (1px solid #000000)]
     LayoutBlockFlow {P} at (1,17) size 685x165
@@ -13,28 +13,28 @@
         text run at (0,7) width 642: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
         text run at (0,40) width 670: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex"
         text run at (0,73) width 674: "ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat"
-        text run at (0,106) width 671: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
+        text run at (0,106) width 672: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
         text run at (0,139) width 93: "id est laborum."
     LayoutBlockFlow {P} at (1,230) size 685x165
       LayoutText {#text} at (0,7) size 674x151
         text run at (0,7) width 642: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
         text run at (0,40) width 670: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex"
         text run at (0,73) width 674: "ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat"
-        text run at (0,106) width 671: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
+        text run at (0,106) width 672: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
         text run at (0,139) width 93: "id est laborum."
     LayoutBlockFlow {P} at (1,861) size 685x165
       LayoutText {#text} at (0,7) size 674x151
         text run at (0,7) width 642: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
         text run at (0,40) width 670: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex"
         text run at (0,73) width 674: "ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat"
-        text run at (0,106) width 671: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
+        text run at (0,106) width 672: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
         text run at (0,139) width 93: "id est laborum."
     LayoutBlockFlow {P} at (1,1074) size 685x165
       LayoutText {#text} at (0,7) size 674x151
         text run at (0,7) width 642: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
         text run at (0,40) width 670: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex"
         text run at (0,73) width 674: "ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat"
-        text run at (0,106) width 671: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
+        text run at (0,106) width 672: "nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"
         text run at (0,139) width 93: "id est laborum."
 layer at (19,471) size 602x402 backgroundClip at (19,471) size 602x129 clip at (20,472) size 585x128 scrollHeight 442
   LayoutBlockFlow {DIV} at (11,443) size 602x402 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/overflow-compositing-descendant-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/overflow-compositing-descendant-expected.txt
index 8d77995..0b7a7166 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/overflow-compositing-descendant-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/overflow-compositing-descendant-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 466x19
-          text run at (0,0) width 466: "You should see a green box under the video. If you see red, the test failed."
+        LayoutText {#text} at (0,0) size 465x19
+          text run at (0,0) width 465: "You should see a green box under the video. If you see red, the test failed."
 layer at (8,52) size 132x222 clip at (9,53) size 130x220 scrollHeight 225
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 132x222 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
     LayoutBlockFlow (anonymous) at (11,11) size 110x105
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scaled-mask-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scaled-mask-expected.png
index d01051d..8bff888 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scaled-mask-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scaled-mask-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scaled-mask-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scaled-mask-expected.txt
index c7afb2a3..1915dd9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scaled-mask-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scaled-mask-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 515x19
-          text run at (0,0) width 515: "Testing masks on compositing layers. Top and bottom rows should look the same."
+        LayoutText {#text} at (0,0) size 513x19
+          text run at (0,0) width 513: "Testing masks on compositing layers. Top and bottom rows should look the same."
 layer at (8,52) size 0x0
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 0x0
 layer at (8,52) size 208x208 clip at (12,56) size 200x200 scrollWidth 500 scrollHeight 500
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.png
index 5d5a44a..46fe34d3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scrollbar-painting-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scrollbar-painting-expected.txt
index d94cf06..88bc438 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scrollbar-painting-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scrollbar-painting-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x272
     LayoutBlockFlow {BODY} at (8,16) size 784x246
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 475x19
-          text run at (0,0) width 475: "You should see scrollbars on the gray square, and a resizer control below it."
+        LayoutText {#text} at (0,0) size 474x19
+          text run at (0,0) width 474: "You should see scrollbars on the gray square, and a resizer control below it."
 layer at (18,52) size 100x100 clip at (18,52) size 85x85 scrollWidth 500 scrollHeight 500
   LayoutBlockFlow (relative positioned) {DIV} at (10,36) size 100x100
 layer at (18,52) size 500x500 backgroundClip at (18,52) size 85x85 clip at (18,52) size 85x85
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.png
index 5581b2c..759b4cc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.txt
index 32cc836..02e1ce34 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x86
     LayoutBlockFlow {BODY} at (8,8) size 784x70
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 131x19
-          text run at (0,0) width 131: "PASS if not crashed."
+        LayoutText {#text} at (0,0) size 130x19
+          text run at (0,0) width 130: "PASS if not crashed."
 layer at (8,28) size 50x50 clip at (8,28) size 39x39 scrollWidth 200 scrollHeight 200
   LayoutBlockFlow {DIV} at (0,20) size 50x50
     LayoutBlockFlow {DIV} at (0,0) size 200x200
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.png
index 50c2460..f7520b7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.txt
index ddccb0f..5aeecfb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.txt
@@ -21,8 +21,8 @@
       LayoutText {#text} at (2,0) size 24x14
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (11,26.39) size 90x15.39
-      LayoutText {#text} at (2,0) size 23x14
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x14
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTION} at (11,41.78) size 90x15.39
       LayoutText {#text} at (2,0) size 34x14
         text run at (2,0) width 34: "Three"
@@ -38,8 +38,8 @@
       LayoutText {#text} at (2,0) size 24x14
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (11,26.39) size 90x15.39
-      LayoutText {#text} at (2,0) size 23x14
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x14
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTION} at (11,41.78) size 90x15.39
       LayoutText {#text} at (2,0) size 34x14
         text run at (2,0) width 34: "Three"
@@ -55,8 +55,8 @@
       LayoutText {#text} at (2,0) size 24x14
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (11,26.39) size 90x15.39
-      LayoutText {#text} at (2,0) size 23x14
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x14
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTION} at (11,41.78) size 90x15.39
       LayoutText {#text} at (2,0) size 34x14
         text run at (2,0) width 34: "Three"
@@ -72,8 +72,8 @@
       LayoutText {#text} at (2,0) size 24x14
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (11,26.39) size 90x15.39
-      LayoutText {#text} at (2,0) size 23x14
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x14
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTION} at (11,41.78) size 90x15.39
       LayoutText {#text} at (2,0) size 34x14
         text run at (2,0) width 34: "Three"
@@ -89,8 +89,8 @@
       LayoutText {#text} at (2,0) size 24x14
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (11,26.39) size 90x15.39
-      LayoutText {#text} at (2,0) size 23x14
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x14
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTION} at (11,41.78) size 90x15.39
       LayoutText {#text} at (2,0) size 34x14
         text run at (2,0) width 34: "Three"
@@ -106,8 +106,8 @@
       LayoutText {#text} at (2,0) size 24x14
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (11,26.39) size 90x15.39
-      LayoutText {#text} at (2,0) size 23x14
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x14
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTION} at (11,41.78) size 90x15.39
       LayoutText {#text} at (2,0) size 34x14
         text run at (2,0) width 34: "Three"
@@ -123,5 +123,5 @@
       LayoutText {#text} at (2,0) size 24x14
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (11,26.39) size 90x15.39
-      LayoutText {#text} at (2,0) size 23x14
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x14
+        text run at (2,0) width 22: "Two"
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.png
index d559c37..feb6a49 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.txt
index 4a3b9b2cc..98d5775 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 656x19
-          text run at (0,0) width 656: "This test passes if the custom scrollbar paints in the corrext spot, which is at the bottom of the purple div."
+        LayoutText {#text} at (0,0) size 655x19
+          text run at (0,0) width 655: "This test passes if the custom scrollbar paints in the corrext spot, which is at the bottom of the purple div."
 layer at (8,50) size 319x550 clip at (9,51) size 302x548 scrollHeight 1311
   LayoutBlockFlow (positioned) {DIV} at (8,50) size 319x550 [border: (1px solid #FF0000)]
     LayoutBlockFlow {DIV} at (1,412) size 15x900 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor150/fast/hidpi/static/calendar-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor150/fast/hidpi/static/calendar-picker-appearance-expected.png
index c95de14..21d03315 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor150/fast/hidpi/static/calendar-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor150/fast/hidpi/static/calendar-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200/fast/hidpi/static/calendar-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200/fast/hidpi/static/calendar-picker-appearance-expected.png
index 5b9c7947..80829e54 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200/fast/hidpi/static/calendar-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200/fast/hidpi/static/calendar-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200/fast/hidpi/static/data-suggestion-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200/fast/hidpi/static/data-suggestion-picker-appearance-expected.png
index b0d6358fb..8b41309 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200/fast/hidpi/static/data-suggestion-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200/fast/hidpi/static/data-suggestion-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200withzoom/fast/hidpi/static/calendar-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200withzoom/fast/hidpi/static/calendar-picker-appearance-expected.png
index 5b9c7947..80829e54 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200withzoom/fast/hidpi/static/calendar-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200withzoom/fast/hidpi/static/calendar-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200withzoom/fast/hidpi/static/data-suggestion-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200withzoom/fast/hidpi/static/data-suggestion-picker-appearance-expected.png
index b0d6358fb..8b41309 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200withzoom/fast/hidpi/static/data-suggestion-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200withzoom/fast/hidpi/static/data-suggestion-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/animations/3d/matrix-transform-type-animation-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/animations/3d/matrix-transform-type-animation-expected.png
index 3f2dd16..7e33096 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/animations/3d/matrix-transform-type-animation-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/animations/3d/matrix-transform-type-animation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/compositing/webgl/webgl-background-color-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/compositing/webgl/webgl-background-color-expected.png
index 699ce9af..9e6b46d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/compositing/webgl/webgl-background-color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/compositing/webgl/webgl-background-color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/compositing/webgl/webgl-background-color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/compositing/webgl/webgl-background-color-expected.txt
index a2cc0f6..9e99ab41 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/compositing/webgl/webgl-background-color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/compositing/webgl/webgl-background-color-expected.txt
@@ -7,7 +7,7 @@
       LayoutBlockFlow (anonymous) at (0,220) size 784x245
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,481) size 784x20
-        LayoutText {#text} at (0,0) size 241x19
-          text run at (0,0) width 241: "Top and bottom should look the same."
+        LayoutText {#text} at (0,0) size 240x19
+          text run at (0,0) width 240: "Top and bottom should look the same."
 layer at (28,260) size 240x200
   LayoutHTMLCanvas {CANVAS} at (20,20) size 240x200 [bgcolor=#00008080]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/compositing/webgl/webgl-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/compositing/webgl/webgl-reflection-expected.txt
index a015d95..b74f3bb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/compositing/webgl/webgl-reflection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/compositing/webgl/webgl-reflection-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x309
     LayoutBlockFlow {BODY} at (8,16) size 784x285
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 310x19
-          text run at (0,0) width 310: "You should see a green triangle and its reflection."
+        LayoutText {#text} at (0,0) size 309x19
+          text run at (0,0) width 309: "You should see a green triangle and its reflection."
       LayoutBlockFlow (anonymous) at (0,36) size 784x249
         LayoutText {#text} at (0,0) size 0x0
 layer at (28,72) size 244x204
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/forced-break-tree-dump-only-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/forced-break-tree-dump-only-expected.txt
new file mode 100644
index 0000000..598c1ee5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/forced-break-tree-dump-only-expected.txt
@@ -0,0 +1,18 @@
+layer at (0,0) size 800x600 scrollHeight 827
+  LayoutView at (0,0) size 1066x799
+layer at (0,0) size 1066x827 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 1066x827
+    LayoutBlockFlow {BODY} at (8,16) size 1050x803
+      LayoutBlockFlow {P} at (0,0) size 1050x40
+        LayoutText {#text} at (0,0) size 1009x39
+          text run at (0,0) width 554: "This is a test that only dumps the layout tree, and doesn't actually display the page. This "
+          text run at (554,0) width 455: "tests some peculiarities in the test framework for printing. To run this test"
+          text run at (0,20) width 101: "manually, run it "
+          text run at (101,20) width 220: "with content_shell --run-layout-test"
+      LayoutBlockFlow {DIV} at (0,56) size 1050x20
+        LayoutText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This should be on page 1."
+      LayoutBlockFlow {DIV} at (0,783) size 1050x20
+        LayoutText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This should be on page 2."
+
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/iframe-print-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/iframe-print-expected.png
index eea9f8e..d2c4804 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/iframe-print-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/iframe-print-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/iframe-print-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/iframe-print-expected.txt
new file mode 100644
index 0000000..970fdbb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/iframe-print-expected.txt
@@ -0,0 +1,41 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 1066x799
+layer at (0,0) size 1066x799 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 1066x799
+    LayoutBlockFlow {BODY} at (8,8) size 1050x783
+      LayoutText {#text} at (304,289) size 4x19
+        text run at (304,289) width 4: " "
+      LayoutText {#text} at (0,0) size 0x0
+layer at (8,208) size 304x104
+  LayoutIFrame {IFRAME} at (0,200) size 304x104 [border: (2px inset #EEEEEE)]
+    layer at (0,0) size 300x100
+      LayoutView at (0,0) size 300x100
+    layer at (0,0) size 300x36
+      LayoutBlockFlow {HTML} at (0,0) size 300x36
+        LayoutBlockFlow {BODY} at (8,8) size 284x20
+          LayoutText {#text} at (0,0) size 240x19
+            text run at (0,0) width 240: "You should see this text when printed."
+layer at (316,8) size 304x304
+  LayoutIFrame {IFRAME} at (308,0) size 304x304 [border: (2px inset #EEEEEE)]
+    layer at (0,0) size 300x300
+      LayoutView at (0,0) size 300x300
+    layer at (35,0) size 265x300
+      LayoutBlockFlow {HTML} at (0,0) size 265x300
+        LayoutBlockFlow {BODY} at (8,8) size 249x284
+          LayoutText {#text} at (0,0) size 19x244
+            text run at (0,0) width 244: "You should see this text when printed. "
+          LayoutBR {BR} at (0,244) size 19x0
+          LayoutText {#text} at (20,0) size 19x159
+            text run at (20,0) width 159: "Vertical text on the right. "
+          LayoutBR {BR} at (20,159) size 19x0
+          LayoutText {#text} at (0,0) size 0x0
+    layer at (48,8) size 204x154
+      LayoutIFrame {IFRAME} at (40,0) size 204x154 [border: (2px inset #EEEEEE)]
+        layer at (0,0) size 200x150
+          LayoutView at (0,0) size 200x150
+        layer at (0,0) size 200x56
+          LayoutBlockFlow {HTML} at (0,0) size 200x56
+            LayoutBlockFlow {BODY} at (8,8) size 184x40
+              LayoutText {#text} at (0,0) size 149x39
+                text run at (0,0) width 149: "You should see this text"
+                text run at (0,20) width 87: "when printed."
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/tfoot-repeats-at-bottom-of-each-page-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/tfoot-repeats-at-bottom-of-each-page-expected.png
new file mode 100644
index 0000000..0b011f3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/tfoot-repeats-at-bottom-of-each-page-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/tfoot-repeats-at-bottom-of-each-page-multiple-tables-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/tfoot-repeats-at-bottom-of-each-page-multiple-tables-expected.png
new file mode 100644
index 0000000..ed6dbde9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/tfoot-repeats-at-bottom-of-each-page-multiple-tables-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/thead-repeats-at-top-of-each-page-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/thead-repeats-at-top-of-each-page-expected.png
new file mode 100644
index 0000000..dd32244
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/thead-repeats-at-top-of-each-page-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/thead-repeats-at-top-of-each-page-multiple-tables-expected.png b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/thead-repeats-at-top-of-each-page-multiple-tables-expected.png
new file mode 100644
index 0000000..81755375
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/thead-repeats-at-top-of-each-page-multiple-tables-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/thead-under-multicol-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/thead-under-multicol-expected.txt
index f95e21d..c23bb20 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/thead-under-multicol-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/thead-under-multicol-expected.txt
@@ -123,14 +123,14 @@
               text run at (1,1) width 43: "3-10"
         LayoutTableRow {TR} at (0,1040) size 305x102
           LayoutTableCell {TD} at (2,1077) size 99x27 [r=10 c=0 rs=1 cs=1]
-            LayoutText {#text} at (1,1) size 42x24
-              text run at (1,1) width 42: "1-11"
+            LayoutText {#text} at (1,1) size 41x24
+              text run at (1,1) width 41: "1-11"
           LayoutTableCell {TD} at (103,1077) size 99x27 [r=10 c=1 rs=1 cs=1]
-            LayoutText {#text} at (1,1) size 42x24
-              text run at (1,1) width 42: "2-11"
+            LayoutText {#text} at (1,1) size 41x24
+              text run at (1,1) width 41: "2-11"
           LayoutTableCell {TD} at (204,1077) size 99x27 [r=10 c=2 rs=1 cs=1]
-            LayoutText {#text} at (1,1) size 42x24
-              text run at (1,1) width 42: "3-11"
+            LayoutText {#text} at (1,1) size 41x24
+              text run at (1,1) width 41: "3-11"
         LayoutTableRow {TR} at (0,1185) size 305x102
           LayoutTableCell {TD} at (2,1222) size 99x27 [r=11 c=0 rs=1 cs=1]
             LayoutText {#text} at (1,1) size 43x24
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.12/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.png b/third_party/WebKit/LayoutTests/platform/mac-mac10.12/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.png
deleted file mode 100644
index 266b302..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.12/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.12/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scaled-mask-expected.png b/third_party/WebKit/LayoutTests/platform/mac-mac10.12/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scaled-mask-expected.png
deleted file mode 100644
index 5c779084..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.12/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scaled-mask-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/css3/flexbox/button-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/css3/flexbox/button-expected.png
deleted file mode 100644
index 024ef730..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/css3/flexbox/button-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/editing/selection/select-element-paragraph-boundary-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/editing/selection/select-element-paragraph-boundary-expected.png
deleted file mode 100644
index eb9aada..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/editing/selection/select-element-paragraph-boundary-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/block/float/float-avoidance-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/fast/block/float/float-avoidance-expected.png
deleted file mode 100644
index 4bd985d..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/block/float/float-avoidance-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/basic-buttons-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/basic-buttons-expected.png
deleted file mode 100644
index 31445442..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/basic-buttons-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/input-type-text-min-width-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/input-type-text-min-width-expected.png
deleted file mode 100644
index 8aa1592..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/input-type-text-min-width-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/search/search-vertical-alignment-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/search/search-vertical-alignment-expected.png
deleted file mode 100644
index 4babd4f..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/search/search-vertical-alignment-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/targeted-frame-submission-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/targeted-frame-submission-expected.png
deleted file mode 100644
index 0b9be4909..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/targeted-frame-submission-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/text/input-field-text-truncated-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/text/input-field-text-truncated-expected.png
deleted file mode 100644
index 8db5b6f..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/text/input-field-text-truncated-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/textarea/textarea-scrolled-mask-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/textarea/textarea-scrolled-mask-expected.png
deleted file mode 100644
index edc29093..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/textarea/textarea-scrolled-mask-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/text/justify-ideograph-complex-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/fast/text/justify-ideograph-complex-expected.png
deleted file mode 100644
index bed6952..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/text/justify-ideograph-complex-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/text/justify-ideograph-simple-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/fast/text/justify-ideograph-simple-expected.png
deleted file mode 100644
index bed6952..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/text/justify-ideograph-simple-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/media/track/track-cue-rendering-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/media/track/track-cue-rendering-vertical-expected.png
deleted file mode 100644
index 3167590f5..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/media/track/track-cue-rendering-vertical-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png
deleted file mode 100644
index 8857c77..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.png
deleted file mode 100644
index 04338fe0..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png
deleted file mode 100644
index b2b0456..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/svg/as-border-image/svg-as-border-image-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/svg/as-border-image/svg-as-border-image-expected.png
deleted file mode 100644
index bfa4bba..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/svg/as-border-image/svg-as-border-image-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/tables/mozilla/bugs/bug29326-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/tables/mozilla/bugs/bug29326-expected.png
deleted file mode 100644
index a7dde3e..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/tables/mozilla/bugs/bug29326-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/tables/mozilla/bugs/bug7342-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/tables/mozilla/bugs/bug7342-expected.png
deleted file mode 100644
index 4c34e40..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/tables/mozilla/bugs/bug7342-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/tables/mozilla/core/bloomberg-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/tables/mozilla/core/bloomberg-expected.png
deleted file mode 100644
index b21bb94..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/tables/mozilla/core/bloomberg-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/tables/mozilla/core/margins-expected.png b/third_party/WebKit/LayoutTests/platform/mac-retina/tables/mozilla/core/margins-expected.png
deleted file mode 100644
index b23a51b2..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/tables/mozilla/core/margins-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/media/media-controls-grey-scrubber-expected.png b/third_party/WebKit/LayoutTests/platform/mac/media/media-controls-grey-scrubber-expected.png
new file mode 100644
index 0000000..84d5845
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/media/media-controls-grey-scrubber-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/media/media-controls-grey-scrubber-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/media/media-controls-grey-scrubber-expected.txt
new file mode 100644
index 0000000..af24ed3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/media/media-controls-grey-scrubber-expected.txt
@@ -0,0 +1,32 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x170
+  LayoutBlockFlow {HTML} at (0,0) size 800x170
+    LayoutBlockFlow {BODY} at (8,8) size 784x154
+      LayoutBlockFlow {DIV} at (0,0) size 784x154
+layer at (8,8) size 300x150
+  LayoutVideo {VIDEO} at (0,0) size 300x150
+layer at (8,8) size 300x150
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 300x150
+    LayoutBlockFlow {DIV} at (0,118) size 300x32
+layer at (8,8) size 300x108
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 300x108
+layer at (8,126) size 300x32 scrollHeight 40
+  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 300x32 [bgcolor=#FAFAFA]
+    LayoutButton {INPUT} at (0,0) size 32x32
+    LayoutFlexibleBox {DIV} at (32,0) size 23.36x32 [color=#5A5A5A]
+      LayoutBlockFlow (anonymous) at (0,0) size 23.36x32
+        LayoutText {#text} at (0,9) size 24x14
+          text run at (0,9) width 24: "0:00"
+    LayoutSlider {INPUT} at (73.36,1) size 208.64x30
+      LayoutFlexibleBox {DIV} at (0,14) size 208.64x2
+layer at (63,142) size 245x0
+  LayoutBlockFlow (relative positioned) {DIV} at (-18,1) size 244.64x0
+layer at (81,141) size 209x2
+  LayoutBlockFlow (positioned) {DIV} at (18,-1) size 208.64x2 [bgcolor=#DADADA]
+layer at (81,141) size 0x2
+  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#5A5A5A]
+layer at (81,141) size 0x2
+  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#4285F4]
+layer at (63,118) size 36x48 backgroundClip at (8,126) size 300x32 clip at (8,126) size 300x32
+  LayoutBlockFlow (positioned) zI: 2 {DIV} at (0,-24) size 36x48
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.txt
deleted file mode 100644
index 33ea9f0..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x36
-        LayoutText {#text} at (0,0) size 779x36
-          text run at (0,0) width 779: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,18) width 772: "shape=\"circle\">. This test PASSED if a circular-shaped focus ring is drawn around the <area> in the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,52) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-focus-ring-in-positioned-container-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-focus-ring-in-positioned-container-expected.txt
deleted file mode 100644
index 2eb3a50..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-focus-ring-in-positioned-container-expected.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x34
-  LayoutBlockFlow {HTML} at (0,0) size 800x34
-    LayoutBlockFlow {BODY} at (8,8) size 784x18
-      LayoutText {#text} at (0,0) size 564x18
-        text run at (0,0) width 564: "Tests that we paint area outline properly when the image is inside positioned containers."
-layer at (20,50) size 0x0
-  LayoutBlockFlow (positioned) {DIV} at (20,50) size 0x0
-layer at (30,60) size 50x54
-  LayoutBlockFlow (positioned) {DIV} at (10,10) size 50x54
-    LayoutImage {IMG} at (0,0) size 50x50
-    LayoutText {#text} at (0,0) size 0x0
-    LayoutInline {MAP} at (0,0) size 0x0
-      LayoutInline {AREA} at (0,0) size 0x0
-    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-focus-ring-with-paint-root-offset-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
deleted file mode 100644
index af52d98..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x34
-  LayoutBlockFlow {HTML} at (0,0) size 800x34
-    LayoutBlockFlow {BODY} at (8,8) size 784x18
-      LayoutText {#text} at (0,0) size 447x18
-        text run at (0,0) width 447: "Tests that we paint area outline properly when the paintroot is shifted."
-layer at (5,50) size 50x54
-  LayoutBlockFlow (positioned) {DIV} at (5,50) size 50x54
-    LayoutImage {IMG} at (0,0) size 50x50
-    LayoutText {#text} at (0,0) size 0x0
-    LayoutInline {MAP} at (0,0) size 0x0
-      LayoutInline {AREA} at (0,0) size 0x0
-    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-focus-ring-with-scale-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-focus-ring-with-scale-transform-expected.txt
deleted file mode 100644
index 0342978..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-focus-ring-with-scale-transform-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x34
-  LayoutBlockFlow {HTML} at (0,0) size 800x34
-    LayoutBlockFlow {BODY} at (8,8) size 784x18
-      LayoutText {#text} at (0,0) size 498x18
-        text run at (0,0) width 498: "Tests that we paint area outline properly when the image's container is scaled."
-layer at (100,100) size 100x100
-  LayoutBlockFlow (positioned) {DIV} at (100,100) size 100x100
-    LayoutImage {IMG} at (0,0) size 50x50
-    LayoutText {#text} at (0,0) size 0x0
-    LayoutInline {MAP} at (0,0) size 0x0
-      LayoutInline {AREA} at (0,0) size 0x0
-    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-overflowing-circle-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-overflowing-circle-focus-ring-expected.txt
deleted file mode 100644
index f81d1c78..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-overflowing-circle-focus-ring-expected.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x54
-        LayoutText {#text} at (0,0) size 779x54
-          text run at (0,0) width 779: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,18) width 756: "shape=\"circle\"> that overflows the img element. This test PASSED if a half-circule-shaped focus ring is drawn for the"
-          text run at (0,36) width 214: "<area> in the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,70) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.txt
deleted file mode 100644
index 0ef44758..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x54
-        LayoutText {#text} at (0,0) size 779x54
-          text run at (0,0) width 779: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,18) width 764: "shape=\"polygon\"> that is overflowing the bounds for the img element. This test PASSED if a clipped star-shaped focus"
-          text run at (0,36) width 374: "ring is drawn around the <area> in the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,70) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-polygon-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-polygon-focus-ring-expected.txt
deleted file mode 100644
index 6f3cb4f..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/exotic-color-space/images/imagemap-polygon-focus-ring-expected.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x36
-        LayoutText {#text} at (0,0) size 779x36
-          text run at (0,0) width 779: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,18) width 773: "shape=\"polygon\">. This test PASSED if a cross-shaped focus ring is drawn around the <area> in the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,52) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/favicon-as-image-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/favicon-as-image-expected.png
deleted file mode 100644
index c2b0a45..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/favicon-as-image-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/favicon-as-image-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/favicon-as-image-expected.txt
deleted file mode 100644
index 9d1b5f1..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/favicon-as-image-expected.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (0,0) size 800x600
-      LayoutBlockFlow {DIV} at (0,0) size 800x18
-        LayoutText {#text} at (0,0) size 456x18
-          text run at (0,0) width 456: "Two green 16x16 pixel squares should appear below stacked vertically."
-      LayoutBlockFlow {DIV} at (0,18) size 16x16 [bgcolor=#FF0000]
-        LayoutImage {IMG} at (0,0) size 16x16
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow (anonymous) at (0,34) size 800x16
-        LayoutText {#text} at (0,0) size 0x0
-layer at (0,34) size 16x16
-  LayoutIFrame {IFRAME} at (0,0) size 16x16 [bgcolor=#FF0000]
-    layer at (0,0) size 16x16
-      LayoutView at (0,0) size 16x16
-    layer at (0,0) size 16x16
-      LayoutBlockFlow {HTML} at (0,0) size 16x16
-        LayoutBlockFlow {BODY} at (0,0) size 16x16
-          LayoutImage {IMG} at (0,0) size 16x16
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.txt
deleted file mode 100644
index 33ea9f0..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x36
-        LayoutText {#text} at (0,0) size 779x36
-          text run at (0,0) width 779: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,18) width 772: "shape=\"circle\">. This test PASSED if a circular-shaped focus ring is drawn around the <area> in the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,52) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-focus-ring-in-positioned-container-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-focus-ring-in-positioned-container-expected.txt
deleted file mode 100644
index 2eb3a50..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-focus-ring-in-positioned-container-expected.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x34
-  LayoutBlockFlow {HTML} at (0,0) size 800x34
-    LayoutBlockFlow {BODY} at (8,8) size 784x18
-      LayoutText {#text} at (0,0) size 564x18
-        text run at (0,0) width 564: "Tests that we paint area outline properly when the image is inside positioned containers."
-layer at (20,50) size 0x0
-  LayoutBlockFlow (positioned) {DIV} at (20,50) size 0x0
-layer at (30,60) size 50x54
-  LayoutBlockFlow (positioned) {DIV} at (10,10) size 50x54
-    LayoutImage {IMG} at (0,0) size 50x50
-    LayoutText {#text} at (0,0) size 0x0
-    LayoutInline {MAP} at (0,0) size 0x0
-      LayoutInline {AREA} at (0,0) size 0x0
-    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-focus-ring-with-paint-root-offset-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
deleted file mode 100644
index af52d98..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x34
-  LayoutBlockFlow {HTML} at (0,0) size 800x34
-    LayoutBlockFlow {BODY} at (8,8) size 784x18
-      LayoutText {#text} at (0,0) size 447x18
-        text run at (0,0) width 447: "Tests that we paint area outline properly when the paintroot is shifted."
-layer at (5,50) size 50x54
-  LayoutBlockFlow (positioned) {DIV} at (5,50) size 50x54
-    LayoutImage {IMG} at (0,0) size 50x50
-    LayoutText {#text} at (0,0) size 0x0
-    LayoutInline {MAP} at (0,0) size 0x0
-      LayoutInline {AREA} at (0,0) size 0x0
-    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-focus-ring-with-scale-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-focus-ring-with-scale-transform-expected.txt
deleted file mode 100644
index 0342978..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-focus-ring-with-scale-transform-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x34
-  LayoutBlockFlow {HTML} at (0,0) size 800x34
-    LayoutBlockFlow {BODY} at (8,8) size 784x18
-      LayoutText {#text} at (0,0) size 498x18
-        text run at (0,0) width 498: "Tests that we paint area outline properly when the image's container is scaled."
-layer at (100,100) size 100x100
-  LayoutBlockFlow (positioned) {DIV} at (100,100) size 100x100
-    LayoutImage {IMG} at (0,0) size 50x50
-    LayoutText {#text} at (0,0) size 0x0
-    LayoutInline {MAP} at (0,0) size 0x0
-      LayoutInline {AREA} at (0,0) size 0x0
-    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-overflowing-circle-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-overflowing-circle-focus-ring-expected.txt
deleted file mode 100644
index f81d1c78..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-overflowing-circle-focus-ring-expected.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x54
-        LayoutText {#text} at (0,0) size 779x54
-          text run at (0,0) width 779: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,18) width 756: "shape=\"circle\"> that overflows the img element. This test PASSED if a half-circule-shaped focus ring is drawn for the"
-          text run at (0,36) width 214: "<area> in the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,70) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.txt
deleted file mode 100644
index 0ef44758..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x54
-        LayoutText {#text} at (0,0) size 779x54
-          text run at (0,0) width 779: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,18) width 764: "shape=\"polygon\"> that is overflowing the bounds for the img element. This test PASSED if a clipped star-shaped focus"
-          text run at (0,36) width 374: "ring is drawn around the <area> in the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,70) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-polygon-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-polygon-focus-ring-expected.txt
deleted file mode 100644
index 6f3cb4f..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/imagemap-polygon-focus-ring-expected.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x36
-        LayoutText {#text} at (0,0) size 779x36
-          text run at (0,0) width 779: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,18) width 773: "shape=\"polygon\">. This test PASSED if a cross-shaped focus ring is drawn around the <area> in the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,52) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/rendering-broken-images-empty-alt-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/rendering-broken-images-empty-alt-expected.png
deleted file mode 100644
index 80ebf02f..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/rendering-broken-images-empty-alt-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/canvas-shadow-source-in-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/canvas-shadow-source-in-expected.txt
deleted file mode 100644
index 7b9924a3..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/canvas-shadow-source-in-expected.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x464
-  LayoutBlockFlow {HTML} at (0,0) size 800x464
-    LayoutBlockFlow {BODY} at (8,8) size 784x448
-      LayoutBlockFlow {DIV} at (0,0) size 784x18
-        LayoutText {#text} at (0,0) size 60x18
-          text run at (0,0) width 60: "Test Rect"
-      LayoutBlockFlow (anonymous) at (0,18) size 784x206
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {DIV} at (0,224) size 784x18
-        LayoutText {#text} at (0,0) size 71x18
-          text run at (0,0) width 71: "Test Image"
-      LayoutBlockFlow (anonymous) at (0,242) size 784x206
-        LayoutText {#text} at (0,0) size 0x0
-layer at (8,26) size 202x202
-  LayoutHTMLCanvas {CANVAS} at (0,0) size 202x202 [border: (1px solid #999999)]
-layer at (8,250) size 202x202
-  LayoutHTMLCanvas {CANVAS} at (0,0) size 202x202 [border: (1px solid #999999)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/canvas-textMetrics-width-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/canvas-textMetrics-width-expected.png
deleted file mode 100644
index 69a83d3..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/canvas-textMetrics-width-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/patternfill-repeat-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/patternfill-repeat-expected.png
deleted file mode 100644
index e3a6aab..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/patternfill-repeat-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/patternfill-repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/patternfill-repeat-expected.txt
deleted file mode 100644
index 5b140e7..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/patternfill-repeat-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x460
-  LayoutBlockFlow {HTML} at (0,0) size 800x460
-    LayoutBlockFlow {BODY} at (8,16) size 784x428
-      LayoutBlockFlow {P} at (0,0) size 784x72
-        LayoutText {#text} at (0,0) size 785x72
-          text run at (0,0) width 761: "There should be one big square below containing four squares. Top left square should be filled with 3 rows of 2 and bit"
-          text run at (0,18) width 785: "Apple images. Top right square should be 2 and a bit rows with one Apple image column along the left edge of the square."
-          text run at (0,36) width 778: "Bottom left square should be one row with three Apple images along the top of the square. Bottom right square should be"
-          text run at (0,54) width 224: "one Apple image in top left corner."
-      LayoutBlockFlow {P} at (0,88) size 784x340
-layer at (8,104) size 336x336
-  LayoutHTMLCanvas {CANVAS} at (0,0) size 336x336 [border: (3px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/setWidthResetAfterForcedRender-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/setWidthResetAfterForcedRender-expected.png
deleted file mode 100644
index 04f45429f..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/setWidthResetAfterForcedRender-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/shadow-offset-1-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/shadow-offset-1-expected.png
deleted file mode 100644
index 92a1f110..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/shadow-offset-1-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/toDataURL-alpha-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/toDataURL-alpha-expected.png
deleted file mode 100644
index 278dce35..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/toDataURL-alpha-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/layout_ng/fast/block/margin-collapse/101-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/layout_ng/fast/block/margin-collapse/101-expected.png
deleted file mode 100644
index 55958f8..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/layout_ng/fast/block/margin-collapse/101-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/layout_ng/fast/block/margin-collapse/102-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/layout_ng/fast/block/margin-collapse/102-expected.png
deleted file mode 100644
index 6678ff6..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/layout_ng/fast/block/margin-collapse/102-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/010-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/010-expected.png
deleted file mode 100644
index ca18d12..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/010-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/011-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/011-expected.png
deleted file mode 100644
index ca18d12..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/011-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.png
deleted file mode 100644
index ca1b998..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.txt
deleted file mode 100644
index 15f4528c..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.txt
+++ /dev/null
@@ -1,139 +0,0 @@
-layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 778
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 785x546
-  LayoutBlockFlow {HTML} at (0,0) size 785x546
-    LayoutBlockFlow {BODY} at (8,16) size 769x522
-      LayoutBlockFlow {P} at (0,0) size 769x18
-        LayoutText {#text} at (0,0) size 258x18
-          text run at (0,0) width 258: "Test controls rendering with cast button."
-      LayoutBlockFlow {DIV} at (0,34) size 769x244
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {DIV} at (0,278) size 769x244
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {DIV} at (0,522) size 769x0
-layer at (8,50) size 320x240
-  LayoutVideo {VIDEO} at (0,0) size 320x240
-layer at (8,294) size 320x240
-  LayoutVideo {VIDEO} at (0,0) size 320x240
-layer at (8,50) size 320x240
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x240
-    LayoutBlockFlow {DIV} at (0,208) size 320x32
-layer at (8,50) size 320x198
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x198
-layer at (8,258) size 320x32 scrollHeight 40
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x32 [bgcolor=#FAFAFA]
-    LayoutButton {INPUT} at (0,0) size 32x32
-    LayoutFlexibleBox {DIV} at (32,0) size 23.36x32 [color=#5A5A5A]
-      LayoutBlockFlow (anonymous) at (0,0) size 23.36x32
-        LayoutText {#text} at (0,9) size 24x14
-          text run at (0,9) width 24: "0:00"
-    LayoutSlider {INPUT} at (73.36,1) size 71.64x30
-      LayoutFlexibleBox {DIV} at (0,14) size 71.64x2
-    LayoutButton {INPUT} at (163,0) size 32x32
-    LayoutSlider {INPUT} at (213,1) size 25x30
-      LayoutFlexibleBox {DIV} at (0,14) size 25x2
-    LayoutButton {INPUT} at (288,0) size 32x32
-layer at (264,258) size 32x32
-  LayoutButton {INPUT} at (256,0) size 32x32
-layer at (63,274) size 108x0
-  LayoutBlockFlow (relative positioned) {DIV} at (-18,1) size 107.64x0
-layer at (81,273) size 72x2
-  LayoutBlockFlow (positioned) {DIV} at (18,-1) size 71.64x2 [bgcolor=#DADADA]
-layer at (203,274) size 61x0
-  LayoutBlockFlow (relative positioned) {DIV} at (-18,1) size 61x0
-layer at (221,273) size 25x2
-  LayoutBlockFlow (positioned) {DIV} at (18,-1) size 25x2 [bgcolor=#DADADA]
-layer at (81,273) size 72x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 72x2 [bgcolor=#5A5A5A]
-layer at (81,273) size 0x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#4285F4]
-layer at (221,273) size 0x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#5A5A5A]
-layer at (221,273) size 25x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 25x2 [bgcolor=#4285F4]
-layer at (63,250) size 36x48 backgroundClip at (8,258) size 320x32 clip at (8,258) size 320x32
-  LayoutBlockFlow (positioned) zI: 2 {DIV} at (0,-24) size 36x48
-layer at (228,250) size 36x48 backgroundClip at (8,258) size 320x32 clip at (8,258) size 320x32
-  LayoutBlockFlow (positioned) zI: 2 {DIV} at (25,-24) size 36x48
-layer at (8,294) size 320x240
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x240
-    LayoutBlockFlow {DIV} at (0,208) size 320x32
-layer at (8,294) size 320x198
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x198
-layer at (8,502) size 320x32 scrollHeight 40
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x32 [bgcolor=#FAFAFA]
-    LayoutButton {INPUT} at (0,0) size 32x32
-    LayoutFlexibleBox {DIV} at (32,0) size 23.36x32 [color=#5A5A5A]
-      LayoutBlockFlow (anonymous) at (0,0) size 23.36x32
-        LayoutText {#text} at (0,9) size 24x14
-          text run at (0,9) width 24: "0:00"
-    LayoutSlider {INPUT} at (73.36,1) size 71.64x30
-      LayoutFlexibleBox {DIV} at (0,14) size 71.64x2
-    LayoutButton {INPUT} at (163,0) size 32x32
-    LayoutSlider {INPUT} at (213,1) size 25x30
-      LayoutFlexibleBox {DIV} at (0,14) size 25x2
-    LayoutButton {INPUT} at (288,0) size 32x32
-layer at (264,502) size 32x32
-  LayoutButton {INPUT} at (256,0) size 32x32
-layer at (63,518) size 108x0
-  LayoutBlockFlow (relative positioned) {DIV} at (-18,1) size 107.64x0
-layer at (81,517) size 72x2
-  LayoutBlockFlow (positioned) {DIV} at (18,-1) size 71.64x2 [bgcolor=#DADADA]
-layer at (203,518) size 61x0
-  LayoutBlockFlow (relative positioned) {DIV} at (-18,1) size 61x0
-layer at (221,517) size 25x2
-  LayoutBlockFlow (positioned) {DIV} at (18,-1) size 25x2 [bgcolor=#DADADA]
-layer at (81,517) size 72x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 72x2 [bgcolor=#5A5A5A]
-layer at (81,517) size 0x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#4285F4]
-layer at (221,517) size 0x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#5A5A5A]
-layer at (221,517) size 25x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 25x2 [bgcolor=#4285F4]
-layer at (63,494) size 36x48 backgroundClip at (8,502) size 320x32 clip at (8,502) size 320x32
-  LayoutBlockFlow (positioned) zI: 2 {DIV} at (0,-24) size 36x48
-layer at (228,494) size 36x48 backgroundClip at (8,502) size 320x32 clip at (8,502) size 320x32
-  LayoutBlockFlow (positioned) zI: 2 {DIV} at (25,-24) size 36x48
-layer at (8,538) size 320x240 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutVideo (positioned) {VIDEO} at (8,538) size 320x240
-layer at (8,538) size 320x240 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x240
-    LayoutBlockFlow {DIV} at (0,208) size 320x32
-layer at (8,538) size 320x198 backgroundClip at (8,538) size 320x62 clip at (8,538) size 320x62
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x198
-layer at (8,746) size 320x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 40
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x32 [bgcolor=#FAFAFA]
-    LayoutButton {INPUT} at (0,0) size 32x32
-    LayoutFlexibleBox {DIV} at (32,0) size 23.36x32 [color=#5A5A5A]
-      LayoutBlockFlow (anonymous) at (0,0) size 23.36x32
-        LayoutText {#text} at (0,9) size 24x14
-          text run at (0,9) width 24: "0:00"
-    LayoutSlider {INPUT} at (73.36,1) size 71.64x30
-      LayoutFlexibleBox {DIV} at (0,14) size 71.64x2
-    LayoutButton {INPUT} at (163,0) size 32x32
-    LayoutSlider {INPUT} at (213,1) size 25x30
-      LayoutFlexibleBox {DIV} at (0,14) size 25x2
-    LayoutButton {INPUT} at (288,0) size 32x32
-layer at (264,746) size 32x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutButton {INPUT} at (256,0) size 32x32
-layer at (63,762) size 108x0
-  LayoutBlockFlow (relative positioned) {DIV} at (-18,1) size 107.64x0
-layer at (81,761) size 72x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutBlockFlow (positioned) {DIV} at (18,-1) size 71.64x2 [bgcolor=#DADADA]
-layer at (203,762) size 61x0
-  LayoutBlockFlow (relative positioned) {DIV} at (-18,1) size 61x0
-layer at (221,761) size 25x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutBlockFlow (positioned) {DIV} at (18,-1) size 25x2 [bgcolor=#DADADA]
-layer at (81,761) size 72x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 72x2 [bgcolor=#5A5A5A]
-layer at (81,761) size 0x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#4285F4]
-layer at (221,761) size 0x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#5A5A5A]
-layer at (221,761) size 25x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 25x2 [bgcolor=#4285F4]
-layer at (63,738) size 36x48 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutBlockFlow (positioned) zI: 2 {DIV} at (0,-24) size 36x48
-layer at (228,738) size 36x48 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutBlockFlow (positioned) zI: 2 {DIV} at (25,-24) size 36x48
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.png
deleted file mode 100644
index 65da69a..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.txt
deleted file mode 100644
index 5c02a1f..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 778
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 785x546
-  LayoutBlockFlow {HTML} at (0,0) size 785x546
-    LayoutBlockFlow {BODY} at (8,16) size 769x522
-      LayoutBlockFlow {P} at (0,0) size 769x18
-        LayoutText {#text} at (0,0) size 354x18
-          text run at (0,0) width 354: "Test overlay cast button rendering on dark background."
-      LayoutBlockFlow {DIV} at (0,34) size 769x244
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {DIV} at (0,278) size 769x244
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {DIV} at (0,522) size 769x0
-layer at (8,50) size 320x240
-  LayoutVideo {VIDEO} at (0,0) size 320x240
-layer at (8,294) size 320x240
-  LayoutVideo {VIDEO} at (0,0) size 320x240
-layer at (8,50) size 320x240
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x240
-    LayoutBlockFlow {DIV} at (0,208) size 320x32
-layer at (8,50) size 320x198
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x198
-layer at (16,58) size 32x32
-  LayoutButton (positioned) {INPUT} at (8,8) size 32x32
-layer at (8,294) size 320x240
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x240
-    LayoutBlockFlow {DIV} at (0,208) size 320x32
-layer at (8,294) size 320x198
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x198
-layer at (16,302) size 32x32
-  LayoutButton (positioned) {INPUT} at (8,8) size 32x32
-layer at (8,538) size 320x240 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutVideo (positioned) {VIDEO} at (8,538) size 320x240
-layer at (8,538) size 320x240 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x240
-    LayoutBlockFlow {DIV} at (0,208) size 320x32
-layer at (8,538) size 320x198 backgroundClip at (8,538) size 320x62 clip at (8,538) size 320x62
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x198
-layer at (16,546) size 32x32
-  LayoutButton (positioned) {INPUT} at (8,8) size 32x32
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.png
deleted file mode 100644
index 23d7968..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.txt
deleted file mode 100644
index d9f33899..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 870
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 785x616 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutBlockFlow {HTML} at (0,0) size 785x615.81
-    LayoutBlockFlow {BODY} at (8,16) size 769x591.81
-      LayoutBlockFlow {P} at (0,0) size 769x18
-        LayoutText {#text} at (0,0) size 355x18
-          text run at (0,0) width 355: "Test overlay cast button rendering on light background."
-      LayoutBlockFlow {DIV} at (0,34) size 769x292
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {DIV} at (0,326) size 769x265.81
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {DIV} at (0,591.81) size 769x0
-layer at (8,50) size 352x288
-  LayoutVideo {VIDEO} at (0,0) size 352x288
-layer at (8,342) size 320x262 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutVideo {VIDEO} at (0,0) size 320x261.81
-layer at (8,50) size 352x288
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 352x288
-    LayoutBlockFlow {DIV} at (0,256) size 352x32
-layer at (8,50) size 352x246
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 352x246
-layer at (16,58) size 32x32
-  LayoutButton (positioned) {INPUT} at (8,8) size 32x32
-layer at (8,342) size 320x262 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x261.81
-    LayoutBlockFlow {DIV} at (0,229.81) size 320x32
-layer at (8,342) size 320x220
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x219.81
-layer at (16,350) size 32x32
-  LayoutButton (positioned) {INPUT} at (8,8) size 32x32
-layer at (8,608) size 320x262 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutVideo (positioned) {VIDEO} at (8,607.81) size 320x261.81
-layer at (8,608) size 320x262 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x261.81
-    LayoutBlockFlow {DIV} at (0,229.81) size 320x32
-layer at (8,608) size 320x220 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x219.81
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/ancestor-overflow-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/ancestor-overflow-expected.png
deleted file mode 100644
index 1f2c5de..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/ancestor-overflow-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/fixed-position-ancestor-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/fixed-position-ancestor-clip-expected.txt
deleted file mode 100644
index 28ac1b8..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/fixed-position-ancestor-clip-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600 scrollX 50.00 scrollY 50.00 scrollWidth 1008 scrollHeight 1016
-  LayoutView at (0,0) size 800x600
-layer at (-50,-50) size 800x1016 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x1016
-    LayoutBlockFlow {BODY} at (8,8) size 1000x1000
-layer at (0,116) size 321x18
-  LayoutBlockFlow (positioned) {P} at (50,166) size 320.55x18
-    LayoutText {#text} at (0,0) size 321x18
-      text run at (0,0) width 321: "You should see a single green square, with no red."
-layer at (8,8) size 100x100
-  LayoutBlockFlow (positioned) {DIV} at (8,8) size 100x100 [bgcolor=#FF0000]
-layer at (8,8) size 100x100
-  LayoutBlockFlow {DIV} at (0,0) size 100x100 [bgcolor=#008000]
-scrolled to 50,50
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.txt
deleted file mode 100644
index 6f735c04..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x270
-  LayoutBlockFlow {HTML} at (0,0) size 800x270
-    LayoutBlockFlow {BODY} at (8,16) size 784x246
-      LayoutBlockFlow {P} at (0,0) size 784x18
-        LayoutText {#text} at (0,0) size 534x18
-          text run at (0,0) width 534: "Testing masks on compositing layers. Left and right columns should look the same."
-      LayoutBlockFlow (anonymous) at (0,34) size 784x212
-        LayoutText {#text} at (208,194) size 4x18
-          text run at (208,194) width 4: " "
-        LayoutText {#text} at (0,0) size 0x0
-layer at (8,50) size 208x208 clip at (12,54) size 200x200 scrollWidth 225 scrollHeight 225
-  LayoutBlockFlow (relative positioned) {DIV} at (0,0) size 208x208 [bgcolor=#0000FF] [border: (4px solid #FF0000)]
-layer at (187,229) size 50x50 backgroundClip at (12,54) size 200x200 clip at (12,54) size 200x200
-  LayoutBlockFlow (positioned) {DIV} at (179,179) size 50x50 [bgcolor=#000000]
-layer at (270,50) size 208x208 clip at (274,54) size 200x200 scrollWidth 225 scrollHeight 225
-  LayoutBlockFlow (relative positioned) {DIV} at (212,0) size 208x208 [bgcolor=#0000FF] [border: (4px solid #FF0000)]
-layer at (449,229) size 50x50 backgroundClip at (274,54) size 200x200 clip at (274,54) size 200x200
-  LayoutBlockFlow (positioned) {DIV} at (179,179) size 50x50 [bgcolor=#000000]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.png
deleted file mode 100644
index 613356f48..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.txt
deleted file mode 100644
index 8b72939..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.txt
+++ /dev/null
@@ -1,56 +0,0 @@
-layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 836
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 785x836 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutBlockFlow {HTML} at (0,0) size 785x836
-    LayoutBlockFlow {BODY} at (8,8) size 769x820
-      LayoutBlockFlow (anonymous) at (0,0) size 769x18
-        LayoutText {#text} at (0,0) size 83x18
-          text run at (0,0) width 83: "Text outside."
-layer at (8,26) size 702x802 backgroundClip at (8,26) size 702x574 clip at (9,27) size 685x573 scrollHeight 1286
-  LayoutBlockFlow {DIV} at (0,18) size 702x802 [border: (1px solid #000000)]
-    LayoutBlockFlow {P} at (1,17) size 685x165
-      LayoutText {#text} at (0,7) size 668x150
-        text run at (0,7) width 659: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
-        text run at (0,40) width 668: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip"
-        text run at (0,73) width 668: "ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu"
-        text run at (0,106) width 651: "fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt"
-        text run at (0,139) width 174: "mollit anim id est laborum."
-    LayoutBlockFlow {P} at (1,230) size 685x165
-      LayoutText {#text} at (0,7) size 668x150
-        text run at (0,7) width 659: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
-        text run at (0,40) width 668: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip"
-        text run at (0,73) width 668: "ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu"
-        text run at (0,106) width 651: "fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt"
-        text run at (0,139) width 174: "mollit anim id est laborum."
-    LayoutBlockFlow {P} at (1,861) size 685x165
-      LayoutText {#text} at (0,7) size 668x150
-        text run at (0,7) width 659: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
-        text run at (0,40) width 668: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip"
-        text run at (0,73) width 668: "ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu"
-        text run at (0,106) width 651: "fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt"
-        text run at (0,139) width 174: "mollit anim id est laborum."
-    LayoutBlockFlow {P} at (1,1074) size 685x165
-      LayoutText {#text} at (0,7) size 668x150
-        text run at (0,7) width 659: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et"
-        text run at (0,40) width 668: "dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip"
-        text run at (0,73) width 668: "ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu"
-        text run at (0,106) width 651: "fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt"
-        text run at (0,139) width 174: "mollit anim id est laborum."
-layer at (19,469) size 602x402 backgroundClip at (19,469) size 602x131 clip at (20,470) size 585x130 scrollHeight 508
-  LayoutBlockFlow {DIV} at (11,443) size 602x402 [border: (1px solid #000000)]
-    LayoutBlockFlow {P} at (1,17) size 585x198
-      LayoutText {#text} at (0,7) size 583x183
-        text run at (0,7) width 583: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt"
-        text run at (0,40) width 549: "ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation"
-        text run at (0,73) width 522: "ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in"
-        text run at (0,106) width 568: "reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint"
-        text run at (0,139) width 537: "occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est"
-        text run at (0,172) width 58: "laborum."
-    LayoutBlockFlow {P} at (1,263) size 585x198
-      LayoutText {#text} at (0,7) size 583x183
-        text run at (0,7) width 583: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt"
-        text run at (0,40) width 549: "ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation"
-        text run at (0,73) width 522: "ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in"
-        text run at (0,106) width 568: "reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint"
-        text run at (0,139) width 537: "occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est"
-        text run at (0,172) width 58: "laborum."
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/overflow-compositing-descendant-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/overflow-compositing-descendant-expected.txt
deleted file mode 100644
index df2af01..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/overflow-compositing-descendant-expected.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x50
-  LayoutBlockFlow {HTML} at (0,0) size 800x50
-    LayoutBlockFlow {BODY} at (8,16) size 784x18
-      LayoutBlockFlow {P} at (0,0) size 784x18
-        LayoutText {#text} at (0,0) size 473x18
-          text run at (0,0) width 473: "You should see a green box under the video. If you see red, the test failed."
-layer at (8,50) size 132x222 clip at (9,51) size 130x220 scrollHeight 224
-  LayoutBlockFlow (positioned) {DIV} at (8,50) size 132x222 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
-    LayoutBlockFlow (anonymous) at (11,11) size 110x104
-      LayoutText {#text} at (0,0) size 0x0
-    LayoutBlockFlow {DIV} at (11,115) size 100x100 [bgcolor=#FF0000]
-layer at (19,61) size 100x100
-  LayoutVideo {VIDEO} at (0,0) size 100x100 [bgcolor=#000000]
-layer at (19,61) size 100x100
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 100x100
-    LayoutBlockFlow {DIV} at (0,68) size 100x32
-layer at (19,61) size 100x58
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 100x58
-layer at (19,165) size 100x100
-  LayoutBlockFlow (relative positioned) {DIV} at (11,115) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/remove-overflow-crash2-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/remove-overflow-crash2-expected.txt
deleted file mode 100644
index bde0499..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/remove-overflow-crash2-expected.txt
+++ /dev/null
@@ -1,92 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x218
-  LayoutBlockFlow {HTML} at (0,0) size 800x218
-    LayoutBlockFlow {BODY} at (8,8) size 784x202
-layer at (8,8) size 103x202 clip at (9,9) size 86x185 scrollHeight 1512
-  LayoutBlockFlow {DIV} at (0,0) size 103x202 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,1) size 86x1512
-      text run at (1,1) width 86: "Lorem ipsum"
-      text run at (1,19) width 53: "dolor sit"
-      text run at (1,37) width 36: "amet,"
-      text run at (1,55) width 73: "consectetur"
-      text run at (1,73) width 71: "adipisicing"
-      text run at (1,91) width 70: "elit, sed do"
-      text run at (1,109) width 55: "eiusmod"
-      text run at (1,127) width 46: "tempor"
-      text run at (1,145) width 82: "incididunt ut"
-      text run at (1,163) width 56: "labore et"
-      text run at (1,181) width 41: "dolore"
-      text run at (1,199) width 43: "magna"
-      text run at (1,217) width 64: "aliqua. Ut"
-      text run at (1,235) width 52: "enim ad"
-      text run at (1,253) width 42: "minim"
-      text run at (1,271) width 82: "veniam, quis"
-      text run at (1,289) width 48: "nostrud"
-      text run at (1,307) width 76: "exercitation"
-      text run at (1,325) width 52: "ullamco"
-      text run at (1,343) width 71: "laboris nisi"
-      text run at (1,361) width 80: "ut aliquip ex"
-      text run at (1,379) width 83: "ea commodo"
-      text run at (1,397) width 68: "consequat."
-      text run at (1,415) width 61: "Duis aute"
-      text run at (1,433) width 85: "irure dolor in"
-      text run at (1,451) width 86: "reprehenderit"
-      text run at (1,469) width 76: "in voluptate"
-      text run at (1,487) width 60: "velit esse"
-      text run at (1,505) width 86: "cillum dolore"
-      text run at (1,523) width 57: "eu fugiat"
-      text run at (1,541) width 32: "nulla"
-      text run at (1,559) width 53: "pariatur."
-      text run at (1,577) width 65: "Excepteur"
-      text run at (1,595) width 83: "sint occaecat"
-      text run at (1,613) width 59: "cupidatat"
-      text run at (1,631) width 86: "non proident,"
-      text run at (1,649) width 82: "sunt in culpa"
-      text run at (1,667) width 66: "qui officia"
-      text run at (1,685) width 55: "deserunt"
-      text run at (1,703) width 75: "mollit anim"
-      text run at (1,721) width 35: "id est"
-      text run at (1,739) width 58: "laborum."
-      text run at (1,757) width 86: "Lorem ipsum"
-      text run at (1,775) width 53: "dolor sit"
-      text run at (1,793) width 36: "amet,"
-      text run at (1,811) width 73: "consectetur"
-      text run at (1,829) width 71: "adipisicing"
-      text run at (1,847) width 70: "elit, sed do"
-      text run at (1,865) width 55: "eiusmod"
-      text run at (1,883) width 46: "tempor"
-      text run at (1,901) width 82: "incididunt ut"
-      text run at (1,919) width 56: "labore et"
-      text run at (1,937) width 41: "dolore"
-      text run at (1,955) width 43: "magna"
-      text run at (1,973) width 64: "aliqua. Ut"
-      text run at (1,991) width 52: "enim ad"
-      text run at (1,1009) width 42: "minim"
-      text run at (1,1027) width 82: "veniam, quis"
-      text run at (1,1045) width 48: "nostrud"
-      text run at (1,1063) width 76: "exercitation"
-      text run at (1,1081) width 52: "ullamco"
-      text run at (1,1099) width 71: "laboris nisi"
-      text run at (1,1117) width 80: "ut aliquip ex"
-      text run at (1,1135) width 83: "ea commodo"
-      text run at (1,1153) width 68: "consequat."
-      text run at (1,1171) width 61: "Duis aute"
-      text run at (1,1189) width 85: "irure dolor in"
-      text run at (1,1207) width 86: "reprehenderit"
-      text run at (1,1225) width 76: "in voluptate"
-      text run at (1,1243) width 60: "velit esse"
-      text run at (1,1261) width 86: "cillum dolore"
-      text run at (1,1279) width 57: "eu fugiat"
-      text run at (1,1297) width 32: "nulla"
-      text run at (1,1315) width 53: "pariatur."
-      text run at (1,1333) width 65: "Excepteur"
-      text run at (1,1351) width 83: "sint occaecat"
-      text run at (1,1369) width 59: "cupidatat"
-      text run at (1,1387) width 86: "non proident,"
-      text run at (1,1405) width 82: "sunt in culpa"
-      text run at (1,1423) width 66: "qui officia"
-      text run at (1,1441) width 55: "deserunt"
-      text run at (1,1459) width 75: "mollit anim"
-      text run at (1,1477) width 35: "id est"
-      text run at (1,1495) width 58: "laborum."
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.png
deleted file mode 100644
index a3d77e0..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.txt
deleted file mode 100644
index 332d981..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x104
-  LayoutBlockFlow {HTML} at (0,0) size 800x104
-    LayoutBlockFlow {BODY} at (0,0) size 800x104
-      LayoutText {#text} at (0,0) size 0x0
-layer at (0,0) size 100x100
-  LayoutVideo {VIDEO} at (0,0) size 100x100
-layer at (50,50) size 100x100
-  LayoutBlockFlow (positioned) {DIV} at (50,50) size 100x100 [bgcolor=#FF0000]
-layer at (50,50) size 200x200
-  LayoutBlockFlow (positioned) {DIV} at (50,50) size 200x200
-    LayoutBlockFlow {P} at (0,218) size 200x54
-      LayoutText {#text} at (0,0) size 193x54
-        text run at (0,0) width 193: "The green box should obscure"
-        text run at (0,18) width 182: "the red box, and move when"
-        text run at (0,36) width 144: "you drag the scrollbar."
-layer at (50,50) size 202x202 clip at (51,51) size 185x200 scrollY 50.00 scrollHeight 550
-  LayoutBlockFlow {DIV} at (0,0) size 202x202 [border: (1px solid #000000)]
-    LayoutBlockFlow {DIV} at (1,51) size 185x500
-layer at (51,51) size 100x100
-  LayoutBlockFlow (relative positioned) {DIV} at (0,0) size 100x100 [bgcolor=#008000]
-layer at (0,0) size 100x100
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 100x100
-    LayoutBlockFlow {DIV} at (0,68) size 100x32
-layer at (0,0) size 100x58
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 100x58
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.png
deleted file mode 100644
index 5b0bf80..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.txt
deleted file mode 100644
index ba1f6c6..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x84
-  LayoutBlockFlow {HTML} at (0,0) size 800x84
-    LayoutBlockFlow {BODY} at (8,8) size 784x68
-      LayoutBlockFlow (anonymous) at (0,0) size 784x18
-        LayoutText {#text} at (0,0) size 132x18
-          text run at (0,0) width 132: "PASS if not crashed."
-layer at (8,26) size 50x50 clip at (8,26) size 36x36 scrollWidth 200 scrollHeight 200
-  LayoutBlockFlow {DIV} at (0,18) size 50x50
-    LayoutBlockFlow {DIV} at (0,0) size 200x200
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.png
deleted file mode 100644
index ef18458..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.txt
deleted file mode 100644
index 6d3101e6..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.txt
+++ /dev/null
@@ -1,127 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (165,0) size 4x18
-        text run at (165,0) width 4: " "
-      LayoutText {#text} at (334,0) size 4x18
-        text run at (334,0) width 4: " "
-      LayoutText {#text} at (503,0) size 4x18
-        text run at (503,0) width 4: " "
-      LayoutText {#text} at (0,0) size 0x0
-      LayoutText {#text} at (165,140) size 4x18
-        text run at (165,140) width 4: " "
-      LayoutText {#text} at (334,140) size 4x18
-        text run at (334,140) width 4: " "
-      LayoutText {#text} at (0,0) size 0x0
-layer at (28,28) size 125x100 clip at (29,29) size 110x98 scrollHeight 100
-  LayoutListBox {SELECT} at (20,20) size 125x100 [color=#DCDCDC] [bgcolor=#718D93] [border: (1px solid #D3D3D3)]
-    LayoutBlockFlow {OPTION} at (11,11) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "One"
-    LayoutBlockFlow {OPTION} at (11,27) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "Two"
-    LayoutBlockFlow {OPTION} at (11,43) size 90x16
-      LayoutText {#text} at (2,0) size 35x15
-        text run at (2,0) width 35: "Three"
-    LayoutBlockFlow {OPTION} at (11,59) size 90x16
-      LayoutText {#text} at (2,0) size 27x15
-        text run at (2,0) width 27: "Four"
-    LayoutBlockFlow {OPTION} at (11,75) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "Five"
-layer at (197,28) size 125x100 clip at (198,29) size 110x98 scrollHeight 100
-  LayoutListBox {SELECT} at (189,20) size 125x100 [color=#DCDCDC] [bgcolor=#718D93] [border: (1px solid #D3D3D3)]
-    LayoutBlockFlow {OPTION} at (11,11) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "One"
-    LayoutBlockFlow {OPTION} at (11,27) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "Two"
-    LayoutBlockFlow {OPTION} at (11,43) size 90x16
-      LayoutText {#text} at (2,0) size 35x15
-        text run at (2,0) width 35: "Three"
-    LayoutBlockFlow {OPTION} at (11,59) size 90x16
-      LayoutText {#text} at (2,0) size 27x15
-        text run at (2,0) width 27: "Four"
-    LayoutBlockFlow {OPTION} at (11,75) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "Five"
-layer at (366,28) size 125x100 clip at (367,29) size 110x98 scrollHeight 100
-  LayoutListBox {SELECT} at (358,20) size 125x100 [color=#DCDCDC] [bgcolor=#718D93] [border: (1px solid #D3D3D3)]
-    LayoutBlockFlow {OPTION} at (11,11) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "One"
-    LayoutBlockFlow {OPTION} at (11,27) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "Two"
-    LayoutBlockFlow {OPTION} at (11,43) size 90x16
-      LayoutText {#text} at (2,0) size 35x15
-        text run at (2,0) width 35: "Three"
-    LayoutBlockFlow {OPTION} at (11,59) size 90x16
-      LayoutText {#text} at (2,0) size 27x15
-        text run at (2,0) width 27: "Four"
-    LayoutBlockFlow {OPTION} at (11,75) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "Five"
-layer at (535,28) size 125x100 clip at (536,29) size 110x98 scrollHeight 100
-  LayoutListBox {SELECT} at (527,20) size 125x100 [color=#DCDCDC] [bgcolor=#718D93] [border: (1px solid #D3D3D3)]
-    LayoutBlockFlow {OPTION} at (11,11) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "One"
-    LayoutBlockFlow {OPTION} at (11,27) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "Two"
-    LayoutBlockFlow {OPTION} at (11,43) size 90x16
-      LayoutText {#text} at (2,0) size 35x15
-        text run at (2,0) width 35: "Three"
-    LayoutBlockFlow {OPTION} at (11,59) size 90x16
-      LayoutText {#text} at (2,0) size 27x15
-        text run at (2,0) width 27: "Four"
-    LayoutBlockFlow {OPTION} at (11,75) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "Five"
-layer at (28,168) size 125x100 clip at (29,169) size 110x98 scrollHeight 100
-  LayoutListBox {SELECT} at (20,160) size 125x100 [color=#DCDCDC] [bgcolor=#718D93] [border: (1px solid #D3D3D3)]
-    LayoutBlockFlow {OPTION} at (11,11) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "One"
-    LayoutBlockFlow {OPTION} at (11,27) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "Two"
-    LayoutBlockFlow {OPTION} at (11,43) size 90x16
-      LayoutText {#text} at (2,0) size 35x15
-        text run at (2,0) width 35: "Three"
-    LayoutBlockFlow {OPTION} at (11,59) size 90x16
-      LayoutText {#text} at (2,0) size 27x15
-        text run at (2,0) width 27: "Four"
-    LayoutBlockFlow {OPTION} at (11,75) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "Five"
-layer at (197,168) size 125x100 clip at (198,169) size 110x98 scrollHeight 100
-  LayoutListBox {SELECT} at (189,160) size 125x100 [color=#DCDCDC] [bgcolor=#718D93] [border: (1px solid #D3D3D3)]
-    LayoutBlockFlow {OPTION} at (11,11) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "One"
-    LayoutBlockFlow {OPTION} at (11,27) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "Two"
-    LayoutBlockFlow {OPTION} at (11,43) size 90x16
-      LayoutText {#text} at (2,0) size 35x15
-        text run at (2,0) width 35: "Three"
-    LayoutBlockFlow {OPTION} at (11,59) size 90x16
-      LayoutText {#text} at (2,0) size 27x15
-        text run at (2,0) width 27: "Four"
-    LayoutBlockFlow {OPTION} at (11,75) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "Five"
-layer at (366,168) size 125x100 clip at (367,169) size 110x98
-  LayoutListBox {SELECT} at (358,160) size 125x100 [color=#DCDCDC] [bgcolor=#718D93] [border: (1px solid #D3D3D3)]
-    LayoutBlockFlow {OPTION} at (11,11) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "One"
-    LayoutBlockFlow {OPTION} at (11,27) size 90x16
-      LayoutText {#text} at (2,0) size 25x15
-        text run at (2,0) width 25: "Two"
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.txt
deleted file mode 100644
index 4680d963..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x576
-      LayoutBlockFlow {P} at (0,0) size 784x18
-        LayoutText {#text} at (0,0) size 673x18
-          text run at (0,0) width 673: "This test passes if the custom scrollbar paints in the corrext spot, which is at the bottom of the purple div."
-layer at (8,50) size 319x550 clip at (9,51) size 302x548 scrollHeight 1311
-  LayoutBlockFlow (positioned) {DIV} at (8,50) size 319x550 [border: (1px solid #FF0000)]
-    LayoutBlockFlow {DIV} at (1,412) size 15x900 [bgcolor=#008000]
-layer at (9,51) size 302x411 clip at (10,52) size 300x400 scrollWidth 500
-  LayoutBlockFlow {DIV} at (1,1) size 302x411 [border: (1px solid #0000FF)]
-    LayoutBlockFlow {DIV} at (1,1) size 500x400 [bgcolor=#800080]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/animations/3d/matrix-transform-type-animation-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/animations/3d/matrix-transform-type-animation-expected.png
deleted file mode 100644
index e712a3c..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/animations/3d/matrix-transform-type-animation-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/compositing/webgl/webgl-background-color-expected.png b/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/compositing/webgl/webgl-background-color-expected.png
deleted file mode 100644
index 8d83b949..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/compositing/webgl/webgl-background-color-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/compositing/webgl/webgl-background-color-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/compositing/webgl/webgl-background-color-expected.txt
deleted file mode 100644
index 6a341961..0000000
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/compositing/webgl/webgl-background-color-expected.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x534
-  LayoutBlockFlow {HTML} at (0,0) size 800x534
-    LayoutBlockFlow {BODY} at (8,20) size 784x498
-      LayoutBlockFlow {DIV} at (20,0) size 240x200 [bgcolor=#00008080]
-      LayoutBlockFlow (anonymous) at (0,220) size 784x244
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {P} at (0,480) size 784x18
-        LayoutText {#text} at (0,0) size 245x18
-          text run at (0,0) width 245: "Top and bottom should look the same."
-layer at (28,260) size 240x200
-  LayoutHTMLCanvas {CANVAS} at (20,20) size 240x200 [bgcolor=#00008080]
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/compositing-visible-descendant-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/compositing-visible-descendant-expected.txt
index eba3a68..e533a01 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/compositing-visible-descendant-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/compositing-visible-descendant-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 243x19
-          text run at (0,0) width 243: "You should see one green square below."
+        LayoutText {#text} at (0,0) size 242x19
+          text run at (0,0) width 242: "You should see one green square below."
 layer at (20,40) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (20,40) size 100x100 [bgcolor=#FF0000]
 hidden layer at (20,40) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/direct-image-compositing-expected.png b/third_party/WebKit/LayoutTests/platform/win/compositing/direct-image-compositing-expected.png
index 89396abc..eda13ed5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/direct-image-compositing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/direct-image-compositing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/direct-image-compositing-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/direct-image-compositing-expected.txt
index 6de5f39..fb7b6cf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/direct-image-compositing-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/direct-image-compositing-expected.txt
@@ -11,7 +11,7 @@
           text run at (0,0) width 564: "This test exercises direct compositing of images with hardware acceleration. The visual results "
           text run at (564,0) width 30: "using"
           text run at (0,20) width 639: "ACCELERATED_COMPOSITING and regular TOT should be identical. Running this test manually with "
-          text run at (638,20) width 107: "the correct debug"
+          text run at (639,20) width 106: "the correct debug"
           text run at (0,40) width 379: "options will show which elements are directly composited. See "
         LayoutInline {A} at (0,0) size 291x19 [color=#0000EE]
           LayoutText {#text} at (379,40) size 291x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/generated-content-expected.png b/third_party/WebKit/LayoutTests/platform/win/compositing/generated-content-expected.png
index 25ab515..ad70849 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/generated-content-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/generated-content-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/abs-position-inside-opacity-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/abs-position-inside-opacity-expected.txt
index 666aa9b..8272342a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/abs-position-inside-opacity-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/abs-position-inside-opacity-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x542
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 312x19
-          text run at (0,0) width 312: "You should see two green boxes below, with no red"
+        LayoutText {#text} at (0,0) size 311x19
+          text run at (0,0) width 311: "You should see two green boxes below, with no red"
 layer at (58,78) size 120x120
   LayoutBlockFlow (relative positioned) {DIV} at (50,70) size 120x120 [border: (1px solid #000000)]
 layer at (69,89) size 100x100 transparent
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/clipping-foreground-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/clipping-foreground-expected.txt
index 667ca01..29c2a58 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/clipping-foreground-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/clipping-foreground-expected.txt
@@ -27,9 +27,9 @@
       text run at (30,71) width 126: "contents"
 layer at (158,351) size 150x150
   LayoutBlockFlow (positioned) zI: 1 {DIV} at (90,90) size 150x150 [color=#808080] [bgcolor=#C8C880] [border: (2px solid #000000)]
-    LayoutText zI: 1 {#text} at (22,22) size 87x81
+    LayoutText zI: 1 {#text} at (22,22) size 86x81
       text run at (22,22) width 33: "In"
-      text run at (22,63) width 87: "Front"
+      text run at (22,63) width 86: "Front"
 layer at (392,104) size 200x200 clip at (402,114) size 180x180 scrollWidth 230 scrollHeight 230 layerType: background only
 layer at (352,64) size 150x150 backgroundClip at (402,114) size 180x180 clip at (402,114) size 180x180
   LayoutBlockFlow (positioned) zI: -1 {DIV} at (-40,-40) size 150x150 [color=#808080] [bgcolor=#C86464] [border: (2px solid #000000)]
@@ -47,6 +47,6 @@
       text run at (30,71) width 126: "contents"
 layer at (482,194) size 150x150 backgroundClip at (402,114) size 180x180 clip at (402,114) size 180x180
   LayoutBlockFlow (positioned) zI: 1 {DIV} at (90,90) size 150x150 [color=#808080] [bgcolor=#C8C880] [border: (2px solid #000000)]
-    LayoutText zI: 1 {#text} at (22,22) size 87x81
+    LayoutText zI: 1 {#text} at (22,22) size 86x81
       text run at (22,22) width 33: "In"
-      text run at (22,63) width 87: "Front"
+      text run at (22,63) width 86: "Front"
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/fixed-in-composited-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/fixed-in-composited-expected.txt
index 461a809..4a46a48 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/fixed-in-composited-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/fixed-in-composited-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x1000
     LayoutBlockFlow {BODY} at (0,0) size 785x1000
       LayoutBlockFlow {P} at (0,210) size 785x20
-        LayoutText {#text} at (0,0) size 180x19
-          text run at (0,0) width 180: "You should see no red above."
+        LayoutText {#text} at (0,0) size 179x19
+          text run at (0,0) width 179: "You should see no red above."
 layer at (20,20) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (20,70) size 100x100 [bgcolor=#FF0000]
 layer at (220,70) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/fixed-position-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/fixed-position-expected.txt
index 57a7cc47a..afdac460 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/fixed-position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/fixed-position-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x1016
     LayoutBlockFlow {BODY} at (8,8) size 1000x1000
 layer at (0,116) size 418x20
-  LayoutBlockFlow (positioned) {P} at (50,166) size 418.41x20
-    LayoutText {#text} at (0,0) size 419x19
-      text run at (0,0) width 419: "You should see a green square in the top left corner of an orange box."
+  LayoutBlockFlow (positioned) {P} at (50,166) size 418x20
+    LayoutText {#text} at (0,0) size 418x19
+      text run at (0,0) width 418: "You should see a green square in the top left corner of an orange box."
 layer at (0,0) size 100x100 transparent
   LayoutBlockFlow (positioned) {DIV} at (0,0) size 100x100 [bgcolor=#FFA500]
 layer at (0,0) size 50x50
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/root-layer-update-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/root-layer-update-expected.txt
index 8fe6aca..13e078ed 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/root-layer-update-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/root-layer-update-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 146x19
             text run at (0,0) width 146: "rdar://problem/7026010"
         LayoutBR {BR} at (146,0) size 0x19
-        LayoutText {#text} at (0,20) size 443x19
-          text run at (0,20) width 443: "Test for the root layer getting correctly positioned. You should see no red."
+        LayoutText {#text} at (0,20) size 442x19
+          text run at (0,20) width 442: "Test for the root layer getting correctly positioned. You should see no red."
 layer at (350,1) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (350,1) size 100x100 [bgcolor=#FF0000]
 layer at (-100,0) size 300x100 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt
index ce4839bb..f89662a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt
@@ -9,8 +9,8 @@
         LayoutInline {A} at (0,0) size 40x19 [color=#0000EE]
           LayoutText {#text} at (28,0) size 40x19
             text run at (28,0) width 40: "29495"
-        LayoutText {#text} at (68,0) size 310x19
-          text run at (68,0) width 310: ". You should see one green box below, with no red."
+        LayoutText {#text} at (68,0) size 309x19
+          text run at (68,0) width 309: ". You should see one green box below, with no red."
 layer at (10,60) size 50x50
   LayoutBlockFlow (positioned) {DIV} at (10,60) size 50x50 [bgcolor=#FF0000]
 layer at (10,10) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/gestures/gesture-tapHighlight-pixel-rotated-div-expected.png b/third_party/WebKit/LayoutTests/platform/win/compositing/gestures/gesture-tapHighlight-pixel-rotated-div-expected.png
index 05283b9..33e1ed6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/gestures/gesture-tapHighlight-pixel-rotated-div-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/gestures/gesture-tapHighlight-pixel-rotated-div-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/gestures/gesture-tapHighlight-pixel-rotated-link-expected.png b/third_party/WebKit/LayoutTests/platform/win/compositing/gestures/gesture-tapHighlight-pixel-rotated-link-expected.png
index bd709dc1..c148b7b7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/gestures/gesture-tapHighlight-pixel-rotated-link-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/gestures/gesture-tapHighlight-pixel-rotated-link-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/iframes/composited-iframe-alignment-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/iframes/composited-iframe-alignment-expected.txt
index 00c4f95f..240b7c4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/iframes/composited-iframe-alignment-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/iframes/composited-iframe-alignment-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x76
   LayoutBlockFlow {HTML} at (0,0) size 800x76
     LayoutBlockFlow {BODY} at (8,8) size 784x60
-      LayoutText {#text} at (0,0) size 766x39
+      LayoutText {#text} at (0,0) size 765x39
         text run at (0,0) width 567: "Simple test of composited iframe content. There should be a blue box with a gray background "
-        text run at (567,0) width 199: "inside the black border. The gray"
+        text run at (567,0) width 198: "inside the black border. The gray"
         text run at (0,20) width 334: "background should fit perfectly within the block border "
         text run at (334,20) width 84: "with no gaps. "
       LayoutBR {BR} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/fixed-position-ancestor-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/fixed-position-ancestor-clip-expected.txt
index 04e7004..e7f52b2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/fixed-position-ancestor-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/fixed-position-ancestor-clip-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x1016
     LayoutBlockFlow {BODY} at (8,8) size 1000x1000
 layer at (0,116) size 300x20
-  LayoutBlockFlow (positioned) {P} at (50,166) size 300.41x20
-    LayoutText {#text} at (0,0) size 301x19
-      text run at (0,0) width 301: "You should see a single green square, with no red."
+  LayoutBlockFlow (positioned) {P} at (50,166) size 300x20
+    LayoutText {#text} at (0,0) size 300x19
+      text run at (0,0) width 300: "You should see a single green square, with no red."
 layer at (8,8) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (8,8) size 100x100 [bgcolor=#FF0000]
 layer at (8,8) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/nested-scrolling-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/nested-scrolling-expected.txt
index 83b9bfa..e7bb9e0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/nested-scrolling-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/nested-scrolling-expected.txt
@@ -12,25 +12,25 @@
       LayoutText {#text} at (0,7) size 667x118
         text run at (0,7) width 655: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore"
         text run at (0,40) width 667: "magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo"
-        text run at (0,73) width 641: "consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."
+        text run at (0,73) width 640: "consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."
         text run at (0,106) width 642: "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
     LayoutBlockFlow {P} at (1,197) size 685x132
       LayoutText {#text} at (0,7) size 667x118
         text run at (0,7) width 655: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore"
         text run at (0,40) width 667: "magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo"
-        text run at (0,73) width 641: "consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."
+        text run at (0,73) width 640: "consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."
         text run at (0,106) width 642: "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
     LayoutBlockFlow {P} at (1,795) size 685x132
       LayoutText {#text} at (0,7) size 667x118
         text run at (0,7) width 655: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore"
         text run at (0,40) width 667: "magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo"
-        text run at (0,73) width 641: "consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."
+        text run at (0,73) width 640: "consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."
         text run at (0,106) width 642: "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
     LayoutBlockFlow {P} at (1,975) size 685x132
       LayoutText {#text} at (0,7) size 667x118
         text run at (0,7) width 655: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore"
         text run at (0,40) width 667: "magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo"
-        text run at (0,73) width 641: "consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."
+        text run at (0,73) width 640: "consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."
         text run at (0,106) width 642: "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
 layer at (19,405) size 602x402 backgroundClip at (19,405) size 602x195 clip at (20,406) size 585x194 scrollHeight 442
   LayoutBlockFlow {DIV} at (11,377) size 602x402 [border: (1px solid #000000)]
@@ -39,12 +39,12 @@
         text run at (0,7) width 555: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut"
         text run at (0,40) width 585: "labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris"
         text run at (0,73) width 573: "nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit"
-        text run at (0,106) width 578: "esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in"
+        text run at (0,106) width 577: "esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in"
         text run at (0,139) width 310: "culpa qui officia deserunt mollit anim id est laborum."
     LayoutBlockFlow {P} at (1,230) size 585x165
       LayoutText {#text} at (0,7) size 585x151
         text run at (0,7) width 555: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut"
         text run at (0,40) width 585: "labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris"
         text run at (0,73) width 573: "nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit"
-        text run at (0,106) width 578: "esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in"
+        text run at (0,106) width 577: "esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in"
         text run at (0,139) width 310: "culpa qui officia deserunt mollit anim id est laborum."
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/overflow-compositing-descendant-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/overflow-compositing-descendant-expected.txt
index eaecd54..4f253a9b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/overflow-compositing-descendant-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/overflow-compositing-descendant-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 446x19
-          text run at (0,0) width 446: "You should see a green box under the video. If you see red, the test failed."
+        LayoutText {#text} at (0,0) size 445x19
+          text run at (0,0) width 445: "You should see a green box under the video. If you see red, the test failed."
 layer at (8,52) size 132x222 clip at (9,53) size 130x220 scrollHeight 225
   LayoutBlockFlow (positioned) {DIV} at (8,52) size 132x222 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
     LayoutBlockFlow (anonymous) at (11,11) size 110x105
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/remove-overflow-crash2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/remove-overflow-crash2-expected.txt
index 1b2868cd..e7712dd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/remove-overflow-crash2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/remove-overflow-crash2-expected.txt
@@ -33,7 +33,7 @@
       text run at (1,481) width 54: "velit esse"
       text run at (1,501) width 77: "cillum dolore"
       text run at (1,521) width 81: "eu fugiat nulla"
-      text run at (1,541) width 50: "pariatur."
+      text run at (1,541) width 49: "pariatur."
       text run at (1,561) width 85: "Excepteur sint"
       text run at (1,581) width 54: "occaecat"
       text run at (1,601) width 81: "cupidatat non"
@@ -70,7 +70,7 @@
       text run at (1,1221) width 54: "velit esse"
       text run at (1,1241) width 77: "cillum dolore"
       text run at (1,1261) width 81: "eu fugiat nulla"
-      text run at (1,1281) width 50: "pariatur."
+      text run at (1,1281) width 49: "pariatur."
       text run at (1,1301) width 85: "Excepteur sint"
       text run at (1,1321) width 54: "occaecat"
       text run at (1,1341) width 81: "cupidatat non"
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/scroll-ancestor-update-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/scroll-ancestor-update-expected.txt
index 5f30664..2ddf6d8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/scroll-ancestor-update-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/scroll-ancestor-update-expected.txt
@@ -14,7 +14,7 @@
       LayoutText {#text} at (0,0) size 198x59
         text run at (0,0) width 182: "The green box should obscure"
         text run at (0,20) width 198: "the red box, and move when you"
-        text run at (0,40) width 109: "drag the scrollbar."
+        text run at (0,40) width 108: "drag the scrollbar."
 layer at (50,50) size 202x202 clip at (51,51) size 185x200 scrollY 50.00 scrollHeight 550
   LayoutBlockFlow {DIV} at (0,0) size 202x202 [border: (1px solid #000000)]
     LayoutBlockFlow {DIV} at (1,51) size 185x500
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/scrollbar-painting-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/scrollbar-painting-expected.txt
index 81d13eb..6133cde 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/scrollbar-painting-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/overflow/scrollbar-painting-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x272
     LayoutBlockFlow {BODY} at (8,16) size 784x246
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 455x19
-          text run at (0,0) width 455: "You should see scrollbars on the gray square, and a resizer control below it."
+        LayoutText {#text} at (0,0) size 454x19
+          text run at (0,0) width 454: "You should see scrollbars on the gray square, and a resizer control below it."
 layer at (18,52) size 100x100 clip at (18,52) size 85x85 scrollWidth 500 scrollHeight 500
   LayoutBlockFlow (relative positioned) {DIV} at (10,36) size 100x100
 layer at (18,52) size 500x500 backgroundClip at (18,52) size 85x85 clip at (18,52) size 85x85
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/compositing-change-inside-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/compositing-change-inside-reflection-expected.txt
index a21e6a7..7200b12 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/compositing-change-inside-reflection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/compositing-change-inside-reflection-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 541x19
-          text run at (0,0) width 541: "Test dynamically created compositing layer inside reflection. You should see no red below."
+        LayoutText {#text} at (0,0) size 540x19
+          text run at (0,0) width 540: "Test dynamically created compositing layer inside reflection. You should see no red below."
 layer at (8,52) size 784x0
   LayoutBlockFlow (relative positioned) {DIV} at (0,36) size 784x0
 layer at (19,183) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/load-video-in-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/load-video-in-reflection-expected.txt
index 06f1eeb..800a4b73 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/load-video-in-reflection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/load-video-in-reflection-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x353
     LayoutBlockFlow {BODY} at (8,16) size 784x329
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 471x19
-          text run at (0,0) width 471: "You should see a reflected video below, rather than the red video background."
+        LayoutText {#text} at (0,0) size 470x19
+          text run at (0,0) width 470: "You should see a reflected video below, rather than the red video background."
 layer at (8,52) size 300x293
   LayoutBlockFlow {DIV} at (0,36) size 300x293
     LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/nested-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/nested-reflection-expected.txt
index 85eb9b5..56974bc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/nested-reflection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/nested-reflection-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x308
     LayoutBlockFlow {BODY} at (8,16) size 784x272
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 362x19
-          text run at (0,0) width 362: "You should see the original and three copies of the blue box."
+        LayoutText {#text} at (0,0) size 361x19
+          text run at (0,0) width 361: "You should see the original and three copies of the blue box."
 layer at (28,56) size 122x232
   LayoutBlockFlow {DIV} at (20,40) size 122x232 [border: (1px solid #000000)]
 layer at (39,67) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/nested-reflection-on-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/nested-reflection-on-overflow-expected.txt
index 55a5c48..73a4bdd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/nested-reflection-on-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/nested-reflection-on-overflow-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x308
     LayoutBlockFlow {BODY} at (8,16) size 784x272
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 425x19
-          text run at (0,0) width 425: "You should see the original and three copies of the green box with text."
+        LayoutText {#text} at (0,0) size 424x19
+          text run at (0,0) width 424: "You should see the original and three copies of the green box with text."
 layer at (28,56) size 122x232
   LayoutBlockFlow {DIV} at (20,40) size 122x232 [border: (1px solid #000000)]
 layer at (39,67) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-in-composited-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-in-composited-expected.txt
index 06cabc8..afff792 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-in-composited-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-in-composited-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 391x19
-          text run at (0,0) width 391: "Reflection should not be cropped by being in a composited layer."
+        LayoutText {#text} at (0,0) size 390x19
+          text run at (0,0) width 390: "Reflection should not be cropped by being in a composited layer."
       LayoutBlockFlow {P} at (0,292) size 784x20
         LayoutText {#text} at (0,0) size 227x19
           text run at (0,0) width 227: "This is the next paragraph in the page."
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-ordering-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-ordering-expected.txt
index c17c188..de01996c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-ordering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-ordering-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x196
     LayoutBlockFlow {BODY} at (8,16) size 784x160
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 732x19
-          text run at (0,0) width 732: "You should see a black rectangle divided into two parts; the top part should be taller (reflection should be behind original)."
+        LayoutText {#text} at (0,0) size 731x19
+          text run at (0,0) width 731: "You should see a black rectangle divided into two parts; the top part should be taller (reflection should be behind original)."
 layer at (28,56) size 220x120
   LayoutBlockFlow {DIV} at (20,40) size 220x120 [bgcolor=#FFFFFF] [border: (10px solid #000000)]
     LayoutText {#text} at (67,10) size 86x27
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-positioning-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-positioning-expected.txt
index acc6376..9d9a547 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-positioning-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-positioning-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 484x19
-          text run at (0,0) width 484: "Position of reflected layer should update correctly. You should see no red below."
+        LayoutText {#text} at (0,0) size 483x19
+          text run at (0,0) width 483: "Position of reflected layer should update correctly. You should see no red below."
 layer at (20,50) size 150x120
   LayoutBlockFlow (positioned) {DIV} at (20,50) size 150x120
 layer at (46,185) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-positioning2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-positioning2-expected.txt
index ee7afe9e..a7f8699 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-positioning2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/reflection-positioning2-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 484x19
-          text run at (0,0) width 484: "Position of reflected layer should update correctly. You should see no red below."
+        LayoutText {#text} at (0,0) size 483x19
+          text run at (0,0) width 483: "Position of reflected layer should update correctly. You should see no red below."
 layer at (50,50) size 150x120
   LayoutBlockFlow (positioned) {DIV} at (50,50) size 150x120
 layer at (76,185) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/transform-inside-reflection-expected.png b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/transform-inside-reflection-expected.png
index 0c2948f..6ab434c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/transform-inside-reflection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/transform-inside-reflection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/transform-inside-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/transform-inside-reflection-expected.txt
index ff14d45..d9f945c8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/transform-inside-reflection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/reflections/transform-inside-reflection-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x328
     LayoutBlockFlow {BODY} at (8,16) size 784x292
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 780x39
-          text run at (0,0) width 780: "Transform inside nested reflections should be applied correctly. You should see four rotated green boxes, as mirror images of each"
-          text run at (0,20) width 35: "other."
+        LayoutText {#text} at (0,0) size 779x39
+          text run at (0,0) width 779: "Transform inside nested reflections should be applied correctly. You should see four rotated green boxes, as mirror images of each"
+          text run at (0,20) width 34: "other."
 layer at (28,76) size 122x232
   LayoutBlockFlow {DIV} at (20,60) size 122x232 [border: (1px solid #000000)]
 layer at (39,87) size 102x102
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/self-painting-layers-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/self-painting-layers-expected.txt
index c4d129d..0e29716 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/self-painting-layers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/self-painting-layers-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x431
     LayoutBlockFlow {BODY} at (8,16) size 784x405
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 308x19
-          text run at (0,0) width 308: "You should not see double text when the div scrolls"
+        LayoutText {#text} at (0,0) size 307x19
+          text run at (0,0) width 307: "You should not see double text when the div scrolls"
       LayoutBlockFlow {DIV} at (10,36) size 302x207 [border: (1px solid #000000)]
         LayoutText {#text} at (0,0) size 0x0
 layer at (19,53) size 300x200
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/sibling-positioning-expected.png b/third_party/WebKit/LayoutTests/platform/win/compositing/sibling-positioning-expected.png
index 5e897471..a52e226 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/sibling-positioning-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/sibling-positioning-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/text-on-large-layer-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/text-on-large-layer-expected.txt
index e1bc4e0..ead5f5d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/text-on-large-layer-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/text-on-large-layer-expected.txt
@@ -7,6 +7,6 @@
   LayoutBlockFlow (positioned) {DIV} at (3,1) size 2000x10000
     LayoutText {#text} at (0,0) size 518x19
       text run at (0,0) width 518: "This is some text inside a very large composited layer to test that it is rendered sharply."
-    LayoutBR {BR} at (517,0) size 1x19
+    LayoutBR {BR} at (518,0) size 0x19
     LayoutText {#text} at (0,20) size 203x19
       text run at (0,20) width 203: "The test passes if this text is crisp."
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/text-on-scaled-surface-expected.png b/third_party/WebKit/LayoutTests/platform/win/compositing/text-on-scaled-surface-expected.png
index e5dd78b6..f15e583 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/text-on-scaled-surface-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/text-on-scaled-surface-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/compositing/webgl/webgl-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/win/compositing/webgl/webgl-reflection-expected.txt
index 6c491863..ae5ac05 100644
--- a/third_party/WebKit/LayoutTests/platform/win/compositing/webgl/webgl-reflection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/compositing/webgl/webgl-reflection-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x309
     LayoutBlockFlow {BODY} at (8,16) size 784x285
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 293x19
-          text run at (0,0) width 293: "You should see a green triangle and its reflection."
+        LayoutText {#text} at (0,0) size 292x19
+          text run at (0,0) width 292: "You should see a green triangle and its reflection."
       LayoutBlockFlow (anonymous) at (0,36) size 784x249
         LayoutText {#text} at (0,0) size 0x0
 layer at (28,72) size 244x204
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/basic/contextual_selectors-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/basic/contextual_selectors-expected.png
index 493438e..7e9f6a3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/basic/contextual_selectors-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/basic/contextual_selectors-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/basic/contextual_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/basic/contextual_selectors-expected.txt
index 3f3e59a..a8d9e975 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/basic/contextual_selectors-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/basic/contextual_selectors-expected.txt
@@ -21,11 +21,11 @@
       LayoutBlockFlow {P} at (0,167) size 784x20 [color=#000080]
         LayoutText {#text} at (0,0) size 532x19
           text run at (0,0) width 532: "This sentence should be normal for its section, except for the last word, which should be "
-        LayoutInline {EM} at (0,0) size 36x19 [color=#008000]
-          LayoutText {#text} at (532,0) size 36x19
-            text run at (532,0) width 36: "green"
-        LayoutText {#text} at (567,0) size 5x19
-          text run at (567,0) width 5: "."
+        LayoutInline {EM} at (0,0) size 35x19 [color=#008000]
+          LayoutText {#text} at (532,0) size 35x19
+            text run at (532,0) width 35: "green"
+        LayoutText {#text} at (567,0) size 4x19
+          text run at (567,0) width 4: "."
       LayoutBlockFlow {UL} at (0,203) size 784x40
         LayoutListItem {LI} at (40,0) size 744x40
           LayoutBlockFlow (anonymous) at (0,0) size 744x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/basic/grouping-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/basic/grouping-expected.png
index fc148325..7bed1164 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/basic/grouping-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/basic/grouping-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/basic/id_as_selector-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/basic/id_as_selector-expected.png
index 9596269..71f9cf09 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/basic/id_as_selector-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/basic/id_as_selector-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/basic/inheritance-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/basic/inheritance-expected.png
index 70520bcf..848902bc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/basic/inheritance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/basic/inheritance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/basic/inheritance-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/basic/inheritance-expected.txt
index 317647e..03b578a8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/basic/inheritance-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/basic/inheritance-expected.txt
@@ -46,11 +46,11 @@
       LayoutBlockFlow {P} at (0,267.16) size 784x20
         LayoutText {#text} at (0,0) size 215x19
           text run at (0,0) width 215: "This should be green except for the "
-        LayoutInline {EM} at (0,0) size 117x19 [color=#800080]
-          LayoutText {#text} at (215,0) size 117x19
-            text run at (215,0) width 117: "emphasized words"
-        LayoutText {#text} at (331,0) size 152x19
-          text run at (331,0) width 152: ", which should be purple."
+        LayoutInline {EM} at (0,0) size 116x19 [color=#800080]
+          LayoutText {#text} at (215,0) size 116x19
+            text run at (215,0) width 116: "emphasized words"
+        LayoutText {#text} at (331,0) size 151x19
+          text run at (331,0) width 151: ", which should be purple."
       LayoutBlockFlow {H3} at (0,305.88) size 784x23 [color=#0000FF]
         LayoutText {#text} at (0,0) size 288x22
           text run at (0,0) width 288: "This should be blue and underlined."
@@ -134,11 +134,11 @@
               LayoutBlockFlow {P} at (4,89.44) size 570x20
                 LayoutText {#text} at (0,0) size 215x19
                   text run at (0,0) width 215: "This should be green except for the "
-                LayoutInline {EM} at (0,0) size 117x19 [color=#800080]
-                  LayoutText {#text} at (215,0) size 117x19
-                    text run at (215,0) width 117: "emphasized words"
-                LayoutText {#text} at (331,0) size 152x19
-                  text run at (331,0) width 152: ", which should be purple."
+                LayoutInline {EM} at (0,0) size 116x19 [color=#800080]
+                  LayoutText {#text} at (215,0) size 116x19
+                    text run at (215,0) width 116: "emphasized words"
+                LayoutText {#text} at (331,0) size 151x19
+                  text run at (331,0) width 151: ", which should be purple."
               LayoutBlockFlow {H3} at (4,128.16) size 570x23 [color=#0000FF]
                 LayoutText {#text} at (0,0) size 288x22
                   text run at (0,0) width 288: "This should be blue and underlined."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/acid_test-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/acid_test-expected.png
index 85557e7..c09020a8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/acid_test-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/acid_test-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/acid_test-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/acid_test-expected.txt
index 7cbaeaae6..349e9fe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/acid_test-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/acid_test-expected.txt
@@ -54,12 +54,12 @@
           text run at (0,0) width 419: "This is a nonsensical document, but syntactically valid HTML 4.0. All 100%-"
           text run at (0,13) width 479: "conformant CSS1 agents should be able to render the document elements above this"
           text run at (0,26) width 290: "paragraph indistinguishably (to the pixel) from this "
-        LayoutInline {A} at (0,0) size 114x12 [color=#0000EE]
-          LayoutText {#text} at (289,26) size 114x12
-            text run at (289,26) width 114: "reference rendering,"
-        LayoutText {#text} at (402,26) size 475x51
-          text run at (402,26) width 5: " "
-          text run at (406,26) width 69: "(except font"
+        LayoutInline {A} at (0,0) size 113x12 [color=#0000EE]
+          LayoutText {#text} at (290,26) size 113x12
+            text run at (290,26) width 113: "reference rendering,"
+        LayoutText {#text} at (403,26) size 475x51
+          text run at (403,26) width 4: " "
+          text run at (407,26) width 68: "(except font"
           text run at (0,39) width 435: "rasterization and form widgets). All discrepancies should be traceable to CSS1"
           text run at (0,52) width 467: "implementation shortcomings. Once you have finished evaluating this test, you can"
           text run at (0,65) width 74: "return to the "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border-expected.txt
index a10a4aea..3f7d64d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border-expected.txt
@@ -68,24 +68,24 @@
             text run at (0,0) width 23: "The"
         LayoutText {#text} at (23,0) size 677x19
           text run at (23,0) width 677: " following image is also an anchor which points to a target on this page, but it should not have a border around it: "
-        LayoutInline {A} at (0,0) size 16x19 [color=#0000FF]
-          LayoutImage {IMG} at (699.70,0) size 15x15
-        LayoutText {#text} at (714,0) size 5x19
-          text run at (714,0) width 5: "."
+        LayoutInline {A} at (0,0) size 15x19 [color=#0000FF]
+          LayoutImage {IMG} at (700,0) size 15x15
+        LayoutText {#text} at (715,0) size 4x19
+          text run at (715,0) width 4: "."
       LayoutTable {TABLE} at (0,609) size 769x121 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x119
           LayoutTableRow {TR} at (0,5) size 767x46
             LayoutTableCell {TD} at (5,5) size 757x46 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
-              LayoutText {#text} at (3,3) size 746x39
-                text run at (3,3) width 384: "Every cell in this table should have a 2-pixel solid green border. "
-                text run at (386,3) width 363: "This is also true of the table-testing section in the second half"
+              LayoutText {#text} at (3,3) size 745x39
+                text run at (3,3) width 383: "Every cell in this table should have a 2-pixel solid green border. "
+                text run at (386,3) width 362: "This is also true of the table-testing section in the second half"
                 text run at (3,23) width 96: "of the test page."
           LayoutTableRow {TR} at (0,56) size 767x58
-            LayoutTableCell {TD} at (5,72) size 191x26 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+            LayoutTableCell {TD} at (5,72) size 192x26 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (3,3) size 50x19
                 text run at (3,3) width 50: "Cell one"
-            LayoutTableCell {TD} at (201,56) size 561x58 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
-              LayoutBlockFlow (anonymous) at (3,3) size 555x20
+            LayoutTableCell {TD} at (202,56) size 560x58 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (3,3) size 554x20
                 LayoutText {#text} at (0,0) size 51x19
                   text run at (0,0) width 51: "Cell two"
               LayoutTable {TABLE} at (3,23) size 157x32 [border: (1px outset #808080)]
@@ -151,17 +151,17 @@
                     text run at (0,0) width 23: "The"
                 LayoutText {#text} at (23,0) size 677x19
                   text run at (23,0) width 677: " following image is also an anchor which points to a target on this page, but it should not have a border around it: "
-                LayoutInline {A} at (0,0) size 16x19 [color=#0000FF]
-                  LayoutImage {IMG} at (699.70,0) size 15x15
-                LayoutText {#text} at (714,0) size 5x19
-                  text run at (714,0) width 5: "."
+                LayoutInline {A} at (0,0) size 15x19 [color=#0000FF]
+                  LayoutImage {IMG} at (700,0) size 15x15
+                LayoutText {#text} at (715,0) size 4x19
+                  text run at (715,0) width 4: "."
               LayoutTable {TABLE} at (5,403) size 743x121 [border: (1px outset #808080)]
                 LayoutTableSection {TBODY} at (1,1) size 741x119
                   LayoutTableRow {TR} at (0,5) size 741x46
                     LayoutTableCell {TD} at (5,5) size 731x46 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
-                      LayoutText {#text} at (3,3) size 721x39
-                        text run at (3,3) width 384: "Every cell in this table should have a 2-pixel solid green border. "
-                        text run at (386,3) width 338: "This is also true of the table-testing section in the second"
+                      LayoutText {#text} at (3,3) size 720x39
+                        text run at (3,3) width 383: "Every cell in this table should have a 2-pixel solid green border. "
+                        text run at (386,3) width 337: "This is also true of the table-testing section in the second"
                         text run at (3,23) width 121: "half of the test page."
                   LayoutTableRow {TR} at (0,56) size 741x58
                     LayoutTableCell {TD} at (5,72) size 185x26 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom-expected.png
index 9eb228c..3ad59ac 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom-expected.txt
index a25c8da..22a355d7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom-expected.txt
@@ -22,25 +22,25 @@
           text run at (629,0) width 116: "This border applies"
           text run at (0,20) width 299: "only to the cells, not the rows which contain them."
       LayoutBlockFlow {P} at (0,187) size 769x30 [border: none (10px double #800080) none]
-        LayoutText {#text} at (0,0) size 421x19
-          text run at (0,0) width 421: "This paragraph should have a purple, double, 10-pixel bottom border."
+        LayoutText {#text} at (0,0) size 420x19
+          text run at (0,0) width 420: "This paragraph should have a purple, double, 10-pixel bottom border."
       LayoutBlockFlow {P} at (0,233) size 769x21 [border: none (1px solid #800080) none]
-        LayoutText {#text} at (0,0) size 339x19
-          text run at (0,0) width 339: "This paragraph should have a thin purple bottom border."
+        LayoutText {#text} at (0,0) size 338x19
+          text run at (0,0) width 338: "This paragraph should have a thin purple bottom border."
       LayoutTable {TABLE} at (0,270) size 769x118 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x116
           LayoutTableRow {TR} at (0,5) size 767x45
             LayoutTableCell {TD} at (5,5) size 757x45 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutText {#text} at (2,2) size 721x39
-                text run at (2,2) width 431: "Every cell in this table should have a 2-pixel solid green bottom border. "
-                text run at (432,2) width 291: "This is also true of the table-testing section in the"
+              LayoutText {#text} at (2,2) size 720x39
+                text run at (2,2) width 430: "Every cell in this table should have a 2-pixel solid green bottom border. "
+                text run at (432,2) width 290: "This is also true of the table-testing section in the"
                 text run at (2,22) width 168: "second half of the test page."
           LayoutTableRow {TR} at (0,55) size 767x56
-            LayoutTableCell {TD} at (5,70) size 190x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+            LayoutTableCell {TD} at (5,70) size 189x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (2,2) size 50x19
                 text run at (2,2) width 50: "Cell one"
-            LayoutTableCell {TD} at (200,55) size 562x56 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
-              LayoutBlockFlow (anonymous) at (2,2) size 558x20
+            LayoutTableCell {TD} at (199,55) size 563x56 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (2,2) size 559x20
                 LayoutText {#text} at (0,0) size 51x19
                   text run at (0,0) width 51: "Cell two"
               LayoutTable {TABLE} at (2,22) size 155x31 [border: (1px outset #808080)]
@@ -100,18 +100,18 @@
                   text run at (629,0) width 116: "This border applies"
                   text run at (0,20) width 299: "only to the cells, not the rows which contain them."
               LayoutBlockFlow {P} at (4,60) size 747x30 [border: none (10px double #800080) none]
-                LayoutText {#text} at (0,0) size 421x19
-                  text run at (0,0) width 421: "This paragraph should have a purple, double, 10-pixel bottom border."
+                LayoutText {#text} at (0,0) size 420x19
+                  text run at (0,0) width 420: "This paragraph should have a purple, double, 10-pixel bottom border."
               LayoutBlockFlow {P} at (4,106) size 747x21 [border: none (1px solid #800080) none]
-                LayoutText {#text} at (0,0) size 339x19
-                  text run at (0,0) width 339: "This paragraph should have a thin purple bottom border."
+                LayoutText {#text} at (0,0) size 338x19
+                  text run at (0,0) width 338: "This paragraph should have a thin purple bottom border."
               LayoutTable {TABLE} at (4,143) size 747x118 [border: (1px outset #808080)]
                 LayoutTableSection {TBODY} at (1,1) size 745x116
                   LayoutTableRow {TR} at (0,5) size 745x45
                     LayoutTableCell {TD} at (5,5) size 735x45 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-                      LayoutText {#text} at (2,2) size 721x39
-                        text run at (2,2) width 431: "Every cell in this table should have a 2-pixel solid green bottom border. "
-                        text run at (432,2) width 291: "This is also true of the table-testing section in the"
+                      LayoutText {#text} at (2,2) size 720x39
+                        text run at (2,2) width 430: "Every cell in this table should have a 2-pixel solid green bottom border. "
+                        text run at (432,2) width 290: "This is also true of the table-testing section in the"
                         text run at (2,22) width 168: "second half of the test page."
                   LayoutTableRow {TR} at (0,55) size 745x56
                     LayoutTableCell {TD} at (5,70) size 184x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_inline-expected.png
index 89d03be..ed26edf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_inline-expected.txt
index 0e68cf7a..2839b58 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_inline-expected.txt
@@ -14,20 +14,20 @@
           text run at (320,16) width 0: " "
           text run at (0,32) width 0: " "
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
-        LayoutText {#text} at (0,0) size 627x19
-          text run at (0,0) width 627: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
-        LayoutInline {SPAN} at (0,0) size 56x29 [border: none (10px double #800080) none]
-          LayoutText {#text} at (626,0) size 56x19
-            text run at (626,0) width 56: "class one"
-        LayoutText {#text} at (681,0) size 768x39
-          text run at (681,0) width 87: ", which should"
+        LayoutText {#text} at (0,0) size 626x19
+          text run at (0,0) width 626: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+        LayoutInline {SPAN} at (0,0) size 55x29 [border: none (10px double #800080) none]
+          LayoutText {#text} at (626,0) size 55x19
+            text run at (626,0) width 55: "class one"
+        LayoutText {#text} at (681,0) size 767x39
+          text run at (681,0) width 86: ", which should"
           text run at (0,20) width 306: "have a 10-pixel purple double bottom border; and "
         LayoutInline {SPAN} at (0,0) size 56x20 [border: none (1px solid #800080) none]
           LayoutText {#text} at (306,20) size 56x19
             text run at (306,20) width 56: "class two"
-        LayoutText {#text} at (362,20) size 778x39
-          text run at (362,20) width 328: ", which should have a thin solid purple bottom border. "
-          text run at (689,20) width 89: "The line-height"
+        LayoutText {#text} at (362,20) size 777x39
+          text run at (362,20) width 327: ", which should have a thin solid purple bottom border. "
+          text run at (689,20) width 88: "The line-height"
           text run at (0,40) width 310: "of the parent element should not change on any line."
       LayoutTable {TABLE} at (0,191) size 784x98 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x96
@@ -42,20 +42,20 @@
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
-                LayoutText {#text} at (0,0) size 627x19
-                  text run at (0,0) width 627: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
-                LayoutInline {SPAN} at (0,0) size 56x29 [border: none (10px double #800080) none]
-                  LayoutText {#text} at (626,0) size 56x19
-                    text run at (626,0) width 56: "class one"
-                LayoutText {#text} at (681,0) size 725x39
-                  text run at (681,0) width 44: ", which"
+                LayoutText {#text} at (0,0) size 626x19
+                  text run at (0,0) width 626: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+                LayoutInline {SPAN} at (0,0) size 55x29 [border: none (10px double #800080) none]
+                  LayoutText {#text} at (626,0) size 55x19
+                    text run at (626,0) width 55: "class one"
+                LayoutText {#text} at (681,0) size 724x39
+                  text run at (681,0) width 43: ", which"
                   text run at (0,20) width 349: "should have a 10-pixel purple double bottom border; and "
                 LayoutInline {SPAN} at (0,0) size 56x20 [border: none (1px solid #800080) none]
                   LayoutText {#text} at (349,20) size 56x19
                     text run at (349,20) width 56: "class two"
-                LayoutText {#text} at (405,20) size 756x39
-                  text run at (405,20) width 328: ", which should have a thin solid purple bottom border. "
-                  text run at (732,20) width 24: "The"
+                LayoutText {#text} at (405,20) size 755x39
+                  text run at (405,20) width 327: ", which should have a thin solid purple bottom border. "
+                  text run at (732,20) width 23: "The"
                   text run at (0,40) width 375: "line-height of the parent element should not change on any line."
 layer at (8,105) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width-expected.png
index cdeb031f..2a252c8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width_inline-expected.png
index 86f0fae3..a0a4dd9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width_inline-expected.txt
index 65b10a03..aac45281 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width_inline-expected.txt
@@ -20,17 +20,17 @@
         LayoutInline {TT} at (0,0) size 24x16
           LayoutText {#text} at (166,6) size 24x16
             text run at (166,6) width 24: "one"
-        LayoutText {#text} at (190,3) size 154x19
+        LayoutText {#text} at (190,3) size 153x19
           text run at (190,3) width 8: ". "
-          text run at (198,3) width 146: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 164x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
-          LayoutText {#text} at (346,3) size 134x19
-            text run at (346,3) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (479,6) size 25x16
-              text run at (479,6) width 25: "two"
-        LayoutText {#text} at (506,3) size 772x39
-          text run at (506,3) width 269: ", which should result in a thin solid border on"
+          text run at (198,3) width 145: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 163x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (346,3) size 133x19
+            text run at (346,3) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (479,6) size 24x16
+              text run at (479,6) width 24: "two"
+        LayoutText {#text} at (506,3) size 771x39
+          text run at (506,3) width 268: ", which should result in a thin solid border on"
           text run at (3,23) width 622: "the bottom side of each box in the inline element (and the UA's default border on the other three sides). "
           text run at (625,23) width 98: "There is also an "
         LayoutInline {SPAN} at (0,0) size 750x39
@@ -60,17 +60,17 @@
                 LayoutInline {TT} at (0,0) size 24x16
                   LayoutText {#text} at (166,6) size 24x16
                     text run at (166,6) width 24: "one"
-                LayoutText {#text} at (190,3) size 154x19
+                LayoutText {#text} at (190,3) size 153x19
                   text run at (190,3) width 8: ". "
-                  text run at (198,3) width 146: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 164x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
-                  LayoutText {#text} at (346,3) size 134x19
-                    text run at (346,3) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (479,6) size 25x16
-                      text run at (479,6) width 25: "two"
-                LayoutText {#text} at (506,3) size 753x39
-                  text run at (506,3) width 250: ", which should result in a thin solid border"
+                  text run at (198,3) width 145: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 163x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                  LayoutText {#text} at (346,3) size 133x19
+                    text run at (346,3) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (479,6) size 24x16
+                      text run at (479,6) width 24: "two"
+                LayoutText {#text} at (506,3) size 752x39
+                  text run at (506,3) width 249: ", which should result in a thin solid border"
                   text run at (3,23) width 641: "on the bottom side of each box in the inline element (and the UA's default border on the other three sides). "
                   text run at (644,23) width 94: "There is also an"
                 LayoutInline {SPAN} at (0,0) size 173x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color-expected.png
index 5eff7ff..88e72c9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color_inline-expected.png
index fbaeed1..e57187a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color_inline-expected.txt
index fc1a040b9..f85ac585 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color_inline-expected.txt
@@ -15,18 +15,18 @@
           text run at (0,32) width 728: ".three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}"
           text run at (728,32) width 0: " "
       LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#C0C0C0]
-        LayoutText {#text} at (0,0) size 638x19
-          text run at (0,0) width 638: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+        LayoutText {#text} at (0,0) size 637x19
+          text run at (0,0) width 637: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+        LayoutInline {SPAN} at (0,0) size 61x25 [border: (3px solid #800080)]
+          LayoutText {#text} at (640,0) size 55x19
+            text run at (640,0) width 55: "class one"
+        LayoutText {#text} at (698,0) size 8x19
+          text run at (698,0) width 8: ", "
         LayoutInline {SPAN} at (0,0) size 62x25 [border: (3px solid #800080)]
-          LayoutText {#text} at (640,0) size 56x19
-            text run at (640,0) width 56: "class one"
-        LayoutText {#text} at (698,0) size 9x19
-          text run at (698,0) width 9: ", "
-        LayoutInline {SPAN} at (0,0) size 63x25 [border: (3px solid #800080)]
-          LayoutText {#text} at (709,0) size 57x19
-            text run at (709,0) width 57: "class two"
-        LayoutText {#text} at (768,0) size 773x39
-          text run at (768,0) width 5: ","
+          LayoutText {#text} at (709,0) size 56x19
+            text run at (709,0) width 56: "class two"
+        LayoutText {#text} at (768,0) size 772x39
+          text run at (768,0) width 4: ","
           text run at (0,20) width 26: "and "
         LayoutInline {SPAN} at (0,0) size 69x25 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
           LayoutText {#text} at (29,20) size 63x19
@@ -50,16 +50,16 @@
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x88 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x80 [bgcolor=#C0C0C0]
-                LayoutText {#text} at (0,0) size 638x19
-                  text run at (0,0) width 638: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
-                LayoutInline {SPAN} at (0,0) size 62x25 [border: (3px solid #800080)]
-                  LayoutText {#text} at (640,0) size 56x19
-                    text run at (640,0) width 56: "class one"
-                LayoutText {#text} at (698,0) size 9x19
-                  text run at (698,0) width 9: ", "
-                LayoutInline {SPAN} at (0,0) size 739x45 [border: (3px solid #800080)]
-                  LayoutText {#text} at (709,0) size 739x39
-                    text run at (709,0) width 30: "class"
+                LayoutText {#text} at (0,0) size 637x19
+                  text run at (0,0) width 637: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+                LayoutInline {SPAN} at (0,0) size 61x25 [border: (3px solid #800080)]
+                  LayoutText {#text} at (640,0) size 55x19
+                    text run at (640,0) width 55: "class one"
+                LayoutText {#text} at (698,0) size 8x19
+                  text run at (698,0) width 8: ", "
+                LayoutInline {SPAN} at (0,0) size 738x45 [border: (3px solid #800080)]
+                  LayoutText {#text} at (709,0) size 738x39
+                    text run at (709,0) width 29: "class"
                     text run at (0,20) width 23: "two"
                 LayoutText {#text} at (26,20) size 34x19
                   text run at (26,20) width 34: ", and "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_inline-expected.png
index 074aca728..9913493 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_inline-expected.txt
index 054adaa..f711ddc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_inline-expected.txt
@@ -14,20 +14,20 @@
           text run at (256,16) width 0: " "
           text run at (0,32) width 0: " "
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
-        LayoutText {#text} at (0,0) size 638x19
-          text run at (0,0) width 638: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
-        LayoutInline {SPAN} at (0,0) size 76x39 [border: (10px outset #008080)]
-          LayoutText {#text} at (647,0) size 56x19
-            text run at (647,0) width 56: "class one"
-        LayoutText {#text} at (712,0) size 756x39
-          text run at (712,0) width 44: ", which"
+        LayoutText {#text} at (0,0) size 637x19
+          text run at (0,0) width 637: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+        LayoutInline {SPAN} at (0,0) size 75x39 [border: (10px outset #008080)]
+          LayoutText {#text} at (647,0) size 55x19
+            text run at (647,0) width 55: "class one"
+        LayoutText {#text} at (712,0) size 755x39
+          text run at (712,0) width 43: ", which"
           text run at (0,20) width 298: "should result in a 10-pixel outset teal border; and "
         LayoutInline {SPAN} at (0,0) size 76x39 [border: (10px inset #808000)]
           LayoutText {#text} at (308,20) size 56x19
             text run at (308,20) width 56: "class two"
-        LayoutText {#text} at (374,20) size 779x39
-          text run at (374,20) width 317: ", which should result in a 10-pixel inset olive border. "
-          text run at (690,20) width 89: "The line-height"
+        LayoutText {#text} at (374,20) size 778x39
+          text run at (374,20) width 316: ", which should result in a 10-pixel inset olive border. "
+          text run at (690,20) width 88: "The line-height"
           text run at (0,40) width 310: "of the parent element should not change on any line."
       LayoutTable {TABLE} at (0,191) size 784x98 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x96
@@ -42,20 +42,20 @@
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
-                LayoutText {#text} at (0,0) size 638x19
-                  text run at (0,0) width 638: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
-                LayoutInline {SPAN} at (0,0) size 76x39 [border: (10px outset #008080)]
-                  LayoutText {#text} at (647,0) size 56x19
-                    text run at (647,0) width 56: "class one"
-                LayoutText {#text} at (712,0) size 756x39
-                  text run at (712,0) width 44: ", which"
+                LayoutText {#text} at (0,0) size 637x19
+                  text run at (0,0) width 637: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+                LayoutInline {SPAN} at (0,0) size 75x39 [border: (10px outset #008080)]
+                  LayoutText {#text} at (647,0) size 55x19
+                    text run at (647,0) width 55: "class one"
+                LayoutText {#text} at (712,0) size 755x39
+                  text run at (712,0) width 43: ", which"
                   text run at (0,20) width 298: "should result in a 10-pixel outset teal border; and "
                 LayoutInline {SPAN} at (0,0) size 76x39 [border: (10px inset #808000)]
                   LayoutText {#text} at (308,20) size 56x19
                     text run at (308,20) width 56: "class two"
-                LayoutText {#text} at (374,20) size 744x39
-                  text run at (374,20) width 317: ", which should result in a 10-pixel inset olive border. "
-                  text run at (690,20) width 54: "The line-"
+                LayoutText {#text} at (374,20) size 743x39
+                  text run at (374,20) width 316: ", which should result in a 10-pixel inset olive border. "
+                  text run at (690,20) width 53: "The line-"
                   text run at (0,40) width 349: "height of the parent element should not change on any line."
 layer at (8,105) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left-expected.png
index 7046381..8c8f0907 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left-expected.txt
index a1397d64..f92c3ee 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left-expected.txt
@@ -28,25 +28,25 @@
           text run at (604,0) width 145: "This border applies only"
           text run at (0,20) width 270: "to the cells, not the rows which contain them."
       LayoutBlockFlow {P} at (20,235) size 749x20 [border: none (10px double #800080)]
-        LayoutText {#text} at (10,0) size 396x19
-          text run at (10,0) width 396: "This paragraph should have a purple, double, 10-pixel left border."
+        LayoutText {#text} at (10,0) size 395x19
+          text run at (10,0) width 395: "This paragraph should have a purple, double, 10-pixel left border."
       LayoutBlockFlow {P} at (20,271) size 749x20 [border: none (1px solid #800080)]
-        LayoutText {#text} at (1,0) size 314x19
-          text run at (1,0) width 314: "This paragraph should have a thin purple left border."
+        LayoutText {#text} at (1,0) size 313x19
+          text run at (1,0) width 313: "This paragraph should have a thin purple left border."
       LayoutTable {TABLE} at (0,307) size 769x115 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x113
           LayoutTableRow {TR} at (0,5) size 767x44
             LayoutTableCell {TD} at (5,5) size 757x44 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
-              LayoutText {#text} at (3,2) size 743x39
-                text run at (3,2) width 406: "Every cell in this table should have a 2-pixel solid green left border. "
-                text run at (408,2) width 338: "This is also true of the table-testing section in the second"
+              LayoutText {#text} at (3,2) size 742x39
+                text run at (3,2) width 405: "Every cell in this table should have a 2-pixel solid green left border. "
+                text run at (408,2) width 337: "This is also true of the table-testing section in the second"
                 text run at (3,22) width 121: "half of the test page."
           LayoutTableRow {TR} at (0,54) size 767x54
-            LayoutTableCell {TD} at (5,69) size 191x24 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+            LayoutTableCell {TD} at (5,69) size 190x24 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (3,2) size 50x19
                 text run at (3,2) width 50: "Cell one"
-            LayoutTableCell {TD} at (201,54) size 561x54 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
-              LayoutBlockFlow (anonymous) at (3,2) size 556x20
+            LayoutTableCell {TD} at (200,54) size 562x54 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (3,2) size 557x20
                 LayoutText {#text} at (0,0) size 51x19
                   text run at (0,0) width 51: "Cell two"
               LayoutTable {TABLE} at (3,22) size 156x30 [border: (1px outset #808080)]
@@ -103,25 +103,25 @@
                   text run at (604,0) width 116: "This border applies"
                   text run at (0,20) width 299: "only to the cells, not the rows which contain them."
               LayoutBlockFlow {P} at (25,60) size 725x20 [border: none (10px double #800080)]
-                LayoutText {#text} at (10,0) size 396x19
-                  text run at (10,0) width 396: "This paragraph should have a purple, double, 10-pixel left border."
+                LayoutText {#text} at (10,0) size 395x19
+                  text run at (10,0) width 395: "This paragraph should have a purple, double, 10-pixel left border."
               LayoutBlockFlow {P} at (25,96) size 725x20 [border: none (1px solid #800080)]
-                LayoutText {#text} at (1,0) size 314x19
-                  text run at (1,0) width 314: "This paragraph should have a thin purple left border."
+                LayoutText {#text} at (1,0) size 313x19
+                  text run at (1,0) width 313: "This paragraph should have a thin purple left border."
               LayoutTable {TABLE} at (5,132) size 745x115 [border: (1px outset #808080)]
                 LayoutTableSection {TBODY} at (1,1) size 743x113
                   LayoutTableRow {TR} at (0,5) size 743x44
                     LayoutTableCell {TD} at (5,5) size 733x44 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
-                      LayoutText {#text} at (3,2) size 696x39
-                        text run at (3,2) width 406: "Every cell in this table should have a 2-pixel solid green left border. "
-                        text run at (408,2) width 291: "This is also true of the table-testing section in the"
+                      LayoutText {#text} at (3,2) size 695x39
+                        text run at (3,2) width 405: "Every cell in this table should have a 2-pixel solid green left border. "
+                        text run at (408,2) width 290: "This is also true of the table-testing section in the"
                         text run at (3,22) width 168: "second half of the test page."
                   LayoutTableRow {TR} at (0,54) size 743x54
-                    LayoutTableCell {TD} at (5,69) size 185x24 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+                    LayoutTableCell {TD} at (5,69) size 184x24 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
                       LayoutText {#text} at (3,2) size 50x19
                         text run at (3,2) width 50: "Cell one"
-                    LayoutTableCell {TD} at (195,54) size 543x54 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
-                      LayoutBlockFlow (anonymous) at (3,2) size 538x20
+                    LayoutTableCell {TD} at (194,54) size 544x54 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (3,2) size 539x20
                         LayoutText {#text} at (0,0) size 51x19
                           text run at (0,0) width 51: "Cell two"
                       LayoutTable {TABLE} at (3,22) size 156x30 [border: (1px outset #808080)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_inline-expected.png
index 027a1e36..2f27abbc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_inline-expected.txt
index b66f762..9171667 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_inline-expected.txt
@@ -19,16 +19,16 @@
         LayoutText {#text} at (0,0) size 723x19
           text run at (0,0) width 723: "This paragraph has a background color of silver and a 20-pixel left margin, and it contains inline elements with classes of "
         LayoutInline {SPAN} at (0,0) size 762x39 [border: none (10px double #800080)]
-          LayoutText {#text} at (732,0) size 762x39
-            text run at (732,0) width 30: "class"
+          LayoutText {#text} at (733,0) size 762x39
+            text run at (733,0) width 29: "class"
             text run at (0,20) width 22: "one"
         LayoutText {#text} at (22,20) size 371x19
           text run at (22,20) width 371: ", which should have a 10-pixel purple double left border; and "
         LayoutInline {SPAN} at (0,0) size 57x19 [border: none (1px solid #800080)]
           LayoutText {#text} at (394,20) size 56x19
             text run at (394,20) width 56: "class two"
-        LayoutText {#text} at (450,20) size 749x39
-          text run at (450,20) width 299: ", which should have a thin solid purple left border."
+        LayoutText {#text} at (450,20) size 748x39
+          text run at (450,20) width 298: ", which should have a thin solid purple left border."
           text run at (0,40) width 402: "The line-height of the parent element should not change on any line."
       LayoutTable {TABLE} at (0,207) size 784x98 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x96
@@ -55,7 +55,7 @@
                     text run at (437,20) width 56: "class two"
                 LayoutText {#text} at (493,20) size 721x39
                   text run at (493,20) width 228: ", which should have a thin solid purple"
-                  text run at (0,40) width 71: "left border. "
-                  text run at (70,40) width 403: "The line-height of the parent element should not change on any line."
+                  text run at (0,40) width 70: "left border. "
+                  text run at (70,40) width 402: "The line-height of the parent element should not change on any line."
 layer at (8,121) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width-expected.png
index 934737d..9d8fc0d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width_inline-expected.png
index 9918a9d..7db3227 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width_inline-expected.txt
index 2f3ebbd..c93759a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width_inline-expected.txt
@@ -20,17 +20,17 @@
         LayoutInline {TT} at (0,0) size 24x16
           LayoutText {#text} at (188,6) size 24x16
             text run at (188,6) width 24: "one"
-        LayoutText {#text} at (212,3) size 154x19
+        LayoutText {#text} at (212,3) size 153x19
           text run at (212,3) width 8: ". "
-          text run at (220,3) width 146: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 162x25 [border: (3px solid #000000) (1px solid #000000)]
-          LayoutText {#text} at (366,3) size 134x19
-            text run at (366,3) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (499,6) size 25x16
-              text run at (499,6) width 25: "two"
-        LayoutText {#text} at (526,3) size 751x39
-          text run at (526,3) width 250: ", which should result in a thin solid border"
+          text run at (220,3) width 145: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 161x25 [border: (3px solid #000000) (1px solid #000000)]
+          LayoutText {#text} at (366,3) size 133x19
+            text run at (366,3) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (499,6) size 24x16
+              text run at (499,6) width 24: "two"
+        LayoutText {#text} at (526,3) size 750x39
+          text run at (526,3) width 249: ", which should result in a thin solid border"
           text run at (25,23) width 129: "on the left side of the "
         LayoutInline {STRONG} at (0,0) size 27x19
           LayoutText {#text} at (154,23) size 27x19
@@ -64,17 +64,17 @@
                 LayoutInline {TT} at (0,0) size 24x16
                   LayoutText {#text} at (188,6) size 24x16
                     text run at (188,6) width 24: "one"
-                LayoutText {#text} at (212,3) size 154x19
+                LayoutText {#text} at (212,3) size 153x19
                   text run at (212,3) width 8: ". "
-                  text run at (220,3) width 146: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 162x25 [border: (3px solid #000000) (1px solid #000000)]
-                  LayoutText {#text} at (366,3) size 134x19
-                    text run at (366,3) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (499,6) size 25x16
-                      text run at (499,6) width 25: "two"
-                LayoutText {#text} at (526,3) size 706x39
-                  text run at (526,3) width 205: ", which should result in a thin solid"
+                  text run at (220,3) width 145: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 161x25 [border: (3px solid #000000) (1px solid #000000)]
+                  LayoutText {#text} at (366,3) size 133x19
+                    text run at (366,3) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (499,6) size 24x16
+                      text run at (499,6) width 24: "two"
+                LayoutText {#text} at (526,3) size 705x39
+                  text run at (526,3) width 204: ", which should result in a thin solid"
                   text run at (25,23) width 174: "border on the left side of the "
                 LayoutInline {STRONG} at (0,0) size 27x19
                   LayoutText {#text} at (199,23) size 27x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right-expected.png
index 9c3c318..c03c188 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right-expected.txt
index 772d0de..0d1fed0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right-expected.txt
@@ -19,8 +19,8 @@
         LayoutText {#text} at (0,0) size 731x19
           text run at (0,0) width 731: "This paragraph has a background color of silver and a 20-pixel right margin, and it contains inline elements with classes of "
         LayoutInline {SPAN} at (0,0) size 760x39 [border: none (10px double #800080) none]
-          LayoutText {#text} at (730,0) size 760x39
-            text run at (730,0) width 30: "class"
+          LayoutText {#text} at (731,0) size 760x39
+            text run at (731,0) width 29: "class"
             text run at (0,20) width 22: "one"
         LayoutText {#text} at (32,20) size 379x19
           text run at (32,20) width 379: ", which should have a 10-pixel purple double right border; and "
@@ -29,8 +29,8 @@
             text run at (411,20) width 56: "class two"
         LayoutText {#text} at (468,20) size 726x39
           text run at (468,20) width 258: ", which should have a thin solid purple right"
-          text run at (0,40) width 49: "border. "
-          text run at (48,40) width 403: "The line-height of the parent element should not change on any line."
+          text run at (0,40) width 48: "border. "
+          text run at (48,40) width 402: "The line-height of the parent element should not change on any line."
       LayoutTable {TABLE} at (0,207) size 784x98 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x96
           LayoutTableRow {TR} at (0,0) size 782x28
@@ -56,7 +56,7 @@
                     text run at (444,20) width 56: "class two"
                 LayoutText {#text} at (501,20) size 729x39
                   text run at (501,20) width 228: ", which should have a thin solid purple"
-                  text run at (0,40) width 79: "right border. "
-                  text run at (78,40) width 403: "The line-height of the parent element should not change on any line."
+                  text run at (0,40) width 78: "right border. "
+                  text run at (78,40) width 402: "The line-height of the parent element should not change on any line."
 layer at (8,121) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_inline-expected.png
index 5c418a3..32801c7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_inline-expected.txt
index e66e7f3..8a671d8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_inline-expected.txt
@@ -28,25 +28,25 @@
           text run at (612,0) width 116: "This border applies"
           text run at (0,20) width 299: "only to the cells, not the rows which contain them."
       LayoutBlockFlow {P} at (0,235) size 749x20 [border: none (10px double #800080) none]
-        LayoutText {#text} at (0,0) size 404x19
-          text run at (0,0) width 404: "This paragraph should have a purple, double, 10-pixel right border."
+        LayoutText {#text} at (0,0) size 403x19
+          text run at (0,0) width 403: "This paragraph should have a purple, double, 10-pixel right border."
       LayoutBlockFlow {P} at (0,271) size 749x20 [border: none (1px solid #800080) none]
-        LayoutText {#text} at (0,0) size 322x19
-          text run at (0,0) width 322: "This paragraph should have a thin purple right border."
+        LayoutText {#text} at (0,0) size 321x19
+          text run at (0,0) width 321: "This paragraph should have a thin purple right border."
       LayoutTable {TABLE} at (0,307) size 769x115 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x113
           LayoutTableRow {TR} at (0,5) size 767x44
             LayoutTableCell {TD} at (5,5) size 757x44 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutText {#text} at (2,2) size 751x39
-                text run at (2,2) width 414: "Every cell in this table should have a 2-pixel solid green right border. "
-                text run at (415,2) width 338: "This is also true of the table-testing section in the second"
+              LayoutText {#text} at (2,2) size 750x39
+                text run at (2,2) width 413: "Every cell in this table should have a 2-pixel solid green right border. "
+                text run at (415,2) width 337: "This is also true of the table-testing section in the second"
                 text run at (2,22) width 121: "half of the test page."
           LayoutTableRow {TR} at (0,54) size 767x54
-            LayoutTableCell {TD} at (5,69) size 191x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+            LayoutTableCell {TD} at (5,69) size 190x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (2,2) size 50x19
                 text run at (2,2) width 50: "Cell one"
-            LayoutTableCell {TD} at (201,54) size 561x54 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
-              LayoutBlockFlow (anonymous) at (2,2) size 556x20
+            LayoutTableCell {TD} at (200,54) size 562x54 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (2,2) size 557x20
                 LayoutText {#text} at (0,0) size 51x19
                   text run at (0,0) width 51: "Cell two"
               LayoutTable {TABLE} at (2,22) size 156x30 [border: (1px outset #808080)]
@@ -105,25 +105,25 @@
                   text run at (612,0) width 70: "This border"
                   text run at (0,20) width 345: "applies only to the cells, not the rows which contain them."
               LayoutBlockFlow {P} at (4,60) size 725x20 [border: none (10px double #800080) none]
-                LayoutText {#text} at (0,0) size 404x19
-                  text run at (0,0) width 404: "This paragraph should have a purple, double, 10-pixel right border."
+                LayoutText {#text} at (0,0) size 403x19
+                  text run at (0,0) width 403: "This paragraph should have a purple, double, 10-pixel right border."
               LayoutBlockFlow {P} at (4,96) size 725x20 [border: none (1px solid #800080) none]
-                LayoutText {#text} at (0,0) size 322x19
-                  text run at (0,0) width 322: "This paragraph should have a thin purple right border."
+                LayoutText {#text} at (0,0) size 321x19
+                  text run at (0,0) width 321: "This paragraph should have a thin purple right border."
               LayoutTable {TABLE} at (4,132) size 745x115 [border: (1px outset #808080)]
                 LayoutTableSection {TBODY} at (1,1) size 743x113
                   LayoutTableRow {TR} at (0,5) size 743x44
                     LayoutTableCell {TD} at (5,5) size 733x44 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-                      LayoutText {#text} at (2,2) size 704x39
-                        text run at (2,2) width 414: "Every cell in this table should have a 2-pixel solid green right border. "
-                        text run at (415,2) width 291: "This is also true of the table-testing section in the"
+                      LayoutText {#text} at (2,2) size 703x39
+                        text run at (2,2) width 413: "Every cell in this table should have a 2-pixel solid green right border. "
+                        text run at (415,2) width 290: "This is also true of the table-testing section in the"
                         text run at (2,22) width 168: "second half of the test page."
                   LayoutTableRow {TR} at (0,54) size 743x54
-                    LayoutTableCell {TD} at (5,69) size 185x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+                    LayoutTableCell {TD} at (5,69) size 184x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
                       LayoutText {#text} at (2,2) size 50x19
                         text run at (2,2) width 50: "Cell one"
-                    LayoutTableCell {TD} at (195,54) size 543x54 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
-                      LayoutBlockFlow (anonymous) at (2,2) size 538x20
+                    LayoutTableCell {TD} at (194,54) size 544x54 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (2,2) size 539x20
                         LayoutText {#text} at (0,0) size 51x19
                           text run at (0,0) width 51: "Cell two"
                       LayoutTable {TABLE} at (2,22) size 156x30 [border: (1px outset #808080)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width-expected.png
index 6ace20de..7ecc8cc2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width_inline-expected.png
index eab4e60..bfdde5b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width_inline-expected.txt
index 400c80bf..4f2a4a6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width_inline-expected.txt
@@ -20,17 +20,17 @@
         LayoutInline {TT} at (0,0) size 24x16
           LayoutText {#text} at (166,6) size 24x16
             text run at (166,6) width 24: "one"
-        LayoutText {#text} at (190,3) size 154x19
+        LayoutText {#text} at (190,3) size 153x19
           text run at (190,3) width 8: ". "
-          text run at (198,3) width 146: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 162x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
-          LayoutText {#text} at (346,3) size 134x19
-            text run at (346,3) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (479,6) size 25x16
-              text run at (479,6) width 25: "two"
-        LayoutText {#text} at (504,3) size 751x39
-          text run at (504,3) width 250: ", which should result in a thin solid border"
+          text run at (198,3) width 145: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 161x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (346,3) size 133x19
+            text run at (346,3) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (479,6) size 24x16
+              text run at (479,6) width 24: "two"
+        LayoutText {#text} at (504,3) size 750x39
+          text run at (504,3) width 249: ", which should result in a thin solid border"
           text run at (3,23) width 137: "on the right side of the "
         LayoutInline {STRONG} at (0,0) size 24x19
           LayoutText {#text} at (140,23) size 24x19
@@ -64,17 +64,17 @@
                 LayoutInline {TT} at (0,0) size 24x16
                   LayoutText {#text} at (166,6) size 24x16
                     text run at (166,6) width 24: "one"
-                LayoutText {#text} at (190,3) size 154x19
+                LayoutText {#text} at (190,3) size 153x19
                   text run at (190,3) width 8: ". "
-                  text run at (198,3) width 146: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 162x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
-                  LayoutText {#text} at (346,3) size 134x19
-                    text run at (346,3) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (479,6) size 25x16
-                      text run at (479,6) width 25: "two"
-                LayoutText {#text} at (504,3) size 706x39
-                  text run at (504,3) width 205: ", which should result in a thin solid"
+                  text run at (198,3) width 145: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 161x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                  LayoutText {#text} at (346,3) size 133x19
+                    text run at (346,3) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (479,6) size 24x16
+                      text run at (479,6) width 24: "two"
+                LayoutText {#text} at (504,3) size 705x39
+                  text run at (504,3) width 204: ", which should result in a thin solid"
                   text run at (3,23) width 182: "border on the right side of the "
                 LayoutInline {STRONG} at (0,0) size 24x19
                   LayoutText {#text} at (185,23) size 24x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style-expected.txt
index ee8fe41..6dce8f0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style-expected.txt
@@ -62,9 +62,9 @@
           text run at (600,5) width 153: "The color of all four sides"
           text run at (5,25) width 163: "should be based on purple."
       LayoutBlockFlow {P} at (0,693) size 769x50 [border: (5px double #800080) (5px groove #800080) (5px ridge #800080) (5px inset #800080)]
-        LayoutText {#text} at (5,5) size 747x39
-          text run at (5,5) width 673: "This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border. "
-          text run at (677,5) width 75: "The color of"
+        LayoutText {#text} at (5,5) size 746x39
+          text run at (5,5) width 672: "This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border. "
+          text run at (677,5) width 74: "The color of"
           text run at (5,25) width 242: "all four sides should be based on purple."
       LayoutBlockFlow {P} at (0,759) size 769x20
         LayoutText {#text} at (0,0) size 265x19
@@ -111,9 +111,9 @@
                   text run at (600,5) width 119: "The color of all four"
                   text run at (5,25) width 197: "sides should be based on purple."
               LayoutBlockFlow {P} at (4,438) size 747x50 [border: (5px double #800080) (5px groove #800080) (5px ridge #800080) (5px inset #800080)]
-                LayoutText {#text} at (5,5) size 731x39
-                  text run at (5,5) width 673: "This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border. "
-                  text run at (677,5) width 59: "The color"
+                LayoutText {#text} at (5,5) size 730x39
+                  text run at (5,5) width 672: "This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border. "
+                  text run at (677,5) width 58: "The color"
                   text run at (5,25) width 258: "of all four sides should be based on purple."
               LayoutBlockFlow {P} at (4,504) size 747x20
                 LayoutText {#text} at (0,0) size 265x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style_inline-expected.png
index 637277f..beff826 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style_inline-expected.txt
index 1edbe6a..21f2705 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style_inline-expected.txt
@@ -15,24 +15,24 @@
           text run at (0,32) width 568: ".three {border-style: none; border-color: purple; border-width: thick;}"
           text run at (568,32) width 0: " "
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
-        LayoutText {#text} at (0,0) size 627x19
-          text run at (0,0) width 627: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
-        LayoutInline {SPAN} at (0,0) size 66x29 [border: (5px dashed #000000)]
-          LayoutText {#text} at (631,0) size 56x19
-            text run at (631,0) width 56: "class one"
-        LayoutText {#text} at (691,0) size 759x39
-          text run at (691,0) width 68: ", which will"
+        LayoutText {#text} at (0,0) size 626x19
+          text run at (0,0) width 626: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
+        LayoutInline {SPAN} at (0,0) size 65x29 [border: (5px dashed #000000)]
+          LayoutText {#text} at (631,0) size 55x19
+            text run at (631,0) width 55: "class one"
+        LayoutText {#text} at (691,0) size 758x39
+          text run at (691,0) width 67: ", which will"
           text run at (0,20) width 227: "result in a dashed thick black border; "
         LayoutInline {SPAN} at (0,0) size 66x29 [border: (5px groove #FF0000)]
           LayoutText {#text} at (232,20) size 56x19
             text run at (232,20) width 56: "class two"
-        LayoutText {#text} at (293,20) size 355x19
-          text run at (293,20) width 355: ", which should result in a grooved thick purple border, and "
-        LayoutInline {SPAN} at (0,0) size 64x19
-          LayoutText {#text} at (647,20) size 64x19
-            text run at (647,20) width 64: "class three"
-        LayoutText {#text} at (710,20) size 754x39
-          text run at (710,20) width 44: ", which"
+        LayoutText {#text} at (293,20) size 354x19
+          text run at (293,20) width 354: ", which should result in a grooved thick purple border, and "
+        LayoutInline {SPAN} at (0,0) size 63x19
+          LayoutText {#text} at (647,20) size 63x19
+            text run at (647,20) width 63: "class three"
+        LayoutText {#text} at (710,20) size 753x39
+          text run at (710,20) width 43: ", which"
           text run at (0,40) width 193: "should result in no border at all. "
           text run at (193,40) width 406: "The line-height of the parent element should not change, on any line."
       LayoutTable {TABLE} at (0,191) size 784x98 [border: (1px outset #808080)]
@@ -48,24 +48,24 @@
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
-                LayoutText {#text} at (0,0) size 627x19
-                  text run at (0,0) width 627: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
-                LayoutInline {SPAN} at (0,0) size 66x29 [border: (5px dashed #000000)]
-                  LayoutText {#text} at (631,0) size 56x19
-                    text run at (631,0) width 56: "class one"
-                LayoutText {#text} at (691,0) size 759x39
-                  text run at (691,0) width 68: ", which will"
+                LayoutText {#text} at (0,0) size 626x19
+                  text run at (0,0) width 626: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
+                LayoutInline {SPAN} at (0,0) size 65x29 [border: (5px dashed #000000)]
+                  LayoutText {#text} at (631,0) size 55x19
+                    text run at (631,0) width 55: "class one"
+                LayoutText {#text} at (691,0) size 758x39
+                  text run at (691,0) width 67: ", which will"
                   text run at (0,20) width 227: "result in a dashed thick black border; "
                 LayoutInline {SPAN} at (0,0) size 66x29 [border: (5px groove #FF0000)]
                   LayoutText {#text} at (232,20) size 56x19
                     text run at (232,20) width 56: "class two"
-                LayoutText {#text} at (293,20) size 355x19
-                  text run at (293,20) width 355: ", which should result in a grooved thick purple border, and "
-                LayoutInline {SPAN} at (0,0) size 64x19
-                  LayoutText {#text} at (647,20) size 64x19
-                    text run at (647,20) width 64: "class three"
-                LayoutText {#text} at (710,20) size 754x39
-                  text run at (710,20) width 44: ", which"
+                LayoutText {#text} at (293,20) size 354x19
+                  text run at (293,20) width 354: ", which should result in a grooved thick purple border, and "
+                LayoutInline {SPAN} at (0,0) size 63x19
+                  LayoutText {#text} at (647,20) size 63x19
+                    text run at (647,20) width 63: "class three"
+                LayoutText {#text} at (710,20) size 753x39
+                  text run at (710,20) width 43: ", which"
                   text run at (0,40) width 193: "should result in no border at all. "
                   text run at (193,40) width 406: "The line-height of the parent element should not change, on any line."
 layer at (8,105) size 784x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top-expected.png
index 7fae42b..edad0bf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top-expected.txt
index 14b69b4..9c56229 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top-expected.txt
@@ -22,18 +22,18 @@
           text run at (606,0) width 161: "This border applies only to"
           text run at (0,20) width 254: "the cells, not the rows which contain them."
       LayoutBlockFlow {P} at (0,187) size 769x30 [border: (10px double #800080) none]
-        LayoutText {#text} at (0,10) size 398x19
-          text run at (0,10) width 398: "This paragraph should have a purple, double, 10-pixel top border."
+        LayoutText {#text} at (0,10) size 397x19
+          text run at (0,10) width 397: "This paragraph should have a purple, double, 10-pixel top border."
       LayoutBlockFlow {P} at (0,233) size 769x21 [border: (1px solid #800080) none]
-        LayoutText {#text} at (0,1) size 316x19
-          text run at (0,1) width 316: "This paragraph should have a thin purple top border."
+        LayoutText {#text} at (0,1) size 315x19
+          text run at (0,1) width 315: "This paragraph should have a thin purple top border."
       LayoutTable {TABLE} at (0,270) size 769x118 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x116
           LayoutTableRow {TR} at (0,5) size 767x45
             LayoutTableCell {TD} at (5,5) size 757x45 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-              LayoutText {#text} at (2,3) size 745x39
-                text run at (2,3) width 408: "Every cell in this table should have a 2-pixel solid green top border. "
-                text run at (409,3) width 338: "This is also true of the table-testing section in the second"
+              LayoutText {#text} at (2,3) size 744x39
+                text run at (2,3) width 407: "Every cell in this table should have a 2-pixel solid green top border. "
+                text run at (409,3) width 337: "This is also true of the table-testing section in the second"
                 text run at (2,23) width 121: "half of the test page."
           LayoutTableRow {TR} at (0,55) size 767x56
             LayoutTableCell {TD} at (5,70) size 190x25 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
@@ -94,25 +94,25 @@
                   text run at (606,0) width 116: "This border applies"
                   text run at (0,20) width 299: "only to the cells, not the rows which contain them."
               LayoutBlockFlow {P} at (4,61) size 747x30 [border: (10px double #800080) none]
-                LayoutText {#text} at (0,10) size 398x19
-                  text run at (0,10) width 398: "This paragraph should have a purple, double, 10-pixel top border."
+                LayoutText {#text} at (0,10) size 397x19
+                  text run at (0,10) width 397: "This paragraph should have a purple, double, 10-pixel top border."
               LayoutBlockFlow {P} at (4,107) size 747x21 [border: (1px solid #800080) none]
-                LayoutText {#text} at (0,1) size 316x19
-                  text run at (0,1) width 316: "This paragraph should have a thin purple top border."
+                LayoutText {#text} at (0,1) size 315x19
+                  text run at (0,1) width 315: "This paragraph should have a thin purple top border."
               LayoutTable {TABLE} at (4,144) size 747x118 [border: (1px outset #808080)]
                 LayoutTableSection {TBODY} at (1,1) size 745x116
                   LayoutTableRow {TR} at (0,5) size 745x45
                     LayoutTableCell {TD} at (5,5) size 735x45 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
-                      LayoutText {#text} at (2,3) size 698x39
-                        text run at (2,3) width 408: "Every cell in this table should have a 2-pixel solid green top border. "
-                        text run at (409,3) width 291: "This is also true of the table-testing section in the"
+                      LayoutText {#text} at (2,3) size 697x39
+                        text run at (2,3) width 407: "Every cell in this table should have a 2-pixel solid green top border. "
+                        text run at (409,3) width 290: "This is also true of the table-testing section in the"
                         text run at (2,23) width 168: "second half of the test page."
                   LayoutTableRow {TR} at (0,55) size 745x56
-                    LayoutTableCell {TD} at (5,70) size 184x25 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+                    LayoutTableCell {TD} at (5,70) size 185x25 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
                       LayoutText {#text} at (2,3) size 50x19
                         text run at (2,3) width 50: "Cell one"
-                    LayoutTableCell {TD} at (194,55) size 546x56 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
-                      LayoutBlockFlow (anonymous) at (2,3) size 542x20
+                    LayoutTableCell {TD} at (195,55) size 545x56 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (2,3) size 541x20
                         LayoutText {#text} at (0,0) size 51x19
                           text run at (0,0) width 51: "Cell two"
                       LayoutTable {TABLE} at (2,23) size 155x31 [border: (1px outset #808080)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_inline-expected.png
index 05a572d..6b91b668 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_inline-expected.txt
index c4cf7b2..63305da 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_inline-expected.txt
@@ -14,20 +14,20 @@
           text run at (296,16) width 0: " "
           text run at (0,32) width 0: " "
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
-        LayoutText {#text} at (0,0) size 627x19
-          text run at (0,0) width 627: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
-        LayoutInline {SPAN} at (0,0) size 56x29 [border: (10px double #800080) none]
-          LayoutText {#text} at (626,0) size 56x19
-            text run at (626,0) width 56: "class one"
-        LayoutText {#text} at (681,0) size 768x39
-          text run at (681,0) width 87: ", which should"
+        LayoutText {#text} at (0,0) size 626x19
+          text run at (0,0) width 626: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+        LayoutInline {SPAN} at (0,0) size 55x29 [border: (10px double #800080) none]
+          LayoutText {#text} at (626,0) size 55x19
+            text run at (626,0) width 55: "class one"
+        LayoutText {#text} at (681,0) size 767x39
+          text run at (681,0) width 86: ", which should"
           text run at (0,20) width 283: "have a 10-pixel purple double top border; and "
         LayoutInline {SPAN} at (0,0) size 56x20 [border: (1px solid #800080) none]
           LayoutText {#text} at (283,20) size 56x19
             text run at (283,20) width 56: "class two"
-        LayoutText {#text} at (339,20) size 770x39
-          text run at (339,20) width 305: ", which should have a thin solid purple top border. "
-          text run at (643,20) width 127: "The line-height of the"
+        LayoutText {#text} at (339,20) size 769x39
+          text run at (339,20) width 304: ", which should have a thin solid purple top border. "
+          text run at (643,20) width 126: "The line-height of the"
           text run at (0,40) width 272: "parent element should not change on any line."
       LayoutTable {TABLE} at (0,191) size 784x98 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x96
@@ -42,20 +42,20 @@
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
-                LayoutText {#text} at (0,0) size 627x19
-                  text run at (0,0) width 627: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
-                LayoutInline {SPAN} at (0,0) size 56x29 [border: (10px double #800080) none]
-                  LayoutText {#text} at (626,0) size 56x19
-                    text run at (626,0) width 56: "class one"
-                LayoutText {#text} at (681,0) size 725x39
-                  text run at (681,0) width 44: ", which"
+                LayoutText {#text} at (0,0) size 626x19
+                  text run at (0,0) width 626: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+                LayoutInline {SPAN} at (0,0) size 55x29 [border: (10px double #800080) none]
+                  LayoutText {#text} at (626,0) size 55x19
+                    text run at (626,0) width 55: "class one"
+                LayoutText {#text} at (681,0) size 724x39
+                  text run at (681,0) width 43: ", which"
                   text run at (0,20) width 326: "should have a 10-pixel purple double top border; and "
                 LayoutInline {SPAN} at (0,0) size 56x20 [border: (1px solid #800080) none]
                   LayoutText {#text} at (326,20) size 56x19
                     text run at (326,20) width 56: "class two"
-                LayoutText {#text} at (382,20) size 740x39
-                  text run at (382,20) width 305: ", which should have a thin solid purple top border. "
-                  text run at (686,20) width 54: "The line-"
+                LayoutText {#text} at (382,20) size 739x39
+                  text run at (382,20) width 304: ", which should have a thin solid purple top border. "
+                  text run at (686,20) width 53: "The line-"
                   text run at (0,40) width 349: "height of the parent element should not change on any line."
 layer at (8,105) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width-expected.png
index 2bc0c02..db1106dc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width_inline-expected.png
index fc1f69a..caa854469 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width_inline-expected.txt
index beb54d6f..daead36 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width_inline-expected.txt
@@ -20,17 +20,17 @@
         LayoutInline {TT} at (0,0) size 24x16
           LayoutText {#text} at (166,28) size 24x16
             text run at (166,28) width 24: "one"
-        LayoutText {#text} at (190,25) size 154x19
+        LayoutText {#text} at (190,25) size 153x19
           text run at (190,25) width 8: ". "
-          text run at (198,25) width 146: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 164x23 [border: (1px solid #000000) (3px solid #000000)]
-          LayoutText {#text} at (346,25) size 134x19
-            text run at (346,25) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (479,28) size 25x16
-              text run at (479,28) width 25: "two"
-        LayoutText {#text} at (506,25) size 772x39
-          text run at (506,25) width 269: ", which should result in a thin solid border on"
+          text run at (198,25) width 145: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 163x23 [border: (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (346,25) size 133x19
+            text run at (346,25) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (479,28) size 24x16
+              text run at (479,28) width 24: "two"
+        LayoutText {#text} at (506,25) size 771x39
+          text run at (506,25) width 268: ", which should result in a thin solid border on"
           text run at (3,45) width 599: "the top side of each box in the inline element (and the UA's default border on the other three sides). "
           text run at (602,45) width 98: "There is also an "
         LayoutInline {SPAN} at (0,0) size 777x39
@@ -60,17 +60,17 @@
                 LayoutInline {TT} at (0,0) size 24x16
                   LayoutText {#text} at (166,28) size 24x16
                     text run at (166,28) width 24: "one"
-                LayoutText {#text} at (190,25) size 154x19
+                LayoutText {#text} at (190,25) size 153x19
                   text run at (190,25) width 8: ". "
-                  text run at (198,25) width 146: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 164x23 [border: (1px solid #000000) (3px solid #000000)]
-                  LayoutText {#text} at (346,25) size 134x19
-                    text run at (346,25) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (479,28) size 25x16
-                      text run at (479,28) width 25: "two"
-                LayoutText {#text} at (506,25) size 753x39
-                  text run at (506,25) width 250: ", which should result in a thin solid border"
+                  text run at (198,25) width 145: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 163x23 [border: (1px solid #000000) (3px solid #000000)]
+                  LayoutText {#text} at (346,25) size 133x19
+                    text run at (346,25) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (479,28) size 24x16
+                      text run at (479,28) width 24: "two"
+                LayoutText {#text} at (506,25) size 752x39
+                  text run at (506,25) width 249: ", which should result in a thin solid border"
                   text run at (3,45) width 618: "on the top side of each box in the inline element (and the UA's default border on the other three sides). "
                   text run at (621,45) width 98: "There is also an "
                 LayoutInline {SPAN} at (0,0) size 746x39
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width-expected.png
index 852dcf53..d18b2b4e4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width_inline-expected.png
index 6b718b1..ac9ef0f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width_inline-expected.txt
index 5be22b3..1f3a3dc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width_inline-expected.txt
@@ -20,17 +20,17 @@
         LayoutInline {TT} at (0,0) size 24x16
           LayoutText {#text} at (188,28) size 24x16
             text run at (188,28) width 24: "one"
-        LayoutText {#text} at (212,25) size 154x19
+        LayoutText {#text} at (212,25) size 153x19
           text run at (212,25) width 8: ". "
-          text run at (220,25) width 146: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 160x21 [border: (1px solid #000000)]
-          LayoutText {#text} at (366,25) size 134x19
-            text run at (366,25) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (499,28) size 25x16
-              text run at (499,28) width 25: "two"
-        LayoutText {#text} at (524,25) size 704x39
-          text run at (524,25) width 205: ", which should result in a thin solid"
+          text run at (220,25) width 145: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 159x21 [border: (1px solid #000000)]
+          LayoutText {#text} at (366,25) size 133x19
+            text run at (366,25) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (499,28) size 24x16
+              text run at (499,28) width 24: "two"
+        LayoutText {#text} at (524,25) size 703x39
+          text run at (524,25) width 204: ", which should result in a thin solid"
           text run at (25,45) width 323: "border on each side of each box in the inline element. "
           text run at (348,45) width 98: "There is also an "
         LayoutInline {SPAN} at (0,0) size 173x19
@@ -60,17 +60,17 @@
                 LayoutInline {TT} at (0,0) size 24x16
                   LayoutText {#text} at (188,28) size 24x16
                     text run at (188,28) width 24: "one"
-                LayoutText {#text} at (212,25) size 154x19
+                LayoutText {#text} at (212,25) size 153x19
                   text run at (212,25) width 8: ". "
-                  text run at (220,25) width 146: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 160x21 [border: (1px solid #000000)]
-                  LayoutText {#text} at (366,25) size 134x19
-                    text run at (366,25) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (499,28) size 25x16
-                      text run at (499,28) width 25: "two"
-                LayoutText {#text} at (524,25) size 704x39
-                  text run at (524,25) width 205: ", which should result in a thin solid"
+                  text run at (220,25) width 145: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 159x21 [border: (1px solid #000000)]
+                  LayoutText {#text} at (366,25) size 133x19
+                    text run at (366,25) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (499,28) size 24x16
+                      text run at (499,28) width 24: "two"
+                LayoutText {#text} at (524,25) size 703x39
+                  text run at (524,25) width 204: ", which should result in a thin solid"
                   text run at (25,45) width 323: "border on each side of each box in the inline element. "
                   text run at (348,45) width 98: "There is also an "
                 LayoutInline {SPAN} at (0,0) size 173x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear-expected.png
index 7c3d99fb..24bbe2c6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear_float-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear_float-expected.png
index 4dcf105..6bd1c3327 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear_float-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear_float-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear_float-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear_float-expected.txt
index 44659029..06f28b7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear_float-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear_float-expected.txt
@@ -26,8 +26,8 @@
           text run at (0,128) width 0: " "
       LayoutBlockFlow (floating) {DIV} at (0,200) size 192x125.38 [color=#FFFFFF] [bgcolor=#008000]
         LayoutBlockFlow {H1} at (8,8) size 176x23
-          LayoutText {#text} at (0,0) size 81x22
-            text run at (0,0) width 81: "Top menu"
+          LayoutText {#text} at (0,0) size 80x22
+            text run at (0,0) width 80: "Top menu"
         LayoutBlockFlow {UL} at (24,34.19) size 155.20x80
           LayoutListItem {LI} at (0,0) size 155.20x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
@@ -68,8 +68,8 @@
               text run at (0,0) width 82: "0.5em margin"
       LayoutBlockFlow {DIV} at (224,200) size 528x235.88 [bgcolor=#FFFF00]
         LayoutBlockFlow {H1} at (8,29.44) size 512x37
-          LayoutText {#text} at (0,0) size 274x36
-            text run at (0,0) width 274: "The 'clear' property"
+          LayoutText {#text} at (0,0) size 273x36
+            text run at (0,0) width 273: "The 'clear' property"
         LayoutBlockFlow {P} at (8,87.88) size 512x100
           LayoutText {#text} at (0,0) size 512x99
             text run at (0,0) width 512: "This page has two floating \"menus\" on the side; one has a green background, and the"
@@ -96,8 +96,8 @@
             LayoutTableCell {TD} at (12,28) size 578x323.88 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow (floating) {DIV} at (4,4) size 192x125.38 [color=#FFFFFF] [bgcolor=#008000]
                 LayoutBlockFlow {H1} at (8,8) size 176x23
-                  LayoutText {#text} at (0,0) size 81x22
-                    text run at (0,0) width 81: "Top menu"
+                  LayoutText {#text} at (0,0) size 80x22
+                    text run at (0,0) width 80: "Top menu"
                 LayoutBlockFlow {UL} at (24,34.19) size 155.20x80
                   LayoutListItem {LI} at (0,0) size 155.20x20
                     LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
@@ -138,8 +138,8 @@
                       text run at (0,0) width 82: "0.5em margin"
               LayoutBlockFlow {DIV} at (228,4) size 314x315.88 [bgcolor=#FFFF00]
                 LayoutBlockFlow {H1} at (8,29.44) size 298x37
-                  LayoutText {#text} at (0,0) size 274x36
-                    text run at (0,0) width 274: "The 'clear' property"
+                  LayoutText {#text} at (0,0) size 273x36
+                    text run at (0,0) width 273: "The 'clear' property"
                 LayoutBlockFlow {P} at (8,87.88) size 298x160
                   LayoutText {#text} at (0,0) size 298x159
                     text run at (0,0) width 298: "This page has two floating \"menus\" on the side;"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float-expected.png
index 706ff9c8..c89d42d2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float-expected.txt
index 84cd1d5..60a7111 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float-expected.txt
@@ -17,7 +17,7 @@
       LayoutBlockFlow {P} at (0,115) size 784x40
         LayoutText {#text} at (15,0) size 761x39
           text run at (15,0) width 566: "This text should be flowing past a tall orange rectangle on the left side of the browser window. "
-          text run at (580,0) width 196: "In this case, it is the image which"
+          text run at (581,0) width 195: "In this case, it is the image which"
           text run at (15,20) width 162: "has been floated to the left."
       LayoutBlockFlow (anonymous) at (0,171) size 784x20
         LayoutBR {BR} at (0,0) size 0x19
@@ -25,7 +25,7 @@
       LayoutBlockFlow {P} at (0,217) size 784x40
         LayoutText {#text} at (0,0) size 769x39
           text run at (0,0) width 574: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
-          text run at (573,0) width 196: "In this case, it is the image which"
+          text run at (574,0) width 195: "In this case, it is the image which"
           text run at (0,20) width 170: "has been floated to the right."
       LayoutTable {TABLE} at (0,273) size 784x182 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x180
@@ -43,7 +43,7 @@
               LayoutBlockFlow {P} at (4,4) size 762x40
                 LayoutText {#text} at (15,0) size 722x39
                   text run at (15,0) width 566: "This text should be flowing past a tall orange rectangle on the left side of the browser window. "
-                  text run at (580,0) width 157: "In this case, it is the image"
+                  text run at (581,0) width 156: "In this case, it is the image"
                   text run at (15,20) width 201: "which has been floated to the left."
               LayoutBlockFlow (anonymous) at (4,60) size 762x20
                 LayoutBR {BR} at (0,0) size 0x19
@@ -51,7 +51,7 @@
               LayoutBlockFlow {P} at (4,106) size 762x40
                 LayoutText {#text} at (0,0) size 730x39
                   text run at (0,0) width 574: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
-                  text run at (573,0) width 157: "In this case, it is the image"
+                  text run at (574,0) width 156: "In this case, it is the image"
                   text run at (0,20) width 209: "which has been floated to the right."
 layer at (8,105) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_elements_in_series-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_elements_in_series-expected.png
index cb8a9a2..05d824b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_elements_in_series-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_elements_in_series-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_elements_in_series-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_elements_in_series-expected.txt
index c0dfb24..cbcde92 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_elements_in_series-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_elements_in_series-expected.txt
@@ -36,11 +36,11 @@
         LayoutText {#text} at (0,0) size 769x39
           text run at (0,0) width 769: "The four floating DIV elements below should appear next to each other horizontally. The table at the bottom of this page"
           text run at (0,20) width 380: "indicates how the DIV elements should be laid out horizontally. "
-          text run at (379,20) width 205: "They should align with each other."
+          text run at (380,20) width 203: "They should align with each other."
       LayoutBlockFlow (floating) {DIV} at (0,314) size 140x100 [bgcolor=#FFFF00] [border: (20px solid #000000)]
         LayoutBlockFlow {P} at (40,40) size 60x20
-          LayoutText {#text} at (0,0) size 42x19
-            text run at (0,0) width 42: "Yellow"
+          LayoutText {#text} at (0,0) size 41x19
+            text run at (0,0) width 41: "Yellow"
       LayoutBlockFlow (floating) {DIV} at (160,314) size 140x100 [color=#FFFFFF] [bgcolor=#0000FF] [border: (20px solid #000000)]
         LayoutBlockFlow {P} at (40,40) size 60x20
           LayoutText {#text} at (0,0) size 27x19
@@ -104,11 +104,11 @@
                 LayoutText {#text} at (0,0) size 747x39
                   text run at (0,0) width 747: "The four floating DIV elements below should appear next to each other horizontally. The table at the bottom of this page"
                   text run at (0,20) width 380: "indicates how the DIV elements should be laid out horizontally. "
-                  text run at (379,20) width 205: "They should align with each other."
+                  text run at (380,20) width 203: "They should align with each other."
               LayoutBlockFlow (floating) {DIV} at (4,54) size 140x100 [bgcolor=#FFFF00] [border: (20px solid #000000)]
                 LayoutBlockFlow {P} at (40,40) size 60x20
-                  LayoutText {#text} at (0,0) size 42x19
-                    text run at (0,0) width 42: "Yellow"
+                  LayoutText {#text} at (0,0) size 41x19
+                    text run at (0,0) width 41: "Yellow"
               LayoutBlockFlow (floating) {DIV} at (164,54) size 140x100 [color=#FFFFFF] [bgcolor=#0000FF] [border: (20px solid #000000)]
                 LayoutBlockFlow {P} at (40,40) size 60x20
                   LayoutText {#text} at (0,0) size 27x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_margin-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_margin-expected.txt
index 1f25473c..fcbc03e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_margin-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_margin-expected.txt
@@ -30,7 +30,7 @@
           text run at (0,0) width 719: "This paragraph should have a white background which extends to the edges of the element's"
           text run at (0,23) width 39: "box. "
           text run at (39,23) width 430: "There is no padding set on this paragraph whatsoever. "
-          text run at (468,23) width 236: "If the background of the entire"
+          text run at (469,23) width 235: "If the background of the entire"
           text run at (0,46) width 696: "box is not white, this may cause problems with the following tests; at any rate, it must be"
           text run at (0,69) width 146: "taken into account."
       LayoutBlockFlow {P} at (30,327) size 729x115 [bgcolor=#FFFFFF]
@@ -50,7 +50,7 @@
           text run at (90,0) width 628: "The image in the upper left corner of this paragraph should be pushed down and"
           text run at (90,23) width 627: "to the right 30 pixels each from the upper left corner of the paragraph's box, and"
           text run at (90,46) width 319: "displace the paragraph text accordingly. "
-          text run at (408,46) width 282: "This paragraph should have a white"
+          text run at (409,46) width 281: "This paragraph should have a white"
           text run at (90,69) width 571: "background, first of all, which extends to the edges of the element's box. "
           text run at (661,69) width 65: "There is"
           text run at (0,92) width 355: "no padding set on this paragraph whatsoever."
@@ -69,17 +69,17 @@
           text run at (90,0) width 615: "The image in the upper left corner of this paragraph should be floated left, and"
           text run at (90,23) width 616: "the edges of the white background should line up with the top and left edges of"
           text run at (90,46) width 85: "the image. "
-          text run at (175,46) width 526: "However, there should be 30 pixels of space between the right and"
+          text run at (175,46) width 525: "However, there should be 30 pixels of space between the right and"
           text run at (90,69) width 468: "bottom edges of the image and the paragraph text around it. "
           text run at (558,69) width 119: "This paragraph"
           text run at (0,92) width 728: "should have a white background, first of all, which extends to the edges of the element's box."
           text run at (0,115) width 425: "There is no padding set on this paragraph whatsoever."
       LayoutBlockFlow {P} at (30,890) size 729x138 [bgcolor=#FFFFFF]
         LayoutImage (floating) {IMG} at (0,0) size 60x60
-        LayoutText {#text} at (30,0) size 724x137
+        LayoutText {#text} at (30,0) size 723x137
           text run at (30,0) width 693: "The image in the upper left corner of this paragraph should be floated left, and the edges"
           text run at (30,23) width 623: "of the white background should line up with the top and left edges of the image."
-          text run at (0,46) width 724: "However, the text should overlap the image's right and bottom sides, lining up with the thick"
+          text run at (0,46) width 723: "However, the text should overlap the image's right and bottom sides, lining up with the thick"
           text run at (0,69) width 187: "gray lines in the image. "
           text run at (187,69) width 524: "This paragraph should have a white background, first of all, which"
           text run at (0,92) width 328: "extends to the edges of the element's box. "
@@ -102,7 +102,7 @@
                   text run at (0,0) width 641: "This paragraph should have a white background which extends to the edges of the"
                   text run at (0,23) width 117: "element's box. "
                   text run at (117,23) width 430: "There is no padding set on this paragraph whatsoever. "
-                  text run at (546,23) width 158: "If the background of"
+                  text run at (547,23) width 157: "If the background of"
                   text run at (0,46) width 693: "the entire box is not white, this may cause problems with the following tests; at any rate,"
                   text run at (0,69) width 227: "it must be taken into account."
               LayoutBlockFlow {P} at (34,116) size 707x115 [bgcolor=#FFFFFF]
@@ -122,7 +122,7 @@
                   text run at (90,0) width 595: "The image in the upper left corner of this paragraph should be pushed down"
                   text run at (90,23) width 588: "and to the right 30 pixels each from the upper left corner of the paragraph's"
                   text run at (90,46) width 391: "box, and displace the paragraph text accordingly. "
-                  text run at (480,46) width 219: "This paragraph should have"
+                  text run at (481,46) width 218: "This paragraph should have"
                   text run at (90,69) width 590: "a white background, first of all, which extends to the edges of the element's"
                   text run at (0,92) width 39: "box. "
                   text run at (39,92) width 425: "There is no padding set on this paragraph whatsoever."
@@ -142,7 +142,7 @@
                   text run at (90,0) width 615: "The image in the upper left corner of this paragraph should be floated left, and"
                   text run at (90,23) width 616: "the edges of the white background should line up with the top and left edges of"
                   text run at (90,46) width 85: "the image. "
-                  text run at (175,46) width 526: "However, there should be 30 pixels of space between the right and"
+                  text run at (175,46) width 525: "However, there should be 30 pixels of space between the right and"
                   text run at (90,69) width 468: "bottom edges of the image and the paragraph text around it. "
                   text run at (558,69) width 119: "This paragraph"
                   text run at (0,92) width 689: "should have a white background, first of all, which extends to the edges of the element's"
@@ -153,7 +153,7 @@
                 LayoutText {#text} at (30,0) size 706x137
                   text run at (30,0) width 643: "The image in the upper left corner of this paragraph should be floated left, and the"
                   text run at (30,23) width 673: "edges of the white background should line up with the top and left edges of the image."
-                  text run at (0,46) width 681: "However, the text should overlap the image's right and bottom sides, lining up with the"
+                  text run at (0,46) width 680: "However, the text should overlap the image's right and bottom sides, lining up with the"
                   text run at (0,69) width 230: "thick gray lines in the image. "
                   text run at (230,69) width 471: "This paragraph should have a white background, first of all,"
                   text run at (0,92) width 381: "which extends to the edges of the element's box. "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_on_text_elements-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_on_text_elements-expected.png
index a0ee1de..bd10fc8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_on_text_elements-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_on_text_elements-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_on_text_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_on_text_elements-expected.txt
index 75d8b39..41c7b73 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_on_text_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_on_text_elements-expected.txt
@@ -57,7 +57,7 @@
             text run at (0,0) width 21: "T"
         LayoutText {#text} at (48,0) size 769x59
           text run at (48,0) width 721: "he first letter (a \"T\") of this paragraph should float left and be twice the font-size of the rest of the paragraph, as well as"
-          text run at (48,20) width 432: "bold, with a content width of 1.5em and a background-color of silver. "
+          text run at (48,20) width 431: "bold, with a content width of 1.5em and a background-color of silver. "
           text run at (479,20) width 290: "The top of the big letter \"T\" should be vertically"
           text run at (0,40) width 559: "aligned with the top of the first line of this paragraph. This is commonly known as \"drop-cap\"."
       LayoutBlockFlow (anonymous) at (0,552) size 769x20
@@ -156,7 +156,7 @@
               text run at (187,80) width 382: "blue rectangle. Due to it being floated to the right and having "
               text run at (569,80) width 7: "a"
               text run at (0,100) width 383: "10px right margin, the yellow rectange should have a 10px blue "
-              text run at (382,100) width 132: "stripe on its right side."
+              text run at (383,100) width 131: "stripe on its right side."
         LayoutBR {BR} at (576,0) size 1x19
       LayoutTable {TABLE} at (0,1376) size 769x1454 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x1452
@@ -195,11 +195,11 @@
                 LayoutBR {BR} at (19,95) size 0x0
               LayoutBlockFlow (anonymous) at (4,240) size 747x120
                 LayoutBlockFlow (floating) {P} at (0,0) size 373.50x120 [bgcolor=#FFFF00]
-                  LayoutText {#text} at (0,0) size 374x119
+                  LayoutText {#text} at (0,0) size 373x119
                     text run at (0,0) width 373: "This paragraph is floated to the left and the orange square"
                     text run at (0,20) width 373: "image should appear to the right of the paragraph. This"
                     text run at (0,40) width 373: "paragraph has a yellow background and no padding, margin"
-                    text run at (0,60) width 374: "or border. The right edge of this yellow box should be"
+                    text run at (0,60) width 373: "or border. The right edge of this yellow box should be"
                     text run at (0,80) width 373: "horizontally aligned with the left edge of the yellow box"
                     text run at (0,100) width 75: "undernearth."
                 LayoutImage {IMG} at (373.50,0) size 15x15
@@ -226,7 +226,7 @@
                 LayoutText {#text} at (48,0) size 747x59
                   text run at (48,0) width 699: "he first letter (a \"T\") of this paragraph should float left and be twice the font-size of the rest of the paragraph, as well"
                   text run at (48,20) width 460: "as bold, with a content width of 1.5em and a background-color of silver. "
-                  text run at (507,20) width 240: "The top of the big letter \"T\" should be"
+                  text run at (508,20) width 239: "The top of the big letter \"T\" should be"
                   text run at (0,40) width 616: "vertically aligned with the top of the first line of this paragraph. This is commonly known as \"drop-cap\"."
               LayoutBlockFlow (anonymous) at (4,576) size 747x20
                 LayoutBR {BR} at (0,0) size 0x19
@@ -325,7 +325,7 @@
                       text run at (230,80) width 330: "blue rectangle. Due to it being floated to the right and"
                       text run at (0,100) width 43: "having "
                       text run at (43,100) width 413: "a 10px right margin, the yellow rectange should have a 10px blue "
-                      text run at (455,100) width 105: "stripe on its right"
+                      text run at (456,100) width 104: "stripe on its right"
                       text run at (0,120) width 28: "side."
                 LayoutBR {BR} at (560,0) size 1x19
 layer at (8,116) size 769x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/height-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/height-expected.png
index 1f789a9..fec70bb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/height-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/height-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin-expected.txt
index 4d18d48..9879b1f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin-expected.txt
@@ -80,8 +80,8 @@
         LayoutText {#text} at (0,0) size 785x59
           text run at (0,0) width 785: "This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and pull subsequent"
           text run at (0,20) width 281: "text up toward it, and a light blue background. "
-          text run at (281,20) width 369: "In all other respects, however, the element should be normal. "
-          text run at (649,20) width 123: "No styles have been"
+          text run at (281,20) width 368: "In all other respects, however, the element should be normal. "
+          text run at (649,20) width 122: "No styles have been"
           text run at (0,40) width 401: "applied to it besides the negative margin and the background color."
       LayoutBlockFlow {P} at (0,1393) size 784x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 193x19
@@ -153,11 +153,11 @@
                 LayoutText {#text} at (0,0) size 193x19
                   text run at (0,0) width 193: "This element has a class of zero."
               LayoutBlockFlow {P} at (-6,1157) size 782x60 [bgcolor=#00FFFF]
-                LayoutText {#text} at (0,0) size 778x59
+                LayoutText {#text} at (0,0) size 777x59
                   text run at (0,0) width 714: "This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and pull"
                   text run at (0,20) width 352: "subsequent text up toward it, and a light blue background. "
-                  text run at (352,20) width 369: "In all other respects, however, the element should be normal. "
-                  text run at (720,20) width 58: "No styles"
+                  text run at (352,20) width 368: "In all other respects, however, the element should be normal. "
+                  text run at (720,20) width 57: "No styles"
                   text run at (0,40) width 466: "have been applied to it besides the negative margin and the background color."
               LayoutBlockFlow {P} at (4,1207) size 762x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 193x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom-expected.png
index 79cf193..64ddb89 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom-expected.txt
index 69a6090..7620bf25 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom-expected.txt
@@ -71,8 +71,8 @@
         LayoutText {#text} at (0,0) size 756x59
           text run at (0,0) width 756: "This paragraph has a bottom margin of -10px, which should cause elements after it to be shifted \"upward\" on the page, and no"
           text run at (0,20) width 72: "top margin. "
-          text run at (71,20) width 468: "No other styles have been applied to it besides a light blue background color. "
-          text run at (538,20) width 195: "In all other respects, the element"
+          text run at (72,20) width 467: "No other styles have been applied to it besides a light blue background color. "
+          text run at (539,20) width 194: "In all other respects, the element"
           text run at (0,40) width 107: "should be normal."
       LayoutBlockFlow {P} at (0,948.25) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 193x19
@@ -138,8 +138,8 @@
                 LayoutText {#text} at (0,0) size 737x59
                   text run at (0,0) width 737: "This paragraph has a bottom margin of -10px, which should cause elements after it to be shifted \"upward\" on the page, and"
                   text run at (0,20) width 91: "no top margin. "
-                  text run at (90,20) width 468: "No other styles have been applied to it besides a light blue background color. "
-                  text run at (557,20) width 145: "In all other respects, the"
+                  text run at (91,20) width 467: "No other styles have been applied to it besides a light blue background color. "
+                  text run at (558,20) width 144: "In all other respects, the"
                   text run at (0,40) width 157: "element should be normal."
               LayoutBlockFlow {P} at (4,743.75) size 747x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 193x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom_inline-expected.png
index 1226065..aa8a23d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom_inline-expected.txt
index d817719..ad0d9387 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom_inline-expected.txt
@@ -15,36 +15,36 @@
       LayoutBlockFlow {P} at (0,99) size 784x60 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 456x19
           text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
-          text run at (371,0) width 85: "It contains an "
+          text run at (372,0) width 84: "It contains an "
         LayoutInline {SPAN} at (0,0) size 717x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (455,0) size 134x19
-            text run at (455,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (588,3) size 25x16
-              text run at (588,3) width 25: "one"
-          LayoutText {#text} at (612,0) size 717x39
-            text run at (612,0) width 105: ", giving it an aqua"
+          LayoutText {#text} at (456,0) size 133x19
+            text run at (456,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (589,3) size 24x16
+              text run at (589,3) width 24: "one"
+          LayoutText {#text} at (613,0) size 717x39
+            text run at (613,0) width 104: ", giving it an aqua"
             text run at (0,20) width 235: "background and a 25px bottom margin"
-        LayoutText {#text} at (234,20) size 739x39
-          text run at (234,20) width 9: ". "
-          text run at (242,20) width 497: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+        LayoutText {#text} at (235,20) size 739x39
+          text run at (235,20) width 8: ". "
+          text run at (243,20) width 496: "Margins on inline elements does not affect line-height calculations, so all lines in this"
           text run at (0,40) width 247: "element should have the same line-height."
       LayoutBlockFlow {P} at (0,175) size 784x60 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 456x19
           text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
-          text run at (371,0) width 85: "It contains an "
+          text run at (372,0) width 84: "It contains an "
         LayoutInline {SPAN} at (0,0) size 717x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (455,0) size 134x19
-            text run at (455,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (588,3) size 25x16
-              text run at (588,3) width 25: "two"
-          LayoutText {#text} at (612,0) size 717x39
-            text run at (612,0) width 105: ", giving it an aqua"
+          LayoutText {#text} at (456,0) size 133x19
+            text run at (456,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (589,3) size 24x16
+              text run at (589,3) width 24: "two"
+          LayoutText {#text} at (613,0) size 717x39
+            text run at (613,0) width 104: ", giving it an aqua"
             text run at (0,20) width 241: "background and a -10px bottom margin"
-        LayoutText {#text} at (240,20) size 745x39
-          text run at (240,20) width 9: ". "
-          text run at (248,20) width 497: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+        LayoutText {#text} at (241,20) size 745x39
+          text run at (241,20) width 8: ". "
+          text run at (249,20) width 496: "Margins on inline elements does not affect line-height calculations, so all lines in this"
           text run at (0,40) width 247: "element should have the same line-height."
       LayoutTable {TABLE} at (0,251) size 784x174 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x172
@@ -61,36 +61,36 @@
               LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#808080]
                 LayoutText {#text} at (0,0) size 456x19
                   text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
-                  text run at (371,0) width 85: "It contains an "
+                  text run at (372,0) width 84: "It contains an "
                 LayoutInline {SPAN} at (0,0) size 717x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (455,0) size 134x19
-                    text run at (455,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (588,3) size 25x16
-                      text run at (588,3) width 25: "one"
-                  LayoutText {#text} at (612,0) size 717x39
-                    text run at (612,0) width 105: ", giving it an aqua"
+                  LayoutText {#text} at (456,0) size 133x19
+                    text run at (456,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (589,3) size 24x16
+                      text run at (589,3) width 24: "one"
+                  LayoutText {#text} at (613,0) size 717x39
+                    text run at (613,0) width 104: ", giving it an aqua"
                     text run at (0,20) width 235: "background and a 25px bottom margin"
-                LayoutText {#text} at (234,20) size 739x39
-                  text run at (234,20) width 9: ". "
-                  text run at (242,20) width 497: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+                LayoutText {#text} at (235,20) size 739x39
+                  text run at (235,20) width 8: ". "
+                  text run at (243,20) width 496: "Margins on inline elements does not affect line-height calculations, so all lines in this"
                   text run at (0,40) width 247: "element should have the same line-height."
               LayoutBlockFlow {P} at (4,80) size 762x60 [bgcolor=#808080]
                 LayoutText {#text} at (0,0) size 456x19
                   text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
-                  text run at (371,0) width 85: "It contains an "
+                  text run at (372,0) width 84: "It contains an "
                 LayoutInline {SPAN} at (0,0) size 717x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (455,0) size 134x19
-                    text run at (455,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (588,3) size 25x16
-                      text run at (588,3) width 25: "two"
-                  LayoutText {#text} at (612,0) size 717x39
-                    text run at (612,0) width 105: ", giving it an aqua"
+                  LayoutText {#text} at (456,0) size 133x19
+                    text run at (456,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (589,3) size 24x16
+                      text run at (589,3) width 24: "two"
+                  LayoutText {#text} at (613,0) size 717x39
+                    text run at (613,0) width 104: ", giving it an aqua"
                     text run at (0,20) width 241: "background and a -10px bottom margin"
-                LayoutText {#text} at (240,20) size 745x39
-                  text run at (240,20) width 9: ". "
-                  text run at (248,20) width 497: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+                LayoutText {#text} at (241,20) size 745x39
+                  text run at (241,20) width 8: ". "
+                  text run at (249,20) width 496: "Margins on inline elements does not affect line-height calculations, so all lines in this"
                   text run at (0,40) width 247: "element should have the same line-height."
 layer at (8,89) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_inline-expected.png
index 5e42be9f..365346b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_inline-expected.txt
index 6ab4520bf..06221db 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_inline-expected.txt
@@ -20,21 +20,21 @@
       LayoutBlockFlow {P} at (0,143) size 784x80 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 456x19
           text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
-          text run at (371,0) width 85: "It contains an "
+          text run at (372,0) width 84: "It contains an "
         LayoutInline {SPAN} at (0,0) size 742x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (480,0) size 134x19
-            text run at (480,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (613,3) size 25x16
-              text run at (613,3) width 25: "one"
-          LayoutText {#text} at (637,0) size 742x39
-            text run at (637,0) width 105: ", giving it an aqua"
+          LayoutText {#text} at (481,0) size 133x19
+            text run at (481,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (614,3) size 24x16
+              text run at (614,3) width 24: "one"
+          LayoutText {#text} at (638,0) size 742x39
+            text run at (638,0) width 104: ", giving it an aqua"
             text run at (0,20) width 188: "background and a 25px margin"
-        LayoutText {#text} at (212,20) size 767x59
-          text run at (212,20) width 9: ". "
-          text run at (220,20) width 547: "Margins on inline elements does not affect line-height calculations, so all lines in this element"
+        LayoutText {#text} at (213,20) size 767x59
+          text run at (213,20) width 8: ". "
+          text run at (221,20) width 546: "Margins on inline elements does not affect line-height calculations, so all lines in this element"
           text run at (0,40) width 201: "should have the same line-height. "
-          text run at (201,40) width 530: "However, there should be a 25px margin to the left side of the inline box in the first line it"
+          text run at (201,40) width 529: "However, there should be a 25px margin to the left side of the inline box in the first line it"
           text run at (0,60) width 605: "appears, and a 25px margin to the right side of the inline element box in the last line where it appears."
       LayoutBlockFlow {P} at (0,239) size 784x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 193x19
@@ -42,21 +42,21 @@
       LayoutBlockFlow {P} at (0,275) size 784x80 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 456x19
           text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
-          text run at (371,0) width 85: "It contains an "
+          text run at (372,0) width 84: "It contains an "
         LayoutInline {SPAN} at (0,0) size 783x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (445,0) size 134x19
-            text run at (445,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (578,3) size 25x16
-              text run at (578,3) width 25: "two"
-          LayoutText {#text} at (602,0) size 783x39
-            text run at (602,0) width 181: ", giving it an aqua background"
+          LayoutText {#text} at (446,0) size 133x19
+            text run at (446,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (579,3) size 24x16
+              text run at (579,3) width 24: "two"
+          LayoutText {#text} at (603,0) size 783x39
+            text run at (603,0) width 180: ", giving it an aqua background"
             text run at (0,20) width 118: "and a -10px margin"
-        LayoutText {#text} at (107,20) size 774x59
-          text run at (107,20) width 9: ". "
-          text run at (115,20) width 644: "Margins on inline elements does not affect line-height calculations, so all lines in this element should have the"
+        LayoutText {#text} at (108,20) size 773x59
+          text run at (108,20) width 8: ". "
+          text run at (116,20) width 643: "Margins on inline elements does not affect line-height calculations, so all lines in this element should have the"
           text run at (0,40) width 104: "same line-height. "
-          text run at (104,40) width 670: "However, there should be a -10px margin to the left side of the inline box in the first line it appears, and a -10px"
+          text run at (104,40) width 669: "However, there should be a -10px margin to the left side of the inline box in the first line it appears, and a -10px"
           text run at (0,60) width 477: "margin to the right side of the inline element box in the last line where it appears."
       LayoutBlockFlow {P} at (0,371) size 784x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 193x19
@@ -79,21 +79,21 @@
               LayoutBlockFlow {P} at (4,40) size 762x80 [bgcolor=#808080]
                 LayoutText {#text} at (0,0) size 456x19
                   text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
-                  text run at (371,0) width 85: "It contains an "
+                  text run at (372,0) width 84: "It contains an "
                 LayoutInline {SPAN} at (0,0) size 742x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (480,0) size 134x19
-                    text run at (480,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (613,3) size 25x16
-                      text run at (613,3) width 25: "one"
-                  LayoutText {#text} at (637,0) size 742x39
-                    text run at (637,0) width 105: ", giving it an aqua"
+                  LayoutText {#text} at (481,0) size 133x19
+                    text run at (481,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (614,3) size 24x16
+                      text run at (614,3) width 24: "one"
+                  LayoutText {#text} at (638,0) size 742x39
+                    text run at (638,0) width 104: ", giving it an aqua"
                     text run at (0,20) width 188: "background and a 25px margin"
-                LayoutText {#text} at (212,20) size 746x59
-                  text run at (212,20) width 9: ". "
-                  text run at (220,20) width 497: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+                LayoutText {#text} at (213,20) size 745x59
+                  text run at (213,20) width 8: ". "
+                  text run at (221,20) width 496: "Margins on inline elements does not affect line-height calculations, so all lines in this"
                   text run at (0,40) width 251: "element should have the same line-height. "
-                  text run at (251,40) width 495: "However, there should be a 25px margin to the left side of the inline box in the first"
+                  text run at (251,40) width 494: "However, there should be a 25px margin to the left side of the inline box in the first"
                   text run at (0,60) width 640: "line it appears, and a 25px margin to the right side of the inline element box in the last line where it appears."
               LayoutBlockFlow {P} at (4,136) size 762x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 193x19
@@ -101,21 +101,21 @@
               LayoutBlockFlow {P} at (4,172) size 762x80 [bgcolor=#808080]
                 LayoutText {#text} at (0,0) size 456x19
                   text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
-                  text run at (371,0) width 85: "It contains an "
+                  text run at (372,0) width 84: "It contains an "
                 LayoutInline {SPAN} at (0,0) size 707x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (445,0) size 134x19
-                    text run at (445,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (578,3) size 25x16
-                      text run at (578,3) width 25: "two"
-                  LayoutText {#text} at (602,0) size 707x39
-                    text run at (602,0) width 105: ", giving it an aqua"
+                  LayoutText {#text} at (446,0) size 133x19
+                    text run at (446,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (579,3) size 24x16
+                      text run at (579,3) width 24: "two"
+                  LayoutText {#text} at (603,0) size 707x39
+                    text run at (603,0) width 104: ", giving it an aqua"
                     text run at (0,20) width 194: "background and a -10px margin"
-                LayoutText {#text} at (183,20) size 738x59
-                  text run at (183,20) width 9: ". "
-                  text run at (191,20) width 547: "Margins on inline elements does not affect line-height calculations, so all lines in this element"
+                LayoutText {#text} at (184,20) size 738x59
+                  text run at (184,20) width 8: ". "
+                  text run at (192,20) width 546: "Margins on inline elements does not affect line-height calculations, so all lines in this element"
                   text run at (0,40) width 201: "should have the same line-height. "
-                  text run at (201,40) width 536: "However, there should be a -10px margin to the left side of the inline box in the first line it"
+                  text run at (201,40) width 535: "However, there should be a -10px margin to the left side of the inline box in the first line it"
                   text run at (0,60) width 611: "appears, and a -10px margin to the right side of the inline element box in the last line where it appears."
               LayoutBlockFlow {P} at (4,268) size 762x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 193x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left-expected.png
index 8243239..4239b68 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left-expected.txt
index a371e1b..d945392 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left-expected.txt
@@ -43,11 +43,10 @@
             text run at (0,0) width 655: "The left margin on this unordered list has been set to 25 pixels, and its background color has been set to gray."
         LayoutListItem {LI} at (65,20) size 679x60 [bgcolor=#FFFFFF]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (0,0) size 644x59
-            text run at (0,0) width 625: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
-            text run at (0,20) width 59: "checked. "
-            text run at (59,20) width 585: "This list item has its left margin also set to 25 pixels, which should combine with the list's margin to"
-            text run at (0,40) width 443: "make 50 pixels of margin, and its background color has been set to white."
+          LayoutText {#text} at (0,0) size 679x59
+            text run at (0,0) width 679: "Another list item might not be such a bad idea, either, considering that such things do need to be double-checked."
+            text run at (0,20) width 642: "This list item has its left margin also set to 25 pixels, which should combine with the list's margin to make 50"
+            text run at (0,40) width 386: "pixels of margin, and its background color has been set to white."
         LayoutListItem {LI} at (40,80) size 704x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutText {#text} at (0,0) size 167x19
@@ -56,11 +55,11 @@
         LayoutText {#text} at (0,0) size 193x19
           text run at (0,0) width 193: "This element has a class of zero."
       LayoutBlockFlow {P} at (-10,515) size 779x60 [bgcolor=#00FFFF]
-        LayoutText {#text} at (0,0) size 770x59
+        LayoutText {#text} at (0,0) size 769x59
           text run at (0,0) width 746: "This paragraph has a left margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light blue"
           text run at (0,20) width 80: "background. "
-          text run at (80,20) width 369: "In all other respects, however, the element should be normal. "
-          text run at (448,20) width 322: "No styles have been applied to it besides the negative"
+          text run at (80,20) width 368: "In all other respects, however, the element should be normal. "
+          text run at (448,20) width 321: "No styles have been applied to it besides the negative"
           text run at (0,40) width 224: "left margin and the background color."
       LayoutTable {TABLE} at (0,591) size 769x450 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x448
@@ -98,7 +97,7 @@
                 LayoutListItem {LI} at (65,20) size 657x60 [bgcolor=#FFFFFF]
                   LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
                   LayoutText {#text} at (0,0) size 644x59
-                    text run at (0,0) width 625: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
+                    text run at (0,0) width 624: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
                     text run at (0,20) width 59: "checked. "
                     text run at (59,20) width 585: "This list item has its left margin also set to 25 pixels, which should combine with the list's margin to"
                     text run at (0,40) width 443: "make 50 pixels of margin, and its background color has been set to white."
@@ -113,8 +112,8 @@
                 LayoutText {#text} at (0,0) size 746x59
                   text run at (0,0) width 746: "This paragraph has a left margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light blue"
                   text run at (0,20) width 80: "background. "
-                  text run at (80,20) width 369: "In all other respects, however, the element should be normal. "
-                  text run at (448,20) width 269: "No styles have been applied to it besides the"
+                  text run at (80,20) width 368: "In all other respects, however, the element should be normal. "
+                  text run at (448,20) width 268: "No styles have been applied to it besides the"
                   text run at (0,40) width 277: "negative left margin and the background color."
 layer at (8,153) size 769x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left_inline-expected.png
index 83c6c3a..4224c15 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left_inline-expected.txt
index 4e11b88c..a419008 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left_inline-expected.txt
@@ -13,41 +13,41 @@
           text run at (0,16) width 400: ".two {margin-left: -10px; background-color: aqua;}"
           text run at (400,16) width 0: " "
       LayoutBlockFlow {P} at (0,99) size 784x40 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 514x19
+        LayoutText {#text} at (0,0) size 513x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 147: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (538,0) size 134x19
-            text run at (538,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (671,3) size 25x16
-              text run at (671,3) width 25: "one"
-        LayoutText {#text} at (695,0) size 782x39
-          text run at (695,0) width 87: ", which should"
+          text run at (368,0) width 145: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 157x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (538,0) size 133x19
+            text run at (538,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (671,3) size 24x16
+              text run at (671,3) width 24: "one"
+        LayoutText {#text} at (695,0) size 781x39
+          text run at (695,0) width 86: ", which should"
           text run at (0,20) width 235: "result in 25-pixel left margin only in the "
-        LayoutInline {STRONG} at (0,0) size 28x19
-          LayoutText {#text} at (234,20) size 28x19
-            text run at (234,20) width 28: "first"
-        LayoutText {#text} at (261,20) size 217x19
-          text run at (261,20) width 217: " line in which the inline box appears."
+        LayoutInline {STRONG} at (0,0) size 27x19
+          LayoutText {#text} at (235,20) size 27x19
+            text run at (235,20) width 27: "first"
+        LayoutText {#text} at (262,20) size 216x19
+          text run at (262,20) width 216: " line in which the inline box appears."
       LayoutBlockFlow {P} at (0,155) size 784x40 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 514x19
+        LayoutText {#text} at (0,0) size 513x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 147: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (503,0) size 134x19
-            text run at (503,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (636,3) size 25x16
-              text run at (636,3) width 25: "two"
-        LayoutText {#text} at (660,0) size 783x39
-          text run at (660,0) width 123: ", which should result"
+          text run at (368,0) width 145: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 157x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (503,0) size 133x19
+            text run at (503,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (636,3) size 24x16
+              text run at (636,3) width 24: "two"
+        LayoutText {#text} at (660,0) size 782x39
+          text run at (660,0) width 122: ", which should result"
           text run at (0,20) width 186: "in -10px left margin only in the "
-        LayoutInline {STRONG} at (0,0) size 28x19
-          LayoutText {#text} at (185,20) size 28x19
-            text run at (185,20) width 28: "first"
-        LayoutText {#text} at (212,20) size 217x19
-          text run at (212,20) width 217: " line in which the inline box appears."
+        LayoutInline {STRONG} at (0,0) size 27x19
+          LayoutText {#text} at (186,20) size 27x19
+            text run at (186,20) width 27: "first"
+        LayoutText {#text} at (213,20) size 216x19
+          text run at (213,20) width 216: " line in which the inline box appears."
       LayoutTable {TABLE} at (0,211) size 784x134 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x132
           LayoutTableRow {TR} at (0,0) size 782x28
@@ -61,40 +61,40 @@
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x104 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x40 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 514x19
+                LayoutText {#text} at (0,0) size 513x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 147: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (538,0) size 134x19
-                    text run at (538,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (671,3) size 25x16
-                      text run at (671,3) width 25: "one"
-                LayoutText {#text} at (695,0) size 739x39
-                  text run at (695,0) width 44: ", which"
+                  text run at (368,0) width 145: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 157x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (538,0) size 133x19
+                    text run at (538,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (671,3) size 24x16
+                      text run at (671,3) width 24: "one"
+                LayoutText {#text} at (695,0) size 738x39
+                  text run at (695,0) width 43: ", which"
                   text run at (0,20) width 278: "should result in 25-pixel left margin only in the "
-                LayoutInline {STRONG} at (0,0) size 28x19
-                  LayoutText {#text} at (277,20) size 28x19
-                    text run at (277,20) width 28: "first"
-                LayoutText {#text} at (304,20) size 217x19
-                  text run at (304,20) width 217: " line in which the inline box appears."
+                LayoutInline {STRONG} at (0,0) size 27x19
+                  LayoutText {#text} at (278,20) size 27x19
+                    text run at (278,20) width 27: "first"
+                LayoutText {#text} at (305,20) size 216x19
+                  text run at (305,20) width 216: " line in which the inline box appears."
               LayoutBlockFlow {P} at (4,60) size 762x40 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 514x19
+                LayoutText {#text} at (0,0) size 513x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 147: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (503,0) size 134x19
-                    text run at (503,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (636,3) size 25x16
-                      text run at (636,3) width 25: "two"
-                LayoutText {#text} at (660,0) size 747x39
-                  text run at (660,0) width 87: ", which should"
+                  text run at (368,0) width 145: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 157x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (503,0) size 133x19
+                    text run at (503,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (636,3) size 24x16
+                      text run at (636,3) width 24: "two"
+                LayoutText {#text} at (660,0) size 746x39
+                  text run at (660,0) width 86: ", which should"
                   text run at (0,20) width 222: "result in -10px left margin only in the "
-                LayoutInline {STRONG} at (0,0) size 28x19
-                  LayoutText {#text} at (221,20) size 28x19
-                    text run at (221,20) width 28: "first"
-                LayoutText {#text} at (248,20) size 217x19
-                  text run at (248,20) width 217: " line in which the inline box appears."
+                LayoutInline {STRONG} at (0,0) size 27x19
+                  LayoutText {#text} at (222,20) size 27x19
+                    text run at (222,20) width 27: "first"
+                LayoutText {#text} at (249,20) size 216x19
+                  text run at (249,20) width 216: " line in which the inline box appears."
 layer at (8,89) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right-expected.png
index 33ca1bcd..54b394a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right-expected.txt
index a98c349..49a7aa88 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right-expected.txt
@@ -43,8 +43,8 @@
             text run at (51,0) width 668: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to gray."
         LayoutListItem {LI} at (40,20) size 694x60 [bgcolor=#FFFFFF]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (14,0) size 688x59
-            text run at (14,0) width 680: "Another list item might not be such a bad idea, either, considering that such things do need to be double-checked."
+          LayoutText {#text} at (15,0) size 688x59
+            text run at (15,0) width 679: "Another list item might not be such a bad idea, either, considering that such things do need to be double-checked."
             text run at (6,20) width 688: "This list item has its right margin also set to 25 pixels, which should combine with the list's margin to make 50 pixels"
             text run at (344,40) width 350: "of margin, and its background-color has been set to white."
         LayoutListItem {LI} at (40,80) size 719x20
@@ -55,11 +55,11 @@
         LayoutText {#text} at (591,0) size 193x19
           text run at (591,0) width 193: "This element has a class of zero."
       LayoutBlockFlow {P} at (0,515) size 794x60 [bgcolor=#00FFFF]
-        LayoutText {#text} at (0,0) size 770x59
+        LayoutText {#text} at (0,0) size 769x59
           text run at (0,0) width 754: "This paragraph has a right margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light blue"
           text run at (0,20) width 80: "background. "
-          text run at (80,20) width 369: "In all other respects, however, the element should be normal. "
-          text run at (448,20) width 322: "No styles have been applied to it besides the negative"
+          text run at (80,20) width 368: "In all other respects, however, the element should be normal. "
+          text run at (448,20) width 321: "No styles have been applied to it besides the negative"
           text run at (0,40) width 232: "right margin and the background color."
       LayoutTable {TABLE} at (0,591) size 784x450 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x448
@@ -96,9 +96,9 @@
                     text run at (29,0) width 668: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to gray."
                 LayoutListItem {LI} at (40,20) size 672x60 [bgcolor=#FFFFFF]
                   LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-                  LayoutText {#text} at (47,0) size 652x59
-                    text run at (47,0) width 625: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
-                    text run at (20,20) width 60: "checked. "
+                  LayoutText {#text} at (48,0) size 652x59
+                    text run at (48,0) width 624: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
+                    text run at (20,20) width 59: "checked. "
                     text run at (79,20) width 593: "This list item has its right margin also set to 25 pixels, which should combine with the list's margin to"
                     text run at (227,40) width 445: "make 50 pixels of margin, and its background-color has been set to white."
                 LayoutListItem {LI} at (40,80) size 697x20
@@ -109,11 +109,11 @@
                 LayoutText {#text} at (569,0) size 193x19
                   text run at (569,0) width 193: "This element has a class of zero."
               LayoutBlockFlow {P} at (4,356) size 772x60 [bgcolor=#00FFFF]
-                LayoutText {#text} at (0,0) size 770x59
+                LayoutText {#text} at (0,0) size 769x59
                   text run at (0,0) width 754: "This paragraph has a right margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light blue"
                   text run at (0,20) width 80: "background. "
-                  text run at (80,20) width 369: "In all other respects, however, the element should be normal. "
-                  text run at (448,20) width 322: "No styles have been applied to it besides the negative"
+                  text run at (80,20) width 368: "In all other respects, however, the element should be normal. "
+                  text run at (448,20) width 321: "No styles have been applied to it besides the negative"
                   text run at (0,40) width 232: "right margin and the background color."
 layer at (8,153) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,145) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right_inline-expected.png
index 963bb0b..523cf3a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right_inline-expected.txt
index ccfdadd..e79120c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right_inline-expected.txt
@@ -13,41 +13,41 @@
           text run at (0,16) width 408: ".two {margin-right: -10px; background-color: aqua;}"
           text run at (408,16) width 0: " "
       LayoutBlockFlow {P} at (0,99) size 784x40 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 514x19
+        LayoutText {#text} at (0,0) size 513x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 147: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (513,0) size 134x19
-            text run at (513,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (646,3) size 25x16
-              text run at (646,3) width 25: "one"
-        LayoutText {#text} at (695,0) size 782x39
-          text run at (695,0) width 87: ", which should"
+          text run at (368,0) width 145: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 157x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (513,0) size 133x19
+            text run at (513,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (646,3) size 24x16
+              text run at (646,3) width 24: "one"
+        LayoutText {#text} at (695,0) size 781x39
+          text run at (695,0) width 86: ", which should"
           text run at (0,20) width 243: "result in 25-pixel right margin only in the "
-        LayoutInline {STRONG} at (0,0) size 25x19
-          LayoutText {#text} at (242,20) size 25x19
-            text run at (242,20) width 25: "last"
-        LayoutText {#text} at (266,20) size 217x19
-          text run at (266,20) width 217: " line in which the inline box appears."
+        LayoutInline {STRONG} at (0,0) size 24x19
+          LayoutText {#text} at (243,20) size 24x19
+            text run at (243,20) width 24: "last"
+        LayoutText {#text} at (267,20) size 216x19
+          text run at (267,20) width 216: " line in which the inline box appears."
       LayoutBlockFlow {P} at (0,155) size 784x40 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 514x19
+        LayoutText {#text} at (0,0) size 513x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 147: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (513,0) size 134x19
-            text run at (513,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (646,3) size 25x16
-              text run at (646,3) width 25: "two"
-        LayoutText {#text} at (660,0) size 783x39
-          text run at (660,0) width 123: ", which should result"
+          text run at (368,0) width 145: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 157x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (513,0) size 133x19
+            text run at (513,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (646,3) size 24x16
+              text run at (646,3) width 24: "two"
+        LayoutText {#text} at (660,0) size 782x39
+          text run at (660,0) width 122: ", which should result"
           text run at (0,20) width 194: "in -10px right margin only in the "
-        LayoutInline {STRONG} at (0,0) size 25x19
-          LayoutText {#text} at (193,20) size 25x19
-            text run at (193,20) width 25: "last"
-        LayoutText {#text} at (217,20) size 217x19
-          text run at (217,20) width 217: " line in which the inline box appears."
+        LayoutInline {STRONG} at (0,0) size 24x19
+          LayoutText {#text} at (194,20) size 24x19
+            text run at (194,20) width 24: "last"
+        LayoutText {#text} at (218,20) size 216x19
+          text run at (218,20) width 216: " line in which the inline box appears."
       LayoutTable {TABLE} at (0,211) size 784x134 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x132
           LayoutTableRow {TR} at (0,0) size 782x28
@@ -61,40 +61,40 @@
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x104 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x40 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 514x19
+                LayoutText {#text} at (0,0) size 513x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 147: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (513,0) size 134x19
-                    text run at (513,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (646,3) size 25x16
-                      text run at (646,3) width 25: "one"
-                LayoutText {#text} at (695,0) size 739x39
-                  text run at (695,0) width 44: ", which"
+                  text run at (368,0) width 145: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 157x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (513,0) size 133x19
+                    text run at (513,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (646,3) size 24x16
+                      text run at (646,3) width 24: "one"
+                LayoutText {#text} at (695,0) size 738x39
+                  text run at (695,0) width 43: ", which"
                   text run at (0,20) width 286: "should result in 25-pixel right margin only in the "
-                LayoutInline {STRONG} at (0,0) size 25x19
-                  LayoutText {#text} at (285,20) size 25x19
-                    text run at (285,20) width 25: "last"
-                LayoutText {#text} at (309,20) size 217x19
-                  text run at (309,20) width 217: " line in which the inline box appears."
+                LayoutInline {STRONG} at (0,0) size 24x19
+                  LayoutText {#text} at (286,20) size 24x19
+                    text run at (286,20) width 24: "last"
+                LayoutText {#text} at (310,20) size 216x19
+                  text run at (310,20) width 216: " line in which the inline box appears."
               LayoutBlockFlow {P} at (4,60) size 762x40 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 514x19
+                LayoutText {#text} at (0,0) size 513x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 147: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (513,0) size 134x19
-                    text run at (513,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (646,3) size 25x16
-                      text run at (646,3) width 25: "two"
-                LayoutText {#text} at (660,0) size 747x39
-                  text run at (660,0) width 87: ", which should"
+                  text run at (368,0) width 145: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 157x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (513,0) size 133x19
+                    text run at (513,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (646,3) size 24x16
+                      text run at (646,3) width 24: "two"
+                LayoutText {#text} at (660,0) size 746x39
+                  text run at (660,0) width 86: ", which should"
                   text run at (0,20) width 230: "result in -10px right margin only in the "
-                LayoutInline {STRONG} at (0,0) size 25x19
-                  LayoutText {#text} at (229,20) size 25x19
-                    text run at (229,20) width 25: "last"
-                LayoutText {#text} at (253,20) size 217x19
-                  text run at (253,20) width 217: " line in which the inline box appears."
+                LayoutInline {STRONG} at (0,0) size 24x19
+                  LayoutText {#text} at (230,20) size 24x19
+                    text run at (230,20) width 24: "last"
+                LayoutText {#text} at (254,20) size 216x19
+                  text run at (254,20) width 216: " line in which the inline box appears."
 layer at (8,89) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top-expected.png
index aa54f029..daa6c15 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top-expected.txt
index 5c659a8..56972c8f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top-expected.txt
@@ -45,7 +45,7 @@
       LayoutBlockFlow {P} at (0,689.25) size 769x40 [bgcolor=#00FFFF]
         LayoutText {#text} at (0,0) size 737x39
           text run at (0,0) width 688: "This element should have a top margin of 25%, which is calculated with respect to the width of the parent element. "
-          text run at (687,0) width 50: "This will"
+          text run at (688,0) width 49: "This will"
           text run at (0,20) width 198: "require extra text in order to test."
       LayoutBlockFlow {UL} at (0,754.25) size 769x105 [bgcolor=#00FFFF]
         LayoutListItem {LI} at (40,0) size 729x20
@@ -70,9 +70,9 @@
       LayoutBlockFlow {P} at (0,869.25) size 769x40 [bgcolor=#00FFFF]
         LayoutText {#text} at (0,0) size 750x39
           text run at (0,0) width 730: "This element has a top margin of -10px, which should cause it to be shifted \"upward\" on the page, and no bottom margin. "
-          text run at (729,0) width 21: "No"
-          text run at (0,20) width 444: "other styles have been applied to it besides a light blue background color. "
-          text run at (443,20) width 306: "In all other respects, the element should be normal."
+          text run at (730,0) width 20: "No"
+          text run at (0,20) width 443: "other styles have been applied to it besides a light blue background color. "
+          text run at (443,20) width 305: "In all other respects, the element should be normal."
       LayoutTable {TABLE} at (0,909.25) size 769x778 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x776
           LayoutTableRow {TR} at (0,0) size 767x28
@@ -106,7 +106,7 @@
               LayoutBlockFlow {P} at (4,503.75) size 747x40 [bgcolor=#00FFFF]
                 LayoutText {#text} at (0,0) size 737x39
                   text run at (0,0) width 688: "This element should have a top margin of 25%, which is calculated with respect to the width of the parent element. "
-                  text run at (687,0) width 50: "This will"
+                  text run at (688,0) width 49: "This will"
                   text run at (0,20) width 198: "require extra text in order to test."
               LayoutBlockFlow {UL} at (4,568.75) size 747x105 [bgcolor=#00FFFF]
                 LayoutListItem {LI} at (40,0) size 707x20
@@ -131,8 +131,8 @@
               LayoutBlockFlow {P} at (4,683.75) size 747x60 [bgcolor=#00FFFF]
                 LayoutText {#text} at (0,0) size 726x59
                   text run at (0,0) width 726: "This element has a top margin of -10px, which should cause it to be shifted \"upward\" on the page, and no bottom margin."
-                  text run at (0,20) width 468: "No other styles have been applied to it besides a light blue background color. "
-                  text run at (467,20) width 257: "In all other respects, the element should be"
+                  text run at (0,20) width 467: "No other styles have been applied to it besides a light blue background color. "
+                  text run at (467,20) width 256: "In all other respects, the element should be"
                   text run at (0,40) width 45: "normal."
 layer at (8,182) size 769x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,174) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top_inline-expected.png
index c4d30bf..aae9323b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top_inline-expected.txt
index d4edea4..98a44b93 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top_inline-expected.txt
@@ -18,36 +18,36 @@
       LayoutBlockFlow {P} at (0,131) size 784x60 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 452x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 85: "It contains an "
+          text run at (368,0) width 84: "It contains an "
         LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (451,0) size 134x19
-            text run at (451,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (584,3) size 25x16
-              text run at (584,3) width 25: "one"
-          LayoutText {#text} at (608,0) size 713x39
-            text run at (608,0) width 105: ", giving it an aqua"
+          LayoutText {#text} at (452,0) size 133x19
+            text run at (452,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (585,3) size 24x16
+              text run at (585,3) width 24: "one"
+          LayoutText {#text} at (609,0) size 713x39
+            text run at (609,0) width 104: ", giving it an aqua"
             text run at (0,20) width 212: "background and a 25px top margin"
-        LayoutText {#text} at (211,20) size 753x39
-          text run at (211,20) width 9: ". "
-          text run at (219,20) width 534: "Margins on inline elements do not affect line-height calculations, so all lines in this element"
+        LayoutText {#text} at (212,20) size 753x39
+          text run at (212,20) width 8: ". "
+          text run at (220,20) width 533: "Margins on inline elements do not affect line-height calculations, so all lines in this element"
           text run at (0,40) width 197: "should have the same line-height."
       LayoutBlockFlow {P} at (0,207) size 784x60 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 452x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 85: "It contains an "
+          text run at (368,0) width 84: "It contains an "
         LayoutInline {SPAN} at (0,0) size 775x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (451,0) size 134x19
-            text run at (451,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (584,3) size 25x16
-              text run at (584,3) width 25: "two"
-          LayoutText {#text} at (608,0) size 775x39
-            text run at (608,0) width 167: ", giving the inline element an"
+          LayoutText {#text} at (452,0) size 133x19
+            text run at (452,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (585,3) size 24x16
+              text run at (585,3) width 24: "two"
+          LayoutText {#text} at (609,0) size 775x39
+            text run at (609,0) width 166: ", giving the inline element an"
             text run at (0,20) width 251: "aqua background and a -10px top margin"
-        LayoutText {#text} at (250,20) size 742x39
-          text run at (250,20) width 9: ". "
-          text run at (258,20) width 484: "Margins on inline elements do not affect line-height calculations, so all lines in this"
+        LayoutText {#text} at (251,20) size 742x39
+          text run at (251,20) width 8: ". "
+          text run at (259,20) width 483: "Margins on inline elements do not affect line-height calculations, so all lines in this"
           text run at (0,40) width 247: "element should have the same line-height."
       LayoutTable {TABLE} at (0,283) size 784x174 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x172
@@ -64,36 +64,36 @@
               LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#808080]
                 LayoutText {#text} at (0,0) size 452x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 85: "It contains an "
+                  text run at (368,0) width 84: "It contains an "
                 LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (451,0) size 134x19
-                    text run at (451,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (584,3) size 25x16
-                      text run at (584,3) width 25: "one"
-                  LayoutText {#text} at (608,0) size 713x39
-                    text run at (608,0) width 105: ", giving it an aqua"
+                  LayoutText {#text} at (452,0) size 133x19
+                    text run at (452,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (585,3) size 24x16
+                      text run at (585,3) width 24: "one"
+                  LayoutText {#text} at (609,0) size 713x39
+                    text run at (609,0) width 104: ", giving it an aqua"
                     text run at (0,20) width 212: "background and a 25px top margin"
-                LayoutText {#text} at (211,20) size 753x39
-                  text run at (211,20) width 9: ". "
-                  text run at (219,20) width 534: "Margins on inline elements do not affect line-height calculations, so all lines in this element"
+                LayoutText {#text} at (212,20) size 753x39
+                  text run at (212,20) width 8: ". "
+                  text run at (220,20) width 533: "Margins on inline elements do not affect line-height calculations, so all lines in this element"
                   text run at (0,40) width 197: "should have the same line-height."
               LayoutBlockFlow {P} at (4,80) size 762x60 [bgcolor=#808080]
                 LayoutText {#text} at (0,0) size 452x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 85: "It contains an "
+                  text run at (368,0) width 84: "It contains an "
                 LayoutInline {SPAN} at (0,0) size 757x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (451,0) size 134x19
-                    text run at (451,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (584,3) size 25x16
-                      text run at (584,3) width 25: "two"
-                  LayoutText {#text} at (608,0) size 757x39
-                    text run at (608,0) width 149: ", giving the inline element"
+                  LayoutText {#text} at (452,0) size 133x19
+                    text run at (452,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (585,3) size 24x16
+                      text run at (585,3) width 24: "two"
+                  LayoutText {#text} at (609,0) size 757x39
+                    text run at (609,0) width 148: ", giving the inline element"
                     text run at (0,20) width 269: "an aqua background and a -10px top margin"
-                LayoutText {#text} at (268,20) size 760x39
-                  text run at (268,20) width 9: ". "
-                  text run at (276,20) width 484: "Margins on inline elements do not affect line-height calculations, so all lines in this"
+                LayoutText {#text} at (269,20) size 760x39
+                  text run at (269,20) width 8: ". "
+                  text run at (277,20) width 483: "Margins on inline elements do not affect line-height calculations, so all lines in this"
                   text run at (0,40) width 247: "element should have the same line-height."
 layer at (8,121) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom_inline-expected.png
index 9ba2494..d5459de 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom_inline-expected.txt
index 363091c5..588bd03 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom_inline-expected.txt
@@ -16,15 +16,15 @@
       LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 452x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 85: "It contains an "
+          text run at (368,0) width 84: "It contains an "
         LayoutInline {SPAN} at (0,0) size 713x64 [bgcolor=#00FFFF]
-          LayoutText {#text} at (451,0) size 134x19
-            text run at (451,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (584,3) size 25x16
-              text run at (584,3) width 25: "one"
-          LayoutText {#text} at (608,0) size 713x39
-            text run at (608,0) width 105: ", giving it an aqua"
+          LayoutText {#text} at (452,0) size 133x19
+            text run at (452,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (585,3) size 24x16
+              text run at (585,3) width 24: "one"
+          LayoutText {#text} at (609,0) size 713x39
+            text run at (609,0) width 104: ", giving it an aqua"
             text run at (0,20) width 243: "background and a 25px bottom padding"
         LayoutText {#text} at (243,20) size 775x59
           text run at (243,20) width 8: ". "
@@ -35,15 +35,15 @@
       LayoutBlockFlow {P} at (0,211) size 784x60 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 452x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 85: "It contains an "
+          text run at (368,0) width 84: "It contains an "
         LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (451,0) size 134x19
-            text run at (451,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (584,3) size 25x16
-              text run at (584,3) width 25: "two"
-          LayoutText {#text} at (608,0) size 713x39
-            text run at (608,0) width 105: ", giving it an aqua"
+          LayoutText {#text} at (452,0) size 133x19
+            text run at (452,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (585,3) size 24x16
+              text run at (585,3) width 24: "two"
+          LayoutText {#text} at (609,0) size 713x39
+            text run at (609,0) width 104: ", giving it an aqua"
             text run at (0,20) width 497: "background and no bottom padding, since negative padding values are not allowed"
         LayoutText {#text} at (497,20) size 756x39
           text run at (497,20) width 8: ". "
@@ -64,15 +64,15 @@
               LayoutBlockFlow {P} at (4,4) size 762x80 [bgcolor=#808080]
                 LayoutText {#text} at (0,0) size 452x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 85: "It contains an "
+                  text run at (368,0) width 84: "It contains an "
                 LayoutInline {SPAN} at (0,0) size 713x64 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (451,0) size 134x19
-                    text run at (451,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (584,3) size 25x16
-                      text run at (584,3) width 25: "one"
-                  LayoutText {#text} at (608,0) size 713x39
-                    text run at (608,0) width 105: ", giving it an aqua"
+                  LayoutText {#text} at (452,0) size 133x19
+                    text run at (452,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (585,3) size 24x16
+                      text run at (585,3) width 24: "one"
+                  LayoutText {#text} at (609,0) size 713x39
+                    text run at (609,0) width 104: ", giving it an aqua"
                     text run at (0,20) width 243: "background and a 25px bottom padding"
                 LayoutText {#text} at (243,20) size 747x59
                   text run at (243,20) width 8: ". "
@@ -83,15 +83,15 @@
               LayoutBlockFlow {P} at (4,100) size 762x60 [bgcolor=#808080]
                 LayoutText {#text} at (0,0) size 452x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 85: "It contains an "
+                  text run at (368,0) width 84: "It contains an "
                 LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (451,0) size 134x19
-                    text run at (451,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (584,3) size 25x16
-                      text run at (584,3) width 25: "two"
-                  LayoutText {#text} at (608,0) size 713x39
-                    text run at (608,0) width 105: ", giving it an aqua"
+                  LayoutText {#text} at (452,0) size 133x19
+                    text run at (452,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (585,3) size 24x16
+                      text run at (585,3) width 24: "two"
+                  LayoutText {#text} at (609,0) size 713x39
+                    text run at (609,0) width 104: ", giving it an aqua"
                     text run at (0,20) width 497: "background and no bottom padding, since negative padding values are not allowed"
                 LayoutText {#text} at (497,20) size 756x39
                   text run at (497,20) width 8: ". "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_inline-expected.png
index 56b0f8c..4a6fa40 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_inline-expected.txt
index f673b082..09d5660 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_inline-expected.txt
@@ -21,15 +21,15 @@
       LayoutBlockFlow {P} at (0,167) size 769x120 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 452x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 85: "It contains an "
+          text run at (368,0) width 84: "It contains an "
         LayoutInline {SPAN} at (0,0) size 738x89 [bgcolor=#00FFFF]
-          LayoutText {#text} at (476,0) size 134x19
-            text run at (476,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (609,3) size 25x16
-              text run at (609,3) width 25: "one"
-          LayoutText {#text} at (633,0) size 738x39
-            text run at (633,0) width 105: ", giving it an aqua"
+          LayoutText {#text} at (477,0) size 133x19
+            text run at (477,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (610,3) size 24x16
+              text run at (610,3) width 24: "one"
+          LayoutText {#text} at (634,0) size 738x39
+            text run at (634,0) width 104: ", giving it an aqua"
             text run at (0,20) width 196: "background and a 25px padding"
         LayoutText {#text} at (221,20) size 739x99
           text run at (221,20) width 8: ". "
@@ -37,7 +37,7 @@
           text run at (0,40) width 251: "element should have the same line-height. "
           text run at (251,40) width 488: "There may be implementation-specific limits on how much of the padding the user"
           text run at (0,60) width 308: "agent is able to display above and below each line. "
-          text run at (308,60) width 431: "However, there should be at least 25px of padding to the left side of the"
+          text run at (308,60) width 430: "However, there should be at least 25px of padding to the left side of the"
           text run at (0,80) width 720: "inline box in the first line it appears, and 25px of padding to the right side of the inline element box in the last line where it"
           text run at (0,100) width 52: "appears."
       LayoutBlockFlow {P} at (0,303) size 769x20 [bgcolor=#C0C0C0]
@@ -46,15 +46,15 @@
       LayoutBlockFlow {P} at (0,339) size 769x60 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 452x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 85: "It contains an "
+          text run at (368,0) width 84: "It contains an "
         LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (451,0) size 134x19
-            text run at (451,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (584,3) size 25x16
-              text run at (584,3) width 25: "two"
-          LayoutText {#text} at (608,0) size 713x39
-            text run at (608,0) width 105: ", giving it an aqua"
+          LayoutText {#text} at (452,0) size 133x19
+            text run at (452,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (585,3) size 24x16
+              text run at (585,3) width 24: "two"
+          LayoutText {#text} at (609,0) size 713x39
+            text run at (609,0) width 104: ", giving it an aqua"
             text run at (0,20) width 450: "background and no padding, since negative padding values are not allowed"
         LayoutText {#text} at (450,20) size 739x39
           text run at (450,20) width 8: ". "
@@ -81,15 +81,15 @@
               LayoutBlockFlow {P} at (4,40) size 747x120 [bgcolor=#808080]
                 LayoutText {#text} at (0,0) size 452x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 85: "It contains an "
+                  text run at (368,0) width 84: "It contains an "
                 LayoutInline {SPAN} at (0,0) size 738x89 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (476,0) size 134x19
-                    text run at (476,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (609,3) size 25x16
-                      text run at (609,3) width 25: "one"
-                  LayoutText {#text} at (633,0) size 738x39
-                    text run at (633,0) width 105: ", giving it an aqua"
+                  LayoutText {#text} at (477,0) size 133x19
+                    text run at (477,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (610,3) size 24x16
+                      text run at (610,3) width 24: "one"
+                  LayoutText {#text} at (634,0) size 738x39
+                    text run at (634,0) width 104: ", giving it an aqua"
                     text run at (0,20) width 196: "background and a 25px padding"
                 LayoutText {#text} at (221,20) size 739x99
                   text run at (221,20) width 8: ". "
@@ -97,7 +97,7 @@
                   text run at (0,40) width 251: "element should have the same line-height. "
                   text run at (251,40) width 488: "There may be implementation-specific limits on how much of the padding the user"
                   text run at (0,60) width 308: "agent is able to display above and below each line. "
-                  text run at (308,60) width 431: "However, there should be at least 25px of padding to the left side of the"
+                  text run at (308,60) width 430: "However, there should be at least 25px of padding to the left side of the"
                   text run at (0,80) width 720: "inline box in the first line it appears, and 25px of padding to the right side of the inline element box in the last line where it"
                   text run at (0,100) width 52: "appears."
               LayoutBlockFlow {P} at (4,176) size 747x20 [bgcolor=#C0C0C0]
@@ -106,15 +106,15 @@
               LayoutBlockFlow {P} at (4,212) size 747x60 [bgcolor=#808080]
                 LayoutText {#text} at (0,0) size 452x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 85: "It contains an "
+                  text run at (368,0) width 84: "It contains an "
                 LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (451,0) size 134x19
-                    text run at (451,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (584,3) size 25x16
-                      text run at (584,3) width 25: "two"
-                  LayoutText {#text} at (608,0) size 713x39
-                    text run at (608,0) width 105: ", giving it an aqua"
+                  LayoutText {#text} at (452,0) size 133x19
+                    text run at (452,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (585,3) size 24x16
+                      text run at (585,3) width 24: "two"
+                  LayoutText {#text} at (609,0) size 713x39
+                    text run at (609,0) width 104: ", giving it an aqua"
                     text run at (0,20) width 450: "background and no padding, since negative padding values are not allowed"
                 LayoutText {#text} at (450,20) size 739x39
                   text run at (450,20) width 8: ". "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left-expected.png
index d31eecfb..286acc3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left-expected.txt
index 968c6e9..bdae074 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left-expected.txt
@@ -50,9 +50,9 @@
             text run at (0,0) width 682: "The left padding on this unordered list has been set to 25 pixels, which will require some extra test in order to test."
         LayoutListItem {LI} at (25,20) size 744x60 [bgcolor=#FFFFFF]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (25,0) size 709x59
-            text run at (25,0) width 684: "Another list item might not be such a bad idea, either, considering that such things do need to be double-checked. "
-            text run at (708,0) width 26: "This"
+          LayoutText {#text} at (25,0) size 708x59
+            text run at (25,0) width 683: "Another list item might not be such a bad idea, either, considering that such things do need to be double-checked. "
+            text run at (708,0) width 25: "This"
             text run at (25,20) width 683: "list item has its left padding also set to 25 pixels, which should combine with the list's padding to make 50 pixels of"
             text run at (25,40) width 44: "margin."
       LayoutBlockFlow {P} at (0,519) size 769x40 [bgcolor=#00FFFF]
@@ -104,7 +104,7 @@
                 LayoutListItem {LI} at (25,20) size 722x60 [bgcolor=#FFFFFF]
                   LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
                   LayoutText {#text} at (25,0) size 696x59
-                    text run at (25,0) width 680: "Another list item might not be such a bad idea, either, considering that such things do need to be double-checked."
+                    text run at (25,0) width 679: "Another list item might not be such a bad idea, either, considering that such things do need to be double-checked."
                     text run at (25,20) width 696: "This list item has its left padding also set to 25 pixels, which should combine with the list's padding to make 50 pixels"
                     text run at (25,40) width 60: "of margin."
               LayoutBlockFlow {P} at (4,380) size 747x40 [bgcolor=#00FFFF]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left_inline-expected.png
index c5f5b137..c6e7c52 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left_inline-expected.txt
index 6af1111..a416695a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left_inline-expected.txt
@@ -14,17 +14,17 @@
           text run at (408,16) width 0: " "
           text run at (0,32) width 0: " "
       LayoutBlockFlow {P} at (0,115) size 784x40 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 514x19
+        LayoutText {#text} at (0,0) size 513x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 147: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 183x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (538,0) size 134x19
-            text run at (538,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (671,3) size 25x16
-              text run at (671,3) width 25: "one"
-        LayoutText {#text} at (695,0) size 778x39
-          text run at (695,0) width 83: " which should"
+          text run at (368,0) width 145: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 182x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (538,0) size 133x19
+            text run at (538,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (671,3) size 24x16
+              text run at (671,3) width 24: "one"
+        LayoutText {#text} at (695,0) size 777x39
+          text run at (695,0) width 82: " which should"
           text run at (0,20) width 450: "result in 25-pixel left padding (which should also be a light blue) only in the "
         LayoutInline {STRONG} at (0,0) size 27x19
           LayoutText {#text} at (450,20) size 27x19
@@ -32,17 +32,17 @@
         LayoutText {#text} at (477,20) size 216x19
           text run at (477,20) width 216: " line in which the inline box appears."
       LayoutBlockFlow {P} at (0,171) size 784x40 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 514x19
+        LayoutText {#text} at (0,0) size 513x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 147: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (513,0) size 134x19
-            text run at (513,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (646,3) size 25x16
-              text run at (646,3) width 25: "two"
-        LayoutText {#text} at (670,0) size 753x39
-          text run at (670,0) width 83: " which should"
+          text run at (368,0) width 145: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 157x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (513,0) size 133x19
+            text run at (513,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (646,3) size 24x16
+              text run at (646,3) width 24: "two"
+        LayoutText {#text} at (670,0) size 752x39
+          text run at (670,0) width 82: " which should"
           text run at (0,20) width 437: "result in -10px left padding (which should also be a light blue) only in the "
         LayoutInline {STRONG} at (0,0) size 27x19
           LayoutText {#text} at (437,20) size 27x19
@@ -62,17 +62,17 @@
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x104 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x40 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 514x19
+                LayoutText {#text} at (0,0) size 513x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 147: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 183x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (538,0) size 134x19
-                    text run at (538,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (671,3) size 25x16
-                      text run at (671,3) width 25: "one"
-                LayoutText {#text} at (695,0) size 735x39
-                  text run at (695,0) width 40: " which"
+                  text run at (368,0) width 145: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 182x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (538,0) size 133x19
+                    text run at (538,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (671,3) size 24x16
+                      text run at (671,3) width 24: "one"
+                LayoutText {#text} at (695,0) size 734x39
+                  text run at (695,0) width 39: " which"
                   text run at (0,20) width 493: "should result in 25-pixel left padding (which should also be a light blue) only in the "
                 LayoutInline {STRONG} at (0,0) size 27x19
                   LayoutText {#text} at (493,20) size 27x19
@@ -80,17 +80,17 @@
                 LayoutText {#text} at (520,20) size 216x19
                   text run at (520,20) width 216: " line in which the inline box appears."
               LayoutBlockFlow {P} at (4,60) size 762x40 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 514x19
+                LayoutText {#text} at (0,0) size 513x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 147: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (513,0) size 134x19
-                    text run at (513,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (646,3) size 25x16
-                      text run at (646,3) width 25: "two"
-                LayoutText {#text} at (670,0) size 753x39
-                  text run at (670,0) width 83: " which should"
+                  text run at (368,0) width 145: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 157x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (513,0) size 133x19
+                    text run at (513,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (646,3) size 24x16
+                      text run at (646,3) width 24: "two"
+                LayoutText {#text} at (670,0) size 752x39
+                  text run at (670,0) width 82: " which should"
                   text run at (0,20) width 437: "result in -10px left padding (which should also be a light blue) only in the "
                 LayoutInline {STRONG} at (0,0) size 27x19
                   LayoutText {#text} at (437,20) size 27x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right_inline-expected.png
index fa1b663..ea8133d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right_inline-expected.txt
index 028b1b0..57f3759 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right_inline-expected.txt
@@ -14,17 +14,17 @@
           text run at (568,16) width 0: " "
           text run at (0,32) width 0: " "
       LayoutBlockFlow {P} at (0,115) size 784x40 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 514x19
+        LayoutText {#text} at (0,0) size 513x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 147: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 183x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (513,0) size 134x19
-            text run at (513,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (646,3) size 25x16
-              text run at (646,3) width 25: "one"
-        LayoutText {#text} at (695,0) size 782x39
-          text run at (695,0) width 87: ", which should"
+          text run at (368,0) width 145: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 182x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (513,0) size 133x19
+            text run at (513,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (646,3) size 24x16
+              text run at (646,3) width 24: "one"
+        LayoutText {#text} at (695,0) size 781x39
+          text run at (695,0) width 86: ", which should"
           text run at (0,20) width 447: "result in 25-pixel right padding (which should also be light blue) only in the "
         LayoutInline {STRONG} at (0,0) size 24x19
           LayoutText {#text} at (447,20) size 24x19
@@ -32,17 +32,17 @@
         LayoutText {#text} at (471,20) size 216x19
           text run at (471,20) width 216: " line in which the inline box appears."
       LayoutBlockFlow {P} at (0,171) size 784x40 [bgcolor=#808080]
-        LayoutText {#text} at (0,0) size 514x19
+        LayoutText {#text} at (0,0) size 513x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 147: "However, it contains an "
-        LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
-          LayoutText {#text} at (513,0) size 134x19
-            text run at (513,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (646,3) size 25x16
-              text run at (646,3) width 25: "two"
-        LayoutText {#text} at (670,0) size 757x39
-          text run at (670,0) width 87: ", which should"
+          text run at (368,0) width 145: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 157x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (513,0) size 133x19
+            text run at (513,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (646,3) size 24x16
+              text run at (646,3) width 24: "two"
+        LayoutText {#text} at (670,0) size 756x39
+          text run at (670,0) width 86: ", which should"
           text run at (0,20) width 472: "result in no right padding, since negative padding values are not allowed, in the "
         LayoutInline {STRONG} at (0,0) size 24x19
           LayoutText {#text} at (472,20) size 24x19
@@ -62,17 +62,17 @@
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x104 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x40 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 514x19
+                LayoutText {#text} at (0,0) size 513x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 147: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 183x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (513,0) size 134x19
-                    text run at (513,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (646,3) size 25x16
-                      text run at (646,3) width 25: "one"
-                LayoutText {#text} at (695,0) size 739x39
-                  text run at (695,0) width 44: ", which"
+                  text run at (368,0) width 145: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 182x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (513,0) size 133x19
+                    text run at (513,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (646,3) size 24x16
+                      text run at (646,3) width 24: "one"
+                LayoutText {#text} at (695,0) size 738x39
+                  text run at (695,0) width 43: ", which"
                   text run at (0,20) width 490: "should result in 25-pixel right padding (which should also be light blue) only in the "
                 LayoutInline {STRONG} at (0,0) size 24x19
                   LayoutText {#text} at (490,20) size 24x19
@@ -80,17 +80,17 @@
                 LayoutText {#text} at (514,20) size 216x19
                   text run at (514,20) width 216: " line in which the inline box appears."
               LayoutBlockFlow {P} at (4,60) size 762x40 [bgcolor=#808080]
-                LayoutText {#text} at (0,0) size 514x19
+                LayoutText {#text} at (0,0) size 513x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 147: "However, it contains an "
-                LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (513,0) size 134x19
-                    text run at (513,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (646,3) size 25x16
-                      text run at (646,3) width 25: "two"
-                LayoutText {#text} at (670,0) size 757x39
-                  text run at (670,0) width 87: ", which should"
+                  text run at (368,0) width 145: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 157x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (513,0) size 133x19
+                    text run at (513,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (646,3) size 24x16
+                      text run at (646,3) width 24: "two"
+                LayoutText {#text} at (670,0) size 756x39
+                  text run at (670,0) width 86: ", which should"
                   text run at (0,20) width 472: "result in no right padding, since negative padding values are not allowed, in the "
                 LayoutInline {STRONG} at (0,0) size 24x19
                   LayoutText {#text} at (472,20) size 24x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top_inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top_inline-expected.png
index 063c026..974b237 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top_inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top_inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top_inline-expected.txt
index c488791..487b2b1e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top_inline-expected.txt
@@ -16,15 +16,15 @@
       LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 452x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 85: "It contains an "
+          text run at (368,0) width 84: "It contains an "
         LayoutInline {SPAN} at (0,0) size 713x64 [bgcolor=#00FFFF]
-          LayoutText {#text} at (451,0) size 134x19
-            text run at (451,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (584,3) size 25x16
-              text run at (584,3) width 25: "one"
-          LayoutText {#text} at (608,0) size 713x39
-            text run at (608,0) width 105: ", giving it an aqua"
+          LayoutText {#text} at (452,0) size 133x19
+            text run at (452,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (585,3) size 24x16
+              text run at (585,3) width 24: "one"
+          LayoutText {#text} at (609,0) size 713x39
+            text run at (609,0) width 104: ", giving it an aqua"
             text run at (0,20) width 220: "background and a 25px top padding"
         LayoutText {#text} at (220,20) size 783x59
           text run at (220,20) width 8: ". "
@@ -35,15 +35,15 @@
       LayoutBlockFlow {P} at (0,211) size 784x60 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 452x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-          text run at (367,0) width 85: "It contains an "
+          text run at (368,0) width 84: "It contains an "
         LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
-          LayoutText {#text} at (451,0) size 134x19
-            text run at (451,0) width 134: "inline element of class "
-          LayoutInline {TT} at (0,0) size 25x16
-            LayoutText {#text} at (584,3) size 25x16
-              text run at (584,3) width 25: "two"
-          LayoutText {#text} at (608,0) size 713x39
-            text run at (608,0) width 105: ", giving it an aqua"
+          LayoutText {#text} at (452,0) size 133x19
+            text run at (452,0) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x16
+            LayoutText {#text} at (585,3) size 24x16
+              text run at (585,3) width 24: "two"
+          LayoutText {#text} at (609,0) size 713x39
+            text run at (609,0) width 104: ", giving it an aqua"
             text run at (0,20) width 474: "background and no top padding, since negative padding values are not allowed"
         LayoutText {#text} at (474,20) size 763x39
           text run at (474,20) width 8: ". "
@@ -64,15 +64,15 @@
               LayoutBlockFlow {P} at (4,4) size 762x80 [bgcolor=#808080]
                 LayoutText {#text} at (0,0) size 452x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 85: "It contains an "
+                  text run at (368,0) width 84: "It contains an "
                 LayoutInline {SPAN} at (0,0) size 713x64 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (451,0) size 134x19
-                    text run at (451,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (584,3) size 25x16
-                      text run at (584,3) width 25: "one"
-                  LayoutText {#text} at (608,0) size 713x39
-                    text run at (608,0) width 105: ", giving it an aqua"
+                  LayoutText {#text} at (452,0) size 133x19
+                    text run at (452,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (585,3) size 24x16
+                      text run at (585,3) width 24: "one"
+                  LayoutText {#text} at (609,0) size 713x39
+                    text run at (609,0) width 104: ", giving it an aqua"
                     text run at (0,20) width 220: "background and a 25px top padding"
                 LayoutText {#text} at (220,20) size 739x59
                   text run at (220,20) width 8: ". "
@@ -83,15 +83,15 @@
               LayoutBlockFlow {P} at (4,100) size 762x60 [bgcolor=#808080]
                 LayoutText {#text} at (0,0) size 452x19
                   text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
-                  text run at (367,0) width 85: "It contains an "
+                  text run at (368,0) width 84: "It contains an "
                 LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
-                  LayoutText {#text} at (451,0) size 134x19
-                    text run at (451,0) width 134: "inline element of class "
-                  LayoutInline {TT} at (0,0) size 25x16
-                    LayoutText {#text} at (584,3) size 25x16
-                      text run at (584,3) width 25: "two"
-                  LayoutText {#text} at (608,0) size 713x39
-                    text run at (608,0) width 105: ", giving it an aqua"
+                  LayoutText {#text} at (452,0) size 133x19
+                    text run at (452,0) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x16
+                    LayoutText {#text} at (585,3) size 24x16
+                      text run at (585,3) width 24: "two"
+                  LayoutText {#text} at (609,0) size 713x39
+                    text run at (609,0) width 104: ", giving it an aqua"
                     text run at (0,20) width 474: "background and no top padding, since negative padding values are not allowed"
                 LayoutText {#text} at (474,20) size 733x39
                   text run at (474,20) width 8: ". "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/cascade/cascade_order-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/cascade/cascade_order-expected.png
index e694b54b..99336f2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/cascade/cascade_order-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/cascade/cascade_order-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/cascade/cascade_order-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/cascade/cascade_order-expected.txt
index 28833e3..d0a13fa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/cascade/cascade_order-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/cascade/cascade_order-expected.txt
@@ -65,8 +65,8 @@
           LayoutText {#text} at (0,0) size 91x19
             text run at (0,0) width 91: "...and this blue."
       LayoutBlockFlow {P} at (0,419) size 769x20 [color=#0000FF]
-        LayoutText {#text} at (0,0) size 265x19
-          text run at (0,0) width 265: "This sentence should be blue (STYLE attr.)."
+        LayoutText {#text} at (0,0) size 264x19
+          text run at (0,0) width 264: "This sentence should be blue (STYLE attr.)."
       LayoutBlockFlow {P} at (0,455) size 769x20 [color=#800080]
         LayoutText {#text} at (0,0) size 194x19
           text run at (0,0) width 194: "This sentence should be purple ["
@@ -126,8 +126,8 @@
                   LayoutText {#text} at (0,0) size 91x19
                     text run at (0,0) width 91: "...and this blue."
               LayoutBlockFlow {P} at (4,180) size 652x20 [color=#0000FF]
-                LayoutText {#text} at (0,0) size 265x19
-                  text run at (0,0) width 265: "This sentence should be blue (STYLE attr.)."
+                LayoutText {#text} at (0,0) size 264x19
+                  text run at (0,0) width 264: "This sentence should be blue (STYLE attr.)."
               LayoutBlockFlow {P} at (4,216) size 652x20 [color=#800080]
                 LayoutText {#text} at (0,0) size 194x19
                   text run at (0,0) width 194: "This sentence should be purple ["
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/cascade/important-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/cascade/important-expected.png
index 3de29e8..d4247b9a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/cascade/important-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/cascade/important-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/classification/display-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/classification/display-expected.png
index c722fa236..2cd44699 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/classification/display-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/classification/display-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/classification/display-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/classification/display-expected.txt
index 99331257..b5f497e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/classification/display-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/classification/display-expected.txt
@@ -25,11 +25,11 @@
         LayoutInline {P} at (0,0) size 426x19
           LayoutText {#text} at (0,0) size 426x19
             text run at (0,0) width 426: "This sentence should be part of an inline element, as are the next three. "
-        LayoutInline {P} at (0,0) size 742x59
-          LayoutText {#text} at (426,0) size 742x59
+        LayoutInline {P} at (0,0) size 741x59
+          LayoutText {#text} at (426,0) size 741x59
             text run at (426,0) width 310: "This sentence and the next two are part of a second"
             text run at (0,20) width 88: "inline element. "
-            text run at (88,20) width 654: "They should therefore appear, along with the sentence above, to be all one paragraph which is four sentences"
+            text run at (88,20) width 653: "They should therefore appear, along with the sentence above, to be all one paragraph which is four sentences"
             text run at (0,40) width 33: "long. "
             text run at (33,40) width 239: "If this is not the case, then the keyword "
           LayoutInline {CODE} at (0,0) size 48x16
@@ -48,7 +48,7 @@
         LayoutText {#text} at (120,20) size 692x39
           text run at (120,20) width 346: " is supported, there will be a square for the item marker). "
           text run at (466,20) width 226: "A 3em left margin has been applied in"
-          text run at (0,40) width 349: "order to ensure that there is space for the list-item marker."
+          text run at (0,40) width 348: "order to ensure that there is space for the list-item marker."
       LayoutBlockFlow {P} at (0,335) size 769x20
         LayoutText {#text} at (0,0) size 429x19
           text run at (0,0) width 429: "The next paragraph should be invisible (if it's visible, you'll see red text)."
@@ -84,11 +84,11 @@
                 LayoutInline {P} at (0,0) size 426x19
                   LayoutText {#text} at (0,0) size 426x19
                     text run at (0,0) width 426: "This sentence should be part of an inline element, as are the next three. "
-                LayoutInline {P} at (0,0) size 742x59
-                  LayoutText {#text} at (426,0) size 742x59
+                LayoutInline {P} at (0,0) size 741x59
+                  LayoutText {#text} at (426,0) size 741x59
                     text run at (426,0) width 310: "This sentence and the next two are part of a second"
                     text run at (0,20) width 88: "inline element. "
-                    text run at (88,20) width 654: "They should therefore appear, along with the sentence above, to be all one paragraph which is four sentences"
+                    text run at (88,20) width 653: "They should therefore appear, along with the sentence above, to be all one paragraph which is four sentences"
                     text run at (0,40) width 33: "long. "
                     text run at (33,40) width 239: "If this is not the case, then the keyword "
                   LayoutInline {CODE} at (0,0) size 48x16
@@ -108,7 +108,7 @@
                 LayoutText {#text} at (136,20) size 694x39
                   text run at (136,20) width 346: " is supported, there will be a square for the item marker). "
                   text run at (482,20) width 212: "A 3em left margin has been applied"
-                  text run at (0,40) width 363: "in order to ensure that there is space for the list-item marker."
+                  text run at (0,40) width 362: "in order to ensure that there is space for the list-item marker."
               LayoutBlockFlow {P} at (4,192) size 747x20
                 LayoutText {#text} at (0,0) size 429x19
                   text run at (0,0) width 429: "The next paragraph should be invisible (if it's visible, you'll see red text)."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style-expected.png
index 60e65d5..629b7be 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_image-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_image-expected.png
index b017aa5..83b79176 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_position-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_position-expected.png
index d9c3eba9..632e0a2c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_position-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_position-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/classification/white_space-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/classification/white_space-expected.png
index df1df56..257f7780 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/classification/white_space-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/classification/white_space-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/classification/white_space-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/classification/white_space-expected.txt
index a224d45..df87473 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/classification/white_space-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/classification/white_space-expected.txt
@@ -19,7 +19,7 @@
         LayoutText {#text} at (0,0) size 543x99
           text run at (0,0) width 0: " "
           text run at (0,20) width 543: "This sentence should     show extra space  where there    would ordinarily         not be any."
-          text run at (542,20) width 1: " "
+          text run at (543,20) width 0: " "
           text run at (0,40) width 284: "     There should also be preservation of returns"
           text run at (284,40) width 0: " "
           text run at (0,60) width 93: "as this sentence"
@@ -56,7 +56,7 @@
                 LayoutText {#text} at (0,0) size 543x99
                   text run at (0,0) width 0: " "
                   text run at (0,20) width 543: "This sentence should     show extra space  where there    would ordinarily         not be any."
-                  text run at (542,20) width 1: " "
+                  text run at (543,20) width 0: " "
                   text run at (0,40) width 284: "     There should also be preservation of returns"
                   text run at (284,40) width 0: " "
                   text run at (0,60) width 93: "as this sentence"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background-expected.png
index 65e3686..ab66a30 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background-expected.txt
index 97dca62..0d3653e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background-expected.txt
@@ -28,21 +28,21 @@
           text run at (560,20) width 186: "I'll have to add extra text at the"
           text run at (0,40) width 368: "end of this page to make it long enough to scroll conveniently."
       LayoutBlockFlow {P} at (0,207) size 769x60 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 756x59
+        LayoutText {#text} at (0,0) size 755x59
           text run at (0,0) width 709: "This paragraph should have a lime background and an orange strip which starts at the top right and runs to the bottom."
-          text run at (0,20) width 756: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling these"
+          text run at (0,20) width 755: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling these"
           text run at (0,40) width 80: "declarations. "
           text run at (80,40) width 294: "Hey, I didn't say the page would be pretty, did I?"
       LayoutBlockFlow {P} at (0,283) size 769x60 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 756x59
+        LayoutText {#text} at (0,0) size 755x59
           text run at (0,0) width 720: "This paragraph should have a lime background and an orange strip which starts at the center top and runs to the bottom."
-          text run at (0,20) width 756: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling these"
+          text run at (0,20) width 755: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling these"
           text run at (0,40) width 80: "declarations. "
           text run at (80,40) width 294: "Hey, I didn't say the page would be pretty, did I?"
       LayoutBlockFlow {P} at (0,359) size 769x60 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 756x59
+        LayoutText {#text} at (0,0) size 755x59
           text run at (0,0) width 708: "This paragraph should have a lime background and an orange strip which starts at the top left and runs to the top right."
-          text run at (0,20) width 756: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling these"
+          text run at (0,20) width 755: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling these"
           text run at (0,40) width 80: "declarations. "
           text run at (80,40) width 294: "Hey, I didn't say the page would be pretty, did I?"
       LayoutTable {TABLE} at (0,435) size 769x326 [border: (1px outset #808080)]
@@ -69,21 +69,21 @@
                   text run at (628,20) width 89: "I'll have to add"
                   text run at (0,40) width 465: "extra text at the end of this page to make it long enough to scroll conveniently."
               LayoutBlockFlow {P} at (4,80) size 747x60 [bgcolor=#00FF00]
-                LayoutText {#text} at (0,0) size 721x59
+                LayoutText {#text} at (0,0) size 720x59
                   text run at (0,0) width 709: "This paragraph should have a lime background and an orange strip which starts at the top right and runs to the bottom."
-                  text run at (0,20) width 721: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
+                  text run at (0,20) width 720: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
                   text run at (0,40) width 115: "these declarations. "
                   text run at (115,40) width 294: "Hey, I didn't say the page would be pretty, did I?"
               LayoutBlockFlow {P} at (4,156) size 747x60 [bgcolor=#00FF00]
-                LayoutText {#text} at (0,0) size 721x59
+                LayoutText {#text} at (0,0) size 720x59
                   text run at (0,0) width 720: "This paragraph should have a lime background and an orange strip which starts at the center top and runs to the bottom."
-                  text run at (0,20) width 721: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
+                  text run at (0,20) width 720: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
                   text run at (0,40) width 115: "these declarations. "
                   text run at (115,40) width 294: "Hey, I didn't say the page would be pretty, did I?"
               LayoutBlockFlow {P} at (4,232) size 747x60 [bgcolor=#00FF00]
-                LayoutText {#text} at (0,0) size 721x59
+                LayoutText {#text} at (0,0) size 720x59
                   text run at (0,0) width 708: "This paragraph should have a lime background and an orange strip which starts at the top left and runs to the top right."
-                  text run at (0,20) width 721: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
+                  text run at (0,20) width 720: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
                   text run at (0,40) width 115: "these declarations. "
                   text run at (115,40) width 294: "Hey, I didn't say the page would be pretty, did I?"
 layer at (8,121) size 769x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_attachment-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_attachment-expected.txt
index 3faed43..58054d1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_attachment-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_attachment-expected.txt
@@ -17,7 +17,7 @@
           text run at (0,20) width 154: "scroll with the document. "
           text run at (154,20) width 615: "It should, instead, appear to be a fixed pattern past which the content scrolls, even when the end of the"
           text run at (0,40) width 102: "page is reached. "
-          text run at (102,40) width 663: "In addition, the default Test Suite background should NOT appear, as it's been overridden by the styles shown"
+          text run at (102,40) width 662: "In addition, the default Test Suite background should NOT appear, as it's been overridden by the styles shown"
           text run at (0,60) width 45: "above. "
           text run at (45,60) width 619: "I'll have to add a lot of extra text to the page in order to make all this something we can actually check. "
           text run at (664,60) width 94: "Don't worry, I'll"
@@ -32,12 +32,12 @@
             text run at (0,0) width 213: "5.3.5    'background-attachment'"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,325.53) size 784x100
-        LayoutInline {EM} at (0,0) size 41x19
-          LayoutText {#text} at (0,0) size 41x19
-            text run at (0,0) width 41: "Value:"
-        LayoutText {#text} at (40,0) size 77x19
-          text run at (40,0) width 77: " scroll | fixed"
-        LayoutBR {BR} at (116,15) size 1x0
+        LayoutInline {EM} at (0,0) size 40x19
+          LayoutText {#text} at (0,0) size 40x19
+            text run at (0,0) width 40: "Value:"
+        LayoutText {#text} at (40,0) size 76x19
+          text run at (40,0) width 76: " scroll | fixed"
+        LayoutBR {BR} at (116,15) size 0x0
         LayoutInline {EM} at (0,0) size 43x19
           LayoutText {#text} at (0,20) size 43x19
             text run at (0,20) width 43: "Initial:"
@@ -56,12 +56,12 @@
         LayoutText {#text} at (63,60) size 19x19
           text run at (63,60) width 19: " no"
         LayoutBR {BR} at (82,75) size 0x0
-        LayoutInline {EM} at (0,0) size 123x19
-          LayoutText {#text} at (0,80) size 123x19
-            text run at (0,80) width 123: "Percentage values:"
-        LayoutText {#text} at (122,80) size 32x19
-          text run at (122,80) width 32: " N/A"
-        LayoutBR {BR} at (153,95) size 1x0
+        LayoutInline {EM} at (0,0) size 122x19
+          LayoutText {#text} at (0,80) size 122x19
+            text run at (0,80) width 122: "Percentage values:"
+        LayoutText {#text} at (122,80) size 31x19
+          text run at (122,80) width 31: " N/A"
+        LayoutBR {BR} at (153,95) size 0x0
       LayoutBlockFlow {P} at (0,441.53) size 784x40
         LayoutText {#text} at (0,0) size 766x39
           text run at (0,0) width 766: "If a background image is specified, the value of 'background-attachment' determines if it is fixed with regard to the canvas or if it"
@@ -79,12 +79,12 @@
           text run at (0,64) width 24: "  }"
           text run at (24,64) width 0: " "
       LayoutBlockFlow {P} at (0,593.53) size 784x40
-        LayoutInline {EM} at (0,0) size 72x19
-          LayoutText {#text} at (0,0) size 72x19
-            text run at (0,0) width 72: "CSS1 core:"
-        LayoutText {#text} at (71,0) size 759x39
-          text run at (71,0) width 688: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the HTML"
-          text run at (0,20) width 728: "and BODY elements, since there is no way for an author to provide an image only for those browsers that support 'fixed'."
+        LayoutInline {EM} at (0,0) size 71x19
+          LayoutText {#text} at (0,0) size 71x19
+            text run at (0,0) width 71: "CSS1 core:"
+        LayoutText {#text} at (71,0) size 784x39
+          text run at (71,0) width 713: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the HTML and"
+          text run at (0,20) width 702: "BODY elements, since there is no way for an author to provide an image only for those browsers that support 'fixed'."
       LayoutTable {TABLE} at (0,649.53) size 784x573 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x571
           LayoutTableRow {TR} at (0,0) size 782x28
@@ -98,12 +98,12 @@
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 770x542.53 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 762x100
-                LayoutText {#text} at (0,0) size 749x99
+                LayoutText {#text} at (0,0) size 748x99
                   text run at (0,0) width 731: "This document should have a green grid-pattern line across the top of the page (or at least a tiled background) which does"
                   text run at (0,20) width 191: "NOT scroll with the document. "
                   text run at (191,20) width 551: "It should, instead, appear to be a fixed pattern past which the content scrolls, even when the"
                   text run at (0,40) width 166: "end of the page is reached. "
-                  text run at (166,40) width 583: "In addition, the default Test Suite background should NOT appear, as it's been overridden by the"
+                  text run at (166,40) width 582: "In addition, the default Test Suite background should NOT appear, as it's been overridden by the"
                   text run at (0,60) width 125: "styles shown above. "
                   text run at (125,60) width 615: "I'll have to add a lot of extra text to the page in order to make all this something we can actually check."
                   text run at (0,80) width 211: "Don't worry, I'll think of something."
@@ -117,12 +117,12 @@
                     text run at (0,0) width 213: "5.3.5    'background-attachment'"
                 LayoutText {#text} at (0,0) size 0x0
               LayoutBlockFlow {P} at (4,230.53) size 762x100
-                LayoutInline {EM} at (0,0) size 41x19
-                  LayoutText {#text} at (0,0) size 41x19
-                    text run at (0,0) width 41: "Value:"
-                LayoutText {#text} at (40,0) size 77x19
-                  text run at (40,0) width 77: " scroll | fixed"
-                LayoutBR {BR} at (116,15) size 1x0
+                LayoutInline {EM} at (0,0) size 40x19
+                  LayoutText {#text} at (0,0) size 40x19
+                    text run at (0,0) width 40: "Value:"
+                LayoutText {#text} at (40,0) size 76x19
+                  text run at (40,0) width 76: " scroll | fixed"
+                LayoutBR {BR} at (116,15) size 0x0
                 LayoutInline {EM} at (0,0) size 43x19
                   LayoutText {#text} at (0,20) size 43x19
                     text run at (0,20) width 43: "Initial:"
@@ -141,12 +141,12 @@
                 LayoutText {#text} at (63,60) size 19x19
                   text run at (63,60) width 19: " no"
                 LayoutBR {BR} at (82,75) size 0x0
-                LayoutInline {EM} at (0,0) size 123x19
-                  LayoutText {#text} at (0,80) size 123x19
-                    text run at (0,80) width 123: "Percentage values:"
-                LayoutText {#text} at (122,80) size 32x19
-                  text run at (122,80) width 32: " N/A"
-                LayoutBR {BR} at (153,95) size 1x0
+                LayoutInline {EM} at (0,0) size 122x19
+                  LayoutText {#text} at (0,80) size 122x19
+                    text run at (0,80) width 122: "Percentage values:"
+                LayoutText {#text} at (122,80) size 31x19
+                  text run at (122,80) width 31: " N/A"
+                LayoutBR {BR} at (153,95) size 0x0
               LayoutBlockFlow {P} at (4,346.53) size 762x40
                 LayoutText {#text} at (0,0) size 755x39
                   text run at (0,0) width 755: "If a background image is specified, the value of 'background-attachment' determines if it is fixed with regard to the canvas or if"
@@ -164,11 +164,11 @@
                   text run at (0,64) width 24: "  }"
                   text run at (24,64) width 0: " "
               LayoutBlockFlow {P} at (4,498.53) size 762x40
-                LayoutInline {EM} at (0,0) size 72x19
-                  LayoutText {#text} at (0,0) size 72x19
-                    text run at (0,0) width 72: "CSS1 core:"
-                LayoutText {#text} at (71,0) size 759x39
-                  text run at (71,0) width 688: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the HTML"
+                LayoutInline {EM} at (0,0) size 71x19
+                  LayoutText {#text} at (0,0) size 71x19
+                    text run at (0,0) width 71: "CSS1 core:"
+                LayoutText {#text} at (71,0) size 758x39
+                  text run at (71,0) width 687: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the HTML"
                   text run at (0,20) width 728: "and BODY elements, since there is no way for an author to provide an image only for those browsers that support 'fixed'."
 layer at (8,89) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_color-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_color-expected.png
index 157863b..cb90be02 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_color-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_color-expected.txt
index f088b188..38ab054 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_color-expected.txt
@@ -35,9 +35,9 @@
         LayoutInline {CODE} at (0,0) size 88x16
           LayoutText {#text} at (65,43) size 88x16
             text run at (65,43) width 88: "transparent"
-        LayoutText {#text} at (153,40) size 377x19
+        LayoutText {#text} at (153,40) size 376x19
           text run at (153,40) width 8: ". "
-          text run at (161,40) width 369: "If the document background is visible, the browser is in error."
+          text run at (161,40) width 368: "If the document background is visible, the browser is in error."
       LayoutBlockFlow {P} at (0,279) size 784x20
         LayoutText {#text} at (0,0) size 702x19
           text run at (0,0) width 432: "This element should allow the document background to \"shine through.\" "
@@ -74,9 +74,9 @@
                 LayoutInline {CODE} at (0,0) size 88x16
                   LayoutText {#text} at (104,43) size 88x16
                     text run at (104,43) width 88: "transparent"
-                LayoutText {#text} at (192,40) size 377x19
+                LayoutText {#text} at (192,40) size 376x19
                   text run at (192,40) width 8: ". "
-                  text run at (200,40) width 369: "If the document background is visible, the browser is in error."
+                  text run at (200,40) width 368: "If the document background is visible, the browser is in error."
               LayoutBlockFlow {P} at (4,152) size 762x20
                 LayoutText {#text} at (0,0) size 702x19
                   text run at (0,0) width 432: "This element should allow the document background to \"shine through.\" "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_image-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_image-expected.png
index 51565f6..26af09c9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_image-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_image-expected.txt
index 47586509..81421c0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_image-expected.txt
@@ -33,12 +33,12 @@
             text run at (0,23) width 32: "none"
         LayoutText {#text} at (32,20) size 161x19
           text run at (32,20) width 156: " is interpreted incorrectly. "
-          text run at (187,20) width 6: "("
-        LayoutInline {CODE} at (0,0) size 33x16
-          LayoutText {#text} at (192,23) size 33x16
-            text run at (192,23) width 33: "none"
-        LayoutText {#text} at (224,20) size 772x39
-          text run at (224,20) width 548: " means that the element has no background image, allowing the parent to \"shine through\" by"
+          text run at (188,20) width 5: "("
+        LayoutInline {CODE} at (0,0) size 32x16
+          LayoutText {#text} at (193,23) size 32x16
+            text run at (193,23) width 32: "none"
+        LayoutText {#text} at (225,20) size 772x39
+          text run at (225,20) width 547: " means that the element has no background image, allowing the parent to \"shine through\" by"
           text run at (0,40) width 706: "default; since the parent of the words \"in this sentence\" is the paragraph, then the paragraph's image should be visible.)"
       LayoutBlockFlow {P} at (0,247) size 784x20
         LayoutText {#text} at (0,0) size 777x19
@@ -76,12 +76,12 @@
                     text run at (29,23) width 32: "none"
                 LayoutText {#text} at (61,20) size 161x19
                   text run at (61,20) width 156: " is interpreted incorrectly. "
-                  text run at (216,20) width 6: "("
-                LayoutInline {CODE} at (0,0) size 33x16
-                  LayoutText {#text} at (221,23) size 33x16
-                    text run at (221,23) width 33: "none"
-                LayoutText {#text} at (253,20) size 729x59
-                  text run at (253,20) width 475: " means that the element has no background image, allowing the parent to \"shine"
+                  text run at (217,20) width 5: "("
+                LayoutInline {CODE} at (0,0) size 32x16
+                  LayoutText {#text} at (222,23) size 32x16
+                    text run at (222,23) width 32: "none"
+                LayoutText {#text} at (254,20) size 729x59
+                  text run at (254,20) width 474: " means that the element has no background image, allowing the parent to \"shine"
                   text run at (0,40) width 729: "through\" by default; since the parent of the words \"in this sentence\" is the paragraph, then the paragraph's image should be"
                   text run at (0,60) width 46: "visible.)"
               LayoutBlockFlow {P} at (4,156) size 762x40
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_position-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_position-expected.txt
index f927518..238c9ed0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_position-expected.txt
@@ -42,20 +42,20 @@
           text run at (488,240) width 0: " "
           text run at (0,256) width 0: " "
       LayoutBlockFlow {P} at (0,339) size 769x20
-        LayoutText {#text} at (0,0) size 472x19
-          text run at (0,0) width 472: "This document should have a single, small green image in its upper right corner."
+        LayoutText {#text} at (0,0) size 471x19
+          text run at (0,0) width 471: "This document should have a single, small green image in its upper right corner."
       LayoutBlockFlow {P} at (0,375) size 769x60 [bgcolor=#00FFFF]
         LayoutText {#text} at (0,0) size 764x59
           text run at (0,0) width 764: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be fixed at the"
           text run at (0,20) width 148: "center of the paragraph. "
           text run at (148,20) width 612: "The background color will make it easier to determine the edges of the paragraph, and therefore allow"
-          text run at (0,40) width 156: "you to calculate its center."
+          text run at (0,40) width 155: "you to calculate its center."
       LayoutBlockFlow {P} at (0,451) size 769x60 [bgcolor=#00FFFF]
         LayoutText {#text} at (0,0) size 764x59
           text run at (0,0) width 764: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be fixed at the"
           text run at (0,20) width 148: "center of the paragraph. "
           text run at (148,20) width 612: "The background color will make it easier to determine the edges of the paragraph, and therefore allow"
-          text run at (0,40) width 156: "you to calculate its center."
+          text run at (0,40) width 155: "you to calculate its center."
       LayoutBlockFlow {P} at (0,527) size 769x60 [bgcolor=#00FFFF]
         LayoutText {#text} at (0,0) size 751x59
           text run at (0,0) width 728: "This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the image"
@@ -73,7 +73,7 @@
           text run at (0,0) width 744: "This paragraph should have a single, small green image exactly at the left center; that is, the left center of the image should be"
           text run at (0,20) width 240: "fixed at the left center of the paragraph. "
           text run at (240,20) width 518: "The background color will make it easier to determine the edges of the paragraph, and"
-          text run at (0,40) width 250: "therefore allow you to calculate its center."
+          text run at (0,40) width 249: "therefore allow you to calculate its center."
       LayoutBlockFlow {P} at (0,755) size 769x60 [bgcolor=#00FFFF]
         LayoutText {#text} at (0,0) size 750x59
           text run at (0,0) width 717: "This paragraph should have a single, small green image positioned 75% of the way across the element, and 25% down. "
@@ -98,20 +98,20 @@
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 755x580 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 747x20
-                LayoutText {#text} at (0,0) size 472x19
-                  text run at (0,0) width 472: "This document should have a single, small green image in its upper right corner."
+                LayoutText {#text} at (0,0) size 471x19
+                  text run at (0,0) width 471: "This document should have a single, small green image in its upper right corner."
               LayoutBlockFlow {P} at (4,40) size 747x60 [bgcolor=#00FFFF]
                 LayoutText {#text} at (0,0) size 746x59
                   text run at (0,0) width 742: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be fixed at"
                   text run at (0,20) width 170: "the center of the paragraph. "
                   text run at (170,20) width 576: "The background color will make it easier to determine the edges of the paragraph, and therefore"
-                  text run at (0,40) width 192: "allow you to calculate its center."
+                  text run at (0,40) width 191: "allow you to calculate its center."
               LayoutBlockFlow {P} at (4,116) size 747x60 [bgcolor=#00FFFF]
                 LayoutText {#text} at (0,0) size 746x59
                   text run at (0,0) width 742: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be fixed at"
                   text run at (0,20) width 170: "the center of the paragraph. "
                   text run at (170,20) width 576: "The background color will make it easier to determine the edges of the paragraph, and therefore"
-                  text run at (0,40) width 192: "allow you to calculate its center."
+                  text run at (0,40) width 191: "allow you to calculate its center."
               LayoutBlockFlow {P} at (4,192) size 747x60 [bgcolor=#00FFFF]
                 LayoutText {#text} at (0,0) size 735x59
                   text run at (0,0) width 728: "This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the image"
@@ -129,7 +129,7 @@
                   text run at (0,0) width 744: "This paragraph should have a single, small green image exactly at the left center; that is, the left center of the image should be"
                   text run at (0,20) width 240: "fixed at the left center of the paragraph. "
                   text run at (240,20) width 492: "The background color will make it easier to determine the edges of the paragraph,"
-                  text run at (0,40) width 276: "and therefore allow you to calculate its center."
+                  text run at (0,40) width 275: "and therefore allow you to calculate its center."
               LayoutBlockFlow {P} at (4,420) size 747x60 [bgcolor=#00FFFF]
                 LayoutText {#text} at (0,0) size 740x59
                   text run at (0,0) width 717: "This paragraph should have a single, small green image positioned 75% of the way across the element, and 25% down. "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_repeat-expected.txt
index 9b3402d..8d68b423 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_repeat-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_repeat-expected.txt
@@ -46,8 +46,8 @@
         LayoutText {#text} at (152,20) size 756x39
           text run at (152,20) width 312: " is '0% 0%' and that property is not declared here). "
           text run at (464,20) width 292: "This is extra text included for the sole purpose of"
-          text run at (0,40) width 179: "making the paragraph longer. "
-          text run at (178,40) width 208: "Thank you for your understanding."
+          text run at (0,40) width 178: "making the paragraph longer. "
+          text run at (178,40) width 207: "Thank you for your understanding."
       LayoutBlockFlow {P} at (0,383) size 784x60
         LayoutText {#text} at (0,0) size 744x19
           text run at (0,0) width 744: "This sentence should have an orange stripe repeated in the \"x\" direction, starting at the upper left corner (since the default for"
@@ -57,8 +57,8 @@
         LayoutText {#text} at (152,20) size 756x39
           text run at (152,20) width 312: " is '0% 0%' and that property is not declared here). "
           text run at (464,20) width 292: "This is extra text included for the sole purpose of"
-          text run at (0,40) width 179: "making the paragraph longer. "
-          text run at (178,40) width 208: "Thank you for your understanding."
+          text run at (0,40) width 178: "making the paragraph longer. "
+          text run at (178,40) width 207: "Thank you for your understanding."
       LayoutBlockFlow {P} at (0,459) size 784x60
         LayoutText {#text} at (0,0) size 667x19
           text run at (0,0) width 667: "This sentence should have a single orange square behind it, placed at the upper left corner (since the default for "
@@ -69,8 +69,8 @@
         LayoutText {#text} at (64,20) size 737x39
           text run at (64,20) width 312: " is '0% 0%' and that property is not declared here). "
           text run at (376,20) width 361: "This is extra text included for the sole purpose of making the"
-          text run at (0,40) width 110: "paragraph longer. "
-          text run at (109,40) width 208: "Thank you for your understanding."
+          text run at (0,40) width 109: "paragraph longer. "
+          text run at (109,40) width 207: "Thank you for your understanding."
       LayoutBlockFlow {P} at (0,535) size 784x80
         LayoutText {#text} at (0,0) size 764x39
           text run at (0,0) width 764: "This sentence should have a green-hatch stripe running vertically down the center of the paragraph, with the origin image exactly"
@@ -146,8 +146,8 @@
       LayoutBlockFlow {P} at (0,879) size 784x80 [bgcolor=#FF0000]
         LayoutText {#text} at (0,0) size 782x79
           text run at (0,0) width 782: "This sentence should have a fully tiled background which starts at its bottom right; in other words, a complete instance of the image"
-          text run at (0,20) width 592: "should be anchored in the bottom right corner, with the tiled background extending out from there. "
-          text run at (591,20) width 185: "I'll fill it with extra text to make"
+          text run at (0,20) width 591: "should be anchored in the bottom right corner, with the tiled background extending out from there. "
+          text run at (591,20) width 184: "I'll fill it with extra text to make"
           text run at (0,40) width 296: "the conformance (or lack thereof) more obvious. "
           text run at (296,40) width 463: "A background color is present, although if it is visible, then the image may not"
           text run at (0,60) width 150: "have been tiled correctly."
@@ -185,8 +185,8 @@
                 LayoutText {#text} at (152,20) size 756x39
                   text run at (152,20) width 312: " is '0% 0%' and that property is not declared here). "
                   text run at (464,20) width 292: "This is extra text included for the sole purpose of"
-                  text run at (0,40) width 179: "making the paragraph longer. "
-                  text run at (178,40) width 208: "Thank you for your understanding."
+                  text run at (0,40) width 178: "making the paragraph longer. "
+                  text run at (178,40) width 207: "Thank you for your understanding."
               LayoutBlockFlow {P} at (4,80) size 762x60
                 LayoutText {#text} at (0,0) size 744x19
                   text run at (0,0) width 744: "This sentence should have an orange stripe repeated in the \"x\" direction, starting at the upper left corner (since the default for"
@@ -196,8 +196,8 @@
                 LayoutText {#text} at (152,20) size 756x39
                   text run at (152,20) width 312: " is '0% 0%' and that property is not declared here). "
                   text run at (464,20) width 292: "This is extra text included for the sole purpose of"
-                  text run at (0,40) width 179: "making the paragraph longer. "
-                  text run at (178,40) width 208: "Thank you for your understanding."
+                  text run at (0,40) width 178: "making the paragraph longer. "
+                  text run at (178,40) width 207: "Thank you for your understanding."
               LayoutBlockFlow {P} at (4,156) size 762x60
                 LayoutText {#text} at (0,0) size 667x19
                   text run at (0,0) width 667: "This sentence should have a single orange square behind it, placed at the upper left corner (since the default for "
@@ -208,8 +208,8 @@
                 LayoutText {#text} at (64,20) size 737x39
                   text run at (64,20) width 312: " is '0% 0%' and that property is not declared here). "
                   text run at (376,20) width 361: "This is extra text included for the sole purpose of making the"
-                  text run at (0,40) width 110: "paragraph longer. "
-                  text run at (109,40) width 208: "Thank you for your understanding."
+                  text run at (0,40) width 109: "paragraph longer. "
+                  text run at (109,40) width 207: "Thank you for your understanding."
               LayoutBlockFlow {P} at (4,232) size 762x80
                 LayoutText {#text} at (0,0) size 718x39
                   text run at (0,0) width 718: "This sentence should have a green-hatch stripe running vertically down the center of the paragraph, with the origin image"
@@ -284,10 +284,10 @@
                   text run at (192,20) width 557: "A background color is present, although if it is visible, then the image may not have been tiled"
                   text run at (0,40) width 56: "correctly."
               LayoutBlockFlow {P} at (4,596) size 762x80 [bgcolor=#FF0000]
-                LayoutText {#text} at (0,0) size 762x79
+                LayoutText {#text} at (0,0) size 761x79
                   text run at (0,0) width 743: "This sentence should have a fully tiled background which starts at its bottom right; in other words, a complete instance of the"
-                  text run at (0,20) width 631: "image should be anchored in the bottom right corner, with the tiled background extending out from there. "
-                  text run at (630,20) width 132: "I'll fill it with extra text"
+                  text run at (0,20) width 630: "image should be anchored in the bottom right corner, with the tiled background extending out from there. "
+                  text run at (630,20) width 131: "I'll fill it with extra text"
                   text run at (0,40) width 349: "to make the conformance (or lack thereof) more obvious. "
                   text run at (349,40) width 411: "A background color is present, although if it is visible, then the image"
                   text run at (0,60) width 202: "may not have been tiled correctly."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/color-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/color-expected.png
index 6fc0975..510d0eb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/conformance/forward_compatible_parsing-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/conformance/forward_compatible_parsing-expected.txt
index ec5ffd6..6579073 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/conformance/forward_compatible_parsing-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/conformance/forward_compatible_parsing-expected.txt
@@ -146,18 +146,18 @@
         LayoutText {#text} at (3,3) size 761x39
           text run at (3,3) width 761: "This paragraph should have a medium-width border around it (the same as the previous and the next two paragraphs), because"
           text run at (3,23) width 165: "the border-width is invalid. "
-          text run at (167,23) width 412: "This should cause the user agent to use the default value of 'medium'."
+          text run at (168,23) width 411: "This should cause the user agent to use the default value of 'medium'."
       LayoutBlockFlow {P} at (0,1291) size 769x66 [border: (3px solid #000000)]
         LayoutText {#text} at (3,3) size 761x59
           text run at (3,3) width 761: "This paragraph should have a medium-width border around it (the same as the next and the previous two paragraphs), because"
           text run at (3,23) width 511: "the border-width units are invalid, and therefore the border-width should be ignored. "
-          text run at (513,23) width 234: "This should cause the user agent to use"
+          text run at (514,23) width 233: "This should cause the user agent to use"
           text run at (3,43) width 174: "the default value of 'medium'."
       LayoutBlockFlow {P} at (0,1373) size 769x66 [border: (3px solid #000000)]
         LayoutText {#text} at (3,3) size 750x59
           text run at (3,3) width 713: "This paragraph should have a medium-width border around it (the same as the previous three paragraphs), because the"
           text run at (3,23) width 517: "border-width does not have any value to go with its pixel unit, and is therefore invalid. "
-          text run at (519,23) width 234: "This should cause the user agent to use"
+          text run at (520,23) width 233: "This should cause the user agent to use"
           text run at (3,43) width 174: "the default value of 'medium'."
       LayoutBlockFlow {P} at (0,1455) size 769x20
         LayoutText {#text} at (0,0) size 627x19
@@ -170,8 +170,8 @@
       LayoutBlockFlow {OL} at (0,1547) size 769x20
         LayoutListItem {LI} at (40,0) size 729x20
           LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
-          LayoutText {#text} at (0,0) size 596x19
-            text run at (0,0) width 596: "This ordered list item should be black, because the declaration has an invalid pseudo-class selector."
+          LayoutText {#text} at (0,0) size 595x19
+            text run at (0,0) width 595: "This ordered list item should be black, because the declaration has an invalid pseudo-class selector."
       LayoutBlockFlow {P} at (0,1583) size 769x40
         LayoutText {#text} at (0,0) size 764x39
           text run at (0,0) width 764: "This paragraph should be black, because, in CSS1, :first-child is an invalid pseudo-class, and in CSS2, this paragraph is not the"
@@ -192,18 +192,18 @@
             text run at (0,0) width 763: "This acronym should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector should"
             text run at (0,20) width 59: "not apply."
       LayoutBlockFlow {ADDRESS} at (0,1807) size 769x40
-        LayoutText {#text} at (0,0) size 752x39
-          text run at (0,0) width 752: "This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
-          text run at (0,20) width 110: "should not apply."
+        LayoutText {#text} at (0,0) size 750x39
+          text run at (0,0) width 750: "This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
+          text run at (0,20) width 109: "should not apply."
       LayoutBlockFlow {P} at (0,1863) size 769x40
         LayoutInline {SPAN} at (0,0) size 762x39
           LayoutText {#text} at (0,0) size 762x39
             text run at (0,0) width 762: "This span should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector should not"
             text run at (0,20) width 36: "apply."
       LayoutBlockFlow {P} at (0,1919) size 769x40
-        LayoutText {#text} at (0,0) size 761x39
+        LayoutText {#text} at (0,0) size 760x39
           text run at (0,0) width 631: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule. "
-          text run at (631,0) width 130: "However, it is valid in"
+          text run at (631,0) width 129: "However, it is valid in"
           text run at (0,20) width 521: "CSS2, so if this is being viewed on a tty browser that supports CSS2, it should be red."
       LayoutBlockFlow {P} at (0,1975) size 769x20
         LayoutText {#text} at (0,0) size 627x19
@@ -232,8 +232,8 @@
             text run at (0,43) width 32: "font"
         LayoutText {#text} at (32,40) size 768x39
           text run at (32,40) width 167: " property, making it invalid. "
-          text run at (198,40) width 537: "Therefore, this paragraph's font should be the UA default, and match the next paragraph. "
-          text run at (734,40) width 34: "If this"
+          text run at (199,40) width 536: "Therefore, this paragraph's font should be the UA default, and match the next paragraph. "
+          text run at (735,40) width 33: "If this"
           text run at (0,60) width 144: "is not the case, then the "
         LayoutInline {CODE} at (0,0) size 32x16
           LayoutText {#text} at (144,63) size 32x16
@@ -264,7 +264,7 @@
             text run at (0,43) width 32: "font"
         LayoutText {#text} at (32,40) size 757x39
           text run at (32,40) width 167: " property, making it invalid. "
-          text run at (198,40) width 559: "Therefore, this paragraph's font should be the UA default, and match the previous paragraph."
+          text run at (199,40) width 558: "Therefore, this paragraph's font should be the UA default, and match the previous paragraph."
           text run at (0,60) width 181: "If this is not the case, then the "
         LayoutInline {CODE} at (0,0) size 32x16
           LayoutText {#text} at (181,63) size 32x16
@@ -283,8 +283,8 @@
         LayoutInline {STRONG} at (0,0) size 72x19
           LayoutText {#text} at (658,0) size 72x19
             text run at (658,0) width 72: "strong text"
-        LayoutText {#text} at (729,0) size 769x59
-          text run at (729,0) width 40: " within"
+        LayoutText {#text} at (730,0) size 769x59
+          text run at (730,0) width 39: " within"
           text run at (0,20) width 757: "it should also be normal size, since the entire ruleset should be skipped (since in some future version of CSS, there could be an"
           text run at (0,40) width 425: "operator within the selector that has higher precedence than a comma)."
       LayoutBlockFlow {P} at (0,2279) size 769x40
@@ -295,7 +295,7 @@
             text run at (444,0) width 21: "not"
         LayoutText {#text} at (465,0) size 713x39
           text run at (465,0) width 248: " a comment and therefore the selector for"
-          text run at (0,20) width 128: "P.nineteenb is invalid."
+          text run at (0,20) width 127: "P.nineteenb is invalid."
       LayoutBlockFlow {P} at (0,2335) size 769x20 [color=#0000FF]
         LayoutText {#text} at (0,0) size 444x19
           text run at (0,0) width 444: "This paragraph should be blue, because only the first declaration is invalid."
@@ -364,18 +364,18 @@
                 LayoutText {#text} at (3,3) size 708x39
                   text run at (3,3) width 708: "This paragraph should have a medium-width border around it (the same as the previous and the next two paragraphs),"
                   text run at (3,23) width 218: "because the border-width is invalid. "
-                  text run at (220,23) width 412: "This should cause the user agent to use the default value of 'medium'."
+                  text run at (221,23) width 411: "This should cause the user agent to use the default value of 'medium'."
               LayoutBlockFlow {P} at (4,364) size 747x66 [border: (3px solid #000000)]
                 LayoutText {#text} at (3,3) size 721x59
                   text run at (3,3) width 708: "This paragraph should have a medium-width border around it (the same as the next and the previous two paragraphs),"
                   text run at (3,23) width 564: "because the border-width units are invalid, and therefore the border-width should be ignored. "
-                  text run at (566,23) width 158: "This should cause the user"
+                  text run at (567,23) width 157: "This should cause the user"
                   text run at (3,43) width 250: "agent to use the default value of 'medium'."
               LayoutBlockFlow {P} at (4,446) size 747x66 [border: (3px solid #000000)]
                 LayoutText {#text} at (3,3) size 726x59
                   text run at (3,3) width 713: "This paragraph should have a medium-width border around it (the same as the previous three paragraphs), because the"
                   text run at (3,23) width 517: "border-width does not have any value to go with its pixel unit, and is therefore invalid. "
-                  text run at (519,23) width 210: "This should cause the user agent to"
+                  text run at (520,23) width 209: "This should cause the user agent to"
                   text run at (3,43) width 198: "use the default value of 'medium'."
               LayoutBlockFlow {P} at (4,528) size 747x20
                 LayoutText {#text} at (0,0) size 627x19
@@ -388,8 +388,8 @@
               LayoutBlockFlow {OL} at (4,620) size 747x20
                 LayoutListItem {LI} at (40,0) size 707x20
                   LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
-                  LayoutText {#text} at (0,0) size 596x19
-                    text run at (0,0) width 596: "This ordered list item should be black, because the declaration has an invalid pseudo-class selector."
+                  LayoutText {#text} at (0,0) size 595x19
+                    text run at (0,0) width 595: "This ordered list item should be black, because the declaration has an invalid pseudo-class selector."
               LayoutBlockFlow {P} at (4,656) size 747x40
                 LayoutText {#text} at (0,0) size 742x39
                   text run at (0,0) width 742: "This paragraph should be black, because, in CSS1, :first-child is an invalid pseudo-class, and in CSS2, this paragraph is not"
@@ -410,18 +410,18 @@
                     text run at (0,0) width 720: "This acronym should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
                     text run at (0,20) width 102: "should not apply."
               LayoutBlockFlow {ADDRESS} at (4,880) size 747x40
-                LayoutText {#text} at (0,0) size 698x39
-                  text run at (0,0) width 698: "This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the"
-                  text run at (0,20) width 164: "selector should not apply."
+                LayoutText {#text} at (0,0) size 696x39
+                  text run at (0,0) width 696: "This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the"
+                  text run at (0,20) width 163: "selector should not apply."
               LayoutBlockFlow {P} at (4,936) size 747x40
                 LayoutInline {SPAN} at (0,0) size 739x39
                   LayoutText {#text} at (0,0) size 739x39
                     text run at (0,0) width 739: "This span should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector should"
                     text run at (0,20) width 59: "not apply."
               LayoutBlockFlow {P} at (4,992) size 747x40
-                LayoutText {#text} at (0,0) size 747x39
+                LayoutText {#text} at (0,0) size 746x39
                   text run at (0,0) width 631: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule. "
-                  text run at (631,0) width 116: "However, it is valid"
+                  text run at (631,0) width 115: "However, it is valid"
                   text run at (0,20) width 535: "in CSS2, so if this is being viewed on a tty browser that supports CSS2, it should be red."
               LayoutBlockFlow {P} at (4,1048) size 747x20
                 LayoutText {#text} at (0,0) size 627x19
@@ -451,7 +451,7 @@
                     text run at (22,43) width 32: "font"
                 LayoutText {#text} at (54,40) size 684x39
                   text run at (54,40) width 167: " property, making it invalid. "
-                  text run at (220,40) width 464: "Therefore, this paragraph's font should be the UA default, and match the next"
+                  text run at (221,40) width 463: "Therefore, this paragraph's font should be the UA default, and match the next"
                   text run at (0,60) width 69: "paragraph. "
                   text run at (69,60) width 181: "If this is not the case, then the "
                 LayoutInline {CODE} at (0,0) size 32x16
@@ -484,7 +484,7 @@
                     text run at (22,43) width 32: "font"
                 LayoutText {#text} at (54,40) size 710x39
                   text run at (54,40) width 167: " property, making it invalid. "
-                  text run at (220,40) width 490: "Therefore, this paragraph's font should be the UA default, and match the previous"
+                  text run at (221,40) width 489: "Therefore, this paragraph's font should be the UA default, and match the previous"
                   text run at (0,60) width 69: "paragraph. "
                   text run at (69,60) width 181: "If this is not the case, then the "
                 LayoutInline {CODE} at (0,0) size 32x16
@@ -515,7 +515,7 @@
                     text run at (444,0) width 21: "not"
                 LayoutText {#text} at (465,0) size 713x39
                   text run at (465,0) width 248: " a comment and therefore the selector for"
-                  text run at (0,20) width 128: "P.nineteenb is invalid."
+                  text run at (0,20) width 127: "P.nineteenb is invalid."
               LayoutBlockFlow {P} at (4,1408) size 747x20 [color=#0000FF]
                 LayoutText {#text} at (0,0) size 444x19
                   text run at (0,0) width 444: "This paragraph should be blue, because only the first declaration is invalid."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/font_properties/font-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/font_properties/font-expected.png
index 563c813..4b51d74f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/font_properties/font-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/font_properties/font-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/font_properties/font_style-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/font_properties/font_style-expected.png
index 73ed637b..d61a3ea3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/font_properties/font_style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/font_properties/font_style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/font_properties/font_variant-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/font_properties/font_variant-expected.png
index 49e02b6..b8c5c6aa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/font_properties/font_variant-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/font_properties/font_variant-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/canvas-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/canvas-expected.png
index d53de5cd..9f343c6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/canvas-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/canvas-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/canvas-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/canvas-expected.txt
index 56881719..8c036fb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/canvas-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/canvas-expected.txt
@@ -17,7 +17,7 @@
           text run at (0,0) width 368: "The body of this document should have a green background. "
           text run at (368,0) width 367: "It also has a margin of 25 pixels, so the light blue background"
           text run at (0,20) width 333: "set for the HTML element should surround the BODY. "
-          text run at (332,20) width 373: "If the BODY content is significantly shorter than the browser's"
+          text run at (333,20) width 372: "If the BODY content is significantly shorter than the browser's"
           text run at (0,40) width 411: "window height, then the bottom border may be larger than 25 pixels."
       LayoutTable {TABLE} at (0,175) size 750x98 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 748x96
@@ -36,7 +36,7 @@
                   text run at (0,0) width 368: "The body of this document should have a green background. "
                   text run at (368,0) width 291: "It also has a margin of 25 pixels, so the light blue"
                   text run at (0,20) width 409: "background set for the HTML element should surround the BODY. "
-                  text run at (408,20) width 310: "If the BODY content is significantly shorter than the"
+                  text run at (409,20) width 309: "If the BODY content is significantly shorter than the"
                   text run at (0,40) width 474: "browser's window height, then the bottom border may be larger than 25 pixels."
 layer at (25,106) size 750x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,81) size 750x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/floating_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/floating_elements-expected.txt
index 56157fac..9cbe946 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/floating_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/floating_elements-expected.txt
@@ -42,7 +42,7 @@
             text run at (17,57) width 49: "source)."
         LayoutText {#text} at (199,5) size 358x79
           text run at (199,5) width 162: "This is text within the DIV. "
-          text run at (360,5) width 190: "The floating elements within this"
+          text run at (361,5) width 189: "The floating elements within this"
           text run at (199,25) width 358: "DIV should not go beyond the left or right inner edge of this"
           text run at (199,45) width 350: "DIV, which means that the borders of the floating elements"
           text run at (199,65) width 324: "should not overlap the top or side borders of the DIV."
@@ -51,7 +51,7 @@
         LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
         LayoutText {#text} at (20,5) size 702x39
           text run at (20,5) width 162: "This is text within the DIV. "
-          text run at (181,5) width 541: "The floating images within this DIV should not go beyond the left or right inner edge of this"
+          text run at (182,5) width 540: "The floating images within this DIV should not go beyond the left or right inner edge of this"
           text run at (20,25) width 667: "DIV, which means that the borders of the floating images should not overlap the top or side borders of the DIV."
       LayoutBlockFlow {DIV} at (2,510) size 442x230 [border: (5px solid #800080)]
         LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
@@ -72,14 +72,14 @@
           text run at (393,45) width 35: "within"
           text run at (393,65) width 18: "the"
           text run at (199,85) width 33: "DIV. "
-          text run at (231,85) width 190: "The floating elements within this"
+          text run at (232,85) width 189: "The floating elements within this"
           text run at (199,105) width 222: "DIV should not go beyond the left or"
           text run at (199,125) width 204: "right inner edge of this DIV, which"
           text run at (199,145) width 222: "means that the borders of the floating"
           text run at (5,165) width 417: "elements should not overlap the top or side borders of the DIV in any"
           text run at (5,185) width 32: "way. "
-          text run at (36,185) width 288: "In addition, they should not overlap each other. "
-          text run at (323,185) width 77: "The first two"
+          text run at (37,185) width 286: "In addition, they should not overlap each other. "
+          text run at (323,185) width 76: "The first two"
           text run at (5,205) width 414: "should be side by side, whereas the third should be on the next \"line.\""
       LayoutBlockFlow {DIV} at (2,758) size 360x210 [border: (5px solid #800080)]
         LayoutImage (floating) {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
@@ -89,13 +89,13 @@
           text run at (317,5) width 38: "This is"
           text run at (317,25) width 22: "text"
           text run at (161,45) width 94: "within the DIV. "
-          text run at (254,45) width 71: "The floating"
+          text run at (255,45) width 70: "The floating"
           text run at (161,65) width 178: "images within this DIV should"
           text run at (5,85) width 317: "not go beyond the left or right inner edge of this DIV,"
           text run at (5,105) width 349: "which means that the borders of the floating images should"
           text run at (5,125) width 350: "not overlap the top or side borders of the DIV in any way."
-          text run at (5,145) width 287: "In addition, they should not overlap each other. "
-          text run at (291,145) width 50: "The first"
+          text run at (5,145) width 286: "In addition, they should not overlap each other. "
+          text run at (291,145) width 49: "The first"
           text run at (5,165) width 333: "two should be side by side, whereas the third should be"
           text run at (5,185) width 104: "on the next \"line.\""
       LayoutBlockFlow {DIV} at (2,1018) size 314x364 [border: (5px solid #800080)]
@@ -111,7 +111,7 @@
         LayoutText {#text} at (199,5) size 303x353
           text run at (199,5) width 103: "This is text within"
           text run at (199,25) width 55: "the DIV. "
-          text run at (253,25) width 24: "The"
+          text run at (254,25) width 23: "The"
           text run at (199,45) width 99: "floating elements"
           text run at (5,79) width 90: "within this DIV"
           text run at (5,99) width 81: "should not go"
@@ -121,7 +121,7 @@
           text run at (5,179) width 278: "means that the borders of the floating elements"
           text run at (5,199) width 291: "should not overlap the top or side borders of the"
           text run at (5,219) width 102: "DIV in any way. "
-          text run at (106,219) width 164: "In addition, they should not"
+          text run at (107,219) width 163: "In addition, they should not"
           text run at (5,239) width 272: "overlap each other in any way, nor should the"
           text run at (5,259) width 290: "floated elements be overwritten by the DIV text."
           text run at (5,279) width 276: "In addition, the floated elements should not be"
@@ -134,12 +134,12 @@
         LayoutText {#text} at (261,5) size 399x215
           text run at (261,5) width 125: "This is text within the"
           text run at (5,41) width 33: "DIV. "
-          text run at (37,41) width 71: "The floating"
+          text run at (38,41) width 70: "The floating"
           text run at (5,61) width 135: "images within this DIV"
           text run at (5,81) width 399: "should not go beyond the left or right inner edge of this DIV, which"
           text run at (5,101) width 382: "means that the borders of the floating images should not overlap"
           text run at (5,121) width 282: "the top or side borders of the DIV in any way. "
-          text run at (286,121) width 98: "In addition, they"
+          text run at (287,121) width 97: "In addition, they"
           text run at (5,141) width 383: "should not overlap each other in any way, nor should the floated"
           text run at (5,161) width 249: "elements be overwritten by the DIV text. "
           text run at (254,161) width 135: "In addition, the floated"
@@ -157,11 +157,11 @@
             text run at (17,57) width 49: "source)."
         LayoutText {#text} at (199,5) size 745x119
           text run at (199,5) width 162: "This is text within the DIV. "
-          text run at (360,5) width 190: "The floating elements within this"
+          text run at (361,5) width 189: "The floating elements within this"
           text run at (199,25) width 347: "DIV should not go beyond the top side of this DIV, which"
           text run at (199,45) width 344: "means that the borders of the floating elements should not"
           text run at (199,65) width 331: "overlap the top or side borders of the DIV in any way. "
-          text run at (529,65) width 13: "In"
+          text run at (530,65) width 12: "In"
           text run at (199,85) width 551: "addition, the top of the left-floating box should not be higher than the top of the right-floating"
           text run at (5,105) width 27: "box."
       LayoutBlockFlow {DIV} at (2,1824) size 765x70 [border: (5px solid #800080)]
@@ -169,20 +169,20 @@
         LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
         LayoutText {#text} at (20,5) size 706x59
           text run at (20,5) width 162: "This is text within the DIV. "
-          text run at (181,5) width 530: "The floating images within this DIV should not go beyond the top side of this DIV, which"
+          text run at (182,5) width 529: "The floating images within this DIV should not go beyond the top side of this DIV, which"
           text run at (20,25) width 668: "means that the borders of the floating images should not overlap the top or side borders of the DIV in any way. "
-          text run at (687,25) width 13: "In"
+          text run at (688,25) width 12: "In"
           text run at (5,45) width 606: "addition, the top of the left-floating image should not be higher than the top of the right-floating image."
       LayoutBlockFlow {DIV} at (2,1944) size 765x130 [border: (5px solid #800080)]
         LayoutText {#text} at (199,5) size 170x19
           text run at (199,5) width 162: "This is text within the DIV. "
-          text run at (360,5) width 9: "*"
+          text run at (361,5) width 8: "*"
         LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 159x39
             text run at (17,17) width 120: "This is a left-floating"
             text run at (17,37) width 159: "paragraph (first in source)."
-        LayoutText {#text} at (368,5) size 544x39
-          text run at (368,5) width 375: " The floating elements within this DIV should not go any higher"
+        LayoutText {#text} at (369,5) size 544x39
+          text run at (369,5) width 374: " The floating elements within this DIV should not go any higher"
           text run at (199,25) width 407: "than the line-box containing the inline content which precedes them. "
           text run at (606,25) width 12: "* "
         LayoutBlockFlow (floating) {P} at (566,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
@@ -200,10 +200,10 @@
       LayoutBlockFlow {DIV} at (2,2093) size 765x90 [border: (5px solid #800080)]
         LayoutText {#text} at (20,5) size 170x19
           text run at (20,5) width 162: "This is text within the DIV. "
-          text run at (181,5) width 9: "*"
+          text run at (182,5) width 8: "*"
         LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
-        LayoutText {#text} at (189,5) size 723x39
-          text run at (189,5) width 554: " The floating images within this DIV should not go any higher than the line-box containing the"
+        LayoutText {#text} at (190,5) size 723x39
+          text run at (190,5) width 553: " The floating images within this DIV should not go any higher than the line-box containing the"
           text run at (20,25) width 217: "inline content which precedes them. "
           text run at (237,25) width 12: "* "
         LayoutImage (floating) {IMG} at (745,25) size 15x36 [border: (3px solid #000000)]
@@ -215,13 +215,13 @@
       LayoutBlockFlow {DIV} at (2,2233) size 765x230 [border: (5px solid #800080)]
         LayoutText {#text} at (199,5) size 170x19
           text run at (199,5) width 162: "This is text within the DIV. "
-          text run at (360,5) width 9: "*"
+          text run at (361,5) width 8: "*"
         LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 159x39
             text run at (17,17) width 120: "This is a left-floating"
             text run at (17,37) width 159: "paragraph (first in source)."
-        LayoutText {#text} at (368,5) size 544x39
-          text run at (368,5) width 375: " The floating elements within this DIV should not go any higher"
+        LayoutText {#text} at (369,5) size 544x39
+          text run at (369,5) width 374: " The floating elements within this DIV should not go any higher"
           text run at (199,25) width 407: "than the line-box containing the inline content which precedes them. "
           text run at (606,25) width 12: "* "
         LayoutBlockFlow (floating) {P} at (566,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
@@ -259,10 +259,10 @@
       LayoutBlockFlow {DIV} at (2,2482) size 765x130 [border: (5px solid #800080)]
         LayoutText {#text} at (20,5) size 170x19
           text run at (20,5) width 162: "This is text within the DIV. "
-          text run at (181,5) width 9: "*"
+          text run at (182,5) width 8: "*"
         LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
-        LayoutText {#text} at (189,5) size 708x39
-          text run at (189,5) width 554: " The floating images within this DIV should not go any higher than the line-box containing the"
+        LayoutText {#text} at (190,5) size 708x39
+          text run at (190,5) width 553: " The floating images within this DIV should not go any higher than the line-box containing the"
           text run at (35,25) width 217: "inline content which precedes them. "
           text run at (252,25) width 12: "* "
         LayoutImage (floating) {IMG} at (745,25) size 15x36 [border: (3px solid #000000)]
@@ -278,7 +278,7 @@
         LayoutText {#text} at (651,45) size 746x79
           text run at (651,45) width 69: " In order to"
           text run at (50,65) width 520: "mark these points clearly, an asterisk has been inserted just before each floated image. "
-          text run at (569,65) width 182: "If a line has room for a floated"
+          text run at (570,65) width 181: "If a line has room for a floated"
           text run at (5,85) width 693: "image, then the image should float so that its top is aligned with the top of the line-box in which the asterisk appears."
           text run at (5,105) width 380: "Otherwise, its top should align with the top of the next line-box."
       LayoutBlockFlow {DIV} at (2,2662) size 490x310 [border: (5px solid #800080)]
@@ -321,7 +321,7 @@
         LayoutImage (floating) {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
         LayoutText {#text} at (82,5) size 479x219
           text run at (82,5) width 124: " text within the DIV. "
-          text run at (205,5) width 257: "Under CSS1, the left floating image should"
+          text run at (206,5) width 256: "Under CSS1, the left floating image should"
           text run at (20,25) width 443: "be placed in the upper left corner of the DIV, and the purple border of the"
           text run at (5,45) width 336: "DIV should abut the green border of the floating image. "
           text run at (341,45) width 106: "Similarly, the right"
@@ -363,7 +363,7 @@
                     text run at (17,57) width 49: "source)."
                 LayoutText {#text} at (199,5) size 536x99
                   text run at (199,5) width 162: "This is text within the DIV. "
-                  text run at (360,5) width 166: "The floating elements within"
+                  text run at (361,5) width 165: "The floating elements within"
                   text run at (199,25) width 342: "this DIV should not go beyond the left or right inner edge"
                   text run at (199,45) width 334: "of this DIV, which means that the borders of the floating"
                   text run at (199,65) width 325: "elements should not overlap the top or side borders of"
@@ -373,7 +373,7 @@
                 LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
                 LayoutText {#text} at (20,5) size 702x39
                   text run at (20,5) width 162: "This is text within the DIV. "
-                  text run at (181,5) width 541: "The floating images within this DIV should not go beyond the left or right inner edge of this"
+                  text run at (182,5) width 540: "The floating images within this DIV should not go beyond the left or right inner edge of this"
                   text run at (20,25) width 667: "DIV, which means that the borders of the floating images should not overlap the top or side borders of the DIV."
               LayoutBlockFlow {DIV} at (6,322) size 442x230 [border: (5px solid #800080)]
                 LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
@@ -394,14 +394,14 @@
                   text run at (393,45) width 35: "within"
                   text run at (393,65) width 18: "the"
                   text run at (199,85) width 33: "DIV. "
-                  text run at (231,85) width 190: "The floating elements within this"
+                  text run at (232,85) width 189: "The floating elements within this"
                   text run at (199,105) width 222: "DIV should not go beyond the left or"
                   text run at (199,125) width 204: "right inner edge of this DIV, which"
                   text run at (199,145) width 222: "means that the borders of the floating"
                   text run at (5,165) width 417: "elements should not overlap the top or side borders of the DIV in any"
                   text run at (5,185) width 32: "way. "
-                  text run at (36,185) width 288: "In addition, they should not overlap each other. "
-                  text run at (323,185) width 77: "The first two"
+                  text run at (37,185) width 286: "In addition, they should not overlap each other. "
+                  text run at (323,185) width 76: "The first two"
                   text run at (5,205) width 414: "should be side by side, whereas the third should be on the next \"line.\""
               LayoutBlockFlow {DIV} at (6,570) size 360x210 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
@@ -411,13 +411,13 @@
                   text run at (317,5) width 38: "This is"
                   text run at (317,25) width 22: "text"
                   text run at (161,45) width 94: "within the DIV. "
-                  text run at (254,45) width 71: "The floating"
+                  text run at (255,45) width 70: "The floating"
                   text run at (161,65) width 178: "images within this DIV should"
                   text run at (5,85) width 317: "not go beyond the left or right inner edge of this DIV,"
                   text run at (5,105) width 349: "which means that the borders of the floating images should"
                   text run at (5,125) width 350: "not overlap the top or side borders of the DIV in any way."
-                  text run at (5,145) width 287: "In addition, they should not overlap each other. "
-                  text run at (291,145) width 50: "The first"
+                  text run at (5,145) width 286: "In addition, they should not overlap each other. "
+                  text run at (291,145) width 49: "The first"
                   text run at (5,165) width 333: "two should be side by side, whereas the third should be"
                   text run at (5,185) width 104: "on the next \"line.\""
               LayoutBlockFlow {DIV} at (6,830) size 314x364 [border: (5px solid #800080)]
@@ -433,7 +433,7 @@
                 LayoutText {#text} at (199,5) size 303x353
                   text run at (199,5) width 103: "This is text within"
                   text run at (199,25) width 55: "the DIV. "
-                  text run at (253,25) width 24: "The"
+                  text run at (254,25) width 23: "The"
                   text run at (199,45) width 99: "floating elements"
                   text run at (5,79) width 90: "within this DIV"
                   text run at (5,99) width 81: "should not go"
@@ -443,7 +443,7 @@
                   text run at (5,179) width 278: "means that the borders of the floating elements"
                   text run at (5,199) width 291: "should not overlap the top or side borders of the"
                   text run at (5,219) width 102: "DIV in any way. "
-                  text run at (106,219) width 164: "In addition, they should not"
+                  text run at (107,219) width 163: "In addition, they should not"
                   text run at (5,239) width 272: "overlap each other in any way, nor should the"
                   text run at (5,259) width 290: "floated elements be overwritten by the DIV text."
                   text run at (5,279) width 276: "In addition, the floated elements should not be"
@@ -456,12 +456,12 @@
                 LayoutText {#text} at (261,5) size 399x215
                   text run at (261,5) width 125: "This is text within the"
                   text run at (5,41) width 33: "DIV. "
-                  text run at (37,41) width 71: "The floating"
+                  text run at (38,41) width 70: "The floating"
                   text run at (5,61) width 135: "images within this DIV"
                   text run at (5,81) width 399: "should not go beyond the left or right inner edge of this DIV, which"
                   text run at (5,101) width 382: "means that the borders of the floating images should not overlap"
                   text run at (5,121) width 282: "the top or side borders of the DIV in any way. "
-                  text run at (286,121) width 98: "In addition, they"
+                  text run at (287,121) width 97: "In addition, they"
                   text run at (5,141) width 383: "should not overlap each other in any way, nor should the floated"
                   text run at (5,161) width 249: "elements be overwritten by the DIV text. "
                   text run at (254,161) width 135: "In addition, the floated"
@@ -479,32 +479,32 @@
                     text run at (17,57) width 49: "source)."
                 LayoutText {#text} at (199,5) size 717x119
                   text run at (199,5) width 162: "This is text within the DIV. "
-                  text run at (360,5) width 166: "The floating elements within"
+                  text run at (361,5) width 165: "The floating elements within"
                   text run at (199,25) width 332: "this DIV should not go beyond the top side of this DIV,"
                   text run at (199,45) width 317: "which means that the borders of the floating elements"
                   text run at (199,65) width 336: "should not overlap the top or side borders of the DIV in"
                   text run at (199,85) width 57: "any way. "
-                  text run at (255,85) width 467: "In addition, the top of the left-floating box should not be higher than the top of"
+                  text run at (256,85) width 466: "In addition, the top of the left-floating box should not be higher than the top of"
                   text run at (5,105) width 128: "the right-floating box."
               LayoutBlockFlow {DIV} at (6,1636) size 743x70 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
                 LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
                 LayoutText {#text} at (20,5) size 706x59
                   text run at (20,5) width 162: "This is text within the DIV. "
-                  text run at (181,5) width 530: "The floating images within this DIV should not go beyond the top side of this DIV, which"
+                  text run at (182,5) width 529: "The floating images within this DIV should not go beyond the top side of this DIV, which"
                   text run at (20,25) width 668: "means that the borders of the floating images should not overlap the top or side borders of the DIV in any way. "
-                  text run at (687,25) width 13: "In"
+                  text run at (688,25) width 12: "In"
                   text run at (5,45) width 606: "addition, the top of the left-floating image should not be higher than the top of the right-floating image."
               LayoutBlockFlow {DIV} at (6,1756) size 743x130 [border: (5px solid #800080)]
                 LayoutText {#text} at (199,5) size 170x19
                   text run at (199,5) width 162: "This is text within the DIV. "
-                  text run at (360,5) width 9: "*"
+                  text run at (361,5) width 8: "*"
                 LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 159x39
                     text run at (17,17) width 120: "This is a left-floating"
                     text run at (17,37) width 159: "paragraph (first in source)."
-                LayoutText {#text} at (368,5) size 504x39
-                  text run at (368,5) width 335: " The floating elements within this DIV should not go any"
+                LayoutText {#text} at (369,5) size 504x39
+                  text run at (369,5) width 334: " The floating elements within this DIV should not go any"
                   text run at (199,25) width 447: "higher than the line-box containing the inline content which precedes them. "
                   text run at (646,25) width 12: "* "
                 LayoutBlockFlow (floating) {P} at (544,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
@@ -522,10 +522,10 @@
               LayoutBlockFlow {DIV} at (6,1905) size 743x90 [border: (5px solid #800080)]
                 LayoutText {#text} at (20,5) size 170x19
                   text run at (20,5) width 162: "This is text within the DIV. "
-                  text run at (181,5) width 9: "*"
+                  text run at (182,5) width 8: "*"
                 LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
-                LayoutText {#text} at (189,5) size 701x39
-                  text run at (189,5) width 532: " The floating images within this DIV should not go any higher than the line-box containing"
+                LayoutText {#text} at (190,5) size 701x39
+                  text run at (190,5) width 531: " The floating images within this DIV should not go any higher than the line-box containing"
                   text run at (20,25) width 239: "the inline content which precedes them. "
                   text run at (259,25) width 12: "* "
                 LayoutImage (floating) {IMG} at (723,25) size 15x36 [border: (3px solid #000000)]
@@ -537,13 +537,13 @@
               LayoutBlockFlow {DIV} at (6,2045) size 743x290 [border: (5px solid #800080)]
                 LayoutText {#text} at (199,5) size 170x19
                   text run at (199,5) width 162: "This is text within the DIV. "
-                  text run at (360,5) width 9: "*"
+                  text run at (361,5) width 8: "*"
                 LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 159x39
                     text run at (17,17) width 120: "This is a left-floating"
                     text run at (17,37) width 159: "paragraph (first in source)."
-                LayoutText {#text} at (368,5) size 504x39
-                  text run at (368,5) width 335: " The floating elements within this DIV should not go any"
+                LayoutText {#text} at (369,5) size 504x39
+                  text run at (369,5) width 334: " The floating elements within this DIV should not go any"
                   text run at (199,25) width 447: "higher than the line-box containing the inline content which precedes them. "
                   text run at (646,25) width 12: "* "
                 LayoutBlockFlow (floating) {P} at (544,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
@@ -585,10 +585,10 @@
               LayoutBlockFlow {DIV} at (6,2353) size 743x130 [border: (5px solid #800080)]
                 LayoutText {#text} at (20,5) size 170x19
                   text run at (20,5) width 162: "This is text within the DIV. "
-                  text run at (181,5) width 9: "*"
+                  text run at (182,5) width 8: "*"
                 LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
-                LayoutText {#text} at (189,5) size 686x39
-                  text run at (189,5) width 532: " The floating images within this DIV should not go any higher than the line-box containing"
+                LayoutText {#text} at (190,5) size 686x39
+                  text run at (190,5) width 531: " The floating images within this DIV should not go any higher than the line-box containing"
                   text run at (35,25) width 239: "the inline content which precedes them. "
                   text run at (274,25) width 12: "* "
                 LayoutImage (floating) {IMG} at (723,25) size 15x36 [border: (3px solid #000000)]
@@ -604,7 +604,7 @@
                 LayoutText {#text} at (697,45) size 722x79
                   text run at (697,45) width 16: " In"
                   text run at (50,65) width 573: "order to mark these points clearly, an asterisk has been inserted just before each floated image. "
-                  text run at (622,65) width 105: "If a line has room"
+                  text run at (623,65) width 104: "If a line has room"
                   text run at (5,85) width 714: "for a floated image, then the image should float so that its top is aligned with the top of the line-box in which the asterisk"
                   text run at (5,105) width 56: "appears. "
                   text run at (61,105) width 380: "Otherwise, its top should align with the top of the next line-box."
@@ -648,7 +648,7 @@
                 LayoutImage (floating) {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
                 LayoutText {#text} at (82,5) size 479x219
                   text run at (82,5) width 124: " text within the DIV. "
-                  text run at (205,5) width 257: "Under CSS1, the left floating image should"
+                  text run at (206,5) width 256: "Under CSS1, the left floating image should"
                   text run at (20,25) width 443: "be placed in the upper left corner of the DIV, and the purple border of the"
                   text run at (5,45) width 336: "DIV should abut the green border of the floating image. "
                   text run at (341,45) width 106: "Similarly, the right"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/height_of_lines-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/height_of_lines-expected.txt
index caae818..6b36567 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/height_of_lines-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/height_of_lines-expected.txt
@@ -64,13 +64,13 @@
           text run at (0,22) width 78: "by six pixels. "
           text run at (78,22) width 683: "Any images within the paragraph should increase the height of the line-box so that they fit, including their padding (5px),"
           text run at (0,184) width 357: "border (10px) and margins (15px) within the line box, such as "
-        LayoutImage {IMG} at (371.73,55) size 130x130 [border: (10px solid #000000)]
-        LayoutText {#text} at (516,184) size 29x16
-          text run at (516,184) width 29: " and "
-        LayoutImage {IMG} at (559.73,199) size 130x130 [border: (10px solid #000000)]
-        LayoutText {#text} at (704,184) size 768x256
-          text run at (704,184) width 9: ". "
-          text run at (712,184) width 39: "This is"
+        LayoutImage {IMG} at (372,55) size 130x130 [border: (10px solid #000000)]
+        LayoutText {#text} at (517,184) size 28x16
+          text run at (517,184) width 28: " and "
+        LayoutImage {IMG} at (560,199) size 130x130 [border: (10px solid #000000)]
+        LayoutText {#text} at (705,184) size 768x256
+          text run at (705,184) width 8: ". "
+          text run at (713,184) width 38: "This is"
           text run at (0,346) width 725: "additional text to make sure that there is enough room left below the image so that this line does not hit the image that is text-top"
           text run at (0,366) width 47: "aligned. "
           text run at (47,366) width 700: "It is the outer edge of the margin that should be text-bottom and text-top aligned in this paragraph, so for the first image the"
@@ -115,9 +115,9 @@
                   text run at (0,22) width 135: "separated by six pixels. "
                   text run at (135,22) width 596: "Any images within the paragraph should increase the height of the line-box so that they fit, including their"
                   text run at (0,184) width 444: "padding (5px), border (10px) and margins (15px) within the line box, such as "
-                LayoutImage {IMG} at (458.73,55) size 130x130 [border: (10px solid #000000)]
-                LayoutText {#text} at (603,184) size 29x16
-                  text run at (603,184) width 29: " and "
+                LayoutImage {IMG} at (459,55) size 130x130 [border: (10px solid #000000)]
+                LayoutText {#text} at (604,184) size 28x16
+                  text run at (604,184) width 28: " and "
                 LayoutImage {IMG} at (15,219) size 130x130 [border: (10px solid #000000)]
                 LayoutText {#text} at (160,204) size 729x236
                   text run at (160,204) width 8: ". "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/inline_elements-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/inline_elements-expected.png
index 325a77f8..e8faffe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/inline_elements-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/inline_elements-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/inline_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/inline_elements-expected.txt
index ef1ee75..f3dfdd8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/inline_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/inline_elements-expected.txt
@@ -24,15 +24,15 @@
       LayoutBlockFlow {P} at (0,179) size 769x192
         LayoutText {#text} at (0,6) size 179x19
           text run at (0,6) width 179: "This is a paragraph that has a "
-        LayoutInline {SPAN} at (0,0) size 763x173 [border: (10px solid #FF0000)]
-          LayoutText {#text} at (231,6) size 763x147
+        LayoutInline {SPAN} at (0,0) size 762x173 [border: (10px solid #FF0000)]
+          LayoutText {#text} at (231,6) size 762x147
             text run at (231,6) width 531: "very long span in it, and the span has a 10px red border separated from the span by 2pt,"
             text run at (0,38) width 133: "and a margin of 30pt. "
-            text run at (132,38) width 622: "The padding and border should be present on all sides of the span (although vertical lines should appear"
+            text run at (133,38) width 621: "The padding and border should be present on all sides of the span (although vertical lines should appear"
             text run at (0,70) width 421: "only at the beginning and the end of the whole span, not on each line). "
-            text run at (421,70) width 342: "The padding, border, and margin should all be noticeable"
+            text run at (421,70) width 341: "The padding, border, and margin should all be noticeable"
             text run at (0,102) width 223: "at the beginning and end of the span. "
-            text run at (223,102) width 527: "However, the line height should not be changed by any of them, so the margin should be"
+            text run at (223,102) width 526: "However, the line height should not be changed by any of them, so the margin should be"
             text run at (0,134) width 374: "unnoticeable and the border should overlap text on other lines."
         LayoutText {#text} at (426,134) size 729x51
           text run at (426,134) width 4: " "
@@ -46,7 +46,7 @@
             text run at (174,0) width 547: "very long span in it, and the span has a 12px red border separated from the span by 2pt of padding (the"
             text run at (0,16) width 752: "difference between the line-height and the font-size), which should overlap with the lines of text above and below the span, since the padding"
             text run at (0,32) width 237: "and border should not effect the line height. "
-            text run at (236,32) width 521: "The span's border should have vertical lines only at the beginning and end of the whole span, not"
+            text run at (237,32) width 520: "The span's border should have vertical lines only at the beginning and end of the whole span, not"
             text run at (0,48) width 67: "on each line."
         LayoutText {#text} at (81,48) size 405x15
           text run at (81,48) width 3: " "
@@ -66,19 +66,19 @@
               LayoutBlockFlow {P} at (4,4) size 747x192
                 LayoutText {#text} at (0,6) size 179x19
                   text run at (0,6) width 179: "This is a paragraph that has a "
-                LayoutInline {SPAN} at (0,0) size 744x173 [border: (10px solid #FF0000)]
-                  LayoutText {#text} at (231,6) size 744x147
+                LayoutInline {SPAN} at (0,0) size 743x173 [border: (10px solid #FF0000)]
+                  LayoutText {#text} at (231,6) size 743x147
                     text run at (231,6) width 503: "very long span in it, and the span has a 10px red border separated from the span by"
                     text run at (0,38) width 161: "2pt, and a margin of 30pt. "
-                    text run at (160,38) width 576: "The padding and border should be present on all sides of the span (although vertical lines should"
+                    text run at (161,38) width 575: "The padding and border should be present on all sides of the span (although vertical lines should"
                     text run at (0,70) width 467: "appear only at the beginning and the end of the whole span, not on each line). "
-                    text run at (467,70) width 277: "The padding, border, and margin should all be"
+                    text run at (467,70) width 276: "The padding, border, and margin should all be"
                     text run at (0,102) width 288: "noticeable at the beginning and end of the span. "
-                    text run at (288,102) width 421: "However, the line height should not be changed by any of them, so the"
+                    text run at (288,102) width 420: "However, the line height should not be changed by any of them, so the"
                     text run at (0,134) width 480: "margin should be unnoticeable and the border should overlap text on other lines."
-                LayoutText {#text} at (531,134) size 708x51
-                  text run at (531,134) width 5: " "
-                  text run at (535,134) width 173: "The line spacing in the whole"
+                LayoutText {#text} at (532,134) size 708x51
+                  text run at (532,134) width 4: " "
+                  text run at (536,134) width 172: "The line spacing in the whole"
                   text run at (0,166) width 259: "paragraph should be 200% of the font size."
               LayoutBlockFlow {P} at (4,212) size 747x64
                 LayoutText {#text} at (0,0) size 160x15
@@ -88,7 +88,7 @@
                     text run at (174,0) width 547: "very long span in it, and the span has a 12px red border separated from the span by 2pt of padding (the"
                     text run at (0,16) width 705: "difference between the line-height and the font-size), which should overlap with the lines of text above and below the span, since the"
                     text run at (0,32) width 284: "padding and border should not effect the line height. "
-                    text run at (283,32) width 433: "The span's border should have vertical lines only at the beginning and end of the"
+                    text run at (284,32) width 432: "The span's border should have vertical lines only at the beginning and end of the"
                     text run at (0,48) width 155: "whole span, not on each line."
                 LayoutText {#text} at (169,48) size 405x15
                   text run at (169,48) width 3: " "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/replaced_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/replaced_elements-expected.txt
index c30297f..cd3d718 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/replaced_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/replaced_elements-expected.txt
@@ -34,8 +34,8 @@
           text run at (0,0) width 467: "The above image should be a 15px square with the same left edge as this text."
       LayoutImage {IMG} at (377,298) size 15x15
       LayoutBlockFlow {P} at (0,329) size 769x20
-        LayoutText {#text} at (0,0) size 383x19
-          text run at (0,0) width 383: "The above image should be a 15px square aligned at the center."
+        LayoutText {#text} at (0,0) size 382x19
+          text run at (0,0) width 382: "The above image should be a 15px square aligned at the center."
       LayoutImage {IMG} at (192.25,365) size 384.50x384.50
       LayoutBlockFlow {P} at (0,765.50) size 769x40
         LayoutText {#text} at (0,0) size 750x39
@@ -70,8 +70,8 @@
                   text run at (0,0) width 467: "The above image should be a 15px square with the same left edge as this text."
               LayoutImage {IMG} at (370,107) size 15x15
               LayoutBlockFlow {P} at (4,138) size 747x20
-                LayoutText {#text} at (0,0) size 383x19
-                  text run at (0,0) width 383: "The above image should be a 15px square aligned at the center."
+                LayoutText {#text} at (0,0) size 382x19
+                  text run at (0,0) width 382: "The above image should be a 15px square aligned at the center."
               LayoutImage {IMG} at (190.75,174) size 373.50x373.50
               LayoutBlockFlow {P} at (4,563.50) size 747x40
                 LayoutText {#text} at (0,0) size 728x39
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/vertical_formatting-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/vertical_formatting-expected.png
index ccdfc33..081d4bb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/vertical_formatting-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/vertical_formatting-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/vertical_formatting-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/vertical_formatting-expected.txt
index b672604..3426a34 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/vertical_formatting-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/vertical_formatting-expected.txt
@@ -96,7 +96,7 @@
       LayoutBlockFlow {P} at (0,1302.22) size 769x77.78
         LayoutText {#text} at (0,0) size 765x39
           text run at (0,0) width 530: "There should be two centimeters of padding between this paragraph and the one below. "
-          text run at (529,0) width 236: "Padding does not collapse, and there is"
+          text run at (530,0) width 235: "Padding does not collapse, and there is"
           text run at (0,20) width 177: "1cm of padding on each side."
       LayoutBlockFlow {P} at (0,1380) size 769x57.78
         LayoutText {#text} at (0,37) size 158x20
@@ -163,7 +163,7 @@
               LayoutBlockFlow {P} at (4,939.22) size 747x77.78
                 LayoutText {#text} at (0,0) size 718x39
                   text run at (0,0) width 530: "There should be two centimeters of padding between this paragraph and the one below. "
-                  text run at (529,0) width 189: "Padding does not collapse, and"
+                  text run at (530,0) width 188: "Padding does not collapse, and"
                   text run at (0,20) width 224: "there is 1cm of padding on each side."
               LayoutBlockFlow {P} at (4,1017) size 747x57.78
                 LayoutText {#text} at (0,37) size 158x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/anchor-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/anchor-expected.png
index 2cad599..0aa45b3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/anchor-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/anchor-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/anchor-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/anchor-expected.txt
index 623f025..409735c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/anchor-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/anchor-expected.txt
@@ -49,9 +49,9 @@
               LayoutText {#text} at (0,0) size 0x0
             LayoutListItem {LI} at (40,60) size 689x20
               LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
-              LayoutInline {A} at (0,0) size 45x19 [color=#800080]
-                LayoutText {#text} at (0,0) size 45x19
-                  text run at (0,0) width 45: "Yahoo!"
+              LayoutInline {A} at (0,0) size 44x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 44x19
+                  text run at (0,0) width 44: "Yahoo!"
               LayoutText {#text} at (0,0) size 0x0
             LayoutListItem {LI} at (40,80) size 689x20
               LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
@@ -78,9 +78,9 @@
         LayoutInline {A} at (0,0) size 41x19 [color=#008000]
           LayoutText {#text} at (114,0) size 41x19
             text run at (114,0) width 41: "anchor"
-        LayoutText {#text} at (155,0) size 755x39
-          text run at (155,0) width 360: "\" should be green, NOT purple, since it's part of an anchor. "
-          text run at (514,0) width 241: "It's a named anchor, and styles declared"
+        LayoutText {#text} at (155,0) size 754x39
+          text run at (155,0) width 359: "\" should be green, NOT purple, since it's part of an anchor. "
+          text run at (514,0) width 240: "It's a named anchor, and styles declared"
           text run at (0,20) width 283: "for the A tag are applied to them under CSS1. "
           text run at (283,20) width 310: "It also should NOT turn orange when clicked upon."
       LayoutTable {TABLE} at (0,431) size 769x290 [border: (1px outset #808080)]
@@ -125,9 +125,9 @@
                       LayoutText {#text} at (0,0) size 0x0
                     LayoutListItem {LI} at (40,60) size 667x20
                       LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
-                      LayoutInline {A} at (0,0) size 45x19 [color=#800080]
-                        LayoutText {#text} at (0,0) size 45x19
-                          text run at (0,0) width 45: "Yahoo!"
+                      LayoutInline {A} at (0,0) size 44x19 [color=#800080]
+                        LayoutText {#text} at (0,0) size 44x19
+                          text run at (0,0) width 44: "Yahoo!"
                       LayoutText {#text} at (0,0) size 0x0
                     LayoutListItem {LI} at (40,80) size 667x20
                       LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
@@ -154,9 +154,9 @@
                 LayoutInline {A} at (0,0) size 41x19 [color=#008000]
                   LayoutText {#text} at (114,0) size 41x19
                     text run at (114,0) width 41: "anchor"
-                LayoutText {#text} at (155,0) size 699x39
-                  text run at (155,0) width 360: "\" should be green, NOT purple, since it's part of an anchor. "
-                  text run at (514,0) width 185: "It's a named anchor, and styles"
+                LayoutText {#text} at (155,0) size 698x39
+                  text run at (155,0) width 359: "\" should be green, NOT purple, since it's part of an anchor. "
+                  text run at (514,0) width 184: "It's a named anchor, and styles"
                   text run at (0,20) width 339: "declared for the A tag are applied to them under CSS1. "
                   text run at (339,20) width 310: "It also should NOT turn orange when clicked upon."
 layer at (8,153) size 769x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstletter-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstletter-expected.png
index dfe5098..ce77573 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstletter-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstletter-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstletter-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstletter-expected.txt
index 8b383a45..94a2b49 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstletter-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstletter-expected.txt
@@ -24,7 +24,7 @@
             text run at (0,0) width 9: "T"
         LayoutTextFragment {#text} at (9,0) size 758x59
           text run at (9,0) width 414: "he first letter of this paragraph, and only that one, should be maroon. "
-          text run at (423,0) width 335: "If this precise combination does not occur, then the user"
+          text run at (423,0) width 334: "If this precise combination does not occur, then the user"
           text run at (0,20) width 149: "agent has failed this test. "
           text run at (149,20) width 609: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one"
           text run at (0,40) width 24: "line."
@@ -32,11 +32,11 @@
         LayoutInline {<pseudo:first-letter>} at (0,0) size 19x36 [color=#800000]
           LayoutTextFragment (anonymous) at (0,0) size 19x36
             text run at (0,0) width 19: "T"
-        LayoutTextFragment {#text} at (19,13) size 766x63
+        LayoutTextFragment {#text} at (19,13) size 765x63
           text run at (19,13) width 582: "he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. "
-          text run at (600,13) width 158: "If this precise combination"
-          text run at (0,37) width 327: "does not occur, then the user agent has failed this test. "
-          text run at (326,37) width 440: "Remember that in order to ensure a complete test, the paragraph must be"
+          text run at (601,13) width 157: "If this precise combination"
+          text run at (0,37) width 326: "does not occur, then the user agent has failed this test. "
+          text run at (326,37) width 439: "Remember that in order to ensure a complete test, the paragraph must be"
           text run at (0,57) width 194: "displayed on more than one line."
       LayoutBlockFlow {P} at (0,300) size 769x106
         LayoutInline {<pseudo:first-letter>} at (0,0) size 75x64 [color=#800000]
@@ -66,7 +66,7 @@
                     text run at (0,0) width 9: "T"
                 LayoutTextFragment {#text} at (9,0) size 732x59
                   text run at (9,0) width 414: "he first letter of this paragraph, and only that one, should be maroon. "
-                  text run at (423,0) width 306: "If this precise combination does not occur, then the"
+                  text run at (423,0) width 305: "If this precise combination does not occur, then the"
                   text run at (0,20) width 178: "user agent has failed this test. "
                   text run at (178,20) width 554: "Remember that in order to ensure a complete test, the paragraph must be displayed on more"
                   text run at (0,40) width 79: "than one line."
@@ -74,11 +74,11 @@
                 LayoutInline {<pseudo:first-letter>} at (0,0) size 19x36 [color=#800000]
                   LayoutTextFragment (anonymous) at (0,0) size 19x36
                     text run at (0,0) width 19: "T"
-                LayoutTextFragment {#text} at (19,13) size 727x63
+                LayoutTextFragment {#text} at (19,13) size 726x63
                   text run at (19,13) width 582: "he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. "
-                  text run at (600,13) width 81: "If this precise"
-                  text run at (0,37) width 404: "combination does not occur, then the user agent has failed this test. "
-                  text run at (403,37) width 324: "Remember that in order to ensure a complete test, the"
+                  text run at (601,13) width 80: "If this precise"
+                  text run at (0,37) width 403: "combination does not occur, then the user agent has failed this test. "
+                  text run at (403,37) width 323: "Remember that in order to ensure a complete test, the"
                   text run at (0,57) width 310: "paragraph must be displayed on more than one line."
               LayoutBlockFlow {P} at (4,173) size 747x106
                 LayoutInline {<pseudo:first-letter>} at (0,0) size 75x64 [color=#800000]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstline-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstline-expected.png
index b62d3a4f..c5366279 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstline-expected.txt
index 8600fd1..ea1eca2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstline-expected.txt
@@ -18,21 +18,21 @@
       LayoutBlockFlow {P} at (0,131) size 769x60
         LayoutText {#text} at (0,0) size 758x59
           text run at (0,0) width 400: "The first line of this paragraph, and only that one, should be green. "
-          text run at (400,0) width 335: "If this precise combination does not occur, then the user"
+          text run at (400,0) width 334: "If this precise combination does not occur, then the user"
           text run at (0,20) width 149: "agent has failed this test. "
           text run at (149,20) width 609: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one"
           text run at (0,40) width 24: "line."
       LayoutBlockFlow {P} at (0,207) size 769x77
-        LayoutText {#text} at (0,0) size 759x76
+        LayoutText {#text} at (0,0) size 758x76
           text run at (0,0) width 749: "The first line of this paragraph, and only that one, should be"
           text run at (0,37) width 205: "a larger font size as well as green. "
-          text run at (204,37) width 489: "If this precise combination does not occur, then the user agent has failed this test. "
-          text run at (692,37) width 67: "Remember"
+          text run at (205,37) width 487: "If this precise combination does not occur, then the user agent has failed this test. "
+          text run at (692,37) width 66: "Remember"
           text run at (0,57) width 567: "that in order to ensure a complete test, the paragraph must be displayed on more than one line."
       LayoutBlockFlow {P} at (0,300) size 769x80
         LayoutText {#text} at (0,0) size 763x59
           text run at (0,0) width 646: "The first line of this paragraph, and only that one, should be displayed in small-caps style. "
-          text run at (645,0) width 118: "Thus, if the first"
+          text run at (646,0) width 117: "Thus, if the first"
           text run at (0,20) width 760: "line is not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test (although"
           text run at (0,40) width 157: "the problem might be that "
         LayoutInline {CODE} at (0,0) size 80x16
@@ -55,9 +55,9 @@
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 755x257 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 747x60
-                LayoutText {#text} at (0,0) size 735x59
+                LayoutText {#text} at (0,0) size 734x59
                   text run at (0,0) width 400: "The first line of this paragraph, and only that one, should be green. "
-                  text run at (400,0) width 335: "If this precise combination does not occur, then the user"
+                  text run at (400,0) width 334: "If this precise combination does not occur, then the user"
                   text run at (0,20) width 149: "agent has failed this test. "
                   text run at (149,20) width 583: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than"
                   text run at (0,40) width 50: "one line."
@@ -65,12 +65,12 @@
                 LayoutText {#text} at (0,0) size 711x76
                   text run at (0,0) width 711: "The first line of this paragraph, and only that one, should"
                   text run at (0,37) width 224: "be a larger font size as well as green. "
-                  text run at (223,37) width 485: "If this precise combination does not occur, then the user agent has failed this test."
+                  text run at (224,37) width 483: "If this precise combination does not occur, then the user agent has failed this test."
                   text run at (0,57) width 637: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
               LayoutBlockFlow {P} at (4,173) size 747x80
                 LayoutText {#text} at (0,0) size 727x59
                   text run at (0,0) width 646: "The first line of this paragraph, and only that one, should be displayed in small-caps style. "
-                  text run at (645,0) width 81: "Thus, if the"
+                  text run at (646,0) width 80: "Thus, if the"
                   text run at (0,20) width 727: "first line is not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test"
                   text run at (0,40) width 216: "(although the problem might be that "
                 LayoutInline {CODE} at (0,0) size 80x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/multiple_pseudo_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/multiple_pseudo_elements-expected.txt
index dd895dd..0d086ec 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/multiple_pseudo_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/multiple_pseudo_elements-expected.txt
@@ -31,8 +31,8 @@
         LayoutTextFragment {#text} at (9,0) size 769x59
           text run at (9,0) width 727: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be green. "
           text run at (736,0) width 33: "If this"
-          text run at (0,20) width 451: "precise combination does not occur, then the user agent has failed this test. "
-          text run at (450,20) width 302: "Remember that in order to ensure a complete test,"
+          text run at (0,20) width 450: "precise combination does not occur, then the user agent has failed this test. "
+          text run at (450,20) width 301: "Remember that in order to ensure a complete test,"
           text run at (0,40) width 332: "the paragraph must be displayed on more than one line."
       LayoutBlockFlow {P} at (0,255) size 769x192
         LayoutInline {<pseudo:first-letter>} at (0,0) size 68x127 [color=#800000]
@@ -42,14 +42,14 @@
           text run at (68,74) width 621: "he first letter of this paragraph, and only that one,"
           text run at (0,132) width 762: "should be 350% bigger than the rest of the first line of this paragraph and maroon (dark red), while the entire first line should be"
           text run at (0,152) width 223: "200% bigger than normal and green. "
-          text run at (223,152) width 484: "If this precise combination does not occur, then the user agent has failed this test."
+          text run at (223,152) width 483: "If this precise combination does not occur, then the user agent has failed this test."
           text run at (0,172) width 637: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
       LayoutBlockFlow {P} at (0,463) size 769x126
         LayoutInline {<pseudo:first-letter>} at (0,0) size 75x64 [color=#800000]
           LayoutTextFragment (anonymous) at (0,1) size 75x64
             text run at (0,1) width 75: "\"W"
         LayoutTextFragment {#text} at (75,36) size 769x89
-          text run at (75,36) width 359: "e should check for quotation support,\" it was said. "
+          text run at (75,36) width 358: "e should check for quotation support,\" it was said. "
           text run at (433,36) width 327: "The first two characters in this paragraph-- a"
           text run at (0,66) width 711: "double-quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red). "
           text run at (711,66) width 57: "Note that"
@@ -72,11 +72,11 @@
                 LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#800000]
                   LayoutTextFragment (anonymous) at (0,0) size 9x19
                     text run at (0,0) width 9: "T"
-                LayoutTextFragment {#text} at (9,0) size 747x59
+                LayoutTextFragment {#text} at (9,0) size 746x59
                   text run at (9,0) width 727: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be green. "
                   text run at (736,0) width 9: "If"
-                  text run at (0,20) width 475: "this precise combination does not occur, then the user agent has failed this test. "
-                  text run at (474,20) width 273: "Remember that in order to ensure a complete"
+                  text run at (0,20) width 474: "this precise combination does not occur, then the user agent has failed this test. "
+                  text run at (474,20) width 272: "Remember that in order to ensure a complete"
                   text run at (0,40) width 361: "test, the paragraph must be displayed on more than one line."
               LayoutBlockFlow {P} at (4,80) size 747x192
                 LayoutInline {<pseudo:first-letter>} at (0,0) size 68x127 [color=#800000]
@@ -86,14 +86,14 @@
                   text run at (68,74) width 621: "he first letter of this paragraph, and only that one,"
                   text run at (0,132) width 743: "should be 350% bigger than the rest of the first line of this paragraph and maroon (dark red), while the entire first line should"
                   text run at (0,152) width 242: "be 200% bigger than normal and green. "
-                  text run at (242,152) width 484: "If this precise combination does not occur, then the user agent has failed this test."
+                  text run at (242,152) width 483: "If this precise combination does not occur, then the user agent has failed this test."
                   text run at (0,172) width 637: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
               LayoutBlockFlow {P} at (4,288) size 747x126
                 LayoutInline {<pseudo:first-letter>} at (0,0) size 75x64 [color=#800000]
                   LayoutTextFragment (anonymous) at (0,1) size 75x64
                     text run at (0,1) width 75: "\"W"
                 LayoutTextFragment {#text} at (75,36) size 742x89
-                  text run at (75,36) width 359: "e should check for quotation support,\" it was said. "
+                  text run at (75,36) width 358: "e should check for quotation support,\" it was said. "
                   text run at (433,36) width 309: "The first two characters in this paragraph-"
                   text run at (0,66) width 728: "- a double-quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red)."
                   text run at (0,86) width 720: "Note that the inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but it is"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/pseudo_elements_in_selectors-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/pseudo_elements_in_selectors-expected.png
index fd9df271..95ca80a9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/pseudo_elements_in_selectors-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/pseudo_elements_in_selectors-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/pseudo_elements_in_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/pseudo_elements_in_selectors-expected.txt
index 3db0314..c0fbe1e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/pseudo_elements_in_selectors-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/pseudo_elements_in_selectors-expected.txt
@@ -23,20 +23,20 @@
       LayoutBlockFlow {P} at (0,187) size 769x40
         LayoutText {#text} at (0,0) size 752x39
           text run at (0,0) width 552: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
-          text run at (551,0) width 201: "If this is not the case, then the"
-          text run at (0,20) width 541: "user agent may have failed to properly parse the selector, or it may simply not support the "
-        LayoutInline {TT} at (0,0) size 89x16
-          LayoutText {#text} at (540,23) size 89x16
-            text run at (540,23) width 89: ":first-line"
-        LayoutText {#text} at (628,20) size 105x19
-          text run at (628,20) width 105: " pseudo-element."
+          text run at (552,0) width 200: "If this is not the case, then the"
+          text run at (0,20) width 540: "user agent may have failed to properly parse the selector, or it may simply not support the "
+        LayoutInline {TT} at (0,0) size 88x16
+          LayoutText {#text} at (540,23) size 88x16
+            text run at (540,23) width 88: ":first-line"
+        LayoutText {#text} at (628,20) size 104x19
+          text run at (628,20) width 104: " pseudo-element."
       LayoutBlockFlow {P} at (0,243) size 769x80
-        LayoutText {#text} at (0,0) size 757x79
+        LayoutText {#text} at (0,0) size 756x79
           text run at (0,0) width 336: "The first line of this sentence should be boldfaced. "
           text run at (336,0) width 413: "If it is red, then the user agent has violated the specification in"
-          text run at (0,20) width 413: "allowing pseudo-elements at a point other than the end of a selector. "
-          text run at (412,20) width 321: "If neither is the case, then the user agent has correctly"
-          text run at (0,40) width 757: "ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered to have failed"
+          text run at (0,20) width 412: "allowing pseudo-elements at a point other than the end of a selector. "
+          text run at (412,20) width 320: "If neither is the case, then the user agent has correctly"
+          text run at (0,40) width 756: "ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered to have failed"
           text run at (0,60) width 47: "the test."
       LayoutTable {TABLE} at (0,339) size 769x250 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x248
@@ -58,21 +58,21 @@
               LayoutBlockFlow {P} at (4,60) size 747x60
                 LayoutText {#text} at (0,0) size 727x39
                   text run at (0,0) width 552: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
-                  text run at (551,0) width 176: "If this is not the case, then"
-                  text run at (0,20) width 563: "the user agent may have failed to properly parse the selector, or it may simply not support the "
-                LayoutInline {TT} at (0,0) size 89x16
-                  LayoutText {#text} at (562,23) size 89x16
-                    text run at (562,23) width 89: ":first-line"
-                LayoutText {#text} at (650,20) size 705x39
-                  text run at (650,20) width 55: " pseudo-"
+                  text run at (552,0) width 175: "If this is not the case, then"
+                  text run at (0,20) width 562: "the user agent may have failed to properly parse the selector, or it may simply not support the "
+                LayoutInline {TT} at (0,0) size 88x16
+                  LayoutText {#text} at (562,23) size 88x16
+                    text run at (562,23) width 88: ":first-line"
+                LayoutText {#text} at (650,20) size 704x39
+                  text run at (650,20) width 54: " pseudo-"
                   text run at (0,40) width 50: "element."
               LayoutBlockFlow {P} at (4,136) size 747x80
-                LayoutText {#text} at (0,0) size 747x79
+                LayoutText {#text} at (0,0) size 746x79
                   text run at (0,0) width 336: "The first line of this sentence should be boldfaced. "
                   text run at (336,0) width 397: "If it is red, then the user agent has violated the specification"
-                  text run at (0,20) width 427: "in allowing pseudo-elements at a point other than the end of a selector. "
-                  text run at (426,20) width 321: "If neither is the case, then the user agent has correctly"
-                  text run at (0,40) width 721: "ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered to have"
+                  text run at (0,20) width 426: "in allowing pseudo-elements at a point other than the end of a selector. "
+                  text run at (426,20) width 320: "If neither is the case, then the user agent has correctly"
+                  text run at (0,40) width 720: "ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered to have"
                   text run at (0,60) width 83: "failed the test."
 layer at (8,121) size 769x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/text_properties/text_align-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/text_properties/text_align-expected.png
index 7e87caf..f68623c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/text_properties/text_align-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/text_properties/text_align-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/text_properties/text_decoration-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/text_properties/text_decoration-expected.png
index 8159a35..d35f6cb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/text_properties/text_decoration-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/text_properties/text_decoration-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/text_properties/text_transform-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/text_properties/text_transform-expected.png
index 7e83f39..b53d9f58 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/text_properties/text_transform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/text_properties/text_transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/units/color_units-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/units/color_units-expected.txt
index 6d7f0f2..379d2fb2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/units/color_units-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/units/color_units-expected.txt
@@ -80,11 +80,11 @@
       LayoutBlockFlow {P} at (0,747) size 769x20 [color=#008800]
         LayoutText {#text} at (0,0) size 376x19
           text run at (0,0) width 376: "This sentence should be a slightly different green, and used the "
-        LayoutInline {TT} at (0,0) size 41x16
-          LayoutText {#text} at (375,3) size 41x16
-            text run at (375,3) width 41: "style"
-        LayoutText {#text} at (415,0) size 58x19
-          text run at (415,0) width 58: " attribute."
+        LayoutInline {TT} at (0,0) size 40x16
+          LayoutText {#text} at (376,3) size 40x16
+            text run at (376,3) width 40: "style"
+        LayoutText {#text} at (416,0) size 57x19
+          text run at (416,0) width 57: " attribute."
       LayoutBlockFlow {P} at (0,783) size 769x20 [color=#008000]
         LayoutText {#text} at (0,0) size 268x19
           text run at (0,0) width 268: "This sentence should be green, and used the "
@@ -187,11 +187,11 @@
               LayoutBlockFlow {P} at (4,532) size 747x20 [color=#008800]
                 LayoutText {#text} at (0,0) size 376x19
                   text run at (0,0) width 376: "This sentence should be a slightly different green, and used the "
-                LayoutInline {TT} at (0,0) size 41x16
-                  LayoutText {#text} at (375,3) size 41x16
-                    text run at (375,3) width 41: "style"
-                LayoutText {#text} at (415,0) size 58x19
-                  text run at (415,0) width 58: " attribute."
+                LayoutInline {TT} at (0,0) size 40x16
+                  LayoutText {#text} at (376,3) size 40x16
+                    text run at (376,3) width 40: "style"
+                LayoutText {#text} at (416,0) size 57x19
+                  text run at (416,0) width 57: " attribute."
               LayoutBlockFlow {P} at (4,568) size 747x20 [color=#008000]
                 LayoutText {#text} at (0,0) size 268x19
                   text run at (0,0) width 268: "This sentence should be green, and used the "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/units/length_units-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/units/length_units-expected.png
index 5948a84..8d69b32e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/units/length_units-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/units/length_units-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/units/length_units-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/units/length_units-expected.txt
index 9aa43b4f..b5ef745 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/units/length_units-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/units/length_units-expected.txt
@@ -91,7 +91,7 @@
         LayoutText {#text} at (745,49) size 737x190
           text run at (745,49) width 10: "."
           text run at (18,97) width 663: "This should make the left border the same"
-          text run at (18,145) width 700: "number of pixels as the lower-case 'x' in this"
+          text run at (18,145) width 699: "number of pixels as the lower-case 'x' in this"
           text run at (18,193) width 603: "element's font, as well as solid purple."
       LayoutTable {TABLE} at (0,927) size 769x730 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x728
@@ -163,10 +163,10 @@
                   LayoutText {#text} at (429,54) size 627x90
                     text run at (429,54) width 216: "1ex solid"
                     text run at (18,102) width 144: "purple"
-                LayoutText {#text} at (162,97) size 698x190
+                LayoutText {#text} at (162,97) size 697x190
                   text run at (162,97) width 20: ". "
                   text run at (182,97) width 513: "This should make the left border"
-                  text run at (18,145) width 698: "the same number of pixels as the lower-case"
+                  text run at (18,145) width 697: "the same number of pixels as the lower-case"
                   text run at (18,193) width 634: "'x' in this element's font, as well as solid"
                   text run at (18,241) width 111: "purple."
 layer at (8,233) size 769x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/units/percentage_units-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/units/percentage_units-expected.png
index edc8c87d..5d49e1f7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/units/percentage_units-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/units/percentage_units-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/units/urls-expected.png b/third_party/WebKit/LayoutTests/platform/win/css1/units/urls-expected.png
index b532efe5..2d67bd9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/units/urls-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/units/urls-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/units/urls-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/units/urls-expected.txt
index be5b6ee..f665f2af 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/units/urls-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/units/urls-expected.txt
@@ -19,16 +19,16 @@
         LayoutText {#text} at (0,0) size 368x19
           text run at (0,0) width 368: "This page should have a green grid pattern as its background."
       LayoutBlockFlow {P} at (0,167) size 784x60 [bgcolor=#FFFFFF]
-        LayoutText {#text} at (0,0) size 778x59
+        LayoutText {#text} at (0,0) size 777x59
           text run at (0,0) width 591: "This paragraph should have a white background, but NO image should appear in the background. "
           text run at (591,0) width 174: "If an image, in this case a red"
-          text run at (0,20) width 778: "square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the document's"
+          text run at (0,20) width 777: "square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the document's"
           text run at (0,40) width 188: "URL, not the stylesheet's URL."
       LayoutBlockFlow {P} at (0,243) size 784x60 [bgcolor=#FFFFFF]
-        LayoutText {#text} at (0,0) size 778x59
+        LayoutText {#text} at (0,0) size 777x59
           text run at (0,0) width 591: "This paragraph should have a white background, but NO image should appear in the background. "
           text run at (591,0) width 174: "If an image, in this case a red"
-          text run at (0,20) width 778: "square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the document's"
+          text run at (0,20) width 777: "square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the document's"
           text run at (0,40) width 188: "URL, not the stylesheet's URL."
       LayoutTable {TABLE} at (0,319) size 784x210 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 782x208
@@ -49,13 +49,13 @@
                 LayoutText {#text} at (0,0) size 741x59
                   text run at (0,0) width 591: "This paragraph should have a white background, but NO image should appear in the background. "
                   text run at (591,0) width 150: "If an image, in this case a"
-                  text run at (0,20) width 730: "red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the"
+                  text run at (0,20) width 729: "red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the"
                   text run at (0,40) width 260: "document's URL, not the stylesheet's URL."
               LayoutBlockFlow {P} at (4,116) size 762x60 [bgcolor=#FFFFFF]
                 LayoutText {#text} at (0,0) size 741x59
                   text run at (0,0) width 591: "This paragraph should have a white background, but NO image should appear in the background. "
                   text run at (591,0) width 150: "If an image, in this case a"
-                  text run at (0,20) width 730: "red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the"
+                  text run at (0,20) width 729: "red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the"
                   text run at (0,40) width 260: "document's URL, not the stylesheet's URL."
 layer at (8,121) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/c543-txt-decor-000-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/c543-txt-decor-000-expected.png
index 36a0e43..db8796b7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/c543-txt-decor-000-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/c543-txt-decor-000-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/c543-txt-decor-000-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/c543-txt-decor-000-expected.txt
index a764b0c..d138194 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/c543-txt-decor-000-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/c543-txt-decor-000-expected.txt
@@ -69,8 +69,8 @@
         LayoutInline {SPAN} at (0,0) size 152x19 [color=#FFFFFF]
           LayoutText {#text} at (535,0) size 152x19
             text run at (535,0) width 152: " FAIL FAIL FAIL FAIL "
-        LayoutText {#text} at (686,0) size 73x19
-          text run at (686,0) width 73: "\x{2190}and here."
+        LayoutText {#text} at (687,0) size 72x19
+          text run at (687,0) width 72: "\x{2190}and here."
       LayoutBlockFlow {P} at (0,382) size 784x20 [color=#000080]
         LayoutText {#text} at (0,0) size 325x19
           text run at (0,0) width 325: "There should be a long blue underline between here\x{2192}"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/height-width-inline-table-001-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/height-width-inline-table-001-expected.txt
index d2c8ca0..8b39618 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/height-width-inline-table-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/height-width-inline-table-001-expected.txt
@@ -9,11 +9,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 281x19
           text run at (0,0) width 281: "Test passes if there is a filled green square and "
-        LayoutInline {STRONG} at (0,0) size 43x19
-          LayoutText {#text} at (280,0) size 43x19
-            text run at (280,0) width 43: "no red"
-        LayoutText {#text} at (322,0) size 5x19
-          text run at (322,0) width 5: "."
+        LayoutInline {STRONG} at (0,0) size 42x19
+          LayoutText {#text} at (281,0) size 42x19
+            text run at (281,0) width 42: "no red"
+        LayoutText {#text} at (323,0) size 4x19
+          text run at (323,0) width 4: "."
       LayoutBlockFlow (anonymous) at (0,36) size 784x105
         LayoutTable {DIV} at (0,0) size 100x100 [bgcolor=#008000] [border: (25px solid #008000)]
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/height-width-table-001-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/height-width-table-001-expected.txt
index bb5b575..6847b641 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/height-width-table-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/height-width-table-001-expected.txt
@@ -9,9 +9,9 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 281x19
           text run at (0,0) width 281: "Test passes if there is a filled green square and "
-        LayoutInline {STRONG} at (0,0) size 43x19
-          LayoutText {#text} at (280,0) size 43x19
-            text run at (280,0) width 43: "no red"
-        LayoutText {#text} at (322,0) size 5x19
-          text run at (322,0) width 5: "."
+        LayoutInline {STRONG} at (0,0) size 42x19
+          LayoutText {#text} at (281,0) size 42x19
+            text run at (281,0) width 42: "no red"
+        LayoutText {#text} at (323,0) size 4x19
+          text run at (323,0) width 4: "."
       LayoutTable {DIV} at (0,36) size 100x100 [bgcolor=#008000] [border: (25px solid #008000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/inline-table-001-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/inline-table-001-expected.txt
index 047ffbeb..233bf90 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/inline-table-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/inline-table-001-expected.txt
@@ -10,9 +10,9 @@
         LayoutInline {SPAN} at (0,0) size 60x19
           LayoutText {#text} at (0,0) size 60x19
             text run at (0,0) width 60: "Filler Text"
-        LayoutText {#text} at (59,0) size 5x19
-          text run at (59,0) width 5: " "
-        LayoutTable {DIV} at (63.88,0) size 96x96 [bgcolor=#FFA500]
+        LayoutText {#text} at (60,0) size 4x19
+          text run at (60,0) width 4: " "
+        LayoutTable {DIV} at (64,0) size 96x96 [bgcolor=#FFA500]
           LayoutTableSection (anonymous) at (0,0) size 96x96
             LayoutTableRow {DIV} at (0,0) size 96x96
               LayoutTableCell {DIV} at (0,0) size 96x20 [r=0 c=0 rs=1 cs=1]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/list-style-position-005-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/list-style-position-005-expected.txt
index eaab6d6..254e846 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/list-style-position-005-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/list-style-position-005-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 89x19
           text run at (0,0) width 89: "To pass, there "
-        LayoutInline {STRONG} at (0,0) size 33x19
-          LayoutText {#text} at (88,0) size 33x19
-            text run at (88,0) width 33: "must"
-        LayoutText {#text} at (120,0) size 269x19
-          text run at (120,0) width 269: " be a green bar stacked on top of a blue bar."
+        LayoutInline {STRONG} at (0,0) size 32x19
+          LayoutText {#text} at (89,0) size 32x19
+            text run at (89,0) width 32: "must"
+        LayoutText {#text} at (121,0) size 268x19
+          text run at (121,0) width 268: " be a green bar stacked on top of a blue bar."
       LayoutListItem {DIV} at (0,36) size 784x202 [color=#00FF00] [bgcolor=#00FF00]
         LayoutBlockFlow (anonymous) at (0,0) size 784x101
           LayoutListMarker (anonymous) at (-1,2) size 27x97: bullet
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-023-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-023-expected.png
index 9a25a04..92d27c1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-023-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-023-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-023-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-023-expected.txt
index 0cfd935..589ac92aa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-023-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-023-expected.txt
@@ -6,18 +6,18 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 365x19
           text run at (0,0) width 365: "Test passes if the bottom of the \"Filler Text\" below is aligned."
-      LayoutTable {TABLE} at (0,36) size 343x100
-        LayoutTableSection {TBODY} at (0,0) size 343x100
-          LayoutTableRow {TR} at (0,2) size 343x96
-            LayoutTableCell {TD} at (2,27) size 54x18 [r=0 c=0 rs=1 cs=1]
-              LayoutBlockFlow {DIV} at (1,1) size 52x16
-                LayoutText {#text} at (0,0) size 52x15
-                  text run at (0,0) width 52: "Filler Text"
-            LayoutTableCell {TD} at (58,15) size 116x34 [r=0 c=1 rs=1 cs=1]
-              LayoutBlockFlow {DIV} at (1,1) size 114x32
-                LayoutText {#text} at (0,0) size 114x31
-                  text run at (0,0) width 114: "Filler Text"
-            LayoutTableCell {TD} at (176,2) size 165x50 [r=0 c=2 rs=1 cs=1]
-              LayoutBlockFlow {DIV} at (1,1) size 163x48
-                LayoutText {#text} at (0,1) size 163x46
-                  text run at (0,1) width 163: "Filler Text"
+      LayoutTable {TABLE} at (0,36) size 340x100
+        LayoutTableSection {TBODY} at (0,0) size 340x100
+          LayoutTableRow {TR} at (0,2) size 340x96
+            LayoutTableCell {TD} at (2,27) size 53x18 [r=0 c=0 rs=1 cs=1]
+              LayoutBlockFlow {DIV} at (1,1) size 51x16
+                LayoutText {#text} at (0,0) size 51x15
+                  text run at (0,0) width 51: "Filler Text"
+            LayoutTableCell {TD} at (57,15) size 115x34 [r=0 c=1 rs=1 cs=1]
+              LayoutBlockFlow {DIV} at (1,1) size 113x32
+                LayoutText {#text} at (0,0) size 113x31
+                  text run at (0,0) width 113: "Filler Text"
+            LayoutTableCell {TD} at (174,2) size 164x50 [r=0 c=2 rs=1 cs=1]
+              LayoutBlockFlow {DIV} at (1,1) size 162x48
+                LayoutText {#text} at (0,1) size 162x46
+                  text run at (0,1) width 162: "Filler Text"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-024-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-024-expected.png
index 9a25a04..92d27c1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-024-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-024-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-024-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-024-expected.txt
index 0cfd935..589ac92aa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-024-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/20110323/table-height-algorithm-024-expected.txt
@@ -6,18 +6,18 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 365x19
           text run at (0,0) width 365: "Test passes if the bottom of the \"Filler Text\" below is aligned."
-      LayoutTable {TABLE} at (0,36) size 343x100
-        LayoutTableSection {TBODY} at (0,0) size 343x100
-          LayoutTableRow {TR} at (0,2) size 343x96
-            LayoutTableCell {TD} at (2,27) size 54x18 [r=0 c=0 rs=1 cs=1]
-              LayoutBlockFlow {DIV} at (1,1) size 52x16
-                LayoutText {#text} at (0,0) size 52x15
-                  text run at (0,0) width 52: "Filler Text"
-            LayoutTableCell {TD} at (58,15) size 116x34 [r=0 c=1 rs=1 cs=1]
-              LayoutBlockFlow {DIV} at (1,1) size 114x32
-                LayoutText {#text} at (0,0) size 114x31
-                  text run at (0,0) width 114: "Filler Text"
-            LayoutTableCell {TD} at (176,2) size 165x50 [r=0 c=2 rs=1 cs=1]
-              LayoutBlockFlow {DIV} at (1,1) size 163x48
-                LayoutText {#text} at (0,1) size 163x46
-                  text run at (0,1) width 163: "Filler Text"
+      LayoutTable {TABLE} at (0,36) size 340x100
+        LayoutTableSection {TBODY} at (0,0) size 340x100
+          LayoutTableRow {TR} at (0,2) size 340x96
+            LayoutTableCell {TD} at (2,27) size 53x18 [r=0 c=0 rs=1 cs=1]
+              LayoutBlockFlow {DIV} at (1,1) size 51x16
+                LayoutText {#text} at (0,0) size 51x15
+                  text run at (0,0) width 51: "Filler Text"
+            LayoutTableCell {TD} at (57,15) size 115x34 [r=0 c=1 rs=1 cs=1]
+              LayoutBlockFlow {DIV} at (1,1) size 113x32
+                LayoutText {#text} at (0,0) size 113x31
+                  text run at (0,0) width 113: "Filler Text"
+            LayoutTableCell {TD} at (174,2) size 164x50 [r=0 c=2 rs=1 cs=1]
+              LayoutBlockFlow {DIV} at (1,1) size 162x48
+                LayoutText {#text} at (0,1) size 162x46
+                  text run at (0,1) width 162: "Filler Text"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t010403-shand-border-00-c-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t010403-shand-border-00-c-expected.txt
index 3144cde7..7ab7bec7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t010403-shand-border-00-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t010403-shand-border-00-c-expected.txt
@@ -4,6 +4,6 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x58
     LayoutBlockFlow {BODY} at (8,16) size 784x26 [bgcolor=#FFFFFF]
       LayoutBlockFlow {P} at (0,0) size 784x26 [color=#008000] [border: (3px solid #008000)]
-        LayoutInline {SPAN} at (0,0) size 223x19 [color=#000000]
-          LayoutText {#text} at (3,3) size 223x19
-            text run at (3,3) width 223: "This text should have a green border."
+        LayoutInline {SPAN} at (0,0) size 222x19 [color=#000000]
+          LayoutText {#text} at (3,3) size 222x19
+            text run at (3,3) width 222: "This text should have a green border."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0402-c71-fwd-parsing-02-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0402-c71-fwd-parsing-02-f-expected.txt
index 6ee8634..ba28bee8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0402-c71-fwd-parsing-02-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0402-c71-fwd-parsing-02-f-expected.txt
@@ -38,8 +38,8 @@
             text run at (0,0) width 152: "This line should be green."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {ADDRESS} at (0,324) size 784x20
-        LayoutText {#text} at (0,0) size 163x19
-          text run at (0,0) width 163: "This line should be green."
+        LayoutText {#text} at (0,0) size 162x19
+          text run at (0,0) width 162: "This line should be green."
       LayoutBlockFlow {P} at (0,360) size 784x20
         LayoutInline {SPAN} at (0,0) size 152x19
           LayoutText {#text} at (0,0) size 152x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t040302-c61-phys-len-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t040302-c61-phys-len-00-b-expected.txt
index dbaa006..1455455 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t040302-c61-phys-len-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t040302-c61-phys-len-00-b-expected.txt
@@ -9,7 +9,7 @@
       LayoutBlockFlow {P} at (0,36) size 784x40 [color=#000080]
         LayoutText {#text} at (0,0) size 751x39
           text run at (0,0) width 386: "Hold up a credit card to your display. The distance between the "
-          text run at (385,0) width 366: "two vertical bars should be exactly the length of a credit card"
+          text run at (386,0) width 365: "two vertical bars should be exactly the length of a credit card"
           text run at (0,20) width 72: "(85.60mm)."
       LayoutBlockFlow {DIV} at (0,92) size 784x96 [border: none (3px solid #000000)]
         LayoutBlockFlow {DIV} at (326.52,0) size 457.48x16 [border: none (3px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t051201-c23-first-line-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/t051201-c23-first-line-00-b-expected.png
index cfc09a41..024a07aa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t051201-c23-first-line-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t051201-c23-first-line-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t051201-c23-first-line-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t051201-c23-first-line-00-b-expected.txt
index d6dfd243..d63114e8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t051201-c23-first-line-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t051201-c23-first-line-00-b-expected.txt
@@ -15,20 +15,19 @@
         LayoutInline {STRONG} at (0,0) size 38x19
           LayoutText {#text} at (368,0) size 38x19
             text run at (368,0) width 38: "green"
-        LayoutText {#text} at (405,0) size 776x99
-          text run at (405,0) width 170: ". If this precise combination "
-          text run at (574,0) width 175: "does not occur, then the user"
-          text run at (0,20) width 219: "agent has failed this test. Remember "
-          text run at (219,20) width 373: "that in order to ensure a complete test, the paragraph must be "
-          text run at (592,20) width 166: "displayed on more than one"
-          text run at (0,40) width 241: "line. Dummy text. Dummy text. Dummy "
-          text run at (241,40) width 435: "text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. "
-          text run at (676,40) width 77: "Dummy text."
-          text run at (0,60) width 375: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
-          text run at (375,60) width 401: "text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy"
-          text run at (0,80) width 30: "text. "
-          text run at (30,80) width 456: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
-          text run at (486,80) width 269: "text. Dummy text. Dummy text. Dummy text."
+        LayoutText {#text} at (406,0) size 784x99
+          text run at (406,0) width 169: ". If this precise combination "
+          text run at (575,0) width 209: "does not occur, then the user agent"
+          text run at (0,20) width 183: "has failed this test. Remember "
+          text run at (183,20) width 373: "that in order to ensure a complete test, the paragraph must be "
+          text run at (556,20) width 194: "displayed on more than one line."
+          text run at (0,40) width 213: "Dummy text. Dummy text. Dummy "
+          text run at (213,40) width 435: "text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. "
+          text run at (648,40) width 128: "Dummy text. Dummy"
+          text run at (0,60) width 324: "text. Dummy text. Dummy text. Dummy text. Dummy "
+          text run at (324,60) width 431: "text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
+          text run at (0,80) width 456: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
+          text run at (456,80) width 269: "text. Dummy text. Dummy text. Dummy text."
       LayoutBlockFlow {P} at (0,116) size 784x138
         LayoutText {#text} at (0,1) size 56x36
           text run at (0,1) width 56: "The "
@@ -46,20 +45,20 @@
         LayoutInline {STRONG} at (0,0) size 38x19
           LayoutText {#text} at (159,38) size 38x19
             text run at (159,38) width 38: "green"
-        LayoutText {#text} at (196,38) size 780x99
-          text run at (196,38) width 268: ". If this precise combination does not occur, "
-          text run at (463,38) width 296: "then the user agent has failed this test. Remember"
-          text run at (0,58) width 93: "that in order to "
-          text run at (93,58) width 395: "ensure a complete test, the paragraph must be displayed on more "
-          text run at (488,58) width 292: "than one line. Dummy text. Dummy text. Dummy"
-          text run at (0,78) width 111: "text. Dummy text. "
-          text run at (111,78) width 456: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
-          text run at (567,78) width 188: "text. Dummy text. Dummy text."
-          text run at (0,98) width 243: "Dummy text. Dummy text. Dummy text. "
-          text run at (243,98) width 456: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
-          text run at (699,98) width 77: "text. Dummy"
-          text run at (0,118) width 354: "text. Dummy text. Dummy text. Dummy text. Dummy text. "
-          text run at (354,118) width 158: "Dummy text. Dummy text."
+        LayoutText {#text} at (197,38) size 784x99
+          text run at (197,38) width 266: ". If this precise combination does not occur, "
+          text run at (463,38) width 321: "then the user agent has failed this test. Remember that"
+          text run at (0,58) width 67: "in order to "
+          text run at (67,58) width 395: "ensure a complete test, the paragraph must be displayed on more "
+          text run at (462,58) width 322: "than one line. Dummy text. Dummy text. Dummy text."
+          text run at (0,78) width 81: "Dummy text. "
+          text run at (81,78) width 456: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
+          text run at (537,78) width 239: "text. Dummy text. Dummy text. Dummy"
+          text run at (0,98) width 192: "text. Dummy text. Dummy text. "
+          text run at (192,98) width 456: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
+          text run at (648,98) width 107: "text. Dummy text."
+          text run at (0,118) width 324: "Dummy text. Dummy text. Dummy text. Dummy text. "
+          text run at (324,118) width 158: "Dummy text. Dummy text."
       LayoutBlockFlow {P} at (0,270) size 784x100
         LayoutText {#text} at (0,0) size 29x19
           text run at (0,0) width 29: "The "
@@ -67,19 +66,19 @@
           LayoutText {#text} at (29,0) size 70x19
             text run at (29,0) width 70: "first line"
         LayoutText {#text} at (99,0) size 427x19
-          text run at (99,0) width 236: " of this paragraph, and only that "
+          text run at (99,0) width 235: " of this paragraph, and only that "
           text run at (334,0) width 192: "one, should be displayed in "
-        LayoutInline {STRONG} at (0,0) size 80x19
-          LayoutText {#text} at (525,0) size 80x19
-            text run at (525,0) width 80: "small-caps"
-        LayoutText {#text} at (604,0) size 122x19
-          text run at (604,0) width 64: " style as "
-          text run at (667,0) width 59: "well as "
-        LayoutInline {STRONG} at (0,0) size 44x19
-          LayoutText {#text} at (725,0) size 44x19
-            text run at (725,0) width 44: "green"
-        LayoutText {#text} at (768,0) size 776x99
-          text run at (768,0) width 5: "."
+        LayoutInline {STRONG} at (0,0) size 79x19
+          LayoutText {#text} at (526,0) size 79x19
+            text run at (526,0) width 79: "small-caps"
+        LayoutText {#text} at (605,0) size 121x19
+          text run at (605,0) width 63: " style as "
+          text run at (668,0) width 58: "well as "
+        LayoutInline {STRONG} at (0,0) size 43x19
+          LayoutText {#text} at (726,0) size 43x19
+            text run at (726,0) width 43: "green"
+        LayoutText {#text} at (769,0) size 776x99
+          text run at (769,0) width 4: "."
           text run at (0,20) width 170: "Thus, if the first line is not in "
           text run at (170,20) width 325: "small-caps style, or if the entire paragraph turns out in "
           text run at (495,20) width 268: "small-caps, then the user agent has failed this"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t051202-c24-first-lttr-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t051202-c24-first-lttr-00-b-expected.txt
index 08f18ee..64eeb14 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t051202-c24-first-lttr-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t051202-c24-first-lttr-00-b-expected.txt
@@ -18,9 +18,9 @@
         LayoutInline {STRONG} at (0,0) size 38x19
           LayoutText {#text} at (380,0) size 38x19
             text run at (380,0) width 38: "green"
-        LayoutText {#text} at (417,0) size 761x39
-          text run at (417,0) width 170: ". If this precise combination "
-          text run at (586,0) width 175: "does not occur, then the user"
+        LayoutText {#text} at (418,0) size 760x39
+          text run at (418,0) width 169: ". If this precise combination "
+          text run at (587,0) width 173: "does not occur, then the user"
           text run at (0,20) width 145: "agent has failed this test."
       LayoutBlockFlow {P} at (0,56) size 784x57
         LayoutInline {<pseudo:first-letter>} at (0,0) size 19x36 [color=#008000]
@@ -42,10 +42,10 @@
         LayoutInline {STRONG} at (0,0) size 38x19
           LayoutText {#text} at (578,13) size 38x19
             text run at (578,13) width 38: "green"
-        LayoutText {#text} at (615,13) size 781x43
-          text run at (615,13) width 166: ". If this precise combination"
-          text run at (0,37) width 98: "does not occur, "
-          text run at (97,37) width 226: "then the user agent has failed this test."
+        LayoutText {#text} at (616,13) size 781x43
+          text run at (616,13) width 165: ". If this precise combination"
+          text run at (0,37) width 97: "does not occur, "
+          text run at (97,37) width 225: "then the user agent has failed this test."
       LayoutBlockFlow {P} at (0,129) size 784x86
         LayoutInline {<pseudo:first-letter>} at (0,0) size 58x64 [color=#008000]
           LayoutTextFragment (anonymous) at (0,1) size 58x64
@@ -68,6 +68,6 @@
         LayoutInline {STRONG} at (0,0) size 38x19
           LayoutText {#text} at (210,66) size 38x19
             text run at (210,66) width 38: "green"
-        LayoutText {#text} at (247,66) size 493x19
-          text run at (247,66) width 268: ". If this precise combination does not occur, "
-          text run at (514,66) width 226: "then the user agent has failed this test."
+        LayoutText {#text} at (248,66) size 491x19
+          text run at (248,66) width 266: ". If this precise combination does not occur, "
+          text run at (514,66) width 225: "then the user agent has failed this test."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t051202-c26-psudo-nest-00-c-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/t051202-c26-psudo-nest-00-c-expected.png
index 301b7a3d..c627710 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t051202-c26-psudo-nest-00-c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t051202-c26-psudo-nest-00-c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t051202-c26-psudo-nest-00-c-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t051202-c26-psudo-nest-00-c-expected.txt
index 598127e..d87c176 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t051202-c26-psudo-nest-00-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t051202-c26-psudo-nest-00-c-expected.txt
@@ -42,9 +42,9 @@
         LayoutInline {STRONG} at (0,0) size 25x19
           LayoutText {#text} at (405,190) size 25x19
             text run at (405,190) width 25: "teal"
-        LayoutText {#text} at (430,190) size 773x59
-          text run at (430,190) width 267: ". If this precise combination does not occur, "
-          text run at (696,190) width 77: "then the user"
+        LayoutText {#text} at (430,190) size 772x59
+          text run at (430,190) width 266: ". If this precise combination does not occur, "
+          text run at (696,190) width 76: "then the user"
           text run at (0,210) width 312: "agent has failed this test. Remember that in order to "
           text run at (312,210) width 395: "ensure a complete test, the paragraph must be displayed on more "
           text run at (707,210) width 51: "than one"
@@ -60,10 +60,10 @@
             text run at (131,13) width 119: "two characters"
         LayoutText {#text} at (250,13) size 478x19
           text run at (250,13) width 127: " in this paragraph "
-          text run at (376,13) width 352: "(a double-quote mark and a capital 'T') should be "
+          text run at (377,13) width 351: "(a double-quote mark and a capital 'T') should be "
         LayoutInline {STRONG} at (0,0) size 768x43
-          LayoutText {#text} at (727,13) size 768x43
-            text run at (727,13) width 41: "200%"
+          LayoutText {#text} at (728,13) size 768x43
+            text run at (728,13) width 40: "200%"
             text run at (0,37) width 42: "bigger"
         LayoutText {#text} at (42,37) size 214x19
           text run at (42,37) width 214: " than the rest of the paragraph, and "
@@ -114,26 +114,26 @@
         LayoutText {#text} at (660,0) size 748x59
           text run at (660,0) width 21: ". If "
           text run at (681,0) width 67: "this precise"
-          text run at (0,20) width 315: "combination does not occur, then the user agent has "
-          text run at (314,20) width 395: "failed this test. Remember that in order to ensure a complete test, "
-          text run at (708,20) width 19: "the"
+          text run at (0,20) width 314: "combination does not occur, then the user agent has "
+          text run at (314,20) width 394: "failed this test. Remember that in order to ensure a complete test, "
+          text run at (708,20) width 18: "the"
           text run at (0,40) width 368: "paragraph must be displayed on more than one line. (TEST3)"
       LayoutBlockFlow {DIV} at (0,435) size 784x20
-        LayoutText {#text} at (0,0) size 160x19
-          text run at (0,0) width 160: "You should see the words "
-        LayoutInline {STRONG} at (0,0) size 66x19
-          LayoutText {#text} at (159,0) size 66x19
-            text run at (159,0) width 66: "\"TEST1\""
-        LayoutText {#text} at (224,0) size 9x19
-          text run at (224,0) width 9: ", "
-        LayoutInline {STRONG} at (0,0) size 66x19
-          LayoutText {#text} at (232,0) size 66x19
-            text run at (232,0) width 66: "\"TEST2\""
-        LayoutText {#text} at (297,0) size 35x19
-          text run at (297,0) width 35: ", and "
-        LayoutInline {STRONG} at (0,0) size 66x19
-          LayoutText {#text} at (331,0) size 66x19
-            text run at (331,0) width 66: "\"TEST3\""
-        LayoutText {#text} at (396,0) size 230x19
-          text run at (396,0) width 84: " at the end of "
-          text run at (479,0) width 147: "three paragraphs above."
+        LayoutText {#text} at (0,0) size 159x19
+          text run at (0,0) width 159: "You should see the words "
+        LayoutInline {STRONG} at (0,0) size 65x19
+          LayoutText {#text} at (159,0) size 65x19
+            text run at (159,0) width 65: "\"TEST1\""
+        LayoutText {#text} at (224,0) size 8x19
+          text run at (224,0) width 8: ", "
+        LayoutInline {STRONG} at (0,0) size 65x19
+          LayoutText {#text} at (232,0) size 65x19
+            text run at (232,0) width 65: "\"TEST2\""
+        LayoutText {#text} at (297,0) size 34x19
+          text run at (297,0) width 34: ", and "
+        LayoutInline {STRONG} at (0,0) size 65x19
+          LayoutText {#text} at (331,0) size 65x19
+            text run at (331,0) width 65: "\"TEST3\""
+        LayoutText {#text} at (396,0) size 229x19
+          text run at (396,0) width 83: " at the end of "
+          text run at (479,0) width 146: "three paragraphs above."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0602-c13-inheritance-00-e-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0602-c13-inheritance-00-e-expected.txt
index a1bbc57..736bb86 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0602-c13-inheritance-00-e-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0602-c13-inheritance-00-e-expected.txt
@@ -18,16 +18,16 @@
         LayoutInline {EM} at (0,0) size 34x19 [color=#008000]
           LayoutText {#text} at (0,0) size 34x19
             text run at (0,0) width 34: "PASS"
-        LayoutText {#text} at (33,0) size 5x19
-          text run at (33,0) width 5: " "
-        LayoutInline {STRONG} at (0,0) size 36x19
-          LayoutText {#text} at (37,0) size 36x19
-            text run at (37,0) width 36: "FAIL"
+        LayoutText {#text} at (34,0) size 4x19
+          text run at (34,0) width 4: " "
+        LayoutInline {STRONG} at (0,0) size 35x19
+          LayoutText {#text} at (38,0) size 35x19
+            text run at (38,0) width 35: "FAIL"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,108) size 784x20
         LayoutText {#text} at (0,0) size 41x19
           text run at (0,0) width 41: "PASS "
-        LayoutInline {DFN} at (0,0) size 33x19 [color=#FFFFFF]
-          LayoutText {#text} at (40,0) size 33x19
-            text run at (40,0) width 33: "FAIL"
+        LayoutInline {DFN} at (0,0) size 32x19 [color=#FFFFFF]
+          LayoutText {#text} at (41,0) size 32x19
+            text run at (41,0) width 32: "FAIL"
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0602-inherit-bdr-pad-b-00-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0602-inherit-bdr-pad-b-00-expected.txt
index ec560c8..2414cb8e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0602-inherit-bdr-pad-b-00-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0602-inherit-bdr-pad-b-00-expected.txt
@@ -4,15 +4,15 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x88
     LayoutBlockFlow {BODY} at (8,16) size 784x56
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 228x19
-          text run at (0,0) width 228: "This sentence should have no border. "
-        LayoutInline {SPAN} at (0,0) size 263x29 [border: (5px solid #00FF00)]
-          LayoutText {#text} at (232,0) size 253x19
-            text run at (232,0) width 253: "This sentence should have a green border."
+        LayoutText {#text} at (0,0) size 227x19
+          text run at (0,0) width 227: "This sentence should have no border. "
+        LayoutInline {SPAN} at (0,0) size 262x29 [border: (5px solid #00FF00)]
+          LayoutText {#text} at (232,0) size 252x19
+            text run at (232,0) width 252: "This sentence should have a green border."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutInline {SPAN} at (0,0) size 357x35 [bgcolor=#FF0000]
-          LayoutInline {SPAN} at (0,0) size 357x35 [bgcolor=#00FF00]
-            LayoutText {#text} at (0,0) size 357x19
-              text run at (0,0) width 357: "This sentence should be in a green bar, with no red present."
+        LayoutInline {SPAN} at (0,0) size 356x35 [bgcolor=#FF0000]
+          LayoutInline {SPAN} at (0,0) size 356x35 [bgcolor=#00FF00]
+            LayoutText {#text} at (0,0) size 356x19
+              text run at (0,0) width 356: "This sentence should be in a green bar, with no red present."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t060403-c21-pseu-cls-00-e-i-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t060403-c21-pseu-cls-00-e-i-expected.txt
index ca8f9ffc..8de9fbe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t060403-c21-pseu-cls-00-e-i-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t060403-c21-pseu-cls-00-e-i-expected.txt
@@ -7,5 +7,5 @@
         LayoutInline {A} at (0,0) size 297x19 [color=#008000]
           LayoutText {#text} at (0,0) size 297x19
             text run at (0,0) width 297: "Whatever you do to this link, it should stay green."
-        LayoutText {#text} at (297,0) size 187x19
-          text run at (297,0) width 187: " (hover, focus, activate, follow)"
+        LayoutText {#text} at (297,0) size 186x19
+          text run at (297,0) width 186: " (hover, focus, activate, follow)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t060403-c21-pseu-id-00-e-i-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t060403-c21-pseu-id-00-e-i-expected.txt
index ca8f9ffc..8de9fbe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t060403-c21-pseu-id-00-e-i-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t060403-c21-pseu-id-00-e-i-expected.txt
@@ -7,5 +7,5 @@
         LayoutInline {A} at (0,0) size 297x19 [color=#008000]
           LayoutText {#text} at (0,0) size 297x19
             text run at (0,0) width 297: "Whatever you do to this link, it should stay green."
-        LayoutText {#text} at (297,0) size 187x19
-          text run at (297,0) width 187: " (hover, focus, activate, follow)"
+        LayoutText {#text} at (297,0) size 186x19
+          text run at (297,0) width 186: " (hover, focus, activate, follow)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0803-c5502-mrgn-r-02-c-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0803-c5502-mrgn-r-02-c-expected.txt
index ee3a2264..baba1fba 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0803-c5502-mrgn-r-02-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0803-c5502-mrgn-r-02-c-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x68
     LayoutBlockFlow {BODY} at (8,24) size 784x20
       LayoutBlockFlow {P} at (0,0) size 794x20 [color=#000080]
-        LayoutText {#text} at (0,0) size 270x19
-          text run at (0,0) width 270: "This page should have a horizontal scroll bar."
+        LayoutText {#text} at (0,0) size 269x19
+          text run at (0,0) width 269: "This page should have a horizontal scroll bar."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.txt
index 7dd8070..cdf3349 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x88
     LayoutBlockFlow {BODY} at (8,16) size 784x56
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {SPAN} at (0,0) size 242x23 [border: (1px solid #000000) (3px solid #000000)]
-          LayoutText {#text} at (3,0) size 236x19
-            text run at (3,0) width 236: "This box should have a thin top border."
+        LayoutInline {SPAN} at (0,0) size 241x23 [border: (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (3,0) size 235x19
+            text run at (3,0) width 235: "This box should have a thin top border."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 215x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.txt
index 10b99f2..31c9711 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x88
     LayoutBlockFlow {BODY} at (8,16) size 784x56
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {SPAN} at (0,0) size 246x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
-          LayoutText {#text} at (3,0) size 242x19
-            text run at (3,0) width 242: "This box should have a thin right border."
+        LayoutInline {SPAN} at (0,0) size 245x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (3,0) size 241x19
+            text run at (3,0) width 241: "This box should have a thin right border."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 215x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.txt
index e77ed2e..56749e0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x88
     LayoutBlockFlow {BODY} at (8,16) size 784x56
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {SPAN} at (0,0) size 265x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
-          LayoutText {#text} at (3,0) size 259x19
-            text run at (3,0) width 259: "This box should have a thin bottom border."
+        LayoutInline {SPAN} at (0,0) size 264x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (3,0) size 258x19
+            text run at (3,0) width 258: "This box should have a thin bottom border."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 215x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.txt
index 3eb04b24..9923717 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x88
     LayoutBlockFlow {BODY} at (8,16) size 784x56
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {SPAN} at (0,0) size 238x25 [border: (3px solid #000000) (1px solid #000000)]
-          LayoutText {#text} at (1,0) size 234x19
-            text run at (1,0) width 234: "This box should have a thin left border."
+        LayoutInline {SPAN} at (0,0) size 237x25 [border: (3px solid #000000) (1px solid #000000)]
+          LayoutText {#text} at (1,0) size 233x19
+            text run at (1,0) width 233: "This box should have a thin left border."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 215x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5515-ibrdr-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5515-ibrdr-00-b-expected.txt
index ecf728f..3c140a4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5515-ibrdr-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5515-ibrdr-00-b-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x88
     LayoutBlockFlow {BODY} at (8,16) size 784x56
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {SPAN} at (0,0) size 214x21 [border: (1px solid #000000)]
-          LayoutText {#text} at (1,0) size 212x19
-            text run at (1,0) width 212: "This box should have a thin border."
+        LayoutInline {SPAN} at (0,0) size 213x21 [border: (1px solid #000000)]
+          LayoutText {#text} at (1,0) size 211x19
+            text run at (1,0) width 211: "This box should have a thin border."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 215x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5516-brdr-c-00-a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5516-brdr-c-00-a-expected.txt
index 9be11bd9..ef38063 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5516-brdr-c-00-a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5516-brdr-c-00-a-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x200
     LayoutBlockFlow {BODY} at (8,16) size 784x168
       LayoutBlockFlow {P} at (0,0) size 784x26 [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 224x19
-          text run at (3,3) width 224: "This box should have a green border."
+        LayoutText {#text} at (3,3) size 223x19
+          text run at (3,3) width 223: "This box should have a green border."
       LayoutBlockFlow {P} at (0,42) size 784x26 [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 284x19
-          text run at (3,3) width 284: "This box should have an identical green border."
+        LayoutText {#text} at (3,3) size 283x19
+          text run at (3,3) width 283: "This box should have an identical green border."
       LayoutBlockFlow {P} at (0,84) size 784x84 [border: (32px solid #800080) (32px solid #008000) (32px solid #0000FF) (32px solid #FFFF00)]
         LayoutText {#text} at (32,32) size 505x19
           text run at (32,32) width 505: "Clockwise from top, the borders should be: PURPLE, GREEN, BLUE, YELLOW."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5516-ibrdr-c-00-a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5516-ibrdr-c-00-a-expected.txt
index ed5103d..f3c6c5f8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5516-ibrdr-c-00-a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5516-ibrdr-c-00-a-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x252
     LayoutBlockFlow {BODY} at (8,48) size 784x156
       LayoutBlockFlow {P} at (48,0) size 688x20
-        LayoutInline {SPAN} at (0,0) size 230x25 [border: (3px solid #008000)]
-          LayoutText {#text} at (3,0) size 224x19
-            text run at (3,0) width 224: "This box should have a green border."
+        LayoutInline {SPAN} at (0,0) size 229x25 [border: (3px solid #008000)]
+          LayoutText {#text} at (3,0) size 223x19
+            text run at (3,0) width 223: "This box should have a green border."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (48,68) size 688x20
-        LayoutInline {SPAN} at (0,0) size 230x25 [border: (3px solid #008000)]
-          LayoutText {#text} at (3,0) size 224x19
-            text run at (3,0) width 224: "This box should have a green border."
+        LayoutInline {SPAN} at (0,0) size 229x25 [border: (3px solid #008000)]
+          LayoutText {#text} at (3,0) size 223x19
+            text run at (3,0) width 223: "This box should have a green border."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (48,136) size 688x20
         LayoutInline {SPAN} at (0,0) size 569x83 [border: (32px solid #800080) (32px solid #008000) (32px solid #0000FF) (32px solid #FFFF00)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5517-ibrdr-s-00-a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5517-ibrdr-s-00-a-expected.txt
index 5103cbb6..52ed408 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5517-ibrdr-s-00-a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5517-ibrdr-s-00-a-expected.txt
@@ -17,7 +17,7 @@
             text run at (5,0) width 129: "Orange and grooved."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,108) size 784x20
-        LayoutInline {SPAN} at (0,0) size 69x19
-          LayoutText {#text} at (0,0) size 69x19
-            text run at (0,0) width 69: "No border."
+        LayoutInline {SPAN} at (0,0) size 68x19
+          LayoutText {#text} at (0,0) size 68x19
+            text run at (0,0) width 68: "No border."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5519-brdr-r-02-e-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5519-brdr-r-02-e-expected.txt
index 08e20a6b..8cac36d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5519-brdr-r-02-e-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5519-brdr-r-02-e-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 708x19
           text run at (0,0) width 344: "There should be a solid line to the right of the text below, "
-          text run at (343,0) width 365: "having three segments each of a different colour as indicated."
+          text run at (344,0) width 364: "having three segments each of a different colour as indicated."
       LayoutBlockFlow {UL} at (0,36) size 588x280
         LayoutListItem {LI} at (40,0) size 548x80 [border: none (3px solid #FFA500) none]
           LayoutBlockFlow (anonymous) at (0,0) size 545x20
@@ -32,9 +32,9 @@
             text run at (0,0) width 34: "Lime."
         LayoutListItem {LI} at (40,100) size 548x180 [border: none (3px solid #FFFF00) none]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (0,0) size 515x179
-            text run at (0,0) width 304: "Yellow yellow yellow yellow yellow yellow yellow "
-            text run at (303,0) width 212: "yellow yellow yellow yellow yellow"
+          LayoutText {#text} at (0,0) size 514x179
+            text run at (0,0) width 303: "Yellow yellow yellow yellow yellow yellow yellow "
+            text run at (303,0) width 211: "yellow yellow yellow yellow yellow"
             text run at (0,20) width 172: "yellow yellow yellow yellow "
             text run at (172,20) width 340: "yellow yellow yellow yellow yellow yellow yellow yellow"
             text run at (0,40) width 43: "yellow "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5521-brdr-l-02-e-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5521-brdr-l-02-e-expected.txt
index 33ecdbe..b00bbac8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5521-brdr-l-02-e-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5521-brdr-l-02-e-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 700x19
           text run at (0,0) width 336: "There should be a solid line to the left of the text below, "
-          text run at (335,0) width 365: "having three segments each of a different colour as indicated."
+          text run at (336,0) width 364: "having three segments each of a different colour as indicated."
       LayoutBlockFlow {UL} at (0,36) size 784x240
         LayoutListItem {LI} at (40,0) size 744x80 [border: none (3px solid #FFA500)]
           LayoutBlockFlow (anonymous) at (3,0) size 741x20
@@ -32,10 +32,10 @@
             text run at (3,0) width 34: "Lime."
         LayoutListItem {LI} at (40,100) size 744x140 [border: none (3px solid #FFFF00)]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (3,0) size 730x139
-            text run at (3,0) width 304: "Yellow yellow yellow yellow yellow yellow yellow "
-            text run at (306,0) width 388: "yellow yellow yellow yellow yellow yellow yellow yellow yellow "
-            text run at (693,0) width 40: "yellow"
+          LayoutText {#text} at (3,0) size 729x139
+            text run at (3,0) width 303: "Yellow yellow yellow yellow yellow yellow yellow "
+            text run at (306,0) width 387: "yellow yellow yellow yellow yellow yellow yellow yellow yellow "
+            text run at (693,0) width 39: "yellow"
             text run at (3,20) width 344: "yellow yellow yellow yellow yellow yellow yellow yellow "
             text run at (347,20) width 383: "yellow yellow yellow yellow yellow yellow yellow yellow yellow"
             text run at (3,40) width 387: "yellow yellow yellow yellow yellow yellow yellow yellow yellow "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5522-brdr-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5522-brdr-00-b-expected.txt
index ff592d4..1196f536 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5522-brdr-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0805-c5522-brdr-00-b-expected.txt
@@ -22,11 +22,11 @@
         LayoutText {#text} at (10,10) size 120x19
           text run at (10,10) width 120: "Orange and double."
       LayoutBlockFlow {P} at (0,282) size 784x20 [color=#0000FF]
-        LayoutText {#text} at (0,0) size 69x19
-          text run at (0,0) width 69: "No border."
+        LayoutText {#text} at (0,0) size 68x19
+          text run at (0,0) width 68: "No border."
       LayoutBlockFlow {P} at (0,318) size 784x20 [color=#0000FF]
-        LayoutText {#text} at (0,0) size 69x19
-          text run at (0,0) width 69: "No border."
+        LayoutText {#text} at (0,0) size 68x19
+          text run at (0,0) width 68: "No border."
       LayoutBlockFlow {P} at (0,354) size 784x20 [color=#0000FF]
-        LayoutText {#text} at (0,0) size 69x19
-          text run at (0,0) width 69: "No border."
+        LayoutText {#text} at (0,0) size 68x19
+          text run at (0,0) width 68: "No border."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t09-c5526c-display-00-e-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/t09-c5526c-display-00-e-expected.png
index cbc58aa..1a48082 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t09-c5526c-display-00-e-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t09-c5526c-display-00-e-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t09-c5526c-display-00-e-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t09-c5526c-display-00-e-expected.txt
index fa5a8c6..6ca27f7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t09-c5526c-display-00-e-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t09-c5526c-display-00-e-expected.txt
@@ -54,18 +54,18 @@
           text run at (0,0) width 419: "This is a nonsensical document, but syntactically valid HTML 4.0. All 100%-"
           text run at (0,13) width 479: "conformant CSS1 agents should be able to render the document elements above this"
           text run at (0,26) width 290: "paragraph indistinguishably (to the pixel) from this "
-        LayoutInline {A} at (0,0) size 114x12 [color=#999999]
-          LayoutText {#text} at (289,26) size 114x12
-            text run at (289,26) width 114: "reference rendering,"
-        LayoutText {#text} at (402,26) size 475x38
-          text run at (402,26) width 5: " "
-          text run at (406,26) width 69: "(except font"
+        LayoutInline {A} at (0,0) size 113x12 [color=#999999]
+          LayoutText {#text} at (290,26) size 113x12
+            text run at (290,26) width 113: "reference rendering,"
+        LayoutText {#text} at (403,26) size 475x38
+          text run at (403,26) width 4: " "
+          text run at (407,26) width 68: "(except font"
           text run at (0,39) width 435: "rasterization and form widgets). All discrepancies should be traceable to CSS1"
           text run at (0,52) width 174: "implementation shortcomings. "
           text run at (174,52) width 41: "Please "
         LayoutInline {A} at (0,0) size 93x12 [color=#CC0000]
           LayoutText {#text} at (215,52) size 93x12
             text run at (215,52) width 93: "report any errors"
-        LayoutText {#text} at (307,52) size 480x25
-          text run at (307,52) width 173: " you find between the CSS and"
+        LayoutText {#text} at (308,52) size 480x25
+          text run at (308,52) width 172: " you find between the CSS and"
           text run at (0,65) width 135: "the reference rendering."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-04-c-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-04-c-expected.txt
index f3b7e865..3ee4de9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-04-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-04-c-expected.txt
@@ -41,8 +41,8 @@
           LayoutText {#text} at (71,7) size 48x19
             text run at (71,7) width 48: "B 10 \x{21E8}"
         LayoutBlockFlow (floating) {P} at (4,219) size 126x35 [color=#FFFFFF] [bgcolor=#000080] [border: (3px solid #0000FF)]
-          LayoutText {#text} at (7,7) size 49x19
-            text run at (7,7) width 49: "\x{21E6} A 11"
+          LayoutText {#text} at (7,7) size 48x19
+            text run at (7,7) width 48: "\x{21E6} A 11"
         LayoutBlockFlow (floating) {P} at (190,219) size 126x35 [color=#FFFFFF] [bgcolor=#000080] [border: (3px solid #0000FF)]
           LayoutText {#text} at (71,7) size 48x19
             text run at (71,7) width 48: "B 12 \x{21E8}"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-fit-00-d-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-fit-00-d-expected.txt
index 5ae17bc..497d602 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-fit-00-d-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-fit-00-d-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x140
     LayoutBlockFlow {BODY} at (8,16) size 784x114
       LayoutBlockFlow {P} at (0,0) size 784x20 [color=#000080]
-        LayoutText {#text} at (0,0) size 648x19
-          text run at (0,0) width 648: "There should be five numbers, in numerical order, below: on the first line 1, 2 and 3, on the second, 4 and 5."
+        LayoutText {#text} at (0,0) size 647x19
+          text run at (0,0) width 647: "There should be five numbers, in numerical order, below: on the first line 1, 2 and 3, on the second, 4 and 5."
       LayoutBlockFlow {DIV} at (10,36) size 262x78 [color=#000080] [border: (3px solid #0000FF)]
         LayoutBlockFlow (floating) {P} at (19,19) size 80x20
           LayoutText {#text} at (0,0) size 8x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-wrap-00-e-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-wrap-00-e-expected.png
index c86ea7f..1e370867 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-wrap-00-e-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-wrap-00-e-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-wrap-00-e-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-wrap-00-e-expected.txt
index 7efabf74..e3163de9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-wrap-00-e-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c414-flt-wrap-00-e-expected.txt
@@ -7,7 +7,7 @@
         LayoutText {#text} at (0,0) size 246x19
           text run at (0,0) width 246: "The word \"fail\" should not appear below."
       LayoutBlockFlow {DIV} at (16,36) size 240x120.63 [color=#FFFFFF] [bgcolor=#FFFFFF]
-        LayoutBlockFlow (floating) {P} at (0,0) size 38.52x20.31 [color=#000080]
+        LayoutBlockFlow (floating) {P} at (0,0) size 38.31x20.31 [color=#000080]
           LayoutText {#text} at (0,0) size 39x20
             text run at (0,0) width 39: "TEST:"
         LayoutBlockFlow (floating) {P} at (0.02,20.31) size 239.98x20.31 [color=#00FFFF] [bgcolor=#008080]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltblck-01-d-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltblck-01-d-expected.txt
index 2504906..c5f45bc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltblck-01-d-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltblck-01-d-expected.txt
@@ -11,5 +11,5 @@
               text run at (0,20) width 76: "and spill out "
               text run at (76,20) width 164: "onto the blue area below it."
         LayoutBlockFlow {P} at (3,3) size 778x21
-          LayoutText {#text} at (0,0) size 245x19
-            text run at (0,0) width 245: "You should see a teal box to the right. \x{21E8}"
+          LayoutText {#text} at (0,0) size 244x19
+            text run at (0,0) width 244: "You should see a teal box to the right. \x{21E8}"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltcont-00-d-g-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltcont-00-d-g-expected.png
index 945d921..3d64a55 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltcont-00-d-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltcont-00-d-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt
index 977d97d..516a9e8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt
@@ -22,25 +22,25 @@
               text run at (122,20) width 155: "FAIL FAIL FAIL FAIL"
               text run at (0,41) width 277: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
               text run at (0,61) width 40: "FAIL "
-              text run at (39,61) width 238: "FAIL FAIL FAIL FAIL FAIL FAIL"
+              text run at (40,61) width 237: "FAIL FAIL FAIL FAIL FAIL FAIL"
               text run at (0,81) width 222: "FAIL FAIL FAIL FAIL FAIL FAIL "
-              text run at (221,81) width 367: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
+              text run at (222,81) width 366: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
               text run at (0,101) width 74: "FAIL FAIL "
-              text run at (73,101) width 445: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
-              text run at (517,101) width 71: "FAIL FAIL"
-              text run at (0,121) width 371: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
+              text run at (74,101) width 444: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
+              text run at (518,101) width 70: "FAIL FAIL"
+              text run at (0,121) width 370: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
               text run at (370,121) width 218: "FAIL FAIL FAIL FAIL FAIL FAIL"
               text run at (0,141) width 222: "FAIL FAIL FAIL FAIL FAIL FAIL "
-              text run at (221,141) width 367: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
+              text run at (222,141) width 366: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
               text run at (0,161) width 74: "FAIL FAIL "
-              text run at (73,161) width 445: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
-              text run at (517,161) width 71: "FAIL FAIL"
-              text run at (0,181) width 371: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
+              text run at (74,161) width 444: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
+              text run at (518,161) width 70: "FAIL FAIL"
+              text run at (0,181) width 370: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
               text run at (370,181) width 218: "FAIL FAIL FAIL FAIL FAIL FAIL"
               text run at (0,201) width 222: "FAIL FAIL FAIL FAIL FAIL FAIL "
-              text run at (221,201) width 367: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
+              text run at (222,201) width 366: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
               text run at (0,221) width 74: "FAIL FAIL "
-              text run at (73,221) width 445: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
-              text run at (517,221) width 71: "FAIL FAIL"
-              text run at (0,241) width 365: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
+              text run at (74,221) width 444: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL "
+              text run at (518,221) width 70: "FAIL FAIL"
+              text run at (0,241) width 366: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltmult-00-d-g-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltmult-00-d-g-expected.png
index 04b0c99..3423f2e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltmult-00-d-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltmult-00-d-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png
index f40f6526..d6a33bd2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt
index e24f72c..c0b650a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt
@@ -10,43 +10,43 @@
           text run at (80,38) width 551: "of the viewport, on the left of the 50% ruler"
           text run at (0,75) width 72: "mark."
       LayoutBlockFlow (floating) {DIV} at (0,144) size 384.50x420 [color=#FFFFFF] [bgcolor=#0000FF]
-        LayoutText {#text} at (0,0) size 385x419
-          text run at (0,0) width 385: "ignore this float text ignore this float text ignore"
-          text run at (0,20) width 84: "this float "
-          text run at (83,20) width 302: "text ignore this float text ignore this"
+        LayoutText {#text} at (0,0) size 384x419
+          text run at (0,0) width 384: "ignore this float text ignore this float text ignore"
+          text run at (0,20) width 83: "this float "
+          text run at (83,20) width 301: "text ignore this float text ignore this"
           text run at (0,40) width 173: "float text ignore this "
-          text run at (172,40) width 212: "float text ignore this float"
+          text run at (173,40) width 211: "float text ignore this float"
           text run at (0,60) width 271: "text ignore this float text ignore "
-          text run at (270,60) width 115: "this float text"
-          text run at (0,80) width 339: "ignore this float text ignore this float text "
-          text run at (338,80) width 47: "ignore"
-          text run at (0,100) width 385: "this float text ignore this float text ignore this"
-          text run at (0,120) width 46: "float "
+          text run at (271,60) width 113: "this float text"
+          text run at (0,80) width 338: "ignore this float text ignore this float text "
+          text run at (338,80) width 46: "ignore"
+          text run at (0,100) width 384: "this float text ignore this float text ignore this"
+          text run at (0,120) width 45: "float "
           text run at (45,120) width 339: "text ignore this float text ignore this float"
-          text run at (0,140) width 129: "text ignore this "
-          text run at (129,140) width 256: "float text ignore this float text"
+          text run at (0,140) width 130: "text ignore this "
+          text run at (130,140) width 254: "float text ignore this float text"
           text run at (0,160) width 222: "ignore this float text ignore "
-          text run at (221,160) width 164: "this float text ignore"
+          text run at (222,160) width 162: "this float text ignore"
           text run at (0,180) width 302: "this float text ignore this float text "
-          text run at (301,180) width 84: "ignore this"
+          text run at (302,180) width 82: "ignore this"
           text run at (0,200) width 384: "float text ignore this float text ignore this float"
-          text run at (0,220) width 385: "text ignore this float text ignore this float text"
+          text run at (0,220) width 384: "text ignore this float text ignore this float text"
           text run at (0,240) width 86: "ignore this "
-          text run at (86,240) width 299: "float text ignore this float text ignore"
-          text run at (0,260) width 179: "this float text ignore "
-          text run at (178,260) width 207: "this float text ignore this"
-          text run at (0,280) width 258: "float text ignore this float text "
+          text run at (86,240) width 298: "float text ignore this float text ignore"
+          text run at (0,260) width 178: "this float text ignore "
+          text run at (178,260) width 206: "this float text ignore this"
+          text run at (0,280) width 257: "float text ignore this float text "
           text run at (257,280) width 127: "ignore this float"
-          text run at (0,300) width 354: "text ignore this float text ignore this float "
-          text run at (353,300) width 32: "text"
-          text run at (0,320) width 385: "ignore this float text ignore this float text ignore"
+          text run at (0,300) width 353: "text ignore this float text ignore this float "
+          text run at (353,300) width 31: "text"
+          text run at (0,320) width 384: "ignore this float text ignore this float text ignore"
           text run at (0,340) width 36: "this "
-          text run at (36,340) width 349: "float text ignore this float text ignore this"
-          text run at (0,360) width 139: "float text ignore "
+          text run at (36,340) width 348: "float text ignore this float text ignore this"
+          text run at (0,360) width 138: "float text ignore "
           text run at (138,360) width 246: "this float text ignore this float"
-          text run at (0,380) width 217: "text ignore this float text "
-          text run at (216,380) width 169: "ignore this float text"
-          text run at (0,400) width 278: "ignore this float text ignore this float"
+          text run at (0,380) width 216: "text ignore this float text "
+          text run at (216,380) width 168: "ignore this float text"
+          text run at (0,400) width 277: "ignore this float text ignore this float"
       LayoutBlockFlow {DIV} at (0,144) size 769x520 [color=#C0C0C0]
         LayoutText {#text} at (384,0) size 769x519
           text run at (384,0) width 385: "this is some dummy text this is some dummy text this is some"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t090501-c414-flt-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t090501-c414-flt-01-b-expected.txt
index 40b9143..9d471369 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t090501-c414-flt-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t090501-c414-flt-01-b-expected.txt
@@ -19,5 +19,5 @@
           LayoutText {#text} at (184,8) size 360x59
             text run at (184,8) width 360: "Teal rectangle. Teal rectangle. Teal rectangle. Teal rectangle."
             text run at (184,28) width 182: "Teal rectangle. Teal rectangle. "
-            text run at (365,28) width 179: "Teal rectangle. Teal rectangle."
+            text run at (366,28) width 178: "Teal rectangle. Teal rectangle."
             text run at (184,48) width 360: "Teal rectangle. Teal rectangle. Teal rectangle. Teal rectangle."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1002-c5523-width-00-b-g-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1002-c5523-width-00-b-g-expected.txt
index eb0c550..31783b7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1002-c5523-width-00-b-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1002-c5523-width-00-b-g-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x156
     LayoutBlockFlow {BODY} at (8,16) size 784x132
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 383x19
-          text run at (0,0) width 383: "The square below should be exactly 50 pixels wide on the ruler."
+        LayoutText {#text} at (0,0) size 382x19
+          text run at (0,0) width 382: "The square below should be exactly 50 pixels wide on the ruler."
       LayoutBlockFlow {DIV} at (0,36) size 784x96
         LayoutImage {IMG} at (0,0) size 50x50
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt
index bcf1374..c1c932210 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt
@@ -7,6 +7,6 @@
         LayoutText {#text} at (0,0) size 754x19
           text run at (0,0) width 377: "Below this paragraph there should be a big teal square half the "
           text run at (377,0) width 349: "width of the window, aligned flush with the right hand side "
-          text run at (725,0) width 29: "(\x{21E8})."
+          text run at (726,0) width 28: "(\x{21E8})."
       LayoutBlockFlow {P} at (0,37) size 784x392 [color=#000080]
         LayoutImage {IMG} at (392,0) size 392x392
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1005-c5524-width-00-b-g-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1005-c5524-width-00-b-g-expected.txt
index 9f88793..a9a845c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1005-c5524-width-00-b-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1005-c5524-width-00-b-g-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x216
     LayoutBlockFlow {BODY} at (8,16) size 784x192
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 378x19
-          text run at (0,0) width 378: "The square below should be exactly 50 pixels high on the ruler."
+        LayoutText {#text} at (0,0) size 377x19
+          text run at (0,0) width 377: "The square below should be exactly 50 pixels high on the ruler."
       LayoutBlockFlow {DIV} at (0,36) size 784x156
         LayoutImage {IMG} at (45,0) size 50x50
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1005-c5524-width-01-b-g-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1005-c5524-width-01-b-g-expected.txt
index 839d246..c880596 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1005-c5524-width-01-b-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1005-c5524-width-01-b-g-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x266
     LayoutBlockFlow {BODY} at (8,16) size 784x242
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 386x19
-          text run at (0,0) width 386: "The square below should be exactly 100 pixels high on the ruler."
+        LayoutText {#text} at (0,0) size 385x19
+          text run at (0,0) width 385: "The square below should be exactly 100 pixels high on the ruler."
       LayoutBlockFlow {DIV} at (0,36) size 784x206
         LayoutImage {IMG} at (45,0) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-00-b-expected.txt
index a4baa7a..f49067a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-00-b-expected.txt
@@ -67,19 +67,19 @@
               text run at (108,0) width 16: "10"
         LayoutText {#text} at (124,0) size 4x19
           text run at (124,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 15x19
+          LayoutInline {<pseudo:before>} at (0,0) size 15x19
+            LayoutCounter (anonymous) at (128,0) size 15x19
+              text run at (128,0) width 15: "11"
+        LayoutText {#text} at (143,0) size 4x19
+          text run at (143,0) width 4: " "
         LayoutInline {SPAN} at (0,0) size 16x19
           LayoutInline {<pseudo:before>} at (0,0) size 16x19
-            LayoutCounter (anonymous) at (128,0) size 16x19
-              text run at (128,0) width 16: "11"
-        LayoutText {#text} at (143,0) size 5x19
-          text run at (143,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {<pseudo:before>} at (0,0) size 17x19
-            LayoutCounter (anonymous) at (147,0) size 17x19
-              text run at (147,0) width 17: "12"
+            LayoutCounter (anonymous) at (147,0) size 16x19
+              text run at (147,0) width 16: "12"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 164x19
+        LayoutText {#text} at (0,0) size 163x19
           text run at (0,0) width 12: "1 "
           text run at (12,0) width 12: "2 "
           text run at (24,0) width 12: "3 "
@@ -90,5 +90,5 @@
           text run at (84,0) width 12: "8 "
           text run at (96,0) width 12: "9 "
           text run at (108,0) width 20: "10 "
-          text run at (128,0) width 20: "11 "
-          text run at (147,0) width 17: "12"
+          text run at (128,0) width 19: "11 "
+          text run at (147,0) width 16: "12"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-01-b-expected.txt
index 05ff114..1f19283 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-01-b-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 216x19
           text run at (0,0) width 216: "The following two lines should look "
-        LayoutInline {EM} at (0,0) size 93x19
-          LayoutText {#text} at (216,0) size 93x19
-            text run at (216,0) width 93: "approximately"
-        LayoutText {#text} at (308,0) size 61x19
-          text run at (308,0) width 61: " the same:"
+        LayoutInline {EM} at (0,0) size 92x19
+          LayoutText {#text} at (216,0) size 92x19
+            text run at (216,0) width 92: "approximately"
+        LayoutText {#text} at (308,0) size 60x19
+          text run at (308,0) width 60: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 6x19
           LayoutInline {<pseudo:before>} at (0,0) size 6x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-02-b-expected.txt
index 73ffc244..0d0b707 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-02-b-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 216x19
           text run at (0,0) width 216: "The following two lines should look "
-        LayoutInline {EM} at (0,0) size 93x19
-          LayoutText {#text} at (216,0) size 93x19
-            text run at (216,0) width 93: "approximately"
-        LayoutText {#text} at (308,0) size 61x19
-          text run at (308,0) width 61: " the same:"
+        LayoutInline {EM} at (0,0) size 92x19
+          LayoutText {#text} at (216,0) size 92x19
+            text run at (216,0) width 92: "approximately"
+        LayoutText {#text} at (308,0) size 60x19
+          text run at (308,0) width 60: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 6x19
           LayoutInline {<pseudo:before>} at (0,0) size 6x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-03-b-expected.txt
index 14dbe78e..d162375 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-03-b-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 216x19
           text run at (0,0) width 216: "The following two lines should look "
-        LayoutInline {EM} at (0,0) size 93x19
-          LayoutText {#text} at (216,0) size 93x19
-            text run at (216,0) width 93: "approximately"
-        LayoutText {#text} at (308,0) size 61x19
-          text run at (308,0) width 61: " the same:"
+        LayoutInline {EM} at (0,0) size 92x19
+          LayoutText {#text} at (216,0) size 92x19
+            text run at (216,0) width 92: "approximately"
+        LayoutText {#text} at (308,0) size 60x19
+          text run at (308,0) width 60: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 6x19
           LayoutInline {<pseudo:before>} at (0,0) size 6x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-04-b-expected.txt
index 3c1c5ea3..f6cf29ec 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-04-b-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 216x19
           text run at (0,0) width 216: "The following two lines should look "
-        LayoutInline {EM} at (0,0) size 93x19
-          LayoutText {#text} at (216,0) size 93x19
-            text run at (216,0) width 93: "approximately"
-        LayoutText {#text} at (308,0) size 61x19
-          text run at (308,0) width 61: " the same:"
+        LayoutInline {EM} at (0,0) size 92x19
+          LayoutText {#text} at (216,0) size 92x19
+            text run at (216,0) width 92: "approximately"
+        LayoutText {#text} at (308,0) size 60x19
+          text run at (308,0) width 60: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 9x19
           LayoutInline {<pseudo:before>} at (0,0) size 9x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-05-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-05-b-expected.txt
index a4baa7a..f49067a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-05-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-05-b-expected.txt
@@ -67,19 +67,19 @@
               text run at (108,0) width 16: "10"
         LayoutText {#text} at (124,0) size 4x19
           text run at (124,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 15x19
+          LayoutInline {<pseudo:before>} at (0,0) size 15x19
+            LayoutCounter (anonymous) at (128,0) size 15x19
+              text run at (128,0) width 15: "11"
+        LayoutText {#text} at (143,0) size 4x19
+          text run at (143,0) width 4: " "
         LayoutInline {SPAN} at (0,0) size 16x19
           LayoutInline {<pseudo:before>} at (0,0) size 16x19
-            LayoutCounter (anonymous) at (128,0) size 16x19
-              text run at (128,0) width 16: "11"
-        LayoutText {#text} at (143,0) size 5x19
-          text run at (143,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {<pseudo:before>} at (0,0) size 17x19
-            LayoutCounter (anonymous) at (147,0) size 17x19
-              text run at (147,0) width 17: "12"
+            LayoutCounter (anonymous) at (147,0) size 16x19
+              text run at (147,0) width 16: "12"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 164x19
+        LayoutText {#text} at (0,0) size 163x19
           text run at (0,0) width 12: "1 "
           text run at (12,0) width 12: "2 "
           text run at (24,0) width 12: "3 "
@@ -90,5 +90,5 @@
           text run at (84,0) width 12: "8 "
           text run at (96,0) width 12: "9 "
           text run at (108,0) width 20: "10 "
-          text run at (128,0) width 20: "11 "
-          text run at (147,0) width 17: "12"
+          text run at (128,0) width 19: "11 "
+          text run at (147,0) width 16: "12"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-06-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-06-b-expected.txt
index bea77110..1eb3b46 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-06-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-06-b-expected.txt
@@ -67,37 +67,37 @@
               text run at (180,0) width 16: "10"
         LayoutText {#text} at (196,0) size 4x19
           text run at (196,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 15x19
+          LayoutInline {<pseudo:before>} at (0,0) size 15x19
+            LayoutCounter (anonymous) at (200,0) size 15x19
+              text run at (200,0) width 15: "11"
+        LayoutText {#text} at (215,0) size 4x19
+          text run at (215,0) width 4: " "
         LayoutInline {SPAN} at (0,0) size 16x19
           LayoutInline {<pseudo:before>} at (0,0) size 16x19
-            LayoutCounter (anonymous) at (200,0) size 16x19
-              text run at (200,0) width 16: "11"
-        LayoutText {#text} at (215,0) size 5x19
-          text run at (215,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {<pseudo:before>} at (0,0) size 17x19
-            LayoutCounter (anonymous) at (219,0) size 17x19
-              text run at (219,0) width 17: "12"
-        LayoutText {#text} at (235,0) size 5x19
-          text run at (235,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {<pseudo:before>} at (0,0) size 17x19
-            LayoutCounter (anonymous) at (239,0) size 17x19
-              text run at (239,0) width 17: "99"
-        LayoutText {#text} at (255,0) size 5x19
-          text run at (255,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 25x19
-          LayoutInline {<pseudo:before>} at (0,0) size 25x19
-            LayoutCounter (anonymous) at (259,0) size 25x19
-              text run at (259,0) width 25: "100"
-        LayoutText {#text} at (283,0) size 5x19
-          text run at (283,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 25x19
-          LayoutInline {<pseudo:before>} at (0,0) size 25x19
-            LayoutCounter (anonymous) at (287,0) size 25x19
-              text run at (287,0) width 25: "101"
+            LayoutCounter (anonymous) at (219,0) size 16x19
+              text run at (219,0) width 16: "12"
+        LayoutText {#text} at (235,0) size 4x19
+          text run at (235,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 16x19
+          LayoutInline {<pseudo:before>} at (0,0) size 16x19
+            LayoutCounter (anonymous) at (239,0) size 16x19
+              text run at (239,0) width 16: "99"
+        LayoutText {#text} at (255,0) size 4x19
+          text run at (255,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 24x19
+          LayoutInline {<pseudo:before>} at (0,0) size 24x19
+            LayoutCounter (anonymous) at (259,0) size 24x19
+              text run at (259,0) width 24: "100"
+        LayoutText {#text} at (283,0) size 4x19
+          text run at (283,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 24x19
+          LayoutInline {<pseudo:before>} at (0,0) size 24x19
+            LayoutCounter (anonymous) at (287,0) size 24x19
+              text run at (287,0) width 24: "101"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 312x19
+        LayoutText {#text} at (0,0) size 311x19
           text run at (0,0) width 20: "01 "
           text run at (20,0) width 20: "02 "
           text run at (40,0) width 20: "03 "
@@ -108,8 +108,8 @@
           text run at (140,0) width 20: "08 "
           text run at (160,0) width 20: "09 "
           text run at (180,0) width 20: "10 "
-          text run at (200,0) width 20: "11 "
-          text run at (219,0) width 21: "12 "
-          text run at (239,0) width 21: "99 "
-          text run at (259,0) width 29: "100 "
-          text run at (287,0) width 25: "101"
+          text run at (200,0) width 19: "11 "
+          text run at (219,0) width 20: "12 "
+          text run at (239,0) width 20: "99 "
+          text run at (259,0) width 28: "100 "
+          text run at (287,0) width 24: "101"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-16-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-16-f-expected.txt
index a4baa7a..f49067a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-16-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counter-16-f-expected.txt
@@ -67,19 +67,19 @@
               text run at (108,0) width 16: "10"
         LayoutText {#text} at (124,0) size 4x19
           text run at (124,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 15x19
+          LayoutInline {<pseudo:before>} at (0,0) size 15x19
+            LayoutCounter (anonymous) at (128,0) size 15x19
+              text run at (128,0) width 15: "11"
+        LayoutText {#text} at (143,0) size 4x19
+          text run at (143,0) width 4: " "
         LayoutInline {SPAN} at (0,0) size 16x19
           LayoutInline {<pseudo:before>} at (0,0) size 16x19
-            LayoutCounter (anonymous) at (128,0) size 16x19
-              text run at (128,0) width 16: "11"
-        LayoutText {#text} at (143,0) size 5x19
-          text run at (143,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {<pseudo:before>} at (0,0) size 17x19
-            LayoutCounter (anonymous) at (147,0) size 17x19
-              text run at (147,0) width 17: "12"
+            LayoutCounter (anonymous) at (147,0) size 16x19
+              text run at (147,0) width 16: "12"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 164x19
+        LayoutText {#text} at (0,0) size 163x19
           text run at (0,0) width 12: "1 "
           text run at (12,0) width 12: "2 "
           text run at (24,0) width 12: "3 "
@@ -90,5 +90,5 @@
           text run at (84,0) width 12: "8 "
           text run at (96,0) width 12: "9 "
           text run at (108,0) width 20: "10 "
-          text run at (128,0) width 20: "11 "
-          text run at (147,0) width 17: "12"
+          text run at (128,0) width 19: "11 "
+          text run at (147,0) width 16: "12"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-00-b-expected.txt
index 4851202..167ed89 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-00-b-expected.txt
@@ -67,19 +67,19 @@
               text run at (216,0) width 28: "1.10"
         LayoutText {#text} at (244,0) size 4x19
           text run at (244,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 27x19
+          LayoutInline {<pseudo:before>} at (0,0) size 27x19
+            LayoutCounter (anonymous) at (248,0) size 27x19
+              text run at (248,0) width 27: "1.11"
+        LayoutText {#text} at (275,0) size 4x19
+          text run at (275,0) width 4: " "
         LayoutInline {SPAN} at (0,0) size 28x19
           LayoutInline {<pseudo:before>} at (0,0) size 28x19
-            LayoutCounter (anonymous) at (248,0) size 28x19
-              text run at (248,0) width 28: "1.11"
-        LayoutText {#text} at (275,0) size 5x19
-          text run at (275,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 29x19
-          LayoutInline {<pseudo:before>} at (0,0) size 29x19
-            LayoutCounter (anonymous) at (279,0) size 29x19
-              text run at (279,0) width 29: "1.12"
+            LayoutCounter (anonymous) at (279,0) size 28x19
+              text run at (279,0) width 28: "1.12"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 308x19
+        LayoutText {#text} at (0,0) size 307x19
           text run at (0,0) width 24: "1.1 "
           text run at (24,0) width 24: "1.2 "
           text run at (48,0) width 24: "1.3 "
@@ -90,5 +90,5 @@
           text run at (168,0) width 24: "1.8 "
           text run at (192,0) width 24: "1.9 "
           text run at (216,0) width 32: "1.10 "
-          text run at (248,0) width 32: "1.11 "
-          text run at (279,0) width 29: "1.12"
+          text run at (248,0) width 31: "1.11 "
+          text run at (279,0) width 28: "1.12"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-01-b-expected.txt
index c6bb684..a0fa651 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-01-b-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 216x19
           text run at (0,0) width 216: "The following two lines should look "
-        LayoutInline {EM} at (0,0) size 93x19
-          LayoutText {#text} at (216,0) size 93x19
-            text run at (216,0) width 93: "approximately"
-        LayoutText {#text} at (308,0) size 61x19
-          text run at (308,0) width 61: " the same:"
+        LayoutInline {EM} at (0,0) size 92x19
+          LayoutText {#text} at (216,0) size 92x19
+            text run at (216,0) width 92: "approximately"
+        LayoutText {#text} at (308,0) size 60x19
+          text run at (308,0) width 60: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 10x19
           LayoutInline {<pseudo:before>} at (0,0) size 10x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-02-b-expected.txt
index 0db5972a..ce66e89e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-02-b-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 216x19
           text run at (0,0) width 216: "The following two lines should look "
-        LayoutInline {EM} at (0,0) size 93x19
-          LayoutText {#text} at (216,0) size 93x19
-            text run at (216,0) width 93: "approximately"
-        LayoutText {#text} at (308,0) size 61x19
-          text run at (308,0) width 61: " the same:"
+        LayoutInline {EM} at (0,0) size 92x19
+          LayoutText {#text} at (216,0) size 92x19
+            text run at (216,0) width 92: "approximately"
+        LayoutText {#text} at (308,0) size 60x19
+          text run at (308,0) width 60: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 16x19
           LayoutInline {<pseudo:before>} at (0,0) size 16x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-03-b-expected.txt
index 79f4b91e..33bf893 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-03-b-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 216x19
           text run at (0,0) width 216: "The following two lines should look "
-        LayoutInline {EM} at (0,0) size 93x19
-          LayoutText {#text} at (216,0) size 93x19
-            text run at (216,0) width 93: "approximately"
-        LayoutText {#text} at (308,0) size 61x19
-          text run at (308,0) width 61: " the same:"
+        LayoutInline {EM} at (0,0) size 92x19
+          LayoutText {#text} at (216,0) size 92x19
+            text run at (216,0) width 92: "approximately"
+        LayoutText {#text} at (308,0) size 60x19
+          text run at (308,0) width 60: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 16x19
           LayoutInline {<pseudo:before>} at (0,0) size 16x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-04-b-expected.txt
index 8883974..d84f198 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-04-b-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 216x19
           text run at (0,0) width 216: "The following two lines should look "
-        LayoutInline {EM} at (0,0) size 93x19
-          LayoutText {#text} at (216,0) size 93x19
-            text run at (216,0) width 93: "approximately"
-        LayoutText {#text} at (308,0) size 61x19
-          text run at (308,0) width 61: " the same:"
+        LayoutInline {EM} at (0,0) size 92x19
+          LayoutText {#text} at (216,0) size 92x19
+            text run at (216,0) width 92: "approximately"
+        LayoutText {#text} at (308,0) size 60x19
+          text run at (308,0) width 60: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 22x19
           LayoutInline {<pseudo:before>} at (0,0) size 22x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-05-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-05-b-expected.txt
index 4851202..167ed89 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-05-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-05-b-expected.txt
@@ -67,19 +67,19 @@
               text run at (216,0) width 28: "1.10"
         LayoutText {#text} at (244,0) size 4x19
           text run at (244,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 27x19
+          LayoutInline {<pseudo:before>} at (0,0) size 27x19
+            LayoutCounter (anonymous) at (248,0) size 27x19
+              text run at (248,0) width 27: "1.11"
+        LayoutText {#text} at (275,0) size 4x19
+          text run at (275,0) width 4: " "
         LayoutInline {SPAN} at (0,0) size 28x19
           LayoutInline {<pseudo:before>} at (0,0) size 28x19
-            LayoutCounter (anonymous) at (248,0) size 28x19
-              text run at (248,0) width 28: "1.11"
-        LayoutText {#text} at (275,0) size 5x19
-          text run at (275,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 29x19
-          LayoutInline {<pseudo:before>} at (0,0) size 29x19
-            LayoutCounter (anonymous) at (279,0) size 29x19
-              text run at (279,0) width 29: "1.12"
+            LayoutCounter (anonymous) at (279,0) size 28x19
+              text run at (279,0) width 28: "1.12"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 308x19
+        LayoutText {#text} at (0,0) size 307x19
           text run at (0,0) width 24: "1.1 "
           text run at (24,0) width 24: "1.2 "
           text run at (48,0) width 24: "1.3 "
@@ -90,5 +90,5 @@
           text run at (168,0) width 24: "1.8 "
           text run at (192,0) width 24: "1.9 "
           text run at (216,0) width 32: "1.10 "
-          text run at (248,0) width 32: "1.11 "
-          text run at (279,0) width 29: "1.12"
+          text run at (248,0) width 31: "1.11 "
+          text run at (279,0) width 28: "1.12"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-06-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-06-b-expected.txt
index 5e44d5e..b5fdd48 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-06-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-06-b-expected.txt
@@ -67,37 +67,37 @@
               text run at (360,0) width 36: "01.10"
         LayoutText {#text} at (396,0) size 4x19
           text run at (396,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 35x19
+          LayoutInline {<pseudo:before>} at (0,0) size 35x19
+            LayoutCounter (anonymous) at (400,0) size 35x19
+              text run at (400,0) width 35: "01.11"
+        LayoutText {#text} at (435,0) size 4x19
+          text run at (435,0) width 4: " "
         LayoutInline {SPAN} at (0,0) size 36x19
           LayoutInline {<pseudo:before>} at (0,0) size 36x19
-            LayoutCounter (anonymous) at (400,0) size 36x19
-              text run at (400,0) width 36: "01.11"
-        LayoutText {#text} at (435,0) size 5x19
-          text run at (435,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 37x19
-          LayoutInline {<pseudo:before>} at (0,0) size 37x19
-            LayoutCounter (anonymous) at (439,0) size 37x19
-              text run at (439,0) width 37: "01.12"
-        LayoutText {#text} at (475,0) size 5x19
-          text run at (475,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 37x19
-          LayoutInline {<pseudo:before>} at (0,0) size 37x19
-            LayoutCounter (anonymous) at (479,0) size 37x19
-              text run at (479,0) width 37: "01.99"
-        LayoutText {#text} at (515,0) size 5x19
-          text run at (515,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 45x19
-          LayoutInline {<pseudo:before>} at (0,0) size 45x19
-            LayoutCounter (anonymous) at (519,0) size 45x19
-              text run at (519,0) width 45: "01.100"
-        LayoutText {#text} at (563,0) size 5x19
-          text run at (563,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 45x19
-          LayoutInline {<pseudo:before>} at (0,0) size 45x19
-            LayoutCounter (anonymous) at (567,0) size 45x19
-              text run at (567,0) width 45: "01.101"
+            LayoutCounter (anonymous) at (439,0) size 36x19
+              text run at (439,0) width 36: "01.12"
+        LayoutText {#text} at (475,0) size 4x19
+          text run at (475,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 36x19
+          LayoutInline {<pseudo:before>} at (0,0) size 36x19
+            LayoutCounter (anonymous) at (479,0) size 36x19
+              text run at (479,0) width 36: "01.99"
+        LayoutText {#text} at (515,0) size 4x19
+          text run at (515,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 44x19
+          LayoutInline {<pseudo:before>} at (0,0) size 44x19
+            LayoutCounter (anonymous) at (519,0) size 44x19
+              text run at (519,0) width 44: "01.100"
+        LayoutText {#text} at (563,0) size 4x19
+          text run at (563,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 44x19
+          LayoutInline {<pseudo:before>} at (0,0) size 44x19
+            LayoutCounter (anonymous) at (567,0) size 44x19
+              text run at (567,0) width 44: "01.101"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 612x19
+        LayoutText {#text} at (0,0) size 611x19
           text run at (0,0) width 40: "01.01 "
           text run at (40,0) width 40: "01.02 "
           text run at (80,0) width 40: "01.03 "
@@ -108,8 +108,8 @@
           text run at (280,0) width 40: "01.08 "
           text run at (320,0) width 40: "01.09 "
           text run at (360,0) width 40: "01.10 "
-          text run at (400,0) width 40: "01.11 "
-          text run at (439,0) width 41: "01.12 "
-          text run at (479,0) width 41: "01.99 "
-          text run at (519,0) width 49: "01.100 "
-          text run at (567,0) width 45: "01.101"
+          text run at (400,0) width 39: "01.11 "
+          text run at (439,0) width 40: "01.12 "
+          text run at (479,0) width 40: "01.99 "
+          text run at (519,0) width 48: "01.100 "
+          text run at (567,0) width 44: "01.101"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-18-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-18-f-expected.txt
index 4851202..167ed89 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-18-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1202-counters-18-f-expected.txt
@@ -67,19 +67,19 @@
               text run at (216,0) width 28: "1.10"
         LayoutText {#text} at (244,0) size 4x19
           text run at (244,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 27x19
+          LayoutInline {<pseudo:before>} at (0,0) size 27x19
+            LayoutCounter (anonymous) at (248,0) size 27x19
+              text run at (248,0) width 27: "1.11"
+        LayoutText {#text} at (275,0) size 4x19
+          text run at (275,0) width 4: " "
         LayoutInline {SPAN} at (0,0) size 28x19
           LayoutInline {<pseudo:before>} at (0,0) size 28x19
-            LayoutCounter (anonymous) at (248,0) size 28x19
-              text run at (248,0) width 28: "1.11"
-        LayoutText {#text} at (275,0) size 5x19
-          text run at (275,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 29x19
-          LayoutInline {<pseudo:before>} at (0,0) size 29x19
-            LayoutCounter (anonymous) at (279,0) size 29x19
-              text run at (279,0) width 29: "1.12"
+            LayoutCounter (anonymous) at (279,0) size 28x19
+              text run at (279,0) width 28: "1.12"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 308x19
+        LayoutText {#text} at (0,0) size 307x19
           text run at (0,0) width 24: "1.1 "
           text run at (24,0) width 24: "1.2 "
           text run at (48,0) width 24: "1.3 "
@@ -90,5 +90,5 @@
           text run at (168,0) width 24: "1.8 "
           text run at (192,0) width 24: "1.9 "
           text run at (216,0) width 32: "1.10 "
-          text run at (248,0) width 32: "1.11 "
-          text run at (279,0) width 29: "1.12"
+          text run at (248,0) width 31: "1.11 "
+          text run at (279,0) width 28: "1.12"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1204-order-00-c-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1204-order-00-c-expected.txt
index 59eabf6..711abf5c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1204-order-00-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1204-order-00-c-expected.txt
@@ -84,42 +84,42 @@
                 text run at (120,0) width 16: "10"
         LayoutText {#text} at (136,0) size 4x19
           text run at (136,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 15x19
+          LayoutInline {SPAN} at (0,0) size 15x19
+            LayoutInline {<pseudo:before>} at (0,0) size 15x19
+              LayoutCounter (anonymous) at (140,0) size 15x19
+                text run at (140,0) width 15: "11"
+        LayoutText {#text} at (155,0) size 4x19
+          text run at (155,0) width 4: " "
         LayoutInline {SPAN} at (0,0) size 16x19
           LayoutInline {SPAN} at (0,0) size 16x19
             LayoutInline {<pseudo:before>} at (0,0) size 16x19
-              LayoutCounter (anonymous) at (140,0) size 16x19
-                text run at (140,0) width 16: "11"
-        LayoutText {#text} at (155,0) size 5x19
-          text run at (155,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {SPAN} at (0,0) size 17x19
-            LayoutInline {<pseudo:before>} at (0,0) size 17x19
-              LayoutCounter (anonymous) at (159,0) size 17x19
-                text run at (159,0) width 17: "12"
-        LayoutText {#text} at (175,0) size 5x19
-          text run at (175,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {SPAN} at (0,0) size 17x19
-            LayoutInline {<pseudo:before>} at (0,0) size 17x19
-              LayoutCounter (anonymous) at (179,0) size 17x19
-                text run at (179,0) width 17: "12"
-        LayoutText {#text} at (195,0) size 5x19
-          text run at (195,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {SPAN} at (0,0) size 17x19
-            LayoutInline {<pseudo:before>} at (0,0) size 17x19
-              LayoutCounter (anonymous) at (199,0) size 17x19
-                text run at (199,0) width 17: "12"
-        LayoutText {#text} at (215,0) size 5x19
-          text run at (215,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 17x19
-          LayoutInline {SPAN} at (0,0) size 17x19
-            LayoutInline {<pseudo:before>} at (0,0) size 17x19
-              LayoutCounter (anonymous) at (219,0) size 17x19
-                text run at (219,0) width 17: "12"
+              LayoutCounter (anonymous) at (159,0) size 16x19
+                text run at (159,0) width 16: "12"
+        LayoutText {#text} at (175,0) size 4x19
+          text run at (175,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 16x19
+          LayoutInline {SPAN} at (0,0) size 16x19
+            LayoutInline {<pseudo:before>} at (0,0) size 16x19
+              LayoutCounter (anonymous) at (179,0) size 16x19
+                text run at (179,0) width 16: "12"
+        LayoutText {#text} at (195,0) size 4x19
+          text run at (195,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 16x19
+          LayoutInline {SPAN} at (0,0) size 16x19
+            LayoutInline {<pseudo:before>} at (0,0) size 16x19
+              LayoutCounter (anonymous) at (199,0) size 16x19
+                text run at (199,0) width 16: "12"
+        LayoutText {#text} at (215,0) size 4x19
+          text run at (215,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 16x19
+          LayoutInline {SPAN} at (0,0) size 16x19
+            LayoutInline {<pseudo:before>} at (0,0) size 16x19
+              LayoutCounter (anonymous) at (219,0) size 16x19
+                text run at (219,0) width 16: "12"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 236x19
+        LayoutText {#text} at (0,0) size 235x19
           text run at (0,0) width 12: "0 "
           text run at (12,0) width 12: "1 "
           text run at (24,0) width 12: "2 "
@@ -131,8 +131,8 @@
           text run at (96,0) width 12: "8 "
           text run at (108,0) width 12: "9 "
           text run at (120,0) width 20: "10 "
-          text run at (140,0) width 20: "11 "
-          text run at (159,0) width 21: "12 "
-          text run at (179,0) width 21: "12 "
-          text run at (199,0) width 21: "12 "
-          text run at (219,0) width 17: "12"
+          text run at (140,0) width 19: "11 "
+          text run at (159,0) width 20: "12 "
+          text run at (179,0) width 20: "12 "
+          text run at (199,0) width 20: "12 "
+          text run at (219,0) width 16: "12"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1204-order-01-d-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1204-order-01-d-expected.png
index 94794e2..2a1c3d4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1204-order-01-d-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1204-order-01-d-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1204-order-01-d-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1204-order-01-d-expected.txt
index 6afd253..e3ce22de 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1204-order-01-d-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1204-order-01-d-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x191
     LayoutBlockFlow {BODY} at (8,16) size 784x167
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 686x19
-          text run at (0,0) width 383: "You should see nine boxes below, each just containing a unique "
-          text run at (382,0) width 304: "multiple of eleven, from 11 to 99, and nothing else."
+        LayoutText {#text} at (0,0) size 685x19
+          text run at (0,0) width 382: "You should see nine boxes below, each just containing a unique "
+          text run at (382,0) width 303: "multiple of eleven, from 11 to 99, and nothing else."
       LayoutBlockFlow {UL} at (0,36) size 784x131
         LayoutBlockFlow {LI} at (0,0) size 50x22 [border: (1px solid #000000)]
           LayoutInline {<pseudo:before>} at (0,0) size 8x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t120401-scope-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/t120401-scope-00-b-expected.png
index 6b27747e..07732e5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t120401-scope-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t120401-scope-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t120401-scope-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t120401-scope-00-b-expected.txt
index f87b796..434145d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t120401-scope-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t120401-scope-00-b-expected.txt
@@ -57,6 +57,6 @@
               text run at (92,0) width 8: "1"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 99x19
-          text run at (0,0) width 51: "122111 "
-          text run at (50,0) width 49: "133331"
+        LayoutText {#text} at (0,0) size 98x19
+          text run at (0,0) width 50: "122111 "
+          text run at (50,0) width 48: "133331"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t120401-scope-01-c-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t120401-scope-01-c-expected.txt
index 23e29fd..50ebbba1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t120401-scope-01-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t120401-scope-01-c-expected.txt
@@ -7,7 +7,7 @@
         LayoutText {#text} at (0,0) size 260x19
           text run at (0,0) width 260: "The following two lines should be the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
-        LayoutInline {SPAN} at (0,0) size 491x19
+        LayoutInline {SPAN} at (0,0) size 490x19
           LayoutInline {<pseudo:before>} at (0,0) size 24x19
             LayoutTextFragment (anonymous) at (0,0) size 10x19
               text run at (0,0) width 10: "B"
@@ -15,7 +15,7 @@
               text run at (10,0) width 8: "1"
             LayoutTextFragment (anonymous) at (18,0) size 6x19
               text run at (18,0) width 6: "-"
-          LayoutInline {SPAN} at (0,0) size 442x19
+          LayoutInline {SPAN} at (0,0) size 441x19
             LayoutInline {<pseudo:before>} at (0,0) size 24x19
               LayoutTextFragment (anonymous) at (24,0) size 10x19
                 text run at (24,0) width 10: "B"
@@ -98,20 +98,20 @@
                   text run at (387,0) width 28: "2.10"
                 LayoutTextFragment (anonymous) at (415,0) size 6x19
                   text run at (415,0) width 6: "-"
-            LayoutInline {<pseudo:after>} at (0,0) size 45x19
+            LayoutInline {<pseudo:after>} at (0,0) size 44x19
               LayoutTextFragment (anonymous) at (421,0) size 11x19
                 text run at (421,0) width 11: "A"
-              LayoutCounter (anonymous) at (432,0) size 28x19
-                text run at (432,0) width 28: "2.11"
-              LayoutTextFragment (anonymous) at (459,0) size 7x19
-                text run at (459,0) width 7: "-"
-          LayoutInline {<pseudo:after>} at (0,0) size 26x19
-            LayoutTextFragment (anonymous) at (465,0) size 12x19
-              text run at (465,0) width 12: "A"
-            LayoutCounter (anonymous) at (476,0) size 9x19
-              text run at (476,0) width 9: "3"
-            LayoutTextFragment (anonymous) at (484,0) size 7x19
-              text run at (484,0) width 7: "-"
+              LayoutCounter (anonymous) at (432,0) size 27x19
+                text run at (432,0) width 27: "2.11"
+              LayoutTextFragment (anonymous) at (459,0) size 6x19
+                text run at (459,0) width 6: "-"
+          LayoutInline {<pseudo:after>} at (0,0) size 25x19
+            LayoutTextFragment (anonymous) at (465,0) size 11x19
+              text run at (465,0) width 11: "A"
+            LayoutCounter (anonymous) at (476,0) size 8x19
+              text run at (476,0) width 8: "3"
+            LayoutTextFragment (anonymous) at (484,0) size 6x19
+              text run at (484,0) width 6: "-"
       LayoutBlockFlow {DIV} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 491x19
-          text run at (0,0) width 491: "B1-B2-B2.1-B2.2-A2.3-B2.4-A2.5-A2.6-B2.7-B2.8-A2.9-A2.10-A2.11-A3-"
+        LayoutText {#text} at (0,0) size 490x19
+          text run at (0,0) width 490: "B1-B2-B2.1-B2.2-A2.3-B2.4-A2.5-A2.6-B2.7-B2.8-A2.9-A2.10-A2.11-A3-"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1205-c561-list-displ-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1205-c561-list-displ-00-b-expected.txt
index 0f34c47..3fdf435 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1205-c561-list-displ-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1205-c561-list-displ-00-b-expected.txt
@@ -23,8 +23,8 @@
             text run at (88,0) width 77: "be line three."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {DIV} at (0,96) size 784x20 [color=#000080]
-        LayoutText {#text} at (0,0) size 159x19
-          text run at (0,0) width 159: "4. This should be line four."
+        LayoutText {#text} at (0,0) size 158x19
+          text run at (0,0) width 158: "4. This should be line four."
       LayoutBlockFlow {DIV} at (0,116) size 784x20 [color=#000080]
         LayoutText {#text} at (0,0) size 156x19
           text run at (0,0) width 156: "5. This should be line five."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1503-c522-font-family-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1503-c522-font-family-00-b-expected.txt
index 61b6074..18f52e3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1503-c522-font-family-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1503-c522-font-family-00-b-expected.txt
@@ -17,8 +17,8 @@
           LayoutText {#text} at (0,0) size 299x23
             text run at (0,0) width 299: "This sentence should be in a cursive font."
         LayoutBlockFlow {P} at (0,82) size 784x20 [color=#000080]
-          LayoutText {#text} at (0,0) size 268x20
-            text run at (0,0) width 268: "This sentence should be in a fantasy font."
+          LayoutText {#text} at (0,0) size 267x20
+            text run at (0,0) width 267: "This sentence should be in a fantasy font."
         LayoutBlockFlow {P} at (0,102) size 784x16 [color=#000080]
           LayoutText {#text} at (0,0) size 352x16
             text run at (0,0) width 352: "This sentence should be in a monospace font."
@@ -42,8 +42,8 @@
           LayoutText {#text} at (0,0) size 299x23
             text run at (0,0) width 299: "This sentence should be in a cursive font."
         LayoutBlockFlow {P} at (0,78) size 784x20 [color=#000080]
-          LayoutText {#text} at (0,0) size 268x20
-            text run at (0,0) width 268: "This sentence should be in a fantasy font."
+          LayoutText {#text} at (0,0) size 267x20
+            text run at (0,0) width 267: "This sentence should be in a fantasy font."
         LayoutBlockFlow {P} at (0,98) size 784x16 [color=#000080]
           LayoutText {#text} at (0,0) size 352x16
             text run at (0,0) width 352: "This sentence should be in a monospace font."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1507-c526-font-sz-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1507-c526-font-sz-00-b-expected.txt
index 1a3c141..176f114 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1507-c526-font-sz-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1507-c526-font-sz-00-b-expected.txt
@@ -39,21 +39,21 @@
       LayoutBlockFlow {P} at (10,208) size 764x21 [color=#000080]
         LayoutText {#text} at (0,0) size 222x20
           text run at (0,0) width 222: "This sentence should be large. "
-        LayoutInline {SPAN} at (0,0) size 243x19
-          LayoutText {#text} at (221,1) size 243x19
-            text run at (221,1) width 243: "This sentence should be back to normal."
+        LayoutInline {SPAN} at (0,0) size 242x19
+          LayoutText {#text} at (222,1) size 242x19
+            text run at (222,1) width 242: "This sentence should be back to normal."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (10,239) size 764x28 [color=#000080]
         LayoutText {#text} at (0,0) size 357x27
           text run at (0,0) width 357: "This sentence should be rather large. "
-        LayoutInline {SPAN} at (0,0) size 243x19
-          LayoutText {#text} at (356,6) size 243x19
-            text run at (356,6) width 243: "This sentence should be back to normal."
+        LayoutInline {SPAN} at (0,0) size 242x19
+          LayoutText {#text} at (357,6) size 242x19
+            text run at (357,6) width 242: "This sentence should be back to normal."
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (10,277) size 764x37 [color=#000080]
-        LayoutText {#text} at (0,0) size 446x36
-          text run at (0,0) width 446: "This sentence should be very large. "
-        LayoutInline {SPAN} at (0,0) size 243x19
-          LayoutText {#text} at (445,13) size 243x19
-            text run at (445,13) width 243: "This sentence should be back to normal."
+        LayoutText {#text} at (0,0) size 445x36
+          text run at (0,0) width 445: "This sentence should be very large. "
+        LayoutInline {SPAN} at (0,0) size 242x19
+          LayoutText {#text} at (445,13) size 242x19
+            text run at (445,13) width 242: "This sentence should be back to normal."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-00-b-expected.txt
index e4d4d3a2..a4274a0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-00-b-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x122
     LayoutBlockFlow {BODY} at (8,13) size 784x96 [color=#000080]
       LayoutBlockFlow {P} at (0,0) size 784x96
-        LayoutText {#text} at (0,0) size 714x16
-          text run at (0,0) width 714: "This text should be 13px Helvetica in small-caps and italicized. There should be a small gap between each line. "
+        LayoutText {#text} at (0,0) size 713x16
+          text run at (0,0) width 713: "This text should be 13px Helvetica in small-caps and italicized. There should be a small gap between each line. "
         LayoutInline {SPAN} at (0,0) size 766x96 [color=#C0C0C0]
           LayoutText {#text} at (713,0) size 766x96
-            text run at (713,0) width 42: "dummy"
+            text run at (713,0) width 41: "dummy"
             text run at (0,16) width 385: "text dummy text dummy text dummy text dummy text dummy "
             text run at (385,16) width 381: "text dummy text dummy text dummy text dummy text dummy"
             text run at (0,32) width 77: "text dummy "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-04-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-04-b-expected.png
index 755c5849..7d98d09 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-04-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-04-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-04-b-expected.txt
index 03a6a49a..7e2334a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-04-b-expected.txt
@@ -8,8 +8,8 @@
           text run at (0,0) width 782: "This text should be 18px sans-serif, in small-caps, italicized, and very bold."
           text run at (0,27) width 472: "There should be a 9px gap between each line. "
         LayoutInline {SPAN} at (0,0) size 738x242 [color=#C0C0C0]
-          LayoutText {#text} at (471,27) size 738x242
-            text run at (471,27) width 243: "dummy text dummy text"
+          LayoutText {#text} at (472,27) size 738x242
+            text run at (472,27) width 242: "dummy text dummy text"
             text run at (0,54) width 445: "dummy text dummy text dummy text dummy "
             text run at (445,54) width 293: "text dummy text dummy text"
             text run at (0,81) width 445: "dummy text dummy text dummy text dummy "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-05-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-05-b-expected.png
index 9093685..9be4b127 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-05-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-05-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-05-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-05-b-expected.txt
index 3b81417..a960373 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-05-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-05-b-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x522
     LayoutBlockFlow {BODY} at (8,18) size 784x486 [color=#000080]
       LayoutBlockFlow {P} at (0,0) size 784x486
-        LayoutText {#text} at (0,16) size 724x76
-          text run at (0,16) width 724: "This text should be 18px sans-serif, in small-caps, italicized, and very light. There"
+        LayoutText {#text} at (0,16) size 723x76
+          text run at (0,16) width 723: "This text should be 18px sans-serif, in small-caps, italicized, and very light. There"
           text run at (0,70) width 359: "should be a 36px gap between each line. "
         LayoutInline {SPAN} at (0,0) size 778x400 [color=#C0C0C0]
           LayoutText {#text} at (359,70) size 778x400
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-07-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-07-b-expected.png
index c6b3982..2d220ee 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-07-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-07-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-07-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-07-b-expected.txt
index 756e40f..6834fa3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-07-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-07-b-expected.txt
@@ -8,9 +8,9 @@
           text run at (0,37) width 779: "This text should be 18px sans-serif, in small-caps and italicized. The lines should be one"
           text run at (0,133) width 99: "inch apart. "
         LayoutInline {SPAN} at (0,0) size 737x598 [color=#C0C0C0]
-          LayoutText {#text} at (98,133) size 737x598
-            text run at (98,133) width 594: "dummy text dummy text dummy text dummy text dummy text dummy "
-            text run at (691,133) width 39: "text"
+          LayoutText {#text} at (99,133) size 737x598
+            text run at (99,133) width 593: "dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (692,133) width 38: "text"
             text run at (0,229) width 593: "dummy text dummy text dummy text dummy text dummy text dummy "
             text run at (593,229) width 144: "text dummy text"
             text run at (0,325) width 487: "dummy text dummy text dummy text dummy text dummy "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-10-c-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-10-c-expected.png
index 0d9ee345..138f2b9f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-10-c-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-10-c-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-10-c-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-10-c-expected.txt
index 807cae3..6c985b8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-10-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1508-c527-font-10-c-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x522
     LayoutBlockFlow {BODY} at (8,18) size 784x486
       LayoutBlockFlow {P} at (0,0) size 784x486
-        LayoutInline {SPAN} at (0,0) size 777x454 [color=#FFFFFF] [bgcolor=#000080]
+        LayoutInline {SPAN} at (0,0) size 776x454 [color=#FFFFFF] [bgcolor=#000080]
           LayoutText {#text} at (0,16) size 750x130
             text run at (0,16) width 536: "This text should be 18px sans-serif, in small-caps, italicized, "
-            text run at (535,16) width 189: "and very light. There"
+            text run at (536,16) width 187: "and very light. There"
             text run at (0,70) width 386: "should be a 36px gap betwen each line. The "
             text run at (386,70) width 364: "text should have a blue background, the"
-            text run at (0,124) width 146: "gap should not. "
-          LayoutInline {SPAN} at (0,0) size 777x346 [color=#0000FF]
-            LayoutText {#text} at (145,124) size 777x346
-              text run at (145,124) width 594: "dummy text dummy text dummy text dummy text dummy text dummy "
-              text run at (738,124) width 39: "text"
+            text run at (0,124) width 145: "gap should not. "
+          LayoutInline {SPAN} at (0,0) size 776x346 [color=#0000FF]
+            LayoutText {#text} at (145,124) size 776x346
+              text run at (145,124) width 593: "dummy text dummy text dummy text dummy text dummy text dummy "
+              text run at (738,124) width 38: "text"
               text run at (0,178) width 593: "dummy text dummy text dummy text dummy text dummy text dummy "
               text run at (593,178) width 144: "text dummy text"
               text run at (0,232) width 487: "dummy text dummy text dummy text dummy text dummy "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1601-c547-indent-01-d-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1601-c547-indent-01-d-expected.txt
index 04679ee..bb1ff3c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1601-c547-indent-01-d-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1601-c547-indent-01-d-expected.txt
@@ -8,7 +8,7 @@
           text run at (392,0) width 379: "The first line of this sentence should be indented halfway across"
           text run at (0,20) width 22: "the "
           text run at (22,20) width 390: "page, but the rest of it should be flush with the normal left margin "
-          text run at (411,20) width 72: "of the page."
+          text run at (412,20) width 71: "of the page."
       LayoutBlockFlow {P} at (0,56) size 784x80 [bgcolor=#00FFFF]
         LayoutText {#text} at (80,0) size 197x19
           text run at (80,0) width 197: "Only the first line of this sentence"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1602-c546-txt-align-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1602-c546-txt-align-00-b-expected.png
index deba59b2..70e4193 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1602-c546-txt-align-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1602-c546-txt-align-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1602-c546-txt-align-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1602-c546-txt-align-00-b-expected.txt
index 4c883ca..b18b97e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css2.1/t1602-c546-txt-align-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css2.1/t1602-c546-txt-align-00-b-expected.txt
@@ -15,10 +15,10 @@
       LayoutBlockFlow {P} at (0,108) size 784x280 [color=#000080]
         LayoutText {#text} at (0,0) size 465x19
           text run at (0,0) width 368: "This paragraph should be justified (the right and left margins "
-          text run at (367,0) width 98: "should line up). "
+          text run at (368,0) width 97: "should line up). "
         LayoutInline {SPAN} at (0,0) size 784x259 [color=#C0C0C0]
-          LayoutText {#text} at (464,0) size 784x259
-            text run at (464,0) width 320: "This is just lovely dummy text. Dummy text. Dummy"
+          LayoutText {#text} at (465,0) size 784x259
+            text run at (465,0) width 319: "This is just lovely dummy text. Dummy text. Dummy"
             text run at (0,20) width 490: "text. This is just lovely dummy text. This is just lovely dummy text. Dummy text. "
             text run at (490,20) width 294: "This is just lovely dummy text. This is just lovely"
             text run at (0,40) width 217: "dummy text. Dummy text. Dummy "
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-35-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-35-expected.png
index f961999..862cb22 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-35-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-35-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-35-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-35-expected.txt
index 7000a3d3..ba71f4d7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-35-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-35-expected.txt
@@ -5,14 +5,14 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x128
       LayoutBlockFlow {DIV} at (0,0) size 784x128
         LayoutBlockFlow {ADDRESS} at (16,0) size 768x20
-          LayoutText {#text} at (0,0) size 255x19
-            text run at (0,0) width 255: "A first address with normal background"
+          LayoutText {#text} at (0,0) size 254x19
+            text run at (0,0) width 254: "A first address with normal background"
         LayoutBlockFlow {ADDRESS} at (16,36) size 768x20
-          LayoutText {#text} at (0,0) size 273x19
-            text run at (0,0) width 273: "A second address with normal background"
+          LayoutText {#text} at (0,0) size 272x19
+            text run at (0,0) width 272: "A second address with normal background"
         LayoutBlockFlow {ADDRESS} at (16,72) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 340x19
-            text run at (0,0) width 340: "A third address that should have a green background"
+          LayoutText {#text} at (0,0) size 338x19
+            text run at (0,0) width 338: "A third address that should have a green background"
         LayoutBlockFlow (anonymous) at (0,108) size 784x20
           LayoutText {#text} at (0,0) size 301x19
             text run at (0,0) width 301: "This div contains 3 addresses above this sentence."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-37-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-37-expected.png
index 0eff2aa8..3e65a9a0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-37-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-37-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-37-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-37-expected.txt
index c83844b..0d72f07 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-37-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/css3-modsel-37-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 286x19
             text run at (0,0) width 286: "This paragraph should have normal background"
         LayoutBlockFlow {ADDRESS} at (0,36) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 303x19
-            text run at (0,0) width 303: "But this address should have green background"
+          LayoutText {#text} at (0,0) size 301x19
+            text run at (0,0) width 301: "But this address should have green background"
         LayoutBlockFlow {P} at (0,72) size 784x20
           LayoutText {#text} at (0,0) size 286x19
             text run at (0,0) width 286: "This paragraph should have normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/flexbox/button-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/flexbox/button-expected.png
index b751eec7..1b4e3dda 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/flexbox/button-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/flexbox/button-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/font-feature-settings-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/font-feature-settings-rendering-expected.txt
index e8362e6..4b353a8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/font-feature-settings-rendering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/font-feature-settings-rendering-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 780x39
           text run at (0,0) width 233: "Test for font-feature-settings property. "
-          text run at (232,0) width 548: "The first word of the following three words should be displayed like \"WebKit\", while others"
+          text run at (233,0) width 547: "The first word of the following three words should be displayed like \"WebKit\", while others"
           text run at (0,20) width 217: "should be displayed as black boxes."
       LayoutBlockFlow {DIV} at (0,56) size 784x17
         LayoutText {#text} at (0,0) size 30x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/masking/clip-path-inset-corners-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/masking/clip-path-inset-corners-expected.png
index f18d6a68..ccc34b4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/masking/clip-path-inset-corners-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/masking/clip-path-inset-corners-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/masking/clip-path-inset-corners-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/masking/clip-path-inset-corners-expected.txt
index b260785..5ae57ca 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/masking/clip-path-inset-corners-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/masking/clip-path-inset-corners-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x270
     LayoutBlockFlow {BODY} at (8,16) size 784x246
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 549x19
-          text run at (0,0) width 549: "You should see 4 green squares each with one rounded corner. You should not see any red."
+        LayoutText {#text} at (0,0) size 548x19
+          text run at (0,0) width 548: "You should see 4 green squares each with one rounded corner. You should not see any red."
       LayoutBlockFlow (anonymous) at (0,36) size 784x210
         LayoutBlockFlow {DIV} at (0,0) size 100x100 [bgcolor=#FF0000]
         LayoutText {#text} at (100,85) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-13-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-13-expected.png
index 3941876..d4a5a7c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-13-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-13-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-14c-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-14c-expected.txt
index 6b4d0fb..9fd9da1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-14c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-14c-expected.txt
@@ -10,5 +10,5 @@
         LayoutText {#text} at (0,0) size 152x19
           text run at (0,0) width 152: "This line should be green."
       LayoutBlockFlow {ADDRESS} at (0,56) size 784x20 [color=#FFFFFF] [bgcolor=#008000]
-        LayoutText {#text} at (0,0) size 163x19
-          text run at (0,0) width 163: "This line should be green."
+        LayoutText {#text} at (0,0) size 162x19
+          text run at (0,0) width 162: "This line should be green."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-14e-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-14e-expected.txt
index 6b4d0fb..9fd9da1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-14e-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-14e-expected.txt
@@ -10,5 +10,5 @@
         LayoutText {#text} at (0,0) size 152x19
           text run at (0,0) width 152: "This line should be green."
       LayoutBlockFlow {ADDRESS} at (0,56) size 784x20 [color=#FFFFFF] [bgcolor=#008000]
-        LayoutText {#text} at (0,0) size 163x19
-          text run at (0,0) width 163: "This line should be green."
+        LayoutText {#text} at (0,0) size 162x19
+          text run at (0,0) width 162: "This line should be green."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-159-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-159-expected.txt
index 39c2339..c824d1a3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-159-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-159-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 478x19
-          text run at (0,0) width 478: "Try selecting some text in this document. It should be have a green background."
+        LayoutText {#text} at (0,0) size 477x19
+          text run at (0,0) width 477: "Try selecting some text in this document. It should be have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-168-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-168-expected.txt
index f3f81e3..65388dd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-168-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-168-expected.txt
@@ -10,8 +10,8 @@
           LayoutInline {<pseudo:before>} at (0,0) size 57x19 [bgcolor=#00FF00]
             LayoutTextFragment (anonymous) at (78,0) size 57x19
               text run at (78,0) width 57: "PASSED"
-        LayoutText {#text} at (134,0) size 5x19
-          text run at (134,0) width 5: "."
+        LayoutText {#text} at (135,0) size 4x19
+          text run at (135,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 420x19
           text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-168a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-168a-expected.txt
index f3f81e3..65388dd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-168a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-168a-expected.txt
@@ -10,8 +10,8 @@
           LayoutInline {<pseudo:before>} at (0,0) size 57x19 [bgcolor=#00FF00]
             LayoutTextFragment (anonymous) at (78,0) size 57x19
               text run at (78,0) width 57: "PASSED"
-        LayoutText {#text} at (134,0) size 5x19
-          text run at (134,0) width 5: "."
+        LayoutText {#text} at (135,0) size 4x19
+          text run at (135,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 420x19
           text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-169-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-169-expected.txt
index 50ae9bf..9ae802b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-169-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-169-expected.txt
@@ -10,8 +10,8 @@
           LayoutInline {<pseudo:after>} at (0,0) size 57x19 [bgcolor=#00FF00]
             LayoutTextFragment (anonymous) at (78,0) size 57x19
               text run at (78,0) width 57: "PASSED"
-        LayoutText {#text} at (134,0) size 5x19
-          text run at (134,0) width 5: "."
+        LayoutText {#text} at (135,0) size 4x19
+          text run at (135,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 420x19
           text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-169a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-169a-expected.txt
index 50ae9bf..9ae802b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-169a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-169a-expected.txt
@@ -10,8 +10,8 @@
           LayoutInline {<pseudo:after>} at (0,0) size 57x19 [bgcolor=#00FF00]
             LayoutTextFragment (anonymous) at (78,0) size 57x19
               text run at (78,0) width 57: "PASSED"
-        LayoutText {#text} at (134,0) size 5x19
-          text run at (134,0) width 5: "."
+        LayoutText {#text} at (135,0) size 4x19
+          text run at (135,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 420x19
           text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-17-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-17-expected.png
index 715cfc3..cbc5aade1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-17-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-17-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-17-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-17-expected.txt
index a47396c..e98159e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-17-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-17-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {A} at (0,0) size 360x19 [color=#551A8B] [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 360x19
-            text run at (0,0) width 360: "You should see a green background assigned by the anchor."
+        LayoutInline {A} at (0,0) size 359x19 [color=#551A8B] [bgcolor=#00FF00]
+          LayoutText {#text} at (0,0) size 359x19
+            text run at (0,0) width 359: "You should see a green background assigned by the anchor."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18-expected.png
index 9c14b9f..100e251 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18-expected.txt
index 0eed8d7..fd18f496 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18-expected.txt
@@ -10,27 +10,27 @@
         LayoutInline {STRONG} at (0,0) size 30x19
           LayoutText {#text} at (642,0) size 30x19
             text run at (642,0) width 30: "here"
-        LayoutText {#text} at (671,0) size 782x39
-          text run at (671,0) width 111: ") or its whitespace"
+        LayoutText {#text} at (672,0) size 782x39
+          text run at (672,0) width 110: ") or its whitespace"
           text run at (0,20) width 80: "background, "
         LayoutInline {STRONG} at (0,0) size 30x19
           LayoutText {#text} at (80,20) size 30x19
             text run at (80,20) width 30: "here"
-        LayoutText {#text} at (109,20) size 4x19
-          text run at (109,20) width 4: ":"
+        LayoutText {#text} at (110,20) size 3x19
+          text run at (110,20) width 3: ":"
       LayoutBlockFlow {ADDRESS} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 163x19
-          text run at (0,0) width 163: "The background color of "
-        LayoutInline {A} at (0,0) size 116x19 [color=#0000EE]
-          LayoutText {#text} at (162,0) size 82x19
-            text run at (162,0) width 82: "this anchor ("
-          LayoutInline {STRONG} at (0,0) size 30x19
-            LayoutText {#text} at (243,0) size 30x19
-              text run at (243,0) width 30: "here"
-          LayoutText {#text} at (272,0) size 6x19
-            text run at (272,0) width 6: ")"
-        LayoutText {#text} at (277,0) size 395x19
-          text run at (277,0) width 395: " should turn to green when the pointing device hovers over it."
+        LayoutText {#text} at (0,0) size 162x19
+          text run at (0,0) width 162: "The background color of "
+        LayoutInline {A} at (0,0) size 115x19 [color=#0000EE]
+          LayoutText {#text} at (162,0) size 81x19
+            text run at (162,0) width 81: "this anchor ("
+          LayoutInline {STRONG} at (0,0) size 29x19
+            LayoutText {#text} at (243,0) size 29x19
+              text run at (243,0) width 29: "here"
+          LayoutText {#text} at (272,0) size 5x19
+            text run at (272,0) width 5: ")"
+        LayoutText {#text} at (277,0) size 394x19
+          text run at (277,0) width 394: " should turn to green when the pointing device hovers over it."
       LayoutTable {TABLE} at (0,76) size 264x194
         LayoutTableSection {TBODY} at (0,0) size 264x194
           LayoutTableRow {TR} at (0,5) size 264x22
@@ -63,8 +63,8 @@
               LayoutInline {STRONG} at (0,0) size 30x19
                 LayoutText {#text} at (39,1) size 30x19
                   text run at (39,1) width 30: "here"
-              LayoutText {#text} at (68,1) size 10x19
-                text run at (68,1) width 10: ")."
+              LayoutText {#text} at (69,1) size 9x19
+                text run at (69,1) width 9: ")."
             LayoutTableCell {TD} at (167,69) size 92x2 [r=2 c=2 rs=1 cs=1]
           LayoutTableRow {TR} at (0,86) size 264x22
             LayoutTableCell {TD} at (5,86) size 73x22 [r=3 c=0 rs=1 cs=1]
@@ -96,8 +96,8 @@
               LayoutInline {STRONG} at (0,0) size 35x19
                 LayoutText {#text} at (31,1) size 35x19
                   text run at (31,1) width 35: "there"
-              LayoutText {#text} at (65,1) size 4x19
-                text run at (65,1) width 4: ":"
+              LayoutText {#text} at (66,1) size 3x19
+                text run at (66,1) width 3: ":"
             LayoutTableCell {TD} at (167,150) size 92x2 [r=5 c=2 rs=1 cs=1]
           LayoutTableRow {TR} at (0,167) size 264x22
             LayoutTableCell {TD} at (5,167) size 73x22 [r=6 c=0 rs=1 cs=1]
@@ -106,8 +106,8 @@
               LayoutInline {STRONG} at (0,0) size 30x19
                 LayoutText {#text} at (31,1) size 30x19
                   text run at (31,1) width 30: "here"
-              LayoutText {#text} at (60,1) size 4x19
-                text run at (60,1) width 4: ":"
+              LayoutText {#text} at (61,1) size 3x19
+                text run at (61,1) width 3: ":"
             LayoutTableCell {TD} at (83,177) size 79x2 [r=6 c=1 rs=1 cs=1]
             LayoutTableCell {TD} at (167,167) size 92x22 [r=6 c=2 rs=1 cs=1]
               LayoutText {#text} at (1,1) size 77x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18a-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18a-expected.png
index 2386157..45808b8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18a-expected.txt
index c85002f2..bf36765 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18a-expected.txt
@@ -12,10 +12,10 @@
           LayoutInline {STRONG} at (0,0) size 30x19
             LayoutText {#text} at (228,0) size 30x19
               text run at (228,0) width 30: "here"
-          LayoutText {#text} at (257,0) size 6x19
-            text run at (257,0) width 6: ")"
-        LayoutText {#text} at (262,0) size 366x19
-          text run at (262,0) width 366: " should turn to green when the pointing device hovers over it."
+          LayoutText {#text} at (258,0) size 5x19
+            text run at (258,0) width 5: ")"
+        LayoutText {#text} at (263,0) size 365x19
+          text run at (263,0) width 365: " should turn to green when the pointing device hovers over it."
       LayoutBlockFlow {P} at (0,36) size 784x20 [color=#000080]
         LayoutText {#text} at (0,0) size 154x19
           text run at (0,0) width 154: "The background color of "
@@ -25,15 +25,15 @@
           LayoutInline {STRONG} at (0,0) size 30x19
             LayoutText {#text} at (228,0) size 30x19
               text run at (228,0) width 30: "here"
-          LayoutText {#text} at (257,0) size 6x19
-            text run at (257,0) width 6: ")"
-        LayoutText {#text} at (262,0) size 48x19
-          text run at (262,0) width 48: " should "
-        LayoutInline {STRONG} at (0,0) size 210x19
-          LayoutText {#text} at (309,0) size 210x19
-            text run at (309,0) width 210: "remain green when you hover it"
-        LayoutText {#text} at (518,0) size 5x19
-          text run at (518,0) width 5: "."
+          LayoutText {#text} at (258,0) size 5x19
+            text run at (258,0) width 5: ")"
+        LayoutText {#text} at (263,0) size 47x19
+          text run at (263,0) width 47: " should "
+        LayoutInline {STRONG} at (0,0) size 209x19
+          LayoutText {#text} at (310,0) size 209x19
+            text run at (310,0) width 209: "remain green when you hover it"
+        LayoutText {#text} at (519,0) size 4x19
+          text run at (519,0) width 4: "."
       LayoutBlockFlow {P} at (0,72) size 784x40 [color=#000080]
         LayoutText {#text} at (0,0) size 154x19
           text run at (0,0) width 154: "The background color of "
@@ -43,13 +43,13 @@
           LayoutInline {STRONG} at (0,0) size 30x19
             LayoutText {#text} at (228,0) size 30x19
               text run at (228,0) width 30: "here"
-          LayoutText {#text} at (257,0) size 6x19
-            text run at (257,0) width 6: ")"
-        LayoutText {#text} at (262,0) size 48x19
-          text run at (262,0) width 48: " should "
-        LayoutInline {STRONG} at (0,0) size 352x19
-          LayoutText {#text} at (309,0) size 352x19
-            text run at (309,0) width 352: "remain green when the pointing device hovers over it"
-        LayoutText {#text} at (660,0) size 776x39
-          text run at (660,0) width 116: " (do not follow that"
+          LayoutText {#text} at (258,0) size 5x19
+            text run at (258,0) width 5: ")"
+        LayoutText {#text} at (263,0) size 47x19
+          text run at (263,0) width 47: " should "
+        LayoutInline {STRONG} at (0,0) size 351x19
+          LayoutText {#text} at (310,0) size 351x19
+            text run at (310,0) width 351: "remain green when the pointing device hovers over it"
+        LayoutText {#text} at (661,0) size 776x39
+          text run at (661,0) width 115: " (do not follow that"
           text run at (0,20) width 30: "link)."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18c-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18c-expected.txt
index 02f4e41c..35eba33a0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-18c-expected.txt
@@ -10,10 +10,10 @@
           LayoutInline {STRONG} at (0,0) size 30x19
             LayoutText {#text} at (42,0) size 30x19
               text run at (42,0) width 30: "here"
-          LayoutText {#text} at (71,0) size 145x19
-            text run at (71,0) width 145: " and the background of "
-          LayoutInline {SPAN} at (0,0) size 146x19
-            LayoutText {#text} at (215,0) size 146x19
-              text run at (215,0) width 146: "this text should go green"
-          LayoutText {#text} at (360,0) size 5x19
-            text run at (360,0) width 5: "."
+          LayoutText {#text} at (72,0) size 144x19
+            text run at (72,0) width 144: " and the background of "
+          LayoutInline {SPAN} at (0,0) size 145x19
+            LayoutText {#text} at (216,0) size 145x19
+              text run at (216,0) width 145: "this text should go green"
+          LayoutText {#text} at (361,0) size 4x19
+            text run at (361,0) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-2-expected.png
index 2b7475d..ba207d3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-2-expected.txt
index 57c1f244..f77ff67 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-2-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x36
     LayoutBlockFlow {BODY} at (8,8) size 784x20
       LayoutBlockFlow {ADDRESS} at (0,0) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 351x19
-          text run at (0,0) width 351: "This address element should have a green background."
+        LayoutText {#text} at (0,0) size 349x19
+          text run at (0,0) width 349: "This address element should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-30-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-30-expected.txt
index b47ba5a9..a47f3d72 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-30-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-30-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 311x19
           text run at (0,0) width 311: "This paragraph is here only to fill space in the DOM"
       LayoutBlockFlow {ADDRESS} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 139x19
-          text run at (0,0) width 139: "And this address too.."
+        LayoutText {#text} at (0,0) size 138x19
+          text run at (0,0) width 138: "And this address too.."
       LayoutBlockFlow {P} at (0,72) size 784x20
         LayoutText {#text} at (0,0) size 148x19
           text run at (0,0) width 148: "So does this paragraph !"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-31-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-31-expected.png
index 191cd04..4cf81c5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-31-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-31-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-31-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-31-expected.txt
index 7cc6f13..0622b70 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-31-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-31-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 278x19
           text run at (0,0) width 278: "This paragraph should have green background"
       LayoutBlockFlow {ADDRESS} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 336x19
-          text run at (0,0) width 336: "But this address is here only to fill space in the dom.."
+        LayoutText {#text} at (0,0) size 335x19
+          text run at (0,0) width 335: "But this address is here only to fill space in the dom.."
       LayoutBlockFlow {P} at (0,72) size 784x20
         LayoutText {#text} at (0,0) size 148x19
           text run at (0,0) width 148: "So does this paragraph !"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-34-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-34-expected.png
index 32ff412..e9012d0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-34-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-34-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-34-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-34-expected.txt
index 41f4439..1318df70 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-34-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-34-expected.txt
@@ -8,11 +8,11 @@
           LayoutText {#text} at (0,0) size 179x19
             text run at (0,0) width 179: "This div contains 3 addresses:"
         LayoutBlockFlow {ADDRESS} at (16,20) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 336x19
-            text run at (0,0) width 336: "A first address that should have a green background"
+          LayoutText {#text} at (0,0) size 334x19
+            text run at (0,0) width 334: "A first address that should have a green background"
         LayoutBlockFlow {ADDRESS} at (16,56) size 768x20
-          LayoutText {#text} at (0,0) size 273x19
-            text run at (0,0) width 273: "A second address with normal background"
+          LayoutText {#text} at (0,0) size 272x19
+            text run at (0,0) width 272: "A second address with normal background"
         LayoutBlockFlow {ADDRESS} at (16,92) size 768x20
-          LayoutText {#text} at (0,0) size 260x19
-            text run at (0,0) width 260: "A third address with normal background"
+          LayoutText {#text} at (0,0) size 258x19
+            text run at (0,0) width 258: "A third address with normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-35-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-35-expected.png
index f961999..862cb22 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-35-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-35-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-35-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-35-expected.txt
index 7000a3d3..ba71f4d7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-35-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-35-expected.txt
@@ -5,14 +5,14 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x128
       LayoutBlockFlow {DIV} at (0,0) size 784x128
         LayoutBlockFlow {ADDRESS} at (16,0) size 768x20
-          LayoutText {#text} at (0,0) size 255x19
-            text run at (0,0) width 255: "A first address with normal background"
+          LayoutText {#text} at (0,0) size 254x19
+            text run at (0,0) width 254: "A first address with normal background"
         LayoutBlockFlow {ADDRESS} at (16,36) size 768x20
-          LayoutText {#text} at (0,0) size 273x19
-            text run at (0,0) width 273: "A second address with normal background"
+          LayoutText {#text} at (0,0) size 272x19
+            text run at (0,0) width 272: "A second address with normal background"
         LayoutBlockFlow {ADDRESS} at (16,72) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 340x19
-            text run at (0,0) width 340: "A third address that should have a green background"
+          LayoutText {#text} at (0,0) size 338x19
+            text run at (0,0) width 338: "A third address that should have a green background"
         LayoutBlockFlow (anonymous) at (0,108) size 784x20
           LayoutText {#text} at (0,0) size 301x19
             text run at (0,0) width 301: "This div contains 3 addresses above this sentence."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-37-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-37-expected.png
index 0eff2aa8..3e65a9a0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-37-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-37-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-37-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-37-expected.txt
index c83844b..0d72f07 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-37-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-37-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 286x19
             text run at (0,0) width 286: "This paragraph should have normal background"
         LayoutBlockFlow {ADDRESS} at (0,36) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 303x19
-            text run at (0,0) width 303: "But this address should have green background"
+          LayoutText {#text} at (0,0) size 301x19
+            text run at (0,0) width 301: "But this address should have green background"
         LayoutBlockFlow {P} at (0,72) size 784x20
           LayoutText {#text} at (0,0) size 286x19
             text run at (0,0) width 286: "This paragraph should have normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-39a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-39a-expected.txt
index d0a8eb9..b2776ac 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-39a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-39a-expected.txt
@@ -11,7 +11,7 @@
           LayoutTextFragment (anonymous) at (0,0) size 0x0
         LayoutText {#text} at (19,13) size 776x223
           text run at (19,13) width 365: "his very long paragraph should have a big green first letter T. "
-          text run at (383,13) width 372: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy"
+          text run at (384,13) width 371: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy"
           text run at (0,37) width 755: "text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
           text run at (0,57) width 776: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy"
           text run at (0,77) width 755: "text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41-expected.png
index e927d23c8..2f79c0eb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41-expected.txt
index 042044d6a..af43541d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {<pseudo:before>} at (0,0) size 172x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (0,0) size 172x19
-            text run at (0,0) width 172: "GENERATED CONTENT "
-        LayoutText {#text} at (171,0) size 603x19
-          text run at (171,0) width 603: "You should see before this paragraph the words GENERATED CONTENT over green background"
+        LayoutInline {<pseudo:before>} at (0,0) size 171x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (0,0) size 171x19
+            text run at (0,0) width 171: "GENERATED CONTENT "
+        LayoutText {#text} at (171,0) size 602x19
+          text run at (171,0) width 602: "You should see before this paragraph the words GENERATED CONTENT over green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41a-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41a-expected.png
index e927d23c8..2f79c0eb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41a-expected.txt
index 042044d6a..af43541d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-41a-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {<pseudo:before>} at (0,0) size 172x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (0,0) size 172x19
-            text run at (0,0) width 172: "GENERATED CONTENT "
-        LayoutText {#text} at (171,0) size 603x19
-          text run at (171,0) width 603: "You should see before this paragraph the words GENERATED CONTENT over green background"
+        LayoutInline {<pseudo:before>} at (0,0) size 171x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (0,0) size 171x19
+            text run at (0,0) width 171: "GENERATED CONTENT "
+        LayoutText {#text} at (171,0) size 602x19
+          text run at (171,0) width 602: "You should see before this paragraph the words GENERATED CONTENT over green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42-expected.png
index 089ddf8..6cd4d47 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42-expected.txt
index 62ce098..ebbaa82b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 591x19
-          text run at (0,0) width 591: "You should see after this paragraph the words GENERATED CONTENT over green background"
-        LayoutInline {<pseudo:after>} at (0,0) size 168x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (590,0) size 168x19
-            text run at (590,0) width 168: "GENERATED CONTENT"
+        LayoutText {#text} at (0,0) size 590x19
+          text run at (0,0) width 590: "You should see after this paragraph the words GENERATED CONTENT over green background"
+        LayoutInline {<pseudo:after>} at (0,0) size 167x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (590,0) size 167x19
+            text run at (590,0) width 167: "GENERATED CONTENT"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42a-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42a-expected.png
index 089ddf8..6cd4d47 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42a-expected.txt
index 62ce098..ebbaa82b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-42a-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 591x19
-          text run at (0,0) width 591: "You should see after this paragraph the words GENERATED CONTENT over green background"
-        LayoutInline {<pseudo:after>} at (0,0) size 168x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (590,0) size 168x19
-            text run at (590,0) width 168: "GENERATED CONTENT"
+        LayoutText {#text} at (0,0) size 590x19
+          text run at (0,0) width 590: "You should see after this paragraph the words GENERATED CONTENT over green background"
+        LayoutInline {<pseudo:after>} at (0,0) size 167x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (590,0) size 167x19
+            text run at (590,0) width 167: "GENERATED CONTENT"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45-expected.png
index c354e54..2d4e7f9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45-expected.txt
index d1b7fd8..d1c80cd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 307x19
             text run at (0,0) width 307: "And this one should also have a green background."
         LayoutBlockFlow {ADDRESS} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 438x19
-            text run at (0,0) width 438: "This address is only here to fill some space between two paragraphs."
+          LayoutText {#text} at (0,0) size 437x19
+            text run at (0,0) width 437: "This address is only here to fill some space between two paragraphs."
         LayoutBlockFlow {P} at (0,144) size 784x20
           LayoutText {#text} at (0,0) size 209x19
             text run at (0,0) width 209: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45b-expected.png
index 33a161f..2ac7898 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45b-expected.txt
index c14c8a5..ee489f7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-45b-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 223x19
             text run at (0,0) width 223: "And this one should also be unstyled."
         LayoutBlockFlow {ADDRESS} at (0,108) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 679x19
-            text run at (0,0) width 679: "This address is only here to fill some space between two paragraphs and should have a green background."
+          LayoutText {#text} at (0,0) size 677x19
+            text run at (0,0) width 677: "This address is only here to fill some space between two paragraphs and should have a green background."
         LayoutBlockFlow {P} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 317x19
             text run at (0,0) width 317: "This paragraph should have a green background too."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46-expected.png
index 15c9b34..dabc9c6b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46-expected.txt
index a40229e..f15e1ac9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 303x19
             text run at (0,0) width 303: "And this one should also have a green background"
         LayoutBlockFlow {ADDRESS} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 434x19
-            text run at (0,0) width 434: "This address is only here to fill some space between two paragraphs"
+          LayoutText {#text} at (0,0) size 433x19
+            text run at (0,0) width 433: "This address is only here to fill some space between two paragraphs"
         LayoutBlockFlow {P} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 289x19
             text run at (0,0) width 289: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46b-expected.png
index 15c9b34..dabc9c6b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46b-expected.txt
index a40229e..f15e1ac9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-46b-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 303x19
             text run at (0,0) width 303: "And this one should also have a green background"
         LayoutBlockFlow {ADDRESS} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 434x19
-            text run at (0,0) width 434: "This address is only here to fill some space between two paragraphs"
+          LayoutText {#text} at (0,0) size 433x19
+            text run at (0,0) width 433: "This address is only here to fill some space between two paragraphs"
         LayoutBlockFlow {P} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 289x19
             text run at (0,0) width 289: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-6-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-6-expected.png
index c6cc794..8d42f5f3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-6-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-6-expected.txt
index 8afe69e..34c3fc9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-6-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-6-expected.txt
@@ -8,7 +8,7 @@
           LayoutText {#text} at (0,0) size 104x19
             text run at (0,0) width 104: "This line should "
         LayoutText {#text} at (0,0) size 0x0
-        LayoutInline {SPAN} at (0,0) size 167x19
-          LayoutText {#text} at (104,0) size 167x19
-            text run at (104,0) width 167: "have a green background."
+        LayoutInline {SPAN} at (0,0) size 166x19
+          LayoutText {#text} at (104,0) size 166x19
+            text run at (104,0) width 166: "have a green background."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-7-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-7-expected.png
index 2f10aa6..2d473bfc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-7-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-7-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-7-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-7-expected.txt
index 865c362..bc0336b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-7-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-7-expected.txt
@@ -8,13 +8,13 @@
           text run at (0,0) width 388: "This paragraph should have green background because CLASS "
           text run at (388,0) width 71: "contains \"b\""
       LayoutBlockFlow {ADDRESS} at (0,36) size 784x20 [bgcolor=#00FF00]
-        LayoutInline {SPAN} at (0,0) size 156x19
-          LayoutText {#text} at (0,0) size 156x19
-            text run at (0,0) width 156: "This address should also"
-        LayoutText {#text} at (155,0) size 5x19
-          text run at (155,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 607x19
-          LayoutText {#text} at (159,0) size 607x19
-            text run at (159,0) width 356: "have green background because the selector in the last "
-            text run at (514,0) width 252: "rule does not apply to the inner SPANs."
+        LayoutInline {SPAN} at (0,0) size 155x19
+          LayoutText {#text} at (0,0) size 155x19
+            text run at (0,0) width 155: "This address should also"
+        LayoutText {#text} at (155,0) size 4x19
+          text run at (155,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 605x19
+          LayoutText {#text} at (159,0) size 605x19
+            text run at (159,0) width 354: "have green background because the selector in the last "
+            text run at (513,0) width 251: "rule does not apply to the inner SPANs."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-75-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-75-expected.txt
index 38d3591..749964ad 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-75-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-75-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 278x19
           text run at (0,0) width 278: "This paragraph should have green background"
       LayoutBlockFlow {ADDRESS} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 232x19
-          text run at (0,0) width 232: "And this address should be unstyled."
+        LayoutText {#text} at (0,0) size 231x19
+          text run at (0,0) width 231: "And this address should be unstyled."
       LayoutBlockFlow {P} at (0,72) size 784x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 311x19
           text run at (0,0) width 311: "This paragraph should also have green background!"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-75b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-75b-expected.txt
index 38d3591..749964ad 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-75b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-75b-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 278x19
           text run at (0,0) width 278: "This paragraph should have green background"
       LayoutBlockFlow {ADDRESS} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 232x19
-          text run at (0,0) width 232: "And this address should be unstyled."
+        LayoutText {#text} at (0,0) size 231x19
+          text run at (0,0) width 231: "And this address should be unstyled."
       LayoutBlockFlow {P} at (0,72) size 784x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 311x19
           text run at (0,0) width 311: "This paragraph should also have green background!"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-76-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-76-expected.txt
index a381698..d00e851 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-76-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-76-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 209x19
           text run at (0,0) width 209: "This paragraph should be unstyled."
       LayoutBlockFlow {ADDRESS} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 206x19
-          text run at (0,0) width 206: "This address should be unstyled."
+        LayoutText {#text} at (0,0) size 205x19
+          text run at (0,0) width 205: "This address should be unstyled."
       LayoutBlockFlow {P} at (0,72) size 784x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 282x19
           text run at (0,0) width 282: "This paragraph should have green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-76b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-76b-expected.txt
index a381698..d00e851 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-76b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-76b-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 209x19
           text run at (0,0) width 209: "This paragraph should be unstyled."
       LayoutBlockFlow {ADDRESS} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 206x19
-          text run at (0,0) width 206: "This address should be unstyled."
+        LayoutText {#text} at (0,0) size 205x19
+          text run at (0,0) width 205: "This address should be unstyled."
       LayoutBlockFlow {P} at (0,72) size 784x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 282x19
           text run at (0,0) width 282: "This paragraph should have green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-79-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-79-expected.png
index 020d4bb..7d3627cf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-79-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-79-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-79-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-79-expected.txt
index a7b9289d..2c44a4b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-79-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-79-expected.txt
@@ -8,11 +8,11 @@
           LayoutText {#text} at (0,0) size 183x19
             text run at (0,0) width 183: "This div contains 3 addresses :"
         LayoutBlockFlow {ADDRESS} at (16,20) size 768x20
-          LayoutText {#text} at (0,0) size 255x19
-            text run at (0,0) width 255: "A first address with normal background"
+          LayoutText {#text} at (0,0) size 254x19
+            text run at (0,0) width 254: "A first address with normal background"
         LayoutBlockFlow {ADDRESS} at (16,56) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 354x19
-            text run at (0,0) width 354: "A second address that should have a green background"
+          LayoutText {#text} at (0,0) size 352x19
+            text run at (0,0) width 352: "A second address that should have a green background"
         LayoutBlockFlow {ADDRESS} at (16,92) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 340x19
-            text run at (0,0) width 340: "A third address that should have a green background"
+          LayoutText {#text} at (0,0) size 338x19
+            text run at (0,0) width 338: "A third address that should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-8-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-8-expected.png
index d818653..cc71632 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-8-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-8-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-8-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-8-expected.txt
index 15de8a93ff..e8598e14 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-8-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-8-expected.txt
@@ -7,13 +7,13 @@
         LayoutText {#text} at (0,0) size 466x19
           text run at (0,0) width 466: "This paragraph should have green background because its language is \"en-gb\""
       LayoutBlockFlow {ADDRESS} at (0,36) size 784x20 [bgcolor=#00FF00]
-        LayoutInline {SPAN} at (0,0) size 156x19
-          LayoutText {#text} at (0,0) size 156x19
-            text run at (0,0) width 156: "This address should also"
-        LayoutText {#text} at (155,0) size 5x19
-          text run at (155,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 511x19
-          LayoutText {#text} at (159,0) size 511x19
-            text run at (159,0) width 423: "have green background because the language of the inner SPANs "
-            text run at (581,0) width 89: "is not French."
+        LayoutInline {SPAN} at (0,0) size 155x19
+          LayoutText {#text} at (0,0) size 155x19
+            text run at (0,0) width 155: "This address should also"
+        LayoutText {#text} at (155,0) size 4x19
+          text run at (155,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 509x19
+          LayoutText {#text} at (159,0) size 509x19
+            text run at (159,0) width 421: "have green background because the language of the inner SPANs "
+            text run at (580,0) width 88: "is not French."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-80-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-80-expected.png
index 4f8b589..9bd895b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-80-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-80-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-80-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-80-expected.txt
index 1c582a4..2d8e6529 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-80-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-80-expected.txt
@@ -5,14 +5,14 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x128
       LayoutBlockFlow {DIV} at (0,0) size 784x128
         LayoutBlockFlow {ADDRESS} at (16,0) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 336x19
-            text run at (0,0) width 336: "A first address that should have a green background"
+          LayoutText {#text} at (0,0) size 334x19
+            text run at (0,0) width 334: "A first address that should have a green background"
         LayoutBlockFlow {ADDRESS} at (16,36) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 354x19
-            text run at (0,0) width 354: "A second address that should have a green background"
+          LayoutText {#text} at (0,0) size 352x19
+            text run at (0,0) width 352: "A second address that should have a green background"
         LayoutBlockFlow {ADDRESS} at (16,72) size 768x20
-          LayoutText {#text} at (0,0) size 260x19
-            text run at (0,0) width 260: "A third address with normal background"
+          LayoutText {#text} at (0,0) size 258x19
+            text run at (0,0) width 258: "A third address with normal background"
         LayoutBlockFlow (anonymous) at (0,108) size 784x20
           LayoutText {#text} at (0,0) size 276x19
             text run at (0,0) width 276: "This div should have three addresses above it."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-82-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-82-expected.txt
index cbc0151..0dbb7ea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-82-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-82-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 282x19
             text run at (0,0) width 282: "This paragraph should have green background."
         LayoutBlockFlow {ADDRESS} at (0,36) size 784x20
-          LayoutText {#text} at (0,0) size 228x19
-            text run at (0,0) width 228: "But this address should be unstyled."
+          LayoutText {#text} at (0,0) size 227x19
+            text run at (0,0) width 227: "But this address should be unstyled."
         LayoutBlockFlow {P} at (0,72) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 282x19
             text run at (0,0) width 282: "This paragraph should have green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-82b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-82b-expected.txt
index cbc0151..0dbb7ea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-82b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/html/css3-modsel-82b-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 282x19
             text run at (0,0) width 282: "This paragraph should have green background."
         LayoutBlockFlow {ADDRESS} at (0,36) size 784x20
-          LayoutText {#text} at (0,0) size 228x19
-            text run at (0,0) width 228: "But this address should be unstyled."
+          LayoutText {#text} at (0,0) size 227x19
+            text run at (0,0) width 227: "But this address should be unstyled."
         LayoutBlockFlow {P} at (0,72) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 282x19
             text run at (0,0) width 282: "This paragraph should have green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-113-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-113-expected.txt
index 8af74f3..d3c55ef 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-113-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-113-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 293x19
           text run at (0,0) width 293: "This paragraph should have a green background."
       LayoutBlockFlow {address} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 206x19
-          text run at (0,0) width 206: "This address should be unstyled."
+        LayoutText {#text} at (0,0) size 205x19
+          text run at (0,0) width 205: "This address should be unstyled."
       LayoutBlockFlow {q} at (0,72) size 784x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 293x19
           text run at (0,0) width 293: "This paragraph should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-113b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-113b-expected.txt
index 8af74f3..d3c55ef 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-113b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-113b-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 293x19
           text run at (0,0) width 293: "This paragraph should have a green background."
       LayoutBlockFlow {address} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 206x19
-          text run at (0,0) width 206: "This address should be unstyled."
+        LayoutText {#text} at (0,0) size 205x19
+          text run at (0,0) width 205: "This address should be unstyled."
       LayoutBlockFlow {q} at (0,72) size 784x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 293x19
           text run at (0,0) width 293: "This paragraph should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-114-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-114-expected.txt
index 27270cde..455652dd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-114-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-114-expected.txt
@@ -7,11 +7,11 @@
         LayoutText {#text} at (0,0) size 293x19
           text run at (0,0) width 293: "This paragraph should have a green background."
       LayoutBlockFlow {address} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 206x19
-          text run at (0,0) width 206: "This address should be unstyled."
+        LayoutText {#text} at (0,0) size 205x19
+          text run at (0,0) width 205: "This address should be unstyled."
       LayoutBlockFlow {address} at (0,72) size 784x20
-        LayoutText {#text} at (0,0) size 206x19
-          text run at (0,0) width 206: "This address should be unstyled."
+        LayoutText {#text} at (0,0) size 205x19
+          text run at (0,0) width 205: "This address should be unstyled."
       LayoutBlockFlow {q} at (0,108) size 784x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 293x19
           text run at (0,0) width 293: "This paragraph should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-114b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-114b-expected.txt
index 27270cde..455652dd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-114b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-114b-expected.txt
@@ -7,11 +7,11 @@
         LayoutText {#text} at (0,0) size 293x19
           text run at (0,0) width 293: "This paragraph should have a green background."
       LayoutBlockFlow {address} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 206x19
-          text run at (0,0) width 206: "This address should be unstyled."
+        LayoutText {#text} at (0,0) size 205x19
+          text run at (0,0) width 205: "This address should be unstyled."
       LayoutBlockFlow {address} at (0,72) size 784x20
-        LayoutText {#text} at (0,0) size 206x19
-          text run at (0,0) width 206: "This address should be unstyled."
+        LayoutText {#text} at (0,0) size 205x19
+          text run at (0,0) width 205: "This address should be unstyled."
       LayoutBlockFlow {q} at (0,108) size 784x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 293x19
           text run at (0,0) width 293: "This paragraph should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-119-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-119-expected.png
index 0bb98176..6ec3c486 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-119-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-119-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-119-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-119-expected.txt
index 54e8e0eb..d644b124 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-119-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-119-expected.txt
@@ -18,8 +18,8 @@
             LayoutText {#text} at (0,0) size 293x19
               text run at (0,0) width 293: "This paragraph should have a green background."
         LayoutBlockFlow {address} at (0,144) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 297x19
-            text run at (0,0) width 297: "This address should have a green background."
+          LayoutText {#text} at (0,0) size 295x19
+            text run at (0,0) width 295: "This address should have a green background."
         LayoutBlockFlow {s} at (0,180) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 293x19
             text run at (0,0) width 293: "This paragraph should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-121-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-121-expected.png
index b0b23a03..b49254fb7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-121-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-121-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-121-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-121-expected.txt
index 95fb881..6c7bf4a1f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-121-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-121-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {body} at (8,8) size 784x128
       LayoutBlockFlow {div} at (0,0) size 784x128
         LayoutBlockFlow {address} at (0,0) size 784x20 [color=#008000]
-          LayoutText {#text} at (0,0) size 276x19
-            text run at (0,0) width 276: "This address should be in green characters."
+          LayoutText {#text} at (0,0) size 275x19
+            text run at (0,0) width 275: "This address should be in green characters."
         LayoutBlockFlow {s} at (0,36) size 784x20 [color=#008000]
           LayoutText {#text} at (0,0) size 273x19
             text run at (0,0) width 273: "This paragraph should be in green characters."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-122-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-122-expected.png
index 04f1100..999075de 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-122-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-122-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-122-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-122-expected.txt
index 4c419b1..ed5c255 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-122-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-122-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {body} at (8,8) size 784x128
       LayoutBlockFlow {div} at (0,0) size 784x128
         LayoutBlockFlow {address} at (0,0) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 293x19
-            text run at (0,0) width 293: "This address should have a green background"
+          LayoutText {#text} at (0,0) size 291x19
+            text run at (0,0) width 291: "This address should have a green background"
         LayoutBlockFlow {s} at (0,36) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 289x19
             text run at (0,0) width 289: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-123-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-123-expected.png
index 0e20d7b..af0ede0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-123-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-123-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-123-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-123-expected.txt
index 1bb816cd..e0162f0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-123-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-123-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {body} at (8,8) size 784x92
       LayoutBlockFlow {div} at (0,0) size 784x92
         LayoutBlockFlow {address} at (0,0) size 784x20 [color=#008000]
-          LayoutText {#text} at (0,0) size 276x19
-            text run at (0,0) width 276: "This address should be in green characters."
+          LayoutText {#text} at (0,0) size 275x19
+            text run at (0,0) width 275: "This address should be in green characters."
         LayoutBlockFlow {s} at (0,36) size 784x20 [color=#008000]
           LayoutText {#text} at (0,0) size 273x19
             text run at (0,0) width 273: "This paragraph should be in green characters."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-13-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-13-expected.png
index 3941876..d4a5a7c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-13-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-13-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139-expected.png
index 8fd1e2a..b3ca00a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139-expected.txt
index fdbe4f6..e5cda96d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 209x19
             text run at (0,0) width 209: "This paragraph should be unstyled."
         LayoutBlockFlow {address} at (0,36) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 297x19
-            text run at (0,0) width 297: "This address should have a green background."
+          LayoutText {#text} at (0,0) size 295x19
+            text run at (0,0) width 295: "This address should have a green background."
         LayoutBlockFlow {q} at (0,72) size 784x20
           LayoutText {#text} at (0,0) size 209x19
             text run at (0,0) width 209: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139b-expected.png
index 8fd1e2a..b3ca00a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139b-expected.txt
index fdbe4f6..e5cda96d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-139b-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 209x19
             text run at (0,0) width 209: "This paragraph should be unstyled."
         LayoutBlockFlow {address} at (0,36) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 297x19
-            text run at (0,0) width 297: "This address should have a green background."
+          LayoutText {#text} at (0,0) size 295x19
+            text run at (0,0) width 295: "This address should have a green background."
         LayoutBlockFlow {q} at (0,72) size 784x20
           LayoutText {#text} at (0,0) size 209x19
             text run at (0,0) width 209: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140-expected.png
index e9d2521..74c4619 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140-expected.txt
index a3db369..362bbb4d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140-expected.txt
@@ -8,11 +8,11 @@
           LayoutText {#text} at (0,0) size 209x19
             text run at (0,0) width 209: "This paragraph should be unstyled."
         LayoutBlockFlow {address} at (0,36) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 297x19
-            text run at (0,0) width 297: "This address should have a green background."
+          LayoutText {#text} at (0,0) size 295x19
+            text run at (0,0) width 295: "This address should have a green background."
         LayoutBlockFlow {address} at (0,72) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 297x19
-            text run at (0,0) width 297: "This address should have a green background."
+          LayoutText {#text} at (0,0) size 295x19
+            text run at (0,0) width 295: "This address should have a green background."
         LayoutBlockFlow {q} at (0,108) size 784x20
           LayoutText {#text} at (0,0) size 209x19
             text run at (0,0) width 209: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140b-expected.png
index e9d2521..74c4619 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140b-expected.txt
index a3db369..362bbb4d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-140b-expected.txt
@@ -8,11 +8,11 @@
           LayoutText {#text} at (0,0) size 209x19
             text run at (0,0) width 209: "This paragraph should be unstyled."
         LayoutBlockFlow {address} at (0,36) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 297x19
-            text run at (0,0) width 297: "This address should have a green background."
+          LayoutText {#text} at (0,0) size 295x19
+            text run at (0,0) width 295: "This address should have a green background."
         LayoutBlockFlow {address} at (0,72) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 297x19
-            text run at (0,0) width 297: "This address should have a green background."
+          LayoutText {#text} at (0,0) size 295x19
+            text run at (0,0) width 295: "This address should have a green background."
         LayoutBlockFlow {q} at (0,108) size 784x20
           LayoutText {#text} at (0,0) size 209x19
             text run at (0,0) width 209: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-14c-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-14c-expected.txt
index 8f82297..7828b6b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-14c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-14c-expected.txt
@@ -10,5 +10,5 @@
         LayoutText {#text} at (0,0) size 152x19
           text run at (0,0) width 152: "This line should be green."
       LayoutBlockFlow {address} at (0,56) size 784x20 [color=#FFFFFF] [bgcolor=#008000]
-        LayoutText {#text} at (0,0) size 163x19
-          text run at (0,0) width 163: "This line should be green."
+        LayoutText {#text} at (0,0) size 162x19
+          text run at (0,0) width 162: "This line should be green."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-14e-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-14e-expected.txt
index 8f82297..7828b6b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-14e-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-14e-expected.txt
@@ -10,5 +10,5 @@
         LayoutText {#text} at (0,0) size 152x19
           text run at (0,0) width 152: "This line should be green."
       LayoutBlockFlow {address} at (0,56) size 784x20 [color=#FFFFFF] [bgcolor=#008000]
-        LayoutText {#text} at (0,0) size 163x19
-          text run at (0,0) width 163: "This line should be green."
+        LayoutText {#text} at (0,0) size 162x19
+          text run at (0,0) width 162: "This line should be green."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-159-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-159-expected.txt
index ac4ede8..98f1d44 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-159-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-159-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {html} at (0,0) size 800x52
     LayoutBlockFlow {body} at (8,16) size 784x20
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 478x19
-          text run at (0,0) width 478: "Try selecting some text in this document. It should be have a green background."
+        LayoutText {#text} at (0,0) size 477x19
+          text run at (0,0) width 477: "Try selecting some text in this document. It should be have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-168-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-168-expected.txt
index 042546c3..0e7a9b9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-168-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-168-expected.txt
@@ -10,8 +10,8 @@
           LayoutInline {<pseudo:before>} at (0,0) size 57x19 [bgcolor=#00FF00]
             LayoutTextFragment (anonymous) at (78,0) size 57x19
               text run at (78,0) width 57: "PASSED"
-        LayoutText {#text} at (134,0) size 5x19
-          text run at (134,0) width 5: "."
+        LayoutText {#text} at (135,0) size 4x19
+          text run at (135,0) width 4: "."
       LayoutBlockFlow {p} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 420x19
           text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-168a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-168a-expected.txt
index 042546c3..0e7a9b9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-168a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-168a-expected.txt
@@ -10,8 +10,8 @@
           LayoutInline {<pseudo:before>} at (0,0) size 57x19 [bgcolor=#00FF00]
             LayoutTextFragment (anonymous) at (78,0) size 57x19
               text run at (78,0) width 57: "PASSED"
-        LayoutText {#text} at (134,0) size 5x19
-          text run at (134,0) width 5: "."
+        LayoutText {#text} at (135,0) size 4x19
+          text run at (135,0) width 4: "."
       LayoutBlockFlow {p} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 420x19
           text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-169-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-169-expected.txt
index ba439c2b..d34b57f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-169-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-169-expected.txt
@@ -10,8 +10,8 @@
           LayoutInline {<pseudo:after>} at (0,0) size 57x19 [bgcolor=#00FF00]
             LayoutTextFragment (anonymous) at (78,0) size 57x19
               text run at (78,0) width 57: "PASSED"
-        LayoutText {#text} at (134,0) size 5x19
-          text run at (134,0) width 5: "."
+        LayoutText {#text} at (135,0) size 4x19
+          text run at (135,0) width 4: "."
       LayoutBlockFlow {p} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 420x19
           text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-169a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-169a-expected.txt
index ba439c2b..d34b57f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-169a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-169a-expected.txt
@@ -10,8 +10,8 @@
           LayoutInline {<pseudo:after>} at (0,0) size 57x19 [bgcolor=#00FF00]
             LayoutTextFragment (anonymous) at (78,0) size 57x19
               text run at (78,0) width 57: "PASSED"
-        LayoutText {#text} at (134,0) size 5x19
-          text run at (134,0) width 5: "."
+        LayoutText {#text} at (135,0) size 4x19
+          text run at (135,0) width 4: "."
       LayoutBlockFlow {p} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 420x19
           text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-17-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-17-expected.png
index 715cfc3..cbc5aade1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-17-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-17-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-17-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-17-expected.txt
index 9cacfe7..a0052510 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-17-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-17-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {html} at (0,0) size 800x52
     LayoutBlockFlow {body} at (8,16) size 784x20
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutInline {a} at (0,0) size 360x19 [color=#551A8B] [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 360x19
-            text run at (0,0) width 360: "You should see a green background assigned by the anchor."
+        LayoutInline {a} at (0,0) size 359x19 [color=#551A8B] [bgcolor=#00FF00]
+          LayoutText {#text} at (0,0) size 359x19
+            text run at (0,0) width 359: "You should see a green background assigned by the anchor."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18-expected.png
index 9c14b9f..100e251 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18-expected.txt
index 6a847968..a4db119b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18-expected.txt
@@ -10,27 +10,27 @@
         LayoutInline {strong} at (0,0) size 30x19
           LayoutText {#text} at (642,0) size 30x19
             text run at (642,0) width 30: "here"
-        LayoutText {#text} at (671,0) size 782x39
-          text run at (671,0) width 111: ") or its whitespace"
+        LayoutText {#text} at (672,0) size 782x39
+          text run at (672,0) width 110: ") or its whitespace"
           text run at (0,20) width 80: "background, "
         LayoutInline {strong} at (0,0) size 30x19
           LayoutText {#text} at (80,20) size 30x19
             text run at (80,20) width 30: "here"
-        LayoutText {#text} at (109,20) size 4x19
-          text run at (109,20) width 4: ":"
+        LayoutText {#text} at (110,20) size 3x19
+          text run at (110,20) width 3: ":"
       LayoutBlockFlow {address} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 163x19
-          text run at (0,0) width 163: "The background color of "
-        LayoutInline {a} at (0,0) size 116x19 [color=#0000EE]
-          LayoutText {#text} at (162,0) size 82x19
-            text run at (162,0) width 82: "this anchor ("
-          LayoutInline {strong} at (0,0) size 30x19
-            LayoutText {#text} at (243,0) size 30x19
-              text run at (243,0) width 30: "here"
-          LayoutText {#text} at (272,0) size 6x19
-            text run at (272,0) width 6: ")"
-        LayoutText {#text} at (277,0) size 395x19
-          text run at (277,0) width 395: " should turn to green when the pointing device hovers over it."
+        LayoutText {#text} at (0,0) size 162x19
+          text run at (0,0) width 162: "The background color of "
+        LayoutInline {a} at (0,0) size 115x19 [color=#0000EE]
+          LayoutText {#text} at (162,0) size 81x19
+            text run at (162,0) width 81: "this anchor ("
+          LayoutInline {strong} at (0,0) size 29x19
+            LayoutText {#text} at (243,0) size 29x19
+              text run at (243,0) width 29: "here"
+          LayoutText {#text} at (272,0) size 5x19
+            text run at (272,0) width 5: ")"
+        LayoutText {#text} at (277,0) size 394x19
+          text run at (277,0) width 394: " should turn to green when the pointing device hovers over it."
       LayoutTable {table} at (0,76) size 264x194
         LayoutTableSection {tbody} at (0,0) size 264x194
           LayoutTableRow {tr} at (0,5) size 264x22
@@ -63,8 +63,8 @@
               LayoutInline {strong} at (0,0) size 30x19
                 LayoutText {#text} at (39,1) size 30x19
                   text run at (39,1) width 30: "here"
-              LayoutText {#text} at (68,1) size 10x19
-                text run at (68,1) width 10: ")."
+              LayoutText {#text} at (69,1) size 9x19
+                text run at (69,1) width 9: ")."
             LayoutTableCell {td} at (167,69) size 92x2 [r=2 c=2 rs=1 cs=1]
           LayoutTableRow {tr} at (0,86) size 264x22
             LayoutTableCell {td} at (5,86) size 73x22 [r=3 c=0 rs=1 cs=1]
@@ -96,8 +96,8 @@
               LayoutInline {strong} at (0,0) size 35x19
                 LayoutText {#text} at (31,1) size 35x19
                   text run at (31,1) width 35: "there"
-              LayoutText {#text} at (65,1) size 4x19
-                text run at (65,1) width 4: ":"
+              LayoutText {#text} at (66,1) size 3x19
+                text run at (66,1) width 3: ":"
             LayoutTableCell {td} at (167,150) size 92x2 [r=5 c=2 rs=1 cs=1]
           LayoutTableRow {tr} at (0,167) size 264x22
             LayoutTableCell {td} at (5,167) size 73x22 [r=6 c=0 rs=1 cs=1]
@@ -106,8 +106,8 @@
               LayoutInline {strong} at (0,0) size 30x19
                 LayoutText {#text} at (31,1) size 30x19
                   text run at (31,1) width 30: "here"
-              LayoutText {#text} at (60,1) size 4x19
-                text run at (60,1) width 4: ":"
+              LayoutText {#text} at (61,1) size 3x19
+                text run at (61,1) width 3: ":"
             LayoutTableCell {td} at (83,177) size 79x2 [r=6 c=1 rs=1 cs=1]
             LayoutTableCell {td} at (167,167) size 92x22 [r=6 c=2 rs=1 cs=1]
               LayoutText {#text} at (1,1) size 77x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18a-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18a-expected.png
index 2386157..45808b8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18a-expected.txt
index 0687f2a..cf93ae30 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18a-expected.txt
@@ -12,10 +12,10 @@
           LayoutInline {strong} at (0,0) size 30x19
             LayoutText {#text} at (228,0) size 30x19
               text run at (228,0) width 30: "here"
-          LayoutText {#text} at (257,0) size 6x19
-            text run at (257,0) width 6: ")"
-        LayoutText {#text} at (262,0) size 366x19
-          text run at (262,0) width 366: " should turn to green when the pointing device hovers over it."
+          LayoutText {#text} at (258,0) size 5x19
+            text run at (258,0) width 5: ")"
+        LayoutText {#text} at (263,0) size 365x19
+          text run at (263,0) width 365: " should turn to green when the pointing device hovers over it."
       LayoutBlockFlow {p} at (0,36) size 784x20 [color=#000080]
         LayoutText {#text} at (0,0) size 154x19
           text run at (0,0) width 154: "The background color of "
@@ -25,15 +25,15 @@
           LayoutInline {strong} at (0,0) size 30x19
             LayoutText {#text} at (228,0) size 30x19
               text run at (228,0) width 30: "here"
-          LayoutText {#text} at (257,0) size 6x19
-            text run at (257,0) width 6: ")"
-        LayoutText {#text} at (262,0) size 48x19
-          text run at (262,0) width 48: " should "
-        LayoutInline {strong} at (0,0) size 210x19
-          LayoutText {#text} at (309,0) size 210x19
-            text run at (309,0) width 210: "remain green when you hover it"
-        LayoutText {#text} at (518,0) size 5x19
-          text run at (518,0) width 5: "."
+          LayoutText {#text} at (258,0) size 5x19
+            text run at (258,0) width 5: ")"
+        LayoutText {#text} at (263,0) size 47x19
+          text run at (263,0) width 47: " should "
+        LayoutInline {strong} at (0,0) size 209x19
+          LayoutText {#text} at (310,0) size 209x19
+            text run at (310,0) width 209: "remain green when you hover it"
+        LayoutText {#text} at (519,0) size 4x19
+          text run at (519,0) width 4: "."
       LayoutBlockFlow {p} at (0,72) size 784x40 [color=#000080]
         LayoutText {#text} at (0,0) size 154x19
           text run at (0,0) width 154: "The background color of "
@@ -43,13 +43,13 @@
           LayoutInline {strong} at (0,0) size 30x19
             LayoutText {#text} at (228,0) size 30x19
               text run at (228,0) width 30: "here"
-          LayoutText {#text} at (257,0) size 6x19
-            text run at (257,0) width 6: ")"
-        LayoutText {#text} at (262,0) size 48x19
-          text run at (262,0) width 48: " should "
-        LayoutInline {strong} at (0,0) size 352x19
-          LayoutText {#text} at (309,0) size 352x19
-            text run at (309,0) width 352: "remain green when the pointing device hovers over it"
-        LayoutText {#text} at (660,0) size 776x39
-          text run at (660,0) width 116: " (do not follow that"
+          LayoutText {#text} at (258,0) size 5x19
+            text run at (258,0) width 5: ")"
+        LayoutText {#text} at (263,0) size 47x19
+          text run at (263,0) width 47: " should "
+        LayoutInline {strong} at (0,0) size 351x19
+          LayoutText {#text} at (310,0) size 351x19
+            text run at (310,0) width 351: "remain green when the pointing device hovers over it"
+        LayoutText {#text} at (661,0) size 776x39
+          text run at (661,0) width 115: " (do not follow that"
           text run at (0,20) width 30: "link)."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18c-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18c-expected.txt
index 9c9e9dd..f9909d1a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-18c-expected.txt
@@ -10,10 +10,10 @@
           LayoutInline {strong} at (0,0) size 30x19
             LayoutText {#text} at (42,0) size 30x19
               text run at (42,0) width 30: "here"
-          LayoutText {#text} at (71,0) size 145x19
-            text run at (71,0) width 145: " and the background of "
-          LayoutInline {span} at (0,0) size 146x19
-            LayoutText {#text} at (215,0) size 146x19
-              text run at (215,0) width 146: "this text should go green"
-          LayoutText {#text} at (360,0) size 5x19
-            text run at (360,0) width 5: "."
+          LayoutText {#text} at (72,0) size 144x19
+            text run at (72,0) width 144: " and the background of "
+          LayoutInline {span} at (0,0) size 145x19
+            LayoutText {#text} at (216,0) size 145x19
+              text run at (216,0) width 145: "this text should go green"
+          LayoutText {#text} at (361,0) size 4x19
+            text run at (361,0) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-2-expected.png
index 2b7475d..ba207d3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-2-expected.txt
index db01f3c..7119c62 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-2-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {html} at (0,0) size 800x36
     LayoutBlockFlow {body} at (8,8) size 784x20
       LayoutBlockFlow {address} at (0,0) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 351x19
-          text run at (0,0) width 351: "This address element should have a green background."
+        LayoutText {#text} at (0,0) size 349x19
+          text run at (0,0) width 349: "This address element should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-30-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-30-expected.txt
index c8970ec0..4148e112 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-30-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-30-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 311x19
           text run at (0,0) width 311: "This paragraph is here only to fill space in the DOM"
       LayoutBlockFlow {address} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 139x19
-          text run at (0,0) width 139: "And this address too.."
+        LayoutText {#text} at (0,0) size 138x19
+          text run at (0,0) width 138: "And this address too.."
       LayoutBlockFlow {p} at (0,72) size 784x20
         LayoutText {#text} at (0,0) size 148x19
           text run at (0,0) width 148: "So does this paragraph !"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-31-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-31-expected.png
index 191cd04..4cf81c5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-31-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-31-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-31-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-31-expected.txt
index 8f2279b..c47494a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-31-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-31-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 278x19
           text run at (0,0) width 278: "This paragraph should have green background"
       LayoutBlockFlow {address} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 336x19
-          text run at (0,0) width 336: "But this address is here only to fill space in the dom.."
+        LayoutText {#text} at (0,0) size 335x19
+          text run at (0,0) width 335: "But this address is here only to fill space in the dom.."
       LayoutBlockFlow {p} at (0,72) size 784x20
         LayoutText {#text} at (0,0) size 148x19
           text run at (0,0) width 148: "So does this paragraph !"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-34-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-34-expected.png
index 32ff412..e9012d0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-34-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-34-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-34-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-34-expected.txt
index 6acaa26a..37c8d0fc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-34-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-34-expected.txt
@@ -8,11 +8,11 @@
           LayoutText {#text} at (0,0) size 179x19
             text run at (0,0) width 179: "This div contains 3 addresses:"
         LayoutBlockFlow {address} at (16,20) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 336x19
-            text run at (0,0) width 336: "A first address that should have a green background"
+          LayoutText {#text} at (0,0) size 334x19
+            text run at (0,0) width 334: "A first address that should have a green background"
         LayoutBlockFlow {address} at (16,56) size 768x20
-          LayoutText {#text} at (0,0) size 273x19
-            text run at (0,0) width 273: "A second address with normal background"
+          LayoutText {#text} at (0,0) size 272x19
+            text run at (0,0) width 272: "A second address with normal background"
         LayoutBlockFlow {address} at (16,92) size 768x20
-          LayoutText {#text} at (0,0) size 260x19
-            text run at (0,0) width 260: "A third address with normal background"
+          LayoutText {#text} at (0,0) size 258x19
+            text run at (0,0) width 258: "A third address with normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-35-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-35-expected.png
index f961999..862cb22 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-35-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-35-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-35-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-35-expected.txt
index 8d797de..45347da1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-35-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-35-expected.txt
@@ -5,14 +5,14 @@
     LayoutBlockFlow {body} at (8,8) size 784x128
       LayoutBlockFlow {div} at (0,0) size 784x128
         LayoutBlockFlow {address} at (16,0) size 768x20
-          LayoutText {#text} at (0,0) size 255x19
-            text run at (0,0) width 255: "A first address with normal background"
+          LayoutText {#text} at (0,0) size 254x19
+            text run at (0,0) width 254: "A first address with normal background"
         LayoutBlockFlow {address} at (16,36) size 768x20
-          LayoutText {#text} at (0,0) size 273x19
-            text run at (0,0) width 273: "A second address with normal background"
+          LayoutText {#text} at (0,0) size 272x19
+            text run at (0,0) width 272: "A second address with normal background"
         LayoutBlockFlow {address} at (16,72) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 340x19
-            text run at (0,0) width 340: "A third address that should have a green background"
+          LayoutText {#text} at (0,0) size 338x19
+            text run at (0,0) width 338: "A third address that should have a green background"
         LayoutBlockFlow (anonymous) at (0,108) size 784x20
           LayoutText {#text} at (0,0) size 301x19
             text run at (0,0) width 301: "This div contains 3 addresses above this sentence."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-37-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-37-expected.png
index 0eff2aa8..3e65a9a0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-37-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-37-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-37-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-37-expected.txt
index 744b0a5c..0e9837c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-37-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-37-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 286x19
             text run at (0,0) width 286: "This paragraph should have normal background"
         LayoutBlockFlow {address} at (0,36) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 303x19
-            text run at (0,0) width 303: "But this address should have green background"
+          LayoutText {#text} at (0,0) size 301x19
+            text run at (0,0) width 301: "But this address should have green background"
         LayoutBlockFlow {p} at (0,72) size 784x20
           LayoutText {#text} at (0,0) size 286x19
             text run at (0,0) width 286: "This paragraph should have normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-39a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-39a-expected.txt
index bf676aa..c1fb3d9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-39a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-39a-expected.txt
@@ -11,7 +11,7 @@
           LayoutTextFragment (anonymous) at (0,0) size 0x0
         LayoutText {#text} at (19,13) size 776x223
           text run at (19,13) width 365: "his very long paragraph should have a big green first letter T. "
-          text run at (383,13) width 372: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy"
+          text run at (384,13) width 371: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy"
           text run at (0,37) width 755: "text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
           text run at (0,57) width 776: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy"
           text run at (0,77) width 755: "text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41-expected.png
index e927d23c8..2f79c0eb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41-expected.txt
index cecbffc9..5c3391bc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x52
     LayoutBlockFlow {body} at (8,16) size 784x20
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutInline {<pseudo:before>} at (0,0) size 172x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (0,0) size 172x19
-            text run at (0,0) width 172: "GENERATED CONTENT "
-        LayoutText {#text} at (171,0) size 603x19
-          text run at (171,0) width 603: "You should see before this paragraph the words GENERATED CONTENT over green background"
+        LayoutInline {<pseudo:before>} at (0,0) size 171x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (0,0) size 171x19
+            text run at (0,0) width 171: "GENERATED CONTENT "
+        LayoutText {#text} at (171,0) size 602x19
+          text run at (171,0) width 602: "You should see before this paragraph the words GENERATED CONTENT over green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41a-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41a-expected.png
index e927d23c8..2f79c0eb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41a-expected.txt
index cecbffc9..5c3391bc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-41a-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x52
     LayoutBlockFlow {body} at (8,16) size 784x20
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutInline {<pseudo:before>} at (0,0) size 172x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (0,0) size 172x19
-            text run at (0,0) width 172: "GENERATED CONTENT "
-        LayoutText {#text} at (171,0) size 603x19
-          text run at (171,0) width 603: "You should see before this paragraph the words GENERATED CONTENT over green background"
+        LayoutInline {<pseudo:before>} at (0,0) size 171x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (0,0) size 171x19
+            text run at (0,0) width 171: "GENERATED CONTENT "
+        LayoutText {#text} at (171,0) size 602x19
+          text run at (171,0) width 602: "You should see before this paragraph the words GENERATED CONTENT over green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42-expected.png
index 089ddf8..6cd4d47 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42-expected.txt
index 07f087b..e91363a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x52
     LayoutBlockFlow {body} at (8,16) size 784x20
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 591x19
-          text run at (0,0) width 591: "You should see after this paragraph the words GENERATED CONTENT over green background"
-        LayoutInline {<pseudo:after>} at (0,0) size 168x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (590,0) size 168x19
-            text run at (590,0) width 168: "GENERATED CONTENT"
+        LayoutText {#text} at (0,0) size 590x19
+          text run at (0,0) width 590: "You should see after this paragraph the words GENERATED CONTENT over green background"
+        LayoutInline {<pseudo:after>} at (0,0) size 167x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (590,0) size 167x19
+            text run at (590,0) width 167: "GENERATED CONTENT"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42a-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42a-expected.png
index 089ddf8..6cd4d47 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42a-expected.txt
index 07f087b..e91363a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-42a-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x52
     LayoutBlockFlow {body} at (8,16) size 784x20
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 591x19
-          text run at (0,0) width 591: "You should see after this paragraph the words GENERATED CONTENT over green background"
-        LayoutInline {<pseudo:after>} at (0,0) size 168x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (590,0) size 168x19
-            text run at (590,0) width 168: "GENERATED CONTENT"
+        LayoutText {#text} at (0,0) size 590x19
+          text run at (0,0) width 590: "You should see after this paragraph the words GENERATED CONTENT over green background"
+        LayoutInline {<pseudo:after>} at (0,0) size 167x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (590,0) size 167x19
+            text run at (590,0) width 167: "GENERATED CONTENT"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45-expected.png
index c354e54..2d4e7f9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45-expected.txt
index 6d89816..58aa6a41 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 307x19
             text run at (0,0) width 307: "And this one should also have a green background."
         LayoutBlockFlow {address} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 438x19
-            text run at (0,0) width 438: "This address is only here to fill some space between two paragraphs."
+          LayoutText {#text} at (0,0) size 437x19
+            text run at (0,0) width 437: "This address is only here to fill some space between two paragraphs."
         LayoutBlockFlow {p} at (0,144) size 784x20
           LayoutText {#text} at (0,0) size 209x19
             text run at (0,0) width 209: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45b-expected.png
index 33a161f..2ac7898 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45b-expected.txt
index 25e2c10b..c568de8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-45b-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 223x19
             text run at (0,0) width 223: "And this one should also be unstyled."
         LayoutBlockFlow {address} at (0,108) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 679x19
-            text run at (0,0) width 679: "This address is only here to fill some space between two paragraphs and should have a green background."
+          LayoutText {#text} at (0,0) size 677x19
+            text run at (0,0) width 677: "This address is only here to fill some space between two paragraphs and should have a green background."
         LayoutBlockFlow {p} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 317x19
             text run at (0,0) width 317: "This paragraph should have a green background too."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46-expected.png
index 15c9b34..dabc9c6b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46-expected.txt
index ca7222f2..4e3627b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 303x19
             text run at (0,0) width 303: "And this one should also have a green background"
         LayoutBlockFlow {address} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 434x19
-            text run at (0,0) width 434: "This address is only here to fill some space between two paragraphs"
+          LayoutText {#text} at (0,0) size 433x19
+            text run at (0,0) width 433: "This address is only here to fill some space between two paragraphs"
         LayoutBlockFlow {p} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 289x19
             text run at (0,0) width 289: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46b-expected.png
index 15c9b34..dabc9c6b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46b-expected.txt
index ca7222f2..4e3627b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-46b-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 303x19
             text run at (0,0) width 303: "And this one should also have a green background"
         LayoutBlockFlow {address} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 434x19
-            text run at (0,0) width 434: "This address is only here to fill some space between two paragraphs"
+          LayoutText {#text} at (0,0) size 433x19
+            text run at (0,0) width 433: "This address is only here to fill some space between two paragraphs"
         LayoutBlockFlow {p} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 289x19
             text run at (0,0) width 289: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-47-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-47-expected.png
index 00dbac0c..eca3f87 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-47-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-47-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-47-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-47-expected.txt
index b332047..77690c9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-47-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-47-expected.txt
@@ -10,8 +10,8 @@
               text run at (0,0) width 351: "The text in this paragraph should have a green background"
           LayoutText {#text} at (0,0) size 0x0
         LayoutBlockFlow {address} at (16,36) size 752x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 293x19
-            text run at (0,0) width 293: "This address should have a green background"
+          LayoutText {#text} at (0,0) size 291x19
+            text run at (0,0) width 291: "This address should have a green background"
         LayoutBlockFlow {q} at (16,72) size 752x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 412x19
             text run at (0,0) width 412: "This element in another namespace should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-48-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-48-expected.png
index 04f1100..999075de 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-48-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-48-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-48-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-48-expected.txt
index 4c419b1..ed5c255 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-48-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-48-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {body} at (8,8) size 784x128
       LayoutBlockFlow {div} at (0,0) size 784x128
         LayoutBlockFlow {address} at (0,0) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 293x19
-            text run at (0,0) width 293: "This address should have a green background"
+          LayoutText {#text} at (0,0) size 291x19
+            text run at (0,0) width 291: "This address should have a green background"
         LayoutBlockFlow {s} at (0,36) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 289x19
             text run at (0,0) width 289: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-49-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-49-expected.png
index 04f1100..999075de 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-49-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-49-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-49-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-49-expected.txt
index 4c419b1..ed5c255 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-49-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-49-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {body} at (8,8) size 784x128
       LayoutBlockFlow {div} at (0,0) size 784x128
         LayoutBlockFlow {address} at (0,0) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 293x19
-            text run at (0,0) width 293: "This address should have a green background"
+          LayoutText {#text} at (0,0) size 291x19
+            text run at (0,0) width 291: "This address should have a green background"
         LayoutBlockFlow {s} at (0,36) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 289x19
             text run at (0,0) width 289: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-6-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-6-expected.png
index c6cc794..8d42f5f3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-6-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-6-expected.txt
index a2a2843b..728aff5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-6-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-6-expected.txt
@@ -8,7 +8,7 @@
           LayoutText {#text} at (0,0) size 104x19
             text run at (0,0) width 104: "This line should "
         LayoutText {#text} at (0,0) size 0x0
-        LayoutInline {span} at (0,0) size 167x19
-          LayoutText {#text} at (104,0) size 167x19
-            text run at (104,0) width 167: "have a green background."
+        LayoutInline {span} at (0,0) size 166x19
+          LayoutText {#text} at (104,0) size 166x19
+            text run at (104,0) width 166: "have a green background."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-7-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-7-expected.png
index 2f10aa6..2d473bfc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-7-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-7-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-7-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-7-expected.txt
index d4186b97..f1825f7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-7-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-7-expected.txt
@@ -8,13 +8,13 @@
           text run at (0,0) width 388: "This paragraph should have green background because CLASS "
           text run at (388,0) width 71: "contains \"b\""
       LayoutBlockFlow {address} at (0,36) size 784x20 [bgcolor=#00FF00]
-        LayoutInline {span} at (0,0) size 156x19
-          LayoutText {#text} at (0,0) size 156x19
-            text run at (0,0) width 156: "This address should also"
-        LayoutText {#text} at (155,0) size 5x19
-          text run at (155,0) width 5: " "
-        LayoutInline {span} at (0,0) size 607x19
-          LayoutText {#text} at (159,0) size 607x19
-            text run at (159,0) width 356: "have green background because the selector in the last "
-            text run at (514,0) width 252: "rule does not apply to the inner SPANs."
+        LayoutInline {span} at (0,0) size 155x19
+          LayoutText {#text} at (0,0) size 155x19
+            text run at (0,0) width 155: "This address should also"
+        LayoutText {#text} at (155,0) size 4x19
+          text run at (155,0) width 4: " "
+        LayoutInline {span} at (0,0) size 605x19
+          LayoutText {#text} at (159,0) size 605x19
+            text run at (159,0) width 354: "have green background because the selector in the last "
+            text run at (513,0) width 251: "rule does not apply to the inner SPANs."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-75-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-75-expected.txt
index b0b0859b..48a24f63 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-75-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-75-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 278x19
           text run at (0,0) width 278: "This paragraph should have green background"
       LayoutBlockFlow {address} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 232x19
-          text run at (0,0) width 232: "And this address should be unstyled."
+        LayoutText {#text} at (0,0) size 231x19
+          text run at (0,0) width 231: "And this address should be unstyled."
       LayoutBlockFlow {p} at (0,72) size 784x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 311x19
           text run at (0,0) width 311: "This paragraph should also have green background!"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-75b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-75b-expected.txt
index b0b0859b..48a24f63 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-75b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-75b-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 278x19
           text run at (0,0) width 278: "This paragraph should have green background"
       LayoutBlockFlow {address} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 232x19
-          text run at (0,0) width 232: "And this address should be unstyled."
+        LayoutText {#text} at (0,0) size 231x19
+          text run at (0,0) width 231: "And this address should be unstyled."
       LayoutBlockFlow {p} at (0,72) size 784x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 311x19
           text run at (0,0) width 311: "This paragraph should also have green background!"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-76-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-76-expected.txt
index 62200e23..7e62395 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-76-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-76-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 209x19
           text run at (0,0) width 209: "This paragraph should be unstyled."
       LayoutBlockFlow {address} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 206x19
-          text run at (0,0) width 206: "This address should be unstyled."
+        LayoutText {#text} at (0,0) size 205x19
+          text run at (0,0) width 205: "This address should be unstyled."
       LayoutBlockFlow {p} at (0,72) size 784x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 282x19
           text run at (0,0) width 282: "This paragraph should have green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-76b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-76b-expected.txt
index 62200e23..7e62395 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-76b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-76b-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 209x19
           text run at (0,0) width 209: "This paragraph should be unstyled."
       LayoutBlockFlow {address} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 206x19
-          text run at (0,0) width 206: "This address should be unstyled."
+        LayoutText {#text} at (0,0) size 205x19
+          text run at (0,0) width 205: "This address should be unstyled."
       LayoutBlockFlow {p} at (0,72) size 784x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 282x19
           text run at (0,0) width 282: "This paragraph should have green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-79-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-79-expected.png
index 020d4bb..7d3627cf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-79-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-79-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-79-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-79-expected.txt
index a8a9027..60c38e8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-79-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-79-expected.txt
@@ -8,11 +8,11 @@
           LayoutText {#text} at (0,0) size 183x19
             text run at (0,0) width 183: "This div contains 3 addresses :"
         LayoutBlockFlow {address} at (16,20) size 768x20
-          LayoutText {#text} at (0,0) size 255x19
-            text run at (0,0) width 255: "A first address with normal background"
+          LayoutText {#text} at (0,0) size 254x19
+            text run at (0,0) width 254: "A first address with normal background"
         LayoutBlockFlow {address} at (16,56) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 354x19
-            text run at (0,0) width 354: "A second address that should have a green background"
+          LayoutText {#text} at (0,0) size 352x19
+            text run at (0,0) width 352: "A second address that should have a green background"
         LayoutBlockFlow {address} at (16,92) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 340x19
-            text run at (0,0) width 340: "A third address that should have a green background"
+          LayoutText {#text} at (0,0) size 338x19
+            text run at (0,0) width 338: "A third address that should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-8-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-8-expected.png
index d818653..cc71632 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-8-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-8-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-8-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-8-expected.txt
index 9902724..94e342db 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-8-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-8-expected.txt
@@ -7,13 +7,13 @@
         LayoutText {#text} at (0,0) size 466x19
           text run at (0,0) width 466: "This paragraph should have green background because its language is \"en-gb\""
       LayoutBlockFlow {address} at (0,36) size 784x20 [bgcolor=#00FF00]
-        LayoutInline {span} at (0,0) size 156x19
-          LayoutText {#text} at (0,0) size 156x19
-            text run at (0,0) width 156: "This address should also"
-        LayoutText {#text} at (155,0) size 5x19
-          text run at (155,0) width 5: " "
-        LayoutInline {span} at (0,0) size 511x19
-          LayoutText {#text} at (159,0) size 511x19
-            text run at (159,0) width 423: "have green background because the language of the inner SPANs "
-            text run at (581,0) width 89: "is not French."
+        LayoutInline {span} at (0,0) size 155x19
+          LayoutText {#text} at (0,0) size 155x19
+            text run at (0,0) width 155: "This address should also"
+        LayoutText {#text} at (155,0) size 4x19
+          text run at (155,0) width 4: " "
+        LayoutInline {span} at (0,0) size 509x19
+          LayoutText {#text} at (159,0) size 509x19
+            text run at (159,0) width 421: "have green background because the language of the inner SPANs "
+            text run at (580,0) width 88: "is not French."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-80-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-80-expected.png
index 4f8b589..9bd895b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-80-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-80-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-80-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-80-expected.txt
index 0b5e509..9dda678 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-80-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-80-expected.txt
@@ -5,14 +5,14 @@
     LayoutBlockFlow {body} at (8,8) size 784x128
       LayoutBlockFlow {div} at (0,0) size 784x128
         LayoutBlockFlow {address} at (16,0) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 336x19
-            text run at (0,0) width 336: "A first address that should have a green background"
+          LayoutText {#text} at (0,0) size 334x19
+            text run at (0,0) width 334: "A first address that should have a green background"
         LayoutBlockFlow {address} at (16,36) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 354x19
-            text run at (0,0) width 354: "A second address that should have a green background"
+          LayoutText {#text} at (0,0) size 352x19
+            text run at (0,0) width 352: "A second address that should have a green background"
         LayoutBlockFlow {address} at (16,72) size 768x20
-          LayoutText {#text} at (0,0) size 260x19
-            text run at (0,0) width 260: "A third address with normal background"
+          LayoutText {#text} at (0,0) size 258x19
+            text run at (0,0) width 258: "A third address with normal background"
         LayoutBlockFlow (anonymous) at (0,108) size 784x20
           LayoutText {#text} at (0,0) size 276x19
             text run at (0,0) width 276: "This div should have three addresses above it."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-82-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-82-expected.txt
index 94ce995..52635da 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-82-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-82-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 282x19
             text run at (0,0) width 282: "This paragraph should have green background."
         LayoutBlockFlow {address} at (0,36) size 784x20
-          LayoutText {#text} at (0,0) size 228x19
-            text run at (0,0) width 228: "But this address should be unstyled."
+          LayoutText {#text} at (0,0) size 227x19
+            text run at (0,0) width 227: "But this address should be unstyled."
         LayoutBlockFlow {p} at (0,72) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 282x19
             text run at (0,0) width 282: "This paragraph should have green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-82b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-82b-expected.txt
index 94ce995..52635da 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-82b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xhtml/css3-modsel-82b-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 282x19
             text run at (0,0) width 282: "This paragraph should have green background."
         LayoutBlockFlow {address} at (0,36) size 784x20
-          LayoutText {#text} at (0,0) size 228x19
-            text run at (0,0) width 228: "But this address should be unstyled."
+          LayoutText {#text} at (0,0) size 227x19
+            text run at (0,0) width 227: "But this address should be unstyled."
         LayoutBlockFlow {p} at (0,72) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 282x19
             text run at (0,0) width 282: "This paragraph should have green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-113-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-113-expected.txt
index 485d22b..e34605a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-113-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-113-expected.txt
@@ -6,8 +6,8 @@
       LayoutText {#text} at (0,0) size 293x19
         text run at (0,0) width 293: "This paragraph should have a green background."
     LayoutBlockFlow {address} at (0,52) size 800x20
-      LayoutText {#text} at (0,0) size 206x19
-        text run at (0,0) width 206: "This address should be unstyled."
+      LayoutText {#text} at (0,0) size 205x19
+        text run at (0,0) width 205: "This address should be unstyled."
     LayoutBlockFlow {q} at (0,88) size 800x20 [bgcolor=#00FF00]
       LayoutText {#text} at (0,0) size 293x19
         text run at (0,0) width 293: "This paragraph should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-113b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-113b-expected.txt
index 485d22b..e34605a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-113b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-113b-expected.txt
@@ -6,8 +6,8 @@
       LayoutText {#text} at (0,0) size 293x19
         text run at (0,0) width 293: "This paragraph should have a green background."
     LayoutBlockFlow {address} at (0,52) size 800x20
-      LayoutText {#text} at (0,0) size 206x19
-        text run at (0,0) width 206: "This address should be unstyled."
+      LayoutText {#text} at (0,0) size 205x19
+        text run at (0,0) width 205: "This address should be unstyled."
     LayoutBlockFlow {q} at (0,88) size 800x20 [bgcolor=#00FF00]
       LayoutText {#text} at (0,0) size 293x19
         text run at (0,0) width 293: "This paragraph should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-114-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-114-expected.txt
index c1371d97..57c832f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-114-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-114-expected.txt
@@ -6,11 +6,11 @@
       LayoutText {#text} at (0,0) size 293x19
         text run at (0,0) width 293: "This paragraph should have a green background."
     LayoutBlockFlow {address} at (0,52) size 800x20
-      LayoutText {#text} at (0,0) size 206x19
-        text run at (0,0) width 206: "This address should be unstyled."
+      LayoutText {#text} at (0,0) size 205x19
+        text run at (0,0) width 205: "This address should be unstyled."
     LayoutBlockFlow {address} at (0,88) size 800x20
-      LayoutText {#text} at (0,0) size 206x19
-        text run at (0,0) width 206: "This address should be unstyled."
+      LayoutText {#text} at (0,0) size 205x19
+        text run at (0,0) width 205: "This address should be unstyled."
     LayoutBlockFlow {q} at (0,124) size 800x20 [bgcolor=#00FF00]
       LayoutText {#text} at (0,0) size 293x19
         text run at (0,0) width 293: "This paragraph should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-114b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-114b-expected.txt
index c1371d97..57c832f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-114b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-114b-expected.txt
@@ -6,11 +6,11 @@
       LayoutText {#text} at (0,0) size 293x19
         text run at (0,0) width 293: "This paragraph should have a green background."
     LayoutBlockFlow {address} at (0,52) size 800x20
-      LayoutText {#text} at (0,0) size 206x19
-        text run at (0,0) width 206: "This address should be unstyled."
+      LayoutText {#text} at (0,0) size 205x19
+        text run at (0,0) width 205: "This address should be unstyled."
     LayoutBlockFlow {address} at (0,88) size 800x20
-      LayoutText {#text} at (0,0) size 206x19
-        text run at (0,0) width 206: "This address should be unstyled."
+      LayoutText {#text} at (0,0) size 205x19
+        text run at (0,0) width 205: "This address should be unstyled."
     LayoutBlockFlow {q} at (0,124) size 800x20 [bgcolor=#00FF00]
       LayoutText {#text} at (0,0) size 293x19
         text run at (0,0) width 293: "This paragraph should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-119-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-119-expected.png
index 66c942f..d586ebd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-119-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-119-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-119-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-119-expected.txt
index 0fffbd9..dbae4bb6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-119-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-119-expected.txt
@@ -17,8 +17,8 @@
           LayoutText {#text} at (0,0) size 293x19
             text run at (0,0) width 293: "This paragraph should have a green background."
       LayoutBlockFlow {address} at (0,144) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 297x19
-          text run at (0,0) width 297: "This address should have a green background."
+        LayoutText {#text} at (0,0) size 295x19
+          text run at (0,0) width 295: "This address should have a green background."
       LayoutBlockFlow {s} at (0,180) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 293x19
           text run at (0,0) width 293: "This paragraph should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-121-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-121-expected.png
index 7c07ff91..ff794a6d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-121-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-121-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-121-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-121-expected.txt
index 079b4e3..9901dbfde 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-121-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-121-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {test} at (0,0) size 800x144
     LayoutBlockFlow {div} at (0,0) size 800x128
       LayoutBlockFlow {address} at (0,0) size 800x20 [color=#008000]
-        LayoutText {#text} at (0,0) size 276x19
-          text run at (0,0) width 276: "This address should be in green characters."
+        LayoutText {#text} at (0,0) size 275x19
+          text run at (0,0) width 275: "This address should be in green characters."
       LayoutBlockFlow {s} at (0,36) size 800x20 [color=#008000]
         LayoutText {#text} at (0,0) size 273x19
           text run at (0,0) width 273: "This paragraph should be in green characters."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-122-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-122-expected.png
index d7bc30a..4d71360 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-122-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-122-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-122-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-122-expected.txt
index 246b10d..8fb6916 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-122-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-122-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {test} at (0,0) size 800x144
     LayoutBlockFlow {div} at (0,0) size 800x128
       LayoutBlockFlow {address} at (0,0) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 293x19
-          text run at (0,0) width 293: "This address should have a green background"
+        LayoutText {#text} at (0,0) size 291x19
+          text run at (0,0) width 291: "This address should have a green background"
       LayoutBlockFlow {s} at (0,36) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 289x19
           text run at (0,0) width 289: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-123-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-123-expected.png
index 9dc946d..fc85b059 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-123-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-123-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-123-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-123-expected.txt
index 5c70d4b..615930a3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-123-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-123-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {test} at (0,0) size 800x108
     LayoutBlockFlow {div} at (0,0) size 800x92
       LayoutBlockFlow {address} at (0,0) size 800x20 [color=#008000]
-        LayoutText {#text} at (0,0) size 276x19
-          text run at (0,0) width 276: "This address should be in green characters."
+        LayoutText {#text} at (0,0) size 275x19
+          text run at (0,0) width 275: "This address should be in green characters."
       LayoutBlockFlow {s} at (0,36) size 800x20 [color=#008000]
         LayoutText {#text} at (0,0) size 273x19
           text run at (0,0) width 273: "This paragraph should be in green characters."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-13-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-13-expected.png
index cd557f1..915dce2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-13-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-13-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139-expected.png
index b437d58..94eb097 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139-expected.txt
index ecb10d64..cb938c76 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 209x19
           text run at (0,0) width 209: "This paragraph should be unstyled."
       LayoutBlockFlow {address} at (0,36) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 297x19
-          text run at (0,0) width 297: "This address should have a green background."
+        LayoutText {#text} at (0,0) size 295x19
+          text run at (0,0) width 295: "This address should have a green background."
       LayoutBlockFlow {q} at (0,72) size 800x20
         LayoutText {#text} at (0,0) size 209x19
           text run at (0,0) width 209: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139b-expected.png
index b437d58..94eb097 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139b-expected.txt
index ecb10d64..cb938c76 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-139b-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 209x19
           text run at (0,0) width 209: "This paragraph should be unstyled."
       LayoutBlockFlow {address} at (0,36) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 297x19
-          text run at (0,0) width 297: "This address should have a green background."
+        LayoutText {#text} at (0,0) size 295x19
+          text run at (0,0) width 295: "This address should have a green background."
       LayoutBlockFlow {q} at (0,72) size 800x20
         LayoutText {#text} at (0,0) size 209x19
           text run at (0,0) width 209: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140-expected.png
index 6ffce6d..4d7f9a0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140-expected.txt
index ec92b5a..76c12ed 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140-expected.txt
@@ -7,11 +7,11 @@
         LayoutText {#text} at (0,0) size 209x19
           text run at (0,0) width 209: "This paragraph should be unstyled."
       LayoutBlockFlow {address} at (0,36) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 297x19
-          text run at (0,0) width 297: "This address should have a green background."
+        LayoutText {#text} at (0,0) size 295x19
+          text run at (0,0) width 295: "This address should have a green background."
       LayoutBlockFlow {address} at (0,72) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 297x19
-          text run at (0,0) width 297: "This address should have a green background."
+        LayoutText {#text} at (0,0) size 295x19
+          text run at (0,0) width 295: "This address should have a green background."
       LayoutBlockFlow {q} at (0,108) size 800x20
         LayoutText {#text} at (0,0) size 209x19
           text run at (0,0) width 209: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140b-expected.png
index 6ffce6d..4d7f9a0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140b-expected.txt
index ec92b5a..76c12ed 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-140b-expected.txt
@@ -7,11 +7,11 @@
         LayoutText {#text} at (0,0) size 209x19
           text run at (0,0) width 209: "This paragraph should be unstyled."
       LayoutBlockFlow {address} at (0,36) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 297x19
-          text run at (0,0) width 297: "This address should have a green background."
+        LayoutText {#text} at (0,0) size 295x19
+          text run at (0,0) width 295: "This address should have a green background."
       LayoutBlockFlow {address} at (0,72) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 297x19
-          text run at (0,0) width 297: "This address should have a green background."
+        LayoutText {#text} at (0,0) size 295x19
+          text run at (0,0) width 295: "This address should have a green background."
       LayoutBlockFlow {q} at (0,108) size 800x20
         LayoutText {#text} at (0,0) size 209x19
           text run at (0,0) width 209: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-14c-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-14c-expected.txt
index d675122..b00d0df 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-14c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-14c-expected.txt
@@ -9,5 +9,5 @@
       LayoutText {#text} at (0,0) size 152x19
         text run at (0,0) width 152: "This line should be green."
     LayoutBlockFlow {address} at (0,72) size 800x20 [color=#FFFFFF] [bgcolor=#008000]
-      LayoutText {#text} at (0,0) size 163x19
-        text run at (0,0) width 163: "This line should be green."
+      LayoutText {#text} at (0,0) size 162x19
+        text run at (0,0) width 162: "This line should be green."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-14e-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-14e-expected.txt
index d675122..b00d0df 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-14e-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-14e-expected.txt
@@ -9,5 +9,5 @@
       LayoutText {#text} at (0,0) size 152x19
         text run at (0,0) width 152: "This line should be green."
     LayoutBlockFlow {address} at (0,72) size 800x20 [color=#FFFFFF] [bgcolor=#008000]
-      LayoutText {#text} at (0,0) size 163x19
-        text run at (0,0) width 163: "This line should be green."
+      LayoutText {#text} at (0,0) size 162x19
+        text run at (0,0) width 162: "This line should be green."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-159-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-159-expected.txt
index 059466b..88503322 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-159-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-159-expected.txt
@@ -3,5 +3,5 @@
 layer at (0,0) size 800x52
   LayoutBlockFlow {test} at (0,0) size 800x52
     LayoutBlockFlow {p} at (0,16) size 800x20
-      LayoutText {#text} at (0,0) size 478x19
-        text run at (0,0) width 478: "Try selecting some text in this document. It should be have a green background."
+      LayoutText {#text} at (0,0) size 477x19
+        text run at (0,0) width 477: "Try selecting some text in this document. It should be have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-168-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-168-expected.txt
index fb48ac7b..350966c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-168-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-168-expected.txt
@@ -9,8 +9,8 @@
         LayoutInline {<pseudo:before>} at (0,0) size 57x19 [bgcolor=#00FF00]
           LayoutTextFragment (anonymous) at (78,0) size 57x19
             text run at (78,0) width 57: "PASSED"
-      LayoutText {#text} at (134,0) size 5x19
-        text run at (134,0) width 5: "."
+      LayoutText {#text} at (135,0) size 4x19
+        text run at (135,0) width 4: "."
     LayoutBlockFlow {p} at (0,52) size 800x20
       LayoutText {#text} at (0,0) size 420x19
         text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-168a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-168a-expected.txt
index fb48ac7b..350966c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-168a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-168a-expected.txt
@@ -9,8 +9,8 @@
         LayoutInline {<pseudo:before>} at (0,0) size 57x19 [bgcolor=#00FF00]
           LayoutTextFragment (anonymous) at (78,0) size 57x19
             text run at (78,0) width 57: "PASSED"
-      LayoutText {#text} at (134,0) size 5x19
-        text run at (134,0) width 5: "."
+      LayoutText {#text} at (135,0) size 4x19
+        text run at (135,0) width 4: "."
     LayoutBlockFlow {p} at (0,52) size 800x20
       LayoutText {#text} at (0,0) size 420x19
         text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-169-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-169-expected.txt
index 0540bc6..d7c9d1ed 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-169-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-169-expected.txt
@@ -9,8 +9,8 @@
         LayoutInline {<pseudo:after>} at (0,0) size 57x19 [bgcolor=#00FF00]
           LayoutTextFragment (anonymous) at (78,0) size 57x19
             text run at (78,0) width 57: "PASSED"
-      LayoutText {#text} at (134,0) size 5x19
-        text run at (134,0) width 5: "."
+      LayoutText {#text} at (135,0) size 4x19
+        text run at (135,0) width 4: "."
     LayoutBlockFlow {p} at (0,52) size 800x20
       LayoutText {#text} at (0,0) size 420x19
         text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-169a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-169a-expected.txt
index 0540bc6..d7c9d1ed 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-169a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-169a-expected.txt
@@ -9,8 +9,8 @@
         LayoutInline {<pseudo:after>} at (0,0) size 57x19 [bgcolor=#00FF00]
           LayoutTextFragment (anonymous) at (78,0) size 57x19
             text run at (78,0) width 57: "PASSED"
-      LayoutText {#text} at (134,0) size 5x19
-        text run at (134,0) width 5: "."
+      LayoutText {#text} at (135,0) size 4x19
+        text run at (135,0) width 4: "."
     LayoutBlockFlow {p} at (0,52) size 800x20
       LayoutText {#text} at (0,0) size 420x19
         text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-17-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-17-expected.png
index 5ba067b..fa41631 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-17-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-17-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-17-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-17-expected.txt
index 2b04c26..861c0fe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-17-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-17-expected.txt
@@ -3,7 +3,7 @@
 layer at (0,0) size 800x52
   LayoutBlockFlow {test} at (0,0) size 800x52
     LayoutBlockFlow {p} at (0,16) size 800x20
-      LayoutInline {a} at (0,0) size 360x19 [color=#551A8B] [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 360x19
-          text run at (0,0) width 360: "You should see a green background assigned by the anchor."
+      LayoutInline {a} at (0,0) size 359x19 [color=#551A8B] [bgcolor=#00FF00]
+        LayoutText {#text} at (0,0) size 359x19
+          text run at (0,0) width 359: "You should see a green background assigned by the anchor."
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18-expected.png
index fbe7142..edd9e0f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18-expected.txt
index b9f739ed..2ea77cd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18-expected.txt
@@ -9,27 +9,27 @@
       LayoutInline {strong} at (0,0) size 30x19
         LayoutText {#text} at (642,0) size 30x19
           text run at (642,0) width 30: "here"
-      LayoutText {#text} at (671,0) size 782x39
-        text run at (671,0) width 111: ") or its whitespace"
+      LayoutText {#text} at (672,0) size 782x39
+        text run at (672,0) width 110: ") or its whitespace"
         text run at (0,20) width 80: "background, "
       LayoutInline {strong} at (0,0) size 30x19
         LayoutText {#text} at (80,20) size 30x19
           text run at (80,20) width 30: "here"
-      LayoutText {#text} at (109,20) size 4x19
-        text run at (109,20) width 4: ":"
+      LayoutText {#text} at (110,20) size 3x19
+        text run at (110,20) width 3: ":"
     LayoutBlockFlow {address} at (0,72) size 800x20
-      LayoutText {#text} at (0,0) size 163x19
-        text run at (0,0) width 163: "The background color of "
-      LayoutInline {a} at (0,0) size 116x19 [color=#0000EE]
-        LayoutText {#text} at (162,0) size 82x19
-          text run at (162,0) width 82: "this anchor ("
-        LayoutInline {strong} at (0,0) size 30x19
-          LayoutText {#text} at (243,0) size 30x19
-            text run at (243,0) width 30: "here"
-        LayoutText {#text} at (272,0) size 6x19
-          text run at (272,0) width 6: ")"
-      LayoutText {#text} at (277,0) size 395x19
-        text run at (277,0) width 395: " should turn to green when the pointing device hovers over it."
+      LayoutText {#text} at (0,0) size 162x19
+        text run at (0,0) width 162: "The background color of "
+      LayoutInline {a} at (0,0) size 115x19 [color=#0000EE]
+        LayoutText {#text} at (162,0) size 81x19
+          text run at (162,0) width 81: "this anchor ("
+        LayoutInline {strong} at (0,0) size 29x19
+          LayoutText {#text} at (243,0) size 29x19
+            text run at (243,0) width 29: "here"
+        LayoutText {#text} at (272,0) size 5x19
+          text run at (272,0) width 5: ")"
+      LayoutText {#text} at (277,0) size 394x19
+        text run at (277,0) width 394: " should turn to green when the pointing device hovers over it."
     LayoutTable {table} at (0,92) size 264x194
       LayoutTableSection {tbody} at (0,0) size 264x194
         LayoutTableRow {tr} at (0,5) size 264x22
@@ -62,8 +62,8 @@
             LayoutInline {strong} at (0,0) size 30x19
               LayoutText {#text} at (39,1) size 30x19
                 text run at (39,1) width 30: "here"
-            LayoutText {#text} at (68,1) size 10x19
-              text run at (68,1) width 10: ")."
+            LayoutText {#text} at (69,1) size 9x19
+              text run at (69,1) width 9: ")."
           LayoutTableCell {td} at (167,69) size 92x2 [r=2 c=2 rs=1 cs=1]
         LayoutTableRow {tr} at (0,86) size 264x22
           LayoutTableCell {td} at (5,86) size 73x22 [r=3 c=0 rs=1 cs=1]
@@ -95,8 +95,8 @@
             LayoutInline {strong} at (0,0) size 35x19
               LayoutText {#text} at (31,1) size 35x19
                 text run at (31,1) width 35: "there"
-            LayoutText {#text} at (65,1) size 4x19
-              text run at (65,1) width 4: ":"
+            LayoutText {#text} at (66,1) size 3x19
+              text run at (66,1) width 3: ":"
           LayoutTableCell {td} at (167,150) size 92x2 [r=5 c=2 rs=1 cs=1]
         LayoutTableRow {tr} at (0,167) size 264x22
           LayoutTableCell {td} at (5,167) size 73x22 [r=6 c=0 rs=1 cs=1]
@@ -105,8 +105,8 @@
             LayoutInline {strong} at (0,0) size 30x19
               LayoutText {#text} at (31,1) size 30x19
                 text run at (31,1) width 30: "here"
-            LayoutText {#text} at (60,1) size 4x19
-              text run at (60,1) width 4: ":"
+            LayoutText {#text} at (61,1) size 3x19
+              text run at (61,1) width 3: ":"
           LayoutTableCell {td} at (83,177) size 79x2 [r=6 c=1 rs=1 cs=1]
           LayoutTableCell {td} at (167,167) size 92x22 [r=6 c=2 rs=1 cs=1]
             LayoutText {#text} at (1,1) size 77x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18a-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18a-expected.png
index 0e550215..6f8f7a8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18a-expected.txt
index f1d90d24..a5c4138 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18a-expected.txt
@@ -11,10 +11,10 @@
         LayoutInline {strong} at (0,0) size 30x19
           LayoutText {#text} at (228,0) size 30x19
             text run at (228,0) width 30: "here"
-        LayoutText {#text} at (257,0) size 6x19
-          text run at (257,0) width 6: ")"
-      LayoutText {#text} at (262,0) size 366x19
-        text run at (262,0) width 366: " should turn to green when the pointing device hovers over it."
+        LayoutText {#text} at (258,0) size 5x19
+          text run at (258,0) width 5: ")"
+      LayoutText {#text} at (263,0) size 365x19
+        text run at (263,0) width 365: " should turn to green when the pointing device hovers over it."
     LayoutBlockFlow {p} at (0,52) size 800x20 [color=#000080]
       LayoutText {#text} at (0,0) size 154x19
         text run at (0,0) width 154: "The background color of "
@@ -24,15 +24,15 @@
         LayoutInline {strong} at (0,0) size 30x19
           LayoutText {#text} at (228,0) size 30x19
             text run at (228,0) width 30: "here"
-        LayoutText {#text} at (257,0) size 6x19
-          text run at (257,0) width 6: ")"
-      LayoutText {#text} at (262,0) size 48x19
-        text run at (262,0) width 48: " should "
-      LayoutInline {strong} at (0,0) size 210x19
-        LayoutText {#text} at (309,0) size 210x19
-          text run at (309,0) width 210: "remain green when you hover it"
-      LayoutText {#text} at (518,0) size 5x19
-        text run at (518,0) width 5: "."
+        LayoutText {#text} at (258,0) size 5x19
+          text run at (258,0) width 5: ")"
+      LayoutText {#text} at (263,0) size 47x19
+        text run at (263,0) width 47: " should "
+      LayoutInline {strong} at (0,0) size 209x19
+        LayoutText {#text} at (310,0) size 209x19
+          text run at (310,0) width 209: "remain green when you hover it"
+      LayoutText {#text} at (519,0) size 4x19
+        text run at (519,0) width 4: "."
     LayoutBlockFlow {p} at (0,88) size 800x40 [color=#000080]
       LayoutText {#text} at (0,0) size 154x19
         text run at (0,0) width 154: "The background color of "
@@ -42,13 +42,13 @@
         LayoutInline {strong} at (0,0) size 30x19
           LayoutText {#text} at (228,0) size 30x19
             text run at (228,0) width 30: "here"
-        LayoutText {#text} at (257,0) size 6x19
-          text run at (257,0) width 6: ")"
-      LayoutText {#text} at (262,0) size 48x19
-        text run at (262,0) width 48: " should "
-      LayoutInline {strong} at (0,0) size 352x19
-        LayoutText {#text} at (309,0) size 352x19
-          text run at (309,0) width 352: "remain green when the pointing device hovers over it"
-      LayoutText {#text} at (660,0) size 776x39
-        text run at (660,0) width 116: " (do not follow that"
+        LayoutText {#text} at (258,0) size 5x19
+          text run at (258,0) width 5: ")"
+      LayoutText {#text} at (263,0) size 47x19
+        text run at (263,0) width 47: " should "
+      LayoutInline {strong} at (0,0) size 351x19
+        LayoutText {#text} at (310,0) size 351x19
+          text run at (310,0) width 351: "remain green when the pointing device hovers over it"
+      LayoutText {#text} at (661,0) size 776x39
+        text run at (661,0) width 115: " (do not follow that"
         text run at (0,20) width 30: "link)."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18c-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18c-expected.txt
index 8a52bbf..52d8456 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-18c-expected.txt
@@ -9,10 +9,10 @@
         LayoutInline {strong} at (0,0) size 30x19
           LayoutText {#text} at (42,0) size 30x19
             text run at (42,0) width 30: "here"
-        LayoutText {#text} at (71,0) size 145x19
-          text run at (71,0) width 145: " and the background of "
-        LayoutInline {span} at (0,0) size 146x19
-          LayoutText {#text} at (215,0) size 146x19
-            text run at (215,0) width 146: "this text should go green"
-        LayoutText {#text} at (360,0) size 5x19
-          text run at (360,0) width 5: "."
+        LayoutText {#text} at (72,0) size 144x19
+          text run at (72,0) width 144: " and the background of "
+        LayoutInline {span} at (0,0) size 145x19
+          LayoutText {#text} at (216,0) size 145x19
+            text run at (216,0) width 145: "this text should go green"
+        LayoutText {#text} at (361,0) size 4x19
+          text run at (361,0) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-2-expected.png
index bc4cbcb7..68e52da 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-2-expected.txt
index 8d192f84..6a53011 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-2-expected.txt
@@ -3,5 +3,5 @@
 layer at (0,0) size 800x20
   LayoutBlockFlow {test} at (0,0) size 800x20
     LayoutBlockFlow {address} at (0,0) size 800x20 [bgcolor=#00FF00]
-      LayoutText {#text} at (0,0) size 351x19
-        text run at (0,0) width 351: "This address element should have a green background."
+      LayoutText {#text} at (0,0) size 349x19
+        text run at (0,0) width 349: "This address element should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-30-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-30-expected.txt
index 9969ac0..22428a6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-30-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-30-expected.txt
@@ -6,8 +6,8 @@
       LayoutText {#text} at (0,0) size 311x19
         text run at (0,0) width 311: "This paragraph is here only to fill space in the DOM"
     LayoutBlockFlow {address} at (0,52) size 800x20
-      LayoutText {#text} at (0,0) size 139x19
-        text run at (0,0) width 139: "And this address too.."
+      LayoutText {#text} at (0,0) size 138x19
+        text run at (0,0) width 138: "And this address too.."
     LayoutBlockFlow {p} at (0,88) size 800x20
       LayoutText {#text} at (0,0) size 148x19
         text run at (0,0) width 148: "So does this paragraph !"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-31-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-31-expected.png
index 8ab3e3cd..53922fbf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-31-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-31-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-31-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-31-expected.txt
index 6769a60..2bab9e8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-31-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-31-expected.txt
@@ -6,8 +6,8 @@
       LayoutText {#text} at (0,0) size 278x19
         text run at (0,0) width 278: "This paragraph should have green background"
     LayoutBlockFlow {address} at (0,52) size 800x20
-      LayoutText {#text} at (0,0) size 336x19
-        text run at (0,0) width 336: "But this address is here only to fill space in the dom.."
+      LayoutText {#text} at (0,0) size 335x19
+        text run at (0,0) width 335: "But this address is here only to fill space in the dom.."
     LayoutBlockFlow {p} at (0,88) size 800x20
       LayoutText {#text} at (0,0) size 148x19
         text run at (0,0) width 148: "So does this paragraph !"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-34-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-34-expected.png
index c4f81c01..65a8bb80 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-34-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-34-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-34-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-34-expected.txt
index 1151d5d..1c11bb1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-34-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-34-expected.txt
@@ -7,11 +7,11 @@
         LayoutText {#text} at (0,0) size 179x19
           text run at (0,0) width 179: "This div contains 3 addresses:"
       LayoutBlockFlow {address} at (16,20) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 336x19
-          text run at (0,0) width 336: "A first address that should have a green background"
+        LayoutText {#text} at (0,0) size 334x19
+          text run at (0,0) width 334: "A first address that should have a green background"
       LayoutBlockFlow {address} at (16,56) size 784x20
-        LayoutText {#text} at (0,0) size 273x19
-          text run at (0,0) width 273: "A second address with normal background"
+        LayoutText {#text} at (0,0) size 272x19
+          text run at (0,0) width 272: "A second address with normal background"
       LayoutBlockFlow {address} at (16,92) size 784x20
-        LayoutText {#text} at (0,0) size 260x19
-          text run at (0,0) width 260: "A third address with normal background"
+        LayoutText {#text} at (0,0) size 258x19
+          text run at (0,0) width 258: "A third address with normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-35-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-35-expected.png
index 87c6fc6..35ada5ad 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-35-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-35-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-35-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-35-expected.txt
index 83d765a..c8ac224 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-35-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-35-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {test} at (0,0) size 800x128
     LayoutBlockFlow {div} at (0,0) size 800x128
       LayoutBlockFlow {address} at (16,0) size 784x20
-        LayoutText {#text} at (0,0) size 255x19
-          text run at (0,0) width 255: "A first address with normal background"
+        LayoutText {#text} at (0,0) size 254x19
+          text run at (0,0) width 254: "A first address with normal background"
       LayoutBlockFlow {address} at (16,36) size 784x20
-        LayoutText {#text} at (0,0) size 273x19
-          text run at (0,0) width 273: "A second address with normal background"
+        LayoutText {#text} at (0,0) size 272x19
+          text run at (0,0) width 272: "A second address with normal background"
       LayoutBlockFlow {address} at (16,72) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 340x19
-          text run at (0,0) width 340: "A third address that should have a green background"
+        LayoutText {#text} at (0,0) size 338x19
+          text run at (0,0) width 338: "A third address that should have a green background"
       LayoutBlockFlow (anonymous) at (0,108) size 800x20
         LayoutText {#text} at (0,0) size 301x19
           text run at (0,0) width 301: "This div contains 3 addresses above this sentence."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-37-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-37-expected.png
index 25e1fe3..07dd8ce 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-37-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-37-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-37-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-37-expected.txt
index 017244c4..354e0f7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-37-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-37-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 286x19
           text run at (0,0) width 286: "This paragraph should have normal background"
       LayoutBlockFlow {address} at (0,36) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 303x19
-          text run at (0,0) width 303: "But this address should have green background"
+        LayoutText {#text} at (0,0) size 301x19
+          text run at (0,0) width 301: "But this address should have green background"
       LayoutBlockFlow {p} at (0,72) size 800x20
         LayoutText {#text} at (0,0) size 286x19
           text run at (0,0) width 286: "This paragraph should have normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-39a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-39a-expected.txt
index bc6c8694..6cf9297 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-39a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-39a-expected.txt
@@ -10,7 +10,7 @@
         LayoutTextFragment (anonymous) at (0,0) size 0x0
       LayoutText {#text} at (19,13) size 785x223
         text run at (19,13) width 365: "his very long paragraph should have a big green first letter T. "
-        text run at (383,13) width 402: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
+        text run at (384,13) width 401: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
         text run at (0,37) width 776: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy"
         text run at (0,57) width 755: "text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
         text run at (0,77) width 776: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41-expected.png
index 6f4a5576..3185fde 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41-expected.txt
index 0114f5b..6090d1a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x52
   LayoutBlockFlow {test} at (0,0) size 800x52
     LayoutBlockFlow {p} at (0,16) size 800x20
-      LayoutInline {<pseudo:before>} at (0,0) size 172x19 [bgcolor=#00FF00]
-        LayoutTextFragment (anonymous) at (0,0) size 172x19
-          text run at (0,0) width 172: "GENERATED CONTENT "
-      LayoutText {#text} at (171,0) size 603x19
-        text run at (171,0) width 603: "You should see before this paragraph the words GENERATED CONTENT over green background"
+      LayoutInline {<pseudo:before>} at (0,0) size 171x19 [bgcolor=#00FF00]
+        LayoutTextFragment (anonymous) at (0,0) size 171x19
+          text run at (0,0) width 171: "GENERATED CONTENT "
+      LayoutText {#text} at (171,0) size 602x19
+        text run at (171,0) width 602: "You should see before this paragraph the words GENERATED CONTENT over green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41a-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41a-expected.png
index 6f4a5576..3185fde 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41a-expected.txt
index 0114f5b..6090d1a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-41a-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x52
   LayoutBlockFlow {test} at (0,0) size 800x52
     LayoutBlockFlow {p} at (0,16) size 800x20
-      LayoutInline {<pseudo:before>} at (0,0) size 172x19 [bgcolor=#00FF00]
-        LayoutTextFragment (anonymous) at (0,0) size 172x19
-          text run at (0,0) width 172: "GENERATED CONTENT "
-      LayoutText {#text} at (171,0) size 603x19
-        text run at (171,0) width 603: "You should see before this paragraph the words GENERATED CONTENT over green background"
+      LayoutInline {<pseudo:before>} at (0,0) size 171x19 [bgcolor=#00FF00]
+        LayoutTextFragment (anonymous) at (0,0) size 171x19
+          text run at (0,0) width 171: "GENERATED CONTENT "
+      LayoutText {#text} at (171,0) size 602x19
+        text run at (171,0) width 602: "You should see before this paragraph the words GENERATED CONTENT over green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42-expected.png
index 3f579c5..d2e3c4e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42-expected.txt
index 56c6de7a..7b341ea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x52
   LayoutBlockFlow {test} at (0,0) size 800x52
     LayoutBlockFlow {p} at (0,16) size 800x20
-      LayoutText {#text} at (0,0) size 591x19
-        text run at (0,0) width 591: "You should see after this paragraph the words GENERATED CONTENT over green background"
-      LayoutInline {<pseudo:after>} at (0,0) size 168x19 [bgcolor=#00FF00]
-        LayoutTextFragment (anonymous) at (590,0) size 168x19
-          text run at (590,0) width 168: "GENERATED CONTENT"
+      LayoutText {#text} at (0,0) size 590x19
+        text run at (0,0) width 590: "You should see after this paragraph the words GENERATED CONTENT over green background"
+      LayoutInline {<pseudo:after>} at (0,0) size 167x19 [bgcolor=#00FF00]
+        LayoutTextFragment (anonymous) at (590,0) size 167x19
+          text run at (590,0) width 167: "GENERATED CONTENT"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42a-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42a-expected.png
index 3f579c5..d2e3c4e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42a-expected.txt
index 56c6de7a..7b341ea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-42a-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x52
   LayoutBlockFlow {test} at (0,0) size 800x52
     LayoutBlockFlow {p} at (0,16) size 800x20
-      LayoutText {#text} at (0,0) size 591x19
-        text run at (0,0) width 591: "You should see after this paragraph the words GENERATED CONTENT over green background"
-      LayoutInline {<pseudo:after>} at (0,0) size 168x19 [bgcolor=#00FF00]
-        LayoutTextFragment (anonymous) at (590,0) size 168x19
-          text run at (590,0) width 168: "GENERATED CONTENT"
+      LayoutText {#text} at (0,0) size 590x19
+        text run at (0,0) width 590: "You should see after this paragraph the words GENERATED CONTENT over green background"
+      LayoutInline {<pseudo:after>} at (0,0) size 167x19 [bgcolor=#00FF00]
+        LayoutTextFragment (anonymous) at (590,0) size 167x19
+          text run at (590,0) width 167: "GENERATED CONTENT"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45-expected.png
index 9f31681..2ca693e9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45-expected.txt
index 4bd6ca1..a9121d0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45-expected.txt
@@ -13,8 +13,8 @@
         LayoutText {#text} at (0,0) size 307x19
           text run at (0,0) width 307: "And this one should also have a green background."
       LayoutBlockFlow {address} at (0,108) size 800x20
-        LayoutText {#text} at (0,0) size 438x19
-          text run at (0,0) width 438: "This address is only here to fill some space between two paragraphs."
+        LayoutText {#text} at (0,0) size 437x19
+          text run at (0,0) width 437: "This address is only here to fill some space between two paragraphs."
       LayoutBlockFlow {p} at (0,144) size 800x20
         LayoutText {#text} at (0,0) size 209x19
           text run at (0,0) width 209: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45b-expected.png
index aea64ddb..f93f27b3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45b-expected.txt
index 7b08de74..b2fff9d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-45b-expected.txt
@@ -13,8 +13,8 @@
         LayoutText {#text} at (0,0) size 223x19
           text run at (0,0) width 223: "And this one should also be unstyled."
       LayoutBlockFlow {address} at (0,108) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 679x19
-          text run at (0,0) width 679: "This address is only here to fill some space between two paragraphs and should have a green background."
+        LayoutText {#text} at (0,0) size 677x19
+          text run at (0,0) width 677: "This address is only here to fill some space between two paragraphs and should have a green background."
       LayoutBlockFlow {p} at (0,144) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 317x19
           text run at (0,0) width 317: "This paragraph should have a green background too."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46-expected.png
index bf7ccd39..203e55c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46-expected.txt
index 1478b28..2139a900 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46-expected.txt
@@ -13,8 +13,8 @@
         LayoutText {#text} at (0,0) size 303x19
           text run at (0,0) width 303: "And this one should also have a green background"
       LayoutBlockFlow {address} at (0,108) size 800x20
-        LayoutText {#text} at (0,0) size 434x19
-          text run at (0,0) width 434: "This address is only here to fill some space between two paragraphs"
+        LayoutText {#text} at (0,0) size 433x19
+          text run at (0,0) width 433: "This address is only here to fill some space between two paragraphs"
       LayoutBlockFlow {p} at (0,144) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 289x19
           text run at (0,0) width 289: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46b-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46b-expected.png
index bf7ccd39..203e55c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46b-expected.txt
index 1478b28..2139a900 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-46b-expected.txt
@@ -13,8 +13,8 @@
         LayoutText {#text} at (0,0) size 303x19
           text run at (0,0) width 303: "And this one should also have a green background"
       LayoutBlockFlow {address} at (0,108) size 800x20
-        LayoutText {#text} at (0,0) size 434x19
-          text run at (0,0) width 434: "This address is only here to fill some space between two paragraphs"
+        LayoutText {#text} at (0,0) size 433x19
+          text run at (0,0) width 433: "This address is only here to fill some space between two paragraphs"
       LayoutBlockFlow {p} at (0,144) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 289x19
           text run at (0,0) width 289: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-47-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-47-expected.png
index 2e4138a..3b0c7fd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-47-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-47-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-47-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-47-expected.txt
index 43619156..80e5681 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-47-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-47-expected.txt
@@ -9,8 +9,8 @@
             text run at (0,0) width 351: "The text in this paragraph should have a green background"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {address} at (16,36) size 768x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 293x19
-          text run at (0,0) width 293: "This address should have a green background"
+        LayoutText {#text} at (0,0) size 291x19
+          text run at (0,0) width 291: "This address should have a green background"
       LayoutBlockFlow {q} at (16,72) size 768x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 412x19
           text run at (0,0) width 412: "This element in another namespace should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-48-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-48-expected.png
index d7bc30a..4d71360 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-48-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-48-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-48-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-48-expected.txt
index 246b10d..8fb6916 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-48-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-48-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {test} at (0,0) size 800x144
     LayoutBlockFlow {div} at (0,0) size 800x128
       LayoutBlockFlow {address} at (0,0) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 293x19
-          text run at (0,0) width 293: "This address should have a green background"
+        LayoutText {#text} at (0,0) size 291x19
+          text run at (0,0) width 291: "This address should have a green background"
       LayoutBlockFlow {s} at (0,36) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 289x19
           text run at (0,0) width 289: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-49-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-49-expected.png
index d7bc30a..4d71360 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-49-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-49-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-49-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-49-expected.txt
index 246b10d..8fb6916 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-49-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-49-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {test} at (0,0) size 800x144
     LayoutBlockFlow {div} at (0,0) size 800x128
       LayoutBlockFlow {address} at (0,0) size 800x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 293x19
-          text run at (0,0) width 293: "This address should have a green background"
+        LayoutText {#text} at (0,0) size 291x19
+          text run at (0,0) width 291: "This address should have a green background"
       LayoutBlockFlow {s} at (0,36) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 289x19
           text run at (0,0) width 289: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-6-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-6-expected.png
index 52955d4..97c24ef 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-6-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-6-expected.txt
index 43ea019a..070db72 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-6-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-6-expected.txt
@@ -7,7 +7,7 @@
         LayoutText {#text} at (0,0) size 104x19
           text run at (0,0) width 104: "This line should "
       LayoutText {#text} at (0,0) size 0x0
-      LayoutInline {span} at (0,0) size 167x19
-        LayoutText {#text} at (104,0) size 167x19
-          text run at (104,0) width 167: "have a green background."
+      LayoutInline {span} at (0,0) size 166x19
+        LayoutText {#text} at (104,0) size 166x19
+          text run at (104,0) width 166: "have a green background."
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-7-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-7-expected.png
index 78e945b..5722f77 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-7-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-7-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-7-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-7-expected.txt
index 7a65540e..12d81a9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-7-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-7-expected.txt
@@ -7,13 +7,13 @@
         text run at (0,0) width 388: "This paragraph should have green background because CLASS "
         text run at (388,0) width 71: "contains \"b\""
     LayoutBlockFlow {address} at (0,52) size 800x20 [bgcolor=#00FF00]
-      LayoutInline {span} at (0,0) size 156x19
-        LayoutText {#text} at (0,0) size 156x19
-          text run at (0,0) width 156: "This address should also"
-      LayoutText {#text} at (155,0) size 5x19
-        text run at (155,0) width 5: " "
-      LayoutInline {span} at (0,0) size 607x19
-        LayoutText {#text} at (159,0) size 607x19
-          text run at (159,0) width 356: "have green background because the selector in the last "
-          text run at (514,0) width 252: "rule does not apply to the inner SPANs."
+      LayoutInline {span} at (0,0) size 155x19
+        LayoutText {#text} at (0,0) size 155x19
+          text run at (0,0) width 155: "This address should also"
+      LayoutText {#text} at (155,0) size 4x19
+        text run at (155,0) width 4: " "
+      LayoutInline {span} at (0,0) size 605x19
+        LayoutText {#text} at (159,0) size 605x19
+          text run at (159,0) width 354: "have green background because the selector in the last "
+          text run at (513,0) width 251: "rule does not apply to the inner SPANs."
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-75-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-75-expected.txt
index ee82824..3401b12 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-75-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-75-expected.txt
@@ -6,8 +6,8 @@
       LayoutText {#text} at (0,0) size 278x19
         text run at (0,0) width 278: "This paragraph should have green background"
     LayoutBlockFlow {address} at (0,52) size 800x20
-      LayoutText {#text} at (0,0) size 232x19
-        text run at (0,0) width 232: "And this address should be unstyled."
+      LayoutText {#text} at (0,0) size 231x19
+        text run at (0,0) width 231: "And this address should be unstyled."
     LayoutBlockFlow {p} at (0,88) size 800x20 [bgcolor=#00FF00]
       LayoutText {#text} at (0,0) size 311x19
         text run at (0,0) width 311: "This paragraph should also have green background!"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-75b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-75b-expected.txt
index ee82824..3401b12 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-75b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-75b-expected.txt
@@ -6,8 +6,8 @@
       LayoutText {#text} at (0,0) size 278x19
         text run at (0,0) width 278: "This paragraph should have green background"
     LayoutBlockFlow {address} at (0,52) size 800x20
-      LayoutText {#text} at (0,0) size 232x19
-        text run at (0,0) width 232: "And this address should be unstyled."
+      LayoutText {#text} at (0,0) size 231x19
+        text run at (0,0) width 231: "And this address should be unstyled."
     LayoutBlockFlow {p} at (0,88) size 800x20 [bgcolor=#00FF00]
       LayoutText {#text} at (0,0) size 311x19
         text run at (0,0) width 311: "This paragraph should also have green background!"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-76-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-76-expected.txt
index a593675..8663702 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-76-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-76-expected.txt
@@ -6,8 +6,8 @@
       LayoutText {#text} at (0,0) size 209x19
         text run at (0,0) width 209: "This paragraph should be unstyled."
     LayoutBlockFlow {address} at (0,52) size 800x20
-      LayoutText {#text} at (0,0) size 206x19
-        text run at (0,0) width 206: "This address should be unstyled."
+      LayoutText {#text} at (0,0) size 205x19
+        text run at (0,0) width 205: "This address should be unstyled."
     LayoutBlockFlow {p} at (0,88) size 800x20 [bgcolor=#00FF00]
       LayoutText {#text} at (0,0) size 282x19
         text run at (0,0) width 282: "This paragraph should have green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-76b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-76b-expected.txt
index a593675..8663702 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-76b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-76b-expected.txt
@@ -6,8 +6,8 @@
       LayoutText {#text} at (0,0) size 209x19
         text run at (0,0) width 209: "This paragraph should be unstyled."
     LayoutBlockFlow {address} at (0,52) size 800x20
-      LayoutText {#text} at (0,0) size 206x19
-        text run at (0,0) width 206: "This address should be unstyled."
+      LayoutText {#text} at (0,0) size 205x19
+        text run at (0,0) width 205: "This address should be unstyled."
     LayoutBlockFlow {p} at (0,88) size 800x20 [bgcolor=#00FF00]
       LayoutText {#text} at (0,0) size 282x19
         text run at (0,0) width 282: "This paragraph should have green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-79-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-79-expected.png
index 8d736c8..bb6bade 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-79-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-79-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-79-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-79-expected.txt
index 11d962b..32385d5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-79-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-79-expected.txt
@@ -7,11 +7,11 @@
         LayoutText {#text} at (0,0) size 183x19
           text run at (0,0) width 183: "This div contains 3 addresses :"
       LayoutBlockFlow {address} at (16,20) size 784x20
-        LayoutText {#text} at (0,0) size 255x19
-          text run at (0,0) width 255: "A first address with normal background"
+        LayoutText {#text} at (0,0) size 254x19
+          text run at (0,0) width 254: "A first address with normal background"
       LayoutBlockFlow {address} at (16,56) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 354x19
-          text run at (0,0) width 354: "A second address that should have a green background"
+        LayoutText {#text} at (0,0) size 352x19
+          text run at (0,0) width 352: "A second address that should have a green background"
       LayoutBlockFlow {address} at (16,92) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 340x19
-          text run at (0,0) width 340: "A third address that should have a green background"
+        LayoutText {#text} at (0,0) size 338x19
+          text run at (0,0) width 338: "A third address that should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-8-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-8-expected.png
index 3dfa659..75cf239b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-8-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-8-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-8-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-8-expected.txt
index cea3aadd..2f6bf99 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-8-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-8-expected.txt
@@ -6,13 +6,13 @@
       LayoutText {#text} at (0,0) size 466x19
         text run at (0,0) width 466: "This paragraph should have green background because its language is \"en-gb\""
     LayoutBlockFlow {address} at (0,52) size 800x20 [bgcolor=#00FF00]
-      LayoutInline {span} at (0,0) size 156x19
-        LayoutText {#text} at (0,0) size 156x19
-          text run at (0,0) width 156: "This address should also"
-      LayoutText {#text} at (155,0) size 5x19
-        text run at (155,0) width 5: " "
-      LayoutInline {span} at (0,0) size 511x19
-        LayoutText {#text} at (159,0) size 511x19
-          text run at (159,0) width 423: "have green background because the language of the inner SPANs "
-          text run at (581,0) width 89: "is not French."
+      LayoutInline {span} at (0,0) size 155x19
+        LayoutText {#text} at (0,0) size 155x19
+          text run at (0,0) width 155: "This address should also"
+      LayoutText {#text} at (155,0) size 4x19
+        text run at (155,0) width 4: " "
+      LayoutInline {span} at (0,0) size 509x19
+        LayoutText {#text} at (159,0) size 509x19
+          text run at (159,0) width 421: "have green background because the language of the inner SPANs "
+          text run at (580,0) width 88: "is not French."
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-80-expected.png b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-80-expected.png
index d51632b..81b0424 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-80-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-80-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-80-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-80-expected.txt
index 308e9b5..3db2b02 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-80-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-80-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {test} at (0,0) size 800x128
     LayoutBlockFlow {div} at (0,0) size 800x128
       LayoutBlockFlow {address} at (16,0) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 336x19
-          text run at (0,0) width 336: "A first address that should have a green background"
+        LayoutText {#text} at (0,0) size 334x19
+          text run at (0,0) width 334: "A first address that should have a green background"
       LayoutBlockFlow {address} at (16,36) size 784x20 [bgcolor=#00FF00]
-        LayoutText {#text} at (0,0) size 354x19
-          text run at (0,0) width 354: "A second address that should have a green background"
+        LayoutText {#text} at (0,0) size 352x19
+          text run at (0,0) width 352: "A second address that should have a green background"
       LayoutBlockFlow {address} at (16,72) size 784x20
-        LayoutText {#text} at (0,0) size 260x19
-          text run at (0,0) width 260: "A third address with normal background"
+        LayoutText {#text} at (0,0) size 258x19
+          text run at (0,0) width 258: "A third address with normal background"
       LayoutBlockFlow (anonymous) at (0,108) size 800x20
         LayoutText {#text} at (0,0) size 276x19
           text run at (0,0) width 276: "This div should have three addresses above it."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-82-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-82-expected.txt
index e7367e1..eb15464 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-82-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-82-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 282x19
           text run at (0,0) width 282: "This paragraph should have green background."
       LayoutBlockFlow {address} at (0,36) size 800x20
-        LayoutText {#text} at (0,0) size 228x19
-          text run at (0,0) width 228: "But this address should be unstyled."
+        LayoutText {#text} at (0,0) size 227x19
+          text run at (0,0) width 227: "But this address should be unstyled."
       LayoutBlockFlow {p} at (0,72) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 282x19
           text run at (0,0) width 282: "This paragraph should have green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-82b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-82b-expected.txt
index e7367e1..eb15464 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-82b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css3/selectors3/xml/css3-modsel-82b-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 282x19
           text run at (0,0) width 282: "This paragraph should have green background."
       LayoutBlockFlow {address} at (0,36) size 800x20
-        LayoutText {#text} at (0,0) size 228x19
-          text run at (0,0) width 228: "But this address should be unstyled."
+        LayoutText {#text} at (0,0) size 227x19
+          text run at (0,0) width 227: "But this address should be unstyled."
       LayoutBlockFlow {p} at (0,72) size 800x20 [bgcolor=#00FF00]
         LayoutText {#text} at (0,0) size 282x19
           text run at (0,0) width 282: "This paragraph should have green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-color-003-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-color-003-expected.txt
index 06f123b..3d71ec0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-color-003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-color-003-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 730x19
           text run at (0,0) width 565: "Test passes if, when the text area below is focused for editing, the text insertion caret is green, "
-          text run at (564,0) width 166: "like the text in that textarea."
+          text run at (565,0) width 165: "like the text in that textarea."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 416x19
           text run at (0,0) width 416: "The shape of the caret, and whether it flashes, are not part of the test."
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-color-004-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-color-004-expected.txt
index 79b31495d..c326c0e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-color-004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-color-004-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 743x39
           text run at (0,0) width 598: "Test passes if, when the text area below is focused for editing, the text insertion caret is either black "
-          text run at (597,0) width 146: "or some other color that"
+          text run at (598,0) width 145: "or some other color that"
           text run at (0,20) width 213: "contrasts well with the background."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 416x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-color-005-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-color-005-expected.txt
index e4e4aaad..6e315ee7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-color-005-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-color-005-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 742x39
           text run at (0,0) width 597: "Test passes if, when the text area below is focused for editing, the text insertion caret is either white "
-          text run at (596,0) width 146: "or some other color that"
+          text run at (597,0) width 145: "or some other color that"
           text run at (0,20) width 213: "contrasts well with the background."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 416x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-position-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-position-expected.txt
index afded68..e750c923 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/caret/caret-position-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x22
       LayoutText {#text} at (0,1) size 297x19
         text run at (0,1) width 297: "This tests if the caret position is aligned correctly. "
-      LayoutTextControl {INPUT} at (296.95,0) size 205x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
+      LayoutTextControl {INPUT} at (297,0) size 205x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
       LayoutText {#text} at (0,0) size 0x0
 layer at (308,11) size 200x16
   LayoutBlockFlow {DIV} at (3,3) size 200x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/4922367-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/4922367-expected.txt
index d590db4..8db6571 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/4922367-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/4922367-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 757x39
+        LayoutText {#text} at (0,0) size 756x39
           text run at (0,0) width 369: "This tests selecting and deleting the paragraph before a table. "
-          text run at (369,0) width 388: "You should see only a table in the editable region below, with the"
+          text run at (369,0) width 387: "You should see only a table in the editable region below, with the"
           text run at (0,20) width 113: "caret just before it."
       LayoutBlockFlow {DIV} at (0,56) size 784x30
         LayoutBlockFlow {DIV} at (0,0) size 784x30
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/5369009-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/5369009-expected.png
index 4c9f269f..0051f12 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/5369009-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/5369009-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/5369009-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/5369009-expected.txt
index d06339db..e7f1c65 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/5369009-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/5369009-expected.txt
@@ -6,17 +6,17 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 749x39
           text run at (0,0) width 749: "This tests for a hang on delete where a style rule would cause style spans in content moved after the delete to be displayed as"
-          text run at (0,20) width 176: "blocks. You should see Hello"
-        LayoutInline {B} at (0,0) size 41x19
-          LayoutText {#text} at (175,20) size 41x19
-            text run at (175,20) width 41: "World"
-        LayoutText {#text} at (215,20) size 45x19
-          text run at (215,20) width 45: " below."
+          text run at (0,20) width 175: "blocks. You should see Hello"
+        LayoutInline {B} at (0,0) size 40x19
+          LayoutText {#text} at (175,20) size 40x19
+            text run at (175,20) width 40: "World"
+        LayoutText {#text} at (215,20) size 44x19
+          text run at (215,20) width 44: " below."
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutBlockFlow {DIV} at (0,0) size 784x20
           LayoutText {#text} at (0,0) size 32x19
             text run at (0,0) width 32: "Hello"
-          LayoutInline {SPAN} at (0,0) size 41x19
-            LayoutText {#text} at (32,0) size 41x19
-              text run at (32,0) width 41: "World"
+          LayoutInline {SPAN} at (0,0) size 40x19
+            LayoutText {#text} at (32,0) size 40x19
+              text run at (32,0) width 40: "World"
 caret: position 5 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/5483370-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/5483370-expected.txt
index e3bcefeb..dbcc950 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/5483370-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/5483370-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 784x39
           text run at (0,0) width 675: "This tests for a problem where empty table rows after the selection being deleted would be removed incorrectly. "
-          text run at (674,0) width 110: "Only the last letter"
+          text run at (675,0) width 109: "Only the last letter"
           text run at (0,20) width 268: "in 'foo' should be removed during this delete."
       LayoutBlockFlow {DIV} at (0,56) size 784x56
         LayoutTable {TABLE} at (0,0) size 28x56 [border: (1px outset #808080)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt
index c7eef70..5501a42 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt
@@ -13,11 +13,11 @@
           LayoutText {#text} at (0,0) size 64x26
             text run at (0,0) width 64: "Tests: "
           LayoutBR {BR} at (0,0) size 0x0
-          LayoutText {#text} at (0,27) size 623x27
-            text run at (0,27) width 623: "Delete at the end of document when there is a BR following a P. "
-          LayoutBR {BR} at (622,48) size 1x0
-          LayoutText {#text} at (0,55) size 436x27
-            text run at (0,55) width 436: "This is a test case for rdar://problem/4110366"
+          LayoutText {#text} at (0,27) size 622x27
+            text run at (0,27) width 622: "Delete at the end of document when there is a BR following a P. "
+          LayoutBR {BR} at (622,48) size 0x0
+          LayoutText {#text} at (0,55) size 435x27
+            text run at (0,55) width 435: "This is a test case for rdar://problem/4110366"
         LayoutBlockFlow {DIV} at (14,113) size 756x111
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
@@ -26,8 +26,8 @@
             text run at (0,27) width 237: "Red box with four lines. "
             text run at (237,27) width 475: "The second line is a nested red box with the word"
             text run at (0,55) width 79: "\"hello\". "
-            text run at (79,55) width 311: "The other three lines are empty. "
-          LayoutBR {BR} at (389,76) size 1x0
+            text run at (79,55) width 310: "The other three lines are empty. "
+          LayoutBR {BR} at (389,76) size 0x0
           LayoutText {#text} at (0,83) size 462x27
             text run at (0,83) width 462: "Selection is a caret at the start of the fourth line."
       LayoutBlockFlow {DIV} at (0,262) size 784x140 [border: (2px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/merge-endOfParagraph-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/merge-endOfParagraph-expected.png
index 4c4792b..76e9e4b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/merge-endOfParagraph-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/merge-endOfParagraph-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/merge-endOfParagraph-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/merge-endOfParagraph-expected.txt
index a4ba8f8..784a015 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/merge-endOfParagraph-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/merge-endOfParagraph-expected.txt
@@ -19,9 +19,9 @@
       LayoutBlockFlow {P} at (0,112) size 784x60
         LayoutText {#text} at (0,0) size 783x59
           text run at (0,0) width 296: "Fixing that bug exposed a problem with merging. "
-          text run at (295,0) width 488: "If deletion empties out the block that contained the start of the selection to delete,"
+          text run at (296,0) width 487: "If deletion empties out the block that contained the start of the selection to delete,"
           text run at (0,20) width 410: "that block can collapse away and become impossible to merge into. "
-          text run at (409,20) width 362: "So we insert a placeholder to prop it open so that the merge"
+          text run at (410,20) width 361: "So we insert a placeholder to prop it open so that the merge"
           text run at (0,40) width 73: "can happen."
       LayoutBlockFlow {DIV} at (5,188) size 774x34 [border: (1px solid #000000)]
         LayoutBlockFlow {DIV} at (6,6) size 762x22 [border: (1px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/merge-no-br-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/merge-no-br-expected.png
index d50984c..9de3ccc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/deleting/merge-no-br-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/deleting/merge-no-br-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/execCommand/4580583-1-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/execCommand/4580583-1-expected.txt
index 549ce56..683e533 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/execCommand/4580583-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/execCommand/4580583-1-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 752x39
+        LayoutText {#text} at (0,0) size 751x39
           text run at (0,0) width 455: "This tests to make sure that breaking a quoted list doesn't renumber the list. "
-          text run at (455,0) width 297: "You should see a list broken in two below, the list"
+          text run at (455,0) width 296: "You should see a list broken in two below, the list"
           text run at (0,20) width 159: "items numbered 1, 2, 3, 4."
       LayoutBlockFlow {DIV} at (0,56) size 784x132
         LayoutBlockFlow {BLOCKQUOTE} at (2,0) size 742x40 [color=#0000FF] [border: none (2px solid #0000FF)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/execCommand/4580583-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/execCommand/4580583-2-expected.txt
index 203278d..92242028 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/execCommand/4580583-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/execCommand/4580583-2-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 752x39
+        LayoutText {#text} at (0,0) size 751x39
           text run at (0,0) width 455: "This tests to make sure that breaking a quoted list doesn't renumber the list. "
-          text run at (455,0) width 297: "You should see a list broken in two below, the list"
+          text run at (455,0) width 296: "You should see a list broken in two below, the list"
           text run at (0,20) width 615: "items numbered 1, 2, 2, 3, 4. Two list items will be numbered '2' because the original item '2' was split."
       LayoutBlockFlow {DIV} at (0,56) size 784x152
         LayoutBlockFlow {BLOCKQUOTE} at (2,0) size 742x40 [color=#0000FF] [border: none (2px solid #0000FF)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt
index 1920c6a..849874d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt
@@ -41,9 +41,9 @@
     LayoutText {#text} at (1,201) size 16x19
       text run at (1,201) width 16: "10"
     LayoutBR {BR} at (17,201) size 0x19
-    LayoutText {#text} at (1,221) size 16x19
-      text run at (1,221) width 16: "11"
-    LayoutBR {BR} at (16,221) size 1x19
+    LayoutText {#text} at (1,221) size 15x19
+      text run at (1,221) width 15: "11"
+    LayoutBR {BR} at (16,221) size 0x19
     LayoutText {#text} at (1,241) size 16x19
       text run at (1,241) width 16: "12"
     LayoutBR {BR} at (17,241) size 0x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/5549929-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/5549929-2-expected.txt
index 78e0476..9967c3b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/5549929-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/5549929-2-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 763x39
+        LayoutText {#text} at (0,0) size 762x39
           text run at (0,0) width 591: "This tests to make sure that a br isn't inserted into a tab span during an InsertLineBreak operation. "
-          text run at (591,0) width 172: "You can test for its existence"
+          text run at (591,0) width 171: "You can test for its existence"
           text run at (0,20) width 357: "with the DOM inspector or you can look at the render tree."
       LayoutBlockFlow {DIV} at (0,56) size 784x40
         LayoutBlockFlow {DIV} at (0,0) size 784x40
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-3800346-fix-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-3800346-fix-expected.txt
index 6991776..1afbc1c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-3800346-fix-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-3800346-fix-expected.txt
@@ -23,11 +23,11 @@
       LayoutBlockFlow {DIV} at (0,0) size 784x244 [border: (2px solid #FF0000)]
         LayoutBlockFlow {DIV} at (14,14) size 756x216
           LayoutBlockFlow (anonymous) at (0,0) size 756x28
-            LayoutText {#text} at (0,0) size 40x27
-              text run at (0,0) width 40: "Test"
+            LayoutText {#text} at (0,0) size 39x27
+              text run at (0,0) width 39: "Test"
           LayoutBlockFlow {BLOCKQUOTE} at (40,52) size 676x28
-            LayoutText {#text} at (0,0) size 40x27
-              text run at (0,0) width 40: "Test"
+            LayoutText {#text} at (0,0) size 39x27
+              text run at (0,0) width 39: "Test"
           LayoutBlockFlow (anonymous) at (0,104) size 756x112
             LayoutBR {BR} at (0,0) size 0x27
             LayoutBR {BR} at (0,28) size 0x27
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-001-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-001-expected.txt
index 1675671..d31424d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-001-expected.txt
@@ -20,7 +20,7 @@
           LayoutBR {BR} at (189,21) size 0x0
           LayoutText {#text} at (0,27) size 350x19
             text run at (0,27) width 350: "Two blockquotes, with an unquoted blank line in between."
-          LayoutBR {BR} at (349,42) size 1x0
+          LayoutBR {BR} at (350,42) size 0x0
           LayoutText {#text} at (0,47) size 384x19
             text run at (0,47) width 384: "The first blockquote contains two lines, the second one is blank."
           LayoutBR {BR} at (384,62) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-002-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-002-expected.txt
index c01ca1e6..1ca13e5e5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-002-expected.txt
@@ -20,7 +20,7 @@
           LayoutBR {BR} at (189,21) size 0x0
           LayoutText {#text} at (0,27) size 350x19
             text run at (0,27) width 350: "Two blockquotes, with an unquoted blank line in between."
-          LayoutBR {BR} at (349,42) size 1x0
+          LayoutBR {BR} at (350,42) size 0x0
           LayoutText {#text} at (0,47) size 384x19
             text run at (0,47) width 384: "The first blockquote contains two lines, the second one is blank."
           LayoutBR {BR} at (384,62) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-003-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-003-expected.txt
index 5fde13f..22e02b3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-003-expected.txt
@@ -20,7 +20,7 @@
           LayoutBR {BR} at (189,21) size 0x0
           LayoutText {#text} at (0,27) size 350x19
             text run at (0,27) width 350: "Two blockquotes, with an unquoted blank line in between."
-          LayoutBR {BR} at (349,42) size 1x0
+          LayoutBR {BR} at (350,42) size 0x0
           LayoutText {#text} at (0,47) size 384x19
             text run at (0,47) width 384: "The first blockquote contains two lines, the second one is blank."
           LayoutBR {BR} at (384,62) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-004-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-004-expected.txt
index 0a1171a..c545761 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-004-expected.txt
@@ -20,7 +20,7 @@
           LayoutBR {BR} at (189,21) size 0x0
           LayoutText {#text} at (0,27) size 350x19
             text run at (0,27) width 350: "Two blockquotes, with an unquoted blank line in between."
-          LayoutBR {BR} at (349,42) size 1x0
+          LayoutBR {BR} at (350,42) size 0x0
           LayoutText {#text} at (0,47) size 384x19
             text run at (0,47) width 384: "The first blockquote contains two lines, the second one is blank."
           LayoutBR {BR} at (384,62) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-005-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-005-expected.txt
index c01ca1e6..1ca13e5e5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-005-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-005-expected.txt
@@ -20,7 +20,7 @@
           LayoutBR {BR} at (189,21) size 0x0
           LayoutText {#text} at (0,27) size 350x19
             text run at (0,27) width 350: "Two blockquotes, with an unquoted blank line in between."
-          LayoutBR {BR} at (349,42) size 1x0
+          LayoutBR {BR} at (350,42) size 0x0
           LayoutText {#text} at (0,47) size 384x19
             text run at (0,47) width 384: "The first blockquote contains two lines, the second one is blank."
           LayoutBR {BR} at (384,62) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-006-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-006-expected.txt
index a77f9fa8..15d4003a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-006-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/insert-br-quoted-006-expected.txt
@@ -20,7 +20,7 @@
           LayoutBR {BR} at (189,21) size 0x0
           LayoutText {#text} at (0,27) size 350x19
             text run at (0,27) width 350: "Two blockquotes, with an unquoted blank line in between."
-          LayoutBR {BR} at (349,42) size 1x0
+          LayoutBR {BR} at (350,42) size 0x0
           LayoutText {#text} at (0,47) size 384x19
             text run at (0,47) width 384: "The first blockquote contains two lines, the second one is blank."
           LayoutBR {BR} at (384,62) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4631972-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4631972-expected.txt
index 6533ae1..7b95fd0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4631972-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4631972-expected.txt
@@ -7,11 +7,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 609x39
+        LayoutText {#text} at (0,0) size 608x39
           text run at (0,0) width 400: "This tests pasting a fragment containing an <iframe> after a <div>. "
           text run at (400,0) width 202: "This used to fail on an assertion in"
           text run at (0,20) width 311: "moveParagraphContentsToNewBlockIfNecessary. "
-          text run at (310,20) width 299: "You should see 'foo' and then an <iframe> below."
+          text run at (311,20) width 297: "You should see 'foo' and then an <iframe> below."
       LayoutBlockFlow {DIV} at (0,56) size 784x72
         LayoutBlockFlow {DIV} at (0,0) size 784x20
           LayoutText {#text} at (0,0) size 20x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4806874-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4806874-expected.txt
index 9916d8d..c9f8ebf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4806874-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4806874-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 512x19
+        LayoutText {#text} at (0,0) size 511x19
           text run at (0,0) width 232: "This tests for an infinite loop on Paste. "
-          text run at (232,0) width 280: "You should see 'Hello: ' and then an input field."
+          text run at (232,0) width 279: "You should see 'Hello: ' and then an input field."
       LayoutBlockFlow {DIV} at (0,36) size 784x22
         LayoutText {#text} at (0,1) size 32x19
           text run at (0,1) width 32: "Hello"
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4947130-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4947130-expected.png
index 4bbc256..7f36175 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4947130-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4947130-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4947130-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4947130-expected.txt
index 4f5e70ec..2832c67a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4947130-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/4947130-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 756x39
+        LayoutText {#text} at (0,0) size 755x39
           text run at (0,0) width 465: "This tests to see if dragging an image is a move drag by default (it should be). "
-          text run at (465,0) width 291: "You should only see one picture and it should be"
+          text run at (465,0) width 290: "You should only see one picture and it should be"
           text run at (0,20) width 173: "somewhere near the middle. "
         LayoutInline {B} at (0,0) size 486x19
           LayoutText {#text} at (173,20) size 486x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5006779-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5006779-expected.txt
index 51633d7..19ae84c1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5006779-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5006779-expected.txt
@@ -14,8 +14,8 @@
           LayoutBR {BR} at (19,15) size 0x0
           LayoutBR {BR} at (0,20) size 0x19
         LayoutBlockFlow {BLOCKQUOTE} at (0,40) size 784x20 [color=#0000FF] [border: none (2px solid #0000FF)]
-          LayoutText {#text} at (12,0) size 155x19
-            text run at (12,0) width 155: "On Tuesday, Dave wrote:"
+          LayoutText {#text} at (12,0) size 154x19
+            text run at (12,0) width 154: "On Tuesday, Dave wrote:"
         LayoutBlockFlow {BLOCKQUOTE} at (0,60) size 784x20 [color=#0000FF] [border: none (2px solid #0000FF)]
           LayoutBR {BR} at (12,0) size 0x19
         LayoutBlockFlow {BLOCKQUOTE} at (0,80) size 784x20 [color=#0000FF] [border: none (2px solid #0000FF)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5134759-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5134759-expected.png
index fda3ecf..09f8ccb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5134759-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5134759-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5134759-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5134759-expected.txt
index 92a95f7..6616a821 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5134759-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5134759-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 614x19
+        LayoutText {#text} at (0,0) size 613x19
           text run at (0,0) width 479: "This tests for a hang when pasting underlined content at the end of a paragraph. "
-          text run at (479,0) width 135: "You should see 'Hello "
-        LayoutInline {U} at (0,0) size 44x19
-          LayoutText {#text} at (613,0) size 44x19
-            text run at (613,0) width 44: "World!"
-        LayoutText {#text} at (656,0) size 48x19
-          text run at (656,0) width 48: "' below."
+          text run at (479,0) width 134: "You should see 'Hello "
+        LayoutInline {U} at (0,0) size 43x19
+          LayoutText {#text} at (613,0) size 43x19
+            text run at (613,0) width 43: "World!"
+        LayoutText {#text} at (656,0) size 47x19
+          text run at (656,0) width 47: "' below."
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutBlockFlow {DIV} at (0,0) size 784x20
           LayoutText {#text} at (0,0) size 36x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5601583-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5601583-1-expected.png
index 7e224e4..48cff63 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5601583-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/5601583-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/bad-placeholder-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/bad-placeholder-expected.txt
index b5f3bf3..3748f30 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/bad-placeholder-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/bad-placeholder-expected.txt
@@ -8,13 +8,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 777x39
-          text run at (0,0) width 777: "This is a test to make sure that a placeholder, even one without our special class on it, is removed only when it has been collapsed"
+        LayoutText {#text} at (0,0) size 776x39
+          text run at (0,0) width 776: "This is a test to make sure that a placeholder, even one without our special class on it, is removed only when it has been collapsed"
           text run at (0,20) width 329: "away or when it has been displaced by pasted content."
       LayoutBlockFlow {P} at (0,56) size 784x40
         LayoutText {#text} at (0,0) size 775x39
           text run at (0,0) width 658: "Placeholders with our special class can, through bugs in deletion, be inserted into the document unnecessarily. "
-          text run at (657,0) width 118: "Once that happens,"
+          text run at (658,0) width 117: "Once that happens,"
           text run at (0,20) width 672: "we don't want to make matters worse by removing them if they are acting as line breaks instead of placeholders."
       LayoutBlockFlow {DIV} at (0,112) size 784x40
         LayoutText {#text} at (0,0) size 96x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/drop-text-without-selection-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/drop-text-without-selection-expected.png
index 6ef0cb2b..edef147 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/drop-text-without-selection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/drop-text-without-selection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/drop-text-without-selection-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/drop-text-without-selection-expected.txt
index f59d899..77542d3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/drop-text-without-selection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/drop-text-without-selection-expected.txt
@@ -9,16 +9,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 99x19
           text run at (0,0) width 99: "This is a test for "
-        LayoutInline {I} at (0,0) size 754x39
-          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
-            LayoutText {#text} at (99,0) size 350x19
-              text run at (99,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8394"
-          LayoutText {#text} at (448,0) size 754x39
-            text run at (448,0) width 5: " "
-            text run at (452,0) width 302: "Editable region does not accept dropped text if"
-            text run at (0,20) width 127: "there is no selection"
-        LayoutText {#text} at (126,20) size 5x19
-          text run at (126,20) width 5: "."
+        LayoutInline {I} at (0,0) size 752x39
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (99,0) size 349x19
+              text run at (99,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8394"
+          LayoutText {#text} at (448,0) size 752x39
+            text run at (448,0) width 4: " "
+            text run at (452,0) width 300: "Editable region does not accept dropped text if"
+            text run at (0,20) width 126: "there is no selection"
+        LayoutText {#text} at (126,20) size 4x19
+          text run at (126,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 625x19
           text run at (0,0) width 458: "The text field should accept drag-and-dropped text, such as the link, even if "
@@ -35,7 +35,7 @@
   LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (10,113) size 169x16
   LayoutBlockFlow {DIV} at (2,3) size 169x16
-    LayoutText {#text} at (0,0) size 119x16
-      text run at (0,0) width 119: "http://www.ibm.com/"
+    LayoutText {#text} at (0,0) size 118x16
+      text run at (0,0) width 118: "http://www.ibm.com/"
 selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 7 {INPUT} of body
 selection end:   position 19 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 7 {INPUT} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/merge-start-list-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/merge-start-list-expected.txt
index 99abc900..c04bce8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/merge-start-list-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/merge-start-list-expected.txt
@@ -10,9 +10,9 @@
         LayoutText {#text} at (0,0) size 639x19
           text run at (0,0) width 639: "This test makes sure that content inside a list in an incoming fragment isn't pulled out of the list during paste."
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutInline {B} at (0,0) size 249x19
-          LayoutText {#text} at (0,0) size 249x19
-            text run at (0,0) width 249: "You should see 'bar' inside a list item."
+        LayoutInline {B} at (0,0) size 248x19
+          LayoutText {#text} at (0,0) size 248x19
+            text run at (0,0) width 248: "You should see 'bar' inside a list item."
       LayoutBlockFlow {DIV} at (0,72) size 784x20
         LayoutBlockFlow {UL} at (0,0) size 784x20
           LayoutListItem {LI} at (40,0) size 744x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-001-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-001-expected.png
index 2e108e0..44a62f4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-001-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-001-expected.txt
index 7fd07e4..da0ecf9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-001-expected.txt
@@ -22,18 +22,18 @@
           LayoutBR {BR} at (0,0) size 0x0
           LayoutText {#text} at (0,27) size 158x27
             text run at (0,27) width 158: "Fix for this bug: "
-          LayoutInline {A} at (0,0) size 257x27 [color=#0000EE]
-            LayoutText {#text} at (158,27) size 257x27
-              text run at (158,27) width 257: "<rdar://problem/4045511>"
-          LayoutText {#text} at (414,27) size 694x55
-            text run at (414,27) width 280: " Copying and pasting end-of-"
+          LayoutInline {A} at (0,0) size 256x27 [color=#0000EE]
+            LayoutText {#text} at (158,27) size 256x27
+              text run at (158,27) width 256: "<rdar://problem/4045511>"
+          LayoutText {#text} at (414,27) size 693x55
+            text run at (414,27) width 279: " Copying and pasting end-of-"
             text run at (0,55) width 524: "paragraph selection puts insertion point in wrong place"
         LayoutBlockFlow {DIV} at (14,113) size 756x83
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
-          LayoutText {#text} at (0,27) size 745x55
-            text run at (0,27) width 745: "Should see two lines of text below, self-documenting themselves as \"line one\""
+          LayoutText {#text} at (0,27) size 744x55
+            text run at (0,27) width 744: "Should see two lines of text below, self-documenting themselves as \"line one\""
             text run at (0,55) width 655: "and \"line two\". The insertion point must be at the start of \"line two\"."
       LayoutBlockFlow {DIV} at (0,234) size 784x60
         LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-002-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-002-expected.png
index 2e108e0..44a62f4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-002-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-002-expected.txt
index 4abf904..69078614 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-002-expected.txt
@@ -22,18 +22,18 @@
           LayoutBR {BR} at (0,0) size 0x0
           LayoutText {#text} at (0,27) size 158x27
             text run at (0,27) width 158: "Fix for this bug: "
-          LayoutInline {A} at (0,0) size 257x27 [color=#0000EE]
-            LayoutText {#text} at (158,27) size 257x27
-              text run at (158,27) width 257: "<rdar://problem/4045511>"
-          LayoutText {#text} at (414,27) size 694x55
-            text run at (414,27) width 280: " Copying and pasting end-of-"
+          LayoutInline {A} at (0,0) size 256x27 [color=#0000EE]
+            LayoutText {#text} at (158,27) size 256x27
+              text run at (158,27) width 256: "<rdar://problem/4045511>"
+          LayoutText {#text} at (414,27) size 693x55
+            text run at (414,27) width 279: " Copying and pasting end-of-"
             text run at (0,55) width 524: "paragraph selection puts insertion point in wrong place"
         LayoutBlockFlow {DIV} at (14,113) size 756x83
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
-          LayoutText {#text} at (0,27) size 745x55
-            text run at (0,27) width 745: "Should see two lines of text below, self-documenting themselves as \"line one\""
+          LayoutText {#text} at (0,27) size 744x55
+            text run at (0,27) width 744: "Should see two lines of text below, self-documenting themselves as \"line one\""
             text run at (0,55) width 655: "and \"line two\". The insertion point must be at the start of \"line two\"."
       LayoutBlockFlow {DIV} at (0,234) size 784x60
         LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-003-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-003-expected.png
index 2e108e0..44a62f4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-003-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-003-expected.txt
index 7ada3b0..3a8b0342 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-003-expected.txt
@@ -22,18 +22,18 @@
           LayoutBR {BR} at (0,0) size 0x0
           LayoutText {#text} at (0,27) size 158x27
             text run at (0,27) width 158: "Fix for this bug: "
-          LayoutInline {A} at (0,0) size 257x27 [color=#0000EE]
-            LayoutText {#text} at (158,27) size 257x27
-              text run at (158,27) width 257: "<rdar://problem/4045511>"
-          LayoutText {#text} at (414,27) size 694x55
-            text run at (414,27) width 280: " Copying and pasting end-of-"
+          LayoutInline {A} at (0,0) size 256x27 [color=#0000EE]
+            LayoutText {#text} at (158,27) size 256x27
+              text run at (158,27) width 256: "<rdar://problem/4045511>"
+          LayoutText {#text} at (414,27) size 693x55
+            text run at (414,27) width 279: " Copying and pasting end-of-"
             text run at (0,55) width 524: "paragraph selection puts insertion point in wrong place"
         LayoutBlockFlow {DIV} at (14,113) size 756x83
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
-          LayoutText {#text} at (0,27) size 745x55
-            text run at (0,27) width 745: "Should see two lines of text below, self-documenting themselves as \"line one\""
+          LayoutText {#text} at (0,27) size 744x55
+            text run at (0,27) width 744: "Should see two lines of text below, self-documenting themselves as \"line one\""
             text run at (0,55) width 655: "and \"line two\". The insertion point must be at the start of \"line two\"."
       LayoutBlockFlow {DIV} at (0,234) size 784x60
         LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-004-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-004-expected.png
index 2e108e0..44a62f4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-004-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-004-expected.txt
index c0108be9..86de9b6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-004-expected.txt
@@ -22,18 +22,18 @@
           LayoutBR {BR} at (0,0) size 0x0
           LayoutText {#text} at (0,27) size 158x27
             text run at (0,27) width 158: "Fix for this bug: "
-          LayoutInline {A} at (0,0) size 257x27 [color=#0000EE]
-            LayoutText {#text} at (158,27) size 257x27
-              text run at (158,27) width 257: "<rdar://problem/4045511>"
-          LayoutText {#text} at (414,27) size 694x55
-            text run at (414,27) width 280: " Copying and pasting end-of-"
+          LayoutInline {A} at (0,0) size 256x27 [color=#0000EE]
+            LayoutText {#text} at (158,27) size 256x27
+              text run at (158,27) width 256: "<rdar://problem/4045511>"
+          LayoutText {#text} at (414,27) size 693x55
+            text run at (414,27) width 279: " Copying and pasting end-of-"
             text run at (0,55) width 524: "paragraph selection puts insertion point in wrong place"
         LayoutBlockFlow {DIV} at (14,113) size 756x83
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
-          LayoutText {#text} at (0,27) size 745x55
-            text run at (0,27) width 745: "Should see two lines of text below, self-documenting themselves as \"line one\""
+          LayoutText {#text} at (0,27) size 744x55
+            text run at (0,27) width 744: "Should see two lines of text below, self-documenting themselves as \"line one\""
             text run at (0,55) width 655: "and \"line two\". The insertion point must be at the start of \"line two\"."
       LayoutBlockFlow {DIV} at (0,234) size 784x60
         LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-005-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-005-expected.png
index 2e108e0..44a62f4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-005-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-005-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-005-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-005-expected.txt
index 9ad90d4..7341330 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-005-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/paste-line-endings-005-expected.txt
@@ -22,18 +22,18 @@
           LayoutBR {BR} at (0,0) size 0x0
           LayoutText {#text} at (0,27) size 158x27
             text run at (0,27) width 158: "Fix for this bug: "
-          LayoutInline {A} at (0,0) size 257x27 [color=#0000EE]
-            LayoutText {#text} at (158,27) size 257x27
-              text run at (158,27) width 257: "<rdar://problem/4045511>"
-          LayoutText {#text} at (414,27) size 694x55
-            text run at (414,27) width 280: " Copying and pasting end-of-"
+          LayoutInline {A} at (0,0) size 256x27 [color=#0000EE]
+            LayoutText {#text} at (158,27) size 256x27
+              text run at (158,27) width 256: "<rdar://problem/4045511>"
+          LayoutText {#text} at (414,27) size 693x55
+            text run at (414,27) width 279: " Copying and pasting end-of-"
             text run at (0,55) width 524: "paragraph selection puts insertion point in wrong place"
         LayoutBlockFlow {DIV} at (14,113) size 756x83
           LayoutText {#text} at (0,0) size 189x26
             text run at (0,0) width 189: "Expected Results: "
           LayoutBR {BR} at (189,21) size 0x0
-          LayoutText {#text} at (0,27) size 745x55
-            text run at (0,27) width 745: "Should see two lines of text below, self-documenting themselves as \"line one\""
+          LayoutText {#text} at (0,27) size 744x55
+            text run at (0,27) width 744: "Should see two lines of text below, self-documenting themselves as \"line one\""
             text run at (0,55) width 655: "and \"line two\". The insertion point must be at the start of \"line two\"."
       LayoutBlockFlow {DIV} at (0,234) size 784x60
         LayoutBlockFlow {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/pasting-tabs-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/pasting-tabs-expected.png
index f1164eb7..d4066ee2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/pasting-tabs-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/pasting-tabs-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/pasting-tabs-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/pasting-tabs-expected.txt
index 9fce26f..4003ec1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/pasting-tabs-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/pasting-tabs-expected.txt
@@ -18,11 +18,11 @@
       LayoutBlockFlow {DIV} at (0,92) size 784x20
         LayoutText {#text} at (0,0) size 38x19
           text run at (0,0) width 38: "Tab->"
-        LayoutInline {SPAN} at (0,0) size 27x19
-          LayoutText {#text} at (37,0) size 27x19
-            text run at (37,0) width 27: "\x{9}"
-        LayoutText {#text} at (63,0) size 39x19
-          text run at (63,0) width 39: "<-Tab"
+        LayoutInline {SPAN} at (0,0) size 26x19
+          LayoutText {#text} at (38,0) size 26x19
+            text run at (38,0) width 26: "\x{9}"
+        LayoutText {#text} at (64,0) size 38x19
+          text run at (64,0) width 38: "<-Tab"
 layer at (8,64) size 179x36 clip at (9,65) size 177x34
   LayoutTextControl {TEXTAREA} at (0,0) size 179x36 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
     LayoutBlockFlow {DIV} at (3,3) size 175x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/quirks-mode-br-1-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/quirks-mode-br-1-expected.txt
index 47beb5be..f88927d6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/quirks-mode-br-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/quirks-mode-br-1-expected.txt
@@ -11,7 +11,7 @@
         LayoutText {#text} at (0,0) size 782x39
           text run at (0,0) width 782: "This is a test to make sure that the final <br> in an incoming fragment is interpretted strictly in quirks mode (where brs at the end of"
           text run at (0,20) width 137: "blocks are collapsed). "
-          text run at (137,20) width 488: "This test used to fail because of unrendered content to the left of the collapsed br."
+          text run at (137,20) width 487: "This test used to fail because of unrendered content to the left of the collapsed br."
       LayoutBlockFlow {DIV} at (0,56) size 784x40
         LayoutBlockFlow {DIV} at (0,0) size 784x20
           LayoutText {#text} at (0,0) size 351x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/styled-element-markup-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/styled-element-markup-expected.png
index d3f0e111c..754f8531 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/styled-element-markup-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/styled-element-markup-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/4776665-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/4776665-expected.txt
index 0fb1069..3dba88f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/4776665-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/4776665-expected.txt
@@ -5,9 +5,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 556x19
+        LayoutText {#text} at (0,0) size 555x19
           text run at (0,0) width 206: "This tests for a caret painting bug. "
-          text run at (206,0) width 350: "You should not see a caret in the editable subframe below."
+          text run at (206,0) width 349: "You should not see a caret in the editable subframe below."
       LayoutBlockFlow (anonymous) at (0,36) size 784x154
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,44) size 304x154
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/4960137-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/4960137-expected.txt
index 359894bd..cc0edad9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/4960137-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/4960137-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 619x19
-          text run at (0,0) width 619: "This tests for an ASSERTion failure when setting the main frame's selection inside a node in a subframe."
+        LayoutText {#text} at (0,0) size 618x19
+          text run at (0,0) width 618: "This tests for an ASSERTion failure when setting the main frame's selection inside a node in a subframe."
       LayoutBlockFlow (anonymous) at (0,36) size 784x154
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,44) size 304x154
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/4975120-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/4975120-expected.txt
index 3d8a99b0..a31e425 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/4975120-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/4975120-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 767x39
           text run at (0,0) width 751: "This tests for a bug that caused the parent of an active frame to paint as though it were active when its window becomes key. "
-          text run at (750,0) width 17: "To"
+          text run at (751,0) width 16: "To"
           text run at (0,20) width 712: "run manually, make another window active and then make this window active. Only the subframe should appear active."
       LayoutBlockFlow (anonymous) at (0,56) size 784x176
         LayoutTextControl {INPUT} at (0,0) size 173x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/5232159-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/5232159-expected.txt
index 6610c86..8ca0e21a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/5232159-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/5232159-expected.txt
@@ -21,7 +21,7 @@
         text run at (79,0) width 689: " dolor sit amet, consectetuer adipiscing elit. Integer vehicula accumsan massa. Quisque elementum. Cras id neque a"
         text run at (0,20) width 773: "mi rutrum scelerisque. Nulla sed dui a massa sodales posuere. Nulla libero. Nulla posuere, felis id tincidunt tincidunt, ipsum metus"
         text run at (0,40) width 758: "tristique risus, et convallis turpis elit eget massa. Nunc consectetuer dolor vel nunc. Cum sociis natoque penatibus et magnis dis"
-        text run at (0,60) width 766: "parturient montes, nascetur ridiculus mus. Quisque dapibus ante et nulla. Cras nec velit. Vestibulum ante ipsum primis in faucibus"
-        text run at (0,80) width 364: "orci luctus et ultrices posuere cubilia Curae; Integer ut tortor."
+        text run at (0,60) width 765: "parturient montes, nascetur ridiculus mus. Quisque dapibus ante et nulla. Cras nec velit. Vestibulum ante ipsum primis in faucibus"
+        text run at (0,80) width 363: "orci luctus et ultrices posuere cubilia Curae; Integer ut tortor."
 selection start: position 3 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
 selection end:   position 260 of child 2 {#text} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/5354455-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/5354455-2-expected.txt
index c35838b..587507e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/5354455-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/5354455-2-expected.txt
@@ -5,8 +5,8 @@
 layer at (8,8) size 612x130
   LayoutBlockFlow (positioned) {BODY} at (8,8) size 612x130.44 [border: (1px solid #000000)]
     LayoutBlockFlow {H1} at (6,6) size 600x37
-      LayoutText {#text} at (0,0) size 449x36
-        text run at (0,0) width 449: "Word selection on right click test"
+      LayoutText {#text} at (0,0) size 448x36
+        text run at (0,0) width 448: "Word selection on right click test"
     LayoutBlockFlow (anonymous) at (6,64.44) size 600x60
       LayoutText {#text} at (0,0) size 570x39
         text run at (0,0) width 570: "This tests to make sure that right clicking non-editable content only creates a word selection for"
@@ -14,8 +14,8 @@
       LayoutInline {SPAN} at (0,0) size 16x19
         LayoutText {#text} at (99,20) size 16x19
           text run at (99,20) width 16: "To"
-      LayoutText {#text} at (114,20) size 586x39
-        text run at (114,20) width 390: " run manually, right click on text, and a word should be selected. "
-        text run at (503,20) width 83: "Right click on"
-        text run at (0,40) width 564: "the empty space outside and to the right of the black border, the selection should be removed."
+      LayoutText {#text} at (115,20) size 586x39
+        text run at (115,20) width 389: " run manually, right click on text, and a word should be selected. "
+        text run at (504,20) width 82: "Right click on"
+        text run at (0,40) width 563: "the empty space outside and to the right of the black border, the selection should be removed."
 caret: position 0 of child 0 {#text} of child 1 {H1} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/6476-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/selection/6476-expected.png
index 883d751..fe5421c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/6476-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/6476-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/6476-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/6476-expected.txt
index d8f5e73..546be7b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/6476-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/6476-expected.txt
@@ -5,14 +5,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {DIV} at (0,0) size 250x40
-        LayoutText {#text} at (0,0) size 195x19
-          text run at (0,0) width 195: "Try to create a caret after this lin"
-        LayoutInline {SPAN} at (0,0) size 8x19
-          LayoutText {#text} at (194,0) size 8x19
-            text run at (194,0) width 8: "e"
-        LayoutText {#text} at (201,0) size 5x19
-          text run at (201,0) width 5: " "
-        LayoutInline {SPAN} at (0,0) size 1x19
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "Try to create a caret after this lin"
+        LayoutInline {SPAN} at (0,0) size 7x19
+          LayoutText {#text} at (194,0) size 7x19
+            text run at (194,0) width 7: "e"
+        LayoutText {#text} at (201,0) size 4x19
+          text run at (201,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 0x19
         LayoutText {#text} at (0,20) size 170x19
           text run at (0,20) width 170: "thisshouldbeonthesecondline"
       LayoutBlockFlow {P} at (0,66) size 784x40
@@ -21,9 +21,9 @@
         LayoutInline {A} at (0,0) size 323x19 [color=#0000EE]
           LayoutText {#text} at (126,0) size 323x19
             text run at (126,0) width 323: "http://bugzilla.opendarwin.org/show_bug.cgi?id=6476"
-        LayoutText {#text} at (448,0) size 741x39
-          text run at (448,0) width 9: ". "
-          text run at (456,0) width 285: "Creating an upstream caret with the mouse was"
+        LayoutText {#text} at (449,0) size 741x39
+          text run at (449,0) width 8: ". "
+          text run at (457,0) width 284: "Creating an upstream caret with the mouse was"
           text run at (0,20) width 568: "impossible if the upstream and downstream carets were separated only by unrendered content."
       LayoutBlockFlow {P} at (0,122) size 784x40
         LayoutText {#text} at (0,0) size 745x39
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-and-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-and-focus-ring-expected.txt
index 94d8fc5..c09e4fc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-and-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-and-focus-ring-expected.txt
@@ -7,7 +7,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 734x39
           text run at (0,0) width 734: "This tests that the caret and the focus halo are not displayed when the WebView is not focused (using the pixel output from"
-          text run at (0,20) width 118: "DumpRenderTree)."
+          text run at (0,20) width 117: "DumpRenderTree)."
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 60x19
           text run at (0,0) width 60: "This is an "
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-expected.png
index 399a036..b718838 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-expected.txt
index 5f0c8b4..2e012be 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-expected.txt
@@ -8,10 +8,10 @@
           text run at (0,0) width 771: "This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a RTL block. To test manually,"
           text run at (0,20) width 379: "click the right of the text. The caret should be on the right edge."
       LayoutBlockFlow {DIV} at (0,56) size 202.08x45 [border: (1px solid #000000)]
-        LayoutText {#text} at (120,11) size 72x22
-          text run at (120,11) width 72: "WebKit2"
+        LayoutText {#text} at (121,11) size 71x22
+          text run at (121,11) width 71: "WebKit2"
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
         LayoutText {#text} at (0,0) size 37x19
           text run at (0,0) width 37: "PASS"
-        LayoutBR {BR} at (36,0) size 1x19
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 0 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-left-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-left-expected.png
index 2ad97c32..3cfa390 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-left-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-left-expected.txt
index 6a623eb..d586c99 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-2-left-expected.txt
@@ -8,10 +8,10 @@
           text run at (0,0) width 771: "This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a RTL block. To test manually,"
           text run at (0,20) width 363: "click the left of the text. The caret should be on the left edge."
       LayoutBlockFlow {DIV} at (0,56) size 202.08x45 [border: (1px solid #000000)]
-        LayoutText {#text} at (120,11) size 72x22
-          text run at (120,11) width 72: "WebKit2"
+        LayoutText {#text} at (121,11) size 71x22
+          text run at (121,11) width 71: "WebKit2"
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
         LayoutText {#text} at (0,0) size 37x19
           text run at (0,0) width 37: "PASS"
-        LayoutBR {BR} at (36,0) size 1x19
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 7 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-expected.png
index 645ddb8..f0952b8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-expected.txt
index ab5bf5b..75215994 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x145
     LayoutBlockFlow {BODY} at (8,16) size 784x121
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 770x39
-          text run at (0,0) width 770: "This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a LTR block. To test manually,"
+        LayoutText {#text} at (0,0) size 771x39
+          text run at (0,0) width 771: "This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a LTR block. To test manually,"
           text run at (0,20) width 363: "click the left of the text. The caret should be on the left edge."
       LayoutBlockFlow {DIV} at (0,56) size 202.08x45 [border: (1px solid #000000)]
-        LayoutText {#text} at (11,11) size 71x22
-          text run at (11,11) width 71: "WebKit2"
+        LayoutText {#text} at (11,11) size 70x22
+          text run at (11,11) width 70: "WebKit2"
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
         LayoutText {#text} at (0,0) size 37x19
           text run at (0,0) width 37: "PASS"
-        LayoutBR {BR} at (36,0) size 1x19
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 0 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-right-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-right-expected.png
index dbac80ab..27e465e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-right-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-right-expected.txt
index 08da9e61..fadf6e3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-ltr-right-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x145
     LayoutBlockFlow {BODY} at (8,16) size 784x121
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 770x39
-          text run at (0,0) width 770: "This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a LTR block. To test manually,"
+        LayoutText {#text} at (0,0) size 771x39
+          text run at (0,0) width 771: "This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a LTR block. To test manually,"
           text run at (0,20) width 379: "click the right of the text. The caret should be on the right edge."
       LayoutBlockFlow {DIV} at (0,56) size 202.08x45 [border: (1px solid #000000)]
-        LayoutText {#text} at (11,11) size 71x22
-          text run at (11,11) width 71: "WebKit2"
+        LayoutText {#text} at (11,11) size 70x22
+          text run at (11,11) width 70: "WebKit2"
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
         LayoutText {#text} at (0,0) size 37x19
           text run at (0,0) width 37: "PASS"
-        LayoutBR {BR} at (36,0) size 1x19
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 7 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-2-expected.txt
index 9f2aaa05..4cae2b2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-2-expected.txt
@@ -13,5 +13,5 @@
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
         LayoutText {#text} at (0,0) size 37x19
           text run at (0,0) width 37: "PASS"
-        LayoutBR {BR} at (36,0) size 1x19
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 7 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-2-left-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-2-left-expected.png
index d8768f7..eead280b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-2-left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-2-left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-2-left-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-2-left-expected.txt
index bbbf02c..4ef13ed 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-2-left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-2-left-expected.txt
@@ -13,5 +13,5 @@
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
         LayoutText {#text} at (0,0) size 37x19
           text run at (0,0) width 37: "PASS"
-        LayoutBR {BR} at (36,0) size 1x19
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 0 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-expected.txt
index 85176bf42..b83978a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-expected.txt
@@ -13,5 +13,5 @@
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
         LayoutText {#text} at (0,0) size 37x19
           text run at (0,0) width 37: "PASS"
-        LayoutBR {BR} at (36,0) size 1x19
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 7 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-right-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-right-expected.txt
index 29f987e..3413792 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/caret-rtl-right-expected.txt
@@ -13,5 +13,5 @@
       LayoutBlockFlow (anonymous) at (0,101) size 784x20
         LayoutText {#text} at (0,0) size 37x19
           text run at (0,0) width 37: "PASS"
-        LayoutBR {BR} at (36,0) size 1x19
+        LayoutBR {BR} at (37,0) size 0x19
 caret: position 0 of child 0 {#text} of child 3 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/click-start-of-line-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/selection/click-start-of-line-expected.png
index f9d5035..08da0b3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/click-start-of-line-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/click-start-of-line-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/click-start-of-line-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/click-start-of-line-expected.txt
index 91bc195c..1dea7d3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/click-start-of-line-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/click-start-of-line-expected.txt
@@ -7,25 +7,25 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 99x19
           text run at (0,0) width 99: "This is a test for "
-        LayoutInline {I} at (0,0) size 774x39
-          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
-            LayoutText {#text} at (99,0) size 350x19
-              text run at (99,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9978"
-          LayoutText {#text} at (448,0) size 774x39
-            text run at (448,0) width 5: " "
-            text run at (452,0) width 322: "REGRESSION (r12949-r12988): Clicking the first"
-            text run at (0,20) width 392: "letter on a line places the caret at the end of the previous line"
-        LayoutText {#text} at (391,20) size 5x19
-          text run at (391,20) width 5: "."
+        LayoutInline {I} at (0,0) size 773x39
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (99,0) size 349x19
+              text run at (99,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9978"
+          LayoutText {#text} at (448,0) size 773x39
+            text run at (448,0) width 4: " "
+            text run at (452,0) width 321: "REGRESSION (r12949-r12988): Clicking the first"
+            text run at (0,20) width 391: "letter on a line places the caret at the end of the previous line"
+        LayoutText {#text} at (391,20) size 4x19
+          text run at (391,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 694x19
           text run at (0,0) width 523: "To test interactively, click the left side of the W on the second line. The caret should be "
-          text run at (522,0) width 172: "move to the start of that line."
+          text run at (523,0) width 171: "move to the start of that line."
       LayoutBlockFlow {DIV} at (0,102) size 250x114
-        LayoutText {#text} at (0,1) size 229x112
+        LayoutText {#text} at (0,1) size 228x112
           text run at (0,1) width 147: "Alice in"
           text run at (147,1) width 12: " "
-          text run at (0,58) width 229: "Wonderland"
+          text run at (0,58) width 228: "Wonderland"
 layer at (8,100) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 10 of child 0 {#text} of child 7 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/contains-boundaries-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/selection/contains-boundaries-expected.png
index 474629a..7a100f2c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/contains-boundaries-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/contains-boundaries-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/contains-boundaries-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/contains-boundaries-expected.txt
index 84d49b36..940e234b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/contains-boundaries-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/contains-boundaries-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 746x39
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=14347"
-          LayoutText {#text} at (354,0) size 746x39
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 388: "REGRESSION (r21291): Initiating a drag near the edge of a"
+        LayoutInline {I} at (0,0) size 745x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=14347"
+          LayoutText {#text} at (354,0) size 745x39
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 387: "REGRESSION (r21291): Initiating a drag near the edge of a"
             text run at (0,20) width 130: "selection deselects it"
         LayoutText {#text} at (130,20) size 4x19
           text run at (130,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/designmode-no-caret-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/designmode-no-caret-expected.txt
index 451f5be..844f8e9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/designmode-no-caret-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/designmode-no-caret-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 767x59
           text run at (0,0) width 728: "This tests to see that a caret is placed inside an editable document that is entirely editable even when no caret is requested"
           text run at (0,20) width 110: "programmatically. "
-          text run at (109,20) width 180: "We do this as a convenience. "
-          text run at (288,20) width 479: "Right now, we only do this convenience when a document's frame becomes first"
+          text run at (110,20) width 179: "We do this as a convenience. "
+          text run at (289,20) width 478: "Right now, we only do this convenience when a document's frame becomes first"
           text run at (0,40) width 336: "responder or when a document's window becomes key."
       LayoutBlockFlow {PRE} at (0,73) size 784x32
         LayoutText {#text} at (0,0) size 296x32
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-expected.txt
index 4a43d5e0..3489b73d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-expected.txt
@@ -12,7 +12,7 @@
             text run at (0,0) width 206: "Lorem ipsum dolor sit amet"
 layer at (248,52) size 344x22 scrollWidth 1177
   LayoutBlockFlow {DD} at (40,0) size 344x22
-    LayoutText {#text} at (0,0) size 1178x21
-      text run at (0,0) width 1178: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua."
+    LayoutText {#text} at (0,0) size 1177x21
+      text run at (0,0) width 1177: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua."
 selection start: position 0 of child 0 {#text} of child 1 {DD} of child 2 {DL} of body
 selection end:   position 10 of child 0 {#text} of child 3 {DT} of child 2 {DL} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-rtl-expected.txt
index f2d388b..4396a79 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/dont-select-text-overflow-ellipsis-when-wrapping-rtl-expected.txt
@@ -12,7 +12,7 @@
             text run at (0,0) width 206: "Lorem ipsum dolor sit amet"
 layer at (208,52) size 344x22 scrollX 833.00 scrollWidth 1177
   LayoutBlockFlow {DD} at (0,0) size 344x22
-    LayoutText {#text} at (-833,0) size 1178x21
+    LayoutText {#text} at (-833,0) size 1177x21
       text run at (-833,0) width 5 RTL: "."
       text run at (-828,0) width 1172: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua"
 selection start: position 0 of child 0 {#text} of child 1 {DD} of child 2 {DL} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/drag-in-iframe-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/drag-in-iframe-expected.txt
index 340f8667..523123a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/drag-in-iframe-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/drag-in-iframe-expected.txt
@@ -6,8 +6,8 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 768x39
           text run at (0,0) width 510: "This is an automatic pixel test. To test interactively, drag selected text onto the iframe "
-          text run at (509,0) width 255: "below and verify that a drag caret appears"
-          text run at (763,0) width 5: " "
+          text run at (510,0) width 254: "below and verify that a drag caret appears"
+          text run at (764,0) width 4: " "
           text run at (0,20) width 98: "inside the frame."
       LayoutBlockFlow (anonymous) at (0,56) size 784x152
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/expanding-selections-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/expanding-selections-expected.txt
index ca459d3..ff97e9b4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/expanding-selections-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/expanding-selections-expected.txt
@@ -7,7 +7,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 737x39
           text run at (0,0) width 391: "This tests double clicking inside and at the end of an editable div. "
-          text run at (390,0) width 347: "The selection that is created should not extend outside the"
+          text run at (391,0) width 346: "The selection that is created should not extend outside the"
           text run at (0,20) width 92: "editable region."
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 193x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/expanding-selections2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/expanding-selections2-expected.txt
index 8a2e62e..7b9f6ed 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/expanding-selections2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/expanding-selections2-expected.txt
@@ -7,7 +7,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 737x39
           text run at (0,0) width 391: "This tests double clicking inside and at the end of an editable div. "
-          text run at (390,0) width 347: "The selection that is created should not extend outside the"
+          text run at (391,0) width 346: "The selection that is created should not extend outside the"
           text run at (0,20) width 92: "editable region."
       LayoutBlockFlow {DIV} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 169x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/focus-body-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/focus-body-expected.txt
index ca5c5858..064dc78 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/focus-body-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/focus-body-expected.txt
@@ -6,5 +6,5 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 421x19
         text run at (0,0) width 210: "This test focuses an editable body. "
-        text run at (209,0) width 212: "Its contents should not be selected."
+        text run at (210,0) width 211: "Its contents should not be selected."
 caret: position 0 of child 0 {#text} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/inline-closest-leaf-child-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/selection/inline-closest-leaf-child-expected.png
index 9a9f2ebb..3966af72 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/inline-closest-leaf-child-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/inline-closest-leaf-child-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/inline-closest-leaf-child-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/inline-closest-leaf-child-expected.txt
index 00460a6a..15629fb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/inline-closest-leaf-child-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/inline-closest-leaf-child-expected.txt
@@ -6,25 +6,25 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 733x39
-          LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 305x19
-              text run at (49,0) width 305: "http://bugs.webkit.org/show_bug.cgi?id=14911"
-          LayoutText {#text} at (353,0) size 733x39
-            text run at (353,0) width 5: " "
-            text run at (357,0) width 376: "REGRESSION: Clicking in pasted text doesn't position the"
-            text run at (0,20) width 154: "insertion point correctly"
-        LayoutText {#text} at (153,20) size 5x19
-          text run at (153,20) width 5: "."
+        LayoutInline {I} at (0,0) size 732x39
+          LayoutInline {A} at (0,0) size 303x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 303x19
+              text run at (50,0) width 303: "http://bugs.webkit.org/show_bug.cgi?id=14911"
+          LayoutText {#text} at (353,0) size 732x39
+            text run at (353,0) width 4: " "
+            text run at (357,0) width 375: "REGRESSION: Clicking in pasted text doesn't position the"
+            text run at (0,20) width 153: "insertion point correctly"
+        LayoutText {#text} at (153,20) size 4x19
+          text run at (153,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 522x19
-          text run at (0,0) width 492: "You should be able to select individual letters in \x{201C}ipsum\x{201D} by dragging in the yellow "
-          text run at (491,0) width 31: "area "
-        LayoutInline {EM} at (0,0) size 40x19
-          LayoutText {#text} at (521,0) size 40x19
-            text run at (521,0) width 40: "above"
-        LayoutText {#text} at (560,0) size 38x19
-          text run at (560,0) width 38: " them."
+        LayoutText {#text} at (0,0) size 521x19
+          text run at (0,0) width 491: "You should be able to select individual letters in \x{201C}ipsum\x{201D} by dragging in the yellow "
+          text run at (491,0) width 30: "area "
+        LayoutInline {EM} at (0,0) size 39x19
+          LayoutText {#text} at (521,0) size 39x19
+            text run at (521,0) width 39: "above"
+        LayoutText {#text} at (560,0) size 37x19
+          text run at (560,0) width 37: " them."
       LayoutBlockFlow (floating) {DIV} at (0,92) size 79x80 [bgcolor=#FFFFAA]
         LayoutInline {SPAN} at (0,0) size 79x19 [bgcolor=#FFFFFF]
           LayoutText {#text} at (0,30) size 44x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/leave-requested-block-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/selection/leave-requested-block-expected.png
index c9a553a..e7b1539 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/leave-requested-block-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/leave-requested-block-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/leave-requested-block-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/leave-requested-block-expected.txt
index f2cf47a..fdc8ae8a1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/leave-requested-block-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/leave-requested-block-expected.txt
@@ -8,15 +8,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 120x19
           text run at (0,0) width 120: "Test case for fix for "
-        LayoutInline {A} at (0,0) size 324x19 [color=#0000EE]
-          LayoutText {#text} at (119,0) size 324x19
-            text run at (119,0) width 324: "http://bugzilla.opendarwin.org/show_bug.cgi?id=5354"
-        LayoutText {#text} at (442,0) size 5x19
-          text run at (442,0) width 5: "."
+        LayoutInline {A} at (0,0) size 323x19 [color=#0000EE]
+          LayoutText {#text} at (120,0) size 323x19
+            text run at (120,0) width 323: "http://bugzilla.opendarwin.org/show_bug.cgi?id=5354"
+        LayoutText {#text} at (443,0) size 4x19
+          text run at (443,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x40
-        LayoutText {#text} at (0,0) size 774x39
-          text run at (0,0) width 774: "Changes were made to VisiblePosition's so that init() will not leave the block containing the requested position unless there are no"
-          text run at (0,20) width 177: "VisiblePositions in that block."
+        LayoutText {#text} at (0,0) size 773x39
+          text run at (0,0) width 773: "Changes were made to VisiblePosition's so that init() will not leave the block containing the requested position unless there are no"
+          text run at (0,20) width 176: "VisiblePositions in that block."
       LayoutBlockFlow {P} at (0,92) size 784x0
       LayoutBlockFlow {DIV} at (0,92) size 784x56 [border: (2px solid #AAAAFF)]
         LayoutBlockFlow {P} at (2,18) size 780x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-1-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-1-expected.txt
index cabba74..ed842cb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-1-expected.txt
@@ -11,7 +11,7 @@
       LayoutText {#text} at (19,0) size 766x39
         text run at (19,0) width 442: "ly the first two letters of the first word in this sentence should be selected. "
         text run at (461,0) width 301: "To run this test manually, double click between the"
-        text run at (761,0) width 5: " "
+        text run at (762,0) width 4: " "
         text run at (0,20) width 313: "first two letters of the first word of the first sentence."
 selection start: position 0 of child 0 {#text} of child 0 {SPAN} of body
 selection end:   position 2 of child 0 {#text} of child 0 {SPAN} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-2-expected.txt
index 336d1e0..2eb7ecf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-2-expected.txt
@@ -12,10 +12,10 @@
             text run at (52,0) width 31: "Bold"
         LayoutText {#text} at (83,0) size 68x19
           text run at (83,0) width 68: "TextShould"
-        LayoutInline {SPAN} at (0,0) size 18x19
-          LayoutText {#text} at (150,0) size 18x19
-            text run at (150,0) width 18: "Be"
-        LayoutText {#text} at (167,0) size 53x19
-          text run at (167,0) width 53: "Selected"
+        LayoutInline {SPAN} at (0,0) size 17x19
+          LayoutText {#text} at (151,0) size 17x19
+            text run at (151,0) width 17: "Be"
+        LayoutText {#text} at (168,0) size 52x19
+          text run at (168,0) width 52: "Selected"
 selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
 selection end:   position 4 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-4-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-4-expected.txt
index 8f3fce2..fc61915 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-4-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-4-expected.txt
@@ -8,7 +8,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 762x39
           text run at (0,0) width 432: "This tests moving the caret forward through content of mixed editability. "
-          text run at (431,0) width 331: "The caret should move down one line from the editable"
+          text run at (432,0) width 330: "The caret should move down one line from the editable"
           text run at (0,20) width 404: "piece to the editable piece that's embedded in a non-editable piece."
       LayoutBlockFlow {DIV} at (0,56) size 784x70
         LayoutBlockFlow (anonymous) at (0,0) size 784x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-5-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-5-expected.txt
index e114664..604bb95 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-5-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-5-expected.txt
@@ -8,7 +8,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 762x39
           text run at (0,0) width 432: "This tests moving the caret forward through content of mixed editability. "
-          text run at (431,0) width 331: "The caret should move down one line from the editable"
+          text run at (432,0) width 330: "The caret should move down one line from the editable"
           text run at (0,20) width 404: "piece to the editable piece that's embedded in a non-editable piece."
       LayoutBlockFlow {DIV} at (0,56) size 784x70
         LayoutBlockFlow (anonymous) at (0,0) size 784x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-6-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-6-expected.txt
index afab3f6..8aba8fc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-6-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-6-expected.txt
@@ -16,11 +16,11 @@
           LayoutInline {SPAN} at (0,0) size 27x19
             LayoutText {#text} at (0,0) size 27x19
               text run at (0,0) width 27: "Two"
-          LayoutText {#text} at (26,0) size 5x19
-            text run at (26,0) width 5: " "
-          LayoutInline {SPAN} at (0,0) size 36x19
-            LayoutText {#text} at (30,0) size 36x19
-              text run at (30,0) width 36: "Three"
+          LayoutText {#text} at (27,0) size 4x19
+            text run at (27,0) width 4: " "
+          LayoutInline {SPAN} at (0,0) size 35x19
+            LayoutText {#text} at (31,0) size 35x19
+              text run at (31,0) width 35: "Three"
         LayoutBlockFlow {DIV} at (0,40) size 784x20
           LayoutText {#text} at (0,0) size 29x19
             text run at (0,0) width 29: "Four"
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-7-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-7-expected.txt
index b62ffd0a..02e3451b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-7-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/mixed-editability-7-expected.txt
@@ -16,11 +16,11 @@
           LayoutInline {SPAN} at (0,0) size 27x19
             LayoutText {#text} at (0,0) size 27x19
               text run at (0,0) width 27: "Two"
-          LayoutText {#text} at (26,0) size 5x19
-            text run at (26,0) width 5: " "
-          LayoutInline {SPAN} at (0,0) size 36x19
-            LayoutText {#text} at (30,0) size 36x19
-              text run at (30,0) width 36: "Three"
+          LayoutText {#text} at (27,0) size 4x19
+            text run at (27,0) width 4: " "
+          LayoutInline {SPAN} at (0,0) size 35x19
+            LayoutText {#text} at (31,0) size 35x19
+              text run at (31,0) width 35: "Three"
         LayoutBlockFlow {DIV} at (0,40) size 784x20
           LayoutText {#text} at (0,0) size 29x19
             text run at (0,0) width 29: "Four"
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/paragraph-granularity-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/paragraph-granularity-expected.txt
index 231e8eb..df627c608 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/paragraph-granularity-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/paragraph-granularity-expected.txt
@@ -14,8 +14,8 @@
       LayoutBlockFlow {P} at (0,36) size 784x60 [color=#008000]
         LayoutText {#text} at (0,0) size 784x59
           text run at (0,0) width 211: "This test does not run interactively. "
-          text run at (210,0) width 340: "It uses the testRunners eventSender to do mouse clicks. "
-          text run at (549,0) width 228: "To run it manually, double click on the"
+          text run at (211,0) width 339: "It uses the testRunners eventSender to do mouse clicks. "
+          text run at (550,0) width 227: "To run it manually, double click on the"
           text run at (0,20) width 231: "blue 'g', then drag down to the red 'g'. "
           text run at (231,20) width 553: "As you drag, watch the selection that is created, it should always start and end on paragraph"
           text run at (0,40) width 70: "boundaries."
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/previous-line-position-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/previous-line-position-expected.txt
index 603b6a5..272372d6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/previous-line-position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/previous-line-position-expected.txt
@@ -17,9 +17,9 @@
         LayoutInline {A} at (0,0) size 146x19 [color=#0000EE]
           LayoutText {#text} at (0,20) size 146x19
             text run at (0,20) width 146: "rdar://problem/4040763"
-        LayoutText {#text} at (146,20) size 767x39
+        LayoutText {#text} at (146,20) size 766x39
           text run at (146,20) width 8: ". "
-          text run at (154,20) width 613: "The underlying problem with VisiblePositions was fixed, and so I removed the workaround and added"
+          text run at (154,20) width 612: "The underlying problem with VisiblePositions was fixed, and so I removed the workaround and added"
           text run at (0,40) width 89: "this layout test."
       LayoutBlockFlow {DIV} at (0,76) size 784x62 [border: (1px solid #0000FF)]
         LayoutBlockFlow {P} at (1,1) size 782x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/select-text-overflow-ellipsis-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/selection/select-text-overflow-ellipsis-expected.png
index 9c779e3..e753a49 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/select-text-overflow-ellipsis-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/select-text-overflow-ellipsis-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/select-text-overflow-ellipsis-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/select-text-overflow-ellipsis-expected.txt
index bbdcdd7f..54192272 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/select-text-overflow-ellipsis-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/select-text-overflow-ellipsis-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {H3} at (0,0) size 784x23
-        LayoutText {#text} at (0,0) size 69x22
-          text run at (0,0) width 69: "Test for "
-        LayoutInline {A} at (0,0) size 153x22 [color=#0000EE]
-          LayoutText {#text} at (68,0) size 153x22
-            text run at (68,0) width 153: "WebKit bug 29968"
-        LayoutText {#text} at (220,0) size 560x22
-          text run at (220,0) width 560: ": Selecting text with text-overflow ellipsis should not show cut off text"
+        LayoutText {#text} at (0,0) size 68x22
+          text run at (0,0) width 68: "Test for "
+        LayoutInline {A} at (0,0) size 152x22 [color=#0000EE]
+          LayoutText {#text} at (68,0) size 152x22
+            text run at (68,0) width 152: "WebKit bug 29968"
+        LayoutText {#text} at (220,0) size 559x22
+          text run at (220,0) width 559: ": Selecting text with text-overflow ellipsis should not show cut off text"
 layer at (8,50) size 95x20 scrollWidth 115
   LayoutBlockFlow {DIV} at (0,41.72) size 95x20
     LayoutText {#text} at (0,0) size 115x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/selectNode-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/selectNode-expected.txt
index 0c5308b..8ae453a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/selectNode-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/selectNode-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 326x19
-          text run at (0,0) width 326: "This tests Range.selectNode() of a text node and a br."
+        LayoutText {#text} at (0,0) size 325x19
+          text run at (0,0) width 325: "This tests Range.selectNode() of a text node and a br."
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 22x19
           text run at (0,0) width 22: "one"
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/selectNodeContents-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/selectNodeContents-expected.txt
index 889ce8f..15c0d80 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/selectNodeContents-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/selectNodeContents-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 380x19
-          text run at (0,0) width 380: "This tests Range.selectNodeContents() of a text node and a br."
+        LayoutText {#text} at (0,0) size 379x19
+          text run at (0,0) width 379: "This tests Range.selectNodeContents() of a text node and a br."
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 22x19
           text run at (0,0) width 22: "one"
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/selection-background-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/selection-background-expected.txt
index 949e915..b5672372 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/selection-background-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/selection-background-expected.txt
@@ -5,8 +5,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 723x19
-          text run at (0,0) width 723: "This tests that the selection tint is grey when the WebView is not focused (using the pixel output from DumpRenderTree)."
+        LayoutText {#text} at (0,0) size 722x19
+          text run at (0,0) width 722: "This tests that the selection tint is grey when the WebView is not focused (using the pixel output from DumpRenderTree)."
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 170x19
           text run at (0,0) width 170: "This text should be selected."
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/selection-button-text-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/selection/selection-button-text-expected.png
index 59b7aa9..effcbe8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/selection-button-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/selection-button-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/selection-linebreaks-rtl-writing-modes-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/selection-linebreaks-rtl-writing-modes-expected.txt
index a475662..ad5e8e1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/selection-linebreaks-rtl-writing-modes-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/selection-linebreaks-rtl-writing-modes-expected.txt
@@ -36,8 +36,8 @@
       LayoutBlockFlow {HTML} at (0,0) size 200x168.44
         LayoutBlockFlow {BODY} at (8,18.72) size 184x141.72
           LayoutBlockFlow {H3} at (0,0) size 184x23
-            LayoutText {#text} at (0,0) size 39x22
-              text run at (0,0) width 39: "RTL"
+            LayoutText {#text} at (0,0) size 38x22
+              text run at (0,0) width 38: "RTL"
           LayoutBlockFlow {DIV} at (0,41.72) size 184x100
             LayoutText {#text} at (164,0) size 20x19
               text run at (164,0) width 20: "foo"
@@ -74,8 +74,8 @@
       LayoutBlockFlow {HTML} at (0,0) size 200x88.44
         LayoutBlockFlow {BODY} at (8,18.72) size 184x61.72
           LayoutBlockFlow {H3} at (0,0) size 184x23
-            LayoutText {#text} at (0,0) size 145x22
-              text run at (0,0) width 145: "vertical-lr & RTL"
+            LayoutText {#text} at (0,0) size 144x22
+              text run at (0,0) width 144: "vertical-lr & RTL"
           LayoutBlockFlow {DIV} at (0,41.72) size 100x20
             LayoutText {#text} at (0,0) size 19x20
               text run at (0,0) width 20: "foo"
@@ -112,8 +112,8 @@
       LayoutBlockFlow {HTML} at (0,0) size 200x88.44
         LayoutBlockFlow {BODY} at (8,18.72) size 184x61.72
           LayoutBlockFlow {H3} at (0,0) size 184x23
-            LayoutText {#text} at (0,0) size 145x22
-              text run at (0,0) width 145: "vertical-rl & RTL"
+            LayoutText {#text} at (0,0) size 144x22
+              text run at (0,0) width 144: "vertical-rl & RTL"
           LayoutBlockFlow {DIV} at (0,41.72) size 100x20
             LayoutText {#text} at (0,0) size 19x20
               text run at (0,0) width 20: "foo"
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/triple-click-in-pre-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/triple-click-in-pre-expected.txt
index e1b4734..2643d37 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/triple-click-in-pre-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/triple-click-in-pre-expected.txt
@@ -12,8 +12,8 @@
       LayoutBlockFlow {P} at (0,36) size 784x40 [color=#008000]
         LayoutText {#text} at (0,0) size 766x39
           text run at (0,0) width 211: "This test does not run interactively. "
-          text run at (210,0) width 340: "It uses the testRunners eventSender to do mouse clicks. "
-          text run at (549,0) width 217: "To run it manually, triple click on the"
+          text run at (211,0) width 339: "It uses the testRunners eventSender to do mouse clicks. "
+          text run at (550,0) width 216: "To run it manually, triple click on the"
           text run at (0,20) width 386: "second line in the box below (anywhere after \"whitespace:pre\"). "
           text run at (386,20) width 257: "The triple click should select the entire line."
       LayoutBlockFlow {DIV} at (0,92) size 784x60
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/word-granularity-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/word-granularity-expected.txt
index dd355437..82942ef 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/word-granularity-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/word-granularity-expected.txt
@@ -13,8 +13,8 @@
       LayoutBlockFlow {P} at (0,36) size 784x60 [color=#008000]
         LayoutText {#text} at (0,0) size 777x59
           text run at (0,0) width 211: "This test does not run interactively. "
-          text run at (210,0) width 340: "It uses the testRunners eventSender to do mouse clicks. "
-          text run at (549,0) width 228: "To run it manually, double click on the"
+          text run at (211,0) width 339: "It uses the testRunners eventSender to do mouse clicks. "
+          text run at (550,0) width 227: "To run it manually, double click on the"
           text run at (0,20) width 231: "blue 'g', then drag down to the red 'g'. "
           text run at (231,20) width 524: "As you drag, watch the selection that is created, it should always start and end on word"
           text run at (0,40) width 70: "boundaries."
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/style/5084241-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/style/5084241-expected.txt
index 85297a1..e61f9f7a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/style/5084241-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/style/5084241-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 768x19
-          text run at (0,0) width 768: "This tests for a bug where deleting everything in a paragraph of colored text would prevent the user from changing the text color."
+        LayoutText {#text} at (0,0) size 767x19
+          text run at (0,0) width 767: "This tests for a bug where deleting everything in a paragraph of colored text would prevent the user from changing the text color."
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {FONT} at (0,0) size 141x19 [color=#FF0000]
           LayoutText {#text} at (0,0) size 141x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/style/5279521-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/style/5279521-expected.txt
index 5f834a63..adab23c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/style/5279521-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/style/5279521-expected.txt
@@ -7,7 +7,7 @@
         LayoutBlockFlow {DIV} at (0,0) size 784x103
           LayoutImage {IMG} at (708,0) size 76x103
         LayoutBlockFlow {DIV} at (0,103) size 784x20
-          LayoutText {#text} at (65,0) size 719x19
-            text run at (65,0) width 719: "This tests for a crash when changing the alignment of content that starts with an image not inside its own block container."
+          LayoutText {#text} at (66,0) size 718x19
+            text run at (66,0) width 718: "This tests for a crash when changing the alignment of content that starts with an image not inside its own block container."
 selection start: position 0 of child 0 {IMG} of child 0 {DIV} of child 0 {DIV} of body
 selection end:   position 123 of child 0 {#text} of child 1 {DIV} of child 0 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/style/block-style-001-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/style/block-style-001-expected.png
index fe1d7de..b70893d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/style/block-style-001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/style/block-style-001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/style/block-style-002-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/style/block-style-002-expected.png
index fe1d7de..b70893d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/style/block-style-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/style/block-style-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/style/block-style-003-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/style/block-style-003-expected.png
index d80b5dd4..e6552975 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/style/block-style-003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/style/block-style-003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/style/font-family-with-space-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/style/font-family-with-space-expected.png
index 926b059..13c4cfa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/style/font-family-with-space-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/style/font-family-with-space-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/style/font-family-with-space-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/style/font-family-with-space-expected.txt
index 98e116b..5461aa6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/style/font-family-with-space-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/style/font-family-with-space-expected.txt
@@ -6,8 +6,8 @@
       LayoutInline {U} at (0,0) size 234x15
         LayoutText {#text} at (0,0) size 234x15
           text run at (0,0) width 234: "This text should be Times New Roman bold."
-      LayoutInline {U} at (0,0) size 235x15
-        LayoutText {#text} at (233,0) size 235x15
-          text run at (233,0) width 235: "This text should be Times New Roman bold."
+      LayoutInline {U} at (0,0) size 234x15
+        LayoutText {#text} at (234,0) size 234x15
+          text run at (234,0) width 234: "This text should be Times New Roman bold."
       LayoutText {#text} at (0,0) size 0x0
 caret: position 41 of child 0 {#text} of child 1 {U} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/unsupported-content/table-delete-003-expected.png b/third_party/WebKit/LayoutTests/platform/win/editing/unsupported-content/table-delete-003-expected.png
index c49bd4c..71a0a5e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/unsupported-content/table-delete-003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/unsupported-content/table-delete-003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/unsupported-content/table-delete-003-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/unsupported-content/table-delete-003-expected.txt
index 65cdc7b..5cdddf9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/unsupported-content/table-delete-003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/unsupported-content/table-delete-003-expected.txt
@@ -46,7 +46,7 @@
             text run at (100,69) width 299: "Only selected content should get deleted. "
             text run at (399,69) width 336: "Surrounding content that is not selected should"
             text run at (0,90) width 204: "(obviously) not be affected. "
-          LayoutBR {BR} at (203,106) size 1x0
+          LayoutBR {BR} at (204,106) size 0x0
           LayoutInline {B} at (0,0) size 714x20
             LayoutText {#text} at (0,111) size 714x20
               text run at (0,111) width 714: "There is a bug: the caret ends up in the wrong position, it should be in the empty paragraph."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/animated-gif-as-background-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/animated-gif-as-background-expected.txt
index 31502c8..12ad9aa2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/animated-gif-as-background-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/animated-gif-as-background-expected.txt
@@ -4,6 +4,6 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 571x19
-          text run at (0,0) width 571: "Div background should animate between red and green. DRT should snapshot when it is green."
+        LayoutText {#text} at (0,0) size 570x19
+          text run at (0,0) width 570: "Div background should animate between red and green. DRT should snapshot when it is green."
       LayoutBlockFlow {DIV} at (0,36) size 200x200 [bgcolor=#0000FF]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/animated-gif-as-background-rounded-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/animated-gif-as-background-rounded-expected.txt
index 1483fd70..c6ff550 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/animated-gif-as-background-rounded-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/animated-gif-as-background-rounded-expected.txt
@@ -4,6 +4,6 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 571x19
-          text run at (0,0) width 571: "Div background should animate between red and green. DRT should snapshot when it is green."
+        LayoutText {#text} at (0,0) size 570x19
+          text run at (0,0) width 570: "Div background should animate between red and green. DRT should snapshot when it is green."
       LayoutBlockFlow {DIV} at (0,36) size 200x200
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/animated-svg-as-mask-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/animated-svg-as-mask-expected.png
index 8e56636..72b71475 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/animated-svg-as-mask-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/animated-svg-as-mask-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-clip-text-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-clip-text-expected.png
index ade01a07..2b17f878 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-clip-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-clip-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-clip-text-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-clip-text-expected.txt
index 046eb6dd..0c09a98 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-clip-text-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-clip-text-expected.txt
@@ -7,9 +7,9 @@
         LayoutInline {A} at (0,0) size 291x19 [color=#0000EE]
           LayoutText {#text} at (0,0) size 291x19
             text run at (0,0) width 291: "https://bugs.webkit.org/show_bug.cgi?id=25829"
-        LayoutBR {BR} at (290,15) size 1x0
-        LayoutText {#text} at (0,20) size 548x19
-          text run at (0,20) width 548: "You should see no areas of read below. (This paragraph is required for the test to be valid.)"
+        LayoutBR {BR} at (291,15) size 0x0
+        LayoutText {#text} at (0,20) size 547x19
+          text run at (0,20) width 547: "You should see no areas of read below. (This paragraph is required for the test to be valid.)"
       LayoutBlockFlow {DIV} at (0,56) size 502x202 [color=#008000] [bgcolor=#FF0000] [border: (1px solid #000000)]
         LayoutText {#text} at (1,2) size 432x149
           text run at (1,2) width 432: "This background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-inherit-color-bug-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-inherit-color-bug-expected.png
index 4a9d2912..6c8e0c1c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-inherit-color-bug-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-inherit-color-bug-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-inherit-color-bug-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-inherit-color-bug-expected.txt
index 1eef512e..8e53a11 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-inherit-color-bug-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-inherit-color-bug-expected.txt
@@ -50,26 +50,26 @@
           LayoutText {#text} at (0,0) size 208x19
             text run at (0,0) width 208: "This DIV has a green background."
         LayoutBlockFlow {H1} at (61.52,45.44) size 500.14x156 [border: (4px solid #008000)]
-          LayoutText {#text} at (4,4) size 444x147
-            text run at (4,4) width 441: "This header should have a green"
-            text run at (4,41) width 416: "background (not pink) but the"
-            text run at (4,78) width 444: "inline style rule is ignored on the"
-            text run at (4,115) width 261: "Affected Browsers."
+          LayoutText {#text} at (4,4) size 443x147
+            text run at (4,4) width 440: "This header should have a green"
+            text run at (4,41) width 415: "background (not pink) but the"
+            text run at (4,78) width 443: "inline style rule is ignored on the"
+            text run at (4,115) width 260: "Affected Browsers."
         LayoutBlockFlow (anonymous) at (4,231.44) size 615.19x20
           LayoutText {#text} at (0,0) size 148x19
             text run at (0,0) width 148: "The DIV continues here."
         LayoutBlockFlow {H1} at (61.52,272.88) size 500.14x156 [border: (4px solid #008000)]
-          LayoutText {#text} at (4,4) size 449x147
-            text run at (4,4) width 441: "This header should have a green"
-            text run at (4,41) width 416: "background (not pink) but the"
-            text run at (4,78) width 449: "!important rule is ignored on the"
-            text run at (4,115) width 261: "Affected Browsers."
+          LayoutText {#text} at (4,4) size 448x147
+            text run at (4,4) width 440: "This header should have a green"
+            text run at (4,41) width 415: "background (not pink) but the"
+            text run at (4,78) width 448: "!important rule is ignored on the"
+            text run at (4,115) width 260: "Affected Browsers."
         LayoutBlockFlow (anonymous) at (4,458.88) size 615.19x20
           LayoutText {#text} at (0,0) size 148x19
             text run at (0,0) width 148: "The DIV continues here."
         LayoutBlockFlow {H1} at (61.52,500.31) size 500.14x82 [color=#FF0000] [bgcolor=#FFC0CB] [border: (4px solid #FF0000)]
-          LayoutText {#text} at (4,4) size 483x73
-            text run at (4,4) width 483: "This header has a pink background"
+          LayoutText {#text} at (4,4) size 482x73
+            text run at (4,4) width 482: "This header has a pink background"
             text run at (4,41) width 219: "and that's good."
 layer at (85,80) size 615x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (4,72) size 615.19x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-origin-root-element-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-origin-root-element-expected.txt
index 65b2269..6a9e45b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-origin-root-element-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-origin-root-element-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (16,16) size 768x248 [color=#FFFF00] [border: (3px solid #0000FF)]
     LayoutBlockFlow {BODY} at (35,35) size 698x178 [color=#000000] [bgcolor=#FFFFFF] [border: (3px solid #000000)]
       LayoutBlockFlow {P} at (19,19) size 660x140
-        LayoutText {#text} at (0,0) size 649x59
+        LayoutText {#text} at (0,0) size 648x59
           text run at (0,0) width 637: "The HTML box, the one with a blue border should be fully filled with lime green. The BODY box, the one"
-          text run at (0,20) width 649: "with black border, should also be fully filled with lime green. The lime green color should not spill out outside"
-          text run at (0,40) width 96: "the blue border."
+          text run at (0,20) width 648: "with black border, should also be fully filled with lime green. The lime green color should not spill out outside"
+          text run at (0,40) width 95: "the blue border."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/body-generated-image-propagated-to-root-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/body-generated-image-propagated-to-root-expected.png
index c5ef09e..6567de68 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/body-generated-image-propagated-to-root-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/body-generated-image-propagated-to-root-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/body-generated-image-propagated-to-root-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/body-generated-image-propagated-to-root-expected.txt
index a88f65f..a8c8013 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/body-generated-image-propagated-to-root-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/body-generated-image-propagated-to-root-expected.txt
@@ -6,18 +6,18 @@
       LayoutBlockFlow {P} at (0,0) size 784x40 [bgcolor=#FFFFFF]
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 766x39
-          LayoutInline {A} at (0,0) size 312x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 312x19
-              text run at (49,0) width 312: "https://bugs.webkit.org/show_bug.cgi?id=18445"
-          LayoutText {#text} at (360,0) size 766x39
-            text run at (360,0) width 5: " "
-            text run at (364,0) width 402: "Assertion failure in CSSGradientValue::image() when the body"
-            text run at (0,20) width 227: "element has a background gradient"
-        LayoutText {#text} at (226,20) size 5x19
-          text run at (226,20) width 5: "."
+        LayoutInline {I} at (0,0) size 765x39
+          LayoutInline {A} at (0,0) size 310x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 310x19
+              text run at (50,0) width 310: "https://bugs.webkit.org/show_bug.cgi?id=18445"
+          LayoutText {#text} at (360,0) size 765x39
+            text run at (360,0) width 4: " "
+            text run at (364,0) width 401: "Assertion failure in CSSGradientValue::image() when the body"
+            text run at (0,20) width 226: "element has a background gradient"
+        LayoutText {#text} at (226,20) size 4x19
+          text run at (226,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x40 [bgcolor=#FFFFFF]
-        LayoutText {#text} at (0,0) size 775x39
-          text run at (0,0) width 355: "The test passes if the root element\x{2019}s background is a linear "
-          text run at (354,0) width 421: "gradient from black at the top to white at the bottom, and no assertion"
+        LayoutText {#text} at (0,0) size 774x39
+          text run at (0,0) width 354: "The test passes if the root element\x{2019}s background is a linear "
+          text run at (354,0) width 420: "gradient from black at the top to white at the bottom, and no assertion"
           text run at (0,20) width 84: "failure occurs."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png
index 116281a..5e6ffa6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.txt
index 11a2505..b76c6b1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 148x19
           text run at (0,0) width 148: "Mask version of test for "
-        LayoutInline {I} at (0,0) size 754x39
-          LayoutInline {A} at (0,0) size 297x19 [color=#0000EE]
-            LayoutText {#text} at (148,0) size 297x19
-              text run at (148,0) width 297: "http://bugs.webkit.org/show_bug.cgi?id=5399"
-          LayoutText {#text} at (444,0) size 754x39
-            text run at (444,0) width 5: " "
-            text run at (448,0) width 306: "no-repeat on negatively positioned fill images is"
-            text run at (0,20) width 49: "ignored"
-        LayoutText {#text} at (48,20) size 5x19
-          text run at (48,20) width 5: "."
+        LayoutInline {I} at (0,0) size 753x39
+          LayoutInline {A} at (0,0) size 296x19 [color=#0000EE]
+            LayoutText {#text} at (148,0) size 296x19
+              text run at (148,0) width 296: "http://bugs.webkit.org/show_bug.cgi?id=5399"
+          LayoutText {#text} at (444,0) size 753x39
+            text run at (444,0) width 4: " "
+            text run at (448,0) width 305: "no-repeat on negatively positioned fill images is"
+            text run at (0,20) width 48: "ignored"
+        LayoutText {#text} at (48,20) size 4x19
+          text run at (48,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 396x19
           text run at (0,0) width 396: "Element with mask image starting at (-13, -13) with no-repeat set:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-expected.png
index 83728b2b..456e3ecf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-expected.txt
index 5f9d5f7..1ffd19f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 729x19
-          LayoutInline {A} at (0,0) size 298x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 298x19
-              text run at (49,0) width 298: "http://bugs.webkit.org/show_bug.cgi?id=5399"
-          LayoutText {#text} at (346,0) size 432x19
-            text run at (346,0) width 5: " "
-            text run at (350,0) width 428: "no-repeat on negatively positioned background images are ignored"
-        LayoutText {#text} at (777,0) size 5x19
-          text run at (777,0) width 5: "."
+        LayoutInline {I} at (0,0) size 726x19
+          LayoutInline {A} at (0,0) size 296x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 296x19
+              text run at (50,0) width 296: "http://bugs.webkit.org/show_bug.cgi?id=5399"
+          LayoutText {#text} at (346,0) size 430x19
+            text run at (346,0) width 4: " "
+            text run at (350,0) width 426: "no-repeat on negatively positioned background images are ignored"
+        LayoutText {#text} at (776,0) size 4x19
+          text run at (776,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 436x19
           text run at (0,0) width 436: "Element with background image starting at (-13, -13) with no-repeat set:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png
index 04240a6..d6bf12b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.txt
index 3c10654..ed09589 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 729x19
-          LayoutInline {A} at (0,0) size 298x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 298x19
-              text run at (49,0) width 298: "http://bugs.webkit.org/show_bug.cgi?id=5399"
-          LayoutText {#text} at (346,0) size 432x19
-            text run at (346,0) width 5: " "
-            text run at (350,0) width 428: "no-repeat on negatively positioned background images are ignored"
-        LayoutText {#text} at (777,0) size 5x19
-          text run at (777,0) width 5: "."
+        LayoutInline {I} at (0,0) size 726x19
+          LayoutInline {A} at (0,0) size 296x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 296x19
+              text run at (50,0) width 296: "http://bugs.webkit.org/show_bug.cgi?id=5399"
+          LayoutText {#text} at (346,0) size 430x19
+            text run at (346,0) width 4: " "
+            text run at (350,0) width 426: "no-repeat on negatively positioned background images are ignored"
+        LayoutText {#text} at (776,0) size 4x19
+          text run at (776,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 436x19
           text run at (0,0) width 436: "Element with background image starting at (-13, -13) with no-repeat set:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/size/zero-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/size/zero-expected.png
index 825f022a..88cc5d40 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/size/zero-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/size/zero-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/size/zero-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/size/zero-expected.txt
index dcae242..cd524be 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/size/zero-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/size/zero-expected.txt
@@ -6,14 +6,14 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 527x19
-          LayoutInline {A} at (0,0) size 498x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 498x19
-              text run at (49,0) width 498: "REGRESSION(r27173): Web Inspector freezes beneath Image::drawPattern()"
-          LayoutText {#text} at (546,0) size 30x19
-            text run at (546,0) width 30: " Bug"
-        LayoutText {#text} at (575,0) size 5x19
-          text run at (575,0) width 5: "."
+        LayoutInline {I} at (0,0) size 526x19
+          LayoutInline {A} at (0,0) size 497x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 497x19
+              text run at (50,0) width 497: "REGRESSION(r27173): Web Inspector freezes beneath Image::drawPattern()"
+          LayoutText {#text} at (547,0) size 29x19
+            text run at (547,0) width 29: " Bug"
+        LayoutText {#text} at (576,0) size 4x19
+          text run at (576,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x40
         LayoutText {#text} at (0,0) size 771x39
           text run at (0,0) width 771: "There should be three empty squares with black borders and the last one should have blue background. WebKit should not hang"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/001-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/001-expected.png
index 107e1c8..2ab9737 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/011-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/011-expected.png
index 85557e7..c09020a8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/011-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/011-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/adding-near-anonymous-block-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/adding-near-anonymous-block-expected.png
index 200894d..d5c047a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/adding-near-anonymous-block-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/adding-near-anonymous-block-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/minheight-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/minheight-expected.png
index d043446e..a99d0fe1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/minheight-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/minheight-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/text-indent-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/text-indent-rtl-expected.png
index d2e64b9..6c36eaa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/text-indent-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/text-indent-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/truncation-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/truncation-rtl-expected.png
index b0e253868..6247ab2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/truncation-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/truncation-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/white-space-pre-wraps-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/white-space-pre-wraps-expected.png
index 165136b..7b793c65 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/white-space-pre-wraps-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/basic/white-space-pre-wraps-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/001-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/001-expected.png
index b1dd50b..9cdfa2e4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/002-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/002-expected.png
index b156a9f184..ca3fee96 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/centered-float-avoidance-complexity-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/centered-float-avoidance-complexity-expected.png
index 04a1c8b..b099971 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/centered-float-avoidance-complexity-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/centered-float-avoidance-complexity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/float-in-float-hit-testing-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/float-in-float-hit-testing-expected.png
index c601f2c..28328da 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/float-in-float-hit-testing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/float-in-float-hit-testing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/float-in-float-painting-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/float-in-float-painting-expected.png
index 0021915..51d4604e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/float-in-float-painting-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/float-in-float-painting-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/independent-align-positioning-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/independent-align-positioning-expected.png
index 6acdb71..7d21b67 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/independent-align-positioning-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/independent-align-positioning-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/intruding-painted-twice-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/intruding-painted-twice-expected.png
index 064962d..849bf797 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/intruding-painted-twice-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/intruding-painted-twice-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/nopaint-after-layer-destruction-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/nopaint-after-layer-destruction-expected.png
index 2dc5e8c..4319f7f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/nopaint-after-layer-destruction-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/nopaint-after-layer-destruction-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/nopaint-after-layer-destruction2-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/nopaint-after-layer-destruction2-expected.png
index e921cb6..ef78bfca 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/nopaint-after-layer-destruction2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/nopaint-after-layer-destruction2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/shrink-to-avoid-float-complexity-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/shrink-to-avoid-float-complexity-expected.png
index d0acaad..9f20ad31 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/shrink-to-avoid-float-complexity-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/shrink-to-avoid-float-complexity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/shrink-to-fit-width-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/shrink-to-fit-width-expected.png
index e5f4eea..9d06451 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/shrink-to-fit-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/shrink-to-fit-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/table-relayout-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/table-relayout-expected.png
index a69e900..c50a398a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/table-relayout-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/table-relayout-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/vertical-move-relayout-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/vertical-move-relayout-expected.png
index 2033df4d4..d657dae 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/float/vertical-move-relayout-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/float/vertical-move-relayout-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/margin-collapse/103-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/margin-collapse/103-expected.png
index e1e8b43..ca1da14d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/margin-collapse/103-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/margin-collapse/103-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/051-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/051-expected.png
index ca819a02..05ea836 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/051-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/051-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/height-change-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/height-change-expected.png
index 5d3a1e8..e02ebdd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/height-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/height-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/leftmargin-topmargin-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/leftmargin-topmargin-expected.png
index 6389ff4..ff6a933 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/leftmargin-topmargin-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/leftmargin-topmargin-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/relayout-on-position-change-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/relayout-on-position-change-expected.png
index bce549da..d646e234a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/relayout-on-position-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/relayout-on-position-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/window-height-change-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/window-height-change-expected.png
index f8b1670..e2ad29b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/window-height-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/block/positioning/window-height-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/009-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/009-expected.txt
index 16d70576..28afdb9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/009-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/009-expected.txt
@@ -4,10 +4,10 @@
   LayoutBlockFlow {HTML} at (50,50) size 700x156 [border: (1px solid #000000)]
     LayoutBlockFlow {BODY} at (51,51) size 598x54 [color=#000080] [border: (1px solid #000080)]
       LayoutBlockFlow {P} at (1,17) size 596x20
-        LayoutText {#text} at (0,0) size 330x19
-          text run at (0,0) width 330: "There should be a yellow square in the top-left corner, "
-        LayoutInline {EM} at (0,0) size 54x19
-          LayoutText {#text} at (329,0) size 54x19
-            text run at (329,0) width 54: "between"
-        LayoutText {#text} at (382,0) size 78x19
-          text run at (382,0) width 78: " the borders."
+        LayoutText {#text} at (0,0) size 329x19
+          text run at (0,0) width 329: "There should be a yellow square in the top-left corner, "
+        LayoutInline {EM} at (0,0) size 53x19
+          LayoutText {#text} at (329,0) size 53x19
+            text run at (329,0) width 53: "between"
+        LayoutText {#text} at (382,0) size 77x19
+          text run at (382,0) width 77: " the borders."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/009-xhtml-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/009-xhtml-expected.txt
index 585a06d..8d5f729 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/009-xhtml-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/009-xhtml-expected.txt
@@ -4,10 +4,10 @@
   LayoutBlockFlow {html} at (50,50) size 700x156 [border: (1px solid #000000)]
     LayoutBlockFlow {body} at (51,51) size 598x54 [color=#000080] [border: (1px solid #000080)]
       LayoutBlockFlow {p} at (1,17) size 596x20
-        LayoutText {#text} at (0,0) size 330x19
-          text run at (0,0) width 330: "There should be a yellow square in the top-left corner, "
-        LayoutInline {em} at (0,0) size 54x19
-          LayoutText {#text} at (329,0) size 54x19
-            text run at (329,0) width 54: "between"
-        LayoutText {#text} at (382,0) size 78x19
-          text run at (382,0) width 78: " the borders."
+        LayoutText {#text} at (0,0) size 329x19
+          text run at (0,0) width 329: "There should be a yellow square in the top-left corner, "
+        LayoutInline {em} at (0,0) size 53x19
+          LayoutText {#text} at (329,0) size 53x19
+            text run at (329,0) width 53: "between"
+        LayoutText {#text} at (382,0) size 77x19
+          text run at (382,0) width 77: " the borders."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/010-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/010-expected.txt
index d5fd23b..1aac1d7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/010-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/010-expected.txt
@@ -4,10 +4,10 @@
   LayoutBlockFlow {HTML} at (50,50) size 700x156 [border: (1px solid #000000)]
     LayoutBlockFlow {BODY} at (51,51) size 598x54 [color=#000080] [border: (1px solid #000080)]
       LayoutBlockFlow {P} at (1,17) size 596x20
-        LayoutText {#text} at (0,0) size 330x19
-          text run at (0,0) width 330: "There should be a yellow square in the top-left corner, "
-        LayoutInline {EM} at (0,0) size 38x19
-          LayoutText {#text} at (329,0) size 38x19
-            text run at (329,0) width 38: "inside"
-        LayoutText {#text} at (366,0) size 104x19
-          text run at (366,0) width 104: " the inner border."
+        LayoutText {#text} at (0,0) size 329x19
+          text run at (0,0) width 329: "There should be a yellow square in the top-left corner, "
+        LayoutInline {EM} at (0,0) size 37x19
+          LayoutText {#text} at (329,0) size 37x19
+            text run at (329,0) width 37: "inside"
+        LayoutText {#text} at (366,0) size 103x19
+          text run at (366,0) width 103: " the inner border."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/010-xhtml-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/010-xhtml-expected.txt
index 0b1b8ca..0b82772 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/010-xhtml-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/body-propagation/background-image/010-xhtml-expected.txt
@@ -4,10 +4,10 @@
   LayoutBlockFlow {html} at (50,50) size 700x156 [border: (1px solid #000000)]
     LayoutBlockFlow {body} at (51,51) size 598x54 [color=#000080] [border: (1px solid #000080)]
       LayoutBlockFlow {p} at (1,17) size 596x20
-        LayoutText {#text} at (0,0) size 330x19
-          text run at (0,0) width 330: "There should be a yellow square in the top-left corner, "
-        LayoutInline {em} at (0,0) size 38x19
-          LayoutText {#text} at (329,0) size 38x19
-            text run at (329,0) width 38: "inside"
-        LayoutText {#text} at (366,0) size 104x19
-          text run at (366,0) width 104: " the inner border."
+        LayoutText {#text} at (0,0) size 329x19
+          text run at (0,0) width 329: "There should be a yellow square in the top-left corner, "
+        LayoutInline {em} at (0,0) size 37x19
+          LayoutText {#text} at (329,0) size 37x19
+            text run at (329,0) width 37: "inside"
+        LayoutText {#text} at (366,0) size 103x19
+          text run at (366,0) width 103: " the inner border."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/borders/bidi-012-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/borders/bidi-012-expected.png
index b6779d4a..3e20d28 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/borders/bidi-012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/borders/bidi-012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/borders/border-radius-huge-assert-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/borders/border-radius-huge-assert-expected.png
index e2f84d1..b23332b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/borders/border-radius-huge-assert-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/borders/border-radius-huge-assert-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/borders/border-radius-inline-flow-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/borders/border-radius-inline-flow-expected.png
index d3185ce..2252e90 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/borders/border-radius-inline-flow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/borders/border-radius-inline-flow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/borders/rtl-border-05-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/borders/rtl-border-05-expected.png
index ebb486ee..265c1c0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/borders/rtl-border-05-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/borders/rtl-border-05-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/box-shadow/basic-shadows-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/box-shadow/basic-shadows-expected.txt
index db55d521..e673e8a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/box-shadow/basic-shadows-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/box-shadow/basic-shadows-expected.txt
@@ -83,6 +83,6 @@
             text run at (5,6) width 29: "T"
         LayoutTextFragment {#text} at (43,0) size 467x19
           text run at (43,0) width 467: "he first letter of this paragraph should have a border and a nice shadow effect."
-        LayoutBR {BR} at (509,15) size 1x0
+        LayoutBR {BR} at (510,15) size 0x0
         LayoutText {#text} at (43,20) size 156x19
           text run at (43,20) width 156: "It should look pretty cool."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/box-shadow/border-radius-big-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/box-shadow/border-radius-big-expected.txt
index 66447d3f..a3b9586 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/box-shadow/border-radius-big-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/box-shadow/border-radius-big-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x552
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 420x19
-          text run at (0,0) width 420: "You should see a circle with a shadow above a square with a shadow."
+        LayoutText {#text} at (0,0) size 419x19
+          text run at (0,0) width 419: "You should see a circle with a shadow above a square with a shadow."
       LayoutBlockFlow {DIV} at (40,60) size 60x60 [bgcolor=#008000]
       LayoutBlockFlow {DIV} at (40,160) size 60x60 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/canvas/canvas-text-alignment-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/canvas/canvas-text-alignment-expected.png
index 76ef30b..eb91866 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/canvas/canvas-text-alignment-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/canvas/canvas-text-alignment-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/canvas/fillrect_gradient-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/canvas/fillrect_gradient-expected.png
index 5505ce312..609fd4d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/canvas/fillrect_gradient-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/canvas/fillrect_gradient-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/canvas/patternfill-repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/canvas/patternfill-repeat-expected.txt
index 6a81b68..d0dacd02 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/canvas/patternfill-repeat-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/canvas/patternfill-repeat-expected.txt
@@ -8,7 +8,7 @@
           text run at (0,0) width 753: "There should be one big square below containing four squares. Top left square should be filled with 3 rows of 2 and bit Apple"
           text run at (0,20) width 763: "images. Top right square should be 2 and a bit rows with one Apple image column along the left edge of the square. Bottom left"
           text run at (0,40) width 778: "square should be one row with three Apple images along the top of the square. Bottom right square should be one Apple image in"
-          text run at (0,60) width 89: "top left corner."
+          text run at (0,60) width 88: "top left corner."
       LayoutBlockFlow {P} at (0,96) size 784x341
 layer at (8,112) size 336x336
   LayoutHTMLCanvas {CANVAS} at (0,0) size 336x336 [border: (3px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/001-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/001-expected.png
index 56f14ce7..d24c395f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/001-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/001-expected.txt
index bfcb7db3..2b269ca 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/001-expected.txt
@@ -3,7 +3,7 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutInline {A} at (0,0) size 244x19 [color=#0000EE]
-        LayoutText {#text} at (0,0) size 244x19
-          text run at (0,0) width 244: "You should not see anything but this link."
+      LayoutInline {A} at (0,0) size 243x19 [color=#0000EE]
+        LayoutText {#text} at (0,0) size 243x19
+          text run at (0,0) width 243: "You should not see anything but this link."
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/002-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/002-expected.txt
index 3ade2b3..b9dc6f3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/002-expected.txt
@@ -10,9 +10,9 @@
               text run at (0,0) width 9: "S"
           LayoutTextFragment (anonymous) at (9,0) size 42x19
             text run at (9,0) width 42: "pecial: "
-        LayoutText {#text} at (51,0) size 553x19
+        LayoutText {#text} at (51,0) size 552x19
           text run at (51,0) width 206: "The \"S\" to the left should be gold. "
-          text run at (257,0) width 347: "This is testing :before used in conjunction with :first-letter. "
-        LayoutInline {<pseudo:after>} at (0,0) size 62x19
-          LayoutTextFragment (anonymous) at (603,0) size 62x19
-            text run at (603,0) width 62: "[The End]"
+          text run at (257,0) width 346: "This is testing :before used in conjunction with :first-letter. "
+        LayoutInline {<pseudo:after>} at (0,0) size 61x19
+          LayoutTextFragment (anonymous) at (603,0) size 61x19
+            text run at (603,0) width 61: "[The End]"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/009-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/009-expected.txt
index c0772ce..04dacf2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/009-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/009-expected.txt
@@ -17,12 +17,12 @@
           LayoutText {#text} at (0,0) size 352x19
             text run at (0,0) width 352: "All of this text should be green. The bullet should be black."
       LayoutBlockFlow {DIV} at (0,72) size 784x57 [color=#FF0000]
-        LayoutInline {SPAN} at (0,0) size 400x19 [color=#008000]
+        LayoutInline {SPAN} at (0,0) size 399x19 [color=#008000]
           LayoutInline {<pseudo:first-letter>} at (0,0) size 34x55
             LayoutTextFragment (anonymous) at (0,1) size 34x55
               text run at (0,1) width 34: "A"
-          LayoutTextFragment {#text} at (34,29) size 366x19
-            text run at (34,29) width 366: "ll of this text should be green, including the big \"A\" first-letter."
+          LayoutTextFragment {#text} at (34,29) size 365x19
+            text run at (34,29) width 365: "ll of this text should be green, including the big \"A\" first-letter."
       LayoutBlockFlow {P} at (0,145) size 784x0
       LayoutBlockFlow {DIV} at (0,145) size 784x20
         LayoutBlockFlow {DIV} at (0,0) size 154x20 [color=#FF0000]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/012-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/012-expected.txt
index 2f0ad5c..93b6723 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/012-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/012-expected.txt
@@ -15,7 +15,7 @@
           text run at (1,87) width 255: "to a green, sans-serif font. "
           text run at (256,87) width 478: "Then, the CSS :first-letter rule sets the font size to"
           text run at (1,115) width 689: "3em, and makes the text bold. And here's some more text to pad out the"
-          text run at (1,143) width 707: "paragraph and make things look nice (or, at least, to illustrate the problem"
+          text run at (1,143) width 706: "paragraph and make things look nice (or, at least, to illustrate the problem"
           text run at (1,171) width 100: "correctly)."
       LayoutBlockFlow {P} at (0,313.16) size 784x142 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
         LayoutBlockFlow (floating) {<pseudo:first-letter>} at (1,1) size 54x88 [color=#008000] [border: (1px dashed #008000)]
@@ -25,7 +25,7 @@
           text run at (55,1) width 727: "ere is the second paragraph. This is just like the first except that the"
           text run at (55,29) width 375: "rule p.floated:first-letter floats the first "
           text run at (430,29) width 161: "letter to the left. "
-          text run at (591,29) width 134: "However, this"
+          text run at (591,29) width 133: "However, this"
           text run at (55,57) width 722: "floated element should still inherit the font properties (green and sans-serif)"
           text run at (55,85) width 725: "from the first-line: selector. It does not -- instead, the font is black, and uses"
           text run at (1,113) width 451: "the serif font. .... And here's some more text ...."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/014-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/014-expected.png
index f9e91ca..84f70b3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/014-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/014-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/014-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/014-expected.txt
index 98185158..fdd356db 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/014-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/014-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x914.56
     LayoutBlockFlow {BODY} at (8,21.44) size 769x868.13
       LayoutBlockFlow {H1} at (0,0) size 769x74
-        LayoutText {#text} at (0,0) size 749x73
-          text run at (0,0) width 749: "Problem: Safari improperly handles generated content"
+        LayoutText {#text} at (0,0) size 748x73
+          text run at (0,0) width 748: "Problem: Safari improperly handles generated content"
           text run at (0,37) width 716: "in certain cases when used with multiple class names"
       LayoutBlockFlow {P} at (0,95.44) size 769x40
-        LayoutInline {EM} at (0,0) size 765x39
-          LayoutText {#text} at (0,0) size 765x39
-            text run at (0,0) width 765: "When referencing an element by two class names simultaneously, Safari won't generate content (using :before or :after)"
+        LayoutInline {EM} at (0,0) size 763x39
+          LayoutText {#text} at (0,0) size 763x39
+            text run at (0,0) width 763: "When referencing an element by two class names simultaneously, Safari won't generate content (using :before or :after)"
             text run at (0,20) width 122: "within the element."
       LayoutBlockFlow {P} at (0,151.44) size 769x40
         LayoutText {#text} at (0,0) size 117x19
@@ -28,26 +28,26 @@
         LayoutInline {CODE} at (0,0) size 24x16
           LayoutText {#text} at (333,3) size 24x16
             text run at (333,3) width 24: "one"
-        LayoutText {#text} at (357,0) size 77x19
-          text run at (357,0) width 77: ". Within that "
-        LayoutInline {CODE} at (0,0) size 25x16
-          LayoutText {#text} at (433,3) size 25x16
-            text run at (433,3) width 25: "div"
-        LayoutText {#text} at (457,0) size 74x19
-          text run at (457,0) width 74: ", we have a "
-        LayoutInline {CODE} at (0,0) size 9x16
-          LayoutText {#text} at (530,3) size 9x16
-            text run at (530,3) width 9: "p"
-        LayoutText {#text} at (538,0) size 768x39
-          text run at (538,0) width 230: " (paragraph) tag, after which we'd like"
+        LayoutText {#text} at (357,0) size 76x19
+          text run at (357,0) width 76: ". Within that "
+        LayoutInline {CODE} at (0,0) size 24x16
+          LayoutText {#text} at (433,3) size 24x16
+            text run at (433,3) width 24: "div"
+        LayoutText {#text} at (457,0) size 73x19
+          text run at (457,0) width 73: ", we have a "
+        LayoutInline {CODE} at (0,0) size 8x16
+          LayoutText {#text} at (530,3) size 8x16
+            text run at (530,3) width 8: "p"
+        LayoutText {#text} at (538,0) size 767x39
+          text run at (538,0) width 229: " (paragraph) tag, after which we'd like"
           text run at (0,20) width 419: "to insert generated content. One way to do so would be the following:"
       LayoutBlockFlow {PRE} at (20,207.44) size 749x16 [color=#FF0000]
         LayoutInline {CODE} at (0,0) size 456x16
           LayoutText {#text} at (0,0) size 456x16
             text run at (0,0) width 456: "div.box.one p:after{ content:'generated content here!'; }"
       LayoutBlockFlow {P} at (0,239.44) size 769x20
-        LayoutText {#text} at (0,0) size 700x19
-          text run at (0,0) width 700: "But that doesn't work in Safari. However, if you drop one of the class names, as shown below, it works as expected:"
+        LayoutText {#text} at (0,0) size 699x19
+          text run at (0,0) width 699: "But that doesn't work in Safari. However, if you drop one of the class names, as shown below, it works as expected:"
       LayoutBlockFlow {PRE} at (20,275.44) size 749x16 [color=#008000]
         LayoutInline {CODE} at (0,0) size 424x16
           LayoutText {#text} at (0,0) size 424x16
@@ -60,9 +60,9 @@
             text run at (276,0) width 40: "within"
         LayoutText {#text} at (316,0) size 257x19
           text run at (316,0) width 257: " the classed element \x{2014} generating content "
-        LayoutInline {EM} at (0,0) size 745x39
-          LayoutText {#text} at (573,0) size 745x39
-            text run at (573,0) width 172: "before or after the element"
+        LayoutInline {EM} at (0,0) size 744x39
+          LayoutText {#text} at (573,0) size 744x39
+            text run at (573,0) width 171: "before or after the element"
             text run at (0,20) width 31: "itself"
         LayoutText {#text} at (31,20) size 70x19
           text run at (31,20) width 70: " works fine:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/after-duplicated-after-split-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/after-duplicated-after-split-expected.png
index ea763e9..ae7e5ab 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/after-duplicated-after-split-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/after-duplicated-after-split-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/after-duplicated-after-split-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/after-duplicated-after-split-expected.txt
index af700d6f4..88f2d45 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/after-duplicated-after-split-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/after-duplicated-after-split-expected.txt
@@ -6,14 +6,14 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 331x19
-          LayoutInline {A} at (0,0) size 154x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 154x19
-              text run at (49,0) width 154: "rdar://problem/7898436"
-          LayoutText {#text} at (202,0) size 178x19
-            text run at (202,0) width 178: " :after content is duplicated"
-        LayoutText {#text} at (379,0) size 5x19
-          text run at (379,0) width 5: "."
+        LayoutInline {I} at (0,0) size 329x19
+          LayoutInline {A} at (0,0) size 152x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 152x19
+              text run at (50,0) width 152: "rdar://problem/7898436"
+          LayoutText {#text} at (202,0) size 177x19
+            text run at (202,0) width 177: " :after content is duplicated"
+        LayoutText {#text} at (379,0) size 4x19
+          text run at (379,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 482x19
           text run at (0,0) width 482: "The test passed if the word \x{201C}not\x{201D} appears exactly once in the following sentence:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/after-order-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/after-order-expected.txt
index cf44c505..f545551 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/after-order-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/after-order-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x582
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {EM} at (0,0) size 640x19
-          LayoutText {#text} at (0,0) size 640x19
-            text run at (0,0) width 640: "When an :after rule has multiple pieces of content, older versions of Safari display them backwards."
+        LayoutInline {EM} at (0,0) size 639x19
+          LayoutText {#text} at (0,0) size 639x19
+            text run at (0,0) width 639: "When an :after rule has multiple pieces of content, older versions of Safari display them backwards."
       LayoutBlockFlow {DIV} at (10,36) size 764x52 [border: (1px solid #000000)]
         LayoutText {#text} at (11,21) size 39x19
           text run at (11,21) width 39: "Inline: "
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/before-with-first-letter-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/before-with-first-letter-expected.png
index 73752e7..d94f3ba 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/before-with-first-letter-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/before-with-first-letter-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/before-with-first-letter-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/before-with-first-letter-expected.txt
index 119dd46..3810334 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/before-with-first-letter-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/before-with-first-letter-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 655x39
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=14221"
-          LayoutText {#text} at (354,0) size 655x39
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 297: "Repro crash (ASSERTION FAILED: oldText in"
-            text run at (0,20) width 608: "LayoutBlockFlow::updateFirstLetter() during relayout of :before content with first-letter style)"
-        LayoutText {#text} at (607,20) size 5x19
-          text run at (607,20) width 5: "."
+        LayoutInline {I} at (0,0) size 654x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=14221"
+          LayoutText {#text} at (354,0) size 654x39
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 296: "Repro crash (ASSERTION FAILED: oldText in"
+            text run at (0,20) width 607: "LayoutBlockFlow::updateFirstLetter() during relayout of :before content with first-letter style)"
+        LayoutText {#text} at (607,20) size 4x19
+          text run at (607,20) width 4: "."
       LayoutBlockFlow {DIV} at (0,56) size 784x34
         LayoutInline {<pseudo:before>} at (0,0) size 47x27
           LayoutInline {<pseudo:first-letter>} at (0,0) size 18x33 [color=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/hover-style-change-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/hover-style-change-expected.png
index e3b704d..e7936d7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/hover-style-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/hover-style-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/hover-style-change-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/hover-style-change-expected.txt
index d32154f..2593f23 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/hover-style-change-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/hover-style-change-expected.txt
@@ -12,13 +12,13 @@
       LayoutBlockFlow {P} at (0,46) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 780x39
-          LayoutInline {A} at (0,0) size 351x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 351x19
-              text run at (49,0) width 351: "http://bugzilla.opendarwin.org/show_bug.cgi?id=6431"
-          LayoutText {#text} at (399,0) size 780x39
-            text run at (399,0) width 5: " "
-            text run at (403,0) width 377: "REGRESSION: style change where :hover changes only an"
+        LayoutInline {I} at (0,0) size 779x39
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 349x19
+              text run at (50,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=6431"
+          LayoutText {#text} at (399,0) size 779x39
+            text run at (399,0) width 4: " "
+            text run at (403,0) width 376: "REGRESSION: style change where :hover changes only an"
             text run at (0,20) width 155: ":after style doesn't work"
         LayoutText {#text} at (155,20) size 4x19
           text run at (155,20) width 4: "."
@@ -29,8 +29,8 @@
           text run at (0,20) width 161: "depending on whether it is "
           text run at (161,20) width 53: "hovered."
       LayoutBlockFlow {P} at (0,158) size 784x40
-        LayoutText {#text} at (0,0) size 757x39
-          text run at (0,0) width 757: "To reproduce the bug outside of DumpRenderTree, mouse over the div several times, and the style change won't update every"
+        LayoutText {#text} at (0,0) size 756x39
+          text run at (0,0) width 756: "To reproduce the bug outside of DumpRenderTree, mouse over the div several times, and the style change won't update every"
           text run at (0,20) width 29: "time "
           text run at (29,20) width 79: "like it should."
 layer at (8,36) size 784x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/inline-display-types-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/inline-display-types-expected.txt
index 0c43a8f..b8747c9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/inline-display-types-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/inline-display-types-expected.txt
@@ -10,14 +10,14 @@
         LayoutInline {<pseudo:before>} at (0,0) size 32x19
           LayoutTextFragment (anonymous) at (0,0) size 32x19
             text run at (0,0) width 32: "Test: "
-        LayoutText {#text} at (31,0) size 45x19
-          text run at (31,0) width 45: "content"
+        LayoutText {#text} at (32,0) size 44x19
+          text run at (32,0) width 44: "content"
       LayoutBlockFlow {DIV} at (0,78.44) size 784x20
-        LayoutBlockFlow {<pseudo:before>} at (0,0) size 27.89x20
+        LayoutBlockFlow {<pseudo:before>} at (0,0) size 28x20
           LayoutTextFragment (anonymous) at (0,0) size 28x19
             text run at (0,0) width 28: "Test:"
-        LayoutText {#text} at (27,0) size 45x19
-          text run at (27,0) width 45: "content"
+        LayoutText {#text} at (28,0) size 44x19
+          text run at (28,0) width 44: "content"
       LayoutBlockFlow {DIV} at (0,98.44) size 784x20
         LayoutTable {<pseudo:before>} at (0,0) size 28x20
           LayoutTableSection (anonymous) at (0,0) size 28x20
@@ -35,16 +35,16 @@
           LayoutInline {<pseudo:before>} at (0,0) size 32x19
             LayoutTextFragment (anonymous) at (0,0) size 32x19
               text run at (0,0) width 32: "Test: "
-          LayoutText {#text} at (31,0) size 45x19
-            text run at (31,0) width 45: "content"
-        LayoutBR {BR} at (75,15) size 1x0
+          LayoutText {#text} at (32,0) size 44x19
+            text run at (32,0) width 44: "content"
+        LayoutBR {BR} at (76,15) size 0x0
         LayoutInline {SPAN} at (0,0) size 72x19
-          LayoutBlockFlow {<pseudo:before>} at (0,20) size 27.89x20
+          LayoutBlockFlow {<pseudo:before>} at (0,20) size 28x20
             LayoutTextFragment (anonymous) at (0,0) size 28x19
               text run at (0,0) width 28: "Test:"
-          LayoutText {#text} at (27,20) size 45x19
-            text run at (27,20) width 45: "content"
-        LayoutBR {BR} at (71,35) size 1x0
+          LayoutText {#text} at (28,20) size 44x19
+            text run at (28,20) width 44: "content"
+        LayoutBR {BR} at (72,35) size 0x0
         LayoutInline {SPAN} at (0,0) size 72x19
           LayoutTable {<pseudo:before>} at (0,40) size 28x20
             LayoutTableSection (anonymous) at (0,0) size 28x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/table-cell-before-content-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/table-cell-before-content-expected.png
index 6844906..1310e23 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/table-cell-before-content-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/table-cell-before-content-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/table-cell-before-content-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/table-cell-before-content-expected.txt
index b6f3b91..32ef0ca7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/table-cell-before-content-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/table-cell-before-content-expected.txt
@@ -4,15 +4,15 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x36
     LayoutBlockFlow {BODY} at (8,8) size 784x20 [color=#0000FF]
       LayoutBlockFlow {DIV} at (0,0) size 784x20
-        LayoutTable (anonymous) at (0,0) size 264x20
-          LayoutTableSection (anonymous) at (0,0) size 264x20
-            LayoutTableRow (anonymous) at (0,0) size 264x20
-              LayoutTableCell {<pseudo:before>} at (0,0) size 189x20 [r=0 c=0 rs=1 cs=1]
-                LayoutTextFragment (anonymous) at (0,0) size 189x19
-                  text run at (0,0) width 189: "You should just see a single line"
-              LayoutTableCell {DIV} at (189,0) size 4x20 [r=0 c=1 rs=1 cs=1]
+        LayoutTable (anonymous) at (0,0) size 263x20
+          LayoutTableSection (anonymous) at (0,0) size 263x20
+            LayoutTableRow (anonymous) at (0,0) size 263x20
+              LayoutTableCell {<pseudo:before>} at (0,0) size 188x20 [r=0 c=0 rs=1 cs=1]
+                LayoutTextFragment (anonymous) at (0,0) size 188x19
+                  text run at (0,0) width 188: "You should just see a single line"
+              LayoutTableCell {DIV} at (188,0) size 4x20 [r=0 c=1 rs=1 cs=1]
                 LayoutText {#text} at (0,0) size 4x19
                   text run at (0,0) width 4: " "
-              LayoutTableCell {<pseudo:after>} at (193,0) size 71x20 [r=0 c=2 rs=1 cs=1]
+              LayoutTableCell {<pseudo:after>} at (192,0) size 71x20 [r=0 c=2 rs=1 cs=1]
                 LayoutTextFragment (anonymous) at (0,0) size 71x19
                   text run at (0,0) width 71: "of blue text."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/table-row-before-after-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/table-row-before-after-expected.png
index 0d46218..f3f8972 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/table-row-before-after-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/table-row-before-after-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/wbr-with-before-content-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/wbr-with-before-content-expected.txt
index 8cbdae0..7f4e553 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/wbr-with-before-content-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/wbr-with-before-content-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 176x19
-          text run at (0,0) width 176: "You should not see any cyan."
+        LayoutText {#text} at (0,0) size 175x19
+          text run at (0,0) width 175: "You should not see any cyan."
       LayoutBlockFlow {DIV} at (0,20) size 202x27 [bgcolor=#00FFFF] [border: (1px solid #777777)]
         LayoutBlockFlow {A} at (1,1) size 200x25 [color=#0000EE] [bgcolor=#FFFFFF]
           LayoutText {#text} at (0,3) size 20x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/002-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/002-expected.txt
index 5258306a..5ea107d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/002-expected.txt
@@ -4,12 +4,12 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x560
       LayoutBlockFlow (anonymous) at (0,0) size 784x76
-        LayoutText {#text} at (0,0) size 742x76
-          text run at (0,0) width 664: "These two lines should both be Verdana. "
-          text run at (663,0) width 79: "They"
+        LayoutText {#text} at (0,0) size 741x76
+          text run at (0,0) width 663: "These two lines should both be Verdana. "
+          text run at (663,0) width 78: "They"
           text run at (0,38) width 313: "should be identical."
       LayoutBlockFlow {P} at (0,108) size 784x76
-        LayoutText {#text} at (0,0) size 742x76
-          text run at (0,0) width 664: "These two lines should both be Verdana. "
-          text run at (663,0) width 79: "They"
+        LayoutText {#text} at (0,0) size 741x76
+          text run at (0,0) width 663: "These two lines should both be Verdana. "
+          text run at (663,0) width 78: "They"
           text run at (0,38) width 313: "should be identical."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/003-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/003-expected.txt
index 12fed1d..9259c0d0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/003-expected.txt
@@ -24,8 +24,8 @@
                   text run at (20,1) width 58: "Az"
             LayoutTableCell {TD} at (246,2) size 242x360.44 [r=0 c=1 rs=1 cs=1]
               LayoutBlockFlow {H1} at (1,1) size 240x37
-                LayoutText {#text} at (0,0) size 165x36
-                  text run at (0,0) width 165: "Blue-on-red"
+                LayoutText {#text} at (0,0) size 164x36
+                  text run at (0,0) width 164: "Blue-on-red"
               LayoutBlockFlow (anonymous) at (1,59.44) size 240x20
                 LayoutText {#text} at (0,0) size 135x19
                   text run at (0,0) width 135: "Background color first"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/004-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/004-expected.txt
index c2f8129..9e629309 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/004-expected.txt
@@ -4,21 +4,21 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x283.88
     LayoutBlockFlow {BODY} at (8,21.44) size 784x246.44
       LayoutBlockFlow {H1} at (0,0) size 784x37
-        LayoutText {#text} at (0,0) size 421x36
-          text run at (0,0) width 421: "Shorthand border properties 2"
+        LayoutText {#text} at (0,0) size 420x36
+          text run at (0,0) width 420: "Shorthand border properties 2"
       LayoutBlockFlow {P} at (0,58.44) size 784x20
         LayoutText {#text} at (0,0) size 484x19
           text run at (0,0) width 385: "This test was written to test a point I mentioned to Tantek \x{C7}elik "
-          text run at (384,0) width 100: "on 2000-07-13."
+          text run at (385,0) width 99: "on 2000-07-13."
       LayoutBlockFlow {P} at (0,94.44) size 784x26 [color=#008000] [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 262x19
-          text run at (3,3) width 262: "This paragraph should have a green border."
+        LayoutText {#text} at (3,3) size 261x19
+          text run at (3,3) width 261: "This paragraph should have a green border."
       LayoutBlockFlow {P} at (0,136.44) size 784x26 [color=#008000] [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 262x19
-          text run at (3,3) width 262: "This paragraph should have a green border."
+        LayoutText {#text} at (3,3) size 261x19
+          text run at (3,3) width 261: "This paragraph should have a green border."
       LayoutBlockFlow {P} at (0,178.44) size 784x26 [color=#008000] [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 262x19
-          text run at (3,3) width 262: "This paragraph should have a green border."
+        LayoutText {#text} at (3,3) size 261x19
+          text run at (3,3) width 261: "This paragraph should have a green border."
       LayoutBlockFlow {P} at (0,220.44) size 784x26 [color=#008000] [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 262x19
-          text run at (3,3) width 262: "This paragraph should have a green border."
+        LayoutText {#text} at (3,3) size 261x19
+          text run at (3,3) width 261: "This paragraph should have a green border."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/005-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/005-expected.txt
index ae0d2357..6e608b4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/005-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/005-expected.txt
@@ -4,71 +4,71 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x769.88
     LayoutBlockFlow {BODY} at (8,21.44) size 784x732.44
       LayoutBlockFlow {H1} at (0,0) size 784x37
-        LayoutText {#text} at (0,0) size 377x36
-          text run at (0,0) width 377: "Shorthand border property"
+        LayoutText {#text} at (0,0) size 376x36
+          text run at (0,0) width 376: "Shorthand border property"
       LayoutBlockFlow {P} at (0,58.44) size 784x26 [color=#008000] [bgcolor=#FFFFFF] [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 345x19
-          text run at (3,3) width 345: "This paragraph should have a medium solid green border."
+        LayoutText {#text} at (3,3) size 344x19
+          text run at (3,3) width 344: "This paragraph should have a medium solid green border."
       LayoutBlockFlow {P} at (0,100.44) size 784x26 [color=#008000] [bgcolor=#FFFFFF] [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 345x19
-          text run at (3,3) width 345: "This paragraph should have a medium solid green border."
+        LayoutText {#text} at (3,3) size 344x19
+          text run at (3,3) width 344: "This paragraph should have a medium solid green border."
       LayoutBlockFlow {P} at (0,142.44) size 784x20 [bgcolor=#FFFFFF]
-        LayoutText {#text} at (0,0) size 248x19
-          text run at (0,0) width 248: "This paragraph should not have a border."
+        LayoutText {#text} at (0,0) size 247x19
+          text run at (0,0) width 247: "This paragraph should not have a border."
       LayoutBlockFlow {P} at (0,178.44) size 784x26 [bgcolor=#FFFFFF] [border: (3px solid #000000)]
         LayoutText {#text} at (3,3) size 263x19
           text run at (3,3) width 263: "This paragraph should have a medium solid "
         LayoutInline {EM} at (0,0) size 35x19
           LayoutText {#text} at (266,3) size 35x19
             text run at (266,3) width 35: "black"
-        LayoutText {#text} at (301,3) size 49x19
-          text run at (301,3) width 49: " border."
+        LayoutText {#text} at (301,3) size 48x19
+          text run at (301,3) width 48: " border."
       LayoutBlockFlow {P} at (0,220.44) size 784x20 [bgcolor=#FFFFFF]
-        LayoutText {#text} at (0,0) size 248x19
-          text run at (0,0) width 248: "This paragraph should not have a border."
+        LayoutText {#text} at (0,0) size 247x19
+          text run at (0,0) width 247: "This paragraph should not have a border."
       LayoutBlockFlow {P} at (0,256.44) size 784x20 [bgcolor=#FFFFFF]
-        LayoutText {#text} at (0,0) size 248x19
-          text run at (0,0) width 248: "This paragraph should not have a border."
+        LayoutText {#text} at (0,0) size 247x19
+          text run at (0,0) width 247: "This paragraph should not have a border."
       LayoutBlockFlow {P} at (0,292.44) size 784x26 [bgcolor=#FFFFFF] [border: (3px solid #000000)]
         LayoutText {#text} at (3,3) size 263x19
           text run at (3,3) width 263: "This paragraph should have a medium solid "
         LayoutInline {EM} at (0,0) size 35x19
           LayoutText {#text} at (266,3) size 35x19
             text run at (266,3) width 35: "black"
-        LayoutText {#text} at (301,3) size 49x19
-          text run at (301,3) width 49: " border."
+        LayoutText {#text} at (301,3) size 48x19
+          text run at (301,3) width 48: " border."
       LayoutBlockFlow {P} at (0,334.44) size 784x26 [bgcolor=#FFFFFF] [border: (3px solid #000000)]
         LayoutText {#text} at (3,3) size 263x19
           text run at (3,3) width 263: "This paragraph should have a medium solid "
         LayoutInline {EM} at (0,0) size 35x19
           LayoutText {#text} at (266,3) size 35x19
             text run at (266,3) width 35: "black"
-        LayoutText {#text} at (301,3) size 49x19
-          text run at (301,3) width 49: " border."
+        LayoutText {#text} at (301,3) size 48x19
+          text run at (301,3) width 48: " border."
       LayoutBlockFlow {P} at (0,376.44) size 784x26 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 345x19
-          text run at (3,3) width 345: "This paragraph should have a medium solid green border."
+        LayoutText {#text} at (3,3) size 344x19
+          text run at (3,3) width 344: "This paragraph should have a medium solid green border."
       LayoutBlockFlow {P} at (0,418.44) size 784x26 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 345x19
-          text run at (3,3) width 345: "This paragraph should have a medium solid green border."
+        LayoutText {#text} at (3,3) size 344x19
+          text run at (3,3) width 344: "This paragraph should have a medium solid green border."
       LayoutBlockFlow {P} at (0,460.44) size 784x20 [bgcolor=#FFFFFF]
-        LayoutText {#text} at (0,0) size 248x19
-          text run at (0,0) width 248: "This paragraph should not have a border."
+        LayoutText {#text} at (0,0) size 247x19
+          text run at (0,0) width 247: "This paragraph should not have a border."
       LayoutBlockFlow {P} at (0,496.44) size 784x26 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 345x19
-          text run at (3,3) width 345: "This paragraph should have a medium solid green border."
+        LayoutText {#text} at (3,3) size 344x19
+          text run at (3,3) width 344: "This paragraph should have a medium solid green border."
       LayoutBlockFlow {P} at (0,538.44) size 784x26 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 345x19
-          text run at (3,3) width 345: "This paragraph should have a medium solid green border."
+        LayoutText {#text} at (3,3) size 344x19
+          text run at (3,3) width 344: "This paragraph should have a medium solid green border."
       LayoutBlockFlow {P} at (0,580.44) size 784x26 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 345x19
-          text run at (3,3) width 345: "This paragraph should have a medium solid green border."
+        LayoutText {#text} at (3,3) size 344x19
+          text run at (3,3) width 344: "This paragraph should have a medium solid green border."
       LayoutBlockFlow {P} at (0,622.44) size 784x26 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 345x19
-          text run at (3,3) width 345: "This paragraph should have a medium solid green border."
+        LayoutText {#text} at (3,3) size 344x19
+          text run at (3,3) width 344: "This paragraph should have a medium solid green border."
       LayoutBlockFlow {P} at (0,664.44) size 784x26 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 345x19
-          text run at (3,3) width 345: "This paragraph should have a medium solid green border."
+        LayoutText {#text} at (3,3) size 344x19
+          text run at (3,3) width 344: "This paragraph should have a medium solid green border."
       LayoutBlockFlow {P} at (0,706.44) size 784x26 [bgcolor=#FFFFFF] [border: (3px solid #008000)]
-        LayoutText {#text} at (3,3) size 345x19
-          text run at (3,3) width 345: "This paragraph should have a medium solid green border."
+        LayoutText {#text} at (3,3) size 344x19
+          text run at (3,3) width 344: "This paragraph should have a medium solid green border."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/008-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/008-expected.png
index cf9a3ee..c8c12c17 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/008-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/008-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/ZeroOpacityLayers-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/ZeroOpacityLayers-expected.txt
index f646393..c916c3e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/ZeroOpacityLayers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/ZeroOpacityLayers-expected.txt
@@ -20,7 +20,7 @@
   LayoutBlockFlow (positioned) {DIV} at (80,80) size 200x200 [bgcolor=#FFFF00]
 layer at (10,316) size 790x60
   LayoutBlockFlow (positioned) {P} at (10,316) size 790x60
-    LayoutText {#text} at (0,0) size 785x59
-      text run at (0,0) width 785: "Below are four boxes all within each other, and a box overlaping other boxes. The 3rd inner box is red, and has an opacity of zero,"
+    LayoutText {#text} at (0,0) size 784x59
+      text run at (0,0) width 784: "Below are four boxes all within each other, and a box overlaping other boxes. The 3rd inner box is red, and has an opacity of zero,"
       text run at (0,20) width 769: "and the box within it is black and has an opacity of 1. As the third box has opacity zero, the inner black is not visible. The yellow"
       text run at (0,40) width 526: "block has opacity of 0.5, and is as the same level in the DOM tree as the 3rd inner box."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/ZeroOpacityLayers2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/ZeroOpacityLayers2-expected.txt
index 407ee6b..9fb7556 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/ZeroOpacityLayers2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/ZeroOpacityLayers2-expected.txt
@@ -20,7 +20,7 @@
   LayoutBlockFlow (positioned) {DIV} at (80,80) size 200x200 [bgcolor=#FFFF00]
 layer at (10,316) size 790x60
   LayoutBlockFlow (positioned) {P} at (10,316) size 790x60
-    LayoutText {#text} at (0,0) size 785x59
-      text run at (0,0) width 785: "Below are four boxes all within each other, and a box overlaping other boxes. The 3rd inner box is red, and has an opacity of zero,"
+    LayoutText {#text} at (0,0) size 784x59
+      text run at (0,0) width 784: "Below are four boxes all within each other, and a box overlaping other boxes. The 3rd inner box is red, and has an opacity of zero,"
       text run at (0,20) width 781: "and the box within it is black and has an opacity of 0.5. As the third box has opacity zero, the inner black is not visible. The yellow"
       text run at (0,40) width 526: "block has opacity of 0.5, and is as the same level in the DOM tree as the 3rd inner box."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/acid2-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/acid2-expected.png
index 447bd93..b993135 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/acid2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/acid2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/acid2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/acid2-expected.txt
index 7e0224d..36529b5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/acid2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/acid2-expected.txt
@@ -76,13 +76,13 @@
       LayoutText {#text} at (0,0) size 253x29
         text run at (0,0) width 253: "Standards compliant?"
     LayoutBlockFlow {P} at (13,43) size 678x28
-      LayoutInline {A} at (0,0) size 214x27 [color=#0000FF]
-        LayoutText {#text} at (0,0) size 214x27
-          text run at (0,0) width 214: "Take The Acid2 Test"
-      LayoutText {#text} at (213,0) size 202x27
-        text run at (213,0) width 202: " and compare it to "
-      LayoutInline {A} at (0,0) size 253x27 [color=#0000FF]
-        LayoutText {#text} at (414,0) size 253x27
-          text run at (414,0) width 253: "the reference rendering"
-      LayoutText {#text} at (666,0) size 8x27
-        text run at (666,0) width 8: "."
+      LayoutInline {A} at (0,0) size 213x27 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 213x27
+          text run at (0,0) width 213: "Take The Acid2 Test"
+      LayoutText {#text} at (213,0) size 201x27
+        text run at (213,0) width 201: " and compare it to "
+      LayoutInline {A} at (0,0) size 252x27 [color=#0000FF]
+        LayoutText {#text} at (414,0) size 252x27
+          text run at (414,0) width 252: "the reference rendering"
+      LayoutText {#text} at (666,0) size 7x27
+        text run at (666,0) width 7: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/background-shorthand-invalid-url-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/background-shorthand-invalid-url-expected.png
index ddbf01b16d..fbfffd0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/background-shorthand-invalid-url-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/background-shorthand-invalid-url-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/background-shorthand-invalid-url-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/background-shorthand-invalid-url-expected.txt
index d5115eb9..2256a44 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/background-shorthand-invalid-url-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/background-shorthand-invalid-url-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x186.88
     LayoutBlockFlow {BODY} at (8,21.44) size 784x149.44
       LayoutBlockFlow {H1} at (0,0) size 784x37
-        LayoutText {#text} at (0,0) size 570x36
-          text run at (0,0) width 570: "The background image should not repeat."
+        LayoutText {#text} at (0,0) size 569x36
+          text run at (0,0) width 569: "The background image should not repeat."
       LayoutBlockFlow {DIV} at (0,58.44) size 784x91
         LayoutBlockFlow {UL} at (0,0) size 784x91
           LayoutListItem {LI} at (40,0) size 744x91 [border: (1px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/beforeSelectorOnCodeElement-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/beforeSelectorOnCodeElement-expected.png
index dddc869..0d7cda7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/beforeSelectorOnCodeElement-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/beforeSelectorOnCodeElement-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/beforeSelectorOnCodeElement-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/beforeSelectorOnCodeElement-expected.txt
index eaf9038a..4f17a36e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/beforeSelectorOnCodeElement-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/beforeSelectorOnCodeElement-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 691x19
           text run at (0,0) width 691: "The word \"PASSED\" should be shown below with a cirlce before and a square after. This is a test for WebKit bug "
-        LayoutInline {A} at (0,0) size 40x19 [color=#0000EE]
-          LayoutText {#text} at (690,0) size 40x19
-            text run at (690,0) width 40: "11197"
-        LayoutText {#text} at (729,0) size 5x19
-          text run at (729,0) width 5: "."
+        LayoutInline {A} at (0,0) size 38x19 [color=#0000EE]
+          LayoutText {#text} at (691,0) size 38x19
+            text run at (691,0) width 38: "11197"
+        LayoutText {#text} at (729,0) size 4x19
+          text run at (729,0) width 4: "."
       LayoutBlockFlow (anonymous) at (0,36) size 784x16
         LayoutInline {CODE} at (0,0) size 64x16
           LayoutInline {<pseudo:before>} at (0,0) size 8x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/bidi-override-in-anonymous-block-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/bidi-override-in-anonymous-block-expected.txt
index 052c35e4..ea63318 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/bidi-override-in-anonymous-block-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/bidi-override-in-anonymous-block-expected.txt
@@ -178,47 +178,47 @@
       LayoutBlockFlow {P} at (0,976.69) size 769x20
         LayoutText {#text} at (0,0) size 389x19
           text run at (0,0) width 389: "The following 2 tables should be identical, ignorning whitespaces:"
-      LayoutTable {TABLE} at (1.39,1012.69) size 78x72 [border: (1px solid #808080)]
-        LayoutBlockFlow {CAPTION} at (0,0) size 78x20
+      LayoutTable {TABLE} at (1.39,1012.69) size 79x72 [border: (1px solid #808080)]
+        LayoutBlockFlow {CAPTION} at (0,0) size 79x20
           LayoutText {#text} at (0,0) size 79x19
-            text run at (0,0) width 78: "NormalTable"
-        LayoutTableSection {TBODY} at (1,21) size 76x50
-          LayoutTableRow {TR} at (0,2) size 76x22
-            LayoutTableCell {TD} at (41,2) size 33x22 [r=0 c=0 rs=1 cs=1]
-              LayoutText {#text} at (10,1) size 22x19
-                text run at (10,1) width 22: "abc"
+            text run at (0,0) width 79: "NormalTable"
+        LayoutTableSection {TBODY} at (1,21) size 77x50
+          LayoutTableRow {TR} at (0,2) size 77x22
+            LayoutTableCell {TD} at (41,2) size 34x22 [r=0 c=0 rs=1 cs=1]
+              LayoutText {#text} at (11,1) size 22x19
+                text run at (11,1) width 22: "abc"
             LayoutTableCell {TD} at (2,2) size 37x22 [r=0 c=1 rs=1 cs=1]
               LayoutText {#text} at (17,1) size 19x19
                 text run at (17,1) width 19: "def"
-          LayoutTableRow {TR} at (0,26) size 76x22
-            LayoutTableCell {TD} at (41,26) size 33x22 [r=1 c=0 rs=1 cs=1]
-              LayoutText {#text} at (18,1) size 14x19
-                text run at (18,1) width 14: "hij"
+          LayoutTableRow {TR} at (0,26) size 77x22
+            LayoutTableCell {TD} at (41,26) size 34x22 [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (19,1) size 14x19
+                text run at (19,1) width 14: "hij"
             LayoutTableCell {TD} at (2,26) size 37x22 [r=1 c=1 rs=1 cs=1]
               LayoutText {#text} at (12,1) size 24x19
                 text run at (12,1) width 24: "opq"
-      LayoutTable {DIV} at (1.39,1086.08) size 133x62 [border: (1px solid #000000)]
-        LayoutBlockFlow {DIV} at (0,0) size 133x20
+      LayoutTable {DIV} at (1.39,1086.08) size 134x62 [border: (1px solid #000000)]
+        LayoutBlockFlow {DIV} at (0,0) size 134x20
           LayoutText {#text} at (0,0) size 134x19
-            text run at (0,0) width 133: "AnonymousTableRow"
-        LayoutTableSection (anonymous) at (1,21) size 131x40
-          LayoutTableRow {DIV} at (0,0) size 131x20
-            LayoutTableCell {DIV} at (69,0) size 62x20 [r=0 c=0 rs=1 cs=1]
-              LayoutText {#text} at (40,0) size 22x19
-                text run at (40,0) width 22: "abc"
+            text run at (0,0) width 134: "AnonymousTableRow"
+        LayoutTableSection (anonymous) at (1,21) size 132x40
+          LayoutTableRow {DIV} at (0,0) size 132x20
+            LayoutTableCell {DIV} at (69,0) size 63x20 [r=0 c=0 rs=1 cs=1]
+              LayoutText {#text} at (41,0) size 22x19
+                text run at (41,0) width 22: "abc"
             LayoutTableCell {DIV} at (0,0) size 69x20 [r=0 c=1 rs=1 cs=1]
               LayoutText {#text} at (50,0) size 19x19
                 text run at (50,0) width 19: "def"
-          LayoutTableRow {DIV} at (0,20) size 131x20
-            LayoutTableCell {DIV} at (69,20) size 62x20 [r=1 c=0 rs=1 cs=1]
-              LayoutText {#text} at (48,0) size 14x19
-                text run at (48,0) width 14: "hij"
+          LayoutTableRow {DIV} at (0,20) size 132x20
+            LayoutTableCell {DIV} at (69,20) size 63x20 [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (49,0) size 14x19
+                text run at (49,0) width 14: "hij"
             LayoutTableCell {DIV} at (0,20) size 69x20 [r=1 c=1 rs=1 cs=1]
               LayoutText {#text} at (45,0) size 24x19
                 text run at (45,0) width 24: "opq"
       LayoutBlockFlow {P} at (0,1164.08) size 769x20
-        LayoutText {#text} at (0,0) size 481x19
-          text run at (0,0) width 481: "Anonymous TABLE, TABLE_ROW, TABLE_ROW_GROUP, TABLE_CELL"
+        LayoutText {#text} at (0,0) size 482x19
+          text run at (0,0) width 482: "Anonymous TABLE, TABLE_ROW, TABLE_ROW_GROUP, TABLE_CELL"
       LayoutBlockFlow {DIV} at (0,1200.08) size 769x82.78 [border: (1.39px solid #000000)]
         LayoutTable (anonymous) at (1.39,1.39) size 24x80
           LayoutTableSection (anonymous) at (0,20) size 24x40
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/border-radius-outline-offset-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/border-radius-outline-offset-expected.png
index 99b40159..214858bf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/border-radius-outline-offset-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/border-radius-outline-offset-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/border-radius-outline-offset-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/border-radius-outline-offset-expected.txt
index 9f15d273..5ff3dfdb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/border-radius-outline-offset-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/border-radius-outline-offset-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 627x19
-          LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 305x19
-              text run at (49,0) width 305: "http://bugs.webkit.org/show_bug.cgi?id=11930"
-          LayoutText {#text} at (353,0) size 323x19
-            text run at (353,0) width 5: " "
-            text run at (357,0) width 319: "Specifying border-radius makes the outline shrink"
-        LayoutText {#text} at (675,0) size 5x19
-          text run at (675,0) width 5: "."
+        LayoutInline {I} at (0,0) size 625x19
+          LayoutInline {A} at (0,0) size 303x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 303x19
+              text run at (50,0) width 303: "http://bugs.webkit.org/show_bug.cgi?id=11930"
+          LayoutText {#text} at (353,0) size 322x19
+            text run at (353,0) width 4: " "
+            text run at (357,0) width 318: "Specifying border-radius makes the outline shrink"
+        LayoutText {#text} at (675,0) size 4x19
+          text run at (675,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 261x19
           text run at (0,0) width 261: "These two squares should be the same size:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/clip-zooming-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/clip-zooming-expected.png
index 0b0f1cd..aaa5f594 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/clip-zooming-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/clip-zooming-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/color-correction-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/color-correction-expected.png
index f06d7fb2..96b976e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/color-correction-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/color-correction-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/color-correction-on-background-image-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/color-correction-on-background-image-expected.txt
index 751836e..acef3a4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/color-correction-on-background-image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/color-correction-on-background-image-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x864
     LayoutBlockFlow {BODY} at (8,8) size 769x576
       LayoutBlockFlow {P} at (0,0) size 769x40
-        LayoutText {#text} at (0,0) size 765x39
-          text run at (0,0) width 765: "The two squares below should not match each other. On the left an uncorrected image is tiled as a background, and on the right"
+        LayoutText {#text} at (0,0) size 764x39
+          text run at (0,0) width 764: "The two squares below should not match each other. On the left an uncorrected image is tiled as a background, and on the right"
           text run at (0,20) width 428: "the same image is tiled as a background, but it is corrected from sRGB."
       LayoutBlockFlow (floating) {DIV} at (0,56) size 400x400
       LayoutBlockFlow (floating) {DIV} at (0,456) size 400x400
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/color-correction-untagged-images-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/color-correction-untagged-images-expected.txt
index 5a30a2c..3e61304 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/color-correction-untagged-images-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/color-correction-untagged-images-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 772x39
-          text run at (0,0) width 772: "The two squares below should not match each other. On the left is an uncorrected image and border, and on the right is the same"
+        LayoutText {#text} at (0,0) size 771x39
+          text run at (0,0) width 771: "The two squares below should not match each other. On the left is an uncorrected image and border, and on the right is the same"
           text run at (0,20) width 315: "image and same border color corrected from sRGB."
       LayoutImage (floating) {IMG} at (0,56) size 140x140 [border: (20px solid #560063)]
       LayoutImage (floating) {IMG} at (140,56) size 140x140 [border: (20px solid #560063)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/continuationCrash-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/continuationCrash-expected.txt
index 5d94c6b..e2a43a7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/continuationCrash-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/continuationCrash-expected.txt
@@ -44,8 +44,8 @@
             text run at (0,0) width 420: "1. 3. will not crash Safari. (But the outline should vanish. Shouldn't it?)"
         LayoutListItem {LI} at (40,140) size 744x20
           LayoutListMarker (anonymous) at (-16,0) size 16x19: "8"
-          LayoutText {#text} at (0,0) size 191x19
-            text run at (0,0) width 191: "2. 3. will not crash Safari either."
+          LayoutText {#text} at (0,0) size 190x19
+            text run at (0,0) width 190: "2. 3. will not crash Safari either."
         LayoutBlockFlow (anonymous) at (40,160) size 744x22
           LayoutButton {INPUT} at (0,0) size 144x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
             LayoutBlockFlow (anonymous) at (8,3) size 128x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/css-imports-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/css-imports-expected.png
index 2acedbc..77cb4d69 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/css-imports-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/css-imports-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/css-imports-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/css-imports-expected.txt
index 7dd31af..e3c4a69 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/css-imports-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/css-imports-expected.txt
@@ -6,9 +6,9 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {A} at (0,0) size 67x19 [color=#0000EE]
-          LayoutText {#text} at (49,0) size 67x19
-            text run at (49,0) width 67: "bug 11575"
+        LayoutInline {A} at (0,0) size 65x19 [color=#0000EE]
+          LayoutText {#text} at (50,0) size 65x19
+            text run at (50,0) width 65: "bug 11575"
         LayoutText {#text} at (115,0) size 400x19
           text run at (115,0) width 400: ": REGRESSION: WebCore crash in CSSParser/HTMLTokenizer."
       LayoutBlockFlow {P} at (0,36) size 784x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/css1_forward_compatible_parsing-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/css1_forward_compatible_parsing-expected.txt
index 57d32ee..dc2c26e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/css1_forward_compatible_parsing-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/css1_forward_compatible_parsing-expected.txt
@@ -7,16 +7,16 @@
         LayoutBlockFlow {P} at (0,0) size 784x40
           LayoutText {#text} at (0,0) size 753x39
             text run at (0,0) width 753: "First sentence: this text should be green. The markup code is invalid according to W3C HTML validator and the CSS code is"
-            text run at (0,20) width 248: "invalid according to W3C CSS validator."
+            text run at (0,20) width 247: "invalid according to W3C CSS validator."
       LayoutBlockFlow {DIV} at (0,56) size 784x40 [color=#008000] [bgcolor=#FFFFFF]
         LayoutBlockFlow {P} at (0,0) size 784x40 [color=#FF0000]
           LayoutText {#text} at (0,0) size 762x39
             text run at (0,0) width 762: "Second sentence: this text should be green according to CSS 1 but it should be red according to CSS 2.1. The markup code is"
-            text run at (0,20) width 709: "also invalid according to W3C HTML validator but the CSS code is perfectly valid according to W3C CSS validator."
+            text run at (0,20) width 708: "also invalid according to W3C HTML validator but the CSS code is perfectly valid according to W3C CSS validator."
       LayoutBlockFlow {H3} at (0,114.72) size 784x46 [color=#008000] [bgcolor=#FFFFFF]
         LayoutText {#text} at (0,0) size 761x45
           text run at (0,0) width 761: "Third sentence: this text should be green. The markup code is valid according to W3C HTML"
-          text run at (0,23) width 573: "validator but the CSS code is invalid according to W3C CSS validator."
+          text run at (0,23) width 572: "validator but the CSS code is invalid according to W3C CSS validator."
       LayoutBlockFlow {H4} at (0,181.98) size 784x60 [color=#FF0000] [bgcolor=#FFFFFF]
         LayoutText {#text} at (0,0) size 784x59
           text run at (0,0) width 760: "Fourth sentence: this text should be green according to CSS 1 (class name can not start with a dash in CSS 1) but it"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/css3-space-in-nth-and-lang-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/css3-space-in-nth-and-lang-expected.txt
index 816fd5fd..f26eff99 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/css3-space-in-nth-and-lang-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/css3-space-in-nth-and-lang-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 784x20 [color=#008000] [bgcolor=#FFFF00]
-        LayoutText {#text} at (0,0) size 102x19
-          text run at (0,0) width 102: "Green on Yellow"
+        LayoutText {#text} at (0,0) size 101x19
+          text run at (0,0) width 101: "Green on Yellow"
       LayoutBlockFlow {DIV} at (0,20) size 784x20 [color=#0000FF] [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 84x19
           text run at (0,0) width 84: "Blue on Silver"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/error-in-last-decl-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/error-in-last-decl-expected.txt
index 4f0aef3..c1aefc1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/error-in-last-decl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/error-in-last-decl-expected.txt
@@ -9,8 +9,8 @@
         LayoutInline {A} at (0,0) size 58x19 [color=#0000EE]
           LayoutText {#text} at (46,0) size 58x19
             text run at (46,0) width 58: "bug 7157"
-        LayoutText {#text} at (104,0) size 635x19
-          text run at (104,0) width 635: ": An asterisk in a CSS property name breaks CSS handling (Many layout problems at letras.terra.com.br)"
+        LayoutText {#text} at (104,0) size 634x19
+          text run at (104,0) width 634: ": An asterisk in a CSS property name breaks CSS handling (Many layout problems at letras.terra.com.br)"
       LayoutBlockFlow {P} at (0,36) size 784x20 [color=#008000]
         LayoutText {#text} at (0,0) size 157x19
           text run at (0,0) width 157: "Should be green on white."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/ex-after-font-variant-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/ex-after-font-variant-expected.png
index 034b77a..80e90a44 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/ex-after-font-variant-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/ex-after-font-variant-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/ex-after-font-variant-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/ex-after-font-variant-expected.txt
index a9cfd0b..6fd214d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/ex-after-font-variant-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/ex-after-font-variant-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 695x19
-          LayoutInline {A} at (0,0) size 351x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 351x19
-              text run at (49,0) width 351: "http://bugzilla.opendarwin.org/show_bug.cgi?id=4227"
-          LayoutText {#text} at (399,0) size 345x19
-            text run at (399,0) width 5: " "
-            text run at (403,0) width 341: "The ex unit doesn't work for font-variant: small-caps"
-        LayoutText {#text} at (743,0) size 5x19
-          text run at (743,0) width 5: "."
+        LayoutInline {I} at (0,0) size 693x19
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 349x19
+              text run at (50,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=4227"
+          LayoutText {#text} at (399,0) size 344x19
+            text run at (399,0) width 4: " "
+            text run at (403,0) width 340: "The ex unit doesn't work for font-variant: small-caps"
+        LayoutText {#text} at (743,0) size 4x19
+          text run at (743,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 233x19
           text run at (0,0) width 233: "There should be a green square below:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/find-next-layer-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/find-next-layer-expected.png
index 493196b..105b33e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/find-next-layer-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/find-next-layer-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/find-next-layer-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/find-next-layer-expected.txt
index 0d8cb93..d582b879 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/find-next-layer-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/find-next-layer-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 726x39
-          LayoutInline {A} at (0,0) size 351x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 351x19
-              text run at (49,0) width 351: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9124"
-          LayoutText {#text} at (399,0) size 726x39
-            text run at (399,0) width 5: " "
-            text run at (403,0) width 323: "Drop shadow obscures \"add more stuff\" bubble at"
+        LayoutInline {I} at (0,0) size 724x39
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 349x19
+              text run at (50,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9124"
+          LayoutText {#text} at (399,0) size 724x39
+            text run at (399,0) width 4: " "
+            text run at (403,0) width 321: "Drop shadow obscures \"add more stuff\" bubble at"
             text run at (0,20) width 54: "live.com"
         LayoutText {#text} at (54,20) size 4x19
           text run at (54,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-child-pseudo-class-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-child-pseudo-class-expected.txt
index 806d31fd..1d73ea5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-child-pseudo-class-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-child-pseudo-class-expected.txt
@@ -189,5 +189,5 @@
               text run at (398,121) width 1: " "
               text run at (6,137) width 521: "ib.parentElement.insertBefore(document.createElement(\"div\"), ib);"
           LayoutBlockFlow {P} at (16,229) size 583.19x19
-            LayoutText {#text} at (0,0) size 499x18
-              text run at (0,0) width 499: "The original div element should not be a match for the :first-child selector."
+            LayoutText {#text} at (0,0) size 498x18
+              text run at (0,0) width 498: "The original div element should not be a match for the :first-child selector."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-capitalized-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-capitalized-expected.png
index a8b20348..41dff16 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-capitalized-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-capitalized-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-capitalized-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-capitalized-expected.txt
index 865f680..530e134 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-capitalized-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-capitalized-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 664x39
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=14545"
-          LayoutText {#text} at (354,0) size 664x39
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 306: "REGRESSION (r21854-r21869): Repro crash in"
-            text run at (0,20) width 355: "LayoutBlockFlow::updateFirstLetter @ nola.com/rose/"
-        LayoutText {#text} at (354,20) size 5x19
-          text run at (354,20) width 5: "."
+        LayoutInline {I} at (0,0) size 663x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=14545"
+          LayoutText {#text} at (354,0) size 663x39
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 305: "REGRESSION (r21854-r21869): Repro crash in"
+            text run at (0,20) width 354: "LayoutBlockFlow::updateFirstLetter @ nola.com/rose/"
+        LayoutText {#text} at (354,20) size 4x19
+          text run at (354,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 229x19
           text run at (0,0) width 229: "The following lines should be identical:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-detach-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-detach-expected.png
index eb4519f..18bcd08 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-detach-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-detach-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-detach-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-detach-expected.txt
index be21ba3..6ef33706 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-detach-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-detach-expected.txt
@@ -6,23 +6,23 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 730x39
-          LayoutInline {A} at (0,0) size 351x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 351x19
-              text run at (49,0) width 351: "http://bugzilla.opendarwin.org/show_bug.cgi?id=3560"
-          LayoutText {#text} at (399,0) size 730x39
-            text run at (399,0) width 331: " page with use of first-letter crashes reproducibly in"
-            text run at (0,20) width 188: "LayoutObject::renderArena()"
-        LayoutText {#text} at (187,20) size 5x19
-          text run at (187,20) width 5: "."
+        LayoutInline {I} at (0,0) size 728x39
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 349x19
+              text run at (50,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=3560"
+          LayoutText {#text} at (399,0) size 728x39
+            text run at (399,0) width 329: " page with use of first-letter crashes reproducibly in"
+            text run at (0,20) width 187: "LayoutObject::renderArena()"
+        LayoutText {#text} at (187,20) size 4x19
+          text run at (187,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 217x19
           text run at (0,0) width 217: "The next three lines should all read \x{201C}"
         LayoutInline {SPAN} at (0,0) size 9x19 [color=#0000FF]
           LayoutText {#text} at (217,0) size 9x19
             text run at (217,0) width 9: "P"
-        LayoutText {#text} at (226,0) size 196x19
-          text run at (226,0) width 196: "ASS\x{201D}, with nothing before the P."
+        LayoutText {#text} at (226,0) size 195x19
+          text run at (226,0) width 195: "ASS\x{201D}, with nothing before the P."
       LayoutBlockFlow {P} at (0,110) size 784x20
         LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#0000FF]
           LayoutTextFragment (anonymous) at (0,0) size 9x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-after-float-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-after-float-expected.png
index 1f73ff0..5712a3e3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-after-float-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-after-float-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-after-float-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-after-float-expected.txt
index 5b3f6ed..6af2da4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-after-float-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-after-float-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 769x39
-          LayoutInline {A} at (0,0) size 312x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 312x19
-              text run at (49,0) width 312: "https://bugs.webkit.org/show_bug.cgi?id=18818"
-          LayoutText {#text} at (360,0) size 769x39
-            text run at (360,0) width 5: " "
-            text run at (364,0) width 405: "REGRESSION (3.1.1-TOT): Character order (float:left ordered"
+        LayoutInline {I} at (0,0) size 767x39
+          LayoutInline {A} at (0,0) size 310x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 310x19
+              text run at (50,0) width 310: "https://bugs.webkit.org/show_bug.cgi?id=18818"
+          LayoutText {#text} at (360,0) size 767x39
+            text run at (360,0) width 4: " "
+            text run at (364,0) width 403: "REGRESSION (3.1.1-TOT): Character order (float:left ordered"
             text run at (0,20) width 128: "after the first letter)"
         LayoutText {#text} at (128,20) size 4x19
           text run at (128,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-expected.png
index 61a4193..e81a023f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-expected.txt
index 85520111..cfd4f56 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-float-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 782x39
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=17834"
-          LayoutText {#text} at (354,0) size 782x39
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 424: "REGRESSION: floated first-letter does not work when included in"
+        LayoutInline {I} at (0,0) size 781x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=17834"
+          LayoutText {#text} at (354,0) size 781x39
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 423: "REGRESSION: floated first-letter does not work when included in"
             text run at (0,20) width 32: "table"
         LayoutText {#text} at (32,20) size 4x19
           text run at (32,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-hover-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-hover-expected.png
index 7f04d51..1795e95 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-hover-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-hover-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-hover-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-hover-expected.txt
index e3ea8e8..7246a64 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-hover-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-hover-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {A} at (0,0) size 282x19 [color=#0000EE]
-          LayoutText {#text} at (49,0) size 282x19
-            text run at (49,0) width 282: "http://bugs.webkit.org/show_bug.cgi?id=4104 "
-        LayoutText {#text} at (330,0) size 235x19
-          text run at (330,0) width 235: "first-letter not updating style with hover"
+        LayoutInline {A} at (0,0) size 281x19 [color=#0000EE]
+          LayoutText {#text} at (50,0) size 281x19
+            text run at (50,0) width 281: "http://bugs.webkit.org/show_bug.cgi?id=4104 "
+        LayoutText {#text} at (331,0) size 234x19
+          text run at (331,0) width 234: "first-letter not updating style with hover"
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 367x19
           text run at (0,0) width 367: "The next line of text should turn green when we hover over it."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-visibility-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-visibility-expected.png
index 1b36c85..d916ddb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-visibility-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-visibility-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-visibility-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-visibility-expected.txt
index fe9e83a3..5c1c300 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-visibility-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-visibility-expected.txt
@@ -6,14 +6,14 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {A} at (0,0) size 290x19 [color=#0000EE]
-          LayoutText {#text} at (49,0) size 290x19
-            text run at (49,0) width 290: "http://bugs.webkit.org/show_bug.cgi?id=13169 "
-        LayoutText {#text} at (338,0) size 284x19
-          text run at (338,0) width 284: "css-formatted first letter won't hide dynamically"
+        LayoutInline {A} at (0,0) size 289x19 [color=#0000EE]
+          LayoutText {#text} at (50,0) size 289x19
+            text run at (50,0) width 289: "http://bugs.webkit.org/show_bug.cgi?id=13169 "
+        LayoutText {#text} at (339,0) size 283x19
+          text run at (339,0) width 283: "css-formatted first letter won't hide dynamically"
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 388x19
-          text run at (0,0) width 388: "The next line of text should become invisible, including first letter."
+        LayoutText {#text} at (0,0) size 387x19
+          text run at (0,0) width 387: "The next line of text should become invisible, including first letter."
       LayoutBlockFlow {DIV} at (0,72) size 784x20
         LayoutInline {<pseudo:first-letter>} at (0,0) size 11x19 [color=#0000FF]
           LayoutTextFragment (anonymous) at (0,0) size 11x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-line-text-decoration-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-line-text-decoration-expected.png
index 98c2b84e..1474228 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-line-text-decoration-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-line-text-decoration-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-line-text-decoration-inherited-from-parent-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-line-text-decoration-inherited-from-parent-expected.png
index 41b444c..242f3d4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-line-text-decoration-inherited-from-parent-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-line-text-decoration-inherited-from-parent-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-line-text-decoration-inherited-from-parent-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-line-text-decoration-inherited-from-parent-expected.txt
index 87c3896..094fb17 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-line-text-decoration-inherited-from-parent-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-line-text-decoration-inherited-from-parent-expected.txt
@@ -40,9 +40,9 @@
           LayoutText {#text} at (0,10) size 725x27
             text run at (0,10) width 725: "Line-Through Line-Through Line-Through Line "
           LayoutBR {BR} at (725,31) size 0x0
-          LayoutText {#text} at (0,48) size 375x19
-            text run at (0,48) width 375: "Line-Through Line-Through Line-Through Line-Through"
-          LayoutBR {BR} at (374,63) size 1x0
+          LayoutText {#text} at (0,48) size 376x19
+            text run at (0,48) width 376: "Line-Through Line-Through Line-Through Line-Through"
+          LayoutBR {BR} at (376,63) size 0x0
         LayoutBlockFlow (anonymous) at (0,84) size 784x20
           LayoutText {#text} at (0,0) size 340x19
             text run at (0,0) width 340: "Line-Through Line-Through Line-Through Line-Through"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-of-type-pseudo-class-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-of-type-pseudo-class-expected.txt
index 45abcae3..1670ee2d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-of-type-pseudo-class-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-of-type-pseudo-class-expected.txt
@@ -225,5 +225,5 @@
               text run at (398,89) width 1: " "
               text run at (6,105) width 521: "ib.parentElement.insertBefore(document.createElement(\"div\"), ib);"
           LayoutBlockFlow {P} at (16,197) size 583.19x19
-            LayoutText {#text} at (0,0) size 514x18
-              text run at (0,0) width 514: "The original div element should not be a match for the :first-of-type selector."
+            LayoutText {#text} at (0,0) size 513x18
+              text run at (0,0) width 513: "The original div element should not be a match for the :first-of-type selector."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-color-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-color-expected.png
index 5a991ee..077a275b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-color-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-color-expected.txt
index c06e6cfe..cde0b861 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-color-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 760x39
           text run at (0,0) width 760: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn with green outline"
-          text run at (0,20) width 35: "color."
+          text run at (0,20) width 34: "color."
       LayoutBlockFlow (anonymous) at (0,56) size 784x20
         LayoutInline {A} at (0,0) size 25x19 [color=#0000EE]
           LayoutText {#text} at (0,0) size 25x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-offset-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-offset-expected.png
index 6ef3d3b2..cf6cb1d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-offset-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-offset-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-width-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-width-expected.png
index 60f7d5d..9ac4c19 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/focus-ring-outline-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-opentype-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-opentype-expected.png
index 567d38a..7ef2313a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-opentype-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-opentype-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-opentype-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-opentype-expected.txt
index 59a63be..4eeb5e5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-opentype-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-opentype-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 751x39
-          LayoutInline {A} at (0,0) size 312x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 312x19
-              text run at (49,0) width 312: "https://bugs.webkit.org/show_bug.cgi?id=34735"
-          LayoutText {#text} at (360,0) size 751x39
-            text run at (360,0) width 391: " [Chromium] OpenType font with CFF glyphs is not handled"
-            text run at (0,20) width 162: "correctly on Windows XP"
-        LayoutText {#text} at (161,20) size 5x19
-          text run at (161,20) width 5: "."
+        LayoutInline {I} at (0,0) size 750x39
+          LayoutInline {A} at (0,0) size 310x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 310x19
+              text run at (50,0) width 310: "https://bugs.webkit.org/show_bug.cgi?id=34735"
+          LayoutText {#text} at (360,0) size 750x39
+            text run at (360,0) width 390: " [Chromium] OpenType font with CFF glyphs is not handled"
+            text run at (0,20) width 161: "correctly on Windows XP"
+        LayoutText {#text} at (161,20) size 4x19
+          text run at (161,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 783x19
           text run at (0,0) width 783: "Check if glyphs in Ahem.otf can be rendered correctly. If the test passes, you should see dozens of black square characters below:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-synthetic-bold-italic-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-synthetic-bold-italic-expected.png
index ffc1feb5..4b304e9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-synthetic-bold-italic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-synthetic-bold-italic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-synthetic-bold-italic-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-synthetic-bold-italic-expected.txt
index 8be3807..66e41be 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-synthetic-bold-italic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-synthetic-bold-italic-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 756x39
-          LayoutInline {A} at (0,0) size 312x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 312x19
-              text run at (49,0) width 312: "https://bugs.webkit.org/show_bug.cgi?id=34147"
-          LayoutText {#text} at (360,0) size 756x39
-            text run at (360,0) width 396: " If @font-face does not provide an explicit italic/bold variant,"
-            text run at (0,20) width 94: "regular is used"
-        LayoutText {#text} at (93,20) size 5x19
-          text run at (93,20) width 5: "."
+        LayoutInline {I} at (0,0) size 755x39
+          LayoutInline {A} at (0,0) size 310x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 310x19
+              text run at (50,0) width 310: "https://bugs.webkit.org/show_bug.cgi?id=34147"
+          LayoutText {#text} at (360,0) size 755x39
+            text run at (360,0) width 395: " If @font-face does not provide an explicit italic/bold variant,"
+            text run at (0,20) width 93: "regular is used"
+        LayoutText {#text} at (93,20) size 4x19
+          text run at (93,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 84x19
           text run at (0,0) width 84: "Ahem regular:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-synthetic-bold-italic-for-locally-installed-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-synthetic-bold-italic-for-locally-installed-expected.txt
index d322d6f..77f2f30 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-synthetic-bold-italic-for-locally-installed-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-synthetic-bold-italic-for-locally-installed-expected.txt
@@ -22,6 +22,6 @@
           LayoutText {#text} at (0,0) size 356x22
             text run at (0,0) width 356: "The quick brown fox jumps over the lazy dog"
       LayoutBlockFlow {DIV} at (0,158) size 784x23
-        LayoutInline {SPAN} at (0,0) size 362x22
-          LayoutText {#text} at (0,0) size 362x22
-            text run at (0,0) width 362: "The quick brown fox jumps over the lazy dog"
+        LayoutInline {SPAN} at (0,0) size 361x22
+          LayoutText {#text} at (0,0) size 361x22
+            text run at (0,0) width 361: "The quick brown fox jumps over the lazy dog"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-weight-matching-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-weight-matching-expected.png
index ef48cece..9ece325 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-weight-matching-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-weight-matching-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-weight-matching-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-weight-matching-expected.txt
index a4385f8..7ab1bf1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-weight-matching-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-face-weight-matching-expected.txt
@@ -6,23 +6,23 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 756x39
-          LayoutInline {A} at (0,0) size 312x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 312x19
-              text run at (49,0) width 312: "https://bugs.webkit.org/show_bug.cgi?id=34147"
-          LayoutText {#text} at (360,0) size 756x39
-            text run at (360,0) width 396: " If @font-face does not provide an explicit italic/bold variant,"
-            text run at (0,20) width 94: "regular is used"
-        LayoutText {#text} at (93,20) size 5x19
-          text run at (93,20) width 5: "."
+        LayoutInline {I} at (0,0) size 755x39
+          LayoutInline {A} at (0,0) size 310x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 310x19
+              text run at (50,0) width 310: "https://bugs.webkit.org/show_bug.cgi?id=34147"
+          LayoutText {#text} at (360,0) size 755x39
+            text run at (360,0) width 395: " If @font-face does not provide an explicit italic/bold variant,"
+            text run at (0,20) width 93: "regular is used"
+        LayoutText {#text} at (93,20) size 4x19
+          text run at (93,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x40
         LayoutText {#text} at (0,0) size 309x19
           text run at (0,0) width 309: "Checks if WebKit font matching algorithm matches "
-        LayoutInline {A} at (0,0) size 163x19 [color=#0000EE]
-          LayoutText {#text} at (308,0) size 163x19
-            text run at (308,0) width 163: "the latest CSS3 Fonts WD"
-        LayoutText {#text} at (470,0) size 765x39
-          text run at (470,0) width 295: ". If the test passes, all 14 glyphs below should be"
+        LayoutInline {A} at (0,0) size 162x19 [color=#0000EE]
+          LayoutText {#text} at (309,0) size 162x19
+            text run at (309,0) width 162: "the latest CSS3 Fonts WD"
+        LayoutText {#text} at (471,0) size 765x39
+          text run at (471,0) width 294: ". If the test passes, all 14 glyphs below should be"
           text run at (0,20) width 86: "black squares:"
       LayoutBlockFlow (anonymous) at (0,112) size 784x20
         LayoutInline {SPAN} at (0,0) size 16x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-shorthand-weight-only-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-shorthand-weight-only-expected.png
index 60c9f53d..73391cb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-shorthand-weight-only-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-shorthand-weight-only-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-shorthand-weight-only-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-shorthand-weight-only-expected.txt
index 4cb26ee..5d73630 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-shorthand-weight-only-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-shorthand-weight-only-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 719x19
-          LayoutInline {A} at (0,0) size 351x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 351x19
-              text run at (49,0) width 351: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9341"
-          LayoutText {#text} at (399,0) size 369x19
-            text run at (399,0) width 5: " "
-            text run at (403,0) width 365: "REGRESSION: Repro crash caused by style=\"font:bold\""
-        LayoutText {#text} at (767,0) size 5x19
-          text run at (767,0) width 5: "."
+        LayoutInline {I} at (0,0) size 717x19
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 349x19
+              text run at (50,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9341"
+          LayoutText {#text} at (399,0) size 368x19
+            text run at (399,0) width 4: " "
+            text run at (403,0) width 364: "REGRESSION: Repro crash caused by style=\"font:bold\""
+        LayoutText {#text} at (767,0) size 4x19
+          text run at (767,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 122x19
           text run at (0,0) width 122: "PASS (didn\x{2019}t crash)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-weight-1-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-weight-1-expected.txt
index 1dbd60e..2f26a9f8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/font-weight-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/font-weight-1-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x510
     LayoutBlockFlow {BODY} at (8,16) size 784x486
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 253x19
-          text run at (0,0) width 253: "You should see the numbers 1 to 9 below."
+        LayoutText {#text} at (0,0) size 252x19
+          text run at (0,0) width 252: "You should see the numbers 1 to 9 below."
       LayoutBlockFlow {DIV} at (0,36) size 784x50
         LayoutText {#text} at (0,0) size 24x50
           text run at (0,0) width 24: "A"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/hover-subselector-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/hover-subselector-expected.png
index 448d03e4..10388bd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/hover-subselector-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/hover-subselector-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/hover-subselector-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/hover-subselector-expected.txt
index 652c19a..923ba97 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/hover-subselector-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/hover-subselector-expected.txt
@@ -11,19 +11,19 @@
       LayoutBlockFlow {P} at (0,46) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 779x39
-          LayoutInline {A} at (0,0) size 351x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 351x19
-              text run at (49,0) width 351: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7327"
-          LayoutText {#text} at (399,0) size 779x39
-            text run at (399,0) width 380: " REGRESSION (r12869): :hover subselector does not work"
+        LayoutInline {I} at (0,0) size 778x39
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 349x19
+              text run at (50,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7327"
+          LayoutText {#text} at (399,0) size 778x39
+            text run at (399,0) width 379: " REGRESSION (r12869): :hover subselector does not work"
             text run at (0,20) width 95: "in quirks mode"
         LayoutText {#text} at (95,20) size 94x19
           text run at (95,20) width 94: ". This tests that "
-        LayoutInline {CODE} at (0,0) size 97x16
-          LayoutText {#text} at (188,23) size 97x16
-            text run at (188,23) width 97: "span#t:hover"
-        LayoutText {#text} at (284,20) size 165x19
-          text run at (284,20) width 165: " matches the hovered span."
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (189,23) size 96x16
+            text run at (189,23) width 96: "span#t:hover"
+        LayoutText {#text} at (285,20) size 164x19
+          text run at (285,20) width 164: " matches the hovered span."
 layer at (8,36) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/hsl-color-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/hsl-color-expected.txt
index 276c96f..7f459d0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/hsl-color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/hsl-color-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x1365.50
     LayoutBlockFlow {BODY} at (8,8) size 769x1336.06
       LayoutBlockFlow {H1} at (0,0) size 769x37 [color=#FF0000]
-        LayoutText {#text} at (0,0) size 527x36
-          text run at (0,0) width 527: "This should be red: hsl(0, 100%, 50%)"
+        LayoutText {#text} at (0,0) size 526x36
+          text run at (0,0) width 526: "This should be red: hsl(0, 100%, 50%)"
       LayoutBlockFlow {H1} at (0,58.44) size 769x37 [color=#00FF00]
-        LayoutText {#text} at (0,0) size 589x36
-          text run at (0,0) width 589: "This should be green: hsl(120, 100%, 50%)"
+        LayoutText {#text} at (0,0) size 588x36
+          text run at (0,0) width 588: "This should be green: hsl(120, 100%, 50%)"
       LayoutBlockFlow {H1} at (0,116.88) size 769x37 [color=#00FFFF]
         LayoutText {#text} at (0,0) size 581x36
           text run at (0,0) width 581: "This should be aqua: hsl(180, 100%, 50%)"
@@ -16,14 +16,14 @@
         LayoutText {#text} at (0,0) size 572x36
           text run at (0,0) width 572: "This should be blue: hsl(240, 100%, 50%)"
       LayoutBlockFlow {H1} at (0,233.75) size 769x37 [color=#80FF80]
-        LayoutText {#text} at (0,0) size 660x36
-          text run at (0,0) width 660: "This should be light green: hsl(120, 100%, 75%)"
+        LayoutText {#text} at (0,0) size 659x36
+          text run at (0,0) width 659: "This should be light green: hsl(120, 100%, 75%)"
       LayoutBlockFlow {H1} at (0,292.19) size 769x37 [color=#008000]
-        LayoutText {#text} at (0,0) size 662x36
-          text run at (0,0) width 662: "This should be dark green: hsl(120, 100%, 25%)"
-      LayoutBlockFlow {H1} at (0,350.63) size 769x37 [color=#40BF40]
         LayoutText {#text} at (0,0) size 661x36
-          text run at (0,0) width 661: "This should be pastel green: hsl(120, 50%, 50%)"
+          text run at (0,0) width 661: "This should be dark green: hsl(120, 100%, 25%)"
+      LayoutBlockFlow {H1} at (0,350.63) size 769x37 [color=#40BF40]
+        LayoutText {#text} at (0,0) size 660x36
+          text run at (0,0) width 660: "This should be pastel green: hsl(120, 50%, 50%)"
       LayoutBlockFlow (anonymous) at (0,409.06) size 769x40
         LayoutInline {B} at (0,0) size 139x19
           LayoutText {#text} at (0,0) size 139x19
@@ -32,51 +32,51 @@
         LayoutText {#text} at (0,20) size 390x19
           text run at (0,20) width 390: "Check percentages larger than 100%, should be limited to 100%"
       LayoutBlockFlow {H1} at (0,470.50) size 769x37 [color=#00FF00]
-        LayoutText {#text} at (0,0) size 589x36
-          text run at (0,0) width 589: "This should be green: hsl(120, 100%, 50%)"
+        LayoutText {#text} at (0,0) size 588x36
+          text run at (0,0) width 588: "This should be green: hsl(120, 100%, 50%)"
       LayoutBlockFlow {H1} at (0,528.94) size 769x37 [color=#00FF00]
-        LayoutText {#text} at (0,0) size 640x36
-          text run at (0,0) width 640: "This should be green too: hsl(120, 200%, 50%)"
+        LayoutText {#text} at (0,0) size 639x36
+          text run at (0,0) width 639: "This should be green too: hsl(120, 200%, 50%)"
       LayoutBlockFlow (anonymous) at (0,587.38) size 769x20
         LayoutText {#text} at (0,0) size 450x19
           text run at (0,0) width 450: "Check percentages less than 0% (negative values), should be limited to 0%"
       LayoutBlockFlow {H1} at (0,628.81) size 769x37 [color=#808080]
-        LayoutText {#text} at (0,0) size 540x36
-          text run at (0,0) width 540: "This should be grey: hsl(120, 0%, 50%)"
+        LayoutText {#text} at (0,0) size 539x36
+          text run at (0,0) width 539: "This should be grey: hsl(120, 0%, 50%)"
       LayoutBlockFlow {H1} at (0,687.25) size 769x37 [color=#808080]
-        LayoutText {#text} at (0,0) size 640x36
-          text run at (0,0) width 640: "This should be grey, too: hsl(120, -100%, 50%)"
+        LayoutText {#text} at (0,0) size 639x36
+          text run at (0,0) width 639: "This should be grey, too: hsl(120, -100%, 50%)"
       LayoutBlockFlow (anonymous) at (0,745.69) size 769x40
         LayoutText {#text} at (0,0) size 738x39
           text run at (0,0) width 738: "Check Hue values that are larger than 360, should be normalized back to a value between 0 and 360. As Hue values are in"
           text run at (0,20) width 416: "degrees, there is no maximum like percentages, they are loop around."
       LayoutBlockFlow {H1} at (0,807.13) size 769x37 [color=#008000]
-        LayoutText {#text} at (0,0) size 662x36
-          text run at (0,0) width 662: "This should be dark green: hsl(120, 100%, 25%)"
+        LayoutText {#text} at (0,0) size 661x36
+          text run at (0,0) width 661: "This should be dark green: hsl(120, 100%, 25%)"
       LayoutBlockFlow {H1} at (0,865.56) size 769x37 [color=#008000]
-        LayoutText {#text} at (0,0) size 721x36
-          text run at (0,0) width 721: "This should be dark green, too: hsl(480, 100%, 25%)"
+        LayoutText {#text} at (0,0) size 720x36
+          text run at (0,0) width 720: "This should be dark green, too: hsl(480, 100%, 25%)"
       LayoutBlockFlow (anonymous) at (0,924) size 769x20
         LayoutText {#text} at (0,0) size 242x19
           text run at (0,0) width 242: "Check Hue values with a negative angle."
       LayoutBlockFlow {H1} at (0,965.44) size 769x37 [color=#80FF80]
-        LayoutText {#text} at (0,0) size 660x36
-          text run at (0,0) width 660: "This should be light green: hsl(120, 100%, 75%)"
+        LayoutText {#text} at (0,0) size 659x36
+          text run at (0,0) width 659: "This should be light green: hsl(120, 100%, 75%)"
       LayoutBlockFlow {H1} at (0,1023.88) size 769x37 [color=#80FF80]
-        LayoutText {#text} at (0,0) size 730x36
-          text run at (0,0) width 730: "This should be light green, too: hsl(-240, 100%, 75%)"
+        LayoutText {#text} at (0,0) size 729x36
+          text run at (0,0) width 729: "This should be light green, too: hsl(-240, 100%, 75%)"
       LayoutBlockFlow {H1} at (0,1082.31) size 769x37 [color=#80FF80]
-        LayoutText {#text} at (0,0) size 730x36
-          text run at (0,0) width 730: "This should be light green, too: hsl(-600, 100%, 75%)"
+        LayoutText {#text} at (0,0) size 729x36
+          text run at (0,0) width 729: "This should be light green, too: hsl(-600, 100%, 75%)"
       LayoutBlockFlow (anonymous) at (0,1140.75) size 769x20
         LayoutText {#text} at (0,0) size 276x19
           text run at (0,0) width 276: "Check Hues values with a floating point angle."
       LayoutBlockFlow {H1} at (0,1182.19) size 769x37 [color=#FF0000]
-        LayoutText {#text} at (0,0) size 551x36
-          text run at (0,0) width 551: "This should be red: hsl(0.0, 100%, 50%)"
+        LayoutText {#text} at (0,0) size 550x36
+          text run at (0,0) width 550: "This should be red: hsl(0.0, 100%, 50%)"
       LayoutBlockFlow {H1} at (0,1240.63) size 769x37 [color=#00FF00]
-        LayoutText {#text} at (0,0) size 629x36
-          text run at (0,0) width 629: "This should be green: hsl(120.00, 100%, 50%)"
+        LayoutText {#text} at (0,0) size 628x36
+          text run at (0,0) width 628: "This should be green: hsl(120.00, 100%, 50%)"
       LayoutBlockFlow {H1} at (0,1299.06) size 769x37 [color=#0000FF]
         LayoutText {#text} at (0,0) size 628x36
           text run at (0,0) width 628: "This should be blue: hsl(240.000, 100%, 50%)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/hsla-color-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/hsla-color-expected.txt
index ee502c2..51173f31 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/hsla-color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/hsla-color-expected.txt
@@ -4,20 +4,20 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x570.56 [bgcolor=#FFFF00]
       LayoutBlockFlow {H1} at (0,0) size 784x37 [color=#FF000080]
-        LayoutText {#text} at (0,0) size 394x36
-          text run at (0,0) width 394: "This should be red, alpha 0.5"
+        LayoutText {#text} at (0,0) size 393x36
+          text run at (0,0) width 393: "This should be red, alpha 0.5"
       LayoutBlockFlow {H1} at (0,58.44) size 784x37 [color=#FF000080]
-        LayoutText {#text} at (0,0) size 455x36
-          text run at (0,0) width 455: "This should also be red, alpha 0.5"
+        LayoutText {#text} at (0,0) size 454x36
+          text run at (0,0) width 454: "This should also be red, alpha 0.5"
       LayoutBlockFlow {H1} at (0,116.88) size 784x37 [color=#00FF0000]
-        LayoutText {#text} at (0,0) size 424x36
-          text run at (0,0) width 424: "This should be green, alpha 0.0"
+        LayoutText {#text} at (0,0) size 423x36
+          text run at (0,0) width 423: "This should be green, alpha 0.0"
       LayoutBlockFlow {H1} at (0,175.31) size 784x37 [color=#00FF0000]
-        LayoutText {#text} at (0,0) size 485x36
-          text run at (0,0) width 485: "This should also be green, alpha 0.0"
+        LayoutText {#text} at (0,0) size 484x36
+          text run at (0,0) width 484: "This should also be green, alpha 0.0"
       LayoutBlockFlow {H1} at (0,233.75) size 784x37 [color=#00FF00]
-        LayoutText {#text} at (0,0) size 424x36
-          text run at (0,0) width 424: "This should be green, alpha 1.0"
+        LayoutText {#text} at (0,0) size 423x36
+          text run at (0,0) width 423: "This should be green, alpha 1.0"
       LayoutBlockFlow {H1} at (0,292.19) size 784x37 [color=#00FF00]
-        LayoutText {#text} at (0,0) size 485x36
-          text run at (0,0) width 485: "This should also be green, alpha 1.0"
+        LayoutText {#text} at (0,0) size 484x36
+          text run at (0,0) width 484: "This should also be green, alpha 1.0"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-default-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-default-expected.png
index 071974e8..a086df4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-default-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-default-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-from-image-composited-dynamic-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-from-image-composited-dynamic-expected.png
index 142077c..540c4706 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-from-image-composited-dynamic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-from-image-composited-dynamic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-from-image-composited-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-from-image-composited-expected.png
index 142077c..540c4706 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-from-image-composited-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-from-image-composited-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-from-image-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-from-image-expected.png
index 4f7b61fa..8bf690b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-from-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/image-orientation/image-orientation-from-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/import-rule-regression-11590-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/import-rule-regression-11590-expected.png
index 199262b0..0b9c31a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/import-rule-regression-11590-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/import-rule-regression-11590-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/import-rule-regression-11590-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/import-rule-regression-11590-expected.txt
index 2426ce1..682d32c8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/import-rule-regression-11590-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/import-rule-regression-11590-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {A} at (0,0) size 67x19 [color=#0000EE]
-          LayoutText {#text} at (49,0) size 67x19
-            text run at (49,0) width 67: "bug 11590"
-        LayoutText {#text} at (115,0) size 547x19
-          text run at (115,0) width 547: ": REGRESSION (r17726-r17742): Wikipedia page intermittently loads but doesn't render."
+        LayoutInline {A} at (0,0) size 65x19 [color=#0000EE]
+          LayoutText {#text} at (50,0) size 65x19
+            text run at (50,0) width 65: "bug 11590"
+        LayoutText {#text} at (115,0) size 546x19
+          text run at (115,0) width 546: ": REGRESSION (r17726-r17742): Wikipedia page intermittently loads but doesn't render."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 773x19
           text run at (0,0) width 773: "All four sides of the square below should be present for this test to really pass, and WebKit shouldn't crash for it to pass partially."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/inline-properties-important-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/inline-properties-important-expected.txt
index 7886670..28005c25 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/inline-properties-important-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/inline-properties-important-expected.txt
@@ -7,14 +7,14 @@
         LayoutText {#text} at (0,0) size 754x19
           text run at (0,0) width 754: "This tests handling of duplicated properties in inline style declarations. Using !important should have an effect. See bug #4128."
       LayoutBlockFlow {H1} at (0,41.44) size 784x37 [color=#FF0000]
-        LayoutText {#text} at (0,0) size 253x36
-          text run at (0,0) width 253: "This should be red"
+        LayoutText {#text} at (0,0) size 252x36
+          text run at (0,0) width 252: "This should be red"
       LayoutBlockFlow {H1} at (0,99.88) size 784x37 [color=#00FF00]
-        LayoutText {#text} at (0,0) size 283x36
-          text run at (0,0) width 283: "This should be green"
+        LayoutText {#text} at (0,0) size 282x36
+          text run at (0,0) width 282: "This should be green"
       LayoutBlockFlow {H1} at (0,158.31) size 784x37 [color=#FF0000]
-        LayoutText {#text} at (0,0) size 253x36
-          text run at (0,0) width 253: "This should be red"
+        LayoutText {#text} at (0,0) size 252x36
+          text run at (0,0) width 252: "This should be red"
       LayoutBlockFlow {H1} at (0,216.75) size 784x37 [color=#FF0000]
-        LayoutText {#text} at (0,0) size 253x36
-          text run at (0,0) width 253: "This should be red"
+        LayoutText {#text} at (0,0) size 252x36
+          text run at (0,0) width 252: "This should be red"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalid-percentage-property-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalid-percentage-property-expected.png
index 3690bac..dc62b64 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalid-percentage-property-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalid-percentage-property-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalid-percentage-property-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalid-percentage-property-expected.txt
index 165feb4..3026740b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalid-percentage-property-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalid-percentage-property-expected.txt
@@ -6,17 +6,17 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {A} at (0,0) size 286x19 [color=#0000EE]
-          LayoutText {#text} at (49,0) size 286x19
-            text run at (49,0) width 286: "http://bugs.webkit.org/show_bug.cgi?id=15260"
-        LayoutText {#text} at (334,0) size 146x19
-          text run at (334,0) width 146: "Any styles defined after "
-        LayoutInline {ELEMENT} at (0,0) size 193x19
-          LayoutText {#text} at (479,0) size 8x19
-            text run at (479,0) width 8: "{"
-          LayoutInline {PROPERTY} at (0,0) size 186x19
-            LayoutText {#text} at (486,0) size 186x19
-              text run at (486,0) width 186: ":%} style are ignored by Safari"
+        LayoutInline {A} at (0,0) size 285x19 [color=#0000EE]
+          LayoutText {#text} at (50,0) size 285x19
+            text run at (50,0) width 285: "http://bugs.webkit.org/show_bug.cgi?id=15260"
+        LayoutText {#text} at (335,0) size 145x19
+          text run at (335,0) width 145: "Any styles defined after "
+        LayoutInline {ELEMENT} at (0,0) size 192x19
+          LayoutText {#text} at (480,0) size 7x19
+            text run at (480,0) width 7: "{"
+          LayoutInline {PROPERTY} at (0,0) size 185x19
+            LayoutText {#text} at (487,0) size 185x19
+              text run at (487,0) width 185: ":%} style are ignored by Safari"
       LayoutBlockFlow {H3} at (0,38.72) size 784x23 [color=#008000]
         LayoutText {#text} at (0,0) size 252x22
           text run at (0,0) width 252: "This text should show in green."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-2-expected.png
index a1ae1e14..662933a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-2-expected.txt
index 0fadcf1..52d2001 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-2-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {A} at (0,0) size 58x19 [color=#0000EE]
-          LayoutText {#text} at (0,0) size 58x19
-            text run at (0,0) width 58: "bug 7118"
-        LayoutText {#text} at (57,0) size 339x19
-          text run at (57,0) width 339: ": Wrong property values do not get invalidated correctly."
+        LayoutInline {A} at (0,0) size 57x19 [color=#0000EE]
+          LayoutText {#text} at (0,0) size 57x19
+            text run at (0,0) width 57: "bug 7118"
+        LayoutText {#text} at (57,0) size 338x19
+          text run at (57,0) width 338: ": Wrong property values do not get invalidated correctly."
       LayoutBlockFlow (anonymous) at (0,36) size 784x0
         LayoutInline {DIV} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
@@ -20,8 +20,8 @@
       text run at (0,19) width 177: "aligned, all lower-case,"
       text run at (0,38) width 190: "normal font, white, 14px,"
       text run at (0,57) width 200: "bold, normally spaced and"
-      text run at (0,76) width 184: "wrapped, in a darkgreen"
+      text run at (0,76) width 182: "wrapped, in a darkgreen"
       text run at (0,95) width 114: "200x200px div "
       text run at (114,95) width 72: "in the top"
       text run at (0,114) width 140: "left corner with no"
-      text run at (0,133) width 149: "borders or outlines."
+      text run at (0,133) width 148: "borders or outlines."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-3-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-3-expected.png
index 9c66ba8..2c760d9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-3-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-3-expected.txt
index 7795728..b88d751 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-3-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x542
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {A} at (0,0) size 58x19 [color=#0000EE]
-          LayoutText {#text} at (0,0) size 58x19
-            text run at (0,0) width 58: "bug 7118"
-        LayoutText {#text} at (57,0) size 339x19
-          text run at (57,0) width 339: ": Wrong property values do not get invalidated correctly."
+        LayoutInline {A} at (0,0) size 57x19 [color=#0000EE]
+          LayoutText {#text} at (0,0) size 57x19
+            text run at (0,0) width 57: "bug 7118"
+        LayoutText {#text} at (57,0) size 338x19
+          text run at (57,0) width 338: ": Wrong property values do not get invalidated correctly."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 356x19
           text run at (0,0) width 356: "The two words \"test\" should look the same, with no outline:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-expected.png
index a1ae1e14..662933a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-expected.txt
index 0fadcf1..52d2001 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/invalidation-errors-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {A} at (0,0) size 58x19 [color=#0000EE]
-          LayoutText {#text} at (0,0) size 58x19
-            text run at (0,0) width 58: "bug 7118"
-        LayoutText {#text} at (57,0) size 339x19
-          text run at (57,0) width 339: ": Wrong property values do not get invalidated correctly."
+        LayoutInline {A} at (0,0) size 57x19 [color=#0000EE]
+          LayoutText {#text} at (0,0) size 57x19
+            text run at (0,0) width 57: "bug 7118"
+        LayoutText {#text} at (57,0) size 338x19
+          text run at (57,0) width 338: ": Wrong property values do not get invalidated correctly."
       LayoutBlockFlow (anonymous) at (0,36) size 784x0
         LayoutInline {DIV} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
@@ -20,8 +20,8 @@
       text run at (0,19) width 177: "aligned, all lower-case,"
       text run at (0,38) width 190: "normal font, white, 14px,"
       text run at (0,57) width 200: "bold, normally spaced and"
-      text run at (0,76) width 184: "wrapped, in a darkgreen"
+      text run at (0,76) width 182: "wrapped, in a darkgreen"
       text run at (0,95) width 114: "200x200px div "
       text run at (114,95) width 72: "in the top"
       text run at (0,114) width 140: "left corner with no"
-      text run at (0,133) width 149: "borders or outlines."
+      text run at (0,133) width 148: "borders or outlines."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/last-child-pseudo-class-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/last-child-pseudo-class-expected.txt
index 5a3412a..acbcef4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/last-child-pseudo-class-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/last-child-pseudo-class-expected.txt
@@ -189,5 +189,5 @@
               text run at (390,121) width 1: " "
               text run at (6,137) width 481: "ib.parentElement.appendChild(document.createElement(\"div\"));"
           LayoutBlockFlow {P} at (16,229) size 583.19x19
-            LayoutText {#text} at (0,0) size 498x18
-              text run at (0,0) width 498: "The original div element should not be a match for the :last-child selector."
+            LayoutText {#text} at (0,0) size 497x18
+              text run at (0,0) width 497: "The original div element should not be a match for the :last-child selector."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/last-of-type-pseudo-class-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/last-of-type-pseudo-class-expected.txt
index ff597ab9..497d8f4f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/last-of-type-pseudo-class-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/last-of-type-pseudo-class-expected.txt
@@ -225,5 +225,5 @@
               text run at (390,89) width 1: " "
               text run at (6,105) width 481: "ib.parentElement.appendChild(document.createElement(\"div\"));"
           LayoutBlockFlow {P} at (16,197) size 583.19x19
-            LayoutText {#text} at (0,0) size 513x18
-              text run at (0,0) width 513: "The original div element should not be a match for the :last-of-type selector."
+            LayoutText {#text} at (0,0) size 512x18
+              text run at (0,0) width 512: "The original div element should not be a match for the :last-of-type selector."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/layerZOrderCrash-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/layerZOrderCrash-expected.txt
index 315b300..34657fc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/layerZOrderCrash-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/layerZOrderCrash-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow (relative positioned) {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 589x19
-          text run at (0,0) width 589: "To reproduce this bug outside of DumpRenderTree, click the link below. If broken, we will crash. "
-        LayoutBR {BR} at (588,15) size 1x0
+        LayoutText {#text} at (0,0) size 588x19
+          text run at (0,0) width 588: "To reproduce this bug outside of DumpRenderTree, click the link below. If broken, we will crash. "
+        LayoutBR {BR} at (588,15) size 0x0
 layer at (8,28) size 56x96
   LayoutTable (relative positioned) {TABLE} at (0,20) size 56x96
     LayoutTableSection {TBODY} at (0,0) size 56x96
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/line-height-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/line-height-expected.png
index 86877da..049a2a71 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/line-height-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/line-height-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/line-height-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/line-height-expected.txt
index 4a1d6dd6..89aaabd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/line-height-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/line-height-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {DIV} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {A} at (0,0) size 111x19 [color=#0000EE]
-          LayoutText {#text} at (49,0) size 111x19
-            text run at (49,0) width 111: "Bugzilla Bug 9934"
-        LayoutText {#text} at (159,0) size 426x19
-          text run at (159,0) width 426: " Selecting text in text field with {line-height:100%} causes it to bounce."
+        LayoutInline {A} at (0,0) size 110x19 [color=#0000EE]
+          LayoutText {#text} at (50,0) size 110x19
+            text run at (50,0) width 110: "Bugzilla Bug 9934"
+        LayoutText {#text} at (160,0) size 425x19
+          text run at (160,0) width 425: " Selecting text in text field with {line-height:100%} causes it to bounce."
       LayoutBlockFlow {DIV} at (0,20) size 784x22
         LayoutTextControl {INPUT} at (0,0) size 173x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,42) size 784x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/line-height-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/line-height-overflow-expected.txt
index ce7897f..0c7b1b7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/line-height-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/line-height-overflow-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x32804
     LayoutBlockFlow {BODY} at (8,8) size 769x32788
       LayoutBlockFlow (anonymous) at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 534x19
-          text run at (0,0) width 534: "You should see a large green block below that is 32,768px tall. No red should be visible."
-        LayoutBR {BR} at (533,15) size 1x0
+        LayoutText {#text} at (0,0) size 533x19
+          text run at (0,0) width 533: "You should see a large green block below that is 32,768px tall. No red should be visible."
+        LayoutBR {BR} at (533,15) size 0x0
       LayoutBlockFlow {DIV} at (0,20) size 769x32768 [bgcolor=#FF0000]
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,28) size 769x32768 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/link-outside-head-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/link-outside-head-expected.txt
index 7c31f69..c7dc010 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/link-outside-head-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/link-outside-head-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 539x19
-          text run at (0,0) width 291: "You should see a 100x100 green square below. "
-          text run at (290,0) width 249: "If you see any red then the test has failed."
+        LayoutText {#text} at (0,0) size 538x19
+          text run at (0,0) width 290: "You should see a 100x100 green square below. "
+          text run at (290,0) width 248: "If you see any red then the test has failed."
       LayoutBlockFlow {DIV} at (0,20) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/live-cssrules-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/live-cssrules-expected.png
index 15b5e1f..8a2b331 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/live-cssrules-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/live-cssrules-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/negative-leading-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/negative-leading-expected.txt
index 69ad522..dca8898 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/negative-leading-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/negative-leading-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x184
     LayoutBlockFlow {BODY} at (8,16) size 784x160
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 760x19
-          text run at (0,0) width 760: "The following two phrases should appear identical. The second line of text should overlap both the first line and the red border."
+        LayoutText {#text} at (0,0) size 759x19
+          text run at (0,0) width 759: "The following two phrases should appear identical. The second line of text should overlap both the first line and the red border."
       LayoutBlockFlow {DIV} at (0,36) size 424x52 [border: (2px solid #FF0000)]
         LayoutBlockFlow {DIV} at (12,12) size 400x38
           LayoutText {#text} at (0,-18) size 398x74
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/negative-nth-child-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/negative-nth-child-expected.txt
index 00b13e55..63e7ef9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/negative-nth-child-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/negative-nth-child-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 415x19
           text run at (0,0) width 211: "There should be only green below. "
-          text run at (210,0) width 205: "If you see RED the test has failed."
+          text run at (211,0) width 204: "If you see RED the test has failed."
       LayoutBlockFlow {DIV} at (0,20) size 784x16 [bgcolor=#008000]
       LayoutBlockFlow {DIV} at (0,36) size 784x16 [bgcolor=#008000]
       LayoutBlockFlow {DIV} at (0,52) size 784x16 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/nth-child-dynamic-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/nth-child-dynamic-expected.png
index 0a12ec7..a6616f6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/nth-child-dynamic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/nth-child-dynamic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/nth-child-dynamic-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/nth-child-dynamic-expected.txt
index 5454888..ba8079e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/nth-child-dynamic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/nth-child-dynamic-expected.txt
@@ -52,37 +52,37 @@
       LayoutBlockFlow {DIV} at (10,314) size 764x252 [border: (1px solid #000000)]
         LayoutText {#text} at (6,6) size 250x19
           text run at (6,6) width 250: "child 0: PASS: found color rgb(255, 0, 0)"
-        LayoutBR {BR} at (255,21) size 1x0
+        LayoutBR {BR} at (256,21) size 0x0
         LayoutText {#text} at (6,26) size 234x19
           text run at (6,26) width 234: "child 1: PASS: found color rgb(0, 0, 0)"
-        LayoutBR {BR} at (239,41) size 1x0
+        LayoutBR {BR} at (240,41) size 0x0
         LayoutText {#text} at (6,46) size 234x19
           text run at (6,46) width 234: "child 2: PASS: found color rgb(0, 0, 0)"
-        LayoutBR {BR} at (239,61) size 1x0
+        LayoutBR {BR} at (240,61) size 0x0
         LayoutText {#text} at (6,66) size 250x19
           text run at (6,66) width 250: "child 3: PASS: found color rgb(255, 0, 0)"
-        LayoutBR {BR} at (255,81) size 1x0
+        LayoutBR {BR} at (256,81) size 0x0
         LayoutText {#text} at (6,86) size 234x19
           text run at (6,86) width 234: "child 4: PASS: found color rgb(0, 0, 0)"
-        LayoutBR {BR} at (239,101) size 1x0
+        LayoutBR {BR} at (240,101) size 0x0
         LayoutText {#text} at (6,106) size 234x19
           text run at (6,106) width 234: "child 5: PASS: found color rgb(0, 0, 0)"
-        LayoutBR {BR} at (239,121) size 1x0
+        LayoutBR {BR} at (240,121) size 0x0
         LayoutText {#text} at (6,126) size 250x19
           text run at (6,126) width 250: "child 6: PASS: found color rgb(255, 0, 0)"
-        LayoutBR {BR} at (255,141) size 1x0
+        LayoutBR {BR} at (256,141) size 0x0
         LayoutText {#text} at (6,146) size 234x19
           text run at (6,146) width 234: "child 7: PASS: found color rgb(0, 0, 0)"
-        LayoutBR {BR} at (239,161) size 1x0
+        LayoutBR {BR} at (240,161) size 0x0
         LayoutText {#text} at (6,166) size 234x19
           text run at (6,166) width 234: "child 8: PASS: found color rgb(0, 0, 0)"
-        LayoutBR {BR} at (239,181) size 1x0
+        LayoutBR {BR} at (240,181) size 0x0
         LayoutText {#text} at (6,186) size 250x19
           text run at (6,186) width 250: "child 9: PASS: found color rgb(255, 0, 0)"
-        LayoutBR {BR} at (255,201) size 1x0
+        LayoutBR {BR} at (256,201) size 0x0
         LayoutText {#text} at (6,206) size 242x19
           text run at (6,206) width 242: "child 10: PASS: found color rgb(0, 0, 0)"
-        LayoutBR {BR} at (247,221) size 1x0
+        LayoutBR {BR} at (248,221) size 0x0
         LayoutText {#text} at (6,226) size 272x19
           text run at (6,226) width 272: "div 1: PASS: found color rgb(153, 153, 255)"
-        LayoutBR {BR} at (277,241) size 1x0
+        LayoutBR {BR} at (278,241) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/position-negative-top-margin-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/position-negative-top-margin-expected.txt
index f90f9085..c4f8a0e21 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/position-negative-top-margin-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/position-negative-top-margin-expected.txt
@@ -5,6 +5,6 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 784x30 [bgcolor=#F5F5DC]
 layer at (8,14) size 519x20
-  LayoutBlockFlow (positioned) {DIV} at (8,14) size 519.08x20
-    LayoutText {#text} at (0,0) size 520x19
-      text run at (0,0) width 520: "This text should appear inside the beige bar, due the the element's negative margin-top."
+  LayoutBlockFlow (positioned) {DIV} at (8,14) size 519x20
+    LayoutText {#text} at (0,0) size 519x19
+      text run at (0,0) width 519: "This text should appear inside the beige bar, due the the element's negative margin-top."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-expected.png
index cb7972b..fa64ce3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-expected.txt
index cc1c9bc..09f3b42 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,18) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 676x19
-          LayoutInline {A} at (0,0) size 351x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 351x19
-              text run at (49,0) width 351: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9547"
-          LayoutText {#text} at (399,0) size 326x19
-            text run at (399,0) width 5: " "
-            text run at (403,0) width 322: "Resize corner does not track the mouse accurately"
-        LayoutText {#text} at (724,0) size 5x19
-          text run at (724,0) width 5: "."
+        LayoutInline {I} at (0,0) size 674x19
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 349x19
+              text run at (50,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9547"
+          LayoutText {#text} at (399,0) size 325x19
+            text run at (399,0) width 4: " "
+            text run at (403,0) width 321: "Resize corner does not track the mouse accurately"
+        LayoutText {#text} at (724,0) size 4x19
+          text run at (724,0) width 4: "."
       LayoutBlockFlow (anonymous) at (0,189) size 784x363
         LayoutText {#text} at (169,106) size 4x19
           text run at (169,106) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-expected.png
index 218d98f..c74b9e9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-expected.txt
index e8ddff7..1891bf68 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,18) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 655x19
-          LayoutInline {A} at (0,0) size 311x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 311x19
-              text run at (49,0) width 311: "https://bugs.webkit.org/show_bug.cgi?id=22118"
-          LayoutText {#text} at (359,0) size 345x19
-            text run at (359,0) width 5: " "
-            text run at (363,0) width 341: "Resize corner does not track in transformed elements"
-        LayoutText {#text} at (703,0) size 5x19
-          text run at (703,0) width 5: "."
+        LayoutInline {I} at (0,0) size 653x19
+          LayoutInline {A} at (0,0) size 309x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 309x19
+              text run at (50,0) width 309: "https://bugs.webkit.org/show_bug.cgi?id=22118"
+          LayoutText {#text} at (359,0) size 344x19
+            text run at (359,0) width 4: " "
+            text run at (363,0) width 340: "Resize corner does not track in transformed elements"
+        LayoutText {#text} at (703,0) size 4x19
+          text run at (703,0) width 4: "."
 layer at (8,8) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,62) size 784x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-iframe-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-iframe-expected.png
index 1958b75..679a2ac 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-iframe-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-iframe-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-iframe-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-iframe-expected.txt
index 35812442..11b96cca 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-iframe-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-iframe-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,18) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 560x19
-          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 304x19
-              text run at (49,0) width 304: "https://bugs.webkit.org/show_bug.cgi?id=9221"
-          LayoutText {#text} at (352,0) size 257x19
-            text run at (352,0) width 5: " "
-            text run at (356,0) width 253: "resize property doesn't work on iframes"
-        LayoutText {#text} at (608,0) size 5x19
-          text run at (608,0) width 5: "."
+        LayoutInline {I} at (0,0) size 557x19
+          LayoutInline {A} at (0,0) size 302x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 302x19
+              text run at (50,0) width 302: "https://bugs.webkit.org/show_bug.cgi?id=9221"
+          LayoutText {#text} at (352,0) size 255x19
+            text run at (352,0) width 4: " "
+            text run at (356,0) width 251: "resize property doesn't work on iframes"
+        LayoutText {#text} at (607,0) size 4x19
+          text run at (607,0) width 4: "."
       LayoutBlockFlow (anonymous) at (0,64) size 784x230
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,8) size 784x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/rtl-ordering-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/rtl-ordering-expected.png
index 2401bfb..c5eaf458 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/rtl-ordering-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/rtl-ordering-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/rtl-ordering-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/rtl-ordering-expected.txt
index 878887a4a..380f271c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/rtl-ordering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/rtl-ordering-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 202x19
           text run at (0,0) width 202 LTR override: "This tests for a regression against "
-        LayoutInline {I} at (0,0) size 702x39
-          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
-            LayoutText {#text} at (202,0) size 350x19
-              text run at (202,0) width 350 LTR override: "http://bugzilla.opendarwin.org/show_bug.cgi?id=6334"
-          LayoutText {#text} at (551,0) size 702x39
-            text run at (551,0) width 151 LTR override: " REGRESSION: <input"
-            text run at (0,20) width 381 LTR override: "type=\"button\"> text is reversed on \"visual Hebrew\" pages"
-        LayoutText {#text} at (380,20) size 5x19
-          text run at (380,20) width 5 LTR override: "."
+        LayoutInline {I} at (0,0) size 701x39
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (202,0) size 349x19
+              text run at (202,0) width 349 LTR override: "http://bugzilla.opendarwin.org/show_bug.cgi?id=6334"
+          LayoutText {#text} at (551,0) size 701x39
+            text run at (551,0) width 150 LTR override: " REGRESSION: <input"
+            text run at (0,20) width 380 LTR override: "type=\"button\"> text is reversed on \"visual Hebrew\" pages"
+        LayoutText {#text} at (380,20) size 4x19
+          text run at (380,20) width 4 LTR override: "."
       LayoutBlockFlow {P} at (0,74) size 784x20
         LayoutText {#text} at (0,0) size 280x19
           text run at (0,0) width 280 LTR override: "The text on both buttons should like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/selector-set-attribute-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/selector-set-attribute-expected.txt
index 22dc7bb..13eee7a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/selector-set-attribute-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/selector-set-attribute-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {H1} at (0,0) size 784x37
-        LayoutText {#text} at (0,0) size 252x36
-          text run at (0,0) width 252: "setAttribute() Test"
+        LayoutText {#text} at (0,0) size 251x36
+          text run at (0,0) width 251: "setAttribute() Test"
       LayoutBlockFlow {P} at (0,58.44) size 784x20 [color=#008000]
         LayoutText {#text} at (0,0) size 446x19
           text run at (0,0) width 446: "This element's Class attribute is set using setAttribute(). It should be green."
@@ -13,11 +13,11 @@
         LayoutText {#text} at (0,0) size 429x19
           text run at (0,0) width 429: "This element's ID attribute is set using setAttribute(). It should be green."
       LayoutBlockFlow {P} at (0,130.44) size 784x20 [color=#008000]
-        LayoutText {#text} at (0,0) size 439x19
-          text run at (0,0) width 439: "This element's Title attribute is set using setAttribute(). It should be green."
+        LayoutText {#text} at (0,0) size 438x19
+          text run at (0,0) width 438: "This element's Title attribute is set using setAttribute(). It should be green."
       LayoutBlockFlow {P} at (0,166.44) size 784x20 [color=#008000]
-        LayoutText {#text} at (0,0) size 375x19
-          text run at (0,0) width 375: "This element's Title attribute is hard-coded. It should be green."
+        LayoutText {#text} at (0,0) size 374x19
+          text run at (0,0) width 374: "This element's Title attribute is hard-coded. It should be green."
       LayoutBlockFlow {P} at (0,202.44) size 784x20 [color=#008000]
         LayoutText {#text} at (0,0) size 443x19
           text run at (0,0) width 443: "This element's Lang attribute is set using setAttribute(). It should be green."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/style-outside-head-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/style-outside-head-expected.txt
index 7c31f69..c7dc010 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/style-outside-head-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/style-outside-head-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 539x19
-          text run at (0,0) width 291: "You should see a 100x100 green square below. "
-          text run at (290,0) width 249: "If you see any red then the test has failed."
+        LayoutText {#text} at (0,0) size 538x19
+          text run at (0,0) width 290: "You should see a 100x100 green square below. "
+          text run at (290,0) width 248: "If you see any red then the test has failed."
       LayoutBlockFlow {DIV} at (0,20) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/style-parsed-outside-head-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/style-parsed-outside-head-expected.txt
index eaaff41..70ba9c0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/style-parsed-outside-head-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/style-parsed-outside-head-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 601x19
-          text run at (0,0) width 291: "You should see a 100x100 green square below. "
-          text run at (290,0) width 311: "If you see any red or orange then the test has failed."
+        LayoutText {#text} at (0,0) size 600x19
+          text run at (0,0) width 290: "You should see a 100x100 green square below. "
+          text run at (290,0) width 310: "If you see any red or orange then the test has failed."
       LayoutBlockFlow {DIV} at (0,20) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-align-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-align-expected.png
index 0a567bd9..586962f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-align-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-align-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-align-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-align-expected.txt
index c50e2cb3..735f424 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-align-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-align-expected.txt
@@ -13,11 +13,11 @@
         LayoutText {#text} at (729,0) size 55x19
           text run at (729,0) width 55: "LTR End"
       LayoutBlockFlow {P} at (0,108) size 784x20
-        LayoutText {#text} at (723,0) size 61x19
-          text run at (723,0) width 61: "RTL Start"
+        LayoutText {#text} at (724,0) size 60x19
+          text run at (724,0) width 60: "RTL Start"
       LayoutBlockFlow {P} at (0,144) size 784x20
-        LayoutText {#text} at (0,0) size 56x19
-          text run at (0,0) width 56: "RTL End"
+        LayoutText {#text} at (0,0) size 55x19
+          text run at (0,0) width 55: "RTL End"
       LayoutBlockFlow {H1} at (0,180) size 784x20
         LayoutText {#text} at (0,0) size 95x19
           text run at (0,0) width 95: "Inherited case"
@@ -31,12 +31,12 @@
             text run at (729,0) width 55: "LTR End"
       LayoutBlockFlow {DIV} at (0,288) size 784x20
         LayoutBlockFlow {P} at (0,0) size 784x20
-          LayoutText {#text} at (723,0) size 61x19
-            text run at (723,0) width 61: "RTL Start"
+          LayoutText {#text} at (724,0) size 60x19
+            text run at (724,0) width 60: "RTL Start"
       LayoutBlockFlow {DIV} at (0,324) size 784x20
         LayoutBlockFlow {P} at (0,0) size 784x20
-          LayoutText {#text} at (0,0) size 56x19
-            text run at (0,0) width 56: "RTL End"
+          LayoutText {#text} at (0,0) size 55x19
+            text run at (0,0) width 55: "RTL End"
       LayoutBlockFlow {H1} at (0,360) size 784x20
         LayoutText {#text} at (0,0) size 407x19
           text run at (0,0) width 407: "Inherited case where parent block has opposite directionality."
@@ -50,9 +50,9 @@
             text run at (729,0) width 55: "LTR End"
       LayoutBlockFlow {DIV} at (0,468) size 784x20
         LayoutBlockFlow {P} at (0,0) size 784x20
-          LayoutText {#text} at (723,0) size 61x19
-            text run at (723,0) width 61: "RTL Start"
+          LayoutText {#text} at (724,0) size 60x19
+            text run at (724,0) width 60: "RTL Start"
       LayoutBlockFlow {DIV} at (0,504) size 784x20
         LayoutBlockFlow {P} at (0,0) size 784x20
-          LayoutText {#text} at (0,0) size 56x19
-            text run at (0,0) width 56: "RTL End"
+          LayoutText {#text} at (0,0) size 55x19
+            text run at (0,0) width 55: "RTL End"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-bidi-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-bidi-expected.png
index b300a525..a5b54ea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-bidi-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-bidi-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-bidi-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-bidi-expected.txt
index 80bad1d..08c3b72 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-bidi-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-bidi-expected.txt
@@ -11,24 +11,24 @@
           text run at (0,20) width 511: "The ellipsis should appear on the left for the RTL case and on the right for LTR case. "
         LayoutBR {BR} at (0,0) size 0x0
         LayoutBR {BR} at (0,40) size 0x19
-        LayoutText {#text} at (0,60) size 57x19
-          text run at (0,60) width 57: "RTL text:"
+        LayoutText {#text} at (0,60) size 56x19
+          text run at (0,60) width 56: "RTL text:"
       LayoutBlockFlow (anonymous) at (0,120) size 784x40
         LayoutBR {BR} at (0,0) size 0x19
         LayoutText {#text} at (0,20) size 57x19
           text run at (0,20) width 57: "LTR Text"
 layer at (8,88) size 207x20 scrollX 91.00 scrollWidth 298
   LayoutBlockFlow {DIV} at (0,80) size 207x20
-    LayoutText {#text} at (-90,0) size 298x19
-      text run at (-90,0) width 0 RTL: "\x{202C}"
-      text run at (-90,0) width 222 RTL: " \x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5D1}\x{5E8}\x{5D9} \x{5DC}\x{5D3}\x{5D5}\x{5D2}\x{5DE}\x{5D0} \x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5D1}\x{5E8}\x{5D9} \x{5DC}\x{5D3}\x{5D5}\x{5D2}\x{5DE}\x{5D0} "
+    LayoutText {#text} at (-91,0) size 298x19
+      text run at (-91,0) width 0 RTL: "\x{202C}"
+      text run at (-91,0) width 222 RTL: " \x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5D1}\x{5E8}\x{5D9} \x{5DC}\x{5D3}\x{5D5}\x{5D2}\x{5DE}\x{5D0} \x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5D1}\x{5E8}\x{5D9} \x{5DC}\x{5D3}\x{5D5}\x{5D2}\x{5DE}\x{5D0} "
       text run at (131,0) width 72: "English Text"
       text run at (203,0) width 4 RTL: "\x{202B} "
 layer at (8,108) size 207x20 scrollX 91.00 scrollWidth 298
   LayoutBlockFlow {DIV} at (0,100) size 207x20
-    LayoutText {#text} at (-90,0) size 298x19
-      text run at (-90,0) width 0 RTL: "\x{202C}"
-      text run at (-90,0) width 222 RTL: " \x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5D1}\x{5E8}\x{5D9} \x{5DC}\x{5D3}\x{5D5}\x{5D2}\x{5DE}\x{5D0} \x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5D1}\x{5E8}\x{5D9} \x{5DC}\x{5D3}\x{5D5}\x{5D2}\x{5DE}\x{5D0} "
+    LayoutText {#text} at (-91,0) size 298x19
+      text run at (-91,0) width 0 RTL: "\x{202C}"
+      text run at (-91,0) width 222 RTL: " \x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5D1}\x{5E8}\x{5D9} \x{5DC}\x{5D3}\x{5D5}\x{5D2}\x{5DE}\x{5D0} \x{5D8}\x{5E7}\x{5E1}\x{5D8} \x{5E2}\x{5D1}\x{5E8}\x{5D9} \x{5DC}\x{5D3}\x{5D5}\x{5D2}\x{5DE}\x{5D0} "
       text run at (131,0) width 72: "English Text"
       text run at (203,0) width 4 RTL: "\x{202B} "
 layer at (8,168) size 207x20 scrollWidth 224
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.png
index 389142c..e1a4984 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.txt
index 7bea8cdd..649e4c37 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-block-with-border-and-padding-expected.txt
@@ -5,33 +5,33 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x380
 layer at (8,8) size 343x30 clip at (13,13) size 333x20 scrollWidth 707
   LayoutBlockFlow {DIV} at (0,0) size 343x30 [border: (5px solid #008000)]
-    LayoutText {#text} at (25,5) size 683x19
-      text run at (25,5) width 683: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (25,5) size 682x19
+      text run at (25,5) width 682: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,58) size 343x30 clip at (13,63) size 333x20 scrollX 375.00 scrollWidth 708
   LayoutBlockFlow {DIV} at (0,50) size 343x30 [border: (5px solid #008000)]
-    LayoutText {#text} at (-350,5) size 683x19
+    LayoutText {#text} at (-350,5) size 682x19
       text run at (-350,5) width 682 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,108) size 343x30 clip at (13,113) size 333x20 scrollWidth 708
   LayoutBlockFlow {DIV} at (0,100) size 343x30 [border: (5px solid #008000)]
-    LayoutText {#text} at (26,5) size 683x19
-      text run at (26,5) width 683: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (26,5) size 682x19
+      text run at (26,5) width 682: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,158) size 343x30 clip at (13,163) size 333x20 scrollX 374.00 scrollWidth 707
   LayoutBlockFlow {DIV} at (0,150) size 343x30 [border: (5px solid #008000)]
-    LayoutText {#text} at (-349,5) size 683x19
+    LayoutText {#text} at (-349,5) size 682x19
       text run at (-349,5) width 682 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,208) size 343x30 clip at (13,213) size 333x20 scrollWidth 708
   LayoutBlockFlow {DIV} at (0,200) size 343x30 [border: (5px solid #008000)]
     LayoutText {#text} at (25,5) size 683x19
       text run at (25,5) width 683: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,258) size 343x30 clip at (13,263) size 333x20 scrollX 375.00 scrollWidth 708
+layer at (8,258) size 343x30 clip at (13,263) size 333x20 scrollX 374.00 scrollWidth 708
   LayoutBlockFlow {DIV} at (0,250) size 343x30 [border: (5px solid #008000)]
     LayoutText {#text} at (-349,5) size 683x19
       text run at (-349,5) width 682 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,308) size 343x30 clip at (13,313) size 333x20 scrollWidth 707
   LayoutBlockFlow {DIV} at (0,300) size 343x30 [border: (5px solid #008000)]
-    LayoutText {#text} at (25,5) size 683x19
-      text run at (25,5) width 683: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (25,5) size 682x19
+      text run at (25,5) width 682: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,358) size 343x30 clip at (13,363) size 333x20 scrollX 374.00 scrollWidth 707
   LayoutBlockFlow {DIV} at (0,350) size 343x30 [border: (5px solid #008000)]
-    LayoutText {#text} at (-349,5) size 683x19
+    LayoutText {#text} at (-349,5) size 682x19
       text run at (-349,5) width 682 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-expected.txt
index fed67cb..f371623 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-expected.txt
@@ -12,20 +12,20 @@
           text run at (0,40) width 705: "Pass if the ellipsis do not overlap the text and the underlines for the links are placed under the text and not the ellipsis. "
         LayoutBR {BR} at (705,55) size 0x0
         LayoutBR {BR} at (0,60) size 0x19
-        LayoutText {#text} at (0,80) size 31x19
-          text run at (0,80) width 31: "RTL:"
+        LayoutText {#text} at (0,80) size 30x19
+          text run at (0,80) width 30: "RTL:"
       LayoutBlockFlow (anonymous) at (0,142) size 784x20
-        LayoutText {#text} at (0,0) size 89x19
-          text run at (0,0) width 89: "RTL Override:"
+        LayoutText {#text} at (0,0) size 88x19
+          text run at (0,0) width 88: "RTL Override:"
       LayoutBlockFlow (anonymous) at (0,204) size 784x20
-        LayoutText {#text} at (0,0) size 56x19
-          text run at (0,0) width 56: "RTL link:"
+        LayoutText {#text} at (0,0) size 55x19
+          text run at (0,0) width 55: "RTL link:"
       LayoutBlockFlow (anonymous) at (0,266) size 784x20
-        LayoutText {#text} at (0,0) size 124x19
-          text run at (0,0) width 124: "RTL with ltr content:"
+        LayoutText {#text} at (0,0) size 123x19
+          text run at (0,0) width 123: "RTL with ltr content:"
       LayoutBlockFlow (anonymous) at (0,328) size 784x20
-        LayoutText {#text} at (0,0) size 149x19
-          text run at (0,0) width 149: "RTL link with ltr content:"
+        LayoutText {#text} at (0,0) size 148x19
+          text run at (0,0) width 148: "RTL link with ltr content:"
       LayoutBlockFlow (anonymous) at (0,390) size 784x20
         LayoutText {#text} at (0,0) size 55x19
           text run at (0,0) width 55: "LTR link:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-strict-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-strict-expected.txt
index 5fbf4bf..78ca170 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-strict-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-strict-expected.txt
@@ -12,20 +12,20 @@
           text run at (0,40) width 705: "Pass if the ellipsis do not overlap the text and the underlines for the links are placed under the text and not the ellipsis. "
         LayoutBR {BR} at (705,40) size 0x19
         LayoutBR {BR} at (0,60) size 0x19
-        LayoutText {#text} at (0,80) size 31x19
-          text run at (0,80) width 31: "RTL:"
+        LayoutText {#text} at (0,80) size 30x19
+          text run at (0,80) width 30: "RTL:"
       LayoutBlockFlow (anonymous) at (0,142) size 784x20
-        LayoutText {#text} at (0,0) size 89x19
-          text run at (0,0) width 89: "RTL Override:"
+        LayoutText {#text} at (0,0) size 88x19
+          text run at (0,0) width 88: "RTL Override:"
       LayoutBlockFlow (anonymous) at (0,204) size 784x20
-        LayoutText {#text} at (0,0) size 56x19
-          text run at (0,0) width 56: "RTL link:"
+        LayoutText {#text} at (0,0) size 55x19
+          text run at (0,0) width 55: "RTL link:"
       LayoutBlockFlow (anonymous) at (0,266) size 784x20
-        LayoutText {#text} at (0,0) size 124x19
-          text run at (0,0) width 124: "RTL with ltr content:"
+        LayoutText {#text} at (0,0) size 123x19
+          text run at (0,0) width 123: "RTL with ltr content:"
       LayoutBlockFlow (anonymous) at (0,328) size 784x20
-        LayoutText {#text} at (0,0) size 149x19
-          text run at (0,0) width 149: "RTL link with ltr content:"
+        LayoutText {#text} at (0,0) size 148x19
+          text run at (0,0) width 148: "RTL link with ltr content:"
       LayoutBlockFlow (anonymous) at (0,390) size 784x20
         LayoutText {#text} at (0,0) size 55x19
           text run at (0,0) width 55: "LTR link:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-center-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-center-expected.png
index e7a61ed..36eb9b4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-center-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-center-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-center-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-center-expected.txt
index c9928f0..8143b35f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-center-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-center-expected.txt
@@ -22,11 +22,11 @@
         LayoutText {#text} at (0,0) size 395x22
           text run at (0,0) width 395: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,489.59) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
+        LayoutText {#text} at (0,0) size 197x22
+          text run at (0,0) width 197: "Right-To-Left single line"
       LayoutBlockFlow {H3} at (0,573.31) size 769x23
-        LayoutText {#text} at (0,0) size 195x22
-          text run at (0,0) width 195: "Right-To-Left Multi line"
+        LayoutText {#text} at (0,0) size 194x22
+          text run at (0,0) width 194: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,717.03) size 769x23
         LayoutText {#text} at (0,0) size 341x22
           text run at (0,0) width 341: "Right-To-Left containing replaced content"
@@ -45,8 +45,8 @@
     LayoutText {#text} at (2,21) size 674x19
       text run at (2,21) width 674: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (1,41) size 666x19
-      text run at (1,41) width 666: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,41) size 665x19
+      text run at (1,41) width 665: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
     LayoutText {#text} at (3,61) size 661x19
       text run at (3,61) width 661: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
@@ -56,8 +56,8 @@
     LayoutText {#text} at (2,11) size 173x19
       text run at (2,11) width 173: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (175,1) size 25x25
-    LayoutText {#text} at (200,11) size 514x19
-      text run at (200,11) width 514: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (200,11) size 513x19
+      text run at (200,11) width 513: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,446) size 310x32 clip at (9,447) size 308x30 scrollWidth 709
   LayoutBlockFlow {DIV} at (0,437.59) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (2,11) size 262x19
@@ -65,22 +65,22 @@
     LayoutImage {IMG} at (263.50,1) size 25x25
     LayoutText {#text} at (288,11) size 422x19
       text run at (288,11) width 422: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,539) size 310x22 clip at (9,540) size 308x20 scrollX 375.00 scrollWidth 683
+layer at (8,539) size 310x22 clip at (9,540) size 308x20 scrollX 374.00 scrollWidth 683
   LayoutBlockFlow {DIV} at (0,531.31) size 310x22 [border: (1px solid #000000)]
     LayoutText {#text} at (-373,1) size 683x19
       text run at (-373,1) width 682 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,623) size 310x82 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 375.00 scrollWidth 683
+layer at (8,623) size 310x82 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 374.00 scrollWidth 683
   LayoutBlockFlow {DIV} at (0,615.03) size 310x82 [border: (1px solid #000000)]
     LayoutText {#text} at (-373,1) size 683x19
       text run at (-373,1) width 682 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-364,21) size 674x19
+    LayoutText {#text} at (-364,21) size 673x19
       text run at (-364,21) width 673 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-356,41) size 666x19
+    LayoutText {#text} at (-356,41) size 665x19
       text run at (-356,41) width 665 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-351,61) size 661x19
+    LayoutText {#text} at (-351,61) size 660x19
       text run at (-351,61) width 660 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
 layer at (8,767) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 403.00 scrollWidth 711
@@ -88,12 +88,12 @@
     LayoutText {#text} at (136,11) size 173x19
       text run at (136,11) width 173 RTL override: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (111,1) size 25x25
-    LayoutText {#text} at (-402,11) size 514x19
+    LayoutText {#text} at (-402,11) size 513x19
       text run at (-402,11) width 513 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,860) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 401.00 scrollWidth 709
+layer at (8,860) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 399.00 scrollWidth 707
   LayoutBlockFlow {DIV} at (0,852.47) size 310x32 [border: (1px solid #000000)]
-    LayoutText {#text} at (46,11) size 262x19
-      text run at (46,11) width 262 RTL override: "Lorem ipsum dolor sit amet, consectetur ad"
-    LayoutImage {IMG} at (21.50,1) size 25x25
-    LayoutText {#text} at (-399,11) size 422x19
-      text run at (-399,11) width 421 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (48,11) size 261x19
+      text run at (48,11) width 261 RTL override: "Lorem ipsum dolor sit amet, consectetur ad"
+    LayoutImage {IMG} at (23,1) size 25x25
+    LayoutText {#text} at (-398,11) size 421x19
+      text run at (-398,11) width 421 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt
index 34339e6..d10bfa3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt
@@ -22,11 +22,11 @@
         LayoutText {#text} at (0,0) size 395x22
           text run at (0,0) width 395: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,489.59) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
+        LayoutText {#text} at (0,0) size 197x22
+          text run at (0,0) width 197: "Right-To-Left single line"
       LayoutBlockFlow {H3} at (0,573.31) size 769x23
-        LayoutText {#text} at (0,0) size 195x22
-          text run at (0,0) width 195: "Right-To-Left Multi line"
+        LayoutText {#text} at (0,0) size 194x22
+          text run at (0,0) width 194: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,717.03) size 769x23
         LayoutText {#text} at (0,0) size 341x22
           text run at (0,0) width 341: "Right-To-Left containing replaced content"
@@ -35,65 +35,65 @@
           text run at (0,0) width 506: "Right-To-Left containing replaced content blocking the ellipsis"
 layer at (8,124) size 310x22 clip at (9,125) size 308x20 scrollWidth 682
   LayoutBlockFlow {DIV} at (0,116.44) size 310x22 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,1) size 683x19
-      text run at (1,1) width 683: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,1) size 682x19
+      text run at (1,1) width 682: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,208) size 310x82 clip at (9,209) size 308x80 scrollWidth 682
   LayoutBlockFlow {DIV} at (0,200.16) size 310x82 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,1) size 683x19
-      text run at (1,1) width 683: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,1) size 682x19
+      text run at (1,1) width 682: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (1,21) size 674x19
-      text run at (1,21) width 674: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,21) size 673x19
+      text run at (1,21) width 673: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (1,41) size 666x19
-      text run at (1,41) width 666: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,41) size 665x19
+      text run at (1,41) width 665: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (1,61) size 661x19
-      text run at (1,61) width 661: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,61) size 660x19
+      text run at (1,61) width 660: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
 layer at (8,352) size 310x32 clip at (9,353) size 308x30 scrollWidth 711
   LayoutBlockFlow {DIV} at (0,343.88) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (1,11) size 173x19
       text run at (1,11) width 173: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (174,1) size 25x25
-    LayoutText {#text} at (199,11) size 514x19
-      text run at (199,11) width 514: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (199,11) size 513x19
+      text run at (199,11) width 513: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,446) size 310x32 clip at (9,447) size 308x30 scrollWidth 707
   LayoutBlockFlow {DIV} at (0,437.59) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (1,11) size 261x19
       text run at (1,11) width 261: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (262,1) size 25x25
-    LayoutText {#text} at (287,11) size 422x19
-      text run at (287,11) width 422: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (287,11) size 421x19
+      text run at (287,11) width 421: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,539) size 310x22 clip at (9,540) size 308x20 scrollX 374.00 scrollWidth 682
   LayoutBlockFlow {DIV} at (0,531.31) size 310x22 [border: (1px solid #000000)]
-    LayoutText {#text} at (-373,1) size 683x19
+    LayoutText {#text} at (-373,1) size 682x19
       text run at (-373,1) width 682 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,623) size 310x82 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
   LayoutBlockFlow {DIV} at (0,615.03) size 310x82 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,1) size 683x19
-      text run at (1,1) width 683 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,1) size 682x19
+      text run at (1,1) width 682 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (1,21) size 674x19
-      text run at (1,21) width 674 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,21) size 673x19
+      text run at (1,21) width 673 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (1,41) size 666x19
-      text run at (1,41) width 666 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,41) size 665x19
+      text run at (1,41) width 665 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (1,61) size 661x19
-      text run at (1,61) width 661 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,61) size 660x19
+      text run at (1,61) width 660 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
 layer at (8,767) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 403.00 scrollWidth 711
   LayoutBlockFlow {DIV} at (0,758.75) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (136,11) size 173x19
       text run at (136,11) width 173 RTL override: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (111,1) size 25x25
-    LayoutText {#text} at (-402,11) size 514x19
+    LayoutText {#text} at (-402,11) size 513x19
       text run at (-402,11) width 513 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,860) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 399.00 scrollWidth 707
   LayoutBlockFlow {DIV} at (0,852.47) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (48,11) size 261x19
       text run at (48,11) width 261 RTL override: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (23,1) size 25x25
-    LayoutText {#text} at (-398,11) size 422x19
+    LayoutText {#text} at (-398,11) size 421x19
       text run at (-398,11) width 421 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-left-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-left-expected.txt
index b928c74..d24b839 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-left-expected.txt
@@ -22,11 +22,11 @@
         LayoutText {#text} at (0,0) size 395x22
           text run at (0,0) width 395: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,489.59) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
+        LayoutText {#text} at (0,0) size 197x22
+          text run at (0,0) width 197: "Right-To-Left single line"
       LayoutBlockFlow {H3} at (0,573.31) size 769x23
-        LayoutText {#text} at (0,0) size 195x22
-          text run at (0,0) width 195: "Right-To-Left Multi line"
+        LayoutText {#text} at (0,0) size 194x22
+          text run at (0,0) width 194: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,717.03) size 769x23
         LayoutText {#text} at (0,0) size 341x22
           text run at (0,0) width 341: "Right-To-Left containing replaced content"
@@ -35,52 +35,52 @@
           text run at (0,0) width 506: "Right-To-Left containing replaced content blocking the ellipsis"
 layer at (8,124) size 310x22 clip at (9,125) size 308x20 scrollWidth 682
   LayoutBlockFlow {DIV} at (0,116.44) size 310x22 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,1) size 683x19
-      text run at (1,1) width 683: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,1) size 682x19
+      text run at (1,1) width 682: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,208) size 310x82 clip at (9,209) size 308x80 scrollWidth 682
   LayoutBlockFlow {DIV} at (0,200.16) size 310x82 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,1) size 683x19
-      text run at (1,1) width 683: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,1) size 682x19
+      text run at (1,1) width 682: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (1,21) size 674x19
-      text run at (1,21) width 674: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,21) size 673x19
+      text run at (1,21) width 673: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (1,41) size 666x19
-      text run at (1,41) width 666: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,41) size 665x19
+      text run at (1,41) width 665: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (1,61) size 661x19
-      text run at (1,61) width 661: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,61) size 660x19
+      text run at (1,61) width 660: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
 layer at (8,352) size 310x32 clip at (9,353) size 308x30 scrollWidth 711
   LayoutBlockFlow {DIV} at (0,343.88) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (1,11) size 173x19
       text run at (1,11) width 173: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (174,1) size 25x25
-    LayoutText {#text} at (199,11) size 514x19
-      text run at (199,11) width 514: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (199,11) size 513x19
+      text run at (199,11) width 513: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,446) size 310x32 clip at (9,447) size 308x30 scrollWidth 707
   LayoutBlockFlow {DIV} at (0,437.59) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (1,11) size 261x19
       text run at (1,11) width 261: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (262,1) size 25x25
-    LayoutText {#text} at (287,11) size 422x19
-      text run at (287,11) width 422: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (287,11) size 421x19
+      text run at (287,11) width 421: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,539) size 310x22 clip at (9,540) size 308x20 scrollX 375.00 scrollWidth 683
   LayoutBlockFlow {DIV} at (0,531.31) size 310x22 [border: (1px solid #000000)]
-    LayoutText {#text} at (-374,1) size 683x19
+    LayoutText {#text} at (-374,1) size 682x19
       text run at (-374,1) width 682 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,623) size 310x82 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 375.00 scrollWidth 683
   LayoutBlockFlow {DIV} at (0,615.03) size 310x82 [border: (1px solid #000000)]
-    LayoutText {#text} at (-374,1) size 683x19
+    LayoutText {#text} at (-374,1) size 682x19
       text run at (-374,1) width 682 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-364,21) size 674x19
+    LayoutText {#text} at (-364,21) size 673x19
       text run at (-364,21) width 673 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-356,41) size 666x19
+    LayoutText {#text} at (-356,41) size 665x19
       text run at (-356,41) width 665 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-351,61) size 661x19
+    LayoutText {#text} at (-351,61) size 660x19
       text run at (-351,61) width 660 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
 layer at (8,767) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 403.00 scrollWidth 711
@@ -88,12 +88,12 @@
     LayoutText {#text} at (136,11) size 173x19
       text run at (136,11) width 173 RTL override: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (111,1) size 25x25
-    LayoutText {#text} at (-402,11) size 514x19
+    LayoutText {#text} at (-402,11) size 513x19
       text run at (-402,11) width 513 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
-layer at (8,860) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 402.00 scrollWidth 710
+layer at (8,860) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 399.00 scrollWidth 707
   LayoutBlockFlow {DIV} at (0,852.47) size 310x32 [border: (1px solid #000000)]
-    LayoutText {#text} at (45,11) size 261x19
-      text run at (45,11) width 261 RTL override: "Lorem ipsum dolor sit amet, consectetur ad"
-    LayoutImage {IMG} at (20,1) size 25x25
-    LayoutText {#text} at (-401,11) size 422x19
-      text run at (-401,11) width 421 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (48,11) size 261x19
+      text run at (48,11) width 261 RTL override: "Lorem ipsum dolor sit amet, consectetur ad"
+    LayoutImage {IMG} at (23,1) size 25x25
+    LayoutText {#text} at (-398,11) size 421x19
+      text run at (-398,11) width 421 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-right-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-right-expected.txt
index 43ebeb41..666ea9a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-overflow-ellipsis-text-align-right-expected.txt
@@ -22,11 +22,11 @@
         LayoutText {#text} at (0,0) size 395x22
           text run at (0,0) width 395: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,489.59) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
+        LayoutText {#text} at (0,0) size 197x22
+          text run at (0,0) width 197: "Right-To-Left single line"
       LayoutBlockFlow {H3} at (0,573.31) size 769x23
-        LayoutText {#text} at (0,0) size 195x22
-          text run at (0,0) width 195: "Right-To-Left Multi line"
+        LayoutText {#text} at (0,0) size 194x22
+          text run at (0,0) width 194: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,717.03) size 769x23
         LayoutText {#text} at (0,0) size 341x22
           text run at (0,0) width 341: "Right-To-Left containing replaced content"
@@ -35,52 +35,52 @@
           text run at (0,0) width 506: "Right-To-Left containing replaced content blocking the ellipsis"
 layer at (8,124) size 310x22 clip at (9,125) size 308x20 scrollWidth 683
   LayoutBlockFlow {DIV} at (0,116.44) size 310x22 [border: (1px solid #000000)]
-    LayoutText {#text} at (2,1) size 683x19
-      text run at (2,1) width 683: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (2,1) size 682x19
+      text run at (2,1) width 682: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,208) size 310x82 clip at (9,209) size 308x80 scrollWidth 683
   LayoutBlockFlow {DIV} at (0,200.16) size 310x82 [border: (1px solid #000000)]
-    LayoutText {#text} at (2,1) size 683x19
-      text run at (2,1) width 683: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (2,1) size 682x19
+      text run at (2,1) width 682: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (4,21) size 674x19
-      text run at (4,21) width 674: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (4,21) size 673x19
+      text run at (4,21) width 673: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (1,41) size 666x19
-      text run at (1,41) width 666: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,41) size 665x19
+      text run at (1,41) width 665: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (6,61) size 661x19
-      text run at (6,61) width 661: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (6,61) size 660x19
+      text run at (6,61) width 660: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
 layer at (8,352) size 310x32 clip at (9,353) size 308x30 scrollWidth 713
   LayoutBlockFlow {DIV} at (0,343.88) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (3,11) size 173x19
       text run at (3,11) width 173: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (176,1) size 25x25
-    LayoutText {#text} at (201,11) size 514x19
-      text run at (201,11) width 514: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (201,11) size 513x19
+      text run at (201,11) width 513: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,446) size 310x32 clip at (9,447) size 308x30 scrollWidth 710
   LayoutBlockFlow {DIV} at (0,437.59) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (4,11) size 261x19
       text run at (4,11) width 261: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (265,1) size 25x25
-    LayoutText {#text} at (290,11) size 422x19
-      text run at (290,11) width 422: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (290,11) size 421x19
+      text run at (290,11) width 421: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,539) size 310x22 clip at (9,540) size 308x20 scrollX 374.00 scrollWidth 682
   LayoutBlockFlow {DIV} at (0,531.31) size 310x22 [border: (1px solid #000000)]
-    LayoutText {#text} at (-373,1) size 683x19
+    LayoutText {#text} at (-373,1) size 682x19
       text run at (-373,1) width 682 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,623) size 310x82 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 374.00 scrollWidth 682
   LayoutBlockFlow {DIV} at (0,615.03) size 310x82 [border: (1px solid #000000)]
-    LayoutText {#text} at (-373,1) size 683x19
+    LayoutText {#text} at (-373,1) size 682x19
       text run at (-373,1) width 682 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-364,21) size 674x19
+    LayoutText {#text} at (-364,21) size 673x19
       text run at (-364,21) width 673 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-356,41) size 666x19
+    LayoutText {#text} at (-356,41) size 665x19
       text run at (-356,41) width 665 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (-351,61) size 661x19
+    LayoutText {#text} at (-351,61) size 660x19
       text run at (-351,61) width 660 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
 layer at (8,767) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 403.00 scrollWidth 711
@@ -88,12 +88,12 @@
     LayoutText {#text} at (136,11) size 173x19
       text run at (136,11) width 173 RTL override: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (111,1) size 25x25
-    LayoutText {#text} at (-402,11) size 514x19
+    LayoutText {#text} at (-402,11) size 513x19
       text run at (-402,11) width 513 RTL override: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,860) size 310x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollX 399.00 scrollWidth 707
   LayoutBlockFlow {DIV} at (0,852.47) size 310x32 [border: (1px solid #000000)]
     LayoutText {#text} at (48,11) size 261x19
       text run at (48,11) width 261 RTL override: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (23,1) size 25x25
-    LayoutText {#text} at (-398,11) size 422x19
+    LayoutText {#text} at (-398,11) size 421x19
       text run at (-398,11) width 421 RTL override: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-rendering-expected.png
index f4f2631c..abe9af3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-rendering-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-rendering-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-rendering-expected.txt
index 3935dc3d..99e5139e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/text-rendering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/text-rendering-expected.txt
@@ -3,30 +3,30 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutInline {SPAN} at (0,0) size 646x139
-        LayoutText {#text} at (0,1) size 646x139
-          text run at (0,1) width 646: "fin LYAWA (No kerning or"
+      LayoutInline {SPAN} at (0,0) size 645x139
+        LayoutText {#text} at (0,1) size 645x139
+          text run at (0,1) width 645: "fin LYAWA (No kerning or"
           text run at (0,72) width 227: "ligatures)"
       LayoutText {#text} at (227,111) size 4x19
         text run at (227,111) width 4: " "
       LayoutBR {BR} at (231,126) size 0x0
-      LayoutInline {SPAN} at (0,0) size 646x139
-        LayoutText {#text} at (0,143) size 646x139
-          text run at (0,143) width 646: "fin LYAWA (No kerning or"
+      LayoutInline {SPAN} at (0,0) size 645x139
+        LayoutText {#text} at (0,143) size 645x139
+          text run at (0,143) width 645: "fin LYAWA (No kerning or"
           text run at (0,214) width 227: "ligatures)"
       LayoutText {#text} at (227,253) size 4x19
         text run at (227,253) width 4: " "
       LayoutBR {BR} at (231,268) size 0x0
-      LayoutInline {SPAN} at (0,0) size 604x139
-        LayoutText {#text} at (0,285) size 604x139
-          text run at (0,285) width 604: "fin LYAWA (Kerning and"
+      LayoutInline {SPAN} at (0,0) size 603x139
+        LayoutText {#text} at (0,285) size 603x139
+          text run at (0,285) width 603: "fin LYAWA (Kerning and"
           text run at (0,356) width 227: "ligatures)"
       LayoutText {#text} at (227,395) size 4x19
         text run at (227,395) width 4: " "
       LayoutBR {BR} at (231,410) size 0x0
-      LayoutInline {SPAN} at (0,0) size 604x139
-        LayoutText {#text} at (0,427) size 604x139
-          text run at (0,427) width 604: "fin LYAWA (Kerning and"
+      LayoutInline {SPAN} at (0,0) size 603x139
+        LayoutText {#text} at (0,427) size 603x139
+          text run at (0,427) width 603: "fin LYAWA (Kerning and"
           text run at (0,498) width 227: "ligatures)"
       LayoutText {#text} at (227,537) size 4x19
         text run at (227,537) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/textCapitalizeEdgeCases-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/textCapitalizeEdgeCases-expected.txt
index 139998da..3b2260ec 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/textCapitalizeEdgeCases-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/textCapitalizeEdgeCases-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x572
       LayoutBlockFlow {P} at (0,0) size 784x60
-        LayoutText {#text} at (0,0) size 781x59
-          text run at (0,0) width 781: "This file tests capitalisation with all sorts of odd things. There is some RTL text, some text with an inlined-div placed inside a word,"
+        LayoutText {#text} at (0,0) size 780x59
+          text run at (0,0) width 780: "This file tests capitalisation with all sorts of odd things. There is some RTL text, some text with an inlined-div placed inside a word,"
           text run at (0,20) width 780: "an image between words as well as a div between words. Each word below should be capitalised, and there should be no capitals"
           text run at (0,40) width 135: "n the middle of words."
       LayoutBlockFlow {DIV} at (20,80) size 744x120 [border: (5px solid #FF0000)]
@@ -24,11 +24,11 @@
             LayoutInline {DIV} at (0,0) size 13x19
               LayoutText {#text} at (30,10) size 13x19
                 text run at (30,10) width 13: "or"
-            LayoutText {#text} at (43,10) size 41x19
-              text run at (43,10) width 41: "d With"
-            LayoutImage {IMG} at (83.36,0) size 25x25
-            LayoutText {#text} at (108,10) size 60x19
-              text run at (108,10) width 60: "An Image"
+            LayoutText {#text} at (43,10) size 40x19
+              text run at (43,10) width 40: "d With"
+            LayoutImage {IMG} at (83,0) size 25x25
+            LayoutText {#text} at (108,10) size 59x19
+              text run at (108,10) width 59: "An Image"
           LayoutBlockFlow {DIV} at (0,30) size 694x0
           LayoutBlockFlow (anonymous) at (0,30) size 694x20
             LayoutText {#text} at (0,0) size 33x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/transform-default-parameter-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/transform-default-parameter-expected.txt
index 0b9831c..6885ea47 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/transform-default-parameter-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/transform-default-parameter-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x115.88
     LayoutBlockFlow {BODY} at (8,21.44) size 784x78.44
       LayoutBlockFlow {H1} at (0,0) size 784x37
-        LayoutText {#text} at (0,0) size 486x36
-          text run at (0,0) width 486: "Testing default translate parameter"
+        LayoutText {#text} at (0,0) size 485x36
+          text run at (0,0) width 485: "Testing default translate parameter"
       LayoutBlockFlow {P} at (0,58.44) size 784x20
         LayoutText {#text} at (0,0) size 550x19
           text run at (0,0) width 550: "There should be blue and green boxes shown. If there is a red box visible, the test has failed"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/transformed-mask-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/transformed-mask-expected.txt
index cfceef2..cc3a831 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/transformed-mask-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/transformed-mask-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x205
     LayoutBlockFlow {BODY} at (8,16) size 784x181
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 360x19
-          text run at (0,0) width 360: "You should not see any pixel artifacts around the reflections."
+        LayoutText {#text} at (0,0) size 359x19
+          text run at (0,0) width 359: "You should not see any pixel artifacts around the reflections."
       LayoutBlockFlow (anonymous) at (0,36) size 784x145
         LayoutText {#text} at (140,125) size 4x19
           text run at (140,125) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/universal-hover-quirk-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css/universal-hover-quirk-expected.png
index 553a270..b167650 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/universal-hover-quirk-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/universal-hover-quirk-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/universal-hover-quirk-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/universal-hover-quirk-expected.txt
index 0523ea9d..92a8314 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/universal-hover-quirk-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/universal-hover-quirk-expected.txt
@@ -11,19 +11,19 @@
       LayoutBlockFlow {P} at (0,46) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 552x19
-          LayoutInline {A} at (0,0) size 351x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 351x19
-              text run at (49,0) width 351: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7218"
+        LayoutInline {I} at (0,0) size 551x19
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 349x19
+              text run at (50,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7218"
           LayoutText {#text} at (399,0) size 202x19
             text run at (399,0) width 202: " Text underlined on mouse over"
-        LayoutText {#text} at (600,0) size 95x19
-          text run at (600,0) width 95: ". This tests that "
-        LayoutInline {CODE} at (0,0) size 57x16
-          LayoutText {#text} at (694,3) size 57x16
-            text run at (694,3) width 57: "*:hover"
-        LayoutText {#text} at (750,0) size 784x39
-          text run at (750,0) width 34: " does"
+        LayoutText {#text} at (601,0) size 94x19
+          text run at (601,0) width 94: ". This tests that "
+        LayoutInline {CODE} at (0,0) size 56x16
+          LayoutText {#text} at (695,3) size 56x16
+            text run at (695,3) width 56: "*:hover"
+        LayoutText {#text} at (751,0) size 784x39
+          text run at (751,0) width 33: " does"
           text run at (0,20) width 209: "not match anything in quirks mode."
 layer at (8,36) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt
index 1cec4c0..38e63540 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt
@@ -16,11 +16,11 @@
         LayoutText {#text} at (0,0) size 395x22
           text run at (0,0) width 395: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,1486.88) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
+        LayoutText {#text} at (0,0) size 197x22
+          text run at (0,0) width 197: "Right-To-Left single line"
       LayoutBlockFlow {H3} at (0,1858.59) size 769x23
-        LayoutText {#text} at (0,0) size 195x22
-          text run at (0,0) width 195: "Right-To-Left Multi line"
+        LayoutText {#text} at (0,0) size 194x22
+          text run at (0,0) width 194: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,2230.31) size 769x23
         LayoutText {#text} at (0,0) size 341x22
           text run at (0,0) width 341: "Right-To-Left containing replaced content"
@@ -30,7 +30,7 @@
 layer at (8,50) size 22x310 clip at (9,51) size 20x308 scrollHeight 682
   LayoutBlockFlow {DIV} at (0,41.72) size 22x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,1) size 19x683
-      text run at (1,1) width 683: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+      text run at (1,1) width 682: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,421) size 82x310 backgroundClip at (8,421) size 82x179 clip at (9,422) size 80x178 scrollHeight 683
   LayoutBlockFlow {DIV} at (0,413.44) size 82x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,1) size 19x683
@@ -50,15 +50,15 @@
     LayoutText {#text} at (11,2) size 19x173
       text run at (11,2) width 173: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (1,175) size 25x25
-    LayoutText {#text} at (11,200) size 19x514
-      text run at (11,200) width 514: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (11,200) size 19x513
+      text run at (11,200) width 513: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,1165) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 708
   LayoutBlockFlow {DIV} at (0,1156.88) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,2) size 19x262
       text run at (11,2) width 261: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (1,263.50) size 25x25
     LayoutText {#text} at (11,288) size 19x422
-      text run at (11,288) width 422: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+      text run at (11,288) width 421: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,1537) size 22x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 375.00 scrollHeight 683
   LayoutBlockFlow {DIV} at (0,1528.59) size 22x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,-374) size 19x684
@@ -71,11 +71,11 @@
     LayoutText {#text} at (21,-366) size 19x675
       text run at (21,-366) width 674 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (41,-356) size 19x666
-      text run at (41,-356) width 666 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (41,-357) size 19x666
+      text run at (41,-357) width 666 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (61,-351) size 19x661
-      text run at (61,-351) width 661 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (61,-352) size 19x661
+      text run at (61,-352) width 661 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
 layer at (8,2280) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 404.00 scrollHeight 712
   LayoutBlockFlow {DIV} at (0,2272.03) size 32x310 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt
index 04650b0..7ce8cf34 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt
@@ -16,11 +16,11 @@
         LayoutText {#text} at (0,0) size 395x22
           text run at (0,0) width 395: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,1486.88) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
+        LayoutText {#text} at (0,0) size 197x22
+          text run at (0,0) width 197: "Right-To-Left single line"
       LayoutBlockFlow {H3} at (0,1858.59) size 769x23
-        LayoutText {#text} at (0,0) size 195x22
-          text run at (0,0) width 195: "Right-To-Left Multi line"
+        LayoutText {#text} at (0,0) size 194x22
+          text run at (0,0) width 194: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,2230.31) size 769x23
         LayoutText {#text} at (0,0) size 341x22
           text run at (0,0) width 341: "Right-To-Left containing replaced content"
@@ -29,8 +29,8 @@
           text run at (0,0) width 506: "Right-To-Left containing replaced content blocking the ellipsis"
 layer at (8,50) size 22x310 clip at (9,51) size 20x308 scrollHeight 682
   LayoutBlockFlow {DIV} at (0,41.72) size 22x310 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,1) size 19x683
-      text run at (1,1) width 683: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,1) size 19x682
+      text run at (1,1) width 682: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,421) size 82x310 backgroundClip at (8,421) size 82x179 clip at (9,422) size 80x178 scrollHeight 682
   LayoutBlockFlow {DIV} at (0,413.44) size 82x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,1) size 19x682
@@ -50,15 +50,15 @@
     LayoutText {#text} at (11,1) size 19x173
       text run at (11,1) width 173: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (1,174) size 25x25
-    LayoutText {#text} at (11,199) size 19x514
-      text run at (11,199) width 514: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (11,199) size 19x513
+      text run at (11,199) width 513: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,1165) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 707
   LayoutBlockFlow {DIV} at (0,1156.88) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,1) size 19x261
       text run at (11,1) width 261: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (1,262) size 25x25
-    LayoutText {#text} at (11,287) size 19x422
-      text run at (11,287) width 422: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (11,287) size 19x421
+      text run at (11,287) width 421: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,1537) size 22x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 375.00 scrollHeight 683
   LayoutBlockFlow {DIV} at (0,1528.59) size 22x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,-374) size 19x683
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt
index 9ee38d2..f3aafa1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt
@@ -16,11 +16,11 @@
         LayoutText {#text} at (0,0) size 395x22
           text run at (0,0) width 395: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,1486.88) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
+        LayoutText {#text} at (0,0) size 197x22
+          text run at (0,0) width 197: "Right-To-Left single line"
       LayoutBlockFlow {H3} at (0,1858.59) size 769x23
-        LayoutText {#text} at (0,0) size 195x22
-          text run at (0,0) width 195: "Right-To-Left Multi line"
+        LayoutText {#text} at (0,0) size 194x22
+          text run at (0,0) width 194: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,2230.31) size 769x23
         LayoutText {#text} at (0,0) size 341x22
           text run at (0,0) width 341: "Right-To-Left containing replaced content"
@@ -29,8 +29,8 @@
           text run at (0,0) width 506: "Right-To-Left containing replaced content blocking the ellipsis"
 layer at (8,50) size 22x310 clip at (9,51) size 20x308 scrollHeight 682
   LayoutBlockFlow {DIV} at (0,41.72) size 22x310 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,1) size 19x683
-      text run at (1,1) width 683: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,1) size 19x682
+      text run at (1,1) width 682: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,421) size 82x310 backgroundClip at (8,421) size 82x179 clip at (9,422) size 80x178 scrollHeight 682
   LayoutBlockFlow {DIV} at (0,413.44) size 82x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,1) size 19x682
@@ -50,32 +50,32 @@
     LayoutText {#text} at (11,1) size 19x173
       text run at (11,1) width 173: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (1,174) size 25x25
-    LayoutText {#text} at (11,199) size 19x514
-      text run at (11,199) width 514: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (11,199) size 19x513
+      text run at (11,199) width 513: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,1165) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 707
   LayoutBlockFlow {DIV} at (0,1156.88) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,1) size 19x261
       text run at (11,1) width 261: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (1,262) size 25x25
-    LayoutText {#text} at (11,287) size 19x422
-      text run at (11,287) width 422: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (11,287) size 19x421
+      text run at (11,287) width 421: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,1537) size 22x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 376.00 scrollHeight 684
   LayoutBlockFlow {DIV} at (0,1528.59) size 22x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,-375) size 19x683
       text run at (1,-375) width 683 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,1908) size 82x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 376.00 scrollHeight 684
   LayoutBlockFlow {DIV} at (0,1900.31) size 82x310 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,-374) size 19x683
-      text run at (1,-374) width 683 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,-375) size 19x683
+      text run at (1,-375) width 683 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (21,-367) size 19x674
-      text run at (21,-367) width 674 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (21,-368) size 19x674
+      text run at (21,-368) width 674 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (41,-356) size 19x666
-      text run at (41,-356) width 666 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (41,-357) size 19x666
+      text run at (41,-357) width 666 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (61,-351) size 19x661
-      text run at (61,-351) width 661 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (61,-352) size 19x661
+      text run at (61,-352) width 661 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
 layer at (8,2280) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 404.00 scrollHeight 712
   LayoutBlockFlow {DIV} at (0,2272.03) size 32x310 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt
index 2e4ca6d..6cb94478 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt
@@ -16,11 +16,11 @@
         LayoutText {#text} at (0,0) size 395x22
           text run at (0,0) width 395: "Containing replaced content blocking the ellipsis"
       LayoutBlockFlow {H3} at (0,1486.88) size 769x23
-        LayoutText {#text} at (0,0) size 198x22
-          text run at (0,0) width 198: "Right-To-Left single line"
+        LayoutText {#text} at (0,0) size 197x22
+          text run at (0,0) width 197: "Right-To-Left single line"
       LayoutBlockFlow {H3} at (0,1858.59) size 769x23
-        LayoutText {#text} at (0,0) size 195x22
-          text run at (0,0) width 195: "Right-To-Left Multi line"
+        LayoutText {#text} at (0,0) size 194x22
+          text run at (0,0) width 194: "Right-To-Left Multi line"
       LayoutBlockFlow {H3} at (0,2230.31) size 769x23
         LayoutText {#text} at (0,0) size 341x22
           text run at (0,0) width 341: "Right-To-Left containing replaced content"
@@ -29,8 +29,8 @@
           text run at (0,0) width 506: "Right-To-Left containing replaced content blocking the ellipsis"
 layer at (8,50) size 22x310 clip at (9,51) size 20x308 scrollHeight 683
   LayoutBlockFlow {DIV} at (0,41.72) size 22x310 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,2) size 19x683
-      text run at (1,2) width 683: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,2) size 19x682
+      text run at (1,2) width 682: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,421) size 82x310 backgroundClip at (8,421) size 82x179 clip at (9,422) size 80x178 scrollHeight 683
   LayoutBlockFlow {DIV} at (0,413.44) size 82x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,2) size 19x682
@@ -50,32 +50,32 @@
     LayoutText {#text} at (11,3) size 19x173
       text run at (11,3) width 173: "Lorem ipsum dolor sit amet, "
     LayoutImage {IMG} at (1,176) size 25x25
-    LayoutText {#text} at (11,201) size 19x514
-      text run at (11,201) width 514: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (11,201) size 19x513
+      text run at (11,201) width 513: " consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,1165) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 710
   LayoutBlockFlow {DIV} at (0,1156.88) size 32x310 [border: (1px solid #000000)]
     LayoutText {#text} at (11,4) size 19x261
       text run at (11,4) width 261: "Lorem ipsum dolor sit amet, consectetur ad"
     LayoutImage {IMG} at (1,265) size 25x25
-    LayoutText {#text} at (11,290) size 19x422
-      text run at (11,290) width 422: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (11,290) size 19x421
+      text run at (11,290) width 421: "ipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,1537) size 22x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 375.00 scrollHeight 683
   LayoutBlockFlow {DIV} at (0,1528.59) size 22x310 [border: (1px solid #000000)]
     LayoutText {#text} at (1,-374) size 19x683
       text run at (1,-374) width 683 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
 layer at (8,1908) size 82x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 375.00 scrollHeight 683
   LayoutBlockFlow {DIV} at (0,1900.31) size 82x310 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,-373) size 19x683
-      text run at (1,-373) width 683 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (1,-374) size 19x683
+      text run at (1,-374) width 683 RTL override: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (21,-364) size 19x674
-      text run at (21,-364) width 674 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (21,-365) size 19x674
+      text run at (21,-365) width 674 RTL override: "orem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (41,-356) size 19x666
-      text run at (41,-356) width 666 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (41,-357) size 19x666
+      text run at (41,-357) width 666 RTL override: "rem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
-    LayoutText {#text} at (61,-351) size 19x661
-      text run at (61,-351) width 661 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
+    LayoutText {#text} at (61,-352) size 19x661
+      text run at (61,-352) width 661 RTL override: "em ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae eros non libero faucibus sagittis sed ut eros."
     LayoutBR {BR} at (0,0) size 0x0
 layer at (8,2280) size 32x310 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollY 404.00 scrollHeight 712
   LayoutBlockFlow {DIV} at (0,2272.03) size 32x310 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/visibility-hit-test-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/visibility-hit-test-expected.txt
index 66d6ef3..4afe945 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/visibility-hit-test-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/visibility-hit-test-expected.txt
@@ -9,4 +9,4 @@
         text run at (300,285) width 4: " "
       LayoutText {#text} at (304,285) size 423x19
         text run at (304,285) width 335: "The element at position (100, 100) should be the body. "
-        text run at (638,285) width 89: "Result: BODY"
+        text run at (639,285) width 88: "Result: BODY"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/word-space-extra-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/word-space-extra-expected.txt
index 18e93d8..b871899d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/word-space-extra-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/word-space-extra-expected.txt
@@ -295,87 +295,87 @@
         LayoutInline {SPAN} at (0,0) size 776x259
           LayoutText {#text} at (0,0) size 173x19
             text run at (0,0) width 59: "Word "
-            text run at (58,0) width 115: "spacing test "
-          LayoutInline {EM} at (0,0) size 20x19
-            LayoutText {#text} at (172,0) size 20x19
-              text run at (172,0) width 20: "for"
-          LayoutText {#text} at (211,0) size 5x19
-            text run at (211,0) width 5: " "
-          LayoutInline {STRONG} at (0,0) size 61x19
-            LayoutText {#text} at (215,0) size 61x19
-              text run at (215,0) width 61: "elements"
-          LayoutText {#text} at (295,0) size 5x19
-            text run at (295,0) width 5: " "
-          LayoutInline {TT} at (0,0) size 49x16
-            LayoutText {#text} at (299,3) size 49x16
-              text run at (299,3) width 49: "within"
-          LayoutText {#text} at (367,0) size 105x19
-            text run at (367,0) width 105: " elements too."
-          LayoutBR {BR} at (491,15) size 1x0
+            text run at (59,0) width 114: "spacing test "
+          LayoutInline {EM} at (0,0) size 19x19
+            LayoutText {#text} at (173,0) size 19x19
+              text run at (173,0) width 19: "for"
+          LayoutText {#text} at (212,0) size 4x19
+            text run at (212,0) width 4: " "
+          LayoutInline {STRONG} at (0,0) size 60x19
+            LayoutText {#text} at (216,0) size 60x19
+              text run at (216,0) width 60: "elements"
+          LayoutText {#text} at (296,0) size 4x19
+            text run at (296,0) width 4: " "
+          LayoutInline {TT} at (0,0) size 48x16
+            LayoutText {#text} at (300,3) size 48x16
+              text run at (300,3) width 48: "within"
+          LayoutText {#text} at (368,0) size 104x19
+            text run at (368,0) width 104: " elements too."
+          LayoutBR {BR} at (492,15) size 0x0
           LayoutText {#text} at (0,20) size 173x19
             text run at (0,20) width 59: "Word "
-            text run at (58,20) width 115: "spacing test "
-          LayoutInline {EM} at (0,0) size 20x19
-            LayoutText {#text} at (172,20) size 20x19
-              text run at (172,20) width 20: "for"
-          LayoutText {#text} at (211,20) size 5x19
-            text run at (211,20) width 5: " "
-          LayoutInline {STRONG} at (0,0) size 61x19
-            LayoutText {#text} at (215,20) size 61x19
-              text run at (215,20) width 61: "elements"
-          LayoutText {#text} at (295,20) size 5x19
-            text run at (295,20) width 5: " "
-          LayoutInline {TT} at (0,0) size 49x16
-            LayoutText {#text} at (299,23) size 49x16
-              text run at (299,23) width 49: "within"
-          LayoutText {#text} at (367,20) size 81x19
-            text run at (367,20) width 81: " elements "
-          LayoutText {#text} at (447,20) size 756x39
-            text run at (447,20) width 309: "too. (with comment between elements"
+            text run at (59,20) width 114: "spacing test "
+          LayoutInline {EM} at (0,0) size 19x19
+            LayoutText {#text} at (173,20) size 19x19
+              text run at (173,20) width 19: "for"
+          LayoutText {#text} at (212,20) size 4x19
+            text run at (212,20) width 4: " "
+          LayoutInline {STRONG} at (0,0) size 60x19
+            LayoutText {#text} at (216,20) size 60x19
+              text run at (216,20) width 60: "elements"
+          LayoutText {#text} at (296,20) size 4x19
+            text run at (296,20) width 4: " "
+          LayoutInline {TT} at (0,0) size 48x16
+            LayoutText {#text} at (300,23) size 48x16
+              text run at (300,23) width 48: "within"
+          LayoutText {#text} at (368,20) size 80x19
+            text run at (368,20) width 80: " elements "
+          LayoutText {#text} at (448,20) size 756x39
+            text run at (448,20) width 308: "too. (with comment between elements"
             text run at (0,40) width 71: "and too)"
           LayoutBR {BR} at (91,55) size 0x0
           LayoutText {#text} at (0,60) size 173x19
             text run at (0,60) width 59: "Word "
-            text run at (58,60) width 115: "spacing test "
-          LayoutInline {EM} at (0,0) size 20x19
-            LayoutText {#text} at (172,60) size 20x19
-              text run at (172,60) width 20: "for"
-          LayoutText {#text} at (211,60) size 5x19
-            text run at (211,60) width 5: " "
-          LayoutInline {STRONG} at (0,0) size 61x19
-            LayoutText {#text} at (215,60) size 61x19
-              text run at (215,60) width 61: "elements"
-          LayoutText {#text} at (295,60) size 5x19
-            text run at (295,60) width 5: " "
-          LayoutInline {TT} at (0,0) size 49x16
-            LayoutText {#text} at (299,63) size 49x16
-              text run at (299,63) width 49: "within"
-          LayoutText {#text} at (367,60) size 57x19
-            text run at (367,60) width 57: " elements"
-          LayoutText {#text} at (443,60) size 732x39
-            text run at (443,60) width 289: " too. (with comment (no preceding"
+            text run at (59,60) width 114: "spacing test "
+          LayoutInline {EM} at (0,0) size 19x19
+            LayoutText {#text} at (173,60) size 19x19
+              text run at (173,60) width 19: "for"
+          LayoutText {#text} at (212,60) size 4x19
+            text run at (212,60) width 4: " "
+          LayoutInline {STRONG} at (0,0) size 60x19
+            LayoutText {#text} at (216,60) size 60x19
+              text run at (216,60) width 60: "elements"
+          LayoutText {#text} at (296,60) size 4x19
+            text run at (296,60) width 4: " "
+          LayoutInline {TT} at (0,0) size 48x16
+            LayoutText {#text} at (300,63) size 48x16
+              text run at (300,63) width 48: "within"
+          LayoutText {#text} at (368,60) size 56x19
+            text run at (368,60) width 56: " elements"
+          LayoutText {#text} at (444,60) size 732x39
+            text run at (444,60) width 288: " too. (with comment (no preceding"
             text run at (0,80) width 286: "space) between elements and too)"
           LayoutBR {BR} at (306,95) size 0x0
           LayoutText {#text} at (0,100) size 173x19
             text run at (0,100) width 59: "Word "
-            text run at (58,100) width 115: "spacing test "
-          LayoutInline {EM} at (0,0) size 20x19
-            LayoutText {#text} at (172,100) size 20x19
-              text run at (172,100) width 20: "for"
-          LayoutText {#text} at (211,100) size 5x19
-            text run at (211,100) width 5: " "
-          LayoutInline {STRONG} at (0,0) size 61x19
-            LayoutText {#text} at (215,100) size 61x19
-              text run at (215,100) width 61: "elements"
-          LayoutText {#text} at (295,100) size 5x19
-            text run at (295,100) width 5: " "
-          LayoutInline {TT} at (0,0) size 49x16
-            LayoutText {#text} at (299,103) size 49x16
-              text run at (299,103) width 49: "within"
-          LayoutText {#text} at (367,100) size 81x19
-            text run at (367,100) width 81: " elements "
-          LayoutText {#text} at (447,100) size 776x39
-            text run at (447,100) width 329: "too. (with comment (no trailing space)"
+            text run at (59,100) width 114: "spacing test "
+          LayoutInline {EM} at (0,0) size 19x19
+            LayoutText {#text} at (173,100) size 19x19
+              text run at (173,100) width 19: "for"
+          LayoutText {#text} at (212,100) size 4x19
+            text run at (212,100) width 4: " "
+          LayoutInline {STRONG} at (0,0) size 60x19
+            LayoutText {#text} at (216,100) size 60x19
+              text run at (216,100) width 60: "elements"
+          LayoutText {#text} at (296,100) size 4x19
+            text run at (296,100) width 4: " "
+          LayoutInline {TT} at (0,0) size 48x16
+            LayoutText {#text} at (300,103) size 48x16
+              text run at (300,103) width 48: "within"
+          LayoutText {#text} at (368,100) size 80x19
+            text run at (368,100) width 80: " elements "
+          LayoutText {#text} at (448,100) size 776x39
+            text run at (448,100) width 328: "too. (with comment (no trailing space)"
             text run at (0,120) width 222: "between elements and too)"
           LayoutBR {BR} at (242,135) size 0x0
           LayoutInline {SPAN} at (0,0) size 320x16
@@ -398,57 +398,57 @@
           LayoutText {#text} at (412,140) size 762x39
             text run at (412,140) width 350: " elements too. (with monospace font from"
             text run at (0,160) width 152: "Word to elements)"
-          LayoutBR {BR} at (171,175) size 1x0
+          LayoutBR {BR} at (172,175) size 0x0
           LayoutText {#text} at (0,180) size 173x19
             text run at (0,180) width 59: "Word "
-            text run at (58,180) width 115: "spacing test "
-          LayoutInline {SPAN} at (0,0) size 193x16
-            LayoutInline {EM} at (0,0) size 25x17
-              LayoutText {#text} at (172,182) size 25x17
-                text run at (172,182) width 25: "for"
-            LayoutText {#text} at (216,183) size 9x16
-              text run at (216,183) width 9: " "
-            LayoutInline {STRONG} at (0,0) size 65x16
-              LayoutText {#text} at (224,183) size 65x16
-                text run at (224,183) width 65: "elements"
-            LayoutText {#text} at (308,183) size 9x16
-              text run at (308,183) width 9: " "
-            LayoutInline {TT} at (0,0) size 49x16
-              LayoutText {#text} at (316,183) size 49x16
-                text run at (316,183) width 49: "within"
-          LayoutText {#text} at (384,180) size 776x39
-            text run at (384,180) width 392: " elements too. (with monospace font from for"
+            text run at (59,180) width 114: "spacing test "
+          LayoutInline {SPAN} at (0,0) size 192x16
+            LayoutInline {EM} at (0,0) size 24x17
+              LayoutText {#text} at (173,182) size 24x17
+                text run at (173,182) width 24: "for"
+            LayoutText {#text} at (217,183) size 8x16
+              text run at (217,183) width 8: " "
+            LayoutInline {STRONG} at (0,0) size 64x16
+              LayoutText {#text} at (225,183) size 64x16
+                text run at (225,183) width 64: "elements"
+            LayoutText {#text} at (309,183) size 8x16
+              text run at (309,183) width 8: " "
+            LayoutInline {TT} at (0,0) size 48x16
+              LayoutText {#text} at (317,183) size 48x16
+                text run at (317,183) width 48: "within"
+          LayoutText {#text} at (385,180) size 776x39
+            text run at (385,180) width 391: " elements too. (with monospace font from for"
             text run at (0,200) width 76: "to within)"
           LayoutBR {BR} at (96,215) size 0x0
           LayoutText {#text} at (0,220) size 173x19
             text run at (0,220) width 59: "Word "
-            text run at (58,220) width 115: "spacing test "
-          LayoutInline {EM} at (0,0) size 20x19
-            LayoutText {#text} at (172,220) size 20x19
-              text run at (172,220) width 20: "for"
-          LayoutText {#text} at (211,220) size 5x19
-            text run at (211,220) width 5: " "
-          LayoutInline {STRONG} at (0,0) size 61x19
-            LayoutText {#text} at (215,220) size 61x19
-              text run at (215,220) width 61: "elements"
-          LayoutText {#text} at (295,220) size 5x19
-            text run at (295,220) width 5: " "
-          LayoutInline {SPAN} at (0,0) size 193x16
-            LayoutInline {TT} at (0,0) size 49x16
-              LayoutText {#text} at (299,223) size 49x16
-                text run at (299,223) width 49: "within"
-            LayoutText {#text} at (367,223) size 125x16
-              text run at (367,223) width 125: " elements too"
-          LayoutText {#text} at (491,220) size 742x39
-            text run at (491,220) width 251: ". (with monospace font from"
+            text run at (59,220) width 114: "spacing test "
+          LayoutInline {EM} at (0,0) size 19x19
+            LayoutText {#text} at (173,220) size 19x19
+              text run at (173,220) width 19: "for"
+          LayoutText {#text} at (212,220) size 4x19
+            text run at (212,220) width 4: " "
+          LayoutInline {STRONG} at (0,0) size 60x19
+            LayoutText {#text} at (216,220) size 60x19
+              text run at (216,220) width 60: "elements"
+          LayoutText {#text} at (296,220) size 4x19
+            text run at (296,220) width 4: " "
+          LayoutInline {SPAN} at (0,0) size 192x16
+            LayoutInline {TT} at (0,0) size 48x16
+              LayoutText {#text} at (300,223) size 48x16
+                text run at (300,223) width 48: "within"
+            LayoutText {#text} at (368,223) size 124x16
+              text run at (368,223) width 124: " elements too"
+          LayoutText {#text} at (492,220) size 742x39
+            text run at (492,220) width 250: ". (with monospace font from"
             text run at (0,240) width 161: "elements to too) "
         LayoutText {#text} at (0,0) size 0x0
         LayoutBR {BR} at (0,0) size 0x0
         LayoutBR {BR} at (0,260) size 0x19
         LayoutBR {BR} at (0,280) size 0x19
       LayoutBlockFlow {H2} at (0,818.06) size 784x27
-        LayoutText {#text} at (0,0) size 141x26
-          text run at (0,0) width 141: "letter-spacing"
+        LayoutText {#text} at (0,0) size 140x26
+          text run at (0,0) width 140: "letter-spacing"
       LayoutBlockFlow (anonymous) at (0,864.97) size 784x208.41
         LayoutBlockFlow (floating) {PRE} at (0,13) size 1508x182.41
           LayoutBlockFlow {H3} at (0,15.20) size 1508x17
@@ -1183,39 +1183,39 @@
         LayoutInline {SPAN} at (0,0) size 779x359
           LayoutText {#text} at (0,0) size 418x19
             text run at (0,0) width 239: "Word and letter "
-            text run at (238,0) width 180: "spacing test "
-          LayoutInline {EM} at (0,0) size 35x19
-            LayoutText {#text} at (417,0) size 35x19
-              text run at (417,0) width 35: "for"
-          LayoutText {#text} at (471,0) size 10x19
-            text run at (471,0) width 10: " "
-          LayoutInline {STRONG} at (0,0) size 101x19
-            LayoutText {#text} at (480,0) size 101x19
-              text run at (480,0) width 101: "elements"
-          LayoutText {#text} at (600,0) size 10x19
-            text run at (600,0) width 10: " "
-          LayoutInline {TT} at (0,0) size 79x16
-            LayoutText {#text} at (609,3) size 79x16
-              text run at (609,3) width 79: "within"
+            text run at (239,0) width 179: "spacing test "
+          LayoutInline {EM} at (0,0) size 34x19
+            LayoutText {#text} at (418,0) size 34x19
+              text run at (418,0) width 34: "for"
+          LayoutText {#text} at (472,0) size 9x19
+            text run at (472,0) width 9: " "
+          LayoutInline {STRONG} at (0,0) size 100x19
+            LayoutText {#text} at (481,0) size 100x19
+              text run at (481,0) width 100: "elements"
+          LayoutText {#text} at (601,0) size 9x19
+            text run at (601,0) width 9: " "
+          LayoutInline {TT} at (0,0) size 78x16
+            LayoutText {#text} at (610,3) size 78x16
+              text run at (610,3) width 78: "within"
           LayoutText {#text} at (0,20) size 165x19
             text run at (0,20) width 165: "elements too."
           LayoutBR {BR} at (185,35) size 0x0
           LayoutText {#text} at (0,40) size 418x19
             text run at (0,40) width 239: "Word and letter "
-            text run at (238,40) width 180: "spacing test "
-          LayoutInline {EM} at (0,0) size 35x19
-            LayoutText {#text} at (417,40) size 35x19
-              text run at (417,40) width 35: "for"
-          LayoutText {#text} at (471,40) size 10x19
-            text run at (471,40) width 10: " "
-          LayoutInline {STRONG} at (0,0) size 101x19
-            LayoutText {#text} at (480,40) size 101x19
-              text run at (480,40) width 101: "elements"
-          LayoutText {#text} at (600,40) size 10x19
-            text run at (600,40) width 10: " "
-          LayoutInline {TT} at (0,0) size 79x16
-            LayoutText {#text} at (609,43) size 79x16
-              text run at (609,43) width 79: "within"
+            text run at (239,40) width 179: "spacing test "
+          LayoutInline {EM} at (0,0) size 34x19
+            LayoutText {#text} at (418,40) size 34x19
+              text run at (418,40) width 34: "for"
+          LayoutText {#text} at (472,40) size 9x19
+            text run at (472,40) width 9: " "
+          LayoutInline {STRONG} at (0,0) size 100x19
+            LayoutText {#text} at (481,40) size 100x19
+              text run at (481,40) width 100: "elements"
+          LayoutText {#text} at (601,40) size 9x19
+            text run at (601,40) width 9: " "
+          LayoutInline {TT} at (0,0) size 78x16
+            LayoutText {#text} at (610,43) size 78x16
+              text run at (610,43) width 78: "within"
           LayoutText {#text} at (0,60) size 121x19
             text run at (0,60) width 121: "elements "
           LayoutText {#text} at (121,60) size 623x19
@@ -1223,20 +1223,20 @@
           LayoutBR {BR} at (764,75) size 0x0
           LayoutText {#text} at (0,80) size 418x19
             text run at (0,80) width 239: "Word and letter "
-            text run at (238,80) width 180: "spacing test "
-          LayoutInline {EM} at (0,0) size 35x19
-            LayoutText {#text} at (417,80) size 35x19
-              text run at (417,80) width 35: "for"
-          LayoutText {#text} at (471,80) size 10x19
-            text run at (471,80) width 10: " "
-          LayoutInline {STRONG} at (0,0) size 101x19
-            LayoutText {#text} at (480,80) size 101x19
-              text run at (480,80) width 101: "elements"
-          LayoutText {#text} at (600,80) size 10x19
-            text run at (600,80) width 10: " "
-          LayoutInline {TT} at (0,0) size 79x16
-            LayoutText {#text} at (609,83) size 79x16
-              text run at (609,83) width 79: "within"
+            text run at (239,80) width 179: "spacing test "
+          LayoutInline {EM} at (0,0) size 34x19
+            LayoutText {#text} at (418,80) size 34x19
+              text run at (418,80) width 34: "for"
+          LayoutText {#text} at (472,80) size 9x19
+            text run at (472,80) width 9: " "
+          LayoutInline {STRONG} at (0,0) size 100x19
+            LayoutText {#text} at (481,80) size 100x19
+              text run at (481,80) width 100: "elements"
+          LayoutText {#text} at (601,80) size 9x19
+            text run at (601,80) width 9: " "
+          LayoutInline {TT} at (0,0) size 78x16
+            LayoutText {#text} at (610,83) size 78x16
+              text run at (610,83) width 78: "within"
           LayoutText {#text} at (0,100) size 92x19
             text run at (0,100) width 92: "elements"
           LayoutText {#text} at (112,100) size 779x39
@@ -1245,20 +1245,20 @@
           LayoutBR {BR} at (252,135) size 0x0
           LayoutText {#text} at (0,140) size 418x19
             text run at (0,140) width 239: "Word and letter "
-            text run at (238,140) width 180: "spacing test "
-          LayoutInline {EM} at (0,0) size 35x19
-            LayoutText {#text} at (417,140) size 35x19
-              text run at (417,140) width 35: "for"
-          LayoutText {#text} at (471,140) size 10x19
-            text run at (471,140) width 10: " "
-          LayoutInline {STRONG} at (0,0) size 101x19
-            LayoutText {#text} at (480,140) size 101x19
-              text run at (480,140) width 101: "elements"
-          LayoutText {#text} at (600,140) size 10x19
-            text run at (600,140) width 10: " "
-          LayoutInline {TT} at (0,0) size 79x16
-            LayoutText {#text} at (609,143) size 79x16
-              text run at (609,143) width 79: "within"
+            text run at (239,140) width 179: "spacing test "
+          LayoutInline {EM} at (0,0) size 34x19
+            LayoutText {#text} at (418,140) size 34x19
+              text run at (418,140) width 34: "for"
+          LayoutText {#text} at (472,140) size 9x19
+            text run at (472,140) width 9: " "
+          LayoutInline {STRONG} at (0,0) size 100x19
+            LayoutText {#text} at (481,140) size 100x19
+              text run at (481,140) width 100: "elements"
+          LayoutText {#text} at (601,140) size 9x19
+            text run at (601,140) width 9: " "
+          LayoutInline {TT} at (0,0) size 78x16
+            LayoutText {#text} at (610,143) size 78x16
+              text run at (610,143) width 78: "within"
           LayoutText {#text} at (0,160) size 121x19
             text run at (0,160) width 121: "elements "
           LayoutText {#text} at (121,160) size 754x39
@@ -1288,41 +1288,41 @@
           LayoutBR {BR} at (122,255) size 0x0
           LayoutText {#text} at (0,260) size 418x19
             text run at (0,260) width 239: "Word and letter "
-            text run at (238,260) width 180: "spacing test "
-          LayoutInline {SPAN} at (0,0) size 288x16
-            LayoutInline {EM} at (0,0) size 40x17
-              LayoutText {#text} at (417,262) size 40x17
-                text run at (417,262) width 40: "for"
-            LayoutText {#text} at (476,263) size 14x16
-              text run at (476,263) width 14: " "
-            LayoutInline {STRONG} at (0,0) size 105x16
-              LayoutText {#text} at (489,263) size 105x16
-                text run at (489,263) width 105: "elements"
-            LayoutText {#text} at (613,263) size 14x16
-              text run at (613,263) width 14: " "
-            LayoutInline {TT} at (0,0) size 79x16
-              LayoutText {#text} at (626,263) size 79x16
-                text run at (626,263) width 79: "within"
+            text run at (239,260) width 179: "spacing test "
+          LayoutInline {SPAN} at (0,0) size 287x16
+            LayoutInline {EM} at (0,0) size 39x17
+              LayoutText {#text} at (418,262) size 39x17
+                text run at (418,262) width 39: "for"
+            LayoutText {#text} at (477,263) size 13x16
+              text run at (477,263) width 13: " "
+            LayoutInline {STRONG} at (0,0) size 104x16
+              LayoutText {#text} at (490,263) size 104x16
+                text run at (490,263) width 104: "elements"
+            LayoutText {#text} at (614,263) size 13x16
+              text run at (614,263) width 13: " "
+            LayoutInline {TT} at (0,0) size 78x16
+              LayoutText {#text} at (627,263) size 78x16
+                text run at (627,263) width 78: "within"
           LayoutText {#text} at (0,280) size 757x19
             text run at (0,280) width 757: "elements too. (with monospace font from for to within)"
           LayoutBR {BR} at (777,295) size 0x0
           LayoutText {#text} at (0,300) size 418x19
             text run at (0,300) width 239: "Word and letter "
-            text run at (238,300) width 180: "spacing test "
-          LayoutInline {EM} at (0,0) size 35x19
-            LayoutText {#text} at (417,300) size 35x19
-              text run at (417,300) width 35: "for"
-          LayoutText {#text} at (471,300) size 10x19
-            text run at (471,300) width 10: " "
-          LayoutInline {STRONG} at (0,0) size 101x19
-            LayoutText {#text} at (480,300) size 101x19
-              text run at (480,300) width 101: "elements"
-          LayoutText {#text} at (600,300) size 10x19
-            text run at (600,300) width 10: " "
+            text run at (239,300) width 179: "spacing test "
+          LayoutInline {EM} at (0,0) size 34x19
+            LayoutText {#text} at (418,300) size 34x19
+              text run at (418,300) width 34: "for"
+          LayoutText {#text} at (472,300) size 9x19
+            text run at (472,300) width 9: " "
+          LayoutInline {STRONG} at (0,0) size 100x19
+            LayoutText {#text} at (481,300) size 100x19
+              text run at (481,300) width 100: "elements"
+          LayoutText {#text} at (601,300) size 9x19
+            text run at (601,300) width 9: " "
           LayoutInline {SPAN} at (0,0) size 688x36
-            LayoutInline {TT} at (0,0) size 79x16
-              LayoutText {#text} at (609,303) size 79x16
-                text run at (609,303) width 79: "within"
+            LayoutInline {TT} at (0,0) size 78x16
+              LayoutText {#text} at (610,303) size 78x16
+                text run at (610,303) width 78: "within"
             LayoutText {#text} at (0,323) size 176x16
               text run at (0,323) width 176: "elements too"
           LayoutText {#text} at (176,320) size 733x39
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-expected.png
index 17063c5..f5b561e7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links-expected.png
index c73b6a8..00135b68 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-not-propagated-by-out-of-flow-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-not-propagated-by-out-of-flow-expected.png
index cd217ac..a3498af 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-not-propagated-by-out-of-flow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-not-propagated-by-out-of-flow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-simple-underlines-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-simple-underlines-expected.png
index 9e444b21..3b8574a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-simple-underlines-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-simple-underlines-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/007-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/007-expected.png
index ee339971..5e9c531b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/009-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/009-expected.png
index 7626626..50f53df 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/009-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/009-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/009-horizontal-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/009-horizontal-expected.png
index 0151f0d..c596bfc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/009-horizontal-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/009-horizontal-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/016-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/016-expected.png
index 354467b3..617589e7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/016-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/016-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/017-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/017-expected.png
index a9dd70f2..a4e4da7c6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/017-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/deprecated-flexbox/017-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/doctypes/002-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/doctypes/002-expected.txt
index 8bcdaab..d77b488 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/doctypes/002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/doctypes/002-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {DIV} at (0,0) size 784x100
       LayoutBlockFlow (anonymous) at (0,100) size 784x20
         LayoutText {#text} at (0,0) size 460x19
-          text run at (0,0) width 289: "This file has a doc type with no public identifier. "
+          text run at (0,0) width 288: "This file has a doc type with no public identifier. "
           text run at (288,0) width 172: "We should be in strict mode."
       LayoutBlockFlow {UL} at (0,136) size 784x20
         LayoutListItem {LI} at (40,0) size 744x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/34176-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dom/34176-expected.png
index 6b2f7f3..f877e85 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/34176-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/34176-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/34176-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dom/34176-expected.txt
index aac8ec5e..e54d422 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/34176-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/34176-expected.txt
@@ -5,91 +5,91 @@
     LayoutBlockFlow {BODY} at (8,16) size 769x1534
       LayoutBlockFlow {P} at (0,0) size 769x60
         LayoutText {#text} at (61,0) size 766x59
-          text run at (61,0) width 379: "Test rendering of 3 text runs -- TextRun1 TextRun2 TextRun3, "
+          text run at (61,0) width 378: "Test rendering of 3 text runs -- TextRun1 TextRun2 TextRun3, "
           text run at (439,0) width 330: "in which TextRun1 and TextRun2's bidi level are 2, and"
           text run at (3,20) width 743: "TextRun3's bidi level is 1. TextRun2 and TextRun3 are siblings. But their ancestor (not their parent) is a sibling of TextRun1. "
           text run at (746,20) width 23: "The"
           text run at (234,40) width 535: "visual order should be TextRun3 TextRun1 TextRun2, not TextRun3 TextRun2 TextRun1."
       LayoutBlockFlow {P} at (0,94) size 769x20
         LayoutText {#text} at (343,0) size 426x19
-          text run at (343,0) width 318: "Pure text. The following 3 lines should all display as \""
-          text run at (660,0) width 23 RTL: "\x{5E9}\x{5E0}\x{5D1}"
+          text run at (343,0) width 317: "Pure text. The following 3 lines should all display as \""
+          text run at (660,0) width 22 RTL: "\x{5E9}\x{5E0}\x{5D1}"
           text run at (682,0) width 87: " This is a Test\""
       LayoutBlockFlow {DIV} at (0,130) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (691,0) size 54x19
-          text run at (691,0) width 54: "This is a "
+        LayoutText {#text} at (691,0) size 53x19
+          text run at (691,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 104x19
           LayoutInline {SPAN} at (0,0) size 104x19
             LayoutText {#text} at (687,0) size 82x19
-              text run at (687,0) width 5 RTL: " "
+              text run at (687,0) width 4 RTL: " "
               text run at (744,0) width 25: "Test"
-            LayoutInline {SPAN} at (0,0) size 23x19
-              LayoutText {#text} at (665,0) size 23x19
-                text run at (665,0) width 23 RTL: "\x{5E9}\x{5E0}\x{5D1}"
+            LayoutInline {SPAN} at (0,0) size 22x19
+              LayoutText {#text} at (665,0) size 22x19
+                text run at (665,0) width 22 RTL: "\x{5E9}\x{5E0}\x{5D1}"
       LayoutBlockFlow {DIV} at (0,150) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (691,0) size 54x19
-          text run at (691,0) width 54: "This is a "
+        LayoutText {#text} at (691,0) size 53x19
+          text run at (691,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 104x19
           LayoutInline {SPAN} at (0,0) size 104x19
             LayoutInline {SPAN} at (0,0) size 104x19
               LayoutText {#text} at (687,0) size 82x19
-                text run at (687,0) width 5 RTL: " "
+                text run at (687,0) width 4 RTL: " "
                 text run at (744,0) width 25: "Test"
-              LayoutInline {SPAN} at (0,0) size 23x19
-                LayoutText {#text} at (665,0) size 23x19
-                  text run at (665,0) width 23 RTL: "\x{5E9}\x{5E0}\x{5D1}"
+              LayoutInline {SPAN} at (0,0) size 22x19
+                LayoutText {#text} at (665,0) size 22x19
+                  text run at (665,0) width 22 RTL: "\x{5E9}\x{5E0}\x{5D1}"
       LayoutBlockFlow {DIV} at (0,170) size 769x20
-        LayoutText {#text} at (691,0) size 54x19
-          text run at (691,0) width 54: "This is a "
+        LayoutText {#text} at (691,0) size 53x19
+          text run at (691,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 104x19
           LayoutText {#text} at (687,0) size 82x19
-            text run at (687,0) width 5 RTL: " "
+            text run at (687,0) width 4 RTL: " "
             text run at (744,0) width 25: "Test"
-          LayoutInline {SPAN} at (0,0) size 23x19
-            LayoutText {#text} at (665,0) size 23x19
-              text run at (665,0) width 23 RTL: "\x{5E9}\x{5E0}\x{5D1}"
+          LayoutInline {SPAN} at (0,0) size 22x19
+            LayoutText {#text} at (665,0) size 22x19
+              text run at (665,0) width 22 RTL: "\x{5E9}\x{5E0}\x{5D1}"
       LayoutBlockFlow {P} at (0,216) size 769x20
         LayoutText {#text} at (350,0) size 419x19
           text run at (350,0) width 419: "Text in <em>. The English text should be displayed as \"This is a Test\"."
       LayoutBlockFlow {DIV} at (0,252) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (690,0) size 54x19
-          text run at (690,0) width 54: "This is a "
+        LayoutText {#text} at (690,0) size 53x19
+          text run at (690,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 79x19
           LayoutInline {EM} at (0,0) size 79x19
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
             LayoutText {#text} at (743,0) size 26x19
               text run at (743,0) width 26: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
       LayoutBlockFlow {DIV} at (0,272) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (690,0) size 54x19
-          text run at (690,0) width 54: "This is a "
+        LayoutText {#text} at (690,0) size 53x19
+          text run at (690,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 79x19
           LayoutInline {EM} at (0,0) size 79x19
             LayoutText {#text} at (743,0) size 26x19
               text run at (743,0) width 26: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
       LayoutBlockFlow {DIV} at (0,292) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (690,0) size 54x19
-          text run at (690,0) width 54: "This is a "
+        LayoutText {#text} at (690,0) size 53x19
+          text run at (690,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 106x19
           LayoutInline {EM} at (0,0) size 106x19
             LayoutText {#text} at (686,0) size 83x19
-              text run at (686,0) width 5 RTL: " "
+              text run at (686,0) width 4 RTL: " "
               text run at (743,0) width 26: "Test"
-            LayoutInline {SPAN} at (0,0) size 24x19
-              LayoutText {#text} at (663,0) size 24x19
-                text run at (663,0) width 24 RTL: "\x{5D3}\x{5DE}\x{5D4}"
+            LayoutInline {SPAN} at (0,0) size 23x19
+              LayoutText {#text} at (663,0) size 23x19
+                text run at (663,0) width 23 RTL: "\x{5D3}\x{5DE}\x{5D4}"
       LayoutBlockFlow {DIV} at (0,312) size 769x20
-        LayoutText {#text} at (690,0) size 54x19
-          text run at (690,0) width 54: "This is a "
+        LayoutText {#text} at (690,0) size 53x19
+          text run at (690,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 26x19
           LayoutInline {EM} at (0,0) size 26x19
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
             LayoutText {#text} at (743,0) size 26x19
               text run at (743,0) width 26: "Test"
       LayoutBlockFlow {DIV} at (0,332) size 769x20
-        LayoutText {#text} at (690,0) size 54x19
-          text run at (690,0) width 54: "This is a "
+        LayoutText {#text} at (690,0) size 53x19
+          text run at (690,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 26x19
           LayoutInline {EM} at (0,0) size 26x19
             LayoutText {#text} at (743,0) size 26x19
@@ -98,33 +98,33 @@
         LayoutText {#text} at (332,0) size 437x19
           text run at (332,0) width 437: "Text in <strong>. The following lines should all display as \"This is a Test\"."
       LayoutBlockFlow {DIV} at (0,414) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (687,0) size 54x19
-          text run at (687,0) width 54: "This is a "
+        LayoutText {#text} at (687,0) size 53x19
+          text run at (687,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 82x19
           LayoutInline {STRONG} at (0,0) size 82x19
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
             LayoutText {#text} at (740,0) size 29x19
               text run at (740,0) width 29: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
       LayoutBlockFlow {DIV} at (0,434) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (687,0) size 54x19
-          text run at (687,0) width 54: "This is a "
+        LayoutText {#text} at (687,0) size 53x19
+          text run at (687,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 82x19
           LayoutInline {STRONG} at (0,0) size 82x19
             LayoutText {#text} at (740,0) size 29x19
               text run at (740,0) width 29: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
       LayoutBlockFlow {DIV} at (0,454) size 769x20
-        LayoutText {#text} at (687,0) size 54x19
-          text run at (687,0) width 54: "This is a "
+        LayoutText {#text} at (687,0) size 53x19
+          text run at (687,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 29x19
           LayoutInline {STRONG} at (0,0) size 29x19
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
             LayoutText {#text} at (740,0) size 29x19
               text run at (740,0) width 29: "Test"
       LayoutBlockFlow {DIV} at (0,474) size 769x20
-        LayoutText {#text} at (687,0) size 54x19
-          text run at (687,0) width 54: "This is a "
+        LayoutText {#text} at (687,0) size 53x19
+          text run at (687,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 29x19
           LayoutInline {STRONG} at (0,0) size 29x19
             LayoutText {#text} at (740,0) size 29x19
@@ -133,33 +133,33 @@
         LayoutText {#text} at (366,0) size 403x19
           text run at (366,0) width 403: "Text in <i>. The following lines should all display as \"This is a Test\"."
       LayoutBlockFlow {DIV} at (0,556) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (690,0) size 54x19
-          text run at (690,0) width 54: "This is a "
+        LayoutText {#text} at (690,0) size 53x19
+          text run at (690,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 79x19
           LayoutInline {I} at (0,0) size 79x19
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
             LayoutText {#text} at (743,0) size 26x19
               text run at (743,0) width 26: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
       LayoutBlockFlow {DIV} at (0,576) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (690,0) size 54x19
-          text run at (690,0) width 54: "This is a "
+        LayoutText {#text} at (690,0) size 53x19
+          text run at (690,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 79x19
           LayoutInline {I} at (0,0) size 79x19
             LayoutText {#text} at (743,0) size 26x19
               text run at (743,0) width 26: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
       LayoutBlockFlow {DIV} at (0,596) size 769x20
-        LayoutText {#text} at (690,0) size 54x19
-          text run at (690,0) width 54: "This is a "
+        LayoutText {#text} at (690,0) size 53x19
+          text run at (690,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 26x19
           LayoutInline {I} at (0,0) size 26x19
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
             LayoutText {#text} at (743,0) size 26x19
               text run at (743,0) width 26: "Test"
       LayoutBlockFlow {DIV} at (0,616) size 769x20
-        LayoutText {#text} at (690,0) size 54x19
-          text run at (690,0) width 54: "This is a "
+        LayoutText {#text} at (690,0) size 53x19
+          text run at (690,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 26x19
           LayoutInline {I} at (0,0) size 26x19
             LayoutText {#text} at (743,0) size 26x19
@@ -168,33 +168,33 @@
         LayoutText {#text} at (361,0) size 408x19
           text run at (361,0) width 408: "Text in <b>. The following lines should all display as \"This is a Test\"."
       LayoutBlockFlow {DIV} at (0,698) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (687,0) size 54x19
-          text run at (687,0) width 54: "This is a "
+        LayoutText {#text} at (687,0) size 53x19
+          text run at (687,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 82x19
           LayoutInline {B} at (0,0) size 82x19
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
             LayoutText {#text} at (740,0) size 29x19
               text run at (740,0) width 29: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
       LayoutBlockFlow {DIV} at (0,718) size 769x20 [bgcolor=#FF0000]
-        LayoutText {#text} at (687,0) size 54x19
-          text run at (687,0) width 54: "This is a "
+        LayoutText {#text} at (687,0) size 53x19
+          text run at (687,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 82x19
           LayoutInline {B} at (0,0) size 82x19
             LayoutText {#text} at (740,0) size 29x19
               text run at (740,0) width 29: "Test"
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
       LayoutBlockFlow {DIV} at (0,738) size 769x20
-        LayoutText {#text} at (687,0) size 54x19
-          text run at (687,0) width 54: "This is a "
+        LayoutText {#text} at (687,0) size 53x19
+          text run at (687,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 29x19
           LayoutInline {B} at (0,0) size 29x19
-            LayoutInline {SPAN} at (0,0) size 1x19
+            LayoutInline {SPAN} at (0,0) size 0x19
             LayoutText {#text} at (740,0) size 29x19
               text run at (740,0) width 29: "Test"
       LayoutBlockFlow {DIV} at (0,758) size 769x20
-        LayoutText {#text} at (687,0) size 54x19
-          text run at (687,0) width 54: "This is a "
+        LayoutText {#text} at (687,0) size 53x19
+          text run at (687,0) width 53: "This is a "
         LayoutInline {SPAN} at (0,0) size 29x19
           LayoutInline {B} at (0,0) size 29x19
             LayoutText {#text} at (740,0) size 29x19
@@ -204,54 +204,54 @@
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,786) size 769x748
         LayoutBlockFlow {P} at (0,18) size 769x20
-          LayoutText {#text} at (110,0) size 659x19
-            text run at (110,0) width 659: "Text in <img>, <href>, <em>, <tr>. The following English text should all display as \"This is a Test\"."
+          LayoutText {#text} at (109,0) size 660x19
+            text run at (109,0) width 660: "Text in <img>, <href>, <em>, <tr>. The following English text should all display as \"This is a Test\"."
         LayoutBlockFlow {DIV} at (0,54) size 769x21 [bgcolor=#FF0000]
-          LayoutText {#text} at (680,1) size 61x19
-            text run at (680,1) width 61: "This is a "
+          LayoutText {#text} at (680,1) size 60x19
+            text run at (680,1) width 60: "This is a "
           LayoutInline {SPAN} at (0,0) size 105x19
             LayoutInline {A} at (0,0) size 105x19 [color=#551A8B]
               LayoutText {#text} at (740,1) size 29x19
                 text run at (740,1) width 29: "Test"
-              LayoutInline {SPAN} at (0,0) size 17x19
-                LayoutBlockFlow {IMG} at (664.47,0) size 16x16
+              LayoutInline {SPAN} at (0,0) size 16x19
+                LayoutBlockFlow {IMG} at (664,0) size 16x16
                   LayoutInline {SPAN} at (0,0) size 0x0
                     LayoutImage (floating) {IMG} at (0,0) size 16x16
                     LayoutInline {SPAN} at (0,0) size 0x0
         LayoutBlockFlow {DIV} at (0,75) size 769x20 [bgcolor=#FF0000]
-          LayoutText {#text} at (680,0) size 61x19
-            text run at (680,0) width 61: "This is a "
+          LayoutText {#text} at (680,0) size 60x19
+            text run at (680,0) width 60: "This is a "
           LayoutInline {SPAN} at (0,0) size 116x19
             LayoutInline {A} at (0,0) size 116x19 [color=#551A8B]
               LayoutText {#text} at (676,0) size 93x19
-                text run at (676,0) width 5 RTL: " "
+                text run at (676,0) width 4 RTL: " "
                 text run at (740,0) width 29: "Test"
-              LayoutInline {SPAN} at (0,0) size 24x19
-                LayoutText {#text} at (653,0) size 24x19
-                  text run at (653,0) width 24 RTL: "\x{5E9}\x{5E0}\x{5D1}"
+              LayoutInline {SPAN} at (0,0) size 23x19
+                LayoutText {#text} at (653,0) size 23x19
+                  text run at (653,0) width 23 RTL: "\x{5E9}\x{5E0}\x{5D1}"
         LayoutBlockFlow {DIV} at (0,95) size 769x20 [bgcolor=#FF0000]
-          LayoutText {#text} at (682,0) size 61x19
-            text run at (682,0) width 61: "This is a "
+          LayoutText {#text} at (682,0) size 60x19
+            text run at (682,0) width 60: "This is a "
           LayoutInline {SPAN} at (0,0) size 87x19
             LayoutInline {EM} at (0,0) size 87x19
               LayoutText {#text} at (742,0) size 27x19
                 text run at (742,0) width 27: "Test"
-              LayoutInline {A} at (0,0) size 1x19 [color=#551A8B]
+              LayoutInline {A} at (0,0) size 0x19 [color=#551A8B]
         LayoutBlockFlow {DIV} at (0,115) size 769x21 [bgcolor=#FF0000]
-          LayoutText {#text} at (682,1) size 61x19
-            text run at (682,1) width 61: "This is a "
+          LayoutText {#text} at (682,1) size 60x19
+            text run at (682,1) width 60: "This is a "
           LayoutInline {SPAN} at (0,0) size 103x19
             LayoutInline {EM} at (0,0) size 103x19
               LayoutText {#text} at (742,1) size 27x19
                 text run at (742,1) width 27: "Test"
-              LayoutInline {SPAN} at (0,0) size 17x19
-                LayoutBlockFlow {IMG} at (666.47,0) size 16x16
+              LayoutInline {SPAN} at (0,0) size 16x19
+                LayoutBlockFlow {IMG} at (666,0) size 16x16
                   LayoutInline {SPAN} at (0,0) size 0x0
                     LayoutImage (floating) {IMG} at (0,0) size 16x16
                     LayoutInline {SPAN} at (0,0) size 0x0
         LayoutBlockFlow {DIV} at (0,136) size 769x20
-          LayoutText {#text} at (640,0) size 61x19
-            text run at (640,0) width 61: "This is a "
+          LayoutText {#text} at (640,0) size 60x19
+            text run at (640,0) width 60: "This is a "
           LayoutInline {SPAN} at (0,0) size 69x19
             LayoutInline {A} at (0,0) size 69x19 [color=#551A8B]
               LayoutText {#text} at (700,0) size 33x19
@@ -261,8 +261,8 @@
                   text run at (733,0) width 36: "again"
         LayoutBlockFlow {DIV} at (0,156) size 769x46
           LayoutBlockFlow (anonymous) at (0,0) size 769x20
-            LayoutText {#text} at (682,0) size 61x19
-              text run at (682,0) width 61: "This is a "
+            LayoutText {#text} at (682,0) size 60x19
+              text run at (682,0) width 60: "This is a "
             LayoutInline {SPAN} at (0,0) size 27x19
               LayoutInline {EM} at (0,0) size 27x19
                 LayoutText {#text} at (742,0) size 27x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/52776-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dom/52776-expected.txt
index 1325311..c34208d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/52776-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/52776-expected.txt
@@ -9,7 +9,7 @@
             text run at (690,0) width 79: "Right To Left"
         LayoutBlockFlow {P} at (0,36) size 769x20
           LayoutText {#text} at (457,0) size 312x19
-            text run at (457,0) width 5 RTL: "."
+            text run at (457,0) width 4 RTL: "."
             text run at (461,0) width 308: "Well-formed pair of unicode bidi control characters"
         LayoutBlockFlow {DIV} at (0,72) size 769x20
           LayoutText {#text} at (756,0) size 13x19
@@ -104,7 +104,7 @@
             text run at (769,0) width 0 RTL: "\x{202C}"
         LayoutBlockFlow {P} at (0,688) size 769x20
           LayoutText {#text} at (508,0) size 261x19
-            text run at (508,0) width 5 RTL: "."
+            text run at (508,0) width 4 RTL: "."
             text run at (512,0) width 257: "Start with different directionality characters"
         LayoutBlockFlow {DIV} at (0,724) size 769x20
           LayoutText {#text} at (745,0) size 24x19
@@ -266,7 +266,7 @@
       LayoutBlockFlow {UL} at (0,1760) size 769x20
         LayoutListItem {LI} at (40,0) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (0,0) size 677x19
-            text run at (0,0) width 677: "test id=test: the right-most character of rendering result of <PDF>abc<PDF> in RTL block should be c: Success"
+          LayoutText {#text} at (0,0) size 676x19
+            text run at (0,0) width 676: "test id=test: the right-most character of rendering result of <PDF>abc<PDF> in RTL block should be c: Success"
 selection start: position 3 of child 0 {#text} of child 20 {DIV} of child 1 {DIV} of body
 selection end:   position 4 of child 0 {#text} of child 20 {DIV} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/Element/class-attribute-whitespace-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dom/Element/class-attribute-whitespace-expected.png
index d3fda06f..8e157c2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/Element/class-attribute-whitespace-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/Element/class-attribute-whitespace-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/Element/class-attribute-whitespace-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dom/Element/class-attribute-whitespace-expected.txt
index ace71bd05..183945ea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/Element/class-attribute-whitespace-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/Element/class-attribute-whitespace-expected.txt
@@ -6,14 +6,14 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 663x19
-          LayoutInline {A} at (0,0) size 351x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 351x19
-              text run at (49,0) width 351: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7761"
-          LayoutText {#text} at (399,0) size 313x19
-            text run at (399,0) width 313: " Tabs in class attribute not treated as whitespace"
-        LayoutText {#text} at (711,0) size 5x19
-          text run at (711,0) width 5: "."
+        LayoutInline {I} at (0,0) size 661x19
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 349x19
+              text run at (50,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7761"
+          LayoutText {#text} at (399,0) size 312x19
+            text run at (399,0) width 312: " Tabs in class attribute not treated as whitespace"
+        LayoutText {#text} at (711,0) size 4x19
+          text run at (711,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 215x19
           text run at (0,0) width 215: "All of the following should be green:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLElement/bdo-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLElement/bdo-expected.txt
index d9c0cfef..cbf58cf2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLElement/bdo-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLElement/bdo-expected.txt
@@ -10,9 +10,9 @@
         LayoutText {#text} at (0,0) size 313x19
           text run at (0,0) width 313: "The bdo element overrides the default text direction."
       LayoutBlockFlow {P} at (0,72) size 784x40
-        LayoutText {#text} at (0,0) size 757x39
-          text run at (0,0) width 696: "If successful, the first sentence would be backward, and the second sentence regular. There should then be an extra "
-          text run at (695,0) width 62: "blank line,"
+        LayoutText {#text} at (0,0) size 756x39
+          text run at (0,0) width 695: "If successful, the first sentence would be backward, and the second sentence regular. There should then be an extra "
+          text run at (695,0) width 61: "blank line,"
           text run at (0,20) width 621: "followed by a line reading only \"A,\" and finally, a sentence where only the word \"umbrella\" is backward."
       LayoutBlockFlow (anonymous) at (0,138) size 784x120
         LayoutBR {BR} at (0,0) size 0x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLImageElement/image-alt-text-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLImageElement/image-alt-text-expected.png
index fa1c20e1..ecade09e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLImageElement/image-alt-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLImageElement/image-alt-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLImageElement/image-alt-text-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLImageElement/image-alt-text-expected.txt
index 63173c9..c077e56 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLImageElement/image-alt-text-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLImageElement/image-alt-text-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow (anonymous) at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 764x39
-          text run at (0,0) width 764: "This tests whether alt text is shown for image elements with no src attribute. You should see \"Success\" twice, followed by a blue"
+        LayoutText {#text} at (0,0) size 763x39
+          text run at (0,0) width 763: "This tests whether alt text is shown for image elements with no src attribute. You should see \"Success\" twice, followed by a blue"
           text run at (0,20) width 58: "rectangle."
       LayoutBlockFlow {P} at (0,56) size 784x97
         LayoutBlockFlow {IMG} at (0,0) size 65x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.png
index aa743cf..30e72c7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt
index 3503a60..049c1ce9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 99x19
           text run at (0,0) width 99: "This is a test for "
-        LayoutInline {I} at (0,0) size 769x39
-          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
-            LayoutText {#text} at (99,0) size 350x19
-              text run at (99,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9252"
-          LayoutText {#text} at (448,0) size 769x39
-            text run at (448,0) width 5: " "
-            text run at (452,0) width 317: "REGRESSION: Very odd roll-over issues (content"
+        LayoutInline {I} at (0,0) size 767x39
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (99,0) size 349x19
+              text run at (99,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9252"
+          LayoutText {#text} at (448,0) size 767x39
+            text run at (448,0) width 4: " "
+            text run at (452,0) width 315: "REGRESSION: Very odd roll-over issues (content"
             text run at (0,20) width 88: "disappearing)"
         LayoutText {#text} at (88,20) size 4x19
           text run at (88,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLMeterElement/meter-styles-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLMeterElement/meter-styles-expected.txt
index 18a072a..45c440f0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLMeterElement/meter-styles-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLMeterElement/meter-styles-expected.txt
@@ -137,5 +137,5 @@
           LayoutBlockFlow {DIV} at (0,0) size 80x16
             LayoutBlockFlow {DIV} at (0,0) size 80x16
               LayoutBlockFlow {DIV} at (5,5) size 35x6
-        LayoutText {#text} at (80,0) size 155x19
-          text run at (80,0) width 155: " has \"padding\" on the bar."
+        LayoutText {#text} at (80,0) size 154x19
+          text run at (80,0) width 154: " has \"padding\" on the bar."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt
index 9591e8d..98efca2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt
@@ -38,9 +38,9 @@
                 LayoutBlockFlow {DIV} at (3,3) size 61.59x10 [bgcolor=#008000]
         LayoutListItem {LI} at (40,91.81) size 744x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (0,0) size 72x19
-            text run at (0,0) width 72: "Value style: "
-          LayoutBlockFlow {PROGRESS} at (71.22,2.19) size 160x16
+          LayoutText {#text} at (0,0) size 71x19
+            text run at (0,0) width 71: "Value style: "
+          LayoutBlockFlow {PROGRESS} at (71,2.19) size 160x16
             LayoutBlockFlow {DIV} at (0,0) size 160x16
               LayoutBlockFlow {DIV} at (0,0) size 160x16 [bgcolor=#808080]
                 LayoutBlockFlow {DIV} at (0,0) size 80x16 [bgcolor=#FFFF00] [border: (3px solid #999900)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/children-nodes-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dom/children-nodes-expected.png
index 1684260b..6dde048 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/children-nodes-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/children-nodes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/children-nodes-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dom/children-nodes-expected.txt
index 99bc415..b519f4b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/children-nodes-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/children-nodes-expected.txt
@@ -63,9 +63,9 @@
           text run at (0,120) width 107: "  node: DIV (five)"
         LayoutBR {BR} at (107,135) size 0x0
         LayoutBR {BR} at (0,140) size 0x19
-        LayoutText {#text} at (0,160) size 313x19
-          text run at (0,160) width 313: "childNodes.length = 11 (should be 11 nodes below)"
-        LayoutBR {BR} at (312,175) size 1x0
+        LayoutText {#text} at (0,160) size 312x19
+          text run at (0,160) width 312: "childNodes.length = 11 (should be 11 nodes below)"
+        LayoutBR {BR} at (312,175) size 0x0
         LayoutText {#text} at (0,180) size 147x19
           text run at (0,180) width 147: "  node: #text (undefined)"
         LayoutBR {BR} at (147,195) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/004-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/004-expected.txt
index a48ac55..86fea95 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/004-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/004-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40 [border: (10px solid #008000)]
-        LayoutText {#text} at (10,10) size 288x19
-          text run at (10,10) width 288: "I should be surrounded by a thick green border."
+        LayoutText {#text} at (10,10) size 287x19
+          text run at (10,10) width 287: "I should be surrounded by a thick green border."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/011-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/011-expected.txt
index 2295e0bd..1f62f335 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/011-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/011-expected.txt
@@ -4,12 +4,12 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x40
-        LayoutInline {SPAN} at (0,0) size 741x39
-          LayoutInline {SPAN} at (0,0) size 741x39
-            LayoutText {#text} at (0,0) size 741x39
+        LayoutInline {SPAN} at (0,0) size 740x39
+          LayoutInline {SPAN} at (0,0) size 740x39
+            LayoutText {#text} at (0,0) size 740x39
               text run at (0,0) width 100: "Bug #3810389. "
               text run at (100,0) width 365: "Make sure we don't crash manipulating blocks inside inlines. "
-              text run at (465,0) width 276: "You should see the numbers 1 and 2 vertically"
+              text run at (465,0) width 275: "You should see the numbers 1 and 2 vertically"
               text run at (0,20) width 140: "stacked below this line."
       LayoutBlockFlow (anonymous) at (0,40) size 784x20
         LayoutBlockFlow {DIV} at (0,0) size 784x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/012-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/012-expected.png
index 929046e4..e2f96b6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/012-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/012-expected.txt
index 8e63537..82749c5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/012-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/012-expected.txt
@@ -11,8 +11,8 @@
           text run at (0,0) width 289: "This table below has three hierarchical sections. "
           text run at (289,0) width 365: "Collapsing a section should cause those below it to move up."
       LayoutBlockFlow {P} at (0,82.91) size 784x20
-        LayoutText {#text} at (0,0) size 735x19
-          text run at (0,0) width 735: "This works on the latest Windows IE and Mozilla Firefox (Win and Mac) but not on Safari 1.2.3 (v125.9) {or 2.0 (146)}."
+        LayoutText {#text} at (0,0) size 734x19
+          text run at (0,0) width 734: "This works on the latest Windows IE and Mozilla Firefox (Win and Mac) but not on Safari 1.2.3 (v125.9) {or 2.0 (146)}."
       LayoutBlockFlow {P} at (0,118.91) size 784x20
         LayoutText {#text} at (0,0) size 716x19
           text run at (0,0) width 554: "Note that the second section is collapsed when the page opens and expanding it works fine. "
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/014-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/014-expected.txt
index 489b64e..98ac163 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/014-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/014-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 533x19
-          text run at (0,0) width 533: "You should see three rows below labeled \"row 1\", \"row 2\", \"row 3\", from top to bottom."
+        LayoutText {#text} at (0,0) size 532x19
+          text run at (0,0) width 532: "You should see three rows below labeled \"row 1\", \"row 2\", \"row 3\", from top to bottom."
       LayoutTable {TABLE} at (0,36) size 42x74
         LayoutTableSection {TBODY} at (0,0) size 42x74
           LayoutTableRow {TR} at (0,2) size 42x22
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/015-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/015-expected.txt
index f596961f..6f36f25 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/015-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/015-expected.txt
@@ -5,8 +5,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 763x19
-          text run at (0,0) width 763: "You should see a table with 6 rows, labeled \"Row_0\", \"Row_1\", \"Row_2\", \"Row_3\", \"Row_4\", \"Row_5\", from top to bottom."
+        LayoutText {#text} at (0,0) size 762x19
+          text run at (0,0) width 762: "You should see a table with 6 rows, labeled \"Row_0\", \"Row_1\", \"Row_2\", \"Row_3\", \"Row_4\", \"Row_5\", from top to bottom."
       LayoutTable {TABLE} at (0,36) size 55x160 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 53x158
           LayoutTableRow {TR} at (0,2) size 53x24
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/anonymous-block-orphaned-lines-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/anonymous-block-orphaned-lines-expected.png
index 2e8c1319..f83c6e6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/anonymous-block-orphaned-lines-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/anonymous-block-orphaned-lines-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/anonymous-block-orphaned-lines-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/anonymous-block-orphaned-lines-expected.txt
index c8cafc01..f5418f9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/anonymous-block-orphaned-lines-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/anonymous-block-orphaned-lines-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 572x19
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=12782"
-          LayoutText {#text} at (354,0) size 267x19
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 263: "Reproducible crash in BidiContext::deref"
-        LayoutText {#text} at (620,0) size 5x19
-          text run at (620,0) width 5: "."
+        LayoutInline {I} at (0,0) size 569x19
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=12782"
+          LayoutText {#text} at (354,0) size 265x19
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 261: "Reproducible crash in BidiContext::deref"
+        LayoutText {#text} at (619,0) size 4x19
+          text run at (619,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 236x19
           text run at (0,0) width 236: "No assertion failure means SUCCESS."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/containing-block-change-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/containing-block-change-expected.png
index 5ca7042..bd82a90 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/containing-block-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/containing-block-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/containing-block-change-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/containing-block-change-expected.txt
index 3033a49..938e891 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/containing-block-change-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/containing-block-change-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 164x19
           text run at (0,0) width 164: "This is a regression test for "
-        LayoutInline {I} at (0,0) size 754x39
-          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
-            LayoutText {#text} at (164,0) size 304x19
-              text run at (164,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=11672"
-          LayoutText {#text} at (467,0) size 754x39
-            text run at (467,0) width 5: " "
-            text run at (471,0) width 283: "REGRESSION (r17068): Repro crash due to"
+        LayoutInline {I} at (0,0) size 753x39
+          LayoutInline {A} at (0,0) size 303x19 [color=#0000EE]
+            LayoutText {#text} at (164,0) size 303x19
+              text run at (164,0) width 303: "http://bugs.webkit.org/show_bug.cgi?id=11672"
+          LayoutText {#text} at (467,0) size 753x39
+            text run at (467,0) width 4: " "
+            text run at (471,0) width 282: "REGRESSION (r17068): Repro crash due to"
             text run at (0,20) width 150: "painting without layout"
         LayoutText {#text} at (150,20) size 123x19
           text run at (150,20) width 123: ". It should not crash."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/create-renderer-for-whitespace-only-text-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/create-renderer-for-whitespace-only-text-expected.png
index b6510947..6e527651 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/create-renderer-for-whitespace-only-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/create-renderer-for-whitespace-only-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/create-renderer-for-whitespace-only-text-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/create-renderer-for-whitespace-only-text-expected.txt
index 96826f9..1b3c428 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/create-renderer-for-whitespace-only-text-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/create-renderer-for-whitespace-only-text-expected.txt
@@ -6,20 +6,20 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 783x39
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=14134"
-          LayoutText {#text} at (354,0) size 783x39
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 425: "REGRESSION (r25353): Whitespace nodes ignored between inline"
+        LayoutInline {I} at (0,0) size 782x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=14134"
+          LayoutText {#text} at (354,0) size 782x39
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 424: "REGRESSION (r25353): Whitespace nodes ignored between inline"
             text run at (0,20) width 57: "list items"
         LayoutText {#text} at (57,20) size 4x19
           text run at (57,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 706x19
+        LayoutText {#text} at (0,0) size 705x19
           text run at (0,0) width 445: "This tests that whitespace-only text nodes get renderers when they should "
-          text run at (445,0) width 261: "even if initially they did not need a renderer."
+          text run at (445,0) width 260: "even if initially they did not need a renderer."
       LayoutBlockFlow {P} at (0,92) size 784x20
         LayoutText {#text} at (0,0) size 326x19
           text run at (0,0) width 326: "The left column should be identical to the right column."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.png
index 814d315..67bb9cf9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.txt
index 35b5bf8..7a7b1a9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.txt
@@ -7,15 +7,15 @@
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
         LayoutInline {I} at (0,0) size 740x39
-          LayoutInline {A} at (0,0) size 312x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 312x19
-              text run at (49,0) width 312: "https://bugs.webkit.org/show_bug.cgi?id=19278"
+          LayoutInline {A} at (0,0) size 310x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 310x19
+              text run at (50,0) width 310: "https://bugs.webkit.org/show_bug.cgi?id=19278"
           LayoutText {#text} at (360,0) size 740x39
-            text run at (360,0) width 5: " "
+            text run at (360,0) width 4: " "
             text run at (364,0) width 376: "REGRESSION (r31114-r31132): image float disappears on"
-            text run at (0,20) width 44: "refresh"
-        LayoutText {#text} at (43,20) size 5x19
-          text run at (43,20) width 5: "."
+            text run at (0,20) width 43: "refresh"
+        LayoutText {#text} at (43,20) size 4x19
+          text run at (43,20) width 4: "."
       LayoutBlockFlow {DIV} at (0,56) size 784x80
         LayoutBlockFlow (anonymous) at (0,0) size 784x40
           LayoutText {#text} at (0,0) size 248x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-withdrawal-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-withdrawal-expected.png
index 49a54e9c..9dee00c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-withdrawal-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-withdrawal-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-withdrawal-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-withdrawal-expected.txt
index 6a8c2507..e7bdddb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-withdrawal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/float-withdrawal-expected.txt
@@ -6,23 +6,23 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 588x19
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=12886"
-          LayoutText {#text} at (354,0) size 283x19
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 279: "Crash with Scriptalicious javascript library"
-        LayoutText {#text} at (636,0) size 5x19
-          text run at (636,0) width 5: "."
+        LayoutInline {I} at (0,0) size 586x19
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=12886"
+          LayoutText {#text} at (354,0) size 282x19
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 278: "Crash with Scriptalicious javascript library"
+        LayoutText {#text} at (636,0) size 4x19
+          text run at (636,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 286x19
-          text run at (0,0) width 286: "You should see two purple 100\x{D7}50 rectangles, "
-        LayoutInline {EM} at (0,0) size 22x19
-          LayoutText {#text} at (285,0) size 22x19
-            text run at (285,0) width 22: "not"
-        LayoutText {#text} at (306,0) size 150x19
-          text run at (306,0) width 150: " a checkerboard pattern."
+        LayoutText {#text} at (0,0) size 285x19
+          text run at (0,0) width 285: "You should see two purple 100\x{D7}50 rectangles, "
+        LayoutInline {EM} at (0,0) size 21x19
+          LayoutText {#text} at (285,0) size 21x19
+            text run at (285,0) width 21: "not"
+        LayoutText {#text} at (306,0) size 149x19
+          text run at (306,0) width 149: " a checkerboard pattern."
       LayoutTable {TABLE} at (0,72) size 100x300
         LayoutTableSection {TBODY} at (0,0) size 100x300
           LayoutTableRow {TR} at (0,0) size 100x150
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/insert-before-table-part-in-continuation-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/insert-before-table-part-in-continuation-expected.png
index 5f095fe..ff41f2a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/insert-before-table-part-in-continuation-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/insert-before-table-part-in-continuation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/insert-before-table-part-in-continuation-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/insert-before-table-part-in-continuation-expected.txt
index b5d86142..e39ffb3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/insert-before-table-part-in-continuation-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/insert-before-table-part-in-continuation-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 637x19
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=15362"
-          LayoutText {#text} at (354,0) size 332x19
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 328: "Safari Crashes when opening a JS TreeGrid widget"
-        LayoutText {#text} at (685,0) size 5x19
-          text run at (685,0) width 5: "."
+        LayoutInline {I} at (0,0) size 635x19
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=15362"
+          LayoutText {#text} at (354,0) size 331x19
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 327: "Safari Crashes when opening a JS TreeGrid widget"
+        LayoutText {#text} at (685,0) size 4x19
+          text run at (685,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x60
         LayoutText {#text} at (0,0) size 783x59
           text run at (0,0) width 739: "The test sets up an inline parent with a child that is some kind of table part. The child gets broken off into a continuation and"
@@ -24,9 +24,9 @@
         LayoutInline {SPAN} at (0,0) size 220x19
           LayoutText {#text} at (0,0) size 38x19
             text run at (0,0) width 38: "Text..."
-          LayoutText {#text} at (37,0) size 85x19
-            text run at (37,0) width 85: "goes here and"
-          LayoutTable (anonymous) at (121.88,0) size 98x20
+          LayoutText {#text} at (38,0) size 84x19
+            text run at (38,0) width 84: "goes here and"
+          LayoutTable (anonymous) at (122,0) size 98x20
             LayoutTableSection (anonymous) at (0,0) size 98x20
               LayoutTableRow (anonymous) at (0,0) size 98x20
                 LayoutTableCell {DIV} at (0,0) size 98x20 [r=0 c=0 rs=1 cs=1]
@@ -36,7 +36,7 @@
         LayoutInline {SPAN} at (0,0) size 136x19
           LayoutText {#text} at (0,0) size 38x19
             text run at (0,0) width 38: "Text..."
-          LayoutTable (anonymous) at (37.88,0) size 98x20
+          LayoutTable (anonymous) at (38,0) size 98x20
             LayoutTableSection (anonymous) at (0,0) size 98x20
               LayoutTableRow (anonymous) at (0,0) size 98x20
                 LayoutTableCell {TD} at (0,0) size 0x0 [r=0 c=0 rs=1 cs=1]
@@ -47,7 +47,7 @@
         LayoutInline {SPAN} at (0,0) size 136x19
           LayoutText {#text} at (0,0) size 38x19
             text run at (0,0) width 38: "Text..."
-          LayoutTable (anonymous) at (37.88,15) size 98x20
+          LayoutTable (anonymous) at (38,15) size 98x20
             LayoutTableSection (anonymous) at (0,0) size 98x20
               LayoutTableRow {TR} at (0,0) size 98x0
               LayoutTableRow (anonymous) at (0,0) size 98x20
@@ -58,8 +58,8 @@
         LayoutInline {SPAN} at (0,0) size 136x19
           LayoutText {#text} at (0,0) size 38x19
             text run at (0,0) width 38: "Text..."
-          LayoutInline {SPAN} at (0,0) size 1x19
-          LayoutTable (anonymous) at (37.88,0) size 98x20
+          LayoutInline {SPAN} at (0,0) size 0x19
+          LayoutTable (anonymous) at (38,0) size 98x20
             LayoutTableSection (anonymous) at (0,0) size 98x20
               LayoutTableRow (anonymous) at (0,0) size 98x20
                 LayoutTableCell {DIV} at (0,0) size 98x20 [r=0 c=0 rs=1 cs=1]
@@ -84,9 +84,9 @@
         LayoutInline {SPAN} at (0,0) size 220x19
           LayoutText {#text} at (0,0) size 38x19
             text run at (0,0) width 38: "Text..."
-          LayoutText {#text} at (37,0) size 85x19
-            text run at (37,0) width 85: "goes here and"
-          LayoutTable (anonymous) at (121.88,0) size 98x20
+          LayoutText {#text} at (38,0) size 84x19
+            text run at (38,0) width 84: "goes here and"
+          LayoutTable (anonymous) at (122,0) size 98x20
             LayoutTableSection (anonymous) at (0,0) size 98x20
               LayoutTableRow {DIV} at (0,0) size 98x20
                 LayoutTableCell (anonymous) at (0,0) size 98x20 [r=0 c=0 rs=1 cs=1]
@@ -96,7 +96,7 @@
         LayoutInline {SPAN} at (0,0) size 136x19
           LayoutText {#text} at (0,0) size 38x19
             text run at (0,0) width 38: "Text..."
-          LayoutTable (anonymous) at (37.88,15) size 98x20
+          LayoutTable (anonymous) at (38,15) size 98x20
             LayoutTableSection (anonymous) at (0,0) size 98x20
               LayoutTableRow (anonymous) at (0,0) size 98x0
                 LayoutTableCell {TD} at (0,0) size 98x0 [r=0 c=0 rs=1 cs=1]
@@ -108,7 +108,7 @@
         LayoutInline {SPAN} at (0,0) size 136x19
           LayoutText {#text} at (0,0) size 38x19
             text run at (0,0) width 38: "Text..."
-          LayoutTable (anonymous) at (37.88,15) size 98x20
+          LayoutTable (anonymous) at (38,15) size 98x20
             LayoutTableSection (anonymous) at (0,0) size 98x20
               LayoutTableRow {TR} at (0,0) size 98x0
               LayoutTableRow {DIV} at (0,0) size 98x20
@@ -119,8 +119,8 @@
         LayoutInline {SPAN} at (0,0) size 136x19
           LayoutText {#text} at (0,0) size 38x19
             text run at (0,0) width 38: "Text..."
-          LayoutInline {SPAN} at (0,0) size 1x19
-          LayoutTable (anonymous) at (37.88,0) size 98x20
+          LayoutInline {SPAN} at (0,0) size 0x19
+          LayoutTable (anonymous) at (38,0) size 98x20
             LayoutTableSection (anonymous) at (0,0) size 98x20
               LayoutTableRow {DIV} at (0,0) size 98x20
                 LayoutTableCell (anonymous) at (0,0) size 98x20 [r=0 c=0 rs=1 cs=1]
@@ -145,9 +145,9 @@
         LayoutInline {SPAN} at (0,0) size 220x19
           LayoutText {#text} at (0,0) size 38x19
             text run at (0,0) width 38: "Text..."
-          LayoutText {#text} at (37,0) size 85x19
-            text run at (37,0) width 85: "goes here and"
-          LayoutTable (anonymous) at (121.88,0) size 98x20
+          LayoutText {#text} at (38,0) size 84x19
+            text run at (38,0) width 84: "goes here and"
+          LayoutTable (anonymous) at (122,0) size 98x20
             LayoutTableSection {DIV} at (0,0) size 98x20
               LayoutTableRow (anonymous) at (0,0) size 98x20
                 LayoutTableCell (anonymous) at (0,0) size 98x20 [r=0 c=0 rs=1 cs=1]
@@ -157,7 +157,7 @@
         LayoutInline {SPAN} at (0,0) size 136x19
           LayoutText {#text} at (0,0) size 38x19
             text run at (0,0) width 38: "Text..."
-          LayoutTable (anonymous) at (37.88,15) size 98x20
+          LayoutTable (anonymous) at (38,15) size 98x20
             LayoutTableSection (anonymous) at (0,0) size 98x0
               LayoutTableRow (anonymous) at (0,0) size 98x0
                 LayoutTableCell {TD} at (0,0) size 98x0 [r=0 c=0 rs=1 cs=1]
@@ -170,7 +170,7 @@
         LayoutInline {SPAN} at (0,0) size 136x19
           LayoutText {#text} at (0,0) size 38x19
             text run at (0,0) width 38: "Text..."
-          LayoutTable (anonymous) at (37.88,15) size 98x20
+          LayoutTable (anonymous) at (38,15) size 98x20
             LayoutTableSection (anonymous) at (0,0) size 98x0
               LayoutTableRow {TR} at (0,0) size 98x0
             LayoutTableSection {DIV} at (0,0) size 98x20
@@ -182,8 +182,8 @@
         LayoutInline {SPAN} at (0,0) size 136x19
           LayoutText {#text} at (0,0) size 38x19
             text run at (0,0) width 38: "Text..."
-          LayoutInline {SPAN} at (0,0) size 1x19
-          LayoutTable (anonymous) at (37.88,0) size 98x20
+          LayoutInline {SPAN} at (0,0) size 0x19
+          LayoutTable (anonymous) at (38,0) size 98x20
             LayoutTableSection {DIV} at (0,0) size 98x20
               LayoutTableRow (anonymous) at (0,0) size 98x20
                 LayoutTableCell (anonymous) at (0,0) size 98x20 [r=0 c=0 rs=1 cs=1]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/outerHTML-doc-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/outerHTML-doc-expected.png
index 6ab9ebdc..ec64034a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/outerHTML-doc-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/outerHTML-doc-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/outerHTML-doc-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/outerHTML-doc-expected.txt
index c4926375..1ec93a77 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/outerHTML-doc-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/outerHTML-doc-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 46x19
           text run at (0,0) width 46: "test for "
-        LayoutInline {A} at (0,0) size 56x19 [color=#0000EE]
-          LayoutText {#text} at (46,0) size 56x19
-            text run at (46,0) width 56: "4110775"
-        LayoutText {#text} at (101,0) size 450x19
-          text run at (101,0) width 450: " Crash will occur when double-clicking outerHTML link on W3 DOM test"
+        LayoutInline {A} at (0,0) size 55x19 [color=#0000EE]
+          LayoutText {#text} at (46,0) size 55x19
+            text run at (46,0) width 55: "4110775"
+        LayoutText {#text} at (101,0) size 449x19
+          text run at (101,0) width 449: " Crash will occur when double-clicking outerHTML link on W3 DOM test"
       LayoutBlockFlow {P} at (0,36) size 784x0
       LayoutBlockFlow {DIV} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 566x19
+        LayoutText {#text} at (0,0) size 565x19
           text run at (0,0) width 441: "This test passed. We don't support outerHTML on the document object. "
-          text run at (440,0) width 126: "Neither does WinIE."
+          text run at (441,0) width 124: "Neither does WinIE."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/positioned-movement-with-positioned-children-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/positioned-movement-with-positioned-children-expected.txt
index a2e7427e..0b77466 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/positioned-movement-with-positioned-children-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/positioned-movement-with-positioned-children-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 100x100 [bgcolor=#FF0000]
         LayoutText {#text} at (0,0) size 91x59
-          text run at (0,0) width 91: "You should not"
+          text run at (0,0) width 90: "You should not"
           text run at (0,20) width 91: "see this. Resize"
           text run at (0,40) width 73: "the window."
 hidden layer at (8,8) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/selection-highlight-adjust-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/selection-highlight-adjust-expected.png
index 175388e..9d20093 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/selection-highlight-adjust-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/selection-highlight-adjust-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/selection-highlight-adjust-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/selection-highlight-adjust-expected.txt
index 2d802c3..5ae8a4b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/selection-highlight-adjust-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/selection-highlight-adjust-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 164x19
           text run at (0,0) width 164: "This is a regression test for "
-        LayoutInline {I} at (0,0) size 778x39
-          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
-            LayoutText {#text} at (164,0) size 350x19
-              text run at (164,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8835"
-          LayoutText {#text} at (513,0) size 778x39
-            text run at (513,0) width 5: " "
-            text run at (517,0) width 261: "REGRESSION: Line moves but selection"
+        LayoutInline {I} at (0,0) size 777x39
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (164,0) size 349x19
+              text run at (164,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8835"
+          LayoutText {#text} at (513,0) size 777x39
+            text run at (513,0) width 4: " "
+            text run at (517,0) width 260: "REGRESSION: Line moves but selection"
             text run at (0,20) width 140: "highlight stays behind"
         LayoutText {#text} at (140,20) size 4x19
           text run at (140,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/staticY-marking-parents-regression-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/staticY-marking-parents-regression-expected.png
index 9e1a6e61..e45c7e9d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/staticY-marking-parents-regression-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/staticY-marking-parents-regression-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/staticY-marking-parents-regression-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/staticY-marking-parents-regression-expected.txt
index 5beb9c5..0bb2b19 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/staticY-marking-parents-regression-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/staticY-marking-parents-regression-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 724x39
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=12818"
-          LayoutText {#text} at (354,0) size 724x39
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 366: "REGRESSION (r19148): shacknews.com does not render"
+        LayoutInline {I} at (0,0) size 723x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=12818"
+          LayoutText {#text} at (354,0) size 723x39
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 365: "REGRESSION (r19148): shacknews.com does not render"
             text run at (0,20) width 69: "completely"
         LayoutText {#text} at (69,20) size 4x19
           text run at (69,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/view-overflow-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/view-overflow-expected.png
index 815df6b..476800e2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/view-overflow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/view-overflow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/view-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/view-overflow-expected.txt
index ae236cb..56c5c1e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/view-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/view-overflow-expected.txt
@@ -6,18 +6,18 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 642x19
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=13145"
-          LayoutText {#text} at (354,0) size 337x19
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 333: "Regression: Scrollbar not resizing after display none"
-        LayoutText {#text} at (690,0) size 5x19
-          text run at (690,0) width 5: "."
+        LayoutInline {I} at (0,0) size 639x19
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=13145"
+          LayoutText {#text} at (354,0) size 335x19
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 331: "Regression: Scrollbar not resizing after display none"
+        LayoutText {#text} at (689,0) size 4x19
+          text run at (689,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 295x19
-          text run at (0,0) width 295: "The window should not have a vertical scroll bar."
+        LayoutText {#text} at (0,0) size 294x19
+          text run at (0,0) width 294: "The window should not have a vertical scroll bar."
 layer at (8,100) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (8,100) size 100x100
     LayoutBlockFlow {DIV} at (0,0) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-big-endian-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-big-endian-expected.png
index 9e7d8a6..d3b5f613 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-big-endian-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-big-endian-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-big-endian-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-big-endian-expected.txt
index c916a657..84d5cf6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-big-endian-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-big-endian-expected.txt
@@ -109,26 +109,26 @@
               LayoutInline {SPAN} at (0,0) size 0x0
                 LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,301.25) size 784x63
-        LayoutTable {TABLE} at (0,0) size 583x63
-          LayoutTableSection {TBODY} at (0,0) size 583x63
-            LayoutTableRow {TR} at (0,2) size 583x59
+        LayoutTable {TABLE} at (0,0) size 582x63
+          LayoutTableSection {TBODY} at (0,0) size 582x63
+            LayoutTableRow {TR} at (0,2) size 582x59
               LayoutTableCell {TD} at (2,30) size 2x2 [r=0 c=0 rs=1 cs=1]
               LayoutTableCell {TD} at (6,2) size 2x2 [r=0 c=1 rs=1 cs=1]
-              LayoutTableCell {TD} at (10,21) size 159x21 [r=0 c=2 rs=1 cs=1]
-                LayoutBlockFlow {IMG} at (1,1) size 156.23x19
-                  LayoutInline {SPAN} at (0,0) size 141x18
+              LayoutTableCell {TD} at (10,21) size 158x21 [r=0 c=2 rs=1 cs=1]
+                LayoutBlockFlow {IMG} at (1,1) size 156x19
+                  LayoutInline {SPAN} at (0,0) size 140x18
                     LayoutImage (floating) {IMG} at (0,0) size 16x16
-                    LayoutInline {SPAN} at (0,0) size 141x18
-                      LayoutText {#text} at (16,0) size 141x18
-                        text run at (16,0) width 141: "TUR - Tour Package"
+                    LayoutInline {SPAN} at (0,0) size 140x18
+                      LayoutText {#text} at (16,0) size 140x18
+                        text run at (16,0) width 140: "TUR - Tour Package"
                 LayoutText {#text} at (0,0) size 0x0
-              LayoutTableCell {TD} at (171,2) size 410x59 [r=0 c=3 rs=1 cs=1]
-                LayoutText {#text} at (1,1) size 141x18
-                  text run at (1,1) width 141: "TUR - Tour Package"
-                LayoutBR {BR} at (141,16) size 1x0
+              LayoutTableCell {TD} at (170,2) size 410x59 [r=0 c=3 rs=1 cs=1]
+                LayoutText {#text} at (1,1) size 140x18
+                  text run at (1,1) width 140: "TUR - Tour Package"
+                LayoutBR {BR} at (141,16) size 0x0
                 LayoutText {#text} at (1,20) size 221x18
                   text run at (1,20) width 221: "Date: Sunday, January 12, 2003"
-                LayoutBR {BR} at (221,35) size 1x0
+                LayoutBR {BR} at (222,35) size 0x0
                 LayoutText {#text} at (1,39) size 408x18
                   text run at (1,39) width 408: "Comments: -** TICKETLESS CONF CODE IS WHGNSO**"
       LayoutBlockFlow (anonymous) at (0,364.25) size 784x0
@@ -166,16 +166,16 @@
                   LayoutText {#text} at (0,19) size 473x18
                     text run at (0,19) width 49: "United "
                     text run at (49,19) width 81: "Flight 1187 "
-                    text run at (129,19) width 123: "Booking Code:M "
-                    text run at (251,19) width 222: "Date: Sunday, January 12, 2003"
-                  LayoutBR {BR} at (472,34) size 1x0
+                    text run at (130,19) width 122: "Booking Code:M "
+                    text run at (252,19) width 221: "Date: Sunday, January 12, 2003"
+                  LayoutBR {BR} at (473,34) size 0x0
                   LayoutText {#text} at (0,38) size 380x18
                     text run at (0,38) width 380: "From: San Francisco Intl Arpt, San Francisco CA - U.S."
                   LayoutBR {BR} at (380,53) size 0x0
-                  LayoutText {#text} at (0,57) size 394x18
-                    text run at (0,57) width 25: "To: "
-                    text run at (24,57) width 370: "Burbank Glendale Pasadena Arpt, Burbank CA - U.S."
-                  LayoutBR {BR} at (393,72) size 1x0
+                  LayoutText {#text} at (0,57) size 393x18
+                    text run at (0,57) width 24: "To: "
+                    text run at (24,57) width 369: "Burbank Glendale Pasadena Arpt, Burbank CA - U.S."
+                  LayoutBR {BR} at (393,72) size 0x0
                   LayoutText {#text} at (0,76) size 243x18
                     text run at (0,76) width 127: "Departs: 6:05 PM "
                     text run at (127,76) width 116: "Arrives: 7:10 PM"
@@ -206,8 +206,8 @@
                           LayoutText {#text} at (2,2) size 44x18
                             text run at (2,2) width 44: "Status"
                         LayoutTableCell {TD} at (209,0) size 311x23 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
-                          LayoutText {#text} at (2,2) size 34x18
-                            text run at (2,2) width 34: "Type"
+                          LayoutText {#text} at (2,2) size 33x18
+                            text run at (2,2) width 33: "Type"
                         LayoutTableCell {TD} at (520,0) size 72x23 [border: (1px inset #808080)] [r=0 c=4 rs=1 cs=1]
                           LayoutText {#text} at (2,2) size 68x18
                             text run at (2,2) width 68: "Comment"
@@ -268,14 +268,14 @@
                     text run at (49,19) width 73: "Flight 480 "
                     text run at (122,19) width 121: "Booking Code:Q "
                     text run at (243,19) width 213: "Date: Friday, January 24, 2003"
-                  LayoutBR {BR} at (455,34) size 1x0
+                  LayoutBR {BR} at (456,34) size 0x0
                   LayoutText {#text} at (0,38) size 414x18
                     text run at (0,38) width 414: "From: Burbank Glendale Pasadena Arpt, Burbank CA - U.S."
                   LayoutBR {BR} at (414,53) size 0x0
-                  LayoutText {#text} at (0,57) size 360x18
-                    text run at (0,57) width 25: "To: "
-                    text run at (24,57) width 336: "San Francisco Intl Arpt, San Francisco CA - U.S."
-                  LayoutBR {BR} at (359,72) size 1x0
+                  LayoutText {#text} at (0,57) size 359x18
+                    text run at (0,57) width 24: "To: "
+                    text run at (24,57) width 335: "San Francisco Intl Arpt, San Francisco CA - U.S."
+                  LayoutBR {BR} at (359,72) size 0x0
                   LayoutText {#text} at (0,76) size 243x18
                     text run at (0,76) width 127: "Departs: 1:40 PM "
                     text run at (127,76) width 116: "Arrives: 2:50 PM"
@@ -306,8 +306,8 @@
                           LayoutText {#text} at (2,2) size 44x18
                             text run at (2,2) width 44: "Status"
                         LayoutTableCell {TD} at (209,0) size 200x23 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
-                          LayoutText {#text} at (2,2) size 34x18
-                            text run at (2,2) width 34: "Type"
+                          LayoutText {#text} at (2,2) size 33x18
+                            text run at (2,2) width 33: "Type"
                         LayoutTableCell {TD} at (409,0) size 72x23 [border: (1px inset #808080)] [r=0 c=4 rs=1 cs=1]
                           LayoutText {#text} at (2,2) size 68x18
                             text run at (2,2) width 68: "Comment"
@@ -345,9 +345,9 @@
               LayoutInline {SPAN} at (0,0) size 0x0
                 LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,822.19) size 784x120
-        LayoutTable {TABLE} at (0,0) size 615x120
-          LayoutTableSection {TBODY} at (0,0) size 615x120
-            LayoutTableRow {TR} at (0,2) size 615x116
+        LayoutTable {TABLE} at (0,0) size 614x120
+          LayoutTableSection {TBODY} at (0,0) size 614x120
+            LayoutTableRow {TR} at (0,2) size 614x116
               LayoutTableCell {TD} at (2,59) size 2x2 [r=0 c=0 rs=1 cs=1]
               LayoutTableCell {TD} at (6,2) size 2x2 [r=0 c=1 rs=1 cs=1]
               LayoutTableCell {TD} at (10,49) size 105x21 [r=0 c=2 rs=1 cs=1]
@@ -358,23 +358,23 @@
                       LayoutText {#text} at (16,0) size 87x18
                         text run at (16,0) width 87: "Air Segment"
                 LayoutText {#text} at (0,0) size 0x0
-              LayoutTableCell {TD} at (117,2) size 496x116 [r=0 c=3 rs=1 cs=1]
+              LayoutTableCell {TD} at (117,2) size 495x116 [r=0 c=3 rs=1 cs=1]
                 LayoutText {#text} at (1,1) size 24x18
                   text run at (1,1) width 24: "Air "
                 LayoutBR {BR} at (0,0) size 0x0
-                LayoutText {#text} at (1,20) size 494x18
+                LayoutText {#text} at (1,20) size 493x18
                   text run at (1,20) width 86: "UNKNOWN "
                   text run at (87,20) width 73: "Flight 123 "
                   text run at (160,20) width 118: "Booking Code:Y "
-                  text run at (278,20) width 217: "Date: Tuesday, March 25, 2003"
-                LayoutBR {BR} at (494,35) size 1x0
+                  text run at (278,20) width 216: "Date: Tuesday, March 25, 2003"
+                LayoutBR {BR} at (494,35) size 0x0
                 LayoutText {#text} at (1,39) size 380x18
                   text run at (1,39) width 380: "From: San Francisco Intl Arpt, San Francisco CA - U.S."
                 LayoutBR {BR} at (381,54) size 0x0
-                LayoutText {#text} at (1,58) size 360x18
-                  text run at (1,58) width 25: "To: "
-                  text run at (25,58) width 336: "San Francisco Intl Arpt, San Francisco CA - U.S."
-                LayoutBR {BR} at (360,73) size 1x0
+                LayoutText {#text} at (1,58) size 359x18
+                  text run at (1,58) width 24: "To: "
+                  text run at (25,58) width 335: "San Francisco Intl Arpt, San Francisco CA - U.S."
+                LayoutBR {BR} at (360,73) size 0x0
                 LayoutText {#text} at (1,77) size 167x18
                   text run at (1,77) width 89: "Departs: n/a "
                   text run at (90,77) width 78: "Arrives: n/a"
@@ -416,8 +416,8 @@
           LayoutInline {SPAN} at (0,0) size 195x16
             LayoutText {#text} at (0,36) size 195x16
               text run at (0,36) width 125: "SERVICE FEE MCO "
-              text run at (124,36) width 71: "8103220490"
-            LayoutBR {BR} at (194,49) size 1x0
+              text run at (125,36) width 70: "8103220490"
+            LayoutBR {BR} at (195,49) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,1016.16) size 784x2
       LayoutBlockFlow (anonymous) at (0,1024.81) size 784x21
@@ -435,10 +435,10 @@
             LayoutInline {B} at (0,0) size 112x19
               LayoutText {#text} at (82,0) size 112x19
                 text run at (82,0) width 112: "Web Bookings"
-            LayoutText {#text} at (193,0) size 5x19
-              text run at (193,0) width 5: " "
-            LayoutInline {SPAN} at (0,0) size 1x19
-              LayoutBR {BR} at (197,15) size 1x0
+            LayoutText {#text} at (194,0) size 4x19
+              text run at (194,0) width 4: " "
+            LayoutInline {SPAN} at (0,0) size 0x19
+              LayoutBR {BR} at (198,15) size 0x0
               LayoutInline {SPAN} at (0,0) size 0x0
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
@@ -525,7 +525,7 @@
       text run at (16,23) width 4: " "
       text run at (20,23) width 56: "Address: "
       text run at (76,23) width 502: "ST. JUDE MEDICAL, 21700 OXNARD ST SUITE 800, WOODLAND HILLS CA Z/91367 "
-    LayoutBR {BR} at (577,36) size 1x0
+    LayoutBR {BR} at (578,36) size 0x0
     LayoutBlockFlow {IMG} at (0,39) size 16x16
       LayoutInline {SPAN} at (0,0) size 0x0
         LayoutImage (floating) {IMG} at (0,0) size 16x16
@@ -535,7 +535,7 @@
       text run at (20,42) width 46: "Deliver: "
       text run at (66,42) width 101: "DEBI STANGEL, "
       text run at (167,42) width 114: "119 GLEN COURT, "
-      text run at (280,42) width 135: "DANVILLE CA Z/94526"
+      text run at (281,42) width 134: "DANVILLE CA Z/94526"
 layer at (23,174) size 16x16
   LayoutInline (relative positioned) {SPAN} at (0,0) size 16x16
     LayoutText {#text} at (0,0) size 0x0
@@ -546,33 +546,33 @@
     LayoutText {#text} at (0,0) size 0x0
 layer at (23,211) size 784x62 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
   LayoutBlockFlow (anonymous) (relative positioned) at (0,202.94) size 784x62
-layer at (43,196) size 519x62
-  LayoutTable (relative positioned) {TABLE} at (0,0) size 519x62 [border: (1px outset #808080)]
-    LayoutTableSection {TBODY} at (1,1) size 517x60
-      LayoutTableRow {TR} at (0,2) size 517x23 [bgcolor=#E0E0E0]
-        LayoutTableCell {TD} at (2,2) size 91x23 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
-          LayoutText {#text} at (2,2) size 34x18
-            text run at (2,2) width 34: "Type"
-        LayoutTableCell {TD} at (95,2) size 45x23 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
+layer at (43,196) size 518x62
+  LayoutTable (relative positioned) {TABLE} at (0,0) size 518x62 [border: (1px outset #808080)]
+    LayoutTableSection {TBODY} at (1,1) size 516x60
+      LayoutTableRow {TR} at (0,2) size 516x23 [bgcolor=#E0E0E0]
+        LayoutTableCell {TD} at (2,2) size 90x23 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+          LayoutText {#text} at (2,2) size 33x18
+            text run at (2,2) width 33: "Type"
+        LayoutTableCell {TD} at (94,2) size 45x23 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 27x18
             text run at (2,2) width 27: "City"
-        LayoutTableCell {TD} at (142,2) size 373x23 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
+        LayoutTableCell {TD} at (141,2) size 373x23 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 45x18
             text run at (2,2) width 45: "Phone"
-      LayoutTableRow {TR} at (0,27) size 517x0
-      LayoutTableRow {TR} at (0,29) size 517x23
-        LayoutTableCell {TD} at (2,29) size 91x23 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
-          LayoutText {#text} at (2,2) size 87x18
-            text run at (2,2) width 87: "Travel Agent"
-        LayoutTableCell {TD} at (95,29) size 45x23 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
+      LayoutTableRow {TR} at (0,27) size 516x0
+      LayoutTableRow {TR} at (0,29) size 516x23
+        LayoutTableCell {TD} at (2,29) size 90x23 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
+          LayoutText {#text} at (2,2) size 86x18
+            text run at (2,2) width 86: "Travel Agent"
+        LayoutTableCell {TD} at (94,29) size 45x23 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 41x18
             text run at (2,2) width 41: "(LAX)"
-        LayoutTableCell {TD} at (142,29) size 373x23 [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
+        LayoutTableCell {TD} at (141,29) size 373x23 [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 369x18
             text run at (2,2) width 369: "RQ0/818 990-4053-PLAZA TRAVEL - 05838276-RC"
-      LayoutTableRow {TR} at (0,54) size 517x0
-      LayoutTableRow {TR} at (0,56) size 517x0
-      LayoutTableRow {TR} at (0,58) size 517x0
+      LayoutTableRow {TR} at (0,54) size 516x0
+      LayoutTableRow {TR} at (0,56) size 516x0
+      LayoutTableRow {TR} at (0,58) size 516x0
 layer at (23,273) size 0x0
   LayoutInline (relative positioned) {SPAN} at (0,0) size 0x0
 layer at (33,1069) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-little-endian-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-little-endian-expected.png
index 9e7d8a6..d3b5f613 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-little-endian-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-little-endian-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-little-endian-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-little-endian-expected.txt
index c916a657..84d5cf6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-little-endian-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-little-endian-expected.txt
@@ -109,26 +109,26 @@
               LayoutInline {SPAN} at (0,0) size 0x0
                 LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,301.25) size 784x63
-        LayoutTable {TABLE} at (0,0) size 583x63
-          LayoutTableSection {TBODY} at (0,0) size 583x63
-            LayoutTableRow {TR} at (0,2) size 583x59
+        LayoutTable {TABLE} at (0,0) size 582x63
+          LayoutTableSection {TBODY} at (0,0) size 582x63
+            LayoutTableRow {TR} at (0,2) size 582x59
               LayoutTableCell {TD} at (2,30) size 2x2 [r=0 c=0 rs=1 cs=1]
               LayoutTableCell {TD} at (6,2) size 2x2 [r=0 c=1 rs=1 cs=1]
-              LayoutTableCell {TD} at (10,21) size 159x21 [r=0 c=2 rs=1 cs=1]
-                LayoutBlockFlow {IMG} at (1,1) size 156.23x19
-                  LayoutInline {SPAN} at (0,0) size 141x18
+              LayoutTableCell {TD} at (10,21) size 158x21 [r=0 c=2 rs=1 cs=1]
+                LayoutBlockFlow {IMG} at (1,1) size 156x19
+                  LayoutInline {SPAN} at (0,0) size 140x18
                     LayoutImage (floating) {IMG} at (0,0) size 16x16
-                    LayoutInline {SPAN} at (0,0) size 141x18
-                      LayoutText {#text} at (16,0) size 141x18
-                        text run at (16,0) width 141: "TUR - Tour Package"
+                    LayoutInline {SPAN} at (0,0) size 140x18
+                      LayoutText {#text} at (16,0) size 140x18
+                        text run at (16,0) width 140: "TUR - Tour Package"
                 LayoutText {#text} at (0,0) size 0x0
-              LayoutTableCell {TD} at (171,2) size 410x59 [r=0 c=3 rs=1 cs=1]
-                LayoutText {#text} at (1,1) size 141x18
-                  text run at (1,1) width 141: "TUR - Tour Package"
-                LayoutBR {BR} at (141,16) size 1x0
+              LayoutTableCell {TD} at (170,2) size 410x59 [r=0 c=3 rs=1 cs=1]
+                LayoutText {#text} at (1,1) size 140x18
+                  text run at (1,1) width 140: "TUR - Tour Package"
+                LayoutBR {BR} at (141,16) size 0x0
                 LayoutText {#text} at (1,20) size 221x18
                   text run at (1,20) width 221: "Date: Sunday, January 12, 2003"
-                LayoutBR {BR} at (221,35) size 1x0
+                LayoutBR {BR} at (222,35) size 0x0
                 LayoutText {#text} at (1,39) size 408x18
                   text run at (1,39) width 408: "Comments: -** TICKETLESS CONF CODE IS WHGNSO**"
       LayoutBlockFlow (anonymous) at (0,364.25) size 784x0
@@ -166,16 +166,16 @@
                   LayoutText {#text} at (0,19) size 473x18
                     text run at (0,19) width 49: "United "
                     text run at (49,19) width 81: "Flight 1187 "
-                    text run at (129,19) width 123: "Booking Code:M "
-                    text run at (251,19) width 222: "Date: Sunday, January 12, 2003"
-                  LayoutBR {BR} at (472,34) size 1x0
+                    text run at (130,19) width 122: "Booking Code:M "
+                    text run at (252,19) width 221: "Date: Sunday, January 12, 2003"
+                  LayoutBR {BR} at (473,34) size 0x0
                   LayoutText {#text} at (0,38) size 380x18
                     text run at (0,38) width 380: "From: San Francisco Intl Arpt, San Francisco CA - U.S."
                   LayoutBR {BR} at (380,53) size 0x0
-                  LayoutText {#text} at (0,57) size 394x18
-                    text run at (0,57) width 25: "To: "
-                    text run at (24,57) width 370: "Burbank Glendale Pasadena Arpt, Burbank CA - U.S."
-                  LayoutBR {BR} at (393,72) size 1x0
+                  LayoutText {#text} at (0,57) size 393x18
+                    text run at (0,57) width 24: "To: "
+                    text run at (24,57) width 369: "Burbank Glendale Pasadena Arpt, Burbank CA - U.S."
+                  LayoutBR {BR} at (393,72) size 0x0
                   LayoutText {#text} at (0,76) size 243x18
                     text run at (0,76) width 127: "Departs: 6:05 PM "
                     text run at (127,76) width 116: "Arrives: 7:10 PM"
@@ -206,8 +206,8 @@
                           LayoutText {#text} at (2,2) size 44x18
                             text run at (2,2) width 44: "Status"
                         LayoutTableCell {TD} at (209,0) size 311x23 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
-                          LayoutText {#text} at (2,2) size 34x18
-                            text run at (2,2) width 34: "Type"
+                          LayoutText {#text} at (2,2) size 33x18
+                            text run at (2,2) width 33: "Type"
                         LayoutTableCell {TD} at (520,0) size 72x23 [border: (1px inset #808080)] [r=0 c=4 rs=1 cs=1]
                           LayoutText {#text} at (2,2) size 68x18
                             text run at (2,2) width 68: "Comment"
@@ -268,14 +268,14 @@
                     text run at (49,19) width 73: "Flight 480 "
                     text run at (122,19) width 121: "Booking Code:Q "
                     text run at (243,19) width 213: "Date: Friday, January 24, 2003"
-                  LayoutBR {BR} at (455,34) size 1x0
+                  LayoutBR {BR} at (456,34) size 0x0
                   LayoutText {#text} at (0,38) size 414x18
                     text run at (0,38) width 414: "From: Burbank Glendale Pasadena Arpt, Burbank CA - U.S."
                   LayoutBR {BR} at (414,53) size 0x0
-                  LayoutText {#text} at (0,57) size 360x18
-                    text run at (0,57) width 25: "To: "
-                    text run at (24,57) width 336: "San Francisco Intl Arpt, San Francisco CA - U.S."
-                  LayoutBR {BR} at (359,72) size 1x0
+                  LayoutText {#text} at (0,57) size 359x18
+                    text run at (0,57) width 24: "To: "
+                    text run at (24,57) width 335: "San Francisco Intl Arpt, San Francisco CA - U.S."
+                  LayoutBR {BR} at (359,72) size 0x0
                   LayoutText {#text} at (0,76) size 243x18
                     text run at (0,76) width 127: "Departs: 1:40 PM "
                     text run at (127,76) width 116: "Arrives: 2:50 PM"
@@ -306,8 +306,8 @@
                           LayoutText {#text} at (2,2) size 44x18
                             text run at (2,2) width 44: "Status"
                         LayoutTableCell {TD} at (209,0) size 200x23 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
-                          LayoutText {#text} at (2,2) size 34x18
-                            text run at (2,2) width 34: "Type"
+                          LayoutText {#text} at (2,2) size 33x18
+                            text run at (2,2) width 33: "Type"
                         LayoutTableCell {TD} at (409,0) size 72x23 [border: (1px inset #808080)] [r=0 c=4 rs=1 cs=1]
                           LayoutText {#text} at (2,2) size 68x18
                             text run at (2,2) width 68: "Comment"
@@ -345,9 +345,9 @@
               LayoutInline {SPAN} at (0,0) size 0x0
                 LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,822.19) size 784x120
-        LayoutTable {TABLE} at (0,0) size 615x120
-          LayoutTableSection {TBODY} at (0,0) size 615x120
-            LayoutTableRow {TR} at (0,2) size 615x116
+        LayoutTable {TABLE} at (0,0) size 614x120
+          LayoutTableSection {TBODY} at (0,0) size 614x120
+            LayoutTableRow {TR} at (0,2) size 614x116
               LayoutTableCell {TD} at (2,59) size 2x2 [r=0 c=0 rs=1 cs=1]
               LayoutTableCell {TD} at (6,2) size 2x2 [r=0 c=1 rs=1 cs=1]
               LayoutTableCell {TD} at (10,49) size 105x21 [r=0 c=2 rs=1 cs=1]
@@ -358,23 +358,23 @@
                       LayoutText {#text} at (16,0) size 87x18
                         text run at (16,0) width 87: "Air Segment"
                 LayoutText {#text} at (0,0) size 0x0
-              LayoutTableCell {TD} at (117,2) size 496x116 [r=0 c=3 rs=1 cs=1]
+              LayoutTableCell {TD} at (117,2) size 495x116 [r=0 c=3 rs=1 cs=1]
                 LayoutText {#text} at (1,1) size 24x18
                   text run at (1,1) width 24: "Air "
                 LayoutBR {BR} at (0,0) size 0x0
-                LayoutText {#text} at (1,20) size 494x18
+                LayoutText {#text} at (1,20) size 493x18
                   text run at (1,20) width 86: "UNKNOWN "
                   text run at (87,20) width 73: "Flight 123 "
                   text run at (160,20) width 118: "Booking Code:Y "
-                  text run at (278,20) width 217: "Date: Tuesday, March 25, 2003"
-                LayoutBR {BR} at (494,35) size 1x0
+                  text run at (278,20) width 216: "Date: Tuesday, March 25, 2003"
+                LayoutBR {BR} at (494,35) size 0x0
                 LayoutText {#text} at (1,39) size 380x18
                   text run at (1,39) width 380: "From: San Francisco Intl Arpt, San Francisco CA - U.S."
                 LayoutBR {BR} at (381,54) size 0x0
-                LayoutText {#text} at (1,58) size 360x18
-                  text run at (1,58) width 25: "To: "
-                  text run at (25,58) width 336: "San Francisco Intl Arpt, San Francisco CA - U.S."
-                LayoutBR {BR} at (360,73) size 1x0
+                LayoutText {#text} at (1,58) size 359x18
+                  text run at (1,58) width 24: "To: "
+                  text run at (25,58) width 335: "San Francisco Intl Arpt, San Francisco CA - U.S."
+                LayoutBR {BR} at (360,73) size 0x0
                 LayoutText {#text} at (1,77) size 167x18
                   text run at (1,77) width 89: "Departs: n/a "
                   text run at (90,77) width 78: "Arrives: n/a"
@@ -416,8 +416,8 @@
           LayoutInline {SPAN} at (0,0) size 195x16
             LayoutText {#text} at (0,36) size 195x16
               text run at (0,36) width 125: "SERVICE FEE MCO "
-              text run at (124,36) width 71: "8103220490"
-            LayoutBR {BR} at (194,49) size 1x0
+              text run at (125,36) width 70: "8103220490"
+            LayoutBR {BR} at (195,49) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,1016.16) size 784x2
       LayoutBlockFlow (anonymous) at (0,1024.81) size 784x21
@@ -435,10 +435,10 @@
             LayoutInline {B} at (0,0) size 112x19
               LayoutText {#text} at (82,0) size 112x19
                 text run at (82,0) width 112: "Web Bookings"
-            LayoutText {#text} at (193,0) size 5x19
-              text run at (193,0) width 5: " "
-            LayoutInline {SPAN} at (0,0) size 1x19
-              LayoutBR {BR} at (197,15) size 1x0
+            LayoutText {#text} at (194,0) size 4x19
+              text run at (194,0) width 4: " "
+            LayoutInline {SPAN} at (0,0) size 0x19
+              LayoutBR {BR} at (198,15) size 0x0
               LayoutInline {SPAN} at (0,0) size 0x0
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
@@ -525,7 +525,7 @@
       text run at (16,23) width 4: " "
       text run at (20,23) width 56: "Address: "
       text run at (76,23) width 502: "ST. JUDE MEDICAL, 21700 OXNARD ST SUITE 800, WOODLAND HILLS CA Z/91367 "
-    LayoutBR {BR} at (577,36) size 1x0
+    LayoutBR {BR} at (578,36) size 0x0
     LayoutBlockFlow {IMG} at (0,39) size 16x16
       LayoutInline {SPAN} at (0,0) size 0x0
         LayoutImage (floating) {IMG} at (0,0) size 16x16
@@ -535,7 +535,7 @@
       text run at (20,42) width 46: "Deliver: "
       text run at (66,42) width 101: "DEBI STANGEL, "
       text run at (167,42) width 114: "119 GLEN COURT, "
-      text run at (280,42) width 135: "DANVILLE CA Z/94526"
+      text run at (281,42) width 134: "DANVILLE CA Z/94526"
 layer at (23,174) size 16x16
   LayoutInline (relative positioned) {SPAN} at (0,0) size 16x16
     LayoutText {#text} at (0,0) size 0x0
@@ -546,33 +546,33 @@
     LayoutText {#text} at (0,0) size 0x0
 layer at (23,211) size 784x62 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
   LayoutBlockFlow (anonymous) (relative positioned) at (0,202.94) size 784x62
-layer at (43,196) size 519x62
-  LayoutTable (relative positioned) {TABLE} at (0,0) size 519x62 [border: (1px outset #808080)]
-    LayoutTableSection {TBODY} at (1,1) size 517x60
-      LayoutTableRow {TR} at (0,2) size 517x23 [bgcolor=#E0E0E0]
-        LayoutTableCell {TD} at (2,2) size 91x23 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
-          LayoutText {#text} at (2,2) size 34x18
-            text run at (2,2) width 34: "Type"
-        LayoutTableCell {TD} at (95,2) size 45x23 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
+layer at (43,196) size 518x62
+  LayoutTable (relative positioned) {TABLE} at (0,0) size 518x62 [border: (1px outset #808080)]
+    LayoutTableSection {TBODY} at (1,1) size 516x60
+      LayoutTableRow {TR} at (0,2) size 516x23 [bgcolor=#E0E0E0]
+        LayoutTableCell {TD} at (2,2) size 90x23 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+          LayoutText {#text} at (2,2) size 33x18
+            text run at (2,2) width 33: "Type"
+        LayoutTableCell {TD} at (94,2) size 45x23 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 27x18
             text run at (2,2) width 27: "City"
-        LayoutTableCell {TD} at (142,2) size 373x23 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
+        LayoutTableCell {TD} at (141,2) size 373x23 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 45x18
             text run at (2,2) width 45: "Phone"
-      LayoutTableRow {TR} at (0,27) size 517x0
-      LayoutTableRow {TR} at (0,29) size 517x23
-        LayoutTableCell {TD} at (2,29) size 91x23 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
-          LayoutText {#text} at (2,2) size 87x18
-            text run at (2,2) width 87: "Travel Agent"
-        LayoutTableCell {TD} at (95,29) size 45x23 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
+      LayoutTableRow {TR} at (0,27) size 516x0
+      LayoutTableRow {TR} at (0,29) size 516x23
+        LayoutTableCell {TD} at (2,29) size 90x23 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
+          LayoutText {#text} at (2,2) size 86x18
+            text run at (2,2) width 86: "Travel Agent"
+        LayoutTableCell {TD} at (94,29) size 45x23 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 41x18
             text run at (2,2) width 41: "(LAX)"
-        LayoutTableCell {TD} at (142,29) size 373x23 [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
+        LayoutTableCell {TD} at (141,29) size 373x23 [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
           LayoutText {#text} at (2,2) size 369x18
             text run at (2,2) width 369: "RQ0/818 990-4053-PLAZA TRAVEL - 05838276-RC"
-      LayoutTableRow {TR} at (0,54) size 517x0
-      LayoutTableRow {TR} at (0,56) size 517x0
-      LayoutTableRow {TR} at (0,58) size 517x0
+      LayoutTableRow {TR} at (0,54) size 516x0
+      LayoutTableRow {TR} at (0,56) size 516x0
+      LayoutTableRow {TR} at (0,58) size 516x0
 layer at (23,273) size 0x0
   LayoutInline (relative positioned) {SPAN} at (0,0) size 0x0
 layer at (33,1069) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/xmacroman-encoding-test-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/xmacroman-encoding-test-expected.txt
index 1073e1c..ed13227 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/xmacroman-encoding-test-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/xmacroman-encoding-test-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 726x19
+        LayoutText {#text} at (0,0) size 725x19
           text run at (0,0) width 295: "This tests the use of xmacroman as content type. "
-          text run at (295,0) width 431: "You should not see any \"garbage\" characters if xmacroman is supported"
+          text run at (295,0) width 430: "You should not see any \"garbage\" characters if xmacroman is supported"
       LayoutBlockFlow (anonymous) at (0,36) size 784x60
         LayoutText {#text} at (0,0) size 80x19
           text run at (0,0) width 80: "apostrophe: \x{2019}"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/events/pointer-events-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/events/pointer-events-2-expected.txt
index 50714e6b..e8bfd68e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/events/pointer-events-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/events/pointer-events-2-expected.txt
@@ -8,13 +8,13 @@
           text run at (0,0) width 757: "Testing the values of 'pointer-events' on HTML content"
       LayoutBlockFlow {P} at (0,58.44) size 784x80
         LayoutText {#text} at (0,0) size 779x79
-          text run at (0,0) width 542: "This test is expected to be run from within DumpRenderTree. If running manually, click on "
-          text run at (541,0) width 235: "the elements in the first column, making"
+          text run at (0,0) width 541: "This test is expected to be run from within DumpRenderTree. If running manually, click on "
+          text run at (541,0) width 234: "the elements in the first column, making"
           text run at (0,20) width 261: "sure the actual result (3rd column) matches "
           text run at (261,20) width 518: "the expected result (2nd column). Repeat for click target (4th column), expected result"
           text run at (0,40) width 80: "(5th column) "
-          text run at (80,40) width 495: "and actual result (6th column). Note: You should click on a yellow inline element if "
-          text run at (574,40) width 202: "one exists, otherwise anywhere in"
+          text run at (80,40) width 494: "and actual result (6th column). Note: You should click on a yellow inline element if "
+          text run at (574,40) width 201: "one exists, otherwise anywhere in"
           text run at (0,60) width 49: "the box."
 layer at (10,140) size 300x100
   LayoutBlockFlow (positioned) {DIV} at (10,140) size 300x100
@@ -134,12 +134,12 @@
   LayoutImage (positioned) {IMG} at (0,0) size 80x80
 layer at (440,240) size 80x80
   LayoutBlockFlow (positioned) {DIV} at (100,0) size 80x80
-    LayoutText {#text} at (0,0) size 24x19
-      text run at (0,0) width 24: "p11"
+    LayoutText {#text} at (0,0) size 23x19
+      text run at (0,0) width 23: "p11"
 layer at (540,240) size 80x80
   LayoutBlockFlow (positioned) {DIV} at (200,0) size 80x80
-    LayoutText {#text} at (0,0) size 24x19
-      text run at (0,0) width 24: "p11"
+    LayoutText {#text} at (0,0) size 23x19
+      text run at (0,0) width 23: "p11"
 layer at (340,340) size 300x100
   LayoutBlockFlow (positioned) {DIV} at (340,340) size 300x100
 layer at (340,340) size 80x80
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/001-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/001-expected.txt
index 92c9a0b..bec705a6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/001-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {H1} at (0,0) size 784x37
-        LayoutText {#text} at (0,0) size 232x36
-          text run at (0,0) width 232: "Min-Width Tests"
+        LayoutText {#text} at (0,0) size 231x36
+          text run at (0,0) width 231: "Min-Width Tests"
       LayoutTable {TABLE} at (0,58.44) size 784x86 [border: (2px outset #808080)]
         LayoutTableSection {TBODY} at (2,2) size 780x82
           LayoutTableRow {TR} at (0,0) size 780x82
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/006-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/006-expected.txt
index f220000..1734653e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/006-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/006-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 784x75.59 [border: (5px solid #000000)]
         LayoutFieldset {FIELDSET} at (7,5) size 770x65.59 [border: (10px groove #FF0000)]
-          LayoutBlockFlow {LEGEND} at (42,0) size 114.89x20
+          LayoutBlockFlow {LEGEND} at (42,0) size 115x20
             LayoutText {#text} at (2,0) size 111x19
               text run at (2,0) width 111: "Test without forms"
           LayoutBlockFlow {DIV} at (22,25.59) size 726x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/007-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/007-expected.txt
index feff9f1..bd5cd1d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/007-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/007-expected.txt
@@ -15,11 +15,11 @@
             text run at (0,20) width 75: "Hello world."
       LayoutText {#text} at (116,45) size 4x20
         text run at (116,45) width 4: " "
-      LayoutFieldset {FIELDSET} at (122,20) size 112.89x57.59 [border: (2px groove #C0C0C0)]
-        LayoutBlockFlow {LEGEND} at (14,0) size 84.89x20
+      LayoutFieldset {FIELDSET} at (122,20) size 113x57.59 [border: (2px groove #C0C0C0)]
+        LayoutBlockFlow {LEGEND} at (14,0) size 85x20
           LayoutText {#text} at (2,0) size 81x19
             text run at (2,0) width 81: "Number Two"
-        LayoutBlockFlow (anonymous) at (14,25.59) size 84.89x20
+        LayoutBlockFlow (anonymous) at (14,25.59) size 85x20
           LayoutText {#text} at (0,0) size 75x19
             text run at (0,0) width 75: "Hello world."
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/basic-buttons-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/basic-buttons-expected.txt
index 61fb9875..a37a061 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/basic-buttons-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/basic-buttons-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 784x80
         LayoutText {#text} at (0,0) size 514x19
           text run at (0,0) width 514: "Tests for basic button rendering. Creates a table with seven columns and seven rows. "
-        LayoutBR {BR} at (513,0) size 1x19
+        LayoutBR {BR} at (514,0) size 0x19
         LayoutText {#text} at (0,20) size 491x19
           text run at (0,20) width 491: "Creates two different types of buttons, one with an image (a red dot) and another "
-        LayoutBR {BR} at (490,20) size 1x19
+        LayoutBR {BR} at (491,20) size 0x19
         LayoutText {#text} at (0,40) size 616x19
           text run at (0,40) width 616: "with text (\"foo\") and then uses six different paddings to make sure each of the buttons render properly. "
-        LayoutBR {BR} at (615,40) size 1x19
+        LayoutBR {BR} at (616,40) size 0x19
         LayoutBR {BR} at (0,60) size 0x19
       LayoutTable {TABLE} at (0,80) size 655x258
         LayoutTableSection {TBODY} at (0,0) size 655x258
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-sizes-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-sizes-expected.png
index 9210cd2..7e971c1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-sizes-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-sizes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-sizes-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-sizes-expected.txt
index caee518..f47042f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-sizes-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-sizes-expected.txt
@@ -3,110 +3,110 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutButton {BUTTON} at (0,8) size 40.45x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 24.45x6
-          LayoutText {#text} at (0,0) size 25x6
-            text run at (0,0) width 25: "Test Button"
-      LayoutText {#text} at (40,1) size 5x19
-        text run at (40,1) width 5: " "
-      LayoutButton {BUTTON} at (44.45,8) size 46.34x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 30.34x6
-          LayoutText {#text} at (0,0) size 31x6
-            text run at (0,0) width 31: "Test Button"
-      LayoutText {#text} at (90,1) size 5x19
-        text run at (90,1) width 5: " "
-      LayoutButton {BUTTON} at (94.80,7) size 53.23x13 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 37.23x7
-          LayoutText {#text} at (0,0) size 38x7
-            text run at (0,0) width 38: "Test Button"
-      LayoutText {#text} at (148,1) size 5x19
-        text run at (148,1) width 5: " "
-      LayoutButton {BUTTON} at (152.03,5) size 53.13x16 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 37.13x10
-          LayoutText {#text} at (0,0) size 38x10
-            text run at (0,0) width 38: "Test Button"
-      LayoutText {#text} at (205,1) size 5x19
-        text run at (205,1) width 5: " "
-      LayoutButton {BUTTON} at (209.16,4) size 63.02x18 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 47.02x12
+      LayoutButton {BUTTON} at (0,8) size 40x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 24x6
+          LayoutText {#text} at (0,0) size 24x6
+            text run at (0,0) width 24: "Test Button"
+      LayoutText {#text} at (40,1) size 4x19
+        text run at (40,1) width 4: " "
+      LayoutButton {BUTTON} at (44,8) size 46x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 30x6
+          LayoutText {#text} at (0,0) size 30x6
+            text run at (0,0) width 30: "Test Button"
+      LayoutText {#text} at (90,1) size 4x19
+        text run at (90,1) width 4: " "
+      LayoutButton {BUTTON} at (94,7) size 53x13 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 37x7
+          LayoutText {#text} at (0,0) size 37x7
+            text run at (0,0) width 37: "Test Button"
+      LayoutText {#text} at (147,1) size 4x19
+        text run at (147,1) width 4: " "
+      LayoutButton {BUTTON} at (151,5) size 53x16 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 37x10
+          LayoutText {#text} at (0,0) size 37x10
+            text run at (0,0) width 37: "Test Button"
+      LayoutText {#text} at (204,1) size 4x19
+        text run at (204,1) width 4: " "
+      LayoutButton {BUTTON} at (208,4) size 63x18 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 47x12
           LayoutText {#text} at (0,0) size 47x12
             text run at (0,0) width 47: "Test Button"
-      LayoutText {#text} at (272,1) size 5x19
-        text run at (272,1) width 5: " "
-      LayoutButton {BUTTON} at (276.17,3) size 68.91x19 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 52.91x13
+      LayoutText {#text} at (271,1) size 4x19
+        text run at (271,1) width 4: " "
+      LayoutButton {BUTTON} at (275,3) size 69x19 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 53x13
           LayoutText {#text} at (0,0) size 53x13
             text run at (0,0) width 53: "Test Button"
-      LayoutText {#text} at (345,1) size 5x19
-        text run at (345,1) width 5: " "
-      LayoutButton {BUTTON} at (349.08,2) size 69.78x20 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 53.78x14
+      LayoutText {#text} at (344,1) size 4x19
+        text run at (344,1) width 4: " "
+      LayoutButton {BUTTON} at (348,2) size 70x20 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 54x14
           LayoutText {#text} at (0,0) size 54x14
             text run at (0,0) width 54: "Test Button"
-      LayoutText {#text} at (418,1) size 5x19
-        text run at (418,1) width 5: " "
-      LayoutButton {INPUT} at (422.86,0) size 81.53x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 65.53x16
+      LayoutText {#text} at (418,1) size 4x19
+        text run at (418,1) width 4: " "
+      LayoutButton {INPUT} at (422,0) size 82x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 66x16
           LayoutText {#text} at (0,0) size 66x16
             text run at (0,0) width 66: "Test Button"
-      LayoutText {#text} at (504,1) size 5x19
-        text run at (504,1) width 5: " "
-      LayoutButton {BUTTON} at (508.39,1) size 76.67x21 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 60.67x15
+      LayoutText {#text} at (504,1) size 4x19
+        text run at (504,1) width 4: " "
+      LayoutButton {BUTTON} at (508,1) size 77x21 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 61x15
           LayoutText {#text} at (0,0) size 61x15
             text run at (0,0) width 61: "Test Button"
-      LayoutText {#text} at (585,1) size 5x19
-        text run at (585,1) width 5: " "
-      LayoutButton {BUTTON} at (589.06,0) size 81.56x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 65.56x16
+      LayoutText {#text} at (585,1) size 4x19
+        text run at (585,1) width 4: " "
+      LayoutButton {BUTTON} at (589,0) size 82x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 66x16
           LayoutText {#text} at (0,0) size 66x16
             text run at (0,0) width 66: "Test Button"
-      LayoutText {#text} at (670,1) size 5x19
-        text run at (670,1) width 5: " "
-      LayoutButton {BUTTON} at (674.63,0) size 87.45x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 71.45x16
-          LayoutText {#text} at (0,0) size 72x16
-            text run at (0,0) width 72: "Test Button"
-      LayoutText {#text} at (762,1) size 5x19
-        text run at (762,1) width 5: " "
-      LayoutButton {BUTTON} at (0,27) size 89.34x23 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 73.34x17
-          LayoutText {#text} at (0,0) size 74x17
-            text run at (0,0) width 74: "Test Button"
-      LayoutText {#text} at (89,29) size 5x19
-        text run at (89,29) width 5: " "
-      LayoutButton {BUTTON} at (93.34,26) size 92.23x25 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 76.23x19
-          LayoutText {#text} at (0,0) size 77x18
-            text run at (0,0) width 77: "Test Button"
-      LayoutText {#text} at (185,29) size 5x19
-        text run at (185,29) width 5: " "
-      LayoutButton {BUTTON} at (189.58,26) size 95.13x26 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 79.13x20
-          LayoutText {#text} at (0,0) size 80x19
-            text run at (0,0) width 80: "Test Button"
-      LayoutText {#text} at (284,29) size 5x19
-        text run at (284,29) width 5: " "
-      LayoutButton {BUTTON} at (288.70,24) size 107.02x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 91.02x22
+      LayoutText {#text} at (671,1) size 4x19
+        text run at (671,1) width 4: " "
+      LayoutButton {BUTTON} at (675,0) size 87x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 71x16
+          LayoutText {#text} at (0,0) size 71x16
+            text run at (0,0) width 71: "Test Button"
+      LayoutText {#text} at (762,1) size 4x19
+        text run at (762,1) width 4: " "
+      LayoutButton {BUTTON} at (0,27) size 89x23 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 73x17
+          LayoutText {#text} at (0,0) size 73x17
+            text run at (0,0) width 73: "Test Button"
+      LayoutText {#text} at (89,29) size 4x19
+        text run at (89,29) width 4: " "
+      LayoutButton {BUTTON} at (93,26) size 92x25 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 76x19
+          LayoutText {#text} at (0,0) size 76x18
+            text run at (0,0) width 76: "Test Button"
+      LayoutText {#text} at (185,29) size 4x19
+        text run at (185,29) width 4: " "
+      LayoutButton {BUTTON} at (189,26) size 95x26 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 79x20
+          LayoutText {#text} at (0,0) size 79x19
+            text run at (0,0) width 79: "Test Button"
+      LayoutText {#text} at (284,29) size 4x19
+        text run at (284,29) width 4: " "
+      LayoutButton {BUTTON} at (288,24) size 107x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 91x22
           LayoutText {#text} at (0,0) size 91x21
             text run at (0,0) width 91: "Test Button"
-      LayoutText {#text} at (395,29) size 5x19
-        text run at (395,29) width 5: " "
-      LayoutButton {BUTTON} at (399.72,23) size 110.91x29 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 94.91x23
+      LayoutText {#text} at (395,29) size 4x19
+        text run at (395,29) width 4: " "
+      LayoutButton {BUTTON} at (399,23) size 111x29 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 95x23
           LayoutText {#text} at (0,0) size 95x22
             text run at (0,0) width 95: "Test Button"
-      LayoutText {#text} at (510,29) size 5x19
-        text run at (510,29) width 5: " "
-      LayoutButton {BUTTON} at (514.63,22) size 114.80x30 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 98.80x24
+      LayoutText {#text} at (510,29) size 4x19
+        text run at (510,29) width 4: " "
+      LayoutButton {BUTTON} at (514,22) size 115x30 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 99x24
           LayoutText {#text} at (0,0) size 99x23
             text run at (0,0) width 99: "Test Button"
-      LayoutText {#text} at (629,29) size 5x19
-        text run at (629,29) width 5: " "
-      LayoutButton {BUTTON} at (633.42,22) size 120.69x31 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 104.69x25
+      LayoutText {#text} at (629,29) size 4x19
+        text run at (629,29) width 4: " "
+      LayoutButton {BUTTON} at (633,22) size 121x31 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 105x25
           LayoutText {#text} at (0,0) size 105x24
             text run at (0,0) width 105: "Test Button"
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-style-color-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-style-color-expected.png
index 75a8345a..a2d83667 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-style-color-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-style-color-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-style-color-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-style-color-expected.txt
index c8c917d..edcc657 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-style-color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-style-color-expected.txt
@@ -3,50 +3,50 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutButton {BUTTON} at (0,0) size 81.53x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 65.53x16
+      LayoutButton {BUTTON} at (0,0) size 82x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 66x16
           LayoutText {#text} at (0,0) size 66x16
             text run at (0,0) width 66: "Test Button"
-      LayoutText {#text} at (81,1) size 5x19
-        text run at (81,1) width 5: " "
-      LayoutButton {BUTTON} at (85.53,0) size 81.53x22 [color=#FF0000] [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 65.53x16
+      LayoutText {#text} at (82,1) size 4x19
+        text run at (82,1) width 4: " "
+      LayoutButton {BUTTON} at (86,0) size 82x22 [color=#FF0000] [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 66x16
           LayoutText {#text} at (0,0) size 66x16
             text run at (0,0) width 66: "Test Button"
-      LayoutText {#text} at (167,1) size 5x19
-        text run at (167,1) width 5: " "
-      LayoutButton {BUTTON} at (171.06,0) size 81.53x22 [bgcolor=#008000] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 65.53x16
+      LayoutText {#text} at (168,1) size 4x19
+        text run at (168,1) width 4: " "
+      LayoutButton {BUTTON} at (172,0) size 82x22 [bgcolor=#008000] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 66x16
           LayoutText {#text} at (0,0) size 66x16
             text run at (0,0) width 66: "Test Button"
-      LayoutText {#text} at (252,1) size 5x19
-        text run at (252,1) width 5: " "
-      LayoutButton {BUTTON} at (256.59,0) size 81.53x22 [color=#FF0000] [bgcolor=#008000] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 65.53x16
+      LayoutText {#text} at (254,1) size 4x19
+        text run at (254,1) width 4: " "
+      LayoutButton {BUTTON} at (258,0) size 82x22 [color=#FF0000] [bgcolor=#008000] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 66x16
           LayoutText {#text} at (0,0) size 66x16
             text run at (0,0) width 66: "Test Button"
-      LayoutText {#text} at (338,1) size 5x19
-        text run at (338,1) width 5: " "
-      LayoutButton {INPUT} at (342.13,0) size 81.53x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 65.53x16
+      LayoutText {#text} at (340,1) size 4x19
+        text run at (340,1) width 4: " "
+      LayoutButton {INPUT} at (344,0) size 82x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 66x16
           LayoutText {#text} at (0,0) size 66x16
             text run at (0,0) width 66: "Test Button"
-      LayoutText {#text} at (423,1) size 5x19
-        text run at (423,1) width 5: " "
-      LayoutButton {INPUT} at (427.66,0) size 81.53x22 [color=#FF0000] [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 65.53x16
+      LayoutText {#text} at (426,1) size 4x19
+        text run at (426,1) width 4: " "
+      LayoutButton {INPUT} at (430,0) size 82x22 [color=#FF0000] [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 66x16
           LayoutText {#text} at (0,0) size 66x16
             text run at (0,0) width 66: "Test Button"
-      LayoutText {#text} at (509,1) size 5x19
-        text run at (509,1) width 5: " "
-      LayoutButton {INPUT} at (513.19,0) size 81.53x22 [bgcolor=#008000] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 65.53x16
+      LayoutText {#text} at (512,1) size 4x19
+        text run at (512,1) width 4: " "
+      LayoutButton {INPUT} at (516,0) size 82x22 [bgcolor=#008000] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 66x16
           LayoutText {#text} at (0,0) size 66x16
             text run at (0,0) width 66: "Test Button"
-      LayoutText {#text} at (594,1) size 5x19
-        text run at (594,1) width 5: " "
-      LayoutButton {INPUT} at (598.72,0) size 81.53x22 [color=#FF0000] [bgcolor=#008000] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 65.53x16
+      LayoutText {#text} at (598,1) size 4x19
+        text run at (598,1) width 4: " "
+      LayoutButton {INPUT} at (602,0) size 82x22 [color=#FF0000] [bgcolor=#008000] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 66x16
           LayoutText {#text} at (0,0) size 66x16
             text run at (0,0) width 66: "Test Button"
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-text-transform-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-text-transform-expected.png
index 0747a5de..cab71715 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-text-transform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-text-transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-text-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-text-transform-expected.txt
index 85a88a7..48d8461 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-text-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button-text-transform-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 756x39
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=15181"
-          LayoutText {#text} at (354,0) size 756x39
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 398: "text-transform: uppercase not working in input (submit, reset,"
+        LayoutInline {I} at (0,0) size 754x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=15181"
+          LayoutText {#text} at (354,0) size 754x39
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 396: "text-transform: uppercase not working in input (submit, reset,"
             text run at (0,20) width 107: "button) elements"
         LayoutText {#text} at (107,20) size 4x19
           text run at (107,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-inner-block-reuse-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-inner-block-reuse-expected.png
index 99dd3663..1b6f41e5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-inner-block-reuse-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-inner-block-reuse-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-inner-block-reuse-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-inner-block-reuse-expected.txt
index 0410bbb..4dc8184 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-inner-block-reuse-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-inner-block-reuse-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 197x19
           text run at (0,0) width 197: "This tests for regressions against "
-        LayoutInline {I} at (0,0) size 778x39
-          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
-            LayoutText {#text} at (197,0) size 350x19
-              text run at (197,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8420"
-          LayoutText {#text} at (546,0) size 778x39
-            text run at (546,0) width 5: " "
-            text run at (550,0) width 228: "iExploder(#12): Assertion failure in"
-            text run at (0,20) width 237: "RenderContainer::removeChildNode"
-        LayoutText {#text} at (236,20) size 5x19
-          text run at (236,20) width 5: "."
+        LayoutInline {I} at (0,0) size 777x39
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (197,0) size 349x19
+              text run at (197,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8420"
+          LayoutText {#text} at (546,0) size 777x39
+            text run at (546,0) width 4: " "
+            text run at (550,0) width 227: "iExploder(#12): Assertion failure in"
+            text run at (0,20) width 236: "RenderContainer::removeChildNode"
+        LayoutText {#text} at (236,20) size 4x19
+          text run at (236,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 749x19
           text run at (0,0) width 530: "In the render tree, the button should have only one child, an anonymous block wrapping "
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-white-space-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-white-space-expected.txt
index 3a138b2..7ea1a3b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-white-space-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-white-space-expected.txt
@@ -23,8 +23,8 @@
                     text run at (0,0) width 69: "Search Mail"
               LayoutText {#text} at (86,2) size 4x19
                 text run at (86,2) width 4: " "
-              LayoutButton {BUTTON} at (90,1) size 109.77x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-                LayoutBlockFlow (anonymous) at (8,3) size 93.77x16
+              LayoutButton {BUTTON} at (90,1) size 110x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+                LayoutBlockFlow (anonymous) at (8,3) size 94x16
                   LayoutText {#text} at (0,0) size 94x16
                     text run at (0,0) width 94: "Search the Web"
               LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-coarse-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-coarse-expected.png
index cf2fe88..3a5ded0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-coarse-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-coarse-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-expected.png
index 153cf12d..46ece68a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-minimum-date-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-minimum-date-expected.png
index d089288..03e45a7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-minimum-date-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-minimum-date-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-required-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-required-expected.png
index 117dbf3f..c4eaa37e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-required-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-required-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-ru-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-ru-expected.png
index 89047784..a53ec89a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-ru-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-ru-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png
index 1d11642..e7b302bb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/month-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/month-picker-appearance-expected.png
index c0f8848..daf60383 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/month-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/month-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/month-picker-appearance-step-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/month-picker-appearance-step-expected.png
index 324e0614..c9a04745 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/month-picker-appearance-step-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/month-picker-appearance-step-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/week-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/week-picker-appearance-expected.png
index 8eb813d..2aadabd1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/week-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/week-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/week-picker-appearance-step-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/week-picker-appearance-step-expected.png
index 0727251..e3eca5d8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/week-picker-appearance-step-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/calendar-picker/week-picker-appearance-step-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/color/input-appearance-color-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/color/input-appearance-color-expected.txt
index 3844f1d..6f7ced5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/color/input-appearance-color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/color/input-appearance-color-expected.txt
@@ -9,7 +9,7 @@
       LayoutBlockFlow (anonymous) at (0,41.72) size 784x43
         LayoutText {#text} at (0,0) size 272x19
           text run at (0,0) width 272: "List color controls have different appearance."
-        LayoutBR {BR} at (271,15) size 1x0
+        LayoutBR {BR} at (272,15) size 0x0
         LayoutBlockFlow {INPUT} at (0,20) size 44x23 [bgcolor=#DDDDDD] [border: (1px solid #A9A9A9)]
           LayoutFlexibleBox {DIV} at (3,2) size 38x19
             LayoutBlockFlow {DIV} at (2,4) size 34x11 [bgcolor=#000000] [border: (1px solid #777777)]
@@ -23,7 +23,7 @@
       LayoutBlockFlow (anonymous) at (0,145.16) size 784x43
         LayoutText {#text} at (0,0) size 549x19
           text run at (0,0) width 549: "List color controls have different sizes depending on font sizes. Normal color controls don't."
-        LayoutBR {BR} at (548,15) size 1x0
+        LayoutBR {BR} at (549,15) size 0x0
         LayoutBlockFlow {INPUT} at (0,20) size 44x23 [bgcolor=#DDDDDD] [border: (1px solid #A9A9A9)]
           LayoutFlexibleBox {DIV} at (3,2) size 38x19
             LayoutBlockFlow {DIV} at (2,4) size 34x11 [bgcolor=#00FF00] [border: (1px solid #777777)]
@@ -54,8 +54,8 @@
             LayoutBlockFlow {DIV} at (8,4) size 50x11 [bgcolor=#00FF00] [border: (1px solid #000000)]
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {H3} at (0,206.88) size 784x23
-        LayoutText {#text} at (0,0) size 123x22
-          text run at (0,0) width 123: "Various Colors"
+        LayoutText {#text} at (0,0) size 122x22
+          text run at (0,0) width 122: "Various Colors"
       LayoutBlockFlow (anonymous) at (0,248.59) size 784x23
         LayoutBlockFlow {INPUT} at (0,0) size 44x23 [bgcolor=#DDDDDD] [border: (1px solid #A9A9A9)]
           LayoutFlexibleBox {DIV} at (3,2) size 38x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/control-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/control-clip-expected.txt
index e0195b4..59f8276b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/control-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/control-clip-expected.txt
@@ -7,9 +7,9 @@
         LayoutText {#text} at (0,0) size 218x19
           text run at (0,0) width 218: "Tests that buttons clip their contents."
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 727x19
+        LayoutText {#text} at (0,0) size 726x19
           text run at (0,0) width 459: "Each button below should have a yellow border and a black dashed outline. "
-          text run at (459,0) width 268: "Contents should overflow the yellow border."
+          text run at (459,0) width 267: "Contents should overflow the yellow border."
       LayoutBlockFlow {P} at (0,72) size 784x50
         LayoutButton {BUTTON} at (0,0) size 100x50 [bgcolor=#C0C0C0] [border: (2px outset #FFFF00)]
           LayoutBlockFlow (anonymous) at (12,12) size 76x204
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/control-clip-overflow-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/control-clip-overflow-expected.png
index f672452d..d6170cf2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/control-clip-overflow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/control-clip-overflow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/control-clip-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/control-clip-overflow-expected.txt
index b2f9c22..8eef5e7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/control-clip-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/control-clip-overflow-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 762x39
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=17033"
-          LayoutText {#text} at (354,0) size 762x39
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 404: "REGRESSION: Really long <option> causes unnecessary page"
-            text run at (0,20) width 230: "scroll bars to accommodate content"
-        LayoutText {#text} at (229,20) size 5x19
-          text run at (229,20) width 5: "."
+        LayoutInline {I} at (0,0) size 761x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=17033"
+          LayoutText {#text} at (354,0) size 761x39
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 403: "REGRESSION: Really long <option> causes unnecessary page"
+            text run at (0,20) width 229: "scroll bars to accommodate content"
+        LayoutText {#text} at (229,20) size 4x19
+          text run at (229,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 722x19
           text run at (0,0) width 300: "There should not be scroll bars below the popup. "
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/datalist/input-appearance-range-with-padding-with-datalist-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/datalist/input-appearance-range-with-padding-with-datalist-expected.png
index 4a954a3..6e4ff18 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/datalist/input-appearance-range-with-padding-with-datalist-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/datalist/input-appearance-range-with-padding-with-datalist-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/fieldset/fieldset-align-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/fieldset/fieldset-align-expected.txt
index 636e6ced..13226b8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/fieldset/fieldset-align-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/fieldset/fieldset-align-expected.txt
@@ -35,8 +35,8 @@
           LayoutTextControl {INPUT} at (0,0) size 173x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,300.38) size 769x20
-        LayoutText {#text} at (0,0) size 137x19
-          text run at (0,0) width 137: "Legend align test, RTL"
+        LayoutText {#text} at (0,0) size 136x19
+          text run at (0,0) width 136: "Legend align test, RTL"
       LayoutBlockFlow (anonymous) at (0,336.38) size 769x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/floating-textfield-relayout-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/floating-textfield-relayout-expected.png
index 00a2295..60e768838 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/floating-textfield-relayout-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/floating-textfield-relayout-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/floating-textfield-relayout-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/floating-textfield-relayout-expected.txt
index b63bde2d..0a2e9ab 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/floating-textfield-relayout-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/floating-textfield-relayout-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 99x19
           text run at (0,0) width 99: "This is a test for "
-        LayoutInline {I} at (0,0) size 752x39
-          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
-            LayoutText {#text} at (99,0) size 350x19
-              text run at (99,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9316"
-          LayoutText {#text} at (448,0) size 752x39
-            text run at (448,0) width 5: " "
-            text run at (452,0) width 300: "REGRESSION: text field width shrinks on first"
-            text run at (0,20) width 62: "keystroke"
-        LayoutText {#text} at (61,20) size 5x19
-          text run at (61,20) width 5: "."
+        LayoutInline {I} at (0,0) size 751x39
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (99,0) size 349x19
+              text run at (99,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9316"
+          LayoutText {#text} at (448,0) size 751x39
+            text run at (448,0) width 4: " "
+            text run at (452,0) width 299: "REGRESSION: text field width shrinks on first"
+            text run at (0,20) width 61: "keystroke"
+        LayoutText {#text} at (61,20) size 4x19
+          text run at (61,20) width 4: "."
 layer at (8,64) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,74) size 784x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/form-element-geometry-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/form-element-geometry-expected.txt
index 8c268a44..f61058de 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/form-element-geometry-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/form-element-geometry-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x652.88
     LayoutBlockFlow {BODY} at (8,8) size 784x636.88
       LayoutBlockFlow {H1} at (0,0) size 784x37
-        LayoutText {#text} at (0,0) size 418x36
-          text run at (0,0) width 418: "Form Element Geometry Tests"
+        LayoutText {#text} at (0,0) size 417x36
+          text run at (0,0) width 417: "Form Element Geometry Tests"
       LayoutBlockFlow {P} at (0,58.44) size 784x20
         LayoutText {#text} at (0,0) size 514x19
           text run at (0,0) width 514: "These tests help us tune the widget classes in KWQ to have all the right fudge factors."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/formmove-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/formmove-expected.txt
index a603694..1ba2dea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/formmove-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/formmove-expected.txt
@@ -7,9 +7,9 @@
         LayoutBlockFlow {INPUT} at (5,3) size 13x13
         LayoutText {#text} at (21,1) size 31x19
           text run at (21,1) width 31: "Two "
-        LayoutBlockFlow {INPUT} at (56.88,3) size 13x13
-        LayoutText {#text} at (72,1) size 36x19
-          text run at (72,1) width 36: "Three"
+        LayoutBlockFlow {INPUT} at (57,3) size 13x13
+        LayoutText {#text} at (73,1) size 35x19
+          text run at (73,1) width 35: "Three"
       LayoutBlockFlow {FORM} at (0,37) size 784x21
         LayoutBlockFlow {INPUT} at (5,3) size 13x13
         LayoutText {#text} at (21,1) size 30x19
@@ -17,12 +17,12 @@
         LayoutBlockFlow {INPUT} at (56,3) size 13x13
         LayoutText {#text} at (72,1) size 31x19
           text run at (72,1) width 31: "Two "
-        LayoutBlockFlow {INPUT} at (107.88,3) size 13x13
-        LayoutText {#text} at (123,1) size 40x19
-          text run at (123,1) width 40: "Three "
-        LayoutBlockFlow {INPUT} at (167.88,3) size 13x13
-        LayoutText {#text} at (183,1) size 27x19
-          text run at (183,1) width 27: "One"
+        LayoutBlockFlow {INPUT} at (108,3) size 13x13
+        LayoutText {#text} at (124,1) size 39x19
+          text run at (124,1) width 39: "Three "
+        LayoutBlockFlow {INPUT} at (168,3) size 13x13
+        LayoutText {#text} at (184,1) size 26x19
+          text run at (184,1) width 26: "One"
       LayoutBlockFlow (anonymous) at (0,74) size 784x40
         LayoutText {#text} at (0,0) size 783x39
           text run at (0,0) width 480: "The count of the # of elements in form 1 should be 2 and in form 2 should be 4. "
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/image-border-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/image-border-expected.txt
index f17b29c8..751e5cb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/image-border-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/image-border-expected.txt
@@ -4,10 +4,10 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 766x39
-          text run at (0,0) width 495: "The first empty image box below should have the default grey \"no border\" border. "
-          text run at (494,0) width 272: "The second should have a 1-pixel solid black"
-          text run at (0,20) width 264: "border. They should be the same otherwise."
+        LayoutText {#text} at (0,0) size 765x39
+          text run at (0,0) width 494: "The first empty image box below should have the default grey \"no border\" border. "
+          text run at (494,0) width 271: "The second should have a 1-pixel solid black"
+          text run at (0,20) width 263: "border. They should be the same otherwise."
       LayoutBlockFlow (anonymous) at (0,56) size 784x55
         LayoutText {#text} at (0,35) size 52x19
           text run at (0,35) width 52: "border:0"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/image/image-alt-text-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/image/image-alt-text-expected.txt
index c67b1c07..23a69ae 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/image/image-alt-text-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/image/image-alt-text-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow (anonymous) at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 747x39
+        LayoutText {#text} at (0,0) size 746x39
           text run at (0,0) width 454: "This tests whether alt text is shown for image-type form input elements with "
-          text run at (454,0) width 293: "no src attribute. You should see \"Success\" twice,"
+          text run at (454,0) width 292: "no src attribute. You should see \"Success\" twice,"
           text run at (0,20) width 173: "followed by a blue rectangle."
       LayoutBlockFlow {P} at (0,56) size 784x0
       LayoutBlockFlow {FORM} at (0,56) size 784x93
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-button-sizes-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-button-sizes-expected.png
index 4314637..5921b664 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-button-sizes-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-button-sizes-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-button-sizes-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-button-sizes-expected.txt
index 6d66cd4..f390637 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-button-sizes-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-button-sizes-expected.txt
@@ -3,104 +3,104 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutButton {INPUT} at (0,9) size 40.45x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 24.45x6
-          LayoutText {#text} at (0,0) size 25x6
-            text run at (0,0) width 25: "Test Button"
-      LayoutText {#text} at (40,2) size 5x19
-        text run at (40,2) width 5: " "
-      LayoutButton {INPUT} at (44.45,9) size 46.34x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 30.34x6
-          LayoutText {#text} at (0,0) size 31x6
-            text run at (0,0) width 31: "Test Button"
-      LayoutText {#text} at (90,2) size 5x19
-        text run at (90,2) width 5: " "
-      LayoutButton {INPUT} at (94.80,8) size 53.23x13 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 37.23x7
-          LayoutText {#text} at (0,0) size 38x7
-            text run at (0,0) width 38: "Test Button"
-      LayoutText {#text} at (148,2) size 5x19
-        text run at (148,2) width 5: " "
-      LayoutButton {INPUT} at (152.03,6) size 53.13x16 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 37.13x10
-          LayoutText {#text} at (0,0) size 38x10
-            text run at (0,0) width 38: "Test Button"
-      LayoutText {#text} at (205,2) size 5x19
-        text run at (205,2) width 5: " "
-      LayoutButton {INPUT} at (209.16,5) size 63.02x18 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 47.02x12
+      LayoutButton {INPUT} at (0,9) size 40x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 24x6
+          LayoutText {#text} at (0,0) size 24x6
+            text run at (0,0) width 24: "Test Button"
+      LayoutText {#text} at (40,2) size 4x19
+        text run at (40,2) width 4: " "
+      LayoutButton {INPUT} at (44,9) size 46x12 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 30x6
+          LayoutText {#text} at (0,0) size 30x6
+            text run at (0,0) width 30: "Test Button"
+      LayoutText {#text} at (90,2) size 4x19
+        text run at (90,2) width 4: " "
+      LayoutButton {INPUT} at (94,8) size 53x13 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 37x7
+          LayoutText {#text} at (0,0) size 37x7
+            text run at (0,0) width 37: "Test Button"
+      LayoutText {#text} at (147,2) size 4x19
+        text run at (147,2) width 4: " "
+      LayoutButton {INPUT} at (151,6) size 53x16 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 37x10
+          LayoutText {#text} at (0,0) size 37x10
+            text run at (0,0) width 37: "Test Button"
+      LayoutText {#text} at (204,2) size 4x19
+        text run at (204,2) width 4: " "
+      LayoutButton {INPUT} at (208,5) size 63x18 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 47x12
           LayoutText {#text} at (0,0) size 47x12
             text run at (0,0) width 47: "Test Button"
-      LayoutText {#text} at (272,2) size 5x19
-        text run at (272,2) width 5: " "
-      LayoutButton {INPUT} at (276.17,4) size 68.91x19 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 52.91x13
+      LayoutText {#text} at (271,2) size 4x19
+        text run at (271,2) width 4: " "
+      LayoutButton {INPUT} at (275,4) size 69x19 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 53x13
           LayoutText {#text} at (0,0) size 53x13
             text run at (0,0) width 53: "Test Button"
-      LayoutText {#text} at (345,2) size 5x19
-        text run at (345,2) width 5: " "
-      LayoutButton {INPUT} at (349.08,3) size 69.78x20 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 53.78x14
+      LayoutText {#text} at (344,2) size 4x19
+        text run at (344,2) width 4: " "
+      LayoutButton {INPUT} at (348,3) size 70x20 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 54x14
           LayoutText {#text} at (0,0) size 54x14
             text run at (0,0) width 54: "Test Button"
-      LayoutText {#text} at (418,2) size 5x19
-        text run at (418,2) width 5: " "
-      LayoutButton {INPUT} at (422.86,2) size 76.67x21 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 60.67x15
+      LayoutText {#text} at (418,2) size 4x19
+        text run at (418,2) width 4: " "
+      LayoutButton {INPUT} at (422,2) size 77x21 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 61x15
           LayoutText {#text} at (0,0) size 61x15
             text run at (0,0) width 61: "Test Button"
-      LayoutText {#text} at (499,2) size 5x19
-        text run at (499,2) width 5: " "
-      LayoutButton {INPUT} at (503.53,1) size 81.56x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 65.56x16
+      LayoutText {#text} at (499,2) size 4x19
+        text run at (499,2) width 4: " "
+      LayoutButton {INPUT} at (503,1) size 82x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 66x16
           LayoutText {#text} at (0,0) size 66x16
             text run at (0,0) width 66: "Test Button"
-      LayoutText {#text} at (585,2) size 5x19
-        text run at (585,2) width 5: " "
-      LayoutButton {INPUT} at (589.09,1) size 87.45x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 71.45x16
-          LayoutText {#text} at (0,0) size 72x16
-            text run at (0,0) width 72: "Test Button"
-      LayoutText {#text} at (676,2) size 5x19
-        text run at (676,2) width 5: " "
-      LayoutButton {INPUT} at (680.55,0) size 89.34x23 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 73.34x17
-          LayoutText {#text} at (0,0) size 74x17
-            text run at (0,0) width 74: "Test Button"
-      LayoutText {#text} at (769,2) size 5x19
-        text run at (769,2) width 5: " "
-      LayoutButton {INPUT} at (0,27) size 92.23x25 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 76.23x19
-          LayoutText {#text} at (0,0) size 77x18
-            text run at (0,0) width 77: "Test Button"
-      LayoutText {#text} at (92,30) size 5x19
-        text run at (92,30) width 5: " "
-      LayoutButton {INPUT} at (96.23,27) size 95.13x26 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 79.13x20
-          LayoutText {#text} at (0,0) size 80x19
-            text run at (0,0) width 80: "Test Button"
-      LayoutText {#text} at (191,30) size 5x19
-        text run at (191,30) width 5: " "
-      LayoutButton {INPUT} at (195.36,25) size 107.02x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 91.02x22
+      LayoutText {#text} at (585,2) size 4x19
+        text run at (585,2) width 4: " "
+      LayoutButton {INPUT} at (589,1) size 87x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 71x16
+          LayoutText {#text} at (0,0) size 71x16
+            text run at (0,0) width 71: "Test Button"
+      LayoutText {#text} at (676,2) size 4x19
+        text run at (676,2) width 4: " "
+      LayoutButton {INPUT} at (680,0) size 89x23 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 73x17
+          LayoutText {#text} at (0,0) size 73x17
+            text run at (0,0) width 73: "Test Button"
+      LayoutText {#text} at (769,2) size 4x19
+        text run at (769,2) width 4: " "
+      LayoutButton {INPUT} at (0,27) size 92x25 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 76x19
+          LayoutText {#text} at (0,0) size 76x18
+            text run at (0,0) width 76: "Test Button"
+      LayoutText {#text} at (92,30) size 4x19
+        text run at (92,30) width 4: " "
+      LayoutButton {INPUT} at (96,27) size 95x26 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 79x20
+          LayoutText {#text} at (0,0) size 79x19
+            text run at (0,0) width 79: "Test Button"
+      LayoutText {#text} at (191,30) size 4x19
+        text run at (191,30) width 4: " "
+      LayoutButton {INPUT} at (195,25) size 107x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 91x22
           LayoutText {#text} at (0,0) size 91x21
             text run at (0,0) width 91: "Test Button"
-      LayoutText {#text} at (302,30) size 5x19
-        text run at (302,30) width 5: " "
-      LayoutButton {INPUT} at (306.38,24) size 110.91x29 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 94.91x23
+      LayoutText {#text} at (302,30) size 4x19
+        text run at (302,30) width 4: " "
+      LayoutButton {INPUT} at (306,24) size 111x29 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 95x23
           LayoutText {#text} at (0,0) size 95x22
             text run at (0,0) width 95: "Test Button"
-      LayoutText {#text} at (417,30) size 5x19
-        text run at (417,30) width 5: " "
-      LayoutButton {INPUT} at (421.28,23) size 114.80x30 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 98.80x24
+      LayoutText {#text} at (417,30) size 4x19
+        text run at (417,30) width 4: " "
+      LayoutButton {INPUT} at (421,23) size 115x30 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 99x24
           LayoutText {#text} at (0,0) size 99x23
             text run at (0,0) width 99: "Test Button"
-      LayoutText {#text} at (536,30) size 5x19
-        text run at (536,30) width 5: " "
-      LayoutButton {INPUT} at (540.08,23) size 120.69x31 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-        LayoutBlockFlow (anonymous) at (8,3) size 104.69x25
+      LayoutText {#text} at (536,30) size 4x19
+        text run at (536,30) width 4: " "
+      LayoutButton {INPUT} at (540,23) size 121x31 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+        LayoutBlockFlow (anonymous) at (8,3) size 105x25
           LayoutText {#text} at (0,0) size 105x24
             text run at (0,0) width 105: "Test Button"
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-type-text-min-width-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-type-text-min-width-expected.txt
index c5207c3..cd2d2d2e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-type-text-min-width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-type-text-min-width-expected.txt
@@ -6,7 +6,7 @@
       LayoutText {#text} at (0,0) size 760x39
         text run at (0,0) width 760: "This test checks if correct min width is applied to \"input type=text\". To match IE and Firefox, the input field below should show"
         text run at (0,20) width 547: "\"1987\", with the 7 slightly truncated. See https://bugs.webkit.org/show_bug.cgi?id=15312 ."
-      LayoutBR {BR} at (546,35) size 1x0
+      LayoutBR {BR} at (547,35) size 0x0
       LayoutTextControl {INPUT} at (0,40) size 40x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
       LayoutText {#text} at (0,0) size 0x0
 layer at (10,51) size 36x16 scrollWidth 43
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-value-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-value-expected.txt
index 2cc5b40..a4b942c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-value-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-value-expected.txt
@@ -4,12 +4,12 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 740x39
-          text run at (0,0) width 740: "Results that match WinIE are two columns on the right that say \"after\" every time, except for the last row which should have"
+        LayoutText {#text} at (0,0) size 739x39
+          text run at (0,0) width 739: "Results that match WinIE are two columns on the right that say \"after\" every time, except for the last row which should have"
           text run at (0,20) width 145: "nothing in either column."
       LayoutBlockFlow {P} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 676x19
-          text run at (0,0) width 676: "Results that match Gecko are like WinIE, but with \"before\" for the attribute in the first two rows and the last row."
+        LayoutText {#text} at (0,0) size 675x19
+          text run at (0,0) width 675: "Results that match Gecko are like WinIE, but with \"before\" for the attribute in the first two rows and the last row."
       LayoutBlockFlow {FORM} at (0,102) size 784x376
         LayoutTable {TABLE} at (0,0) size 734x376
           LayoutTableSection {THEAD} at (0,0) size 734x26
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/negativeLineHeight-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/negativeLineHeight-expected.txt
index 00c5a096..ead811e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/negativeLineHeight-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/negativeLineHeight-expected.txt
@@ -10,7 +10,7 @@
       LayoutBlockFlow {P} at (0,36) size 784x245
         LayoutText {#text} at (0,0) size 78x19
           text run at (0,0) width 78: "TEXTAREA"
-        LayoutBR {BR} at (77,15) size 1x0
+        LayoutBR {BR} at (78,15) size 0x0
         LayoutText {#text} at (400,205) size 4x19
           text run at (400,205) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/range/slider-thumb-shared-style-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/range/slider-thumb-shared-style-expected.png
index d15be15e..85d4e9b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/range/slider-thumb-shared-style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/range/slider-thumb-shared-style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/range/slider-thumb-shared-style-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/range/slider-thumb-shared-style-expected.txt
index 40c8320..9e9a505 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/range/slider-thumb-shared-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/range/slider-thumb-shared-style-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 714x19
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=13800"
-          LayoutText {#text} at (354,0) size 409x19
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 405: "REGRESSION: Moving a slider moves another unrelated slider"
-        LayoutText {#text} at (762,0) size 5x19
-          text run at (762,0) width 5: "."
+        LayoutInline {I} at (0,0) size 712x19
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=13800"
+          LayoutText {#text} at (354,0) size 408x19
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 404: "REGRESSION: Moving a slider moves another unrelated slider"
+        LayoutText {#text} at (762,0) size 4x19
+          text run at (762,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 266x19
           text run at (0,0) width 266: "The first slider\x{2019}s thumb should be on the left."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/search/search-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/search/search-rtl-expected.png
index 66a732f..44cac638 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/search/search-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/search/search-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/search/search-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/search/search-rtl-expected.txt
index 20b540e..976c44c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/search/search-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/search/search-rtl-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 699x19
-          LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 305x19
-              text run at (49,0) width 305: "http://bugs.webkit.org/show_bug.cgi?id=11916"
-          LayoutText {#text} at (353,0) size 395x19
-            text run at (353,0) width 5: " "
-            text run at (357,0) width 391: "REGRESSION (SearchField): RTL search fields are mixed up"
-        LayoutText {#text} at (747,0) size 5x19
-          text run at (747,0) width 5: "."
+        LayoutInline {I} at (0,0) size 696x19
+          LayoutInline {A} at (0,0) size 303x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 303x19
+              text run at (50,0) width 303: "http://bugs.webkit.org/show_bug.cgi?id=11916"
+          LayoutText {#text} at (353,0) size 393x19
+            text run at (353,0) width 4: " "
+            text run at (357,0) width 389: "REGRESSION (SearchField): RTL search fields are mixed up"
+        LayoutText {#text} at (746,0) size 4x19
+          text run at (746,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x66
         LayoutTextControl {INPUT} at (0,0) size 175x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
           LayoutFlexibleBox {DIV} at (3,3) size 169x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/search/search-vertical-alignment-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/search/search-vertical-alignment-expected.txt
index 03fc377a..ee28f20 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/search/search-vertical-alignment-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/search/search-vertical-alignment-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 783x39
           text run at (0,0) width 397: "Test that search field text is vertically centered if the search field is "
-          text run at (396,0) width 387: "taller than the text. In each of the following pairs of a search field"
+          text run at (397,0) width 386: "taller than the text. In each of the following pairs of a search field"
           text run at (0,20) width 26: "and "
           text run at (26,20) width 338: "a text field, the vertical position of the text should be the "
           text run at (364,20) width 115: "same in both fields."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/HTMLOptionElement_label01-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/HTMLOptionElement_label01-expected.txt
index 8d24426e..929daba 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/HTMLOptionElement_label01-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/HTMLOptionElement_label01-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 639x19
-        text run at (0,0) width 639: "In the selection list below, the text 'The label for this element is \"1\"' should appear, and not the character '1'"
-      LayoutBR {BR} at (638,15) size 1x0
+      LayoutText {#text} at (0,0) size 638x19
+        text run at (0,0) width 638: "In the selection list below, the text 'The label for this element is \"1\"' should appear, and not the character '1'"
+      LayoutBR {BR} at (638,15) size 0x0
       LayoutMenuList {SELECT} at (0,20) size 199x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 197x18
           LayoutText (anonymous) at (4,1) size 177x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/HTMLOptionElement_label02-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/HTMLOptionElement_label02-expected.txt
index f70ec4c7..bc04dad 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/HTMLOptionElement_label02-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/HTMLOptionElement_label02-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 283x19
-        text run at (0,0) width 283: "With the label empty, the enclosing text is used."
-      LayoutBR {BR} at (282,15) size 1x0
+      LayoutText {#text} at (0,0) size 282x19
+        text run at (0,0) width 282: "With the label empty, the enclosing text is used."
+      LayoutBR {BR} at (282,15) size 0x0
       LayoutMenuList {SELECT} at (0,20) size 323x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 321x18
           LayoutText (anonymous) at (4,1) size 301x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/HTMLOptionElement_label05-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/HTMLOptionElement_label05-expected.txt
index 337a835..e76c7a66 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/HTMLOptionElement_label05-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/HTMLOptionElement_label05-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 630x19
         text run at (0,0) width 630: "In the list box below, the text \"This text should appear\" should be shown as the first entry into the list box."
-      LayoutBR {BR} at (629,15) size 1x0
+      LayoutBR {BR} at (630,15) size 0x0
       LayoutText {#text} at (0,0) size 0x0
 layer at (8,28) size 156x87 clip at (9,29) size 139x85
   LayoutListBox {SELECT} at (0,20) size 156x87 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/basic-selects-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/basic-selects-expected.png
index f78c193..681031a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/basic-selects-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/basic-selects-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/basic-selects-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/basic-selects-expected.txt
index 8cdcd547..b094809 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/basic-selects-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/basic-selects-expected.txt
@@ -102,19 +102,19 @@
         LayoutBR {BR} at (1,237) size 0x19
         LayoutText {#text} at (1,260) size 453x19
           text run at (1,260) width 453: "Height larger than font-size, button should grow, text baseline should center:"
-        LayoutMenuList {SELECT} at (453.67,255) size 41x30 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutMenuList {SELECT} at (454,255) size 41x30 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
           LayoutBlockFlow (anonymous) at (1,6) size 39x18
             LayoutText (anonymous) at (4,1) size 17x16
               text run at (4,1) width 17: "foo"
-        LayoutText {#text} at (494,260) size 8x19
-          text run at (494,260) width 8: "a"
-        LayoutMenuList {SELECT} at (501.67,255) size 41x30 [color=#808080] [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutText {#text} at (495,260) size 7x19
+          text run at (495,260) width 7: "a"
+        LayoutMenuList {SELECT} at (502,255) size 41x30 [color=#808080] [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
           LayoutBlockFlow (anonymous) at (1,6) size 39x18
             LayoutText (anonymous) at (4,1) size 4x16
               text run at (4,1) width 4: " "
-        LayoutText {#text} at (542,260) size 9x19
-          text run at (542,260) width 9: "b"
-        LayoutBR {BR} at (550,260) size 1x19
+        LayoutText {#text} at (543,260) size 8x19
+          text run at (543,260) width 8: "b"
+        LayoutBR {BR} at (551,260) size 0x19
         LayoutBR {BR} at (1,283) size 0x19
         LayoutText {#text} at (1,301) size 456x19
           text run at (1,301) width 456: "Height smaller than font-size, whole select shrinks but baseline is unchanged:"
@@ -135,40 +135,40 @@
         LayoutText {#text} at (1,333) size 159x19
           text run at (1,333) width 159: "select control with size=0: "
         LayoutBR {BR} at (160,333) size 0x19
-        LayoutMenuList {SELECT} at (1,351) size 203x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-          LayoutBlockFlow (anonymous) at (1,1) size 201x18
+        LayoutMenuList {SELECT} at (1,351) size 202x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+          LayoutBlockFlow (anonymous) at (1,1) size 200x18
             LayoutText (anonymous) at (4,1) size 78x16
               text run at (4,1) width 78: "Future Series"
-        LayoutText {#text} at (204,351) size 4x19
-          text run at (204,351) width 4: " "
+        LayoutText {#text} at (203,351) size 4x19
+          text run at (203,351) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
         LayoutText {#text} at (1,369) size 159x19
           text run at (1,369) width 159: "select control with size=1: "
         LayoutBR {BR} at (160,369) size 0x19
-        LayoutMenuList {SELECT} at (1,387) size 203x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-          LayoutBlockFlow (anonymous) at (1,1) size 201x18
+        LayoutMenuList {SELECT} at (1,387) size 202x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+          LayoutBlockFlow (anonymous) at (1,1) size 200x18
             LayoutText (anonymous) at (4,1) size 78x16
               text run at (4,1) width 78: "Future Series"
-        LayoutText {#text} at (204,387) size 4x19
-          text run at (204,387) width 4: " "
+        LayoutText {#text} at (203,387) size 4x19
+          text run at (203,387) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
         LayoutText {#text} at (1,405) size 159x19
           text run at (1,405) width 159: "Non-styled select control: "
         LayoutBR {BR} at (160,405) size 0x19
-        LayoutMenuList {SELECT} at (1,423) size 223x40 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-          LayoutBlockFlow (anonymous) at (11,11) size 201x18
+        LayoutMenuList {SELECT} at (1,423) size 222x40 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+          LayoutBlockFlow (anonymous) at (11,11) size 200x18
             LayoutText (anonymous) at (4,1) size 78x16
               text run at (4,1) width 78: "Future Series"
-        LayoutText {#text} at (224,433) size 4x19
-          text run at (224,433) width 4: " "
+        LayoutText {#text} at (223,433) size 4x19
+          text run at (223,433) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
         LayoutText {#text} at (1,461) size 278x19
           text run at (1,461) width 278: "Styled select control with large border-radius: "
-        LayoutBR {BR} at (278,461) size 1x19
-        LayoutMenuList {SELECT} at (1,479) size 223x40 [bgcolor=#33CCFF] [border: (1px solid #A9A9A9)]
-          LayoutBlockFlow (anonymous) at (11,11) size 201x18
+        LayoutBR {BR} at (279,461) size 0x19
+        LayoutMenuList {SELECT} at (1,479) size 222x40 [bgcolor=#33CCFF] [border: (1px solid #A9A9A9)]
+          LayoutBlockFlow (anonymous) at (11,11) size 200x18
             LayoutText (anonymous) at (4,1) size 78x16
               text run at (4,1) width 78: "Future Series"
-        LayoutText {#text} at (224,489) size 4x19
-          text run at (224,489) width 4: " "
+        LayoutText {#text} at (223,489) size 4x19
+          text run at (223,489) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/disabled-select-change-index-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/disabled-select-change-index-expected.png
index 1ea22d7..ca001617 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/disabled-select-change-index-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/disabled-select-change-index-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/disabled-select-change-index-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/disabled-select-change-index-expected.txt
index e021ec9..8140fac 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/disabled-select-change-index-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/disabled-select-change-index-expected.txt
@@ -3,83 +3,83 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutMenuList {SELECT} at (0,0) size 58x20 [color=#808080] [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 56x18
+      LayoutMenuList {SELECT} at (0,0) size 57x20 [color=#808080] [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutBlockFlow (anonymous) at (1,1) size 55x18
           LayoutText (anonymous) at (4,1) size 35x16
             text run at (4,1) width 35: "PASS"
-      LayoutBR {BR} at (58,15) size 0x0
-      LayoutMenuList {SELECT} at (0,20) size 58x20 [color=#808080] [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 56x18
+      LayoutBR {BR} at (57,15) size 0x0
+      LayoutMenuList {SELECT} at (0,20) size 57x20 [color=#808080] [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutBlockFlow (anonymous) at (1,1) size 55x18
           LayoutText (anonymous) at (4,1) size 35x16
             text run at (4,1) width 35: "PASS"
-      LayoutBR {BR} at (58,35) size 0x0
-      LayoutMenuList {SELECT} at (0,40) size 58x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 56x18
+      LayoutBR {BR} at (57,35) size 0x0
+      LayoutMenuList {SELECT} at (0,40) size 57x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutBlockFlow (anonymous) at (1,1) size 55x18
           LayoutText (anonymous) at (4,1) size 35x16
             text run at (4,1) width 35: "PASS"
-      LayoutBR {BR} at (58,55) size 0x0
-      LayoutMenuList {SELECT} at (0,60) size 58x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 56x18
+      LayoutBR {BR} at (57,55) size 0x0
+      LayoutMenuList {SELECT} at (0,60) size 57x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutBlockFlow (anonymous) at (1,1) size 55x18
           LayoutText (anonymous) at (4,1) size 35x16
             text run at (4,1) width 35: "PASS"
-      LayoutBR {BR} at (58,75) size 0x0
-      LayoutBR {BR} at (56,112) size 1x0
-      LayoutBR {BR} at (56,148) size 1x0
-      LayoutBR {BR} at (56,184) size 1x0
-      LayoutBR {BR} at (56,220) size 1x0
+      LayoutBR {BR} at (57,75) size 0x0
+      LayoutBR {BR} at (56,112) size 0x0
+      LayoutBR {BR} at (56,148) size 0x0
+      LayoutBR {BR} at (56,184) size 0x0
+      LayoutBR {BR} at (56,220) size 0x0
       LayoutText {#text} at (0,224) size 471x19
         text run at (0,224) width 471: "PASS: sel1 correctly set to selectedIndex 1 by sel1.options[1].selected = true."
-      LayoutBR {BR} at (470,239) size 1x0
+      LayoutBR {BR} at (471,239) size 0x0
       LayoutText {#text} at (0,244) size 424x19
         text run at (0,244) width 424: "PASS: sel2 correctly set to selectedIndex 1 by sel2.selectedIndex = 1."
-      LayoutBR {BR} at (423,259) size 1x0
+      LayoutBR {BR} at (424,259) size 0x0
       LayoutText {#text} at (0,264) size 471x19
         text run at (0,264) width 471: "PASS: sel3 correctly set to selectedIndex 1 by sel3.options[1].selected = true."
-      LayoutBR {BR} at (470,279) size 1x0
+      LayoutBR {BR} at (471,279) size 0x0
       LayoutText {#text} at (0,284) size 424x19
         text run at (0,284) width 424: "PASS: sel4 correctly set to selectedIndex 1 by sel4.selectedIndex = 1."
-      LayoutBR {BR} at (423,299) size 1x0
+      LayoutBR {BR} at (424,299) size 0x0
       LayoutText {#text} at (0,304) size 471x19
         text run at (0,304) width 471: "PASS: sel5 correctly set to selectedIndex 1 by sel5.options[1].selected = true."
-      LayoutBR {BR} at (470,319) size 1x0
+      LayoutBR {BR} at (471,319) size 0x0
       LayoutText {#text} at (0,324) size 424x19
         text run at (0,324) width 424: "PASS: sel6 correctly set to selectedIndex 1 by sel6.selectedIndex = 1."
-      LayoutBR {BR} at (423,339) size 1x0
+      LayoutBR {BR} at (424,339) size 0x0
       LayoutText {#text} at (0,344) size 471x19
         text run at (0,344) width 471: "PASS: sel7 correctly set to selectedIndex 1 by sel7.options[1].selected = true."
-      LayoutBR {BR} at (470,359) size 1x0
+      LayoutBR {BR} at (471,359) size 0x0
       LayoutText {#text} at (0,364) size 424x19
         text run at (0,364) width 424: "PASS: sel8 correctly set to selectedIndex 1 by sel8.selectedIndex = 1."
-      LayoutBR {BR} at (423,379) size 1x0
+      LayoutBR {BR} at (424,379) size 0x0
 layer at (8,88) size 56x36 clip at (9,89) size 39x34
-  LayoutListBox {SELECT} at (0,80) size 56.02x36 [color=#808080] [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 39.02x17
-      LayoutText {#text} at (2,0) size 27x16
-        text run at (2,0) width 27: "FAIL"
-    LayoutBlockFlow {OPTION} at (1,18) size 39.02x17 [bgcolor=#999999]
+  LayoutListBox {SELECT} at (0,80) size 56x36 [color=#808080] [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 39x17
+      LayoutText {#text} at (2,0) size 26x16
+        text run at (2,0) width 26: "FAIL"
+    LayoutBlockFlow {OPTION} at (1,18) size 39x17 [bgcolor=#999999]
       LayoutText {#text} at (2,0) size 35x16
         text run at (2,0) width 35: "PASS"
 layer at (8,124) size 56x36 clip at (9,125) size 39x34
-  LayoutListBox {SELECT} at (0,116) size 56.02x36 [color=#808080] [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 39.02x17
-      LayoutText {#text} at (2,0) size 27x16
-        text run at (2,0) width 27: "FAIL"
-    LayoutBlockFlow {OPTION} at (1,18) size 39.02x17 [bgcolor=#999999]
+  LayoutListBox {SELECT} at (0,116) size 56x36 [color=#808080] [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 39x17
+      LayoutText {#text} at (2,0) size 26x16
+        text run at (2,0) width 26: "FAIL"
+    LayoutBlockFlow {OPTION} at (1,18) size 39x17 [bgcolor=#999999]
       LayoutText {#text} at (2,0) size 35x16
         text run at (2,0) width 35: "PASS"
 layer at (8,160) size 56x36 clip at (9,161) size 39x34
-  LayoutListBox {SELECT} at (0,152) size 56.02x36 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 39.02x17
-      LayoutText {#text} at (2,0) size 27x16
-        text run at (2,0) width 27: "FAIL"
-    LayoutBlockFlow {OPTION} at (1,18) size 39.02x17 [color=#808080] [bgcolor=#999999]
+  LayoutListBox {SELECT} at (0,152) size 56x36 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 39x17
+      LayoutText {#text} at (2,0) size 26x16
+        text run at (2,0) width 26: "FAIL"
+    LayoutBlockFlow {OPTION} at (1,18) size 39x17 [color=#808080] [bgcolor=#999999]
       LayoutText {#text} at (2,0) size 35x16
         text run at (2,0) width 35: "PASS"
 layer at (8,196) size 56x36 clip at (9,197) size 39x34
-  LayoutListBox {SELECT} at (0,188) size 56.02x36 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 39.02x17
-      LayoutText {#text} at (2,0) size 27x16
-        text run at (2,0) width 27: "FAIL"
-    LayoutBlockFlow {OPTION} at (1,18) size 39.02x17 [color=#808080] [bgcolor=#999999]
+  LayoutListBox {SELECT} at (0,188) size 56x36 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 39x17
+      LayoutText {#text} at (2,0) size 26x16
+        text run at (2,0) width 26: "FAIL"
+    LayoutBlockFlow {OPTION} at (1,18) size 39x17 [color=#808080] [bgcolor=#999999]
       LayoutText {#text} at (2,0) size 35x16
         text run at (2,0) width 35: "PASS"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/listbox-scrollbar-incremental-load-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/listbox-scrollbar-incremental-load-expected.png
index bb894795..233e1c0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/listbox-scrollbar-incremental-load-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/listbox-scrollbar-incremental-load-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/listbox-scrollbar-incremental-load-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/listbox-scrollbar-incremental-load-expected.txt
index 7a3e01a..33c4950 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/listbox-scrollbar-incremental-load-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/listbox-scrollbar-incremental-load-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 769x39
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=13500"
-          LayoutText {#text} at (354,0) size 769x39
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 411: "REGRESSION: Listbox scrollbar does not reflect actual scrolled"
+        LayoutInline {I} at (0,0) size 767x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=13500"
+          LayoutText {#text} at (354,0) size 767x39
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 409: "REGRESSION: Listbox scrollbar does not reflect actual scrolled"
             text run at (0,20) width 325: "position when selected option is added after layout"
         LayoutText {#text} at (325,20) size 4x19
           text run at (325,20) width 4: "."
@@ -30,8 +30,8 @@
       LayoutText {#text} at (2,0) size 24x16
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (1,18) size 39x17
-      LayoutText {#text} at (2,0) size 23x16
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x16
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTION} at (1,35) size 39x17
       LayoutText {#text} at (2,0) size 32x16
         text run at (2,0) width 32: "Three"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/listbox-with-display-none-option-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/listbox-with-display-none-option-expected.txt
index 4a1d0ef..46ab2ed5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/listbox-with-display-none-option-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/listbox-with-display-none-option-expected.txt
@@ -24,8 +24,8 @@
       LayoutText {#text} at (2,0) size 24x16
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (1,18) size 39x17
-      LayoutText {#text} at (2,0) size 23x16
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x16
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTION} at (1,35) size 39x17
       LayoutText {#text} at (2,0) size 32x16
         text run at (2,0) width 32: "Three"
@@ -44,8 +44,8 @@
       LayoutText {#text} at (2,0) size 24x16
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (1,18) size 48x17
-      LayoutText {#text} at (2,0) size 23x16
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x16
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTION} at (1,35) size 48x17
       LayoutText {#text} at (2,0) size 32x16
         text run at (2,0) width 32: "Three"
@@ -68,8 +68,8 @@
       LayoutText {#text} at (2,0) size 24x16
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (1,18) size 48x17
-      LayoutText {#text} at (2,0) size 23x16
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x16
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTGROUP} at (1,35) size 48x34
       LayoutBlockFlow {DIV} at (0,0) size 48x17
         LayoutText {#text} at (2,0) size 44x16
@@ -92,8 +92,8 @@
       LayoutText {#text} at (2,0) size 24x16
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (1,18) size 39x17
-      LayoutText {#text} at (2,0) size 23x16
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x16
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTION} at (1,35) size 39x17
       LayoutText {#text} at (2,0) size 32x16
         text run at (2,0) width 32: "Three"
@@ -106,8 +106,8 @@
       LayoutText {#text} at (2,0) size 24x16
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (1,18) size 39x17
-      LayoutText {#text} at (2,0) size 23x16
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x16
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTION} at (1,35) size 39x17
       LayoutText {#text} at (2,0) size 32x16
         text run at (2,0) width 32: "Three"
@@ -120,8 +120,8 @@
       LayoutText {#text} at (2,0) size 24x16
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (1,18) size 46x17
-      LayoutText {#text} at (2,0) size 23x16
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x16
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTION} at (1,35) size 46x17
       LayoutText {#text} at (2,0) size 32x16
         text run at (2,0) width 32: "Three"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-basic-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-basic-expected.txt
index 63a2184..2a42935 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-basic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-basic-expected.txt
@@ -644,8 +644,8 @@
       LayoutText {#text} at (2,0) size 49x16
         text run at (2,0) width 49: "Item 110"
     LayoutBlockFlow {OPTION} at (1,1871) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 49x16
-        text run at (2,0) width 49: "Item 111"
+      LayoutText {#text} at (2,0) size 48x16
+        text run at (2,0) width 48: "Item 111"
     LayoutBlockFlow {OPTION} at (1,1888) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 49x16
         text run at (2,0) width 49: "Item 112"
@@ -3641,35 +3641,35 @@
       LayoutText {#text} at (2,0) size 56x16
         text run at (2,0) width 56: "Item 1109"
     LayoutBlockFlow {OPTION} at (1,18854) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 56x16
-        text run at (2,0) width 56: "Item 1110"
-    LayoutBlockFlow {OPTION} at (1,18871) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 55x16
-        text run at (2,0) width 55: "Item 1111"
+        text run at (2,0) width 55: "Item 1110"
+    LayoutBlockFlow {OPTION} at (1,18871) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
+      LayoutText {#text} at (2,0) size 54x16
+        text run at (2,0) width 54: "Item 1111"
     LayoutBlockFlow {OPTION} at (1,18888) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 56x16
-        text run at (2,0) width 56: "Item 1112"
+      LayoutText {#text} at (2,0) size 55x16
+        text run at (2,0) width 55: "Item 1112"
     LayoutBlockFlow {OPTION} at (1,18905) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 56x16
-        text run at (2,0) width 56: "Item 1113"
+      LayoutText {#text} at (2,0) size 55x16
+        text run at (2,0) width 55: "Item 1113"
     LayoutBlockFlow {OPTION} at (1,18922) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 56x16
-        text run at (2,0) width 56: "Item 1114"
+      LayoutText {#text} at (2,0) size 55x16
+        text run at (2,0) width 55: "Item 1114"
     LayoutBlockFlow {OPTION} at (1,18939) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 56x16
-        text run at (2,0) width 56: "Item 1115"
+      LayoutText {#text} at (2,0) size 55x16
+        text run at (2,0) width 55: "Item 1115"
     LayoutBlockFlow {OPTION} at (1,18956) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 56x16
-        text run at (2,0) width 56: "Item 1116"
+      LayoutText {#text} at (2,0) size 55x16
+        text run at (2,0) width 55: "Item 1116"
     LayoutBlockFlow {OPTION} at (1,18973) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 56x16
-        text run at (2,0) width 56: "Item 1117"
+      LayoutText {#text} at (2,0) size 55x16
+        text run at (2,0) width 55: "Item 1117"
     LayoutBlockFlow {OPTION} at (1,18990) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 56x16
-        text run at (2,0) width 56: "Item 1118"
+      LayoutText {#text} at (2,0) size 55x16
+        text run at (2,0) width 55: "Item 1118"
     LayoutBlockFlow {OPTION} at (1,19007) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
-      LayoutText {#text} at (2,0) size 56x16
-        text run at (2,0) width 56: "Item 1119"
+      LayoutText {#text} at (2,0) size 55x16
+        text run at (2,0) width 55: "Item 1119"
     LayoutBlockFlow {OPTION} at (1,19024) size 183x17 [color=#323232] [bgcolor=#C8C8C8]
       LayoutText {#text} at (2,0) size 56x16
         text run at (2,0) width 56: "Item 1120"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-none-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-none-expected.png
index 8b8332b..aa4dc07 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-none-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-none-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-none-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-none-expected.txt
index 3860fc8..8abeef0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-none-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-none-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 111x19
           text run at (0,0) width 111: "Rendering test for "
-        LayoutInline {I} at (0,0) size 779x39
-          LayoutInline {A} at (0,0) size 410x19 [color=#0000EE]
-            LayoutText {#text} at (111,0) size 410x19
-              text run at (111,0) width 410: "https://bugs.chromium.org/p/chromium/issues/detail?id=626278"
-          LayoutText {#text} at (520,0) size 779x39
-            text run at (520,0) width 5: " "
-            text run at (524,0) width 255: "Regression: HTML Select's text appears"
+        LayoutInline {I} at (0,0) size 777x39
+          LayoutInline {A} at (0,0) size 408x19 [color=#0000EE]
+            LayoutText {#text} at (111,0) size 408x19
+              text run at (111,0) width 408: "https://bugs.chromium.org/p/chromium/issues/detail?id=626278"
+          LayoutText {#text} at (519,0) size 777x39
+            text run at (519,0) width 4: " "
+            text run at (523,0) width 254: "Regression: HTML Select's text appears"
             text run at (0,20) width 234: "chopped if appearance is set to none"
         LayoutText {#text} at (234,20) size 4x19
           text run at (234,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-rtl-expected.txt
index afca14e..e1f63d5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-rtl-expected.txt
@@ -67,8 +67,8 @@
                 text run at (4,1) width 91 RTL: "\x{627}\x{644}\x{627}\x{642}\x{62A}\x{631}\x{627}\x{62D}\x{627}\x{62A} / \x{627}\x{644}\x{634}\x{643}\x{627}\x{648}\x{64A}"
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,343) size 784x20
-        LayoutText {#text} at (0,0) size 659x19
-          text run at (0,0) width 659: "Verify that the alignment and writing direction of each selected item matches the one below the pop-up button."
+        LayoutText {#text} at (0,0) size 658x19
+          text run at (0,0) width 658: "Verify that the alignment and writing direction of each selected item matches the one below the pop-up button."
 layer at (8,268) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,252) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,341) size 784x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-clip-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-clip-expected.png
index dbbde7ae..87a1bbd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-clip-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-clip-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-clip-expected.txt
index 9bc2b473..c448a71d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-clip-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 111x19
           text run at (0,0) width 111: "Rendering test for "
-        LayoutInline {I} at (0,0) size 765x39
-          LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
-            LayoutText {#text} at (111,0) size 305x19
-              text run at (111,0) width 305: "http://bugs.webkit.org/show_bug.cgi?id=15156"
-          LayoutText {#text} at (415,0) size 765x39
-            text run at (415,0) width 5: " "
-            text run at (419,0) width 346: "REGRESSION (r24594-r24668): The bottom of styled"
+        LayoutInline {I} at (0,0) size 764x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (111,0) size 304x19
+              text run at (111,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=15156"
+          LayoutText {#text} at (415,0) size 764x39
+            text run at (415,0) width 4: " "
+            text run at (419,0) width 345: "REGRESSION (r24594-r24668): The bottom of styled"
             text run at (0,20) width 222: "<select> button text is clipped out"
         LayoutText {#text} at (222,20) size 4x19
           text run at (222,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-deselect-update-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-deselect-update-expected.png
index 1270699..00de79753 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-deselect-update-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-deselect-update-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-deselect-update-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-deselect-update-expected.txt
index 37e7aa7..08e6aea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-deselect-update-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-deselect-update-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 68x19
         text run at (0,0) width 68: "Test result: "
-      LayoutMenuList {SELECT} at (67.88,0) size 58x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 56x18
+      LayoutMenuList {SELECT} at (68,0) size 57x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutBlockFlow (anonymous) at (1,1) size 55x18
           LayoutText (anonymous) at (4,1) size 35x16
             text run at (4,1) width 35: "PASS"
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-narrow-width-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-narrow-width-expected.txt
index ba55ba6..27cab6a5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-narrow-width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-narrow-width-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 478x19
         text run at (0,0) width 478: "This tests that select elements with a narrow width (1px) are rendered correctly."
-      LayoutBR {BR} at (477,15) size 1x0
+      LayoutBR {BR} at (478,15) size 0x0
       LayoutMenuList {SELECT} at (0,20) size 2x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 20x18
           LayoutText (anonymous) at (4,1) size 22x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-option-wrap-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-option-wrap-expected.png
index 3ec42fe..cda3e5d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-option-wrap-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-option-wrap-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-option-wrap-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-option-wrap-expected.txt
index edc0a8c..579af971 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-option-wrap-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-option-wrap-expected.txt
@@ -6,38 +6,38 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 584x19
-          LayoutInline {A} at (0,0) size 305x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 305x19
-              text run at (49,0) width 305: "http://bugs.webkit.org/show_bug.cgi?id=11362"
-          LayoutText {#text} at (353,0) size 280x19
-            text run at (353,0) width 5: " "
-            text run at (357,0) width 276: "Native popup with size=\"1\" wraps options"
-        LayoutText {#text} at (632,0) size 5x19
-          text run at (632,0) width 5: "."
+        LayoutInline {I} at (0,0) size 582x19
+          LayoutInline {A} at (0,0) size 303x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 303x19
+              text run at (50,0) width 303: "http://bugs.webkit.org/show_bug.cgi?id=11362"
+          LayoutText {#text} at (353,0) size 279x19
+            text run at (353,0) width 4: " "
+            text run at (357,0) width 275: "Native popup with size=\"1\" wraps options"
+        LayoutText {#text} at (632,0) size 4x19
+          text run at (632,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 33x19
-          text run at (0,0) width 33: "With "
-        LayoutInline {TT} at (0,0) size 65x16
-          LayoutText {#text} at (32,3) size 65x16
-            text run at (32,3) width 65: "size=\"1\""
-        LayoutText {#text} at (96,0) size 8x19
-          text run at (96,0) width 8: ": "
-        LayoutMenuList {SELECT} at (103.36,1) size 100x18 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutText {#text} at (0,0) size 32x19
+          text run at (0,0) width 32: "With "
+        LayoutInline {TT} at (0,0) size 64x16
+          LayoutText {#text} at (32,3) size 64x16
+            text run at (32,3) width 64: "size=\"1\""
+        LayoutText {#text} at (96,0) size 7x19
+          text run at (96,0) width 7: ": "
+        LayoutMenuList {SELECT} at (103,1) size 100x18 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
           LayoutBlockFlow (anonymous) at (1,1) size 98x16
-            LayoutText (anonymous) at (0,0) size 188x16
-              text run at (0,0) width 188: "Very long option that does not fit"
+            LayoutText (anonymous) at (0,0) size 187x16
+              text run at (0,0) width 187: "Very long option that does not fit"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,72) size 784x20
-        LayoutText {#text} at (0,0) size 52x19
-          text run at (0,0) width 52: "Without "
-        LayoutInline {TT} at (0,0) size 33x16
-          LayoutText {#text} at (51,3) size 33x16
-            text run at (51,3) width 33: "size"
-        LayoutText {#text} at (83,0) size 8x19
-          text run at (83,0) width 8: ": "
-        LayoutMenuList {SELECT} at (90.36,1) size 100x18 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutText {#text} at (0,0) size 51x19
+          text run at (0,0) width 51: "Without "
+        LayoutInline {TT} at (0,0) size 32x16
+          LayoutText {#text} at (51,3) size 32x16
+            text run at (51,3) width 32: "size"
+        LayoutText {#text} at (83,0) size 7x19
+          text run at (83,0) width 7: ": "
+        LayoutMenuList {SELECT} at (90,1) size 100x18 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
           LayoutBlockFlow (anonymous) at (1,1) size 98x16
-            LayoutText (anonymous) at (0,0) size 188x16
-              text run at (0,0) width 188: "Very long option that does not fit"
+            LayoutText (anonymous) at (0,0) size 187x16
+              text run at (0,0) width 187: "Very long option that does not fit"
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/optgroup-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/optgroup-rendering-expected.txt
index b8cee8cbc..e68a5f1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/optgroup-rendering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/optgroup-rendering-expected.txt
@@ -28,8 +28,8 @@
         LayoutInline {<pseudo:before>} at (0,0) size 16x16
           LayoutTextFragment (anonymous) at (2,0) size 16x16
             text run at (2,0) width 16: "    "
-        LayoutText {#text} at (18,0) size 23x16
-          text run at (18,0) width 23: "Two"
+        LayoutText {#text} at (18,0) size 22x16
+          text run at (18,0) width 22: "Two"
       LayoutBlockFlow {OPTION} at (0,51) size 63x17 [color=#0000FF]
         LayoutInline {<pseudo:before>} at (0,0) size 16x16
           LayoutTextFragment (anonymous) at (2,0) size 16x16
@@ -56,8 +56,8 @@
         LayoutInline {<pseudo:before>} at (0,0) size 16x16
           LayoutTextFragment (anonymous) at (2,0) size 16x16
             text run at (2,0) width 16: "    "
-        LayoutText {#text} at (18,0) size 23x16
-          text run at (18,0) width 23: "Two"
+        LayoutText {#text} at (18,0) size 22x16
+          text run at (18,0) width 22: "Two"
       LayoutBlockFlow {OPTION} at (0,51) size 63x17 [color=#FF0000]
         LayoutInline {<pseudo:before>} at (0,0) size 16x16
           LayoutTextFragment (anonymous) at (2,0) size 16x16
@@ -84,8 +84,8 @@
         LayoutInline {<pseudo:before>} at (0,0) size 16x16
           LayoutTextFragment (anonymous) at (2,0) size 16x16
             text run at (2,0) width 16: "    "
-        LayoutText {#text} at (18,0) size 23x16
-          text run at (18,0) width 23: "Two"
+        LayoutText {#text} at (18,0) size 22x16
+          text run at (18,0) width 22: "Two"
       LayoutBlockFlow {OPTION} at (0,51) size 63x17 [color=#FFFFFF] [bgcolor=#999999]
         LayoutInline {<pseudo:before>} at (0,0) size 16x16
           LayoutTextFragment (anonymous) at (2,0) size 16x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-index-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-index-expected.txt
index be5150e..77ab6f9b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-index-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-index-expected.txt
@@ -9,6 +9,6 @@
       LayoutBlockFlow {DIV} at (0,20) size 784x40
         LayoutText {#text} at (0,0) size 80x19
           text run at (0,0) width 80: "Test Passed. "
-        LayoutBR {BR} at (79,15) size 1x0
+        LayoutBR {BR} at (80,15) size 0x0
         LayoutText {#text} at (0,20) size 351x19
           text run at (0,20) width 351: "Index for option element with no corresponding select is: 0"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-script-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-script-expected.png
index 5edbb682..5f85c6cb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-script-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-script-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-script-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-script-expected.txt
index 834bcd2..9a7bbf3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-script-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-script-expected.txt
@@ -5,12 +5,12 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 321x19
         text run at (0,0) width 104: "TEST PASSED: "
-        text run at (103,0) width 218: "If the popup menu only says \"Text\". "
-      LayoutBR {BR} at (320,15) size 1x0
+        text run at (104,0) width 217: "If the popup menu only says \"Text\". "
+      LayoutBR {BR} at (321,15) size 0x0
       LayoutText {#text} at (0,20) size 397x19
         text run at (0,20) width 100: "TEST FAILED: "
-        text run at (99,20) width 298: "If the popup menu says \"document.write('Text')\". "
-      LayoutBR {BR} at (396,35) size 1x0
+        text run at (100,20) width 297: "If the popup menu says \"document.write('Text')\". "
+      LayoutBR {BR} at (397,35) size 0x0
       LayoutMenuList {SELECT} at (0,40) size 46x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 44x18
           LayoutText (anonymous) at (4,1) size 24x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-strip-whitespace-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-strip-whitespace-expected.png
index ff8e448..2f9cbdb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-strip-whitespace-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-strip-whitespace-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-strip-whitespace-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-strip-whitespace-expected.txt
index d72b276..1e973439 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-strip-whitespace-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-strip-whitespace-expected.txt
@@ -9,11 +9,11 @@
       LayoutBlockFlow (anonymous) at (0,36) size 784x282
         LayoutText {#text} at (0,51) size 66x19
           text run at (0,51) width 66: "Five Tabs: "
-        LayoutBR {BR} at (140,66) size 1x0
+        LayoutBR {BR} at (141,66) size 0x0
         LayoutBR {BR} at (0,71) size 0x19
         LayoutText {#text} at (0,142) size 81x19
           text run at (0,142) width 81: "Five Spaces: "
-        LayoutBR {BR} at (155,157) size 1x0
+        LayoutBR {BR} at (156,157) size 0x0
         LayoutBR {BR} at (0,162) size 0x19
         LayoutText {#text} at (0,182) size 280x19
           text run at (0,182) width 280: "Five Spaces (with leading/trailing whitespace): "
@@ -25,11 +25,11 @@
         LayoutBR {BR} at (0,202) size 0x19
         LayoutText {#text} at (0,222) size 265x19
           text run at (0,222) width 265: "Five Tabs (with leading/trailing whitespace): "
-        LayoutMenuList {SELECT} at (264.88,222) size 76x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutMenuList {SELECT} at (265,222) size 76x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
           LayoutBlockFlow (anonymous) at (1,1) size 74x18
             LayoutText (anonymous) at (4,1) size 54x16
               text run at (4,1) width 54: "Five Tabs"
-        LayoutBR {BR} at (340,237) size 1x0
+        LayoutBR {BR} at (341,237) size 0x0
         LayoutBR {BR} at (0,242) size 0x19
         LayoutText {#text} at (0,262) size 121x19
           text run at (0,262) width 121: "Mixed Whitespace: "
@@ -38,13 +38,13 @@
             LayoutText (anonymous) at (4,1) size 54x16
               text run at (4,1) width 54: "Five Tabs"
         LayoutText {#text} at (0,0) size 0x0
-layer at (74,44) size 74x70 clip at (75,45) size 57x68
-  LayoutListBox {SELECT} at (65.88,0) size 74.53x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 57.53x17
+layer at (74,44) size 75x70 clip at (75,45) size 58x68
+  LayoutListBox {SELECT} at (66,0) size 75x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 58x17
       LayoutText {#text} at (2,0) size 54x16
         text run at (2,0) width 54: "Five Tabs"
 layer at (89,135) size 75x70 clip at (90,136) size 58x68
-  LayoutListBox {SELECT} at (81,91) size 74.53x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 57.53x17
+  LayoutListBox {SELECT} at (81,91) size 75x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 58x17
       LayoutText {#text} at (2,0) size 54x16
         text run at (2,0) width 54: "Five Tabs"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-text-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-text-clip-expected.txt
index 56d1d09..e5556acb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-text-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/option-text-clip-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 673x19
         text run at (0,0) width 673: "This tests that the option text is clipped properly, and doesn't spill over into the arrow part of the popup control. "
-      LayoutBR {BR} at (672,15) size 1x0
+      LayoutBR {BR} at (673,15) size 0x0
       LayoutMenuList {SELECT} at (0,20) size 150x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 148x18
           LayoutText (anonymous) at (4,1) size 147x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-change-listbox-size-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-change-listbox-size-expected.png
index f4a5b2d05..b0e66c1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-change-listbox-size-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-change-listbox-size-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-change-listbox-size-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-change-listbox-size-expected.txt
index 4375add..11590e2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-change-listbox-size-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-change-listbox-size-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 743x39
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=12986"
-          LayoutText {#text} at (354,0) size 743x39
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 385: "REGRESSION(NativeListBox): Listboxes not updated when"
-            text run at (0,20) width 125: "resized dynamically"
-        LayoutText {#text} at (124,20) size 5x19
-          text run at (124,20) width 5: "."
+        LayoutInline {I} at (0,0) size 742x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=12986"
+          LayoutText {#text} at (354,0) size 742x39
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 384: "REGRESSION(NativeListBox): Listboxes not updated when"
+            text run at (0,20) width 124: "resized dynamically"
+        LayoutText {#text} at (124,20) size 4x19
+          text run at (124,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 297x19
           text run at (0,0) width 297: "This list box should be tall enough to fit 6 options."
@@ -27,8 +27,8 @@
       LayoutText {#text} at (2,0) size 24x16
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (1,18) size 36x17
-      LayoutText {#text} at (2,0) size 23x16
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x16
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTION} at (1,35) size 36x17
       LayoutText {#text} at (2,0) size 32x16
         text run at (2,0) width 32: "Three"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-disabled-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-disabled-appearance-expected.png
index 1e38233..39ee6ce5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-disabled-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-disabled-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-disabled-appearance-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-disabled-appearance-expected.txt
index 046419e..f333100 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-disabled-appearance-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-disabled-appearance-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 658x19
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=12345"
-          LayoutText {#text} at (354,0) size 353x19
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 349: "REGRESSION: Disabled pop-up text is not grayed out"
-        LayoutText {#text} at (706,0) size 5x19
-          text run at (706,0) width 5: "."
+        LayoutInline {I} at (0,0) size 656x19
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=12345"
+          LayoutText {#text} at (354,0) size 352x19
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 348: "REGRESSION: Disabled pop-up text is not grayed out"
+        LayoutText {#text} at (706,0) size 4x19
+          text run at (706,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutMenuList {SELECT} at (0,0) size 161x20 [color=#808080] [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
           LayoutBlockFlow (anonymous) at (1,1) size 159x18
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-display-none-style-resolve-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-display-none-style-resolve-expected.png
index f3db00c..bed388366 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-display-none-style-resolve-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-display-none-style-resolve-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-display-none-style-resolve-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-display-none-style-resolve-expected.txt
index cb8963d..f7f794e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-display-none-style-resolve-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-display-none-style-resolve-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 771x39
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=13896"
-          LayoutText {#text} at (354,0) size 771x39
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 413: "REGRESSION (NativePopup): Reproductible crasher on Google"
-            text run at (0,20) width 124: "Coop control panel"
-        LayoutText {#text} at (123,20) size 5x19
-          text run at (123,20) width 5: "."
+        LayoutInline {I} at (0,0) size 770x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=13896"
+          LayoutText {#text} at (354,0) size 770x39
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 412: "REGRESSION (NativePopup): Reproductible crasher on Google"
+            text run at (0,20) width 123: "Coop control panel"
+        LayoutText {#text} at (123,20) size 4x19
+          text run at (123,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 175x19
           text run at (0,0) width 175: "No crash means SUCCESS."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-item-background-clip-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-item-background-clip-expected.png
index 82284610..c2720d6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-item-background-clip-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-item-background-clip-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-item-background-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-item-background-clip-expected.txt
index dc844b5..b9b0e8e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-item-background-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-item-background-clip-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 776x39
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=12364"
-          LayoutText {#text} at (354,0) size 776x39
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 418: "REGRESSSION (NativeListBox): Selected option's background is"
+        LayoutInline {I} at (0,0) size 775x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=12364"
+          LayoutText {#text} at (354,0) size 775x39
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 417: "REGRESSSION (NativeListBox): Selected option's background is"
             text run at (0,20) width 163: "not clipped to the list box"
         LayoutText {#text} at (163,20) size 4x19
           text run at (163,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-listbox-multiple-no-focusring-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-listbox-multiple-no-focusring-expected.txt
index fc11f67..848cd89 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-listbox-multiple-no-focusring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-listbox-multiple-no-focusring-expected.txt
@@ -5,10 +5,10 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x71
       LayoutText {#text} at (0,0) size 0x0
 layer at (8,8) size 370x70 clip at (9,9) size 353x68
-  LayoutListBox {SELECT} at (0,0) size 369.77x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 352.77x17 [color=#FFFFCC] [bgcolor=#0000FF]
+  LayoutListBox {SELECT} at (0,0) size 370x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 353x17 [color=#FFFFCC] [bgcolor=#0000FF]
       LayoutText {#text} at (2,0) size 349x16
         text run at (2,0) width 349: "make-the-item-long-enough-to-make-a-difference-in-pixel-test"
-    LayoutBlockFlow {OPTION} at (1,18) size 352.77x17
+    LayoutBlockFlow {OPTION} at (1,18) size 353x17
       LayoutText {#text} at (2,0) size 7x16
         text run at (2,0) width 7: "b"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-overflow-scroll-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-overflow-scroll-expected.txt
index a58f4a14..2dfb249 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-overflow-scroll-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-overflow-scroll-expected.txt
@@ -10,8 +10,8 @@
       LayoutText {#text} at (2,0) size 24x16
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (1,18) size 39x17
-      LayoutText {#text} at (2,0) size 23x16
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x16
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTION} at (1,35) size 39x17
       LayoutText {#text} at (2,0) size 32x16
         text run at (2,0) width 32: "Three"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-overflow-scroll-inherited-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-overflow-scroll-inherited-expected.txt
index c6e080ba..a6335b9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-overflow-scroll-inherited-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-overflow-scroll-inherited-expected.txt
@@ -12,8 +12,8 @@
       LayoutText {#text} at (2,0) size 24x16
         text run at (2,0) width 24: "One"
     LayoutBlockFlow {OPTION} at (1,18) size 39x17
-      LayoutText {#text} at (2,0) size 23x16
-        text run at (2,0) width 23: "Two"
+      LayoutText {#text} at (2,0) size 22x16
+        text run at (2,0) width 22: "Two"
     LayoutBlockFlow {OPTION} at (1,35) size 39x17
       LayoutText {#text} at (2,0) size 32x16
         text run at (2,0) width 32: "Three"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-style-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-style-expected.txt
index eb33cabf..00df376 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-style-expected.txt
@@ -3,10 +3,10 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 525x19
+      LayoutText {#text} at (0,0) size 524x19
         text run at (0,0) width 239: "This tests that styled popups look right. "
-        text run at (239,0) width 286: "(Aqua for now- later, we will honor the styling)."
-      LayoutBR {BR} at (524,15) size 1x0
+        text run at (239,0) width 285: "(Aqua for now- later, we will honor the styling)."
+      LayoutBR {BR} at (524,15) size 0x0
       LayoutMenuList {SELECT} at (0,20) size 44x20 [bgcolor=#FF0000] [border: (1px solid #A9A9A9)]
         LayoutBlockFlow (anonymous) at (1,1) size 42x18
           LayoutText (anonymous) at (4,1) size 22x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-writing-direction-natural-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-writing-direction-natural-expected.png
index e52d5d8..d55f4e0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-writing-direction-natural-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-writing-direction-natural-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-writing-direction-natural-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-writing-direction-natural-expected.txt
index 77d8c826..7791b7c65 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-writing-direction-natural-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-writing-direction-natural-expected.txt
@@ -6,21 +6,21 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 716x39
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=13775"
-          LayoutText {#text} at (354,0) size 716x39
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 358: "REGRESSION: Popup button text should use \"natural\""
-            text run at (0,20) width 331: "directionality to match the items in the popup menu"
-        LayoutText {#text} at (330,20) size 5x19
-          text run at (330,20) width 5: "."
+        LayoutInline {I} at (0,0) size 715x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=13775"
+          LayoutText {#text} at (354,0) size 715x39
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 357: "REGRESSION: Popup button text should use \"natural\""
+            text run at (0,20) width 330: "directionality to match the items in the popup menu"
+        LayoutText {#text} at (330,20) size 4x19
+          text run at (330,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 629x19
           text run at (0,0) width 484: "In all of the popup buttons below, the letter A should be on the left and the letter "
-          text run at (483,0) width 9 RTL: "\x{5D0}"
-          text run at (491,0) width 138: " should be on the right."
+          text run at (484,0) width 8 RTL: "\x{5D0}"
+          text run at (492,0) width 137: " should be on the right."
       LayoutBlockFlow {DIV} at (0,92) size 784x40
         LayoutBlockFlow {DIV} at (0,0) size 784x20
           LayoutMenuList {SELECT} at (0,0) size 70x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/targeted-frame-submission-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/targeted-frame-submission-expected.txt
index 408543a..3428a785 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/targeted-frame-submission-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/targeted-frame-submission-expected.txt
@@ -12,7 +12,7 @@
       LayoutBlockFlow {DIV} at (0,38) size 784x20
         LayoutText {#text} at (0,0) size 764x19
           text run at (0,0) width 270: "This tests Targeted frame submission works. "
-          text run at (269,0) width 495: "If the test is successful, the text \"SUCCESS\" should be shown in the iframe below."
+          text run at (270,0) width 494: "If the test is successful, the text \"SUCCESS\" should be shown in the iframe below."
       LayoutBlockFlow (anonymous) at (0,58) size 784x154
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,66) size 304x154
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-appearance-focus-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-appearance-focus-expected.txt
index c8db7cc..0598c1b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-appearance-focus-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-appearance-focus-expected.txt
@@ -16,10 +16,10 @@
         LayoutBR {BR} at (0,0) size 0x19
         LayoutText {#text} at (0,20) size 307x19
           text run at (0,20) width 307: "Test Passed. Text field 1's onFocus event has fired."
-        LayoutBR {BR} at (306,35) size 1x0
+        LayoutBR {BR} at (307,35) size 0x0
         LayoutText {#text} at (0,40) size 295x19
           text run at (0,40) width 295: "Test Passed. Text field 1's onBlur event has fired."
-        LayoutBR {BR} at (294,55) size 1x0
+        LayoutBR {BR} at (295,55) size 0x0
         LayoutText {#text} at (0,60) size 307x19
           text run at (0,60) width 307: "Test Passed. Text field 2's onFocus event has fired."
       LayoutBlockFlow {P} at (0,170) size 784x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-appearance-preventDefault-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-appearance-preventDefault-expected.txt
index 775355c..b4e78131 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-appearance-preventDefault-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-appearance-preventDefault-expected.txt
@@ -13,7 +13,7 @@
     LayoutText {#text} at (0,0) size 138x16
       text run at (0,0) width 138: "No caret should be here"
 layer at (10,70) size 308x40
-  LayoutBlockFlow (positioned) {DIV} at (10,70) size 307.72x40
+  LayoutBlockFlow (positioned) {DIV} at (10,70) size 308x40
     LayoutBR {BR} at (0,0) size 0x19
     LayoutText {#text} at (0,20) size 308x19
       text run at (0,20) width 308: "mousedown on target [object HTMLInputElement]"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-appearance-selection-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-appearance-selection-expected.txt
index 076a6ba..f650f90 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-appearance-selection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-appearance-selection-expected.txt
@@ -13,63 +13,63 @@
         LayoutBR {BR} at (0,0) size 0x19
         LayoutText {#text} at (0,20) size 188x19
           text run at (0,20) width 188: "Test 1: setSelectionRange(0, 0)"
-        LayoutBR {BR} at (187,35) size 1x0
+        LayoutBR {BR} at (188,35) size 0x0
         LayoutText {#text} at (0,40) size 47x19
           text run at (0,40) width 47: "Passed."
         LayoutBR {BR} at (47,55) size 0x0
         LayoutBR {BR} at (0,60) size 0x19
         LayoutText {#text} at (0,80) size 153x19
           text run at (0,80) width 153: "Test 2: selectionEnd = 17"
-        LayoutBR {BR} at (152,95) size 1x0
+        LayoutBR {BR} at (153,95) size 0x0
         LayoutText {#text} at (0,100) size 47x19
           text run at (0,100) width 47: "Passed."
         LayoutBR {BR} at (47,115) size 0x0
         LayoutBR {BR} at (0,120) size 0x19
         LayoutText {#text} at (0,140) size 150x19
           text run at (0,140) width 150: "Test 3: selectionStart = 1"
-        LayoutBR {BR} at (149,155) size 1x0
+        LayoutBR {BR} at (150,155) size 0x0
         LayoutText {#text} at (0,160) size 47x19
           text run at (0,160) width 47: "Passed."
         LayoutBR {BR} at (47,175) size 0x0
         LayoutBR {BR} at (0,180) size 0x19
         LayoutText {#text} at (0,200) size 196x19
           text run at (0,200) width 196: "Test 4: setSelectionRange(10, 3)"
-        LayoutBR {BR} at (195,215) size 1x0
+        LayoutBR {BR} at (196,215) size 0x0
         LayoutText {#text} at (0,220) size 47x19
           text run at (0,220) width 47: "Passed."
         LayoutBR {BR} at (47,235) size 0x0
         LayoutBR {BR} at (0,240) size 0x19
         LayoutText {#text} at (0,260) size 145x19
           text run at (0,260) width 145: "Test 5: selectionEnd = 2"
-        LayoutBR {BR} at (144,275) size 1x0
+        LayoutBR {BR} at (145,275) size 0x0
         LayoutText {#text} at (0,280) size 47x19
           text run at (0,280) width 47: "Passed."
         LayoutBR {BR} at (47,295) size 0x0
         LayoutBR {BR} at (0,300) size 0x19
         LayoutText {#text} at (0,320) size 188x19
           text run at (0,320) width 188: "Test 6: setSelectionRange(5, 4)"
-        LayoutBR {BR} at (187,335) size 1x0
+        LayoutBR {BR} at (188,335) size 0x0
         LayoutText {#text} at (0,340) size 47x19
           text run at (0,340) width 47: "Passed."
         LayoutBR {BR} at (47,355) size 0x0
         LayoutBR {BR} at (0,360) size 0x19
         LayoutText {#text} at (0,380) size 200x19
           text run at (0,380) width 200: "Test 7: setSelectionRange(-5, -4)"
-        LayoutBR {BR} at (199,395) size 1x0
+        LayoutBR {BR} at (200,395) size 0x0
         LayoutText {#text} at (0,400) size 47x19
           text run at (0,400) width 47: "Passed."
         LayoutBR {BR} at (47,415) size 0x0
         LayoutBR {BR} at (0,420) size 0x19
         LayoutText {#text} at (0,440) size 202x19
           text run at (0,440) width 202: "Test 8: setSelectionRange(-5, 80)"
-        LayoutBR {BR} at (201,455) size 1x0
+        LayoutBR {BR} at (202,455) size 0x0
         LayoutText {#text} at (0,460) size 47x19
           text run at (0,460) width 47: "Passed."
         LayoutBR {BR} at (47,475) size 0x0
         LayoutBR {BR} at (0,480) size 0x19
         LayoutText {#text} at (0,500) size 196x19
           text run at (0,500) width 196: "Test 9: setSelectionRange(3, 12)"
-        LayoutBR {BR} at (195,515) size 1x0
+        LayoutBR {BR} at (196,515) size 0x0
         LayoutText {#text} at (0,520) size 47x19
           text run at (0,520) width 47: "Passed."
         LayoutBR {BR} at (47,535) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-double-click-selection-gap-bug-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-double-click-selection-gap-bug-expected.txt
index b0cda3d9..a1b5f470f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-double-click-selection-gap-bug-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-double-click-selection-gap-bug-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x548
     LayoutBlockFlow {BODY} at (8,16) size 784x524
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 396x19
-          text run at (0,0) width 309: "The top table was resized while the field\x{2019}s contents "
-          text run at (308,0) width 88: "were selected."
+        LayoutText {#text} at (0,0) size 395x19
+          text run at (0,0) width 308: "The top table was resized while the field\x{2019}s contents "
+          text run at (308,0) width 87: "were selected."
       LayoutTable {TABLE} at (0,36) size 217x244
         LayoutTableSection {TBODY} at (0,0) size 217x244
           LayoutTableRow {TR} at (0,2) size 217x240
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-no-renderer-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-no-renderer-expected.txt
index 50c11998..12978110 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-no-renderer-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-no-renderer-expected.txt
@@ -3,5 +3,5 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 552x19
-        text run at (0,0) width 552: "This test makes sure we don't crash when calling focus() on an element that has no renderer."
+      LayoutText {#text} at (0,0) size 551x19
+        text run at (0,0) width 551: "This test makes sure we don't crash when calling focus() on an element that has no renderer."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-placeholder-visibility-3-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-placeholder-visibility-3-expected.txt
index e6217d4..518e04f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-placeholder-visibility-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-placeholder-visibility-3-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 363x19
-          text run at (0,0) width 363: "Focus field with a placeholder, then type, then delete all text."
+        LayoutText {#text} at (0,0) size 362x19
+          text run at (0,0) width 362: "Focus field with a placeholder, then type, then delete all text."
       LayoutBlockFlow {DIV} at (0,36) size 784x22
         LayoutTextControl {INPUT} at (0,0) size 173x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-readonly-autoscroll-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-readonly-autoscroll-expected.png
index c25d508d..71168aa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-readonly-autoscroll-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-readonly-autoscroll-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-readonly-autoscroll-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-readonly-autoscroll-expected.txt
index 3c08546..b80cb2a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-readonly-autoscroll-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-readonly-autoscroll-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {A} at (0,0) size 67x19 [color=#0000EE]
-          LayoutText {#text} at (49,0) size 67x19
-            text run at (49,0) width 67: "bug 11534"
-        LayoutText {#text} at (115,0) size 5x19
-          text run at (115,0) width 5: "."
+        LayoutInline {A} at (0,0) size 65x19 [color=#0000EE]
+          LayoutText {#text} at (50,0) size 65x19
+            text run at (50,0) width 65: "bug 11534"
+        LayoutText {#text} at (115,0) size 4x19
+          text run at (115,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 331x19
           text run at (0,0) width 331: "Readonly text fields don't scroll when selecting content."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-table-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-table-expected.txt
index 4b7a665..7aaa639 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-table-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/input-table-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x720
     LayoutBlockFlow {BODY} at (8,8) size 769x704
       LayoutBlockFlow (anonymous) at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 232x19
-          text run at (0,0) width 232: "This tests minMaxWidth for text fields."
+        LayoutText {#text} at (0,0) size 231x19
+          text run at (0,0) width 231: "This tests minMaxWidth for text fields."
       LayoutBlockFlow {P} at (0,36) size 769x20
         LayoutText {#text} at (0,0) size 68x19
           text run at (0,0) width 68: "Test case 1"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/textfield-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/textfield-outline-expected.txt
index 117010a1..fb0ae08e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/textfield-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/textfield-outline-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 522x19
         text run at (0,0) width 522: "This tests that a negative outline-offset won't get in the way of a cursor in a text control."
-      LayoutBR {BR} at (521,15) size 1x0
+      LayoutBR {BR} at (522,15) size 0x0
       LayoutTextControl {INPUT} at (0,20) size 226x28 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
       LayoutText {#text} at (0,0) size 0x0
 layer at (9,30) size 224x24 scrollWidth 536
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/textfield-overflow-by-value-update-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/textfield-overflow-by-value-update-expected.txt
index 1945be6..96fb5b6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/textfield-overflow-by-value-update-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/text/textfield-overflow-by-value-update-expected.txt
@@ -7,5 +7,5 @@
       LayoutText {#text} at (0,0) size 0x0
 layer at (8,-6) size 100x37 backgroundClip at (8,12) size 100x2 clip at (8,12) size 100x2
   LayoutBlockFlow {DIV} at (0,-17.50) size 100x37
-    LayoutText {#text} at (0,0) size 67x36
-      text run at (0,0) width 67: "FAIL"
+    LayoutText {#text} at (0,0) size 66x36
+      text run at (0,0) width 66: "FAIL"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/reset-textarea-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/reset-textarea-expected.txt
index ce63dcc..8d3be25 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/reset-textarea-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/reset-textarea-expected.txt
@@ -17,12 +17,12 @@
         LayoutText {#text} at (0,0) size 345x19
           text run at (0,0) width 345: "This test verifies that textarea controls are properly reset. "
         LayoutBR {BR} at (345,15) size 0x0
-        LayoutText {#text} at (0,20) size 449x19
-          text run at (0,20) width 449: "You should see two element IDs below, and the word \"SUCCESS\" twice: "
-        LayoutBR {BR} at (448,35) size 1x0
+        LayoutText {#text} at (0,20) size 448x19
+          text run at (0,20) width 448: "You should see two element IDs below, and the word \"SUCCESS\" twice: "
+        LayoutBR {BR} at (448,35) size 0x0
         LayoutText {#text} at (0,40) size 164x19
           text run at (0,40) width 164: "noDefaultText: SUCCESS "
-        LayoutBR {BR} at (163,55) size 1x0
+        LayoutBR {BR} at (164,55) size 0x0
         LayoutText {#text} at (0,60) size 165x19
           text run at (0,60) width 165: "hasDefaultText: SUCCESS"
 layer at (8,8) size 179x36 clip at (9,9) size 177x34
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textAreaLineHeight-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textAreaLineHeight-expected.txt
index d0719b5..4f2df8dd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textAreaLineHeight-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textAreaLineHeight-expected.txt
@@ -10,7 +10,7 @@
       LayoutBlockFlow {P} at (0,36) size 769x271
         LayoutText {#text} at (0,0) size 78x19
           text run at (0,0) width 78: "TEXTAREA"
-        LayoutBR {BR} at (77,0) size 1x19
+        LayoutBR {BR} at (78,0) size 0x19
         LayoutText {#text} at (406,211) size 4x19
           text run at (406,211) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
@@ -35,21 +35,21 @@
         LayoutBR {BR} at (0,20) size 0x19
         LayoutText {#text} at (0,40) size 118x19
           text run at (0,40) width 118: "Un-Styled Textarea"
-        LayoutBR {BR} at (117,40) size 1x19
+        LayoutBR {BR} at (118,40) size 0x19
         LayoutText {#text} at (181,83) size 4x19
           text run at (181,83) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
         LayoutBR {BR} at (0,103) size 0x19
         LayoutText {#text} at (0,123) size 201x19
           text run at (0,123) width 201: "Totally Blank Un-Styled Textarea"
-        LayoutBR {BR} at (200,123) size 1x19
+        LayoutBR {BR} at (201,123) size 0x19
         LayoutText {#text} at (181,166) size 4x19
           text run at (181,166) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
         LayoutBR {BR} at (0,186) size 0x19
         LayoutText {#text} at (0,206) size 197x19
           text run at (0,206) width 197: "Totally Blank STYLED Textarea"
-        LayoutBR {BR} at (196,206) size 1x19
+        LayoutBR {BR} at (197,206) size 0x19
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,1233.33) size 769x0
 layer at (8,64) size 406x206 clip at (9,65) size 404x204
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-placeholder-visibility-1-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-placeholder-visibility-1-expected.txt
index a6ec645..8791a7d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-placeholder-visibility-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-placeholder-visibility-1-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 363x19
-          text run at (0,0) width 363: "Focus field with a placeholder, then type, then delete all text."
+        LayoutText {#text} at (0,0) size 362x19
+          text run at (0,0) width 362: "Focus field with a placeholder, then type, then delete all text."
       LayoutBlockFlow {DIV} at (0,36) size 784x36
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,44) size 179x36 clip at (9,45) size 177x34
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-placeholder-visibility-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-placeholder-visibility-2-expected.txt
index e55e22d..56bce6c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-placeholder-visibility-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-placeholder-visibility-2-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 370x19
-          text run at (0,0) width 370: "Focus field with a placeholder, then type, then clear the value."
+        LayoutText {#text} at (0,0) size 369x19
+          text run at (0,0) width 369: "Focus field with a placeholder, then type, then clear the value."
       LayoutBlockFlow {DIV} at (0,36) size 784x36
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,44) size 179x36 clip at (9,45) size 177x34
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-scrolled-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-scrolled-focus-ring-expected.txt
index 60f6f365c..209c4613 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-scrolled-focus-ring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-scrolled-focus-ring-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x63
       LayoutText {#text} at (0,0) size 540x19
         text run at (0,0) width 540: "Test passes if a focus ring is visible around text area when focused and scrolled to bottom."
-      LayoutBR {BR} at (539,0) size 1x19
+      LayoutBR {BR} at (540,0) size 0x19
       LayoutText {#text} at (0,0) size 0x0
 layer at (8,28) size 181x38 clip at (9,29) size 164x36 scrollY 48.00 scrollHeight 84
   LayoutTextControl {TEXTAREA} at (0,20) size 181x38 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-scrolled-mask-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-scrolled-mask-expected.txt
index 46378db..1760cb8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-scrolled-mask-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/textarea/textarea-scrolled-mask-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x63
       LayoutText {#text} at (0,0) size 516x19
         text run at (0,0) width 516: "Test passes if the textarea's gray background and text are masked off to a 10x10 rect."
-      LayoutBR {BR} at (515,0) size 1x19
+      LayoutBR {BR} at (516,0) size 0x19
       LayoutText {#text} at (0,0) size 0x0
 layer at (8,28) size 181x38 clip at (9,29) size 164x36 transparent scrollY 48.00 scrollHeight 84
   LayoutTextControl {TEXTAREA} at (0,20) size 181x38 [bgcolor=#D3D3D3] [border: (1px solid #A9A9A9)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/visual-hebrew-text-field-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/forms/visual-hebrew-text-field-expected.png
index baadb78..4fa196b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/visual-hebrew-text-field-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/visual-hebrew-text-field-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/visual-hebrew-text-field-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/visual-hebrew-text-field-expected.txt
index bde2252f..45b28c0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/visual-hebrew-text-field-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/visual-hebrew-text-field-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 202x19
           text run at (0,0) width 202 LTR override: "This tests for a regression against "
-        LayoutInline {I} at (0,0) size 765x39
-          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
-            LayoutText {#text} at (202,0) size 350x19
-              text run at (202,0) width 350 LTR override: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8076"
-          LayoutText {#text} at (551,0) size 765x39
-            text run at (551,0) width 214 LTR override: " REGRESSION: native text fields"
-            text run at (0,20) width 252 LTR override: "are reversed on \"visual Hebrew\" pages"
-        LayoutText {#text} at (251,20) size 5x19
-          text run at (251,20) width 5 LTR override: "."
+        LayoutInline {I} at (0,0) size 764x39
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (202,0) size 349x19
+              text run at (202,0) width 349 LTR override: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8076"
+          LayoutText {#text} at (551,0) size 764x39
+            text run at (551,0) width 213 LTR override: " REGRESSION: native text fields"
+            text run at (0,20) width 250 LTR override: "are reversed on \"visual Hebrew\" pages"
+        LayoutText {#text} at (250,20) size 4x19
+          text run at (250,20) width 4 LTR override: "."
       LayoutBlockFlow {P} at (0,74) size 784x20
         LayoutText {#text} at (0,0) size 255x19
           text run at (0,0) width 255 LTR override: "Text in the field should look like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameElement-frame-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameElement-frame-expected.txt
index 06aa4f4..ad100500 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameElement-frame-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameElement-frame-expected.txt
@@ -11,5 +11,5 @@
       LayoutBlockFlow {HTML} at (0,0) size 800x600
         LayoutBlockFlow {BODY} at (8,8) size 784x584
           LayoutBlockFlow {DIV} at (0,0) size 784x20
-            LayoutText {#text} at (0,0) size 195x19
-              text run at (0,0) width 195: "frameElement ID is \"Mr. Frame\""
+            LayoutText {#text} at (0,0) size 194x19
+              text run at (0,0) width 194: "frameElement ID is \"Mr. Frame\""
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameElement-iframe-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameElement-iframe-expected.txt
index 07136299..7c2f232 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameElement-iframe-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameElement-iframe-expected.txt
@@ -12,5 +12,5 @@
       LayoutBlockFlow {HTML} at (0,0) size 300x150
         LayoutBlockFlow {BODY} at (8,8) size 284x134
           LayoutBlockFlow {DIV} at (0,0) size 284x20
-            LayoutText {#text} at (0,0) size 195x19
-              text run at (0,0) width 195: "frameElement ID is \"Mr. Frame\""
+            LayoutText {#text} at (0,0) size 194x19
+              text run at (0,0) width 194: "frameElement ID is \"Mr. Frame\""
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameset-style-recalc-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameset-style-recalc-expected.png
index fdfeda0b..46bd0eb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameset-style-recalc-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameset-style-recalc-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameset-style-recalc-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameset-style-recalc-expected.txt
index 55265c98..f77bfa6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameset-style-recalc-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/frames/frameset-style-recalc-expected.txt
@@ -13,17 +13,17 @@
           LayoutBlockFlow {P} at (0,0) size 784x40
             LayoutText {#text} at (0,0) size 50x19
               text run at (0,0) width 50: "Test for "
-            LayoutInline {I} at (0,0) size 726x39
-              LayoutInline {A} at (0,0) size 312x19 [color=#0000EE]
-                LayoutText {#text} at (49,0) size 312x19
-                  text run at (49,0) width 312: "https://bugs.webkit.org/show_bug.cgi?id=19348"
-              LayoutText {#text} at (360,0) size 726x39
-                text run at (360,0) width 5: " "
-                text run at (364,0) width 362: "REGRESSION (r34193): Setting the size of a frame with"
+            LayoutInline {I} at (0,0) size 725x39
+              LayoutInline {A} at (0,0) size 310x19 [color=#0000EE]
+                LayoutText {#text} at (50,0) size 310x19
+                  text run at (50,0) width 310: "https://bugs.webkit.org/show_bug.cgi?id=19348"
+              LayoutText {#text} at (360,0) size 725x39
+                text run at (360,0) width 4: " "
+                text run at (364,0) width 361: "REGRESSION (r34193): Setting the size of a frame with"
                 text run at (0,20) width 69: "javascript "
-                text run at (69,20) width 234: "document.body.row no longer works"
-            LayoutText {#text} at (302,20) size 5x19
-              text run at (302,20) width 5: "."
+                text run at (69,20) width 233: "document.body.row no longer works"
+            LayoutText {#text} at (302,20) size 4x19
+              text run at (302,20) width 4: "."
           LayoutBlockFlow {P} at (0,56) size 784x20
             LayoutText {#text} at (0,0) size 193x19
               text run at (0,0) width 193: "This frame should be 200px tall."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/frames/iframe-with-frameborder-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/frames/iframe-with-frameborder-expected.txt
index cfddd4a..cc73174 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/frames/iframe-with-frameborder-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/frames/iframe-with-frameborder-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 201x19
-        text run at (0,0) width 201: "This iframe should have a border."
-      LayoutBR {BR} at (200,15) size 1x0
+      LayoutText {#text} at (0,0) size 200x19
+        text run at (0,0) width 200: "This iframe should have a border."
+      LayoutBR {BR} at (200,15) size 0x0
       LayoutText {#text} at (304,159) size 4x19
         text run at (304,159) width 4: " "
       LayoutBR {BR} at (0,0) size 0x0
@@ -15,9 +15,9 @@
       LayoutText {#text} at (300,334) size 4x19
         text run at (300,334) width 4: " "
       LayoutBR {BR} at (304,349) size 0x0
-      LayoutText {#text} at (0,354) size 205x19
-        text run at (0,354) width 205: "This iframe should have a border. "
-      LayoutBR {BR} at (204,369) size 1x0
+      LayoutText {#text} at (0,354) size 204x19
+        text run at (0,354) width 204: "This iframe should have a border. "
+      LayoutBR {BR} at (204,369) size 0x0
       LayoutText {#text} at (0,0) size 0x0
 layer at (8,28) size 304x154
   LayoutIFrame {IFRAME} at (0,20) size 304x154 [border: (2px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/frames/onlyCommentInIFrame-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/frames/onlyCommentInIFrame-expected.txt
index cbb4b70..0ad3fe60 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/frames/onlyCommentInIFrame-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/frames/onlyCommentInIFrame-expected.txt
@@ -6,8 +6,8 @@
       LayoutText {#text} at (0,0) size 776x59
         text run at (0,0) width 738: "The documents in the src attributes of the iframes below only contain comments. This test is for a bug where we would only"
         text run at (0,20) width 776: "construct LayoutViews for such iframes. We need to propery construct an empty frame instead, so the LayoutView should have a"
-        text run at (0,40) width 496: "LayoutBlockFlow and LayoutBlockFlow below it in the dump of the RenderTree. "
-      LayoutBR {BR} at (495,55) size 1x0
+        text run at (0,40) width 495: "LayoutBlockFlow and LayoutBlockFlow below it in the dump of the RenderTree. "
+      LayoutBR {BR} at (495,55) size 0x0
       LayoutText {#text} at (0,0) size 0x0
       LayoutBR {BR} at (0,0) size 0x0
       LayoutBR {BR} at (0,74) size 0x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/gradients/crash-on-zero-radius-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/gradients/crash-on-zero-radius-expected.txt
index c7596ee..bd09d34f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/gradients/crash-on-zero-radius-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/gradients/crash-on-zero-radius-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {H1} at (0,0) size 784x74
-        LayoutText {#text} at (0,0) size 703x73
-          text run at (0,0) width 703: "Two gradients, one with zero radius that should not"
+        LayoutText {#text} at (0,0) size 702x73
+          text run at (0,0) width 702: "Two gradients, one with zero radius that should not"
           text run at (0,37) width 82: "crash."
       LayoutBlockFlow {DIV} at (0,95.44) size 154x154 [border: (2px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/gradients/gradient-after-transparent-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/gradients/gradient-after-transparent-border-expected.png
index 8b04bdf..fdbcefe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/gradients/gradient-after-transparent-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/gradients/gradient-after-transparent-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/gradients/radial-centered-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/gradients/radial-centered-expected.txt
index 74121bc..0d0c214 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/gradients/radial-centered-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/gradients/radial-centered-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 606x19
           text run at (0,0) width 606: "The test passes if all four boxes have a radial gradient that's green in the center and black at the edge."
       LayoutBlockFlow {H1} at (0,41.44) size 784x37
-        LayoutText {#text} at (0,0) size 722x36
-          text run at (0,0) width 722: "Radial Gradients With One Center, Inner Radius > 0"
+        LayoutText {#text} at (0,0) size 721x36
+          text run at (0,0) width 721: "Radial Gradients With One Center, Inner Radius > 0"
       LayoutBlockFlow (anonymous) at (0,99.88) size 784x155
         LayoutBlockFlow {DIV} at (0,0) size 150x150
         LayoutText {#text} at (150,135) size 4x19
@@ -16,8 +16,8 @@
         LayoutBlockFlow {DIV} at (154,0) size 150x150
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {H1} at (0,276.31) size 784x37
-        LayoutText {#text} at (0,0) size 641x36
-          text run at (0,0) width 641: "Radial Gradients With One, Inner Radius == 0"
+        LayoutText {#text} at (0,0) size 640x36
+          text run at (0,0) width 640: "Radial Gradients With One, Inner Radius == 0"
       LayoutBlockFlow (anonymous) at (0,334.75) size 784x155
         LayoutBlockFlow {DIV} at (0,0) size 150x150
         LayoutText {#text} at (150,135) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/inline-block/14498-positionForCoordinates-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/inline-block/14498-positionForCoordinates-expected.png
index 1f99b196..d4311bc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/inline-block/14498-positionForCoordinates-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/inline-block/14498-positionForCoordinates-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/inline-block/overflow-clip-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/inline-block/overflow-clip-expected.png
index da03223..f886e8a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/inline-block/overflow-clip-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/inline-block/overflow-clip-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/inline/br-text-decoration-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/inline/br-text-decoration-expected.png
index 96dbc04..ed8ddcb2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/inline/br-text-decoration-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/inline/br-text-decoration-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/inline/drawStyledEmptyInlines-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/inline/drawStyledEmptyInlines-expected.png
index c893ac2..d850729 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/inline/drawStyledEmptyInlines-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/inline/drawStyledEmptyInlines-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-expected.png
index 4ca5b0c..7b848bcf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-long-image-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-long-image-expected.png
index e73544f..33555141 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-long-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-long-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-repeat-x-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-repeat-x-expected.png
index 6214f06..1ca3840 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-repeat-x-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-repeat-x-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-repeat-y-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-repeat-y-expected.png
index b4d7be2..b1c62d36 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-repeat-y-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/inline/inline-box-background-repeat-y-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/inline/left-right-center-inline-alignment-in-ltr-and-rtl-blocks-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/inline/left-right-center-inline-alignment-in-ltr-and-rtl-blocks-expected.png
index 88cb2d0..0fcd878 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/inline/left-right-center-inline-alignment-in-ltr-and-rtl-blocks-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/inline/left-right-center-inline-alignment-in-ltr-and-rtl-blocks-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/002-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/002-expected.txt
index ed7151f..4143373e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/002-expected.txt
@@ -16,9 +16,9 @@
           LayoutText {#text} at (0,0) size 32x19
             text run at (0,0) width 32: "Line "
         LayoutText {#text} at (0,0) size 0x0
-        LayoutInline {I} at (0,0) size 37x19
-          LayoutText {#text} at (32,0) size 37x19
-            text run at (32,0) width 37: "Three"
+        LayoutInline {I} at (0,0) size 36x19
+          LayoutText {#text} at (32,0) size 36x19
+            text run at (32,0) width 36: "Three"
       LayoutBlockFlow (anonymous) at (0,108) size 784x20
         LayoutBlockFlow {P} at (0,0) size 784x20
           LayoutText {#text} at (0,0) size 64x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/003-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/003-expected.txt
index 3873792..6ca6fb7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/003-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/003-expected.txt
@@ -17,33 +17,33 @@
           LayoutText {#text} at (93,0) size 66x19
             text run at (93,0) width 66: "Just italic."
       LayoutBlockFlow (anonymous) at (0,72) size 784x20
-        LayoutInline {I} at (0,0) size 68x19
-          LayoutText {#text} at (0,0) size 68x19
-            text run at (0,0) width 68: "Italic only."
-        LayoutText {#text} at (67,0) size 34x19
-          text run at (67,0) width 34: " Plain"
+        LayoutInline {I} at (0,0) size 67x19
+          LayoutText {#text} at (0,0) size 67x19
+            text run at (0,0) width 67: "Italic only."
+        LayoutText {#text} at (67,0) size 33x19
+          text run at (67,0) width 33: " Plain"
       LayoutBlockFlow {P} at (0,108) size 784x20
         LayoutText {#text} at (0,0) size 122x19
           text run at (0,0) width 122: "I should not be red. "
-        LayoutInline {FONT} at (0,0) size 123x19 [color=#FF0000]
+        LayoutInline {FONT} at (0,0) size 122x19 [color=#FF0000]
           LayoutText {#text} at (122,0) size 33x19
             text run at (122,0) width 33: "Red. "
-          LayoutInline {I} at (0,0) size 90x19
-            LayoutText {#text} at (155,0) size 90x19
-              text run at (155,0) width 90: "Italic and red."
+          LayoutInline {I} at (0,0) size 89x19
+            LayoutText {#text} at (155,0) size 89x19
+              text run at (155,0) width 89: "Italic and red."
       LayoutBlockFlow (anonymous) at (0,144) size 784x0
         LayoutInline {FONT} at (0,0) size 0x0 [color=#FF0000]
           LayoutInline {I} at (0,0) size 0x0
             LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,144) size 784x20
-        LayoutInline {FONT} at (0,0) size 123x19 [color=#FF0000]
-          LayoutInline {I} at (0,0) size 94x19
-            LayoutText {#text} at (0,0) size 94x19
-              text run at (0,0) width 94: "Italic and red. "
-          LayoutText {#text} at (93,0) size 30x19
-            text run at (93,0) width 30: "Red."
-        LayoutText {#text} at (122,0) size 123x19
-          text run at (122,0) width 123: " I should not be red."
+        LayoutInline {FONT} at (0,0) size 122x19 [color=#FF0000]
+          LayoutInline {I} at (0,0) size 93x19
+            LayoutText {#text} at (0,0) size 93x19
+              text run at (0,0) width 93: "Italic and red. "
+          LayoutText {#text} at (93,0) size 29x19
+            text run at (93,0) width 29: "Red."
+        LayoutText {#text} at (122,0) size 122x19
+          text run at (122,0) width 122: " I should not be red."
       LayoutBlockFlow (anonymous) at (0,180) size 784x20
         LayoutInline {B} at (0,0) size 135x19
           LayoutText {#text} at (0,0) size 35x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/008-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/008-expected.txt
index a606aeb..3d1c058 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/008-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/008-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x577
       LayoutBlockFlow {P} at (0,0) size 784x18
-        LayoutText {#text} at (0,0) size 31x18
-          text run at (0,0) width 31: "Test"
+        LayoutText {#text} at (0,0) size 30x18
+          text run at (0,0) width 30: "Test"
 layer at (250,50) size 235x64
   LayoutBlockFlow (positioned) {DIV} at (250,50) size 235x64 [border: (2px solid #008000)]
     LayoutText {#text} at (22,22) size 191x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/012-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/012-expected.png
index a68da57..28088bdab 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/013-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/013-expected.txt
index b8232a9..06f69fe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/013-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/013-expected.txt
@@ -3,5 +3,5 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584 [color=#FFFFFF] [bgcolor=#008000]
-      LayoutText {#text} at (0,0) size 301x19
-        text run at (0,0) width 301: "You should see white text on a green background."
+      LayoutText {#text} at (0,0) size 300x19
+        text run at (0,0) width 300: "You should see white text on a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/016-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/016-expected.txt
index 70e564c..61c6c005 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/016-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/016-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 703x19
-          text run at (0,0) width 430: "You should see two 100x100 green squares with black borders below. "
-          text run at (429,0) width 274: "If you see only one square, the test has failed."
+        LayoutText {#text} at (0,0) size 702x19
+          text run at (0,0) width 429: "You should see two 100x100 green squares with black borders below. "
+          text run at (429,0) width 273: "If you see only one square, the test has failed."
       LayoutBlockFlow {P} at (0,36) size 784x104
         LayoutBlockFlow {IMG} at (0,0) size 104x104 [bgcolor=#008000] [border: (2px solid #000000)]
 layer at (10,46) size 100x100 clip at (11,47) size 98x98
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/017-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/017-expected.txt
index 82958542..31259b51 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/017-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/017-expected.txt
@@ -6,9 +6,9 @@
       LayoutBlockFlow {P} at (0,0) size 784x0
         LayoutInline {A} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {A} at (0,0) size 146x19
-          LayoutText {#text} at (0,0) size 146x19
-            text run at (0,0) width 146: "You should see this text."
+        LayoutInline {A} at (0,0) size 145x19
+          LayoutText {#text} at (0,0) size 145x19
+            text run at (0,0) width 145: "You should see this text."
       LayoutTable {TABLE} at (0,36) size 4x4
         LayoutTableSection {TBODY} at (0,0) size 4x4
           LayoutTableRow {TR} at (0,2) size 4x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/019-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/019-expected.png
index 27d200a..869c37c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/019-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/019-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/019-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/019-expected.txt
index e7d5eac..bed8daf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/019-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/019-expected.txt
@@ -14,7 +14,7 @@
                 text run at (0,0) width 215: "This text is in a div inside a nobr"
             LayoutText {#text} at (215,0) size 748x39
               text run at (215,0) width 533: "More text that should not be in the nobr, i.e., the nobr should have closed the div"
-              text run at (0,20) width 120: "inside it implicitly."
+              text run at (0,20) width 119: "inside it implicitly."
         LayoutBlockFlow {PRE} at (0,53) size 784x16
           LayoutText {#text} at (0,0) size 272x16
             text run at (0,0) width 272: "A pre tag outside everything else."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/021-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/021-expected.png
index 4f6d9764..5a63054 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/021-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/021-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/021-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/021-expected.txt
index 943ff4c..7fff875 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/021-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/021-expected.txt
@@ -11,12 +11,12 @@
           LayoutInline {A} at (0,0) size 25x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 25x19
               text run at (0,0) width 25: "Test"
-        LayoutInline {A} at (0,0) size 61x19 [color=#0000EE]
-          LayoutText {#text} at (24,0) size 61x19
-            text run at (24,0) width 61: " more test"
-        LayoutBR {BR} at (84,15) size 1x0
+        LayoutInline {A} at (0,0) size 60x19 [color=#0000EE]
+          LayoutText {#text} at (25,0) size 60x19
+            text run at (25,0) width 60: " more test"
+        LayoutBR {BR} at (85,15) size 0x0
         LayoutWordBreak {WBR} at (0,0) size 0x0
         LayoutInline {A} at (0,0) size 85x19 [color=#0000EE]
           LayoutText {#text} at (0,20) size 85x19
             text run at (0,20) width 85: "Test more test"
-        LayoutBR {BR} at (84,35) size 1x0
+        LayoutBR {BR} at (85,35) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/junk-data-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/junk-data-expected.png
index 8eb0825..da5bcb07 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/junk-data-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/junk-data-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-address-end-tag-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-address-end-tag-expected.png
index b724d8b..47b03e9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-address-end-tag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-address-end-tag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-address-end-tag-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-address-end-tag-expected.txt
index f41741d..b706943 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-address-end-tag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-address-end-tag-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {DIV} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {A} at (0,0) size 111x19 [color=#0000EE]
-          LayoutText {#text} at (49,0) size 111x19
-            text run at (49,0) width 111: "Bugzilla Bug 7724"
-        LayoutText {#text} at (159,0) size 456x19
-          text run at (159,0) width 456: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
+        LayoutInline {A} at (0,0) size 110x19 [color=#0000EE]
+          LayoutText {#text} at (50,0) size 110x19
+            text run at (50,0) width 110: "Bugzilla Bug 7724"
+        LayoutText {#text} at (160,0) size 455x19
+          text run at (160,0) width 455: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
       LayoutBlockFlow {ADDRESS} at (0,20) size 784x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "addresstr"
+        LayoutText {#text} at (0,0) size 59x19
+          text run at (0,0) width 59: "addresstr"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dl-end-tag-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dl-end-tag-expected.png
index 9efcdbf6..3fc7a58 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dl-end-tag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dl-end-tag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dl-end-tag-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dl-end-tag-expected.txt
index e539899..9a9a6f20 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dl-end-tag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dl-end-tag-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {DIV} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {A} at (0,0) size 111x19 [color=#0000EE]
-          LayoutText {#text} at (49,0) size 111x19
-            text run at (49,0) width 111: "Bugzilla Bug 7724"
-        LayoutText {#text} at (159,0) size 456x19
-          text run at (159,0) width 456: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
+        LayoutInline {A} at (0,0) size 110x19 [color=#0000EE]
+          LayoutText {#text} at (50,0) size 110x19
+            text run at (50,0) width 110: "Bugzilla Bug 7724"
+        LayoutText {#text} at (160,0) size 455x19
+          text run at (160,0) width 455: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
       LayoutBlockFlow {DL} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 20x19
           text run at (0,0) width 20: "dltr"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dt-end-tag-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dt-end-tag-expected.png
index 54657d8..feb86188 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dt-end-tag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dt-end-tag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dt-end-tag-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dt-end-tag-expected.txt
index b396005..66b19f5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dt-end-tag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-dt-end-tag-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {DIV} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {A} at (0,0) size 111x19 [color=#0000EE]
-          LayoutText {#text} at (49,0) size 111x19
-            text run at (49,0) width 111: "Bugzilla Bug 7724"
-        LayoutText {#text} at (159,0) size 456x19
-          text run at (159,0) width 456: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
+        LayoutInline {A} at (0,0) size 110x19 [color=#0000EE]
+          LayoutText {#text} at (50,0) size 110x19
+            text run at (50,0) width 110: "Bugzilla Bug 7724"
+        LayoutText {#text} at (160,0) size 455x19
+          text run at (160,0) width 455: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
       LayoutBlockFlow {DT} at (0,20) size 784x20
         LayoutText {#text} at (0,0) size 21x19
           text run at (0,0) width 21: "dttr"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-end-tag-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-end-tag-expected.png
index 79bb578..9fa02585 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-end-tag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-end-tag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-end-tag-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-end-tag-expected.txt
index 5a268b1..5ac7f394 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-end-tag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-end-tag-expected.txt
@@ -14,10 +14,10 @@
         LayoutText {#text} at (0,0) size 428x22
           text run at (0,0) width 428: "Below is a rendering of the page up to the first error."
     LayoutBlockFlow (anonymous) at (0,171.88) size 800x20
-      LayoutInline {body} at (0,0) size 173x19
+      LayoutInline {body} at (0,0) size 172x19
         LayoutText {#text} at (0,0) size 0x0
-        LayoutInline {p} at (0,0) size 173x19
-          LayoutText {#text} at (0,0) size 173x19
-            text run at (0,0) width 173: "You should see errors above"
+        LayoutInline {p} at (0,0) size 172x19
+          LayoutText {#text} at (0,0) size 172x19
+            text run at (0,0) width 172: "You should see errors above"
         LayoutText {#text} at (0,0) size 0x0
         LayoutInline {p} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-font-end-tag-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-font-end-tag-expected.png
index 5b12ac9..128d68c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-font-end-tag-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-font-end-tag-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-font-end-tag-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-font-end-tag-expected.txt
index cfc72055..d9fdaeb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-font-end-tag-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/missing-font-end-tag-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {DIV} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {A} at (0,0) size 111x19 [color=#0000EE]
-          LayoutText {#text} at (49,0) size 111x19
-            text run at (49,0) width 111: "Bugzilla Bug 7724"
-        LayoutText {#text} at (159,0) size 456x19
-          text run at (159,0) width 456: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
+        LayoutInline {A} at (0,0) size 110x19 [color=#0000EE]
+          LayoutText {#text} at (50,0) size 110x19
+            text run at (50,0) width 110: "Bugzilla Bug 7724"
+        LayoutText {#text} at (160,0) size 455x19
+          text run at (160,0) width 455: " Minor refactoring to HTMLParser::handleError() to remove duplicate code"
       LayoutBlockFlow (anonymous) at (0,20) size 784x20
         LayoutInline {FONT} at (0,0) size 32x19
           LayoutText {#text} at (0,0) size 32x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/nestedh3s-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/nestedh3s-expected.txt
index b470087..a21292a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/invalid/nestedh3s-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/invalid/nestedh3s-expected.txt
@@ -14,9 +14,9 @@
         LayoutBlockFlow (anonymous) at (4,48.89) size 776x227.19
           LayoutBlockFlow {H3} at (0,0) size 776x227.19 [border: (2px solid #FF0000)]
             LayoutBlockFlow (anonymous) at (4,4) size 768x26
-              LayoutInline {I} at (0,0) size 38x25
-                LayoutText {#text} at (0,0) size 38x25
-                  text run at (0,0) width 38: "Two"
+              LayoutInline {I} at (0,0) size 37x25
+                LayoutText {#text} at (0,0) size 37x25
+                  text run at (0,0) width 37: "Two"
             LayoutBlockFlow (anonymous) at (4,55.63) size 768x141.94
               LayoutBlockFlow {H3} at (0,0) size 768x141.94 [border: (2px solid #FF0000)]
                 LayoutBlockFlow (anonymous) at (4,4) size 760x31
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/layers/inline-dirty-z-order-lists-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/layers/inline-dirty-z-order-lists-expected.png
index 4d4d4222..1ae5295 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/layers/inline-dirty-z-order-lists-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/layers/inline-dirty-z-order-lists-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/layers/inline-dirty-z-order-lists-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/layers/inline-dirty-z-order-lists-expected.txt
index da7fe133..907c1a7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/layers/inline-dirty-z-order-lists-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/layers/inline-dirty-z-order-lists-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 772x39
-          LayoutInline {A} at (0,0) size 312x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 312x19
-              text run at (49,0) width 312: "https://bugs.webkit.org/show_bug.cgi?id=23848"
-          LayoutText {#text} at (360,0) size 772x39
-            text run at (360,0) width 412: " REGRESSION: Crash when mouse cursor moves over a link on"
+        LayoutInline {I} at (0,0) size 771x39
+          LayoutInline {A} at (0,0) size 310x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 310x19
+              text run at (50,0) width 310: "https://bugs.webkit.org/show_bug.cgi?id=23848"
+          LayoutText {#text} at (360,0) size 771x39
+            text run at (360,0) width 411: " REGRESSION: Crash when mouse cursor moves over a link on"
             text run at (0,20) width 122: "www.opportuno.de"
-        LayoutText {#text} at (121,20) size 5x19
-          text run at (121,20) width 5: "."
+        LayoutText {#text} at (122,20) size 4x19
+          text run at (122,20) width 4: "."
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 692x19
           text run at (0,0) width 420: "This tests that changing the z-index of an inline correctly invalidates its "
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/layers/layer-visibility-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/layers/layer-visibility-expected.txt
index 34375d4..c9092b6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/layers/layer-visibility-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/layers/layer-visibility-expected.txt
@@ -143,8 +143,8 @@
       text run at (2,2) width 32: "failed"
 layer at (10,218) size 130x40
   LayoutBlockFlow (relative positioned) {DIV} at (2,2) size 130x40
-    LayoutText {#text} at (0,0) size 109x39
-      text run at (0,0) width 109: "11 green box with"
+    LayoutText {#text} at (0,0) size 108x39
+      text run at (0,0) width 108: "11 green box with"
       text run at (0,20) width 55: "word ok:"
 hidden layer at (10,258) size 130x34
   LayoutBlockFlow (positioned) {DIV} at (0,40) size 130x34 [border: (2px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/layers/normal-flow-hit-test-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/layers/normal-flow-hit-test-expected.png
index 6f8102a..fddcf74d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/layers/normal-flow-hit-test-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/layers/normal-flow-hit-test-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/layers/normal-flow-hit-test-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/layers/normal-flow-hit-test-expected.txt
index 0b279bc8..25c7487c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/layers/normal-flow-hit-test-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/layers/normal-flow-hit-test-expected.txt
@@ -6,9 +6,9 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 56x19
           text run at (0,0) width 56: "Tests for "
-        LayoutInline {A} at (0,0) size 292x19 [color=#0000EE]
-          LayoutText {#text} at (55,0) size 292x19
-            text run at (55,0) width 292: "https://bugs.webkit.org/show_bug.cgi?id=24552"
+        LayoutInline {A} at (0,0) size 291x19 [color=#0000EE]
+          LayoutText {#text} at (56,0) size 291x19
+            text run at (56,0) width 291: "https://bugs.webkit.org/show_bug.cgi?id=24552"
       LayoutBlockFlow (anonymous) at (0,36) size 784x125
         LayoutText {#text} at (120,105) size 4x19
           text run at (120,105) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-outline-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-outline-expected.png
index 1594802..5e477cca 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-outline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-outline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-outline-expected.txt
index f4bf7592..2a083598 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-outline-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 766x39
-          LayoutInline {A} at (0,0) size 351x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 351x19
-              text run at (49,0) width 351: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9193"
-          LayoutText {#text} at (399,0) size 766x39
-            text run at (399,0) width 5: " "
-            text run at (403,0) width 363: "REGRESSION: setting an opacity on an element with an"
+        LayoutInline {I} at (0,0) size 765x39
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 349x19
+              text run at (50,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9193"
+          LayoutText {#text} at (399,0) size 765x39
+            text run at (399,0) width 4: " "
+            text run at (403,0) width 362: "REGRESSION: setting an opacity on an element with an"
             text run at (0,20) width 319: "outline causes the outline to disappear completely"
         LayoutText {#text} at (319,20) size 4x19
           text run at (319,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-transforms-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-transforms-expected.png
index bf73715..8c6e46e7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-transforms-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-transforms-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-transforms-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-transforms-expected.txt
index def899c9..ed780ae 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-transforms-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-transforms-expected.txt
@@ -8,8 +8,8 @@
           LayoutText {#text} at (0,0) size 291x19
             text run at (0,0) width 291: "https://bugs.webkit.org/show_bug.cgi?id=22026"
       LayoutBlockFlow {P} at (0,36) size 784x20
-        LayoutText {#text} at (0,0) size 624x19
-          text run at (0,0) width 624: "Test that elements with transform and opacity on a parent are not clipped. You should see no red below."
+        LayoutText {#text} at (0,0) size 623x19
+          text run at (0,0) width 623: "Test that elements with transform and opacity on a parent are not clipped. You should see no red below."
 layer at (150,200) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (150,200) size 100x100 [bgcolor=#FF0000]
 layer at (100,150) size 100x100 transparent
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/layers/overflow-hidden-rounded-corners-occlusion-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/layers/overflow-hidden-rounded-corners-occlusion-expected.txt
index e6f17103..eaa23b3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/layers/overflow-hidden-rounded-corners-occlusion-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/layers/overflow-hidden-rounded-corners-occlusion-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow (anonymous) at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 485x19
           text run at (0,0) width 485: "Test that verifies that rounded corners with overflow:hidden composite correctly. "
-        LayoutBR {BR} at (484,0) size 1x19
+        LayoutBR {BR} at (485,0) size 0x19
         LayoutText {#text} at (0,20) size 610x19
           text run at (0,20) width 610: "This page should show a green box with rounded corners on top of a yellow box with square corners."
       LayoutBlockFlow {DIV} at (0,40) size 100x100 [bgcolor=#FFFF00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/layers/remove-only-this-layer-update-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/layers/remove-only-this-layer-update-expected.txt
index cfc0fe04..5aa1626 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/layers/remove-only-this-layer-update-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/layers/remove-only-this-layer-update-expected.txt
@@ -7,8 +7,8 @@
       LayoutBlockFlow (anonymous) at (0,200) size 800x40
         LayoutText {#text} at (0,0) size 774x39
           text run at (0,0) width 476: "You should see a 100x100 green rect at 100x100 above with the word PASS. "
-          text run at (475,0) width 225: "There should be no red on this page. "
-          text run at (699,0) width 75: "This is a test"
+          text run at (476,0) width 224: "There should be no red on this page. "
+          text run at (700,0) width 74: "This is a test"
           text run at (0,20) width 343: "case for https://bugs.webkit.org/show_bug.cgi?id=25252"
 layer at (100,100) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (100,100) size 100x100 [bgcolor=#FF0000]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/layers/scroll-rect-to-visible-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/layers/scroll-rect-to-visible-expected.png
index d0cff89..2ee5e5ad 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/layers/scroll-rect-to-visible-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/layers/scroll-rect-to-visible-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/layers/scroll-rect-to-visible-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/layers/scroll-rect-to-visible-expected.txt
index 7f742fd8..93c46e8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/layers/scroll-rect-to-visible-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/layers/scroll-rect-to-visible-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 769x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 755x39
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=14875"
-          LayoutText {#text} at (354,0) size 755x39
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 397: "Textarea with nowrap - left/right nav, Up/down nav both hide"
+        LayoutInline {I} at (0,0) size 754x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=14875"
+          LayoutText {#text} at (354,0) size 754x39
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 396: "Textarea with nowrap - left/right nav, Up/down nav both hide"
             text run at (0,20) width 25: "text"
         LayoutText {#text} at (25,20) size 4x19
           text run at (25,20) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/layers/zindex-inherit-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/layers/zindex-inherit-expected.txt
index f75b48cc..ca6717f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/layers/zindex-inherit-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/layers/zindex-inherit-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 228x19
-          text run at (0,0) width 228: "You should see a green square below."
+        LayoutText {#text} at (0,0) size 227x19
+          text run at (0,0) width 227: "You should see a green square below."
 layer at (8,28) size 100x100
   LayoutBlockFlow (relative positioned) {DIV} at (0,20) size 100x100 [bgcolor=#FF0000]
 layer at (8,28) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/lists/003-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/lists/003-expected.png
index 27b9dcbe..aafc906f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/lists/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/lists/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/lists/003-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/lists/003-vertical-expected.png
index 5f7cb51..0ae0fb3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/lists/003-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/lists/003-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/lists/marker-before-empty-inline-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/lists/marker-before-empty-inline-expected.png
index 2708a3a1..49ff129 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/lists/marker-before-empty-inline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/lists/marker-before-empty-inline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/lists/marker-image-error-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/lists/marker-image-error-expected.png
index ea1b035..5aa9f78 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/lists/marker-image-error-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/lists/marker-image-error-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/lists/markers-in-selection-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/lists/markers-in-selection-expected.png
index 76b6851d0..6f65b6ea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/lists/markers-in-selection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/lists/markers-in-selection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/border-radius-clipped-layer-second-column-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/border-radius-clipped-layer-second-column-expected.png
index 327a06e..87b3d02 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/border-radius-clipped-layer-second-column-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/border-radius-clipped-layer-second-column-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-opacity-2nd-and-3rd-column-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-opacity-2nd-and-3rd-column-expected.png
index c1fb473a..807ef1a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-opacity-2nd-and-3rd-column-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-opacity-2nd-and-3rd-column-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-relpos-overlapping-will-change-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-relpos-overlapping-will-change-expected.png
index 5f678cc6..9910c4b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-relpos-overlapping-will-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-relpos-overlapping-will-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-with-child-layer-in-next-column-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-with-child-layer-in-next-column-expected.png
index f2b3346..54ea7a0c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-with-child-layer-in-next-column-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-with-child-layer-in-next-column-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-with-overflow-in-next-column-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-with-overflow-in-next-column-expected.png
index c77d5368..b11a6e1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-with-overflow-in-next-column-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/composited-with-overflow-in-next-column-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/multicol-with-child-renderLayer-for-input-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/multicol-with-child-renderLayer-for-input-expected.png
index 3a2325f..0035d23 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/multicol-with-child-renderLayer-for-input-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/multicol-with-child-renderLayer-for-input-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/vertical-lr/composited-relpos-overlapping-will-change-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/vertical-lr/composited-relpos-overlapping-will-change-expected.png
index c416ef41..17cf2894 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/vertical-lr/composited-relpos-overlapping-will-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/vertical-lr/composited-relpos-overlapping-will-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/vertical-rl/composited-relpos-overlapping-will-change-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/vertical-rl/composited-relpos-overlapping-will-change-expected.png
index b0c6c867..0cd8260 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/multicol/vertical-rl/composited-relpos-overlapping-will-change-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/multicol/vertical-rl/composited-relpos-overlapping-will-change-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/003-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/003-expected.png
index 5310a43..9999fa56 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/006-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/006-expected.png
index 5d666ce..778d054 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/006-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/006-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/007-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/007-expected.png
index f558793ea..3a8703b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/float-in-relpositioned-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/float-in-relpositioned-expected.png
index 839bd15b..dde51e3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/float-in-relpositioned-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/float-in-relpositioned-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/hit-test-overflow-controls-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/hit-test-overflow-controls-expected.png
index f2a1b33..478b21e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/hit-test-overflow-controls-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/hit-test-overflow-controls-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/image-selection-highlight-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/image-selection-highlight-expected.png
index 821239e..c1c51146 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/image-selection-highlight-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/image-selection-highlight-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/infiniteRecursion-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/infiniteRecursion-expected.png
index 2eb2c77..c112552 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/infiniteRecursion-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/infiniteRecursion-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-rtl-expected.png
index 0ca3d0a4..73fbc75 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-rtl-inline-scrollbar-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-rtl-inline-scrollbar-expected.png
index 34d5a88f..b3c1cbf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-rtl-inline-scrollbar-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-rtl-inline-scrollbar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-rtl-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-rtl-vertical-expected.png
index cd0cb16..60fb272f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-rtl-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-rtl-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-text-hit-testing-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-text-hit-testing-expected.png
index 4a57751..d502dd3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-text-hit-testing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-text-hit-testing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-with-local-background-attachment-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-with-local-background-attachment-expected.png
index 748762d..be61ff8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-with-local-background-attachment-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/overflow-with-local-background-attachment-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/position-fixed-transform-clipping-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/position-fixed-transform-clipping-expected.png
index 0d9e599..335ebb78 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/position-fixed-transform-clipping-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/position-fixed-transform-clipping-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/scrollbar-position-update-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/scrollbar-position-update-expected.png
index a183133..3b04365a5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/scrollbar-position-update-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/scrollbar-position-update-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/table-overflow-float-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/table-overflow-float-expected.png
index fe85d25..00b7c5a7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/overflow/table-overflow-float-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/overflow/table-overflow-float-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/parser/document-write-option-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/parser/document-write-option-expected.png
index b157dce..f4c41a4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/parser/document-write-option-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/parser/document-write-option-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/parser/document-write-option-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/parser/document-write-option-expected.txt
index 36f7487..9ed21d4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/parser/document-write-option-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/parser/document-write-option-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutMenuList {SELECT} at (0,0) size 338x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 336x18
-          LayoutText (anonymous) at (4,1) size 316x16
-            text run at (4,1) width 316: "This is a very long string so it makes the select bigger."
+      LayoutMenuList {SELECT} at (0,0) size 337x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutBlockFlow (anonymous) at (1,1) size 335x18
+          LayoutText (anonymous) at (4,1) size 315x16
+            text run at (4,1) width 315: "This is a very long string so it makes the select bigger."
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/parser/entity-comment-in-style-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/parser/entity-comment-in-style-expected.png
index 3f018fba3..5f5f33a6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/parser/entity-comment-in-style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/parser/entity-comment-in-style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/parser/entity-comment-in-style-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/parser/entity-comment-in-style-expected.txt
index b35ddd2..801e876 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/parser/entity-comment-in-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/parser/entity-comment-in-style-expected.txt
@@ -7,5 +7,5 @@
         LayoutText {#text} at (0,0) size 529x19
           text run at (0,0) width 529: "--> */ h1 { background-color: red; } /* This comment should not be part of the style. */"
       LayoutBlockFlow {H1} at (0,41.44) size 784x37
-        LayoutText {#text} at (0,0) size 602x36
-          text run at (0,0) width 602: "This text should not have a red background."
+        LayoutText {#text} at (0,0) size 601x36
+          text run at (0,0) width 601: "This text should not have a red background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/parser/nofoo-tags-inside-paragraph-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/parser/nofoo-tags-inside-paragraph-expected.png
index b59fbb5b..6bf59b34 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/parser/nofoo-tags-inside-paragraph-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/parser/nofoo-tags-inside-paragraph-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/parser/nofoo-tags-inside-paragraph-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/parser/nofoo-tags-inside-paragraph-expected.txt
index 385c24c6..244e021 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/parser/nofoo-tags-inside-paragraph-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/parser/nofoo-tags-inside-paragraph-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {DIV} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 81x19
           text run at (0,0) width 81: "Test case for "
-        LayoutInline {A} at (0,0) size 61x19 [color=#0000EE]
-          LayoutText {#text} at (80,0) size 61x19
-            text run at (80,0) width 61: "Bug 7265"
-        LayoutText {#text} at (140,0) size 563x19
-          text run at (140,0) width 563: " REGRESSION: noscript, noframes, nolayer, noembed tags insert break inside paragraph tag"
+        LayoutInline {A} at (0,0) size 60x19 [color=#0000EE]
+          LayoutText {#text} at (81,0) size 60x19
+            text run at (81,0) width 60: "Bug 7265"
+        LayoutText {#text} at (141,0) size 561x19
+          text run at (141,0) width 561: " REGRESSION: noscript, noframes, nolayer, noembed tags insert break inside paragraph tag"
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 306x19
           text run at (0,0) width 306: "This sentence contains noscript tags and should be "
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/parser/open-comment-in-style-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/parser/open-comment-in-style-expected.png
index 5224933..ef78212 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/parser/open-comment-in-style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/parser/open-comment-in-style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/parser/open-comment-in-style-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/parser/open-comment-in-style-expected.txt
index 8d2ca34..936f19ea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/parser/open-comment-in-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/parser/open-comment-in-style-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x570.56
       LayoutBlockFlow {H1} at (0,0) size 784x37 [bgcolor=#008000]
-        LayoutText {#text} at (0,0) size 579x36
-          text run at (0,0) width 579: "This text should have a green background."
+        LayoutText {#text} at (0,0) size 578x36
+          text run at (0,0) width 578: "This text should have a green background."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/parser/xhtml-alternate-entities-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/parser/xhtml-alternate-entities-expected.png
index 74b1fbd9..5f8152a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/parser/xhtml-alternate-entities-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/parser/xhtml-alternate-entities-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/parser/xhtml-alternate-entities-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/parser/xhtml-alternate-entities-expected.txt
index ec946c93..909283e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/parser/xhtml-alternate-entities-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/parser/xhtml-alternate-entities-expected.txt
@@ -17,9 +17,9 @@
       LayoutInline {h1} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
       LayoutText {#text} at (0,0) size 0x0
-      LayoutInline {p} at (0,0) size 465x19
-        LayoutInline {font} at (0,0) size 465x19
-          LayoutText {#text} at (0,0) size 465x19
+      LayoutInline {p} at (0,0) size 464x19
+        LayoutInline {font} at (0,0) size 464x19
+          LayoutText {#text} at (0,0) size 464x19
             text run at (0,0) width 246: "This should be the only line on this page. "
-            text run at (246,0) width 219: "You should see a parse error above."
+            text run at (246,0) width 218: "You should see a parse error above."
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/reflections/inline-crash-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/reflections/inline-crash-expected.png
index 094c935..0ff71f86 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/reflections/inline-crash-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/reflections/inline-crash-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/reflections/inline-crash-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/reflections/inline-crash-expected.txt
index 8b4e30d1..c21490e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/reflections/inline-crash-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/reflections/inline-crash-expected.txt
@@ -6,22 +6,22 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 667x19
-          LayoutInline {A} at (0,0) size 312x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 312x19
-              text run at (49,0) width 312: "https://bugs.webkit.org/show_bug.cgi?id=19525"
-          LayoutText {#text} at (360,0) size 356x19
-            text run at (360,0) width 5: " "
-            text run at (364,0) width 352: "-webkit-box-reflect in hyperlink causes webkit to crash"
-        LayoutText {#text} at (715,0) size 5x19
-          text run at (715,0) width 5: "."
+        LayoutInline {I} at (0,0) size 665x19
+          LayoutInline {A} at (0,0) size 310x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 310x19
+              text run at (50,0) width 310: "https://bugs.webkit.org/show_bug.cgi?id=19525"
+          LayoutText {#text} at (360,0) size 355x19
+            text run at (360,0) width 4: " "
+            text run at (364,0) width 351: "-webkit-box-reflect in hyperlink causes webkit to crash"
+        LayoutText {#text} at (715,0) size 4x19
+          text run at (715,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 164x19
           text run at (0,0) width 164: "Because it is an inline flow, "
-        LayoutInline {SPAN} at (0,0) size 53x19
-          LayoutText {#text} at (163,0) size 53x19
-            text run at (163,0) width 53: "this span"
-        LayoutText {#text} at (215,0) size 420x19
-          text run at (215,0) width 420: " should not have a reflection, and selecting it should not cause a crash."
+        LayoutInline {SPAN} at (0,0) size 52x19
+          LayoutText {#text} at (164,0) size 52x19
+            text run at (164,0) width 52: "this span"
+        LayoutText {#text} at (216,0) size 419x19
+          text run at (216,0) width 419: " should not have a reflection, and selecting it should not cause a crash."
 selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 2 {P} of body
 selection end:   position 9 of child 0 {#text} of child 1 {SPAN} of child 2 {P} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/reflections/opacity-reflection-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/reflections/opacity-reflection-transform-expected.txt
index a57374f..1da215dc1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/reflections/opacity-reflection-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/reflections/opacity-reflection-transform-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x572
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 783x19
-          text run at (0,0) width 783: "Test that opacity doesn't cause clipping of transformed, reflected content. You should see a rotated green box and its full reflection."
+        LayoutText {#text} at (0,0) size 782x19
+          text run at (0,0) width 782: "Test that opacity doesn't cause clipping of transformed, reflected content. You should see a rotated green box and its full reflection."
 layer at (108,48) size 102x102 transparent
   LayoutBlockFlow {DIV} at (100,40) size 102x102 [border: (1px solid #000000)]
 layer at (109,49) size 200x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/reflections/reflection-overflow-hidden-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/reflections/reflection-overflow-hidden-expected.png
index 4d92cb34..b122aca 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/reflections/reflection-overflow-hidden-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/reflections/reflection-overflow-hidden-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/reflections/reflection-overflow-hidden-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/reflections/reflection-overflow-hidden-expected.txt
index ea00215..ee4728a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/reflections/reflection-overflow-hidden-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/reflections/reflection-overflow-hidden-expected.txt
@@ -12,9 +12,9 @@
         LayoutInline {A} at (0,0) size 291x19 [color=#0000EE]
           LayoutText {#text} at (0,0) size 291x19
             text run at (0,0) width 291: "https://bugs.webkit.org/show_bug.cgi?id=22570"
-        LayoutText {#text} at (290,0) size 698x39
-          text run at (290,0) width 59: ". Test for "
-          text run at (348,0) width 350: "reflection painting on overflow:hidden element. You should"
+        LayoutText {#text} at (291,0) size 698x39
+          text run at (291,0) width 58: ". Test for "
+          text run at (349,0) width 349: "reflection painting on overflow:hidden element. You should"
           text run at (0,20) width 136: "not see any red below."
 layer at (50,100) size 400x200
   LayoutBlockFlow (positioned) {DIV} at (50,100) size 400x200
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/reflections/transparent-reflected-sublayers-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/reflections/transparent-reflected-sublayers-expected.txt
index 70e7a3b8..cfcc420 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/reflections/transparent-reflected-sublayers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/reflections/transparent-reflected-sublayers-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (0,0) size 347x19
-        text run at (0,0) width 347: "You should see four green squares in a vertical line below."
+      LayoutText {#text} at (0,0) size 346x19
+        text run at (0,0) width 346: "You should see four green squares in a vertical line below."
 layer at (8,160) size 100x100 transparent
   LayoutBlockFlow (positioned) {DIV} at (8,160) size 100x100 [bgcolor=#008000]
 layer at (8,400) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/004-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/004-expected.png
index e73f1bd..5b9cc48 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/absolute-position-percentage-height-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/absolute-position-percentage-height-expected.png
index 8671cbd..29241f2e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/absolute-position-percentage-height-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/absolute-position-percentage-height-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/image-resize-width-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/image-resize-width-expected.png
index fcf0b37..f42f0ec5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/image-resize-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/image-resize-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/image-solid-color-with-alpha-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/image-solid-color-with-alpha-expected.png
index b08c53e3..9c9226162 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/image-solid-color-with-alpha-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/image-solid-color-with-alpha-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/max-width-percent-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/max-width-percent-expected.png
index ff2c3751..7d186b1b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/max-width-percent-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/max-width-percent-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/percent-height-in-anonymous-block-in-table-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/percent-height-in-anonymous-block-in-table-expected.png
index 488b0dd..e1fe16e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/percent-height-in-anonymous-block-in-table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/percent-height-in-anonymous-block-in-table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/selection-rect-in-table-cell-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/selection-rect-in-table-cell-expected.png
index 088f74f5..f90c855 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/selection-rect-in-table-cell-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/selection-rect-in-table-cell-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/selection-rect-transform-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/selection-rect-transform-expected.png
index 07b796f..7bdc69e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/selection-rect-transform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/selection-rect-transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/width100percent-image-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/width100percent-image-expected.png
index 591b8af7..ba5595a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/replaced/width100percent-image-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/replaced/width100percent-image-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-empty-rt-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-empty-rt-expected.txt
index e8dc78a..f96d6d3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-empty-rt-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-empty-rt-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 421x19
-          text run at (0,0) width 421: "The following is a test for having a <rt> immediately following another."
+        LayoutText {#text} at (0,0) size 420x19
+          text run at (0,0) width 420: "The following is a test for having a <rt> immediately following another."
       LayoutBlockFlow (anonymous) at (0,36) size 784x40
         LayoutBR {BR} at (0,0) size 0x19
         LayoutBR {BR} at (0,20) size 0x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-run-break-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-run-break-expected.png
index 3cd0512..ecba47e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-run-break-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-run-break-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-run-break-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-run-break-expected.txt
index ca44b1bc..07d77339 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-run-break-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-run-break-expected.txt
@@ -14,7 +14,7 @@
       LayoutBlockFlow {DIV} at (0,80) size 284x77 [border: (2px solid #0000FF)]
         LayoutText {#text} at (12,14) size 146x19
           text run at (12,14) width 146: "<ruby> is defined in the "
-        LayoutRuby (inline) {RUBY} at (0,0) size 250x50
+        LayoutRuby (inline) {RUBY} at (0,0) size 249x50
           LayoutRubyRun (anonymous) at (154,14) size 24x20
             LayoutRubyText {RT} at (0,-12) size 24x12
               LayoutText {#text} at (0,0) size 24x12
@@ -22,21 +22,21 @@
             LayoutRubyBase (anonymous) at (0,0) size 24x20
               LayoutText {#text} at (6,0) size 12x19
                 text run at (6,0) width 12: "H"
-          LayoutRubyRun (anonymous) at (178,14) size 15.38x20
-            LayoutRubyText {RT} at (0,-12) size 15.38x12
-              LayoutText {#text} at (0,0) size 16x12
-                text run at (0,0) width 16: "Text"
-            LayoutRubyBase (anonymous) at (0,0) size 15.38x20
-              LayoutText {#text} at (3,0) size 10x19
-                text run at (3,0) width 10: "T"
-          LayoutRubyRun (anonymous) at (193.38,14) size 30x20
+          LayoutRubyRun (anonymous) at (178,14) size 15x20
+            LayoutRubyText {RT} at (0,-12) size 15x12
+              LayoutText {#text} at (0,0) size 15x12
+                text run at (0,0) width 15: "Text"
+            LayoutRubyBase (anonymous) at (0,0) size 15x20
+              LayoutText {#text} at (3,0) size 9x19
+                text run at (3,0) width 9: "T"
+          LayoutRubyRun (anonymous) at (193,14) size 30x20
             LayoutRubyText {RT} at (0,-12) size 30x12
               LayoutText {#text} at (0,0) size 30x12
                 text run at (0,0) width 30: "Markup"
             LayoutRubyBase (anonymous) at (0,0) size 30x20
               LayoutText {#text} at (8,0) size 14x19
                 text run at (8,0) width 14: "M"
-          LayoutRubyRun (anonymous) at (223.38,14) size 38x20
+          LayoutRubyRun (anonymous) at (223,14) size 38x20
             LayoutRubyText {RT} at (0,-12) size 38x12
               LayoutText {#text} at (0,0) size 38x12
                 text run at (0,0) width 38: "Language"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-expected.png
index bb899476..9ea5b79 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-expected.txt
index 340b142..2a56342 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-expected.txt
@@ -11,7 +11,7 @@
       LayoutBlockFlow {P} at (0,56) size 784x32
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
-        LayoutRuby (inline) {RUBY} at (0,0) size 129x19
+        LayoutRuby (inline) {RUBY} at (0,0) size 128x19
           LayoutRubyRun (anonymous) at (142,12) size 24x20
             LayoutRubyText {RT} at (0,-12) size 24x12
               LayoutText {#text} at (0,0) size 24x12
@@ -19,33 +19,33 @@
             LayoutRubyBase (anonymous) at (0,0) size 24x20
               LayoutText {#text} at (6,0) size 12x19
                 text run at (6,0) width 12: "H"
-          LayoutRubyRun (anonymous) at (166,12) size 15.38x20
-            LayoutRubyText {RT} at (0,-12) size 15.38x12
-              LayoutText {#text} at (0,0) size 16x12
-                text run at (0,0) width 16: "Text"
-            LayoutRubyBase (anonymous) at (0,0) size 15.38x20
-              LayoutText {#text} at (3,0) size 10x19
-                text run at (3,0) width 10: "T"
-          LayoutRubyRun (anonymous) at (181.38,12) size 30x20
+          LayoutRubyRun (anonymous) at (166,12) size 15x20
+            LayoutRubyText {RT} at (0,-12) size 15x12
+              LayoutText {#text} at (0,0) size 15x12
+                text run at (0,0) width 15: "Text"
+            LayoutRubyBase (anonymous) at (0,0) size 15x20
+              LayoutText {#text} at (3,0) size 9x19
+                text run at (3,0) width 9: "T"
+          LayoutRubyRun (anonymous) at (181,12) size 30x20
             LayoutRubyText {RT} at (0,-12) size 30x12
               LayoutText {#text} at (0,0) size 30x12
                 text run at (0,0) width 30: "Markup"
             LayoutRubyBase (anonymous) at (0,0) size 30x20
               LayoutText {#text} at (8,0) size 14x19
                 text run at (8,0) width 14: "M"
-          LayoutRubyRun (anonymous) at (211.38,12) size 38x20
+          LayoutRubyRun (anonymous) at (211,12) size 38x20
             LayoutRubyText {RT} at (0,-12) size 38x12
               LayoutText {#text} at (0,0) size 38x12
                 text run at (0,0) width 38: "Language"
             LayoutRubyBase (anonymous) at (0,0) size 38x20
               LayoutText {#text} at (14,0) size 10x19
                 text run at (14,0) width 10: "L"
-          LayoutRubyRun (anonymous) at (249.38,12) size 29x20
+          LayoutRubyRun (anonymous) at (249,12) size 29x20
             LayoutRubyText {RT} at (0,-12) size 29x12
               LayoutText {#text} at (0,0) size 29x12
                 text run at (0,0) width 29: "Level 5"
             LayoutRubyBase (anonymous) at (0,0) size 29x20
               LayoutText {#text} at (10,0) size 9x19
                 text run at (10,0) width 9: "5"
-        LayoutText {#text} at (274,12) size 43x19
-          text run at (274,12) width 43: " specs."
+        LayoutText {#text} at (274,12) size 42x19
+          text run at (274,12) width 42: " specs."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-spans-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-spans-expected.png
index 5ff9ed5..074804f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-spans-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-spans-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-spans-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-spans-expected.txt
index c2927b25..179ba375 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-spans-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-runs-spans-expected.txt
@@ -10,15 +10,15 @@
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 128x19
-          LayoutRubyRun (anonymous) at (142,12) size 40.83x20
-            LayoutRubyText {RT} at (0,-12) size 40.83x12
-              LayoutText {#text} at (0,0) size 42x12
-                text run at (0,0) width 42: "Hyper-text"
-            LayoutRubyBase (anonymous) at (0,0) size 40.83x20
+          LayoutRubyRun (anonymous) at (142,12) size 41x20
+            LayoutRubyText {RT} at (0,-12) size 41x12
+              LayoutText {#text} at (0,0) size 41x12
+                text run at (0,0) width 41: "Hyper-text"
+            LayoutRubyBase (anonymous) at (0,0) size 41x20
               LayoutInline {SPAN} at (0,0) size 21x19
                 LayoutText {#text} at (10,0) size 21x19
                   text run at (10,0) width 21: "HT"
-          LayoutRubyRun (anonymous) at (182.83,12) size 95x20
+          LayoutRubyRun (anonymous) at (183,12) size 95x20
             LayoutRubyText {RT} at (0,-12) size 95x12
               LayoutText {#text} at (0,0) size 95x12
                 text run at (0,0) width 95: "Markup Language Lvl. 5"
@@ -32,5 +32,5 @@
               LayoutInline {SPAN} at (0,0) size 8x19
                 LayoutText {#text} at (55,0) size 8x19
                   text run at (55,0) width 8: "5"
-        LayoutText {#text} at (273,12) size 37x19
-          text run at (273,12) width 37: " spec."
+        LayoutText {#text} at (274,12) size 36x19
+          text run at (274,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-simple-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-simple-expected.txt
index 23e36f4..13e893ca 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-simple-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-simple-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow (anonymous) at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 209x19
           text run at (0,0) width 209: "This is a initial test for simple ruby. "
-        LayoutBR {BR} at (208,15) size 1x0
+        LayoutBR {BR} at (209,15) size 0x0
         LayoutBR {BR} at (0,20) size 0x19
       LayoutBlockFlow {P} at (0,56) size 784x32
         LayoutText {#text} at (0,12) size 151x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-trailing-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-trailing-expected.txt
index 69254aa7..c5d11ea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-trailing-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/ruby-trailing-expected.txt
@@ -13,16 +13,16 @@
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 117x19
-          LayoutRubyRun (anonymous) at (142,12) size 112.83x20
-            LayoutRubyText {RT} at (0,-12) size 112.83x12
+          LayoutRubyRun (anonymous) at (142,12) size 113x20
+            LayoutRubyText {RT} at (0,-12) size 113x12
               LayoutText {#text} at (0,0) size 113x12
                 text run at (0,0) width 113: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 112.83x20
-              LayoutText {#text} at (34,0) size 44x19
-                text run at (34,0) width 44: "HTML"
-          LayoutRubyRun (anonymous) at (254.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 113x20
+              LayoutText {#text} at (35,0) size 43x19
+                text run at (35,0) width 43: "HTML"
+          LayoutRubyRun (anonymous) at (255,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (262,12) size 5x19
-          text run at (262,12) width 5: "."
+        LayoutText {#text} at (263,12) size 4x19
+          text run at (263,12) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-rt-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-rt-expected.png
index a632ff05..a25448f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-rt-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-rt-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-rt-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-rt-expected.txt
index 760a9ac2..ac63998b6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-rt-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-rt-expected.txt
@@ -16,15 +16,15 @@
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 115x19
-          LayoutRubyRun (anonymous) at (142,12) size 40.83x20
-            LayoutRubyText {RT} at (0,-12) size 40.83x12
-              LayoutText {#text} at (0,0) size 42x12
-                text run at (0,0) width 42: "Hyper-text"
-            LayoutRubyBase (anonymous) at (0,0) size 40.83x20
+          LayoutRubyRun (anonymous) at (142,12) size 41x20
+            LayoutRubyText {RT} at (0,-12) size 41x12
+              LayoutText {#text} at (0,0) size 41x12
+                text run at (0,0) width 41: "Hyper-text"
+            LayoutRubyBase (anonymous) at (0,0) size 41x20
               LayoutInline {SPAN} at (0,0) size 21x19
                 LayoutText {#text} at (10,0) size 21x19
                   text run at (10,0) width 21: "HT"
-          LayoutRubyRun (anonymous) at (182.83,12) size 70x20
+          LayoutRubyRun (anonymous) at (183,12) size 70x20
             LayoutRubyText {RT} at (0,-12) size 70x12
               LayoutText {#text} at (0,0) size 70x12
                 text run at (0,0) width 70: "Markup Language"
@@ -32,25 +32,25 @@
               LayoutInline {SPAN} at (0,0) size 24x19
                 LayoutText {#text} at (23,0) size 24x19
                   text run at (23,0) width 24: "ML"
-          LayoutRubyRun (anonymous) at (252.83,12) size 8x20
+          LayoutRubyRun (anonymous) at (253,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (260,12) size 37x19
-          text run at (260,12) width 37: " spec."
+        LayoutText {#text} at (261,12) size 36x19
+          text run at (261,12) width 36: " spec."
       LayoutBlockFlow {P} at (0,176) size 784x32
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 115x19
-          LayoutRubyRun (anonymous) at (142,12) size 40.83x20
-            LayoutRubyText {RT} at (0,-12) size 40.83x12
-              LayoutText {#text} at (0,0) size 42x12
-                text run at (0,0) width 42: "Hyper-text"
-            LayoutRubyBase (anonymous) at (0,0) size 40.83x20
+          LayoutRubyRun (anonymous) at (142,12) size 41x20
+            LayoutRubyText {RT} at (0,-12) size 41x12
+              LayoutText {#text} at (0,0) size 41x12
+                text run at (0,0) width 41: "Hyper-text"
+            LayoutRubyBase (anonymous) at (0,0) size 41x20
               LayoutInline {SPAN} at (0,0) size 21x19
                 LayoutText {#text} at (10,0) size 21x19
                   text run at (10,0) width 21: "HT"
-          LayoutRubyRun (anonymous) at (182.83,12) size 70x20
+          LayoutRubyRun (anonymous) at (183,12) size 70x20
             LayoutRubyText {RT} at (0,-12) size 70x12
               LayoutText {#text} at (0,0) size 70x12
                 text run at (0,0) width 70: "Markup Language"
@@ -58,9 +58,9 @@
               LayoutInline {SPAN} at (0,0) size 24x19
                 LayoutText {#text} at (23,0) size 24x19
                   text run at (23,0) width 24: "ML"
-          LayoutRubyRun (anonymous) at (252.83,12) size 8x20
+          LayoutRubyRun (anonymous) at (253,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (260,12) size 37x19
-          text run at (260,12) width 37: " spec."
+        LayoutText {#text} at (261,12) size 36x19
+          text run at (261,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text1-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text1-expected.png
index a84f6477..25542f3b4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text1-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text1-expected.txt
index 7a648c13..25585d02 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text1-expected.txt
@@ -16,47 +16,47 @@
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 115x19
-          LayoutRubyRun (anonymous) at (142,12) size 40.83x20
-            LayoutRubyText {RT} at (0,-12) size 40.83x12
-              LayoutText {#text} at (0,0) size 42x12
-                text run at (0,0) width 42: "Hyper-text"
-            LayoutRubyBase (anonymous) at (0,0) size 40.83x20
+          LayoutRubyRun (anonymous) at (142,12) size 41x20
+            LayoutRubyText {RT} at (0,-12) size 41x12
+              LayoutText {#text} at (0,0) size 41x12
+                text run at (0,0) width 41: "Hyper-text"
+            LayoutRubyBase (anonymous) at (0,0) size 41x20
               LayoutText {#text} at (10,0) size 21x19
                 text run at (10,0) width 21: "HT"
-          LayoutRubyRun (anonymous) at (182.83,12) size 70x20
+          LayoutRubyRun (anonymous) at (183,12) size 70x20
             LayoutRubyText {RT} at (0,-12) size 70x12
               LayoutText {#text} at (0,0) size 70x12
                 text run at (0,0) width 70: "Markup Language"
             LayoutRubyBase (anonymous) at (0,0) size 70x20
               LayoutText {#text} at (23,0) size 24x19
                 text run at (23,0) width 24: "ML"
-          LayoutRubyRun (anonymous) at (252.83,12) size 8x20
+          LayoutRubyRun (anonymous) at (253,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (260,12) size 37x19
-          text run at (260,12) width 37: " spec."
+        LayoutText {#text} at (261,12) size 36x19
+          text run at (261,12) width 36: " spec."
       LayoutBlockFlow {P} at (0,176) size 784x32
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 115x19
-          LayoutRubyRun (anonymous) at (142,12) size 40.83x20
-            LayoutRubyText {RT} at (0,-12) size 40.83x12
-              LayoutText {#text} at (0,0) size 42x12
-                text run at (0,0) width 42: "Hyper-text"
-            LayoutRubyBase (anonymous) at (0,0) size 40.83x20
+          LayoutRubyRun (anonymous) at (142,12) size 41x20
+            LayoutRubyText {RT} at (0,-12) size 41x12
+              LayoutText {#text} at (0,0) size 41x12
+                text run at (0,0) width 41: "Hyper-text"
+            LayoutRubyBase (anonymous) at (0,0) size 41x20
               LayoutText {#text} at (10,0) size 21x19
                 text run at (10,0) width 21: "HT"
-          LayoutRubyRun (anonymous) at (182.83,12) size 70x20
+          LayoutRubyRun (anonymous) at (183,12) size 70x20
             LayoutRubyText {RT} at (0,-12) size 70x12
               LayoutText {#text} at (0,0) size 70x12
                 text run at (0,0) width 70: "Markup Language"
             LayoutRubyBase (anonymous) at (0,0) size 70x20
               LayoutText {#text} at (23,0) size 24x19
                 text run at (23,0) width 24: "ML"
-          LayoutRubyRun (anonymous) at (252.83,12) size 8x20
+          LayoutRubyRun (anonymous) at (253,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (260,12) size 37x19
-          text run at (260,12) width 37: " spec."
+        LayoutText {#text} at (261,12) size 36x19
+          text run at (261,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text2-expected.txt
index 796ccbe..65fc8c9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text2-expected.txt
@@ -16,37 +16,37 @@
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 117x19
-          LayoutRubyRun (anonymous) at (142,12) size 112.83x20
-            LayoutRubyText {RT} at (0,-12) size 112.83x12
+          LayoutRubyRun (anonymous) at (142,12) size 113x20
+            LayoutRubyText {RT} at (0,-12) size 113x12
               LayoutText {#text} at (0,0) size 113x12
                 text run at (0,0) width 113: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 112.83x20
-              LayoutInline {SPAN} at (0,0) size 21x19
-                LayoutText {#text} at (34,0) size 21x19
-                  text run at (34,0) width 21: "HT"
-              LayoutText {#text} at (54,0) size 24x19
-                text run at (54,0) width 24: "ML"
-          LayoutRubyRun (anonymous) at (254.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 113x20
+              LayoutInline {SPAN} at (0,0) size 20x19
+                LayoutText {#text} at (35,0) size 20x19
+                  text run at (35,0) width 20: "HT"
+              LayoutText {#text} at (55,0) size 23x19
+                text run at (55,0) width 23: "ML"
+          LayoutRubyRun (anonymous) at (255,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (262,12) size 37x19
-          text run at (262,12) width 37: " spec."
+        LayoutText {#text} at (263,12) size 36x19
+          text run at (263,12) width 36: " spec."
       LayoutBlockFlow {P} at (0,176) size 784x32
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 117x19
-          LayoutRubyRun (anonymous) at (142,12) size 112.83x20
-            LayoutRubyText {RT} at (0,-12) size 112.83x12
+          LayoutRubyRun (anonymous) at (142,12) size 113x20
+            LayoutRubyText {RT} at (0,-12) size 113x12
               LayoutText {#text} at (0,0) size 113x12
                 text run at (0,0) width 113: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 112.83x20
-              LayoutText {#text} at (34,0) size 44x19
-                text run at (34,0) width 44: "HTML"
-              LayoutInline {SPAN} at (0,0) size 1x19
-          LayoutRubyRun (anonymous) at (254.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 113x20
+              LayoutText {#text} at (35,0) size 43x19
+                text run at (35,0) width 43: "HTML"
+              LayoutInline {SPAN} at (0,0) size 0x19
+          LayoutRubyRun (anonymous) at (255,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (262,12) size 37x19
-          text run at (262,12) width 37: " spec."
+        LayoutText {#text} at (263,12) size 36x19
+          text run at (263,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text3-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text3-expected.txt
index 88f16917..2df79d9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-insert-text3-expected.txt
@@ -16,39 +16,39 @@
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 117x19
-          LayoutRubyRun (anonymous) at (142,12) size 112.83x20
-            LayoutRubyText {RT} at (0,-12) size 112.83x12
+          LayoutRubyRun (anonymous) at (142,12) size 113x20
+            LayoutRubyText {RT} at (0,-12) size 113x12
               LayoutText {#text} at (0,0) size 113x12
                 text run at (0,0) width 113: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 112.83x20
-              LayoutText {#text} at (34,0) size 21x19
-                text run at (34,0) width 21: "HT"
-              LayoutInline {SPAN} at (0,0) size 24x19
-                LayoutText {#text} at (54,0) size 24x19
-                  text run at (54,0) width 24: "ML"
-          LayoutRubyRun (anonymous) at (254.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 113x20
+              LayoutText {#text} at (35,0) size 20x19
+                text run at (35,0) width 20: "HT"
+              LayoutInline {SPAN} at (0,0) size 23x19
+                LayoutText {#text} at (55,0) size 23x19
+                  text run at (55,0) width 23: "ML"
+          LayoutRubyRun (anonymous) at (255,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (262,12) size 37x19
-          text run at (262,12) width 37: " spec."
+        LayoutText {#text} at (263,12) size 36x19
+          text run at (263,12) width 36: " spec."
       LayoutBlockFlow {P} at (0,176) size 784x32
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 117x19
-          LayoutRubyRun (anonymous) at (142,12) size 112.83x20
-            LayoutRubyText {RT} at (0,-12) size 112.83x12
+          LayoutRubyRun (anonymous) at (142,12) size 113x20
+            LayoutRubyText {RT} at (0,-12) size 113x12
               LayoutText {#text} at (0,0) size 113x12
                 text run at (0,0) width 113: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 112.83x20
-              LayoutText {#text} at (34,0) size 21x19
-                text run at (34,0) width 21: "HT"
-              LayoutInline {SPAN} at (0,0) size 24x19
-                LayoutText {#text} at (54,0) size 24x19
-                  text run at (54,0) width 24: "ML"
-          LayoutRubyRun (anonymous) at (254.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 113x20
+              LayoutText {#text} at (35,0) size 20x19
+                text run at (35,0) width 20: "HT"
+              LayoutInline {SPAN} at (0,0) size 23x19
+                LayoutText {#text} at (55,0) size 23x19
+                  text run at (55,0) width 23: "ML"
+          LayoutRubyRun (anonymous) at (255,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (262,12) size 37x19
-          text run at (262,12) width 37: " spec."
+        LayoutText {#text} at (263,12) size 36x19
+          text run at (263,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-rt1-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-rt1-expected.txt
index d8a7cf6..043cba5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-rt1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-rt1-expected.txt
@@ -16,33 +16,33 @@
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 117x19
-          LayoutRubyRun (anonymous) at (142,12) size 112.83x20
-            LayoutRubyText {RT} at (0,-12) size 112.83x12
+          LayoutRubyRun (anonymous) at (142,12) size 113x20
+            LayoutRubyText {RT} at (0,-12) size 113x12
               LayoutText {#text} at (0,0) size 113x12
                 text run at (0,0) width 113: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 112.83x20
-              LayoutText {#text} at (34,0) size 44x19
-                text run at (34,0) width 44: "HTML"
-          LayoutRubyRun (anonymous) at (254.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 113x20
+              LayoutText {#text} at (35,0) size 43x19
+                text run at (35,0) width 43: "HTML"
+          LayoutRubyRun (anonymous) at (255,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (262,12) size 37x19
-          text run at (262,12) width 37: " spec."
+        LayoutText {#text} at (263,12) size 36x19
+          text run at (263,12) width 36: " spec."
       LayoutBlockFlow {P} at (0,176) size 784x32
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 117x19
-          LayoutRubyRun (anonymous) at (142,12) size 112.83x20
-            LayoutRubyText {RT} at (0,-12) size 112.83x12
+          LayoutRubyRun (anonymous) at (142,12) size 113x20
+            LayoutRubyText {RT} at (0,-12) size 113x12
               LayoutText {#text} at (0,0) size 113x12
                 text run at (0,0) width 113: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 112.83x20
-              LayoutText {#text} at (34,0) size 44x19
-                text run at (34,0) width 44: "HTML"
-          LayoutRubyRun (anonymous) at (254.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 113x20
+              LayoutText {#text} at (35,0) size 43x19
+                text run at (35,0) width 43: "HTML"
+          LayoutRubyRun (anonymous) at (255,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (262,12) size 37x19
-          text run at (262,12) width 37: " spec."
+        LayoutText {#text} at (263,12) size 36x19
+          text run at (263,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-rt2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-rt2-expected.txt
index 18ed3c45..6434054 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-rt2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-rt2-expected.txt
@@ -16,35 +16,35 @@
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 117x19
-          LayoutRubyRun (anonymous) at (142,12) size 112.83x20
-            LayoutRubyText {RT} at (0,-12) size 112.83x12
+          LayoutRubyRun (anonymous) at (142,12) size 113x20
+            LayoutRubyText {RT} at (0,-12) size 113x12
               LayoutText {#text} at (0,0) size 113x12
                 text run at (0,0) width 113: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 112.83x20
-              LayoutText {#text} at (34,0) size 21x19
-                text run at (34,0) width 21: "HT"
-              LayoutText {#text} at (54,0) size 24x19
-                text run at (54,0) width 24: "ML"
-          LayoutRubyRun (anonymous) at (254.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 113x20
+              LayoutText {#text} at (35,0) size 20x19
+                text run at (35,0) width 20: "HT"
+              LayoutText {#text} at (55,0) size 23x19
+                text run at (55,0) width 23: "ML"
+          LayoutRubyRun (anonymous) at (255,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (262,12) size 37x19
-          text run at (262,12) width 37: " spec."
+        LayoutText {#text} at (263,12) size 36x19
+          text run at (263,12) width 36: " spec."
       LayoutBlockFlow {P} at (0,176) size 784x32
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 117x19
-          LayoutRubyRun (anonymous) at (142,12) size 112.83x20
-            LayoutRubyText {RT} at (0,-12) size 112.83x12
+          LayoutRubyRun (anonymous) at (142,12) size 113x20
+            LayoutRubyText {RT} at (0,-12) size 113x12
               LayoutText {#text} at (0,0) size 113x12
                 text run at (0,0) width 113: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 112.83x20
-              LayoutText {#text} at (34,0) size 44x19
-                text run at (34,0) width 44: "HTML"
-          LayoutRubyRun (anonymous) at (254.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 113x20
+              LayoutText {#text} at (35,0) size 43x19
+                text run at (35,0) width 43: "HTML"
+          LayoutRubyRun (anonymous) at (255,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (262,12) size 37x19
-          text run at (262,12) width 37: " spec."
+        LayoutText {#text} at (263,12) size 36x19
+          text run at (263,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-text1-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-text1-expected.txt
index 43c7afe..11c2c30 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-text1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-text1-expected.txt
@@ -16,35 +16,35 @@
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 117x19
-          LayoutRubyRun (anonymous) at (142,12) size 112.83x20
-            LayoutRubyText {RT} at (0,-12) size 112.83x12
+          LayoutRubyRun (anonymous) at (142,12) size 113x20
+            LayoutRubyText {RT} at (0,-12) size 113x12
               LayoutText {#text} at (0,0) size 113x12
                 text run at (0,0) width 113: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 112.83x20
-              LayoutInline {SPAN} at (0,0) size 44x19
-                LayoutText {#text} at (34,0) size 44x19
-                  text run at (34,0) width 44: "HTML"
-          LayoutRubyRun (anonymous) at (254.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 113x20
+              LayoutInline {SPAN} at (0,0) size 43x19
+                LayoutText {#text} at (35,0) size 43x19
+                  text run at (35,0) width 43: "HTML"
+          LayoutRubyRun (anonymous) at (255,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (262,12) size 37x19
-          text run at (262,12) width 37: " spec."
+        LayoutText {#text} at (263,12) size 36x19
+          text run at (263,12) width 36: " spec."
       LayoutBlockFlow {P} at (0,176) size 784x32
         LayoutText {#text} at (0,12) size 146x19
           text run at (0,12) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 117x19
-          LayoutRubyRun (anonymous) at (142,12) size 112.83x20
-            LayoutRubyText {RT} at (0,-12) size 112.83x12
+          LayoutRubyRun (anonymous) at (142,12) size 113x20
+            LayoutRubyText {RT} at (0,-12) size 113x12
               LayoutText {#text} at (0,0) size 113x12
                 text run at (0,0) width 113: "Hyper-text Markup Language"
-            LayoutRubyBase (anonymous) at (0,0) size 112.83x20
-              LayoutInline {SPAN} at (0,0) size 44x19
-                LayoutText {#text} at (34,0) size 44x19
-                  text run at (34,0) width 44: "HTML"
-          LayoutRubyRun (anonymous) at (254.83,12) size 8x20
+            LayoutRubyBase (anonymous) at (0,0) size 113x20
+              LayoutInline {SPAN} at (0,0) size 43x19
+                LayoutText {#text} at (35,0) size 43x19
+                  text run at (35,0) width 43: "HTML"
+          LayoutRubyRun (anonymous) at (255,12) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (262,12) size 37x19
-          text run at (262,12) width 37: " spec."
+        LayoutText {#text} at (263,12) size 36x19
+          text run at (263,12) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-text2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-text2-expected.txt
index b9e53808..dc2a563 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-text2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/ruby/rubyDOM-remove-text2-expected.txt
@@ -16,27 +16,27 @@
         LayoutText {#text} at (0,0) size 146x19
           text run at (0,0) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 121x19
-          LayoutRubyRun (anonymous) at (146,17) size 112.83x0
-            LayoutRubyText {RT} at (0,-12) size 112.83x12
+          LayoutRubyRun (anonymous) at (146,17) size 113x0
+            LayoutRubyText {RT} at (0,-12) size 113x12
               LayoutText {#text} at (0,0) size 113x12
                 text run at (0,0) width 113: "Hyper-text Markup Language"
-          LayoutRubyRun (anonymous) at (258.83,0) size 8x20
+          LayoutRubyRun (anonymous) at (259,0) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (266,0) size 37x19
-          text run at (266,0) width 37: " spec."
+        LayoutText {#text} at (267,0) size 36x19
+          text run at (267,0) width 36: " spec."
       LayoutBlockFlow {P} at (0,164) size 784x20
         LayoutText {#text} at (0,0) size 146x19
           text run at (0,0) width 146: "<ruby> is defined in the "
         LayoutRuby (inline) {RUBY} at (0,0) size 121x19
-          LayoutRubyRun (anonymous) at (146,17) size 112.83x0
-            LayoutRubyText {RT} at (0,-12) size 112.83x12
+          LayoutRubyRun (anonymous) at (146,17) size 113x0
+            LayoutRubyText {RT} at (0,-12) size 113x12
               LayoutText {#text} at (0,0) size 113x12
                 text run at (0,0) width 113: "Hyper-text Markup Language"
-          LayoutRubyRun (anonymous) at (258.83,0) size 8x20
+          LayoutRubyRun (anonymous) at (259,0) size 8x20
             LayoutRubyBase (anonymous) at (0,0) size 8x20
               LayoutText {#text} at (0,0) size 8x19
                 text run at (0,0) width 8: "5"
-        LayoutText {#text} at (266,0) size 37x19
-          text run at (266,0) width 37: " spec."
+        LayoutText {#text} at (267,0) size 36x19
+          text run at (267,0) width 36: " spec."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/018-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/018-expected.png
index a2f6459..31cfb211 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/018-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/018-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/018-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/018-expected.txt
index dfbc65d..d678b81 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/018-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/018-expected.txt
@@ -10,27 +10,27 @@
         LayoutInline {STRONG} at (0,0) size 30x19
           LayoutText {#text} at (642,0) size 30x19
             text run at (642,0) width 30: "here"
-        LayoutText {#text} at (671,0) size 782x39
-          text run at (671,0) width 111: ") or its whitespace"
+        LayoutText {#text} at (672,0) size 782x39
+          text run at (672,0) width 110: ") or its whitespace"
           text run at (0,20) width 80: "background, "
         LayoutInline {STRONG} at (0,0) size 30x19
           LayoutText {#text} at (80,20) size 30x19
             text run at (80,20) width 30: "here"
-        LayoutText {#text} at (109,20) size 4x19
-          text run at (109,20) width 4: ":"
+        LayoutText {#text} at (110,20) size 3x19
+          text run at (110,20) width 3: ":"
       LayoutBlockFlow {ADDRESS} at (0,56) size 784x20
-        LayoutText {#text} at (0,0) size 163x19
-          text run at (0,0) width 163: "The background color of "
-        LayoutInline {A} at (0,0) size 116x19 [color=#0000EE]
-          LayoutText {#text} at (162,0) size 82x19
-            text run at (162,0) width 82: "this anchor ("
-          LayoutInline {STRONG} at (0,0) size 30x19
-            LayoutText {#text} at (243,0) size 30x19
-              text run at (243,0) width 30: "here"
-          LayoutText {#text} at (272,0) size 6x19
-            text run at (272,0) width 6: ")"
-        LayoutText {#text} at (277,0) size 395x19
-          text run at (277,0) width 395: " should turn to green when the pointing device hovers over it."
+        LayoutText {#text} at (0,0) size 162x19
+          text run at (0,0) width 162: "The background color of "
+        LayoutInline {A} at (0,0) size 115x19 [color=#0000EE]
+          LayoutText {#text} at (162,0) size 81x19
+            text run at (162,0) width 81: "this anchor ("
+          LayoutInline {STRONG} at (0,0) size 29x19
+            LayoutText {#text} at (243,0) size 29x19
+              text run at (243,0) width 29: "here"
+          LayoutText {#text} at (272,0) size 5x19
+            text run at (272,0) width 5: ")"
+        LayoutText {#text} at (277,0) size 394x19
+          text run at (277,0) width 394: " should turn to green when the pointing device hovers over it."
       LayoutTable {TABLE} at (0,76) size 291x221
         LayoutTableSection {TBODY} at (0,0) size 291x221
           LayoutTableRow {TR} at (0,5) size 291x22
@@ -63,8 +63,8 @@
               LayoutInline {STRONG} at (0,0) size 30x19
                 LayoutText {#text} at (39,1) size 30x19
                   text run at (39,1) width 30: "here"
-              LayoutText {#text} at (68,1) size 10x19
-                text run at (68,1) width 10: ")."
+              LayoutText {#text} at (69,1) size 9x19
+                text run at (69,1) width 9: ")."
             LayoutTableCell {TD} at (194,69) size 92x2 [r=2 c=2 rs=1 cs=1]
           LayoutTableRow {TR} at (0,86) size 291x22
             LayoutTableCell {TD} at (5,86) size 94x22 [r=3 c=0 rs=1 cs=1]
@@ -111,8 +111,8 @@
               LayoutInline {STRONG} at (0,0) size 30x19
                 LayoutText {#text} at (59,1) size 30x19
                   text run at (59,1) width 30: "here"
-              LayoutText {#text} at (88,1) size 5x19
-                text run at (88,1) width 5: ","
+              LayoutText {#text} at (89,1) size 4x19
+                text run at (89,1) width 4: ","
             LayoutTableCell {TD} at (104,204) size 85x2 [r=7 c=1 rs=1 cs=1]
             LayoutTableCell {TD} at (194,194) size 92x22 [r=7 c=2 rs=1 cs=1]
               LayoutText {#text} at (1,1) size 67x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/034-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/034-expected.png
index 32ff412..e9012d0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/034-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/034-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/034-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/034-expected.txt
index 41f4439..1318df70 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/034-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/034-expected.txt
@@ -8,11 +8,11 @@
           LayoutText {#text} at (0,0) size 179x19
             text run at (0,0) width 179: "This div contains 3 addresses:"
         LayoutBlockFlow {ADDRESS} at (16,20) size 768x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 336x19
-            text run at (0,0) width 336: "A first address that should have a green background"
+          LayoutText {#text} at (0,0) size 334x19
+            text run at (0,0) width 334: "A first address that should have a green background"
         LayoutBlockFlow {ADDRESS} at (16,56) size 768x20
-          LayoutText {#text} at (0,0) size 273x19
-            text run at (0,0) width 273: "A second address with normal background"
+          LayoutText {#text} at (0,0) size 272x19
+            text run at (0,0) width 272: "A second address with normal background"
         LayoutBlockFlow {ADDRESS} at (16,92) size 768x20
-          LayoutText {#text} at (0,0) size 260x19
-            text run at (0,0) width 260: "A third address with normal background"
+          LayoutText {#text} at (0,0) size 258x19
+            text run at (0,0) width 258: "A third address with normal background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/041-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/041-expected.png
index e927d23c8..2f79c0eb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/041-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/041-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/041-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/041-expected.txt
index 042044d6a..af43541d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/041-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/041-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {<pseudo:before>} at (0,0) size 172x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (0,0) size 172x19
-            text run at (0,0) width 172: "GENERATED CONTENT "
-        LayoutText {#text} at (171,0) size 603x19
-          text run at (171,0) width 603: "You should see before this paragraph the words GENERATED CONTENT over green background"
+        LayoutInline {<pseudo:before>} at (0,0) size 171x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (0,0) size 171x19
+            text run at (0,0) width 171: "GENERATED CONTENT "
+        LayoutText {#text} at (171,0) size 602x19
+          text run at (171,0) width 602: "You should see before this paragraph the words GENERATED CONTENT over green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/042-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/042-expected.png
index 089ddf8..6cd4d47 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/042-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/042-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/042-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/042-expected.txt
index 62ce098..ebbaa82b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/042-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/042-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 591x19
-          text run at (0,0) width 591: "You should see after this paragraph the words GENERATED CONTENT over green background"
-        LayoutInline {<pseudo:after>} at (0,0) size 168x19 [bgcolor=#00FF00]
-          LayoutTextFragment (anonymous) at (590,0) size 168x19
-            text run at (590,0) width 168: "GENERATED CONTENT"
+        LayoutText {#text} at (0,0) size 590x19
+          text run at (0,0) width 590: "You should see after this paragraph the words GENERATED CONTENT over green background"
+        LayoutInline {<pseudo:after>} at (0,0) size 167x19 [bgcolor=#00FF00]
+          LayoutTextFragment (anonymous) at (590,0) size 167x19
+            text run at (590,0) width 167: "GENERATED CONTENT"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045-expected.png
index c354e54..2d4e7f9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045-expected.txt
index d1b7fd8..d1c80cd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 307x19
             text run at (0,0) width 307: "And this one should also have a green background."
         LayoutBlockFlow {ADDRESS} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 438x19
-            text run at (0,0) width 438: "This address is only here to fill some space between two paragraphs."
+          LayoutText {#text} at (0,0) size 437x19
+            text run at (0,0) width 437: "This address is only here to fill some space between two paragraphs."
         LayoutBlockFlow {P} at (0,144) size 784x20
           LayoutText {#text} at (0,0) size 209x19
             text run at (0,0) width 209: "This paragraph should be unstyled."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045b-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045b-expected.png
index 33a161f..2ac7898 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045b-expected.txt
index c14c8a5..ee489f7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/045b-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 223x19
             text run at (0,0) width 223: "And this one should also be unstyled."
         LayoutBlockFlow {ADDRESS} at (0,108) size 784x20 [bgcolor=#00FF00]
-          LayoutText {#text} at (0,0) size 679x19
-            text run at (0,0) width 679: "This address is only here to fill some space between two paragraphs and should have a green background."
+          LayoutText {#text} at (0,0) size 677x19
+            text run at (0,0) width 677: "This address is only here to fill some space between two paragraphs and should have a green background."
         LayoutBlockFlow {P} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 317x19
             text run at (0,0) width 317: "This paragraph should have a green background too."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/046-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/046-expected.png
index 15c9b34..dabc9c6b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/046-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/046-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/046-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/046-expected.txt
index a40229e..f15e1ac9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/046-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/046-expected.txt
@@ -14,8 +14,8 @@
           LayoutText {#text} at (0,0) size 303x19
             text run at (0,0) width 303: "And this one should also have a green background"
         LayoutBlockFlow {ADDRESS} at (0,108) size 784x20
-          LayoutText {#text} at (0,0) size 434x19
-            text run at (0,0) width 434: "This address is only here to fill some space between two paragraphs"
+          LayoutText {#text} at (0,0) size 433x19
+            text run at (0,0) width 433: "This address is only here to fill some space between two paragraphs"
         LayoutBlockFlow {P} at (0,144) size 784x20 [bgcolor=#00FF00]
           LayoutText {#text} at (0,0) size 289x19
             text run at (0,0) width 289: "This paragraph should have a green background"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/159-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/159-expected.txt
index 676bc08..dfeb023 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/159-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/159-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (8,16) size 784x20
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 478x19
-          text run at (0,0) width 478: "Try selecting some text in this document. It should be have a green background."
+        LayoutText {#text} at (0,0) size 477x19
+          text run at (0,0) width 477: "Try selecting some text in this document. It should be have a green background."
 selection start: position 0 of child 0 {#text} of child 1 {P} of body
 selection end:   position 79 of child 0 {#text} of child 1 {P} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/166-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/166-expected.png
index b5ec210..96f3a42 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/166-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/166-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/166-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/166-expected.txt
index 9bfca03..b529b86 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/166-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/166-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x3661.50
     LayoutBlockFlow {BODY} at (8,21.44) size 769x3624.06
       LayoutBlockFlow {H1} at (0,0) size 769x37
-        LayoutText {#text} at (0,0) size 247x36
-          text run at (0,0) width 247: "HTML Test Index"
+        LayoutText {#text} at (0,0) size 246x36
+          text run at (0,0) width 246: "HTML Test Index"
       LayoutBlockFlow {P} at (0,58.44) size 769x20
         LayoutText {#text} at (0,0) size 294x19
           text run at (0,0) width 294: "The HTML tests are available in several variants."
@@ -286,8 +286,8 @@
           LayoutInline {A} at (0,0) size 137x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 137x19
               text run at (0,0) width 137: "Type element selectors"
-          LayoutText {#text} at (136,0) size 31x19
-            text run at (136,0) width 31: " (#2)"
+          LayoutText {#text} at (137,0) size 30x19
+            text run at (137,0) width 30: " (#2)"
         LayoutListItem {LI} at (40,40) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 156x19 [color=#0000EE]
@@ -349,8 +349,8 @@
           LayoutInline {A} at (0,0) size 280x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 280x19
               text run at (0,0) width 280: "Substring matching attribute selector (contains)"
-          LayoutText {#text} at (280,0) size 38x19
-            text run at (280,0) width 38: " (#11)"
+          LayoutText {#text} at (280,0) size 37x19
+            text run at (280,0) width 37: " (#11)"
         LayoutListItem {LI} at (40,220) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 131x19 [color=#0000EE]
@@ -426,22 +426,22 @@
           LayoutInline {A} at (0,0) size 120x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 120x19
               text run at (0,0) width 120: ":target pseudo-class"
-          LayoutText {#text} at (119,0) size 39x19
-            text run at (119,0) width 39: " (#21)"
+          LayoutText {#text} at (120,0) size 38x19
+            text run at (120,0) width 38: " (#21)"
         LayoutListItem {LI} at (40,440) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 120x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 120x19
               text run at (0,0) width 120: ":target pseudo-class"
-          LayoutText {#text} at (119,0) size 47x19
-            text run at (119,0) width 47: " (#21b)"
+          LayoutText {#text} at (120,0) size 46x19
+            text run at (120,0) width 46: " (#21b)"
         LayoutListItem {LI} at (40,460) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 120x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 120x19
               text run at (0,0) width 120: ":target pseudo-class"
-          LayoutText {#text} at (119,0) size 46x19
-            text run at (119,0) width 46: " (#21c)"
+          LayoutText {#text} at (120,0) size 45x19
+            text run at (120,0) width 45: " (#21c)"
         LayoutListItem {LI} at (40,480) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 120x19 [color=#0000EE]
@@ -696,25 +696,25 @@
             text run at (173,0) width 46: " (#46b)"
         LayoutListItem {LI} at (40,1200) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 368x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 368x19
-              text run at (0,0) width 368: "NEGATED substring matching attribute selector on beginning"
-          LayoutText {#text} at (367,0) size 39x19
-            text run at (367,0) width 39: " (#54)"
+          LayoutInline {A} at (0,0) size 367x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 367x19
+              text run at (0,0) width 367: "NEGATED substring matching attribute selector on beginning"
+          LayoutText {#text} at (367,0) size 38x19
+            text run at (367,0) width 38: " (#54)"
         LayoutListItem {LI} at (40,1220) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 334x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 334x19
-              text run at (0,0) width 334: "NEGATED substring matching attribute selector on end"
-          LayoutText {#text} at (333,0) size 39x19
-            text run at (333,0) width 39: " (#55)"
+          LayoutInline {A} at (0,0) size 333x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 333x19
+              text run at (0,0) width 333: "NEGATED substring matching attribute selector on end"
+          LayoutText {#text} at (333,0) size 38x19
+            text run at (333,0) width 38: " (#55)"
         LayoutListItem {LI} at (40,1240) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 352x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 352x19
-              text run at (0,0) width 352: "NEGATED substring matching attribute selector on middle"
-          LayoutText {#text} at (351,0) size 39x19
-            text run at (351,0) width 39: " (#56)"
+          LayoutInline {A} at (0,0) size 351x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 351x19
+              text run at (0,0) width 351: "NEGATED substring matching attribute selector on middle"
+          LayoutText {#text} at (351,0) size 38x19
+            text run at (351,0) width 38: " (#56)"
         LayoutListItem {LI} at (40,1260) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 294x19 [color=#0000EE]
@@ -724,228 +724,228 @@
             text run at (294,0) width 38: " (#58)"
         LayoutListItem {LI} at (40,1280) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 155x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 155x19
-              text run at (0,0) width 155: "NEGATED class selector"
-          LayoutText {#text} at (154,0) size 39x19
-            text run at (154,0) width 39: " (#59)"
+          LayoutInline {A} at (0,0) size 154x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 154x19
+              text run at (0,0) width 154: "NEGATED class selector"
+          LayoutText {#text} at (154,0) size 38x19
+            text run at (154,0) width 38: " (#59)"
         LayoutListItem {LI} at (40,1300) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 142x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 142x19
-              text run at (0,0) width 142: "NEGATED ID selector"
-          LayoutText {#text} at (141,0) size 39x19
-            text run at (141,0) width 39: " (#60)"
+          LayoutInline {A} at (0,0) size 141x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 141x19
+              text run at (0,0) width 141: "NEGATED ID selector"
+          LayoutText {#text} at (141,0) size 38x19
+            text run at (141,0) width 38: " (#60)"
         LayoutListItem {LI} at (40,1320) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 182x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 182x19
-              text run at (0,0) width 182: "NEGATED :link pseudo-class"
-          LayoutText {#text} at (181,0) size 39x19
-            text run at (181,0) width 39: " (#61)"
+          LayoutInline {A} at (0,0) size 181x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 181x19
+              text run at (0,0) width 181: "NEGATED :link pseudo-class"
+          LayoutText {#text} at (181,0) size 38x19
+            text run at (181,0) width 38: " (#61)"
         LayoutListItem {LI} at (40,1340) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 199x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 199x19
-              text run at (0,0) width 199: "NEGATED :visited pseudo-class"
-          LayoutText {#text} at (198,0) size 39x19
-            text run at (198,0) width 39: " (#62)"
+          LayoutInline {A} at (0,0) size 198x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 198x19
+              text run at (0,0) width 198: "NEGATED :visited pseudo-class"
+          LayoutText {#text} at (198,0) size 38x19
+            text run at (198,0) width 38: " (#62)"
         LayoutListItem {LI} at (40,1360) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutInline {A} at (0,0) size 194x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 194x19
+              text run at (0,0) width 194: "NEGATED :hover pseudo-class"
+          LayoutText {#text} at (194,0) size 38x19
+            text run at (194,0) width 38: " (#63)"
+        LayoutListItem {LI} at (40,1380) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 195x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 195x19
-              text run at (0,0) width 195: "NEGATED :hover pseudo-class"
-          LayoutText {#text} at (194,0) size 39x19
-            text run at (194,0) width 39: " (#63)"
-        LayoutListItem {LI} at (40,1380) size 729x20
-          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 196x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 196x19
-              text run at (0,0) width 196: "NEGATED :active pseudo-class"
-          LayoutText {#text} at (195,0) size 39x19
-            text run at (195,0) width 39: " (#64)"
+              text run at (0,0) width 195: "NEGATED :active pseudo-class"
+          LayoutText {#text} at (195,0) size 38x19
+            text run at (195,0) width 38: " (#64)"
         LayoutListItem {LI} at (40,1400) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 193x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 193x19
-              text run at (0,0) width 193: "NEGATED :focus pseudo-class"
-          LayoutText {#text} at (192,0) size 39x19
-            text run at (192,0) width 39: " (#65)"
+          LayoutInline {A} at (0,0) size 192x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 192x19
+              text run at (0,0) width 192: "NEGATED :focus pseudo-class"
+          LayoutText {#text} at (192,0) size 38x19
+            text run at (192,0) width 38: " (#65)"
         LayoutListItem {LI} at (40,1420) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 194x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 194x19
               text run at (0,0) width 194: "NEGATED :target pseudo-class"
-          LayoutText {#text} at (193,0) size 39x19
-            text run at (193,0) width 39: " (#66)"
+          LayoutText {#text} at (194,0) size 38x19
+            text run at (194,0) width 38: " (#66)"
         LayoutListItem {LI} at (40,1440) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 194x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 194x19
               text run at (0,0) width 194: "NEGATED :target pseudo-class"
-          LayoutText {#text} at (193,0) size 47x19
-            text run at (193,0) width 47: " (#66b)"
+          LayoutText {#text} at (194,0) size 46x19
+            text run at (194,0) width 46: " (#66b)"
         LayoutListItem {LI} at (40,1460) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 195x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 195x19
-              text run at (0,0) width 195: "NEGATED :lang() pseudo-class"
-          LayoutText {#text} at (194,0) size 39x19
-            text run at (194,0) width 39: " (#67)"
+          LayoutInline {A} at (0,0) size 194x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 194x19
+              text run at (0,0) width 194: "NEGATED :lang() pseudo-class"
+          LayoutText {#text} at (194,0) size 38x19
+            text run at (194,0) width 38: " (#67)"
         LayoutListItem {LI} at (40,1480) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 212x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 212x19
-              text run at (0,0) width 212: "NEGATED :checked pseudo-class"
-          LayoutText {#text} at (211,0) size 39x19
-            text run at (211,0) width 39: " (#70)"
+          LayoutInline {A} at (0,0) size 211x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 211x19
+              text run at (0,0) width 211: "NEGATED :checked pseudo-class"
+          LayoutText {#text} at (211,0) size 38x19
+            text run at (211,0) width 38: " (#70)"
         LayoutListItem {LI} at (40,1500) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 186x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 186x19
-              text run at (0,0) width 186: "NEGATED :root pseudo-class"
-          LayoutText {#text} at (185,0) size 39x19
-            text run at (185,0) width 39: " (#72)"
+          LayoutInline {A} at (0,0) size 185x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 185x19
+              text run at (0,0) width 185: "NEGATED :root pseudo-class"
+          LayoutText {#text} at (185,0) size 38x19
+            text run at (185,0) width 38: " (#72)"
         LayoutListItem {LI} at (40,1520) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 186x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 186x19
-              text run at (0,0) width 186: "NEGATED :root pseudo-class"
-          LayoutText {#text} at (185,0) size 47x19
-            text run at (185,0) width 47: " (#72b)"
+          LayoutInline {A} at (0,0) size 185x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 185x19
+              text run at (0,0) width 185: "NEGATED :root pseudo-class"
+          LayoutText {#text} at (185,0) size 46x19
+            text run at (185,0) width 46: " (#72b)"
         LayoutListItem {LI} at (40,1540) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 223x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 223x19
-              text run at (0,0) width 223: "NEGATED :nth-child() pseudo-class"
-          LayoutText {#text} at (222,0) size 39x19
-            text run at (222,0) width 39: " (#73)"
+          LayoutInline {A} at (0,0) size 222x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 222x19
+              text run at (0,0) width 222: "NEGATED :nth-child() pseudo-class"
+          LayoutText {#text} at (222,0) size 38x19
+            text run at (222,0) width 38: " (#73)"
         LayoutListItem {LI} at (40,1560) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 223x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 223x19
-              text run at (0,0) width 223: "NEGATED :nth-child() pseudo-class"
-          LayoutText {#text} at (222,0) size 47x19
-            text run at (222,0) width 47: " (#73b)"
+          LayoutInline {A} at (0,0) size 222x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 222x19
+              text run at (0,0) width 222: "NEGATED :nth-child() pseudo-class"
+          LayoutText {#text} at (222,0) size 46x19
+            text run at (222,0) width 46: " (#73b)"
         LayoutListItem {LI} at (40,1580) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 249x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 249x19
-              text run at (0,0) width 249: "NEGATED :nth-last-child() pseudo-class"
-          LayoutText {#text} at (248,0) size 39x19
-            text run at (248,0) width 39: " (#74)"
+          LayoutInline {A} at (0,0) size 248x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 248x19
+              text run at (0,0) width 248: "NEGATED :nth-last-child() pseudo-class"
+          LayoutText {#text} at (248,0) size 38x19
+            text run at (248,0) width 38: " (#74)"
         LayoutListItem {LI} at (40,1600) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 249x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 249x19
-              text run at (0,0) width 249: "NEGATED :nth-last-child() pseudo-class"
-          LayoutText {#text} at (248,0) size 47x19
-            text run at (248,0) width 47: " (#74b)"
+          LayoutInline {A} at (0,0) size 248x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 248x19
+              text run at (0,0) width 248: "NEGATED :nth-last-child() pseudo-class"
+          LayoutText {#text} at (248,0) size 46x19
+            text run at (248,0) width 46: " (#74b)"
         LayoutListItem {LI} at (40,1620) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 239x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 239x19
-              text run at (0,0) width 239: "NEGATED :nth-of-type() pseudo-class"
-          LayoutText {#text} at (238,0) size 39x19
-            text run at (238,0) width 39: " (#75)"
+          LayoutInline {A} at (0,0) size 238x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 238x19
+              text run at (0,0) width 238: "NEGATED :nth-of-type() pseudo-class"
+          LayoutText {#text} at (238,0) size 38x19
+            text run at (238,0) width 38: " (#75)"
         LayoutListItem {LI} at (40,1640) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 239x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 239x19
-              text run at (0,0) width 239: "NEGATED :nth-of-type() pseudo-class"
-          LayoutText {#text} at (238,0) size 47x19
-            text run at (238,0) width 47: " (#75b)"
+          LayoutInline {A} at (0,0) size 238x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 238x19
+              text run at (0,0) width 238: "NEGATED :nth-of-type() pseudo-class"
+          LayoutText {#text} at (238,0) size 46x19
+            text run at (238,0) width 46: " (#75b)"
         LayoutListItem {LI} at (40,1660) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 265x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 265x19
-              text run at (0,0) width 265: "NEGATED :nth-last-of-type() pseudo-class"
-          LayoutText {#text} at (264,0) size 39x19
-            text run at (264,0) width 39: " (#76)"
+          LayoutInline {A} at (0,0) size 264x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 264x19
+              text run at (0,0) width 264: "NEGATED :nth-last-of-type() pseudo-class"
+          LayoutText {#text} at (264,0) size 38x19
+            text run at (264,0) width 38: " (#76)"
         LayoutListItem {LI} at (40,1680) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 265x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 265x19
-              text run at (0,0) width 265: "NEGATED :nth-last-of-type() pseudo-class"
-          LayoutText {#text} at (264,0) size 47x19
-            text run at (264,0) width 47: " (#76b)"
+          LayoutInline {A} at (0,0) size 264x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 264x19
+              text run at (0,0) width 264: "NEGATED :nth-last-of-type() pseudo-class"
+          LayoutText {#text} at (264,0) size 46x19
+            text run at (264,0) width 46: " (#76b)"
         LayoutListItem {LI} at (40,1700) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 217x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 217x19
-              text run at (0,0) width 217: "NEGATED :first-child pseudo-class"
-          LayoutText {#text} at (216,0) size 39x19
-            text run at (216,0) width 39: " (#77)"
+          LayoutInline {A} at (0,0) size 216x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 216x19
+              text run at (0,0) width 216: "NEGATED :first-child pseudo-class"
+          LayoutText {#text} at (216,0) size 38x19
+            text run at (216,0) width 38: " (#77)"
         LayoutListItem {LI} at (40,1720) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 217x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 217x19
-              text run at (0,0) width 217: "NEGATED :first-child pseudo-class"
-          LayoutText {#text} at (216,0) size 47x19
-            text run at (216,0) width 47: " (#77b)"
+          LayoutInline {A} at (0,0) size 216x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 216x19
+              text run at (0,0) width 216: "NEGATED :first-child pseudo-class"
+          LayoutText {#text} at (216,0) size 46x19
+            text run at (216,0) width 46: " (#77b)"
         LayoutListItem {LI} at (40,1740) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 215x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 215x19
-              text run at (0,0) width 215: "NEGATED :last-child pseudo-class"
-          LayoutText {#text} at (214,0) size 39x19
-            text run at (214,0) width 39: " (#78)"
+          LayoutInline {A} at (0,0) size 214x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 214x19
+              text run at (0,0) width 214: "NEGATED :last-child pseudo-class"
+          LayoutText {#text} at (214,0) size 38x19
+            text run at (214,0) width 38: " (#78)"
         LayoutListItem {LI} at (40,1760) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 215x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 215x19
-              text run at (0,0) width 215: "NEGATED :last-child pseudo-class"
-          LayoutText {#text} at (214,0) size 47x19
-            text run at (214,0) width 47: " (#78b)"
+          LayoutInline {A} at (0,0) size 214x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 214x19
+              text run at (0,0) width 214: "NEGATED :last-child pseudo-class"
+          LayoutText {#text} at (214,0) size 46x19
+            text run at (214,0) width 46: " (#78b)"
         LayoutListItem {LI} at (40,1780) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 233x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 233x19
-              text run at (0,0) width 233: "NEGATED :first-of-type pseudo-class"
-          LayoutText {#text} at (232,0) size 39x19
-            text run at (232,0) width 39: " (#79)"
+          LayoutInline {A} at (0,0) size 232x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 232x19
+              text run at (0,0) width 232: "NEGATED :first-of-type pseudo-class"
+          LayoutText {#text} at (232,0) size 38x19
+            text run at (232,0) width 38: " (#79)"
         LayoutListItem {LI} at (40,1800) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 231x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 231x19
-              text run at (0,0) width 231: "NEGATED :last-of-type pseudo-class"
-          LayoutText {#text} at (230,0) size 39x19
-            text run at (230,0) width 39: " (#80)"
+          LayoutInline {A} at (0,0) size 230x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 230x19
+              text run at (0,0) width 230: "NEGATED :last-of-type pseudo-class"
+          LayoutText {#text} at (230,0) size 38x19
+            text run at (230,0) width 38: " (#80)"
         LayoutListItem {LI} at (40,1820) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 220x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 220x19
-              text run at (0,0) width 220: "NEGATED :only-child pseudo-class"
-          LayoutText {#text} at (219,0) size 39x19
-            text run at (219,0) width 39: " (#81)"
+          LayoutInline {A} at (0,0) size 219x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 219x19
+              text run at (0,0) width 219: "NEGATED :only-child pseudo-class"
+          LayoutText {#text} at (219,0) size 38x19
+            text run at (219,0) width 38: " (#81)"
         LayoutListItem {LI} at (40,1840) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 220x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 220x19
-              text run at (0,0) width 220: "NEGATED :only-child pseudo-class"
-          LayoutText {#text} at (219,0) size 47x19
-            text run at (219,0) width 47: " (#81b)"
+          LayoutInline {A} at (0,0) size 219x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 219x19
+              text run at (0,0) width 219: "NEGATED :only-child pseudo-class"
+          LayoutText {#text} at (219,0) size 46x19
+            text run at (219,0) width 46: " (#81b)"
         LayoutListItem {LI} at (40,1860) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 236x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 236x19
-              text run at (0,0) width 236: "NEGATED :only-of-type pseudo-class"
-          LayoutText {#text} at (235,0) size 39x19
-            text run at (235,0) width 39: " (#82)"
+          LayoutInline {A} at (0,0) size 235x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 235x19
+              text run at (0,0) width 235: "NEGATED :only-of-type pseudo-class"
+          LayoutText {#text} at (235,0) size 38x19
+            text run at (235,0) width 38: " (#82)"
         LayoutListItem {LI} at (40,1880) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 236x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 236x19
-              text run at (0,0) width 236: "NEGATED :only-of-type pseudo-class"
-          LayoutText {#text} at (235,0) size 47x19
-            text run at (235,0) width 47: " (#82b)"
+          LayoutInline {A} at (0,0) size 235x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 235x19
+              text run at (0,0) width 235: "NEGATED :only-of-type pseudo-class"
+          LayoutText {#text} at (235,0) size 46x19
+            text run at (235,0) width 46: " (#82b)"
         LayoutListItem {LI} at (40,1900) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 325x19 [color=#0000EE]
             LayoutText {#text} at (0,0) size 325x19
               text run at (0,0) width 325: "Negation pseudo-class cannot be an argument of itself"
-          LayoutText {#text} at (324,0) size 39x19
-            text run at (324,0) width 39: " (#83)"
+          LayoutText {#text} at (325,0) size 38x19
+            text run at (325,0) width 38: " (#83)"
         LayoutListItem {LI} at (40,1920) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 145x19 [color=#0000EE]
@@ -962,11 +962,11 @@
             text run at (145,0) width 46: " (#84b)"
         LayoutListItem {LI} at (40,1960) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 220x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 220x19
-              text run at (0,0) width 220: "NEGATED :contains() pseudo-class"
-          LayoutText {#text} at (219,0) size 39x19
-            text run at (219,0) width 39: " (#85)"
+          LayoutInline {A} at (0,0) size 219x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 219x19
+              text run at (0,0) width 219: "NEGATED :contains() pseudo-class"
+          LayoutText {#text} at (219,0) size 38x19
+            text run at (219,0) width 38: " (#85)"
         LayoutListItem {LI} at (40,1980) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 420x19 [color=#0000EE]
@@ -1018,11 +1018,11 @@
             text run at (379,0) width 46: " (#90b)"
         LayoutListItem {LI} at (40,2120) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 274x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 274x19
-              text run at (0,0) width 274: "NEGATED :enabled:disabled pseudo-classes"
-          LayoutText {#text} at (273,0) size 47x19
-            text run at (273,0) width 47: " (#144)"
+          LayoutInline {A} at (0,0) size 273x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 273x19
+              text run at (0,0) width 273: "NEGATED :enabled:disabled pseudo-classes"
+          LayoutText {#text} at (273,0) size 46x19
+            text run at (273,0) width 46: " (#144)"
         LayoutListItem {LI} at (40,2140) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 175x19 [color=#0000EE]
@@ -1298,18 +1298,18 @@
             text run at (167,0) width 53: " (#175c)"
         LayoutListItem {LI} at (40,2920) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 241x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 241x19
-              text run at (0,0) width 241: "NEGATED Dynamic handling of :empty"
-          LayoutText {#text} at (240,0) size 39x19
-            text run at (240,0) width 39: " (#d1)"
+          LayoutInline {A} at (0,0) size 240x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 240x19
+              text run at (0,0) width 240: "NEGATED Dynamic handling of :empty"
+          LayoutText {#text} at (240,0) size 38x19
+            text run at (240,0) width 38: " (#d1)"
         LayoutListItem {LI} at (40,2940) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 241x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 241x19
-              text run at (0,0) width 241: "NEGATED Dynamic handling of :empty"
-          LayoutText {#text} at (240,0) size 47x19
-            text run at (240,0) width 47: " (#d1b)"
+          LayoutInline {A} at (0,0) size 240x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 240x19
+              text run at (0,0) width 240: "NEGATED Dynamic handling of :empty"
+          LayoutText {#text} at (240,0) size 46x19
+            text run at (240,0) width 46: " (#d1b)"
         LayoutListItem {LI} at (40,2960) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 200x19 [color=#0000EE]
@@ -1340,11 +1340,11 @@
             text run at (167,0) width 45: " (#d5a)"
         LayoutListItem {LI} at (40,3040) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 242x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 242x19
-              text run at (0,0) width 242: "NEGATED :indeterminate and :checked"
-          LayoutText {#text} at (241,0) size 47x19
-            text run at (241,0) width 47: " (#d5b)"
+          LayoutInline {A} at (0,0) size 241x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 241x19
+              text run at (0,0) width 241: "NEGATED :indeterminate and :checked"
+          LayoutText {#text} at (241,0) size 46x19
+            text run at (241,0) width 46: " (#d5b)"
         LayoutListItem {LI} at (40,3060) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
           LayoutInline {A} at (0,0) size 167x19 [color=#0000EE]
@@ -1361,11 +1361,11 @@
             text run at (170,0) width 46: " (#d5d)"
         LayoutListItem {LI} at (40,3100) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutInline {A} at (0,0) size 245x19 [color=#0000EE]
-            LayoutText {#text} at (0,0) size 245x19
-              text run at (0,0) width 245: "NEGATED :indeterminate with :checked"
-          LayoutText {#text} at (244,0) size 46x19
-            text run at (244,0) width 46: " (#d5e)"
+          LayoutInline {A} at (0,0) size 244x19 [color=#0000EE]
+            LayoutText {#text} at (0,0) size 244x19
+              text run at (0,0) width 244: "NEGATED :indeterminate with :checked"
+          LayoutText {#text} at (244,0) size 45x19
+            text run at (244,0) width 45: " (#d5e)"
       LayoutBlockFlow {P} at (0,3604.06) size 769x20
         LayoutText {#text} at (0,0) size 58x19
           text run at (0,0) width 58: "See also: "
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/168-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/168-expected.txt
index f3f81e3..65388dd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/168-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/168-expected.txt
@@ -10,8 +10,8 @@
           LayoutInline {<pseudo:before>} at (0,0) size 57x19 [bgcolor=#00FF00]
             LayoutTextFragment (anonymous) at (78,0) size 57x19
               text run at (78,0) width 57: "PASSED"
-        LayoutText {#text} at (134,0) size 5x19
-          text run at (134,0) width 5: "."
+        LayoutText {#text} at (135,0) size 4x19
+          text run at (135,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 420x19
           text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/168a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/168a-expected.txt
index f3f81e3..65388dd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/168a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/168a-expected.txt
@@ -10,8 +10,8 @@
           LayoutInline {<pseudo:before>} at (0,0) size 57x19 [bgcolor=#00FF00]
             LayoutTextFragment (anonymous) at (78,0) size 57x19
               text run at (78,0) width 57: "PASSED"
-        LayoutText {#text} at (134,0) size 5x19
-          text run at (134,0) width 5: "."
+        LayoutText {#text} at (135,0) size 4x19
+          text run at (135,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 420x19
           text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/169-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/169-expected.txt
index 50ae9bf..9ae802b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/169-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/169-expected.txt
@@ -10,8 +10,8 @@
           LayoutInline {<pseudo:after>} at (0,0) size 57x19 [bgcolor=#00FF00]
             LayoutTextFragment (anonymous) at (78,0) size 57x19
               text run at (78,0) width 57: "PASSED"
-        LayoutText {#text} at (134,0) size 5x19
-          text run at (134,0) width 5: "."
+        LayoutText {#text} at (135,0) size 4x19
+          text run at (135,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 420x19
           text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/169a-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/169a-expected.txt
index 50ae9bf..9ae802b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/169a-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/169a-expected.txt
@@ -10,8 +10,8 @@
           LayoutInline {<pseudo:after>} at (0,0) size 57x19 [bgcolor=#00FF00]
             LayoutTextFragment (anonymous) at (78,0) size 57x19
               text run at (78,0) width 57: "PASSED"
-        LayoutText {#text} at (134,0) size 5x19
-          text run at (134,0) width 5: "."
+        LayoutText {#text} at (135,0) size 4x19
+          text run at (135,0) width 4: "."
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 420x19
           text run at (0,0) width 420: "(If the previous line just reads \"This test has .\" then this test has failed.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/unqualified-hover-quirks-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/unqualified-hover-quirks-expected.txt
index dc9c5bd..a97e201 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/unqualified-hover-quirks-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/unqualified-hover-quirks-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {H3} at (0,0) size 784x23
-        LayoutText {#text} at (0,0) size 463x22
-          text run at (0,0) width 463: "Test of unqualifed :hover selector in quirks parsing mode"
+        LayoutText {#text} at (0,0) size 462x22
+          text run at (0,0) width 462: "Test of unqualifed :hover selector in quirks parsing mode"
       LayoutBlockFlow {P} at (0,41.72) size 784x20
-        LayoutText {#text} at (0,0) size 586x19
-          text run at (0,0) width 586: "Moving the mouse anywhere over the document should result no change to the background color."
+        LayoutText {#text} at (0,0) size 585x19
+          text run at (0,0) width 585: "Moving the mouse anywhere over the document should result no change to the background color."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/unqualified-hover-strict-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/unqualified-hover-strict-expected.txt
index f3e8c2b..f19fc0b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/unqualified-hover-strict-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/unqualified-hover-strict-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x96.44
     LayoutBlockFlow {BODY} at (8,18.72) size 784x61.72
       LayoutBlockFlow {H3} at (0,0) size 784x23
-        LayoutText {#text} at (0,0) size 453x22
-          text run at (0,0) width 453: "Test of unqualifed :hover selector in strict parsing mode"
+        LayoutText {#text} at (0,0) size 452x22
+          text run at (0,0) width 452: "Test of unqualifed :hover selector in strict parsing mode"
       LayoutBlockFlow {P} at (0,41.72) size 784x20
         LayoutText {#text} at (0,0) size 654x19
           text run at (0,0) width 654: "Moving the mouse anywhere over the document should result in the background color being changed to grey."
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/visited-descendant-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/visited-descendant-expected.png
index 6c912a3..6acd837 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/selectors/visited-descendant-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/selectors/visited-descendant-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/spatial-navigation/snav-multiple-select-focusring-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/spatial-navigation/snav-multiple-select-focusring-expected.txt
index fc11f67..848cd89 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/spatial-navigation/snav-multiple-select-focusring-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/spatial-navigation/snav-multiple-select-focusring-expected.txt
@@ -5,10 +5,10 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x71
       LayoutText {#text} at (0,0) size 0x0
 layer at (8,8) size 370x70 clip at (9,9) size 353x68
-  LayoutListBox {SELECT} at (0,0) size 369.77x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-    LayoutBlockFlow {OPTION} at (1,1) size 352.77x17 [color=#FFFFCC] [bgcolor=#0000FF]
+  LayoutListBox {SELECT} at (0,0) size 370x70 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+    LayoutBlockFlow {OPTION} at (1,1) size 353x17 [color=#FFFFCC] [bgcolor=#0000FF]
       LayoutText {#text} at (2,0) size 349x16
         text run at (2,0) width 349: "make-the-item-long-enough-to-make-a-difference-in-pixel-test"
-    LayoutBlockFlow {OPTION} at (1,18) size 352.77x17
+    LayoutBlockFlow {OPTION} at (1,18) size 353x17
       LayoutText {#text} at (2,0) size 7x16
         text run at (2,0) width 7: "b"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/017-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/017-expected.png
index a58cf548..98760739 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/017-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/017-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/025-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/025-expected.png
index 3358b18..602c9cb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/025-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/025-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/100-percent-cell-width-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/100-percent-cell-width-expected.png
index 8bb0003..6ae37fc6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/100-percent-cell-width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/100-percent-cell-width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/absolute-table-at-bottom-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/absolute-table-at-bottom-expected.png
index f906627..e45b397 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/absolute-table-at-bottom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/absolute-table-at-bottom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/add-before-anonymous-child-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/add-before-anonymous-child-expected.png
index 7034dbb..0d6c1650 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/add-before-anonymous-child-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/add-before-anonymous-child-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-cell-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-cell-collapsed-border-expected.png
index b964ec51..34abc8c6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-cell-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-cell-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-cell-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-cell-expected.png
index f65fca1..a98ff371 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-cell-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-cell-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-collapsed-border-expected.png
index 662fc8a..c632253 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-collapsed-border-expected.png
index 8032403..08e9c31 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-expected.png
index c948614..a0653dc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-group-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-group-collapsed-border-expected.png
index dece9b4..a7243c6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-group-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-group-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-group-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-group-expected.png
index 4ef5189..e8883c2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-group-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-column-group-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-expected.png
index e50e760..2acbeaa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-quirks-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-quirks-collapsed-border-expected.png
index 08a4602..39c68b9a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-quirks-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-quirks-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-quirks-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-quirks-expected.png
index 84f0b21..0e32acb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-quirks-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-quirks-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-collapsed-border-expected.png
index 751e83b..6983149c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-expected.png
index 0be7a22..9bf126bf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-group-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-group-collapsed-border-expected.png
index c124a44..a0ef844 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-group-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-group-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-group-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-group-expected.png
index 05a451d6..9aca8301 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-group-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_border-table-row-group-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-hide-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-hide-collapsed-border-expected.png
index bf9bcd8..df381a7e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-hide-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-hide-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-hide-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-hide-expected.png
index cd28acd..bfc8e067 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-hide-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-hide-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-opacity-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-opacity-collapsed-border-expected.png
index a8a5acd..ce084bd8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-opacity-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-opacity-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-opacity-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-opacity-expected.png
index a8a5acd..ce084bd8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-opacity-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_layers-opacity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-cell-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-cell-collapsed-border-expected.png
index fbe6be5..fb6d832f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-cell-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-cell-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-cell-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-cell-expected.png
index 6d3cb0f..c056d66 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-cell-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-cell-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-collapsed-border-expected.png
index 30499db6..97b5450 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-collapsed-border-expected.png
index d23fef7..ba8c6045 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-expected.png
index 887cc31..9ce0f85 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-group-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-group-collapsed-border-expected.png
index 06c297b..7cb51fe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-group-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-group-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-group-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-group-expected.png
index 6729579..4bfb3952 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-group-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-column-group-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-expected.png
index a1968a8..fb7f673b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-collapsed-border-expected.png
index fb8d634..55441b9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-expected.png
index cf3e7c4..d690f88 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-group-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-group-collapsed-border-expected.png
index 9a92362..3f1ce2a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-group-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-group-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-group-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-group-expected.png
index b154986b..cbf79e40 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-group-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_position-table-row-group-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-cell-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-cell-collapsed-border-expected.png
index 07aaac2..a3709fc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-cell-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-cell-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-cell-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-cell-expected.png
index ca904ef..62969ff 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-cell-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-cell-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-collapsed-border-expected.png
index be0e7522..1148375 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-collapsed-border-expected.png
index 3d93f6c..87867bc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-expected.png
index 6c389d6..1f03049 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-group-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-group-collapsed-border-expected.png
index 71631a3..d947759 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-group-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-group-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-group-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-group-expected.png
index 2378efd..9f8546f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-group-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-column-group-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-expected.png
index c514216..3de9de8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-collapsed-border-expected.png
index 0112485..78b9f8e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-expected.png
index 5308f11..21fcf09 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-group-collapsed-border-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-group-collapsed-border-expected.png
index 0be9480..22698b1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-group-collapsed-border-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-group-collapsed-border-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-group-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-group-expected.png
index 06d7dda..91fbdde 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-group-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/backgr_simple-table-row-group-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/003-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/003-vertical-expected.png
index d1055857..cc1c78b5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/003-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/003-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/004-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/004-expected.png
index 0d98c30d..0b543093 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/004-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/004-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/border-collapsing-head-foot-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/border-collapsing-head-foot-expected.png
index cc45f88..68f077ad 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/border-collapsing-head-foot-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/border-collapsing-head-foot-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/border-collapsing-head-foot-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/border-collapsing-head-foot-vertical-expected.png
index 1b3980b..23b19d21 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/border-collapsing-head-foot-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/border-collapsing-head-foot-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/rtl-border-collapsing-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/rtl-border-collapsing-expected.png
index d315e5b9..09eeef3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/rtl-border-collapsing-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/rtl-border-collapsing-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/rtl-border-collapsing-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/rtl-border-collapsing-vertical-expected.png
index 7b40b8b..73a4d19 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/rtl-border-collapsing-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/border-collapsing/rtl-border-collapsing-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/cell-absolute-child-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/cell-absolute-child-expected.png
index 0cb187d..c2165c3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/cell-absolute-child-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/cell-absolute-child-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/click-near-anonymous-table-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/click-near-anonymous-table-expected.png
index 092a182..beceaad0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/click-near-anonymous-table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/click-near-anonymous-table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/dynamic-caption-add-before-child-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/dynamic-caption-add-before-child-expected.png
index a282df23..a3ad924 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/dynamic-caption-add-before-child-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/dynamic-caption-add-before-child-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/edge-offsets-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/edge-offsets-expected.png
index 9e9ab81..178b8ef6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/edge-offsets-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/edge-offsets-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/form-with-table-style-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/form-with-table-style-expected.png
index 83fe29e..bb5ed1d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/form-with-table-style-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/form-with-table-style-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/generated-caption-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/generated-caption-expected.png
index 551669a..a12e916b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/generated-caption-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/generated-caption-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/insert-before-anonymous-ancestors-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/insert-before-anonymous-ancestors-expected.png
index e1621ce..df59ffd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/insert-before-anonymous-ancestors-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/insert-before-anonymous-ancestors-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/insert-cell-before-form-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/insert-cell-before-form-expected.png
index 30d296a5..5de09dc7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/insert-cell-before-form-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/insert-cell-before-form-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/insert-row-before-form-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/insert-row-before-form-expected.png
index 30d296a5..5de09dc7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/insert-row-before-form-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/insert-row-before-form-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/multiple-captions-display-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/multiple-captions-display-expected.png
index 04d7291d..be821c7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/multiple-captions-display-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/multiple-captions-display-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/prepend-in-anonymous-table-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/prepend-in-anonymous-table-expected.png
index 9675f9b0..42bf155 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/prepend-in-anonymous-table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/prepend-in-anonymous-table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/row-height-recalc-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/row-height-recalc-expected.png
index 0bda4a1..9a36470 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/row-height-recalc-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/row-height-recalc-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/rtl-cell-display-none-assert-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/rtl-cell-display-none-assert-expected.png
index 9087d09..9db794b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/rtl-cell-display-none-assert-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/rtl-cell-display-none-assert-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/stale-grid-crash-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/stale-grid-crash-expected.png
index a4f87ca..ec6870b4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/stale-grid-crash-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/stale-grid-crash-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/text-field-baseline-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/text-field-baseline-expected.png
index 6da1c2cd..43692200 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/text-field-baseline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/text-field-baseline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/table/unused-percent-heights-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/table/unused-percent-heights-expected.png
index ed47a3c16..1d38448 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/table/unused-percent-heights-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/table/unused-percent-heights-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/Kusa-Makura-background-canvas-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/Kusa-Makura-background-canvas-expected.png
index 9e26af9..431eab5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/Kusa-Makura-background-canvas-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/Kusa-Makura-background-canvas-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/border-vertical-lr-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/border-vertical-lr-expected.png
index 55d78c4..7e80bccc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/border-vertical-lr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/border-vertical-lr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-lr-selection-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-lr-selection-expected.png
index 3b53d24..2d59d795 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-lr-selection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-lr-selection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-lr-text-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-lr-text-expected.png
index d8704a9..9b12628 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-lr-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-lr-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-rl-selection-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-rl-selection-expected.png
index b60ebbb..900eddb9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-rl-selection-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-rl-selection-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-rl-text-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-rl-text-expected.png
index 7b21184..ad37f44 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-rl-text-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/japanese-rl-text-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/text-orientation-basic-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/text-orientation-basic-expected.png
index 18fd981..1369c1d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/text-orientation-basic-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/writing-mode/text-orientation-basic-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc-cyr-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc-cyr-expected.png
index f745ef1..9568931 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc-cyr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc-cyr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc-cyr-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc-cyr-expected.txt
index 101359e..d9aeca80 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc-cyr-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc-cyr-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 308x19
         text run at (0,0) width 308: "CHARACTERS IN XSLT: \x{414}\x{43E}\x{431}\x{430}\x{432}\x{43B}\x{435}\x{43D}\x{43D}\x{44B}\x{439} \x{442}\x{435}\x{43A}\x{441}\x{442} "
-      LayoutBR {BR} at (307,15) size 1x0
+      LayoutBR {BR} at (308,15) size 0x0
       LayoutBR {BR} at (0,20) size 0x19
       LayoutText {#text} at (0,40) size 215x19
         text run at (0,40) width 215: "SOURCE XML: \x{418}\x{441}\x{445}\x{43E}\x{434}\x{43D}\x{44B}\x{439} \x{442}\x{435}\x{43A}\x{441}\x{442}"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc-expected.txt
index 80fb4cbb..6ab07f21 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 251x19
         text run at (0,0) width 251: "CHARACTERS IN XSLT: \x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9} "
-      LayoutBR {BR} at (250,15) size 1x0
+      LayoutBR {BR} at (251,15) size 0x0
       LayoutBR {BR} at (0,20) size 0x19
       LayoutText {#text} at (0,40) size 310x19
         text run at (0,40) width 310: "SOURCE XML: \x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc16-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc16-expected.txt
index 80fb4cbb..6ab07f21 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc16-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc16-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 251x19
         text run at (0,0) width 251: "CHARACTERS IN XSLT: \x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9} "
-      LayoutBR {BR} at (250,15) size 1x0
+      LayoutBR {BR} at (251,15) size 0x0
       LayoutBR {BR} at (0,20) size 0x19
       LayoutText {#text} at (0,40) size 310x19
         text run at (0,40) width 310: "SOURCE XML: \x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc16to16-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc16to16-expected.txt
index 80fb4cbb..6ab07f21 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc16to16-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-enc16to16-expected.txt
@@ -5,7 +5,7 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutText {#text} at (0,0) size 251x19
         text run at (0,0) width 251: "CHARACTERS IN XSLT: \x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9} "
-      LayoutBR {BR} at (250,15) size 1x0
+      LayoutBR {BR} at (251,15) size 0x0
       LayoutBR {BR} at (0,20) size 0x19
       LayoutText {#text} at (0,40) size 310x19
         text run at (0,40) width 310: "SOURCE XML: \x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}\x{E9}"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-extra-content-at-end-expected.png b/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-extra-content-at-end-expected.png
index 8aaaedb7..51ccb52 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-extra-content-at-end-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-extra-content-at-end-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-extra-content-at-end-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-extra-content-at-end-expected.txt
index c7a4804..6426e66 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-extra-content-at-end-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/xsl/xslt-extra-content-at-end-expected.txt
@@ -19,5 +19,5 @@
           text run at (0,20) width 112: "transformed result."
     LayoutBlockFlow {body} at (8,227.88) size 784x20
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 217x19
-          text run at (0,0) width 217: "You should see error text above this"
+        LayoutText {#text} at (0,0) size 216x19
+          text run at (0,0) width 216: "You should see error text above this"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fonts/default-expected.png b/third_party/WebKit/LayoutTests/platform/win/fonts/default-expected.png
index ed61938..8120416 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fonts/default-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fonts/default-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/fonts/fantasy-expected.png b/third_party/WebKit/LayoutTests/platform/win/fonts/fantasy-expected.png
index ba4a243a..600bd23 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fonts/fantasy-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/fonts/fantasy-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/html/document_metadata/head-link-style-href-check-expected.png b/third_party/WebKit/LayoutTests/platform/win/html/document_metadata/head-link-style-href-check-expected.png
index 01c57d7..271063a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/html/document_metadata/head-link-style-href-check-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/html/document_metadata/head-link-style-href-check-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/html/document_metadata/head-link-style-href-check-expected.txt b/third_party/WebKit/LayoutTests/platform/win/html/document_metadata/head-link-style-href-check-expected.txt
index 180736d..ccffef4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/html/document_metadata/head-link-style-href-check-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/html/document_metadata/head-link-style-href-check-expected.txt
@@ -9,11 +9,11 @@
           text run at (0,20) width 508: "link tag is changed through the DOM after the link tag is appended to the document. "
           text run at (508,20) width 265: "When the div with style is moved, it appears"
           text run at (0,40) width 734: "on the screen if the style was loaded properly, and doesn't appear when there are out-standing stylesheets according to the"
-          text run at (0,60) width 78: "DocLoader. "
-          text run at (77,60) width 28: "See "
-        LayoutInline {A} at (0,0) size 33x19 [color=#0000EE]
-          LayoutText {#text} at (104,60) size 33x19
-            text run at (104,60) width 33: "6999"
+          text run at (0,60) width 77: "DocLoader. "
+          text run at (77,60) width 27: "See "
+        LayoutInline {A} at (0,0) size 32x19 [color=#0000EE]
+          LayoutText {#text} at (104,60) size 32x19
+            text run at (104,60) width 32: "6999"
       LayoutBlockFlow {P} at (0,96) size 784x20
         LayoutInline {SPAN} at (0,0) size 32x19 [color=#FF0000]
           LayoutText {#text} at (0,0) size 32x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/html/grouping_content/listing-expected.txt b/third_party/WebKit/LayoutTests/platform/win/html/grouping_content/listing-expected.txt
index 8d04b59a..e59b0c8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/html/grouping_content/listing-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/html/grouping_content/listing-expected.txt
@@ -20,6 +20,6 @@
       LayoutBlockFlow {P} at (0,133) size 784x20
         LayoutText {#text} at (0,0) size 553x19
           text run at (0,0) width 553: "The listing tag has a width in it. To test the JavaScript binding, this page gets the width, here: "
-        LayoutInline {A} at (0,0) size 25x19
-          LayoutText {#text} at (552,0) size 25x19
-            text run at (552,0) width 25: "100"
+        LayoutInline {A} at (0,0) size 24x19
+          LayoutText {#text} at (553,0) size 24x19
+            text run at (553,0) width 24: "100"
diff --git a/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/col_width_resizing_table-expected.txt b/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/col_width_resizing_table-expected.txt
index 6f2f836..2105b24 100644
--- a/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/col_width_resizing_table-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/col_width_resizing_table-expected.txt
@@ -30,8 +30,8 @@
               LayoutText {#text} at (2,2) size 70x19
                 text run at (2,2) width 70: "col 3 row 3"
       LayoutBlockFlow (anonymous) at (0,56) size 784x22
-        LayoutButton {BUTTON} at (0,0) size 394.02x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
-          LayoutBlockFlow (anonymous) at (8,3) size 378.02x16
+        LayoutButton {BUTTON} at (0,0) size 394x22 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+          LayoutBlockFlow (anonymous) at (8,3) size 378x16
             LayoutText {#text} at (0,0) size 378x16
               text run at (0,0) width 378: "Click me to test manually. The first column should grow to 500px."
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/table_createcaption-expected.png b/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/table_createcaption-expected.png
index efba76a1..c9dd20f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/table_createcaption-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/table_createcaption-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/table_createcaption-expected.txt b/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/table_createcaption-expected.txt
index 997343d..f5844829 100644
--- a/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/table_createcaption-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/table_createcaption-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 255x19
           text run at (0,0) width 255: "Tests: the TABLE.createCaption() method"
-        LayoutBR {BR} at (254,15) size 1x0
+        LayoutBR {BR} at (255,15) size 0x0
       LayoutBlockFlow {P} at (0,36) size 784x60
         LayoutText {#text} at (0,0) size 68x19
           text run at (0,0) width 68: "Conditions:"
@@ -26,34 +26,34 @@
         LayoutInline {B} at (0,0) size 75x19
           LayoutText {#text} at (628,0) size 75x19
             text run at (628,0) width 75: "Vegetabley"
-        LayoutText {#text} at (702,0) size 745x39
-          text run at (702,0) width 43: ". Upon"
+        LayoutText {#text} at (703,0) size 745x39
+          text run at (703,0) width 42: ". Upon"
           text run at (0,20) width 549: "failure, the first table will have no caption, and the second table will have the caption Things."
-      LayoutTable {TABLE} at (0,178) size 103x102 [border: (1px outset #808080)]
-        LayoutBlockFlow {CAPTION} at (0,0) size 103x20
-          LayoutInline {B} at (0,0) size 41x19
-            LayoutText {#text} at (31,0) size 41x19
-              text run at (31,0) width 41: "Fruity"
-        LayoutTableSection {TBODY} at (1,21) size 101x80
-          LayoutTableRow {TR} at (0,2) size 101x24
+      LayoutTable {TABLE} at (0,178) size 102x102 [border: (1px outset #808080)]
+        LayoutBlockFlow {CAPTION} at (0,0) size 102x20
+          LayoutInline {B} at (0,0) size 40x19
+            LayoutText {#text} at (31,0) size 40x19
+              text run at (31,0) width 40: "Fruity"
+        LayoutTableSection {TBODY} at (1,21) size 100x80
+          LayoutTableRow {TR} at (0,2) size 100x24
             LayoutTableCell {TH} at (2,2) size 49x24 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
               LayoutText {#text} at (8,2) size 33x19
                 text run at (8,2) width 33: "Fruit"
-            LayoutTableCell {TH} at (53,2) size 46x24 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
-              LayoutText {#text} at (4,2) size 38x19
-                text run at (4,2) width 38: "Color"
-          LayoutTableRow {TR} at (0,28) size 101x24
+            LayoutTableCell {TH} at (53,2) size 45x24 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
+              LayoutText {#text} at (4,2) size 37x19
+                text run at (4,2) width 37: "Color"
+          LayoutTableRow {TR} at (0,28) size 100x24
             LayoutTableCell {TD} at (2,28) size 49x24 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               LayoutText {#text} at (2,2) size 45x19
                 text run at (2,2) width 45: "Banana"
-            LayoutTableCell {TD} at (53,28) size 46x24 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
-              LayoutText {#text} at (2,2) size 42x19
-                text run at (2,2) width 42: "Yellow"
-          LayoutTableRow {TR} at (0,54) size 101x24
+            LayoutTableCell {TD} at (53,28) size 45x24 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutText {#text} at (2,2) size 41x19
+                text run at (2,2) width 41: "Yellow"
+          LayoutTableRow {TR} at (0,54) size 100x24
             LayoutTableCell {TD} at (2,54) size 49x24 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
               LayoutText {#text} at (2,2) size 38x19
                 text run at (2,2) width 38: "Grape"
-            LayoutTableCell {TD} at (53,54) size 46x24 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
+            LayoutTableCell {TD} at (53,54) size 45x24 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
               LayoutText {#text} at (2,2) size 39x19
                 text run at (2,2) width 39: "Purple"
       LayoutBlockFlow (anonymous) at (0,280) size 784x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/td_colspan_rendering-expected.png b/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/td_colspan_rendering-expected.png
index a6e4b8d..6314b0e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/td_colspan_rendering-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/td_colspan_rendering-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/td_colspan_rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/td_colspan_rendering-expected.txt
index 10ccf2a6..9882d3b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/td_colspan_rendering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/td_colspan_rendering-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 159x19
           text run at (0,0) width 159: "Tests: the colspan attribute"
-        LayoutBR {BR} at (158,15) size 1x0
+        LayoutBR {BR} at (159,15) size 0x0
       LayoutBlockFlow {P} at (0,36) size 784x80
         LayoutText {#text} at (0,0) size 68x19
           text run at (0,0) width 68: "Conditions:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/html/text_level_semantics/font-weight-bold-for-b-and-strong-expected.txt b/third_party/WebKit/LayoutTests/platform/win/html/text_level_semantics/font-weight-bold-for-b-and-strong-expected.txt
index b702c9ee..9e3f19a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/html/text_level_semantics/font-weight-bold-for-b-and-strong-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/html/text_level_semantics/font-weight-bold-for-b-and-strong-expected.txt
@@ -22,8 +22,8 @@
             LayoutText {#text} at (0,0) size 153x19
               text run at (0,0) width 153: "Should be equally bold."
       LayoutBlockFlow {P} at (0,144) size 784x40
-        LayoutText {#text} at (0,0) size 757x39
+        LayoutText {#text} at (0,0) size 756x39
           text run at (0,0) width 462: "The HTML5 spec says that b and strong should render as font-weight: bold, "
-          text run at (462,0) width 295: "not font-weight: bolder. The text above should all"
+          text run at (462,0) width 294: "not font-weight: bolder. The text above should all"
           text run at (0,20) width 129: "render with the same "
           text run at (129,20) width 57: "boldness."
diff --git a/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/acid2-expected.png b/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/acid2-expected.png
index 447bd93..b993135 100644
--- a/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/acid2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/acid2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/acid2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/acid2-expected.txt
index 7e0224d..36529b5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/acid2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/acid2-expected.txt
@@ -76,13 +76,13 @@
       LayoutText {#text} at (0,0) size 253x29
         text run at (0,0) width 253: "Standards compliant?"
     LayoutBlockFlow {P} at (13,43) size 678x28
-      LayoutInline {A} at (0,0) size 214x27 [color=#0000FF]
-        LayoutText {#text} at (0,0) size 214x27
-          text run at (0,0) width 214: "Take The Acid2 Test"
-      LayoutText {#text} at (213,0) size 202x27
-        text run at (213,0) width 202: " and compare it to "
-      LayoutInline {A} at (0,0) size 253x27 [color=#0000FF]
-        LayoutText {#text} at (414,0) size 253x27
-          text run at (414,0) width 253: "the reference rendering"
-      LayoutText {#text} at (666,0) size 8x27
-        text run at (666,0) width 8: "."
+      LayoutInline {A} at (0,0) size 213x27 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 213x27
+          text run at (0,0) width 213: "Take The Acid2 Test"
+      LayoutText {#text} at (213,0) size 201x27
+        text run at (213,0) width 201: " and compare it to "
+      LayoutInline {A} at (0,0) size 252x27 [color=#0000FF]
+        LayoutText {#text} at (414,0) size 252x27
+          text run at (414,0) width 252: "the reference rendering"
+      LayoutText {#text} at (666,0) size 7x27
+        text run at (666,0) width 7: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/acid3-expected.txt b/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/acid3-expected.txt
index 7739977..781eba7b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/acid3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/acid3-expected.txt
@@ -38,11 +38,11 @@
         LayoutInline {MAP} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (41,334) size 582x98 [color=#808080]
-        LayoutText {#text} at (0,0) size 113x18
-          text run at (0,0) width 113: "To pass the test,"
+        LayoutText {#text} at (0,0) size 112x18
+          text run at (0,0) width 112: "To pass the test,"
         LayoutBlockFlow (floating) {SPAN} at (562,0) size 20x20 [bgcolor=#FFFFFF]
-        LayoutText {#text} at (112,0) size 549x56
-          text run at (112,0) width 437: " a browser must use its default settings, the animation has to be"
+        LayoutText {#text} at (112,0) size 548x56
+          text run at (112,0) width 436: " a browser must use its default settings, the animation has to be"
           text run at (0,19) width 546: "smooth, the score has to end on 100/100, and the final page has to look exactly,"
           text run at (0,38) width 126: "pixel for pixel, like "
         LayoutInline {A} at (0,0) size 164x18 [color=#0000FF]
@@ -230,14 +230,14 @@
 layer at (17,18) size 80x42
   LayoutBlockFlow (positioned) {A} at (17,18) size 80x42 [color=#FF0000]
     LayoutText {#text} at (0,0) size 76x42
-      text run at (0,0) width 73: "YOU SHOULD"
+      text run at (0,0) width 72: "YOU SHOULD"
       text run at (0,14) width 76: "NOT SEE THIS"
-      text run at (0,28) width 40: "AT ALL"
+      text run at (0,28) width 39: "AT ALL"
 layer at (638,18) size 20x20
   LayoutBlockFlow (positioned) {<pseudo:after>} at (638,18) size 20x20 [color=#FFFFFF] [bgcolor=#FF00FF]
     LayoutTextFragment (anonymous) at (0,0) size 20x20
       text run at (0,0) width 20: "X"
 layer at (10,10) size 81x46
-  LayoutBlockFlow (positioned) {DIV} at (10,10) size 80.80x46 [color=#00000000]
+  LayoutBlockFlow (positioned) {DIV} at (10,10) size 81x46 [color=#00000000]
     LayoutText {#text} at (0,0) size 81x45
       text run at (0,0) width 81: "FAIL"
diff --git a/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/iframe404-expected.png b/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/iframe404-expected.png
index 7691da5..345ff62 100644
--- a/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/iframe404-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/iframe404-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/iframe404-expected.txt b/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/iframe404-expected.txt
index b9bd9f1..57bdded 100644
--- a/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/iframe404-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/iframe404-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {A} at (0,0) size 59x19 [color=#0000EE]
-          LayoutText {#text} at (49,0) size 59x19
-            text run at (49,0) width 59: "bug 8121"
-        LayoutText {#text} at (107,0) size 278x19
-          text run at (107,0) width 278: ": REGRESSION: 404s are not displayed and "
-        LayoutInline {A} at (0,0) size 59x19 [color=#0000EE]
-          LayoutText {#text} at (384,0) size 59x19
-            text run at (384,0) width 59: "bug 7739"
-        LayoutText {#text} at (442,0) size 783x39
-          text run at (442,0) width 341: ": REGRESSION: Assertion failure loading acid2 test in -"
+        LayoutInline {A} at (0,0) size 58x19 [color=#0000EE]
+          LayoutText {#text} at (50,0) size 58x19
+            text run at (50,0) width 58: "bug 8121"
+        LayoutText {#text} at (108,0) size 277x19
+          text run at (108,0) width 277: ": REGRESSION: 404s are not displayed and "
+        LayoutInline {A} at (0,0) size 58x19 [color=#0000EE]
+          LayoutText {#text} at (385,0) size 58x19
+            text run at (385,0) width 58: "bug 7739"
+        LayoutText {#text} at (443,0) size 783x39
+          text run at (443,0) width 340: ": REGRESSION: Assertion failure loading acid2 test in -"
           text run at (0,20) width 240: "[WebCoreFrameBridge installInFrame:]"
       LayoutBlockFlow {P} at (0,56) size 784x40
         LayoutText {#text} at (0,0) size 778x39
diff --git a/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/slow-loading-image-in-pattern-expected.txt b/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/slow-loading-image-in-pattern-expected.txt
index 388ccec3..cda2dec 100644
--- a/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/slow-loading-image-in-pattern-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/slow-loading-image-in-pattern-expected.txt
@@ -6,8 +6,8 @@
       LayoutText {#text} at (0,0) size 596x19
         text run at (0,0) width 596: "This tests slow loading png images referenced from a image element inside a SVG pattern resource."
       LayoutBR {BR} at (596,0) size 0x19
-      LayoutText {#text} at (0,20) size 535x19
-        text run at (0,20) width 535: "You should see a 400x300 rect containing a tiled rendering of the Acid3 reference image."
+      LayoutText {#text} at (0,20) size 534x19
+        text run at (0,20) width 534: "You should see a 400x300 rect containing a tiled rendering of the Acid3 reference image."
 layer at (10,50) size 406x306 clip at (13,53) size 400x300
   LayoutSVGRoot (positioned) {svg} at (10,50) size 406x306
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/slow-loading-mask-expected.txt b/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/slow-loading-mask-expected.txt
index ed4e7a0..06dcb70 100644
--- a/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/slow-loading-mask-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/http/tests/misc/slow-loading-mask-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x472
     LayoutBlockFlow {BODY} at (8,16) size 784x446
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 746x19
-          text run at (0,0) width 746: "Tests that masked elements do not render until their mask images are fully loaded. You should not see any blue boxes below."
+        LayoutText {#text} at (0,0) size 745x19
+          text run at (0,0) width 745: "Tests that masked elements do not render until their mask images are fully loaded. You should not see any blue boxes below."
 layer at (18,52) size 200x200 transparent
   LayoutBlockFlow {DIV} at (10,36) size 200x200 [bgcolor=#0000FF]
 layer at (18,262) size 200x200 transparent
diff --git a/third_party/WebKit/LayoutTests/platform/win/http/tests/security/dataTransfer-set-data-file-url-expected.png b/third_party/WebKit/LayoutTests/platform/win/http/tests/security/dataTransfer-set-data-file-url-expected.png
index ce35fe8..d47ba7a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/http/tests/security/dataTransfer-set-data-file-url-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/http/tests/security/dataTransfer-set-data-file-url-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/http/tests/security/dataTransfer-set-data-file-url-expected.txt b/third_party/WebKit/LayoutTests/platform/win/http/tests/security/dataTransfer-set-data-file-url-expected.txt
index 3fef70b..356059e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/http/tests/security/dataTransfer-set-data-file-url-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/http/tests/security/dataTransfer-set-data-file-url-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 762x39
-          text run at (0,0) width 762: "This tests that calling dataTransfer.setData('URL', aFileURL) sets NSFilenamesPboardType type data on the pasteboard if and"
+        LayoutText {#text} at (0,0) size 761x39
+          text run at (0,0) width 761: "This tests that calling dataTransfer.setData('URL', aFileURL) sets NSFilenamesPboardType type data on the pasteboard if and"
           text run at (0,20) width 186: "only if this page is a local page."
       LayoutBlockFlow {P} at (0,56) size 784x40
         LayoutText {#text} at (0,0) size 715x39
diff --git a/third_party/WebKit/LayoutTests/platform/win/http/tests/uri/css-href-expected.png b/third_party/WebKit/LayoutTests/platform/win/http/tests/uri/css-href-expected.png
index 388a216..71a85af 100644
--- a/third_party/WebKit/LayoutTests/platform/win/http/tests/uri/css-href-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/http/tests/uri/css-href-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/http/tests/uri/css-href-expected.txt b/third_party/WebKit/LayoutTests/platform/win/http/tests/uri/css-href-expected.txt
index 545dcbe6..fede6d5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/http/tests/uri/css-href-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/http/tests/uri/css-href-expected.txt
@@ -6,12 +6,12 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {A} at (0,0) size 66x19 [color=#0000EE]
-          LayoutText {#text} at (49,0) size 66x19
-            text run at (49,0) width 66: "bug 11141"
-        LayoutText {#text} at (114,0) size 331x19
-          text run at (114,0) width 8: ": "
-          text run at (121,0) width 324: "CSS '@import' doesn't respect HTML Base element."
+        LayoutInline {A} at (0,0) size 64x19 [color=#0000EE]
+          LayoutText {#text} at (50,0) size 64x19
+            text run at (50,0) width 64: "bug 11141"
+        LayoutText {#text} at (114,0) size 330x19
+          text run at (114,0) width 7: ": "
+          text run at (121,0) width 323: "CSS '@import' doesn't respect HTML Base element."
       LayoutBlockFlow {P} at (0,36) size 784x20 [color=#008000]
         LayoutText {#text} at (0,0) size 154x19
           text run at (0,0) width 154: "This text should be green."
diff --git a/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.txt b/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.txt
index da7d5f39..de073fc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.txt
@@ -12,28 +12,28 @@
   LayoutBlockFlow {DIV} at (0,56) size 292x292 [border: (50px double #000000)]
     LayoutText {#text} at (50,50) size 158x319
       text run at (50,50) width 128: "Filler Text Filler Text "
-      text run at (177,50) width 31: "Filler"
+      text run at (178,50) width 30: "Filler"
       text run at (50,70) width 154: "Text Filler Text Filler Text"
       text run at (50,90) width 158: "Filler Text Filler Text Filler"
       text run at (50,110) width 30: "Text "
-      text run at (79,110) width 125: "Filler Text Filler Text"
+      text run at (80,110) width 124: "Filler Text Filler Text"
       text run at (50,130) width 64: "Filler Text "
-      text run at (113,130) width 95: "Filler Text Filler"
+      text run at (114,130) width 94: "Filler Text Filler"
       text run at (50,150) width 94: "Text Filler Text "
-      text run at (143,150) width 61: "Filler Text"
+      text run at (144,150) width 60: "Filler Text"
       text run at (50,170) width 128: "Filler Text Filler Text "
-      text run at (177,170) width 31: "Filler"
+      text run at (178,170) width 30: "Filler"
       text run at (50,190) width 154: "Text Filler Text Filler Text"
       text run at (50,210) width 158: "Filler Text Filler Text Filler"
       text run at (50,230) width 30: "Text "
-      text run at (79,230) width 125: "Filler Text Filler Text"
+      text run at (80,230) width 124: "Filler Text Filler Text"
       text run at (50,250) width 64: "Filler Text "
-      text run at (113,250) width 95: "Filler Text Filler"
+      text run at (114,250) width 94: "Filler Text Filler"
       text run at (50,270) width 94: "Text Filler Text "
-      text run at (143,270) width 61: "Filler Text"
+      text run at (144,270) width 60: "Filler Text"
       text run at (50,290) width 128: "Filler Text Filler Text "
-      text run at (177,290) width 31: "Filler"
+      text run at (178,290) width 30: "Filler"
       text run at (50,310) width 154: "Text Filler Text Filler Text"
       text run at (50,330) width 158: "Filler Text Filler Text Filler"
       text run at (50,350) width 30: "Text "
-      text run at (79,350) width 125: "Filler Text Filler Text"
+      text run at (80,350) width 124: "Filler Text Filler Text"
diff --git a/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/bordersbackgrounds/background_repeat_space_content_box-expected.txt b/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/bordersbackgrounds/background_repeat_space_content_box-expected.txt
index 09f21e22..7d4d4393 100644
--- a/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/bordersbackgrounds/background_repeat_space_content_box-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/bordersbackgrounds/background_repeat_space_content_box-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x458.39
     LayoutBlockFlow {BODY} at (8,16) size 784x434.39
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 763x39
-          text run at (0,0) width 763: "Test passes if there are four unclipped cats below, if the cats are equally spaced from each other, and if the cats do not touch or"
-          text run at (0,20) width 161: "overlap the double border."
+        LayoutText {#text} at (0,0) size 762x39
+          text run at (0,0) width 762: "Test passes if there are four unclipped cats below, if the cats are equally spaced from each other, and if the cats do not touch or"
+          text run at (0,20) width 160: "overlap the double border."
       LayoutBlockFlow {DIV} at (0,56) size 378.39x378.39 [border: (25px double #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/bordersbackgrounds/border-radius-clip-001-expected.txt b/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/bordersbackgrounds/border-radius-clip-001-expected.txt
index 7b17f864..35ea616 100644
--- a/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/bordersbackgrounds/border-radius-clip-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/bordersbackgrounds/border-radius-clip-001-expected.txt
@@ -10,17 +10,17 @@
   LayoutBlockFlow {DIV} at (0,36) size 198x102 [border: (3px solid #000000)]
     LayoutText {#text} at (3,3) size 166x159
       text run at (3,3) width 136: "Filler Text. Filler Text. "
-      text run at (138,3) width 31: "Filler"
+      text run at (139,3) width 30: "Filler"
       text run at (3,23) width 102: "Text. Filler Text. "
-      text run at (104,23) width 65: "Filler Text."
+      text run at (105,23) width 64: "Filler Text."
       text run at (3,43) width 68: "Filler Text. "
-      text run at (70,43) width 99: "Filler Text. Filler"
+      text run at (71,43) width 98: "Filler Text. Filler"
       text run at (3,63) width 34: "Text. "
-      text run at (36,63) width 133: "Filler Text. Filler Text."
+      text run at (37,63) width 132: "Filler Text. Filler Text."
       text run at (3,83) width 136: "Filler Text. Filler Text. "
-      text run at (138,83) width 31: "Filler"
+      text run at (139,83) width 30: "Filler"
       text run at (3,103) width 102: "Text. Filler Text. "
-      text run at (104,103) width 65: "Filler Text."
+      text run at (105,103) width 64: "Filler Text."
       text run at (3,123) width 68: "Filler Text. "
-      text run at (70,123) width 99: "Filler Text. Filler"
+      text run at (71,123) width 98: "Filler Text. Filler"
       text run at (3,143) width 30: "Text."
diff --git a/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/text/textshadow-002-expected.png b/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/text/textshadow-002-expected.png
index 15beb68f..44d1f8bdb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/text/textshadow-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/ietestcenter/css3/text/textshadow-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/images/color-profile-image-filter-all-expected.png b/third_party/WebKit/LayoutTests/platform/win/images/color-profile-image-filter-all-expected.png
index 17256c6..be25732 100644
--- a/third_party/WebKit/LayoutTests/platform/win/images/color-profile-image-filter-all-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/images/color-profile-image-filter-all-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/images/exif-orientation-expected.png b/third_party/WebKit/LayoutTests/platform/win/images/exif-orientation-expected.png
index b7fd949..8349b2b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/images/exif-orientation-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/images/exif-orientation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/images/exif-orientation-image-document-expected.png b/third_party/WebKit/LayoutTests/platform/win/images/exif-orientation-image-document-expected.png
index 2b3a2a6..929d0d2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/images/exif-orientation-image-document-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/images/exif-orientation-image-document-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/images/imagemap-circle-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/win/images/imagemap-circle-focus-ring-expected.png
index bae91c9..0af1e19 100644
--- a/third_party/WebKit/LayoutTests/platform/win/images/imagemap-circle-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/images/imagemap-circle-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/images/imagemap-focus-ring-zoom-expected.png b/third_party/WebKit/LayoutTests/platform/win/images/imagemap-focus-ring-zoom-expected.png
index 9664e2e..915c36607 100644
--- a/third_party/WebKit/LayoutTests/platform/win/images/imagemap-focus-ring-zoom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/images/imagemap-focus-ring-zoom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/images/imagemap-overflowing-polygon-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/win/images/imagemap-overflowing-polygon-focus-ring-expected.png
index a1a30dfa..f23379f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/images/imagemap-overflowing-polygon-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/images/imagemap-overflowing-polygon-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/images/pixel-crack-image-background-webkit-transform-scale-expected.txt b/third_party/WebKit/LayoutTests/platform/win/images/pixel-crack-image-background-webkit-transform-scale-expected.txt
index d0bbd50..654d31bc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/images/pixel-crack-image-background-webkit-transform-scale-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/images/pixel-crack-image-background-webkit-transform-scale-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 696x19
           text run at (0,0) width 410: "Test pixel cracks when background sprite is transformed with scale. "
-          text run at (409,0) width 287: "Need to run pixel test to verify if it is successful."
+          text run at (410,0) width 286: "Need to run pixel test to verify if it is successful."
 layer at (12,72) size 16x16
   LayoutBlockFlow (positioned) {DIV} at (12,72) size 16x16
 layer at (24,72) size 16x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-0px-images-expected.png b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-0px-images-expected.png
index f64ca16..d1bb1ecf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-0px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-0px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-0px-images-quirk-expected.png b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-0px-images-quirk-expected.png
index b6defdb..50a4855 100644
--- a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-0px-images-quirk-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-0px-images-quirk-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-10px-images-expected.png b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-10px-images-expected.png
index 4a13fbf..8ca8a30 100644
--- a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-10px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-10px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-16px-images-expected.png b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-16px-images-expected.png
index e38ccd1..01d68c6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-16px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-16px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-1px-images-expected.png b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-1px-images-expected.png
index 8b32e20..2e9db2e1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-1px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-1px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-block-flow-images-expected.png b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-block-flow-images-expected.png
index a15f3c3..c051414a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-block-flow-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-block-flow-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-images-empty-alt-expected.png b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-images-empty-alt-expected.png
index 1050877a..1cd7e150 100644
--- a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-images-empty-alt-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-images-empty-alt-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-images-expected.png b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-images-expected.png
index c3c5b78..7ad0667 100644
--- a/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/media/track/track-cue-rendering-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/win/media/track/track-cue-rendering-vertical-expected.png
index 3e552b51..ce63cf77 100644
--- a/third_party/WebKit/LayoutTests/platform/win/media/track/track-cue-rendering-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/media/track/track-cue-rendering-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/media/video-aspect-ratio-expected.txt b/third_party/WebKit/LayoutTests/platform/win/media/video-aspect-ratio-expected.txt
index c122f31..cb685a5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/media/video-aspect-ratio-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/media/video-aspect-ratio-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 589x19
-          text run at (0,0) width 589: "Test video sizing. You should see one bigger image (paused video) and 7 small ones of 1/4 its size."
+        LayoutText {#text} at (0,0) size 588x19
+          text run at (0,0) width 588: "Test video sizing. You should see one bigger image (paused video) and 7 small ones of 1/4 its size."
       LayoutBlockFlow (anonymous) at (0,36) size 784x480
         LayoutBR {BR} at (320,240) size 0x0
         LayoutBlockFlow {DIV} at (160,240) size 320x120
diff --git a/third_party/WebKit/LayoutTests/platform/win/media/video-replaces-poster-expected.png b/third_party/WebKit/LayoutTests/platform/win/media/video-replaces-poster-expected.png
index bf87555..9e350ce 100644
--- a/third_party/WebKit/LayoutTests/platform/win/media/video-replaces-poster-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/media/video-replaces-poster-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/media/video-replaces-poster-expected.txt b/third_party/WebKit/LayoutTests/platform/win/media/video-replaces-poster-expected.txt
index afd434b..66b4f60 100644
--- a/third_party/WebKit/LayoutTests/platform/win/media/video-replaces-poster-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/media/video-replaces-poster-expected.txt
@@ -6,14 +6,14 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {A} at (0,0) size 292x19 [color=#0000EE]
-          LayoutText {#text} at (49,0) size 292x19
-            text run at (49,0) width 292: "https://bugs.webkit.org/show_bug.cgi?id=34966"
-        LayoutText {#text} at (340,0) size 9x19
-          text run at (340,0) width 9: ". "
-        LayoutBR {BR} at (348,0) size 1x19
-        LayoutText {#text} at (0,20) size 195x19
-          text run at (0,20) width 195: "You should see the video below."
+        LayoutInline {A} at (0,0) size 291x19 [color=#0000EE]
+          LayoutText {#text} at (50,0) size 291x19
+            text run at (50,0) width 291: "https://bugs.webkit.org/show_bug.cgi?id=34966"
+        LayoutText {#text} at (341,0) size 8x19
+          text run at (341,0) width 8: ". "
+        LayoutBR {BR} at (349,0) size 0x19
+        LayoutText {#text} at (0,20) size 194x19
+          text run at (0,20) width 194: "You should see the video below."
       LayoutBlockFlow (anonymous) at (0,56) size 784x275
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,72) size 480x270
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/filters/clip-filter-overflow-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/filters/clip-filter-overflow-clip-expected.txt
index c32785ec..0ddf325 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/filters/clip-filter-overflow-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/filters/clip-filter-overflow-clip-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x96
   LayoutBlockFlow {HTML} at (0,0) size 800x96
     LayoutBlockFlow {BODY} at (8,8) size 784x80
-      LayoutText {#text} at (0,0) size 463x19
-        text run at (0,0) width 463: "This test verifies CSS clip, filter, and overflow clip are applied in the order of:"
-      LayoutBR {BR} at (462,0) size 1x19
+      LayoutText {#text} at (0,0) size 462x19
+        text run at (0,0) width 462: "This test verifies CSS clip, filter, and overflow clip are applied in the order of:"
+      LayoutBR {BR} at (462,0) size 0x19
       LayoutText {#text} at (0,20) size 406x19
         text run at (0,20) width 406: "output <-- clip <-- filter <-- overflow clip <-- normal-flow contents"
       LayoutBR {BR} at (406,20) size 0x19
-      LayoutText {#text} at (0,40) size 748x39
-        text run at (0,40) width 748: "The test succeeds if the green box below has a crisp left edge, blurred top/bottom dashed border, and a crisp right edge with"
-        text run at (0,60) width 335: "blurred partial dashed border. No red should be visible."
+      LayoutText {#text} at (0,40) size 747x39
+        text run at (0,40) width 747: "The test succeeds if the green box below has a crisp left edge, blurred top/bottom dashed border, and a crisp right edge with"
+        text run at (0,60) width 334: "blurred partial dashed border. No red should be visible."
 layer at (10,200) size 110x110 backgroundClip at (65,191) size 50x128 clip at (65,205) size 50x100 scrollWidth 105 scrollHeight 105
   LayoutBlockFlow (positioned) {DIV} at (10,200) size 110x110 [bgcolor=#008000] [border: (5px dashed #000000)]
     LayoutBlockFlow {DIV} at (0,0) size 110x110 [border: (5px solid #FF0000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/4774354-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/4774354-expected.txt
index 7ac6f2b1..41bee6da 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/4774354-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/4774354-expected.txt
@@ -11,5 +11,5 @@
     layer at (0,0) size 300x150
       LayoutBlockFlow {HTML} at (0,0) size 300x150
         LayoutBlockFlow {BODY} at (8,8) size 284x134 [bgcolor=#FFFFE0]
-          LayoutText {#text} at (0,0) size 228x19
-            text run at (0,0) width 228: "You should not see a caret in this text."
+          LayoutText {#text} at (0,0) size 227x19
+            text run at (0,0) width 227: "You should not see a caret in this text."
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/clip/control-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/clip/control-clip-expected.txt
index e7dd8e2c..05df1f4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/clip/control-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/clip/control-clip-expected.txt
@@ -34,7 +34,7 @@
         },
         {
           "object": "InlineTextBox 'FAILURE'",
-          "rect": [9, 87, 54, 16],
+          "rect": [9, 87, 53, 16],
           "reason": "disappeared"
         }
       ]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/compositing/layer-repaint-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/compositing/layer-repaint-expected.txt
index ba76a21..4927443 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/compositing/layer-repaint-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/compositing/layer-repaint-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x362
     LayoutBlockFlow {BODY} at (8,16) size 784x338
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 409x19
-          text run at (0,0) width 409: "Test for repaint in a composited layer. You should see no red below."
+        LayoutText {#text} at (0,0) size 408x19
+          text run at (0,0) width 408: "Test for repaint in a composited layer. You should see no red below."
 layer at (8,52) size 202x302
   LayoutBlockFlow {DIV} at (0,36) size 202x302 [border: (1px solid #000000)]
     LayoutBlockFlow {DIV} at (51,51) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/compositing/layer-repaint-rects-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/compositing/layer-repaint-rects-expected.txt
index 48b5b30..7302d316 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/compositing/layer-repaint-rects-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/compositing/layer-repaint-rects-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x52
     LayoutBlockFlow {BODY} at (0,16) size 800x20
       LayoutBlockFlow {P} at (0,0) size 800x20
-        LayoutText {#text} at (0,0) size 626x19
-          text run at (0,0) width 626: "Tests repaint after a layer stops compositing. You should see no red below after the end of the transition."
+        LayoutText {#text} at (0,0) size 625x19
+          text run at (0,0) width 625: "Tests repaint after a layer stops compositing. You should see no red below after the end of the transition."
 layer at (0,100) size 402x232
   LayoutBlockFlow (positioned) {DIV} at (0,100) size 402x232 [border: (1px solid #000000)]
 layer at (1,111) size 200x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/compositing/text-match-highlight-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/compositing/text-match-highlight-expected.png
index 87e1523..9f37224 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/compositing/text-match-highlight-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/compositing/text-match-highlight-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-1-expected.png
index 1cdd151..9fda530 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-1-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-1-expected.txt
index 852fc6a..58da46a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-1-expected.txt
@@ -293,61 +293,6 @@
           "reason": "appeared"
         },
         {
-          "object": "InlineTextBox ' was in a'",
-          "rect": [14, 420, 355, 79],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'furious passion, and went\n'",
-          "rect": [14, 420, 355, 79],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'her head!\u2019 about once in a'",
-          "rect": [14, 420, 355, 79],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'minute.\n'",
-          "rect": [14, 420, 355, 79],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'stamping about, and shouting'",
-          "rect": [14, 420, 355, 79],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox '\u2018Off with his head!\u2019 or \u2018Off with\n'",
-          "rect": [14, 420, 355, 79],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'her head!\u2019 about'",
-          "rect": [14, 440, 355, 59],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox 'once in a minute.\n'",
-          "rect": [14, 440, 355, 59],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
-          "rect": [14, 440, 355, 59],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox 'stamping about, and'",
-          "rect": [14, 440, 355, 59],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox 'was in a furious passion, and went\n'",
-          "rect": [14, 440, 355, 59],
-          "reason": "disappeared"
-        },
-        {
           "object": "InlineTextBox 'a very short time '",
           "rect": [14, 380, 355, 59],
           "reason": "appeared"
@@ -403,6 +348,61 @@
           "reason": "disappeared"
         },
         {
+          "object": "InlineTextBox ' was in a'",
+          "rect": [14, 420, 354, 79],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'furious passion, and went\n'",
+          "rect": [14, 420, 354, 79],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'her head!\u2019 about once in a'",
+          "rect": [14, 420, 354, 79],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'minute.\n'",
+          "rect": [14, 420, 354, 79],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'stamping about, and shouting'",
+          "rect": [14, 420, 354, 79],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox '\u2018Off with his head!\u2019 or \u2018Off with\n'",
+          "rect": [14, 420, 354, 79],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'her head!\u2019 about'",
+          "rect": [14, 440, 354, 59],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'once in a minute.\n'",
+          "rect": [14, 440, 354, 59],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
+          "rect": [14, 440, 354, 59],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'stamping about, and'",
+          "rect": [14, 440, 354, 59],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'was in a furious passion, and went\n'",
+          "rect": [14, 440, 354, 59],
+          "reason": "disappeared"
+        },
+        {
           "object": "InlineTextBox 'a very short time '",
           "rect": [65, 380, 304, 59],
           "reason": "disappeared"
@@ -439,12 +439,12 @@
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [134, 360, 131, 19],
+          "rect": [134, 360, 132, 19],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [65, 360, 131, 19],
+          "rect": [65, 360, 132, 19],
           "reason": "appeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-10-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-10-expected.png
index 4f671e8..c9f6ce9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-10-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-10-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-10-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-10-expected.txt
index 2e9d1d2b..38d541e3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-10-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-10-expected.txt
@@ -193,31 +193,11 @@
           "reason": "appeared"
         },
         {
-          "object": "InlineTextBox 'her head!\u2019 about'",
-          "rect": [14, 440, 355, 59],
-          "reason": "disappeared"
-        },
-        {
           "object": "InlineTextBox 'her'",
           "rect": [14, 440, 355, 59],
           "reason": "appeared"
         },
         {
-          "object": "InlineTextBox 'once in a minute.\n'",
-          "rect": [14, 440, 355, 59],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
-          "rect": [14, 440, 355, 59],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox 'stamping about, and'",
-          "rect": [14, 440, 355, 59],
-          "reason": "disappeared"
-        },
-        {
           "object": "InlineTextBox 'stamping'",
           "rect": [14, 440, 355, 59],
           "reason": "appeared"
@@ -228,8 +208,28 @@
           "reason": "appeared"
         },
         {
+          "object": "InlineTextBox 'her head!\u2019 about'",
+          "rect": [14, 440, 354, 59],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'once in a minute.\n'",
+          "rect": [14, 440, 354, 59],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
+          "rect": [14, 440, 354, 59],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'stamping about, and'",
+          "rect": [14, 440, 354, 59],
+          "reason": "disappeared"
+        },
+        {
           "object": "InlineTextBox 'was in a furious passion, and went\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
@@ -294,12 +294,12 @@
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [134, 360, 131, 19],
+          "rect": [134, 360, 132, 19],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [134, 360, 131, 19],
+          "rect": [134, 360, 132, 19],
           "reason": "disappeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-2-expected.png
index 06351c4..1783ce5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-2-expected.txt
index 0d85640..1af611c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-2-expected.txt
@@ -283,56 +283,6 @@
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox 'her head!\u2019 about'",
-          "rect": [14, 441, 355, 59],
-          "reason": "geometry"
-        },
-        {
-          "object": "InlineTextBox 'once in a minute.\n'",
-          "rect": [14, 441, 355, 59],
-          "reason": "geometry"
-        },
-        {
-          "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
-          "rect": [14, 441, 355, 59],
-          "reason": "geometry"
-        },
-        {
-          "object": "InlineTextBox 'stamping about, and'",
-          "rect": [14, 441, 355, 59],
-          "reason": "geometry"
-        },
-        {
-          "object": "InlineTextBox 'was in a furious passion, and went\n'",
-          "rect": [14, 441, 355, 59],
-          "reason": "geometry"
-        },
-        {
-          "object": "InlineTextBox 'her head!\u2019 about'",
-          "rect": [14, 440, 355, 59],
-          "reason": "geometry"
-        },
-        {
-          "object": "InlineTextBox 'once in a minute.\n'",
-          "rect": [14, 440, 355, 59],
-          "reason": "geometry"
-        },
-        {
-          "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
-          "rect": [14, 440, 355, 59],
-          "reason": "geometry"
-        },
-        {
-          "object": "InlineTextBox 'stamping about, and'",
-          "rect": [14, 440, 355, 59],
-          "reason": "geometry"
-        },
-        {
-          "object": "InlineTextBox 'was in a furious passion, and went\n'",
-          "rect": [14, 440, 355, 59],
-          "reason": "geometry"
-        },
-        {
           "object": "InlineTextBox 'The chief difficulty Alice found at first was in managing her'",
           "rect": [14, 80, 354, 120],
           "reason": "geometry"
@@ -388,6 +338,56 @@
           "reason": "disappeared"
         },
         {
+          "object": "InlineTextBox 'her head!\u2019 about'",
+          "rect": [14, 441, 354, 59],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox 'once in a minute.\n'",
+          "rect": [14, 441, 354, 59],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
+          "rect": [14, 441, 354, 59],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox 'stamping about, and'",
+          "rect": [14, 441, 354, 59],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox 'was in a furious passion, and went\n'",
+          "rect": [14, 441, 354, 59],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox 'her head!\u2019 about'",
+          "rect": [14, 440, 354, 59],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox 'once in a minute.\n'",
+          "rect": [14, 440, 354, 59],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
+          "rect": [14, 440, 354, 59],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox 'stamping about, and'",
+          "rect": [14, 440, 354, 59],
+          "reason": "geometry"
+        },
+        {
+          "object": "InlineTextBox 'was in a furious passion, and went\n'",
+          "rect": [14, 440, 354, 59],
+          "reason": "geometry"
+        },
+        {
           "object": "InlineTextBox 'a very short time '",
           "rect": [65, 381, 304, 59],
           "reason": "geometry"
@@ -449,12 +449,12 @@
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [134, 361, 131, 19],
+          "rect": [134, 361, 132, 19],
           "reason": "geometry"
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [134, 360, 131, 19],
+          "rect": [134, 360, 132, 19],
           "reason": "geometry"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-3-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-3-expected.png
index 8bae623..1e3d5e3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-3-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-3-expected.txt
index d8b6614..cb74ea8c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-3-expected.txt
@@ -174,55 +174,30 @@
         },
         {
           "object": "InlineTextBox 'her head!\u2019 about'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'once in a minute.\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'stamping about, and'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'was in a furious passion, and went\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
-          "object": "InlineTextBox ' was in a furious passion, and went\n'",
-          "rect": [14, 440, 339, 59],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'about, and shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
-          "rect": [14, 440, 339, 59],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'head!\u2019 about once in a minute.\n'",
-          "rect": [14, 440, 339, 59],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'her'",
-          "rect": [14, 440, 339, 59],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'stamping'",
-          "rect": [14, 440, 339, 59],
-          "reason": "appeared"
-        },
-        {
           "object": "InlineTextBox 'Queen'",
           "rect": [14, 420, 339, 39],
           "reason": "appeared"
@@ -233,6 +208,31 @@
           "reason": "appeared"
         },
         {
+          "object": "InlineTextBox ' was in a furious passion, and went\n'",
+          "rect": [14, 440, 338, 59],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'about, and shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
+          "rect": [14, 440, 338, 59],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'head!\u2019 about once in a minute.\n'",
+          "rect": [14, 440, 338, 59],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'her'",
+          "rect": [14, 440, 338, 59],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'stamping'",
+          "rect": [14, 440, 338, 59],
+          "reason": "appeared"
+        },
+        {
           "object": "InlineTextBox 'a very short time '",
           "rect": [65, 380, 304, 59],
           "reason": "disappeared"
@@ -289,12 +289,12 @@
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [134, 360, 131, 19],
+          "rect": [134, 360, 132, 19],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [134, 360, 131, 19],
+          "rect": [134, 360, 132, 19],
           "reason": "disappeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-4-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-4-expected.png
index e048e17..9a7c88d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-4-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-4-expected.txt
index 76839286..154ac7f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-4-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-4-expected.txt
@@ -199,27 +199,27 @@
         },
         {
           "object": "InlineTextBox 'her head!\u2019 about'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'once in a minute.\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'stamping about, and'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'was in a furious passion, and went\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
@@ -284,12 +284,12 @@
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [134, 360, 131, 19],
+          "rect": [134, 360, 132, 19],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [134, 360, 131, 19],
+          "rect": [134, 360, 132, 19],
           "reason": "disappeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-5-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-5-expected.png
index 7501e25..4c4a14d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-5-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-5-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-5-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-5-expected.txt
index 333cc449..509e0bc9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-5-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-5-expected.txt
@@ -214,27 +214,27 @@
         },
         {
           "object": "InlineTextBox 'her head!\u2019 about'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'once in a minute.\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'stamping about, and'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'was in a furious passion, and went\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
@@ -299,12 +299,12 @@
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [134, 360, 131, 19],
+          "rect": [134, 360, 132, 19],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [118, 360, 131, 19],
+          "rect": [118, 360, 132, 19],
           "reason": "appeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-6-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-6-expected.png
index a0785ee..d0a89bf5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-6-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-6-expected.txt
index 0d209a9..28d8531 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-6-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-6-expected.txt
@@ -144,12 +144,12 @@
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [134, 360, 131, 19],
+          "rect": [134, 360, 132, 19],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [134, 360, 131, 19],
+          "rect": [134, 360, 132, 19],
           "reason": "disappeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-7-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-7-expected.png
index 3068ba2..1020b11 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-7-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-7-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-8-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-8-expected.png
index 20ee13d..70cf4054 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-8-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-8-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-8-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-8-expected.txt
index 94cd194..7ad6895 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-8-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-8-expected.txt
@@ -283,136 +283,136 @@
           "reason": "disappeared"
         },
         {
+          "object": "InlineTextBox 'The chief difficulty Alice found at first was in managing her'",
+          "rect": [14, 80, 354, 119],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'The chief difficulty Alice found at first was in managing her'",
+          "rect": [14, 80, 354, 119],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'blow with its head, it\n'",
+          "rect": [14, 80, 354, 119],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'blow with its head, it\n'",
+          "rect": [14, 80, 354, 119],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'but generally, just as she had got its neck nicely'",
+          "rect": [14, 80, 354, 119],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'but generally, just as she had got its neck nicely'",
+          "rect": [14, 80, 354, 119],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'comfortably enough, under her arm, with its legs hanging'",
+          "rect": [14, 80, 354, 119],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'comfortably enough, under her arm, with its legs hanging'",
+          "rect": [14, 80, 354, 119],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'down,\n'",
+          "rect": [14, 80, 354, 119],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'down,\n'",
+          "rect": [14, 80, 354, 119],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'flamingo: she succeeded in getting its body tucked away,'",
+          "rect": [14, 80, 354, 119],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'flamingo: she succeeded in getting its body tucked away,'",
+          "rect": [14, 80, 354, 119],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'out, and was going to give the hedgehog a'",
+          "rect": [14, 80, 354, 119],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'out, and was going to give the hedgehog a'",
+          "rect": [14, 80, 354, 119],
+          "reason": "disappeared"
+        },
+        {
+          "object": "InlineTextBox 'straightened\n'",
+          "rect": [14, 80, 354, 119],
+          "reason": "appeared"
+        },
+        {
+          "object": "InlineTextBox 'straightened\n'",
+          "rect": [14, 80, 354, 119],
+          "reason": "disappeared"
+        },
+        {
           "object": "InlineTextBox 'her head!\u2019 about'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'once in a minute.\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'stamping about, and'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'was in a furious passion, and went\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox ' was in a furious passion,'",
-          "rect": [14, 420, 355, 59],
+          "rect": [14, 420, 354, 59],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'and went\n'",
-          "rect": [14, 420, 355, 59],
+          "rect": [14, 420, 354, 59],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'her head!\u2019 about once in a minute.\n'",
-          "rect": [14, 420, 355, 59],
+          "rect": [14, 420, 354, 59],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'or \u2018Off with\n'",
-          "rect": [14, 420, 355, 59],
+          "rect": [14, 420, 354, 59],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'stamping about, and shouting \u2018Off with his head!\u2019'",
-          "rect": [14, 420, 355, 59],
+          "rect": [14, 420, 354, 59],
           "reason": "appeared"
         },
         {
-          "object": "InlineTextBox 'The chief difficulty Alice found at first was in managing her'",
-          "rect": [14, 80, 354, 119],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'The chief difficulty Alice found at first was in managing her'",
-          "rect": [14, 80, 354, 119],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox 'blow with its head, it\n'",
-          "rect": [14, 80, 354, 119],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'blow with its head, it\n'",
-          "rect": [14, 80, 354, 119],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox 'but generally, just as she had got its neck nicely'",
-          "rect": [14, 80, 354, 119],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'but generally, just as she had got its neck nicely'",
-          "rect": [14, 80, 354, 119],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox 'comfortably enough, under her arm, with its legs hanging'",
-          "rect": [14, 80, 354, 119],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'comfortably enough, under her arm, with its legs hanging'",
-          "rect": [14, 80, 354, 119],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox 'down,\n'",
-          "rect": [14, 80, 354, 119],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'down,\n'",
-          "rect": [14, 80, 354, 119],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox 'flamingo: she succeeded in getting its body tucked away,'",
-          "rect": [14, 80, 354, 119],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'flamingo: she succeeded in getting its body tucked away,'",
-          "rect": [14, 80, 354, 119],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox 'out, and was going to give the hedgehog a'",
-          "rect": [14, 80, 354, 119],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'out, and was going to give the hedgehog a'",
-          "rect": [14, 80, 354, 119],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox 'straightened\n'",
-          "rect": [14, 80, 354, 119],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'straightened\n'",
-          "rect": [14, 80, 354, 119],
-          "reason": "disappeared"
-        },
-        {
           "object": "InlineTextBox 'a very short time '",
           "rect": [14, 380, 354, 59],
           "reason": "appeared"
@@ -469,7 +469,7 @@
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [134, 360, 131, 19],
+          "rect": [134, 360, 132, 19],
           "reason": "disappeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-9-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-9-expected.png
index 0eb3eb3..f18e516 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-9-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-9-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-9-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-9-expected.txt
index 7a706910..31652a2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-9-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/line-flow-with-floats-9-expected.txt
@@ -274,52 +274,52 @@
         },
         {
           "object": "InlineTextBox 'her head!\u2019 about'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'her head!\u2019 about'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'once in a minute.\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'once in a minute.\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'shouting \u2018Off with his head!\u2019 or \u2018Off with\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'stamping about, and'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'stamping about, and'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'was in a furious passion, and went\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'was in a furious passion, and went\n'",
-          "rect": [14, 440, 355, 59],
+          "rect": [14, 440, 354, 59],
           "reason": "disappeared"
         },
         {
@@ -384,12 +384,12 @@
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [134, 360, 131, 19],
+          "rect": [134, 360, 132, 19],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'difficult game indeed.\n'",
-          "rect": [134, 360, 131, 19],
+          "rect": [134, 360, 132, 19],
           "reason": "disappeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/list-marker-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/list-marker-expected.png
index 4f1b13d6c..5008ca0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/list-marker-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/list-marker-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/list-marker-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/list-marker-expected.txt
index f608903..f5fac181 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/list-marker-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/list-marker-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
-        LayoutInline {I} at (0,0) size 730x39
-          LayoutInline {A} at (0,0) size 306x19 [color=#0000EE]
-            LayoutText {#text} at (49,0) size 306x19
-              text run at (49,0) width 306: "http://bugs.webkit.org/show_bug.cgi?id=12910"
-          LayoutText {#text} at (354,0) size 730x39
-            text run at (354,0) width 5: " "
-            text run at (358,0) width 372: "REGRESSION (r18756-r18765): list-bullet doesn't redraw"
-            text run at (0,20) width 374: "properly when changing the list's content using JavaScript"
-        LayoutText {#text} at (373,20) size 5x19
-          text run at (373,20) width 5: "."
+        LayoutInline {I} at (0,0) size 729x39
+          LayoutInline {A} at (0,0) size 304x19 [color=#0000EE]
+            LayoutText {#text} at (50,0) size 304x19
+              text run at (50,0) width 304: "http://bugs.webkit.org/show_bug.cgi?id=12910"
+          LayoutText {#text} at (354,0) size 729x39
+            text run at (354,0) width 4: " "
+            text run at (358,0) width 371: "REGRESSION (r18756-r18765): list-bullet doesn't redraw"
+            text run at (0,20) width 373: "properly when changing the list's content using JavaScript"
+        LayoutText {#text} at (373,20) size 4x19
+          text run at (373,20) width 4: "."
       LayoutBlockFlow {UL} at (0,56) size 784x20
         LayoutListItem {LI} at (40,0) size 744x20
           LayoutBlockFlow (anonymous) at (0,0) size 744x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/multi-layout-one-frame-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/multi-layout-one-frame-expected.txt
index aad604747..9d0ad77 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/multi-layout-one-frame-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/multi-layout-one-frame-expected.txt
@@ -29,12 +29,12 @@
         },
         {
           "object": "InlineTextBox 'FAILED'",
-          "rect": [187, 11, 45, 16],
+          "rect": [187, 11, 44, 16],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'FAILED'",
-          "rect": [10, 11, 45, 16],
+          "rect": [10, 11, 44, 16],
           "reason": "disappeared"
         }
       ]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-expected.png
index 9d8ef56..6da19f7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-expected.txt
index a3fda7e7..18dc8112 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-expected.txt
@@ -6,14 +6,14 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 197x19
           text run at (0,0) width 197: "This tests for regressions against "
-        LayoutInline {I} at (0,0) size 546x19
-          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
-            LayoutText {#text} at (197,0) size 350x19
-              text run at (197,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7943"
-          LayoutText {#text} at (546,0) size 197x19
-            text run at (546,0) width 197: " Layer outline does not repaint"
-        LayoutText {#text} at (742,0) size 5x19
-          text run at (742,0) width 5: "."
+        LayoutInline {I} at (0,0) size 545x19
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (197,0) size 349x19
+              text run at (197,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7943"
+          LayoutText {#text} at (546,0) size 196x19
+            text run at (546,0) width 196: " Layer outline does not repaint"
+        LayoutText {#text} at (742,0) size 4x19
+          text run at (742,0) width 4: "."
 layer at (8,44) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (18,194) size 100x100 clip at (19,195) size 98x98
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-horizontal-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-horizontal-expected.png
index 9d8ef56..6da19f7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-horizontal-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-horizontal-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-horizontal-expected.txt
index a3fda7e7..18dc8112 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/outline/layer-outline-horizontal-expected.txt
@@ -6,14 +6,14 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 197x19
           text run at (0,0) width 197: "This tests for regressions against "
-        LayoutInline {I} at (0,0) size 546x19
-          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
-            LayoutText {#text} at (197,0) size 350x19
-              text run at (197,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7943"
-          LayoutText {#text} at (546,0) size 197x19
-            text run at (546,0) width 197: " Layer outline does not repaint"
-        LayoutText {#text} at (742,0) size 5x19
-          text run at (742,0) width 5: "."
+        LayoutInline {I} at (0,0) size 545x19
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (197,0) size 349x19
+              text run at (197,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7943"
+          LayoutText {#text} at (546,0) size 196x19
+            text run at (546,0) width 196: " Layer outline does not repaint"
+        LayoutText {#text} at (742,0) size 4x19
+          text run at (742,0) width 4: "."
 layer at (8,44) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (18,194) size 100x100 clip at (19,195) size 98x98
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-expected.png
index 7b7af9e0..92fc89ba 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-expected.txt
index cd7a020..c131588 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 215x19
           text run at (0,0) width 215: "This is a test for regressions against "
-        LayoutInline {I} at (0,0) size 756x39
-          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
-            LayoutText {#text} at (215,0) size 350x19
-              text run at (215,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8056"
-          LayoutText {#text} at (564,0) size 756x39
-            text run at (564,0) width 5: " "
-            text run at (568,0) width 188: "Flexible boxes do not repaint"
-            text run at (0,20) width 244: "their top, left and children's overflows"
-        LayoutText {#text} at (243,20) size 5x19
-          text run at (243,20) width 5: "."
+        LayoutInline {I} at (0,0) size 755x39
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (215,0) size 349x19
+              text run at (215,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8056"
+          LayoutText {#text} at (564,0) size 755x39
+            text run at (564,0) width 4: " "
+            text run at (568,0) width 187: "Flexible boxes do not repaint"
+            text run at (0,20) width 243: "their top, left and children's overflows"
+        LayoutText {#text} at (243,20) size 4x19
+          text run at (243,20) width 4: "."
       LayoutBlockFlow {DIV} at (0,66) size 784x100
         LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
           LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.png
index 7b7af9e0..92fc89ba 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.txt
index cd7a020..c131588 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/overflow/flexible-box-overflow-horizontal-expected.txt
@@ -6,16 +6,16 @@
       LayoutBlockFlow {P} at (0,0) size 784x40
         LayoutText {#text} at (0,0) size 215x19
           text run at (0,0) width 215: "This is a test for regressions against "
-        LayoutInline {I} at (0,0) size 756x39
-          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
-            LayoutText {#text} at (215,0) size 350x19
-              text run at (215,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8056"
-          LayoutText {#text} at (564,0) size 756x39
-            text run at (564,0) width 5: " "
-            text run at (568,0) width 188: "Flexible boxes do not repaint"
-            text run at (0,20) width 244: "their top, left and children's overflows"
-        LayoutText {#text} at (243,20) size 5x19
-          text run at (243,20) width 5: "."
+        LayoutInline {I} at (0,0) size 755x39
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (215,0) size 349x19
+              text run at (215,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8056"
+          LayoutText {#text} at (564,0) size 755x39
+            text run at (564,0) width 4: " "
+            text run at (568,0) width 187: "Flexible boxes do not repaint"
+            text run at (0,20) width 243: "their top, left and children's overflows"
+        LayoutText {#text} at (243,20) size 4x19
+          text run at (243,20) width 4: "."
       LayoutBlockFlow {DIV} at (0,66) size 784x100
         LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
           LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/position/fixed-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/position/fixed-expected.png
index c0a124a..4a3fc39 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/position/fixed-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/position/fixed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/remove-inline-after-layout-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/remove-inline-after-layout-expected.txt
index 257799c5..a0e8105 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/remove-inline-after-layout-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/remove-inline-after-layout-expected.txt
@@ -19,12 +19,12 @@
       "paintInvalidations": [
         {
           "object": "InlineTextBox 'This span should disappear.\n'",
-          "rect": [112, 193, 171, 19],
+          "rect": [112, 193, 170, 19],
           "reason": "disappeared"
         },
         {
           "object": "LayoutBlockFlow DIV",
-          "rect": [282, 108, 101, 100],
+          "rect": [282, 108, 100, 100],
           "reason": "geometry"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/remove-inline-layer-after-layout-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/remove-inline-layer-after-layout-expected.txt
index 2b3c19e..a4ff6360 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/remove-inline-layer-after-layout-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/remove-inline-layer-after-layout-expected.txt
@@ -19,12 +19,12 @@
       "paintInvalidations": [
         {
           "object": "LayoutInline SPAN id='target'",
-          "rect": [112, 193, 171, 19],
+          "rect": [112, 193, 170, 19],
           "reason": "disappeared"
         },
         {
           "object": "LayoutBlockFlow DIV",
-          "rect": [282, 108, 101, 100],
+          "rect": [282, 108, 100, 100],
           "reason": "geometry"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.png
index 18525dc..dad15f511 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.txt
index a2b42a9..5afe2ca9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/inline-style-change-in-scrolled-view-expected.txt
@@ -19,7 +19,7 @@
       "paintInvalidations": [
         {
           "object": "InlineTextBox 'Text Text Text Text Text Text Text Text Text Text Text Text Text'",
-          "rect": [0, 320, 385, 19],
+          "rect": [0, 320, 386, 19],
           "reason": "style change"
         }
       ],
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/overflow-scroll-body-appear-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/overflow-scroll-body-appear-expected.txt
index 8c981435b..186376237 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/overflow-scroll-body-appear-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/overflow-scroll-body-appear-expected.txt
@@ -29,12 +29,12 @@
         },
         {
           "object": "InlineTextBox 'You should see both vertical and horizontal scrollbars.'",
-          "rect": [8, 16, 324, 19],
+          "rect": [8, 16, 323, 19],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'You should see both vertical and horizontal scrollbars.'",
-          "rect": [8, 16, 324, 19],
+          "rect": [8, 16, 323, 19],
           "reason": "disappeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/overflow-scroll-delete-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/overflow-scroll-delete-expected.png
index 8c37a25..f8d7870 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/overflow-scroll-delete-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/scroll/overflow-scroll-delete-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-clear-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-clear-expected.png
index 9e4fadf..3b4e9e5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-clear-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-clear-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-clear-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-clear-expected.txt
index d7f06deb2..df704e5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-clear-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-clear-expected.txt
@@ -18,78 +18,73 @@
       "backgroundColor": "#FFFFFF",
       "paintInvalidations": [
         {
-          "object": "InlineTextBox '\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F'",
-          "rect": [273, 123, 499, 394],
+          "object": "InlineTextBox '\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B'",
+          "rect": [307, 123, 465, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B'",
-          "rect": [273, 123, 499, 394],
+          "object": "InlineTextBox '\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22'",
+          "rect": [307, 123, 465, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057'",
-          "rect": [273, 123, 499, 394],
+          "object": "InlineTextBox '\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B'",
+          "rect": [307, 123, 465, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4'",
-          "rect": [273, 123, 499, 394],
+          "object": "InlineTextBox '\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059'",
+          "rect": [307, 123, 465, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063'",
-          "rect": [273, 123, 499, 394],
+          "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B'",
+          "rect": [307, 123, 465, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C'",
-          "rect": [273, 123, 499, 394],
+          "object": "InlineTextBox '\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2'",
+          "rect": [307, 123, 465, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A'",
-          "rect": [273, 123, 499, 394],
+          "object": "InlineTextBox '\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8'",
+          "rect": [307, 123, 465, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053'",
-          "rect": [273, 123, 499, 394],
+          "object": "InlineTextBox '\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+          "rect": [307, 123, 465, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A'",
-          "rect": [273, 123, 499, 394],
+          "object": "InlineTextBox '\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E'",
+          "rect": [307, 123, 465, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E'",
-          "rect": [273, 123, 499, 394],
+          "object": "InlineTextBox '\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E'",
+          "rect": [307, 123, 465, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
-          "rect": [273, 123, 499, 394],
+          "object": "InlineTextBox '\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B'",
+          "rect": [307, 123, 465, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
-          "rect": [273, 123, 499, 394],
+          "object": "InlineTextBox '\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4'",
+          "rect": [307, 123, 465, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068'",
-          "rect": [273, 123, 499, 394],
+          "object": "InlineTextBox '\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+          "rect": [307, 123, 465, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6'",
-          "rect": [273, 123, 499, 394],
-          "reason": "geometry"
-        },
-        {
-          "object": "InlineTextBox '\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC'",
-          "rect": [273, 123, 499, 394],
+          "object": "InlineTextBox '\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8'",
+          "rect": [307, 123, 465, 404],
           "reason": "geometry"
         }
       ]
@@ -101,63 +96,59 @@
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053'",
+      "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E'",
+      "object": "InlineTextBox '\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A'",
+      "object": "InlineTextBox '\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4'",
+      "object": "InlineTextBox '\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B'",
+      "object": "InlineTextBox '\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063'",
+      "object": "InlineTextBox '\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A'",
+      "object": "InlineTextBox '\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+      "object": "InlineTextBox '\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C'",
+      "object": "InlineTextBox '\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6'",
+      "object": "InlineTextBox '\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068'",
+      "object": "InlineTextBox '\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057'",
+      "object": "InlineTextBox '\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F'",
+      "object": "InlineTextBox '\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC'",
-      "reason": "geometry"
-    },
-    {
-      "object": "InlineTextBox '\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+      "object": "InlineTextBox '\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
       "reason": "geometry"
     }
   ]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-repaint-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-repaint-expected.png
index eeec7db0..6207d15 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-repaint-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-repaint-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-repaint-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-repaint-expected.txt
index 1cdefcc..0195d20 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-repaint-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/japanese-rl-selection-repaint-expected.txt
@@ -18,58 +18,53 @@
       "backgroundColor": "#FFFFFF",
       "paintInvalidations": [
         {
-          "object": "InlineTextBox '\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9'",
-          "rect": [409, 23, 363, 544],
+          "object": "InlineTextBox '\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053'",
+          "rect": [443, 23, 329, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C'",
-          "rect": [409, 23, 363, 544],
+          "object": "InlineTextBox '\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067'",
+          "rect": [443, 23, 329, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C'",
-          "rect": [409, 23, 363, 544],
+          "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066'",
+          "rect": [443, 23, 329, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D'",
-          "rect": [409, 23, 363, 544],
+          "object": "InlineTextBox '\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C'",
+          "rect": [443, 23, 329, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060'",
-          "rect": [409, 23, 363, 544],
+          "object": "InlineTextBox '\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3'",
+          "rect": [443, 23, 329, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F'",
-          "rect": [409, 23, 363, 544],
+          "object": "InlineTextBox '\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B'",
+          "rect": [443, 23, 329, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC'",
-          "rect": [409, 23, 363, 544],
+          "object": "InlineTextBox '\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB'",
+          "rect": [443, 23, 329, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057'",
-          "rect": [409, 23, 363, 544],
+          "object": "InlineTextBox '\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B'",
+          "rect": [443, 23, 329, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
-          "rect": [409, 23, 363, 544],
+          "object": "InlineTextBox '\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8'",
+          "rect": [443, 23, 329, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A'",
-          "rect": [409, 23, 363, 544],
-          "reason": "geometry"
-        },
-        {
-          "object": "InlineTextBox '\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18'",
-          "rect": [409, 23, 363, 544],
+          "object": "InlineTextBox '\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+          "rect": [443, 23, 329, 556],
           "reason": "geometry"
         }
       ]
@@ -81,47 +76,43 @@
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C'",
+      "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060'",
+      "object": "InlineTextBox '\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C'",
+      "object": "InlineTextBox '\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18'",
+      "object": "InlineTextBox '\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A'",
+      "object": "InlineTextBox '\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC'",
+      "object": "InlineTextBox '\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057'",
+      "object": "InlineTextBox '\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D'",
+      "object": "InlineTextBox '\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F'",
+      "object": "InlineTextBox '\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9'",
-      "reason": "geometry"
-    },
-    {
-      "object": "InlineTextBox '\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+      "object": "InlineTextBox '\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
       "reason": "geometry"
     }
   ]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/selected-replaced-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/selected-replaced-expected.png
index 7c9479f..13ffb65 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/selected-replaced-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/selection/selected-replaced-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/subtree-root-skipped-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/subtree-root-skipped-expected.txt
index 52457bd..2cc13ea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/subtree-root-skipped-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/subtree-root-skipped-expected.txt
@@ -24,7 +24,7 @@
         },
         {
           "object": "InlineTextBox 'FAIL'",
-          "rect": [10, 11, 27, 16],
+          "rect": [10, 11, 26, 16],
           "reason": "disappeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/ems-display-none-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/ems-display-none-expected.txt
index 5820c110..540eec3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/ems-display-none-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/ems-display-none-expected.txt
@@ -19,7 +19,7 @@
       "paintInvalidations": [
         {
           "object": "LayoutSVGRoot svg",
-          "rect": [50, 54, 561, 86],
+          "rect": [50, 54, 560, 86],
           "reason": "appeared"
         }
       ]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/exs-display-none-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/exs-display-none-expected.txt
index e37132f..42977b4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/exs-display-none-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/exs-display-none-expected.txt
@@ -19,7 +19,7 @@
       "paintInvalidations": [
         {
           "object": "LayoutSVGRoot svg",
-          "rect": [50, 52, 561, 84],
+          "rect": [50, 52, 560, 84],
           "reason": "appeared"
         }
       ]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.png
index bfa2d9e..f22f3ae 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.txt
index 7cbe60d..7670d43a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.txt
@@ -19,12 +19,12 @@
       "paintInvalidations": [
         {
           "object": "InlineTextBox 'pservers-pattern-01-b \u2190'",
-          "rect": [177, 1012, 203, 19],
+          "rect": [177, 1012, 202, 19],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'pservers-pattern-01-b \u2190'",
-          "rect": [177, 1012, 203, 19],
+          "rect": [177, 1012, 202, 19],
           "reason": "disappeared"
         },
         {
@@ -39,37 +39,37 @@
         },
         {
           "object": "LayoutBlockFlow HTML",
-          "rect": [384, 1011, 47, 21],
+          "rect": [384, 1011, 46, 21],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'index'",
-          "rect": [385, 1012, 45, 19],
+          "rect": [385, 1012, 44, 19],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'index'",
-          "rect": [385, 1012, 45, 19],
+          "rect": [385, 1012, 44, 19],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox '\n'",
-          "rect": [429, 1012, 7, 19],
+          "rect": [429, 1012, 6, 19],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox '\n'",
-          "rect": [429, 1012, 7, 19],
+          "rect": [429, 1012, 6, 19],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox '\n'",
-          "rect": [379, 1012, 7, 19],
+          "rect": [379, 1012, 6, 19],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox '\n'",
-          "rect": [379, 1012, 7, 19],
+          "rect": [379, 1012, 6, 19],
           "reason": "disappeared"
         }
       ],
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-mask-update-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-mask-update-expected.txt
index 0fa1880..44e30e9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-mask-update-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-mask-update-expected.txt
@@ -19,12 +19,12 @@
       "paintInvalidations": [
         {
           "object": "LayoutSVGRect rect",
-          "rect": [10, 3, 46, 22],
+          "rect": [10, 3, 45, 22],
           "reason": "appeared"
         },
         {
           "object": "LayoutSVGRect rect",
-          "rect": [10, 3, 46, 22],
+          "rect": [10, 3, 45, 22],
           "reason": "appeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-rescale-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-rescale-expected.png
index 2fcbdb6..73b57ed 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-rescale-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-rescale-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-rescale-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-rescale-expected.txt
index 526782c..b99bf12 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-rescale-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/text-rescale-expected.txt
@@ -19,22 +19,22 @@
       "paintInvalidations": [
         {
           "object": "InlineTextBox 'PASS '",
-          "rect": [0, 114, 302, 46],
+          "rect": [0, 114, 301, 46],
           "reason": "appeared"
         },
         {
           "object": "LayoutSVGRoot (positioned) svg",
-          "rect": [0, 14, 302, 46],
+          "rect": [0, 14, 301, 46],
           "reason": "appeared"
         },
         {
           "object": "LayoutSVGViewportContainer svg",
-          "rect": [310, 114, 92, 46],
+          "rect": [310, 114, 91, 46],
           "reason": "paint property change"
         },
         {
           "object": "LayoutSVGViewportContainer svg",
-          "rect": [310, 14, 92, 46],
+          "rect": [310, 14, 91, 46],
           "reason": "appeared"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/table-shrink-row-repaint-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/table-shrink-row-repaint-expected.txt
index fe8e784..20e916d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/table-shrink-row-repaint-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/table/table-shrink-row-repaint-expected.txt
@@ -143,13 +143,13 @@
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '11'",
-          "rect": [13, 682, 16, 19],
+          "object": "InlineTextBox '10'",
+          "rect": [13, 622, 16, 19],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '10'",
-          "rect": [13, 622, 16, 19],
+          "object": "InlineTextBox '11'",
+          "rect": [13, 682, 15, 19],
           "reason": "geometry"
         },
         {
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-append-dirty-lines-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-append-dirty-lines-expected.txt
index e42e8f0f..4ae57295 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-append-dirty-lines-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-append-dirty-lines-expected.txt
@@ -19,42 +19,42 @@
       "paintInvalidations": [
         {
           "object": "InlineTextBox 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse placerat. Morbi tristique. Mauris eu lacus sed felis'",
-          "rect": [8, 44, 781, 119],
+          "rect": [8, 44, 780, 119],
           "reason": "full"
         },
         {
           "object": "InlineTextBox 'Quisque enim metus, luctus tincidunt, vestibulum eu, vestibulum eu, libero. Mauris sagittis aliquam nunc. Nullam pharetra molestie'",
-          "rect": [8, 44, 781, 119],
+          "rect": [8, 44, 780, 119],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'Quisque enim metus, luctus tincidunt, vestibulum eu, vestibulum eu, libero. Mauris sagittis aliquam nunc. Nullam pharetra molestie'",
-          "rect": [8, 44, 781, 119],
+          "rect": [8, 44, 780, 119],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'eros. Donec tempus purus ut ligula. Phasellus non nisl. Etiam eu mauris. Curabitur a velit'",
-          "rect": [8, 44, 781, 119],
+          "rect": [8, 44, 780, 119],
           "reason": "disappeared"
         },
         {
           "object": "InlineTextBox 'eros. Donec tempus purus ut ligula. Phasellus non nisl. Etiam eu mauris. Curabitur a velit.'",
-          "rect": [8, 44, 781, 119],
+          "rect": [8, 44, 780, 119],
           "reason": "appeared"
         },
         {
           "object": "InlineTextBox 'feugiat. Phasellus mollis pulvinar mi. Etiam ut neque sed eros egestas laoreet. Vestibulum ullamcorper, nulla non feugiat molestie, mi'",
-          "rect": [8, 44, 781, 119],
+          "rect": [8, 44, 780, 119],
           "reason": "full"
         },
         {
           "object": "InlineTextBox 'lorem bibendum leo, ac gravida orci nunc nec nulla. Nunc nunc lorem, rhoncus et, rutrum ac, fermentum ut, tortor. Sed rhoncus.'",
-          "rect": [8, 44, 781, 119],
+          "rect": [8, 44, 780, 119],
           "reason": "full"
         },
         {
           "object": "InlineTextBox 'pellentesque cursus. Proin vitae nulla. Vivamus in ipsum. Etiam mi. Nam malesuada purus in sem. Sed eget elit vel erat laoreet'",
-          "rect": [8, 44, 781, 119],
+          "rect": [8, 44, 780, 119],
           "reason": "full"
         }
       ]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-expected.png
index fa3dc89..00f5b5db 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-expected.txt
index 7b95a4c..e40b042 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 164x19
           text run at (0,0) width 164: "This is a regression test for "
-        LayoutInline {I} at (0,0) size 602x19
-          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
-            LayoutText {#text} at (164,0) size 350x19
-              text run at (164,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7301"
-          LayoutText {#text} at (513,0) size 253x19
-            text run at (513,0) width 5: " "
-            text run at (517,0) width 249: "Text shadow does not repaint correctly"
-        LayoutText {#text} at (765,0) size 5x19
-          text run at (765,0) width 5: "."
+        LayoutInline {I} at (0,0) size 601x19
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (164,0) size 349x19
+              text run at (164,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7301"
+          LayoutText {#text} at (513,0) size 252x19
+            text run at (513,0) width 4: " "
+            text run at (517,0) width 248: "Text shadow does not repaint correctly"
+        LayoutText {#text} at (765,0) size 4x19
+          text run at (765,0) width 4: "."
       LayoutBlockFlow {DIV} at (30,68) size 724x21
         LayoutInline {SPAN} at (0,0) size 199x20 [bgcolor=#C0C0C0]
           LayoutText {#text} at (0,0) size 199x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-horizontal-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-horizontal-expected.png
index fa3dc89..00f5b5db 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-horizontal-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-horizontal-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-horizontal-expected.txt
index 7b95a4c..e40b042 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-horizontal-expected.txt
@@ -6,15 +6,15 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 164x19
           text run at (0,0) width 164: "This is a regression test for "
-        LayoutInline {I} at (0,0) size 602x19
-          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
-            LayoutText {#text} at (164,0) size 350x19
-              text run at (164,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7301"
-          LayoutText {#text} at (513,0) size 253x19
-            text run at (513,0) width 5: " "
-            text run at (517,0) width 249: "Text shadow does not repaint correctly"
-        LayoutText {#text} at (765,0) size 5x19
-          text run at (765,0) width 5: "."
+        LayoutInline {I} at (0,0) size 601x19
+          LayoutInline {A} at (0,0) size 349x19 [color=#0000EE]
+            LayoutText {#text} at (164,0) size 349x19
+              text run at (164,0) width 349: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7301"
+          LayoutText {#text} at (513,0) size 252x19
+            text run at (513,0) width 4: " "
+            text run at (517,0) width 248: "Text shadow does not repaint correctly"
+        LayoutText {#text} at (765,0) size 4x19
+          text run at (765,0) width 4: "."
       LayoutBlockFlow {DIV} at (30,68) size 724x21
         LayoutInline {SPAN} at (0,0) size 199x20 [bgcolor=#C0C0C0]
           LayoutText {#text} at (0,0) size 199x20
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/markers/active-suggestion-marker-basic-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/markers/active-suggestion-marker-basic-expected.txt
index d6a7b73..7d1e36d8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/markers/active-suggestion-marker-basic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/markers/active-suggestion-marker-basic-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x0
       LayoutBlockFlow (floating) {DIV} at (711,0) size 73x192
         LayoutBlockFlow {P} at (0,16) size 73x20
-          LayoutText {#text} at (45,0) size 28x19
-            text run at (45,0) width 28: "RTL"
+          LayoutText {#text} at (46,0) size 27x19
+            text run at (46,0) width 27: "RTL"
         LayoutBlockFlow {DIV} at (0,52) size 73x20
           LayoutText {#text} at (32,0) size 41x19
             text run at (32,0) width 41: "abcdef"
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/markers/composition-marker-basic-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/markers/composition-marker-basic-expected.txt
index d6a7b73..7d1e36d8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/markers/composition-marker-basic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/markers/composition-marker-basic-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x0
       LayoutBlockFlow (floating) {DIV} at (711,0) size 73x192
         LayoutBlockFlow {P} at (0,16) size 73x20
-          LayoutText {#text} at (45,0) size 28x19
-            text run at (45,0) width 28: "RTL"
+          LayoutText {#text} at (46,0) size 27x19
+            text run at (46,0) width 27: "RTL"
         LayoutBlockFlow {DIV} at (0,52) size 73x20
           LayoutText {#text} at (32,0) size 41x19
             text run at (32,0) width 41: "abcdef"
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/markers/grammar-markers-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/markers/grammar-markers-expected.txt
index eba453e..7b725a3d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/markers/grammar-markers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/markers/grammar-markers-expected.txt
@@ -4,5 +4,5 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x36
     LayoutBlockFlow {BODY} at (8,8) size 784x20
       LayoutBlockFlow {DIV} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 105x19
-          text run at (0,0) width 105: "You has the right."
+        LayoutText {#text} at (0,0) size 104x19
+          text run at (0,0) width 104: "You has the right."
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/markers/inline-spelling-markers-hidpi-composited-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/markers/inline-spelling-markers-hidpi-composited-expected.txt
index 6ed454f..33f7d77 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/markers/inline-spelling-markers-hidpi-composited-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/markers/inline-spelling-markers-hidpi-composited-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 1600x356
     LayoutBlockFlow {BODY} at (16,16) size 1568x324
       LayoutBlockFlow (anonymous) at (0,0) size 1568x37
-        LayoutText {#text} at (0,0) size 57x36
-          text run at (0,0) width 57: "LTR"
+        LayoutText {#text} at (0,0) size 56x36
+          text run at (0,0) width 56: "LTR"
       LayoutBlockFlow (anonymous) at (0,81) size 1568x37
-        LayoutText {#text} at (0,0) size 58x36
-          text run at (0,0) width 58: "RTL"
+        LayoutText {#text} at (0,0) size 57x36
+          text run at (0,0) width 57: "RTL"
       LayoutBlockFlow (anonymous) at (0,162) size 1568x37
-        LayoutText {#text} at (0,0) size 360x36
-          text run at (0,0) width 360: "LTR (text-overflow:ellipses)"
+        LayoutText {#text} at (0,0) size 359x36
+          text run at (0,0) width 359: "LTR (text-overflow:ellipses)"
       LayoutBlockFlow (anonymous) at (0,243) size 1568x37
-        LayoutText {#text} at (0,0) size 361x36
-          text run at (0,0) width 361: "RTL (text-overflow:ellipses)"
+        LayoutText {#text} at (0,0) size 360x36
+          text run at (0,0) width 360: "RTL (text-overflow:ellipses)"
 layer at (16,53) size 404x44 clip at (18,55) size 400x40 scrollWidth 446
   LayoutBlockFlow {DIV} at (0,37) size 404x44 [border: (2px solid #000000)]
     LayoutText {#text} at (2,2) size 445x36
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/markers/inline-spelling-markers-hidpi-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/markers/inline-spelling-markers-hidpi-expected.txt
index 6ed454f..33f7d77 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/markers/inline-spelling-markers-hidpi-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/markers/inline-spelling-markers-hidpi-expected.txt
@@ -4,17 +4,17 @@
   LayoutBlockFlow {HTML} at (0,0) size 1600x356
     LayoutBlockFlow {BODY} at (16,16) size 1568x324
       LayoutBlockFlow (anonymous) at (0,0) size 1568x37
-        LayoutText {#text} at (0,0) size 57x36
-          text run at (0,0) width 57: "LTR"
+        LayoutText {#text} at (0,0) size 56x36
+          text run at (0,0) width 56: "LTR"
       LayoutBlockFlow (anonymous) at (0,81) size 1568x37
-        LayoutText {#text} at (0,0) size 58x36
-          text run at (0,0) width 58: "RTL"
+        LayoutText {#text} at (0,0) size 57x36
+          text run at (0,0) width 57: "RTL"
       LayoutBlockFlow (anonymous) at (0,162) size 1568x37
-        LayoutText {#text} at (0,0) size 360x36
-          text run at (0,0) width 360: "LTR (text-overflow:ellipses)"
+        LayoutText {#text} at (0,0) size 359x36
+          text run at (0,0) width 359: "LTR (text-overflow:ellipses)"
       LayoutBlockFlow (anonymous) at (0,243) size 1568x37
-        LayoutText {#text} at (0,0) size 361x36
-          text run at (0,0) width 361: "RTL (text-overflow:ellipses)"
+        LayoutText {#text} at (0,0) size 360x36
+          text run at (0,0) width 360: "RTL (text-overflow:ellipses)"
 layer at (16,53) size 404x44 clip at (18,55) size 400x40 scrollWidth 446
   LayoutBlockFlow {DIV} at (0,37) size 404x44 [border: (2px solid #000000)]
     LayoutText {#text} at (2,2) size 445x36
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/markers/inline_spelling_markers-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/markers/inline_spelling_markers-expected.txt
index 64d393f4..f770e66 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/markers/inline_spelling_markers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/markers/inline_spelling_markers-expected.txt
@@ -7,14 +7,14 @@
         LayoutText {#text} at (0,0) size 27x19
           text run at (0,0) width 27: "LTR"
       LayoutBlockFlow (anonymous) at (0,42) size 784x20
-        LayoutText {#text} at (0,0) size 28x19
-          text run at (0,0) width 28: "RTL"
+        LayoutText {#text} at (0,0) size 27x19
+          text run at (0,0) width 27: "RTL"
       LayoutBlockFlow (anonymous) at (0,84) size 784x20
         LayoutText {#text} at (0,0) size 171x19
           text run at (0,0) width 171: "LTR (text-overflow:ellipses):"
       LayoutBlockFlow (anonymous) at (0,126) size 784x20
-        LayoutText {#text} at (0,0) size 172x19
-          text run at (0,0) width 172: "RTL (text-overflow:ellipses):"
+        LayoutText {#text} at (0,0) size 171x19
+          text run at (0,0) width 171: "RTL (text-overflow:ellipses):"
 layer at (8,28) size 202x22 clip at (9,29) size 200x20 scrollWidth 215
   LayoutBlockFlow {DIV} at (0,20) size 202x22 [border: (1px solid #000000)]
     LayoutText {#text} at (1,1) size 214x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/markers/suggestion-marker-basic-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/markers/suggestion-marker-basic-expected.txt
index 0612435..74469ad 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/markers/suggestion-marker-basic-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/markers/suggestion-marker-basic-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x0
       LayoutBlockFlow (floating) {DIV} at (598,0) size 186x192
         LayoutBlockFlow {P} at (0,16) size 186x20
-          LayoutText {#text} at (158,0) size 28x19
-            text run at (158,0) width 28: "RTL"
+          LayoutText {#text} at (159,0) size 27x19
+            text run at (159,0) width 27: "RTL"
         LayoutBlockFlow {DIV} at (0,52) size 186x20
           LayoutText {#text} at (121,0) size 65x19
             text run at (121,0) width 65: "markRtlAll"
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/printing/print-text-shadow-expected.png b/third_party/WebKit/LayoutTests/platform/win/paint/printing/print-text-shadow-expected.png
index bc55af6..b4586f95 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/printing/print-text-shadow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/printing/print-text-shadow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/plugins/embed-attributes-style-expected.txt b/third_party/WebKit/LayoutTests/platform/win/plugins/embed-attributes-style-expected.txt
index 1afd5c5a..08bb64f5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/plugins/embed-attributes-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/plugins/embed-attributes-style-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 768x39
+        LayoutText {#text} at (0,0) size 767x39
           text run at (0,0) width 378: "This page tests using attributes to set style on embed elements. "
-          text run at (378,0) width 390: "Previous versions of WebKit supported valign and border, which"
+          text run at (378,0) width 389: "Previous versions of WebKit supported valign and border, which"
           text run at (0,20) width 430: "didn't match IE and FF. The only special support should be for 'hidden.'"
       LayoutBlockFlow {DIV} at (0,66) size 784x0
       LayoutBlockFlow {DIV} at (0,66) size 784x105
diff --git a/third_party/WebKit/LayoutTests/platform/win/printing/tfoot-repeats-at-bottom-of-each-page-expected.png b/third_party/WebKit/LayoutTests/platform/win/printing/tfoot-repeats-at-bottom-of-each-page-expected.png
index 16db3985..39151f7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/printing/tfoot-repeats-at-bottom-of-each-page-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/printing/tfoot-repeats-at-bottom-of-each-page-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/printing/tfoot-repeats-at-bottom-of-each-page-multiple-tables-expected.png b/third_party/WebKit/LayoutTests/platform/win/printing/tfoot-repeats-at-bottom-of-each-page-multiple-tables-expected.png
index 31cff851..1b2aff88 100644
--- a/third_party/WebKit/LayoutTests/platform/win/printing/tfoot-repeats-at-bottom-of-each-page-multiple-tables-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/printing/tfoot-repeats-at-bottom-of-each-page-multiple-tables-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/printing/thead-repeats-at-top-of-each-page-expected.png b/third_party/WebKit/LayoutTests/platform/win/printing/thead-repeats-at-top-of-each-page-expected.png
index 505b068b..2e18ed3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/printing/thead-repeats-at-top-of-each-page-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/printing/thead-repeats-at-top-of-each-page-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/printing/thead-repeats-at-top-of-each-page-multiple-tables-expected.png b/third_party/WebKit/LayoutTests/platform/win/printing/thead-repeats-at-top-of-each-page-multiple-tables-expected.png
index 4b31fb54..b27dbba4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/printing/thead-repeats-at-top-of-each-page-multiple-tables-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/printing/thead-repeats-at-top-of-each-page-multiple-tables-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/printing/thead-under-multicol-expected.png b/third_party/WebKit/LayoutTests/platform/win/printing/thead-under-multicol-expected.png
index 0bd23f5..e6dbb9e8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/printing/thead-under-multicol-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/printing/thead-under-multicol-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/printing/thead-under-multicol-expected.txt b/third_party/WebKit/LayoutTests/platform/win/printing/thead-under-multicol-expected.txt
index 7baf979c..eee8957 100644
--- a/third_party/WebKit/LayoutTests/platform/win/printing/thead-under-multicol-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/printing/thead-under-multicol-expected.txt
@@ -123,14 +123,14 @@
               text run at (1,1) width 43: "3-10"
         LayoutTableRow {TR} at (0,1040) size 302x102
           LayoutTableCell {TD} at (2,1077) size 98x27 [r=10 c=0 rs=1 cs=1]
-            LayoutText {#text} at (1,1) size 42x24
-              text run at (1,1) width 42: "1-11"
+            LayoutText {#text} at (1,1) size 41x24
+              text run at (1,1) width 41: "1-11"
           LayoutTableCell {TD} at (102,1077) size 98x27 [r=10 c=1 rs=1 cs=1]
-            LayoutText {#text} at (1,1) size 42x24
-              text run at (1,1) width 42: "2-11"
+            LayoutText {#text} at (1,1) size 41x24
+              text run at (1,1) width 41: "2-11"
           LayoutTableCell {TD} at (202,1077) size 98x27 [r=10 c=2 rs=1 cs=1]
-            LayoutText {#text} at (1,1) size 42x24
-              text run at (1,1) width 42: "3-11"
+            LayoutText {#text} at (1,1) size 41x24
+              text run at (1,1) width 41: "3-11"
         LayoutTableRow {TR} at (0,1185) size 302x102
           LayoutTableCell {TD} at (2,1222) size 98x27 [r=11 c=0 rs=1 cs=1]
             LayoutText {#text} at (1,1) size 43x24
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirLTR-ubNone-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirLTR-ubNone-expected.txt
index cf323b3..0eb97c13 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirLTR-ubNone-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirLTR-ubNone-expected.txt
@@ -3,12 +3,12 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGContainer {g} at (105.27,133.19) size 249.45x21
-        LayoutSVGText {text} at (105.27,133.19) size 249.45x21 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (105.27,133.19) size 249.45x21
-            chunk 1 (middle anchor) text run 1 at (105.27,150.00) startOffset 0 endOffset 4 width 46.20: "W3C "
-            chunk 1 (middle anchor) text run 1 at (151.47,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
-            chunk 1 (middle anchor) text run 1 at (222.87,150.00) startOffset 0 endOffset 15 width 131.86: " dirLTR ubNone!"
+      LayoutSVGContainer {g} at (105.19,133.19) size 249.59x21
+        LayoutSVGText {text} at (105.19,133.19) size 249.59x21 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (105.19,133.19) size 249.61x21
+            chunk 1 (middle anchor) text run 1 at (105.20,150.00) startOffset 0 endOffset 4 width 46.20: "W3C "
+            chunk 1 (middle anchor) text run 1 at (151.40,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
+            chunk 1 (middle anchor) text run 1 at (222.80,150.00) startOffset 0 endOffset 15 width 132.00: " dirLTR ubNone!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirLTR-ubOverride-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirLTR-ubOverride-expected.txt
index 4288c43..caccf12 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirLTR-ubOverride-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirLTR-ubOverride-expected.txt
@@ -3,12 +3,12 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGContainer {g} at (92.36,133.19) size 275.25x21
-        LayoutSVGText {text} at (92.36,133.19) size 275.25x21 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (92.36,133.19) size 275.25x21
-            chunk 1 (middle anchor) text run 1 at (92.37,150.00) startOffset 0 endOffset 4 width 46.20: "W3C "
-            chunk 1 (middle anchor) text run 1 at (138.57,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
-            chunk 1 (middle anchor) text run 1 at (209.97,150.00) startOffset 0 endOffset 19 width 157.66: " dirLTR ubOverride!"
+      LayoutSVGContainer {g} at (92.30,133.19) size 275.39x21
+        LayoutSVGText {text} at (92.30,133.19) size 275.39x21 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (92.30,133.19) size 275.39x21
+            chunk 1 (middle anchor) text run 1 at (92.30,150.00) startOffset 0 endOffset 4 width 46.20: "W3C "
+            chunk 1 (middle anchor) text run 1 at (138.50,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
+            chunk 1 (middle anchor) text run 1 at (209.90,150.00) startOffset 0 endOffset 19 width 157.80: " dirLTR ubOverride!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirRTL-ubNone-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirRTL-ubNone-expected.txt
index f6a396b9..7bd01303 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirRTL-ubNone-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirRTL-ubNone-expected.txt
@@ -3,13 +3,13 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGContainer {g} at (104.75,133.19) size 250.47x21
-        LayoutSVGText {text} at (104.75,133.19) size 250.47x21 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (104.75,133.19) size 250.47x21
-            chunk 1 (middle anchor) text run 1 at (104.76,150.00) startOffset 0 endOffset 1 width 5.40 RTL: "!"
-            chunk 1 (middle anchor) text run 1 at (110.16,150.00) startOffset 0 endOffset 13 width 122.67: "dirRTL ubNone"
-            chunk 1 (middle anchor) text run 1 at (232.84,150.00) startOffset 0 endOffset 14 width 81.00 RTL: " \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} "
-            chunk 1 (middle anchor) text run 1 at (313.84,150.00) startOffset 0 endOffset 3 width 41.40: "W3C"
+      LayoutSVGContainer {g} at (104.89,133.19) size 250.19x21
+        LayoutSVGText {text} at (104.89,133.19) size 250.19x21 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (104.89,133.19) size 250.19x21
+            chunk 1 (middle anchor) text run 1 at (104.90,150.00) startOffset 0 endOffset 1 width 5.40 RTL: "!"
+            chunk 1 (middle anchor) text run 1 at (110.30,150.00) startOffset 0 endOffset 13 width 122.40: "dirRTL ubNone"
+            chunk 1 (middle anchor) text run 1 at (232.70,150.00) startOffset 0 endOffset 14 width 81.00 RTL: " \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} "
+            chunk 1 (middle anchor) text run 1 at (313.70,150.00) startOffset 0 endOffset 3 width 41.40: "W3C"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirRTL-ubOverride-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirRTL-ubOverride-expected.png
index b0681e7..581bcdc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirRTL-ubOverride-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirRTL-ubOverride-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirRTL-ubOverride-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirRTL-ubOverride-expected.txt
index 7ecb9b3..bd851028 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirRTL-ubOverride-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/g-dirRTL-ubOverride-expected.txt
@@ -3,13 +3,13 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGContainer {g} at (91.86,133.19) size 276.27x21
-        LayoutSVGText {text} at (91.86,133.19) size 276.27x21 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (91.86,133.19) size 276.27x21
-            chunk 1 (middle anchor) text run 1 at (91.86,150.00) startOffset 0 endOffset 1 width 5.40 RTL: "!"
-            chunk 1 (middle anchor) text run 1 at (97.26,150.00) startOffset 0 endOffset 17 width 148.47: "dirRTL ubOverride"
-            chunk 1 (middle anchor) text run 1 at (245.74,150.00) startOffset 0 endOffset 14 width 81.00 RTL: " \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} "
-            chunk 1 (middle anchor) text run 1 at (326.74,150.00) startOffset 0 endOffset 3 width 41.40: "W3C"
+      LayoutSVGContainer {g} at (91.98,133.19) size 276x21
+        LayoutSVGText {text} at (91.98,133.19) size 276x21 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (91.98,133.19) size 276x21
+            chunk 1 (middle anchor) text run 1 at (92.00,150.00) startOffset 0 endOffset 1 width 5.40 RTL: "!"
+            chunk 1 (middle anchor) text run 1 at (97.40,150.00) startOffset 0 endOffset 17 width 148.20: "dirRTL ubOverride"
+            chunk 1 (middle anchor) text run 1 at (245.60,150.00) startOffset 0 endOffset 14 width 81.00 RTL: " \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} "
+            chunk 1 (middle anchor) text run 1 at (326.60,150.00) startOffset 0 endOffset 3 width 41.40: "W3C"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png
index d476507..db1e7f3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt
index 2cfc039..8ec8f78 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt
@@ -9,8 +9,8 @@
       LayoutSVGText {text} at (81.19,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (81.19,186) size 148.80x11.39
           chunk 1 (end anchor) text run 1 at (81.20,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (111.19,224.59) size 118.80x12.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (111.19,224.59) size 118.80x12.80
+      LayoutSVGText {text} at (111.19,224.80) size 118.80x12.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (111.19,224.80) size 118.80x12.59
           chunk 1 (end anchor) text run 1 at (111.20,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png
index 2d24913..a68da82b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt
index 31fab0c..ab3aca37 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt
@@ -9,8 +9,8 @@
       LayoutSVGText {text} at (155.59,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (155.59,186) size 148.80x11.39
           chunk 1 (middle anchor) text run 1 at (155.60,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (170.59,224.59) size 118.80x12.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (170.59,224.59) size 118.80x12.80
+      LayoutSVGText {text} at (170.59,224.80) size 118.80x12.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (170.59,224.80) size 118.80x12.59
           chunk 1 (middle anchor) text run 1 at (170.60,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png
index c9cc11b..a9c8397 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt
index a1da7726..8012f35c5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt
@@ -9,8 +9,8 @@
       LayoutSVGText {text} at (230,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,186) size 148.80x11.39
           chunk 1 text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (230,224.59) size 118.80x12.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (230,224.59) size 118.80x12.80
+      LayoutSVGText {text} at (230,224.80) size 118.80x12.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (230,224.80) size 118.80x12.59
           chunk 1 text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png
index d476507..db1e7f3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt
index 2cfc039..8ec8f78 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt
@@ -9,8 +9,8 @@
       LayoutSVGText {text} at (81.19,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (81.19,186) size 148.80x11.39
           chunk 1 (end anchor) text run 1 at (81.20,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (111.19,224.59) size 118.80x12.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (111.19,224.59) size 118.80x12.80
+      LayoutSVGText {text} at (111.19,224.80) size 118.80x12.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (111.19,224.80) size 118.80x12.59
           chunk 1 (end anchor) text run 1 at (111.20,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png
index 2d24913..a68da82b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt
index 31fab0c..ab3aca37 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt
@@ -9,8 +9,8 @@
       LayoutSVGText {text} at (155.59,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (155.59,186) size 148.80x11.39
           chunk 1 (middle anchor) text run 1 at (155.60,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (170.59,224.59) size 118.80x12.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (170.59,224.59) size 118.80x12.80
+      LayoutSVGText {text} at (170.59,224.80) size 118.80x12.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (170.59,224.80) size 118.80x12.59
           chunk 1 (middle anchor) text run 1 at (170.60,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png
index c9cc11b..a9c8397 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt
index a1da7726..8012f35c5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt
@@ -9,8 +9,8 @@
       LayoutSVGText {text} at (230,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,186) size 148.80x11.39
           chunk 1 text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (230,224.59) size 118.80x12.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (230,224.59) size 118.80x12.80
+      LayoutSVGText {text} at (230,224.80) size 118.80x12.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (230,224.80) size 118.80x12.59
           chunk 1 text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png
index c9cc11b..a9c8397 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt
index 5c23282..af522e86 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt
@@ -9,8 +9,8 @@
       LayoutSVGText {text} at (230,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,186) size 148.80x11.39
           chunk 1 (end anchor) text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (230,224.59) size 118.80x12.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (230,224.59) size 118.80x12.80
+      LayoutSVGText {text} at (230,224.80) size 118.80x12.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (230,224.80) size 118.80x12.59
           chunk 1 (end anchor) text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png
index 2d24913..a68da82b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt
index 31fab0c..ab3aca37 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt
@@ -9,8 +9,8 @@
       LayoutSVGText {text} at (155.59,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (155.59,186) size 148.80x11.39
           chunk 1 (middle anchor) text run 1 at (155.60,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (170.59,224.59) size 118.80x12.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (170.59,224.59) size 118.80x12.80
+      LayoutSVGText {text} at (170.59,224.80) size 118.80x12.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (170.59,224.80) size 118.80x12.59
           chunk 1 (middle anchor) text run 1 at (170.60,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png
index d476507..db1e7f3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt
index 2ac048df..ecc024c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt
@@ -9,8 +9,8 @@
       LayoutSVGText {text} at (81.19,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (81.19,186) size 148.80x11.39
           chunk 1 text run 1 at (81.20,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (111.19,224.59) size 118.80x12.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (111.19,224.59) size 118.80x12.80
+      LayoutSVGText {text} at (111.19,224.80) size 118.80x12.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (111.19,224.80) size 118.80x12.59
           chunk 1 text run 1 at (111.20,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png
index d476507..db1e7f3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt
index 3155105..ccec26e9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt
@@ -10,8 +10,8 @@
         LayoutSVGText {text} at (81.19,186) size 148.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (81.19,186) size 148.80x11.39
             chunk 1 (end anchor) text run 1 at (81.20,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (111.19,224.59) size 118.80x12.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (111.19,224.59) size 118.80x12.80
+        LayoutSVGText {text} at (111.19,224.80) size 118.80x12.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (111.19,224.80) size 118.80x12.59
             chunk 1 (end anchor) text run 1 at (111.20,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png
index 2d24913..a68da82b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt
index 302b61c..0c2be99 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt
@@ -10,8 +10,8 @@
         LayoutSVGText {text} at (155.59,186) size 148.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (155.59,186) size 148.80x11.39
             chunk 1 (middle anchor) text run 1 at (155.60,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (170.59,224.59) size 118.80x12.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (170.59,224.59) size 118.80x12.80
+        LayoutSVGText {text} at (170.59,224.80) size 118.80x12.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (170.59,224.80) size 118.80x12.59
             chunk 1 (middle anchor) text run 1 at (170.60,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png
index c9cc11b..a9c8397 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt
index bcb8b57..14d1ce04 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt
@@ -10,8 +10,8 @@
         LayoutSVGText {text} at (230,186) size 148.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (230,186) size 148.80x11.39
             chunk 1 text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (230,224.59) size 118.80x12.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (230,224.59) size 118.80x12.80
+        LayoutSVGText {text} at (230,224.80) size 118.80x12.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (230,224.80) size 118.80x12.59
             chunk 1 text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png
index c9cc11b..a9c8397 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt
index cd75ad4d..08da849d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt
@@ -10,8 +10,8 @@
         LayoutSVGText {text} at (230,186) size 148.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (230,186) size 148.80x11.39
             chunk 1 (end anchor) text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (230,224.59) size 118.80x12.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (230,224.59) size 118.80x12.80
+        LayoutSVGText {text} at (230,224.80) size 118.80x12.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (230,224.80) size 118.80x12.59
             chunk 1 (end anchor) text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png
index 2d24913..a68da82b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt
index 302b61c..0c2be99 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt
@@ -10,8 +10,8 @@
         LayoutSVGText {text} at (155.59,186) size 148.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (155.59,186) size 148.80x11.39
             chunk 1 (middle anchor) text run 1 at (155.60,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (170.59,224.59) size 118.80x12.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (170.59,224.59) size 118.80x12.80
+        LayoutSVGText {text} at (170.59,224.80) size 118.80x12.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (170.59,224.80) size 118.80x12.59
             chunk 1 (middle anchor) text run 1 at (170.60,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png
index d476507..db1e7f3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt
index 60149c65..d5d34f5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt
@@ -10,8 +10,8 @@
         LayoutSVGText {text} at (81.19,186) size 148.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (81.19,186) size 148.80x11.39
             chunk 1 text run 1 at (81.20,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (111.19,224.59) size 118.80x12.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (111.19,224.59) size 118.80x12.80
+        LayoutSVGText {text} at (111.19,224.80) size 118.80x12.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (111.19,224.80) size 118.80x12.59
             chunk 1 text run 1 at (111.20,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-no-markup-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-no-markup-expected.png
index c9cc11b..a9c8397 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-no-markup-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-no-markup-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-no-markup-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-no-markup-expected.txt
index a1da7726..8012f35c5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-no-markup-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-anchor-no-markup-expected.txt
@@ -9,8 +9,8 @@
       LayoutSVGText {text} at (230,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,186) size 148.80x11.39
           chunk 1 text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (230,224.59) size 118.80x12.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (230,224.59) size 118.80x12.80
+      LayoutSVGText {text} at (230,224.80) size 118.80x12.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (230,224.80) size 118.80x12.59
           chunk 1 text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirLTR-ubNone-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirLTR-ubNone-expected.txt
index e544b48..0a2d4298 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirLTR-ubNone-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirLTR-ubNone-expected.txt
@@ -3,11 +3,11 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (105.27,133.19) size 249.45x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (105.27,133.19) size 249.45x21
-          chunk 1 (middle anchor) text run 1 at (105.27,150.00) startOffset 0 endOffset 4 width 46.20: "W3C "
-          chunk 1 (middle anchor) text run 1 at (151.47,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
-          chunk 1 (middle anchor) text run 1 at (222.87,150.00) startOffset 0 endOffset 15 width 131.86: " dirLTR ubNone!"
+      LayoutSVGText {text} at (105.19,133.19) size 249.59x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (105.19,133.19) size 249.61x21
+          chunk 1 (middle anchor) text run 1 at (105.20,150.00) startOffset 0 endOffset 4 width 46.20: "W3C "
+          chunk 1 (middle anchor) text run 1 at (151.40,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
+          chunk 1 (middle anchor) text run 1 at (222.80,150.00) startOffset 0 endOffset 15 width 132.00: " dirLTR ubNone!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt
index cef079f..9d9addc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (90.56,133.19) size 278.86x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (90.56,133.19) size 278.86x21
-          chunk 1 (middle anchor) text run 1 at (90.57,150.00) startOffset 0 endOffset 35 width 278.86 LTR override: "W3C \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} dirLTR ubOverride!"
+      LayoutSVGText {text} at (90.50,133.19) size 279x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (90.50,133.19) size 279x21
+          chunk 1 (middle anchor) text run 1 at (90.50,150.00) startOffset 0 endOffset 35 width 279.00 LTR override: "W3C \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} dirLTR ubOverride!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirRTL-ubNone-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirRTL-ubNone-expected.txt
index 45ff635..0510d22 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirRTL-ubNone-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirRTL-ubNone-expected.txt
@@ -3,12 +3,12 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (104.75,133.19) size 250.47x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (104.75,133.19) size 250.47x21
-          chunk 1 (middle anchor) text run 1 at (104.76,150.00) startOffset 0 endOffset 1 width 5.40 RTL: "!"
-          chunk 1 (middle anchor) text run 1 at (110.16,150.00) startOffset 0 endOffset 13 width 122.67: "dirRTL ubNone"
-          chunk 1 (middle anchor) text run 1 at (232.84,150.00) startOffset 0 endOffset 14 width 81.00 RTL: " \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} "
-          chunk 1 (middle anchor) text run 1 at (313.84,150.00) startOffset 0 endOffset 3 width 41.40: "W3C"
+      LayoutSVGText {text} at (104.89,133.19) size 250.19x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (104.89,133.19) size 250.19x21
+          chunk 1 (middle anchor) text run 1 at (104.90,150.00) startOffset 0 endOffset 1 width 5.40 RTL: "!"
+          chunk 1 (middle anchor) text run 1 at (110.30,150.00) startOffset 0 endOffset 13 width 122.40: "dirRTL ubNone"
+          chunk 1 (middle anchor) text run 1 at (232.70,150.00) startOffset 0 endOffset 14 width 81.00 RTL: " \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} "
+          chunk 1 (middle anchor) text run 1 at (313.70,150.00) startOffset 0 endOffset 3 width 41.40: "W3C"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirRTL-ubOverride-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirRTL-ubOverride-expected.txt
index 242f9bf..fadbf11 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirRTL-ubOverride-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/text-dirRTL-ubOverride-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (92.36,133.19) size 275.25x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (92.36,133.19) size 275.25x21
-          chunk 1 (middle anchor) text run 1 at (92.37,150.00) startOffset 0 endOffset 35 width 275.26 RTL override: "W3C \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} dirRTL ubOverride!"
+      LayoutSVGText {text} at (92.30,133.19) size 275.39x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (92.30,133.19) size 275.39x21
+          chunk 1 (middle anchor) text run 1 at (92.30,150.00) startOffset 0 endOffset 35 width 275.40 RTL override: "W3C \x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} dirRTL ubOverride!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.txt
index 0cd4f8c..ba4a23d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (92.36,133.19) size 275.25x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (284.22,133.19) size 83.39x21
-          chunk 1 (middle anchor) text run 1 at (284.83,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
-        LayoutSVGTSpan {tspan} at (92.36,133.19) size 275.25x21
-          LayoutSVGInlineText {#text} at (104.36,133.19) size 180.47x21
-            chunk 1 (middle anchor) text run 1 at (104.37,150.00) startOffset 0 endOffset 16 width 145.66: "dirLTR ubEmbed, "
-            chunk 1 (middle anchor) text run 1 at (250.03,150.00) startOffset 0 endOffset 6 width 34.80 RTL: "\x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
-        LayoutSVGInlineText {#text} at (92.36,133.19) size 12x21
-          chunk 1 (middle anchor) text run 1 at (92.37,150.00) startOffset 0 endOffset 2 width 12.00 RTL: "\"!"
+      LayoutSVGText {text} at (92.30,133.19) size 275.39x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (284.30,133.19) size 83.39x21
+          chunk 1 (middle anchor) text run 1 at (284.90,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
+        LayoutSVGTSpan {tspan} at (92.30,133.19) size 275.39x21
+          LayoutSVGInlineText {#text} at (104.30,133.19) size 180.59x21
+            chunk 1 (middle anchor) text run 1 at (104.30,150.00) startOffset 0 endOffset 16 width 145.80: "dirLTR ubEmbed, "
+            chunk 1 (middle anchor) text run 1 at (250.10,150.00) startOffset 0 endOffset 6 width 34.80 RTL: "\x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
+        LayoutSVGInlineText {#text} at (92.30,133.19) size 12x21
+          chunk 1 (middle anchor) text run 1 at (92.30,150.00) startOffset 0 endOffset 2 width 12.00 RTL: "\"!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.txt
index d967e338..18c63ef 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (99.56,133.19) size 260.86x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (277.03,133.19) size 83.39x21
-          chunk 1 (middle anchor) text run 1 at (277.63,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
-        LayoutSVGTSpan {tspan} at (99.56,133.19) size 260.86x21
-          LayoutSVGInlineText {#text} at (111.56,133.19) size 166.05x21
-            chunk 1 (middle anchor) text run 1 at (111.57,150.00) startOffset 0 endOffset 8 width 44.40 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
-            chunk 1 (middle anchor) text run 1 at (155.97,150.00) startOffset 0 endOffset 13 width 121.66: "dirLTR ubNone"
-        LayoutSVGInlineText {#text} at (99.56,133.19) size 12x21
-          chunk 1 (middle anchor) text run 1 at (99.57,150.00) startOffset 0 endOffset 2 width 12.00 RTL: "\"!"
+      LayoutSVGText {text} at (99.48,133.19) size 261x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (277.09,133.19) size 83.39x21
+          chunk 1 (middle anchor) text run 1 at (277.70,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
+        LayoutSVGTSpan {tspan} at (99.48,133.19) size 261x21
+          LayoutSVGInlineText {#text} at (111.48,133.19) size 166.20x21
+            chunk 1 (middle anchor) text run 1 at (111.50,150.00) startOffset 0 endOffset 8 width 44.40 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
+            chunk 1 (middle anchor) text run 1 at (155.90,150.00) startOffset 0 endOffset 13 width 121.80: "dirLTR ubNone"
+        LayoutSVGInlineText {#text} at (99.48,133.19) size 12x21
+          chunk 1 (middle anchor) text run 1 at (99.50,150.00) startOffset 0 endOffset 2 width 12.00 RTL: "\"!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt
index 6f4e599..50f78c3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt
@@ -3,14 +3,14 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (80.95,133.19) size 298.06x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (80.95,133.19) size 158.86x21
-          chunk 1 (middle anchor) text run 1 at (80.97,150.00) startOffset 0 endOffset 19 width 158.86: "dirLTR ubOverride \""
-        LayoutSVGTSpan {tspan} at (80.95,133.19) size 298.06x21
-          LayoutSVGInlineText {#text} at (239.83,133.19) size 127.19x21
-            chunk 1 (middle anchor) text run 1 at (239.83,150.00) startOffset 0 endOffset 17 width 127.20 LTR override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
-        LayoutSVGInlineText {#text} at (367.03,133.19) size 12x21
-          chunk 1 (middle anchor) text run 1 at (367.03,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
+      LayoutSVGText {text} at (80.89,133.19) size 298.19x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (80.89,133.19) size 159x21
+          chunk 1 (middle anchor) text run 1 at (80.90,150.00) startOffset 0 endOffset 19 width 159.00: "dirLTR ubOverride \""
+        LayoutSVGTSpan {tspan} at (80.89,133.19) size 298.19x21
+          LayoutSVGInlineText {#text} at (239.89,133.19) size 127.19x21
+            chunk 1 (middle anchor) text run 1 at (239.90,150.00) startOffset 0 endOffset 17 width 127.20 LTR override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
+        LayoutSVGInlineText {#text} at (367.09,133.19) size 12x21
+          chunk 1 (middle anchor) text run 1 at (367.10,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt
index 6f4e599..50f78c3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt
@@ -3,14 +3,14 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (80.95,133.19) size 298.06x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (80.95,133.19) size 158.86x21
-          chunk 1 (middle anchor) text run 1 at (80.97,150.00) startOffset 0 endOffset 19 width 158.86: "dirLTR ubOverride \""
-        LayoutSVGTSpan {tspan} at (80.95,133.19) size 298.06x21
-          LayoutSVGInlineText {#text} at (239.83,133.19) size 127.19x21
-            chunk 1 (middle anchor) text run 1 at (239.83,150.00) startOffset 0 endOffset 17 width 127.20 LTR override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
-        LayoutSVGInlineText {#text} at (367.03,133.19) size 12x21
-          chunk 1 (middle anchor) text run 1 at (367.03,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
+      LayoutSVGText {text} at (80.89,133.19) size 298.19x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (80.89,133.19) size 159x21
+          chunk 1 (middle anchor) text run 1 at (80.90,150.00) startOffset 0 endOffset 19 width 159.00: "dirLTR ubOverride \""
+        LayoutSVGTSpan {tspan} at (80.89,133.19) size 298.19x21
+          LayoutSVGInlineText {#text} at (239.89,133.19) size 127.19x21
+            chunk 1 (middle anchor) text run 1 at (239.90,150.00) startOffset 0 endOffset 17 width 127.20 LTR override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
+        LayoutSVGInlineText {#text} at (367.09,133.19) size 12x21
+          chunk 1 (middle anchor) text run 1 at (367.10,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.txt
index cdb24036..191c3186 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.txt
@@ -3,14 +3,14 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (86.66,133.19) size 286.66x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (289.92,133.19) size 83.39x21
-          chunk 1 (middle anchor) text run 1 at (290.53,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
-        LayoutSVGTSpan {tspan} at (86.66,133.19) size 286.66x21
-          LayoutSVGInlineText {#text} at (98.66,133.19) size 191.86x21
-            chunk 1 (middle anchor) text run 1 at (98.67,150.00) startOffset 0 endOffset 25 width 191.86 LTR override: "dirLTR ubOverride, \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
-        LayoutSVGInlineText {#text} at (86.66,133.19) size 12x21
-          chunk 1 (middle anchor) text run 1 at (86.67,150.00) startOffset 0 endOffset 2 width 12.00 RTL: "\"!"
+      LayoutSVGText {text} at (86.59,133.19) size 286.80x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (290,133.19) size 83.39x21
+          chunk 1 (middle anchor) text run 1 at (290.60,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
+        LayoutSVGTSpan {tspan} at (86.59,133.19) size 286.80x21
+          LayoutSVGInlineText {#text} at (98.59,133.19) size 192x21
+            chunk 1 (middle anchor) text run 1 at (98.60,150.00) startOffset 0 endOffset 25 width 192.00 LTR override: "dirLTR ubOverride, \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
+        LayoutSVGInlineText {#text} at (86.59,133.19) size 12x21
+          chunk 1 (middle anchor) text run 1 at (86.60,150.00) startOffset 0 endOffset 2 width 12.00 RTL: "\"!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.txt
index 8e0b61e..6cee22f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (87.95,133.19) size 284.06x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (87.95,133.19) size 148.47x21
-          chunk 1 (middle anchor) text run 1 at (87.96,150.00) startOffset 0 endOffset 16 width 148.47: "dirRTL ubEmbed \""
-        LayoutSVGTSpan {tspan} at (87.95,133.19) size 284.06x21
-          LayoutSVGInlineText {#text} at (236.42,133.19) size 123.61x21
-            chunk 1 (middle anchor) text run 1 at (236.44,150.00) startOffset 0 endOffset 3 width 41.40: "W3C"
-            chunk 1 (middle anchor) text run 1 at (277.84,150.00) startOffset 0 endOffset 14 width 82.20 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} "
-        LayoutSVGInlineText {#text} at (360.03,133.19) size 12x21
-          chunk 1 (middle anchor) text run 1 at (360.04,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
+      LayoutSVGText {text} at (88.09,133.19) size 283.80x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (88.09,133.19) size 148.19x21
+          chunk 1 (middle anchor) text run 1 at (88.10,150.00) startOffset 0 endOffset 16 width 148.20: "dirRTL ubEmbed \""
+        LayoutSVGTSpan {tspan} at (88.09,133.19) size 283.80x21
+          LayoutSVGInlineText {#text} at (236.30,133.19) size 123.59x21
+            chunk 1 (middle anchor) text run 1 at (236.30,150.00) startOffset 0 endOffset 3 width 41.40: "W3C"
+            chunk 1 (middle anchor) text run 1 at (277.70,150.00) startOffset 0 endOffset 14 width 82.20 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} "
+        LayoutSVGInlineText {#text} at (359.89,133.19) size 12x21
+          chunk 1 (middle anchor) text run 1 at (359.90,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.txt
index 8e0b61e..6cee22f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (87.95,133.19) size 284.06x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (87.95,133.19) size 148.47x21
-          chunk 1 (middle anchor) text run 1 at (87.96,150.00) startOffset 0 endOffset 16 width 148.47: "dirRTL ubEmbed \""
-        LayoutSVGTSpan {tspan} at (87.95,133.19) size 284.06x21
-          LayoutSVGInlineText {#text} at (236.42,133.19) size 123.61x21
-            chunk 1 (middle anchor) text run 1 at (236.44,150.00) startOffset 0 endOffset 3 width 41.40: "W3C"
-            chunk 1 (middle anchor) text run 1 at (277.84,150.00) startOffset 0 endOffset 14 width 82.20 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} "
-        LayoutSVGInlineText {#text} at (360.03,133.19) size 12x21
-          chunk 1 (middle anchor) text run 1 at (360.04,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
+      LayoutSVGText {text} at (88.09,133.19) size 283.80x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (88.09,133.19) size 148.19x21
+          chunk 1 (middle anchor) text run 1 at (88.10,150.00) startOffset 0 endOffset 16 width 148.20: "dirRTL ubEmbed \""
+        LayoutSVGTSpan {tspan} at (88.09,133.19) size 283.80x21
+          LayoutSVGInlineText {#text} at (236.30,133.19) size 123.59x21
+            chunk 1 (middle anchor) text run 1 at (236.30,150.00) startOffset 0 endOffset 3 width 41.40: "W3C"
+            chunk 1 (middle anchor) text run 1 at (277.70,150.00) startOffset 0 endOffset 14 width 82.20 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} "
+        LayoutSVGInlineText {#text} at (359.89,133.19) size 12x21
+          chunk 1 (middle anchor) text run 1 at (359.90,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.txt
index 3d9e760..4bbaa6b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (95.16,133.19) size 269.67x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (95.16,133.19) size 134.06x21
-          chunk 1 (middle anchor) text run 1 at (95.16,150.00) startOffset 0 endOffset 15 width 134.07: "dirRTL ubNone \""
-        LayoutSVGTSpan {tspan} at (95.16,133.19) size 269.67x21
-          LayoutSVGInlineText {#text} at (228.63,133.19) size 124.19x21
-            chunk 1 (middle anchor) text run 1 at (229.24,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
-            chunk 1 (middle anchor) text run 1 at (300.64,150.00) startOffset 0 endOffset 5 width 52.20: "\x{60C} W3C"
-        LayoutSVGInlineText {#text} at (352.83,133.19) size 12x21
-          chunk 1 (middle anchor) text run 1 at (352.84,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
+      LayoutSVGText {text} at (95.30,133.19) size 269.39x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (95.30,133.19) size 133.80x21
+          chunk 1 (middle anchor) text run 1 at (95.30,150.00) startOffset 0 endOffset 15 width 133.80: "dirRTL ubNone \""
+        LayoutSVGTSpan {tspan} at (95.30,133.19) size 269.39x21
+          LayoutSVGInlineText {#text} at (228.48,133.19) size 124.20x21
+            chunk 1 (middle anchor) text run 1 at (229.10,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
+            chunk 1 (middle anchor) text run 1 at (300.50,150.00) startOffset 0 endOffset 5 width 52.20: "\x{60C} W3C"
+        LayoutSVGInlineText {#text} at (352.69,133.19) size 12x21
+          chunk 1 (middle anchor) text run 1 at (352.70,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.txt
index 3d9e760..4bbaa6b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (95.16,133.19) size 269.67x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (95.16,133.19) size 134.06x21
-          chunk 1 (middle anchor) text run 1 at (95.16,150.00) startOffset 0 endOffset 15 width 134.07: "dirRTL ubNone \""
-        LayoutSVGTSpan {tspan} at (95.16,133.19) size 269.67x21
-          LayoutSVGInlineText {#text} at (228.63,133.19) size 124.19x21
-            chunk 1 (middle anchor) text run 1 at (229.24,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
-            chunk 1 (middle anchor) text run 1 at (300.64,150.00) startOffset 0 endOffset 5 width 52.20: "\x{60C} W3C"
-        LayoutSVGInlineText {#text} at (352.83,133.19) size 12x21
-          chunk 1 (middle anchor) text run 1 at (352.84,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
+      LayoutSVGText {text} at (95.30,133.19) size 269.39x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (95.30,133.19) size 133.80x21
+          chunk 1 (middle anchor) text run 1 at (95.30,150.00) startOffset 0 endOffset 15 width 133.80: "dirRTL ubNone \""
+        LayoutSVGTSpan {tspan} at (95.30,133.19) size 269.39x21
+          LayoutSVGInlineText {#text} at (228.48,133.19) size 124.20x21
+            chunk 1 (middle anchor) text run 1 at (229.10,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
+            chunk 1 (middle anchor) text run 1 at (300.50,150.00) startOffset 0 endOffset 5 width 52.20: "\x{60C} W3C"
+        LayoutSVGInlineText {#text} at (352.69,133.19) size 12x21
+          chunk 1 (middle anchor) text run 1 at (352.70,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.png
index 041724c..faa6e01a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.txt
index 9e8de816..8232985 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.txt
@@ -3,14 +3,14 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (82.25,133.19) size 295.47x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (82.25,133.19) size 159.86x21
-          chunk 1 (middle anchor) text run 1 at (82.26,150.00) startOffset 0 endOffset 19 width 159.87: "dirRTL ubOverride \""
-        LayoutSVGTSpan {tspan} at (82.25,133.19) size 295.47x21
-          LayoutSVGInlineText {#text} at (241.53,133.19) size 124.19x21
-            chunk 1 (middle anchor) text run 1 at (242.14,150.00) startOffset 0 endOffset 17 width 123.60 RTL override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
-        LayoutSVGInlineText {#text} at (365.73,133.19) size 12x21
-          chunk 1 (middle anchor) text run 1 at (365.74,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
+      LayoutSVGText {text} at (82.39,133.19) size 295.19x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (82.39,133.19) size 159.59x21
+          chunk 1 (middle anchor) text run 1 at (82.40,150.00) startOffset 0 endOffset 19 width 159.60: "dirRTL ubOverride \""
+        LayoutSVGTSpan {tspan} at (82.39,133.19) size 295.19x21
+          LayoutSVGInlineText {#text} at (241.39,133.19) size 124.19x21
+            chunk 1 (middle anchor) text run 1 at (242.00,150.00) startOffset 0 endOffset 17 width 123.60 RTL override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
+        LayoutSVGInlineText {#text} at (365.59,133.19) size 12x21
+          chunk 1 (middle anchor) text run 1 at (365.60,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.png
index 041724c..faa6e01a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.txt
index 9e8de816..8232985 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.txt
@@ -3,14 +3,14 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (82.25,133.19) size 295.47x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (82.25,133.19) size 159.86x21
-          chunk 1 (middle anchor) text run 1 at (82.26,150.00) startOffset 0 endOffset 19 width 159.87: "dirRTL ubOverride \""
-        LayoutSVGTSpan {tspan} at (82.25,133.19) size 295.47x21
-          LayoutSVGInlineText {#text} at (241.53,133.19) size 124.19x21
-            chunk 1 (middle anchor) text run 1 at (242.14,150.00) startOffset 0 endOffset 17 width 123.60 RTL override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
-        LayoutSVGInlineText {#text} at (365.73,133.19) size 12x21
-          chunk 1 (middle anchor) text run 1 at (365.74,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
+      LayoutSVGText {text} at (82.39,133.19) size 295.19x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (82.39,133.19) size 159.59x21
+          chunk 1 (middle anchor) text run 1 at (82.40,150.00) startOffset 0 endOffset 19 width 159.60: "dirRTL ubOverride \""
+        LayoutSVGTSpan {tspan} at (82.39,133.19) size 295.19x21
+          LayoutSVGInlineText {#text} at (241.39,133.19) size 124.19x21
+            chunk 1 (middle anchor) text run 1 at (242.00,150.00) startOffset 0 endOffset 17 width 123.60 RTL override: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}\x{60C} W3C"
+        LayoutSVGInlineText {#text} at (365.59,133.19) size 12x21
+          chunk 1 (middle anchor) text run 1 at (365.60,150.00) startOffset 0 endOffset 2 width 12.00: "\"!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.txt
index 6ce33ba6..cef250f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.txt
@@ -3,14 +3,14 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (86.66,133.19) size 286.66x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (289.92,133.19) size 83.39x21
-          chunk 1 (middle anchor) text run 1 at (290.53,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
-        LayoutSVGTSpan {tspan} at (86.66,133.19) size 286.66x21
-          LayoutSVGInlineText {#text} at (98.66,133.19) size 191.86x21
-            chunk 1 (middle anchor) text run 1 at (98.67,150.00) startOffset 0 endOffset 25 width 191.86 RTL override: "dirRTL ubOverride, \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
-        LayoutSVGInlineText {#text} at (86.66,133.19) size 12x21
-          chunk 1 (middle anchor) text run 1 at (86.67,150.00) startOffset 0 endOffset 2 width 12.00 RTL: "\"!"
+      LayoutSVGText {text} at (86.59,133.19) size 286.80x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (290,133.19) size 83.39x21
+          chunk 1 (middle anchor) text run 1 at (290.60,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
+        LayoutSVGTSpan {tspan} at (86.59,133.19) size 286.80x21
+          LayoutSVGInlineText {#text} at (98.59,133.19) size 192x21
+            chunk 1 (middle anchor) text run 1 at (98.60,150.00) startOffset 0 endOffset 25 width 192.00 RTL override: "dirRTL ubOverride, \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
+        LayoutSVGInlineText {#text} at (86.59,133.19) size 12x21
+          chunk 1 (middle anchor) text run 1 at (86.60,150.00) startOffset 0 endOffset 2 width 12.00 RTL: "\"!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-direction-ltr-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-direction-ltr-expected.txt
index 135ab95e..a62741b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-direction-ltr-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-direction-ltr-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (88.45,133.19) size 283.06x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (100.45,133.19) size 147.45x21
-          chunk 1 (middle anchor) text run 1 at (100.47,150.00) startOffset 0 endOffset 16 width 147.46: "dirLTR ubEmbed \""
-        LayoutSVGTSpan {tspan} at (88.45,133.19) size 283.06x21
-          LayoutSVGInlineText {#text} at (247.33,133.19) size 124.19x21
-            chunk 1 (middle anchor) text run 1 at (247.93,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
-            chunk 1 (middle anchor) text run 1 at (319.33,150.00) startOffset 0 endOffset 5 width 52.20: "\x{60C} W3C"
-        LayoutSVGInlineText {#text} at (88.45,133.19) size 12x21
-          chunk 1 (middle anchor) text run 1 at (88.47,150.00) startOffset 0 endOffset 2 width 12.00 RTL: "\"!"
+      LayoutSVGText {text} at (88.39,133.19) size 283.19x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (100.39,133.19) size 147.59x21
+          chunk 1 (middle anchor) text run 1 at (100.40,150.00) startOffset 0 endOffset 16 width 147.60: "dirLTR ubEmbed \""
+        LayoutSVGTSpan {tspan} at (88.39,133.19) size 283.19x21
+          LayoutSVGInlineText {#text} at (247.39,133.19) size 124.19x21
+            chunk 1 (middle anchor) text run 1 at (248.00,150.00) startOffset 0 endOffset 12 width 71.40 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644}"
+            chunk 1 (middle anchor) text run 1 at (319.40,150.00) startOffset 0 endOffset 5 width 52.20: "\x{60C} W3C"
+        LayoutSVGInlineText {#text} at (88.39,133.19) size 12x21
+          chunk 1 (middle anchor) text run 1 at (88.40,150.00) startOffset 0 endOffset 2 width 12.00 RTL: "\"!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-direction-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-direction-rtl-expected.png
index b7c1e42..1e3b778 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-direction-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-direction-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-direction-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-direction-rtl-expected.txt
index 671639f..105c3ff 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-direction-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-I18N/tspan-direction-rtl-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,133.19) size 390x85.81
-      LayoutSVGText {text} at (91.86,133.19) size 276.27x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (284.73,133.19) size 83.39x21
-          chunk 1 (middle anchor) text run 1 at (285.34,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
-        LayoutSVGTSpan {tspan} at (91.86,133.19) size 276.27x21
-          LayoutSVGInlineText {#text} at (103.86,133.19) size 181.45x21
-            chunk 1 (middle anchor) text run 1 at (103.86,150.00) startOffset 0 endOffset 8 width 44.40 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
-            chunk 1 (middle anchor) text run 1 at (148.26,150.00) startOffset 0 endOffset 14 width 137.07: "dirRTL ubEmbed"
-        LayoutSVGInlineText {#text} at (91.86,133.19) size 12x21
-          chunk 1 (middle anchor) text run 1 at (91.86,150.00) startOffset 0 endOffset 2 width 12.00 RTL: "\"!"
+      LayoutSVGText {text} at (91.98,133.19) size 276x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (284.59,133.19) size 83.39x21
+          chunk 1 (middle anchor) text run 1 at (285.20,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
+        LayoutSVGTSpan {tspan} at (91.98,133.19) size 276x21
+          LayoutSVGInlineText {#text} at (103.98,133.19) size 181.20x21
+            chunk 1 (middle anchor) text run 1 at (104.00,150.00) startOffset 0 endOffset 8 width 44.40 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
+            chunk 1 (middle anchor) text run 1 at (148.40,150.00) startOffset 0 endOffset 14 width 136.80: "dirRTL ubEmbed"
+        LayoutSVGInlineText {#text} at (91.98,133.19) size 12x21
+          chunk 1 (middle anchor) text run 1 at (92.00,150.00) startOffset 0 endOffset 2 width 12.00 RTL: "\"!"
       LayoutSVGText {text} at (20,171) size 84.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (20,171) size 84.59x11.39
           chunk 1 text run 1 at (20.00,180.00) startOffset 0 endOffset 18 width 84.60: "Reference graphic:"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt
index 1ad7dede1..179d9d6b4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt
@@ -3,23 +3,23 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (10,17.39) size 369.84x202.61
-      LayoutSVGText {text} at (10,17.39) size 369.84x15.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,17.39) size 369.84x15.59
-          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 60 width 369.85: "Test that some methods taking an SVGMatrix take a copy of it"
+    LayoutSVGContainer {g} at (10,17.39) size 369.59x202.61
+      LayoutSVGText {text} at (10,17.39) size 369.59x15.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,17.39) size 369.59x15.59
+          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 60 width 369.60: "Test that some methods taking an SVGMatrix take a copy of it"
       LayoutSVGRect {rect} at (10,50) size 50x50 [fill={[type=SOLID] [color=#00FF00]}] [x=10.00] [y=50.00] [width=50.00] [height=50.00]
       LayoutSVGRect {rect} at (10,110) size 50x50 [fill={[type=SOLID] [color=#00FF00]}] [x=10.00] [y=110.00] [width=50.00] [height=50.00]
       LayoutSVGRect {rect} at (10,170) size 50x50 [fill={[type=SOLID] [color=#00FF00]}] [x=10.00] [y=170.00] [width=50.00] [height=50.00]
-      LayoutSVGContainer {g} at (70,71) size 230.25x131.39
-        LayoutSVGText {text} at (70,71) size 230.25x11.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,71) size 230.25x11.39
-            chunk 1 text run 1 at (70.00,80.00) startOffset 0 endOffset 47 width 230.26: "SVGTransformList.createSVGTransformFromMatrix()"
-        LayoutSVGText {text} at (70,131) size 226.42x11.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,131) size 226.42x11.39
-            chunk 1 text run 1 at (70.00,140.00) startOffset 0 endOffset 44 width 226.43: "SVGSVGElement.createSVGTransformFromMatrix()"
-        LayoutSVGText {text} at (70,191) size 113.02x11.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,191) size 113.02x11.39
-            chunk 1 text run 1 at (70.00,200.00) startOffset 0 endOffset 24 width 113.03: "SVGTransform.setMatrix()"
+      LayoutSVGContainer {g} at (70,71) size 229.80x131.39
+        LayoutSVGText {text} at (70,71) size 229.80x11.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,71) size 229.80x11.39
+            chunk 1 text run 1 at (70.00,80.00) startOffset 0 endOffset 47 width 229.80: "SVGTransformList.createSVGTransformFromMatrix()"
+        LayoutSVGText {text} at (70,131) size 226.19x11.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,131) size 226.19x11.39
+            chunk 1 text run 1 at (70.00,140.00) startOffset 0 endOffset 44 width 226.20: "SVGSVGElement.createSVGTransformFromMatrix()"
+        LayoutSVGText {text} at (70,191) size 112.80x11.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,191) size 112.80x11.39
+            chunk 1 text run 1 at (70.00,200.00) startOffset 0 endOffset 24 width 112.80: "SVGTransform.setMatrix()"
       LayoutSVGContainer {g} at (0,0) size 0x0 [transform={m=((3.00,0.00)(0.00,1.00)) t=(0.00,0.00)}]
     LayoutSVGContainer {g} at (10,311.19) size 225.59x36
       LayoutSVGText {text} at (10,311.19) size 225.59x36 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png
index 2d7ade4..f7014db 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt
index c6f177f7..dbf423fa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt
@@ -52,9 +52,9 @@
             LayoutSVGInlineText {#text} at (20,203.19) size 157.19x21
               chunk 1 text run 1 at (20.00,220.00) startOffset 0 endOffset 18 width 157.20: "Passed subtest #10"
           LayoutSVGRect {rect} at (0,225) size 15x15 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=225.00] [width=15.00] [height=15.00]
-          LayoutSVGText {text} at (20,223.19) size 155.86x21 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,223.19) size 155.86x21
-              chunk 1 text run 1 at (20.00,240.00) startOffset 0 endOffset 18 width 155.86: "Passed subtest #11"
+          LayoutSVGText {text} at (20,223.19) size 156x21 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,223.19) size 156x21
+              chunk 1 text run 1 at (20.00,240.00) startOffset 0 endOffset 18 width 156.00: "Passed subtest #11"
           LayoutSVGRect {rect} at (0,245) size 15x15 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=245.00] [width=15.00] [height=15.00]
           LayoutSVGText {text} at (20,243.19) size 157.19x21 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (20,243.19) size 157.19x21
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.txt
index a7dbcdd..c78df21 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.txt
@@ -44,23 +44,23 @@
         LayoutSVGResourceFilter {filter} [id="xMaxYMaxSlice"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
           [feImage image-size="100x100"]
       LayoutSVGContainer {g} at (10.50,-15.59) size 419.50x280.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,30.00)}]
-        LayoutSVGText {text} at (58.78,-15.59) size 362.42x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (58.78,-15.59) size 362.42x19.19
-            chunk 1 (middle anchor) text run 1 at (58.79,0.00) startOffset 0 endOffset 47 width 362.43: "Test preserveAspectRatio on an feImage element."
+        LayoutSVGText {text} at (58.80,-15.59) size 362.39x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (58.80,-15.59) size 362.39x19.19
+            chunk 1 (middle anchor) text run 1 at (58.80,0.00) startOffset 0 endOffset 47 width 362.40: "Test preserveAspectRatio on an feImage element."
         LayoutSVGText {text} at (17.50,21.59) size 45x10.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (17.50,21.59) size 45x10.19
             chunk 1 (middle anchor) text run 1 at (17.50,30.00) startOffset 0 endOffset 13 width 45.00: "Raster to fit"
         LayoutSVGContainer {g} at (0,0) size 40x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,40.00)}]
           LayoutSVGRect {rect} at (0,0) size 40x40 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=40.00] [height=40.00]
             [filter="default"] LayoutSVGResourceFilter {filter} at (0,0) size 40x40
-        LayoutSVGText {text} at (15.17,101.59) size 40.63x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (15.17,101.59) size 40.63x10.19
-            chunk 1 (middle anchor) text run 1 at (15.18,110.00) startOffset 0 endOffset 10 width 40.64: "Viewport 1"
+        LayoutSVGText {text} at (15.09,101.59) size 40.80x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (15.09,101.59) size 40.80x10.19
+            chunk 1 (middle anchor) text run 1 at (15.10,110.00) startOffset 0 endOffset 10 width 40.80: "Viewport 1"
         LayoutSVGContainer {g} at (0.50,0.50) size 49x29 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,120.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 49x29 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=49.00] [height=29.00]
-        LayoutSVGText {text} at (15.17,171.59) size 40.63x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (15.17,171.59) size 40.63x10.19
-            chunk 1 (middle anchor) text run 1 at (15.18,180.00) startOffset 0 endOffset 10 width 40.64: "Viewport 2"
+        LayoutSVGText {text} at (15.09,171.59) size 40.80x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (15.09,171.59) size 40.80x10.19
+            chunk 1 (middle anchor) text run 1 at (15.10,180.00) startOffset 0 endOffset 10 width 40.80: "Viewport 2"
         LayoutSVGContainer {g} at (0.50,0.50) size 29x59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,190.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 29x59 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=29.00] [height=59.00]
         LayoutSVGContainer {g} at (0,-28.39) size 120x108.39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,50.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png
index 3565cb9..1dac409 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt
index e17494c..1b57ca7f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt
@@ -3,10 +3,10 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (10,28.59) size 287.86x124.41
-      LayoutSVGText {text} at (10,28.59) size 287.86x13.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,28.59) size 287.86x13.80
-          chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 56 width 287.87: "Test pointer-events=\"painted\" with paint server fallback"
+    LayoutSVGContainer {g} at (10,28.59) size 288x124.41
+      LayoutSVGText {text} at (10,28.59) size 288x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,28.59) size 288x13.80
+          chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 56 width 288.00: "Test pointer-events=\"painted\" with paint server fallback"
       LayoutSVGRect {rect} at (10,80) size 50x50 [fill={[type=SOLID] [color=#000000]}] [x=10.00] [y=80.00] [width=50.00] [height=50.00]
       LayoutSVGRect {rect} at (10,80) size 50x50 [x=10.00] [y=80.00] [width=50.00] [height=50.00]
       LayoutSVGContainer {g} at (10,138) size 253.80x15
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt
index 416392a6..5d6f542 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt
@@ -64,9 +64,9 @@
           LayoutSVGInlineText {#text} at (61,282.39) size 48x15.59
             chunk 1 (middle anchor) text run 1 at (61.00,295.00) startOffset 0 endOffset 7 width 48.00: "Polygon"
         LayoutSVGRect {rect} at (36,208) size 100x89 [stroke={[type=SOLID] [color=#000000]}] [x=36.00] [y=208.00] [width=100.00] [height=89.00]
-        LayoutSVGText {text} at (54.05,186) size 61.89x11.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (54.05,186) size 61.89x11.39
-            chunk 1 (middle anchor) text run 1 at (54.05,195.00) startOffset 0 endOffset 14 width 61.89: "viewTarget, no"
+        LayoutSVGText {text} at (54.09,186) size 61.80x11.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (54.09,186) size 61.80x11.39
+            chunk 1 (middle anchor) text run 1 at (54.10,195.00) startOffset 0 endOffset 14 width 61.80: "viewTarget, no"
         LayoutSVGText {text} at (41.80,195) size 86.39x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (41.80,195) size 86.39x11.39
             chunk 1 (middle anchor) text run 1 at (41.80,204.00) startOffset 0 endOffset 19 width 86.40: "changes to viewport"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.txt
index 0c528bf..344028b3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.txt
@@ -55,9 +55,9 @@
           LayoutSVGEllipse {circle} at (-2,-2) size 14x14 [fill={[type=SOLID] [color=#008000]}] [cx=5.00] [cy=5.00] [r=7.00]
         LayoutSVGResourceMarker {marker} [id="hmarkerEnd"] [markerUnits=strokeWidth] [ref at (10,10)] [angle=0.00]
           LayoutSVGPath {path} at (0,0) size 20x20 [fill={[type=SOLID] [color=#0000FF]}] [data="M 10 0 L 20 20 L 0 20 Z"]
-      LayoutSVGText {text} at (158.48,37.19) size 163.59x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (158.48,37.19) size 163.59x21
-          chunk 1 (middle anchor) text run 1 at (158.50,54.00) startOffset 0 endOffset 20 width 163.00: "Test marker overflow"
+      LayoutSVGText {text} at (158.39,37.19) size 163.80x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (158.39,37.19) size 163.80x21
+          chunk 1 (middle anchor) text run 1 at (158.40,54.00) startOffset 0 endOffset 20 width 163.20: "Test marker overflow"
       LayoutSVGContainer {g} at (39.89,-12.59) size 412.30x15.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,280.00)}]
         LayoutSVGText {text} at (39.89,-12.59) size 40.19x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (39.89,-12.59) size 40.19x15.59
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.png
index 3673bb1..c486854c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.txt
index 4bd7a15..4c9d4eb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.txt
@@ -3,10 +3,10 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (10,28) size 375.95x152
-      LayoutSVGText {text} at (10,28) size 375.95x15 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,28) size 375.95x15
-          chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 67 width 375.96: "Test getIntersectionList and getEnclosureList return value liveness"
+    LayoutSVGContainer {g} at (10,28) size 376.19x152
+      LayoutSVGText {text} at (10,28) size 376.19x15 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,28) size 376.19x15
+          chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 67 width 376.20: "Test getIntersectionList and getEnclosureList return value liveness"
       LayoutSVGRect {rect} at (10,70) size 50x50 [fill={[type=SOLID] [color=#00FF00]}] [x=10.00] [y=70.00] [width=50.00] [height=50.00]
       LayoutSVGText {text} at (70,83.19) size 144x21 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (70,83.19) size 144x21
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.png
index 12672cd..9c0d512 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt
index e902e9c4..765432a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (-10,-16.80) size 443x241.80
-      LayoutSVGText {text} at (10,3.19) size 338.20x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,3.19) size 338.20x21
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 44 width 338.20: "Testing inapplicable presentation attributes"
+      LayoutSVGText {text} at (10,3.19) size 338.39x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,3.19) size 338.39x21
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 44 width 338.40: "Testing inapplicable presentation attributes"
       LayoutSVGContainer {g} at (-10,-16.80) size 29.80x26.80
         LayoutSVGPath {path} at (0,0) size 0x0 [fill={[type=SOLID] [color=#000000]}] [data="M 0 0"]
         LayoutSVGImage {image} at (0,0) size 10x10
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.png
index deb5b41..19d3dc7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt
index 147e768a..0c190d98 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt
@@ -3,7 +3,7 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (10,48.61) size 397.75x230.19
+    LayoutSVGContainer {g} at (10,48.61) size 398.19x230.19
       LayoutSVGHiddenContainer {defs} at (0,-16.80) size 70.80x21
         LayoutSVGRect {rect} at (0,0) size 1x1 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=1.00] [height=1.00]
         LayoutSVGImage {image} at (0,0) size 1x1
@@ -16,121 +16,121 @@
         LayoutSVGViewportContainer {svg} at (0,0) size 0x0
         LayoutSVGResourceFilter {filter} [id="f"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
         LayoutSVGPath {polygon} at (0,0) size 0x0 [fill={[type=SOLID] [color=#000000]}] [points=""]
-      LayoutSVGContainer {g} at (0,-1.39) size 135.36x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,50.00)}]
+      LayoutSVGContainer {g} at (0,-1.39) size 135.39x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,50.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 125.36x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 125.36x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 30 width 125.37: "r.x.baseVal.value == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 278.27x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,60.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 125.39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 125.39x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 30 width 125.40: "r.x.baseVal.value == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 278.19x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,60.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 268.27x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 268.27x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 57 width 268.27: "r.x.baseVal.unitType == 1 (SVG_LENGTHTYPE_NUMBER): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 224.59x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,70.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 268.19x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 268.19x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 57 width 268.20: "r.x.baseVal.unitType == 1 (SVG_LENGTHTYPE_NUMBER): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 224.80x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,70.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 214.59x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 214.59x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 52 width 214.60: "v.width.baseVal.valueInSpecifiedUnits == 100: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 318.22x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,80.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 214.80x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 214.80x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 52 width 214.80: "v.width.baseVal.valueInSpecifiedUnits == 100: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 318.39x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,80.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 308.22x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 308.22x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 65 width 308.23: "v.width.baseVal.unitType == 2 (SVG_LENGTHTYPE_PERCENTAGE): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 277.06x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,90.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 308.39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 308.39x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 65 width 308.40: "v.width.baseVal.unitType == 2 (SVG_LENGTHTYPE_PERCENTAGE): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 277x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,90.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 267.06x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 267.06x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 65 width 267.07: "tt.textLength.baseVal.value == tt.getComputedTextLength(): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 132.09x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,100.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 267x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 267x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 65 width 267.00: "tt.textLength.baseVal.value == tt.getComputedTextLength(): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 132.39x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,100.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 122.09x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 122.09x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 29 width 122.10: "s.offset.baseVal == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 180.25x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,110.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 122.39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 122.39x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 29 width 122.40: "s.offset.baseVal == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 180.39x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,110.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 170.25x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 170.25x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 40 width 170.26: "c.preserveAlpha.baseVal == false: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 156.25x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,120.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 170.39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 170.39x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 40 width 170.40: "c.preserveAlpha.baseVal == false: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 156.39x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,120.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 146.25x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 146.25x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 33 width 146.26: "c.className.baseVal == \"\": PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 123.86x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,130.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 146.39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 146.39x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 33 width 146.40: "c.className.baseVal == \"\": PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 124x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,130.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 113.86x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 113.86x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 28 width 113.86: "i.href.baseVal == \"\": PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 213.33x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,140.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 114x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 114x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 28 width 114.00: "i.href.baseVal == \"\": PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 213.39x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,140.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 203.33x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 203.33x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 47 width 203.33: "i.requiredExtensions.numberOfItems == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 220.45x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,150.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 203.39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 203.39x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 47 width 203.40: "i.requiredExtensions.numberOfItems == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 220.59x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,150.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 210.45x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 210.45x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 49 width 210.46: "c.kernelMatrix.baseVal.numberOfItems == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 176.06x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,160.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 210.59x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 210.59x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 49 width 210.60: "c.kernelMatrix.baseVal.numberOfItems == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 176.19x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,160.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 166.06x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 166.06x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 38 width 166.06: "t.x.baseVal.numberOfItems == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 164.72x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,170.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 166.19x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 166.19x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 38 width 166.20: "t.x.baseVal.numberOfItems == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 164.80x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,170.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 154.72x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 154.72x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 35 width 154.73: "p.points.numberOfItems == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 344.66x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,180.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 154.80x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 154.80x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 35 width 154.80: "p.points.numberOfItems == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 344.80x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,180.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 334.66x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 334.66x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 70 width 334.66: "g.gradientUnits.baseVal == 2 (SVG_UNIT_TYPE_OBJECTBOUNDINGBOX): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 138.25x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,190.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 334.80x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 334.80x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 70 width 334.80: "g.gradientUnits.baseVal == 2 (SVG_UNIT_TYPE_OBJECTBOUNDINGBOX): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 138.39x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,190.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 128.25x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 128.25x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 30 width 128.26: "c.targetX.baseVal == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 179.66x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,200.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 128.39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 128.39x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 30 width 128.40: "c.targetX.baseVal == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 179.80x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,200.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 169.66x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 169.66x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 40 width 169.66: "m.orientAngle.baseVal.value == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 337.56x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,210.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 169.80x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 169.80x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 40 width 169.80: "m.orientAngle.baseVal.value == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 337.59x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,210.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 327.56x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 327.56x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 71 width 327.57: "m.orientAngle.baseVal.unitType == 1 (SVG_ANGLETYPE_UNSPECIFIED): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 207.72x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,220.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 327.59x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 327.59x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 71 width 327.60: "m.orientAngle.baseVal.unitType == 1 (SVG_ANGLETYPE_UNSPECIFIED): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 208x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,220.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 197.72x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 197.72x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 49 width 197.73: "v.viewBox.baseVal.[x,y,width,height] == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 209.66x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,230.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 198x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 198x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 49 width 198.00: "v.viewBox.baseVal.[x,y,width,height] == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 209.80x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,230.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 199.66x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 199.66x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 46 width 199.66: "t.transform.baseVal.numberOfItems == 0: PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 397.75x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,240.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 199.80x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 199.80x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 46 width 199.80: "t.transform.baseVal.numberOfItems == 0: PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 398.19x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,240.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 387.75x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 387.75x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 83 width 387.77: "v.preserveAspectRatio.baseVal.align == 6 (SVG_PRESERVEASPECTRATIO_XMIDYMID): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 365.42x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,250.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 388.19x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 388.19x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 83 width 388.20: "v.preserveAspectRatio.baseVal.align == 6 (SVG_PRESERVEASPECTRATIO_XMIDYMID): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 365.80x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,250.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 355.42x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 355.42x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 77 width 355.43: "v.preserveAspectRatio.baseVal.meetOrSlice == 1 (SVG_MEETORSLICE_MEET): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 262.98x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,260.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 355.80x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 355.80x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 77 width 355.80: "v.preserveAspectRatio.baseVal.meetOrSlice == 1 (SVG_MEETORSLICE_MEET): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 263.19x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,260.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 252.98x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 252.98x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 50 width 253.00: "v.zoomAndPan == 2 (SVG_ZOOMANDPAN_MAGNIFY): PASSED"
-      LayoutSVGContainer {g} at (0,-1.39) size 92.92x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,270.00)}]
+        LayoutSVGText {text} at (10,-1.39) size 253.19x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 253.19x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 50 width 253.20: "v.zoomAndPan == 2 (SVG_ZOOMANDPAN_MAGNIFY): PASSED"
+      LayoutSVGContainer {g} at (0,-1.39) size 92.80x10.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,270.00)}]
         LayoutSVGRect {rect} at (0,1) size 5x5 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=1.00] [width=5.00] [height=5.00]
-        LayoutSVGText {text} at (10,-1.39) size 82.92x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,-1.39) size 82.92x10.19
-            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 19 width 82.93: "Test status: PASSED"
+        LayoutSVGText {text} at (10,-1.39) size 82.80x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,-1.39) size 82.80x10.19
+            chunk 1 text run 1 at (10.00,7.00) startOffset 0 endOffset 19 width 82.80: "Test status: PASSED"
     LayoutSVGContainer {g} at (10,311.19) size 225.59x36
       LayoutSVGText {text} at (10,311.19) size 225.59x36 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,311.19) size 225.59x36
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-02-b-expected.txt
index ca39e3e..0c662f03 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-02-b-expected.txt
@@ -7,10 +7,10 @@
       LayoutSVGText {text} at (10,24.39) size 310.80x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,24.39) size 310.80x19.19
           chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 45 width 310.80: "unicode-bidi=\"bidi-override\" direction=\"ltr\"."
-      LayoutSVGContainer {g} at (10,63.80) size 373.73x20.39
-        LayoutSVGText {text} at (10,63.80) size 373.73x20.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,63.80) size 373.73x20.39
-            chunk 1 text run 1 at (10.00,80.00) startOffset 0 endOffset 56 width 373.74 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
+      LayoutSVGContainer {g} at (10,63.80) size 373.80x20.39
+        LayoutSVGText {text} at (10,63.80) size 373.80x20.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,63.80) size 373.80x20.39
+            chunk 1 text run 1 at (10.00,80.00) startOffset 0 endOffset 56 width 373.80 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
       LayoutSVGText {text} at (10,124.39) size 310.80x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,124.39) size 310.80x19.19
           chunk 1 text run 1 at (10.00,140.00) startOffset 0 endOffset 45 width 310.80: "unicode-bidi=\"bidi-override\" direction=\"rtl\"."
@@ -21,12 +21,12 @@
       LayoutSVGText {text} at (10,224.39) size 271.19x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,224.39) size 271.19x19.19
           chunk 1 text run 1 at (10.00,240.00) startOffset 0 endOffset 38 width 271.20: "unicode-bidi=\"normal\" direction=\"rtl\"."
-      LayoutSVGContainer {g} at (10,263.80) size 373.73x20.39
-        LayoutSVGText {text} at (10,263.80) size 373.73x20.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,263.80) size 373.73x20.39
+      LayoutSVGContainer {g} at (10,263.80) size 373.80x20.39
+        LayoutSVGText {text} at (10,263.80) size 373.80x20.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,263.80) size 373.78x20.39
             chunk 1 (end anchor) text run 1 at (10.00,280.00) startOffset 0 endOffset 12 width 90.00: "is in Hebrew"
             chunk 1 (end anchor) text run 1 at (100.00,280.00) startOffset 0 endOffset 40 width 252.60 RTL: " \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" "
-            chunk 1 (end anchor) text run 1 at (352.60,280.00) startOffset 0 endOffset 4 width 31.14: "Text"
+            chunk 1 (end anchor) text run 1 at (352.60,280.00) startOffset 0 endOffset 4 width 31.20: "Text"
     LayoutSVGContainer {g} at (10,311.19) size 225.59x36
       LayoutSVGText {text} at (10,311.19) size 225.59x36 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,311.19) size 225.59x36
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.png
index ed04eab..6ae4950 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt
index 8cac594..a6578b3e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (43,51.69) size 417x195.50
-      LayoutSVGText {text} at (113.19,51.69) size 346.80x35.50 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (113.19,51.69) size 346.80x35.50
+    LayoutSVGContainer {g} at (43,51.80) size 417x195.39
+      LayoutSVGText {text} at (113.19,51.80) size 346.80x35.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (113.19,51.80) size 346.80x35.39
           chunk 1 text run 1 at (113.20,80.00) startOffset 0 endOffset 37 width 346.80 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
-      LayoutSVGText {text} at (43,126.27) size 417x42.13 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (43,126.27) size 417x42.13
+      LayoutSVGText {text} at (43,126.39) size 417x42 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (43,126.39) size 417x42
           chunk 1 text run 1 at (43.00,160.00) startOffset 0 endOffset 37 width 417.00 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
-      LayoutSVGText {text} at (113.19,211.69) size 346.80x35.50 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (113.19,211.69) size 346.80x35.50
+      LayoutSVGText {text} at (113.19,211.80) size 346.80x35.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (113.19,211.80) size 346.80x35.39
           chunk 1 text run 1 at (113.20,240.00) startOffset 0 endOffset 37 width 346.80 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
     LayoutSVGContainer {g} at (10,311.19) size 225.59x36
       LayoutSVGText {text} at (10,311.19) size 225.59x36 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.txt
index cab58cf..6728fb73 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.txt
@@ -7,10 +7,10 @@
       LayoutSVGText {text} at (10,24.39) size 310.80x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,24.39) size 310.80x19.19
           chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 45 width 310.80: "unicode-bidi=\"bidi-override\" direction=\"ltr\"."
-      LayoutSVGContainer {g} at (10,63.80) size 373.73x20.39
-        LayoutSVGText {text} at (10,63.80) size 373.73x20.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,63.80) size 373.73x20.39
-            chunk 1 text run 1 at (10.00,80.00) startOffset 0 endOffset 56 width 373.74 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
+      LayoutSVGContainer {g} at (10,63.80) size 373.80x20.39
+        LayoutSVGText {text} at (10,63.80) size 373.80x20.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,63.80) size 373.80x20.39
+            chunk 1 text run 1 at (10.00,80.00) startOffset 0 endOffset 56 width 373.80 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
       LayoutSVGText {text} at (10,124.39) size 310.80x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,124.39) size 310.80x19.19
           chunk 1 text run 1 at (10.00,140.00) startOffset 0 endOffset 45 width 310.80: "unicode-bidi=\"bidi-override\" direction=\"rtl\"."
@@ -21,12 +21,12 @@
       LayoutSVGText {text} at (10,224.39) size 271.19x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,224.39) size 271.19x19.19
           chunk 1 text run 1 at (10.00,240.00) startOffset 0 endOffset 38 width 271.20: "unicode-bidi=\"normal\" direction=\"rtl\"."
-      LayoutSVGContainer {g} at (10,263.80) size 373.73x20.39
-        LayoutSVGText {text} at (10,263.80) size 373.73x20.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,263.80) size 373.73x20.39
+      LayoutSVGContainer {g} at (10,263.80) size 373.80x20.39
+        LayoutSVGText {text} at (10,263.80) size 373.80x20.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,263.80) size 373.78x20.39
             chunk 1 (end anchor) text run 1 at (10.00,280.00) startOffset 0 endOffset 12 width 90.00: "is in Hebrew"
             chunk 1 (end anchor) text run 1 at (100.00,280.00) startOffset 0 endOffset 40 width 252.60 RTL: " \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" "
-            chunk 1 (end anchor) text run 1 at (352.60,280.00) startOffset 0 endOffset 4 width 31.14: "Text"
+            chunk 1 (end anchor) text run 1 at (352.60,280.00) startOffset 0 endOffset 4 width 31.20: "Text"
     LayoutSVGContainer {g} at (10,311.19) size 225.59x36
       LayoutSVGText {text} at (10,311.19) size 225.59x36 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,311.19) size 225.59x36
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt
index 8f56b1f2..e7af9a5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt
@@ -186,8 +186,8 @@
             chunk 1 text run 1 at (340.00,210.00) startOffset 0 endOffset 43 width 132.00: "   55    55  55  55   55 55  55   55       "
         LayoutSVGInlineText {#text} at (472,202.19) size 12x9.59
           chunk 1 text run 1 at (472.00,210.00) startOffset 0 endOffset 5 width 12.00: "     "
-    LayoutSVGContainer {g} at (10,311.19) size 240.63x36
-      LayoutSVGText {text} at (10,311.19) size 240.63x36 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,311.19) size 240.63x36
-          chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 240.63: "$Revision: 1.11 $"
+    LayoutSVGContainer {g} at (10,311.19) size 240.59x36
+      LayoutSVGText {text} at (10,311.19) size 240.59x36 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,311.19) size 240.59x36
+          chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 240.60: "$Revision: 1.11 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png
index f6bb1f5..aeb97e69 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt
index d475bb1..ebd89b73b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt
@@ -5,30 +5,30 @@
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (10,8.31) size 365x274.08
       LayoutSVGContainer {g} at (10,8.31) size 365x274.08
-        LayoutSVGContainer {g} at (-52.61,68.31) size 357.61x153.92 [transform={m=((1.00,0.00)(0.00,1.00)) t=(70.00,-60.00)}]
-          LayoutSVGText {text} at (30,131) size 339.78x23 [transform={m=((0.42,0.42)(-0.42,0.42)) t=(0.00,0.00)}] contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (30,131) size 339.78x23
-              chunk 1 text run 1 at (30.00,150.00) startOffset 0 endOffset 37 width 339.78: "Rotated Text for testing SVGLocatable"
-          LayoutSVGText {text} at (100,112) size 285.78x22.28 [transform={m=((0.70,0.00)(0.00,0.70)) t=(0.00,0.00)}] contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (100,112) size 285.78x22.28
-              chunk 1 text run 1 at (100.00,130.00) startOffset 0 endOffset 35 width 285.78: "Some other text with id 'otherText'"
+        LayoutSVGContainer {g} at (-52.61,68.31) size 357.61x154 [transform={m=((1.00,0.00)(0.00,1.00)) t=(70.00,-60.00)}]
+          LayoutSVGText {text} at (30,131) size 340x23 [transform={m=((0.42,0.42)(-0.42,0.42)) t=(0.00,0.00)}] contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (30,131) size 340x23
+              chunk 1 text run 1 at (30.00,150.00) startOffset 0 endOffset 37 width 340.00: "Rotated Text for testing SVGLocatable"
+          LayoutSVGText {text} at (100,112) size 285.42x22.28 [transform={m=((0.70,0.00)(0.00,0.70)) t=(0.00,0.00)}] contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (100,112) size 285.42x22.28
+              chunk 1 text run 1 at (100.00,130.00) startOffset 0 endOffset 35 width 285.43: "Some other text with id 'otherText'"
           LayoutSVGViewportContainer {svg} at (-50,-50) size 100x100
             LayoutSVGEllipse {circle} at (-50,-50) size 100x100 [fill={[type=SOLID] [color=#0000FF]}] [cx=0.00] [cy=0.00] [r=50.00]
-        LayoutSVGText {text} at (10,188.59) size 291.30x13.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,188.59) size 291.30x13.80
-            chunk 1 text run 1 at (10.00,200.00) startOffset 0 endOffset 52 width 291.31: ".getScreenCTM(): 0.71,0.71,-0.71,0.71,116.67,-100.00"
-        LayoutSVGText {text} at (10,208.59) size 254.11x13.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,208.59) size 254.11x13.80
-            chunk 1 text run 1 at (10.00,220.00) startOffset 0 endOffset 46 width 254.11: ".getCTM(): 0.71,0.71,-0.71,0.71,116.67,-100.00"
+        LayoutSVGText {text} at (10,188.59) size 291.59x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,188.59) size 291.59x13.80
+            chunk 1 text run 1 at (10.00,200.00) startOffset 0 endOffset 52 width 291.60: ".getScreenCTM(): 0.71,0.71,-0.71,0.71,116.67,-100.00"
+        LayoutSVGText {text} at (10,208.59) size 254.39x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,208.59) size 254.39x13.80
+            chunk 1 text run 1 at (10.00,220.00) startOffset 0 endOffset 46 width 254.40: ".getCTM(): 0.71,0.71,-0.71,0.71,116.67,-100.00"
         LayoutSVGText {text} at (10,228.59) size 340.19x13.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,228.59) size 340.19x13.80
             chunk 1 text run 1 at (10.00,240.00) startOffset 0 endOffset 65 width 340.20: ".getBBox() for 'blueCircle': .x=-50,.y=-50,.width=100,.height=100"
-        LayoutSVGText {text} at (10,248.59) size 252.38x13.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,248.59) size 252.38x13.80
-            chunk 1 text run 1 at (10.00,260.00) startOffset 0 endOffset 47 width 252.38: ".farthestViewportElement of blueCircle=svg-root"
-        LayoutSVGText {text} at (10,268.59) size 269.17x13.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,268.59) size 269.17x13.80
-            chunk 1 text run 1 at (10.00,280.00) startOffset 0 endOffset 47 width 269.18: ".nearestViewportElement of blueCircle=nestedSVG"
+        LayoutSVGText {text} at (10,248.59) size 252.59x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,248.59) size 252.59x13.80
+            chunk 1 text run 1 at (10.00,260.00) startOffset 0 endOffset 47 width 252.60: ".farthestViewportElement of blueCircle=svg-root"
+        LayoutSVGText {text} at (10,268.59) size 269.39x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,268.59) size 269.39x13.80
+            chunk 1 text run 1 at (10.00,280.00) startOffset 0 endOffset 47 width 269.40: ".nearestViewportElement of blueCircle=nestedSVG"
     LayoutSVGContainer {g} at (10,311.19) size 225.59x36
       LayoutSVGText {text} at (10,311.19) size 225.59x36 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,311.19) size 225.59x36
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt
index 3227251..e98e182 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt
@@ -3,10 +3,10 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (54.27,38.19) size 385.73x247.20
-      LayoutSVGText {text} at (54.27,38.19) size 155.72x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (54.27,38.19) size 155.72x21
-          chunk 1 (end anchor) text run 1 at (54.27,55.00) startOffset 0 endOffset 19 width 155.73: "animVal != baseVal:"
+    LayoutSVGContainer {g} at (54,38.19) size 386x247.20
+      LayoutSVGText {text} at (54,38.19) size 156x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (54,38.19) size 156x21
+          chunk 1 (end anchor) text run 1 at (54.00,55.00) startOffset 0 endOffset 19 width 156.00: "animVal != baseVal:"
       LayoutSVGContainer {g} at (40,60) size 245.39x200 [transform={m=((0.00,1.00)(-1.00,0.00)) t=(500.00,0.00)}]
         LayoutSVGRect {rect} at (40,60) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=60.00] [width=20.00] [height=20.00]
         LayoutSVGText {text} at (70,62.39) size 154.80x15.59 contains 1 chunk(s)
@@ -29,9 +29,9 @@
           LayoutSVGInlineText {#text} at (70,182.39) size 114x15.59
             chunk 1 text run 1 at (70.00,195.00) startOffset 0 endOffset 15 width 114.00: "SVGAnimatedRect"
         LayoutSVGRect {rect} at (40,210) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=210.00] [width=20.00] [height=20.00]
-        LayoutSVGText {text} at (70,212.39) size 169.27x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,212.39) size 169.27x15.59
-            chunk 1 text run 1 at (70.00,225.00) startOffset 0 endOffset 24 width 169.28: "SVGAnimatedTransformList"
+        LayoutSVGText {text} at (70,212.39) size 169.19x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,212.39) size 169.19x15.59
+            chunk 1 text run 1 at (70.00,225.00) startOffset 0 endOffset 24 width 169.20: "SVGAnimatedTransformList"
         LayoutSVGRect {rect} at (40,240) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=240.00] [width=20.00] [height=20.00]
         LayoutSVGText {text} at (70,242.39) size 215.39x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (70,242.39) size 215.39x15.59
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png
index a9426962..c48f888 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt
index cdcc7fb..698a513 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (10,13.19) size 1020.59x991
-      LayoutSVGText {text} at (10,13.19) size 337.59x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,13.19) size 337.59x21
-          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 40 width 337.60: "Test that getBBox() works before SVGLoad"
+      LayoutSVGText {text} at (10,13.19) size 337.80x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,13.19) size 337.80x21
+          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 40 width 337.80: "Test that getBBox() works before SVGLoad"
       LayoutSVGRect {rect} at (10,40) size 50x50 [fill={[type=SOLID] [color=#008000]}] [x=10.00] [y=40.00] [width=50.00] [height=50.00]
       LayoutSVGText {text} at (1000,983.19) size 30.59x21 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (1000,983.19) size 30.59x21
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png
index 117f0c5..986b160a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt
index f204262..7689697 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (10,13.19) size 430x272.20
-      LayoutSVGText {text} at (10,13.19) size 296.20x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,13.19) size 296.20x21
-          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 35 width 296.20: "Testing liveness of SVG DOM objects"
+      LayoutSVGText {text} at (10,13.19) size 296.39x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,13.19) size 296.39x21
+          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 35 width 296.40: "Testing liveness of SVG DOM objects"
       LayoutSVGContainer {g} at (40,60) size 245.39x350 [transform={m=((0.00,1.00)(-1.00,0.00)) t=(500.00,0.00)}]
         LayoutSVGRect {rect} at (40,60) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=60.00] [width=20.00] [height=20.00]
         LayoutSVGText {text} at (70,62.39) size 154.80x15.59 contains 1 chunk(s)
@@ -29,9 +29,9 @@
           LayoutSVGInlineText {#text} at (70,182.39) size 114x15.59
             chunk 1 text run 1 at (70.00,195.00) startOffset 0 endOffset 15 width 114.00: "SVGAnimatedRect"
         LayoutSVGRect {rect} at (40,210) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=210.00] [width=20.00] [height=20.00]
-        LayoutSVGText {text} at (70,212.39) size 169.27x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,212.39) size 169.27x15.59
-            chunk 1 text run 1 at (70.00,225.00) startOffset 0 endOffset 24 width 169.28: "SVGAnimatedTransformList"
+        LayoutSVGText {text} at (70,212.39) size 169.19x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,212.39) size 169.19x15.59
+            chunk 1 text run 1 at (70.00,225.00) startOffset 0 endOffset 24 width 169.20: "SVGAnimatedTransformList"
         LayoutSVGRect {rect} at (40,240) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=240.00] [width=20.00] [height=20.00]
         LayoutSVGText {text} at (70,242.39) size 215.39x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (70,242.39) size 215.39x15.59
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png
index 325ea416..5c98cad 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt
index f0acdcf..6e656c1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt
@@ -3,24 +3,24 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (10,13.19) size 361.88x176.81
-      LayoutSVGText {text} at (10,13.19) size 361.88x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,13.19) size 361.88x21
-          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 47 width 361.88: "Test side effects of assigning to valueAsString"
+    LayoutSVGContainer {g} at (10,13.19) size 361.80x176.81
+      LayoutSVGText {text} at (10,13.19) size 361.80x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,13.19) size 361.80x21
+          chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 47 width 361.80: "Test side effects of assigning to valueAsString"
       LayoutSVGRect {rect} at (10,40) size 30x30 [fill={[type=SOLID] [color=#008000]}] [x=10.00] [y=40.00] [width=30.00] [height=30.00]
       LayoutSVGRect {rect} at (10,80) size 30x30 [fill={[type=SOLID] [color=#008000]}] [x=10.00] [y=80.00] [width=30.00] [height=30.00]
       LayoutSVGRect {rect} at (10,120) size 30x30 [fill={[type=SOLID] [color=#008000]}] [x=10.00] [y=120.00] [width=30.00] [height=30.00]
       LayoutSVGRect {rect} at (10,160) size 30x30 [fill={[type=SOLID] [color=#008000]}] [x=10.00] [y=160.00] [width=30.00] [height=30.00]
       LayoutSVGContainer {g} at (50,46.19) size 187.19x136.80
-        LayoutSVGText {text} at (50,46.19) size 177.67x16.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (50,46.19) size 177.67x16.80
-            chunk 1 text run 1 at (50.00,60.00) startOffset 0 endOffset 25 width 177.69: "Valid string on SVGLength"
+        LayoutSVGText {text} at (50,46.19) size 177.59x16.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (50,46.19) size 177.59x16.80
+            chunk 1 text run 1 at (50.00,60.00) startOffset 0 endOffset 25 width 177.60: "Valid string on SVGLength"
         LayoutSVGText {text} at (50,86.19) size 187.19x16.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (50,86.19) size 187.19x16.80
             chunk 1 text run 1 at (50.00,100.00) startOffset 0 endOffset 27 width 187.20: "Invalid string on SVGLength"
-        LayoutSVGText {text} at (50,126.19) size 170.48x16.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (50,126.19) size 170.48x16.80
-            chunk 1 text run 1 at (50.00,140.00) startOffset 0 endOffset 24 width 170.49: "Valid string on SVGAngle"
+        LayoutSVGText {text} at (50,126.19) size 170.39x16.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (50,126.19) size 170.39x16.80
+            chunk 1 text run 1 at (50.00,140.00) startOffset 0 endOffset 24 width 170.40: "Valid string on SVGAngle"
         LayoutSVGText {text} at (50,166.19) size 180x16.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (50,166.19) size 180x16.80
             chunk 1 text run 1 at (50.00,180.00) startOffset 0 endOffset 26 width 180.00: "Invalid string on SVGAngle"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt
index 1ddbe44..a4f5472 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt
@@ -3,10 +3,10 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (46.33,38.19) size 393.67x247.20
-      LayoutSVGText {text} at (46.33,38.19) size 163.66x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (46.33,38.19) size 163.66x21
-          chunk 1 (end anchor) text run 1 at (46.34,55.00) startOffset 0 endOffset 21 width 163.66: "animVal is read only:"
+    LayoutSVGContainer {g} at (46.19,38.19) size 393.81x247.20
+      LayoutSVGText {text} at (46.19,38.19) size 163.80x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (46.19,38.19) size 163.80x21
+          chunk 1 (end anchor) text run 1 at (46.20,55.00) startOffset 0 endOffset 21 width 163.80: "animVal is read only:"
       LayoutSVGContainer {g} at (40,60) size 245.39x200 [transform={m=((0.00,1.00)(-1.00,0.00)) t=(500.00,0.00)}]
         LayoutSVGRect {rect} at (40,60) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=60.00] [width=20.00] [height=20.00]
         LayoutSVGText {text} at (70,62.39) size 154.80x15.59 contains 1 chunk(s)
@@ -29,9 +29,9 @@
           LayoutSVGInlineText {#text} at (70,182.39) size 114x15.59
             chunk 1 text run 1 at (70.00,195.00) startOffset 0 endOffset 15 width 114.00: "SVGAnimatedRect"
         LayoutSVGRect {rect} at (40,210) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=210.00] [width=20.00] [height=20.00]
-        LayoutSVGText {text} at (70,212.39) size 169.27x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,212.39) size 169.27x15.59
-            chunk 1 text run 1 at (70.00,225.00) startOffset 0 endOffset 24 width 169.28: "SVGAnimatedTransformList"
+        LayoutSVGText {text} at (70,212.39) size 169.19x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,212.39) size 169.19x15.59
+            chunk 1 text run 1 at (70.00,225.00) startOffset 0 endOffset 24 width 169.20: "SVGAnimatedTransformList"
         LayoutSVGRect {rect} at (40,240) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=40.00] [y=240.00] [width=20.00] [height=20.00]
         LayoutSVGText {text} at (70,242.39) size 215.39x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (70,242.39) size 215.39x15.59
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-04-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-04-t-expected.txt
index dcdc7da5..ea0e996c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-04-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-04-t-expected.txt
@@ -5,7 +5,7 @@
     LayoutSVGContainer {g} at (7,0.80) size 70.89x50.89
       LayoutSVGText {text} at (8,0.80) size 65x8.89 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (8,0.80) size 65x8.89
-          chunk 1 text run 1 at (8.00,8.00) startOffset 0 endOffset 18 width 65.01: "Test a motion path"
+          chunk 1 text run 1 at (8.00,8.00) startOffset 0 endOffset 18 width 65.00: "Test a motion path"
       LayoutSVGText {text} at (9,10.80) size 64x8.89 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (9,10.80) size 64x8.89
           chunk 1 text run 1 at (9.00,18.00) startOffset 0 endOffset 22 width 64.00: "'from'/'to' attribute."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-05-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-05-t-expected.txt
index f78d835d..246fb25 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-05-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-05-t-expected.txt
@@ -5,7 +5,7 @@
     LayoutSVGContainer {g} at (7,0.80) size 66x50.89
       LayoutSVGText {text} at (8,0.80) size 65x8.89 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (8,0.80) size 65x8.89
-          chunk 1 text run 1 at (8.00,8.00) startOffset 0 endOffset 18 width 65.01: "Test a motion path"
+          chunk 1 text run 1 at (8.00,8.00) startOffset 0 endOffset 18 width 65.00: "Test a motion path"
       LayoutSVGText {text} at (11,10.80) size 59.19x8.89 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (11,10.80) size 59.19x8.89
           chunk 1 text run 1 at (11.00,18.00) startOffset 0 endOffset 19 width 59.20: "'values' attribute."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt
index 9ac3beaa..418f948 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt
@@ -5,7 +5,7 @@
     LayoutSVGContainer {g} at (7,0.80) size 70.89x50.89
       LayoutSVGText {text} at (7,0.80) size 65x8.89 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (7,0.80) size 65x8.89
-          chunk 1 text run 1 at (7.00,8.00) startOffset 0 endOffset 18 width 65.01: "Test a motion path"
+          chunk 1 text run 1 at (7.00,8.00) startOffset 0 endOffset 18 width 65.00: "Test a motion path"
       LayoutSVGText {text} at (11,10.80) size 51.50x8.89 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (11,10.80) size 51.50x8.89
           chunk 1 text run 1 at (11.00,18.00) startOffset 0 endOffset 17 width 51.50: "'path' attribute."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-07-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-07-t-expected.txt
index bdca6be..2f8627b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-07-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-07-t-expected.txt
@@ -5,7 +5,7 @@
     LayoutSVGContainer {g} at (7,0.80) size 70.89x50.89
       LayoutSVGText {text} at (7,0.80) size 65x8.89 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (7,0.80) size 65x8.89
-          chunk 1 text run 1 at (7.00,8.00) startOffset 0 endOffset 18 width 65.01: "Test a motion path"
+          chunk 1 text run 1 at (7.00,8.00) startOffset 0 endOffset 18 width 65.00: "Test a motion path"
       LayoutSVGText {text} at (10,10.80) size 57.80x8.89 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,10.80) size 57.80x8.89
           chunk 1 text run 1 at (10.00,18.00) startOffset 0 endOffset 16 width 57.80: "'mpath' element."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png
index 59a59fd..b9562aa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt
index f001b5b..75cf6f522 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (-5,12.39) size 449.78x250.59
-      LayoutSVGText {text} at (95.56,12.39) size 258.84x15.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (95.56,12.39) size 258.84x15.59
-          chunk 1 (middle anchor) text run 1 at (95.58,25.00) startOffset 0 endOffset 44 width 258.85: "Test rotate='auto' and rotate='auto-reverse'"
+      LayoutSVGText {text} at (95.69,12.39) size 258.59x15.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (95.69,12.39) size 258.59x15.59
+          chunk 1 (middle anchor) text run 1 at (95.70,25.00) startOffset 0 endOffset 44 width 258.60: "Test rotate='auto' and rotate='auto-reverse'"
       LayoutSVGContainer {g} at (-5,170) size 449.78x92.98
         LayoutSVGPath {path} at (25,172.75) size 150x52.25 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [data="M 25 225 C 25 175 125 150 175 200"]
         LayoutSVGRect {rect} at (10,195) size 30x30 [stroke={[type=SOLID] [color=#000000] [stroke width=4.00]}] [fill={[type=SOLID] [color=#FFCCCC]}] [x=10.00] [y=195.00] [width=30.00] [height=30.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-14-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-14-t-expected.png
index ef1b5f1a..2c42550c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-14-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-14-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt
index abcab3ca0..b611a7a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt
@@ -6,14 +6,14 @@
       LayoutSVGText {text} at (3,9) size 364.80x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (3,9) size 364.80x45
           chunk 1 text run 1 at (3.00,45.00) startOffset 0 endOffset 19 width 364.80: "calcMode=\"discrete\""
-      LayoutSVGText {text} at (3,64) size 380.70x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (3,64) size 380.70x45
-          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 380.72: "keyTimes=\"0;.2;.4;.6\""
+      LayoutSVGText {text} at (3,64) size 381x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (3,64) size 381x45
+          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 381.00: "keyTimes=\"0;.2;.4;.6\""
       LayoutSVGContainer {g} at (10,140) size 449.80x147.78
         LayoutSVGContainer {g} at (-140,0) size 449.80x147.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,140.00)}]
-          LayoutSVGText {text} at (-140,107.59) size 140.86x40.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-140,107.59) size 140.86x40.19
-              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 140.86: "Time (s):"
+          LayoutSVGText {text} at (-140,107.59) size 141x40.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-140,107.59) size 141x40.19
+              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 141.00: "Time (s):"
           LayoutSVGText {text} at (290,107.59) size 19.80x40.19 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (290,107.59) size 19.80x40.19
               chunk 1 text run 1 at (290.00,140.00) startOffset 0 endOffset 1 width 19.80: "0"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-15-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-15-t-expected.png
index aac1980..ee85100 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-15-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-15-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt
index 85f4966..e99c6e9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt
@@ -6,14 +6,14 @@
       LayoutSVGText {text} at (3,9) size 333x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (3,9) size 333x45
           chunk 1 text run 1 at (3.00,45.00) startOffset 0 endOffset 16 width 333.00: "calcMode=\"paced\""
-      LayoutSVGText {text} at (3,64) size 391.52x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (3,64) size 391.52x45
-          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.52: "keyTimes=\"0;.25;.5;1\""
+      LayoutSVGText {text} at (3,64) size 391.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (3,64) size 391.80x45
+          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.80: "keyTimes=\"0;.25;.5;1\""
       LayoutSVGContainer {g} at (10,140) size 449.80x147.78
         LayoutSVGContainer {g} at (-140,0) size 449.80x147.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,140.00)}]
-          LayoutSVGText {text} at (-140,107.59) size 140.86x40.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-140,107.59) size 140.86x40.19
-              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 140.86: "Time (s):"
+          LayoutSVGText {text} at (-140,107.59) size 141x40.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-140,107.59) size 141x40.19
+              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 141.00: "Time (s):"
           LayoutSVGText {text} at (290,107.59) size 19.80x40.19 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (290,107.59) size 19.80x40.19
               chunk 1 text run 1 at (290.00,140.00) startOffset 0 endOffset 1 width 19.80: "0"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-16-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-16-t-expected.png
index 3d86550..79c23a9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-16-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-16-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt
index 1c8608c5..cbbbcf8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt
@@ -6,14 +6,14 @@
       LayoutSVGText {text} at (3,9) size 321.59x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (3,9) size 321.59x45
           chunk 1 text run 1 at (3.00,45.00) startOffset 0 endOffset 17 width 321.60: "calcMode=\"linear\""
-      LayoutSVGText {text} at (3,64) size 391.52x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (3,64) size 391.52x45
-          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.52: "keyTimes=\"0;.25;.5;1\""
+      LayoutSVGText {text} at (3,64) size 391.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (3,64) size 391.80x45
+          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.80: "keyTimes=\"0;.25;.5;1\""
       LayoutSVGContainer {g} at (10,140) size 449.80x147.78
         LayoutSVGContainer {g} at (-140,0) size 449.80x147.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,140.00)}]
-          LayoutSVGText {text} at (-140,107.59) size 140.86x40.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-140,107.59) size 140.86x40.19
-              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 140.86: "Time (s):"
+          LayoutSVGText {text} at (-140,107.59) size 141x40.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-140,107.59) size 141x40.19
+              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 141.00: "Time (s):"
           LayoutSVGText {text} at (290,107.59) size 19.80x40.19 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (290,107.59) size 19.80x40.19
               chunk 1 text run 1 at (290.00,140.00) startOffset 0 endOffset 1 width 19.80: "0"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-17-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-17-t-expected.png
index 7878f9b..0db55161 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-17-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-17-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt
index 56aa7f9..f23c591 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt
@@ -6,14 +6,14 @@
       LayoutSVGText {text} at (3,9) size 328.80x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (3,9) size 328.80x45
           chunk 1 text run 1 at (3.00,45.00) startOffset 0 endOffset 17 width 328.80: "calcMode=\"spline\""
-      LayoutSVGText {text} at (3,64) size 391.52x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (3,64) size 391.52x45
-          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.52: "keyTimes=\"0;.25;.5;1\""
+      LayoutSVGText {text} at (3,64) size 391.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (3,64) size 391.80x45
+          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.80: "keyTimes=\"0;.25;.5;1\""
       LayoutSVGContainer {g} at (10,140) size 449.80x147.78
         LayoutSVGContainer {g} at (-140,0) size 449.80x147.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,140.00)}]
-          LayoutSVGText {text} at (-140,107.59) size 140.86x40.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-140,107.59) size 140.86x40.19
-              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 140.86: "Time (s):"
+          LayoutSVGText {text} at (-140,107.59) size 141x40.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-140,107.59) size 141x40.19
+              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 141.00: "Time (s):"
           LayoutSVGText {text} at (290,107.59) size 19.80x40.19 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (290,107.59) size 19.80x40.19
               chunk 1 text run 1 at (290.00,140.00) startOffset 0 endOffset 1 width 19.80: "0"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-18-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-18-t-expected.png
index db36711..7a5d947c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-18-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-18-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt
index 43e228b..d54f00e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt
@@ -6,14 +6,14 @@
       LayoutSVGText {text} at (3,9) size 364.80x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (3,9) size 364.80x45
           chunk 1 text run 1 at (3.00,45.00) startOffset 0 endOffset 19 width 364.80: "calcMode=\"discrete\""
-      LayoutSVGText {text} at (3,64) size 380.70x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (3,64) size 380.70x45
-          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 380.72: "keyTimes=\"0;.2;.6;.8\""
+      LayoutSVGText {text} at (3,64) size 381x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (3,64) size 381x45
+          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 381.00: "keyTimes=\"0;.2;.6;.8\""
       LayoutSVGContainer {g} at (10,140) size 449.80x147.78
         LayoutSVGContainer {g} at (-140,0) size 449.80x147.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,140.00)}]
-          LayoutSVGText {text} at (-140,107.59) size 140.86x40.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-140,107.59) size 140.86x40.19
-              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 140.86: "Time (s):"
+          LayoutSVGText {text} at (-140,107.59) size 141x40.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-140,107.59) size 141x40.19
+              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 141.00: "Time (s):"
           LayoutSVGText {text} at (290,107.59) size 19.80x40.19 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (290,107.59) size 19.80x40.19
               chunk 1 text run 1 at (290.00,140.00) startOffset 0 endOffset 1 width 19.80: "0"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-19-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-19-t-expected.png
index f02b451..d7301fcc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-19-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-19-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt
index a66f2812..65a936a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt
@@ -6,14 +6,14 @@
       LayoutSVGText {text} at (3,9) size 321.59x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (3,9) size 321.59x45
           chunk 1 text run 1 at (3.00,45.00) startOffset 0 endOffset 17 width 321.60: "calcMode=\"linear\""
-      LayoutSVGText {text} at (3,64) size 391.52x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (3,64) size 391.52x45
-          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.52: "keyTimes=\"0;.5;.75;1\""
+      LayoutSVGText {text} at (3,64) size 391.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (3,64) size 391.80x45
+          chunk 1 text run 1 at (3.00,100.00) startOffset 0 endOffset 21 width 391.80: "keyTimes=\"0;.5;.75;1\""
       LayoutSVGContainer {g} at (10,140) size 449.80x147.78
         LayoutSVGContainer {g} at (-140,0) size 449.80x147.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,140.00)}]
-          LayoutSVGText {text} at (-140,107.59) size 140.86x40.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-140,107.59) size 140.86x40.19
-              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 140.86: "Time (s):"
+          LayoutSVGText {text} at (-140,107.59) size 141x40.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-140,107.59) size 141x40.19
+              chunk 1 text run 1 at (-140.00,140.00) startOffset 0 endOffset 9 width 141.00: "Time (s):"
           LayoutSVGText {text} at (290,107.59) size 19.80x40.19 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (290,107.59) size 19.80x40.19
               chunk 1 text run 1 at (290.00,140.00) startOffset 0 endOffset 1 width 19.80: "0"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-22-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-22-b-expected.png
index 31bee21..5d732b0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-22-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-22-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt
index 058eb46..089c43f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt
@@ -4,17 +4,17 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (25,33.39) size 400x256.61
       LayoutSVGContainer {g} at (25,33.39) size 400x256.61
-        LayoutSVGText {text} at (200,118.39) size 130.63x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (200,118.39) size 130.63x15
-            chunk 1 text run 1 at (200.00,131.00) startOffset 0 endOffset 22 width 130.64: "Yellow rect at time 0s"
+        LayoutSVGText {text} at (200,118.39) size 130.80x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (200,118.39) size 130.80x15
+            chunk 1 text run 1 at (200.00,131.00) startOffset 0 endOffset 22 width 130.80: "Yellow rect at time 0s"
         LayoutSVGRect {rect} at (200,135) size 50x50 [stroke={[type=SOLID] [color=#000000]}] [x=200.00] [y=135.00] [width=50.00] [height=50.00]
-        LayoutSVGText {text} at (141.66,90.06) size 130.63x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (141.66,90.06) size 130.63x15
-            chunk 1 text run 1 at (141.67,102.67) startOffset 0 endOffset 22 width 130.64: "Yellow rect at time 3s"
+        LayoutSVGText {text} at (141.66,90.06) size 130.80x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (141.66,90.06) size 130.80x15
+            chunk 1 text run 1 at (141.67,102.67) startOffset 0 endOffset 22 width 130.80: "Yellow rect at time 3s"
         LayoutSVGRect {rect} at (141.67,106.67) size 166.67x111.67 [stroke={[type=SOLID] [color=#0000FF]}] [x=141.67] [y=106.67] [width=166.67] [height=111.67]
-        LayoutSVGText {text} at (25,33.39) size 130.63x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25,33.39) size 130.63x15
-            chunk 1 text run 1 at (25.00,46.00) startOffset 0 endOffset 22 width 130.64: "Yellow rect at time 9s"
+        LayoutSVGText {text} at (25,33.39) size 130.80x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25,33.39) size 130.80x15
+            chunk 1 text run 1 at (25.00,46.00) startOffset 0 endOffset 22 width 130.80: "Yellow rect at time 9s"
         LayoutSVGRect {rect} at (25,50) size 400x240 [stroke={[type=SOLID] [color=#0000FF]}] [x=25.00] [y=50.00] [width=400.00] [height=240.00]
       LayoutSVGRect {rect} at (200,135) size 50x50 [opacity=0.50] [fill={[type=SOLID] [color=#FFFF00]}] [x=200.00] [y=135.00] [width=50.00] [height=50.00]
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.png
index 9f152eaa..5bfbe14 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt
index a75202ad..d375c804 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt
@@ -4,16 +4,16 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (41.30,39.24) size 278.88x245.15
-      LayoutSVGContainer {g} at (70,92.59) size 140.80x132.19
-        LayoutSVGText {text} at (70,92.59) size 140.80x22.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,92.59) size 140.80x22.19
-            chunk 1 text run 1 at (70.00,110.00) startOffset 0 endOffset 18 width 140.80: "Text from 0s to 3s"
-        LayoutSVGText {text} at (100,167.59) size 76x22.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (100,167.59) size 76x22.19
-            chunk 1 text run 1 at (100.00,185.00) startOffset 0 endOffset 10 width 76.00: "Text at 6s"
-        LayoutSVGText {text} at (100,202.59) size 76x22.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (100,202.59) size 76x22.19
-            chunk 1 text run 1 at (100.00,220.00) startOffset 0 endOffset 10 width 76.00: "Text at 9s"
+      LayoutSVGContainer {g} at (70,92.59) size 141x132.19
+        LayoutSVGText {text} at (70,92.59) size 141x22.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,92.59) size 141x22.19
+            chunk 1 text run 1 at (70.00,110.00) startOffset 0 endOffset 18 width 141.00: "Text from 0s to 3s"
+        LayoutSVGText {text} at (100,167.59) size 76.19x22.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (100,167.59) size 76.19x22.19
+            chunk 1 text run 1 at (100.00,185.00) startOffset 0 endOffset 10 width 76.20: "Text at 6s"
+        LayoutSVGText {text} at (100,202.59) size 76.19x22.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (100,202.59) size 76.19x22.19
+            chunk 1 text run 1 at (100.00,220.00) startOffset 0 endOffset 10 width 76.20: "Text at 9s"
       LayoutSVGContainer {g} at (41.30,39.24) size 278.88x245.15
         LayoutSVGText {text} at (0,-17.39) size 71.39x22.19 [transform={m=((0.87,-0.50)(0.50,0.87)) t=(50.00,90.00)}] contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,-17.39) size 71.39x22.19
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-25-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-25-t-expected.png
index 361b203..1f8eaa7a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-25-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-25-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-25-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-25-t-expected.txt
index 3e4a1fa1..4ef3b7fb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-25-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-25-t-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (20,27.39) size 405x189.59
-      LayoutSVGText {text} at (30,27.39) size 388x15.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (30,27.39) size 388x15.59
-          chunk 1 text run 1 at (30.00,40.00) startOffset 0 endOffset 68 width 388.01: "Test animation options for specifying the target attribute/property."
+      LayoutSVGText {text} at (30,27.39) size 387.59x15.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (30,27.39) size 387.59x15.59
+          chunk 1 text run 1 at (30.00,40.00) startOffset 0 endOffset 68 width 387.60: "Test animation options for specifying the target attribute/property."
       LayoutSVGContainer {g} at (20,80) size 405x86.98 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,50.00)}]
         LayoutSVGText {text} at (20,151.39) size 49.80x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (20,151.39) size 49.80x15.59
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-27-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-27-t-expected.png
index 08b4b44..d935baa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-27-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-27-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-27-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-27-t-expected.txt
index cb6622a7..eeb5ab5e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-27-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-27-t-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (16.39,24.39) size 411.11x222.59
-      LayoutSVGText {text} at (22.48,24.39) size 405.02x19.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (22.48,24.39) size 405.02x19.19
-          chunk 1 (middle anchor) text run 1 at (22.49,40.00) startOffset 0 endOffset 57 width 405.03: "Test animation options for specifying the target element."
+      LayoutSVGText {text} at (22.50,24.39) size 405x19.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (22.50,24.39) size 405x19.19
+          chunk 1 (middle anchor) text run 1 at (22.50,40.00) startOffset 0 endOffset 57 width 405.00: "Test animation options for specifying the target element."
       LayoutSVGContainer {g} at (16.39,80) size 408.61x166.98
         LayoutSVGText {text} at (16.39,231.39) size 63.59x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (16.39,231.39) size 63.59x15.59
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt
index 0000847..e543573 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt
@@ -28,9 +28,9 @@
     LayoutSVGText {text} at (384.39,133.80) size 58.80x20.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (384.39,133.80) size 58.80x20.39
         chunk 1 text run 1 at (385.00,150.00) startOffset 0 endOffset 10 width 58.20: "visibility"
-    LayoutSVGText {text} at (5,209.80) size 391.03x31.80 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,209.80) size 391.03x31.80
-        chunk 1 text run 1 at (5.00,235.00) startOffset 0 endOffset 36 width 391.05: "Test of display attribute animation."
+    LayoutSVGText {text} at (5,209.80) size 391.19x31.80 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,209.80) size 391.19x31.80
+        chunk 1 text run 1 at (5.00,235.00) startOffset 0 endOffset 36 width 391.20: "Test of display attribute animation."
     LayoutSVGText {text} at (5,248.80) size 386.39x20.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (5,248.80) size 386.39x20.39
         chunk 1 text run 1 at (5.00,265.00) startOffset 0 endOffset 55 width 386.40: "Circles with same color should be visible at same time."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt
index 59c4739..8aee128 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt
@@ -95,9 +95,9 @@
         LayoutSVGEllipse {circle} at (55,-20) size 40x40 [stroke={[type=SOLID] [color=#555555]}] [fill={[type=SOLID] [color=#CCCCCC]}] [cx=75.00] [cy=0.00] [r=20.00]
         LayoutSVGEllipse {circle} at (105,-20) size 40x40 [stroke={[type=SOLID] [color=#555555]}] [fill={[type=SOLID] [color=#CCCCCC]}] [cx=125.00] [cy=0.00] [r=20.00]
       LayoutSVGEllipse {circle} at (-20,-20) size 40x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(75.00,0.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=3.00]}] [fill={[type=SOLID] [color=#CC0066]}] [cx=0.00] [cy=0.00] [r=20.00]
-    LayoutSVGText {text} at (5,209.80) size 363.66x31.80 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,209.80) size 363.66x31.80
-        chunk 1 text run 1 at (5.00,235.00) startOffset 0 endOffset 31 width 363.66: "Test of keyPoints and keyTimes."
+    LayoutSVGText {text} at (5,209.80) size 363.59x31.80 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,209.80) size 363.59x31.80
+        chunk 1 text run 1 at (5.00,235.00) startOffset 0 endOffset 31 width 363.60: "Test of keyPoints and keyTimes."
     LayoutSVGText {text} at (5,248.80) size 378.59x20.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (5,248.80) size 378.59x20.39
         chunk 1 text run 1 at (5.00,265.00) startOffset 0 endOffset 54 width 378.60: "Number indicates the circle's passing time in seconds."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-34-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-34-t-expected.txt
index 40805eb..3ef6396 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-34-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-34-t-expected.txt
@@ -22,9 +22,9 @@
     LayoutSVGText {text} at (5,238.80) size 313.19x20.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (5,238.80) size 313.19x20.39
         chunk 1 text run 1 at (5.00,255.00) startOffset 0 endOffset 45 width 313.20: "Digit should match outline at indicated time."
-    LayoutSVGText {text} at (5,258.80) size 375.63x20.39 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,258.80) size 375.63x20.39
-        chunk 1 text run 1 at (5.00,275.00) startOffset 0 endOffset 54 width 375.63: "Filled square should follow morphing digit discretely."
+    LayoutSVGText {text} at (5,258.80) size 375.59x20.39 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,258.80) size 375.59x20.39
+        chunk 1 text run 1 at (5.00,275.00) startOffset 0 endOffset 54 width 375.60: "Filled square should follow morphing digit discretely."
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.7 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png
index 7fadf37..9e8f51b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt
index 3bee7bcf..791ad43 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt
@@ -2,13 +2,13 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGText {text} at (10,304) size 284.70x45.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,304) size 284.70x45.59
-        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 284.72: "$Revision: 1.11 $"
+    LayoutSVGText {text} at (10,304) size 285x45.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,304) size 285x45.59
+        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 285.00: "$Revision: 1.11 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
-    LayoutSVGText {text} at (128.67,10.59) size 222.63x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (128.67,10.59) size 222.63x18.59
-        chunk 1 (middle anchor) text run 1 at (128.68,25.00) startOffset 0 endOffset 32 width 222.64: "<animateTransform> on structure,"
+    LayoutSVGText {text} at (128.69,10.59) size 222.59x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (128.69,10.59) size 222.59x18.59
+        chunk 1 (middle anchor) text run 1 at (128.70,25.00) startOffset 0 endOffset 32 width 222.60: "<animateTransform> on structure,"
     LayoutSVGText {text} at (139.50,30.59) size 201x18.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (139.50,30.59) size 201x18.59
         chunk 1 (middle anchor) text run 1 at (139.50,45.00) startOffset 0 endOffset 30 width 201.00: "hyperlinking and text elements"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt
index 2ef7aaf7..a57795a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt
@@ -6,9 +6,9 @@
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.8 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
-    LayoutSVGText {text} at (120.58,10.59) size 238.83x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (120.58,10.59) size 238.83x18.59
-        chunk 1 (middle anchor) text run 1 at (120.58,25.00) startOffset 0 endOffset 33 width 238.84: "<animateTransform> shape elements"
+    LayoutSVGText {text} at (120.59,10.59) size 238.80x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (120.59,10.59) size 238.80x18.59
+        chunk 1 (middle anchor) text run 1 at (120.60,25.00) startOffset 0 endOffset 33 width 238.80: "<animateTransform> shape elements"
     LayoutSVGContainer {g} at (30,60) size 430x224.19
       LayoutSVGContainer {g} at (-30,-30) size 60x94.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(60.00,90.00)}]
         LayoutSVGPath {path} at (-30,-30) size 60x60 [stroke={[type=SOLID] [color=#FFB400]}] [fill={[type=SOLID] [color=#E6E6E6]}] [data="M 0 0 Q 30 0 30 -30 Q 0 -30 0 0 Q 0 -30 -30 -30 Q -30 0 0 0 Q -30 0 -30 30 Q 0 30 0 0 Q 0 30 30 30 Q 30 0 0 0 Z"]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-41-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-41-t-expected.png
index bf17e7f3..93d6fb7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-41-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-41-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt
index a832b86..bd6ef8f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt
@@ -5,8 +5,8 @@
     LayoutSVGText {text} at (207.30,7.59) size 65.39x22.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (207.30,7.59) size 65.39x22.19
         chunk 1 (middle anchor) text run 1 at (207.30,25.00) startOffset 0 endOffset 8 width 65.40: "graphics"
-    LayoutSVGContainer {g} at (-50.78,-29) size 410.78x241.98 [transform={m=((1.00,0.00)(0.00,1.00)) t=(80.00,75.00)}]
-      LayoutSVGContainer {g} at (-80.78,-10.19) size 80.78x213.17 [transform={m=((1.00,0.00)(0.00,1.00)) t=(30.00,10.00)}]
+    LayoutSVGContainer {g} at (-51,-29) size 411x241.98 [transform={m=((1.00,0.00)(0.00,1.00)) t=(80.00,75.00)}]
+      LayoutSVGContainer {g} at (-81,-10.19) size 81x213.17 [transform={m=((1.00,0.00)(0.00,1.00)) t=(30.00,10.00)}]
         LayoutSVGText {text} at (-14.39,-10.19) size 14.39x13.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-14.39,-10.19) size 14.39x13.19
             chunk 1 (end anchor) text run 1 at (-14.40,0.00) startOffset 0 endOffset 4 width 14.40: "fill"
@@ -28,9 +28,9 @@
         LayoutSVGText {text} at (-79.80,109.80) size 79.80x13.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-79.80,109.80) size 79.80x13.19
             chunk 1 (end anchor) text run 1 at (-79.80,120.00) startOffset 0 endOffset 17 width 79.80: "stroke-miterlimit"
-        LayoutSVGText {text} at (-80.78,129.80) size 80.78x13.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-80.78,129.80) size 80.78x13.19
-            chunk 1 (end anchor) text run 1 at (-80.78,140.00) startOffset 0 endOffset 17 width 80.78: "stroke-dashoffset"
+        LayoutSVGText {text} at (-81,129.80) size 81x13.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-81,129.80) size 81x13.19
+            chunk 1 (end anchor) text run 1 at (-81.00,140.00) startOffset 0 endOffset 17 width 81.00: "stroke-dashoffset"
         LayoutSVGText {text} at (-34.80,149.80) size 34.80x13.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-34.80,149.80) size 34.80x13.19
             chunk 1 (end anchor) text run 1 at (-34.80,160.00) startOffset 0 endOffset 7 width 34.80: "display"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt
index aa002a8..a9b9d820 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt
@@ -20,9 +20,9 @@
     LayoutSVGText {text} at (5,238.80) size 313.19x20.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (5,238.80) size 313.19x20.39
         chunk 1 text run 1 at (5.00,255.00) startOffset 0 endOffset 45 width 313.20: "Digit should match outline at indicated time."
-    LayoutSVGText {text} at (5,258.80) size 367.22x20.39 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,258.80) size 367.22x20.39
-        chunk 1 text run 1 at (5.00,275.00) startOffset 0 endOffset 54 width 367.23: "Filled circle should follow morphing digit discretely."
+    LayoutSVGText {text} at (5,258.80) size 367.19x20.39 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,258.80) size 367.19x20.39
+        chunk 1 text run 1 at (5.00,275.00) startOffset 0 endOffset 54 width 367.20: "Filled circle should follow morphing digit discretely."
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.7 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-52-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-52-t-expected.txt
index 801e0a4..b526863 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-52-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-52-t-expected.txt
@@ -35,9 +35,9 @@
         LayoutSVGText {text} at (350,22.59) size 42.59x22.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (350,22.59) size 42.59x22.19
             chunk 1 text run 1 at (350.00,40.00) startOffset 0 endOffset 5 width 42.60: "never"
-    LayoutSVGText {text} at (15,149.80) size 289.13x31.80 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (15,149.80) size 289.13x31.80
-        chunk 1 text run 1 at (15.00,175.00) startOffset 0 endOffset 26 width 289.14: "Test of Eventbase targets."
+    LayoutSVGText {text} at (15,149.80) size 289.19x31.80 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (15,149.80) size 289.19x31.80
+        chunk 1 text run 1 at (15.00,175.00) startOffset 0 endOffset 26 width 289.20: "Test of Eventbase targets."
     LayoutSVGText {text} at (15,228.80) size 330x20.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (15,228.80) size 330x20.39
         chunk 1 text run 1 at (15.00,245.00) startOffset 0 endOffset 48 width 330.00: "Note that clicking rect D should give no result."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-60-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-60-t-expected.txt
index 8e09a42..c357814e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-60-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-60-t-expected.txt
@@ -14,9 +14,9 @@
         LayoutSVGText {text} at (-64.19,-12) size 64.19x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-64.19,-12) size 64.19x15.59
             chunk 1 (end anchor) text run 1 at (-64.20,0.00) startOffset 0 endOffset 11 width 64.20: "unspecified"
-        LayoutSVGText {text} at (-31.55,13) size 31.55x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-31.55,13) size 31.55x15.59
-            chunk 1 (end anchor) text run 1 at (-31.55,25.00) startOffset 0 endOffset 6 width 31.55: "offset"
+        LayoutSVGText {text} at (-31.80,13) size 31.80x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-31.80,13) size 31.80x15.59
+            chunk 1 (end anchor) text run 1 at (-31.80,25.00) startOffset 0 endOffset 6 width 31.80: "offset"
         LayoutSVGText {text} at (-58.19,38) size 58.19x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-58.19,38) size 58.19x15.59
             chunk 1 (end anchor) text run 1 at (-58.20,50.00) startOffset 0 endOffset 10 width 58.20: "event base"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-61-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-61-t-expected.txt
index a472a8e7..c637d23 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-61-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-61-t-expected.txt
@@ -11,9 +11,9 @@
         chunk 1 (middle anchor) text run 1 at (183.90,30.00) startOffset 0 endOffset 14 width 112.20: "multiple begin"
     LayoutSVGContainer {g} at (7.41,-47) size 194.30x225.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,100.00)}]
       LayoutSVGContainer {g} at (-72.59,-12) size 72.59x165.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(80.00,25.00)}]
-        LayoutSVGText {text} at (-47.14,-12) size 47.14x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-47.14,-12) size 47.14x15.59
-            chunk 1 (end anchor) text run 1 at (-47.15,0.00) startOffset 0 endOffset 9 width 47.15: "2 offsets"
+        LayoutSVGText {text} at (-47.39,-12) size 47.39x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-47.39,-12) size 47.39x15.59
+            chunk 1 (end anchor) text run 1 at (-47.40,0.00) startOffset 0 endOffset 9 width 47.40: "2 offsets"
         LayoutSVGText {text} at (-69,13) size 69x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-69,13) size 69x15.59
             chunk 1 (end anchor) text run 1 at (-69.00,25.00) startOffset 0 endOffset 12 width 69.00: "2 sync bases"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-62-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-62-t-expected.txt
index aa045bd..d4b8ab6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-62-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-62-t-expected.txt
@@ -14,9 +14,9 @@
         LayoutSVGText {text} at (-64.19,-12) size 64.19x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-64.19,-12) size 64.19x15.59
             chunk 1 (end anchor) text run 1 at (-64.20,0.00) startOffset 0 endOffset 11 width 64.20: "unspecified"
-        LayoutSVGText {text} at (-31.55,13) size 31.55x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-31.55,13) size 31.55x15.59
-            chunk 1 (end anchor) text run 1 at (-31.55,25.00) startOffset 0 endOffset 6 width 31.55: "offset"
+        LayoutSVGText {text} at (-31.80,13) size 31.80x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-31.80,13) size 31.80x15.59
+            chunk 1 (end anchor) text run 1 at (-31.80,25.00) startOffset 0 endOffset 6 width 31.80: "offset"
         LayoutSVGText {text} at (-58.19,38) size 58.19x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-58.19,38) size 58.19x15.59
             chunk 1 (end anchor) text run 1 at (-58.20,50.00) startOffset 0 endOffset 10 width 58.20: "event base"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-63-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-63-t-expected.txt
index bf5e372c..4b270f9f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-63-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-63-t-expected.txt
@@ -11,9 +11,9 @@
         chunk 1 (middle anchor) text run 1 at (191.40,30.00) startOffset 0 endOffset 12 width 97.20: "multiple end"
     LayoutSVGContainer {g} at (7.41,-47) size 194.30x225.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,100.00)}]
       LayoutSVGContainer {g} at (-72.59,-12) size 72.59x165.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(80.00,25.00)}]
-        LayoutSVGText {text} at (-47.14,-12) size 47.14x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-47.14,-12) size 47.14x15.59
-            chunk 1 (end anchor) text run 1 at (-47.15,0.00) startOffset 0 endOffset 9 width 47.15: "2 offsets"
+        LayoutSVGText {text} at (-47.39,-12) size 47.39x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-47.39,-12) size 47.39x15.59
+            chunk 1 (end anchor) text run 1 at (-47.40,0.00) startOffset 0 endOffset 9 width 47.40: "2 offsets"
         LayoutSVGText {text} at (-69,13) size 69x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-69,13) size 69x15.59
             chunk 1 (end anchor) text run 1 at (-69.00,25.00) startOffset 0 endOffset 12 width 69.00: "2 sync bases"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-65-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-65-t-expected.txt
index 7c877fe..691f942 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-65-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-65-t-expected.txt
@@ -9,8 +9,8 @@
     LayoutSVGText {text} at (225,12.59) size 30x22.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (225,12.59) size 30x22.19
         chunk 1 (middle anchor) text run 1 at (225.00,30.00) startOffset 0 endOffset 3 width 30.00: "min"
-    LayoutSVGContainer {g} at (-21.63,13) size 277.63x215.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,50.00)}]
-      LayoutSVGContainer {g} at (-141.63,-12) size 142.22x195.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,45.00)}]
+    LayoutSVGContainer {g} at (-21.59,13) size 277.59x215.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,50.00)}]
+      LayoutSVGContainer {g} at (-141.59,-12) size 142.19x195.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,45.00)}]
         LayoutSVGText {text} at (-84,-12) size 84.59x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-84,-12) size 84.59x15.59
             chunk 1 (end anchor) text run 1 at (-84.00,0.00) startOffset 0 endOffset 14 width 84.00: "no min / media"
@@ -26,12 +26,12 @@
         LayoutSVGText {text} at (-93,88) size 93x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-93,88) size 93x15.59
             chunk 1 (end anchor) text run 1 at (-93.00,100.00) startOffset 0 endOffset 16 width 93.00: "min < repeat dur"
-        LayoutSVGText {text} at (-141.63,113) size 141.63x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-141.63,113) size 141.63x15.59
-            chunk 1 (end anchor) text run 1 at (-141.64,125.00) startOffset 0 endOffset 24 width 141.64: "min > repeat dur, remove"
-        LayoutSVGText {text} at (-132.63,168) size 132.63x15.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-132.63,168) size 132.63x15.59
-            chunk 1 (end anchor) text run 1 at (-132.64,180.00) startOffset 0 endOffset 24 width 132.64: "min > repeat dur, freeze"
+        LayoutSVGText {text} at (-141.59,113) size 141.59x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-141.59,113) size 141.59x15.59
+            chunk 1 (end anchor) text run 1 at (-141.60,125.00) startOffset 0 endOffset 24 width 141.60: "min > repeat dur, remove"
+        LayoutSVGText {text} at (-132.59,168) size 132.59x15.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-132.59,168) size 132.59x15.59
+            chunk 1 (end anchor) text run 1 at (-132.60,180.00) startOffset 0 endOffset 24 width 132.60: "min > repeat dur, freeze"
       LayoutSVGContainer {g} at (-15.59,-12) size 109.98x195.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,25.00)}]
         LayoutSVGText {text} at (-11.69,-12) size 23.39x15.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-11.69,-12) size 23.39x15.59
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-78-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-78-t-expected.png
index 97eb362f..6ed4b56 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-78-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-78-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-78-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-78-t-expected.txt
index 9933c0b..b972f50 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-78-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-78-t-expected.txt
@@ -9,8 +9,8 @@
     LayoutSVGText {text} at (207.30,7.59) size 65.39x22.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (207.30,7.59) size 65.39x22.19
         chunk 1 (middle anchor) text run 1 at (207.30,25.00) startOffset 0 endOffset 8 width 65.40: "graphics"
-    LayoutSVGContainer {g} at (-50.78,-29) size 410.78x241.98 [transform={m=((1.00,0.00)(0.00,1.00)) t=(80.00,75.00)}]
-      LayoutSVGContainer {g} at (-80.78,-10.19) size 80.78x213.17 [transform={m=((1.00,0.00)(0.00,1.00)) t=(30.00,10.00)}]
+    LayoutSVGContainer {g} at (-51,-29) size 411x241.98 [transform={m=((1.00,0.00)(0.00,1.00)) t=(80.00,75.00)}]
+      LayoutSVGContainer {g} at (-81,-10.19) size 81x213.17 [transform={m=((1.00,0.00)(0.00,1.00)) t=(30.00,10.00)}]
         LayoutSVGText {text} at (-14.39,-10.19) size 14.39x13.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-14.39,-10.19) size 14.39x13.19
             chunk 1 (end anchor) text run 1 at (-14.40,0.00) startOffset 0 endOffset 4 width 14.40: "fill"
@@ -32,9 +32,9 @@
         LayoutSVGText {text} at (-79.80,109.80) size 79.80x13.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-79.80,109.80) size 79.80x13.19
             chunk 1 (end anchor) text run 1 at (-79.80,120.00) startOffset 0 endOffset 17 width 79.80: "stroke-miterlimit"
-        LayoutSVGText {text} at (-80.78,129.80) size 80.78x13.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-80.78,129.80) size 80.78x13.19
-            chunk 1 (end anchor) text run 1 at (-80.78,140.00) startOffset 0 endOffset 17 width 80.78: "stroke-dashoffset"
+        LayoutSVGText {text} at (-81,129.80) size 81x13.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-81,129.80) size 81x13.19
+            chunk 1 (end anchor) text run 1 at (-81.00,140.00) startOffset 0 endOffset 17 width 81.00: "stroke-dashoffset"
         LayoutSVGText {text} at (-34.80,149.80) size 34.80x13.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-34.80,149.80) size 34.80x13.19
             chunk 1 (end anchor) text run 1 at (-34.80,160.00) startOffset 0 endOffset 7 width 34.80: "display"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt
index 66a882b0..57b62e0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt
@@ -6,9 +6,9 @@
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.7 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
-    LayoutSVGText {text} at (172.17,10.59) size 135.63x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (172.17,10.59) size 135.63x18.59
-        chunk 1 (middle anchor) text run 1 at (172.18,25.00) startOffset 0 endOffset 18 width 135.64: "<animateTransform>"
+    LayoutSVGText {text} at (172.19,10.59) size 135.59x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (172.19,10.59) size 135.59x18.59
+        chunk 1 (middle anchor) text run 1 at (172.20,25.00) startOffset 0 endOffset 18 width 135.60: "<animateTransform>"
     LayoutSVGHiddenContainer {defs} at (-45,-45) size 90x90
       LayoutSVGContainer {g} at (-45,-45) size 90x90
         LayoutSVGEllipse {circle} at (-40,-40) size 80x80 [stroke={[type=SOLID] [color=#C0C0C0] [stroke width=2.00]}] [cx=0.00] [cy=0.00] [r=40.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt
index 8f46f7f..06ddf84 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt
@@ -6,9 +6,9 @@
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.6 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
-    LayoutSVGText {text} at (172.17,10.59) size 135.63x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (172.17,10.59) size 135.63x18.59
-        chunk 1 (middle anchor) text run 1 at (172.18,25.00) startOffset 0 endOffset 18 width 135.64: "<animateTransform>"
+    LayoutSVGText {text} at (172.19,10.59) size 135.59x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (172.19,10.59) size 135.59x18.59
+        chunk 1 (middle anchor) text run 1 at (172.20,25.00) startOffset 0 endOffset 18 width 135.60: "<animateTransform>"
     LayoutSVGHiddenContainer {defs} at (-45,-45) size 90x90
       LayoutSVGContainer {g} at (-45,-45) size 90x90
         LayoutSVGEllipse {circle} at (-40,-40) size 80x80 [stroke={[type=SOLID] [color=#C0C0C0] [stroke width=2.00]}] [cx=0.00] [cy=0.00] [r=40.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png
index 0004b82..9b893f0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt
index d857b4be..b1d4538b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt
@@ -6,9 +6,9 @@
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.7 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
-    LayoutSVGText {text} at (172.17,10.59) size 135.63x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (172.17,10.59) size 135.63x18.59
-        chunk 1 (middle anchor) text run 1 at (172.18,25.00) startOffset 0 endOffset 18 width 135.64: "<animateTransform>"
+    LayoutSVGText {text} at (172.19,10.59) size 135.59x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (172.19,10.59) size 135.59x18.59
+        chunk 1 (middle anchor) text run 1 at (172.20,25.00) startOffset 0 endOffset 18 width 135.60: "<animateTransform>"
     LayoutSVGHiddenContainer {defs} at (-45,-45) size 90x90
       LayoutSVGContainer {g} at (-45,-45) size 90x90
         LayoutSVGEllipse {circle} at (-40,-40) size 80x80 [stroke={[type=SOLID] [color=#C0C0C0] [stroke width=2.00]}] [cx=0.00] [cy=0.00] [r=40.00]
@@ -26,14 +26,14 @@
         LayoutSVGText {text} at (-20.09,60.59) size 40.19x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-20.09,60.59) size 40.19x18.59
             chunk 1 (middle anchor) text run 1 at (-20.10,75.00) startOffset 0 endOffset 6 width 40.20: "center"
-      LayoutSVGContainer {g} at (-55.34,-21.21) size 110.70x100.40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(180.00,90.00)}]
+      LayoutSVGContainer {g} at (-55.50,-21.21) size 111x100.40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(180.00,90.00)}]
         LayoutSVGRect {rect} at (-15,-15) size 30x30 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#808080] [stroke width=4.00]}] [fill={[type=SOLID] [color=#E6E6E6]}] [x=-15.00] [y=-15.00] [width=30.00] [height=30.00]
         LayoutSVGRect {rect} at (-15,-15) size 30x30 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#FFB400] [stroke width=4.00]}] [x=-15.00] [y=-15.00] [width=30.00] [height=30.00]
         LayoutSVGRect {rect} at (-15,-15) size 30x30 [transform={m=((0.38,0.92)(-0.92,0.38)) t=(-11.56,2.30)}] [stroke={[type=SOLID] [color=#FFB400]}] [x=-15.00] [y=-15.00] [width=30.00] [height=30.00]
         LayoutSVGRect {rect} at (-15,-15) size 30x30 [transform={m=((0.00,1.00)(-1.00,0.00)) t=(-30.00,0.00)}] [stroke={[type=SOLID] [color=#FFB400]}] [x=-15.00] [y=-15.00] [width=30.00] [height=30.00]
-        LayoutSVGText {text} at (-55.34,45.59) size 110.70x18.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-55.34,45.59) size 110.70x18.59
-            chunk 1 (middle anchor) text run 1 at (-55.36,60.00) startOffset 0 endOffset 18 width 110.71: "different rotation"
+        LayoutSVGText {text} at (-55.50,45.59) size 111x18.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-55.50,45.59) size 111x18.59
+            chunk 1 (middle anchor) text run 1 at (-55.50,60.00) startOffset 0 endOffset 18 width 111.00: "different rotation"
         LayoutSVGText {text} at (-23.09,60.59) size 46.19x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-23.09,60.59) size 46.19x18.59
             chunk 1 (middle anchor) text run 1 at (-23.10,75.00) startOffset 0 endOffset 7 width 46.20: "centers"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-83-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-83-t-expected.png
index bdf0cbc..9012060 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-83-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-83-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt
index fe386c5b..c164f25 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt
@@ -44,9 +44,9 @@
         LayoutSVGText {text} at (-71.39,45.59) size 142.80x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-71.39,45.59) size 142.80x18.59
             chunk 1 (middle anchor) text run 1 at (-71.40,60.00) startOffset 0 endOffset 21 width 142.80: "#4: from-to animation"
-        LayoutSVGText {text} at (-68.17,60.59) size 136.36x18.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-68.17,60.59) size 136.36x18.59
-            chunk 1 (middle anchor) text run 1 at (-68.18,75.00) startOffset 0 endOffset 20 width 136.36: "compatible H/h, V/v,"
+        LayoutSVGText {text} at (-68.09,60.59) size 136.19x18.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-68.09,60.59) size 136.19x18.59
+            chunk 1 (middle anchor) text run 1 at (-68.10,75.00) startOffset 0 endOffset 20 width 136.20: "compatible H/h, V/v,"
         LayoutSVGText {text} at (-41.09,75.59) size 82.19x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-41.09,75.59) size 82.19x18.59
             chunk 1 (middle anchor) text run 1 at (-41.10,90.00) startOffset 0 endOffset 12 width 82.20: "L/l segments"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt
index 5ba071a7..b18b182b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt
@@ -14,14 +14,14 @@
             LayoutSVGEllipse {circle} at (10.50,10.50) size 3x3 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
             LayoutSVGEllipse {circle} at (15.50,10.50) size 3x3 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
             LayoutSVGPath {path} at (10,19) size 10x4 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [data="M 10 19 L 15 23 L 20 19"]
-        LayoutSVGText {text} at (10,102.19) size 39.05x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,102.19) size 39.05x10.19
-            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 39.06: "Viewport 1"
+        LayoutSVGText {text} at (10,102.19) size 39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,102.19) size 39x10.19
+            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 39.00: "Viewport 1"
         LayoutSVGContainer {g} at (0.50,0.50) size 49x29 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,120.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 49x29 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=49.00] [height=29.00]
-        LayoutSVGText {text} at (10,172.19) size 39.05x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,172.19) size 39.05x10.19
-            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 39.06: "Viewport 2"
+        LayoutSVGText {text} at (10,172.19) size 39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,172.19) size 39x10.19
+            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 39.00: "Viewport 2"
         LayoutSVGContainer {g} at (0.50,0.50) size 29x59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,190.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 29x59 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=29.00] [height=59.00]
         LayoutSVGContainer {g} at (0,-27.80) size 119.50x107.42 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,50.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt
index bbe9167..541748b5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt
@@ -9,14 +9,14 @@
             chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 13 width 42.00: "Raster to fit"
         LayoutSVGContainer {g} at (0,0) size 40x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,40.00)}]
           LayoutSVGImage {image} at (0,0) size 40x40
-        LayoutSVGText {text} at (10,102.19) size 39.05x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,102.19) size 39.05x10.19
-            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 39.06: "Viewport 1"
+        LayoutSVGText {text} at (10,102.19) size 39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,102.19) size 39x10.19
+            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 39.00: "Viewport 1"
         LayoutSVGContainer {g} at (0.50,0.50) size 49x29 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,120.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 49x29 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=49.00] [height=29.00]
-        LayoutSVGText {text} at (10,172.19) size 39.05x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,172.19) size 39.05x10.19
-            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 39.06: "Viewport 2"
+        LayoutSVGText {text} at (10,172.19) size 39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,172.19) size 39x10.19
+            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 39.00: "Viewport 2"
         LayoutSVGContainer {g} at (0.50,0.50) size 29x59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,190.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 29x59 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=29.00] [height=59.00]
         LayoutSVGContainer {g} at (0,-27.80) size 120x107.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,50.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.png
index 6882c90..41e1c613 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt
index ddd706df..0245f745 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 480x360
   LayoutSVGRoot {svg} at (0,0) size 480x360
-    LayoutSVGContainer {g} at (68.64,15) size 342.70x255.23
-      LayoutSVGContainer {g} at (68.64,15) size 342.70x18
+    LayoutSVGContainer {g} at (68.50,15) size 343x255.23
+      LayoutSVGContainer {g} at (68.50,15) size 343x18
         LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-        LayoutSVGText {text} at (68.64,15) size 342.70x18 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (68.64,15) size 342.70x18
-            chunk 1 (middle anchor) text run 1 at (68.64,30.00) startOffset 0 endOffset 51 width 342.71: "Pie chart built from data in a different namespace."
+        LayoutSVGText {text} at (68.50,15) size 343x18 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (68.50,15) size 343x18
+            chunk 1 (middle anchor) text run 1 at (68.50,30.00) startOffset 0 endOffset 51 width 343.00: "Pie chart built from data in a different namespace."
       LayoutSVGContainer {g} at (139.62,69.70) size 227.38x200.53
         LayoutSVGPath {path} at (240,92) size 100x78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(27.00,-13.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=3.00]}] [fill={[type=SOLID] [color=#FF8888]}] [data="M 240 170 L 340 170 A 100 100 0 0 0 303 92 Z"]
         LayoutSVGText {text} at (285,129) size 28x16 [transform={m=((1.00,0.00)(0.00,1.00)) t=(27.00,-13.00)}] contains 1 chunk(s)
@@ -18,9 +18,9 @@
           LayoutSVGInlineText {#text} at (229,92) size 34x16
             chunk 1 (middle anchor) text run 1 at (229.00,105.00) startOffset 0 endOffset 5 width 34.00: "North"
         LayoutSVGPath {path} at (139.62,82) size 100.38x128 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#929292]}] [data="M 240 170 L 192 82 A 100 100 0 0 0 148 210 Z"]
-        LayoutSVGText {text} at (162.13,136) size 31.73x16 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (162.13,136) size 31.73x16
-            chunk 1 (middle anchor) text run 1 at (162.13,149.00) startOffset 0 endOffset 4 width 31.75: "West"
+        LayoutSVGText {text} at (162,136) size 32x16 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (162,136) size 32x16
+            chunk 1 (middle anchor) text run 1 at (162.00,149.00) startOffset 0 endOffset 4 width 32.00: "West"
         LayoutSVGPath {path} at (148,170) size 92x98 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#B6B6B6]}] [data="M 240 170 L 148 210 A 100 100 0 0 0 219 268 Z"]
         LayoutSVGText {text} at (176,207) size 46x16 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (176,207) size 46x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-color-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-color-01-b-expected.png
index 101c81c..f8ad546 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-color-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-color-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt
index 8b557151..889bd65 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt
@@ -28,24 +28,24 @@
               chunk 1 text run 1 at (20.00,95.00) startOffset 0 endOffset 10 width 200.69: "Unfiltered"
           LayoutSVGRect {rect} at (20,120) size 760x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=120.00] [width=760.00] [height=40.00]
             [filter="Matrix"] LayoutSVGResourceFilter {filter} at (20,120) size 760x40
-          LayoutSVGText {text} at (20,154.64) size 679.47x48.61 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,154.64) size 679.47x48.61
-              chunk 1 text run 1 at (20.00,195.00) startOffset 0 endOffset 32 width 679.48: "type=\"matrix\" (grayscale matrix)"
+          LayoutSVGText {text} at (20,154.64) size 679.64x48.61 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,154.64) size 679.64x48.61
+              chunk 1 text run 1 at (20.00,195.00) startOffset 0 endOffset 32 width 679.66: "type=\"matrix\" (grayscale matrix)"
           LayoutSVGRect {rect} at (20,220) size 760x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=220.00] [width=760.00] [height=40.00]
             [filter="Saturate40"] LayoutSVGResourceFilter {filter} at (-18,218) size 836x44
-          LayoutSVGText {text} at (20,254.64) size 578.66x48.61 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,254.64) size 578.66x48.61
-              chunk 1 text run 1 at (20.00,295.00) startOffset 0 endOffset 27 width 578.67: "type=\"saturate\" values=\".4\""
+          LayoutSVGText {text} at (20,254.64) size 578.27x48.61 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,254.64) size 578.27x48.61
+              chunk 1 text run 1 at (20.00,295.00) startOffset 0 endOffset 27 width 578.28: "type=\"saturate\" values=\".4\""
           LayoutSVGRect {rect} at (20,320) size 760x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=320.00] [width=760.00] [height=40.00]
             [filter="HueRotate90"] LayoutSVGResourceFilter {filter} at (-18,318) size 836x44
-          LayoutSVGText {text} at (20,354.64) size 630.11x48.61 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,354.64) size 630.11x48.61
-              chunk 1 text run 1 at (20.00,395.00) startOffset 0 endOffset 28 width 630.12: "type=\"hueRotate\" values=\"90\""
+          LayoutSVGText {text} at (20,354.64) size 630x48.61 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,354.64) size 630x48.61
+              chunk 1 text run 1 at (20.00,395.00) startOffset 0 endOffset 28 width 630.00: "type=\"hueRotate\" values=\"90\""
           LayoutSVGRect {rect} at (20,420) size 760x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=420.00] [width=760.00] [height=40.00]
             [filter="LuminanceToAlpha"] LayoutSVGResourceFilter {filter} at (-18,418) size 836x44
-          LayoutSVGText {text} at (20,454.64) size 525.53x48.61 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,454.64) size 525.53x48.61
-              chunk 1 text run 1 at (20.00,495.00) startOffset 0 endOffset 23 width 525.53: "type=\"luminanceToAlpha\""
+          LayoutSVGText {text} at (20,454.64) size 525.52x48.61 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,454.64) size 525.52x48.61
+              chunk 1 text run 1 at (20.00,495.00) startOffset 0 endOffset 23 width 525.52: "type=\"luminanceToAlpha\""
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.6 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png
index d106386a..6f8c2c85 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt
index 8d574274..5bd0c773 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt
@@ -58,18 +58,18 @@
             [feImage image-size="150x150"]
       LayoutSVGContainer {g} at (1,1) size 1098x723 [transform={m=((0.40,0.00)(0.00,0.40)) t=(5.00,70.00)}]
         LayoutSVGRect {rect} at (1,1) size 1098x723 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=1098.00] [height=723.00]
-        LayoutSVGText {text} at (100,15) size 767.73x72 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (100,15) size 767.73x72
-            chunk 1 text run 1 at (100.00,75.00) startOffset 0 endOffset 26 width 767.74: "on first Row : opacity 1.0"
-        LayoutSVGText {text} at (100,120) size 794.70x72 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (100,120) size 794.70x72
-            chunk 1 text run 1 at (100.00,180.00) startOffset 0 endOffset 25 width 794.71: "on second row opacity 0.5"
+        LayoutSVGText {text} at (100,15) size 768x72 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (100,15) size 768x72
+            chunk 1 text run 1 at (100.00,75.00) startOffset 0 endOffset 26 width 768.00: "on first Row : opacity 1.0"
+        LayoutSVGText {text} at (100,120) size 795x72 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (100,120) size 795x72
+            chunk 1 text run 1 at (100.00,180.00) startOffset 0 endOffset 25 width 795.00: "on second row opacity 0.5"
         LayoutSVGContainer {g} at (0,0) size 150x412 [transform={m=((1.00,0.00)(0.00,1.00)) t=(15.00,230.00)}]
           LayoutSVGRect {rect} at (0,0) size 150x150 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=150.00] [height=150.00]
             [filter="over"] LayoutSVGResourceFilter {filter} at (0,0) size 150x150
-          LayoutSVGText {text} at (10,340) size 132.53x72 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,340) size 132.53x72
-              chunk 1 text run 1 at (10.00,400.00) startOffset 0 endOffset 4 width 132.53: "over"
+          LayoutSVGText {text} at (10,340) size 133.50x72 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,340) size 133.50x72
+              chunk 1 text run 1 at (10.00,400.00) startOffset 0 endOffset 4 width 133.50: "over"
         LayoutSVGContainer {g} at (0,0) size 150x150 [transform={m=((1.00,0.00)(0.00,1.00)) t=(15.00,430.00)}]
           LayoutSVGRect {rect} at (0,0) size 150x150 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=150.00] [height=150.00]
             [filter="over50"] LayoutSVGResourceFilter {filter} at (0,0) size 150x150
@@ -103,9 +103,9 @@
         LayoutSVGContainer {g} at (0,0) size 150x412 [transform={m=((1.00,0.00)(0.00,1.00)) t=(735.00,230.00)}]
           LayoutSVGRect {rect} at (0,0) size 150x150 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=150.00] [height=150.00]
             [filter="xor"] LayoutSVGResourceFilter {filter} at (0,0) size 150x150
-          LayoutSVGText {text} at (10,340) size 96.80x72 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,340) size 96.80x72
-              chunk 1 text run 1 at (10.00,400.00) startOffset 0 endOffset 3 width 96.80: "xor"
+          LayoutSVGText {text} at (10,340) size 97.50x72 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,340) size 97.50x72
+              chunk 1 text run 1 at (10.00,400.00) startOffset 0 endOffset 3 width 97.50: "xor"
         LayoutSVGContainer {g} at (0,0) size 150x150 [transform={m=((1.00,0.00)(0.00,1.00)) t=(735.00,430.00)}]
           LayoutSVGRect {rect} at (0,0) size 150x150 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=150.00] [height=150.00]
             [filter="xor50"] LayoutSVGResourceFilter {filter} at (0,0) size 150x150
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt
index d961896..f77fbbe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt
@@ -39,24 +39,24 @@
           LayoutSVGRect {rect} at (1,1) size 628x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=628.00] [height=418.00]
           LayoutSVGRect {rect} at (10,10) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=10.00] [y=10.00] [width=580.00] [height=40.00]
             [filter="Identity"] LayoutSVGResourceFilter {filter} at (10,10) size 580x40
-          LayoutSVGText {text} at (10,48.91) size 201.30x36.95 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,48.91) size 201.30x36.95
-              chunk 1 text run 1 at (10.00,80.00) startOffset 0 endOffset 14 width 201.31: "type: identity"
+          LayoutSVGText {text} at (10,48.91) size 201.59x36.95 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,48.91) size 201.59x36.95
+              chunk 1 text run 1 at (10.00,80.00) startOffset 0 endOffset 14 width 201.60: "type: identity"
           LayoutSVGRect {rect} at (10,110) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=10.00] [y=110.00] [width=580.00] [height=40.00]
             [filter="Table"] LayoutSVGResourceFilter {filter} at (10,110) size 580x40
-          LayoutSVGText {text} at (10,148.91) size 163.64x36.95 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,148.91) size 163.64x36.95
-              chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 11 width 163.65: "type: table"
+          LayoutSVGText {text} at (10,148.91) size 163.80x36.95 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,148.91) size 163.80x36.95
+              chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 11 width 163.80: "type: table"
           LayoutSVGRect {rect} at (10,210) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=10.00] [y=210.00] [width=580.00] [height=40.00]
             [filter="Linear"] LayoutSVGResourceFilter {filter} at (10,210) size 580x40
-          LayoutSVGText {text} at (10,248.91) size 593.72x36.95 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,248.91) size 593.72x36.95
-              chunk 1 text run 1 at (10.00,280.00) startOffset 0 endOffset 40 width 593.73: "type:linear slope:.5 intercepts:.25/0/.5"
+          LayoutSVGText {text} at (10,248.91) size 593.88x36.95 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,248.91) size 593.88x36.95
+              chunk 1 text run 1 at (10.00,280.00) startOffset 0 endOffset 40 width 593.88: "type:linear slope:.5 intercepts:.25/0/.5"
           LayoutSVGRect {rect} at (10,310) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=10.00] [y=310.00] [width=580.00] [height=40.00]
             [filter="Gamma"] LayoutSVGResourceFilter {filter} at (10,310) size 580x40
-          LayoutSVGText {text} at (10,348.91) size 587x36.95 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,348.91) size 587x36.95
-              chunk 1 text run 1 at (10.00,380.00) startOffset 0 endOffset 34 width 587.01: "type: gamma ampl:2 exponents:5/3/1"
+          LayoutSVGText {text} at (10,348.91) size 587.16x36.95 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,348.91) size 587.16x36.95
+              chunk 1 text run 1 at (10.00,380.00) startOffset 0 endOffset 34 width 587.16: "type: gamma ampl:2 exponents:5/3/1"
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.6 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-conv-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-conv-01-f-expected.txt
index edb2db8..6441f91c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-conv-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-conv-01-f-expected.txt
@@ -2,8 +2,8 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 480x360
   LayoutSVGRoot {svg} at (0,0) size 480x360
-    LayoutSVGContainer {g} at (30,45) size 409.22x181
-      LayoutSVGContainer {g} at (10,5) size 409.22x181 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,40.00)}]
+    LayoutSVGContainer {g} at (30,45) size 409x181
+      LayoutSVGContainer {g} at (10,5) size 409x181 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,40.00)}]
         LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
           LayoutSVGResourceFilter {filter} [id="convolve1"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
             [feConvolveMatrix order="width=3 height=3" kernelMatrix="[0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11]" divisor="1.00" bias="0.00" target="(1,1)" edgeMode="NONE" preserveAlpha="0"]
@@ -23,7 +23,7 @@
           LayoutSVGResourceFilter {filter} [id="convolve6"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
             [feConvolveMatrix order="width=1 height=3" kernelMatrix="[0.33, 0.33, 0.33]" divisor="1.00" bias="0.00" target="(0,1)" edgeMode="NONE" preserveAlpha="0"]
               [SourceGraphic]
-        LayoutSVGContainer {g} at (10,5) size 409.22x181
+        LayoutSVGContainer {g} at (10,5) size 409x181
           LayoutSVGText {text} at (10,5) size 62x19 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (10,5) size 62x19
               chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 10 width 62.00: "Blur (3x3)"
@@ -54,9 +54,9 @@
           LayoutSVGContainer {g} at (10,30) size 50x63 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,93.00)}]
             LayoutSVGImage {image} at (10,30) size 50x63
               [filter="convolve5"] LayoutSVGResourceFilter {filter} at (10,30) size 50x63
-          LayoutSVGText {text} at (10,5) size 109.22x19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,93.00)}] contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,5) size 109.22x19
-              chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 19 width 109.23: "Vertical blur (1x3)"
+          LayoutSVGText {text} at (10,5) size 109x19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,93.00)}] contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,5) size 109x19
+              chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 19 width 109.00: "Vertical blur (1x3)"
           LayoutSVGContainer {g} at (10,30) size 50x63 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,93.00)}]
             LayoutSVGImage {image} at (10,30) size 50x63
               [filter="convolve6"] LayoutSVGResourceFilter {filter} at (10,30) size 50x63
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt
index 6df431b..bd8a6299 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt
@@ -2,7 +2,7 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 480x360
   LayoutSVGRoot {svg} at (0,0) size 480x360
-    LayoutSVGContainer {g} at (90,18) size 316.22x232
+    LayoutSVGContainer {g} at (90,18) size 316x232
       LayoutSVGText {text} at (145,18) size 137x15 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (145,18) size 137x15
           chunk 1 text run 1 at (145.00,30.00) startOffset 0 endOffset 26 width 137.00: "Filters: feDiffuseLighting"
@@ -34,30 +34,30 @@
         LayoutSVGResourceFilter {filter} [id="lightingColorC"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
           [feDiffuseLighting surfaceScale="10.00" diffuseConstant="1.00"]
             [SourceGraphic]
-      LayoutSVGContainer {g} at (90,10) size 278.22x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,50.00)}]
-        LayoutSVGText {text} at (90,10) size 278.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (90,10) size 278.22x19
-            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 46 width 278.23: "Various values for surfaceScale: 1, 10 and -10"
+      LayoutSVGContainer {g} at (90,10) size 278x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,50.00)}]
+        LayoutSVGText {text} at (90,10) size 278x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (90,10) size 278x19
+            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 46 width 278.00: "Various values for surfaceScale: 1, 10 and -10"
         LayoutSVGImage {image} at (90,30) size 50x30
           [filter="surfaceScaleA"] LayoutSVGResourceFilter {filter} at (90,30) size 50x30
         LayoutSVGImage {image} at (160,30) size 50x30
           [filter="surfaceScaleB"] LayoutSVGResourceFilter {filter} at (160,30) size 50x30
         LayoutSVGImage {image} at (230,30) size 50x30
           [filter="surfaceScaleC"] LayoutSVGResourceFilter {filter} at (230,30) size 50x30
-      LayoutSVGContainer {g} at (90,10) size 278.94x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,120.00)}]
-        LayoutSVGText {text} at (90,10) size 278.94x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (90,10) size 278.94x19
-            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 47 width 278.94: "Various values for diffuseConstants: 0, 1 and 2"
+      LayoutSVGContainer {g} at (90,10) size 279x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,120.00)}]
+        LayoutSVGText {text} at (90,10) size 279x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (90,10) size 279x19
+            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 47 width 279.00: "Various values for diffuseConstants: 0, 1 and 2"
         LayoutSVGImage {image} at (90,30) size 50x30
           [filter="diffuseConstantA"] LayoutSVGResourceFilter {filter} at (90,30) size 50x30
         LayoutSVGImage {image} at (160,30) size 50x30
           [filter="diffuseConstantB"] LayoutSVGResourceFilter {filter} at (160,30) size 50x30
         LayoutSVGImage {image} at (230,30) size 50x30
           [filter="diffuseConstantC"] LayoutSVGResourceFilter {filter} at (230,30) size 50x30
-      LayoutSVGContainer {g} at (90,10) size 316.22x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,190.00)}]
-        LayoutSVGText {text} at (90,10) size 316.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (90,10) size 316.22x19
-            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 55 width 316.23: "Various values for lighting color: red, yellow and blue"
+      LayoutSVGContainer {g} at (90,10) size 316x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,190.00)}]
+        LayoutSVGText {text} at (90,10) size 316x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (90,10) size 316x19
+            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 55 width 316.00: "Various values for lighting color: red, yellow and blue"
         LayoutSVGImage {image} at (90,30) size 50x30
           [filter="lightingColorA"] LayoutSVGResourceFilter {filter} at (90,30) size 50x30
         LayoutSVGImage {image} at (160,30) size 50x30
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-light-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-light-01-f-expected.txt
index 5b0a477..e66b0cd9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-light-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-light-01-f-expected.txt
@@ -2,7 +2,7 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (70,8) size 435.13x267
+    LayoutSVGContainer {g} at (70,8) size 435x267
       LayoutSVGText {text} at (112.50,8) size 255x15 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (112.50,8) size 255x15
           chunk 1 (middle anchor) text run 1 at (112.50,20.00) startOffset 0 endOffset 50 width 255.00: "Filters: feDistantLight, fePointLight, feSpotLight"
@@ -44,9 +44,9 @@
           [feDiffuseLighting surfaceScale="10.00" diffuseConstant="1.00"]
             [SourceGraphic]
       LayoutSVGContainer {g} at (70,-5) size 335x65 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,40.00)}]
-        LayoutSVGText {text} at (70,-5) size 326.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,-5) size 326.22x19
-            chunk 1 text run 1 at (70.00,10.00) startOffset 0 endOffset 55 width 326.23: "Various values for feDistantLight azimuth and elevation"
+        LayoutSVGText {text} at (70,-5) size 326x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,-5) size 326x19
+            chunk 1 text run 1 at (70.00,10.00) startOffset 0 endOffset 55 width 326.00: "Various values for feDistantLight azimuth and elevation"
         LayoutSVGText {text} at (70,10) size 34x19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (70,10) size 34x19
             chunk 1 text run 1 at (70.00,25.00) startOffset 0 endOffset 6 width 34.00: "(0, 0)"
@@ -68,9 +68,9 @@
         LayoutSVGImage {image} at (355,30) size 50x30
           [filter="distantLightD"] LayoutSVGResourceFilter {filter} at (355,30) size 50x30
       LayoutSVGContainer {g} at (70,-5) size 359x34 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,120.00)}]
-        LayoutSVGText {text} at (70,-5) size 254.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,-5) size 254.22x19
-            chunk 1 text run 1 at (70.00,10.00) startOffset 0 endOffset 44 width 254.23: "Various values for fePointLight's x, y and z"
+        LayoutSVGText {text} at (70,-5) size 254x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,-5) size 254x19
+            chunk 1 text run 1 at (70.00,10.00) startOffset 0 endOffset 44 width 254.00: "Various values for fePointLight's x, y and z"
         LayoutSVGText {text} at (70,10) size 58x19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (70,10) size 58x19
             chunk 1 text run 1 at (70.00,25.00) startOffset 0 endOffset 10 width 58.00: "(0, 0, 10)"
@@ -92,10 +92,10 @@
           [filter="pointLightC"] LayoutSVGResourceFilter {filter} at (0,0) size 50x30
         LayoutSVGImage {image} at (0,0) size 50x30 [transform={m=((1.00,0.00)(0.00,1.00)) t=(355.00,150.00)}]
           [filter="pointLightD"] LayoutSVGResourceFilter {filter} at (0,0) size 50x30
-      LayoutSVGContainer {g} at (70,-15) size 435.13x49 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,210.00)}]
-        LayoutSVGText {text} at (70,-15) size 435.13x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (70,-15) size 435.13x19
-            chunk 1 text run 1 at (70.00,0.00) startOffset 0 endOffset 73 width 435.13: "Various values for feSpotLight's x, y, z, pointsAtX, pointsAtY, pointsAtZ"
+      LayoutSVGContainer {g} at (70,-15) size 435x49 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,210.00)}]
+        LayoutSVGText {text} at (70,-15) size 435x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (70,-15) size 435x19
+            chunk 1 text run 1 at (70.00,0.00) startOffset 0 endOffset 73 width 435.00: "Various values for feSpotLight's x, y, z, pointsAtX, pointsAtY, pointsAtZ"
         LayoutSVGText {text} at (70,0) size 66x19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (70,0) size 66x19
             chunk 1 text run 1 at (70.00,15.00) startOffset 0 endOffset 11 width 66.00: "(25, 0, 25)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png
index b3bbdaf9..8240b8f5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt
index e4e19c7..ed566ec6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 480x360
   LayoutSVGRoot {svg} at (0,0) size 480x360
     LayoutSVGContainer {g} at (38.58,1) size 392.73x293
-      LayoutSVGText {text} at (158.64,1) size 162.70x19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (158.64,1) size 162.70x19
-          chunk 1 (middle anchor) text run 1 at (158.64,16.00) startOffset 0 endOffset 27 width 162.71: "Filter Effect: feMorphology"
+      LayoutSVGText {text} at (158.50,1) size 163x19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (158.50,1) size 163x19
+          chunk 1 (middle anchor) text run 1 at (158.50,16.00) startOffset 0 endOffset 27 width 163.00: "Filter Effect: feMorphology"
       LayoutSVGContainer {g} at (38.58,28.58) size 392.73x271.42 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,-6.00)}]
         LayoutSVGHiddenContainer {defs} at (3.59,3.58) size 137.73x116.11
           LayoutSVGResourceFilter {filter} [id="erode1"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-specular-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-specular-01-f-expected.txt
index b345021..dc9e288 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-specular-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-specular-01-f-expected.txt
@@ -2,7 +2,7 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 480x360
   LayoutSVGRoot {svg} at (0,0) size 480x360
-    LayoutSVGContainer {g} at (90,8) size 316.22x282
+    LayoutSVGContainer {g} at (90,8) size 316x282
       LayoutSVGText {text} at (168.50,8) size 143x15 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (168.50,8) size 143x15
           chunk 1 (middle anchor) text run 1 at (168.50,20.00) startOffset 0 endOffset 27 width 143.00: "Filters: feSpecularLighting"
@@ -44,9 +44,9 @@
           [feSpecularLighting surfaceScale="10.00" specualConstant="1.00" specularExponent="1.00"]
             [SourceGraphic]
       LayoutSVGContainer {g} at (90,10) size 280x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,20.00)}]
-        LayoutSVGText {text} at (90,10) size 278.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (90,10) size 278.22x19
-            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 46 width 278.23: "Various values for surfaceScale: 1, 10 and -10"
+        LayoutSVGText {text} at (90,10) size 278x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (90,10) size 278x19
+            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 46 width 278.00: "Various values for surfaceScale: 1, 10 and -10"
         LayoutSVGContainer {g} at (90,30) size 280x30
           LayoutSVGRect {rect} at (90,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=90.00] [y=30.00] [width=50.00] [height=30.00]
           LayoutSVGRect {rect} at (205,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=205.00] [y=30.00] [width=50.00] [height=30.00]
@@ -57,10 +57,10 @@
           [filter="surfaceScaleB"] LayoutSVGResourceFilter {filter} at (205,30) size 50x30
         LayoutSVGImage {image} at (320,30) size 50x30
           [filter="surfaceScaleC"] LayoutSVGResourceFilter {filter} at (320,30) size 50x30
-      LayoutSVGContainer {g} at (90,10) size 290.22x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,90.00)}]
-        LayoutSVGText {text} at (90,10) size 290.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (90,10) size 290.22x19
-            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 48 width 290.23: "Various values for specularConstants: 0, 1 and 2"
+      LayoutSVGContainer {g} at (90,10) size 290x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,90.00)}]
+        LayoutSVGText {text} at (90,10) size 290x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (90,10) size 290x19
+            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 48 width 290.00: "Various values for specularConstants: 0, 1 and 2"
         LayoutSVGContainer {g} at (90,30) size 280x30
           LayoutSVGRect {rect} at (90,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=90.00] [y=30.00] [width=50.00] [height=30.00]
           LayoutSVGRect {rect} at (205,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=205.00] [y=30.00] [width=50.00] [height=30.00]
@@ -71,10 +71,10 @@
           [filter="specularConstantB"] LayoutSVGResourceFilter {filter} at (205,30) size 50x30
         LayoutSVGImage {image} at (320,30) size 50x30
           [filter="specularConstantC"] LayoutSVGResourceFilter {filter} at (320,30) size 50x30
-      LayoutSVGContainer {g} at (90,10) size 293.22x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,160.00)}]
-        LayoutSVGText {text} at (90,10) size 293.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (90,10) size 293.22x19
-            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 48 width 293.23: "Various values for specularExponents: 1, 2 and 4"
+      LayoutSVGContainer {g} at (90,10) size 293x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,160.00)}]
+        LayoutSVGText {text} at (90,10) size 293x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (90,10) size 293x19
+            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 48 width 293.00: "Various values for specularExponents: 1, 2 and 4"
         LayoutSVGContainer {g} at (90,30) size 280x30
           LayoutSVGRect {rect} at (90,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=90.00] [y=30.00] [width=50.00] [height=30.00]
           LayoutSVGRect {rect} at (205,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=205.00] [y=30.00] [width=50.00] [height=30.00]
@@ -85,10 +85,10 @@
           [filter="specularExponentB"] LayoutSVGResourceFilter {filter} at (205,30) size 50x30
         LayoutSVGImage {image} at (320,30) size 50x30
           [filter="specularExponentC"] LayoutSVGResourceFilter {filter} at (320,30) size 50x30
-      LayoutSVGContainer {g} at (90,10) size 316.22x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,230.00)}]
-        LayoutSVGText {text} at (90,10) size 316.22x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (90,10) size 316.22x19
-            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 55 width 316.23: "Various values for lighting color: red, yellow and blue"
+      LayoutSVGContainer {g} at (90,10) size 316x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,230.00)}]
+        LayoutSVGText {text} at (90,10) size 316x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (90,10) size 316x19
+            chunk 1 text run 1 at (90.00,25.00) startOffset 0 endOffset 55 width 316.00: "Various values for lighting color: red, yellow and blue"
         LayoutSVGContainer {g} at (90,30) size 280x30
           LayoutSVGRect {rect} at (90,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=90.00] [y=30.00] [width=50.00] [height=30.00]
           LayoutSVGRect {rect} at (205,30) size 50x30 [fill={[type=SOLID] [color=#000000]}] [x=205.00] [y=30.00] [width=50.00] [height=30.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-tile-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-tile-01-b-expected.txt
index a5178e5..f3ee70886 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-tile-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-tile-01-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (115,11.19) size 250x278.81
-      LayoutSVGText {text} at (140.97,11.19) size 198.03x16.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (140.97,11.19) size 198.03x16.80
-          chunk 1 (middle anchor) text run 1 at (140.98,25.00) startOffset 0 endOffset 35 width 198.04: "feTile filter test: a tiled pattern"
+      LayoutSVGText {text} at (141,11.19) size 198x16.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (141,11.19) size 198x16.80
+          chunk 1 (middle anchor) text run 1 at (141.00,25.00) startOffset 0 endOffset 35 width 198.00: "feTile filter test: a tiled pattern"
       LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
         LayoutSVGResourceFilter {filter} [id="feTileFilter"] [filterUnits=userSpaceOnUse] [primitiveUnits=userSpaceOnUse]
           [feTile]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png
index f6b47d3..2603f05 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt
index 4040463..53acdfe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt
@@ -19,70 +19,70 @@
             [feTurbulence type="NOISE" baseFrequency="0.10, 0.10" seed="0.00" numOctaves="1" stitchTiles="0"]
         LayoutSVGRect {rect} at (25,25) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=25.00] [y=25.00] [width=100.00] [height=75.00]
           [filter="Turb1"] LayoutSVGResourceFilter {filter} at (25,25) size 100x75
-        LayoutSVGText {text} at (31.81,106.80) size 86.34x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (31.81,106.80) size 86.34x12
-            chunk 1 (middle anchor) text run 1 at (31.82,117.00) startOffset 0 endOffset 15 width 86.35: "type=turbulence"
+        LayoutSVGText {text} at (31.80,106.80) size 86.39x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (31.80,106.80) size 86.39x12
+            chunk 1 (middle anchor) text run 1 at (31.80,117.00) startOffset 0 endOffset 15 width 86.40: "type=turbulence"
         LayoutSVGText {text} at (20.39,118.80) size 109.19x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (20.39,118.80) size 109.19x12
             chunk 1 (middle anchor) text run 1 at (20.40,129.00) startOffset 0 endOffset 18 width 109.20: "baseFrequency=0.05"
-        LayoutSVGText {text} at (35.47,130.80) size 79.03x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35.47,130.80) size 79.03x12
-            chunk 1 (middle anchor) text run 1 at (35.48,141.00) startOffset 0 endOffset 12 width 79.03: "numOctaves=2"
+        LayoutSVGText {text} at (35.39,130.80) size 79.19x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35.39,130.80) size 79.19x12
+            chunk 1 (middle anchor) text run 1 at (35.40,141.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=2"
         LayoutSVGRect {rect} at (175,25) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=175.00] [y=25.00] [width=100.00] [height=75.00]
           [filter="Turb2"] LayoutSVGResourceFilter {filter} at (175,25) size 100x75
-        LayoutSVGText {text} at (181.81,106.80) size 86.34x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (181.81,106.80) size 86.34x12
-            chunk 1 (middle anchor) text run 1 at (181.82,117.00) startOffset 0 endOffset 15 width 86.35: "type=turbulence"
+        LayoutSVGText {text} at (181.80,106.80) size 86.39x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (181.80,106.80) size 86.39x12
+            chunk 1 (middle anchor) text run 1 at (181.80,117.00) startOffset 0 endOffset 15 width 86.40: "type=turbulence"
         LayoutSVGText {text} at (173.69,118.80) size 102.59x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (173.69,118.80) size 102.59x12
             chunk 1 (middle anchor) text run 1 at (173.70,129.00) startOffset 0 endOffset 17 width 102.60: "baseFrequency=0.1"
-        LayoutSVGText {text} at (185.47,130.80) size 79.03x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (185.47,130.80) size 79.03x12
-            chunk 1 (middle anchor) text run 1 at (185.48,141.00) startOffset 0 endOffset 12 width 79.03: "numOctaves=2"
+        LayoutSVGText {text} at (185.39,130.80) size 79.19x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (185.39,130.80) size 79.19x12
+            chunk 1 (middle anchor) text run 1 at (185.40,141.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=2"
         LayoutSVGRect {rect} at (325,25) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=325.00] [y=25.00] [width=100.00] [height=75.00]
           [filter="Turb3"] LayoutSVGResourceFilter {filter} at (325,25) size 100x75
-        LayoutSVGText {text} at (331.81,106.80) size 86.34x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (331.81,106.80) size 86.34x12
-            chunk 1 (middle anchor) text run 1 at (331.82,117.00) startOffset 0 endOffset 15 width 86.35: "type=turbulence"
+        LayoutSVGText {text} at (331.80,106.80) size 86.39x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (331.80,106.80) size 86.39x12
+            chunk 1 (middle anchor) text run 1 at (331.80,117.00) startOffset 0 endOffset 15 width 86.40: "type=turbulence"
         LayoutSVGText {text} at (320.39,118.80) size 109.19x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (320.39,118.80) size 109.19x12
             chunk 1 (middle anchor) text run 1 at (320.40,129.00) startOffset 0 endOffset 18 width 109.20: "baseFrequency=0.05"
-        LayoutSVGText {text} at (335.47,130.80) size 79.03x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (335.47,130.80) size 79.03x12
-            chunk 1 (middle anchor) text run 1 at (335.48,141.00) startOffset 0 endOffset 12 width 79.03: "numOctaves=8"
+        LayoutSVGText {text} at (335.39,130.80) size 79.19x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (335.39,130.80) size 79.19x12
+            chunk 1 (middle anchor) text run 1 at (335.40,141.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=8"
         LayoutSVGRect {rect} at (25,180) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=25.00] [y=180.00] [width=100.00] [height=75.00]
           [filter="Turb4"] LayoutSVGResourceFilter {filter} at (25,180) size 100x75
-        LayoutSVGText {text} at (29.20,261.80) size 91.56x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (29.20,261.80) size 91.56x12
-            chunk 1 (middle anchor) text run 1 at (29.21,272.00) startOffset 0 endOffset 17 width 91.58: "type=fractalNoise"
+        LayoutSVGText {text} at (29.09,261.80) size 91.80x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (29.09,261.80) size 91.80x12
+            chunk 1 (middle anchor) text run 1 at (29.10,272.00) startOffset 0 endOffset 17 width 91.80: "type=fractalNoise"
         LayoutSVGText {text} at (23.69,273.80) size 102.59x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (23.69,273.80) size 102.59x12
             chunk 1 (middle anchor) text run 1 at (23.70,284.00) startOffset 0 endOffset 17 width 102.60: "baseFrequency=0.1"
-        LayoutSVGText {text} at (35.47,285.80) size 79.03x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35.47,285.80) size 79.03x12
-            chunk 1 (middle anchor) text run 1 at (35.48,296.00) startOffset 0 endOffset 12 width 79.03: "numOctaves=4"
+        LayoutSVGText {text} at (35.39,285.80) size 79.19x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35.39,285.80) size 79.19x12
+            chunk 1 (middle anchor) text run 1 at (35.40,296.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=4"
         LayoutSVGRect {rect} at (175,180) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=175.00] [y=180.00] [width=100.00] [height=75.00]
           [filter="Turb5"] LayoutSVGResourceFilter {filter} at (175,180) size 100x75
-        LayoutSVGText {text} at (179.20,261.80) size 91.56x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (179.20,261.80) size 91.56x12
-            chunk 1 (middle anchor) text run 1 at (179.21,272.00) startOffset 0 endOffset 17 width 91.58: "type=fractalNoise"
+        LayoutSVGText {text} at (179.09,261.80) size 91.80x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (179.09,261.80) size 91.80x12
+            chunk 1 (middle anchor) text run 1 at (179.10,272.00) startOffset 0 endOffset 17 width 91.80: "type=fractalNoise"
         LayoutSVGText {text} at (173.69,273.80) size 102.59x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (173.69,273.80) size 102.59x12
             chunk 1 (middle anchor) text run 1 at (173.70,284.00) startOffset 0 endOffset 17 width 102.60: "baseFrequency=0.4"
-        LayoutSVGText {text} at (185.47,285.80) size 79.03x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (185.47,285.80) size 79.03x12
-            chunk 1 (middle anchor) text run 1 at (185.48,296.00) startOffset 0 endOffset 12 width 79.03: "numOctaves=4"
+        LayoutSVGText {text} at (185.39,285.80) size 79.19x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (185.39,285.80) size 79.19x12
+            chunk 1 (middle anchor) text run 1 at (185.40,296.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=4"
         LayoutSVGRect {rect} at (325,180) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=325.00] [y=180.00] [width=100.00] [height=75.00]
           [filter="Turb6"] LayoutSVGResourceFilter {filter} at (325,180) size 100x75
-        LayoutSVGText {text} at (329.20,261.80) size 91.56x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (329.20,261.80) size 91.56x12
-            chunk 1 (middle anchor) text run 1 at (329.21,272.00) startOffset 0 endOffset 17 width 91.58: "type=fractalNoise"
+        LayoutSVGText {text} at (329.09,261.80) size 91.80x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (329.09,261.80) size 91.80x12
+            chunk 1 (middle anchor) text run 1 at (329.10,272.00) startOffset 0 endOffset 17 width 91.80: "type=fractalNoise"
         LayoutSVGText {text} at (323.69,273.80) size 102.59x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (323.69,273.80) size 102.59x12
             chunk 1 (middle anchor) text run 1 at (323.70,284.00) startOffset 0 endOffset 17 width 102.60: "baseFrequency=0.1"
-        LayoutSVGText {text} at (335.47,285.80) size 79.03x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (335.47,285.80) size 79.03x12
-            chunk 1 (middle anchor) text run 1 at (335.48,296.00) startOffset 0 endOffset 12 width 79.03: "numOctaves=1"
+        LayoutSVGText {text} at (335.39,285.80) size 79.19x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (335.39,285.80) size 79.19x12
+            chunk 1 (middle anchor) text run 1 at (335.40,296.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=1"
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.1 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png
index 4991a639..719e664 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt
index 5f051b1..c5c6af0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt
@@ -27,9 +27,9 @@
           [feTurbulence type="TURBULENCE" baseFrequency="0.01, 0.01" seed="-2.00" numOctaves="1" stitchTiles="0"]
         LayoutSVGResourceFilter {filter} [id="turbneg7"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
           [feTurbulence type="TURBULENCE" baseFrequency="0.01, 0.01" seed="-2.60" numOctaves="1" stitchTiles="0"]
-      LayoutSVGText {text} at (143.23,26.39) size 193.50x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (143.23,26.39) size 193.50x27
-          chunk 1 (middle anchor) text run 1 at (143.25,48.00) startOffset 0 endOffset 17 width 193.51: "feTurbulence seed"
+      LayoutSVGText {text} at (143.09,26.39) size 193.80x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (143.09,26.39) size 193.80x27
+          chunk 1 (middle anchor) text run 1 at (143.10,48.00) startOffset 0 endOffset 17 width 193.80: "feTurbulence seed"
       LayoutSVGContainer {g} at (-5,-5) size 360x220 [transform={m=((1.00,0.00)(0.00,1.00)) t=(65.00,80.00)}]
         LayoutSVGRect {rect} at (0,0) size 50x50 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=50.00] [height=50.00]
           [filter="turbneg3"] LayoutSVGResourceFilter {filter} at (0,0) size 50x50
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt
index 464b59fa9..55b1096e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt
@@ -30,9 +30,9 @@
           chunk 1 text run 1 at (67.00,210.00) startOffset 0 endOffset 8 width 74.40: "SVG Font"
       LayoutSVGContainer {g} at (0,-54) size 210x68.39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(165.00,220.00)}]
         LayoutSVGPath {line} at (0,0) size 210x0 [stroke={[type=SOLID] [color=#888888]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=0.00] [x2=210.00] [y2=0.00]
-        LayoutSVGText {text} at (0,-54) size 190.69x68.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,-54) size 190.69x68.39
-            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 5 width 190.69: "Ay\x{D6}@\x{E7}"
+        LayoutSVGText {text} at (0,-54) size 190.80x68.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,-54) size 190.80x68.39
+            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 5 width 190.80: "Ay\x{D6}@\x{E7}"
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.2 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt
index 3b6c17ec2..cf91be10 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt
@@ -30,9 +30,9 @@
           chunk 1 text run 1 at (67.00,210.00) startOffset 0 endOffset 8 width 74.40: "SVG Font"
       LayoutSVGContainer {g} at (0,-54) size 210x68.39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(165.00,220.00)}]
         LayoutSVGPath {line} at (0,0) size 210x0 [stroke={[type=SOLID] [color=#888888]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=0.00] [x2=210.00] [y2=0.00]
-        LayoutSVGText {text} at (0,-54) size 190.69x68.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,-54) size 190.69x68.39
-            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 5 width 190.69: "Ay\x{D6}@\x{E7}"
+        LayoutSVGText {text} at (0,-54) size 190.80x68.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,-54) size 190.80x68.39
+            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 5 width 190.80: "Ay\x{D6}@\x{E7}"
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.1 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt
index fdbe5f3b..38b1b9f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt
@@ -31,9 +31,9 @@
           chunk 1 text run 1 at (65.00,210.00) startOffset 0 endOffset 8 width 73.00: "SVG Font"
       LayoutSVGContainer {g} at (0,-54) size 210x68 [transform={m=((1.00,0.00)(0.00,1.00)) t=(165.00,220.00)}]
         LayoutSVGPath {line} at (0,0) size 210x0 [stroke={[type=SOLID] [color=#888888]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=0.00] [x2=210.00] [y2=0.00]
-        LayoutSVGText {text} at (0,-54) size 189.48x68 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,-54) size 189.48x68
-            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 5 width 189.49: "Ay\x{D6}@\x{E7}"
+        LayoutSVGText {text} at (0,-54) size 189x68 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,-54) size 189x68
+            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 5 width 189.00: "Ay\x{D6}@\x{E7}"
     LayoutSVGText {text} at (10,304) size 261x46 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 261x46
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 261.00: "$Revision: 1.7 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.png
index e0e23c5..fbbb3d02 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt
index 69ff70ae..aef5a12 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt
@@ -2,14 +2,14 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (101.70,1.59) size 308.30x333.41
+    LayoutSVGContainer {g} at (101.69,1.59) size 308.31x333.41
       LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-      LayoutSVGText {text} at (101.70,1.59) size 276.58x29.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (101.70,1.59) size 127.17x29.39
-          chunk 1 (middle anchor) text run 1 at (101.71,25.00) startOffset 0 endOffset 12 width 127.18: "Text Cursor "
-        LayoutSVGInline {a} at (101.70,1.59) size 276.58x29.39
+      LayoutSVGText {text} at (101.69,1.59) size 276.59x29.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (101.69,1.59) size 127.19x29.39
+          chunk 1 (middle anchor) text run 1 at (101.70,25.00) startOffset 0 endOffset 12 width 127.20: "Text Cursor "
+        LayoutSVGInline {a} at (101.69,1.59) size 276.59x29.39
           LayoutSVGInlineText {#text} at (228.89,1.59) size 149.39x29.39
-            chunk 1 (middle anchor) text run 1 at (228.89,25.00) startOffset 0 endOffset 14 width 149.40: "Pointer Cursor"
+            chunk 1 (middle anchor) text run 1 at (228.90,25.00) startOffset 0 endOffset 14 width 149.40: "Pointer Cursor"
         LayoutSVGInlineText {#text} at (0,0) size 0x0
       LayoutSVGRect {rect} at (120,40) size 240x236 [stroke={[type=SOLID] [color=#666666] [stroke width=3.00]}] [x=120.00] [y=40.00] [width=240.00] [height=236.00]
       LayoutSVGContainer {g} at (148,70) size 184x176
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt
index 28620e5c..f98fd60 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt
@@ -5,9 +5,9 @@
     LayoutSVGContainer {g} at (65,20) size 350x200
       LayoutSVGContainer {g} at (65,20) size 350x200
         LayoutSVGRect {rect} at (65,20) size 350x200 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#DDDDDD]}] [x=65.00] [y=20.00] [width=350.00] [height=200.00]
-        LayoutSVGText {text} at (120,81.39) size 205.02x61.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (120,81.39) size 205.02x61.80
-            chunk 1 text run 1 at (120.00,130.00) startOffset 0 endOffset 10 width 205.03: "Start Test"
+        LayoutSVGText {text} at (120,81.39) size 205.19x61.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (120,81.39) size 205.19x61.80
+            chunk 1 text run 1 at (120.00,130.00) startOffset 0 endOffset 10 width 205.20: "Start Test"
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.2 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-events-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-events-01-b-expected.png
index 8b54aee..245a6de 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-events-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-events-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt
index e81276e..708d7ebf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt
@@ -7,40 +7,40 @@
       LayoutSVGText {text} at (30,4) size 412.80x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (30,4) size 412.80x45
           chunk 1 text run 1 at (30.00,40.00) startOffset 0 endOffset 25 width 412.80: "'onload' event attribute."
-      LayoutSVGContainer {g} at (47.50,45) size 360.92x262
+      LayoutSVGContainer {g} at (47.50,45) size 361x262
         LayoutSVGContainer {g} at (-30,0) size 110x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(77.50,45.00)}]
           LayoutSVGRect {rect} at (0,0) size 80x80 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=80.00] [height=80.00]
           LayoutSVGText {text} at (-30,84) size 96x45 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (-30,84) size 96x45
               chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 5 width 96.00: "1: No"
-        LayoutSVGContainer {g} at (-30,0) size 110.92x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(202.50,45.00)}]
+        LayoutSVGContainer {g} at (-30,0) size 111x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(202.50,45.00)}]
           LayoutSVGRect {rect} at (0,0) size 80x80 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=80.00] [height=80.00]
-          LayoutSVGText {text} at (-30,84) size 110.92x45 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-30,84) size 110.92x45
-              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 110.93: "2: Yes"
-        LayoutSVGContainer {g} at (-30,0) size 110.92x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(327.50,45.00)}]
+          LayoutSVGText {text} at (-30,84) size 111x45 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-30,84) size 111x45
+              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 111.00: "2: Yes"
+        LayoutSVGContainer {g} at (-30,0) size 111x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(327.50,45.00)}]
           LayoutSVGContainer {g} at (0,0) size 80x80
             LayoutSVGRect {rect} at (0,0) size 80x80 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=80.00] [height=80.00]
-          LayoutSVGText {text} at (-30,84) size 110.92x45 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-30,84) size 110.92x45
-              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 110.93: "3: Yes"
-        LayoutSVGContainer {g} at (-30,0) size 110.92x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(77.50,178.00)}]
+          LayoutSVGText {text} at (-30,84) size 111x45 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-30,84) size 111x45
+              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 111.00: "3: Yes"
+        LayoutSVGContainer {g} at (-30,0) size 111x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(77.50,178.00)}]
           LayoutSVGViewportContainer {svg} at (0,0) size 80x80
             LayoutSVGRect {rect} at (0,0) size 80x80 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=80.00] [height=80.00]
-          LayoutSVGText {text} at (-30,84) size 110.92x45 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-30,84) size 110.92x45
-              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 110.93: "4: Yes"
+          LayoutSVGText {text} at (-30,84) size 111x45 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-30,84) size 111x45
+              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 111.00: "4: Yes"
         LayoutSVGContainer {g} at (-30,0) size 110x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(202.50,178.00)}]
           LayoutSVGContainer {g} at (0,0) size 80x80
             LayoutSVGRect {rect} at (0,0) size 80x80 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=80.00] [height=80.00]
           LayoutSVGText {text} at (-30,84) size 96x45 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (-30,84) size 96x45
               chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 5 width 96.00: "5: No"
-        LayoutSVGContainer {g} at (-30,0) size 110.92x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(327.50,178.00)}]
+        LayoutSVGContainer {g} at (-30,0) size 111x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(327.50,178.00)}]
           LayoutSVGRect {rect} at (0,0) size 80x80 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=80.00] [height=80.00]
-          LayoutSVGText {text} at (-30,84) size 110.92x45 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (-30,84) size 110.92x45
-              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 110.93: "6: Yes"
+          LayoutSVGText {text} at (-30,84) size 111x45 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (-30,84) size 111x45
+              chunk 1 text run 1 at (-30.00,120.00) startOffset 0 endOffset 6 width 111.00: "6: Yes"
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.2 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt
index 91407a60..0d6039b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (5,1.59) size 65x40.41
       LayoutSVGContainer {g} at (5,1.59) size 65x40.41
-        LayoutSVGText {text} at (5,1.59) size 53.63x6.69 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (5,1.59) size 53.63x6.69
-            chunk 1 text run 1 at (5.00,7.00) startOffset 0 endOffset 21 width 53.43: "Test default value of"
+        LayoutSVGText {text} at (5,1.59) size 53.59x6.69 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (5,1.59) size 53.59x6.69
+            chunk 1 text run 1 at (5.00,7.00) startOffset 0 endOffset 21 width 53.40: "Test default value of"
         LayoutSVGText {text} at (5,8.59) size 60.59x6.69 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (5,8.59) size 60.59x6.69
             chunk 1 text run 1 at (5.00,14.00) startOffset 0 endOffset 21 width 60.60: "zoomAndPan attribute."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt
index 4201291..d637e98 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (10,5.80) size 418.59x274.20
-      LayoutSVGText {text} at (90,5.80) size 208.06x13.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (90,5.80) size 208.06x13.19
-          chunk 1 text run 1 at (90.00,16.00) startOffset 0 endOffset 47 width 208.07: "Verify transform attributes in the 'a' element."
+      LayoutSVGText {text} at (90,5.80) size 208.19x13.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (90,5.80) size 208.19x13.19
+          chunk 1 text run 1 at (90.00,16.00) startOffset 0 endOffset 47 width 208.20: "Verify transform attributes in the 'a' element."
       LayoutSVGPath {path} at (165,28) size 145x72 [stroke={[type=SOLID] [color=#000080]}] [fill={[type=SOLID] [color=#808000]}] [data="M 165 40 h 100 v -12 l 45 36 l -45 36 v -12 h -100 Z"]
       LayoutSVGContainer {a} at (165,28) size 145x72 [transform={m=((0.94,0.34)(-0.34,0.94)) t=(35.80,-73.03)}]
         LayoutSVGPath {path} at (165,28) size 145x72 [stroke={[type=SOLID] [color=#0000FF]}] [fill={[type=SOLID] [color=#FFFF00]}] [data="M 165 40 h 100 v -12 l 45 36 l -45 36 v -12 h -100 Z"]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-02-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-02-b-expected.png
index 1687068..4c5d4a1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-02-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-02-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt
index 0e9c5dd..e2b0c87 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt
@@ -65,9 +65,9 @@
         LayoutSVGInlineText {#text} at (65,280.59) size 54x18.59
           chunk 1 text run 1 at (65.00,295.00) startOffset 0 endOffset 7 width 54.00: "Polygon"
       LayoutSVGRect {rect} at (36,208) size 100x89 [stroke={[type=SOLID] [color=#000000]}] [x=36.00] [y=208.00] [width=100.00] [height=89.00]
-      LayoutSVGText {text} at (46,188) size 75.31x11.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (46,188) size 75.31x11.39
-          chunk 1 text run 1 at (46.00,197.00) startOffset 0 endOffset 18 width 75.32: "viewTarget, should"
+      LayoutSVGText {text} at (46,188) size 75.59x11.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (46,188) size 75.59x11.39
+          chunk 1 text run 1 at (46.00,197.00) startOffset 0 endOffset 18 width 75.60: "viewTarget, should"
       LayoutSVGText {text} at (46,197) size 71.39x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (46,197) size 71.39x11.39
           chunk 1 text run 1 at (46.00,206.00) startOffset 0 endOffset 17 width 71.40: "highlight polygon"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-03-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-03-t-expected.png
index 86cd43e..439ee3e7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-03-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-03-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt
index 4014079..98b7642 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt
@@ -2,21 +2,21 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (19,5.80) size 411.22x246.20
+    LayoutSVGContainer {g} at (19,5.80) size 411.39x246.20
       LayoutSVGText {text} at (75,5.80) size 249x13.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (75,5.80) size 249x13.19
           chunk 1 text run 1 at (75.00,16.00) startOffset 0 endOffset 55 width 249.00: "Simple exercise of xlink attributes on the 'a' element."
       LayoutSVGContainer {a} at (135,122) size 130x130
         LayoutSVGPath {path} at (135,122) size 130x130 [stroke={[type=SOLID] [color=#0000FF]}] [fill={[type=SOLID] [color=#00FF00]}] [data="M 135 122 l 130 0 l -65 130 Z"]
-      LayoutSVGText {text} at (160,105.80) size 68.78x13.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (160,105.80) size 68.78x13.19
-          chunk 1 text run 1 at (160.00,116.00) startOffset 0 endOffset 13 width 68.78: "Click for TOC"
+      LayoutSVGText {text} at (160,105.80) size 69x13.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (160,105.80) size 69x13.19
+          chunk 1 text run 1 at (160.00,116.00) startOffset 0 endOffset 13 width 69.00: "Click for TOC"
       LayoutSVGText {text} at (25,161.80) size 79.19x13.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (25,161.80) size 79.19x13.19
           chunk 1 text run 1 at (25.00,172.00) startOffset 0 endOffset 18 width 79.20: "Link to local file"
-      LayoutSVGText {text} at (25,171.80) size 79.55x13.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (25,171.80) size 79.55x13.19
-          chunk 1 text run 1 at (25.00,182.00) startOffset 0 endOffset 17 width 79.56: "linkingToc-t.svg."
+      LayoutSVGText {text} at (25,171.80) size 79.80x13.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (25,171.80) size 79.80x13.19
+          chunk 1 text run 1 at (25.00,182.00) startOffset 0 endOffset 17 width 79.80: "linkingToc-t.svg."
       LayoutSVGRect {rect} at (19,160) size 100x26 [stroke={[type=SOLID] [color=#000000]}] [x=19.00] [y=160.00] [width=100.00] [height=26.00]
       LayoutSVGText {text} at (275,135) size 80.39x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (275,135) size 80.39x11.39
@@ -27,18 +27,18 @@
       LayoutSVGText {text} at (275,157) size 107.39x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (275,157) size 107.39x11.39
           chunk 1 text run 1 at (275.00,166.00) startOffset 0 endOffset 25 width 107.40: "xlink:actuate=\"onRequest\""
-      LayoutSVGText {text} at (275,168) size 117.50x11.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (275,168) size 117.50x11.39
-          chunk 1 text run 1 at (275.00,177.00) startOffset 0 endOffset 29 width 117.50: "xlink:href=\"linkingToc-t.svg\""
+      LayoutSVGText {text} at (275,168) size 117.59x11.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (275,168) size 117.59x11.39
+          chunk 1 text run 1 at (275.00,177.00) startOffset 0 endOffset 29 width 117.60: "xlink:href=\"linkingToc-t.svg\""
       LayoutSVGText {text} at (275,179) size 121.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (275,179) size 121.80x11.39
           chunk 1 text run 1 at (275.00,188.00) startOffset 0 endOffset 30 width 121.80: "xlink:role=\"figure-out-a-role\""
-      LayoutSVGText {text} at (275,190) size 155.22x11.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (275,190) size 155.22x11.39
-          chunk 1 text run 1 at (275.00,199.00) startOffset 0 endOffset 38 width 155.22: "xlink:title=\"TOC of Linking BE tests.\""
-      LayoutSVGText {text} at (275,201) size 56.22x11.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (275,201) size 56.22x11.39
-          chunk 1 text run 1 at (275.00,210.00) startOffset 0 endOffset 14 width 56.22: "target=\"_self\""
+      LayoutSVGText {text} at (275,190) size 155.39x11.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (275,190) size 155.39x11.39
+          chunk 1 text run 1 at (275.00,199.00) startOffset 0 endOffset 38 width 155.40: "xlink:title=\"TOC of Linking BE tests.\""
+      LayoutSVGText {text} at (275,201) size 56.39x11.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (275,201) size 56.39x11.39
+          chunk 1 text run 1 at (275.00,210.00) startOffset 0 endOffset 14 width 56.40: "target=\"_self\""
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.8 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png
index da79dae..943a6abc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-intro-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-intro-01-f-expected.txt
index f6cfb69f..0d6bb1e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-intro-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-intro-01-f-expected.txt
@@ -2,27 +2,27 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGText {text} at (68.72,18.80) size 342.53x20.39 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (68.72,18.80) size 342.53x20.39
-        chunk 1 (middle anchor) text run 1 at (68.73,35.00) startOffset 0 endOffset 51 width 342.54: "Testing stroke inclusion for 'clip-path' and 'mask'"
+    LayoutSVGText {text} at (68.69,18.80) size 342.59x20.39 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (68.69,18.80) size 342.59x20.39
+        chunk 1 (middle anchor) text run 1 at (68.70,35.00) startOffset 0 endOffset 51 width 342.60: "Testing stroke inclusion for 'clip-path' and 'mask'"
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
       LayoutSVGResourceClipper {clipPath} [id="one"] [clipPathUnits=objectBoundingBox]
         LayoutSVGEllipse {circle} at (0.10,0.30) size 0.40x0.40 [stroke={[type=SOLID] [color=#FF0000] [stroke width=0.15]}] [cx=0.30] [cy=0.50] [r=0.20]
         LayoutSVGEllipse {circle} at (0.50,0.30) size 0.40x0.40 [cx=0.70] [cy=0.50] [r=0.20]
     LayoutSVGRect {rect} at (150,0) size 200x200 [fill={[type=SOLID] [color=#00008B]}] [x=150.00] [y=0.00] [width=200.00] [height=200.00]
       [clipPath="one"] LayoutSVGResourceClipper {clipPath} at (155,45) size 175x110
-    LayoutSVGText {text} at (50,95.59) size 114.55x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (50,95.59) size 114.55x18.59
-        chunk 1 text run 1 at (50.00,110.00) startOffset 0 endOffset 19 width 114.56: "With a 'clip-path':"
+    LayoutSVGText {text} at (50,95.59) size 114.59x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (50,95.59) size 114.59x18.59
+        chunk 1 text run 1 at (50.00,110.00) startOffset 0 endOffset 19 width 114.60: "With a 'clip-path':"
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
       LayoutSVGResourceMasker {mask} [id="two"] [maskUnits=objectBoundingBox] [maskContentUnits=objectBoundingBox]
         LayoutSVGEllipse {circle} at (0.10,0.30) size 0.40x0.40 [stroke={[type=SOLID] [color=#FF0000] [stroke width=0.15]}] [fill={[type=SOLID] [color=#0000FF]}] [cx=0.30] [cy=0.50] [r=0.20]
         LayoutSVGEllipse {circle} at (0.50,0.30) size 0.40x0.40 [fill={[type=SOLID] [color=#0000FF]}] [cx=0.70] [cy=0.50] [r=0.20]
     LayoutSVGRect {rect} at (150,150) size 200x200 [fill={[type=SOLID] [color=#00008B]}] [x=150.00] [y=150.00] [width=200.00] [height=200.00]
       [masker="two"] LayoutSVGResourceMasker {mask} at (155,195) size 175x110
-    LayoutSVGText {text} at (50,245.59) size 88.75x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (50,245.59) size 88.75x18.59
-        chunk 1 text run 1 at (50.00,260.00) startOffset 0 endOffset 14 width 88.76: "With a 'mask':"
+    LayoutSVGText {text} at (50,245.59) size 88.80x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (50,245.59) size 88.80x18.59
+        chunk 1 text run 1 at (50.00,260.00) startOffset 0 endOffset 14 width 88.80: "With a 'mask':"
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.7 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt
index 1398bb6..c170c85 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (10,7.39) size 385x297.19
       LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-      LayoutSVGText {text} at (10,7.39) size 130.44x15.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,7.39) size 130.44x15.59
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 21 width 130.45: "Test for mask support"
+      LayoutSVGText {text} at (10,7.39) size 130.19x15.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,7.39) size 130.19x15.59
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 21 width 130.20: "Test for mask support"
       LayoutSVGRect {rect} at (10,30) size 100x260 [fill={[type=SOLID] [color=#FF0000]}] [x=10.00] [y=30.00] [width=100.00] [height=260.00]
       LayoutSVGResourceMasker {mask} [id="mask1"] [maskUnits=userSpaceOnUse] [maskContentUnits=userSpaceOnUse]
         LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
@@ -40,9 +40,9 @@
         [masker="mask3"] LayoutSVGResourceMasker {mask} at (60,200) size 200x100
         LayoutSVGInlineText {#text} at (60,182.19) size 219.59x122.39
           chunk 1 text run 1 at (60.00,280.00) startOffset 0 endOffset 3 width 219.60: "SVG"
-      LayoutSVGText {text} at (200,213.59) size 191.86x13.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (200,213.59) size 191.86x13.80
-          chunk 1 text run 1 at (200.00,225.00) startOffset 0 endOffset 36 width 191.87: "Text with mask containing rectangles"
+      LayoutSVGText {text} at (200,213.59) size 192x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (200,213.59) size 192x13.80
+          chunk 1 text run 1 at (200.00,225.00) startOffset 0 endOffset 36 width 192.00: "Text with mask containing rectangles"
       LayoutSVGText {text} at (200,228.59) size 101.39x13.80 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (200,228.59) size 101.39x13.80
           chunk 1 text run 1 at (200.00,240.00) startOffset 0 endOffset 20 width 101.40: "of various opacities"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt
index 0ca67f3..e6dd92b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (10,5.39) size 430.59x284.61
-      LayoutSVGText {text} at (50,5.39) size 377.13x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (50,5.39) size 377.13x27
-          chunk 1 text run 1 at (50.00,27.00) startOffset 0 endOffset 37 width 377.14: "Test for opacity property on a group."
+      LayoutSVGText {text} at (50,5.39) size 377.39x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (50,5.39) size 377.39x27
+          chunk 1 text run 1 at (50.00,27.00) startOffset 0 endOffset 37 width 377.40: "Test for opacity property on a group."
       LayoutSVGRect {rect} at (10,30) size 100x260 [fill={[type=SOLID] [color=#FF0000]}] [x=10.00] [y=30.00] [width=100.00] [height=260.00]
       LayoutSVGContainer {g} at (60,50) size 90x50
         LayoutSVGRect {rect} at (60,50) size 80x40 [fill={[type=SOLID] [color=#0000FF]}] [x=60.00] [y=50.00] [width=80.00] [height=40.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-03-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-03-b-expected.png
index 061275a..d15e1111 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-03-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-03-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt
index 905b85a..0c14607 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (-175,-20) size 830x410
-      LayoutSVGText {text} at (10,53.19) size 454.59x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,53.19) size 454.59x21
-          chunk 1 text run 1 at (10.00,70.00) startOffset 0 endOffset 60 width 454.60: "Test 'overflow'/'clip' on outermost and inner 'svg' elements"
+      LayoutSVGText {text} at (10,53.19) size 454.80x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,53.19) size 454.80x21
+          chunk 1 text run 1 at (10.00,70.00) startOffset 0 endOffset 60 width 454.80: "Test 'overflow'/'clip' on outermost and inner 'svg' elements"
       LayoutSVGContainer {g} at (-175,-20) size 830x410
         LayoutSVGContainer {g} at (0,0) size 250x60 [transform={m=((1.00,0.00)(0.00,1.00)) t=(115.00,-20.00)}]
           LayoutSVGRect {rect} at (0,0) size 250x60 [stroke={[type=SOLID] [color=#FF8888] [stroke width=2.00]}] [fill={[type=SOLID] [color=#CCCCFF]}] [x=0.00] [y=0.00] [width=250.00] [height=60.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-05-f-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-05-f-expected.png
index b44f1c09..e9bb22e6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-05-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-05-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-05-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-05-f-expected.txt
index 2df37a5..e41c06b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-05-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/masking-path-05-f-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (50,7.39) size 350x265
-      LayoutSVGText {text} at (150,7.39) size 152.20x15.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (150,7.39) size 152.20x15.59
-          chunk 1 text run 1 at (150.00,20.00) startOffset 0 endOffset 28 width 152.21: "Test for clip-rule property."
+      LayoutSVGText {text} at (150,7.39) size 151.80x15.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (150,7.39) size 151.80x15.59
+          chunk 1 text run 1 at (150.00,20.00) startOffset 0 endOffset 28 width 151.80: "Test for clip-rule property."
       LayoutSVGResourceClipper {clipPath} [id="clip1"] [clipPathUnits=userSpaceOnUse]
         LayoutSVGPath {path} at (180,40) size 80x80 [fill={[type=SOLID] [color=#000000]}] [clip rule=EVEN-ODD] [data="M 200 40 l 20 0 l 0 60 l 20 0 l 0 -20 l -60 0 l 0 -20 l 80 0 l 0 60 l -60 0 l 0 -80 Z"]
       LayoutSVGRect {rect} at (50,30) size 350x100 [fill={[type=SOLID] [color=#FF0000]}] [x=50.00] [y=30.00] [width=350.00] [height=100.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt
index b3cf65b..0ac8736 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt
@@ -79,9 +79,9 @@
           LayoutSVGText {text} at (177,203) size 49.98x9.98 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (177,203) size 49.98x9.98
               chunk 1 text run 1 at (177.00,213.00) startOffset 0 endOffset 7 width 40.00: "online:"
-          LayoutSVGText {text} at (601,311) size 99.63x9.98 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (601,311) size 99.63x9.98
-              chunk 1 text run 1 at (601.00,321.00) startOffset 0 endOffset 16 width 99.63: "Sibyll Trelawney"
+          LayoutSVGText {text} at (601,311) size 99.98x9.98 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (601,311) size 99.98x9.98
+              chunk 1 text run 1 at (601.00,321.00) startOffset 0 endOffset 16 width 100.00: "Sibyll Trelawney"
         LayoutSVGContainer {g} at (240,95) size 229.98x180.98
           LayoutSVGText {text} at (256,148) size 189.98x9.98 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (256,148) size 189.98x9.98
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt
index 7ba9a3f..a105fdd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt
@@ -19,9 +19,9 @@
       LayoutSVGPath {polyline} at (190,60) size 80x80 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFD700] [fill rule=EVEN-ODD]}] [start marker=marker1] [middle marker=marker1] [end marker=marker1] [points="190 60 210 140 230 60 250 140 270 60 270 100 190 100"]
       LayoutSVGPath {line} at (280,60) size 90x80 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFD700] [fill rule=EVEN-ODD]}] [start marker=marker1] [middle marker=marker1] [end marker=marker1] [x1=280.00] [y1=60.00] [x2=370.00] [y2=140.00]
       LayoutSVGPath {line} at (280,60) size 90x80 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFD700] [fill rule=EVEN-ODD]}] [start marker=marker1] [middle marker=marker1] [end marker=marker1] [x1=370.00] [y1=60.00] [x2=280.00] [y2=140.00]
-    LayoutSVGText {text} at (41.09,182.59) size 397.80x22.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (41.09,182.59) size 397.80x22.19
-        chunk 1 (middle anchor) text run 1 at (41.10,200.00) startOffset 0 endOffset 53 width 397.80: "'marker-start', 'marker-mid' & 'marker-end' attribute"
+    LayoutSVGText {text} at (41.39,182.59) size 397.19x22.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (41.39,182.59) size 397.19x22.19
+        chunk 1 (middle anchor) text run 1 at (41.40,200.00) startOffset 0 endOffset 53 width 397.20: "'marker-start', 'marker-mid' & 'marker-end' attribute"
     LayoutSVGContainer {g} at (10,60) size 360x80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(50.00,150.00)}] [start marker=marker1] [middle marker=marker1] [end marker=marker1]
       LayoutSVGPath {path} at (10,60) size 80x80 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFD700] [fill rule=EVEN-ODD]}] [start marker=marker1] [middle marker=marker1] [end marker=marker1] [data="M 10 60 Q 90 60 90 140 Q 10 140 10 60 Z M 10 140 Q 10 60 90 60 Q 90 140 10 140 Z M 50 70 L 80 100 L 50 130 L 20 100 Z"]
       LayoutSVGPath {polygon} at (100,60) size 80x80 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFD700] [fill rule=EVEN-ODD]}] [start marker=marker1] [middle marker=marker1] [end marker=marker1] [points="100 60 120 140 140 60 160 140 180 60 180 100 100 100"]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-render-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-render-01-b-expected.png
index 445ec25..a61ea9d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-render-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-render-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt
index 723a0c7..08bdf803 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt
@@ -2,14 +2,14 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (-3.02,7.19) size 473.61x272.81
+    LayoutSVGContainer {g} at (-3.30,7.19) size 473.89x272.81
       LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
         LayoutSVGResourceLinearGradient {linearGradient} [id="gradientDefault"] [gradientUnits=objectBoundingBox] [stops=( #FFFFFF@0.00 #0000FF@0.33 #FF0000@0.66 #FFFF00@1.00 )] [start=(0,0)] [end=(1,0)]
         LayoutSVGResourceLinearGradient {linearGradient} [id="gradientSRGB"] [gradientUnits=objectBoundingBox] [stops=( #FFFFFF@0.00 #0000FF@0.33 #FF0000@0.66 #FFFF00@1.00 )] [start=(0,0)] [end=(1,0)]
         LayoutSVGResourceLinearGradient {linearGradient} [id="gradientLinearRGB"] [gradientUnits=objectBoundingBox] [stops=( #FFFFFF@0.00 #0000FF@0.33 #FF0000@0.66 #FFFF00@1.00 )] [start=(0,0)] [end=(1,0)]
-      LayoutSVGText {text} at (-3.02,7.19) size 456.03x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (-3.02,7.19) size 456.03x27
-          chunk 1 (middle anchor) text run 1 at (-3.02,30.00) startOffset 0 endOffset 43 width 456.04: "Basic test of color-interpolation property."
+      LayoutSVGText {text} at (-3.30,7.19) size 456.59x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (-3.30,7.19) size 456.59x27
+          chunk 1 (middle anchor) text run 1 at (-3.30,30.00) startOffset 0 endOffset 43 width 456.60: "Basic test of color-interpolation property."
       LayoutSVGContainer {g} at (-3,-13) size 433.59x53 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,80.00)}]
         LayoutSVGRect {rect} at (0,0) size 300x40 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=LINEAR-GRADIENT] [id="gradientDefault"]}] [x=0.00] [y=0.00] [width=300.00] [height=40.00]
         LayoutSVGEllipse {circle} at (-3,-13) size 6x6 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [cx=0.00] [cy=-10.00] [r=3.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.png
index 86a3380..c0bbc1fe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt
index 9968e91..db95175 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt
@@ -14,7 +14,7 @@
       LayoutSVGText {text} at (148,244) size 219.59x45 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (148,244) size 219.59x45
           chunk 1 text run 1 at (148.00,280.00) startOffset 0 endOffset 12 width 219.60: "stroke=\"red\""
-    LayoutSVGText {text} at (10,304) size 284.70x45.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,304) size 284.70x45.59
-        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 284.72: "$Revision: 1.11 $"
+    LayoutSVGText {text} at (10,304) size 285x45.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,304) size 285x45.59
+        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 285.00: "$Revision: 1.11 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt
index 9aa7177..9e5885d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt
@@ -11,9 +11,9 @@
       LayoutSVGText {text} at (65,182.39) size 349.80x34.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (65,182.39) size 349.80x34.19
           chunk 1 text run 1 at (65.00,210.00) startOffset 0 endOffset 25 width 349.80: "stroke-dasharray=\"10, 10\""
-      LayoutSVGText {text} at (75,232.39) size 303.66x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (75,232.39) size 303.66x34.19
-          chunk 1 text run 1 at (75.00,260.00) startOffset 0 endOffset 22 width 303.66: "stroke-dashoffset=\"10\""
+      LayoutSVGText {text} at (75,232.39) size 303.59x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (75,232.39) size 303.59x34.19
+          chunk 1 text run 1 at (75.00,260.00) startOffset 0 endOffset 22 width 303.60: "stroke-dashoffset=\"10\""
     LayoutSVGText {text} at (10,304) size 286.19x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 286.19x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 286.20: "$Revision: 1.10 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-02-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-02-t-expected.txt
index 5912bdb..c9cf45f5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-02-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-02-t-expected.txt
@@ -29,9 +29,9 @@
       LayoutSVGRect {rect} at (222,101) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=222.00] [y=101.00] [width=4.00] [height=4.00]
       LayoutSVGRect {rect} at (302,31) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=302.00] [y=31.00] [width=4.00] [height=4.00]
       LayoutSVGPath {path} at (177.52,101.33) size 147.14x116.67 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#00C000]}] [data="M 208 168 Q 258 268 308 168 T 258 118 Q 128 88 208 168 Z"]
-      LayoutSVGText {text} at (308,176.59) size 69.47x13.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (308,176.59) size 69.47x13.80
-          chunk 1 text run 1 at (308.00,188.00) startOffset 0 endOffset 13 width 69.47: "M, Q, T, Q, z"
+      LayoutSVGText {text} at (308,176.59) size 69.59x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (308,176.59) size 69.59x13.80
+          chunk 1 text run 1 at (308.00,188.00) startOffset 0 endOffset 13 width 69.60: "M, Q, T, Q, z"
       LayoutSVGRect {rect} at (206,166) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=206.00] [y=166.00] [width=4.00] [height=4.00]
       LayoutSVGRect {rect} at (306,166) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=306.00] [y=166.00] [width=4.00] [height=4.00]
       LayoutSVGRect {rect} at (256,116) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=256.00] [y=116.00] [width=4.00] [height=4.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-06-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-06-t-expected.png
index d28ccd2..0412e5cc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-06-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-06-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-06-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-06-t-expected.txt
index 5597a84..0f40a45 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-06-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-06-t-expected.txt
@@ -4,15 +4,15 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (68.40,34.20) size 367.20x232.20
       LayoutSVGContainer {g} at (238,19) size 204x129 [transform={m=((1.80,0.00)(0.00,1.80)) t=(-360.00,0.00)}]
-        LayoutSVGText {text} at (288,19) size 57.22x13.66 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (288,19) size 57.22x13.66
-            chunk 1 text run 1 at (288.00,30.00) startOffset 0 endOffset 11 width 57.23: "M, H, V, H,"
-        LayoutSVGText {text} at (288,35) size 54.45x13.66 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (288,35) size 54.45x13.66
-            chunk 1 text run 1 at (288.00,46.00) startOffset 0 endOffset 11 width 54.46: "V. H, V, H,"
-        LayoutSVGText {text} at (304,51) size 20.89x13.66 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (304,51) size 20.89x13.66
-            chunk 1 text run 1 at (304.00,62.00) startOffset 0 endOffset 4 width 20.90: "V, Z"
+        LayoutSVGText {text} at (288,19) size 57.33x13.66 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (288,19) size 57.33x13.66
+            chunk 1 text run 1 at (288.00,30.00) startOffset 0 endOffset 11 width 57.33: "M, H, V, H,"
+        LayoutSVGText {text} at (288,35) size 54.66x13.66 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (288,35) size 54.66x13.66
+            chunk 1 text run 1 at (288.00,46.00) startOffset 0 endOffset 11 width 54.67: "V. H, V, H,"
+        LayoutSVGText {text} at (304,51) size 21x13.66 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (304,51) size 21x13.66
+            chunk 1 text run 1 at (304.00,62.00) startOffset 0 endOffset 4 width 21.00: "V, Z"
         LayoutSVGPath {path} at (240,56) size 90x90 [stroke={[type=SOLID] [color=#000000]}] [data="M 240 56 H 270 V 86 H 300 V 116 H 330 V 146 H 240 V 56 Z"]
         LayoutSVGRect {rect} at (238,54) size 4x4 [fill={[type=SOLID] [color=#FFFF00]}] [x=238.00] [y=54.00] [width=4.00] [height=4.00]
         LayoutSVGRect {rect} at (268,54) size 4x4 [fill={[type=SOLID] [color=#FFFF00]}] [x=268.00] [y=54.00] [width=4.00] [height=4.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-07-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-07-t-expected.png
index f845d69..568e756 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-07-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-07-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-07-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-07-t-expected.txt
index 6dfa9729..ee1634b1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-07-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-07-t-expected.txt
@@ -4,15 +4,15 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (68.40,34.20) size 367.20x203.40
       LayoutSVGContainer {g} at (238,169) size 204x113 [transform={m=((1.80,0.00)(0.00,1.80)) t=(-360.00,-270.00)}]
-        LayoutSVGText {text} at (288,169) size 47.77x13.66 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (288,169) size 47.77x13.66
-            chunk 1 text run 1 at (288.00,180.00) startOffset 0 endOffset 10 width 47.78: "m, h, v, h"
-        LayoutSVGText {text} at (288,183) size 42.22x13.66 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (288,183) size 42.22x13.66
-            chunk 1 text run 1 at (288.00,194.00) startOffset 0 endOffset 10 width 42.22: "v, h, v, h"
-        LayoutSVGText {text} at (304,197) size 17.11x13.66 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (304,197) size 17.11x13.66
-            chunk 1 text run 1 at (304.00,208.00) startOffset 0 endOffset 4 width 17.11: "v, z"
+        LayoutSVGText {text} at (288,169) size 47.66x13.66 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (288,169) size 47.66x13.66
+            chunk 1 text run 1 at (288.00,180.00) startOffset 0 endOffset 10 width 47.67: "m, h, v, h"
+        LayoutSVGText {text} at (288,183) size 42x13.66 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (288,183) size 42x13.66
+            chunk 1 text run 1 at (288.00,194.00) startOffset 0 endOffset 10 width 42.00: "v, h, v, h"
+        LayoutSVGText {text} at (304,197) size 17x13.66 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (304,197) size 17x13.66
+            chunk 1 text run 1 at (304.00,208.00) startOffset 0 endOffset 4 width 17.00: "v, z"
         LayoutSVGPath {path} at (240,190) size 90x90 [stroke={[type=SOLID] [color=#000000]}] [data="m 240 190 h 30 v 30 h 30 v 30 h 30 v 30 h -90 v -90 Z"]
         LayoutSVGRect {rect} at (238,188) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=238.00] [y=188.00] [width=4.00] [height=4.00]
         LayoutSVGRect {rect} at (268,188) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=268.00] [y=188.00] [width=4.00] [height=4.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-08-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-08-t-expected.png
index 7ce9272..27a5d39 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-08-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-08-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-08-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-08-t-expected.txt
index de70268..e740432 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-08-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-08-t-expected.txt
@@ -30,7 +30,7 @@
         LayoutSVGText {text} at (162,151) size 23.66x13.66 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (162,151) size 23.66x13.66
             chunk 1 text run 1 at (162.00,162.00) startOffset 0 endOffset 6 width 23.67: "filled"
-    LayoutSVGText {text} at (10,304) size 284.70x45.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,304) size 284.70x45.59
-        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 284.72: "$Revision: 1.11 $"
+    LayoutSVGText {text} at (10,304) size 285x45.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,304) size 285x45.59
+        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 285.00: "$Revision: 1.11 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-09-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-09-t-expected.png
index 2630ae9..fbee046 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-09-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-09-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt
index 0eb7b3ef..6a25310 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt
@@ -24,7 +24,7 @@
         LayoutSVGRect {rect} at (175,203) size 4x4 [fill={[type=SOLID] [color=#FF0000]}] [x=175.00] [y=203.00] [width=4.00] [height=4.00]
         LayoutSVGRect {rect} at (213.97,270.50) size 4x4 [fill={[type=SOLID] [color=#FF0000]}] [x=213.97] [y=270.50] [width=4.00] [height=4.00]
         LayoutSVGRect {rect} at (136.03,270.50) size 4x4 [fill={[type=SOLID] [color=#FF0000]}] [x=136.03] [y=270.50] [width=4.00] [height=4.00]
-    LayoutSVGText {text} at (10,304) size 284.70x45.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,304) size 284.70x45.59
-        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 284.72: "$Revision: 1.11 $"
+    LayoutSVGText {text} at (10,304) size 285x45.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,304) size 285x45.59
+        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 285.00: "$Revision: 1.11 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.png
index f0f3bb3..6ed3ec5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt
index 910ace3b..7ddfe4b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt
@@ -10,9 +10,9 @@
         LayoutSVGInlineText {#text} at (20,102.39) size 211.19x34.19
           chunk 1 text run 1 at (20.00,130.00) startOffset 0 endOffset 16 width 211.20: "Linear gradient."
       LayoutSVGRect {rect} at (20,150) size 440x80 [fill={[type=LINEAR-GRADIENT] [id="Grad1b"]}] [x=20.00] [y=150.00] [width=440.00] [height=80.00]
-      LayoutSVGText {text} at (20,232.39) size 375.14x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (20,232.39) size 375.14x34.19
-          chunk 1 text run 1 at (20.00,260.00) startOffset 0 endOffset 27 width 375.14: "Referencing gradient below."
+      LayoutSVGText {text} at (20,232.39) size 375x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (20,232.39) size 375x34.19
+          chunk 1 text run 1 at (20.00,260.00) startOffset 0 endOffset 27 width 375.00: "Referencing gradient below."
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.5 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.png
index 36799e1..2676a47 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt
index b21afd9..0b0d5232 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt
@@ -10,9 +10,9 @@
         LayoutSVGInlineText {#text} at (20,102.39) size 213x34.19
           chunk 1 text run 1 at (20.00,130.00) startOffset 0 endOffset 16 width 213.00: "Radial gradient."
       LayoutSVGRect {rect} at (20,150) size 440x80 [fill={[type=RADIAL-GRADIENT] [id="Grad2b"]}] [x=20.00] [y=150.00] [width=440.00] [height=80.00]
-      LayoutSVGText {text} at (20,232.39) size 375.14x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (20,232.39) size 375.14x34.19
-          chunk 1 text run 1 at (20.00,260.00) startOffset 0 endOffset 27 width 375.14: "Referencing gradient below."
+      LayoutSVGText {text} at (20,232.39) size 375x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (20,232.39) size 375x34.19
+          chunk 1 text run 1 at (20.00,260.00) startOffset 0 endOffset 27 width 375.00: "Referencing gradient below."
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.8 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.png
index e654be23..e31d0a6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt
index 33d9117..ca05c7b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt
@@ -14,9 +14,9 @@
         LayoutSVGInlineText {#text} at (20,102.39) size 144x34.19
           chunk 1 text run 1 at (20.00,130.00) startOffset 0 endOffset 13 width 144.00: "Pattern fill."
       LayoutSVGRect {rect} at (20,150) size 440x80 [fill={[type=PATTERN] [id="Pat3b"]}] [x=20.00] [y=150.00] [width=440.00] [height=80.00]
-      LayoutSVGText {text} at (20,232.39) size 397.94x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (20,232.39) size 397.94x34.19
-          chunk 1 text run 1 at (20.00,260.00) startOffset 0 endOffset 31 width 397.94: "Referencing pattern fill below."
+      LayoutSVGText {text} at (20,232.39) size 397.80x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (20,232.39) size 397.80x34.19
+          chunk 1 text run 1 at (20.00,260.00) startOffset 0 endOffset 31 width 397.80: "Referencing pattern fill below."
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.6 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt
index dec1862..ae3cd7d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (10,11.19) size 430x281.20
-      LayoutSVGText {text} at (10,11.19) size 199.92x16.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,11.19) size 199.92x16.80
-          chunk 1 text run 1 at (10.00,25.00) startOffset 0 endOffset 31 width 199.94: "Testing gradientUnits attribute"
+      LayoutSVGText {text} at (10,11.19) size 199.80x16.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,11.19) size 199.80x16.80
+          chunk 1 text run 1 at (10.00,25.00) startOffset 0 endOffset 31 width 199.80: "Testing gradientUnits attribute"
       LayoutSVGResourceLinearGradient {linearGradient} [id="Grad1"] [gradientUnits=objectBoundingBox] [stops=( #FF0000@0.00 #0000FF@1.00 )] [start=(0,0)] [end=(1,0)]
       LayoutSVGRect {rect} at (125,35) size 200x50 [fill={[type=LINEAR-GRADIENT] [id="Grad1"]}] [x=125.00] [y=35.00] [width=200.00] [height=50.00]
       LayoutSVGText {text} at (10,88.59) size 384x13.80 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt
index a9954014..a3dbdf6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (10,11.19) size 460x266.20
-      LayoutSVGText {text} at (10,11.19) size 207.13x16.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,11.19) size 207.13x16.80
-          chunk 1 text run 1 at (10.00,25.00) startOffset 0 endOffset 30 width 207.14: "Testing spreadMethod attribute"
+      LayoutSVGText {text} at (10,11.19) size 207x16.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,11.19) size 207x16.80
+          chunk 1 text run 1 at (10.00,25.00) startOffset 0 endOffset 30 width 207.00: "Testing spreadMethod attribute"
       LayoutSVGResourceLinearGradient {linearGradient} [id="Grad1"] [gradientUnits=objectBoundingBox] [stops=( #0000FF@0.00 #FF0000@1.00 )] [start=(0.40,0)] [end=(0.60,0)]
       LayoutSVGRect {rect} at (10,35) size 460x55 [fill={[type=LINEAR-GRADIENT] [id="Grad1"]}] [x=10.00] [y=35.00] [width=460.00] [height=55.00]
       LayoutSVGText {text} at (10,93.59) size 103.19x13.80 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt
index 7ae982b..2e863365 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (10,11.19) size 460x281.20
-      LayoutSVGText {text} at (10,11.19) size 199.92x16.80 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,11.19) size 199.92x16.80
-          chunk 1 text run 1 at (10.00,25.00) startOffset 0 endOffset 31 width 199.94: "Testing gradientUnits attribute"
+      LayoutSVGText {text} at (10,11.19) size 199.80x16.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,11.19) size 199.80x16.80
+          chunk 1 text run 1 at (10.00,25.00) startOffset 0 endOffset 31 width 199.80: "Testing gradientUnits attribute"
       LayoutSVGResourceRadialGradient {radialGradient} [id="Grad1"] [gradientUnits=objectBoundingBox] [stops=( #0000FF@0.00 #FF0000@1.00 )] [center=(0.50,0.50)] [focal=(0.50,0.50)] [radius=0.50] [focalRadius=0.00]
       LayoutSVGRect {rect} at (10,35) size 460x50 [fill={[type=RADIAL-GRADIENT] [id="Grad1"]}] [x=10.00] [y=35.00] [width=460.00] [height=50.00]
       LayoutSVGText {text} at (10,88.59) size 291.59x13.80 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt
index 508c901..03912ed 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (60,12.39) size 416.59x332.39
-      LayoutSVGText {text} at (180,13) size 91.50x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (180,13) size 91.50x34.19
-          chunk 1 text run 1 at (180.00,40.00) startOffset 0 endOffset 9 width 91.51: "Text fill"
+      LayoutSVGText {text} at (180,13) size 91.80x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (180,13) size 91.80x34.19
+          chunk 1 text run 1 at (180.00,40.00) startOffset 0 endOffset 9 width 91.80: "Text fill"
       LayoutSVGContainer {g} at (60,12.39) size 416.59x332.39
         LayoutSVGText {text} at (60,12.39) size 216.59x332.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (60,12.39) size 216.59x332.39
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt
index d4bd462..96f1219 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (1,1) size 478x358
-      LayoutSVGText {text} at (180,13) size 135.30x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (180,13) size 135.30x34.19
-          chunk 1 text run 1 at (180.00,40.00) startOffset 0 endOffset 11 width 135.31: "Text stroke"
+      LayoutSVGText {text} at (180,13) size 135.59x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (180,13) size 135.59x34.19
+          chunk 1 text run 1 at (180.00,40.00) startOffset 0 endOffset 11 width 135.60: "Text stroke"
       LayoutSVGContainer {g} at (60,12.39) size 399.80x332.39
         LayoutSVGText {text} at (60,12.39) size 216.59x332.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (60,12.39) size 216.59x332.39
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt
index de625227..c1d26a2f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (1,1) size 478x358
-      LayoutSVGText {text} at (120,13) size 224.09x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (120,13) size 224.09x34.19
-          chunk 1 text run 1 at (120.00,40.00) startOffset 0 endOffset 20 width 224.11: "Text fill and stroke"
+      LayoutSVGText {text} at (120,13) size 224.39x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (120,13) size 224.39x34.19
+          chunk 1 text run 1 at (120.00,40.00) startOffset 0 endOffset 20 width 224.40: "Text fill and stroke"
       LayoutSVGContainer {g} at (60,12.39) size 399.80x332.39
         LayoutSVGText {text} at (60,12.39) size 216.59x332.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (60,12.39) size 216.59x332.39
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-01-b-expected.png
index cd99cd5..3178ebc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt
index b74a640..cae7575 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt
@@ -2,22 +2,22 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (60,5.59) size 291.64x174.41
-      LayoutSVGText {text} at (140,5.59) size 187.28x18.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (140,5.59) size 187.28x18.59
-          chunk 1 text run 1 at (140.00,20.00) startOffset 0 endOffset 25 width 187.28: "Event and DOM Access Test"
-      LayoutSVGContainer {g} at (60,135.59) size 291.64x44.41
-        LayoutSVGContainer {g} at (60,135.59) size 106.30x44.41
-          LayoutSVGText {text} at (70,135.59) size 96.30x18.59 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (70,135.59) size 96.30x18.59
-              chunk 1 text run 1 at (70.00,150.00) startOffset 0 endOffset 15 width 96.31: "Click on target"
+    LayoutSVGContainer {g} at (60,5.59) size 291.39x174.41
+      LayoutSVGText {text} at (140,5.59) size 187.19x18.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (140,5.59) size 187.19x18.59
+          chunk 1 text run 1 at (140.00,20.00) startOffset 0 endOffset 25 width 187.20: "Event and DOM Access Test"
+      LayoutSVGContainer {g} at (60,135.59) size 291.39x44.41
+        LayoutSVGContainer {g} at (60,135.59) size 106.59x44.41
+          LayoutSVGText {text} at (70,135.59) size 96.59x18.59 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (70,135.59) size 96.59x18.59
+              chunk 1 text run 1 at (70.00,150.00) startOffset 0 endOffset 15 width 96.60: "Click on target"
           LayoutSVGRect {rect} at (60,160) size 20x20 [fill={[type=SOLID] [color=#FFFFFF]}] [x=60.00] [y=160.00] [width=20.00] [height=20.00]
           LayoutSVGPath {line} at (60,170) size 20x0 [stroke={[type=SOLID] [color=#000000] [stroke width=0.50]}] [fill={[type=SOLID] [color=#000000]}] [x1=60.00] [y1=170.00] [x2=80.00] [y2=170.00]
           LayoutSVGPath {line} at (70,160) size 0x20 [stroke={[type=SOLID] [color=#000000] [stroke width=0.50]}] [fill={[type=SOLID] [color=#000000]}] [x1=70.00] [y1=160.00] [x2=70.00] [y2=180.00]
-        LayoutSVGContainer {g} at (70,142.39) size 281.64x34.19
-          LayoutSVGText {text} at (70,142.39) size 281.64x34.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (70,142.39) size 281.64x34.19
-              chunk 1 text run 1 at (70.00,170.00) startOffset 0 endOffset 22 width 281.65: "Scripting Test Passed!"
+        LayoutSVGContainer {g} at (70,142.39) size 281.39x34.19
+          LayoutSVGText {text} at (70,142.39) size 281.39x34.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (70,142.39) size 281.39x34.19
+              chunk 1 text run 1 at (70.00,170.00) startOffset 0 endOffset 22 width 281.40: "Scripting Test Passed!"
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.1 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-02-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-02-b-expected.png
index 29872096..c7b4433d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-02-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-02-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt
index fa29e11..31cc4860 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt
@@ -2,17 +2,17 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (20,18.39) size 390.56x259.39
+    LayoutSVGContainer {g} at (20,18.39) size 390.39x259.39
       LayoutSVGText {text} at (100,18.39) size 253.19x27.59 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (100,18.39) size 253.19x27.59
           chunk 1 text run 1 at (100.00,40.00) startOffset 0 endOffset 26 width 253.20: "Mouse event handlers test."
-      LayoutSVGContainer {g} at (-40,-78.80) size 390.56x108.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(60.00,140.00)}]
-        LayoutSVGText {text} at (-40,-78.80) size 81.19x36.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-40,-78.80) size 81.19x36.59
-            chunk 1 text run 1 at (-40.00,-50.00) startOffset 0 endOffset 6 width 81.19: "Target"
-        LayoutSVGText {text} at (60,-14.59) size 290.56x27.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (60,-14.59) size 290.56x27.59
-            chunk 1 text run 1 at (60.00,7.00) startOffset 0 endOffset 32 width 290.57: "Use the target to trigger events"
+      LayoutSVGContainer {g} at (-40,-78.80) size 390.39x108.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(60.00,140.00)}]
+        LayoutSVGText {text} at (-40,-78.80) size 81x36.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-40,-78.80) size 81x36.59
+            chunk 1 text run 1 at (-40.00,-50.00) startOffset 0 endOffset 6 width 81.00: "Target"
+        LayoutSVGText {text} at (60,-14.59) size 290.39x27.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (60,-14.59) size 290.39x27.59
+            chunk 1 text run 1 at (60.00,7.00) startOffset 0 endOffset 32 width 290.40: "Use the target to trigger events"
         LayoutSVGContainer {g} at (-30,-30) size 60x60
           LayoutSVGEllipse {circle} at (-30,-30) size 60x60 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#CCCCCC]}] [cx=0.00] [cy=0.00] [r=30.00]
           LayoutSVGPath {line} at (-30,0) size 60x0 [fill={[type=SOLID] [color=#000000]}] [x1=-30.00] [y1=0.00] [x2=30.00] [y2=0.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-03-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-03-b-expected.png
index d1d20db..2ab8c5ee 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-03-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-03-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt
index 075772d0..441dece 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt
@@ -2,17 +2,17 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (20,18.39) size 390.56x259.39
+    LayoutSVGContainer {g} at (20,18.39) size 390.39x259.39
       LayoutSVGText {text} at (100,18.39) size 253.19x27.59 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (100,18.39) size 253.19x27.59
           chunk 1 text run 1 at (100.00,40.00) startOffset 0 endOffset 26 width 253.20: "Mouse event handlers test."
-      LayoutSVGContainer {g} at (-40,-78.80) size 390.56x108.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(60.00,140.00)}]
-        LayoutSVGText {text} at (-40,-78.80) size 81.19x36.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-40,-78.80) size 81.19x36.59
-            chunk 1 text run 1 at (-40.00,-50.00) startOffset 0 endOffset 6 width 81.19: "Target"
-        LayoutSVGText {text} at (60,-14.59) size 290.56x27.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (60,-14.59) size 290.56x27.59
-            chunk 1 text run 1 at (60.00,7.00) startOffset 0 endOffset 32 width 290.57: "Use the target to trigger events"
+      LayoutSVGContainer {g} at (-40,-78.80) size 390.39x108.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(60.00,140.00)}]
+        LayoutSVGText {text} at (-40,-78.80) size 81x36.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-40,-78.80) size 81x36.59
+            chunk 1 text run 1 at (-40.00,-50.00) startOffset 0 endOffset 6 width 81.00: "Target"
+        LayoutSVGText {text} at (60,-14.59) size 290.39x27.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (60,-14.59) size 290.39x27.59
+            chunk 1 text run 1 at (60.00,7.00) startOffset 0 endOffset 32 width 290.40: "Use the target to trigger events"
         LayoutSVGContainer {g} at (-30,-30) size 60x60
           LayoutSVGEllipse {circle} at (-30,-30) size 60x60 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#CCCCCC]}] [cx=0.00] [cy=0.00] [r=30.00]
           LayoutSVGPath {line} at (-30,0) size 60x0 [fill={[type=SOLID] [color=#000000]}] [x1=-30.00] [y1=0.00] [x2=30.00] [y2=0.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-04-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-04-b-expected.png
index edf0a84f..7b4a93e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-04-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-04-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt
index 382f562..a1d240f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt
@@ -2,17 +2,17 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (20,18.39) size 390.56x259.39
+    LayoutSVGContainer {g} at (20,18.39) size 390.39x259.39
       LayoutSVGText {text} at (100,18.39) size 253.19x27.59 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (100,18.39) size 253.19x27.59
           chunk 1 text run 1 at (100.00,40.00) startOffset 0 endOffset 26 width 253.20: "Mouse event handlers test."
-      LayoutSVGContainer {g} at (-40,-78.80) size 390.56x108.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(60.00,140.00)}]
-        LayoutSVGText {text} at (-40,-78.80) size 81.19x36.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-40,-78.80) size 81.19x36.59
-            chunk 1 text run 1 at (-40.00,-50.00) startOffset 0 endOffset 6 width 81.19: "Target"
-        LayoutSVGText {text} at (60,-14.59) size 290.56x27.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (60,-14.59) size 290.56x27.59
-            chunk 1 text run 1 at (60.00,7.00) startOffset 0 endOffset 32 width 290.57: "Use the target to trigger events"
+      LayoutSVGContainer {g} at (-40,-78.80) size 390.39x108.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(60.00,140.00)}]
+        LayoutSVGText {text} at (-40,-78.80) size 81x36.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-40,-78.80) size 81x36.59
+            chunk 1 text run 1 at (-40.00,-50.00) startOffset 0 endOffset 6 width 81.00: "Target"
+        LayoutSVGText {text} at (60,-14.59) size 290.39x27.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (60,-14.59) size 290.39x27.59
+            chunk 1 text run 1 at (60.00,7.00) startOffset 0 endOffset 32 width 290.40: "Use the target to trigger events"
         LayoutSVGContainer {g} at (-30,-30) size 60x60
           LayoutSVGEllipse {circle} at (-30,-30) size 60x60 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#CCCCCC]}] [cx=0.00] [cy=0.00] [r=30.00]
           LayoutSVGPath {line} at (-30,0) size 60x0 [fill={[type=SOLID] [color=#000000]}] [x1=-30.00] [y1=0.00] [x2=30.00] [y2=0.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-cond-03-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-cond-03-t-expected.png
index 6621efd..7a381550 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-cond-03-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-cond-03-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-cond-03-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-cond-03-t-expected.txt
index f27a03c..c23c4d8e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-cond-03-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-cond-03-t-expected.txt
@@ -6,9 +6,9 @@
       LayoutSVGContainer {switch} at (30,20) size 420x130
         LayoutSVGContainer {g} at (30,20) size 420x130
           LayoutSVGRect {rect} at (30,20) size 420x130 [fill={[type=SOLID] [color=#FF0000]}] [x=30.00] [y=20.00] [width=420.00] [height=130.00]
-          LayoutSVGText {text} at (90.34,82.59) size 299.30x22.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (90.34,82.59) size 299.30x22.19
-              chunk 1 (middle anchor) text run 1 at (90.35,100.00) startOffset 0 endOffset 35 width 299.30: "This viewer does more than SVG Tiny"
+          LayoutSVGText {text} at (90.30,82.59) size 299.39x22.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (90.30,82.59) size 299.39x22.19
+              chunk 1 (middle anchor) text run 1 at (90.30,100.00) startOffset 0 endOffset 35 width 299.40: "This viewer does more than SVG Tiny"
       LayoutSVGContainer {switch} at (30,20) size 420x130 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,140.00)}]
         LayoutSVGContainer {g} at (30,20) size 420x130
           LayoutSVGRect {rect} at (30,20) size 420x130 [fill={[type=SOLID] [color=#00FF00]}] [x=30.00] [y=20.00] [width=420.00] [height=130.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt
index 08f3755..f18ada8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt
@@ -31,9 +31,9 @@
     LayoutSVGText {text} at (370,173) size 47.39x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (370,173) size 47.39x34.19
         chunk 1 text run 1 at (370.00,200.00) startOffset 0 endOffset 4 width 47.40: "true"
-    LayoutSVGText {text} at (10,223) size 146.45x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,223) size 146.45x34.19
-        chunk 1 text run 1 at (10.00,250.00) startOffset 0 endOffset 11 width 146.46: "org.w3c.svg"
+    LayoutSVGText {text} at (10,223) size 146.39x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,223) size 146.39x34.19
+        chunk 1 text run 1 at (10.00,250.00) startOffset 0 endOffset 11 width 146.40: "org.w3c.svg"
     LayoutSVGText {text} at (370,223) size 47.39x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (370,223) size 47.39x34.19
         chunk 1 text run 1 at (370.00,250.00) startOffset 0 endOffset 4 width 47.40: "true"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt
index 8dcaca4..0ce9937 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt
@@ -7,33 +7,33 @@
       LayoutSVGInlineText {#text} at (10,313) size 195x34.19
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 195.00: "$Revision: 1.1 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
-    LayoutSVGText {text} at (5,18) size 204.05x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,18) size 204.05x34.19
-        chunk 1 text run 1 at (5.00,45.00) startOffset 0 endOffset 16 width 204.06: "org.w3c.svg.lang"
+    LayoutSVGText {text} at (5,18) size 204x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,18) size 204x34.19
+        chunk 1 text run 1 at (5.00,45.00) startOffset 0 endOffset 16 width 204.00: "org.w3c.svg.lang"
     LayoutSVGText {text} at (385,18) size 47.39x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,18) size 47.39x34.19
         chunk 1 text run 1 at (385.00,45.00) startOffset 0 endOffset 4 width 47.40: "true"
-    LayoutSVGText {text} at (5,58) size 253.25x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,58) size 253.25x34.19
-        chunk 1 text run 1 at (5.00,85.00) startOffset 0 endOffset 19 width 253.26: "org.w3c.svg.dynamic"
+    LayoutSVGText {text} at (5,58) size 253.19x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,58) size 253.19x34.19
+        chunk 1 text run 1 at (5.00,85.00) startOffset 0 endOffset 19 width 253.20: "org.w3c.svg.dynamic"
     LayoutSVGText {text} at (385,58) size 47.39x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,58) size 47.39x34.19
         chunk 1 text run 1 at (385.00,85.00) startOffset 0 endOffset 4 width 47.40: "true"
-    LayoutSVGText {text} at (5,98) size 217.25x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,98) size 217.25x34.19
-        chunk 1 text run 1 at (5.00,125.00) startOffset 0 endOffset 18 width 217.26: "org.w3c.svg.static"
+    LayoutSVGText {text} at (5,98) size 217.19x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,98) size 217.19x34.19
+        chunk 1 text run 1 at (5.00,125.00) startOffset 0 endOffset 18 width 217.20: "org.w3c.svg.static"
     LayoutSVGText {text} at (385,98) size 47.39x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,98) size 47.39x34.19
         chunk 1 text run 1 at (385.00,125.00) startOffset 0 endOffset 4 width 47.40: "true"
-    LayoutSVGText {text} at (5,138) size 207.05x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,138) size 207.05x34.19
-        chunk 1 text run 1 at (5.00,165.00) startOffset 0 endOffset 15 width 207.06: "org.w3c.dom.svg"
+    LayoutSVGText {text} at (5,138) size 207x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,138) size 207x34.19
+        chunk 1 text run 1 at (5.00,165.00) startOffset 0 endOffset 15 width 207.00: "org.w3c.dom.svg"
     LayoutSVGText {text} at (385,138) size 47.39x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,138) size 47.39x34.19
         chunk 1 text run 1 at (385.00,165.00) startOffset 0 endOffset 4 width 47.40: "true"
-    LayoutSVGText {text} at (5,178) size 146.45x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,178) size 146.45x34.19
-        chunk 1 text run 1 at (5.00,205.00) startOffset 0 endOffset 11 width 146.46: "org.w3c.svg"
+    LayoutSVGText {text} at (5,178) size 146.39x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,178) size 146.39x34.19
+        chunk 1 text run 1 at (5.00,205.00) startOffset 0 endOffset 11 width 146.40: "org.w3c.svg"
     LayoutSVGText {text} at (385,178) size 47.39x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,178) size 47.39x34.19
         chunk 1 text run 1 at (385.00,205.00) startOffset 0 endOffset 4 width 47.40: "true"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt
index fa174973..263846c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt
@@ -7,33 +7,33 @@
       LayoutSVGInlineText {#text} at (10,313) size 195x34.19
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 195.00: "$Revision: 1.2 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
-    LayoutSVGText {text} at (5,18) size 277.84x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,18) size 277.84x34.19
-        chunk 1 text run 1 at (5.00,45.00) startOffset 0 endOffset 22 width 277.86: "org.w3c.dom.svg.static"
+    LayoutSVGText {text} at (5,18) size 277.80x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,18) size 277.80x34.19
+        chunk 1 text run 1 at (5.00,45.00) startOffset 0 endOffset 22 width 277.80: "org.w3c.dom.svg.static"
     LayoutSVGText {text} at (385,18) size 47.39x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,18) size 47.39x34.19
         chunk 1 text run 1 at (385.00,45.00) startOffset 0 endOffset 4 width 47.40: "true"
-    LayoutSVGText {text} at (5,58) size 331.25x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,58) size 331.25x34.19
-        chunk 1 text run 1 at (5.00,85.00) startOffset 0 endOffset 25 width 331.26: "org.w3c.dom.svg.animation"
+    LayoutSVGText {text} at (5,58) size 331.19x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,58) size 331.19x34.19
+        chunk 1 text run 1 at (5.00,85.00) startOffset 0 endOffset 25 width 331.20: "org.w3c.dom.svg.animation"
     LayoutSVGText {text} at (385,58) size 47.39x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,58) size 47.39x34.19
         chunk 1 text run 1 at (385.00,85.00) startOffset 0 endOffset 4 width 47.40: "true"
-    LayoutSVGText {text} at (5,98) size 313.84x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,98) size 313.84x34.19
-        chunk 1 text run 1 at (5.00,125.00) startOffset 0 endOffset 23 width 313.86: "org.w3c.dom.svg.dynamic"
+    LayoutSVGText {text} at (5,98) size 313.80x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,98) size 313.80x34.19
+        chunk 1 text run 1 at (5.00,125.00) startOffset 0 endOffset 23 width 313.80: "org.w3c.dom.svg.dynamic"
     LayoutSVGText {text} at (385,98) size 47.39x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,98) size 47.39x34.19
         chunk 1 text run 1 at (385.00,125.00) startOffset 0 endOffset 4 width 47.40: "true"
-    LayoutSVGText {text} at (5,138) size 242.45x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,138) size 242.45x34.19
-        chunk 1 text run 1 at (5.00,165.00) startOffset 0 endOffset 19 width 242.46: "org.w3c.dom.svg.all"
+    LayoutSVGText {text} at (5,138) size 242.39x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,138) size 242.39x34.19
+        chunk 1 text run 1 at (5.00,165.00) startOffset 0 endOffset 19 width 242.40: "org.w3c.dom.svg.all"
     LayoutSVGText {text} at (385,138) size 47.39x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,138) size 47.39x34.19
         chunk 1 text run 1 at (385.00,165.00) startOffset 0 endOffset 4 width 47.40: "true"
-    LayoutSVGText {text} at (5,178) size 181.84x34.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (5,178) size 181.84x34.19
-        chunk 1 text run 1 at (5.00,205.00) startOffset 0 endOffset 15 width 181.86: "org.w3c.svg.all"
+    LayoutSVGText {text} at (5,178) size 181.80x34.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (5,178) size 181.80x34.19
+        chunk 1 text run 1 at (5.00,205.00) startOffset 0 endOffset 15 width 181.80: "org.w3c.svg.all"
     LayoutSVGText {text} at (385,178) size 47.39x34.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (385,178) size 47.39x34.19
         chunk 1 text run 1 at (385.00,205.00) startOffset 0 endOffset 4 width 47.40: "true"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-frag-05-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-frag-05-t-expected.txt
index a4fe967..e4bd60d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-frag-05-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-frag-05-t-expected.txt
@@ -2,11 +2,11 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (197.52,64) size 84.95x45.59
-      LayoutSVGText {text} at (197.52,64) size 84.95x45.59 contains 1 chunk(s)
-        LayoutSVGInline {toto:a} at (197.52,64) size 84.95x45.59
-          LayoutSVGInlineText {#text} at (197.52,64) size 84.95x45.59
-            chunk 1 (middle anchor) text run 1 at (197.52,100.00) startOffset 0 endOffset 5 width 84.97: "Valid"
+    LayoutSVGContainer {g} at (197.39,64) size 85.19x45.59
+      LayoutSVGText {text} at (197.39,64) size 85.19x45.59 contains 1 chunk(s)
+        LayoutSVGInline {toto:a} at (197.39,64) size 85.19x45.59
+          LayoutSVGInlineText {#text} at (197.39,64) size 85.19x45.59
+            chunk 1 (middle anchor) text run 1 at (197.40,100.00) startOffset 0 endOffset 5 width 85.20: "Valid"
         LayoutSVGInlineText {#text} at (0,0) size 0x0
       LayoutSVGText {text} at (0,0) size 0x0
     LayoutSVGText {text} at (10,304) size 286.19x45.59 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-group-03-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-group-03-t-expected.txt
index 3d094a33..8119e5bc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-group-03-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-group-03-t-expected.txt
@@ -2,7 +2,7 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (55.61,39.30) size 374.39x215.70
+    LayoutSVGContainer {g} at (55.61,39) size 374.39x216
       LayoutSVGContainer {g} at (-105,-14) size 210x374 [transform={m=((0.00,-1.00)(1.00,0.00)) t=(70.00,150.00)}]
         LayoutSVGHiddenContainer {defs} at (-5,-14) size 110x22
           LayoutSVGRect {rect} at (-5,-14) size 110x22 [stroke={[type=SOLID] [color=#000000]}] [x=-5.00] [y=-14.00] [width=110.00] [height=22.00]
@@ -111,7 +111,7 @@
             LayoutSVGRect {rect} at (-5,-14) size 50x22 [stroke={[type=SOLID] [color=#000000]}] [x=-5.00] [y=-14.00] [width=50.00] [height=22.00]
           LayoutSVGContainer {use} at (-5,-14) size 50x22 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,352.00)}]
             LayoutSVGRect {rect} at (-5,-14) size 50x22 [stroke={[type=SOLID] [color=#000000]}] [x=-5.00] [y=-14.00] [width=50.00] [height=22.00]
-      LayoutSVGContainer {g} at (0,-14.39) size 110.70x370.58 [transform={m=((0.00,-1.00)(1.00,0.00)) t=(70.00,150.00)}]
+      LayoutSVGContainer {g} at (0,-14.39) size 111x370.58 [transform={m=((0.00,-1.00)(1.00,0.00)) t=(70.00,150.00)}]
         LayoutSVGText {text} at (0,-14.39) size 34.19x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,-14.39) size 34.19x18.59
             chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 5 width 34.20: "color"
@@ -130,9 +130,9 @@
         LayoutSVGText {text} at (0,95.59) size 108x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,95.59) size 108x18.59
             chunk 1 text run 1 at (0.00,110.00) startOffset 0 endOffset 16 width 108.00: "stroke-dasharray"
-        LayoutSVGText {text} at (0,117.59) size 110.70x18.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,117.59) size 110.70x18.59
-            chunk 1 text run 1 at (0.00,132.00) startOffset 0 endOffset 17 width 110.71: "stroke-dashoffset"
+        LayoutSVGText {text} at (0,117.59) size 111x18.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,117.59) size 111x18.59
+            chunk 1 text run 1 at (0.00,132.00) startOffset 0 endOffset 17 width 111.00: "stroke-dashoffset"
         LayoutSVGText {text} at (0,139.59) size 92.39x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,139.59) size 92.39x18.59
             chunk 1 text run 1 at (0.00,154.00) startOffset 0 endOffset 14 width 92.40: "stroke-linecap"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-image-06-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-image-06-t-expected.png
index 0ee4b69d..294778293 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-image-06-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-image-06-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-image-06-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-image-06-t-expected.txt
index e66492c..ad68575 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-image-06-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-image-06-t-expected.txt
@@ -9,14 +9,14 @@
             chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 10 width 36.00: "SVG to fit"
         LayoutSVGContainer {g} at (0,0) size 50x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,40.00)}]
           LayoutSVGImage {image} at (0,0) size 50x50
-        LayoutSVGText {text} at (10,102.19) size 39.05x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,102.19) size 39.05x10.19
-            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 39.06: "Viewport 1"
+        LayoutSVGText {text} at (10,102.19) size 39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,102.19) size 39x10.19
+            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 39.00: "Viewport 1"
         LayoutSVGContainer {g} at (0.50,0.50) size 49x29 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,120.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 49x29 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=49.00] [height=29.00]
-        LayoutSVGText {text} at (10,172.19) size 39.05x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,172.19) size 39.05x10.19
-            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 39.06: "Viewport 2"
+        LayoutSVGText {text} at (10,172.19) size 39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,172.19) size 39x10.19
+            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 39.00: "Viewport 2"
         LayoutSVGContainer {g} at (0.50,0.50) size 29x59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,190.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 29x59 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=29.00] [height=59.00]
         LayoutSVGContainer {g} at (0,-27.80) size 82.19x57.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,50.00)}]
@@ -49,7 +49,7 @@
                 chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 5 width 21.00: "*none"
             LayoutSVGRect {rect} at (0.50,0.50) size 29x59 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=29.00] [height=59.00]
             LayoutSVGImage {image} at (0,0) size 30x60
-    LayoutSVGText {text} at (10,304) size 284.70x45.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,304) size 284.70x45.59
-        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 284.72: "$Revision: 1.11 $"
+    LayoutSVGText {text} at (10,304) size 285x45.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,304) size 285x45.59
+        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 17 width 285.00: "$Revision: 1.11 $"
     LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt
index a6b76e9..ef457841 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt
@@ -3,8 +3,8 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (44.20,22.61) size 305.80x267.78
-      LayoutSVGHiddenContainer {defs} at (0,-14.39) size 28.28x34.39
-        LayoutSVGContainer {g} at (0,-14.39) size 28.28x34.39
+      LayoutSVGHiddenContainer {defs} at (0,-14.39) size 28.19x34.39
+        LayoutSVGContainer {g} at (0,-14.39) size 28.19x34.39
           LayoutSVGRect {rect} at (0,0) size 20x20 [stroke={[type=SOLID] [color=#FFFF00] [stroke width=3.00]}] [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=20.00] [height=20.00]
           LayoutSVGEllipse {circle} at (0,0) size 20x20 [stroke={[type=SOLID] [color=#FFFF00] [stroke width=3.00]}] [fill={[type=SOLID] [color=#FF0000]}] [cx=10.00] [cy=10.00] [r=10.00]
           LayoutSVGEllipse {ellipse} at (0,0) size 20x20 [stroke={[type=SOLID] [color=#FFFF00] [stroke width=3.00]}] [fill={[type=SOLID] [color=#FF0000]}] [cx=10.00] [cy=10.00] [rx=10.00] [ry=10.00]
@@ -18,9 +18,9 @@
           LayoutSVGContainer {use} at (0,0) size 20x20
             LayoutSVGRect {rect} at (0,0) size 20x20 [stroke={[type=SOLID] [color=#FFFF00] [stroke width=3.00]}] [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=20.00] [height=20.00]
           LayoutSVGImage {image} at (0,0) size 20x20
-          LayoutSVGText {text} at (0,-14.39) size 28.28x18.59 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (0,-14.39) size 28.28x18.59
-              chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 4 width 28.28: "Text"
+          LayoutSVGText {text} at (0,-14.39) size 28.19x18.59 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (0,-14.39) size 28.19x18.59
+              chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 4 width 28.20: "Text"
       LayoutSVGContainer {g} at (44.20,22.61) size 265.80x262.17
         LayoutSVGContainer {g} at (-85.80,-17.39) size 85.80x262.17 [transform={m=((1.00,0.00)(0.00,1.00)) t=(130.00,40.00)}]
           LayoutSVGText {text} at (-51.59,-17.39) size 51.59x22.19 contains 1 chunk(s)
@@ -74,10 +74,10 @@
           LayoutSVGPath {path} at (0,0) size 20x20 [fill={[type=SOLID] [color=#00FF00]}] [data="M 0 0 L 20 0 L 20 20 L 0 20 Z"]
         LayoutSVGContainer {use} at (0,0) size 20x20 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,210.00)}]
           LayoutSVGImage {image} at (0,0) size 20x20
-        LayoutSVGContainer {use} at (0,-22.80) size 45.09x28.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,260.00)}]
-          LayoutSVGText {text} at (0,-22.80) size 45.09x28.19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (0,-22.80) size 45.09x28.19
-              chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 4 width 44.51: "Text"
+        LayoutSVGContainer {use} at (0,-22.80) size 45x28.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,260.00)}]
+          LayoutSVGText {text} at (0,-22.80) size 45x28.19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (0,-22.80) size 45x28.19
+              chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 4 width 44.40: "Text"
         LayoutSVGContainer {use} at (0,0) size 20x20 [transform={m=((1.00,0.00)(0.00,1.00)) t=(180.00,0.00)}]
           LayoutSVGContainer {g} at (0,0) size 20x20
             LayoutSVGRect {rect} at (0,0) size 10x20 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=0.00] [width=10.00] [height=20.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt
index d60f845..86244bc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt
@@ -20,10 +20,10 @@
         LayoutSVGText {text} at (40,2.59) size 255.59x13.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (40,2.59) size 255.59x13.80
             chunk 1 text run 1 at (40.00,14.00) startOffset 0 endOffset 51 width 255.60: "Circle should be red not green; rectangle still red"
-        LayoutSVGText {text} at (40,24.59) size 322.73x13.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (40,24.59) size 322.72x13.80
+        LayoutSVGText {text} at (40,24.59) size 322.80x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (40,24.59) size 322.78x13.80
             chunk 1 text run 1 at (40.00,36.00) startOffset 0 endOffset 11 width 54.60: "This tests "
-            chunk 1 text run 1 at (94.60,36.00) startOffset 0 endOffset 53 width 268.14: "ancestor, immediate-sibling and first-child selectors"
+            chunk 1 text run 1 at (94.60,36.00) startOffset 0 endOffset 53 width 268.20: "ancestor, immediate-sibling and first-child selectors"
         LayoutSVGContainer {g} at (130,70) size 260x60
           LayoutSVGEllipse {circle} at (130,70) size 60x60 [fill={[type=SOLID] [color=#FF0000]}] [cx=160.00] [cy=100.00] [r=30.00]
           LayoutSVGRect {rect} at (220,80) size 60x40 [fill={[type=SOLID] [color=#FF0000]}] [x=220.00] [y=80.00] [width=60.00] [height=40.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-01-b-expected.txt
index 8910296..93645a18 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-01-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (5,8.80) size 451.19x277.80
-      LayoutSVGText {text} at (5,8.80) size 440.22x39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,8.80) size 440.22x39
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 31 width 440.23: "Test 'text-anchor' (horizontal)"
+      LayoutSVGText {text} at (5,8.80) size 440.39x39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,8.80) size 440.39x39
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 31 width 440.40: "Test 'text-anchor' (horizontal)"
       LayoutSVGContainer {g} at (20.61,102.41) size 435.58x184.19
         LayoutSVGContainer {g} at (-3,-27.59) size 229.19x34.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(230.00,130.00)}]
           LayoutSVGPath {line} at (0,0) size 50x0 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=0.00] [x2=50.00] [y2=0.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-02-b-expected.txt
index 1534f4f..c57cb7b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-02-b-expected.txt
@@ -2,10 +2,10 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (5,8.80) size 472.03x275.28
-      LayoutSVGText {text} at (5,8.80) size 472.03x39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,8.80) size 472.03x39
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 34 width 472.03: "Test 'baseline-shift' (horizontal)"
+    LayoutSVGContainer {g} at (5,8.80) size 472.19x275.28
+      LayoutSVGText {text} at (5,8.80) size 472.19x39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,8.80) size 472.19x39
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 34 width 472.20: "Test 'baseline-shift' (horizontal)"
       LayoutSVGContainer {g} at (0,-34.59) size 402.59x198.67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(15.00,120.00)}]
         LayoutSVGText {text} at (0,-34.59) size 349.19x41.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,-27.59) size 96.59x34.19
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-03-b-expected.txt
index da310438..e79f97a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-03-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (-3,4) size 473.39x221
-      LayoutSVGText {text} at (5,4) size 345.95x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,4) size 345.95x45
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 345.97: "Test of 'text-anchor'"
+      LayoutSVGText {text} at (5,4) size 346.19x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,4) size 346.19x45
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 346.20: "Test of 'text-anchor'"
       LayoutSVGPath {line} at (225,75) size 0x150 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=225.00] [y1=75.00] [x2=225.00] [y2=225.00]
       LayoutSVGContainer {g} at (-3,82.39) size 473.39x134.19
         LayoutSVGText {text} at (-3,82.39) size 473.39x134.19 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-04-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-04-b-expected.png
index 5811dea..6473add 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-04-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-04-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-04-b-expected.txt
index a80e6e0..191eb18 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-04-b-expected.txt
@@ -3,17 +3,17 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (-4.39,4) size 482.38x262.58
-      LayoutSVGText {text} at (5,4) size 345.95x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,4) size 345.95x45
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 345.97: "Test of 'text-anchor'"
+      LayoutSVGText {text} at (5,4) size 346.19x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,4) size 346.19x45
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 346.20: "Test of 'text-anchor'"
       LayoutSVGHiddenContainer {defs} at (-5,-14.39) size 225x274.39
         LayoutSVGText {text} at (0,-14.39) size 81x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,-14.39) size 81x18.59
             chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 13 width 79.20: "end text tref"
         LayoutSVGPath {path} at (-5,260) size 225x0 [fill={[type=SOLID] [color=#000000]}] [data="M -5 260 L 220 260"]
-      LayoutSVGText {text} at (20,52.39) size 216.86x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (20,52.39) size 216.86x34.19
-          chunk 1 text run 1 at (20.00,80.00) startOffset 0 endOffset 17 width 216.87: "Tspan, tref, toap"
+      LayoutSVGText {text} at (20,52.39) size 216.59x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (20,52.39) size 216.59x34.19
+          chunk 1 text run 1 at (20.00,80.00) startOffset 0 endOffset 17 width 216.60: "Tspan, tref, toap"
       LayoutSVGPath {line} at (220,120) size 0x140 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=220.00] [y1=120.00] [x2=220.00] [y2=260.00]
       LayoutSVGContainer {g} at (-4.39,112.39) size 482.38x154.19
         LayoutSVGText {text} at (220,112.39) size 257.98x34.19 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-05-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-05-b-expected.png
index 9d9bd9c..acc7e7c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-05-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-05-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-05-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-05-b-expected.txt
index 9a9677a5..eccfe90 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-05-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-05-b-expected.txt
@@ -2,10 +2,10 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (5,4) size 465.95x317
-      LayoutSVGText {text} at (5,4) size 465.95x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,4) size 465.95x45
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 29 width 465.97: "Test 'text-anchor' (vertical)"
+    LayoutSVGContainer {g} at (5,4) size 466.19x317
+      LayoutSVGText {text} at (5,4) size 466.19x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,4) size 466.19x45
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 29 width 466.20: "Test 'text-anchor' (vertical)"
       LayoutSVGContainer {g} at (142.91,47.41) size 134.19x273.59
         LayoutSVGContainer {g} at (-17.09,-102.59) size 134.19x273.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(160.00,150.00)}]
           LayoutSVGContainer {g} at (-17.09,-3) size 34.19x174
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-06-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-06-b-expected.png
index 31ca2380..0e7a7b8d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-06-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-06-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-06-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-06-b-expected.txt
index 999290e..0f29094 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-06-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-align-06-b-expected.txt
@@ -2,10 +2,10 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (0,4) size 483.36x363.80
-      LayoutSVGText {text} at (0,4) size 483.36x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,4) size 483.36x45
-          chunk 1 text run 1 at (0.00,40.00) startOffset 0 endOffset 31 width 483.37: "Test 'baseline-shift' (vertic.)"
+    LayoutSVGContainer {g} at (0,4) size 483.59x363.80
+      LayoutSVGText {text} at (0,4) size 483.59x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,4) size 483.59x45
+          chunk 1 text run 1 at (0.00,40.00) startOffset 0 endOffset 31 width 483.60: "Test 'baseline-shift' (vertic.)"
       LayoutSVGContainer {g} at (72.91,60) size 311.67x307.80
         LayoutSVGContainer {g} at (-17.09,0) size 311.67x307.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(90.00,60.00)}]
           LayoutSVGText {text} at (-17.09,0) size 41.19x171 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-deco-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-deco-01-b-expected.png
index 7a520ea..e097f50 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-deco-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-deco-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt
index e68ad05..ae1f84e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt
@@ -2,44 +2,44 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (10,4.39) size 372.16x276
-      LayoutSVGText {text} at (10,4.39) size 153.02x19.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,4.39) size 153.02x19.19
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 23 width 153.03: "Test 'text-decoration'."
-      LayoutSVGContainer {g} at (25,43.39) size 357.16x237
+    LayoutSVGContainer {g} at (10,4.39) size 372x276
+      LayoutSVGText {text} at (10,4.39) size 153x19.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,4.39) size 153x19.19
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 23 width 153.00: "Test 'text-decoration'."
+      LayoutSVGContainer {g} at (25,43.39) size 357x237
         LayoutSVGText {text} at (25,43.39) size 120.59x27 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,43.39) size 120.59x27
             chunk 1 text run 1 at (25.00,65.00) startOffset 0 endOffset 11 width 120.60: "Normal text"
-        LayoutSVGText {text} at (25,113.39) size 218.73x27 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25,113.39) size 218.73x27
-            chunk 1 text run 1 at (25.00,135.00) startOffset 0 endOffset 22 width 218.74: "Text with line-through"
+        LayoutSVGText {text} at (25,113.39) size 219x27 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25,113.39) size 219x27
+            chunk 1 text run 1 at (25.00,135.00) startOffset 0 endOffset 22 width 219.00: "Text with line-through"
         LayoutSVGText {text} at (25,183.39) size 156.59x27 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,183.39) size 156.59x27
             chunk 1 text run 1 at (25.00,205.00) startOffset 0 endOffset 15 width 156.60: "Underlined text"
-        LayoutSVGText {text} at (25,253.39) size 357.16x27 contains 1 chunk(s)
-          LayoutSVGTSpan {tspan} at (25,253.39) size 357.16x27
+        LayoutSVGText {text} at (25,253.39) size 357x27 contains 1 chunk(s)
+          LayoutSVGTSpan {tspan} at (25,253.39) size 357x27
             LayoutSVGInlineText {#text} at (25,253.39) size 44.39x27
               chunk 1 text run 1 at (25.00,275.00) startOffset 0 endOffset 3 width 44.40: "One"
           LayoutSVGInlineText {#text} at (69.39,253.39) size 6.59x27
             chunk 1 text run 1 at (69.40,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 357.16x27
+          LayoutSVGTSpan {tspan} at (25,253.39) size 357x27
             LayoutSVGInlineText {#text} at (75.39,253.39) size 52.19x27
               chunk 1 text run 1 at (76.00,275.00) startOffset 0 endOffset 4 width 51.60: "word"
           LayoutSVGInlineText {#text} at (127.59,253.39) size 6.59x27
             chunk 1 text run 1 at (127.60,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 357.16x27
+          LayoutSVGTSpan {tspan} at (25,253.39) size 357x27
             LayoutSVGInlineText {#text} at (134.19,253.39) size 37.19x27
               chunk 1 text run 1 at (134.20,275.00) startOffset 0 endOffset 3 width 37.20: "has"
           LayoutSVGInlineText {#text} at (171.39,253.39) size 6.59x27
             chunk 1 text run 1 at (171.40,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 357.16x27
-            LayoutSVGInlineText {#text} at (178,253.39) size 85.36x27
-              chunk 1 text run 1 at (178.00,275.00) startOffset 0 endOffset 9 width 85.37: "different"
-          LayoutSVGInlineText {#text} at (263.36,253.39) size 6.59x27
-            chunk 1 text run 1 at (263.37,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 357.16x27
-            LayoutSVGInlineText {#text} at (269.95,253.39) size 112.19x27
-              chunk 1 text run 1 at (269.97,275.00) startOffset 0 endOffset 11 width 112.20: "underlining"
+          LayoutSVGTSpan {tspan} at (25,253.39) size 357x27
+            LayoutSVGInlineText {#text} at (178,253.39) size 85.19x27
+              chunk 1 text run 1 at (178.00,275.00) startOffset 0 endOffset 9 width 85.20: "different"
+          LayoutSVGInlineText {#text} at (263.19,253.39) size 6.59x27
+            chunk 1 text run 1 at (263.20,275.00) startOffset 0 endOffset 1 width 6.60: " "
+          LayoutSVGTSpan {tspan} at (25,253.39) size 357x27
+            LayoutSVGInlineText {#text} at (269.80,253.39) size 112.19x27
+              chunk 1 text run 1 at (269.80,275.00) startOffset 0 endOffset 11 width 112.20: "underlining"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-01-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-01-t-expected.png
index 7d00a02c..c25dc8f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-01-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-01-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt
index 0a4c3dd..4d2c014 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt
@@ -3,17 +3,17 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (5,4) size 364.56x285.19
-      LayoutSVGText {text} at (5,4) size 364.56x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,4) size 364.56x45
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 24 width 364.57: "Test left-to-right text."
-      LayoutSVGContainer {g} at (10,59.39) size 217.61x159.80
+    LayoutSVGContainer {g} at (5,4) size 364.80x285.19
+      LayoutSVGText {text} at (5,4) size 364.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,4) size 364.80x45
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 24 width 364.80: "Test left-to-right text."
+      LayoutSVGContainer {g} at (10,59.39) size 217.80x159.80
         LayoutSVGText {text} at (10,59.39) size 210.59x19.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,59.39) size 210.59x19.80
             chunk 1 text run 1 at (10.00,75.00) startOffset 0 endOffset 33 width 210.60: "Polish: Mog\x{119} je\x{15B}\x{107} szk\x{142}o, i mi ..."
-        LayoutSVGText {text} at (10,94.39) size 217.61x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,94.39) size 217.61x19.80
-            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 32 width 217.62: "Russian: \x{42F} \x{43C}\x{43E}\x{433}\x{443} \x{435}\x{441}\x{442}\x{44C} \x{441}\x{442}\x{435}\x{43A}\x{43B}\x{43E}, ..."
+        LayoutSVGText {text} at (10,94.39) size 217.80x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,94.39) size 217.80x19.80
+            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 32 width 217.80: "Russian: \x{42F} \x{43C}\x{43E}\x{433}\x{443} \x{435}\x{441}\x{442}\x{44C} \x{441}\x{442}\x{435}\x{43A}\x{43B}\x{43E}, ..."
         LayoutSVGText {text} at (10,129.39) size 171x19.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,129.39) size 171x19.80
             chunk 1 text run 1 at (10.00,145.00) startOffset 0 endOffset 23 width 171.00: "Greek: \x{39C}\x{3C0}\x{3BF}\x{3C1}\x{3CE} \x{3BD}\x{3B1} \x{3C6}\x{3AC}\x{3C9} ..."
@@ -22,19 +22,19 @@
             chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 8 width 60.00: "Hebrew: "
             chunk 1 text run 1 at (70.00,180.00) startOffset 0 endOffset 21 width 124.20 RTL: "\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA}"
             chunk 1 text run 1 at (194.20,180.00) startOffset 0 endOffset 4 width 16.80: " ..."
-        LayoutSVGText {text} at (10,199.39) size 198.25x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,199.39) size 198.25x19.80
-            chunk 1 text run 1 at (10.00,215.00) startOffset 0 endOffset 9 width 61.46: "Yiddish: "
-            chunk 1 text run 1 at (71.46,215.00) startOffset 0 endOffset 21 width 120.00 RTL: "\x{5D0}\x{5D9}\x{5DA} \x{5E7}\x{5E2}\x{5DF} \x{5E2}\x{5E1}\x{5DF} \x{5D2}\x{5DC}\x{5D0}\x{5B8}\x{5D6} \x{5D0}\x{5D5}\x{5DF}"
-            chunk 1 text run 1 at (191.46,215.00) startOffset 0 endOffset 4 width 16.80: " ..."
+        LayoutSVGText {text} at (10,199.39) size 198x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,199.39) size 197.98x19.80
+            chunk 1 text run 1 at (10.00,215.00) startOffset 0 endOffset 9 width 61.20: "Yiddish: "
+            chunk 1 text run 1 at (71.20,215.00) startOffset 0 endOffset 21 width 120.00 RTL: "\x{5D0}\x{5D9}\x{5DA} \x{5E7}\x{5E2}\x{5DF} \x{5E2}\x{5E1}\x{5DF} \x{5D2}\x{5DC}\x{5D0}\x{5B8}\x{5D6} \x{5D0}\x{5D5}\x{5DF}"
+            chunk 1 text run 1 at (191.20,215.00) startOffset 0 endOffset 4 width 16.80: " ..."
       LayoutSVGContainer {g} at (10,234.39) size 260.39x19.80
         LayoutSVGText {text} at (10,234.39) size 260.39x19.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,234.39) size 260.39x19.80
             chunk 1 text run 1 at (10.00,250.00) startOffset 0 endOffset 20 width 260.40: "Chinese:\x{6211}\x{80FD}\x{541E}\x{4E0B}\x{73BB}\x{7483}\x{800C}\x{4E0D}\x{4F24}\x{8EAB}\x{4F53}\x{3002}"
-      LayoutSVGContainer {g} at (10,269.39) size 250.55x19.80
-        LayoutSVGText {text} at (10,269.39) size 250.55x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,269.39) size 250.55x19.80
-            chunk 1 text run 1 at (10.00,285.00) startOffset 0 endOffset 21 width 250.56: "Japanese: \x{79C1}\x{306F}\x{30AC}\x{30E9}\x{30B9}\x{3092}\x{98DF}\x{3079}\x{307E}\x{3059}\x{3002}"
+      LayoutSVGContainer {g} at (10,269.39) size 250.80x19.80
+        LayoutSVGText {text} at (10,269.39) size 250.80x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,269.39) size 250.80x19.80
+            chunk 1 text run 1 at (10.00,285.00) startOffset 0 endOffset 21 width 250.80: "Japanese: \x{79C1}\x{306F}\x{30AC}\x{30E9}\x{30B9}\x{3092}\x{98DF}\x{3079}\x{307E}\x{3059}\x{3002}"
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.7 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-03-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-03-b-expected.png
index c7abb0a..fca5cfa6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-03-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-03-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-03-b-expected.txt
index c17672be..71469418 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-03-b-expected.txt
@@ -3,42 +3,42 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (61.39,10) size 377.39x427.59
-      LayoutSVGContainer {g} at (61.39,10) size 377.39x427.59
-        LayoutSVGText {text} at (61.39,10) size 15.59x287.61 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (61.39,10) size 15.59x287.61
+    LayoutSVGContainer {g} at (61.39,10) size 377.39x427.80
+      LayoutSVGContainer {g} at (61.39,10) size 377.39x427.80
+        LayoutSVGText {text} at (61.39,10) size 15.59x287.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (61.39,10) size 15.59x287.39
             chunk 1 (vertical) text run 1 at (65.00,10.00) startOffset 0 endOffset 1 height 15.60: "T"
-            chunk 1 (vertical) text run 2 at (65.00,17.42) startOffset 1 endOffset 2 height 15.60: "e"
-            chunk 1 (vertical) text run 3 at (65.00,23.42) startOffset 2 endOffset 3 height 15.60: "x"
-            chunk 1 (vertical) text run 4 at (65.00,30.02) startOffset 3 endOffset 4 height 15.60: "t"
-            chunk 1 (vertical) text run 5 at (65.00,33.62) startOffset 4 endOffset 5 height 15.60: " "
-            chunk 1 (vertical) text run 6 at (65.00,37.22) startOffset 5 endOffset 6 height 15.60: "\""
-            chunk 1 (vertical) text run 7 at (65.00,42.62) startOffset 6 endOffset 7 height 15.60: "\x{6211}"
-            chunk 1 (vertical) text run 8 at (65.00,58.22) startOffset 7 endOffset 8 height 15.60: "\x{80FD}"
-            chunk 1 (vertical) text run 9 at (65.00,73.82) startOffset 8 endOffset 9 height 15.60: "\x{541E}"
-            chunk 1 (vertical) text run 10 at (65.00,89.42) startOffset 9 endOffset 10 height 15.60: "\x{4E0B}"
-            chunk 1 (vertical) text run 11 at (65.00,105.02) startOffset 10 endOffset 11 height 15.60: "\x{73BB}"
-            chunk 1 (vertical) text run 12 at (65.00,120.62) startOffset 11 endOffset 12 height 15.60: "\x{7483}"
-            chunk 1 (vertical) text run 13 at (65.00,136.22) startOffset 12 endOffset 13 height 15.60: "\x{800C}"
-            chunk 1 (vertical) text run 14 at (65.00,151.82) startOffset 13 endOffset 14 height 15.60: "\x{4E0D}"
-            chunk 1 (vertical) text run 15 at (65.00,167.42) startOffset 14 endOffset 15 height 15.60: "\x{4F24}"
-            chunk 1 (vertical) text run 16 at (65.00,183.02) startOffset 15 endOffset 16 height 15.60: "\x{8EAB}"
-            chunk 1 (vertical) text run 17 at (65.00,198.62) startOffset 16 endOffset 17 height 15.60: "\x{4F53}"
-            chunk 1 (vertical) text run 18 at (65.00,214.22) startOffset 17 endOffset 18 height 15.60: "\x{3002}"
-            chunk 1 (vertical) text run 19 at (65.00,229.82) startOffset 18 endOffset 19 height 15.60: "\""
-            chunk 1 (vertical) text run 20 at (65.00,235.22) startOffset 19 endOffset 20 height 15.60: " "
-            chunk 1 (vertical) text run 21 at (65.00,238.82) startOffset 20 endOffset 21 height 15.60: "i"
-            chunk 1 (vertical) text run 22 at (65.00,242.42) startOffset 21 endOffset 22 height 15.60: "n"
-            chunk 1 (vertical) text run 23 at (65.00,249.62) startOffset 22 endOffset 23 height 15.60: " "
-            chunk 1 (vertical) text run 24 at (65.00,253.22) startOffset 23 endOffset 24 height 15.60: "C"
-            chunk 1 (vertical) text run 25 at (65.00,262.22) startOffset 24 endOffset 25 height 15.60: "h"
-            chunk 1 (vertical) text run 26 at (65.00,269.42) startOffset 25 endOffset 26 height 15.60: "i"
-            chunk 1 (vertical) text run 27 at (65.00,273.02) startOffset 26 endOffset 27 height 15.60: "n"
-            chunk 1 (vertical) text run 28 at (65.00,280.22) startOffset 27 endOffset 28 height 15.60: "e"
-            chunk 1 (vertical) text run 29 at (65.00,286.22) startOffset 28 endOffset 29 height 15.60: "s"
-            chunk 1 (vertical) text run 30 at (65.00,291.62) startOffset 29 endOffset 30 height 15.60: "e"
-        LayoutSVGText {text} at (222.50,10) size 15x427.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (222.50,10) size 15x427.59
+            chunk 1 (vertical) text run 2 at (65.00,17.20) startOffset 1 endOffset 2 height 15.60: "e"
+            chunk 1 (vertical) text run 3 at (65.00,23.20) startOffset 2 endOffset 3 height 15.60: "x"
+            chunk 1 (vertical) text run 4 at (65.00,29.80) startOffset 3 endOffset 4 height 15.60: "t"
+            chunk 1 (vertical) text run 5 at (65.00,33.40) startOffset 4 endOffset 5 height 15.60: " "
+            chunk 1 (vertical) text run 6 at (65.00,37.00) startOffset 5 endOffset 6 height 15.60: "\""
+            chunk 1 (vertical) text run 7 at (65.00,42.40) startOffset 6 endOffset 7 height 15.60: "\x{6211}"
+            chunk 1 (vertical) text run 8 at (65.00,58.00) startOffset 7 endOffset 8 height 15.60: "\x{80FD}"
+            chunk 1 (vertical) text run 9 at (65.00,73.60) startOffset 8 endOffset 9 height 15.60: "\x{541E}"
+            chunk 1 (vertical) text run 10 at (65.00,89.20) startOffset 9 endOffset 10 height 15.60: "\x{4E0B}"
+            chunk 1 (vertical) text run 11 at (65.00,104.80) startOffset 10 endOffset 11 height 15.60: "\x{73BB}"
+            chunk 1 (vertical) text run 12 at (65.00,120.40) startOffset 11 endOffset 12 height 15.60: "\x{7483}"
+            chunk 1 (vertical) text run 13 at (65.00,136.00) startOffset 12 endOffset 13 height 15.60: "\x{800C}"
+            chunk 1 (vertical) text run 14 at (65.00,151.60) startOffset 13 endOffset 14 height 15.60: "\x{4E0D}"
+            chunk 1 (vertical) text run 15 at (65.00,167.20) startOffset 14 endOffset 15 height 15.60: "\x{4F24}"
+            chunk 1 (vertical) text run 16 at (65.00,182.80) startOffset 15 endOffset 16 height 15.60: "\x{8EAB}"
+            chunk 1 (vertical) text run 17 at (65.00,198.40) startOffset 16 endOffset 17 height 15.60: "\x{4F53}"
+            chunk 1 (vertical) text run 18 at (65.00,214.00) startOffset 17 endOffset 18 height 15.60: "\x{3002}"
+            chunk 1 (vertical) text run 19 at (65.00,229.60) startOffset 18 endOffset 19 height 15.60: "\""
+            chunk 1 (vertical) text run 20 at (65.00,235.00) startOffset 19 endOffset 20 height 15.60: " "
+            chunk 1 (vertical) text run 21 at (65.00,238.60) startOffset 20 endOffset 21 height 15.60: "i"
+            chunk 1 (vertical) text run 22 at (65.00,242.20) startOffset 21 endOffset 22 height 15.60: "n"
+            chunk 1 (vertical) text run 23 at (65.00,249.40) startOffset 22 endOffset 23 height 15.60: " "
+            chunk 1 (vertical) text run 24 at (65.00,253.00) startOffset 23 endOffset 24 height 15.60: "C"
+            chunk 1 (vertical) text run 25 at (65.00,262.00) startOffset 24 endOffset 25 height 15.60: "h"
+            chunk 1 (vertical) text run 26 at (65.00,269.20) startOffset 25 endOffset 26 height 15.60: "i"
+            chunk 1 (vertical) text run 27 at (65.00,272.80) startOffset 26 endOffset 27 height 15.60: "n"
+            chunk 1 (vertical) text run 28 at (65.00,280.00) startOffset 27 endOffset 28 height 15.60: "e"
+            chunk 1 (vertical) text run 29 at (65.00,286.00) startOffset 28 endOffset 29 height 15.60: "s"
+            chunk 1 (vertical) text run 30 at (65.00,291.40) startOffset 29 endOffset 30 height 15.60: "e"
+        LayoutSVGText {text} at (222.50,10) size 15x427.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (222.50,10) size 15x427.80
             chunk 1 (vertical) text run 1 at (225.50,10.00) startOffset 0 endOffset 1 height 15.00: "J"
             chunk 1 (vertical) text run 2 at (225.50,15.40) startOffset 1 endOffset 2 height 15.00: "a"
             chunk 1 (vertical) text run 3 at (225.50,21.40) startOffset 2 endOffset 3 height 15.00: "p"
@@ -74,8 +74,8 @@
             chunk 1 (vertical) text run 33 at (225.50,394.60) startOffset 32 endOffset 33 height 15.00: "\x{305B}"
             chunk 1 (vertical) text run 34 at (225.50,409.60) startOffset 33 endOffset 34 height 15.00: "\x{3093}"
             chunk 1 (vertical) text run 35 at (225.50,424.60) startOffset 34 endOffset 35 height 15.00: "\x{3002}"
-        LayoutSVGText {text} at (363.59,13) size 11.39x397.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (363.59,13) size 11.39x397.59
+        LayoutSVGText {text} at (363.59,13) size 11.39x397.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (363.59,13) size 11.39x397.80
             chunk 1 (vertical) text run 1 at (366.00,13.00) startOffset 0 endOffset 1 height 11.40: "J"
             chunk 1 (vertical) text run 2 at (366.00,24.40) startOffset 1 endOffset 2 height 11.40: "a"
             chunk 1 (vertical) text run 3 at (366.00,35.80) startOffset 2 endOffset 3 height 11.40: "p"
@@ -111,8 +111,8 @@
             chunk 1 (vertical) text run 33 at (366.00,377.80) startOffset 32 endOffset 33 height 11.40: "\x{305B}"
             chunk 1 (vertical) text run 34 at (366.00,389.20) startOffset 33 endOffset 34 height 11.40: "\x{3093}"
             chunk 1 (vertical) text run 35 at (366.00,400.60) startOffset 34 endOffset 35 height 11.40: "\x{3002}"
-        LayoutSVGText {text} at (102.19,80) size 36.59x150.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (102.19,80) size 36.59x150.19
+        LayoutSVGText {text} at (102.19,80) size 36.59x150 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (102.19,80) size 36.59x150
             chunk 1 (vertical) text run 1 at (110.00,80.00) startOffset 0 endOffset 1 height 36.60: "x"
             chunk 1 (vertical) text run 2 at (110.00,96.20) startOffset 1 endOffset 2 height 36.60: "t"
             chunk 1 (vertical) text run 3 at (110.00,105.20) startOffset 2 endOffset 3 height 36.60: " "
@@ -128,8 +128,8 @@
             chunk 1 (vertical) text run 4 at (268.50,119.00) startOffset 3 endOffset 4 height 40.80: " "
             chunk 1 (vertical) text run 5 at (268.50,128.00) startOffset 4 endOffset 5 height 40.80: "\x{79C1}"
             chunk 1 (vertical) text run 6 at (268.50,168.80) startOffset 5 endOffset 6 height 40.80: "\x{306F}"
-        LayoutSVGText {text} at (402.19,80) size 36.59x214.98 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (402.19,80) size 36.59x214.98
+        LayoutSVGText {text} at (402.19,80) size 36.59x214.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (402.19,80) size 36.59x214.80
             chunk 1 (vertical) text run 1 at (410.00,80.00) startOffset 0 endOffset 1 height 36.60: "s"
             chunk 1 (vertical) text run 2 at (410.00,116.60) startOffset 1 endOffset 2 height 36.60: "e"
             chunk 1 (vertical) text run 3 at (410.00,153.20) startOffset 2 endOffset 3 height 36.60: ":"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-04-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-04-t-expected.png
index 10cbf10..c6203ae2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-04-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-04-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt
index 76749e5..590a3a4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt
@@ -4,29 +4,29 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (10,4.39) size 434.39x239.19
-      LayoutSVGText {text} at (10,4.39) size 140.42x19.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,4.39) size 140.42x19.19
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 21 width 140.43: "Test horizontal text."
+      LayoutSVGText {text} at (10,4.39) size 140.39x19.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,4.39) size 140.39x19.19
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 21 width 140.40: "Test horizontal text."
       LayoutSVGContainer {g} at (10,44.39) size 434.39x199.19
         LayoutSVGText {text} at (10,44.39) size 277.80x19.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,44.39) size 277.80x19.80
             chunk 1 text run 1 at (10.00,60.00) startOffset 0 endOffset 42 width 277.80: "Polish: Mog\x{119} je\x{15B}\x{107} szk\x{142}o, i mi nie szkodzi."
-        LayoutSVGText {text} at (10,74.39) size 334.09x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,74.39) size 334.09x19.80
-            chunk 1 text run 1 at (10.00,90.00) startOffset 0 endOffset 47 width 334.10: "Russian: \x{42F} \x{43C}\x{43E}\x{433}\x{443} \x{435}\x{441}\x{442}\x{44C} \x{441}\x{442}\x{435}\x{43A}\x{43B}\x{43E}, \x{44D}\x{442}\x{43E} \x{43C}\x{43D}\x{435} \x{43D}\x{435} \x{432}\x{440}\x{435}\x{434}\x{438}\x{442}."
-        LayoutSVGText {text} at (10,106.19) size 381.67x17.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,106.19) size 381.67x17.39
-            chunk 1 text run 1 at (10.00,120.00) startOffset 0 endOffset 57 width 381.69: "Greek: \x{39C}\x{3C0}\x{3BF}\x{3C1}\x{3CE} \x{3BD}\x{3B1} \x{3C6}\x{3AC}\x{3C9} \x{3C3}\x{3C0}\x{3B1}\x{3C3}\x{3BC}\x{3AD}\x{3BD}\x{3B1} \x{3B3}\x{3C5}\x{3B1}\x{3BB}\x{3B9}\x{3AC} \x{3C7}\x{3C9}\x{3C1}\x{3AF}\x{3C2} \x{3BD}\x{3B1} \x{3C0}\x{3AC}\x{3B8}\x{3C9} \x{3C4}\x{3AF}\x{3C0}\x{3BF}\x{3C4}\x{3B1}."
-        LayoutSVGText {text} at (10,134.39) size 343.20x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,134.39) size 343.19x19.80
-            chunk 1 text run 1 at (10.00,150.00) startOffset 0 endOffset 6 width 39.01: "Text \""
-            chunk 1 text run 1 at (49.01,150.00) startOffset 0 endOffset 36 width 210.00 RTL: "\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}"
-            chunk 1 text run 1 at (259.01,150.00) startOffset 0 endOffset 14 width 94.20: "\" is in Hebrew"
-        LayoutSVGText {text} at (10,164.39) size 309.25x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,164.39) size 309.23x19.80
-            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 9 width 61.46: "Yiddish: "
-            chunk 1 text run 1 at (71.46,180.00) startOffset 0 endOffset 40 width 243.60 RTL: "\x{5D0}\x{5D9}\x{5DA} \x{5E7}\x{5E2}\x{5DF} \x{5E2}\x{5E1}\x{5DF} \x{5D2}\x{5DC}\x{5D0}\x{5B8}\x{5D6} \x{5D0}\x{5D5}\x{5DF} \x{5E2}\x{5E1} \x{5D8}\x{5D5}\x{5D8} \x{5DE}\x{5D9}\x{5E8} \x{5E0}\x{5D9}\x{5E9}\x{5D8} \x{5F0}\x{5F2}"
-            chunk 1 text run 1 at (315.06,180.00) startOffset 0 endOffset 1 width 4.20: "."
+        LayoutSVGText {text} at (10,74.39) size 334.80x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,74.39) size 334.80x19.80
+            chunk 1 text run 1 at (10.00,90.00) startOffset 0 endOffset 47 width 334.80: "Russian: \x{42F} \x{43C}\x{43E}\x{433}\x{443} \x{435}\x{441}\x{442}\x{44C} \x{441}\x{442}\x{435}\x{43A}\x{43B}\x{43E}, \x{44D}\x{442}\x{43E} \x{43C}\x{43D}\x{435} \x{43D}\x{435} \x{432}\x{440}\x{435}\x{434}\x{438}\x{442}."
+        LayoutSVGText {text} at (10,106.19) size 381.59x17.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,106.19) size 381.59x17.39
+            chunk 1 text run 1 at (10.00,120.00) startOffset 0 endOffset 57 width 381.60: "Greek: \x{39C}\x{3C0}\x{3BF}\x{3C1}\x{3CE} \x{3BD}\x{3B1} \x{3C6}\x{3AC}\x{3C9} \x{3C3}\x{3C0}\x{3B1}\x{3C3}\x{3BC}\x{3AD}\x{3BD}\x{3B1} \x{3B3}\x{3C5}\x{3B1}\x{3BB}\x{3B9}\x{3AC} \x{3C7}\x{3C9}\x{3C1}\x{3AF}\x{3C2} \x{3BD}\x{3B1} \x{3C0}\x{3AC}\x{3B8}\x{3C9} \x{3C4}\x{3AF}\x{3C0}\x{3BF}\x{3C4}\x{3B1}."
+        LayoutSVGText {text} at (10,134.39) size 343.19x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,134.39) size 343.17x19.80
+            chunk 1 text run 1 at (10.00,150.00) startOffset 0 endOffset 6 width 39.00: "Text \""
+            chunk 1 text run 1 at (49.00,150.00) startOffset 0 endOffset 36 width 210.00 RTL: "\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}"
+            chunk 1 text run 1 at (259.00,150.00) startOffset 0 endOffset 14 width 94.20: "\" is in Hebrew"
+        LayoutSVGText {text} at (10,164.39) size 309x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,164.39) size 308.98x19.80
+            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 9 width 61.20: "Yiddish: "
+            chunk 1 text run 1 at (71.20,180.00) startOffset 0 endOffset 40 width 243.60 RTL: "\x{5D0}\x{5D9}\x{5DA} \x{5E7}\x{5E2}\x{5DF} \x{5E2}\x{5E1}\x{5DF} \x{5D2}\x{5DC}\x{5D0}\x{5B8}\x{5D6} \x{5D0}\x{5D5}\x{5DF} \x{5E2}\x{5E1} \x{5D8}\x{5D5}\x{5D8} \x{5DE}\x{5D9}\x{5E8} \x{5E0}\x{5D9}\x{5E9}\x{5D8} \x{5F0}\x{5F2}"
+            chunk 1 text run 1 at (314.80,180.00) startOffset 0 endOffset 1 width 4.20: "."
         LayoutSVGText {text} at (10,194.39) size 260.39x19.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,194.39) size 260.39x19.80
             chunk 1 text run 1 at (10.00,210.00) startOffset 0 endOffset 20 width 260.40: "Chinese:\x{6211}\x{80FD}\x{541E}\x{4E0B}\x{73BB}\x{7483}\x{800C}\x{4E0D}\x{4F24}\x{8EAB}\x{4F53}\x{3002}"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-path-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-path-01-b-expected.txt
index 8bb8b527..9469802 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-path-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-path-01-b-expected.txt
@@ -63,30 +63,30 @@
       LayoutSVGContainer {g} at (113,211.39) size 300x79.80
         LayoutSVGContainer {use} at (113,233) size 300x0
           LayoutSVGPath {path} at (113,233) size 300x0 [stroke={[type=SOLID] [color=#0000FF] [stroke width=4.00]}] [data="M 113 233 L 413 233"]
-        LayoutSVGText {text} at (212,211.39) size 173.73x27 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (212,211.39) size 173.73x27
-            LayoutSVGInlineText {#text} at (212,211.39) size 173.73x27
+        LayoutSVGText {text} at (212,211.39) size 174x27 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (212,211.39) size 174x27
+            LayoutSVGInlineText {#text} at (212,211.39) size 174x27
               chunk 1 text run 1 at (219.20,233.00) startOffset 0 endOffset 1 width 14.40: "T"
               chunk 1 text run 2 at (232.70,233.00) startOffset 1 endOffset 2 width 12.60: "h"
               chunk 1 text run 3 at (245.60,233.00) startOffset 2 endOffset 3 width 13.20: "e"
               chunk 1 text run 4 at (255.50,233.00) startOffset 3 endOffset 4 width 6.60: " "
-              chunk 1 text run 5 at (264.67,233.00) startOffset 4 endOffset 5 width 14.40: "T"
-              chunk 1 text run 6 at (277.14,233.00) startOffset 5 endOffset 6 width 13.20: "e"
-              chunk 1 text run 7 at (289.14,233.00) startOffset 6 endOffset 7 width 10.80: "x"
-              chunk 1 text run 8 at (297.84,233.00) startOffset 7 endOffset 8 width 6.60: "t"
-              chunk 1 text run 9 at (304.44,233.00) startOffset 8 endOffset 9 width 6.60: " "
-              chunk 1 text run 10 at (314.34,233.00) startOffset 9 endOffset 10 width 13.20: "o"
-              chunk 1 text run 11 at (327.24,233.00) startOffset 10 endOffset 11 width 12.60: "n"
-              chunk 1 text run 12 at (336.84,233.00) startOffset 11 endOffset 12 width 6.60: " "
-              chunk 1 text run 13 at (346.74,233.00) startOffset 12 endOffset 13 width 13.20: "p"
-              chunk 1 text run 14 at (359.94,233.00) startOffset 13 endOffset 14 width 13.20: "a"
-              chunk 1 text run 15 at (369.84,233.00) startOffset 14 endOffset 15 width 6.60: "t"
-              chunk 1 text run 16 at (379.44,233.00) startOffset 15 endOffset 16 width 12.60: "h"
+              chunk 1 text run 5 at (264.80,233.00) startOffset 4 endOffset 5 width 14.40: "T"
+              chunk 1 text run 6 at (277.40,233.00) startOffset 5 endOffset 6 width 13.20: "e"
+              chunk 1 text run 7 at (289.40,233.00) startOffset 6 endOffset 7 width 10.80: "x"
+              chunk 1 text run 8 at (298.10,233.00) startOffset 7 endOffset 8 width 6.60: "t"
+              chunk 1 text run 9 at (304.70,233.00) startOffset 8 endOffset 9 width 6.60: " "
+              chunk 1 text run 10 at (314.60,233.00) startOffset 9 endOffset 10 width 13.20: "o"
+              chunk 1 text run 11 at (327.50,233.00) startOffset 10 endOffset 11 width 12.60: "n"
+              chunk 1 text run 12 at (337.10,233.00) startOffset 11 endOffset 12 width 6.60: " "
+              chunk 1 text run 13 at (347.00,233.00) startOffset 12 endOffset 13 width 13.20: "p"
+              chunk 1 text run 14 at (360.20,233.00) startOffset 13 endOffset 14 width 13.20: "a"
+              chunk 1 text run 15 at (370.10,233.00) startOffset 14 endOffset 15 width 6.60: "t"
+              chunk 1 text run 16 at (379.70,233.00) startOffset 15 endOffset 16 width 12.60: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGRect {rect} at (118,250) size 260x41 [stroke={[type=SOLID] [color=#000000]}] [x=118.00] [y=250.00] [width=260.00] [height=41.00]
-        LayoutSVGText {text} at (120,248.39) size 225.83x22.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (120,248.39) size 225.83x22.80
-            chunk 1 text run 1 at (120.00,267.00) startOffset 0 endOffset 30 width 225.84: "'startOffset' attribute of the"
+        LayoutSVGText {text} at (120,248.39) size 225.59x22.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (120,248.39) size 225.59x22.80
+            chunk 1 text run 1 at (120.00,267.00) startOffset 0 endOffset 30 width 225.60: "'startOffset' attribute of the"
         LayoutSVGText {text} at (120,268.39) size 154.80x22.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (120,268.39) size 154.80x22.80
             chunk 1 text run 1 at (120.00,287.00) startOffset 0 endOffset 19 width 154.80: "'textPath' element."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-spacing-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-spacing-01-b-expected.png
index 29c3a143..3fef8431 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-spacing-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-spacing-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt
index a0a95455..4603f3a7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt
@@ -2,8 +2,8 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (2.89,0.80) size 72.61x49.89
-      LayoutSVGContainer {g} at (2.89,0.80) size 72.61x49.89
+    LayoutSVGContainer {g} at (2.89,0.80) size 72.69x49.89
+      LayoutSVGContainer {g} at (2.89,0.80) size 72.69x49.89
         LayoutSVGText {text} at (3,0.80) size 54.39x8.89 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (3,0.80) size 54.39x8.89
             chunk 1 text run 1 at (3.00,8.00) startOffset 0 endOffset 16 width 54.40: "letter-spacing:0"
@@ -45,21 +45,21 @@
             chunk 1 text run 15 at (55.00,24.00) startOffset 14 endOffset 15 width 2.20: ":"
             chunk 1 text run 16 at (57.50,24.00) startOffset 15 endOffset 16 width 2.20: "."
             chunk 1 text run 17 at (60.00,24.00) startOffset 16 endOffset 17 width 4.40: "3"
-        LayoutSVGText {text} at (2.89,25.80) size 63.61x8.89 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (2.89,25.80) size 63.61x8.89
-            chunk 1 text run 1 at (3.00,33.00) startOffset 0 endOffset 16 width 63.51: "ws:0 - Two Words"
-        LayoutSVGText {text} at (2.89,33.80) size 57.31x8.89 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (2.89,33.80) size 57.31x8.89
+        LayoutSVGText {text} at (2.89,25.80) size 63.69x8.89 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (2.89,25.80) size 63.69x8.89
+            chunk 1 text run 1 at (3.00,33.00) startOffset 0 endOffset 16 width 63.60: "ws:0 - Two Words"
+        LayoutSVGText {text} at (2.89,33.80) size 57.39x8.89 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (2.89,33.80) size 57.39x8.89
             chunk 1 text run 1 at (3.00,41.00) startOffset 0 endOffset 6 width 21.20: "ws:-3 "
             chunk 1 text run 2 at (21.20,41.00) startOffset 6 endOffset 8 width 4.90: "- "
-            chunk 1 text run 3 at (23.10,41.00) startOffset 8 endOffset 12 width 16.86: "Two "
-            chunk 1 text run 4 at (36.96,41.00) startOffset 12 endOffset 17 width 23.26: "Words"
-        LayoutSVGText {text} at (2.89,41.80) size 72.61x8.89 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (2.89,41.80) size 72.61x8.89
+            chunk 1 text run 3 at (23.10,41.00) startOffset 8 endOffset 12 width 16.90: "Two "
+            chunk 1 text run 4 at (37.00,41.00) startOffset 12 endOffset 17 width 23.30: "Words"
+        LayoutSVGText {text} at (2.89,41.80) size 72.69x8.89 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (2.89,41.80) size 72.69x8.89
             chunk 1 text run 1 at (3.00,49.00) startOffset 0 endOffset 5 width 18.50: "ws:3 "
             chunk 1 text run 2 at (24.50,49.00) startOffset 5 endOffset 7 width 4.90: "- "
-            chunk 1 text run 3 at (32.40,49.00) startOffset 7 endOffset 11 width 16.86: "Two "
-            chunk 1 text run 4 at (52.26,49.00) startOffset 11 endOffset 16 width 23.26: "Words"
+            chunk 1 text run 3 at (32.40,49.00) startOffset 7 endOffset 11 width 16.90: "Two "
+            chunk 1 text run 4 at (52.30,49.00) startOffset 11 endOffset 16 width 23.30: "Words"
     LayoutSVGText {text} at (5,51.59) size 39.30x6.80 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (5,51.59) size 39.30x6.80
         chunk 1 text run 1 at (5.00,57.00) startOffset 0 endOffset 16 width 39.30: "$Revision: 1.6 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-text-07-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-text-07-t-expected.txt
index 1186067..c97ef9e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-text-07-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-text-07-t-expected.txt
@@ -13,14 +13,14 @@
           chunk 1 text run 1 at (340.00,160.00) startOffset 0 endOffset 1 width 9.00: " "
           chunk 1 text run 1 at (360.00,180.00) startOffset 0 endOffset 1 width 25.20: "X"
           chunk 1 text run 1 at (385.20,200.00) startOffset 0 endOffset 2 width 34.20: " Y"
-      LayoutSVGText {text} at (10,28.19) size 146.38x53.28 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,28.19) size 146.38x53.28
+      LayoutSVGText {text} at (10,28.19) size 146.45x53.28 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,28.19) size 146.45x53.28
           chunk 1 text run 1 at (10.00,60.00) startOffset 0 endOffset 1 width 23.40: "R"
           chunk 1 text run 2 at (33.40,60.00) startOffset 1 endOffset 2 width 25.20: "O"
           chunk 1 text run 3 at (58.60,60.00) startOffset 2 endOffset 3 width 21.00: "T"
-          chunk 1 text run 4 at (76.80,60.00) startOffset 3 endOffset 4 width 24.60: "A"
-          chunk 1 text run 5 at (97.52,60.00) startOffset 4 endOffset 5 width 21.00: "T"
-          chunk 1 text run 6 at (118.52,60.00) startOffset 5 endOffset 6 width 21.00: "E"
+          chunk 1 text run 4 at (76.60,60.00) startOffset 3 endOffset 4 width 24.60: "A"
+          chunk 1 text run 5 at (97.60,60.00) startOffset 4 endOffset 5 width 21.00: "T"
+          chunk 1 text run 6 at (118.60,60.00) startOffset 5 endOffset 6 width 21.00: "E"
       LayoutSVGText {text} at (10,165.92) size 247.27x142.47 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,165.92) size 247.25x142.45
           chunk 1 text run 1 at (10.00,300.00) startOffset 0 endOffset 1 width 22.80: "B"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-text-08-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-text-08-b-expected.png
index 9a4cf32e..14bfab6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-text-08-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-text-08-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-text-08-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-text-08-b-expected.txt
index 71edcb7..026b15f8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-text-08-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-text-08-b-expected.txt
@@ -2,19 +2,19 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (19,-4.19) size 465.86x257.98
-      LayoutSVGText {text} at (19,-4.19) size 390.31x78 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,-4.19) size 390.31x78
-          chunk 1 text run 1 at (19.00,60.00) startOffset 0 endOffset 11 width 390.33: "Normal Text"
-      LayoutSVGText {text} at (19,55.80) size 345.88x78 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,55.80) size 345.88x78
-          chunk 1 text run 1 at (19.00,120.00) startOffset 0 endOffset 12 width 345.89: "Fill opacity"
-      LayoutSVGText {text} at (19,115.80) size 465.86x78 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,115.80) size 465.86x78
-          chunk 1 text run 1 at (19.00,180.00) startOffset 0 endOffset 14 width 465.86: "Stroke opacity"
-      LayoutSVGText {text} at (19,175.80) size 243.28x78 [opacity=0.50] contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,175.80) size 243.28x78 [opacity=0.50]
-          chunk 1 text run 1 at (19.00,240.00) startOffset 0 endOffset 7 width 243.29: "Opacity"
+    LayoutSVGContainer {g} at (19,-4.19) size 465.59x257.98
+      LayoutSVGText {text} at (19,-4.19) size 390.59x78 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,-4.19) size 390.59x78
+          chunk 1 text run 1 at (19.00,60.00) startOffset 0 endOffset 11 width 390.60: "Normal Text"
+      LayoutSVGText {text} at (19,55.80) size 345.59x78 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,55.80) size 345.59x78
+          chunk 1 text run 1 at (19.00,120.00) startOffset 0 endOffset 12 width 345.60: "Fill opacity"
+      LayoutSVGText {text} at (19,115.80) size 465.59x78 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,115.80) size 465.59x78
+          chunk 1 text run 1 at (19.00,180.00) startOffset 0 endOffset 14 width 465.60: "Stroke opacity"
+      LayoutSVGText {text} at (19,175.80) size 243x78 [opacity=0.50] contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,175.80) size 243x78 [opacity=0.50]
+          chunk 1 text run 1 at (19.00,240.00) startOffset 0 endOffset 7 width 243.00: "Opacity"
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.3 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tselect-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tselect-01-b-expected.png
index a0edf9d..5b3d2ae4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tselect-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tselect-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt
index f85ebee9..84a299c5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt
@@ -3,39 +3,39 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (1,1) size 478x358
-      LayoutSVGText {text} at (10,4.39) size 308.42x19.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,4.39) size 308.42x19.19
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 46 width 308.43: "Test single line and multiline text selection."
-      LayoutSVGContainer {g} at (25,49.39) size 367.52x219.19
+      LayoutSVGText {text} at (10,4.39) size 308.39x19.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,4.39) size 308.39x19.19
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 46 width 308.40: "Test single line and multiline text selection."
+      LayoutSVGContainer {g} at (25,49.39) size 367.80x219.19
         LayoutSVGText {text} at (25,49.39) size 259.19x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,49.39) size 259.19x19.19
             chunk 1 text run 1 at (25.00,65.00) startOffset 0 endOffset 37 width 259.20: "Here is a stand-alone 'text' element."
-        LayoutSVGText {text} at (25,74.39) size 303.31x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25,74.39) size 303.31x19.19
-            chunk 1 text run 1 at (25.00,90.00) startOffset 0 endOffset 43 width 303.32: "Here is a second 'text' element just below."
+        LayoutSVGText {text} at (25,74.39) size 303.59x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25,74.39) size 303.59x19.19
+            chunk 1 text run 1 at (25.00,90.00) startOffset 0 endOffset 43 width 303.60: "Here is a second 'text' element just below."
         LayoutSVGText {text} at (25,99.39) size 349.80x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,99.39) size 349.80x19.19
             chunk 1 text run 1 at (25.00,115.00) startOffset 0 endOffset 48 width 349.80: "Because these are four separate 'text' elements,"
         LayoutSVGText {text} at (25,124.39) size 332.39x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,124.39) size 332.39x19.19
             chunk 1 text run 1 at (25.00,140.00) startOffset 0 endOffset 47 width 332.40: "text selection should not go across lines here."
-        LayoutSVGText {text} at (25,174.39) size 367.52x94.19 contains 1 chunk(s)
-          LayoutSVGTSpan {tspan} at (25,174.39) size 367.52x94.19
-            LayoutSVGInlineText {#text} at (25,174.39) size 362.70x19.19
-              chunk 1 text run 1 at (25.00,190.00) startOffset 0 endOffset 50 width 362.72: "However, these lines of text are achieved by using"
-          LayoutSVGInlineText {#text} at (387.70,174.39) size 4.80x19.19
-            chunk 1 text run 1 at (387.72,190.00) startOffset 0 endOffset 1 width 4.80: " "
-          LayoutSVGTSpan {tspan} at (25,174.39) size 367.52x94.19
+        LayoutSVGText {text} at (25,174.39) size 367.80x94.19 contains 1 chunk(s)
+          LayoutSVGTSpan {tspan} at (25,174.39) size 367.80x94.19
+            LayoutSVGInlineText {#text} at (25,174.39) size 363x19.19
+              chunk 1 text run 1 at (25.00,190.00) startOffset 0 endOffset 50 width 363.00: "However, these lines of text are achieved by using"
+          LayoutSVGInlineText {#text} at (387.98,174.39) size 4.80x19.19
+            chunk 1 text run 1 at (388.00,190.00) startOffset 0 endOffset 1 width 4.80: " "
+          LayoutSVGTSpan {tspan} at (25,174.39) size 367.80x94.19
             LayoutSVGInlineText {#text} at (25,199.39) size 355.80x19.19
               chunk 1 text run 1 at (25.00,215.00) startOffset 0 endOffset 51 width 355.80: "one 'tspan' per line, all contained within the same"
           LayoutSVGInlineText {#text} at (380.80,199.39) size 4.80x19.19
             chunk 1 text run 1 at (380.80,215.00) startOffset 0 endOffset 1 width 4.80: " "
-          LayoutSVGTSpan {tspan} at (25,174.39) size 367.52x94.19
+          LayoutSVGTSpan {tspan} at (25,174.39) size 367.80x94.19
             LayoutSVGInlineText {#text} at (25,224.39) size 351x19.19
               chunk 1 text run 1 at (25.00,240.00) startOffset 0 endOffset 51 width 351.00: "'text' element, so you should be able to select all"
           LayoutSVGInlineText {#text} at (375.98,224.39) size 4.80x19.19
             chunk 1 text run 1 at (376.00,240.00) startOffset 0 endOffset 1 width 4.80: " "
-          LayoutSVGTSpan {tspan} at (25,174.39) size 367.52x94.19
+          LayoutSVGTSpan {tspan} at (25,174.39) size 367.80x94.19
             LayoutSVGInlineText {#text} at (25,249.39) size 196.80x19.19
               chunk 1 text run 1 at (25.00,265.00) startOffset 0 endOffset 28 width 196.80: "four lines at the same time."
           LayoutSVGInlineText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tspan-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tspan-01-b-expected.png
index 9346844..c140926 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tspan-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tspan-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt
index b5eb9e0f9..408dfb0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt
@@ -2,30 +2,30 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (17.50,4.39) size 453.31x293.86
+    LayoutSVGContainer {g} at (17.50,4.39) size 453.30x293.86
       LayoutSVGText {text} at (25,4.39) size 430.19x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (25,4.39) size 430.19x19.19
           chunk 1 text run 1 at (25.00,20.00) startOffset 0 endOffset 60 width 430.20: "Basics of tspan: changing visual properties and positioning."
       LayoutSVGContainer {g} at (47.50,48.14) size 311.75x80.69
-        LayoutSVGText {text} at (74,48.14) size 163.53x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (74,48.14) size 55.53x19.19
-            chunk 1 text run 1 at (74.00,63.75) startOffset 0 endOffset 7 width 55.53: "You are"
-          LayoutSVGTSpan {tspan} at (74,48.14) size 163.53x19.80
-            LayoutSVGInlineText {#text} at (129.53,48.75) size 35.39x19.19
-              chunk 1 text run 1 at (129.53,63.75) startOffset 0 endOffset 5 width 35.40: " not "
-          LayoutSVGInlineText {#text} at (164.92,48.14) size 72.59x19.19
-            chunk 1 text run 1 at (164.93,63.75) startOffset 0 endOffset 9 width 72.60: "a banana."
+        LayoutSVGText {text} at (74,48.14) size 163.80x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (74,48.14) size 55.80x19.19
+            chunk 1 text run 1 at (74.00,63.75) startOffset 0 endOffset 7 width 55.80: "You are"
+          LayoutSVGTSpan {tspan} at (74,48.14) size 163.80x19.80
+            LayoutSVGInlineText {#text} at (129.80,48.75) size 35.39x19.19
+              chunk 1 text run 1 at (129.80,63.75) startOffset 0 endOffset 5 width 35.40: " not "
+          LayoutSVGInlineText {#text} at (165.19,48.14) size 72.59x19.19
+            chunk 1 text run 1 at (165.20,63.75) startOffset 0 endOffset 9 width 72.60: "a banana."
         LayoutSVGRect {rect} at (47.50,74.25) size 310.50x53.50 [stroke={[type=SOLID] [color=#000000]}] [x=47.50] [y=74.25] [width=310.50] [height=53.50]
-        LayoutSVGText {text} at (65.25,75.14) size 210.95x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (65.25,75.14) size 210.95x19.19
-            chunk 1 text run 1 at (65.25,90.75) startOffset 0 endOffset 29 width 210.96: "Text: \"You are not a banana.\""
+        LayoutSVGText {text} at (65.25,75.14) size 211.19x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (65.25,75.14) size 211.19x19.19
+            chunk 1 text run 1 at (65.25,90.75) startOffset 0 endOffset 29 width 211.20: "Text: \"You are not a banana.\""
         LayoutSVGText {text} at (65.25,92.39) size 294x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (65.25,92.39) size 294x19.19
             chunk 1 text run 1 at (65.25,108.00) startOffset 0 endOffset 43 width 294.00: "'tspan' changes visual attributes of \"not\","
         LayoutSVGText {text} at (65.25,109.64) size 87x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (65.25,109.64) size 87x19.19
             chunk 1 text run 1 at (65.25,125.25) startOffset 0 endOffset 13 width 87.00: "to red, bold."
-      LayoutSVGContainer {g} at (225,128) size 245.81x105.08
+      LayoutSVGContainer {g} at (225,128) size 245.80x105.08
         LayoutSVGText {text} at (257.50,128) size 180.19x44.09 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (257.50,138.14) size 55.80x19.19
             chunk 1 text run 1 at (257.50,153.75) startOffset 0 endOffset 7 width 55.80: "But you"
@@ -36,12 +36,12 @@
             LayoutSVGInlineText {#text} at (369.89,152.89) size 67.80x19.19
               chunk 1 text run 1 at (369.90,168.50) startOffset 0 endOffset 9 width 67.80: " a peach!"
         LayoutSVGRect {rect} at (225,179) size 245.50x53.50 [stroke={[type=SOLID] [color=#000000]}] [x=225.00] [y=179.00] [width=245.50] [height=53.50]
-        LayoutSVGText {text} at (238,179.39) size 202.22x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (238,179.39) size 202.22x19.19
-            chunk 1 text run 1 at (238.00,195.00) startOffset 0 endOffset 28 width 202.23: "Text: \"But you are a peach!\""
-        LayoutSVGText {text} at (238,196.64) size 232.81x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (238,196.64) size 232.81x19.19
-            chunk 1 text run 1 at (238.00,212.25) startOffset 0 endOffset 34 width 232.81: "Using dx,dy, 'tspan' raises \"are\","
+        LayoutSVGText {text} at (238,179.39) size 202.19x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (238,179.39) size 202.19x19.19
+            chunk 1 text run 1 at (238.00,195.00) startOffset 0 endOffset 28 width 202.20: "Text: \"But you are a peach!\""
+        LayoutSVGText {text} at (238,196.64) size 232.80x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (238,196.64) size 232.80x19.19
+            chunk 1 text run 1 at (238.00,212.25) startOffset 0 endOffset 34 width 232.80: "Using dx,dy, 'tspan' raises \"are\","
         LayoutSVGText {text} at (238,213.89) size 177.59x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (238,213.89) size 177.59x19.19
             chunk 1 text run 1 at (238.00,229.50) startOffset 0 endOffset 25 width 177.60: "'tspan' lowers \"a peach!\""
@@ -64,12 +64,12 @@
               chunk 1 text run 1 at (81.88,230.50) startOffset 0 endOffset 1 width 9.00: "u"
               chunk 1 text run 1 at (100.63,230.50) startOffset 0 endOffset 1 width 7.80: "z"
               chunk 1 text run 1 at (119.38,230.50) startOffset 0 endOffset 1 width 7.80: "z"
-              chunk 1 text run 1 at (138.13,230.50) startOffset 0 endOffset 2 width 12.01: "y."
+              chunk 1 text run 1 at (138.13,230.50) startOffset 0 endOffset 2 width 12.00: "y."
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGRect {rect} at (17.50,244.75) size 335.50x53.50 [stroke={[type=SOLID] [color=#000000]}] [x=17.50] [y=244.75] [width=335.50] [height=53.50]
-        LayoutSVGText {text} at (25.25,242.39) size 162.63x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25.25,242.39) size 162.63x19.19
-            chunk 1 text run 1 at (25.25,258.00) startOffset 0 endOffset 23 width 162.64: "Text: \"Cute and fuzzy.\""
+        LayoutSVGText {text} at (25.25,242.39) size 162.59x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25.25,242.39) size 162.59x19.19
+            chunk 1 text run 1 at (25.25,258.00) startOffset 0 endOffset 23 width 162.60: "Text: \"Cute and fuzzy.\""
         LayoutSVGText {text} at (25.25,259.64) size 328.80x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25.25,259.64) size 328.80x19.19
             chunk 1 text run 1 at (25.25,275.25) startOffset 0 endOffset 45 width 328.80: "'tspan' char-by-char placement of \"Cute and\","
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.png
index 90bdd68..8e219829 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt
index 123c5503..5fc5433 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt
@@ -4,13 +4,13 @@
   LayoutSVGRoot {svg} at (0,0) size 480x360
     LayoutSVGContainer {g} at (10,7.88) size 365x275.12
       LayoutSVGContainer {g} at (10,7.88) size 365x275.12
-        LayoutSVGContainer {g} at (-53.03,67.88) size 358.03x155.32 [transform={m=((1.00,0.00)(0.00,1.00)) t=(70.00,-60.00)}]
-          LayoutSVGText {text} at (30,130) size 341.11x24.98 [transform={m=((0.42,0.42)(-0.42,0.42)) t=(0.00,0.00)}] contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (30,130) size 341.11x24.98
-              chunk 1 text run 1 at (30.00,150.00) startOffset 0 endOffset 37 width 341.12: "Rotated Text for testing SVGLocatable"
-          LayoutSVGText {text} at (100,111.42) size 300.63x22.84 [transform={m=((0.70,0.00)(0.00,0.70)) t=(0.00,0.00)}] contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (100,111.42) size 300.63x22.84
-              chunk 1 text run 1 at (100.00,130.00) startOffset 0 endOffset 35 width 300.64: "Some other text with id 'otherText'"
+        LayoutSVGContainer {g} at (-53.03,67.88) size 358.03x155.55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(70.00,-60.00)}]
+          LayoutSVGText {text} at (30,130) size 341.66x24.98 [transform={m=((0.42,0.42)(-0.42,0.42)) t=(0.00,0.00)}] contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (30,130) size 341.66x24.98
+              chunk 1 text run 1 at (30.00,150.00) startOffset 0 endOffset 37 width 341.67: "Rotated Text for testing SVGLocatable"
+          LayoutSVGText {text} at (100,111.42) size 300x22.84 [transform={m=((0.70,0.00)(0.00,0.70)) t=(0.00,0.00)}] contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (100,111.42) size 300x22.84
+              chunk 1 text run 1 at (100.00,130.00) startOffset 0 endOffset 35 width 300.00: "Some other text with id 'otherText'"
           LayoutSVGViewportContainer {svg} at (-50,-50) size 100x100
             LayoutSVGEllipse {circle} at (-50,-50) size 100x100 [fill={[type=SOLID] [color=#FF0000]}] [cx=0.00] [cy=0.00] [r=50.00]
         LayoutSVGText {text} at (10,188) size 279x15 contains 1 chunk(s)
@@ -22,12 +22,12 @@
         LayoutSVGText {text} at (10,228) size 336x15 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,228) size 336x15
             chunk 1 text run 1 at (10.00,240.00) startOffset 0 endOffset 64 width 336.00: ".getBBox() for 'redCircle': .x=-50,.y=-50,.width=100,.height=100"
-        LayoutSVGText {text} at (10,248) size 253.78x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,248) size 253.78x15
-            chunk 1 text run 1 at (10.00,260.00) startOffset 0 endOffset 46 width 253.78: ".farthestViewportElement of redCircle=svg-root"
-        LayoutSVGText {text} at (10,268) size 272.78x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,268) size 272.78x15
-            chunk 1 text run 1 at (10.00,280.00) startOffset 0 endOffset 46 width 272.78: ".nearestViewportElement of redCircle=nestedSVG"
+        LayoutSVGText {text} at (10,248) size 254x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,248) size 254x15
+            chunk 1 text run 1 at (10.00,260.00) startOffset 0 endOffset 46 width 254.00: ".farthestViewportElement of redCircle=svg-root"
+        LayoutSVGText {text} at (10,268) size 273x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,268) size 273x15
+            chunk 1 text run 1 at (10.00,280.00) startOffset 0 endOffset 46 width 273.00: ".nearestViewportElement of redCircle=nestedSVG"
     LayoutSVGText {text} at (10,304) size 261x46 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 261x46
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 261.00: "$Revision: 1.1 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/as-background-image/animated-svg-as-background-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/as-background-image/animated-svg-as-background-expected.png
index 029d629..21471a8b0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/as-background-image/animated-svg-as-background-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/as-background-image/animated-svg-as-background-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/as-background-image/svg-as-background-5-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/as-background-image/svg-as-background-5-expected.png
index e8823b6b..52d84b8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/as-background-image/svg-as-background-5-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/as-background-image/svg-as-background-5-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/as-background-image/svg-as-background-6-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/as-background-image/svg-as-background-6-expected.png
index 2b3b8b2..0642bf1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/as-background-image/svg-as-background-6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/as-background-image/svg-as-background-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/as-border-image/svg-as-border-image-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/as-border-image/svg-as-border-image-2-expected.txt
index 0c36e24f..393845f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/as-border-image/svg-as-border-image-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/as-border-image/svg-as-border-image-2-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 370x438.81 [border: (1px solid #000000)]
         LayoutBlockFlow {H2} at (1,20.91) size 368x27
-          LayoutText {#text} at (0,0) size 194x26
-            text run at (0,0) width 194: "SVG border-image"
+          LayoutText {#text} at (0,0) size 193x26
+            text run at (0,0) width 193: "SVG border-image"
         LayoutBlockFlow (anonymous) at (1,67.81) size 368x370
           LayoutBlockFlow {DIV} at (10,10) size 160x160 [border: (30px solid #000000)]
           LayoutText {#text} at (180,165) size 4x19
@@ -24,8 +24,8 @@
         text run at (370,417) width 4: " "
       LayoutBlockFlow {DIV} at (374,0) size 370x438.81 [border: (1px solid #000000)]
         LayoutBlockFlow {H2} at (1,20.91) size 368x27
-          LayoutText {#text} at (0,0) size 196x26
-            text run at (0,0) width 196: "PNG border-image"
+          LayoutText {#text} at (0,0) size 195x26
+            text run at (0,0) width 195: "PNG border-image"
         LayoutBlockFlow (anonymous) at (1,67.81) size 368x370
           LayoutBlockFlow {DIV} at (10,10) size 160x160 [border: (30px solid #000000)]
           LayoutText {#text} at (180,165) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/as-border-image/svg-as-border-image-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/as-border-image/svg-as-border-image-expected.txt
index 0c36e24f..393845f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/as-border-image/svg-as-border-image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/as-border-image/svg-as-border-image-expected.txt
@@ -5,8 +5,8 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {DIV} at (0,0) size 370x438.81 [border: (1px solid #000000)]
         LayoutBlockFlow {H2} at (1,20.91) size 368x27
-          LayoutText {#text} at (0,0) size 194x26
-            text run at (0,0) width 194: "SVG border-image"
+          LayoutText {#text} at (0,0) size 193x26
+            text run at (0,0) width 193: "SVG border-image"
         LayoutBlockFlow (anonymous) at (1,67.81) size 368x370
           LayoutBlockFlow {DIV} at (10,10) size 160x160 [border: (30px solid #000000)]
           LayoutText {#text} at (180,165) size 4x19
@@ -24,8 +24,8 @@
         text run at (370,417) width 4: " "
       LayoutBlockFlow {DIV} at (374,0) size 370x438.81 [border: (1px solid #000000)]
         LayoutBlockFlow {H2} at (1,20.91) size 368x27
-          LayoutText {#text} at (0,0) size 196x26
-            text run at (0,0) width 196: "PNG border-image"
+          LayoutText {#text} at (0,0) size 195x26
+            text run at (0,0) width 195: "PNG border-image"
         LayoutBlockFlow (anonymous) at (1,67.81) size 368x370
           LayoutBlockFlow {DIV} at (10,10) size 160x160 [border: (30px solid #000000)]
           LayoutText {#text} at (180,165) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/feTile-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/feTile-expected.png
index 789c1cd2..bd910de 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/feTile-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/feTile-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/feTile-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/feTile-expected.txt
index 4f76f22..50064e2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/feTile-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/feTile-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
     LayoutSVGContainer {g} at (-2,25) size 384.50x352.79
-      LayoutSVGText {text} at (190.17,25) size 69.63x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (190.17,25) size 69.63x18
-          chunk 1 (middle anchor) text run 1 at (190.18,40.00) startOffset 0 endOffset 11 width 69.63: "feTile Test"
+      LayoutSVGText {text} at (190.50,25) size 69x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (190.50,25) size 69x18
+          chunk 1 (middle anchor) text run 1 at (190.50,40.00) startOffset 0 endOffset 11 width 69.00: "feTile Test"
       LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
         LayoutSVGResourceLinearGradient {linearGradient} [id="tileFill"] [gradientUnits=objectBoundingBox] [stops=( #FFFFFF@0.00 #44CCFF@0.50 #000033@1.00 )] [start=(0,0)] [end=(1,1)]
         LayoutSVGResourceFilter {filter} [id="tile_1"] [filterUnits=objectBoundingBox] [primitiveUnits=objectBoundingBox]
@@ -44,9 +44,9 @@
         LayoutSVGRect {rect} at (0,0) size 50x25 [fill={[type=LINEAR-GRADIENT] [id="tileFill"]}] [x=0.00] [y=0.00] [width=50.00] [height=25.00]
           [filter="tile_3"] LayoutSVGResourceFilter {filter} at (-12.50,-6.25) size 100x50
         LayoutSVGRect {rect} at (-12.50,-7.25) size 100x50 [stroke={[type=SOLID] [color=#000000]}] [x=-12.50] [y=-7.25] [width=100.00] [height=50.00]
-        LayoutSVGText {text} at (-32.34,-37.25) size 139.70x18 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-32.34,-37.25) size 139.70x18
-            chunk 1 (middle anchor) text run 1 at (-32.36,-22.25) startOffset 0 endOffset 24 width 139.71: "tile_3 (top left offset)"
+        LayoutSVGText {text} at (-32.50,-37.25) size 140x18 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-32.50,-37.25) size 140x18
+            chunk 1 (middle anchor) text run 1 at (-32.50,-22.25) startOffset 0 endOffset 24 width 140.00: "tile_3 (top left offset)"
         LayoutSVGText {text} at (-34.50,-25.25) size 144x18 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-34.50,-25.25) size 144x18
             chunk 1 (middle anchor) text run 1 at (-34.50,-10.25) startOffset 0 endOffset 26 width 144.00: "9 tiles, 1 full, 8 partial"
@@ -76,10 +76,10 @@
         LayoutSVGRect {rect} at (0,0) size 50x25 [fill={[type=LINEAR-GRADIENT] [id="tileFill"]}] [x=0.00] [y=0.00] [width=50.00] [height=25.00]
           [filter="tile_3"] LayoutSVGResourceFilter {filter} at (-12.50,-6.25) size 100x50
         LayoutSVGRect {rect} at (-12.50,-6.25) size 100x50 [stroke={[type=SOLID] [color=#000000]}] [x=-12.50] [y=-6.25] [width=100.00] [height=50.00]
-      LayoutSVGContainer {g} at (-32.34,-37.25) size 139.70x30 [transform={m=((1.00,0.00)(0.00,1.00)) t=(257.50,307.25)}]
-        LayoutSVGText {text} at (-32.34,-37.25) size 139.70x18 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-32.34,-37.25) size 139.70x18
-            chunk 1 (middle anchor) text run 1 at (-32.36,-22.25) startOffset 0 endOffset 24 width 139.71: "tile_3 (top left offset)"
+      LayoutSVGContainer {g} at (-32.50,-37.25) size 140x30 [transform={m=((1.00,0.00)(0.00,1.00)) t=(257.50,307.25)}]
+        LayoutSVGText {text} at (-32.50,-37.25) size 140x18 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-32.50,-37.25) size 140x18
+            chunk 1 (middle anchor) text run 1 at (-32.50,-22.25) startOffset 0 endOffset 24 width 140.00: "tile_3 (top left offset)"
         LayoutSVGText {text} at (4,-25.25) size 67x18 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (4,-25.25) size 67x18
             chunk 1 (middle anchor) text run 1 at (4.00,-10.25) startOffset 0 endOffset 8 width 67.00: "skewed Y"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/filterRegions-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/filterRegions-expected.png
index 9c14280..e10caf3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/filterRegions-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/filterRegions-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/filterRegions-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/filterRegions-expected.txt
index 166d803..4a299e1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/filterRegions-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/filters/filterRegions-expected.txt
@@ -45,130 +45,130 @@
         LayoutSVGRect {rect} at (0,0) size 100x50 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
           [filter="filterRegion_0"] LayoutSVGResourceFilter {filter} at (-10,-5) size 120x60
         LayoutSVGRect {rect} at (-10,-5) size 120x60 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=-10.00] [y=-5.00] [width=120.00] [height=60.00]
-        LayoutSVGText {text} at (6.61,-20) size 76.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (6.61,-20) size 76.75x12
-            chunk 1 (middle anchor) text run 1 at (6.62,-10.00) startOffset 0 endOffset 14 width 76.76: "filterRegion_0"
+        LayoutSVGText {text} at (6.50,-20) size 77x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (6.50,-20) size 77x12
+            chunk 1 (middle anchor) text run 1 at (6.50,-10.00) startOffset 0 endOffset 14 width 77.00: "filterRegion_0"
       LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
         [filter="filterRegion_1"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
       LayoutSVGRect {rect} at (20,30) size 50x40 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-      LayoutSVGText {text} at (6.61,15) size 76.75x12 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (6.61,15) size 76.75x12
-          chunk 1 (middle anchor) text run 1 at (6.62,25.00) startOffset 0 endOffset 14 width 76.76: "filterRegion_1"
+      LayoutSVGText {text} at (6.50,15) size 77x12 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (6.50,15) size 77x12
+          chunk 1 (middle anchor) text run 1 at (6.50,25.00) startOffset 0 endOffset 14 width 77.00: "filterRegion_1"
       LayoutSVGContainer {g} at (0,15) size 20000000x3010 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,0.00)}]
         LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
           [filter="filterRegion_2"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
         LayoutSVGRect {rect} at (25,35) size 45x35 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=25.00] [y=35.00] [width=45.00] [height=35.00]
-        LayoutSVGText {text} at (6.61,15) size 76.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (6.61,15) size 76.75x12
-            chunk 1 (middle anchor) text run 1 at (6.62,25.00) startOffset 0 endOffset 14 width 76.76: "filterRegion_2"
+        LayoutSVGText {text} at (6.50,15) size 77x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (6.50,15) size 77x12
+            chunk 1 (middle anchor) text run 1 at (6.50,25.00) startOffset 0 endOffset 14 width 77.00: "filterRegion_2"
       LayoutSVGContainer {g} at (0,15) size 20000000x3010 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,0.00)}]
         LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
           [filter="filterRegion_3"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
         LayoutSVGRect {rect} at (20,30) size 50x20 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=50.00] [height=20.00]
-        LayoutSVGText {text} at (6.61,15) size 76.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (6.61,15) size 76.75x12
-            chunk 1 (middle anchor) text run 1 at (6.62,25.00) startOffset 0 endOffset 14 width 76.76: "filterRegion_3"
+        LayoutSVGText {text} at (6.50,15) size 77x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (6.50,15) size 77x12
+            chunk 1 (middle anchor) text run 1 at (6.50,25.00) startOffset 0 endOffset 14 width 77.00: "filterRegion_3"
       LayoutSVGContainer {g} at (0,15) size 20000000x3010 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,0.00)}]
         LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
           [filter="filterRegion_4"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
         LayoutSVGRect {rect} at (20,30) size 25x40 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=25.00] [height=40.00]
-        LayoutSVGText {text} at (6.61,15) size 76.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (6.61,15) size 76.75x12
-            chunk 1 (middle anchor) text run 1 at (6.62,25.00) startOffset 0 endOffset 14 width 76.76: "filterRegion_4"
+        LayoutSVGText {text} at (6.50,15) size 77x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (6.50,15) size 77x12
+            chunk 1 (middle anchor) text run 1 at (6.50,25.00) startOffset 0 endOffset 14 width 77.00: "filterRegion_4"
       LayoutSVGContainer {g} at (0,15) size 20000000x3010 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,75.00)}]
         LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
           [filter="filterRegion_5"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
         LayoutSVGRect {rect} at (20,30) size 50x20 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=50.00] [height=20.00]
-        LayoutSVGText {text} at (6.61,15) size 76.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (6.61,15) size 76.75x12
-            chunk 1 (middle anchor) text run 1 at (6.62,25.00) startOffset 0 endOffset 14 width 76.76: "filterRegion_5"
+        LayoutSVGText {text} at (6.50,15) size 77x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (6.50,15) size 77x12
+            chunk 1 (middle anchor) text run 1 at (6.50,25.00) startOffset 0 endOffset 14 width 77.00: "filterRegion_5"
       LayoutSVGContainer {g} at (0,3000) size 20000000x25 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,75.00)}]
         [filter="filterRegion_6"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
         LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
-      LayoutSVGContainer {g} at (6.61,15) size 76.75x55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,75.00)}]
+      LayoutSVGContainer {g} at (6.50,15) size 77x55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,75.00)}]
         LayoutSVGRect {rect} at (20,30) size 40x40 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=40.00] [height=40.00]
-        LayoutSVGText {text} at (6.61,15) size 76.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (6.61,15) size 76.75x12
-            chunk 1 (middle anchor) text run 1 at (6.62,25.00) startOffset 0 endOffset 14 width 76.76: "filterRegion_6"
-      LayoutSVGContainer {g} at (-19.88,-30) size 89.75x57.50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,280.00)}]
+        LayoutSVGText {text} at (6.50,15) size 77x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (6.50,15) size 77x12
+            chunk 1 (middle anchor) text run 1 at (6.50,25.00) startOffset 0 endOffset 14 width 77.00: "filterRegion_6"
+      LayoutSVGContainer {g} at (-20,-30) size 90x57.50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,280.00)}]
         LayoutSVGRect {rect} at (0,0) size 50x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=50.00] [height=25.00]
           [filter="filterRegion_2_0"] LayoutSVGResourceFilter {filter} at (-5,-2.50) size 60x30
         LayoutSVGRect {rect} at (-5,-2.50) size 60x30 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=-5.00] [y=-2.50] [width=60.00] [height=30.00]
-        LayoutSVGText {text} at (-19.88,-30) size 89.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-19.88,-30) size 89.75x12
-            chunk 1 (middle anchor) text run 1 at (-19.88,-20.00) startOffset 0 endOffset 16 width 89.76: "filterRegion_2_0"
+        LayoutSVGText {text} at (-20,-30) size 90x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-20,-30) size 90x12
+            chunk 1 (middle anchor) text run 1 at (-20.00,-20.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_2_0"
       LayoutSVGContainer {g} at (20,30) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,160.00)}]
         [filter="filterRegion_2_1"] LayoutSVGResourceFilter {filter} at (-45,-50) size 540x600
         LayoutSVGRect {rect} at (20,30) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (0.11,15) size 89.75x55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,160.00)}]
+      LayoutSVGContainer {g} at (0,15) size 90x55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,160.00)}]
         LayoutSVGRect {rect} at (20,30) size 50x40 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-        LayoutSVGText {text} at (0.11,15) size 89.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0.11,15) size 89.75x12
-            chunk 1 (middle anchor) text run 1 at (0.12,25.00) startOffset 0 endOffset 16 width 89.76: "filterRegion_2_1"
+        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,15) size 90x12
+            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_2_1"
       LayoutSVGContainer {g} at (20,30) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,160.00)}]
         LayoutSVGRect {rect} at (20,30) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
           [filter="filterRegion_2_2"] LayoutSVGResourceFilter {filter} at (-45,-50) size 540x600
-      LayoutSVGContainer {g} at (0.11,15) size 89.75x55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,160.00)}]
+      LayoutSVGContainer {g} at (0,15) size 90x55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,160.00)}]
         LayoutSVGRect {rect} at (20,30) size 50x40 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-        LayoutSVGText {text} at (0.11,15) size 89.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0.11,15) size 89.75x12
-            chunk 1 (middle anchor) text run 1 at (0.12,25.00) startOffset 0 endOffset 16 width 89.76: "filterRegion_2_2"
+        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,15) size 90x12
+            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_2_2"
       LayoutSVGContainer {g} at (20,30) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,160.00)}]
         [filter="filterRegion_2_3"] LayoutSVGResourceFilter {filter} at (-45,-50) size 540x600
         LayoutSVGRect {rect} at (20,30) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (0.11,15) size 89.75x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,160.00)}]
+      LayoutSVGContainer {g} at (0,15) size 90x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,160.00)}]
         LayoutSVGRect {rect} at (32.50,50) size 25x10 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=32.50] [y=50.00] [width=25.00] [height=10.00]
-        LayoutSVGText {text} at (0.11,15) size 89.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0.11,15) size 89.75x12
-            chunk 1 (middle anchor) text run 1 at (0.12,25.00) startOffset 0 endOffset 16 width 89.76: "filterRegion_2_3"
+        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,15) size 90x12
+            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_2_3"
       LayoutSVGContainer {g} at (20,30) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,160.00)}]
         [filter="filterRegion_2_4"] LayoutSVGResourceFilter {filter} at (-45,-50) size 540x600
         LayoutSVGRect {rect} at (20,30) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (0.11,15) size 89.75x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,160.00)}]
+      LayoutSVGContainer {g} at (0,15) size 90x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,160.00)}]
         LayoutSVGRect {rect} at (32.50,50) size 25x10 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=32.50] [y=50.00] [width=25.00] [height=10.00]
-        LayoutSVGText {text} at (0.11,15) size 89.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0.11,15) size 89.75x12
-            chunk 1 (middle anchor) text run 1 at (0.12,25.00) startOffset 0 endOffset 16 width 89.76: "filterRegion_2_4"
+        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,15) size 90x12
+            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_2_4"
       LayoutSVGContainer {g} at (20,30) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,245.00)}]
         [filter="filterRegion_2_5"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
         LayoutSVGRect {rect} at (20,30) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (0.11,15) size 89.75x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,245.00)}]
+      LayoutSVGContainer {g} at (0,15) size 90x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,245.00)}]
         LayoutSVGRect {rect} at (20,50) size 50x10 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=50.00] [width=50.00] [height=10.00]
-        LayoutSVGText {text} at (0.11,15) size 89.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0.11,15) size 89.75x12
-            chunk 1 (middle anchor) text run 1 at (0.12,25.00) startOffset 0 endOffset 16 width 89.76: "filterRegion_2_5"
+        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,15) size 90x12
+            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_2_5"
       LayoutSVGContainer {g} at (0,0) size 450x450 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,330.00)}]
         [filter="filterRegion_3_1"] LayoutSVGResourceFilter {filter} at (-45,-45) size 540x540
         LayoutSVGRect {rect} at (0,0) size 450x450 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=450.00] [height=450.00]
-      LayoutSVGContainer {g} at (0.11,15) size 89.75x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,330.00)}]
+      LayoutSVGContainer {g} at (0,15) size 90x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,330.00)}]
         LayoutSVGRect {rect} at (20,30) size 20x25 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=20.00] [height=25.00]
-        LayoutSVGText {text} at (0.11,15) size 89.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0.11,15) size 89.75x12
-            chunk 1 (middle anchor) text run 1 at (0.12,25.00) startOffset 0 endOffset 16 width 89.76: "filterRegion_3_1"
+        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,15) size 90x12
+            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_3_1"
       LayoutSVGContainer {g} at (0,0) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(320.00,330.00)}]
         [filter="filterRegion_3_0"] LayoutSVGResourceFilter {filter} at (-4,-5) size 48x60
         LayoutSVGRect {rect} at (0,0) size 40x50 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=40.00] [height=50.00]
-      LayoutSVGContainer {g} at (-4,-5) size 93.86x60 [transform={m=((1.00,0.00)(0.00,1.00)) t=(320.00,330.00)}]
+      LayoutSVGContainer {g} at (-4,-5) size 94x60 [transform={m=((1.00,0.00)(0.00,1.00)) t=(320.00,330.00)}]
         LayoutSVGRect {rect} at (-4,-5) size 48x60 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=-4.00] [y=-5.00] [width=48.00] [height=60.00]
-        LayoutSVGText {text} at (0.11,15) size 89.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0.11,15) size 89.75x12
-            chunk 1 (middle anchor) text run 1 at (0.12,25.00) startOffset 0 endOffset 16 width 89.76: "filterRegion_3_0"
+        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,15) size 90x12
+            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_3_0"
       LayoutSVGContainer {g} at (50,40) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,330.00)}]
         [filter="filterRegion_3_2"] LayoutSVGResourceFilter {filter} at (0,0) size 100x80
         LayoutSVGRect {rect} at (50,40) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=50.00] [y=40.00] [width=50.00] [height=40.00]
       LayoutSVGContainer {g} at (0,0) size 100x80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,330.00)}]
         LayoutSVGRect {rect} at (0,0) size 100x80 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=0.00] [y=0.00] [width=100.00] [height=80.00]
-        LayoutSVGText {text} at (0.11,15) size 89.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0.11,15) size 89.75x12
-            chunk 1 (middle anchor) text run 1 at (0.12,25.00) startOffset 0 endOffset 16 width 89.76: "filterRegion_3_2"
+        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,15) size 90x12
+            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_3_2"
       LayoutSVGContainer {g} at (50,40) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,330.00)}]
         [filter="filterRegion_3_3"] LayoutSVGResourceFilter {filter} at (25,20) size 37.50x30
         LayoutSVGRect {rect} at (50,40) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=50.00] [y=40.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (0.11,15) size 89.75x35 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,330.00)}]
+      LayoutSVGContainer {g} at (0,15) size 90x35 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,330.00)}]
         LayoutSVGRect {rect} at (25,20) size 37.50x30 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=25.00] [y=20.00] [width=37.50] [height=30.00]
-        LayoutSVGText {text} at (0.11,15) size 89.75x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0.11,15) size 89.75x12
-            chunk 1 (middle anchor) text run 1 at (0.12,25.00) startOffset 0 endOffset 16 width 89.76: "filterRegion_3_3"
+        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,15) size 90x12
+            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_3_3"
     LayoutSVGContainer {use} at (1,1) size 446x496
       LayoutSVGContainer {g} at (1,1) size 446x496
         LayoutSVGRect {rect} at (1,1) size 446x496 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=446.00] [height=496.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/gradientLimit-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/gradientLimit-expected.png
index e9097b8e..47bb6966 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/gradientLimit-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/gradientLimit-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/gradientLimit-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/gradientLimit-expected.txt
index d795310..93fba28f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/gradientLimit-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/gradientLimit-expected.txt
@@ -2,43 +2,43 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGText {text} at (159.88,30) size 130.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (159.88,30) size 130.22x18
-        chunk 1 (middle anchor) text run 1 at (159.89,45.00) startOffset 0 endOffset 19 width 130.23: "Gradient Limit Test"
-    LayoutSVGContainer {g} at (15.58,80) size 427.92x173
-      LayoutSVGContainer {g} at (15.58,80) size 118.83x73
+    LayoutSVGText {text} at (160,30) size 130x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (160,30) size 130x18
+        chunk 1 (middle anchor) text run 1 at (160.00,45.00) startOffset 0 endOffset 19 width 130.00: "Gradient Limit Test"
+    LayoutSVGContainer {g} at (15.50,80) size 428x173
+      LayoutSVGContainer {g} at (15.50,80) size 119x73
         LayoutSVGResourceLinearGradient {linearGradient} [id="closeOffsetsLinearGradient"] [gradientUnits=objectBoundingBox] [stops=( #DC143C@0.00 #FFD700@1.00 #DC143C@1.00 )] [start=(0,0)] [end=(0,0.10)]
         LayoutSVGRect {rect} at (35,80) size 80x40 [fill={[type=LINEAR-GRADIENT] [id="closeOffsetsLinearGradient"]}] [x=35.00] [y=80.00] [width=80.00] [height=40.00]
-        LayoutSVGText {text} at (15.58,120) size 118.83x18 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (15.58,120) size 118.83x18
-            chunk 1 (middle anchor) text run 1 at (15.59,135.00) startOffset 0 endOffset 17 width 118.83: "Two close offsets"
+        LayoutSVGText {text} at (15.50,120) size 119x18 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (15.50,120) size 119x18
+            chunk 1 (middle anchor) text run 1 at (15.50,135.00) startOffset 0 endOffset 17 width 119.00: "Two close offsets"
         LayoutSVGText {text} at (17,135) size 116x18 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (17,135) size 116x18
             chunk 1 (middle anchor) text run 1 at (17.00,150.00) startOffset 0 endOffset 16 width 116.00: "<linearGradient>"
-      LayoutSVGContainer {g} at (-0.41,80) size 150.83x73 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,0.00)}]
+      LayoutSVGContainer {g} at (-0.50,80) size 151x73 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,0.00)}]
         LayoutSVGResourceLinearGradient {linearGradient} [id="closeOffsetsLinearGradient2"] [gradientUnits=objectBoundingBox] [stops=( #DC143C@0.00 #FFD700@1.00 #DC143C@1.00 )] [start=(0,0)] [end=(0,0.10)]
         LayoutSVGRect {rect} at (35,80) size 80x40 [fill={[type=LINEAR-GRADIENT] [id="closeOffsetsLinearGradient2"]}] [x=35.00] [y=80.00] [width=80.00] [height=40.00]
-        LayoutSVGText {text} at (-0.41,120) size 150.83x18 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-0.41,120) size 150.83x18
-            chunk 1 (middle anchor) text run 1 at (-0.41,135.00) startOffset 0 endOffset 22 width 150.83: "Two very close offsets"
+        LayoutSVGText {text} at (-0.50,120) size 151x18 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-0.50,120) size 151x18
+            chunk 1 (middle anchor) text run 1 at (-0.50,135.00) startOffset 0 endOffset 22 width 151.00: "Two very close offsets"
         LayoutSVGText {text} at (17,135) size 116x18 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (17,135) size 116x18
             chunk 1 (middle anchor) text run 1 at (17.00,150.00) startOffset 0 endOffset 16 width 116.00: "<linearGradient>"
-      LayoutSVGContainer {g} at (15.58,80) size 118.83x73 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,100.00)}]
+      LayoutSVGContainer {g} at (15.50,80) size 119x73 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,100.00)}]
         LayoutSVGResourceRadialGradient {radialGradient} [id="closeOffsetsRadialGradient"] [gradientUnits=objectBoundingBox] [stops=( #DC143C@0.00 #FFD700@1.00 #DC143C@1.00 )] [center=(0.50,0.50)] [focal=(0.50,0.50)] [radius=0.10] [focalRadius=0.00]
         LayoutSVGRect {rect} at (35,80) size 80x40 [fill={[type=RADIAL-GRADIENT] [id="closeOffsetsRadialGradient"]}] [x=35.00] [y=80.00] [width=80.00] [height=40.00]
-        LayoutSVGText {text} at (15.58,120) size 118.83x18 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (15.58,120) size 118.83x18
-            chunk 1 (middle anchor) text run 1 at (15.59,135.00) startOffset 0 endOffset 17 width 118.83: "Two close offsets"
+        LayoutSVGText {text} at (15.50,120) size 119x18 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (15.50,120) size 119x18
+            chunk 1 (middle anchor) text run 1 at (15.50,135.00) startOffset 0 endOffset 17 width 119.00: "Two close offsets"
         LayoutSVGText {text} at (16.50,135) size 117x18 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (16.50,135) size 117x18
             chunk 1 (middle anchor) text run 1 at (16.50,150.00) startOffset 0 endOffset 16 width 117.00: "<radialGradient>"
-      LayoutSVGContainer {g} at (-0.41,80) size 150.83x73 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,100.00)}]
+      LayoutSVGContainer {g} at (-0.50,80) size 151x73 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,100.00)}]
         LayoutSVGResourceRadialGradient {radialGradient} [id="closeOffsetsRadialGradient2"] [gradientUnits=objectBoundingBox] [stops=( #DC143C@0.00 #FFD700@1.00 #DC143C@1.00 )] [center=(0.50,0.50)] [focal=(0.50,0.50)] [radius=0.10] [focalRadius=0.00]
         LayoutSVGRect {rect} at (35,80) size 80x40 [fill={[type=RADIAL-GRADIENT] [id="closeOffsetsRadialGradient2"]}] [x=35.00] [y=80.00] [width=80.00] [height=40.00]
-        LayoutSVGText {text} at (-0.41,120) size 150.83x18 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-0.41,120) size 150.83x18
-            chunk 1 (middle anchor) text run 1 at (-0.41,135.00) startOffset 0 endOffset 22 width 150.83: "Two very close offsets"
+        LayoutSVGText {text} at (-0.50,120) size 151x18 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-0.50,120) size 151x18
+            chunk 1 (middle anchor) text run 1 at (-0.50,135.00) startOffset 0 endOffset 22 width 151.00: "Two very close offsets"
         LayoutSVGText {text} at (16.50,135) size 117x18 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (16.50,135) size 117x18
             chunk 1 (middle anchor) text run 1 at (16.50,150.00) startOffset 0 endOffset 16 width 117.00: "<radialGradient>"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/patternRegionA-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/patternRegionA-expected.png
index d5ac87f82..6e3c7b6a4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/patternRegionA-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/patternRegionA-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/patternRegionA-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/patternRegionA-expected.txt
index cec9bce..d153d7d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/patternRegionA-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/paints/patternRegionA-expected.txt
@@ -2,9 +2,9 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGText {text} at (114.59,35) size 220.81x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (114.59,35) size 220.81x18
-        chunk 1 (middle anchor) text run 1 at (114.59,50.00) startOffset 0 endOffset 34 width 220.81: "patternRegion, x, y, width, height"
+    LayoutSVGText {text} at (114.50,35) size 221x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (114.50,35) size 221x18
+        chunk 1 (middle anchor) text run 1 at (114.50,50.00) startOffset 0 endOffset 34 width 221.00: "patternRegion, x, y, width, height"
     LayoutSVGContainer {g} at (25,70) size 462x390
       LayoutSVGHiddenContainer {defs} at (0,0) size 20x20
         LayoutSVGContainer {g} at (0,0) size 20x20
@@ -152,29 +152,29 @@
             LayoutSVGContainer {g} at (0,0) size 10x10 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,10.00)}]
               LayoutSVGRect {rect} at (0,0) size 5x5 [fill={[type=SOLID] [color=#6464FF]}] [x=0.00] [y=0.00] [width=5.00] [height=5.00]
               LayoutSVGRect {rect} at (5,5) size 5x5 [fill={[type=SOLID] [color=#6464FF]}] [x=5.00] [y=5.00] [width=5.00] [height=5.00]
-      LayoutSVGContainer {g} at (-5,-20) size 236.70x280 [transform={m=((1.00,0.00)(0.00,1.00)) t=(30.00,200.00)}]
+      LayoutSVGContainer {g} at (-5,-20) size 237x280 [transform={m=((1.00,0.00)(0.00,1.00)) t=(30.00,200.00)}]
         LayoutSVGContainer {g} at (0,-20) size 179x70
           LayoutSVGText {text} at (0,-20) size 179x18 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (0,-20) size 179x18
               chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 26 width 179.00: "Exact Fit in patternRegion"
           LayoutSVGRect {rect} at (0,0) size 100x50 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="patternExactFit"]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
           LayoutSVGRect {rect} at (0,0) size 20x20 [stroke={[type=SOLID] [color=#FFFFFF]}] [fill={[type=SOLID] [color=#000000] [opacity=0.12]}] [x=0.00] [y=0.00] [width=20.00] [height=20.00]
-        LayoutSVGContainer {g} at (-5,-20) size 210.70x70 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,70.00)}]
-          LayoutSVGText {text} at (0,-20) size 205.70x18 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (0,-20) size 205.70x18
-              chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 32 width 205.71: "patternRegion offset to the left"
+        LayoutSVGContainer {g} at (-5,-20) size 211x70 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,70.00)}]
+          LayoutSVGText {text} at (0,-20) size 206x18 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (0,-20) size 206x18
+              chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 32 width 206.00: "patternRegion offset to the left"
           LayoutSVGRect {rect} at (0,0) size 100x50 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="patternTranslateRegionX"]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
           LayoutSVGRect {rect} at (-5,0) size 20x20 [stroke={[type=SOLID] [color=#FFFFFF]}] [fill={[type=SOLID] [color=#000000] [opacity=0.12]}] [x=-5.00] [y=0.00] [width=20.00] [height=20.00]
-        LayoutSVGContainer {g} at (0,-20) size 207.70x70 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,140.00)}]
-          LayoutSVGText {text} at (0,-20) size 207.70x18 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (0,-20) size 207.70x18
-              chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 31 width 207.71: "patternRegion offset to the top"
+        LayoutSVGContainer {g} at (0,-20) size 208x70 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,140.00)}]
+          LayoutSVGText {text} at (0,-20) size 208x18 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (0,-20) size 208x18
+              chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 31 width 208.00: "patternRegion offset to the top"
           LayoutSVGRect {rect} at (0,0) size 100x50 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="patternTranslateRegionY"]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
           LayoutSVGRect {rect} at (0,-5) size 20x20 [stroke={[type=SOLID] [color=#FFFFFF]}] [fill={[type=SOLID] [color=#000000] [opacity=0.12]}] [x=0.00] [y=-5.00] [width=20.00] [height=20.00]
-        LayoutSVGContainer {g} at (0,-20) size 231.70x70 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,210.00)}]
-          LayoutSVGText {text} at (0,-20) size 231.70x18 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (0,-20) size 231.70x18
-              chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 36 width 231.71: "patternRegion offset to the top/left"
+        LayoutSVGContainer {g} at (0,-20) size 232x70 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,210.00)}]
+          LayoutSVGText {text} at (0,-20) size 232x18 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (0,-20) size 232x18
+              chunk 1 text run 1 at (0.00,-5.00) startOffset 0 endOffset 36 width 232.00: "patternRegion offset to the top/left"
           LayoutSVGRect {rect} at (0,0) size 100x50 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="patternTranslateRegionXY"]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
           LayoutSVGRect {rect} at (10,10) size 20x20 [stroke={[type=SOLID] [color=#FFFFFF]}] [fill={[type=SOLID] [color=#000000] [opacity=0.12]}] [x=10.00] [y=10.00] [width=20.00] [height=20.00]
       LayoutSVGContainer {g} at (0,-20) size 232x210 [transform={m=((1.00,0.00)(0.00,1.00)) t=(255.00,200.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/longTextOnPath-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/longTextOnPath-expected.txt
index 65ee02a..09a8e8ad4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/longTextOnPath-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/longTextOnPath-expected.txt
@@ -2,7 +2,7 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGContainer {g} at (19.63,25) size 410x450
+    LayoutSVGContainer {g} at (20,25) size 410x450
       LayoutSVGText {text} at (101,25) size 248x18 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (101,25) size 248x18
           chunk 1 (middle anchor) text run 1 at (101.00,40.00) startOffset 0 endOffset 38 width 248.00: "Long text on a path test for selection"
@@ -11,9 +11,9 @@
       LayoutSVGContainer {use} at (25,150) size 400x300
         LayoutSVGPath {path} at (25,150) size 400x300 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 25 150 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20 h 400 m -400 20"]
       LayoutSVGRect {rect} at (20,100) size 205x375 [fill={[type=SOLID] [color=#C8C8FF]}] [x=20.00] [y=100.00] [width=205.00] [height=375.00]
-      LayoutSVGText {text} at (19.63,133) size 410x262 contains 1 chunk(s)
-        LayoutSVGTextPath {textPath} at (19.63,133) size 410x262
-          LayoutSVGInlineText {#text} at (19.63,133) size 410x262
+      LayoutSVGText {text} at (20,133) size 410x262 contains 1 chunk(s)
+        LayoutSVGTextPath {textPath} at (20,133) size 410x262
+          LayoutSVGInlineText {#text} at (20,133) size 410x262
             chunk 1 text run 1 at (31.00,150.00) startOffset 0 endOffset 1 width 12.00: "T"
             chunk 1 text run 2 at (41.50,150.00) startOffset 1 endOffset 2 width 9.00: "h"
             chunk 1 text run 3 at (49.00,150.00) startOffset 2 endOffset 3 width 6.00: "i"
@@ -206,458 +206,458 @@
             chunk 1 text run 190 at (253.50,210.00) startOffset 189 endOffset 190 width 5.00: " "
             chunk 1 text run 191 at (259.00,210.00) startOffset 190 endOffset 191 width 6.00: "l"
             chunk 1 text run 192 at (266.50,210.00) startOffset 191 endOffset 192 width 9.00: "a"
-            chunk 1 text run 193 at (274.32,210.00) startOffset 192 endOffset 193 width 7.00: "r"
-            chunk 1 text run 194 at (282.14,210.00) startOffset 193 endOffset 194 width 9.00: "g"
-            chunk 1 text run 195 at (291.14,210.00) startOffset 194 endOffset 195 width 9.00: "e"
-            chunk 1 text run 196 at (298.14,210.00) startOffset 195 endOffset 196 width 5.00: " "
-            chunk 1 text run 197 at (305.14,210.00) startOffset 196 endOffset 197 width 9.00: "n"
-            chunk 1 text run 198 at (314.14,210.00) startOffset 197 endOffset 198 width 9.00: "u"
-            chunk 1 text run 199 at (325.64,210.00) startOffset 198 endOffset 199 width 14.00: "m"
-            chunk 1 text run 200 at (337.64,210.00) startOffset 199 endOffset 200 width 10.00: "b"
-            chunk 1 text run 201 at (347.14,210.00) startOffset 200 endOffset 201 width 9.00: "e"
-            chunk 1 text run 202 at (355.14,210.00) startOffset 201 endOffset 202 width 7.00: "r"
-            chunk 1 text run 203 at (362.64,210.00) startOffset 202 endOffset 203 width 8.00: "s"
-            chunk 1 text run 204 at (369.14,210.00) startOffset 203 endOffset 204 width 5.00: " "
-            chunk 1 text run 205 at (376.64,210.00) startOffset 204 endOffset 205 width 10.00: "o"
-            chunk 1 text run 206 at (384.64,210.00) startOffset 205 endOffset 206 width 6.00: "f"
-            chunk 1 text run 207 at (390.14,210.00) startOffset 206 endOffset 207 width 5.00: " "
-            chunk 1 text run 208 at (397.14,210.00) startOffset 207 endOffset 208 width 9.00: "c"
-            chunk 1 text run 209 at (406.14,210.00) startOffset 208 endOffset 209 width 9.00: "h"
-            chunk 1 text run 210 at (415.14,210.00) startOffset 209 endOffset 210 width 9.00: "a"
-            chunk 1 text run 211 at (423.14,210.00) startOffset 210 endOffset 211 width 7.00: "r"
-            chunk 1 text run 212 at (31.14,230.00) startOffset 211 endOffset 212 width 9.00: "a"
-            chunk 1 text run 213 at (40.14,230.00) startOffset 212 endOffset 213 width 9.00: "c"
-            chunk 1 text run 214 at (47.14,230.00) startOffset 213 endOffset 214 width 5.00: "t"
-            chunk 1 text run 215 at (54.14,230.00) startOffset 214 endOffset 215 width 9.00: "e"
-            chunk 1 text run 216 at (62.14,230.00) startOffset 215 endOffset 216 width 7.00: "r"
-            chunk 1 text run 217 at (69.64,230.00) startOffset 216 endOffset 217 width 8.00: "s"
-            chunk 1 text run 218 at (76.14,230.00) startOffset 217 endOffset 218 width 5.00: " "
-            chunk 1 text run 219 at (83.14,230.00) startOffset 218 endOffset 219 width 9.00: "a"
-            chunk 1 text run 220 at (91.14,230.00) startOffset 219 endOffset 220 width 7.00: "r"
-            chunk 1 text run 221 at (99.14,230.00) startOffset 220 endOffset 221 width 9.00: "e"
-            chunk 1 text run 222 at (106.14,230.00) startOffset 221 endOffset 222 width 5.00: " "
-            chunk 1 text run 223 at (113.64,230.00) startOffset 222 endOffset 223 width 10.00: "p"
-            chunk 1 text run 224 at (123.14,230.00) startOffset 223 endOffset 224 width 9.00: "a"
-            chunk 1 text run 225 at (131.14,230.00) startOffset 224 endOffset 225 width 7.00: "r"
-            chunk 1 text run 226 at (137.14,230.00) startOffset 225 endOffset 226 width 5.00: "t"
-            chunk 1 text run 227 at (142.14,230.00) startOffset 226 endOffset 227 width 5.00: " "
-            chunk 1 text run 228 at (149.64,230.00) startOffset 227 endOffset 228 width 10.00: "o"
-            chunk 1 text run 229 at (157.64,230.00) startOffset 228 endOffset 229 width 6.00: "f"
-            chunk 1 text run 230 at (163.14,230.00) startOffset 229 endOffset 230 width 5.00: " "
-            chunk 1 text run 231 at (168.14,230.00) startOffset 230 endOffset 231 width 5.00: "t"
-            chunk 1 text run 232 at (175.14,230.00) startOffset 231 endOffset 232 width 9.00: "h"
-            chunk 1 text run 233 at (184.14,230.00) startOffset 232 endOffset 233 width 9.00: "e"
-            chunk 1 text run 234 at (191.14,230.00) startOffset 233 endOffset 234 width 5.00: " "
-            chunk 1 text run 235 at (197.64,230.00) startOffset 234 endOffset 235 width 8.00: "s"
-            chunk 1 text run 236 at (206.14,230.00) startOffset 235 endOffset 236 width 9.00: "e"
-            chunk 1 text run 237 at (213.64,230.00) startOffset 236 endOffset 237 width 6.00: "l"
-            chunk 1 text run 238 at (221.14,230.00) startOffset 237 endOffset 238 width 9.00: "e"
-            chunk 1 text run 239 at (230.14,230.00) startOffset 238 endOffset 239 width 9.00: "c"
-            chunk 1 text run 240 at (237.14,230.00) startOffset 239 endOffset 240 width 5.00: "t"
-            chunk 1 text run 241 at (242.64,230.00) startOffset 240 endOffset 241 width 6.00: "i"
-            chunk 1 text run 242 at (250.64,230.00) startOffset 241 endOffset 242 width 10.00: "o"
-            chunk 1 text run 243 at (260.14,230.00) startOffset 242 endOffset 243 width 9.00: "n"
-            chunk 1 text run 244 at (267.14,230.00) startOffset 243 endOffset 244 width 5.00: "."
-            chunk 1 text run 245 at (272.14,230.00) startOffset 244 endOffset 245 width 5.00: " "
-            chunk 1 text run 246 at (280.14,230.00) startOffset 245 endOffset 246 width 11.00: "S"
-            chunk 1 text run 247 at (288.64,230.00) startOffset 246 endOffset 247 width 6.00: "i"
-            chunk 1 text run 248 at (296.14,230.00) startOffset 247 endOffset 248 width 9.00: "n"
-            chunk 1 text run 249 at (305.14,230.00) startOffset 248 endOffset 249 width 9.00: "c"
-            chunk 1 text run 250 at (314.14,230.00) startOffset 249 endOffset 250 width 9.00: "e"
-            chunk 1 text run 251 at (321.14,230.00) startOffset 250 endOffset 251 width 5.00: " "
-            chunk 1 text run 252 at (326.64,230.00) startOffset 251 endOffset 252 width 6.00: "I"
-            chunk 1 text run 253 at (332.14,230.00) startOffset 252 endOffset 253 width 5.00: " "
-            chunk 1 text run 254 at (339.14,230.00) startOffset 253 endOffset 254 width 9.00: "h"
-            chunk 1 text run 255 at (348.14,230.00) startOffset 254 endOffset 255 width 9.00: "a"
-            chunk 1 text run 256 at (357.64,230.00) startOffset 255 endOffset 256 width 10.00: "v"
-            chunk 1 text run 257 at (367.14,230.00) startOffset 256 endOffset 257 width 9.00: "e"
-            chunk 1 text run 258 at (376.14,230.00) startOffset 257 endOffset 258 width 9.00: "n"
-            chunk 1 text run 259 at (382.64,230.00) startOffset 258 endOffset 259 width 4.00: "'"
-            chunk 1 text run 260 at (387.14,230.00) startOffset 259 endOffset 260 width 5.00: "t"
-            chunk 1 text run 261 at (392.14,230.00) startOffset 260 endOffset 261 width 5.00: " "
-            chunk 1 text run 262 at (398.14,230.00) startOffset 261 endOffset 262 width 7.00: "r"
-            chunk 1 text run 263 at (406.14,230.00) startOffset 262 endOffset 263 width 9.00: "e"
-            chunk 1 text run 264 at (415.14,230.00) startOffset 263 endOffset 264 width 9.00: "a"
-            chunk 1 text run 265 at (424.14,230.00) startOffset 264 endOffset 265 width 9.00: "c"
-            chunk 1 text run 266 at (33.14,250.00) startOffset 265 endOffset 266 width 9.00: "h"
-            chunk 1 text run 267 at (42.14,250.00) startOffset 266 endOffset 267 width 9.00: "e"
-            chunk 1 text run 268 at (51.64,250.00) startOffset 267 endOffset 268 width 10.00: "d"
-            chunk 1 text run 269 at (59.14,250.00) startOffset 268 endOffset 269 width 5.00: " "
-            chunk 1 text run 270 at (64.14,250.00) startOffset 269 endOffset 270 width 5.00: "t"
-            chunk 1 text run 271 at (71.14,250.00) startOffset 270 endOffset 271 width 9.00: "h"
-            chunk 1 text run 272 at (80.14,250.00) startOffset 271 endOffset 272 width 9.00: "e"
-            chunk 1 text run 273 at (87.14,250.00) startOffset 272 endOffset 273 width 5.00: " "
-            chunk 1 text run 274 at (94.14,250.00) startOffset 273 endOffset 274 width 9.00: "e"
-            chunk 1 text run 275 at (103.14,250.00) startOffset 274 endOffset 275 width 9.00: "n"
-            chunk 1 text run 276 at (112.64,250.00) startOffset 275 endOffset 276 width 10.00: "d"
-            chunk 1 text run 277 at (120.14,250.00) startOffset 276 endOffset 277 width 5.00: " "
-            chunk 1 text run 278 at (127.14,250.00) startOffset 277 endOffset 278 width 9.00: "y"
-            chunk 1 text run 279 at (136.14,250.00) startOffset 278 endOffset 279 width 9.00: "e"
-            chunk 1 text run 280 at (143.14,250.00) startOffset 279 endOffset 280 width 5.00: "t"
-            chunk 1 text run 281 at (148.14,250.00) startOffset 280 endOffset 281 width 5.00: ","
-            chunk 1 text run 282 at (153.14,250.00) startOffset 281 endOffset 282 width 5.00: " "
-            chunk 1 text run 283 at (158.64,250.00) startOffset 282 endOffset 283 width 6.00: "l"
-            chunk 1 text run 284 at (166.14,250.00) startOffset 283 endOffset 284 width 9.00: "e"
-            chunk 1 text run 285 at (173.14,250.00) startOffset 284 endOffset 285 width 5.00: "t"
-            chunk 1 text run 286 at (178.14,250.00) startOffset 285 endOffset 286 width 5.00: " "
-            chunk 1 text run 287 at (187.64,250.00) startOffset 286 endOffset 287 width 14.00: "m"
-            chunk 1 text run 288 at (199.14,250.00) startOffset 287 endOffset 288 width 9.00: "e"
-            chunk 1 text run 289 at (206.14,250.00) startOffset 288 endOffset 289 width 5.00: " "
-            chunk 1 text run 290 at (213.14,250.00) startOffset 289 endOffset 290 width 9.00: "k"
-            chunk 1 text run 291 at (222.14,250.00) startOffset 290 endOffset 291 width 9.00: "e"
-            chunk 1 text run 292 at (231.14,250.00) startOffset 291 endOffset 292 width 9.00: "e"
-            chunk 1 text run 293 at (240.64,250.00) startOffset 292 endOffset 293 width 10.00: "p"
-            chunk 1 text run 294 at (248.14,250.00) startOffset 293 endOffset 294 width 5.00: " "
-            chunk 1 text run 295 at (255.14,250.00) startOffset 294 endOffset 295 width 9.00: "g"
-            chunk 1 text run 296 at (264.64,250.00) startOffset 295 endOffset 296 width 10.00: "o"
-            chunk 1 text run 297 at (272.64,250.00) startOffset 296 endOffset 297 width 6.00: "i"
-            chunk 1 text run 298 at (280.14,250.00) startOffset 297 endOffset 298 width 9.00: "n"
-            chunk 1 text run 299 at (289.14,250.00) startOffset 298 endOffset 299 width 9.00: "g"
-            chunk 1 text run 300 at (296.14,250.00) startOffset 299 endOffset 300 width 5.00: " "
-            chunk 1 text run 301 at (306.14,250.00) startOffset 300 endOffset 301 width 15.00: "w"
-            chunk 1 text run 302 at (316.64,250.00) startOffset 301 endOffset 302 width 6.00: "i"
-            chunk 1 text run 303 at (322.14,250.00) startOffset 302 endOffset 303 width 5.00: "t"
-            chunk 1 text run 304 at (329.14,250.00) startOffset 303 endOffset 304 width 9.00: "h"
-            chunk 1 text run 305 at (336.14,250.00) startOffset 304 endOffset 305 width 5.00: " "
-            chunk 1 text run 306 at (345.64,250.00) startOffset 305 endOffset 306 width 14.00: "m"
-            chunk 1 text run 307 at (357.64,250.00) startOffset 306 endOffset 307 width 10.00: "o"
-            chunk 1 text run 308 at (366.14,250.00) startOffset 307 endOffset 308 width 7.00: "r"
-            chunk 1 text run 309 at (374.14,250.00) startOffset 308 endOffset 309 width 9.00: "e"
-            chunk 1 text run 310 at (381.14,250.00) startOffset 309 endOffset 310 width 5.00: " "
-            chunk 1 text run 311 at (387.14,250.00) startOffset 310 endOffset 311 width 7.00: "r"
-            chunk 1 text run 312 at (395.14,250.00) startOffset 311 endOffset 312 width 9.00: "e"
-            chunk 1 text run 313 at (404.14,250.00) startOffset 312 endOffset 313 width 9.00: "a"
-            chunk 1 text run 314 at (411.64,250.00) startOffset 313 endOffset 314 width 6.00: "l"
-            chunk 1 text run 315 at (417.64,250.00) startOffset 314 endOffset 315 width 6.00: "l"
-            chunk 1 text run 316 at (25.14,270.00) startOffset 315 endOffset 316 width 9.00: "y"
-            chunk 1 text run 317 at (32.14,270.00) startOffset 316 endOffset 317 width 5.00: " "
-            chunk 1 text run 318 at (39.64,270.00) startOffset 317 endOffset 318 width 10.00: "q"
-            chunk 1 text run 319 at (49.14,270.00) startOffset 318 endOffset 319 width 9.00: "u"
-            chunk 1 text run 320 at (56.64,270.00) startOffset 319 endOffset 320 width 6.00: "i"
-            chunk 1 text run 321 at (62.14,270.00) startOffset 320 endOffset 321 width 5.00: "t"
-            chunk 1 text run 322 at (69.14,270.00) startOffset 321 endOffset 322 width 9.00: "e"
-            chunk 1 text run 323 at (76.14,270.00) startOffset 322 endOffset 323 width 5.00: " "
-            chunk 1 text run 324 at (83.14,270.00) startOffset 323 endOffset 324 width 9.00: "u"
-            chunk 1 text run 325 at (91.64,270.00) startOffset 324 endOffset 325 width 8.00: "s"
-            chunk 1 text run 326 at (100.14,270.00) startOffset 325 endOffset 326 width 9.00: "e"
-            chunk 1 text run 327 at (107.64,270.00) startOffset 326 endOffset 327 width 6.00: "l"
-            chunk 1 text run 328 at (115.14,270.00) startOffset 327 endOffset 328 width 9.00: "e"
-            chunk 1 text run 329 at (123.64,270.00) startOffset 328 endOffset 329 width 8.00: "s"
-            chunk 1 text run 330 at (131.64,270.00) startOffset 329 endOffset 330 width 8.00: "s"
-            chunk 1 text run 331 at (138.14,270.00) startOffset 330 endOffset 331 width 5.00: " "
-            chunk 1 text run 332 at (143.14,270.00) startOffset 331 endOffset 332 width 5.00: "t"
-            chunk 1 text run 333 at (150.14,270.00) startOffset 332 endOffset 333 width 9.00: "e"
-            chunk 1 text run 334 at (159.14,270.00) startOffset 333 endOffset 334 width 9.00: "x"
-            chunk 1 text run 335 at (166.14,270.00) startOffset 334 endOffset 335 width 5.00: "t"
-            chunk 1 text run 336 at (171.14,270.00) startOffset 335 endOffset 336 width 5.00: " "
-            chunk 1 text run 337 at (176.64,270.00) startOffset 336 endOffset 337 width 6.00: "j"
-            chunk 1 text run 338 at (184.14,270.00) startOffset 337 endOffset 338 width 9.00: "u"
-            chunk 1 text run 339 at (192.64,270.00) startOffset 338 endOffset 339 width 8.00: "s"
-            chunk 1 text run 340 at (199.14,270.00) startOffset 339 endOffset 340 width 5.00: "t"
-            chunk 1 text run 341 at (204.14,270.00) startOffset 340 endOffset 341 width 5.00: " "
-            chunk 1 text run 342 at (209.14,270.00) startOffset 341 endOffset 342 width 5.00: "t"
-            chunk 1 text run 343 at (216.64,270.00) startOffset 342 endOffset 343 width 10.00: "o"
-            chunk 1 text run 344 at (224.14,270.00) startOffset 343 endOffset 344 width 5.00: " "
-            chunk 1 text run 345 at (230.64,270.00) startOffset 344 endOffset 345 width 8.00: "s"
-            chunk 1 text run 346 at (239.14,270.00) startOffset 345 endOffset 346 width 9.00: "e"
-            chunk 1 text run 347 at (248.14,270.00) startOffset 346 endOffset 347 width 9.00: "e"
-            chunk 1 text run 348 at (255.14,270.00) startOffset 347 endOffset 348 width 5.00: " "
-            chunk 1 text run 349 at (260.64,270.00) startOffset 348 endOffset 349 width 6.00: "i"
-            chunk 1 text run 350 at (266.64,270.00) startOffset 349 endOffset 350 width 6.00: "f"
-            chunk 1 text run 351 at (272.14,270.00) startOffset 350 endOffset 351 width 5.00: " "
-            chunk 1 text run 352 at (282.14,270.00) startOffset 351 endOffset 352 width 15.00: "w"
-            chunk 1 text run 353 at (294.14,270.00) startOffset 352 endOffset 353 width 9.00: "e"
-            chunk 1 text run 354 at (301.14,270.00) startOffset 353 endOffset 354 width 5.00: " "
-            chunk 1 text run 355 at (308.14,270.00) startOffset 354 endOffset 355 width 9.00: "h"
-            chunk 1 text run 356 at (315.64,270.00) startOffset 355 endOffset 356 width 6.00: "i"
-            chunk 1 text run 357 at (321.14,270.00) startOffset 356 endOffset 357 width 5.00: "t"
-            chunk 1 text run 358 at (326.14,270.00) startOffset 357 endOffset 358 width 5.00: " "
-            chunk 1 text run 359 at (333.14,270.00) startOffset 358 endOffset 359 width 9.00: "a"
-            chunk 1 text run 360 at (340.14,270.00) startOffset 359 endOffset 360 width 5.00: " "
-            chunk 1 text run 361 at (345.64,270.00) startOffset 360 endOffset 361 width 6.00: "l"
-            chunk 1 text run 362 at (351.64,270.00) startOffset 361 endOffset 362 width 6.00: "i"
-            chunk 1 text run 363 at (361.64,270.00) startOffset 362 endOffset 363 width 14.00: "m"
-            chunk 1 text run 364 at (371.64,270.00) startOffset 363 endOffset 364 width 6.00: "i"
-            chunk 1 text run 365 at (377.14,270.00) startOffset 364 endOffset 365 width 5.00: "t"
-            chunk 1 text run 366 at (382.14,270.00) startOffset 365 endOffset 366 width 5.00: " "
-            chunk 1 text run 367 at (392.14,270.00) startOffset 366 endOffset 367 width 15.00: "w"
-            chunk 1 text run 368 at (404.14,270.00) startOffset 367 endOffset 368 width 9.00: "h"
-            chunk 1 text run 369 at (413.14,270.00) startOffset 368 endOffset 369 width 9.00: "e"
-            chunk 1 text run 370 at (421.14,270.00) startOffset 369 endOffset 370 width 7.00: "r"
-            chunk 1 text run 371 at (29.14,290.00) startOffset 370 endOffset 371 width 9.00: "e"
-            chunk 1 text run 372 at (36.14,290.00) startOffset 371 endOffset 372 width 5.00: " "
-            chunk 1 text run 373 at (41.64,290.00) startOffset 372 endOffset 373 width 6.00: "i"
-            chunk 1 text run 374 at (47.14,290.00) startOffset 373 endOffset 374 width 5.00: "t"
-            chunk 1 text run 375 at (52.14,290.00) startOffset 374 endOffset 375 width 5.00: " "
-            chunk 1 text run 376 at (58.14,290.00) startOffset 375 endOffset 376 width 7.00: "r"
-            chunk 1 text run 377 at (66.14,290.00) startOffset 376 endOffset 377 width 9.00: "e"
-            chunk 1 text run 378 at (75.14,290.00) startOffset 377 endOffset 378 width 9.00: "a"
-            chunk 1 text run 379 at (82.64,290.00) startOffset 378 endOffset 379 width 6.00: "l"
-            chunk 1 text run 380 at (88.64,290.00) startOffset 379 endOffset 380 width 6.00: "l"
-            chunk 1 text run 381 at (96.14,290.00) startOffset 380 endOffset 381 width 9.00: "y"
-            chunk 1 text run 382 at (103.14,290.00) startOffset 381 endOffset 382 width 5.00: " "
-            chunk 1 text run 383 at (109.64,290.00) startOffset 382 endOffset 383 width 8.00: "s"
-            chunk 1 text run 384 at (116.14,290.00) startOffset 383 endOffset 384 width 5.00: "t"
-            chunk 1 text run 385 at (123.14,290.00) startOffset 384 endOffset 385 width 9.00: "a"
-            chunk 1 text run 386 at (131.14,290.00) startOffset 385 endOffset 386 width 7.00: "r"
-            chunk 1 text run 387 at (137.14,290.00) startOffset 386 endOffset 387 width 5.00: "t"
-            chunk 1 text run 388 at (143.64,290.00) startOffset 387 endOffset 388 width 8.00: "s"
-            chunk 1 text run 389 at (150.14,290.00) startOffset 388 endOffset 389 width 5.00: " "
-            chunk 1 text run 390 at (155.14,290.00) startOffset 389 endOffset 390 width 5.00: "t"
-            chunk 1 text run 391 at (162.64,290.00) startOffset 390 endOffset 391 width 10.00: "o"
-            chunk 1 text run 392 at (170.14,290.00) startOffset 391 endOffset 392 width 5.00: " "
-            chunk 1 text run 393 at (176.64,290.00) startOffset 392 endOffset 393 width 8.00: "s"
-            chunk 1 text run 394 at (183.64,290.00) startOffset 393 endOffset 394 width 6.00: "l"
-            chunk 1 text run 395 at (191.64,290.00) startOffset 394 endOffset 395 width 10.00: "o"
-            chunk 1 text run 396 at (204.14,290.00) startOffset 395 endOffset 396 width 15.00: "w"
-            chunk 1 text run 397 at (214.14,290.00) startOffset 396 endOffset 397 width 5.00: " "
-            chunk 1 text run 398 at (219.14,290.00) startOffset 397 endOffset 398 width 5.00: "t"
-            chunk 1 text run 399 at (226.14,290.00) startOffset 398 endOffset 399 width 9.00: "h"
-            chunk 1 text run 400 at (233.64,290.00) startOffset 399 endOffset 400 width 6.00: "i"
-            chunk 1 text run 401 at (241.14,290.00) startOffset 400 endOffset 401 width 9.00: "n"
-            chunk 1 text run 402 at (250.14,290.00) startOffset 401 endOffset 402 width 9.00: "g"
-            chunk 1 text run 403 at (258.64,290.00) startOffset 402 endOffset 403 width 8.00: "s"
-            chunk 1 text run 404 at (265.14,290.00) startOffset 403 endOffset 404 width 5.00: " "
-            chunk 1 text run 405 at (272.64,290.00) startOffset 404 endOffset 405 width 10.00: "d"
-            chunk 1 text run 406 at (282.64,290.00) startOffset 405 endOffset 406 width 10.00: "o"
-            chunk 1 text run 407 at (295.14,290.00) startOffset 406 endOffset 407 width 15.00: "w"
-            chunk 1 text run 408 at (307.14,290.00) startOffset 407 endOffset 408 width 9.00: "n"
-            chunk 1 text run 409 at (314.14,290.00) startOffset 408 endOffset 409 width 5.00: "."
-            chunk 1 text run 410 at (319.14,290.00) startOffset 409 endOffset 410 width 5.00: " "
-            chunk 1 text run 1 at (328.64,290.00) startOffset 0 endOffset 1 width 14.00: "H"
-            chunk 1 text run 2 at (340.64,290.00) startOffset 1 endOffset 2 width 10.00: "o"
-            chunk 1 text run 3 at (353.14,290.00) startOffset 2 endOffset 3 width 15.00: "w"
-            chunk 1 text run 4 at (365.14,290.00) startOffset 3 endOffset 4 width 9.00: "e"
-            chunk 1 text run 5 at (374.64,290.00) startOffset 4 endOffset 5 width 10.00: "v"
-            chunk 1 text run 6 at (384.14,290.00) startOffset 5 endOffset 6 width 9.00: "e"
-            chunk 1 text run 7 at (392.14,290.00) startOffset 6 endOffset 7 width 7.00: "r"
-            chunk 1 text run 8 at (398.14,290.00) startOffset 7 endOffset 8 width 5.00: " "
-            chunk 1 text run 9 at (403.64,290.00) startOffset 8 endOffset 9 width 6.00: "i"
-            chunk 1 text run 10 at (409.64,290.00) startOffset 9 endOffset 10 width 6.00: "f"
-            chunk 1 text run 11 at (415.14,290.00) startOffset 10 endOffset 11 width 5.00: " "
-            chunk 1 text run 12 at (420.64,290.00) startOffset 11 endOffset 12 width 6.00: "i"
-            chunk 1 text run 13 at (26.14,310.00) startOffset 12 endOffset 13 width 5.00: "t"
-            chunk 1 text run 14 at (31.14,310.00) startOffset 13 endOffset 14 width 5.00: " "
-            chunk 1 text run 15 at (38.14,310.00) startOffset 14 endOffset 15 width 9.00: "h"
-            chunk 1 text run 16 at (47.14,310.00) startOffset 15 endOffset 16 width 9.00: "a"
-            chunk 1 text run 17 at (55.64,310.00) startOffset 16 endOffset 17 width 8.00: "s"
-            chunk 1 text run 18 at (64.14,310.00) startOffset 17 endOffset 18 width 9.00: "n"
-            chunk 1 text run 19 at (70.64,310.00) startOffset 18 endOffset 19 width 4.00: "'"
-            chunk 1 text run 20 at (75.14,310.00) startOffset 19 endOffset 20 width 5.00: "t"
-            chunk 1 text run 21 at (80.14,310.00) startOffset 20 endOffset 21 width 5.00: " "
-            chunk 1 text run 22 at (86.64,310.00) startOffset 21 endOffset 22 width 8.00: "s"
-            chunk 1 text run 23 at (93.64,310.00) startOffset 22 endOffset 23 width 6.00: "l"
-            chunk 1 text run 24 at (101.64,310.00) startOffset 23 endOffset 24 width 10.00: "o"
-            chunk 1 text run 25 at (114.14,310.00) startOffset 24 endOffset 25 width 15.00: "w"
-            chunk 1 text run 26 at (126.14,310.00) startOffset 25 endOffset 26 width 9.00: "e"
-            chunk 1 text run 27 at (135.64,310.00) startOffset 26 endOffset 27 width 10.00: "d"
-            chunk 1 text run 28 at (143.14,310.00) startOffset 27 endOffset 28 width 5.00: " "
-            chunk 1 text run 29 at (150.64,310.00) startOffset 28 endOffset 29 width 10.00: "d"
-            chunk 1 text run 30 at (160.64,310.00) startOffset 29 endOffset 30 width 10.00: "o"
-            chunk 1 text run 31 at (173.14,310.00) startOffset 30 endOffset 31 width 15.00: "w"
-            chunk 1 text run 32 at (185.14,310.00) startOffset 31 endOffset 32 width 9.00: "n"
-            chunk 1 text run 33 at (192.14,310.00) startOffset 32 endOffset 33 width 5.00: " "
-            chunk 1 text run 34 at (199.64,310.00) startOffset 33 endOffset 34 width 10.00: "b"
-            chunk 1 text run 35 at (209.14,310.00) startOffset 34 endOffset 35 width 9.00: "y"
-            chunk 1 text run 36 at (216.14,310.00) startOffset 35 endOffset 36 width 5.00: " "
-            chunk 1 text run 37 at (223.14,310.00) startOffset 36 endOffset 37 width 9.00: "n"
-            chunk 1 text run 38 at (232.64,310.00) startOffset 37 endOffset 38 width 10.00: "o"
-            chunk 1 text run 39 at (245.14,310.00) startOffset 38 endOffset 39 width 15.00: "w"
-            chunk 1 text run 40 at (255.14,310.00) startOffset 39 endOffset 40 width 5.00: " "
-            chunk 1 text run 41 at (260.64,310.00) startOffset 40 endOffset 41 width 6.00: "I"
-            chunk 1 text run 42 at (265.64,310.00) startOffset 41 endOffset 42 width 4.00: "'"
-            chunk 1 text run 43 at (274.64,310.00) startOffset 42 endOffset 43 width 14.00: "m"
-            chunk 1 text run 44 at (284.14,310.00) startOffset 43 endOffset 44 width 5.00: " "
-            chunk 1 text run 45 at (291.14,310.00) startOffset 44 endOffset 45 width 9.00: "g"
-            chunk 1 text run 46 at (300.14,310.00) startOffset 45 endOffset 46 width 9.00: "u"
-            chunk 1 text run 47 at (309.14,310.00) startOffset 46 endOffset 47 width 9.00: "e"
-            chunk 1 text run 48 at (317.64,310.00) startOffset 47 endOffset 48 width 8.00: "s"
-            chunk 1 text run 49 at (325.64,310.00) startOffset 48 endOffset 49 width 8.00: "s"
-            chunk 1 text run 50 at (332.64,310.00) startOffset 49 endOffset 50 width 6.00: "i"
-            chunk 1 text run 51 at (340.14,310.00) startOffset 50 endOffset 51 width 9.00: "n"
-            chunk 1 text run 52 at (349.14,310.00) startOffset 51 endOffset 52 width 9.00: "g"
-            chunk 1 text run 53 at (356.14,310.00) startOffset 52 endOffset 53 width 5.00: " "
-            chunk 1 text run 54 at (361.14,310.00) startOffset 53 endOffset 54 width 5.00: "t"
-            chunk 1 text run 55 at (368.14,310.00) startOffset 54 endOffset 55 width 9.00: "h"
-            chunk 1 text run 56 at (377.14,310.00) startOffset 55 endOffset 56 width 9.00: "a"
-            chunk 1 text run 57 at (384.14,310.00) startOffset 56 endOffset 57 width 5.00: "t"
-            chunk 1 text run 58 at (389.14,310.00) startOffset 57 endOffset 58 width 5.00: " "
-            chunk 1 text run 59 at (394.64,310.00) startOffset 58 endOffset 59 width 6.00: "i"
-            chunk 1 text run 60 at (400.14,310.00) startOffset 59 endOffset 60 width 5.00: "t"
-            chunk 1 text run 61 at (405.14,310.00) startOffset 60 endOffset 61 width 5.00: " "
-            chunk 1 text run 62 at (415.14,310.00) startOffset 61 endOffset 62 width 15.00: "w"
-            chunk 1 text run 63 at (27.64,330.00) startOffset 62 endOffset 63 width 10.00: "o"
-            chunk 1 text run 64 at (37.14,330.00) startOffset 63 endOffset 64 width 9.00: "n"
-            chunk 1 text run 65 at (43.64,330.00) startOffset 64 endOffset 65 width 4.00: "'"
-            chunk 1 text run 66 at (48.14,330.00) startOffset 65 endOffset 66 width 5.00: "t"
-            chunk 1 text run 67 at (53.14,330.00) startOffset 66 endOffset 67 width 5.00: " "
-            chunk 1 text run 68 at (59.64,330.00) startOffset 67 endOffset 68 width 8.00: "s"
-            chunk 1 text run 69 at (66.64,330.00) startOffset 68 endOffset 69 width 6.00: "l"
-            chunk 1 text run 70 at (74.64,330.00) startOffset 69 endOffset 70 width 10.00: "o"
-            chunk 1 text run 71 at (87.14,330.00) startOffset 70 endOffset 71 width 15.00: "w"
-            chunk 1 text run 72 at (97.14,330.00) startOffset 71 endOffset 72 width 5.00: " "
-            chunk 1 text run 73 at (104.64,330.00) startOffset 72 endOffset 73 width 10.00: "d"
-            chunk 1 text run 74 at (114.64,330.00) startOffset 73 endOffset 74 width 10.00: "o"
-            chunk 1 text run 75 at (127.14,330.00) startOffset 74 endOffset 75 width 15.00: "w"
-            chunk 1 text run 76 at (139.14,330.00) startOffset 75 endOffset 76 width 9.00: "n"
-            chunk 1 text run 77 at (146.14,330.00) startOffset 76 endOffset 77 width 5.00: " "
-            chunk 1 text run 78 at (153.14,330.00) startOffset 77 endOffset 78 width 9.00: "a"
-            chunk 1 text run 79 at (160.14,330.00) startOffset 78 endOffset 79 width 5.00: "t"
-            chunk 1 text run 80 at (165.14,330.00) startOffset 79 endOffset 80 width 5.00: " "
-            chunk 1 text run 81 at (172.14,330.00) startOffset 80 endOffset 81 width 9.00: "a"
-            chunk 1 text run 82 at (179.64,330.00) startOffset 81 endOffset 82 width 6.00: "l"
-            chunk 1 text run 83 at (185.64,330.00) startOffset 82 endOffset 83 width 6.00: "l"
-            chunk 1 text run 84 at (191.14,330.00) startOffset 83 endOffset 84 width 5.00: "."
-            chunk 1 text run 85 at (196.14,330.00) startOffset 84 endOffset 85 width 5.00: " "
-            chunk 1 text run 1 at (205.14,330.00) startOffset 0 endOffset 1 width 13.00: "B"
-            chunk 1 text run 2 at (216.14,330.00) startOffset 1 endOffset 2 width 9.00: "u"
-            chunk 1 text run 3 at (223.14,330.00) startOffset 2 endOffset 3 width 5.00: "t"
-            chunk 1 text run 4 at (228.14,330.00) startOffset 3 endOffset 4 width 5.00: " "
-            chunk 1 text run 5 at (235.14,330.00) startOffset 4 endOffset 5 width 9.00: "y"
-            chunk 1 text run 6 at (244.64,330.00) startOffset 5 endOffset 6 width 10.00: "o"
-            chunk 1 text run 7 at (254.14,330.00) startOffset 6 endOffset 7 width 9.00: "u"
-            chunk 1 text run 8 at (261.14,330.00) startOffset 7 endOffset 8 width 5.00: " "
-            chunk 1 text run 9 at (268.14,330.00) startOffset 8 endOffset 9 width 9.00: "n"
-            chunk 1 text run 10 at (277.14,330.00) startOffset 9 endOffset 10 width 9.00: "e"
-            chunk 1 text run 11 at (286.64,330.00) startOffset 10 endOffset 11 width 10.00: "v"
-            chunk 1 text run 12 at (296.14,330.00) startOffset 11 endOffset 12 width 9.00: "e"
-            chunk 1 text run 13 at (304.14,330.00) startOffset 12 endOffset 13 width 7.00: "r"
-            chunk 1 text run 14 at (310.14,330.00) startOffset 13 endOffset 14 width 5.00: " "
-            chunk 1 text run 15 at (317.14,330.00) startOffset 14 endOffset 15 width 9.00: "k"
-            chunk 1 text run 16 at (326.14,330.00) startOffset 15 endOffset 16 width 9.00: "n"
-            chunk 1 text run 17 at (335.64,330.00) startOffset 16 endOffset 17 width 10.00: "o"
-            chunk 1 text run 18 at (348.14,330.00) startOffset 17 endOffset 18 width 15.00: "w"
-            chunk 1 text run 19 at (358.14,330.00) startOffset 18 endOffset 19 width 5.00: " "
-            chunk 1 text run 20 at (363.64,330.00) startOffset 19 endOffset 20 width 6.00: "f"
-            chunk 1 text run 21 at (371.64,330.00) startOffset 20 endOffset 21 width 10.00: "o"
-            chunk 1 text run 22 at (380.14,330.00) startOffset 21 endOffset 22 width 7.00: "r"
-            chunk 1 text run 23 at (386.14,330.00) startOffset 22 endOffset 23 width 5.00: " "
-            chunk 1 text run 24 at (392.64,330.00) startOffset 23 endOffset 24 width 8.00: "s"
-            chunk 1 text run 25 at (401.14,330.00) startOffset 24 endOffset 25 width 9.00: "u"
-            chunk 1 text run 26 at (409.14,330.00) startOffset 25 endOffset 26 width 7.00: "r"
-            chunk 1 text run 27 at (417.14,330.00) startOffset 26 endOffset 27 width 9.00: "e"
-            chunk 1 text run 28 at (424.14,330.00) startOffset 27 endOffset 28 width 5.00: " "
-            chunk 1 text run 29 at (31.14,350.00) startOffset 28 endOffset 29 width 9.00: "u"
-            chunk 1 text run 30 at (40.14,350.00) startOffset 29 endOffset 30 width 9.00: "n"
-            chunk 1 text run 31 at (47.14,350.00) startOffset 30 endOffset 31 width 5.00: "t"
-            chunk 1 text run 32 at (52.64,350.00) startOffset 31 endOffset 32 width 6.00: "i"
-            chunk 1 text run 33 at (58.64,350.00) startOffset 32 endOffset 33 width 6.00: "l"
-            chunk 1 text run 34 at (64.14,350.00) startOffset 33 endOffset 34 width 5.00: " "
-            chunk 1 text run 35 at (71.14,350.00) startOffset 34 endOffset 35 width 9.00: "y"
-            chunk 1 text run 36 at (80.64,350.00) startOffset 35 endOffset 36 width 10.00: "o"
-            chunk 1 text run 37 at (90.14,350.00) startOffset 36 endOffset 37 width 9.00: "u"
-            chunk 1 text run 38 at (97.14,350.00) startOffset 37 endOffset 38 width 5.00: " "
-            chunk 1 text run 39 at (102.14,350.00) startOffset 38 endOffset 39 width 5.00: "t"
-            chunk 1 text run 40 at (108.14,350.00) startOffset 39 endOffset 40 width 7.00: "r"
-            chunk 1 text run 41 at (116.14,350.00) startOffset 40 endOffset 41 width 9.00: "y"
-            chunk 1 text run 42 at (123.14,350.00) startOffset 41 endOffset 42 width 5.00: " "
-            chunk 1 text run 43 at (128.64,350.00) startOffset 42 endOffset 43 width 6.00: "i"
-            chunk 1 text run 44 at (134.14,350.00) startOffset 43 endOffset 44 width 5.00: "t"
-            chunk 1 text run 45 at (139.14,350.00) startOffset 44 endOffset 45 width 5.00: ","
-            chunk 1 text run 46 at (144.14,350.00) startOffset 45 endOffset 46 width 5.00: " "
-            chunk 1 text run 47 at (150.64,350.00) startOffset 46 endOffset 47 width 8.00: "s"
-            chunk 1 text run 48 at (159.64,350.00) startOffset 47 endOffset 48 width 10.00: "o"
-            chunk 1 text run 49 at (167.14,350.00) startOffset 48 endOffset 49 width 5.00: " "
-            chunk 1 text run 50 at (172.64,350.00) startOffset 49 endOffset 50 width 6.00: "I"
-            chunk 1 text run 51 at (178.14,350.00) startOffset 50 endOffset 51 width 5.00: " "
-            chunk 1 text run 52 at (185.14,350.00) startOffset 51 endOffset 52 width 9.00: "a"
-            chunk 1 text run 53 at (196.64,350.00) startOffset 52 endOffset 53 width 14.00: "m"
-            chunk 1 text run 54 at (206.14,350.00) startOffset 53 endOffset 54 width 5.00: ","
-            chunk 1 text run 55 at (211.14,350.00) startOffset 54 endOffset 55 width 5.00: " "
-            chunk 1 text run 56 at (218.14,350.00) startOffset 55 endOffset 56 width 9.00: "a"
-            chunk 1 text run 57 at (227.14,350.00) startOffset 56 endOffset 57 width 9.00: "n"
-            chunk 1 text run 58 at (236.64,350.00) startOffset 57 endOffset 58 width 10.00: "d"
-            chunk 1 text run 59 at (244.14,350.00) startOffset 58 endOffset 59 width 5.00: " "
-            chunk 1 text run 60 at (251.14,350.00) startOffset 59 endOffset 60 width 9.00: "h"
-            chunk 1 text run 61 at (260.14,350.00) startOffset 60 endOffset 61 width 9.00: "e"
-            chunk 1 text run 62 at (268.14,350.00) startOffset 61 endOffset 62 width 7.00: "r"
-            chunk 1 text run 63 at (276.14,350.00) startOffset 62 endOffset 63 width 9.00: "e"
-            chunk 1 text run 64 at (283.14,350.00) startOffset 63 endOffset 64 width 5.00: " "
-            chunk 1 text run 65 at (288.64,350.00) startOffset 64 endOffset 65 width 6.00: "i"
-            chunk 1 text run 66 at (295.64,350.00) startOffset 65 endOffset 66 width 8.00: "s"
-            chunk 1 text run 67 at (302.14,350.00) startOffset 66 endOffset 67 width 5.00: " "
-            chunk 1 text run 68 at (307.14,350.00) startOffset 67 endOffset 68 width 5.00: "t"
-            chunk 1 text run 69 at (314.14,350.00) startOffset 68 endOffset 69 width 9.00: "h"
-            chunk 1 text run 70 at (323.14,350.00) startOffset 69 endOffset 70 width 9.00: "e"
-            chunk 1 text run 71 at (330.14,350.00) startOffset 70 endOffset 71 width 5.00: " "
-            chunk 1 text run 72 at (336.14,350.00) startOffset 71 endOffset 72 width 7.00: "r"
-            chunk 1 text run 73 at (344.14,350.00) startOffset 72 endOffset 73 width 9.00: "e"
-            chunk 1 text run 74 at (352.64,350.00) startOffset 73 endOffset 74 width 8.00: "s"
-            chunk 1 text run 75 at (361.14,350.00) startOffset 74 endOffset 75 width 9.00: "u"
-            chunk 1 text run 76 at (368.64,350.00) startOffset 75 endOffset 76 width 6.00: "l"
-            chunk 1 text run 77 at (374.14,350.00) startOffset 76 endOffset 77 width 5.00: "t"
-            chunk 1 text run 78 at (379.14,350.00) startOffset 77 endOffset 78 width 5.00: "."
-            chunk 1 text run 79 at (384.14,350.00) startOffset 78 endOffset 79 width 5.00: " "
-            chunk 1 text run 1 at (392.14,350.00) startOffset 0 endOffset 1 width 11.00: "S"
-            chunk 1 text run 2 at (402.14,350.00) startOffset 1 endOffset 2 width 9.00: "e"
-            chunk 1 text run 3 at (409.64,350.00) startOffset 2 endOffset 3 width 6.00: "l"
-            chunk 1 text run 4 at (417.14,350.00) startOffset 3 endOffset 4 width 9.00: "e"
-            chunk 1 text run 5 at (26.14,370.00) startOffset 4 endOffset 5 width 9.00: "c"
-            chunk 1 text run 6 at (33.14,370.00) startOffset 5 endOffset 6 width 5.00: "t"
-            chunk 1 text run 7 at (38.64,370.00) startOffset 6 endOffset 7 width 6.00: "i"
-            chunk 1 text run 8 at (46.64,370.00) startOffset 7 endOffset 8 width 10.00: "o"
-            chunk 1 text run 9 at (56.14,370.00) startOffset 8 endOffset 9 width 9.00: "n"
-            chunk 1 text run 10 at (63.14,370.00) startOffset 9 endOffset 10 width 5.00: " "
-            chunk 1 text run 11 at (70.64,370.00) startOffset 10 endOffset 11 width 10.00: "d"
-            chunk 1 text run 12 at (80.64,370.00) startOffset 11 endOffset 12 width 10.00: "o"
-            chunk 1 text run 13 at (90.14,370.00) startOffset 12 endOffset 13 width 9.00: "e"
-            chunk 1 text run 14 at (98.64,370.00) startOffset 13 endOffset 14 width 8.00: "s"
-            chunk 1 text run 15 at (105.14,370.00) startOffset 14 endOffset 15 width 5.00: " "
-            chunk 1 text run 16 at (112.64,370.00) startOffset 15 endOffset 16 width 10.00: "b"
-            chunk 1 text run 17 at (122.64,370.00) startOffset 16 endOffset 17 width 10.00: "o"
-            chunk 1 text run 18 at (132.14,370.00) startOffset 17 endOffset 18 width 9.00: "g"
-            chunk 1 text run 19 at (139.14,370.00) startOffset 18 endOffset 19 width 5.00: " "
-            chunk 1 text run 20 at (146.64,370.00) startOffset 19 endOffset 20 width 10.00: "d"
-            chunk 1 text run 21 at (156.64,370.00) startOffset 20 endOffset 21 width 10.00: "o"
-            chunk 1 text run 22 at (169.14,370.00) startOffset 21 endOffset 22 width 15.00: "w"
-            chunk 1 text run 23 at (181.14,370.00) startOffset 22 endOffset 23 width 9.00: "n"
-            chunk 1 text run 24 at (188.14,370.00) startOffset 23 endOffset 24 width 5.00: " "
-            chunk 1 text run 25 at (195.14,370.00) startOffset 24 endOffset 25 width 9.00: "a"
-            chunk 1 text run 26 at (202.14,370.00) startOffset 25 endOffset 26 width 5.00: " "
-            chunk 1 text run 27 at (207.64,370.00) startOffset 26 endOffset 27 width 6.00: "l"
-            chunk 1 text run 28 at (213.64,370.00) startOffset 27 endOffset 28 width 6.00: "i"
-            chunk 1 text run 29 at (219.14,370.00) startOffset 28 endOffset 29 width 5.00: "t"
-            chunk 1 text run 30 at (224.14,370.00) startOffset 29 endOffset 30 width 5.00: "t"
-            chunk 1 text run 31 at (229.64,370.00) startOffset 30 endOffset 31 width 6.00: "l"
-            chunk 1 text run 32 at (237.14,370.00) startOffset 31 endOffset 32 width 9.00: "e"
-            chunk 1 text run 33 at (244.14,370.00) startOffset 32 endOffset 33 width 5.00: " "
-            chunk 1 text run 34 at (251.14,370.00) startOffset 33 endOffset 34 width 9.00: "n"
-            chunk 1 text run 35 at (260.14,370.00) startOffset 34 endOffset 35 width 9.00: "e"
-            chunk 1 text run 36 at (269.14,370.00) startOffset 35 endOffset 36 width 9.00: "a"
-            chunk 1 text run 37 at (277.14,370.00) startOffset 36 endOffset 37 width 7.00: "r"
-            chunk 1 text run 38 at (283.14,370.00) startOffset 37 endOffset 38 width 5.00: " "
-            chunk 1 text run 39 at (288.14,370.00) startOffset 38 endOffset 39 width 5.00: "t"
-            chunk 1 text run 40 at (295.14,370.00) startOffset 39 endOffset 40 width 9.00: "h"
-            chunk 1 text run 41 at (304.14,370.00) startOffset 40 endOffset 41 width 9.00: "e"
-            chunk 1 text run 42 at (311.14,370.00) startOffset 41 endOffset 42 width 5.00: " "
-            chunk 1 text run 43 at (318.14,370.00) startOffset 42 endOffset 43 width 9.00: "e"
-            chunk 1 text run 44 at (327.14,370.00) startOffset 43 endOffset 44 width 9.00: "n"
-            chunk 1 text run 45 at (336.64,370.00) startOffset 44 endOffset 45 width 10.00: "d"
-            chunk 1 text run 46 at (344.14,370.00) startOffset 45 endOffset 46 width 5.00: " "
-            chunk 1 text run 47 at (351.64,370.00) startOffset 46 endOffset 47 width 10.00: "b"
-            chunk 1 text run 48 at (361.14,370.00) startOffset 47 endOffset 48 width 9.00: "u"
-            chunk 1 text run 49 at (368.14,370.00) startOffset 48 endOffset 49 width 5.00: "t"
-            chunk 1 text run 50 at (373.14,370.00) startOffset 49 endOffset 50 width 5.00: " "
-            chunk 1 text run 51 at (378.64,370.00) startOffset 50 endOffset 51 width 6.00: "i"
-            chunk 1 text run 52 at (384.14,370.00) startOffset 51 endOffset 52 width 5.00: "t"
-            chunk 1 text run 53 at (388.64,370.00) startOffset 52 endOffset 53 width 4.00: "'"
-            chunk 1 text run 54 at (394.64,370.00) startOffset 53 endOffset 54 width 8.00: "s"
-            chunk 1 text run 55 at (401.14,370.00) startOffset 54 endOffset 55 width 5.00: " "
-            chunk 1 text run 56 at (407.14,370.00) startOffset 55 endOffset 56 width 7.00: "r"
-            chunk 1 text run 57 at (415.14,370.00) startOffset 56 endOffset 57 width 9.00: "e"
-            chunk 1 text run 58 at (424.64,370.00) startOffset 57 endOffset 58 width 10.00: "d"
-            chunk 1 text run 59 at (33.14,390.00) startOffset 58 endOffset 59 width 7.00: "r"
-            chunk 1 text run 60 at (41.14,390.00) startOffset 59 endOffset 60 width 9.00: "a"
-            chunk 1 text run 61 at (53.14,390.00) startOffset 60 endOffset 61 width 15.00: "w"
-            chunk 1 text run 62 at (63.14,390.00) startOffset 61 endOffset 62 width 5.00: " "
-            chunk 1 text run 63 at (69.14,390.00) startOffset 62 endOffset 63 width 7.00: "r"
-            chunk 1 text run 64 at (77.14,390.00) startOffset 63 endOffset 64 width 9.00: "e"
-            chunk 1 text run 65 at (84.64,390.00) startOffset 64 endOffset 65 width 6.00: "l"
-            chunk 1 text run 66 at (92.14,390.00) startOffset 65 endOffset 66 width 9.00: "a"
-            chunk 1 text run 67 at (99.14,390.00) startOffset 66 endOffset 67 width 5.00: "t"
-            chunk 1 text run 68 at (106.14,390.00) startOffset 67 endOffset 68 width 9.00: "e"
-            chunk 1 text run 69 at (115.64,390.00) startOffset 68 endOffset 69 width 10.00: "d"
-            chunk 1 text run 70 at (123.14,390.00) startOffset 69 endOffset 70 width 5.00: "."
+            chunk 1 text run 193 at (274.50,210.00) startOffset 192 endOffset 193 width 7.00: "r"
+            chunk 1 text run 194 at (282.50,210.00) startOffset 193 endOffset 194 width 9.00: "g"
+            chunk 1 text run 195 at (291.50,210.00) startOffset 194 endOffset 195 width 9.00: "e"
+            chunk 1 text run 196 at (298.50,210.00) startOffset 195 endOffset 196 width 5.00: " "
+            chunk 1 text run 197 at (305.50,210.00) startOffset 196 endOffset 197 width 9.00: "n"
+            chunk 1 text run 198 at (314.50,210.00) startOffset 197 endOffset 198 width 9.00: "u"
+            chunk 1 text run 199 at (326.00,210.00) startOffset 198 endOffset 199 width 14.00: "m"
+            chunk 1 text run 200 at (338.00,210.00) startOffset 199 endOffset 200 width 10.00: "b"
+            chunk 1 text run 201 at (347.50,210.00) startOffset 200 endOffset 201 width 9.00: "e"
+            chunk 1 text run 202 at (355.50,210.00) startOffset 201 endOffset 202 width 7.00: "r"
+            chunk 1 text run 203 at (363.00,210.00) startOffset 202 endOffset 203 width 8.00: "s"
+            chunk 1 text run 204 at (369.50,210.00) startOffset 203 endOffset 204 width 5.00: " "
+            chunk 1 text run 205 at (377.00,210.00) startOffset 204 endOffset 205 width 10.00: "o"
+            chunk 1 text run 206 at (385.00,210.00) startOffset 205 endOffset 206 width 6.00: "f"
+            chunk 1 text run 207 at (390.50,210.00) startOffset 206 endOffset 207 width 5.00: " "
+            chunk 1 text run 208 at (397.50,210.00) startOffset 207 endOffset 208 width 9.00: "c"
+            chunk 1 text run 209 at (406.50,210.00) startOffset 208 endOffset 209 width 9.00: "h"
+            chunk 1 text run 210 at (415.50,210.00) startOffset 209 endOffset 210 width 9.00: "a"
+            chunk 1 text run 211 at (423.50,210.00) startOffset 210 endOffset 211 width 7.00: "r"
+            chunk 1 text run 212 at (31.50,230.00) startOffset 211 endOffset 212 width 9.00: "a"
+            chunk 1 text run 213 at (40.50,230.00) startOffset 212 endOffset 213 width 9.00: "c"
+            chunk 1 text run 214 at (47.50,230.00) startOffset 213 endOffset 214 width 5.00: "t"
+            chunk 1 text run 215 at (54.50,230.00) startOffset 214 endOffset 215 width 9.00: "e"
+            chunk 1 text run 216 at (62.50,230.00) startOffset 215 endOffset 216 width 7.00: "r"
+            chunk 1 text run 217 at (70.00,230.00) startOffset 216 endOffset 217 width 8.00: "s"
+            chunk 1 text run 218 at (76.50,230.00) startOffset 217 endOffset 218 width 5.00: " "
+            chunk 1 text run 219 at (83.50,230.00) startOffset 218 endOffset 219 width 9.00: "a"
+            chunk 1 text run 220 at (91.50,230.00) startOffset 219 endOffset 220 width 7.00: "r"
+            chunk 1 text run 221 at (99.50,230.00) startOffset 220 endOffset 221 width 9.00: "e"
+            chunk 1 text run 222 at (106.50,230.00) startOffset 221 endOffset 222 width 5.00: " "
+            chunk 1 text run 223 at (114.00,230.00) startOffset 222 endOffset 223 width 10.00: "p"
+            chunk 1 text run 224 at (123.50,230.00) startOffset 223 endOffset 224 width 9.00: "a"
+            chunk 1 text run 225 at (131.50,230.00) startOffset 224 endOffset 225 width 7.00: "r"
+            chunk 1 text run 226 at (137.50,230.00) startOffset 225 endOffset 226 width 5.00: "t"
+            chunk 1 text run 227 at (142.50,230.00) startOffset 226 endOffset 227 width 5.00: " "
+            chunk 1 text run 228 at (150.00,230.00) startOffset 227 endOffset 228 width 10.00: "o"
+            chunk 1 text run 229 at (158.00,230.00) startOffset 228 endOffset 229 width 6.00: "f"
+            chunk 1 text run 230 at (163.50,230.00) startOffset 229 endOffset 230 width 5.00: " "
+            chunk 1 text run 231 at (168.50,230.00) startOffset 230 endOffset 231 width 5.00: "t"
+            chunk 1 text run 232 at (175.50,230.00) startOffset 231 endOffset 232 width 9.00: "h"
+            chunk 1 text run 233 at (184.50,230.00) startOffset 232 endOffset 233 width 9.00: "e"
+            chunk 1 text run 234 at (191.50,230.00) startOffset 233 endOffset 234 width 5.00: " "
+            chunk 1 text run 235 at (198.00,230.00) startOffset 234 endOffset 235 width 8.00: "s"
+            chunk 1 text run 236 at (206.50,230.00) startOffset 235 endOffset 236 width 9.00: "e"
+            chunk 1 text run 237 at (214.00,230.00) startOffset 236 endOffset 237 width 6.00: "l"
+            chunk 1 text run 238 at (221.50,230.00) startOffset 237 endOffset 238 width 9.00: "e"
+            chunk 1 text run 239 at (230.50,230.00) startOffset 238 endOffset 239 width 9.00: "c"
+            chunk 1 text run 240 at (237.50,230.00) startOffset 239 endOffset 240 width 5.00: "t"
+            chunk 1 text run 241 at (243.00,230.00) startOffset 240 endOffset 241 width 6.00: "i"
+            chunk 1 text run 242 at (251.00,230.00) startOffset 241 endOffset 242 width 10.00: "o"
+            chunk 1 text run 243 at (260.50,230.00) startOffset 242 endOffset 243 width 9.00: "n"
+            chunk 1 text run 244 at (267.50,230.00) startOffset 243 endOffset 244 width 5.00: "."
+            chunk 1 text run 245 at (272.50,230.00) startOffset 244 endOffset 245 width 5.00: " "
+            chunk 1 text run 246 at (280.50,230.00) startOffset 245 endOffset 246 width 11.00: "S"
+            chunk 1 text run 247 at (289.00,230.00) startOffset 246 endOffset 247 width 6.00: "i"
+            chunk 1 text run 248 at (296.50,230.00) startOffset 247 endOffset 248 width 9.00: "n"
+            chunk 1 text run 249 at (305.50,230.00) startOffset 248 endOffset 249 width 9.00: "c"
+            chunk 1 text run 250 at (314.50,230.00) startOffset 249 endOffset 250 width 9.00: "e"
+            chunk 1 text run 251 at (321.50,230.00) startOffset 250 endOffset 251 width 5.00: " "
+            chunk 1 text run 252 at (327.00,230.00) startOffset 251 endOffset 252 width 6.00: "I"
+            chunk 1 text run 253 at (332.50,230.00) startOffset 252 endOffset 253 width 5.00: " "
+            chunk 1 text run 254 at (339.50,230.00) startOffset 253 endOffset 254 width 9.00: "h"
+            chunk 1 text run 255 at (348.50,230.00) startOffset 254 endOffset 255 width 9.00: "a"
+            chunk 1 text run 256 at (358.00,230.00) startOffset 255 endOffset 256 width 10.00: "v"
+            chunk 1 text run 257 at (367.50,230.00) startOffset 256 endOffset 257 width 9.00: "e"
+            chunk 1 text run 258 at (376.50,230.00) startOffset 257 endOffset 258 width 9.00: "n"
+            chunk 1 text run 259 at (383.00,230.00) startOffset 258 endOffset 259 width 4.00: "'"
+            chunk 1 text run 260 at (387.50,230.00) startOffset 259 endOffset 260 width 5.00: "t"
+            chunk 1 text run 261 at (392.50,230.00) startOffset 260 endOffset 261 width 5.00: " "
+            chunk 1 text run 262 at (398.50,230.00) startOffset 261 endOffset 262 width 7.00: "r"
+            chunk 1 text run 263 at (406.50,230.00) startOffset 262 endOffset 263 width 9.00: "e"
+            chunk 1 text run 264 at (415.50,230.00) startOffset 263 endOffset 264 width 9.00: "a"
+            chunk 1 text run 265 at (424.50,230.00) startOffset 264 endOffset 265 width 9.00: "c"
+            chunk 1 text run 266 at (33.50,250.00) startOffset 265 endOffset 266 width 9.00: "h"
+            chunk 1 text run 267 at (42.50,250.00) startOffset 266 endOffset 267 width 9.00: "e"
+            chunk 1 text run 268 at (52.00,250.00) startOffset 267 endOffset 268 width 10.00: "d"
+            chunk 1 text run 269 at (59.50,250.00) startOffset 268 endOffset 269 width 5.00: " "
+            chunk 1 text run 270 at (64.50,250.00) startOffset 269 endOffset 270 width 5.00: "t"
+            chunk 1 text run 271 at (71.50,250.00) startOffset 270 endOffset 271 width 9.00: "h"
+            chunk 1 text run 272 at (80.50,250.00) startOffset 271 endOffset 272 width 9.00: "e"
+            chunk 1 text run 273 at (87.50,250.00) startOffset 272 endOffset 273 width 5.00: " "
+            chunk 1 text run 274 at (94.50,250.00) startOffset 273 endOffset 274 width 9.00: "e"
+            chunk 1 text run 275 at (103.50,250.00) startOffset 274 endOffset 275 width 9.00: "n"
+            chunk 1 text run 276 at (113.00,250.00) startOffset 275 endOffset 276 width 10.00: "d"
+            chunk 1 text run 277 at (120.50,250.00) startOffset 276 endOffset 277 width 5.00: " "
+            chunk 1 text run 278 at (127.50,250.00) startOffset 277 endOffset 278 width 9.00: "y"
+            chunk 1 text run 279 at (136.50,250.00) startOffset 278 endOffset 279 width 9.00: "e"
+            chunk 1 text run 280 at (143.50,250.00) startOffset 279 endOffset 280 width 5.00: "t"
+            chunk 1 text run 281 at (148.50,250.00) startOffset 280 endOffset 281 width 5.00: ","
+            chunk 1 text run 282 at (153.50,250.00) startOffset 281 endOffset 282 width 5.00: " "
+            chunk 1 text run 283 at (159.00,250.00) startOffset 282 endOffset 283 width 6.00: "l"
+            chunk 1 text run 284 at (166.50,250.00) startOffset 283 endOffset 284 width 9.00: "e"
+            chunk 1 text run 285 at (173.50,250.00) startOffset 284 endOffset 285 width 5.00: "t"
+            chunk 1 text run 286 at (178.50,250.00) startOffset 285 endOffset 286 width 5.00: " "
+            chunk 1 text run 287 at (188.00,250.00) startOffset 286 endOffset 287 width 14.00: "m"
+            chunk 1 text run 288 at (199.50,250.00) startOffset 287 endOffset 288 width 9.00: "e"
+            chunk 1 text run 289 at (206.50,250.00) startOffset 288 endOffset 289 width 5.00: " "
+            chunk 1 text run 290 at (213.50,250.00) startOffset 289 endOffset 290 width 9.00: "k"
+            chunk 1 text run 291 at (222.50,250.00) startOffset 290 endOffset 291 width 9.00: "e"
+            chunk 1 text run 292 at (231.50,250.00) startOffset 291 endOffset 292 width 9.00: "e"
+            chunk 1 text run 293 at (241.00,250.00) startOffset 292 endOffset 293 width 10.00: "p"
+            chunk 1 text run 294 at (248.50,250.00) startOffset 293 endOffset 294 width 5.00: " "
+            chunk 1 text run 295 at (255.50,250.00) startOffset 294 endOffset 295 width 9.00: "g"
+            chunk 1 text run 296 at (265.00,250.00) startOffset 295 endOffset 296 width 10.00: "o"
+            chunk 1 text run 297 at (273.00,250.00) startOffset 296 endOffset 297 width 6.00: "i"
+            chunk 1 text run 298 at (280.50,250.00) startOffset 297 endOffset 298 width 9.00: "n"
+            chunk 1 text run 299 at (289.50,250.00) startOffset 298 endOffset 299 width 9.00: "g"
+            chunk 1 text run 300 at (296.50,250.00) startOffset 299 endOffset 300 width 5.00: " "
+            chunk 1 text run 301 at (306.50,250.00) startOffset 300 endOffset 301 width 15.00: "w"
+            chunk 1 text run 302 at (317.00,250.00) startOffset 301 endOffset 302 width 6.00: "i"
+            chunk 1 text run 303 at (322.50,250.00) startOffset 302 endOffset 303 width 5.00: "t"
+            chunk 1 text run 304 at (329.50,250.00) startOffset 303 endOffset 304 width 9.00: "h"
+            chunk 1 text run 305 at (336.50,250.00) startOffset 304 endOffset 305 width 5.00: " "
+            chunk 1 text run 306 at (346.00,250.00) startOffset 305 endOffset 306 width 14.00: "m"
+            chunk 1 text run 307 at (358.00,250.00) startOffset 306 endOffset 307 width 10.00: "o"
+            chunk 1 text run 308 at (366.50,250.00) startOffset 307 endOffset 308 width 7.00: "r"
+            chunk 1 text run 309 at (374.50,250.00) startOffset 308 endOffset 309 width 9.00: "e"
+            chunk 1 text run 310 at (381.50,250.00) startOffset 309 endOffset 310 width 5.00: " "
+            chunk 1 text run 311 at (387.50,250.00) startOffset 310 endOffset 311 width 7.00: "r"
+            chunk 1 text run 312 at (395.50,250.00) startOffset 311 endOffset 312 width 9.00: "e"
+            chunk 1 text run 313 at (404.50,250.00) startOffset 312 endOffset 313 width 9.00: "a"
+            chunk 1 text run 314 at (412.00,250.00) startOffset 313 endOffset 314 width 6.00: "l"
+            chunk 1 text run 315 at (418.00,250.00) startOffset 314 endOffset 315 width 6.00: "l"
+            chunk 1 text run 316 at (25.50,270.00) startOffset 315 endOffset 316 width 9.00: "y"
+            chunk 1 text run 317 at (32.50,270.00) startOffset 316 endOffset 317 width 5.00: " "
+            chunk 1 text run 318 at (40.00,270.00) startOffset 317 endOffset 318 width 10.00: "q"
+            chunk 1 text run 319 at (49.50,270.00) startOffset 318 endOffset 319 width 9.00: "u"
+            chunk 1 text run 320 at (57.00,270.00) startOffset 319 endOffset 320 width 6.00: "i"
+            chunk 1 text run 321 at (62.50,270.00) startOffset 320 endOffset 321 width 5.00: "t"
+            chunk 1 text run 322 at (69.50,270.00) startOffset 321 endOffset 322 width 9.00: "e"
+            chunk 1 text run 323 at (76.50,270.00) startOffset 322 endOffset 323 width 5.00: " "
+            chunk 1 text run 324 at (83.50,270.00) startOffset 323 endOffset 324 width 9.00: "u"
+            chunk 1 text run 325 at (92.00,270.00) startOffset 324 endOffset 325 width 8.00: "s"
+            chunk 1 text run 326 at (100.50,270.00) startOffset 325 endOffset 326 width 9.00: "e"
+            chunk 1 text run 327 at (108.00,270.00) startOffset 326 endOffset 327 width 6.00: "l"
+            chunk 1 text run 328 at (115.50,270.00) startOffset 327 endOffset 328 width 9.00: "e"
+            chunk 1 text run 329 at (124.00,270.00) startOffset 328 endOffset 329 width 8.00: "s"
+            chunk 1 text run 330 at (132.00,270.00) startOffset 329 endOffset 330 width 8.00: "s"
+            chunk 1 text run 331 at (138.50,270.00) startOffset 330 endOffset 331 width 5.00: " "
+            chunk 1 text run 332 at (143.50,270.00) startOffset 331 endOffset 332 width 5.00: "t"
+            chunk 1 text run 333 at (150.50,270.00) startOffset 332 endOffset 333 width 9.00: "e"
+            chunk 1 text run 334 at (159.50,270.00) startOffset 333 endOffset 334 width 9.00: "x"
+            chunk 1 text run 335 at (166.50,270.00) startOffset 334 endOffset 335 width 5.00: "t"
+            chunk 1 text run 336 at (171.50,270.00) startOffset 335 endOffset 336 width 5.00: " "
+            chunk 1 text run 337 at (177.00,270.00) startOffset 336 endOffset 337 width 6.00: "j"
+            chunk 1 text run 338 at (184.50,270.00) startOffset 337 endOffset 338 width 9.00: "u"
+            chunk 1 text run 339 at (193.00,270.00) startOffset 338 endOffset 339 width 8.00: "s"
+            chunk 1 text run 340 at (199.50,270.00) startOffset 339 endOffset 340 width 5.00: "t"
+            chunk 1 text run 341 at (204.50,270.00) startOffset 340 endOffset 341 width 5.00: " "
+            chunk 1 text run 342 at (209.50,270.00) startOffset 341 endOffset 342 width 5.00: "t"
+            chunk 1 text run 343 at (217.00,270.00) startOffset 342 endOffset 343 width 10.00: "o"
+            chunk 1 text run 344 at (224.50,270.00) startOffset 343 endOffset 344 width 5.00: " "
+            chunk 1 text run 345 at (231.00,270.00) startOffset 344 endOffset 345 width 8.00: "s"
+            chunk 1 text run 346 at (239.50,270.00) startOffset 345 endOffset 346 width 9.00: "e"
+            chunk 1 text run 347 at (248.50,270.00) startOffset 346 endOffset 347 width 9.00: "e"
+            chunk 1 text run 348 at (255.50,270.00) startOffset 347 endOffset 348 width 5.00: " "
+            chunk 1 text run 349 at (261.00,270.00) startOffset 348 endOffset 349 width 6.00: "i"
+            chunk 1 text run 350 at (267.00,270.00) startOffset 349 endOffset 350 width 6.00: "f"
+            chunk 1 text run 351 at (272.50,270.00) startOffset 350 endOffset 351 width 5.00: " "
+            chunk 1 text run 352 at (282.50,270.00) startOffset 351 endOffset 352 width 15.00: "w"
+            chunk 1 text run 353 at (294.50,270.00) startOffset 352 endOffset 353 width 9.00: "e"
+            chunk 1 text run 354 at (301.50,270.00) startOffset 353 endOffset 354 width 5.00: " "
+            chunk 1 text run 355 at (308.50,270.00) startOffset 354 endOffset 355 width 9.00: "h"
+            chunk 1 text run 356 at (316.00,270.00) startOffset 355 endOffset 356 width 6.00: "i"
+            chunk 1 text run 357 at (321.50,270.00) startOffset 356 endOffset 357 width 5.00: "t"
+            chunk 1 text run 358 at (326.50,270.00) startOffset 357 endOffset 358 width 5.00: " "
+            chunk 1 text run 359 at (333.50,270.00) startOffset 358 endOffset 359 width 9.00: "a"
+            chunk 1 text run 360 at (340.50,270.00) startOffset 359 endOffset 360 width 5.00: " "
+            chunk 1 text run 361 at (346.00,270.00) startOffset 360 endOffset 361 width 6.00: "l"
+            chunk 1 text run 362 at (352.00,270.00) startOffset 361 endOffset 362 width 6.00: "i"
+            chunk 1 text run 363 at (362.00,270.00) startOffset 362 endOffset 363 width 14.00: "m"
+            chunk 1 text run 364 at (372.00,270.00) startOffset 363 endOffset 364 width 6.00: "i"
+            chunk 1 text run 365 at (377.50,270.00) startOffset 364 endOffset 365 width 5.00: "t"
+            chunk 1 text run 366 at (382.50,270.00) startOffset 365 endOffset 366 width 5.00: " "
+            chunk 1 text run 367 at (392.50,270.00) startOffset 366 endOffset 367 width 15.00: "w"
+            chunk 1 text run 368 at (404.50,270.00) startOffset 367 endOffset 368 width 9.00: "h"
+            chunk 1 text run 369 at (413.50,270.00) startOffset 368 endOffset 369 width 9.00: "e"
+            chunk 1 text run 370 at (421.50,270.00) startOffset 369 endOffset 370 width 7.00: "r"
+            chunk 1 text run 371 at (29.50,290.00) startOffset 370 endOffset 371 width 9.00: "e"
+            chunk 1 text run 372 at (36.50,290.00) startOffset 371 endOffset 372 width 5.00: " "
+            chunk 1 text run 373 at (42.00,290.00) startOffset 372 endOffset 373 width 6.00: "i"
+            chunk 1 text run 374 at (47.50,290.00) startOffset 373 endOffset 374 width 5.00: "t"
+            chunk 1 text run 375 at (52.50,290.00) startOffset 374 endOffset 375 width 5.00: " "
+            chunk 1 text run 376 at (58.50,290.00) startOffset 375 endOffset 376 width 7.00: "r"
+            chunk 1 text run 377 at (66.50,290.00) startOffset 376 endOffset 377 width 9.00: "e"
+            chunk 1 text run 378 at (75.50,290.00) startOffset 377 endOffset 378 width 9.00: "a"
+            chunk 1 text run 379 at (83.00,290.00) startOffset 378 endOffset 379 width 6.00: "l"
+            chunk 1 text run 380 at (89.00,290.00) startOffset 379 endOffset 380 width 6.00: "l"
+            chunk 1 text run 381 at (96.50,290.00) startOffset 380 endOffset 381 width 9.00: "y"
+            chunk 1 text run 382 at (103.50,290.00) startOffset 381 endOffset 382 width 5.00: " "
+            chunk 1 text run 383 at (110.00,290.00) startOffset 382 endOffset 383 width 8.00: "s"
+            chunk 1 text run 384 at (116.50,290.00) startOffset 383 endOffset 384 width 5.00: "t"
+            chunk 1 text run 385 at (123.50,290.00) startOffset 384 endOffset 385 width 9.00: "a"
+            chunk 1 text run 386 at (131.50,290.00) startOffset 385 endOffset 386 width 7.00: "r"
+            chunk 1 text run 387 at (137.50,290.00) startOffset 386 endOffset 387 width 5.00: "t"
+            chunk 1 text run 388 at (144.00,290.00) startOffset 387 endOffset 388 width 8.00: "s"
+            chunk 1 text run 389 at (150.50,290.00) startOffset 388 endOffset 389 width 5.00: " "
+            chunk 1 text run 390 at (155.50,290.00) startOffset 389 endOffset 390 width 5.00: "t"
+            chunk 1 text run 391 at (163.00,290.00) startOffset 390 endOffset 391 width 10.00: "o"
+            chunk 1 text run 392 at (170.50,290.00) startOffset 391 endOffset 392 width 5.00: " "
+            chunk 1 text run 393 at (177.00,290.00) startOffset 392 endOffset 393 width 8.00: "s"
+            chunk 1 text run 394 at (184.00,290.00) startOffset 393 endOffset 394 width 6.00: "l"
+            chunk 1 text run 395 at (192.00,290.00) startOffset 394 endOffset 395 width 10.00: "o"
+            chunk 1 text run 396 at (204.50,290.00) startOffset 395 endOffset 396 width 15.00: "w"
+            chunk 1 text run 397 at (214.50,290.00) startOffset 396 endOffset 397 width 5.00: " "
+            chunk 1 text run 398 at (219.50,290.00) startOffset 397 endOffset 398 width 5.00: "t"
+            chunk 1 text run 399 at (226.50,290.00) startOffset 398 endOffset 399 width 9.00: "h"
+            chunk 1 text run 400 at (234.00,290.00) startOffset 399 endOffset 400 width 6.00: "i"
+            chunk 1 text run 401 at (241.50,290.00) startOffset 400 endOffset 401 width 9.00: "n"
+            chunk 1 text run 402 at (250.50,290.00) startOffset 401 endOffset 402 width 9.00: "g"
+            chunk 1 text run 403 at (259.00,290.00) startOffset 402 endOffset 403 width 8.00: "s"
+            chunk 1 text run 404 at (265.50,290.00) startOffset 403 endOffset 404 width 5.00: " "
+            chunk 1 text run 405 at (273.00,290.00) startOffset 404 endOffset 405 width 10.00: "d"
+            chunk 1 text run 406 at (283.00,290.00) startOffset 405 endOffset 406 width 10.00: "o"
+            chunk 1 text run 407 at (295.50,290.00) startOffset 406 endOffset 407 width 15.00: "w"
+            chunk 1 text run 408 at (307.50,290.00) startOffset 407 endOffset 408 width 9.00: "n"
+            chunk 1 text run 409 at (314.50,290.00) startOffset 408 endOffset 409 width 5.00: "."
+            chunk 1 text run 410 at (319.50,290.00) startOffset 409 endOffset 410 width 5.00: " "
+            chunk 1 text run 1 at (329.00,290.00) startOffset 0 endOffset 1 width 14.00: "H"
+            chunk 1 text run 2 at (341.00,290.00) startOffset 1 endOffset 2 width 10.00: "o"
+            chunk 1 text run 3 at (353.50,290.00) startOffset 2 endOffset 3 width 15.00: "w"
+            chunk 1 text run 4 at (365.50,290.00) startOffset 3 endOffset 4 width 9.00: "e"
+            chunk 1 text run 5 at (375.00,290.00) startOffset 4 endOffset 5 width 10.00: "v"
+            chunk 1 text run 6 at (384.50,290.00) startOffset 5 endOffset 6 width 9.00: "e"
+            chunk 1 text run 7 at (392.50,290.00) startOffset 6 endOffset 7 width 7.00: "r"
+            chunk 1 text run 8 at (398.50,290.00) startOffset 7 endOffset 8 width 5.00: " "
+            chunk 1 text run 9 at (404.00,290.00) startOffset 8 endOffset 9 width 6.00: "i"
+            chunk 1 text run 10 at (410.00,290.00) startOffset 9 endOffset 10 width 6.00: "f"
+            chunk 1 text run 11 at (415.50,290.00) startOffset 10 endOffset 11 width 5.00: " "
+            chunk 1 text run 12 at (421.00,290.00) startOffset 11 endOffset 12 width 6.00: "i"
+            chunk 1 text run 13 at (26.50,310.00) startOffset 12 endOffset 13 width 5.00: "t"
+            chunk 1 text run 14 at (31.50,310.00) startOffset 13 endOffset 14 width 5.00: " "
+            chunk 1 text run 15 at (38.50,310.00) startOffset 14 endOffset 15 width 9.00: "h"
+            chunk 1 text run 16 at (47.50,310.00) startOffset 15 endOffset 16 width 9.00: "a"
+            chunk 1 text run 17 at (56.00,310.00) startOffset 16 endOffset 17 width 8.00: "s"
+            chunk 1 text run 18 at (64.50,310.00) startOffset 17 endOffset 18 width 9.00: "n"
+            chunk 1 text run 19 at (71.00,310.00) startOffset 18 endOffset 19 width 4.00: "'"
+            chunk 1 text run 20 at (75.50,310.00) startOffset 19 endOffset 20 width 5.00: "t"
+            chunk 1 text run 21 at (80.50,310.00) startOffset 20 endOffset 21 width 5.00: " "
+            chunk 1 text run 22 at (87.00,310.00) startOffset 21 endOffset 22 width 8.00: "s"
+            chunk 1 text run 23 at (94.00,310.00) startOffset 22 endOffset 23 width 6.00: "l"
+            chunk 1 text run 24 at (102.00,310.00) startOffset 23 endOffset 24 width 10.00: "o"
+            chunk 1 text run 25 at (114.50,310.00) startOffset 24 endOffset 25 width 15.00: "w"
+            chunk 1 text run 26 at (126.50,310.00) startOffset 25 endOffset 26 width 9.00: "e"
+            chunk 1 text run 27 at (136.00,310.00) startOffset 26 endOffset 27 width 10.00: "d"
+            chunk 1 text run 28 at (143.50,310.00) startOffset 27 endOffset 28 width 5.00: " "
+            chunk 1 text run 29 at (151.00,310.00) startOffset 28 endOffset 29 width 10.00: "d"
+            chunk 1 text run 30 at (161.00,310.00) startOffset 29 endOffset 30 width 10.00: "o"
+            chunk 1 text run 31 at (173.50,310.00) startOffset 30 endOffset 31 width 15.00: "w"
+            chunk 1 text run 32 at (185.50,310.00) startOffset 31 endOffset 32 width 9.00: "n"
+            chunk 1 text run 33 at (192.50,310.00) startOffset 32 endOffset 33 width 5.00: " "
+            chunk 1 text run 34 at (200.00,310.00) startOffset 33 endOffset 34 width 10.00: "b"
+            chunk 1 text run 35 at (209.50,310.00) startOffset 34 endOffset 35 width 9.00: "y"
+            chunk 1 text run 36 at (216.50,310.00) startOffset 35 endOffset 36 width 5.00: " "
+            chunk 1 text run 37 at (223.50,310.00) startOffset 36 endOffset 37 width 9.00: "n"
+            chunk 1 text run 38 at (233.00,310.00) startOffset 37 endOffset 38 width 10.00: "o"
+            chunk 1 text run 39 at (245.50,310.00) startOffset 38 endOffset 39 width 15.00: "w"
+            chunk 1 text run 40 at (255.50,310.00) startOffset 39 endOffset 40 width 5.00: " "
+            chunk 1 text run 41 at (261.00,310.00) startOffset 40 endOffset 41 width 6.00: "I"
+            chunk 1 text run 42 at (266.00,310.00) startOffset 41 endOffset 42 width 4.00: "'"
+            chunk 1 text run 43 at (275.00,310.00) startOffset 42 endOffset 43 width 14.00: "m"
+            chunk 1 text run 44 at (284.50,310.00) startOffset 43 endOffset 44 width 5.00: " "
+            chunk 1 text run 45 at (291.50,310.00) startOffset 44 endOffset 45 width 9.00: "g"
+            chunk 1 text run 46 at (300.50,310.00) startOffset 45 endOffset 46 width 9.00: "u"
+            chunk 1 text run 47 at (309.50,310.00) startOffset 46 endOffset 47 width 9.00: "e"
+            chunk 1 text run 48 at (318.00,310.00) startOffset 47 endOffset 48 width 8.00: "s"
+            chunk 1 text run 49 at (326.00,310.00) startOffset 48 endOffset 49 width 8.00: "s"
+            chunk 1 text run 50 at (333.00,310.00) startOffset 49 endOffset 50 width 6.00: "i"
+            chunk 1 text run 51 at (340.50,310.00) startOffset 50 endOffset 51 width 9.00: "n"
+            chunk 1 text run 52 at (349.50,310.00) startOffset 51 endOffset 52 width 9.00: "g"
+            chunk 1 text run 53 at (356.50,310.00) startOffset 52 endOffset 53 width 5.00: " "
+            chunk 1 text run 54 at (361.50,310.00) startOffset 53 endOffset 54 width 5.00: "t"
+            chunk 1 text run 55 at (368.50,310.00) startOffset 54 endOffset 55 width 9.00: "h"
+            chunk 1 text run 56 at (377.50,310.00) startOffset 55 endOffset 56 width 9.00: "a"
+            chunk 1 text run 57 at (384.50,310.00) startOffset 56 endOffset 57 width 5.00: "t"
+            chunk 1 text run 58 at (389.50,310.00) startOffset 57 endOffset 58 width 5.00: " "
+            chunk 1 text run 59 at (395.00,310.00) startOffset 58 endOffset 59 width 6.00: "i"
+            chunk 1 text run 60 at (400.50,310.00) startOffset 59 endOffset 60 width 5.00: "t"
+            chunk 1 text run 61 at (405.50,310.00) startOffset 60 endOffset 61 width 5.00: " "
+            chunk 1 text run 62 at (415.50,310.00) startOffset 61 endOffset 62 width 15.00: "w"
+            chunk 1 text run 63 at (28.00,330.00) startOffset 62 endOffset 63 width 10.00: "o"
+            chunk 1 text run 64 at (37.50,330.00) startOffset 63 endOffset 64 width 9.00: "n"
+            chunk 1 text run 65 at (44.00,330.00) startOffset 64 endOffset 65 width 4.00: "'"
+            chunk 1 text run 66 at (48.50,330.00) startOffset 65 endOffset 66 width 5.00: "t"
+            chunk 1 text run 67 at (53.50,330.00) startOffset 66 endOffset 67 width 5.00: " "
+            chunk 1 text run 68 at (60.00,330.00) startOffset 67 endOffset 68 width 8.00: "s"
+            chunk 1 text run 69 at (67.00,330.00) startOffset 68 endOffset 69 width 6.00: "l"
+            chunk 1 text run 70 at (75.00,330.00) startOffset 69 endOffset 70 width 10.00: "o"
+            chunk 1 text run 71 at (87.50,330.00) startOffset 70 endOffset 71 width 15.00: "w"
+            chunk 1 text run 72 at (97.50,330.00) startOffset 71 endOffset 72 width 5.00: " "
+            chunk 1 text run 73 at (105.00,330.00) startOffset 72 endOffset 73 width 10.00: "d"
+            chunk 1 text run 74 at (115.00,330.00) startOffset 73 endOffset 74 width 10.00: "o"
+            chunk 1 text run 75 at (127.50,330.00) startOffset 74 endOffset 75 width 15.00: "w"
+            chunk 1 text run 76 at (139.50,330.00) startOffset 75 endOffset 76 width 9.00: "n"
+            chunk 1 text run 77 at (146.50,330.00) startOffset 76 endOffset 77 width 5.00: " "
+            chunk 1 text run 78 at (153.50,330.00) startOffset 77 endOffset 78 width 9.00: "a"
+            chunk 1 text run 79 at (160.50,330.00) startOffset 78 endOffset 79 width 5.00: "t"
+            chunk 1 text run 80 at (165.50,330.00) startOffset 79 endOffset 80 width 5.00: " "
+            chunk 1 text run 81 at (172.50,330.00) startOffset 80 endOffset 81 width 9.00: "a"
+            chunk 1 text run 82 at (180.00,330.00) startOffset 81 endOffset 82 width 6.00: "l"
+            chunk 1 text run 83 at (186.00,330.00) startOffset 82 endOffset 83 width 6.00: "l"
+            chunk 1 text run 84 at (191.50,330.00) startOffset 83 endOffset 84 width 5.00: "."
+            chunk 1 text run 85 at (196.50,330.00) startOffset 84 endOffset 85 width 5.00: " "
+            chunk 1 text run 1 at (205.50,330.00) startOffset 0 endOffset 1 width 13.00: "B"
+            chunk 1 text run 2 at (216.50,330.00) startOffset 1 endOffset 2 width 9.00: "u"
+            chunk 1 text run 3 at (223.50,330.00) startOffset 2 endOffset 3 width 5.00: "t"
+            chunk 1 text run 4 at (228.50,330.00) startOffset 3 endOffset 4 width 5.00: " "
+            chunk 1 text run 5 at (235.50,330.00) startOffset 4 endOffset 5 width 9.00: "y"
+            chunk 1 text run 6 at (245.00,330.00) startOffset 5 endOffset 6 width 10.00: "o"
+            chunk 1 text run 7 at (254.50,330.00) startOffset 6 endOffset 7 width 9.00: "u"
+            chunk 1 text run 8 at (261.50,330.00) startOffset 7 endOffset 8 width 5.00: " "
+            chunk 1 text run 9 at (268.50,330.00) startOffset 8 endOffset 9 width 9.00: "n"
+            chunk 1 text run 10 at (277.50,330.00) startOffset 9 endOffset 10 width 9.00: "e"
+            chunk 1 text run 11 at (287.00,330.00) startOffset 10 endOffset 11 width 10.00: "v"
+            chunk 1 text run 12 at (296.50,330.00) startOffset 11 endOffset 12 width 9.00: "e"
+            chunk 1 text run 13 at (304.50,330.00) startOffset 12 endOffset 13 width 7.00: "r"
+            chunk 1 text run 14 at (310.50,330.00) startOffset 13 endOffset 14 width 5.00: " "
+            chunk 1 text run 15 at (317.50,330.00) startOffset 14 endOffset 15 width 9.00: "k"
+            chunk 1 text run 16 at (326.50,330.00) startOffset 15 endOffset 16 width 9.00: "n"
+            chunk 1 text run 17 at (336.00,330.00) startOffset 16 endOffset 17 width 10.00: "o"
+            chunk 1 text run 18 at (348.50,330.00) startOffset 17 endOffset 18 width 15.00: "w"
+            chunk 1 text run 19 at (358.50,330.00) startOffset 18 endOffset 19 width 5.00: " "
+            chunk 1 text run 20 at (364.00,330.00) startOffset 19 endOffset 20 width 6.00: "f"
+            chunk 1 text run 21 at (372.00,330.00) startOffset 20 endOffset 21 width 10.00: "o"
+            chunk 1 text run 22 at (380.50,330.00) startOffset 21 endOffset 22 width 7.00: "r"
+            chunk 1 text run 23 at (386.50,330.00) startOffset 22 endOffset 23 width 5.00: " "
+            chunk 1 text run 24 at (393.00,330.00) startOffset 23 endOffset 24 width 8.00: "s"
+            chunk 1 text run 25 at (401.50,330.00) startOffset 24 endOffset 25 width 9.00: "u"
+            chunk 1 text run 26 at (409.50,330.00) startOffset 25 endOffset 26 width 7.00: "r"
+            chunk 1 text run 27 at (417.50,330.00) startOffset 26 endOffset 27 width 9.00: "e"
+            chunk 1 text run 28 at (424.50,330.00) startOffset 27 endOffset 28 width 5.00: " "
+            chunk 1 text run 29 at (31.50,350.00) startOffset 28 endOffset 29 width 9.00: "u"
+            chunk 1 text run 30 at (40.50,350.00) startOffset 29 endOffset 30 width 9.00: "n"
+            chunk 1 text run 31 at (47.50,350.00) startOffset 30 endOffset 31 width 5.00: "t"
+            chunk 1 text run 32 at (53.00,350.00) startOffset 31 endOffset 32 width 6.00: "i"
+            chunk 1 text run 33 at (59.00,350.00) startOffset 32 endOffset 33 width 6.00: "l"
+            chunk 1 text run 34 at (64.50,350.00) startOffset 33 endOffset 34 width 5.00: " "
+            chunk 1 text run 35 at (71.50,350.00) startOffset 34 endOffset 35 width 9.00: "y"
+            chunk 1 text run 36 at (81.00,350.00) startOffset 35 endOffset 36 width 10.00: "o"
+            chunk 1 text run 37 at (90.50,350.00) startOffset 36 endOffset 37 width 9.00: "u"
+            chunk 1 text run 38 at (97.50,350.00) startOffset 37 endOffset 38 width 5.00: " "
+            chunk 1 text run 39 at (102.50,350.00) startOffset 38 endOffset 39 width 5.00: "t"
+            chunk 1 text run 40 at (108.50,350.00) startOffset 39 endOffset 40 width 7.00: "r"
+            chunk 1 text run 41 at (116.50,350.00) startOffset 40 endOffset 41 width 9.00: "y"
+            chunk 1 text run 42 at (123.50,350.00) startOffset 41 endOffset 42 width 5.00: " "
+            chunk 1 text run 43 at (129.00,350.00) startOffset 42 endOffset 43 width 6.00: "i"
+            chunk 1 text run 44 at (134.50,350.00) startOffset 43 endOffset 44 width 5.00: "t"
+            chunk 1 text run 45 at (139.50,350.00) startOffset 44 endOffset 45 width 5.00: ","
+            chunk 1 text run 46 at (144.50,350.00) startOffset 45 endOffset 46 width 5.00: " "
+            chunk 1 text run 47 at (151.00,350.00) startOffset 46 endOffset 47 width 8.00: "s"
+            chunk 1 text run 48 at (160.00,350.00) startOffset 47 endOffset 48 width 10.00: "o"
+            chunk 1 text run 49 at (167.50,350.00) startOffset 48 endOffset 49 width 5.00: " "
+            chunk 1 text run 50 at (173.00,350.00) startOffset 49 endOffset 50 width 6.00: "I"
+            chunk 1 text run 51 at (178.50,350.00) startOffset 50 endOffset 51 width 5.00: " "
+            chunk 1 text run 52 at (185.50,350.00) startOffset 51 endOffset 52 width 9.00: "a"
+            chunk 1 text run 53 at (197.00,350.00) startOffset 52 endOffset 53 width 14.00: "m"
+            chunk 1 text run 54 at (206.50,350.00) startOffset 53 endOffset 54 width 5.00: ","
+            chunk 1 text run 55 at (211.50,350.00) startOffset 54 endOffset 55 width 5.00: " "
+            chunk 1 text run 56 at (218.50,350.00) startOffset 55 endOffset 56 width 9.00: "a"
+            chunk 1 text run 57 at (227.50,350.00) startOffset 56 endOffset 57 width 9.00: "n"
+            chunk 1 text run 58 at (237.00,350.00) startOffset 57 endOffset 58 width 10.00: "d"
+            chunk 1 text run 59 at (244.50,350.00) startOffset 58 endOffset 59 width 5.00: " "
+            chunk 1 text run 60 at (251.50,350.00) startOffset 59 endOffset 60 width 9.00: "h"
+            chunk 1 text run 61 at (260.50,350.00) startOffset 60 endOffset 61 width 9.00: "e"
+            chunk 1 text run 62 at (268.50,350.00) startOffset 61 endOffset 62 width 7.00: "r"
+            chunk 1 text run 63 at (276.50,350.00) startOffset 62 endOffset 63 width 9.00: "e"
+            chunk 1 text run 64 at (283.50,350.00) startOffset 63 endOffset 64 width 5.00: " "
+            chunk 1 text run 65 at (289.00,350.00) startOffset 64 endOffset 65 width 6.00: "i"
+            chunk 1 text run 66 at (296.00,350.00) startOffset 65 endOffset 66 width 8.00: "s"
+            chunk 1 text run 67 at (302.50,350.00) startOffset 66 endOffset 67 width 5.00: " "
+            chunk 1 text run 68 at (307.50,350.00) startOffset 67 endOffset 68 width 5.00: "t"
+            chunk 1 text run 69 at (314.50,350.00) startOffset 68 endOffset 69 width 9.00: "h"
+            chunk 1 text run 70 at (323.50,350.00) startOffset 69 endOffset 70 width 9.00: "e"
+            chunk 1 text run 71 at (330.50,350.00) startOffset 70 endOffset 71 width 5.00: " "
+            chunk 1 text run 72 at (336.50,350.00) startOffset 71 endOffset 72 width 7.00: "r"
+            chunk 1 text run 73 at (344.50,350.00) startOffset 72 endOffset 73 width 9.00: "e"
+            chunk 1 text run 74 at (353.00,350.00) startOffset 73 endOffset 74 width 8.00: "s"
+            chunk 1 text run 75 at (361.50,350.00) startOffset 74 endOffset 75 width 9.00: "u"
+            chunk 1 text run 76 at (369.00,350.00) startOffset 75 endOffset 76 width 6.00: "l"
+            chunk 1 text run 77 at (374.50,350.00) startOffset 76 endOffset 77 width 5.00: "t"
+            chunk 1 text run 78 at (379.50,350.00) startOffset 77 endOffset 78 width 5.00: "."
+            chunk 1 text run 79 at (384.50,350.00) startOffset 78 endOffset 79 width 5.00: " "
+            chunk 1 text run 1 at (392.50,350.00) startOffset 0 endOffset 1 width 11.00: "S"
+            chunk 1 text run 2 at (402.50,350.00) startOffset 1 endOffset 2 width 9.00: "e"
+            chunk 1 text run 3 at (410.00,350.00) startOffset 2 endOffset 3 width 6.00: "l"
+            chunk 1 text run 4 at (417.50,350.00) startOffset 3 endOffset 4 width 9.00: "e"
+            chunk 1 text run 5 at (26.50,370.00) startOffset 4 endOffset 5 width 9.00: "c"
+            chunk 1 text run 6 at (33.50,370.00) startOffset 5 endOffset 6 width 5.00: "t"
+            chunk 1 text run 7 at (39.00,370.00) startOffset 6 endOffset 7 width 6.00: "i"
+            chunk 1 text run 8 at (47.00,370.00) startOffset 7 endOffset 8 width 10.00: "o"
+            chunk 1 text run 9 at (56.50,370.00) startOffset 8 endOffset 9 width 9.00: "n"
+            chunk 1 text run 10 at (63.50,370.00) startOffset 9 endOffset 10 width 5.00: " "
+            chunk 1 text run 11 at (71.00,370.00) startOffset 10 endOffset 11 width 10.00: "d"
+            chunk 1 text run 12 at (81.00,370.00) startOffset 11 endOffset 12 width 10.00: "o"
+            chunk 1 text run 13 at (90.50,370.00) startOffset 12 endOffset 13 width 9.00: "e"
+            chunk 1 text run 14 at (99.00,370.00) startOffset 13 endOffset 14 width 8.00: "s"
+            chunk 1 text run 15 at (105.50,370.00) startOffset 14 endOffset 15 width 5.00: " "
+            chunk 1 text run 16 at (113.00,370.00) startOffset 15 endOffset 16 width 10.00: "b"
+            chunk 1 text run 17 at (123.00,370.00) startOffset 16 endOffset 17 width 10.00: "o"
+            chunk 1 text run 18 at (132.50,370.00) startOffset 17 endOffset 18 width 9.00: "g"
+            chunk 1 text run 19 at (139.50,370.00) startOffset 18 endOffset 19 width 5.00: " "
+            chunk 1 text run 20 at (147.00,370.00) startOffset 19 endOffset 20 width 10.00: "d"
+            chunk 1 text run 21 at (157.00,370.00) startOffset 20 endOffset 21 width 10.00: "o"
+            chunk 1 text run 22 at (169.50,370.00) startOffset 21 endOffset 22 width 15.00: "w"
+            chunk 1 text run 23 at (181.50,370.00) startOffset 22 endOffset 23 width 9.00: "n"
+            chunk 1 text run 24 at (188.50,370.00) startOffset 23 endOffset 24 width 5.00: " "
+            chunk 1 text run 25 at (195.50,370.00) startOffset 24 endOffset 25 width 9.00: "a"
+            chunk 1 text run 26 at (202.50,370.00) startOffset 25 endOffset 26 width 5.00: " "
+            chunk 1 text run 27 at (208.00,370.00) startOffset 26 endOffset 27 width 6.00: "l"
+            chunk 1 text run 28 at (214.00,370.00) startOffset 27 endOffset 28 width 6.00: "i"
+            chunk 1 text run 29 at (219.50,370.00) startOffset 28 endOffset 29 width 5.00: "t"
+            chunk 1 text run 30 at (224.50,370.00) startOffset 29 endOffset 30 width 5.00: "t"
+            chunk 1 text run 31 at (230.00,370.00) startOffset 30 endOffset 31 width 6.00: "l"
+            chunk 1 text run 32 at (237.50,370.00) startOffset 31 endOffset 32 width 9.00: "e"
+            chunk 1 text run 33 at (244.50,370.00) startOffset 32 endOffset 33 width 5.00: " "
+            chunk 1 text run 34 at (251.50,370.00) startOffset 33 endOffset 34 width 9.00: "n"
+            chunk 1 text run 35 at (260.50,370.00) startOffset 34 endOffset 35 width 9.00: "e"
+            chunk 1 text run 36 at (269.50,370.00) startOffset 35 endOffset 36 width 9.00: "a"
+            chunk 1 text run 37 at (277.50,370.00) startOffset 36 endOffset 37 width 7.00: "r"
+            chunk 1 text run 38 at (283.50,370.00) startOffset 37 endOffset 38 width 5.00: " "
+            chunk 1 text run 39 at (288.50,370.00) startOffset 38 endOffset 39 width 5.00: "t"
+            chunk 1 text run 40 at (295.50,370.00) startOffset 39 endOffset 40 width 9.00: "h"
+            chunk 1 text run 41 at (304.50,370.00) startOffset 40 endOffset 41 width 9.00: "e"
+            chunk 1 text run 42 at (311.50,370.00) startOffset 41 endOffset 42 width 5.00: " "
+            chunk 1 text run 43 at (318.50,370.00) startOffset 42 endOffset 43 width 9.00: "e"
+            chunk 1 text run 44 at (327.50,370.00) startOffset 43 endOffset 44 width 9.00: "n"
+            chunk 1 text run 45 at (337.00,370.00) startOffset 44 endOffset 45 width 10.00: "d"
+            chunk 1 text run 46 at (344.50,370.00) startOffset 45 endOffset 46 width 5.00: " "
+            chunk 1 text run 47 at (352.00,370.00) startOffset 46 endOffset 47 width 10.00: "b"
+            chunk 1 text run 48 at (361.50,370.00) startOffset 47 endOffset 48 width 9.00: "u"
+            chunk 1 text run 49 at (368.50,370.00) startOffset 48 endOffset 49 width 5.00: "t"
+            chunk 1 text run 50 at (373.50,370.00) startOffset 49 endOffset 50 width 5.00: " "
+            chunk 1 text run 51 at (379.00,370.00) startOffset 50 endOffset 51 width 6.00: "i"
+            chunk 1 text run 52 at (384.50,370.00) startOffset 51 endOffset 52 width 5.00: "t"
+            chunk 1 text run 53 at (389.00,370.00) startOffset 52 endOffset 53 width 4.00: "'"
+            chunk 1 text run 54 at (395.00,370.00) startOffset 53 endOffset 54 width 8.00: "s"
+            chunk 1 text run 55 at (401.50,370.00) startOffset 54 endOffset 55 width 5.00: " "
+            chunk 1 text run 56 at (407.50,370.00) startOffset 55 endOffset 56 width 7.00: "r"
+            chunk 1 text run 57 at (415.50,370.00) startOffset 56 endOffset 57 width 9.00: "e"
+            chunk 1 text run 58 at (425.00,370.00) startOffset 57 endOffset 58 width 10.00: "d"
+            chunk 1 text run 59 at (33.50,390.00) startOffset 58 endOffset 59 width 7.00: "r"
+            chunk 1 text run 60 at (41.50,390.00) startOffset 59 endOffset 60 width 9.00: "a"
+            chunk 1 text run 61 at (53.50,390.00) startOffset 60 endOffset 61 width 15.00: "w"
+            chunk 1 text run 62 at (63.50,390.00) startOffset 61 endOffset 62 width 5.00: " "
+            chunk 1 text run 63 at (69.50,390.00) startOffset 62 endOffset 63 width 7.00: "r"
+            chunk 1 text run 64 at (77.50,390.00) startOffset 63 endOffset 64 width 9.00: "e"
+            chunk 1 text run 65 at (85.00,390.00) startOffset 64 endOffset 65 width 6.00: "l"
+            chunk 1 text run 66 at (92.50,390.00) startOffset 65 endOffset 66 width 9.00: "a"
+            chunk 1 text run 67 at (99.50,390.00) startOffset 66 endOffset 67 width 5.00: "t"
+            chunk 1 text run 68 at (106.50,390.00) startOffset 67 endOffset 68 width 9.00: "e"
+            chunk 1 text run 69 at (116.00,390.00) startOffset 68 endOffset 69 width 10.00: "d"
+            chunk 1 text run 70 at (123.50,390.00) startOffset 69 endOffset 70 width 5.00: "."
         LayoutSVGInlineText {#text} at (0,0) size 0x0
     LayoutSVGContainer {use} at (1,1) size 446x496
       LayoutSVGContainer {g} at (1,1) size 446x496
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/smallFonts-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/smallFonts-expected.txt
index 2c1340c..966e752 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/smallFonts-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/smallFonts-expected.txt
@@ -26,34 +26,34 @@
           LayoutSVGInlineText {#text} at (5.45,1.73) size 0.08x0.33
             chunk 1 text run 1 at (5.46,2.00) startOffset 0 endOffset 1 width 0.08: " "
           LayoutSVGTSpan {tspan} at (0.89,1.45) size 6.22x0.67
-            LayoutSVGInlineText {#text} at (5.53,1.73) size 0.63x0.33
-              chunk 1 text run 1 at (5.54,2.00) startOffset 0 endOffset 6 width 0.63: "color,"
+            LayoutSVGInlineText {#text} at (5.53,1.73) size 0.61x0.33
+              chunk 1 text run 1 at (5.54,2.00) startOffset 0 endOffset 6 width 0.62: "color,"
           LayoutSVGInlineText {#text} at (6.16,1.73) size 0.39x0.33
-            chunk 1 text run 1 at (6.17,2.00) startOffset 0 endOffset 1 width 0.08: " "
-            chunk 1 text run 1 at (6.25,2.00) startOffset 0 endOffset 3 width 0.32: "or "
+            chunk 1 text run 1 at (6.16,2.00) startOffset 0 endOffset 1 width 0.08: " "
+            chunk 1 text run 1 at (6.24,2.00) startOffset 0 endOffset 3 width 0.32: "or "
           LayoutSVGTSpan {tspan} at (0.89,1.45) size 6.22x0.67
-            LayoutSVGInlineText {#text} at (6.56,1.73) size 0.55x0.33
-              chunk 1 text run 1 at (6.57,2.00) startOffset 0 endOffset 5 width 0.56: "style"
+            LayoutSVGInlineText {#text} at (6.55,1.73) size 0.55x0.33
+              chunk 1 text run 1 at (6.56,2.00) startOffset 0 endOffset 5 width 0.56: "style"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGText {text} at (0.89,2.13) size 3.25x0.33 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0.89,2.13) size 3.25x0.33
             chunk 1 text run 1 at (0.90,2.40) startOffset 0 endOffset 29 width 3.26: "within a single text element."
-        LayoutSVGText {text} at (0.89,2.91) size 6.50x0.36 contains 1 chunk(s)
+        LayoutSVGText {text} at (0.89,2.91) size 6.48x0.36 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0.89,2.94) size 2.80x0.33
             chunk 1 text run 1 at (0.90,3.20) startOffset 0 endOffset 25 width 2.80: "Styling features include "
-          LayoutSVGTSpan {tspan} at (0.89,2.91) size 6.50x0.36
+          LayoutSVGTSpan {tspan} at (0.89,2.91) size 6.48x0.36
             LayoutSVGInlineText {#text} at (3.69,2.91) size 0.94x0.33
               chunk 1 text run 1 at (3.70,3.20) startOffset 0 endOffset 7 width 0.94: "weight,"
           LayoutSVGInlineText {#text} at (4.63,2.94) size 0.08x0.33
             chunk 1 text run 1 at (4.64,3.20) startOffset 0 endOffset 1 width 0.08: " "
-          LayoutSVGTSpan {tspan} at (0.89,2.91) size 6.50x0.36
-            LayoutSVGInlineText {#text} at (4.67,2.94) size 1.05x0.33
-              chunk 1 text run 1 at (4.72,3.20) startOffset 0 endOffset 8 width 1.01: "posture,"
+          LayoutSVGTSpan {tspan} at (0.89,2.91) size 6.48x0.36
+            LayoutSVGInlineText {#text} at (4.67,2.94) size 1.03x0.33
+              chunk 1 text run 1 at (4.72,3.20) startOffset 0 endOffset 8 width 1.00: "posture,"
           LayoutSVGInlineText {#text} at (5.72,2.94) size 0.58x0.33
-            chunk 1 text run 1 at (5.73,3.20) startOffset 0 endOffset 5 width 0.58: " and "
-          LayoutSVGTSpan {tspan} at (0.89,2.91) size 6.50x0.36
+            chunk 1 text run 1 at (5.72,3.20) startOffset 0 endOffset 5 width 0.58: " and "
+          LayoutSVGTSpan {tspan} at (0.89,2.91) size 6.48x0.36
             LayoutSVGInlineText {#text} at (6.30,2.94) size 1.09x0.33
-              chunk 1 text run 1 at (6.31,3.20) startOffset 0 endOffset 9 width 1.10: "typeface."
+              chunk 1 text run 1 at (6.30,3.20) startOffset 0 endOffset 9 width 1.10: "typeface."
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGRect {rect} at (0.90,3.50) size 4.05x1 [fill={[type=SOLID] [color=#1E90FF]}] [x=0.90] [y=3.50] [width=4.05] [height=1.00]
         LayoutSVGText {text} at (0.89,3.73) size 5.91x0.33 contains 1 chunk(s)
@@ -94,22 +94,22 @@
             chunk 1 text run 1 at (4.00,5.40) startOffset 0 endOffset 23 width 2.48: " scripts are available."
         LayoutSVGText {text} at (0.89,5.94) size 6.44x0.33 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0.89,5.94) size 0.95x0.33
-            chunk 1 text run 1 at (0.90,6.20) startOffset 0 endOffset 8 width 0.97: "Various "
+            chunk 1 text run 1 at (0.90,6.20) startOffset 0 endOffset 8 width 0.96: "Various "
           LayoutSVGTSpan {tspan} at (0.89,5.94) size 6.44x0.33
             LayoutSVGInlineText {#text} at (1.86,5.94) size 0.83x0.33
-              chunk 1 text run 1 at (1.87,6.20) startOffset 0 endOffset 8 width 0.84: "outline "
-          LayoutSVGInlineText {#text} at (2.70,5.94) size 0.80x0.33
-            chunk 1 text run 1 at (2.71,6.20) startOffset 0 endOffset 8 width 0.80: "styles, "
+              chunk 1 text run 1 at (1.86,6.20) startOffset 0 endOffset 8 width 0.84: "outline "
+          LayoutSVGInlineText {#text} at (2.69,5.94) size 0.80x0.33
+            chunk 1 text run 1 at (2.70,6.20) startOffset 0 endOffset 8 width 0.80: "styles, "
           LayoutSVGTSpan {tspan} at (0.89,5.94) size 6.44x0.33
-            LayoutSVGInlineText {#text} at (3.50,5.94) size 1.13x0.33
-              chunk 1 text run 1 at (3.51,6.20) startOffset 0 endOffset 12 width 1.14: "fill colors "
-          LayoutSVGInlineText {#text} at (4.64,5.94) size 0.50x0.33
-            chunk 1 text run 1 at (4.65,6.20) startOffset 0 endOffset 4 width 0.50: "and "
+            LayoutSVGInlineText {#text} at (3.48,5.94) size 1.13x0.33
+              chunk 1 text run 1 at (3.50,6.20) startOffset 0 endOffset 12 width 1.14: "fill colors "
+          LayoutSVGInlineText {#text} at (4.63,5.94) size 0.50x0.33
+            chunk 1 text run 1 at (4.64,6.20) startOffset 0 endOffset 4 width 0.50: "and "
           LayoutSVGTSpan {tspan} at (0.89,5.94) size 6.44x0.33
-            LayoutSVGInlineText {#text} at (5.14,5.94) size 1.41x0.33
-              chunk 1 text run 1 at (5.15,6.20) startOffset 0 endOffset 12 width 1.42: "thicknesses "
-          LayoutSVGInlineText {#text} at (6.56,5.94) size 0.77x0.33
-            chunk 1 text run 1 at (6.57,6.20) startOffset 0 endOffset 6 width 0.78: "can be"
+            LayoutSVGInlineText {#text} at (5.13,5.94) size 1.41x0.33
+              chunk 1 text run 1 at (5.14,6.20) startOffset 0 endOffset 12 width 1.42: "thicknesses "
+          LayoutSVGInlineText {#text} at (6.55,5.94) size 0.77x0.33
+            chunk 1 text run 1 at (6.56,6.20) startOffset 0 endOffset 6 width 0.78: "can be"
         LayoutSVGText {text} at (0.89,6.33) size 6.41x0.33 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0.89,6.33) size 4.11x0.33
             chunk 1 text run 1 at (0.90,6.60) startOffset 0 endOffset 36 width 4.12: "used, and the outline stroke can be "
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration-expected.png
index b69369a..1fa48e5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration-expected.txt
index b9ed28d..4bc0e85 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration-expected.txt
@@ -11,9 +11,9 @@
           LayoutSVGRect {rect} at (0,5) size 5x5 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=5.00] [width=5.00] [height=5.00]
           LayoutSVGRect {rect} at (5,0) size 5x5 [fill={[type=SOLID] [color=#000000]}] [x=5.00] [y=0.00] [width=5.00] [height=5.00]
     LayoutSVGContainer {g} at (49,25) size 321x440
-      LayoutSVGText {text} at (157.88,25) size 134.22x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (157.88,25) size 134.22x18
-          chunk 1 (middle anchor) text run 1 at (157.89,40.00) startOffset 0 endOffset 20 width 134.23: "Text decoration test"
+      LayoutSVGText {text} at (158,25) size 134x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (158,25) size 134x18
+          chunk 1 (middle anchor) text run 1 at (158.00,40.00) startOffset 0 endOffset 20 width 134.00: "Text decoration test"
       LayoutSVGContainer {g} at (49,83) size 321x382
         LayoutSVGContainer {g} at (50,83) size 320x22
           LayoutSVGText {text} at (50,83) size 78x22 contains 1 chunk(s)
@@ -60,30 +60,30 @@
           LayoutSVGTSpan {tspan} at (50,273) size 182x32
             LayoutSVGInlineText {#text} at (186,283) size 46x22
               chunk 1 text run 1 at (186.00,300.00) startOffset 0 endOffset 6 width 46.00: " tspan"
-        LayoutSVGText {text} at (50,323) size 212.30x22 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (50,323) size 131.30x22
-            chunk 1 text run 1 at (50.00,340.00) startOffset 0 endOffset 17 width 131.30: "Transparent text "
-          LayoutSVGTSpan {tspan} at (50,323) size 212.30x22
-            LayoutSVGInlineText {#text} at (181.30,323) size 35x22
-              chunk 1 text run 1 at (181.30,340.00) startOffset 0 endOffset 4 width 35.00: "with"
-          LayoutSVGInlineText {#text} at (216.30,323) size 46x22
-            chunk 1 text run 1 at (216.30,340.00) startOffset 0 endOffset 6 width 46.00: " tspan"
-        LayoutSVGText {text} at (50,363) size 214.59x22 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (50,363) size 51.59x22
-            chunk 1 text run 1 at (50.00,380.00) startOffset 0 endOffset 6 width 51.60: "Tspan "
-          LayoutSVGTSpan {tspan} at (50,363) size 214.59x22
-            LayoutSVGInlineText {#text} at (101.59,363) size 74x22
-              chunk 1 text run 1 at (101.60,380.00) startOffset 0 endOffset 8 width 74.00: "with own"
-          LayoutSVGInlineText {#text} at (175.59,363) size 89x22
-            chunk 1 text run 1 at (175.60,380.00) startOffset 0 endOffset 11 width 89.00: " decoration"
-        LayoutSVGText {text} at (50,403) size 199.59x22 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (50,403) size 51.59x22
-            chunk 1 text run 1 at (50.00,420.00) startOffset 0 endOffset 6 width 51.60: "Tspan "
-          LayoutSVGTSpan {tspan} at (50,403) size 199.59x22
-            LayoutSVGInlineText {#text} at (101.59,403) size 59x22
-              chunk 1 text run 1 at (101.60,420.00) startOffset 0 endOffset 7 width 59.00: "with no"
-          LayoutSVGInlineText {#text} at (160.59,403) size 89x22
-            chunk 1 text run 1 at (160.60,420.00) startOffset 0 endOffset 11 width 89.00: " decoration"
+        LayoutSVGText {text} at (50,323) size 212x22 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (50,323) size 131x22
+            chunk 1 text run 1 at (50.00,340.00) startOffset 0 endOffset 17 width 131.00: "Transparent text "
+          LayoutSVGTSpan {tspan} at (50,323) size 212x22
+            LayoutSVGInlineText {#text} at (181,323) size 35x22
+              chunk 1 text run 1 at (181.00,340.00) startOffset 0 endOffset 4 width 35.00: "with"
+          LayoutSVGInlineText {#text} at (216,323) size 46x22
+            chunk 1 text run 1 at (216.00,340.00) startOffset 0 endOffset 6 width 46.00: " tspan"
+        LayoutSVGText {text} at (50,363) size 215x22 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (50,363) size 52x22
+            chunk 1 text run 1 at (50.00,380.00) startOffset 0 endOffset 6 width 52.00: "Tspan "
+          LayoutSVGTSpan {tspan} at (50,363) size 215x22
+            LayoutSVGInlineText {#text} at (102,363) size 74x22
+              chunk 1 text run 1 at (102.00,380.00) startOffset 0 endOffset 8 width 74.00: "with own"
+          LayoutSVGInlineText {#text} at (176,363) size 89x22
+            chunk 1 text run 1 at (176.00,380.00) startOffset 0 endOffset 11 width 89.00: " decoration"
+        LayoutSVGText {text} at (50,403) size 200x22 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (50,403) size 52x22
+            chunk 1 text run 1 at (50.00,420.00) startOffset 0 endOffset 6 width 52.00: "Tspan "
+          LayoutSVGTSpan {tspan} at (50,403) size 200x22
+            LayoutSVGInlineText {#text} at (102,403) size 59x22
+              chunk 1 text run 1 at (102.00,420.00) startOffset 0 endOffset 7 width 59.00: "with no"
+          LayoutSVGInlineText {#text} at (161,403) size 89x22
+            chunk 1 text run 1 at (161.00,420.00) startOffset 0 endOffset 11 width 89.00: " decoration"
         LayoutSVGText {text} at (49,443) size 199x22 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (49,443) size 61x22
             chunk 1 text run 1 at (50.00,460.00) startOffset 0 endOffset 7 width 60.00: "Nested "
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration2-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration2-expected.png
index 8c803b08..323d704b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration2-expected.txt
index 3630025..48361c8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textDecoration2-expected.txt
@@ -2,9 +2,9 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGText {text} at (114.88,25) size 220.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (114.88,25) size 220.22x18
-        chunk 1 (middle anchor) text run 1 at (114.89,40.00) startOffset 0 endOffset 33 width 220.23: "Text Decoration with dx, dy tests"
+    LayoutSVGText {text} at (115,25) size 220x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (115,25) size 220x18
+        chunk 1 (middle anchor) text run 1 at (115.00,40.00) startOffset 0 endOffset 33 width 220.00: "Text Decoration with dx, dy tests"
     LayoutSVGContainer {g} at (31,11) size 314x368 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,50.00)}]
       LayoutSVGText {text} at (31,11) size 114x53 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (31,11) size 75x17
@@ -24,198 +24,198 @@
         LayoutSVGTSpan {tspan} at (231,11) size 114x53
           LayoutSVGInlineText {#text} at (231,47) size 26x17
             chunk 1 text run 1 at (231.00,60.00) startOffset 0 endOffset 5 width 26.00: "lines"
-      LayoutSVGText {text} at (31,82) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,87) size 29.94x17
-          chunk 1 text run 1 at (31.00,100.00) startOffset 0 endOffset 5 width 29.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,82) size 86.94x27
-          LayoutSVGInlineText {#text} at (60.94,82) size 22x17
-            chunk 1 text run 1 at (60.95,95.00) startOffset 0 endOffset 4 width 22.00: "that"
-        LayoutSVGInlineText {#text} at (82.94,82) size 4x17
-          chunk 1 text run 1 at (82.95,95.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,82) size 86.94x27
-          LayoutSVGInlineText {#text} at (86.94,92) size 31x17
-            chunk 1 text run 1 at (86.95,105.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (31,112) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,117) size 29.94x17
-          chunk 1 text run 1 at (31.00,130.00) startOffset 0 endOffset 5 width 29.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,112) size 86.94x27
-          LayoutSVGInlineText {#text} at (60.94,112) size 22x17
-            chunk 1 text run 1 at (60.95,125.00) startOffset 0 endOffset 4 width 22.00: "that"
-        LayoutSVGInlineText {#text} at (82.94,112) size 4x17
-          chunk 1 text run 1 at (82.95,125.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,112) size 86.94x27
-          LayoutSVGInlineText {#text} at (86.94,122) size 31x17
-            chunk 1 text run 1 at (86.95,135.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (31,142) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,147) size 29.94x17
-          chunk 1 text run 1 at (31.00,160.00) startOffset 0 endOffset 5 width 29.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,142) size 86.94x27
-          LayoutSVGInlineText {#text} at (60.94,142) size 22x17
-            chunk 1 text run 1 at (60.95,155.00) startOffset 0 endOffset 4 width 22.00: "that"
-        LayoutSVGInlineText {#text} at (82.94,142) size 4x17
-          chunk 1 text run 1 at (82.95,155.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,142) size 86.94x27
-          LayoutSVGInlineText {#text} at (86.94,152) size 31x17
-            chunk 1 text run 1 at (86.95,165.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (31,177) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,187) size 29.94x17
-          chunk 1 text run 1 at (31.00,200.00) startOffset 0 endOffset 5 width 29.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,177) size 86.94x27
-          LayoutSVGInlineText {#text} at (60.94,182) size 22x17
-            chunk 1 text run 1 at (60.95,195.00) startOffset 0 endOffset 4 width 22.00: "that"
-        LayoutSVGInlineText {#text} at (82.94,182) size 4x17
-          chunk 1 text run 1 at (82.95,195.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,177) size 86.94x27
-          LayoutSVGInlineText {#text} at (86.94,177) size 31x17
-            chunk 1 text run 1 at (86.95,190.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (231,82) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (231,87) size 29.94x17
-          chunk 1 text run 1 at (231.00,100.00) startOffset 0 endOffset 5 width 29.95: "Text "
-        LayoutSVGTSpan {tspan} at (231,82) size 86.94x27
-          LayoutSVGInlineText {#text} at (260.94,82) size 22x17
-            chunk 1 text run 1 at (260.95,95.00) startOffset 0 endOffset 4 width 22.00: "that"
-        LayoutSVGInlineText {#text} at (282.94,82) size 4x17
-          chunk 1 text run 1 at (282.95,95.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (231,82) size 86.94x27
-          LayoutSVGInlineText {#text} at (286.94,92) size 31x17
-            chunk 1 text run 1 at (286.95,105.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (231,112) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (231,117) size 29.94x17
-          chunk 1 text run 1 at (231.00,130.00) startOffset 0 endOffset 5 width 29.95: "Text "
-        LayoutSVGTSpan {tspan} at (231,112) size 86.94x27
-          LayoutSVGInlineText {#text} at (260.94,112) size 22x17
-            chunk 1 text run 1 at (260.95,125.00) startOffset 0 endOffset 4 width 22.00: "that"
-        LayoutSVGInlineText {#text} at (282.94,112) size 4x17
-          chunk 1 text run 1 at (282.95,125.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (231,112) size 86.94x27
-          LayoutSVGInlineText {#text} at (286.94,122) size 31x17
-            chunk 1 text run 1 at (286.95,135.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (231,142) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (231,147) size 29.94x17
-          chunk 1 text run 1 at (231.00,160.00) startOffset 0 endOffset 5 width 29.95: "Text "
-        LayoutSVGTSpan {tspan} at (231,142) size 86.94x27
-          LayoutSVGInlineText {#text} at (260.94,142) size 22x17
-            chunk 1 text run 1 at (260.95,155.00) startOffset 0 endOffset 4 width 22.00: "that"
-        LayoutSVGInlineText {#text} at (282.94,142) size 4x17
-          chunk 1 text run 1 at (282.95,155.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (231,142) size 86.94x27
-          LayoutSVGInlineText {#text} at (286.94,152) size 31x17
-            chunk 1 text run 1 at (286.95,165.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (231,177) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (231,187) size 29.94x17
-          chunk 1 text run 1 at (231.00,200.00) startOffset 0 endOffset 5 width 29.95: "Text "
-        LayoutSVGTSpan {tspan} at (231,177) size 86.94x27
-          LayoutSVGInlineText {#text} at (260.94,182) size 22x17
-            chunk 1 text run 1 at (260.95,195.00) startOffset 0 endOffset 4 width 22.00: "that"
-        LayoutSVGInlineText {#text} at (282.94,182) size 4x17
-          chunk 1 text run 1 at (282.95,195.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (231,177) size 86.94x27
-          LayoutSVGInlineText {#text} at (286.94,177) size 31x17
-            chunk 1 text run 1 at (286.95,190.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (31,222) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,227) size 29.94x17
-          chunk 1 text run 1 at (31.00,240.00) startOffset 0 endOffset 5 width 29.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,222) size 86.94x27
-          LayoutSVGInlineText {#text} at (60.94,222) size 22x17
-            chunk 1 text run 1 at (60.95,235.00) startOffset 0 endOffset 4 width 22.00: "that"
-        LayoutSVGInlineText {#text} at (82.94,222) size 4x17
-          chunk 1 text run 1 at (82.95,235.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,222) size 86.94x27
-          LayoutSVGInlineText {#text} at (86.94,232) size 31x17
-            chunk 1 text run 1 at (86.95,245.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (31,252) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,257) size 29.94x17
-          chunk 1 text run 1 at (31.00,270.00) startOffset 0 endOffset 5 width 29.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,252) size 86.94x27
-          LayoutSVGInlineText {#text} at (60.94,252) size 22x17
-            chunk 1 text run 1 at (60.95,265.00) startOffset 0 endOffset 4 width 22.00: "that"
-        LayoutSVGInlineText {#text} at (82.94,252) size 4x17
-          chunk 1 text run 1 at (82.95,265.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,252) size 86.94x27
-          LayoutSVGInlineText {#text} at (86.94,262) size 31x17
-            chunk 1 text run 1 at (86.95,275.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (31,282) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,287) size 29.94x17
-          chunk 1 text run 1 at (31.00,300.00) startOffset 0 endOffset 5 width 29.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,282) size 86.94x27
-          LayoutSVGInlineText {#text} at (60.94,282) size 22x17
-            chunk 1 text run 1 at (60.95,295.00) startOffset 0 endOffset 4 width 22.00: "that"
-        LayoutSVGInlineText {#text} at (82.94,282) size 4x17
-          chunk 1 text run 1 at (82.95,295.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,282) size 86.94x27
-          LayoutSVGInlineText {#text} at (86.94,292) size 31x17
-            chunk 1 text run 1 at (86.95,305.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (31,307) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (31,317) size 29.94x17
-          chunk 1 text run 1 at (31.00,330.00) startOffset 0 endOffset 5 width 29.95: "Text "
-        LayoutSVGTSpan {tspan} at (31,307) size 86.94x27
-          LayoutSVGInlineText {#text} at (60.94,312) size 22x17
-            chunk 1 text run 1 at (60.95,325.00) startOffset 0 endOffset 4 width 22.00: "that"
-        LayoutSVGInlineText {#text} at (82.94,312) size 4x17
-          chunk 1 text run 1 at (82.95,325.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (31,307) size 86.94x27
-          LayoutSVGInlineText {#text} at (86.94,307) size 31x17
-            chunk 1 text run 1 at (86.95,320.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (231,222) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGTSpan {tspan} at (231,222) size 86.94x27
-          LayoutSVGInlineText {#text} at (231,227) size 29.94x17
-            chunk 1 text run 1 at (231.00,240.00) startOffset 0 endOffset 5 width 29.95: "Text "
-          LayoutSVGTSpan {tspan} at (231,222) size 86.94x27
-            LayoutSVGInlineText {#text} at (260.94,222) size 22x17
-              chunk 1 text run 1 at (260.95,235.00) startOffset 0 endOffset 4 width 22.00: "that"
-          LayoutSVGInlineText {#text} at (282.94,222) size 4x17
-            chunk 1 text run 1 at (282.95,235.00) startOffset 0 endOffset 1 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (231,222) size 86.94x27
-            LayoutSVGInlineText {#text} at (286.94,232) size 31x17
-              chunk 1 text run 1 at (286.95,245.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (231,252) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGTSpan {tspan} at (231,252) size 86.94x27
-          LayoutSVGInlineText {#text} at (231,257) size 29.94x17
-            chunk 1 text run 1 at (231.00,270.00) startOffset 0 endOffset 5 width 29.95: "Text "
-          LayoutSVGTSpan {tspan} at (231,252) size 86.94x27
-            LayoutSVGTSpan {tspan} at (231,252) size 86.94x27
-              LayoutSVGInlineText {#text} at (260.94,252) size 22x17
-                chunk 1 text run 1 at (260.95,265.00) startOffset 0 endOffset 4 width 22.00: "that"
-          LayoutSVGInlineText {#text} at (282.94,252) size 4x17
-            chunk 1 text run 1 at (282.95,265.00) startOffset 0 endOffset 1 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (231,252) size 86.94x27
-            LayoutSVGInlineText {#text} at (286.94,262) size 31x17
-              chunk 1 text run 1 at (286.95,275.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (231,282) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGTSpan {tspan} at (231,282) size 86.94x27
-          LayoutSVGInlineText {#text} at (231,287) size 29.94x17
-            chunk 1 text run 1 at (231.00,300.00) startOffset 0 endOffset 5 width 29.95: "Text "
-          LayoutSVGTSpan {tspan} at (231,282) size 86.94x27
-            LayoutSVGInlineText {#text} at (260.94,282) size 22x17
-              chunk 1 text run 1 at (260.95,295.00) startOffset 0 endOffset 4 width 22.00: "that"
-          LayoutSVGInlineText {#text} at (282.94,282) size 4x17
-            chunk 1 text run 1 at (282.95,295.00) startOffset 0 endOffset 1 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (231,282) size 86.94x27
+      LayoutSVGText {text} at (31,82) size 87x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,87) size 30x17
+          chunk 1 text run 1 at (31.00,100.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,82) size 87x27
+          LayoutSVGInlineText {#text} at (61,82) size 22x17
+            chunk 1 text run 1 at (61.00,95.00) startOffset 0 endOffset 4 width 22.00: "that"
+        LayoutSVGInlineText {#text} at (83,82) size 4x17
+          chunk 1 text run 1 at (83.00,95.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,82) size 87x27
+          LayoutSVGInlineText {#text} at (87,92) size 31x17
+            chunk 1 text run 1 at (87.00,105.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (31,112) size 87x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,117) size 30x17
+          chunk 1 text run 1 at (31.00,130.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,112) size 87x27
+          LayoutSVGInlineText {#text} at (61,112) size 22x17
+            chunk 1 text run 1 at (61.00,125.00) startOffset 0 endOffset 4 width 22.00: "that"
+        LayoutSVGInlineText {#text} at (83,112) size 4x17
+          chunk 1 text run 1 at (83.00,125.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,112) size 87x27
+          LayoutSVGInlineText {#text} at (87,122) size 31x17
+            chunk 1 text run 1 at (87.00,135.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (31,142) size 87x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,147) size 30x17
+          chunk 1 text run 1 at (31.00,160.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,142) size 87x27
+          LayoutSVGInlineText {#text} at (61,142) size 22x17
+            chunk 1 text run 1 at (61.00,155.00) startOffset 0 endOffset 4 width 22.00: "that"
+        LayoutSVGInlineText {#text} at (83,142) size 4x17
+          chunk 1 text run 1 at (83.00,155.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,142) size 87x27
+          LayoutSVGInlineText {#text} at (87,152) size 31x17
+            chunk 1 text run 1 at (87.00,165.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (31,177) size 87x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,187) size 30x17
+          chunk 1 text run 1 at (31.00,200.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,177) size 87x27
+          LayoutSVGInlineText {#text} at (61,182) size 22x17
+            chunk 1 text run 1 at (61.00,195.00) startOffset 0 endOffset 4 width 22.00: "that"
+        LayoutSVGInlineText {#text} at (83,182) size 4x17
+          chunk 1 text run 1 at (83.00,195.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,177) size 87x27
+          LayoutSVGInlineText {#text} at (87,177) size 31x17
+            chunk 1 text run 1 at (87.00,190.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (231,82) size 87x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (231,87) size 30x17
+          chunk 1 text run 1 at (231.00,100.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (231,82) size 87x27
+          LayoutSVGInlineText {#text} at (261,82) size 22x17
+            chunk 1 text run 1 at (261.00,95.00) startOffset 0 endOffset 4 width 22.00: "that"
+        LayoutSVGInlineText {#text} at (283,82) size 4x17
+          chunk 1 text run 1 at (283.00,95.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (231,82) size 87x27
+          LayoutSVGInlineText {#text} at (287,92) size 31x17
+            chunk 1 text run 1 at (287.00,105.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (231,112) size 87x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (231,117) size 30x17
+          chunk 1 text run 1 at (231.00,130.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (231,112) size 87x27
+          LayoutSVGInlineText {#text} at (261,112) size 22x17
+            chunk 1 text run 1 at (261.00,125.00) startOffset 0 endOffset 4 width 22.00: "that"
+        LayoutSVGInlineText {#text} at (283,112) size 4x17
+          chunk 1 text run 1 at (283.00,125.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (231,112) size 87x27
+          LayoutSVGInlineText {#text} at (287,122) size 31x17
+            chunk 1 text run 1 at (287.00,135.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (231,142) size 87x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (231,147) size 30x17
+          chunk 1 text run 1 at (231.00,160.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (231,142) size 87x27
+          LayoutSVGInlineText {#text} at (261,142) size 22x17
+            chunk 1 text run 1 at (261.00,155.00) startOffset 0 endOffset 4 width 22.00: "that"
+        LayoutSVGInlineText {#text} at (283,142) size 4x17
+          chunk 1 text run 1 at (283.00,155.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (231,142) size 87x27
+          LayoutSVGInlineText {#text} at (287,152) size 31x17
+            chunk 1 text run 1 at (287.00,165.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (231,177) size 87x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (231,187) size 30x17
+          chunk 1 text run 1 at (231.00,200.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (231,177) size 87x27
+          LayoutSVGInlineText {#text} at (261,182) size 22x17
+            chunk 1 text run 1 at (261.00,195.00) startOffset 0 endOffset 4 width 22.00: "that"
+        LayoutSVGInlineText {#text} at (283,182) size 4x17
+          chunk 1 text run 1 at (283.00,195.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (231,177) size 87x27
+          LayoutSVGInlineText {#text} at (287,177) size 31x17
+            chunk 1 text run 1 at (287.00,190.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (31,222) size 87x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,227) size 30x17
+          chunk 1 text run 1 at (31.00,240.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,222) size 87x27
+          LayoutSVGInlineText {#text} at (61,222) size 22x17
+            chunk 1 text run 1 at (61.00,235.00) startOffset 0 endOffset 4 width 22.00: "that"
+        LayoutSVGInlineText {#text} at (83,222) size 4x17
+          chunk 1 text run 1 at (83.00,235.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,222) size 87x27
+          LayoutSVGInlineText {#text} at (87,232) size 31x17
+            chunk 1 text run 1 at (87.00,245.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (31,252) size 87x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,257) size 30x17
+          chunk 1 text run 1 at (31.00,270.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,252) size 87x27
+          LayoutSVGInlineText {#text} at (61,252) size 22x17
+            chunk 1 text run 1 at (61.00,265.00) startOffset 0 endOffset 4 width 22.00: "that"
+        LayoutSVGInlineText {#text} at (83,252) size 4x17
+          chunk 1 text run 1 at (83.00,265.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,252) size 87x27
+          LayoutSVGInlineText {#text} at (87,262) size 31x17
+            chunk 1 text run 1 at (87.00,275.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (31,282) size 87x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,287) size 30x17
+          chunk 1 text run 1 at (31.00,300.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,282) size 87x27
+          LayoutSVGInlineText {#text} at (61,282) size 22x17
+            chunk 1 text run 1 at (61.00,295.00) startOffset 0 endOffset 4 width 22.00: "that"
+        LayoutSVGInlineText {#text} at (83,282) size 4x17
+          chunk 1 text run 1 at (83.00,295.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,282) size 87x27
+          LayoutSVGInlineText {#text} at (87,292) size 31x17
+            chunk 1 text run 1 at (87.00,305.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (31,307) size 87x27 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (31,317) size 30x17
+          chunk 1 text run 1 at (31.00,330.00) startOffset 0 endOffset 5 width 30.00: "Text "
+        LayoutSVGTSpan {tspan} at (31,307) size 87x27
+          LayoutSVGInlineText {#text} at (61,312) size 22x17
+            chunk 1 text run 1 at (61.00,325.00) startOffset 0 endOffset 4 width 22.00: "that"
+        LayoutSVGInlineText {#text} at (83,312) size 4x17
+          chunk 1 text run 1 at (83.00,325.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (31,307) size 87x27
+          LayoutSVGInlineText {#text} at (87,307) size 31x17
+            chunk 1 text run 1 at (87.00,320.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (231,222) size 87x27 contains 1 chunk(s)
+        LayoutSVGTSpan {tspan} at (231,222) size 87x27
+          LayoutSVGInlineText {#text} at (231,227) size 30x17
+            chunk 1 text run 1 at (231.00,240.00) startOffset 0 endOffset 5 width 30.00: "Text "
+          LayoutSVGTSpan {tspan} at (231,222) size 87x27
+            LayoutSVGInlineText {#text} at (261,222) size 22x17
+              chunk 1 text run 1 at (261.00,235.00) startOffset 0 endOffset 4 width 22.00: "that"
+          LayoutSVGInlineText {#text} at (283,222) size 4x17
+            chunk 1 text run 1 at (283.00,235.00) startOffset 0 endOffset 1 width 4.00: " "
+          LayoutSVGTSpan {tspan} at (231,222) size 87x27
+            LayoutSVGInlineText {#text} at (287,232) size 31x17
+              chunk 1 text run 1 at (287.00,245.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (231,252) size 87x27 contains 1 chunk(s)
+        LayoutSVGTSpan {tspan} at (231,252) size 87x27
+          LayoutSVGInlineText {#text} at (231,257) size 30x17
+            chunk 1 text run 1 at (231.00,270.00) startOffset 0 endOffset 5 width 30.00: "Text "
+          LayoutSVGTSpan {tspan} at (231,252) size 87x27
+            LayoutSVGTSpan {tspan} at (231,252) size 87x27
+              LayoutSVGInlineText {#text} at (261,252) size 22x17
+                chunk 1 text run 1 at (261.00,265.00) startOffset 0 endOffset 4 width 22.00: "that"
+          LayoutSVGInlineText {#text} at (283,252) size 4x17
+            chunk 1 text run 1 at (283.00,265.00) startOffset 0 endOffset 1 width 4.00: " "
+          LayoutSVGTSpan {tspan} at (231,252) size 87x27
+            LayoutSVGInlineText {#text} at (287,262) size 31x17
+              chunk 1 text run 1 at (287.00,275.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (231,282) size 87x27 contains 1 chunk(s)
+        LayoutSVGTSpan {tspan} at (231,282) size 87x27
+          LayoutSVGInlineText {#text} at (231,287) size 30x17
+            chunk 1 text run 1 at (231.00,300.00) startOffset 0 endOffset 5 width 30.00: "Text "
+          LayoutSVGTSpan {tspan} at (231,282) size 87x27
+            LayoutSVGInlineText {#text} at (261,282) size 22x17
+              chunk 1 text run 1 at (261.00,295.00) startOffset 0 endOffset 4 width 22.00: "that"
+          LayoutSVGInlineText {#text} at (283,282) size 4x17
+            chunk 1 text run 1 at (283.00,295.00) startOffset 0 endOffset 1 width 4.00: " "
+          LayoutSVGTSpan {tspan} at (231,282) size 87x27
             LayoutSVGInlineText {#text} at (0,0) size 0x0
-            LayoutSVGTSpan {tspan} at (231,282) size 86.94x27
-              LayoutSVGInlineText {#text} at (286.94,292) size 31x17
-                chunk 1 text run 1 at (286.95,305.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (231,312) size 86.94x27 contains 1 chunk(s)
-        LayoutSVGTSpan {tspan} at (231,312) size 86.94x27
-          LayoutSVGInlineText {#text} at (231,317) size 29.94x17
-            chunk 1 text run 1 at (231.00,330.00) startOffset 0 endOffset 5 width 29.95: "Text "
-          LayoutSVGTSpan {tspan} at (231,312) size 86.94x27
-            LayoutSVGTSpan {tspan} at (231,312) size 86.94x27
-              LayoutSVGInlineText {#text} at (260.94,312) size 26x17
-                chunk 1 text run 1 at (260.95,325.00) startOffset 0 endOffset 5 width 26.00: "that "
-              LayoutSVGTSpan {tspan} at (231,312) size 86.94x27
-                LayoutSVGTSpan {tspan} at (231,312) size 86.94x27
-                  LayoutSVGInlineText {#text} at (286.94,322) size 31x17
-                    chunk 1 text run 1 at (286.95,335.00) startOffset 0 endOffset 6 width 31.00: "shifts"
-      LayoutSVGText {text} at (131,347) size 86.94x32 contains 1 chunk(s)
-        LayoutSVGTSpan {tspan} at (131,347) size 86.94x32
-          LayoutSVGInlineText {#text} at (131,357) size 29.94x17
-            chunk 1 text run 1 at (131.00,370.00) startOffset 0 endOffset 5 width 29.95: "Text "
-          LayoutSVGTSpan {tspan} at (131,347) size 86.94x32
-            LayoutSVGInlineText {#text} at (160.94,347) size 22x17
-              chunk 1 text run 1 at (160.95,360.00) startOffset 0 endOffset 4 width 22.00: "that"
-          LayoutSVGInlineText {#text} at (182.94,347) size 4x17
-            chunk 1 text run 1 at (182.95,360.00) startOffset 0 endOffset 1 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (131,347) size 86.94x32
-            LayoutSVGInlineText {#text} at (186.94,362) size 31x17
-              chunk 1 text run 1 at (186.95,375.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+            LayoutSVGTSpan {tspan} at (231,282) size 87x27
+              LayoutSVGInlineText {#text} at (287,292) size 31x17
+                chunk 1 text run 1 at (287.00,305.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (231,312) size 87x27 contains 1 chunk(s)
+        LayoutSVGTSpan {tspan} at (231,312) size 87x27
+          LayoutSVGInlineText {#text} at (231,317) size 30x17
+            chunk 1 text run 1 at (231.00,330.00) startOffset 0 endOffset 5 width 30.00: "Text "
+          LayoutSVGTSpan {tspan} at (231,312) size 87x27
+            LayoutSVGTSpan {tspan} at (231,312) size 87x27
+              LayoutSVGInlineText {#text} at (261,312) size 26x17
+                chunk 1 text run 1 at (261.00,325.00) startOffset 0 endOffset 5 width 26.00: "that "
+              LayoutSVGTSpan {tspan} at (231,312) size 87x27
+                LayoutSVGTSpan {tspan} at (231,312) size 87x27
+                  LayoutSVGInlineText {#text} at (287,322) size 31x17
+                    chunk 1 text run 1 at (287.00,335.00) startOffset 0 endOffset 6 width 31.00: "shifts"
+      LayoutSVGText {text} at (131,347) size 87x32 contains 1 chunk(s)
+        LayoutSVGTSpan {tspan} at (131,347) size 87x32
+          LayoutSVGInlineText {#text} at (131,357) size 30x17
+            chunk 1 text run 1 at (131.00,370.00) startOffset 0 endOffset 5 width 30.00: "Text "
+          LayoutSVGTSpan {tspan} at (131,347) size 87x32
+            LayoutSVGInlineText {#text} at (161,347) size 22x17
+              chunk 1 text run 1 at (161.00,360.00) startOffset 0 endOffset 4 width 22.00: "that"
+          LayoutSVGInlineText {#text} at (183,347) size 4x17
+            chunk 1 text run 1 at (183.00,360.00) startOffset 0 endOffset 1 width 4.00: " "
+          LayoutSVGTSpan {tspan} at (131,347) size 87x32
+            LayoutSVGInlineText {#text} at (187,362) size 31x17
+              chunk 1 text run 1 at (187.00,375.00) startOffset 0 endOffset 6 width 31.00: "shifts"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textEffect-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textEffect-expected.png
index f5748af..4285767 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textEffect-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textEffect-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textEffect-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textEffect-expected.txt
index c22c0f31e..a79b3ca 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textEffect-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textEffect-expected.txt
@@ -2,7 +2,7 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGContainer {g} at (45.47,15) size 362.06x388
+    LayoutSVGContainer {g} at (45.50,15) size 362x388
       LayoutSVGText {text} at (139,15) size 172x18 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (139,15) size 172x18
           chunk 1 (middle anchor) text run 1 at (139.00,30.00) startOffset 0 endOffset 27 width 172.00: "Gradient and filter on text"
@@ -15,26 +15,26 @@
         LayoutSVGResourceFilter {filter} [id="dropShadow"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
           [feGaussianBlur stdDeviation="2.00, 2.00"]
             [SourceGraphic]
-      LayoutSVGText {text} at (45.47,112) size 149.03x60 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (45.47,112) size 149.03x60
-          chunk 1 (middle anchor) text run 1 at (45.48,160.00) startOffset 0 endOffset 5 width 149.04: "BATIK"
-      LayoutSVGText {text} at (252.45,112) size 155.08x61 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (252.45,112) size 155.08x61
-          chunk 1 (middle anchor) text run 1 at (252.46,160.00) startOffset 0 endOffset 5 width 155.09: "BATIK"
-      LayoutSVGText {text} at (45.47,212) size 149.03x60 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (45.47,212) size 149.03x60
-          chunk 1 (middle anchor) text run 1 at (45.48,260.00) startOffset 0 endOffset 5 width 149.04: "BATIK"
-      LayoutSVGText {text} at (252.45,212) size 155.08x61 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (252.45,212) size 155.08x61
-          chunk 1 (middle anchor) text run 1 at (252.46,260.00) startOffset 0 endOffset 5 width 155.09: "BATIK"
-      LayoutSVGText {text} at (45.47,312) size 149.03x60 contains 1 chunk(s)
-        [filter="dropShadow"] LayoutSVGResourceFilter {filter} at (30.57,306) size 178.84x72
-        LayoutSVGInlineText {#text} at (45.47,312) size 149.03x60
-          chunk 1 (middle anchor) text run 1 at (45.48,360.00) startOffset 0 endOffset 5 width 149.04: "BATIK"
-      LayoutSVGText {text} at (252.45,312) size 155.08x61 contains 1 chunk(s)
-        [filter="dropShadow"] LayoutSVGResourceFilter {filter} at (236.95,305.90) size 186.09x73.20
-        LayoutSVGInlineText {#text} at (252.45,312) size 155.08x61
-          chunk 1 (middle anchor) text run 1 at (252.46,360.00) startOffset 0 endOffset 5 width 155.09: "BATIK"
+      LayoutSVGText {text} at (45.50,112) size 149x60 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (45.50,112) size 149x60
+          chunk 1 (middle anchor) text run 1 at (45.50,160.00) startOffset 0 endOffset 5 width 149.00: "BATIK"
+      LayoutSVGText {text} at (252.50,112) size 155x61 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (252.50,112) size 155x61
+          chunk 1 (middle anchor) text run 1 at (252.50,160.00) startOffset 0 endOffset 5 width 155.00: "BATIK"
+      LayoutSVGText {text} at (45.50,212) size 149x60 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (45.50,212) size 149x60
+          chunk 1 (middle anchor) text run 1 at (45.50,260.00) startOffset 0 endOffset 5 width 149.00: "BATIK"
+      LayoutSVGText {text} at (252.50,212) size 155x61 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (252.50,212) size 155x61
+          chunk 1 (middle anchor) text run 1 at (252.50,260.00) startOffset 0 endOffset 5 width 155.00: "BATIK"
+      LayoutSVGText {text} at (45.50,312) size 149x60 contains 1 chunk(s)
+        [filter="dropShadow"] LayoutSVGResourceFilter {filter} at (30.60,306) size 178.80x72
+        LayoutSVGInlineText {#text} at (45.50,312) size 149x60
+          chunk 1 (middle anchor) text run 1 at (45.50,360.00) startOffset 0 endOffset 5 width 149.00: "BATIK"
+      LayoutSVGText {text} at (252.50,312) size 155x61 contains 1 chunk(s)
+        [filter="dropShadow"] LayoutSVGResourceFilter {filter} at (237,305.90) size 186x73.20
+        LayoutSVGInlineText {#text} at (252.50,312) size 155x61
+          chunk 1 (middle anchor) text run 1 at (252.50,360.00) startOffset 0 endOffset 5 width 155.00: "BATIK"
       LayoutSVGText {text} at (86.50,388) size 67x15 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (86.50,388) size 67x15
           chunk 1 (middle anchor) text run 1 at (86.50,400.00) startOffset 0 endOffset 13 width 67.00: "(System font)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textEffect2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textEffect2-expected.txt
index 0d99a8b..3259e98 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textEffect2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textEffect2-expected.txt
@@ -12,20 +12,20 @@
       LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
         LayoutSVGResourceLinearGradient {linearGradient} [id="grad"] [gradientUnits=objectBoundingBox] [stops=( #FFD700@0.00 #FFA500@0.50 #DC143C@1.00 )] [start=(0,0)] [end=(1,0)]
         LayoutSVGResourceClipper {clipPath} [id="clip"] [clipPathUnits=userSpaceOnUse]
-          LayoutSVGText {text} at (100,152) size 149.03x60 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (100,152) size 149.03x60
-              chunk 1 text run 1 at (100.00,200.00) startOffset 0 endOffset 5 width 149.04: "BATIK"
+          LayoutSVGText {text} at (100,152) size 149x60 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (100,152) size 149x60
+              chunk 1 text run 1 at (100.00,200.00) startOffset 0 endOffset 5 width 149.00: "BATIK"
         LayoutSVGResourceClipper {clipPath} [id="svgClip"] [clipPathUnits=userSpaceOnUse]
-          LayoutSVGText {text} at (100,252) size 149.03x60 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (100,252) size 149.03x60
-              chunk 1 text run 1 at (100.00,300.00) startOffset 0 endOffset 5 width 149.04: "BATIK"
+          LayoutSVGText {text} at (100,252) size 149x60 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (100,252) size 149x60
+              chunk 1 text run 1 at (100.00,300.00) startOffset 0 endOffset 5 width 149.00: "BATIK"
       LayoutSVGRect {rect} at (100,160) size 200x45 [fill={[type=LINEAR-GRADIENT] [id="grad"]}] [x=100.00] [y=160.00] [width=200.00] [height=45.00]
-        [clipPath="clip"] LayoutSVGResourceClipper {clipPath} at (100,152) size 149.03x60
+        [clipPath="clip"] LayoutSVGResourceClipper {clipPath} at (100,152) size 149x60
       LayoutSVGText {text} at (300,188) size 67x15 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (300,188) size 67x15
           chunk 1 text run 1 at (300.00,200.00) startOffset 0 endOffset 13 width 67.00: "(System font)"
       LayoutSVGRect {rect} at (100,260) size 200x45 [fill={[type=LINEAR-GRADIENT] [id="grad"]}] [x=100.00] [y=260.00] [width=200.00] [height=45.00]
-        [clipPath="svgClip"] LayoutSVGResourceClipper {clipPath} at (100,252) size 149.03x60
+        [clipPath="svgClip"] LayoutSVGResourceClipper {clipPath} at (100,252) size 149x60
       LayoutSVGText {text} at (300,288) size 54x15 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (300,288) size 54x15
           chunk 1 text run 1 at (300.00,300.00) startOffset 0 endOffset 10 width 54.00: "(SVG font)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textFeatures-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textFeatures-expected.txt
index c0740ced6..9a336bc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textFeatures-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textFeatures-expected.txt
@@ -7,52 +7,52 @@
         [feGaussianBlur stdDeviation="2.00, 2.00"]
           [SourceGraphic]
     LayoutSVGContainer {g} at (45,36) size 333x449
-      LayoutSVGText {text} at (151.83,36) size 146.33x17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (151.83,36) size 146.33x17
-          chunk 1 (middle anchor) text run 1 at (151.83,50.00) startOffset 0 endOffset 21 width 146.34: "Text Element Features"
+      LayoutSVGText {text} at (152,36) size 146x17 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (152,36) size 146x17
+          chunk 1 (middle anchor) text run 1 at (152.00,50.00) startOffset 0 endOffset 21 width 146.00: "Text Element Features"
       LayoutSVGContainer {g} at (45,73) size 333x412
-        LayoutSVGText {text} at (45,73) size 311.34x34 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (45,87) size 100.94x17
-            chunk 1 text run 1 at (45.00,100.00) startOffset 0 endOffset 16 width 100.95: "Text can change "
-          LayoutSVGTSpan {tspan} at (45,73) size 311.34x34
-            LayoutSVGInlineText {#text} at (145.94,73) size 52x34
-              chunk 1 text run 1 at (145.95,100.00) startOffset 0 endOffset 5 width 52.00: "size,"
-          LayoutSVGInlineText {#text} at (197.94,87) size 4x17
-            chunk 1 text run 1 at (197.95,100.00) startOffset 0 endOffset 1 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (45,73) size 311.34x34
-            LayoutSVGInlineText {#text} at (201.94,83) size 71x22
-              chunk 1 text run 1 at (201.95,100.00) startOffset 0 endOffset 9 width 71.00: "typeface,"
-          LayoutSVGInlineText {#text} at (272.94,87) size 4x17
-            chunk 1 text run 1 at (272.95,100.00) startOffset 0 endOffset 1 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (45,73) size 311.34x34
-            LayoutSVGInlineText {#text} at (276.94,87) size 31.39x17
-              chunk 1 text run 1 at (276.95,100.00) startOffset 0 endOffset 6 width 31.40: "color,"
-          LayoutSVGInlineText {#text} at (308.34,87) size 20x17
-            chunk 1 text run 1 at (308.35,100.00) startOffset 0 endOffset 1 width 4.00: " "
-            chunk 1 text run 1 at (312.35,100.00) startOffset 0 endOffset 3 width 16.00: "or "
-          LayoutSVGTSpan {tspan} at (45,73) size 311.34x34
-            LayoutSVGInlineText {#text} at (328.34,87) size 28x17
-              chunk 1 text run 1 at (328.35,100.00) startOffset 0 endOffset 5 width 28.00: "style"
+        LayoutSVGText {text} at (45,73) size 311x34 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (45,87) size 101x17
+            chunk 1 text run 1 at (45.00,100.00) startOffset 0 endOffset 16 width 101.00: "Text can change "
+          LayoutSVGTSpan {tspan} at (45,73) size 311x34
+            LayoutSVGInlineText {#text} at (146,73) size 52x34
+              chunk 1 text run 1 at (146.00,100.00) startOffset 0 endOffset 5 width 52.00: "size,"
+          LayoutSVGInlineText {#text} at (198,87) size 4x17
+            chunk 1 text run 1 at (198.00,100.00) startOffset 0 endOffset 1 width 4.00: " "
+          LayoutSVGTSpan {tspan} at (45,73) size 311x34
+            LayoutSVGInlineText {#text} at (202,83) size 71x22
+              chunk 1 text run 1 at (202.00,100.00) startOffset 0 endOffset 9 width 71.00: "typeface,"
+          LayoutSVGInlineText {#text} at (273,87) size 4x17
+            chunk 1 text run 1 at (273.00,100.00) startOffset 0 endOffset 1 width 4.00: " "
+          LayoutSVGTSpan {tspan} at (45,73) size 311x34
+            LayoutSVGInlineText {#text} at (277,87) size 31x17
+              chunk 1 text run 1 at (277.00,100.00) startOffset 0 endOffset 6 width 31.00: "color,"
+          LayoutSVGInlineText {#text} at (308,87) size 20x17
+            chunk 1 text run 1 at (308.00,100.00) startOffset 0 endOffset 1 width 4.00: " "
+            chunk 1 text run 1 at (312.00,100.00) startOffset 0 endOffset 3 width 16.00: "or "
+          LayoutSVGTSpan {tspan} at (45,73) size 311x34
+            LayoutSVGInlineText {#text} at (328,87) size 28x17
+              chunk 1 text run 1 at (328.00,100.00) startOffset 0 endOffset 5 width 28.00: "style"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGText {text} at (45,112) size 163x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (45,112) size 163x17
             chunk 1 text run 1 at (45.00,125.00) startOffset 0 endOffset 29 width 163.00: "within a single text element."
-        LayoutSVGText {text} at (45,161) size 325.44x18 contains 1 chunk(s)
+        LayoutSVGText {text} at (45,161) size 325x18 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (45,162) size 140x17
             chunk 1 text run 1 at (45.00,175.00) startOffset 0 endOffset 25 width 140.00: "Styling features include "
-          LayoutSVGTSpan {tspan} at (45,161) size 325.44x18
+          LayoutSVGTSpan {tspan} at (45,161) size 325x18
             LayoutSVGInlineText {#text} at (185,161) size 47x17
               chunk 1 text run 1 at (185.00,175.00) startOffset 0 endOffset 7 width 47.00: "weight,"
           LayoutSVGInlineText {#text} at (232,162) size 4x17
             chunk 1 text run 1 at (232.00,175.00) startOffset 0 endOffset 1 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (45,161) size 325.44x18
-            LayoutSVGInlineText {#text} at (234,162) size 52.44x17
-              chunk 1 text run 1 at (236.00,175.00) startOffset 0 endOffset 8 width 50.44: "posture,"
-          LayoutSVGInlineText {#text} at (286.44,162) size 29x17
-            chunk 1 text run 1 at (286.44,175.00) startOffset 0 endOffset 5 width 29.00: " and "
-          LayoutSVGTSpan {tspan} at (45,161) size 325.44x18
-            LayoutSVGInlineText {#text} at (315.44,162) size 55x17
-              chunk 1 text run 1 at (315.44,175.00) startOffset 0 endOffset 9 width 55.00: "typeface."
+          LayoutSVGTSpan {tspan} at (45,161) size 325x18
+            LayoutSVGInlineText {#text} at (234,162) size 52x17
+              chunk 1 text run 1 at (236.00,175.00) startOffset 0 endOffset 8 width 50.00: "posture,"
+          LayoutSVGInlineText {#text} at (286,162) size 29x17
+            chunk 1 text run 1 at (286.00,175.00) startOffset 0 endOffset 5 width 29.00: " and "
+          LayoutSVGTSpan {tspan} at (45,161) size 325x18
+            LayoutSVGInlineText {#text} at (315,162) size 55x17
+              chunk 1 text run 1 at (315.00,175.00) startOffset 0 endOffset 9 width 55.00: "typeface."
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGRect {rect} at (45,200) size 202.50x50 [fill={[type=SOLID] [color=#1E90FF]}] [x=45.00] [y=200.00] [width=202.50] [height=50.00]
         LayoutSVGText {text} at (45,212) size 296x17 contains 1 chunk(s)
@@ -107,24 +107,24 @@
           LayoutSVGInlineText {#text} at (276,312) size 91x17
             chunk 1 text run 1 at (276.00,325.00) startOffset 0 endOffset 1 width 4.00: " "
             chunk 1 text run 1 at (280.00,325.00) startOffset 0 endOffset 14 width 87.00: "by percentage."
-        LayoutSVGText {text} at (45,362) size 322.33x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (45,362) size 48.33x17
-            chunk 1 text run 1 at (45.00,375.00) startOffset 0 endOffset 8 width 48.34: "Various "
-          LayoutSVGTSpan {tspan} at (45,362) size 322.33x17
-            LayoutSVGInlineText {#text} at (93.33,362) size 42x17
-              chunk 1 text run 1 at (93.34,375.00) startOffset 0 endOffset 8 width 42.00: "outline "
-          LayoutSVGInlineText {#text} at (135.33,362) size 40x17
-            chunk 1 text run 1 at (135.34,375.00) startOffset 0 endOffset 8 width 40.00: "styles, "
-          LayoutSVGTSpan {tspan} at (45,362) size 322.33x17
-            LayoutSVGInlineText {#text} at (175.33,362) size 57x17
-              chunk 1 text run 1 at (175.34,375.00) startOffset 0 endOffset 12 width 57.00: "fill colors "
-          LayoutSVGInlineText {#text} at (232.33,362) size 25x17
-            chunk 1 text run 1 at (232.34,375.00) startOffset 0 endOffset 4 width 25.00: "and "
-          LayoutSVGTSpan {tspan} at (45,362) size 322.33x17
-            LayoutSVGInlineText {#text} at (257.33,362) size 71x17
-              chunk 1 text run 1 at (257.34,375.00) startOffset 0 endOffset 12 width 71.00: "thicknesses "
-          LayoutSVGInlineText {#text} at (328.33,362) size 39x17
-            chunk 1 text run 1 at (328.34,375.00) startOffset 0 endOffset 6 width 39.00: "can be"
+        LayoutSVGText {text} at (45,362) size 322x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (45,362) size 48x17
+            chunk 1 text run 1 at (45.00,375.00) startOffset 0 endOffset 8 width 48.00: "Various "
+          LayoutSVGTSpan {tspan} at (45,362) size 322x17
+            LayoutSVGInlineText {#text} at (93,362) size 42x17
+              chunk 1 text run 1 at (93.00,375.00) startOffset 0 endOffset 8 width 42.00: "outline "
+          LayoutSVGInlineText {#text} at (135,362) size 40x17
+            chunk 1 text run 1 at (135.00,375.00) startOffset 0 endOffset 8 width 40.00: "styles, "
+          LayoutSVGTSpan {tspan} at (45,362) size 322x17
+            LayoutSVGInlineText {#text} at (175,362) size 57x17
+              chunk 1 text run 1 at (175.00,375.00) startOffset 0 endOffset 12 width 57.00: "fill colors "
+          LayoutSVGInlineText {#text} at (232,362) size 25x17
+            chunk 1 text run 1 at (232.00,375.00) startOffset 0 endOffset 4 width 25.00: "and "
+          LayoutSVGTSpan {tspan} at (45,362) size 322x17
+            LayoutSVGInlineText {#text} at (257,362) size 71x17
+              chunk 1 text run 1 at (257.00,375.00) startOffset 0 endOffset 12 width 71.00: "thicknesses "
+          LayoutSVGInlineText {#text} at (328,362) size 39x17
+            chunk 1 text run 1 at (328.00,375.00) startOffset 0 endOffset 6 width 39.00: "can be"
         LayoutSVGText {text} at (45,387) size 321x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (45,387) size 206x17
             chunk 1 text run 1 at (45.00,400.00) startOffset 0 endOffset 36 width 206.00: "used, and the outline stroke can be "
@@ -138,9 +138,9 @@
             LayoutSVGInlineText {#text} at (318,387) size 48x17
               chunk 1 text run 1 at (318.00,400.00) startOffset 0 endOffset 8 width 48.00: "mitered."
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (45,437) size 151.94x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (45,437) size 151.94x17
-            chunk 1 text run 1 at (45.00,450.00) startOffset 0 endOffset 25 width 151.95: "Text elements also can be"
+        LayoutSVGText {text} at (45,437) size 152x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (45,437) size 152x17
+            chunk 1 text run 1 at (45.00,450.00) startOffset 0 endOffset 25 width 152.00: "Text elements also can be"
         LayoutSVGText {text} at (45,462) size 145x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (45,462) size 145x17
             chunk 1 text run 1 at (45.00,475.00) startOffset 0 endOffset 25 width 145.00: "filtered and transformed."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textGlyphOrientationHorizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textGlyphOrientationHorizontal-expected.txt
index e233334..7e424572 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textGlyphOrientationHorizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textGlyphOrientationHorizontal-expected.txt
@@ -5,9 +5,9 @@
     LayoutSVGHiddenContainer {defs} at (20,11.72) size 320x36.57
       LayoutSVGPath {path} at (20,11.72) size 160x36.57 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 20 40 C 40 20 60 0 80 20 C 100 40 120 60 140 40 C 160 20 180 20 180 20"]
       LayoutSVGPath {path} at (20,11.72) size 320x36.57 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 20 40 c 40 -20 80 -40 120 -20 c 40 20 80 40 120 20 c 40 -20 80 -20 80 -20"]
-    LayoutSVGText {text} at (134.88,15) size 180.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (134.88,15) size 180.22x18
-        chunk 1 (middle anchor) text run 1 at (134.89,30.00) startOffset 0 endOffset 27 width 180.23: "Text Orientation Horizontal"
+    LayoutSVGText {text} at (135,15) size 180x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (135,15) size 180x18
+        chunk 1 (middle anchor) text run 1 at (135.00,30.00) startOffset 0 endOffset 27 width 180.00: "Text Orientation Horizontal"
     LayoutSVGContainer {g} at (40.70,45.66) size 359.30x342.63
       LayoutSVGPath {line} at (50,80) size 150x0 [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [x1=50.00] [y1=80.00] [x2=200.00] [y2=80.00]
       LayoutSVGText {text} at (50,59) size 143x27 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout-expected.png
index 9fe13b4..0222d427 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout-expected.txt
index 3324687..96a6265 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout-expected.txt
@@ -7,9 +7,9 @@
         LayoutSVGInlineText {#text} at (0,-15) size 42x19
           chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 6 width 42.00: "sample"
     LayoutSVGContainer {g} at (40,36) size 367x421
-      LayoutSVGText {text} at (152.83,36) size 144.33x17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (152.83,36) size 144.33x17
-          chunk 1 (middle anchor) text run 1 at (152.83,50.00) startOffset 0 endOffset 22 width 144.34: "Text Layout Properties"
+      LayoutSVGText {text} at (153,36) size 144x17 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (153,36) size 144x17
+          chunk 1 (middle anchor) text run 1 at (153.00,50.00) startOffset 0 endOffset 22 width 144.00: "Text Layout Properties"
       LayoutSVGText {text} at (170,65) size 110x12 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (170,65) size 110x12
           chunk 1 (middle anchor) text run 1 at (170.00,75.00) startOffset 0 endOffset 26 width 110.00: "Explicit Glyph Positioning"
@@ -102,10 +102,10 @@
             chunk 1 text run 4 at (99.60,275.00) startOffset 3 endOffset 4 width 12.00: "p"
             chunk 1 text run 5 at (118.80,275.00) startOffset 4 endOffset 5 width 6.00: "l"
             chunk 1 text run 6 at (132.00,275.00) startOffset 5 endOffset 6 width 11.00: "e"
-        LayoutSVGText {text} at (40,282) size 77.83x10 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (40,282) size 77.83x10
-            chunk 1 text run 1 at (40.00,290.00) startOffset 0 endOffset 22 width 76.84: "letter-spacing=\"0.3em\""
-      LayoutSVGContainer {g} at (185,254) size 63.83x38
+        LayoutSVGText {text} at (40,282) size 78x10 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (40,282) size 78x10
+            chunk 1 text run 1 at (40.00,290.00) startOffset 0 endOffset 22 width 77.00: "letter-spacing=\"0.3em\""
+      LayoutSVGContainer {g} at (185,254) size 64x38
         LayoutSVGText {text} at (185,254) size 52x27 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (185,254) size 52x27
             chunk 1 text run 1 at (185.00,275.00) startOffset 0 endOffset 1 width 9.00: "s"
@@ -114,9 +114,9 @@
             chunk 1 text run 4 at (214.00,275.00) startOffset 3 endOffset 4 width 12.00: "p"
             chunk 1 text run 5 at (223.00,275.00) startOffset 4 endOffset 5 width 6.00: "l"
             chunk 1 text run 6 at (226.00,275.00) startOffset 5 endOffset 6 width 11.00: "e"
-        LayoutSVGText {text} at (185,282) size 63.83x10 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (185,282) size 63.83x10
-            chunk 1 text run 1 at (185.00,290.00) startOffset 0 endOffset 19 width 62.84: "letter-spacing=\"-3\""
+        LayoutSVGText {text} at (185,282) size 64x10 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (185,282) size 64x10
+            chunk 1 text run 1 at (185.00,290.00) startOffset 0 endOffset 19 width 63.00: "letter-spacing=\"-3\""
       LayoutSVGContainer {g} at (290,254) size 117x38
         LayoutSVGText {text} at (290,254) size 117x27 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (290,254) size 117x27
@@ -126,43 +126,43 @@
             chunk 1 text run 4 at (358.00,275.00) startOffset 3 endOffset 4 width 12.00: "p"
             chunk 1 text run 5 at (380.00,275.00) startOffset 4 endOffset 5 width 6.00: "l"
             chunk 1 text run 6 at (396.00,275.00) startOffset 5 endOffset 6 width 11.00: "e"
-        LayoutSVGText {text} at (290,282) size 64.83x10 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (290,282) size 64.83x10
-            chunk 1 text run 1 at (290.00,290.00) startOffset 0 endOffset 19 width 63.84: "letter-spacing=\"10\""
-      LayoutSVGText {text} at (171.39,310) size 107.19x12 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (171.39,310) size 107.19x12
-          chunk 1 (middle anchor) text run 1 at (171.40,320.00) startOffset 0 endOffset 23 width 107.20: "Word Spacing Adjustment"
+        LayoutSVGText {text} at (290,282) size 65x10 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (290,282) size 65x10
+            chunk 1 text run 1 at (290.00,290.00) startOffset 0 endOffset 19 width 64.00: "letter-spacing=\"10\""
+      LayoutSVGText {text} at (171.50,310) size 107x12 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (171.50,310) size 107x12
+          chunk 1 (middle anchor) text run 1 at (171.50,320.00) startOffset 0 endOffset 23 width 107.00: "Word Spacing Adjustment"
       LayoutSVGContainer {g} at (40,337) size 350x30
         LayoutSVGText {text} at (40,337) size 350x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (40,337) size 350x17
             chunk 1 text run 1 at (40.00,350.00) startOffset 0 endOffset 1 width 14.00: "W"
-            chunk 1 text run 2 at (54.35,350.00) startOffset 1 endOffset 2 width 3.00: "i"
-            chunk 1 text run 3 at (58.30,350.00) startOffset 2 endOffset 3 width 7.00: "d"
-            chunk 1 text run 4 at (66.25,350.00) startOffset 3 endOffset 4 width 7.00: "e"
-            chunk 1 text run 5 at (74.20,350.00) startOffset 4 endOffset 5 width 4.00: " "
-            chunk 1 text run 6 at (124.15,350.00) startOffset 5 endOffset 6 width 6.00: "s"
-            chunk 1 text run 7 at (131.10,350.00) startOffset 6 endOffset 7 width 7.00: "e"
-            chunk 1 text run 8 at (139.05,350.00) startOffset 7 endOffset 8 width 7.00: "p"
-            chunk 1 text run 9 at (147.00,350.00) startOffset 8 endOffset 9 width 7.00: "a"
-            chunk 1 text run 10 at (154.95,350.00) startOffset 9 endOffset 10 width 5.00: "r"
-            chunk 1 text run 11 at (160.90,350.00) startOffset 10 endOffset 11 width 7.00: "a"
-            chunk 1 text run 12 at (168.85,350.00) startOffset 11 endOffset 12 width 4.00: "t"
-            chunk 1 text run 13 at (173.80,350.00) startOffset 12 endOffset 13 width 3.00: "i"
-            chunk 1 text run 14 at (177.75,350.00) startOffset 13 endOffset 14 width 7.00: "o"
-            chunk 1 text run 15 at (185.70,350.00) startOffset 14 endOffset 15 width 7.00: "n"
-            chunk 1 text run 16 at (193.65,350.00) startOffset 15 endOffset 16 width 4.00: " "
-            chunk 1 text run 17 at (243.60,350.00) startOffset 16 endOffset 17 width 7.00: "b"
-            chunk 1 text run 18 at (251.55,350.00) startOffset 17 endOffset 18 width 7.00: "e"
-            chunk 1 text run 19 at (259.50,350.00) startOffset 18 endOffset 19 width 4.00: "t"
-            chunk 1 text run 20 at (264.45,350.00) startOffset 19 endOffset 20 width 11.00: "w"
-            chunk 1 text run 21 at (276.40,350.00) startOffset 20 endOffset 21 width 7.00: "e"
-            chunk 1 text run 22 at (284.35,350.00) startOffset 21 endOffset 22 width 7.00: "e"
-            chunk 1 text run 23 at (292.30,350.00) startOffset 22 endOffset 23 width 7.00: "n"
-            chunk 1 text run 24 at (300.25,350.00) startOffset 23 endOffset 24 width 4.00: " "
-            chunk 1 text run 25 at (350.20,350.00) startOffset 24 endOffset 25 width 11.00: "w"
-            chunk 1 text run 26 at (362.15,350.00) startOffset 25 endOffset 26 width 7.00: "o"
-            chunk 1 text run 27 at (370.10,350.00) startOffset 26 endOffset 27 width 5.00: "r"
-            chunk 1 text run 28 at (376.05,350.00) startOffset 27 endOffset 28 width 7.00: "d"
+            chunk 1 text run 2 at (53.96,350.00) startOffset 1 endOffset 2 width 3.00: "i"
+            chunk 1 text run 3 at (57.93,350.00) startOffset 2 endOffset 3 width 7.00: "d"
+            chunk 1 text run 4 at (65.89,350.00) startOffset 3 endOffset 4 width 7.00: "e"
+            chunk 1 text run 5 at (73.86,350.00) startOffset 4 endOffset 5 width 4.00: " "
+            chunk 1 text run 6 at (123.82,350.00) startOffset 5 endOffset 6 width 6.00: "s"
+            chunk 1 text run 7 at (130.79,350.00) startOffset 6 endOffset 7 width 7.00: "e"
+            chunk 1 text run 8 at (138.75,350.00) startOffset 7 endOffset 8 width 7.00: "p"
+            chunk 1 text run 9 at (146.71,350.00) startOffset 8 endOffset 9 width 7.00: "a"
+            chunk 1 text run 10 at (154.68,350.00) startOffset 9 endOffset 10 width 5.00: "r"
+            chunk 1 text run 11 at (160.64,350.00) startOffset 10 endOffset 11 width 7.00: "a"
+            chunk 1 text run 12 at (168.61,350.00) startOffset 11 endOffset 12 width 4.00: "t"
+            chunk 1 text run 13 at (173.57,350.00) startOffset 12 endOffset 13 width 3.00: "i"
+            chunk 1 text run 14 at (177.54,350.00) startOffset 13 endOffset 14 width 7.00: "o"
+            chunk 1 text run 15 at (185.50,350.00) startOffset 14 endOffset 15 width 7.00: "n"
+            chunk 1 text run 16 at (193.46,350.00) startOffset 15 endOffset 16 width 4.00: " "
+            chunk 1 text run 17 at (243.43,350.00) startOffset 16 endOffset 17 width 7.00: "b"
+            chunk 1 text run 18 at (251.39,350.00) startOffset 17 endOffset 18 width 7.00: "e"
+            chunk 1 text run 19 at (259.36,350.00) startOffset 18 endOffset 19 width 4.00: "t"
+            chunk 1 text run 20 at (264.32,350.00) startOffset 19 endOffset 20 width 11.00: "w"
+            chunk 1 text run 21 at (276.29,350.00) startOffset 20 endOffset 21 width 7.00: "e"
+            chunk 1 text run 22 at (284.25,350.00) startOffset 21 endOffset 22 width 7.00: "e"
+            chunk 1 text run 23 at (292.21,350.00) startOffset 22 endOffset 23 width 7.00: "n"
+            chunk 1 text run 24 at (300.18,350.00) startOffset 23 endOffset 24 width 4.00: " "
+            chunk 1 text run 25 at (350.14,350.00) startOffset 24 endOffset 25 width 11.00: "w"
+            chunk 1 text run 26 at (362.11,350.00) startOffset 25 endOffset 26 width 7.00: "o"
+            chunk 1 text run 27 at (370.07,350.00) startOffset 26 endOffset 27 width 5.00: "r"
+            chunk 1 text run 28 at (376.04,350.00) startOffset 27 endOffset 28 width 7.00: "d"
             chunk 1 text run 29 at (384.00,350.00) startOffset 28 endOffset 29 width 6.00: "s"
         LayoutSVGText {text} at (40,357) size 132x10 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (40,357) size 132x10
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout2-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout2-expected.png
index ef675a5..30f8abfe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout2-expected.txt
index f7d6f55..0db6c9cf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textLayout2-expected.txt
@@ -7,9 +7,9 @@
         LayoutSVGInlineText {#text} at (0,-15) size 42x19
           chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 6 width 42.00: "sample"
     LayoutSVGContainer {g} at (90,36) size 250x436.22
-      LayoutSVGText {text} at (141.83,36) size 166.33x17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (141.83,36) size 166.33x17
-          chunk 1 (middle anchor) text run 1 at (141.83,50.00) startOffset 0 endOffset 26 width 166.34: "Text Layout Properties (2)"
+      LayoutSVGText {text} at (142,36) size 166x17 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (142,36) size 166x17
+          chunk 1 (middle anchor) text run 1 at (142.00,50.00) startOffset 0 endOffset 26 width 166.00: "Text Layout Properties (2)"
       LayoutSVGText {text} at (186.50,65) size 77x12 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (186.50,65) size 77x12
           chunk 1 (middle anchor) text run 1 at (186.50,75.00) startOffset 0 endOffset 19 width 77.00: "Baseline Properties"
@@ -43,19 +43,19 @@
         LayoutSVGText {text} at (185,172) size 81x10 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (185,172) size 81x10
             chunk 1 (middle anchor) text run 1 at (185.00,180.00) startOffset 0 endOffset 23 width 80.00: "baseline-shift=\"+/-20%\""
-      LayoutSVGText {text} at (173.84,200) size 102.30x12 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (173.84,200) size 102.30x12
-          chunk 1 (middle anchor) text run 1 at (173.85,210.00) startOffset 0 endOffset 25 width 102.30: "Multi-line Text Selection"
-      LayoutSVGText {text} at (159.84,218) size 130.30x9 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (159.84,218) size 130.30x9
-          chunk 1 (middle anchor) text run 1 at (159.85,225.00) startOffset 0 endOffset 42 width 130.31: "(Try selecting the following text regions)"
-      LayoutSVGText {text} at (120,237) size 195.94x32 contains 1 chunk(s)
-        LayoutSVGTSpan {tspan} at (120,237) size 195.94x32
-          LayoutSVGInlineText {#text} at (120,237) size 191.94x17
-            chunk 1 text run 1 at (120.00,250.00) startOffset 0 endOffset 33 width 191.95: "Text selections can span multiple"
-        LayoutSVGInlineText {#text} at (311.94,237) size 4x17
-          chunk 1 text run 1 at (311.95,250.00) startOffset 0 endOffset 1 width 4.00: " "
-        LayoutSVGTSpan {tspan} at (120,237) size 195.94x32
+      LayoutSVGText {text} at (174,200) size 102x12 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (174,200) size 102x12
+          chunk 1 (middle anchor) text run 1 at (174.00,210.00) startOffset 0 endOffset 25 width 102.00: "Multi-line Text Selection"
+      LayoutSVGText {text} at (159.50,218) size 131x9 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (159.50,218) size 131x9
+          chunk 1 (middle anchor) text run 1 at (159.50,225.00) startOffset 0 endOffset 42 width 131.00: "(Try selecting the following text regions)"
+      LayoutSVGText {text} at (120,237) size 196x32 contains 1 chunk(s)
+        LayoutSVGTSpan {tspan} at (120,237) size 196x32
+          LayoutSVGInlineText {#text} at (120,237) size 192x17
+            chunk 1 text run 1 at (120.00,250.00) startOffset 0 endOffset 33 width 192.00: "Text selections can span multiple"
+        LayoutSVGInlineText {#text} at (312,237) size 4x17
+          chunk 1 text run 1 at (312.00,250.00) startOffset 0 endOffset 1 width 4.00: " "
+        LayoutSVGTSpan {tspan} at (120,237) size 196x32
           LayoutSVGInlineText {#text} at (120,252) size 158x17
             chunk 1 text run 1 at (120.00,265.00) startOffset 0 endOffset 27 width 158.00: "lines via <tspan> elements."
         LayoutSVGInlineText {#text} at (0,0) size 0x0
@@ -93,20 +93,20 @@
           chunk 1 text run 1 at (0.00,60.00) startOffset 0 endOffset 1 width 9.00: "a"
           chunk 1 text run 1 at (0.00,40.00) startOffset 0 endOffset 1 width 7.00: "r"
           chunk 1 text run 1 at (0.00,20.00) startOffset 0 endOffset 1 width 9.00: "e"
-      LayoutSVGText {text} at (154.52,435.97) size 140.94x19.17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (154.52,437) size 58.94x17
-          chunk 1 (middle anchor) text run 1 at (154.52,450.00) startOffset 0 endOffset 10 width 58.95: "Text with "
-        LayoutSVGTSpan {tspan} at (154.52,435.97) size 140.94x19.17
-          LayoutSVGInlineText {#text} at (212.78,435.97) size 43.84x19.17
-            chunk 1 (middle anchor) text run 1 at (213.48,450.00) startOffset 0 endOffset 1 width 5.00: "r"
-            chunk 1 (middle anchor) text run 2 at (218.48,450.00) startOffset 1 endOffset 2 width 7.00: "o"
-            chunk 1 (middle anchor) text run 3 at (225.48,450.00) startOffset 2 endOffset 3 width 4.00: "t"
-            chunk 1 (middle anchor) text run 4 at (229.48,450.00) startOffset 3 endOffset 4 width 7.00: "a"
-            chunk 1 (middle anchor) text run 5 at (236.48,450.00) startOffset 4 endOffset 5 width 4.00: "t"
-            chunk 1 (middle anchor) text run 6 at (240.48,450.00) startOffset 5 endOffset 6 width 7.00: "e"
-            chunk 1 (middle anchor) text run 7 at (247.48,450.00) startOffset 6 endOffset 7 width 7.00: "d"
-        LayoutSVGInlineText {#text} at (254.47,437) size 41x17
-          chunk 1 (middle anchor) text run 1 at (254.48,450.00) startOffset 0 endOffset 7 width 41.00: " glyphs"
+      LayoutSVGText {text} at (154.50,435.97) size 141x19.17 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (154.50,437) size 59x17
+          chunk 1 (middle anchor) text run 1 at (154.50,450.00) startOffset 0 endOffset 10 width 59.00: "Text with "
+        LayoutSVGTSpan {tspan} at (154.50,435.97) size 141x19.17
+          LayoutSVGInlineText {#text} at (212.80,435.97) size 43.84x19.17
+            chunk 1 (middle anchor) text run 1 at (213.50,450.00) startOffset 0 endOffset 1 width 5.00: "r"
+            chunk 1 (middle anchor) text run 2 at (218.50,450.00) startOffset 1 endOffset 2 width 7.00: "o"
+            chunk 1 (middle anchor) text run 3 at (225.50,450.00) startOffset 2 endOffset 3 width 4.00: "t"
+            chunk 1 (middle anchor) text run 4 at (229.50,450.00) startOffset 3 endOffset 4 width 7.00: "a"
+            chunk 1 (middle anchor) text run 5 at (236.50,450.00) startOffset 4 endOffset 5 width 4.00: "t"
+            chunk 1 (middle anchor) text run 6 at (240.50,450.00) startOffset 5 endOffset 6 width 7.00: "e"
+            chunk 1 (middle anchor) text run 7 at (247.50,450.00) startOffset 6 endOffset 7 width 7.00: "d"
+        LayoutSVGInlineText {#text} at (254.50,437) size 41x17
+          chunk 1 (middle anchor) text run 1 at (254.50,450.00) startOffset 0 endOffset 7 width 41.00: " glyphs"
       LayoutSVGText {text} at (164.95,452.44) size 122.19x19.78 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (164.95,452.44) size 122.19x19.78
           chunk 1 (middle anchor) text run 1 at (166.00,465.00) startOffset 0 endOffset 1 width 13.00: "M"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath-expected.png
index 3b14b89..01e173c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath-expected.txt
index 7207269..671c525d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath-expected.txt
@@ -2,65 +2,65 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGContainer {g} at (9.88,25) size 427.25x417
-      LayoutSVGText {text} at (162.88,25) size 124.22x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (162.88,25) size 124.22x18
-          chunk 1 (middle anchor) text run 1 at (162.89,40.00) startOffset 0 endOffset 19 width 124.23: "Text on a path test"
+    LayoutSVGContainer {g} at (9.88,25) size 427.27x417
+      LayoutSVGText {text} at (163,25) size 124x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (163,25) size 124x18
+          chunk 1 (middle anchor) text run 1 at (163.00,40.00) startOffset 0 endOffset 19 width 124.00: "Text on a path test"
       LayoutSVGHiddenContainer {defs} at (15,8.79) size 120x41.21
         LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
         LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 100 C 100 0 400 0 400 100"]
-      LayoutSVGContainer {g} at (12.80,-13.56) size 114.66x85.56 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,70.00)}]
+      LayoutSVGContainer {g} at (12.78,-13.66) size 115.02x85.66 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,70.00)}]
         LayoutSVGContainer {use} at (30,12.50) size 90x37.50
           LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 100 C 100 0 400 0 400 100"]
-        LayoutSVGText {text} at (12.80,-13.56) size 114.66x64.11 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (12.80,-13.56) size 114.66x64.11
-            LayoutSVGInlineText {#text} at (12.80,4.14) size 38.89x46.38
-              chunk 1 text run 1 at (30.37,44.59) startOffset 0 endOffset 1 width 12.00: "T"
-              chunk 1 text run 2 at (33.06,35.25) startOffset 1 endOffset 2 width 9.00: "e"
-              chunk 1 text run 3 at (37.85,27.68) startOffset 2 endOffset 3 width 9.00: "x"
-              chunk 1 text run 4 at (42.86,22.80) startOffset 3 endOffset 4 width 5.00: "t"
-              chunk 1 text run 5 at (46.94,19.93) startOffset 4 endOffset 5 width 5.00: " "
-            LayoutSVGTSpan {tspan} at (12.80,-13.56) size 114.66x64.11
-              LayoutSVGInlineText {#text} at (38.77,-13.56) size 27.30x27.38
-                chunk 1 text run 1 at (53.63,16.54) startOffset 0 endOffset 1 width 10.00: "o"
-                chunk 1 text run 2 at (62.72,13.77) startOffset 1 endOffset 2 width 9.00: "n"
-            LayoutSVGTSpan {tspan} at (12.80,-13.56) size 114.66x64.11
-              LayoutSVGInlineText {#text} at (65.66,-4.59) size 61.80x38.44
-                chunk 1 text run 1 at (69.65,12.74) startOffset 0 endOffset 1 width 5.00: " "
-                chunk 1 text run 2 at (76.66,12.52) startOffset 1 endOffset 2 width 9.00: "a"
-                chunk 1 text run 3 at (83.64,13.12) startOffset 2 endOffset 3 width 5.00: " "
-                chunk 1 text run 4 at (91.45,14.82) startOffset 3 endOffset 4 width 11.00: "P"
-                chunk 1 text run 5 at (100.73,18.59) startOffset 4 endOffset 5 width 9.00: "a"
-                chunk 1 text run 6 at (106.60,22.38) startOffset 5 endOffset 6 width 5.00: "t"
-                chunk 1 text run 7 at (111.71,27.16) startOffset 6 endOffset 7 width 9.00: "h"
+        LayoutSVGText {text} at (12.78,-13.66) size 115.02x64.22 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (12.78,-13.66) size 115.02x64.22
+            LayoutSVGInlineText {#text} at (12.78,3.88) size 39.22x46.67
+              chunk 1 text run 1 at (30.40,44.40) startOffset 0 endOffset 1 width 12.00: "T"
+              chunk 1 text run 2 at (33.22,34.89) startOffset 1 endOffset 2 width 9.00: "e"
+              chunk 1 text run 3 at (38.10,27.38) startOffset 2 endOffset 3 width 9.00: "x"
+              chunk 1 text run 4 at (43.17,22.56) startOffset 3 endOffset 4 width 5.00: "t"
+              chunk 1 text run 5 at (47.28,19.72) startOffset 4 endOffset 5 width 5.00: " "
+            LayoutSVGTSpan {tspan} at (12.78,-13.66) size 115.02x64.22
+              LayoutSVGInlineText {#text} at (39.33,-13.66) size 27.17x27.27
+                chunk 1 text run 1 at (54.00,16.40) startOffset 0 endOffset 1 width 10.00: "o"
+                chunk 1 text run 2 at (63.11,13.69) startOffset 1 endOffset 2 width 9.00: "n"
+            LayoutSVGTSpan {tspan} at (12.78,-13.66) size 115.02x64.22
+              LayoutSVGInlineText {#text} at (66.16,-4.59) size 61.63x38.73
+                chunk 1 text run 1 at (70.05,12.70) startOffset 0 endOffset 1 width 5.00: " "
+                chunk 1 text run 2 at (77.06,12.53) startOffset 1 endOffset 2 width 9.00: "a"
+                chunk 1 text run 3 at (84.03,13.18) startOffset 2 endOffset 3 width 5.00: " "
+                chunk 1 text run 4 at (91.84,14.94) startOffset 3 endOffset 4 width 11.00: "P"
+                chunk 1 text run 5 at (101.08,18.78) startOffset 4 endOffset 5 width 9.00: "a"
+                chunk 1 text run 6 at (106.92,22.62) startOffset 5 endOffset 6 width 5.00: "t"
+                chunk 1 text run 7 at (111.97,27.46) startOffset 6 endOffset 7 width 9.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 65.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 65.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 65.82: "startOffset=\"0%\""
+        LayoutSVGText {text} at (35,50) size 66x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 66x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 66.00: "startOffset=\"0%\""
         LayoutSVGText {text} at (34,60) size 76x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 76x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 19 width 75.00: "text-anchor=\"start\""
-      LayoutSVGContainer {g} at (13.11,-3.28) size 107.89x75.28 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,70.00)}]
+      LayoutSVGContainer {g} at (13.14,-3.33) size 107.86x75.33 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,70.00)}]
         LayoutSVGContainer {use} at (30,12.50) size 90x37.50
           LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 100 C 100 0 400 0 400 100"]
-        LayoutSVGText {text} at (13.11,-3.28) size 52.94x51.48 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (13.11,-3.28) size 52.94x51.48
+        LayoutSVGText {text} at (13.14,-3.33) size 53.09x51.36 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (13.14,-3.33) size 53.09x51.36
             LayoutSVGInlineText {#text} at (0,0) size 0x0
-            LayoutSVGTSpan {tspan} at (13.11,-3.28) size 52.94x51.48
+            LayoutSVGTSpan {tspan} at (13.14,-3.33) size 53.09x51.36
               LayoutSVGInlineText {#text} at (0,0) size 0x0
-            LayoutSVGTSpan {tspan} at (13.11,-3.28) size 52.94x51.48
-              LayoutSVGInlineText {#text} at (13.11,-3.28) size 52.94x51.48
-                chunk 1 (middle anchor) text run 1 at (30.30,45.08) startOffset 0 endOffset 1 width 5.00: " "
-                chunk 1 (middle anchor) text run 2 at (31.85,38.31) startOffset 1 endOffset 2 width 9.00: "a"
-                chunk 1 (middle anchor) text run 3 at (34.77,31.99) startOffset 2 endOffset 3 width 5.00: " "
-                chunk 1 (middle anchor) text run 4 at (39.66,25.69) startOffset 3 endOffset 4 width 11.00: "P"
-                chunk 1 (middle anchor) text run 5 at (47.53,19.57) startOffset 4 endOffset 5 width 9.00: "a"
-                chunk 1 (middle anchor) text run 6 at (53.81,16.47) startOffset 5 endOffset 6 width 5.00: "t"
-                chunk 1 (middle anchor) text run 7 at (60.48,14.29) startOffset 6 endOffset 7 width 9.00: "h"
+            LayoutSVGTSpan {tspan} at (13.14,-3.33) size 53.09x51.36
+              LayoutSVGInlineText {#text} at (13.14,-3.33) size 53.09x51.36
+                chunk 1 (middle anchor) text run 1 at (30.33,44.89) startOffset 0 endOffset 1 width 5.00: " "
+                chunk 1 (middle anchor) text run 2 at (31.91,38.12) startOffset 1 endOffset 2 width 9.00: "a"
+                chunk 1 (middle anchor) text run 3 at (34.87,31.82) startOffset 2 endOffset 3 width 5.00: " "
+                chunk 1 (middle anchor) text run 4 at (39.80,25.55) startOffset 3 endOffset 4 width 11.00: "P"
+                chunk 1 (middle anchor) text run 5 at (47.71,19.47) startOffset 4 endOffset 5 width 9.00: "a"
+                chunk 1 (middle anchor) text run 6 at (54.00,16.40) startOffset 5 endOffset 6 width 5.00: "t"
+                chunk 1 (middle anchor) text run 7 at (60.67,14.24) startOffset 6 endOffset 7 width 9.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 65.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 65.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 65.82: "startOffset=\"0%\""
+        LayoutSVGText {text} at (35,50) size 66x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 66x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 66.00: "startOffset=\"0%\""
         LayoutSVGText {text} at (34,60) size 87x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 87x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 20 width 86.00: "text-anchor=\"middle\""
@@ -83,84 +83,84 @@
                 chunk 1 (end anchor) text run 6 at (63.55,13.60) startOffset 5 endOffset 6 width 5.00: "t"
                 chunk 1 (end anchor) text run 7 at (70.49,12.67) startOffset 6 endOffset 7 width 9.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 70.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 70.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 70.82: "startOffset=\"50%\""
+        LayoutSVGText {text} at (35,50) size 71x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 71x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 71.00: "startOffset=\"50%\""
         LayoutSVGText {text} at (34,60) size 73x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 73x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 17 width 72.00: "text-anchor=\"end\""
-      LayoutSVGContainer {g} at (30,-4.66) size 114.91x76.66 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,170.00)}]
+      LayoutSVGContainer {g} at (30,-4.67) size 115.09x76.67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,170.00)}]
         LayoutSVGContainer {use} at (30,12.50) size 90x37.50
           LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 100 C 100 0 400 0 400 100"]
-        LayoutSVGText {text} at (74.58,-4.66) size 70.33x52.39 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (74.58,-4.66) size 70.33x52.39
-            LayoutSVGInlineText {#text} at (74.58,-4.66) size 47.03x34
-              chunk 1 text run 1 at (80.31,12.73) startOffset 0 endOffset 1 width 12.00: "T"
-              chunk 1 text run 2 at (89.97,14.41) startOffset 1 endOffset 2 width 9.00: "e"
-              chunk 1 text run 3 at (98.43,17.44) startOffset 2 endOffset 3 width 9.00: "x"
-              chunk 1 text run 4 at (104.54,20.88) startOffset 3 endOffset 4 width 5.00: "t"
-              chunk 1 text run 5 at (108.49,23.94) startOffset 4 endOffset 5 width 5.00: " "
-            LayoutSVGTSpan {tspan} at (74.58,-4.66) size 70.33x52.39
-              LayoutSVGInlineText {#text} at (114.61,9.45) size 30.28x30.89
-                chunk 1 text run 1 at (113.55,29.45) startOffset 0 endOffset 1 width 10.00: "o"
-                chunk 1 text run 2 at (117.97,37.80) startOffset 1 endOffset 2 width 9.00: "n"
-            LayoutSVGTSpan {tspan} at (74.58,-4.66) size 70.33x52.39
-              LayoutSVGInlineText {#text} at (114.31,39.69) size 22.47x8.02
-                chunk 1 text run 1 at (119.63,44.55) startOffset 0 endOffset 1 width 5.00: " "
+        LayoutSVGText {text} at (74.56,-4.67) size 70.53x52.73 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (74.56,-4.67) size 70.53x52.73
+            LayoutSVGInlineText {#text} at (74.56,-4.67) size 47.45x34.27
+              chunk 1 text run 1 at (80.50,12.75) startOffset 0 endOffset 1 width 12.00: "T"
+              chunk 1 text run 2 at (90.35,14.51) startOffset 1 endOffset 2 width 9.00: "e"
+              chunk 1 text run 3 at (98.79,17.61) startOffset 2 endOffset 3 width 9.00: "x"
+              chunk 1 text run 4 at (104.86,21.11) startOffset 3 endOffset 4 width 5.00: "t"
+              chunk 1 text run 5 at (108.79,24.21) startOffset 4 endOffset 5 width 5.00: " "
+            LayoutSVGTSpan {tspan} at (74.56,-4.67) size 70.53x52.73
+              LayoutSVGInlineText {#text} at (114.92,10) size 30.16x30.80
+                chunk 1 text run 1 at (113.78,29.77) startOffset 0 endOffset 1 width 10.00: "o"
+                chunk 1 text run 2 at (118.10,38.17) startOffset 1 endOffset 2 width 9.00: "n"
+            LayoutSVGTSpan {tspan} at (74.56,-4.67) size 70.53x52.73
+              LayoutSVGInlineText {#text} at (114.39,40.25) size 22.45x7.80
+                chunk 1 text run 1 at (119.68,44.94) startOffset 0 endOffset 1 width 5.00: " "
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 70.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 70.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 70.82: "startOffset=\"50%\""
+        LayoutSVGText {text} at (35,50) size 71x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 71x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 71.00: "startOffset=\"50%\""
         LayoutSVGText {text} at (34,60) size 76x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 76x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 19 width 75.00: "text-anchor=\"start\""
-      LayoutSVGContainer {g} at (15.55,-14.59) size 118.95x86.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,170.00)}]
+      LayoutSVGContainer {g} at (15.45,-14.59) size 119.13x86.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,170.00)}]
         LayoutSVGContainer {use} at (30,12.50) size 90x37.50
           LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 100 C 100 0 400 0 400 100"]
-        LayoutSVGText {text} at (15.55,-14.59) size 118.95x56.45 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (15.55,-14.59) size 118.95x56.45
-            LayoutSVGInlineText {#text} at (15.55,-1.27) size 44.55x43.13
+        LayoutSVGText {text} at (15.45,-14.59) size 119.13x56.64 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (15.45,-14.59) size 119.13x56.64
+            LayoutSVGInlineText {#text} at (15.45,-1.34) size 44.81x43.38
               chunk 1 (middle anchor) text run 1 at (33.20,34.94) startOffset 0 endOffset 1 width 12.00: "T"
-              chunk 1 (middle anchor) text run 2 at (38.60,26.82) startOffset 1 endOffset 2 width 9.00: "e"
-              chunk 1 (middle anchor) text run 3 at (45.38,20.94) startOffset 2 endOffset 3 width 9.00: "x"
-              chunk 1 (middle anchor) text run 4 at (51.48,17.48) startOffset 3 endOffset 4 width 5.00: "t"
-              chunk 1 (middle anchor) text run 5 at (56.11,15.61) startOffset 4 endOffset 5 width 5.00: " "
-            LayoutSVGTSpan {tspan} at (15.55,-14.59) size 118.95x56.45
-              LayoutSVGInlineText {#text} at (53.16,-14.59) size 23.95x24.31
-                chunk 1 (middle anchor) text run 1 at (63.35,13.64) startOffset 0 endOffset 1 width 10.00: "o"
-                chunk 1 (middle anchor) text run 2 at (72.80,12.54) startOffset 1 endOffset 2 width 9.00: "n"
-            LayoutSVGTSpan {tspan} at (15.55,-14.59) size 118.95x56.45
-              LayoutSVGInlineText {#text} at (76.91,-4.45) size 57.58x46.23
-                chunk 1 (middle anchor) text run 1 at (79.81,12.69) startOffset 0 endOffset 1 width 5.00: " "
-                chunk 1 (middle anchor) text run 2 at (86.75,13.66) startOffset 1 endOffset 2 width 9.00: "a"
-                chunk 1 (middle anchor) text run 3 at (93.52,15.48) startOffset 2 endOffset 3 width 5.00: " "
-                chunk 1 (middle anchor) text run 4 at (100.86,18.66) startOffset 3 endOffset 4 width 11.00: "P"
-                chunk 1 (middle anchor) text run 5 at (109.01,24.41) startOffset 4 endOffset 5 width 9.00: "a"
-                chunk 1 (middle anchor) text run 6 at (113.66,29.61) startOffset 5 endOffset 6 width 5.00: "t"
-                chunk 1 (middle anchor) text run 7 at (117.13,35.66) startOffset 6 endOffset 7 width 9.00: "h"
+              chunk 1 (middle anchor) text run 2 at (38.73,26.67) startOffset 1 endOffset 2 width 9.00: "e"
+              chunk 1 (middle anchor) text run 3 at (45.55,20.83) startOffset 2 endOffset 3 width 9.00: "x"
+              chunk 1 (middle anchor) text run 4 at (51.66,17.40) startOffset 3 endOffset 4 width 5.00: "t"
+              chunk 1 (middle anchor) text run 5 at (56.30,15.54) startOffset 4 endOffset 5 width 5.00: " "
+            LayoutSVGTSpan {tspan} at (15.45,-14.59) size 119.13x56.64
+              LayoutSVGInlineText {#text} at (53.44,-14.59) size 23.88x24.25
+                chunk 1 (middle anchor) text run 1 at (63.55,13.60) startOffset 0 endOffset 1 width 10.00: "o"
+                chunk 1 (middle anchor) text run 2 at (73.00,12.53) startOffset 1 endOffset 2 width 9.00: "n"
+            LayoutSVGTSpan {tspan} at (15.45,-14.59) size 119.13x56.64
+              LayoutSVGInlineText {#text} at (77.09,-4.44) size 57.48x46.39
+                chunk 1 (middle anchor) text run 1 at (80.00,12.71) startOffset 0 endOffset 1 width 5.00: " "
+                chunk 1 (middle anchor) text run 2 at (86.95,13.70) startOffset 1 endOffset 2 width 9.00: "a"
+                chunk 1 (middle anchor) text run 3 at (93.70,15.54) startOffset 2 endOffset 3 width 5.00: " "
+                chunk 1 (middle anchor) text run 4 at (101.03,18.75) startOffset 3 endOffset 4 width 11.00: "P"
+                chunk 1 (middle anchor) text run 5 at (109.16,24.55) startOffset 4 endOffset 5 width 9.00: "a"
+                chunk 1 (middle anchor) text run 6 at (113.78,29.77) startOffset 5 endOffset 6 width 5.00: "t"
+                chunk 1 (middle anchor) text run 7 at (117.21,35.84) startOffset 6 endOffset 7 width 9.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 70.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 70.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 70.82: "startOffset=\"50%\""
+        LayoutSVGText {text} at (35,50) size 71x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 71x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 71.00: "startOffset=\"50%\""
         LayoutSVGText {text} at (34,60) size 87x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 87x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 20 width 86.00: "text-anchor=\"middle\""
-      LayoutSVGContainer {g} at (22.70,-14.59) size 114.42x86.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,170.00)}]
+      LayoutSVGContainer {g} at (22.41,-14.59) size 114.73x86.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,170.00)}]
         LayoutSVGContainer {use} at (30,12.50) size 90x37.50
           LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 100 C 100 0 400 0 400 100"]
-        LayoutSVGText {text} at (22.70,-14.59) size 114.42x65.03 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (22.70,-14.59) size 114.42x65.03
-            LayoutSVGInlineText {#text} at (22.70,-4) size 46.47x37.84
-              chunk 1 (end anchor) text run 1 at (38.83,26.57) startOffset 0 endOffset 1 width 12.00: "T"
+        LayoutSVGText {text} at (22.41,-14.59) size 114.73x65.03 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (22.41,-14.59) size 114.73x65.03
+            LayoutSVGInlineText {#text} at (22.41,-4) size 46.78x38.14
+              chunk 1 (end anchor) text run 1 at (38.69,26.71) startOffset 0 endOffset 1 width 12.00: "T"
               chunk 1 (end anchor) text run 2 at (46.33,20.31) startOffset 1 endOffset 2 width 9.00: "e"
               chunk 1 (end anchor) text run 3 at (54.36,16.25) startOffset 2 endOffset 3 width 9.00: "x"
               chunk 1 (end anchor) text run 4 at (61.05,14.15) startOffset 3 endOffset 4 width 5.00: "t"
               chunk 1 (end anchor) text run 5 at (65.97,13.18) startOffset 4 endOffset 5 width 5.00: " "
-            LayoutSVGTSpan {tspan} at (22.70,-14.59) size 114.42x65.03
+            LayoutSVGTSpan {tspan} at (22.41,-14.59) size 114.73x65.03
               LayoutSVGInlineText {#text} at (67.73,-14.59) size 23.19x23.25
                 chunk 1 (end anchor) text run 1 at (73.44,12.52) startOffset 0 endOffset 1 width 10.00: "o"
                 chunk 1 (end anchor) text run 2 at (82.93,13.02) startOffset 1 endOffset 2 width 9.00: "n"
-            LayoutSVGTSpan {tspan} at (22.70,-14.59) size 114.42x65.03
+            LayoutSVGTSpan {tspan} at (22.41,-14.59) size 114.73x65.03
               LayoutSVGInlineText {#text} at (86.13,-2.70) size 51x53.14
                 chunk 1 (end anchor) text run 1 at (89.81,14.37) startOffset 0 endOffset 1 width 5.00: " "
                 chunk 1 (end anchor) text run 2 at (96.47,16.58) startOffset 1 endOffset 2 width 9.00: "a"
@@ -170,67 +170,67 @@
                 chunk 1 (end anchor) text run 6 at (118.25,38.60) startOffset 5 endOffset 6 width 5.00: "t"
                 chunk 1 (end anchor) text run 7 at (119.73,45.38) startOffset 6 endOffset 7 width 9.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 75.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 75.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 18 width 75.82: "startOffset=\"100%\""
+        LayoutSVGText {text} at (35,50) size 76x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 76x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 18 width 76.00: "startOffset=\"100%\""
         LayoutSVGText {text} at (34,60) size 73x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 73x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 17 width 72.00: "text-anchor=\"end\""
-      LayoutSVGContainer {g} at (30,-13.48) size 107.25x85.48 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,270.00)}]
+      LayoutSVGContainer {g} at (30,-13.39) size 107.25x85.39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,270.00)}]
         LayoutSVGContainer {use} at (30,12.50) size 90x37.50
           LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 100 C 100 0 400 0 400 100"]
-        LayoutSVGText {text} at (38.36,-13.48) size 98.89x65.55 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (38.36,-13.48) size 98.89x65.55
-            LayoutSVGInlineText {#text} at (38.36,-4.53) size 46.36x29.25
-              chunk 1 text run 1 at (50.63,17.89) startOffset 0 endOffset 1 width 12.00: "T"
-              chunk 1 text run 2 at (59.81,14.47) startOffset 1 endOffset 2 width 9.00: "e"
-              chunk 1 text run 3 at (68.66,12.83) startOffset 2 endOffset 3 width 9.00: "x"
-              chunk 1 text run 4 at (75.66,12.50) startOffset 3 endOffset 4 width 5.00: "t"
-              chunk 1 text run 5 at (80.66,12.76) startOffset 4 endOffset 5 width 5.00: " "
-            LayoutSVGTSpan {tspan} at (38.36,-13.48) size 98.89x65.55
-              LayoutSVGInlineText {#text} at (84.30,-13.48) size 27.58x27.52
-                chunk 1 text run 1 at (88.08,13.94) startOffset 0 endOffset 1 width 10.00: "o"
-                chunk 1 text run 2 at (97.12,16.86) startOffset 1 endOffset 2 width 9.00: "n"
-            LayoutSVGTSpan {tspan} at (38.36,-13.48) size 98.89x65.55
-              LayoutSVGInlineText {#text} at (98.55,4.36) size 38.70x47.69
-                chunk 1 text run 1 at (103.33,20.10) startOffset 0 endOffset 1 width 5.00: " "
-                chunk 1 text run 2 at (108.91,24.31) startOffset 1 endOffset 2 width 9.00: "a"
-                chunk 1 text run 3 at (113.58,29.50) startOffset 2 endOffset 3 width 5.00: " "
-                chunk 1 text run 4 at (117.46,36.45) startOffset 3 endOffset 4 width 11.00: "P"
-                chunk 1 text run 5 at (119.81,46.09) startOffset 4 endOffset 5 width 9.00: "a"
+        LayoutSVGText {text} at (38.42,-13.39) size 98.83x65.80 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (38.42,-13.39) size 98.83x65.80
+            LayoutSVGInlineText {#text} at (38.42,-4.56) size 46.81x29.27
+              chunk 1 text run 1 at (50.81,17.80) startOffset 0 endOffset 1 width 12.00: "T"
+              chunk 1 text run 2 at (60.19,14.37) startOffset 1 endOffset 2 width 9.00: "e"
+              chunk 1 text run 3 at (69.05,12.79) startOffset 2 endOffset 3 width 9.00: "x"
+              chunk 1 text run 4 at (76.06,12.51) startOffset 3 endOffset 4 width 5.00: "t"
+              chunk 1 text run 5 at (81.06,12.80) startOffset 4 endOffset 5 width 5.00: " "
+            LayoutSVGTSpan {tspan} at (38.42,-13.39) size 98.83x65.80
+              LayoutSVGInlineText {#text} at (84.73,-13.39) size 27.70x27.63
+                chunk 1 text run 1 at (88.47,14.03) startOffset 0 endOffset 1 width 10.00: "o"
+                chunk 1 text run 2 at (97.48,17.02) startOffset 1 endOffset 2 width 9.00: "n"
+            LayoutSVGTSpan {tspan} at (38.42,-13.39) size 98.83x65.80
+              LayoutSVGInlineText {#text} at (98.86,4.64) size 38.39x47.77
+                chunk 1 text run 1 at (103.67,20.31) startOffset 0 endOffset 1 width 5.00: " "
+                chunk 1 text run 2 at (109.20,24.58) startOffset 1 endOffset 2 width 9.00: "a"
+                chunk 1 text run 3 at (113.81,29.82) startOffset 2 endOffset 3 width 5.00: " "
+                chunk 1 text run 4 at (117.60,36.81) startOffset 3 endOffset 4 width 11.00: "P"
+                chunk 1 text run 5 at (119.85,46.49) startOffset 4 endOffset 5 width 9.00: "a"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 62.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 62.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 62.82: "startOffset=\"35\""
+        LayoutSVGText {text} at (35,50) size 63x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 63x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 63.00: "startOffset=\"35\""
         LayoutSVGText {text} at (34,60) size 76x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 76x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 19 width 75.00: "text-anchor=\"start\""
-      LayoutSVGContainer {g} at (12.83,-4.69) size 108.17x76.69 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,270.00)}]
+      LayoutSVGContainer {g} at (12.83,-4.67) size 108.17x76.67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,270.00)}]
         LayoutSVGContainer {use} at (30,12.50) size 90x37.50
           LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 100 C 100 0 400 0 400 100"]
-        LayoutSVGText {text} at (12.83,-4.69) size 92.33x55.73 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (12.83,-4.69) size 92.33x55.73
-            LayoutSVGInlineText {#text} at (12.83,25) size 26.09x26.03
-              chunk 1 (middle anchor) text run 1 at (30.19,46.08) startOffset 2 endOffset 3 width 9.00: "x"
-              chunk 1 (middle anchor) text run 2 at (31.54,39.27) startOffset 3 endOffset 4 width 5.00: "t"
-              chunk 1 (middle anchor) text run 3 at (33.35,34.63) startOffset 4 endOffset 5 width 5.00: " "
-            LayoutSVGTSpan {tspan} at (12.83,-4.69) size 92.33x55.73
-              LayoutSVGInlineText {#text} at (13.14,-2.66) size 31.72x31.73
-                chunk 1 (middle anchor) text run 1 at (37.34,28.30) startOffset 0 endOffset 1 width 10.00: "o"
-                chunk 1 (middle anchor) text run 2 at (44.21,21.77) startOffset 1 endOffset 2 width 9.00: "n"
-            LayoutSVGTSpan {tspan} at (12.83,-4.69) size 92.33x55.73
-              LayoutSVGInlineText {#text} at (40.27,-4.69) size 64.88x28.39
-                chunk 1 (middle anchor) text run 1 at (50.18,18.12) startOffset 0 endOffset 1 width 5.00: " "
-                chunk 1 (middle anchor) text run 2 at (56.64,15.43) startOffset 1 endOffset 2 width 9.00: "a"
-                chunk 1 (middle anchor) text run 3 at (63.40,13.63) startOffset 2 endOffset 3 width 5.00: " "
-                chunk 1 (middle anchor) text run 4 at (71.35,12.61) startOffset 3 endOffset 4 width 11.00: "P"
-                chunk 1 (middle anchor) text run 5 at (81.36,12.83) startOffset 4 endOffset 5 width 9.00: "a"
-                chunk 1 (middle anchor) text run 6 at (88.27,13.99) startOffset 5 endOffset 6 width 5.00: "t"
-                chunk 1 (middle anchor) text run 7 at (94.99,16.00) startOffset 6 endOffset 7 width 9.00: "h"
+        LayoutSVGText {text} at (12.83,-4.67) size 92.56x55.56 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (12.83,-4.67) size 92.56x55.56
+            LayoutSVGInlineText {#text} at (12.83,24.75) size 26.19x26.13
+              chunk 1 (middle anchor) text run 1 at (30.21,45.88) startOffset 2 endOffset 3 width 9.00: "x"
+              chunk 1 (middle anchor) text run 2 at (31.60,39.08) startOffset 3 endOffset 4 width 5.00: "t"
+              chunk 1 (middle anchor) text run 3 at (33.43,34.45) startOffset 4 endOffset 5 width 5.00: " "
+            LayoutSVGTSpan {tspan} at (12.83,-4.67) size 92.56x55.56
+              LayoutSVGInlineText {#text} at (13.34,-2.84) size 31.72x31.70
+                chunk 1 (middle anchor) text run 1 at (37.46,28.14) startOffset 0 endOffset 1 width 10.00: "o"
+                chunk 1 (middle anchor) text run 2 at (44.37,21.65) startOffset 1 endOffset 2 width 9.00: "n"
+            LayoutSVGTSpan {tspan} at (12.83,-4.67) size 92.56x55.56
+              LayoutSVGInlineText {#text} at (40.52,-4.67) size 64.88x28.30
+                chunk 1 (middle anchor) text run 1 at (50.36,18.03) startOffset 0 endOffset 1 width 5.00: " "
+                chunk 1 (middle anchor) text run 2 at (56.83,15.36) startOffset 1 endOffset 2 width 9.00: "a"
+                chunk 1 (middle anchor) text run 3 at (63.60,13.59) startOffset 2 endOffset 3 width 5.00: " "
+                chunk 1 (middle anchor) text run 4 at (71.55,12.60) startOffset 3 endOffset 4 width 11.00: "P"
+                chunk 1 (middle anchor) text run 5 at (81.55,12.86) startOffset 4 endOffset 5 width 9.00: "a"
+                chunk 1 (middle anchor) text run 6 at (88.47,14.03) startOffset 5 endOffset 6 width 5.00: "t"
+                chunk 1 (middle anchor) text run 7 at (95.17,16.07) startOffset 6 endOffset 7 width 9.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 62.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 62.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 62.82: "startOffset=\"35\""
+        LayoutSVGText {text} at (35,50) size 63x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 63x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 63.00: "startOffset=\"35\""
         LayoutSVGText {text} at (34,60) size 87x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 87x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 20 width 86.00: "text-anchor=\"middle\""
@@ -249,9 +249,9 @@
                 chunk 1 (end anchor) text run 3 at (37.46,28.14) startOffset 5 endOffset 6 width 5.00: "t"
                 chunk 1 (end anchor) text run 4 at (42.39,23.19) startOffset 6 endOffset 7 width 9.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 62.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 62.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 62.82: "startOffset=\"35\""
+        LayoutSVGText {text} at (35,50) size 63x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 63x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 63.00: "startOffset=\"35\""
         LayoutSVGText {text} at (34,60) size 73x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 73x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 17 width 72.00: "text-anchor=\"end\""
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath2-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath2-expected.png
index 2152bc2..43e9a2ac 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath2-expected.txt
index d78c51c4..adc90f71 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath2-expected.txt
@@ -2,33 +2,33 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGText {text} at (112.38,25) size 225.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (112.38,25) size 225.22x18
-        chunk 1 (middle anchor) text run 1 at (112.39,40.00) startOffset 0 endOffset 34 width 225.23: "Text on Path with trailing <tspan>"
+    LayoutSVGText {text} at (112.50,25) size 225x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (112.50,25) size 225x18
+        chunk 1 (middle anchor) text run 1 at (112.50,40.00) startOffset 0 endOffset 34 width 225.00: "Text on Path with trailing <tspan>"
     LayoutSVGRect {rect} at (30,50) size 390x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=30.00] [y=50.00] [width=390.00] [height=20.00]
     LayoutSVGRect {rect} at (30,70) size 390x120 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=30.00] [y=70.00] [width=390.00] [height=120.00]
-    LayoutSVGText {text} at (40,51) size 313.02x16 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (40,51) size 313.02x16
-        chunk 1 text run 1 at (40.00,64.00) startOffset 0 endOffset 55 width 313.02: "Text with embedded textPath and multiple trailing tspan"
+    LayoutSVGText {text} at (40,51) size 313x16 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (40,51) size 313x16
+        chunk 1 text run 1 at (40.00,64.00) startOffset 0 endOffset 55 width 313.00: "Text with embedded textPath and multiple trailing tspan"
     LayoutSVGRect {rect} at (30,195) size 390x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=30.00] [y=195.00] [width=390.00] [height=20.00]
     LayoutSVGRect {rect} at (30,215) size 390x120 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=30.00] [y=215.00] [width=390.00] [height=120.00]
-    LayoutSVGText {text} at (40,196) size 177.73x16 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (40,196) size 177.73x16
-        chunk 1 text run 1 at (40.00,209.00) startOffset 0 endOffset 30 width 177.75: "textPath has startOffset=\"10%\""
+    LayoutSVGText {text} at (40,196) size 178x16 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (40,196) size 178x16
+        chunk 1 text run 1 at (40.00,209.00) startOffset 0 endOffset 30 width 178.00: "textPath has startOffset=\"10%\""
     LayoutSVGRect {rect} at (30,340) size 390x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=30.00] [y=340.00] [width=390.00] [height=20.00]
     LayoutSVGRect {rect} at (30,360) size 390x120 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=30.00] [y=360.00] [width=390.00] [height=120.00]
-    LayoutSVGText {text} at (40,341) size 232.73x16 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (40,341) size 232.73x16
-        chunk 1 text run 1 at (40.00,354.00) startOffset 0 endOffset 41 width 232.75: "textPath with startOffset and text-anchor"
+    LayoutSVGText {text} at (40,341) size 233x16 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (40,341) size 233x16
+        chunk 1 text run 1 at (40.00,354.00) startOffset 0 endOffset 41 width 233.00: "textPath with startOffset and text-anchor"
     LayoutSVGHiddenContainer {defs} at (100,-93.75) size 140x93.75
       LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
-    LayoutSVGContainer {g} at (10,-118.80) size 381.84x122.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,185.00)}]
+    LayoutSVGContainer {g} at (10,-118.80) size 382.13x122.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,185.00)}]
       LayoutSVGContainer {use} at (100,-93.75) size 140x93.75
         LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
-      LayoutSVGText {text} at (10,-118.80) size 381.84x122.80 contains 1 chunk(s)
+      LayoutSVGText {text} at (10,-118.80) size 382.13x122.80 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,-15) size 80x19
           chunk 1 text run 1 at (10.00,0.00) startOffset 0 endOffset 14 width 80.00: "This is simple"
-        LayoutSVGTextPath {textPath} at (10,-118.80) size 381.84x122.80
+        LayoutSVGTextPath {textPath} at (10,-118.80) size 382.13x122.80
           LayoutSVGInlineText {#text} at (84.98,-85.72) size 44.53x85.70
             chunk 1 text run 1 at (100.01,-2.05) startOffset 0 endOffset 1 width 4.00: "t"
             chunk 1 text run 2 at (100.18,-7.58) startOffset 1 endOffset 2 width 7.00: "e"
@@ -44,7 +44,7 @@
             chunk 1 text run 12 at (117.39,-64.42) startOffset 11 endOffset 12 width 7.00: "a"
             chunk 1 text run 13 at (120.61,-68.77) startOffset 12 endOffset 13 width 4.00: "t"
             chunk 1 text run 14 at (124.21,-72.96) startOffset 13 endOffset 14 width 7.00: "h"
-          LayoutSVGTSpan {tspan} at (10,-118.80) size 381.84x122.80
+          LayoutSVGTSpan {tspan} at (10,-118.80) size 382.13x122.80
             LayoutSVGInlineText {#text} at (110.47,-118.80) size 85.53x38.56
               chunk 1 text run 1 at (130.72,-79.15) startOffset 0 endOffset 1 width 11.00: "w"
               chunk 1 text run 2 at (136.34,-83.36) startOffset 1 endOffset 2 width 3.00: "i"
@@ -57,7 +57,7 @@
               chunk 1 text run 9 at (172.75,-93.69) startOffset 8 endOffset 9 width 4.00: "t"
               chunk 1 text run 10 at (178.23,-93.17) startOffset 9 endOffset 10 width 7.00: "e"
               chunk 1 text run 11 at (185.57,-91.66) startOffset 10 endOffset 11 width 8.00: "d"
-          LayoutSVGTSpan {tspan} at (10,-118.80) size 381.84x122.80
+          LayoutSVGTSpan {tspan} at (10,-118.80) size 382.13x122.80
             LayoutSVGInlineText {#text} at (187.95,-104.52) size 41.59x37.20
               chunk 1 text run 1 at (191.27,-89.79) startOffset 0 endOffset 1 width 4.00: " "
               chunk 1 text run 2 at (194.99,-88.22) startOffset 1 endOffset 2 width 4.00: "t"
@@ -67,18 +67,18 @@
               chunk 1 text run 6 at (216.14,-72.58) startOffset 5 endOffset 6 width 7.00: "n"
         LayoutSVGInlineText {#text} at (223.13,-87.58) size 29x19
           chunk 1 text run 1 at (223.14,-72.58) startOffset 0 endOffset 5 width 29.00: " xxx "
-        LayoutSVGTSpan {tspan} at (10,-118.80) size 381.84x122.80
+        LayoutSVGTSpan {tspan} at (10,-118.80) size 382.13x122.80
           LayoutSVGInlineText {#text} at (262.13,-87.58) size 46x19
             chunk 1 text run 1 at (262.14,-72.58) startOffset 0 endOffset 9 width 46.00: "all with "
-        LayoutSVGInlineText {#text} at (308.13,-87.58) size 83.70x19
-          chunk 1 text run 1 at (308.14,-72.58) startOffset 0 endOffset 16 width 83.71: "different links."
-    LayoutSVGContainer {g} at (10,-118.78) size 395.89x122.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,330.00)}]
+        LayoutSVGInlineText {#text} at (308.13,-87.58) size 84x19
+          chunk 1 text run 1 at (308.14,-72.58) startOffset 0 endOffset 16 width 84.00: "different links."
+    LayoutSVGContainer {g} at (10,-118.78) size 396.17x122.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,330.00)}]
       LayoutSVGContainer {use} at (100,-93.75) size 140x93.75
         LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
-      LayoutSVGText {text} at (10,-118.78) size 395.89x122.78 contains 1 chunk(s)
+      LayoutSVGText {text} at (10,-118.78) size 396.17x122.78 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,-15) size 80x19
           chunk 1 text run 1 at (10.00,0.00) startOffset 0 endOffset 14 width 80.00: "This is simple"
-        LayoutSVGTextPath {textPath} at (10,-118.78) size 395.89x122.78
+        LayoutSVGTextPath {textPath} at (10,-118.78) size 396.17x122.78
           LayoutSVGInlineText {#text} at (87.55,-103.33) size 62.36x77.95
             chunk 1 text run 1 at (102.65,-28.13) startOffset 0 endOffset 1 width 4.00: "t"
             chunk 1 text run 2 at (103.87,-33.53) startOffset 1 endOffset 2 width 7.00: "e"
@@ -94,7 +94,7 @@
             chunk 1 text run 12 at (135.55,-82.82) startOffset 11 endOffset 12 width 7.00: "a"
             chunk 1 text run 13 at (140.21,-85.76) startOffset 12 endOffset 13 width 4.00: "t"
             chunk 1 text run 14 at (145.06,-88.25) startOffset 13 endOffset 14 width 7.00: "h"
-          LayoutSVGTSpan {tspan} at (10,-118.78) size 395.89x122.78
+          LayoutSVGTSpan {tspan} at (10,-118.78) size 396.17x122.78
             LayoutSVGInlineText {#text} at (141.28,-118.78) size 86.14x36.91
               chunk 1 text run 1 at (153.52,-91.40) startOffset 0 endOffset 1 width 11.00: "w"
               chunk 1 text run 2 at (160.34,-92.95) startOffset 1 endOffset 2 width 3.00: "i"
@@ -107,7 +107,7 @@
               chunk 1 text run 9 at (197.70,-86.89) startOffset 8 endOffset 9 width 4.00: "t"
               chunk 1 text run 10 at (202.44,-84.16) startOffset 9 endOffset 10 width 7.00: "e"
               chunk 1 text run 11 at (208.57,-79.74) startOffset 10 endOffset 11 width 8.00: "d"
-          LayoutSVGTSpan {tspan} at (10,-118.78) size 395.89x122.78
+          LayoutSVGTSpan {tspan} at (10,-118.78) size 396.17x122.78
             LayoutSVGInlineText {#text} at (208.78,-87.98) size 36.50x41.94
               chunk 1 text run 1 at (213.00,-75.81) startOffset 0 endOffset 1 width 4.00: " "
               chunk 1 text run 2 at (215.83,-72.92) startOffset 1 endOffset 2 width 4.00: "t"
@@ -117,18 +117,18 @@
               chunk 1 text run 6 at (230.18,-50.88) startOffset 5 endOffset 6 width 7.00: "n"
         LayoutSVGInlineText {#text} at (237.17,-65.88) size 29x19
           chunk 1 text run 1 at (237.18,-50.88) startOffset 0 endOffset 5 width 29.00: " xxx "
-        LayoutSVGTSpan {tspan} at (10,-118.78) size 395.89x122.78
+        LayoutSVGTSpan {tspan} at (10,-118.78) size 396.17x122.78
           LayoutSVGInlineText {#text} at (276.17,-65.88) size 46x19
             chunk 1 text run 1 at (276.18,-50.88) startOffset 0 endOffset 9 width 46.00: "all with "
-        LayoutSVGInlineText {#text} at (322.17,-65.88) size 83.70x19
-          chunk 1 text run 1 at (322.18,-50.88) startOffset 0 endOffset 16 width 83.71: "different links."
-    LayoutSVGContainer {g} at (10,-118.89) size 399.94x122.89 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,475.00)}]
+        LayoutSVGInlineText {#text} at (322.17,-65.88) size 84x19
+          chunk 1 text run 1 at (322.18,-50.88) startOffset 0 endOffset 16 width 84.00: "different links."
+    LayoutSVGContainer {g} at (10,-118.89) size 400.22x122.89 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,475.00)}]
       LayoutSVGContainer {use} at (100,-93.75) size 140x93.75
         LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
-      LayoutSVGText {text} at (10,-118.89) size 399.94x122.89 contains 1 chunk(s)
+      LayoutSVGText {text} at (10,-118.89) size 400.22x122.89 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,-15) size 80x19
           chunk 1 text run 1 at (10.00,0.00) startOffset 0 endOffset 14 width 80.00: "This is simple"
-        LayoutSVGTextPath {textPath} at (10,-118.89) size 399.94x122.89
+        LayoutSVGTextPath {textPath} at (10,-118.89) size 400.22x122.89
           LayoutSVGInlineText {#text} at (90.41,-107.36) size 69.58x71.56
             chunk 1 (middle anchor) text run 1 at (105.34,-38.88) startOffset 0 endOffset 1 width 4.00: "t"
             chunk 1 (middle anchor) text run 2 at (107.09,-44.13) startOffset 1 endOffset 2 width 7.00: "e"
@@ -144,7 +144,7 @@
             chunk 1 (middle anchor) text run 12 at (145.24,-88.33) startOffset 11 endOffset 12 width 7.00: "a"
             chunk 1 (middle anchor) text run 13 at (150.39,-90.40) startOffset 12 endOffset 13 width 4.00: "t"
             chunk 1 (middle anchor) text run 14 at (155.63,-91.97) startOffset 13 endOffset 14 width 7.00: "h"
-          LayoutSVGTSpan {tspan} at (10,-118.89) size 399.94x122.89
+          LayoutSVGTSpan {tspan} at (10,-118.89) size 400.22x122.89
             LayoutSVGInlineText {#text} at (156.69,-118.89) size 81.25x45.86
               chunk 1 (middle anchor) text run 1 at (164.51,-93.49) startOffset 0 endOffset 1 width 11.00: "w"
               chunk 1 (middle anchor) text run 2 at (171.50,-93.73) startOffset 1 endOffset 2 width 3.00: "i"
@@ -157,7 +157,7 @@
               chunk 1 (middle anchor) text run 9 at (207.17,-80.84) startOffset 8 endOffset 9 width 4.00: "t"
               chunk 1 (middle anchor) text run 10 at (211.33,-77.38) startOffset 9 endOffset 10 width 7.00: "e"
               chunk 1 (middle anchor) text run 11 at (216.65,-72.01) startOffset 10 endOffset 11 width 8.00: "d"
-          LayoutSVGTSpan {tspan} at (10,-118.89) size 399.94x122.89
+          LayoutSVGTSpan {tspan} at (10,-118.89) size 400.22x122.89
             LayoutSVGInlineText {#text} at (216.03,-78.08) size 33.53x42.38
               chunk 1 (middle anchor) text run 1 at (220.44,-67.42) startOffset 0 endOffset 1 width 4.00: " "
               chunk 1 (middle anchor) text run 2 at (222.75,-64.21) startOffset 1 endOffset 2 width 4.00: "t"
@@ -167,8 +167,8 @@
               chunk 1 (middle anchor) text run 6 at (234.23,-40.25) startOffset 5 endOffset 6 width 7.00: "n"
         LayoutSVGInlineText {#text} at (241.22,-55.23) size 29x19
           chunk 1 text run 1 at (241.23,-40.25) startOffset 0 endOffset 5 width 29.00: " xxx "
-        LayoutSVGTSpan {tspan} at (10,-118.89) size 399.94x122.89
+        LayoutSVGTSpan {tspan} at (10,-118.89) size 400.22x122.89
           LayoutSVGInlineText {#text} at (280.22,-55.23) size 46x19
             chunk 1 text run 1 at (280.23,-40.25) startOffset 0 endOffset 9 width 46.00: "all with "
-        LayoutSVGInlineText {#text} at (326.22,-55.23) size 83.70x19
-          chunk 1 text run 1 at (326.23,-40.25) startOffset 0 endOffset 16 width 83.71: "different links."
+        LayoutSVGInlineText {#text} at (326.22,-55.23) size 84x19
+          chunk 1 text run 1 at (326.23,-40.25) startOffset 0 endOffset 16 width 84.00: "different links."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath3-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath3-expected.png
index 71f78beb..33ef4ea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath3-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath3-expected.txt
index 4c646a8..89d32ca 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPath3-expected.txt
@@ -2,116 +2,116 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGText {text} at (107.88,25) size 234.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (107.88,25) size 234.22x18
-        chunk 1 (middle anchor) text run 1 at (107.89,40.00) startOffset 0 endOffset 38 width 234.23: "Text on Path with for text with an 'x'"
+    LayoutSVGText {text} at (108,25) size 234x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (108,25) size 234x18
+        chunk 1 (middle anchor) text run 1 at (108.00,40.00) startOffset 0 endOffset 38 width 234.00: "Text on Path with for text with an 'x'"
     LayoutSVGHiddenContainer {defs} at (100,-93.75) size 140x93.75
       LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
     LayoutSVGContainer {g} at (-10,-135) size 390x140 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,185.00)}]
       LayoutSVGRect {rect} at (-10,-135) size 390x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=-10.00] [y=-135.00] [width=390.00] [height=20.00]
       LayoutSVGRect {rect} at (-10,-115) size 390x120 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=-10.00] [y=-115.00] [width=390.00] [height=120.00]
-      LayoutSVGText {text} at (-10,-133) size 226.02x16 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (-10,-133) size 226.02x16
-          chunk 1 text run 1 at (-10.00,-120.00) startOffset 0 endOffset 39 width 226.02: "Text with one textPath child and x=\"10\""
+      LayoutSVGText {text} at (-10,-133) size 226x16 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (-10,-133) size 226x16
+          chunk 1 text run 1 at (-10.00,-120.00) startOffset 0 endOffset 39 width 226.00: "Text with one textPath child and x=\"10\""
       LayoutSVGContainer {use} at (100,-93.75) size 140x93.75
         LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
-      LayoutSVGText {text} at (97.19,-108.77) size 153.38x76.06 contains 1 chunk(s)
-        LayoutSVGTextPath {textPath} at (97.19,-108.77) size 153.38x76.06
-          LayoutSVGInlineText {#text} at (97.19,-108.77) size 153.38x76.06
+      LayoutSVGText {text} at (97.16,-108.77) size 153.42x76.13 contains 1 chunk(s)
+        LayoutSVGTextPath {textPath} at (97.16,-108.77) size 153.42x76.13
+          LayoutSVGInlineText {#text} at (97.16,-108.77) size 153.42x76.13
             chunk 1 (middle anchor) text run 1 at (112.30,-55.97) startOffset 0 endOffset 1 width 9.00: "T"
-            chunk 1 (middle anchor) text run 2 at (116.11,-62.49) startOffset 1 endOffset 2 width 7.00: "e"
-            chunk 1 (middle anchor) text run 3 at (120.13,-68.15) startOffset 2 endOffset 3 width 7.00: "x"
-            chunk 1 (middle anchor) text run 4 at (123.65,-72.35) startOffset 3 endOffset 4 width 4.00: "t"
-            chunk 1 (middle anchor) text run 5 at (126.46,-75.28) startOffset 4 endOffset 5 width 4.00: " "
-            chunk 1 (middle anchor) text run 6 at (130.86,-79.27) startOffset 5 endOffset 6 width 8.00: "o"
-            chunk 1 (middle anchor) text run 7 at (136.92,-83.75) startOffset 6 endOffset 7 width 7.00: "n"
-            chunk 1 (middle anchor) text run 8 at (141.64,-86.54) startOffset 7 endOffset 8 width 4.00: " "
-            chunk 1 (middle anchor) text run 9 at (146.58,-88.92) startOffset 8 endOffset 9 width 7.00: "a"
-            chunk 1 (middle anchor) text run 10 at (151.75,-90.86) startOffset 9 endOffset 10 width 4.00: " "
-            chunk 1 (middle anchor) text run 11 at (157.51,-92.41) startOffset 10 endOffset 11 width 8.00: "p"
-            chunk 1 (middle anchor) text run 12 at (164.95,-93.53) startOffset 11 endOffset 12 width 7.00: "a"
-            chunk 1 (middle anchor) text run 13 at (170.44,-93.75) startOffset 12 endOffset 13 width 4.00: "t"
-            chunk 1 (middle anchor) text run 14 at (175.93,-93.45) startOffset 13 endOffset 14 width 7.00: "h"
-            chunk 1 (middle anchor) text run 15 at (181.38,-92.64) startOffset 14 endOffset 15 width 4.00: " "
-            chunk 1 (middle anchor) text run 16 at (185.27,-91.74) startOffset 15 endOffset 16 width 4.00: "f"
-            chunk 1 (middle anchor) text run 17 at (190.97,-89.90) startOffset 16 endOffset 17 width 8.00: "o"
-            chunk 1 (middle anchor) text run 18 at (196.95,-87.28) startOffset 17 endOffset 18 width 5.00: "r"
-            chunk 1 (middle anchor) text run 19 at (200.86,-85.13) startOffset 18 endOffset 19 width 4.00: " "
-            chunk 1 (middle anchor) text run 20 at (204.24,-82.97) startOffset 19 endOffset 20 width 4.00: "t"
-            chunk 1 (middle anchor) text run 21 at (208.67,-79.65) startOffset 20 endOffset 21 width 7.00: "e"
-            chunk 1 (middle anchor) text run 22 at (213.82,-75.01) startOffset 21 endOffset 22 width 7.00: "x"
-            chunk 1 (middle anchor) text run 23 at (217.63,-70.90) startOffset 22 endOffset 23 width 4.00: "t"
-            chunk 1 (middle anchor) text run 24 at (220.10,-67.85) startOffset 23 endOffset 24 width 4.00: " "
-            chunk 1 (middle anchor) text run 25 at (224.38,-61.73) startOffset 24 endOffset 25 width 11.00: "w"
-            chunk 1 (middle anchor) text run 26 at (228.12,-55.16) startOffset 25 endOffset 26 width 4.00: "/"
-            chunk 1 (middle anchor) text run 27 at (229.83,-51.66) startOffset 26 endOffset 27 width 4.00: " "
-            chunk 1 (middle anchor) text run 28 at (231.23,-48.46) startOffset 27 endOffset 28 width 3.00: "'"
-            chunk 1 (middle anchor) text run 29 at (233.07,-43.70) startOffset 28 endOffset 29 width 7.00: "x"
-            chunk 1 (middle anchor) text run 30 at (234.64,-38.94) startOffset 29 endOffset 30 width 3.00: "'"
-            chunk 1 (middle anchor) text run 31 at (235.58,-35.68) startOffset 30 endOffset 31 width 4.00: "."
+            chunk 1 (middle anchor) text run 2 at (116.14,-62.54) startOffset 1 endOffset 2 width 7.00: "e"
+            chunk 1 (middle anchor) text run 3 at (120.16,-68.19) startOffset 2 endOffset 3 width 7.00: "x"
+            chunk 1 (middle anchor) text run 4 at (123.69,-72.40) startOffset 3 endOffset 4 width 4.00: "t"
+            chunk 1 (middle anchor) text run 5 at (126.50,-75.32) startOffset 4 endOffset 5 width 4.00: " "
+            chunk 1 (middle anchor) text run 6 at (130.91,-79.31) startOffset 5 endOffset 6 width 8.00: "o"
+            chunk 1 (middle anchor) text run 7 at (136.97,-83.78) startOffset 6 endOffset 7 width 7.00: "n"
+            chunk 1 (middle anchor) text run 8 at (141.69,-86.57) startOffset 7 endOffset 8 width 4.00: " "
+            chunk 1 (middle anchor) text run 9 at (146.63,-88.94) startOffset 8 endOffset 9 width 7.00: "a"
+            chunk 1 (middle anchor) text run 10 at (151.81,-90.88) startOffset 9 endOffset 10 width 4.00: " "
+            chunk 1 (middle anchor) text run 11 at (157.57,-92.42) startOffset 10 endOffset 11 width 8.00: "p"
+            chunk 1 (middle anchor) text run 12 at (165.01,-93.54) startOffset 11 endOffset 12 width 7.00: "a"
+            chunk 1 (middle anchor) text run 13 at (170.50,-93.75) startOffset 12 endOffset 13 width 4.00: "t"
+            chunk 1 (middle anchor) text run 14 at (175.99,-93.44) startOffset 13 endOffset 14 width 7.00: "h"
+            chunk 1 (middle anchor) text run 15 at (181.44,-92.63) startOffset 14 endOffset 15 width 4.00: " "
+            chunk 1 (middle anchor) text run 16 at (185.33,-91.72) startOffset 15 endOffset 16 width 4.00: "f"
+            chunk 1 (middle anchor) text run 17 at (191.03,-89.88) startOffset 16 endOffset 17 width 8.00: "o"
+            chunk 1 (middle anchor) text run 18 at (197.00,-87.25) startOffset 17 endOffset 18 width 5.00: "r"
+            chunk 1 (middle anchor) text run 19 at (200.91,-85.10) startOffset 18 endOffset 19 width 4.00: " "
+            chunk 1 (middle anchor) text run 20 at (204.29,-82.94) startOffset 19 endOffset 20 width 4.00: "t"
+            chunk 1 (middle anchor) text run 21 at (208.72,-79.62) startOffset 20 endOffset 21 width 7.00: "e"
+            chunk 1 (middle anchor) text run 22 at (213.86,-74.97) startOffset 21 endOffset 22 width 7.00: "x"
+            chunk 1 (middle anchor) text run 23 at (217.67,-70.85) startOffset 22 endOffset 23 width 4.00: "t"
+            chunk 1 (middle anchor) text run 24 at (220.14,-67.81) startOffset 23 endOffset 24 width 4.00: " "
+            chunk 1 (middle anchor) text run 25 at (224.41,-61.68) startOffset 24 endOffset 25 width 11.00: "w"
+            chunk 1 (middle anchor) text run 26 at (228.15,-55.11) startOffset 25 endOffset 26 width 4.00: "/"
+            chunk 1 (middle anchor) text run 27 at (229.85,-51.60) startOffset 26 endOffset 27 width 4.00: " "
+            chunk 1 (middle anchor) text run 28 at (231.25,-48.41) startOffset 27 endOffset 28 width 3.00: "'"
+            chunk 1 (middle anchor) text run 29 at (233.09,-43.64) startOffset 28 endOffset 29 width 7.00: "x"
+            chunk 1 (middle anchor) text run 30 at (234.66,-38.88) startOffset 29 endOffset 30 width 3.00: "'"
+            chunk 1 (middle anchor) text run 31 at (235.59,-35.63) startOffset 30 endOffset 31 width 4.00: "."
     LayoutSVGContainer {g} at (-10,-135) size 390x140 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,330.00)}]
       LayoutSVGRect {rect} at (-10,-135) size 390x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=-10.00] [y=-135.00] [width=390.00] [height=20.00]
       LayoutSVGRect {rect} at (-10,-115) size 390x120 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=-10.00] [y=-115.00] [width=390.00] [height=120.00]
-      LayoutSVGText {text} at (-10,-133) size 233.02x16 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (-10,-133) size 233.02x16
-          chunk 1 text run 1 at (-10.00,-120.00) startOffset 0 endOffset 40 width 233.02: "Text with one textPath child and x=\"100\""
+      LayoutSVGText {text} at (-10,-133) size 233x16 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (-10,-133) size 233x16
+          chunk 1 text run 1 at (-10.00,-120.00) startOffset 0 endOffset 40 width 233.00: "Text with one textPath child and x=\"100\""
       LayoutSVGContainer {use} at (100,-93.75) size 140x93.75
         LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
-      LayoutSVGText {text} at (182.30,-106.67) size 72.69x104.88 contains 1 chunk(s)
-        LayoutSVGTextPath {textPath} at (182.30,-106.67) size 72.69x104.88
-          LayoutSVGInlineText {#text} at (182.30,-106.67) size 72.69x104.88
+      LayoutSVGText {text} at (182.25,-106.69) size 72.73x104.95 contains 1 chunk(s)
+        LayoutSVGTextPath {textPath} at (182.25,-106.69) size 72.73x104.95
+          LayoutSVGInlineText {#text} at (182.25,-106.69) size 72.73x104.95
             chunk 1 (middle anchor) text run 1 at (187.24,-91.18) startOffset 0 endOffset 1 width 9.00: "T"
-            chunk 1 (middle anchor) text run 2 at (194.24,-88.56) startOffset 1 endOffset 2 width 7.00: "e"
-            chunk 1 (middle anchor) text run 3 at (200.43,-85.39) startOffset 2 endOffset 3 width 7.00: "x"
-            chunk 1 (middle anchor) text run 4 at (205.07,-82.39) startOffset 3 endOffset 4 width 4.00: "t"
-            chunk 1 (middle anchor) text run 5 at (208.29,-79.96) startOffset 4 endOffset 5 width 4.00: " "
-            chunk 1 (middle anchor) text run 6 at (212.74,-76.06) startOffset 5 endOffset 6 width 8.00: "o"
-            chunk 1 (middle anchor) text run 7 at (217.96,-70.50) startOffset 6 endOffset 7 width 7.00: "n"
-            chunk 1 (middle anchor) text run 8 at (221.28,-66.29) startOffset 7 endOffset 8 width 4.00: " "
-            chunk 1 (middle anchor) text run 9 at (224.38,-61.73) startOffset 8 endOffset 9 width 7.00: "a"
-            chunk 1 (middle anchor) text run 10 at (227.23,-56.86) startOffset 9 endOffset 10 width 4.00: " "
-            chunk 1 (middle anchor) text run 11 at (229.83,-51.66) startOffset 10 endOffset 11 width 8.00: "p"
-            chunk 1 (middle anchor) text run 12 at (232.72,-44.67) startOffset 11 endOffset 12 width 7.00: "a"
-            chunk 1 (middle anchor) text run 13 at (234.50,-39.39) startOffset 12 endOffset 13 width 4.00: "t"
-            chunk 1 (middle anchor) text run 14 at (235.95,-34.26) startOffset 13 endOffset 14 width 7.00: "h"
-            chunk 1 (middle anchor) text run 15 at (237.19,-28.89) startOffset 14 endOffset 15 width 4.00: " "
-            chunk 1 (middle anchor) text run 16 at (237.96,-24.84) startOffset 15 endOffset 16 width 4.00: "f"
-            chunk 1 (middle anchor) text run 17 at (238.86,-18.83) startOffset 16 endOffset 17 width 8.00: "o"
-            chunk 1 (middle anchor) text run 18 at (239.52,-12.32) startOffset 17 endOffset 18 width 5.00: "r"
-            chunk 1 (middle anchor) text run 19 at (239.81,-7.88) startOffset 18 endOffset 19 width 4.00: " "
-            chunk 1 (middle anchor) text run 20 at (239.95,-3.89) startOffset 19 endOffset 20 width 4.00: "t"
+            chunk 1 (middle anchor) text run 2 at (194.29,-88.54) startOffset 1 endOffset 2 width 7.00: "e"
+            chunk 1 (middle anchor) text run 3 at (200.48,-85.36) startOffset 2 endOffset 3 width 7.00: "x"
+            chunk 1 (middle anchor) text run 4 at (205.12,-82.36) startOffset 3 endOffset 4 width 4.00: "t"
+            chunk 1 (middle anchor) text run 5 at (208.34,-79.93) startOffset 4 endOffset 5 width 4.00: " "
+            chunk 1 (middle anchor) text run 6 at (212.78,-76.02) startOffset 5 endOffset 6 width 8.00: "o"
+            chunk 1 (middle anchor) text run 7 at (218.00,-70.46) startOffset 6 endOffset 7 width 7.00: "n"
+            chunk 1 (middle anchor) text run 8 at (221.32,-66.24) startOffset 7 endOffset 8 width 4.00: " "
+            chunk 1 (middle anchor) text run 9 at (224.41,-61.68) startOffset 8 endOffset 9 width 7.00: "a"
+            chunk 1 (middle anchor) text run 10 at (227.25,-56.81) startOffset 9 endOffset 10 width 4.00: " "
+            chunk 1 (middle anchor) text run 11 at (229.85,-51.60) startOffset 10 endOffset 11 width 8.00: "p"
+            chunk 1 (middle anchor) text run 12 at (232.74,-44.61) startOffset 11 endOffset 12 width 7.00: "a"
+            chunk 1 (middle anchor) text run 13 at (234.52,-39.34) startOffset 12 endOffset 13 width 4.00: "t"
+            chunk 1 (middle anchor) text run 14 at (235.97,-34.20) startOffset 13 endOffset 14 width 7.00: "h"
+            chunk 1 (middle anchor) text run 15 at (237.21,-28.83) startOffset 14 endOffset 15 width 4.00: " "
+            chunk 1 (middle anchor) text run 16 at (237.98,-24.78) startOffset 15 endOffset 16 width 4.00: "f"
+            chunk 1 (middle anchor) text run 17 at (238.87,-18.77) startOffset 16 endOffset 17 width 8.00: "o"
+            chunk 1 (middle anchor) text run 18 at (239.53,-12.26) startOffset 17 endOffset 18 width 5.00: "r"
+            chunk 1 (middle anchor) text run 19 at (239.81,-7.82) startOffset 18 endOffset 19 width 4.00: " "
+            chunk 1 (middle anchor) text run 20 at (239.96,-3.83) startOffset 19 endOffset 20 width 4.00: "t"
     LayoutSVGContainer {g} at (-10,-135) size 390x140 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,475.00)}]
       LayoutSVGRect {rect} at (-10,-135) size 390x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x=-10.00] [y=-135.00] [width=390.00] [height=20.00]
       LayoutSVGRect {rect} at (-10,-115) size 390x120 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=-10.00] [y=-115.00] [width=390.00] [height=120.00]
-      LayoutSVGText {text} at (-10,-133) size 281.02x16 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (-10,-133) size 281.02x16
-          chunk 1 text run 1 at (-10.00,-120.00) startOffset 0 endOffset 48 width 281.02: "Text with one textPath child and x=\"-100\" y=\"10\""
+      LayoutSVGText {text} at (-10,-133) size 281x16 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (-10,-133) size 281x16
+          chunk 1 text run 1 at (-10.00,-120.00) startOffset 0 endOffset 48 width 281.00: "Text with one textPath child and x=\"-100\" y=\"10\""
       LayoutSVGContainer {use} at (100,-93.75) size 140x93.75
         LayoutSVGPath {path} at (100,-93.75) size 140x93.75 [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 0 c 0 -125 140 -125 140 0"]
-      LayoutSVGText {text} at (84.98,-108.83) size 157.92x109.14 contains 1 chunk(s)
-        LayoutSVGTextPath {textPath} at (84.98,-108.83) size 157.92x109.14
-          LayoutSVGInlineText {#text} at (84.98,-3.89) size 19.03x4.19
-            chunk 1 (middle anchor) text run 1 at (100.01,-1.74) startOffset 9 endOffset 10 width 4.00: " "
-          LayoutSVGTSpan {tspan} at (84.98,-108.83) size 157.92x109.14
-            LayoutSVGInlineText {#text} at (128.02,-108.83) size 114.89x58.20
-              chunk 1 (middle anchor) text run 1 at (139.14,-85.13) startOffset 0 endOffset 1 width 8.00: "p"
-              chunk 1 (middle anchor) text run 2 at (145.76,-88.56) startOffset 1 endOffset 2 width 7.00: "a"
-              chunk 1 (middle anchor) text run 3 at (150.91,-90.58) startOffset 2 endOffset 3 width 4.00: "t"
-              chunk 1 (middle anchor) text run 4 at (156.17,-92.10) startOffset 3 endOffset 4 width 7.00: "h"
-              chunk 1 (middle anchor) text run 5 at (161.59,-93.15) startOffset 4 endOffset 5 width 4.00: " "
-              chunk 1 (middle anchor) text run 6 at (165.57,-93.58) startOffset 5 endOffset 6 width 4.00: "f"
-              chunk 1 (middle anchor) text run 7 at (171.56,-93.73) startOffset 6 endOffset 7 width 8.00: "o"
-              chunk 1 (middle anchor) text run 8 at (178.03,-93.20) startOffset 7 endOffset 8 width 5.00: "r"
-              chunk 1 (middle anchor) text run 9 at (182.49,-92.41) startOffset 8 endOffset 9 width 4.00: " "
-              chunk 1 (middle anchor) text run 10 at (186.34,-91.44) startOffset 9 endOffset 10 width 4.00: "t"
-              chunk 1 (middle anchor) text run 11 at (191.55,-89.68) startOffset 10 endOffset 11 width 7.00: "e"
-              chunk 1 (middle anchor) text run 12 at (197.93,-86.78) startOffset 11 endOffset 12 width 7.00: "x"
-              chunk 1 (middle anchor) text run 13 at (202.66,-84.02) startOffset 12 endOffset 13 width 4.00: "t"
-              chunk 1 (middle anchor) text run 14 at (205.99,-81.73) startOffset 13 endOffset 14 width 4.00: " "
-              chunk 1 (middle anchor) text run 15 at (211.74,-77.00) startOffset 14 endOffset 15 width 11.00: "w"
-              chunk 1 (middle anchor) text run 16 at (217.03,-71.59) startOffset 15 endOffset 16 width 4.00: "/"
-              chunk 1 (middle anchor) text run 17 at (219.57,-68.53) startOffset 16 endOffset 17 width 4.00: " "
-              chunk 1 (middle anchor) text run 18 at (221.64,-65.79) startOffset 17 endOffset 18 width 3.00: "'"
-              chunk 1 (middle anchor) text run 19 at (224.44,-61.63) startOffset 18 endOffset 19 width 7.00: "x"
-              chunk 1 (middle anchor) text run 20 at (227.05,-57.18) startOffset 19 endOffset 20 width 3.00: "'"
-              chunk 1 (middle anchor) text run 21 at (228.61,-54.20) startOffset 20 endOffset 21 width 4.00: "."
+      LayoutSVGText {text} at (84.98,-108.83) size 157.91x109.08 contains 1 chunk(s)
+        LayoutSVGTextPath {textPath} at (84.98,-108.83) size 157.91x109.08
+          LayoutSVGInlineText {#text} at (84.98,-3.95) size 19.03x4.20
+            chunk 1 (middle anchor) text run 1 at (100.01,-1.79) startOffset 9 endOffset 10 width 4.00: " "
+          LayoutSVGTSpan {tspan} at (84.98,-108.83) size 157.91x109.08
+            LayoutSVGInlineText {#text} at (127.95,-108.83) size 114.92x58.16
+              chunk 1 (middle anchor) text run 1 at (139.09,-85.10) startOffset 0 endOffset 1 width 8.00: "p"
+              chunk 1 (middle anchor) text run 2 at (145.71,-88.54) startOffset 1 endOffset 2 width 7.00: "a"
+              chunk 1 (middle anchor) text run 3 at (150.86,-90.56) startOffset 2 endOffset 3 width 4.00: "t"
+              chunk 1 (middle anchor) text run 4 at (156.11,-92.09) startOffset 3 endOffset 4 width 7.00: "h"
+              chunk 1 (middle anchor) text run 5 at (161.53,-93.14) startOffset 4 endOffset 5 width 4.00: " "
+              chunk 1 (middle anchor) text run 6 at (165.51,-93.58) startOffset 5 endOffset 6 width 4.00: "f"
+              chunk 1 (middle anchor) text run 7 at (171.50,-93.73) startOffset 6 endOffset 7 width 8.00: "o"
+              chunk 1 (middle anchor) text run 8 at (177.98,-93.21) startOffset 7 endOffset 8 width 5.00: "r"
+              chunk 1 (middle anchor) text run 9 at (182.43,-92.42) startOffset 8 endOffset 9 width 4.00: " "
+              chunk 1 (middle anchor) text run 10 at (186.29,-91.46) startOffset 9 endOffset 10 width 4.00: "t"
+              chunk 1 (middle anchor) text run 11 at (191.50,-89.70) startOffset 10 endOffset 11 width 7.00: "e"
+              chunk 1 (middle anchor) text run 12 at (197.88,-86.80) startOffset 11 endOffset 12 width 7.00: "x"
+              chunk 1 (middle anchor) text run 13 at (202.61,-84.05) startOffset 12 endOffset 13 width 4.00: "t"
+              chunk 1 (middle anchor) text run 14 at (205.95,-81.76) startOffset 13 endOffset 14 width 4.00: " "
+              chunk 1 (middle anchor) text run 15 at (211.69,-77.04) startOffset 14 endOffset 15 width 11.00: "w"
+              chunk 1 (middle anchor) text run 16 at (216.99,-71.63) startOffset 15 endOffset 16 width 4.00: "/"
+              chunk 1 (middle anchor) text run 17 at (219.54,-68.58) startOffset 16 endOffset 17 width 4.00: " "
+              chunk 1 (middle anchor) text run 18 at (221.61,-65.84) startOffset 17 endOffset 18 width 3.00: "'"
+              chunk 1 (middle anchor) text run 19 at (224.41,-61.68) startOffset 18 endOffset 19 width 7.00: "x"
+              chunk 1 (middle anchor) text run 20 at (227.02,-57.24) startOffset 19 endOffset 20 width 3.00: "'"
+              chunk 1 (middle anchor) text run 21 at (228.58,-54.25) startOffset 20 endOffset 21 width 4.00: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPathSpaces-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPathSpaces-expected.txt
index c4973bd2..0436f10 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPathSpaces-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textOnPathSpaces-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
     LayoutSVGContainer {g} at (3.06,25) size 431.94x417
-      LayoutSVGText {text} at (100.88,25) size 248.22x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (100.88,25) size 248.22x18
-          chunk 1 (middle anchor) text run 1 at (100.89,40.00) startOffset 0 endOffset 36 width 248.23: "Text on a path with adjusted spacing"
+      LayoutSVGText {text} at (101,25) size 248x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (101,25) size 248x18
+          chunk 1 (middle anchor) text run 1 at (101.00,40.00) startOffset 0 endOffset 36 width 248.00: "Text on a path with adjusted spacing"
       LayoutSVGHiddenContainer {defs} at (15,8.79) size 120x41.21
         LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
         LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 100 C 100 0 400 0 400 100"]
@@ -26,7 +26,7 @@
         LayoutSVGText {text} at (35,50) size 59x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,50) size 59x12
             chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 15 width 59.00: "default spacing"
-      LayoutSVGContainer {g} at (10.77,-8.44) size 126.86x80.44 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,70.00)}]
+      LayoutSVGContainer {g} at (10.77,-8.44) size 127.23x80.44 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,70.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
         LayoutSVGText {text} at (10.77,-8.44) size 105.75x49.58 contains 1 chunk(s)
@@ -40,12 +40,12 @@
                 chunk 1 text run 1 at (96.60,35.46) startOffset 0 endOffset 1 width 6.00: "l"
                 chunk 1 text run 1 at (109.89,25.61) startOffset 0 endOffset 1 width 9.00: "e"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (14,50) size 123.63x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (14,50) size 123.63x12
-            chunk 1 text run 1 at (15.00,60.00) startOffset 0 endOffset 28 width 122.63: "tspan x=\"10,30,50,75,95,110\""
-        LayoutSVGText {text} at (34,60) size 34.63x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (34,60) size 34.63x12
-            chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 7 width 33.63: "y=\"110\""
+        LayoutSVGText {text} at (14,50) size 124x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (14,50) size 124x12
+            chunk 1 text run 1 at (15.00,60.00) startOffset 0 endOffset 28 width 123.00: "tspan x=\"10,30,50,75,95,110\""
+        LayoutSVGText {text} at (34,60) size 35x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (34,60) size 35x12
+            chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 7 width 34.00: "y=\"110\""
       LayoutSVGContainer {g} at (3.06,-8.78) size 131.94x70.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,70.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
@@ -152,9 +152,9 @@
               chunk 1 text run 5 at (39.95,10.16) startOffset 4 endOffset 5 width 6.00: "l"
               chunk 1 text run 6 at (44.24,8.99) startOffset 5 endOffset 6 width 9.00: "e"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 74.80x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 74.80x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 19 width 74.80: "letter-spacing=\"-3\""
+        LayoutSVGText {text} at (35,50) size 75x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 75x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 19 width 75.00: "letter-spacing=\"-3\""
       LayoutSVGContainer {g} at (3.06,-8.31) size 131.94x80.31 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,350.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPCDATA-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPCDATA-expected.png
index f35eff0c..3c1f3bc5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPCDATA-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPCDATA-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPCDATA-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPCDATA-expected.txt
index 2e81daa..9537812 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPCDATA-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPCDATA-expected.txt
@@ -2,43 +2,43 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGContainer {g} at (-10.94,15) size 471.89x249
+    LayoutSVGContainer {g} at (-11,15) size 472x249
       LayoutSVGText {text} at (138,15) size 174x18 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (138,15) size 174x18
           chunk 1 (middle anchor) text run 1 at (138.00,30.00) startOffset 0 endOffset 24 width 174.00: "Character Data on <text>"
-      LayoutSVGContainer {g} at (-89.97,-15) size 179.94x39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,120.00)}]
-        LayoutSVGText {text} at (-39.47,-15) size 78.94x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-39.47,-15) size 78.94x19
-            chunk 1 (middle anchor) text run 1 at (-39.47,0.00) startOffset 0 endOffset 10 width 78.95: "CDATA only"
-        LayoutSVGText {text} at (-89.97,5) size 179.94x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#cdata-section} at (-89.97,5) size 179.94x19
-            chunk 1 (middle anchor) text run 1 at (-89.97,20.00) startOffset 0 endOffset 27 width 179.95: "<text> with a CDATA section"
-      LayoutSVGContainer {g} at (-153.91,-15) size 307.83x39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,180.00)}]
-        LayoutSVGText {text} at (-54.97,-15) size 109.94x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-54.97,-15) size 109.94x19
-            chunk 1 (middle anchor) text run 1 at (-54.97,0.00) startOffset 0 endOffset 17 width 109.95: "text, CDATA, text"
-        LayoutSVGText {text} at (-153.91,5) size 307.83x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-153.91,5) size 88.88x19
-            chunk 1 (middle anchor) text run 1 at (-153.91,20.00) startOffset 0 endOffset 17 width 88.88: "Text first, then "
-          LayoutSVGInlineText {#cdata-section} at (-65.03,5) size 153.94x19
-            chunk 1 (middle anchor) text run 1 at (-65.03,20.00) startOffset 0 endOffset 23 width 153.95: "CDATA section in <text>"
-          LayoutSVGInlineText {#text} at (88.91,5) size 65x19
-            chunk 1 (middle anchor) text run 1 at (88.91,20.00) startOffset 0 endOffset 12 width 65.00: ", text again"
-      LayoutSVGContainer {g} at (-235.94,-15) size 471.89x39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,240.00)}]
-        LayoutSVGText {text} at (-103.94,-15) size 207.89x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-103.94,-15) size 207.89x19
-            chunk 1 (middle anchor) text run 1 at (-103.95,0.00) startOffset 0 endOffset 31 width 207.89: "text, CDATA, tspan, CDATA, text"
-        LayoutSVGText {text} at (-235.94,5) size 471.89x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-235.94,5) size 30x19
-            chunk 1 (middle anchor) text run 1 at (-235.95,20.00) startOffset 0 endOffset 6 width 30.00: "text, "
-          LayoutSVGInlineText {#cdata-section} at (-205.94,5) size 153.94x19
-            chunk 1 (middle anchor) text run 1 at (-205.95,20.00) startOffset 0 endOffset 23 width 153.95: "CDATA section in <text>"
+      LayoutSVGContainer {g} at (-90,-15) size 180x39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,120.00)}]
+        LayoutSVGText {text} at (-39.50,-15) size 79x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-39.50,-15) size 79x19
+            chunk 1 (middle anchor) text run 1 at (-39.50,0.00) startOffset 0 endOffset 10 width 79.00: "CDATA only"
+        LayoutSVGText {text} at (-90,5) size 180x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#cdata-section} at (-90,5) size 180x19
+            chunk 1 (middle anchor) text run 1 at (-90.00,20.00) startOffset 0 endOffset 27 width 180.00: "<text> with a CDATA section"
+      LayoutSVGContainer {g} at (-154,-15) size 308x39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,180.00)}]
+        LayoutSVGText {text} at (-55,-15) size 110x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-55,-15) size 110x19
+            chunk 1 (middle anchor) text run 1 at (-55.00,0.00) startOffset 0 endOffset 17 width 110.00: "text, CDATA, text"
+        LayoutSVGText {text} at (-154,5) size 308x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-154,5) size 89x19
+            chunk 1 (middle anchor) text run 1 at (-154.00,20.00) startOffset 0 endOffset 17 width 89.00: "Text first, then "
+          LayoutSVGInlineText {#cdata-section} at (-65,5) size 154x19
+            chunk 1 (middle anchor) text run 1 at (-65.00,20.00) startOffset 0 endOffset 23 width 154.00: "CDATA section in <text>"
+          LayoutSVGInlineText {#text} at (89,5) size 65x19
+            chunk 1 (middle anchor) text run 1 at (89.00,20.00) startOffset 0 endOffset 12 width 65.00: ", text again"
+      LayoutSVGContainer {g} at (-236,-15) size 472x39 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,240.00)}]
+        LayoutSVGText {text} at (-104,-15) size 208x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-104,-15) size 208x19
+            chunk 1 (middle anchor) text run 1 at (-104.00,0.00) startOffset 0 endOffset 31 width 208.00: "text, CDATA, tspan, CDATA, text"
+        LayoutSVGText {text} at (-236,5) size 472x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-236,5) size 30x19
+            chunk 1 (middle anchor) text run 1 at (-236.00,20.00) startOffset 0 endOffset 6 width 30.00: "text, "
+          LayoutSVGInlineText {#cdata-section} at (-206,5) size 154x19
+            chunk 1 (middle anchor) text run 1 at (-206.00,20.00) startOffset 0 endOffset 23 width 154.00: "CDATA section in <text>"
           LayoutSVGInlineText {#text} at (-52,5) size 8x19
             chunk 1 (middle anchor) text run 1 at (-52.00,20.00) startOffset 0 endOffset 2 width 8.00: ", "
-          LayoutSVGTSpan {tspan} at (-235.94,5) size 471.89x19
+          LayoutSVGTSpan {tspan} at (-236,5) size 472x19
             LayoutSVGInlineText {#text} at (-44,5) size 51x19
               chunk 1 (middle anchor) text run 1 at (-44.00,20.00) startOffset 0 endOffset 8 width 51.00: "tspan w/"
-            LayoutSVGInlineText {#cdata-section} at (7,5) size 163.94x19
-              chunk 1 (middle anchor) text run 1 at (7.00,20.00) startOffset 0 endOffset 24 width 163.95: "CDATA section in <tspan>"
-          LayoutSVGInlineText {#text} at (170.94,5) size 65x19
-            chunk 1 (middle anchor) text run 1 at (170.95,20.00) startOffset 0 endOffset 12 width 65.00: ", text again"
+            LayoutSVGInlineText {#cdata-section} at (7,5) size 164x19
+              chunk 1 (middle anchor) text run 1 at (7.00,20.00) startOffset 0 endOffset 24 width 164.00: "CDATA section in <tspan>"
+          LayoutSVGInlineText {#text} at (171,5) size 65x19
+            chunk 1 (middle anchor) text run 1 at (171.00,20.00) startOffset 0 endOffset 12 width 65.00: ", text again"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPosition-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPosition-expected.txt
index 1f7d918..45ec65c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPosition-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPosition-expected.txt
@@ -2,9 +2,9 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGText {text} at (180.88,15) size 88.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (180.88,15) size 88.22x18
-        chunk 1 (middle anchor) text run 1 at (180.89,30.00) startOffset 0 endOffset 13 width 88.23: "Text Position"
+    LayoutSVGText {text} at (181,15) size 88x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (181,15) size 88x18
+        chunk 1 (middle anchor) text run 1 at (181.00,30.00) startOffset 0 endOffset 13 width 88.00: "Text Position"
     LayoutSVGContainer {g} at (50,59) size 399x344
       LayoutSVGText {text} at (50,59) size 53x27 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (50,59) size 53x27
@@ -29,9 +29,9 @@
           chunk 1 text run 1 at (90.00,140.00) startOffset 0 endOffset 1 width 7.00: "t"
           chunk 1 text run 1 at (110.00,140.00) startOffset 0 endOffset 1 width 5.00: "i"
           chunk 1 text run 1 at (130.00,140.00) startOffset 0 endOffset 1 width 12.00: "k"
-      LayoutSVGText {text} at (50,150) size 174.25x13 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (50,150) size 174.25x13
-          chunk 1 text run 1 at (50.00,160.00) startOffset 0 endOffset 35 width 174.26: "<text x=\"50 70 90 110 130\" y=\"140\">"
+      LayoutSVGText {text} at (50,150) size 174x13 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (50,150) size 174x13
+          chunk 1 text run 1 at (50.00,160.00) startOffset 0 endOffset 35 width 174.00: "<text x=\"50 70 90 110 130\" y=\"140\">"
       LayoutSVGText {text} at (240,119) size 133x27 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (240,119) size 133x27
           chunk 1 text run 1 at (240.00,140.00) startOffset 0 endOffset 1 width 16.00: "B"
@@ -69,9 +69,9 @@
             chunk 1 text run 1 at (90.00,260.00) startOffset 0 endOffset 1 width 7.00: "t"
             chunk 1 text run 1 at (110.00,260.00) startOffset 0 endOffset 1 width 5.00: "i"
             chunk 1 text run 1 at (130.00,260.00) startOffset 0 endOffset 1 width 12.00: "k"
-      LayoutSVGText {text} at (50,270) size 182.25x13 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (50,270) size 182.25x13
-          chunk 1 text run 1 at (50.00,280.00) startOffset 0 endOffset 36 width 182.26: "<tspan x=\"50 70 90 110 130\" y=\"260\">"
+      LayoutSVGText {text} at (50,270) size 182x13 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (50,270) size 182x13
+          chunk 1 text run 1 at (50.00,280.00) startOffset 0 endOffset 36 width 182.00: "<tspan x=\"50 70 90 110 130\" y=\"260\">"
       LayoutSVGText {text} at (240,239) size 133x27 contains 1 chunk(s)
         LayoutSVGTSpan {tspan} at (240,239) size 133x27
           LayoutSVGInlineText {#text} at (240,239) size 133x27
@@ -120,9 +120,9 @@
             chunk 1 text run 4 at (116.00,380.00) startOffset 3 endOffset 4 width 5.00: "i"
             chunk 1 text run 5 at (131.00,380.00) startOffset 4 endOffset 5 width 12.00: "k"
         LayoutSVGTSpan {tspan} at (50,359) size 93x27
-      LayoutSVGText {text} at (50,390) size 97.63x13 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (50,390) size 97.63x13
-          chunk 1 text run 1 at (50.00,400.00) startOffset 0 endOffset 20 width 97.63: "Empty Trailing tspan"
+      LayoutSVGText {text} at (50,390) size 98x13 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (50,390) size 98x13
+          chunk 1 text run 1 at (50.00,400.00) startOffset 0 endOffset 20 width 98.00: "Empty Trailing tspan"
       LayoutSVGText {text} at (240,359) size 133x27 contains 1 chunk(s)
         LayoutSVGTSpan {tspan} at (240,359) size 133x27
         LayoutSVGTSpan {tspan} at (240,359) size 133x27
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPosition2-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPosition2-expected.png
index fb103a1a..0392550 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPosition2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPosition2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPosition2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPosition2-expected.txt
index 86a8792..13c5f326 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPosition2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textPosition2-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGText {text} at (174.38,15) size 101.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (174.38,15) size 101.22x18
-        chunk 1 (middle anchor) text run 1 at (174.39,30.00) startOffset 0 endOffset 15 width 101.23: "Text Position 2"
+    LayoutSVGText {text} at (174.50,15) size 101x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (174.50,15) size 101x18
+        chunk 1 (middle anchor) text run 1 at (174.50,30.00) startOffset 0 endOffset 15 width 101.00: "Text Position 2"
     LayoutSVGContainer {g} at (50,59) size 399x295
       LayoutSVGText {text} at (50,59) size 52x27 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (50,59) size 52x27
@@ -30,9 +30,9 @@
           chunk 1 text run 1 at (90.00,140.00) startOffset 0 endOffset 1 width 7.00: "t"
           chunk 1 text run 1 at (110.00,140.00) startOffset 0 endOffset 1 width 6.00: "i"
           chunk 1 text run 1 at (130.00,140.00) startOffset 0 endOffset 1 width 12.00: "k"
-      LayoutSVGText {text} at (50,150) size 174.25x13 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (50,150) size 174.25x13
-          chunk 1 text run 1 at (50.00,160.00) startOffset 0 endOffset 35 width 174.26: "<text x=\"50 70 90 110 130\" y=\"140\">"
+      LayoutSVGText {text} at (50,150) size 174x13 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (50,150) size 174x13
+          chunk 1 text run 1 at (50.00,160.00) startOffset 0 endOffset 35 width 174.00: "<text x=\"50 70 90 110 130\" y=\"140\">"
       LayoutSVGText {text} at (240,119) size 132x27 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (240,119) size 132x27
           chunk 1 text run 1 at (240.00,140.00) startOffset 0 endOffset 1 width 16.00: "B"
@@ -70,9 +70,9 @@
             chunk 1 text run 1 at (90.00,260.00) startOffset 0 endOffset 1 width 7.00: "t"
             chunk 1 text run 1 at (110.00,260.00) startOffset 0 endOffset 1 width 6.00: "i"
             chunk 1 text run 1 at (130.00,260.00) startOffset 0 endOffset 1 width 12.00: "k"
-      LayoutSVGText {text} at (50,270) size 182.25x13 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (50,270) size 182.25x13
-          chunk 1 text run 1 at (50.00,280.00) startOffset 0 endOffset 36 width 182.26: "<tspan x=\"50 70 90 110 130\" y=\"260\">"
+      LayoutSVGText {text} at (50,270) size 182x13 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (50,270) size 182x13
+          chunk 1 text run 1 at (50.00,280.00) startOffset 0 endOffset 36 width 182.00: "<tspan x=\"50 70 90 110 130\" y=\"260\">"
       LayoutSVGText {text} at (240,239) size 132x27 contains 1 chunk(s)
         LayoutSVGTSpan {tspan} at (240,239) size 132x27
           LayoutSVGInlineText {#text} at (240,239) size 132x27
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties-expected.png
index 1feb3baa..d71ae565 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties-expected.txt
index 099b884..255476a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties-expected.txt
@@ -10,9 +10,9 @@
         LayoutSVGInlineText {#text} at (-21,-15) size 42x19
           chunk 1 (middle anchor) text run 1 at (-21.00,0.00) startOffset 0 endOffset 6 width 42.00: "sample"
     LayoutSVGContainer {g} at (23.50,36) size 403x433
-      LayoutSVGText {text} at (61.38,36) size 327.22x17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (61.38,36) size 327.22x17
-          chunk 1 (middle anchor) text run 1 at (61.39,50.00) startOffset 0 endOffset 47 width 327.22: "Text Alignment, Geometry, References, and Spans"
+      LayoutSVGText {text} at (61.50,36) size 327x17 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (61.50,36) size 327x17
+          chunk 1 (middle anchor) text run 1 at (61.50,50.00) startOffset 0 endOffset 47 width 327.00: "Text Alignment, Geometry, References, and Spans"
       LayoutSVGContainer {g} at (119,70) size 217x70
         LayoutSVGPath {line} at (225,70) size 0x70 [stroke={[type=SOLID] [color=#808080]}] [fill={[type=SOLID] [color=#000000]}] [x1=225.00] [y1=70.00] [x2=225.00] [y2=140.00]
         LayoutSVGText {text} at (225,77) size 111x17 contains 1 chunk(s)
@@ -71,9 +71,9 @@
         LayoutSVGText {text} at (-76.50,0) size 153x19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-76.50,0) size 153x19
             chunk 1 (middle anchor) text run 1 at (-76.50,15.00) startOffset 0 endOffset 25 width 153.00: "predefined text via <use>"
-      LayoutSVGText {text} at (148.02,267) size 153.94x17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (148.02,267) size 153.94x17
-          chunk 1 (middle anchor) text run 1 at (148.02,280.00) startOffset 0 endOffset 25 width 153.95: "Text Rendering Properties"
+      LayoutSVGText {text} at (148,267) size 154x17 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (148,267) size 154x17
+          chunk 1 (middle anchor) text run 1 at (148.00,280.00) startOffset 0 endOffset 25 width 154.00: "Text Rendering Properties"
       LayoutSVGContainer {g} at (-72.50,-7) size 145x41 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,305.00)}]
         LayoutSVGContainer {g} at (-41,-27) size 82x34 [transform={m=((-1.00,0.00)(-0.00,-1.00)) t=(0.00,0.00)}]
           LayoutSVGContainer {use} at (-41,-27) size 82x34
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties2-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties2-expected.png
index 937bdcb..2f66883 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties2-expected.txt
index 08a96d5..c7f3c239 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textProperties2-expected.txt
@@ -4,12 +4,12 @@
   LayoutSVGRoot {svg} at (0,0) size 450x500
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (12.50,26) size 453.50x306
-      LayoutSVGText {text} at (145.38,26) size 159.22x17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (145.38,26) size 159.22x17
-          chunk 1 (middle anchor) text run 1 at (145.39,40.00) startOffset 0 endOffset 28 width 159.22: "Text display and visibility."
-      LayoutSVGText {text} at (148.47,59) size 153.03x19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (148.47,59) size 153.03x19
-          chunk 1 (middle anchor) text run 1 at (148.48,74.00) startOffset 0 endOffset 27 width 153.04: "Visibility on text & tspans"
+      LayoutSVGText {text} at (145.50,26) size 159x17 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (145.50,26) size 159x17
+          chunk 1 (middle anchor) text run 1 at (145.50,40.00) startOffset 0 endOffset 28 width 159.00: "Text display and visibility."
+      LayoutSVGText {text} at (148.50,59) size 153x19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (148.50,59) size 153x19
+          chunk 1 (middle anchor) text run 1 at (148.50,74.00) startOffset 0 endOffset 27 width 153.00: "Visibility on text & tspans"
       LayoutSVGText {text} at (151,185) size 148x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (151,185) size 148x19
           chunk 1 (middle anchor) text run 1 at (151.00,200.00) startOffset 0 endOffset 24 width 148.00: "Display on text & tspans"
@@ -52,92 +52,92 @@
       LayoutSVGText {text} at (360,308) size 104x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (360,308) size 104x19
           chunk 1 text run 1 at (360.00,323.00) startOffset 0 endOffset 18 width 104.00: "none, inline, none"
-      LayoutSVGContainer {g} at (20,56.39) size 270.88x177.59 [transform={m=((1.25,0.00)(0.00,1.25)) t=(0.00,12.50)}]
-        LayoutSVGText {text} at (20,56.39) size 270.88x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,56.39) size 30.88x17.59
-            chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 5 width 30.88: "Text "
-          LayoutSVGTSpan {tspan} at (20,56.39) size 270.88x17.59
-            LayoutSVGInlineText {#text} at (50.88,56.39) size 48.80x17.59
-              chunk 1 text run 1 at (50.88,70.00) startOffset 0 endOffset 8 width 48.80: "tspan 1 "
-            LayoutSVGTSpan {tspan} at (20,56.39) size 270.88x17.59
-              LayoutSVGInlineText {#text} at (99.67,56.39) size 44.80x17.59
-                chunk 1 text run 1 at (99.68,70.00) startOffset 0 endOffset 7 width 44.80: "tspan 2"
-            LayoutSVGInlineText {#text} at (144.47,56.39) size 80.80x17.59
-              chunk 1 text run 1 at (144.48,70.00) startOffset 0 endOffset 12 width 80.80: " more span 1"
-          LayoutSVGInlineText {#text} at (225.28,56.39) size 65.59x17.59
-            chunk 1 text run 1 at (225.28,70.00) startOffset 0 endOffset 12 width 65.60: " finish text"
-        LayoutSVGText {text} at (20,76.39) size 270.88x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,76.39) size 30.88x17.59
-            chunk 1 text run 1 at (20.00,90.00) startOffset 0 endOffset 5 width 30.88: "Text "
-          LayoutSVGTSpan {tspan} at (20,76.39) size 270.88x17.59
-            LayoutSVGInlineText {#text} at (50.88,76.39) size 48.80x17.59
-              chunk 1 text run 1 at (50.88,90.00) startOffset 0 endOffset 8 width 48.80: "tspan 1 "
-            LayoutSVGTSpan {tspan} at (20,76.39) size 270.88x17.59
-              LayoutSVGInlineText {#text} at (99.67,76.39) size 44.80x17.59
-                chunk 1 text run 1 at (99.68,90.00) startOffset 0 endOffset 7 width 44.80: "tspan 2"
-            LayoutSVGInlineText {#text} at (144.47,76.39) size 80.80x17.59
-              chunk 1 text run 1 at (144.48,90.00) startOffset 0 endOffset 12 width 80.80: " more span 1"
-          LayoutSVGInlineText {#text} at (225.28,76.39) size 65.59x17.59
-            chunk 1 text run 1 at (225.28,90.00) startOffset 0 endOffset 12 width 65.60: " finish text"
-        LayoutSVGText {text} at (20,96.39) size 270.88x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,96.39) size 30.88x17.59
-            chunk 1 text run 1 at (20.00,110.00) startOffset 0 endOffset 5 width 30.88: "Text "
-          LayoutSVGTSpan {tspan} at (20,96.39) size 270.88x17.59
-            LayoutSVGInlineText {#text} at (50.88,96.39) size 48.80x17.59
-              chunk 1 text run 1 at (50.88,110.00) startOffset 0 endOffset 8 width 48.80: "tspan 1 "
-            LayoutSVGTSpan {tspan} at (20,96.39) size 270.88x17.59
-              LayoutSVGInlineText {#text} at (99.67,96.39) size 44.80x17.59
-                chunk 1 text run 1 at (99.68,110.00) startOffset 0 endOffset 7 width 44.80: "tspan 2"
-            LayoutSVGInlineText {#text} at (144.47,96.39) size 80.80x17.59
-              chunk 1 text run 1 at (144.48,110.00) startOffset 0 endOffset 12 width 80.80: " more span 1"
-          LayoutSVGInlineText {#text} at (225.28,96.39) size 65.59x17.59
-            chunk 1 text run 1 at (225.28,110.00) startOffset 0 endOffset 12 width 65.60: " finish text"
-        LayoutSVGText {text} at (20,116.39) size 270.88x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,116.39) size 30.88x17.59
-            chunk 1 text run 1 at (20.00,130.00) startOffset 0 endOffset 5 width 30.88: "Text "
-          LayoutSVGTSpan {tspan} at (20,116.39) size 270.88x17.59
-            LayoutSVGInlineText {#text} at (50.88,116.39) size 48.80x17.59
-              chunk 1 text run 1 at (50.88,130.00) startOffset 0 endOffset 8 width 48.80: "tspan 1 "
-            LayoutSVGTSpan {tspan} at (20,116.39) size 270.88x17.59
-              LayoutSVGInlineText {#text} at (99.67,116.39) size 44.80x17.59
-                chunk 1 text run 1 at (99.68,130.00) startOffset 0 endOffset 7 width 44.80: "tspan 2"
-            LayoutSVGInlineText {#text} at (144.47,116.39) size 80.80x17.59
-              chunk 1 text run 1 at (144.48,130.00) startOffset 0 endOffset 12 width 80.80: " more span 1"
-          LayoutSVGInlineText {#text} at (225.28,116.39) size 65.59x17.59
-            chunk 1 text run 1 at (225.28,130.00) startOffset 0 endOffset 12 width 65.60: " finish text"
-        LayoutSVGText {text} at (20,156.39) size 270.88x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,156.39) size 30.88x17.59
-            chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 5 width 30.88: "Text "
-          LayoutSVGTSpan {tspan} at (20,156.39) size 270.88x17.59
-            LayoutSVGInlineText {#text} at (50.88,156.39) size 48.80x17.59
-              chunk 1 text run 1 at (50.88,170.00) startOffset 0 endOffset 8 width 48.80: "tspan 1 "
-            LayoutSVGTSpan {tspan} at (20,156.39) size 270.88x17.59
-              LayoutSVGInlineText {#text} at (99.67,156.39) size 48.80x17.59
-                chunk 1 text run 1 at (99.68,170.00) startOffset 0 endOffset 8 width 48.80: "tspan 2 "
-            LayoutSVGInlineText {#text} at (148.47,156.39) size 76.80x17.59
-              chunk 1 text run 1 at (148.48,170.00) startOffset 0 endOffset 11 width 76.80: "more span 1"
-          LayoutSVGInlineText {#text} at (225.28,156.39) size 65.59x17.59
-            chunk 1 text run 1 at (225.28,170.00) startOffset 0 endOffset 12 width 65.60: " finish text"
-        LayoutSVGText {text} at (20,176.39) size 222.08x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,176.39) size 30.88x17.59
-            chunk 1 text run 1 at (20.00,190.00) startOffset 0 endOffset 5 width 30.88: "Text "
-          LayoutSVGTSpan {tspan} at (20,176.39) size 222.08x17.59
-            LayoutSVGInlineText {#text} at (50.88,176.39) size 48.80x17.59
-              chunk 1 text run 1 at (50.88,190.00) startOffset 0 endOffset 8 width 48.80: "tspan 1 "
-            LayoutSVGInlineText {#text} at (99.67,176.39) size 76.80x17.59
-              chunk 1 text run 1 at (99.68,190.00) startOffset 0 endOffset 11 width 76.80: "more span 1"
-          LayoutSVGInlineText {#text} at (176.47,176.39) size 65.59x17.59
-            chunk 1 text run 1 at (176.48,190.00) startOffset 0 endOffset 12 width 65.60: " finish text"
-        LayoutSVGText {text} at (20,196.39) size 92.47x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,196.39) size 30.88x17.59
-            chunk 1 text run 1 at (20.00,210.00) startOffset 0 endOffset 5 width 30.88: "Text "
-          LayoutSVGInlineText {#text} at (50.88,196.39) size 61.59x17.59
-            chunk 1 text run 1 at (50.88,210.00) startOffset 0 endOffset 11 width 61.60: "finish text"
-        LayoutSVGText {text} at (20,216.39) size 92.47x17.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20,216.39) size 30.88x17.59
-            chunk 1 text run 1 at (20.00,230.00) startOffset 0 endOffset 5 width 30.88: "Text "
-          LayoutSVGInlineText {#text} at (50.88,216.39) size 61.59x17.59
-            chunk 1 text run 1 at (50.88,230.00) startOffset 0 endOffset 11 width 61.60: "finish text"
+      LayoutSVGContainer {g} at (20,56.39) size 271.19x177.59 [transform={m=((1.25,0.00)(0.00,1.25)) t=(0.00,12.50)}]
+        LayoutSVGText {text} at (20,56.39) size 271.19x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,56.39) size 31.19x17.59
+            chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 5 width 31.20: "Text "
+          LayoutSVGTSpan {tspan} at (20,56.39) size 271.19x17.59
+            LayoutSVGInlineText {#text} at (51.19,56.39) size 48.80x17.59
+              chunk 1 text run 1 at (51.20,70.00) startOffset 0 endOffset 8 width 48.80: "tspan 1 "
+            LayoutSVGTSpan {tspan} at (20,56.39) size 271.19x17.59
+              LayoutSVGInlineText {#text} at (100,56.39) size 44.80x17.59
+                chunk 1 text run 1 at (100.00,70.00) startOffset 0 endOffset 7 width 44.80: "tspan 2"
+            LayoutSVGInlineText {#text} at (144.80,56.39) size 80.80x17.59
+              chunk 1 text run 1 at (144.80,70.00) startOffset 0 endOffset 12 width 80.80: " more span 1"
+          LayoutSVGInlineText {#text} at (225.59,56.39) size 65.59x17.59
+            chunk 1 text run 1 at (225.60,70.00) startOffset 0 endOffset 12 width 65.60: " finish text"
+        LayoutSVGText {text} at (20,76.39) size 271.19x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,76.39) size 31.19x17.59
+            chunk 1 text run 1 at (20.00,90.00) startOffset 0 endOffset 5 width 31.20: "Text "
+          LayoutSVGTSpan {tspan} at (20,76.39) size 271.19x17.59
+            LayoutSVGInlineText {#text} at (51.19,76.39) size 48.80x17.59
+              chunk 1 text run 1 at (51.20,90.00) startOffset 0 endOffset 8 width 48.80: "tspan 1 "
+            LayoutSVGTSpan {tspan} at (20,76.39) size 271.19x17.59
+              LayoutSVGInlineText {#text} at (100,76.39) size 44.80x17.59
+                chunk 1 text run 1 at (100.00,90.00) startOffset 0 endOffset 7 width 44.80: "tspan 2"
+            LayoutSVGInlineText {#text} at (144.80,76.39) size 80.80x17.59
+              chunk 1 text run 1 at (144.80,90.00) startOffset 0 endOffset 12 width 80.80: " more span 1"
+          LayoutSVGInlineText {#text} at (225.59,76.39) size 65.59x17.59
+            chunk 1 text run 1 at (225.60,90.00) startOffset 0 endOffset 12 width 65.60: " finish text"
+        LayoutSVGText {text} at (20,96.39) size 271.19x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,96.39) size 31.19x17.59
+            chunk 1 text run 1 at (20.00,110.00) startOffset 0 endOffset 5 width 31.20: "Text "
+          LayoutSVGTSpan {tspan} at (20,96.39) size 271.19x17.59
+            LayoutSVGInlineText {#text} at (51.19,96.39) size 48.80x17.59
+              chunk 1 text run 1 at (51.20,110.00) startOffset 0 endOffset 8 width 48.80: "tspan 1 "
+            LayoutSVGTSpan {tspan} at (20,96.39) size 271.19x17.59
+              LayoutSVGInlineText {#text} at (100,96.39) size 44.80x17.59
+                chunk 1 text run 1 at (100.00,110.00) startOffset 0 endOffset 7 width 44.80: "tspan 2"
+            LayoutSVGInlineText {#text} at (144.80,96.39) size 80.80x17.59
+              chunk 1 text run 1 at (144.80,110.00) startOffset 0 endOffset 12 width 80.80: " more span 1"
+          LayoutSVGInlineText {#text} at (225.59,96.39) size 65.59x17.59
+            chunk 1 text run 1 at (225.60,110.00) startOffset 0 endOffset 12 width 65.60: " finish text"
+        LayoutSVGText {text} at (20,116.39) size 271.19x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,116.39) size 31.19x17.59
+            chunk 1 text run 1 at (20.00,130.00) startOffset 0 endOffset 5 width 31.20: "Text "
+          LayoutSVGTSpan {tspan} at (20,116.39) size 271.19x17.59
+            LayoutSVGInlineText {#text} at (51.19,116.39) size 48.80x17.59
+              chunk 1 text run 1 at (51.20,130.00) startOffset 0 endOffset 8 width 48.80: "tspan 1 "
+            LayoutSVGTSpan {tspan} at (20,116.39) size 271.19x17.59
+              LayoutSVGInlineText {#text} at (100,116.39) size 44.80x17.59
+                chunk 1 text run 1 at (100.00,130.00) startOffset 0 endOffset 7 width 44.80: "tspan 2"
+            LayoutSVGInlineText {#text} at (144.80,116.39) size 80.80x17.59
+              chunk 1 text run 1 at (144.80,130.00) startOffset 0 endOffset 12 width 80.80: " more span 1"
+          LayoutSVGInlineText {#text} at (225.59,116.39) size 65.59x17.59
+            chunk 1 text run 1 at (225.60,130.00) startOffset 0 endOffset 12 width 65.60: " finish text"
+        LayoutSVGText {text} at (20,156.39) size 271.19x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,156.39) size 31.19x17.59
+            chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 5 width 31.20: "Text "
+          LayoutSVGTSpan {tspan} at (20,156.39) size 271.19x17.59
+            LayoutSVGInlineText {#text} at (51.19,156.39) size 48.80x17.59
+              chunk 1 text run 1 at (51.20,170.00) startOffset 0 endOffset 8 width 48.80: "tspan 1 "
+            LayoutSVGTSpan {tspan} at (20,156.39) size 271.19x17.59
+              LayoutSVGInlineText {#text} at (100,156.39) size 48.80x17.59
+                chunk 1 text run 1 at (100.00,170.00) startOffset 0 endOffset 8 width 48.80: "tspan 2 "
+            LayoutSVGInlineText {#text} at (148.80,156.39) size 76.80x17.59
+              chunk 1 text run 1 at (148.80,170.00) startOffset 0 endOffset 11 width 76.80: "more span 1"
+          LayoutSVGInlineText {#text} at (225.59,156.39) size 65.59x17.59
+            chunk 1 text run 1 at (225.60,170.00) startOffset 0 endOffset 12 width 65.60: " finish text"
+        LayoutSVGText {text} at (20,176.39) size 222.39x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,176.39) size 31.19x17.59
+            chunk 1 text run 1 at (20.00,190.00) startOffset 0 endOffset 5 width 31.20: "Text "
+          LayoutSVGTSpan {tspan} at (20,176.39) size 222.39x17.59
+            LayoutSVGInlineText {#text} at (51.19,176.39) size 48.80x17.59
+              chunk 1 text run 1 at (51.20,190.00) startOffset 0 endOffset 8 width 48.80: "tspan 1 "
+            LayoutSVGInlineText {#text} at (100,176.39) size 76.80x17.59
+              chunk 1 text run 1 at (100.00,190.00) startOffset 0 endOffset 11 width 76.80: "more span 1"
+          LayoutSVGInlineText {#text} at (176.80,176.39) size 65.59x17.59
+            chunk 1 text run 1 at (176.80,190.00) startOffset 0 endOffset 12 width 65.60: " finish text"
+        LayoutSVGText {text} at (20,196.39) size 92.80x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,196.39) size 31.19x17.59
+            chunk 1 text run 1 at (20.00,210.00) startOffset 0 endOffset 5 width 31.20: "Text "
+          LayoutSVGInlineText {#text} at (51.19,196.39) size 61.59x17.59
+            chunk 1 text run 1 at (51.20,210.00) startOffset 0 endOffset 11 width 61.60: "finish text"
+        LayoutSVGText {text} at (20,216.39) size 92.80x17.59 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (20,216.39) size 31.19x17.59
+            chunk 1 text run 1 at (20.00,230.00) startOffset 0 endOffset 5 width 31.20: "Text "
+          LayoutSVGInlineText {#text} at (51.19,216.39) size 61.59x17.59
+            chunk 1 text run 1 at (51.20,230.00) startOffset 0 endOffset 11 width 61.60: "finish text"
     LayoutSVGContainer {use} at (1,1) size 446x496
       LayoutSVGContainer {g} at (1,1) size 446x496
         LayoutSVGRect {rect} at (1,1) size 446x496 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=446.00] [height=496.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textStyles-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textStyles-expected.png
index c76564cf..71e0076 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textStyles-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textStyles-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textStyles-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textStyles-expected.txt
index 2b06f269..def30974 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textStyles-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/textStyles-expected.txt
@@ -6,10 +6,10 @@
       LayoutSVGText {text} at (-21,-15) size 42x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (-21,-15) size 42x19
           chunk 1 (middle anchor) text run 1 at (-21.00,0.00) startOffset 0 endOffset 6 width 42.00: "sample"
-    LayoutSVGContainer {g} at (31.50,36) size 382.06x392
-      LayoutSVGText {text} at (136.83,36) size 176.33x17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (136.83,36) size 176.33x17
-          chunk 1 (middle anchor) text run 1 at (136.83,50.00) startOffset 0 endOffset 26 width 176.34: "Text Font Faces and Styles"
+    LayoutSVGContainer {g} at (31.50,36) size 382x392
+      LayoutSVGText {text} at (137,36) size 176x17 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (137,36) size 176x17
+          chunk 1 (middle anchor) text run 1 at (137.00,50.00) startOffset 0 endOffset 26 width 176.00: "Text Font Faces and Styles"
       LayoutSVGText {text} at (184,65) size 82x12 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (184,65) size 82x12
           chunk 1 (middle anchor) text run 1 at (184.00,75.00) startOffset 0 endOffset 19 width 82.00: "Standard Font Faces"
@@ -112,25 +112,25 @@
       LayoutSVGText {text} at (181,300) size 88x12 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (181,300) size 88x12
           chunk 1 (middle anchor) text run 1 at (181.00,310.00) startOffset 0 endOffset 19 width 88.00: "Named Font Families"
-      LayoutSVGText {text} at (128.17,315) size 193.63x12 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (128.17,315) size 193.63x12
-          chunk 1 (middle anchor) text run 1 at (128.19,325.00) startOffset 0 endOffset 49 width 193.63: "(Not all typefaces are available on all systems.)"
+      LayoutSVGText {text} at (128,315) size 194x12 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (128,315) size 194x12
+          chunk 1 (middle anchor) text run 1 at (128.00,325.00) startOffset 0 endOffset 49 width 194.00: "(Not all typefaces are available on all systems.)"
       LayoutSVGContainer {g} at (-41,-27) size 82x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,360.00)}]
         LayoutSVGContainer {use} at (-41,-27) size 82x34
           LayoutSVGText {text} at (-41,-27) size 82x34 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (-41,-27) size 82x34
               chunk 1 (middle anchor) text run 1 at (-41.00,0.00) startOffset 0 endOffset 6 width 82.00: "sample"
-        LayoutSVGText {text} at (-14.78,3) size 29.58x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-14.78,3) size 29.58x15
-            chunk 1 (middle anchor) text run 1 at (-14.79,15.00) startOffset 0 endOffset 5 width 29.58: "Times"
+        LayoutSVGText {text} at (-15,3) size 30x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-15,3) size 30x15
+            chunk 1 (middle anchor) text run 1 at (-15.00,15.00) startOffset 0 endOffset 5 width 30.00: "Times"
       LayoutSVGContainer {g} at (-54.50,-30) size 109x48 [transform={m=((1.00,0.00)(0.00,1.00)) t=(225.00,360.00)}]
         LayoutSVGContainer {use} at (-54.50,-30) size 109x36
           LayoutSVGText {text} at (-54.50,-30) size 109x36 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (-54.50,-30) size 109x36
               chunk 1 (middle anchor) text run 1 at (-54.50,0.00) startOffset 0 endOffset 6 width 109.00: "sample"
-        LayoutSVGText {text} at (-18.83,3) size 37.66x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-18.83,3) size 37.66x15
-            chunk 1 (middle anchor) text run 1 at (-18.83,15.00) startOffset 0 endOffset 7 width 37.67: "Verdana"
+        LayoutSVGText {text} at (-19,3) size 38x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-19,3) size 38x15
+            chunk 1 (middle anchor) text run 1 at (-19.00,15.00) startOffset 0 endOffset 7 width 38.00: "Verdana"
       LayoutSVGContainer {g} at (-48,-28) size 96x46 [transform={m=((1.00,0.00)(0.00,1.00)) t=(350.00,360.00)}]
         LayoutSVGContainer {use} at (-48,-28) size 96x35
           LayoutSVGText {text} at (-48,-28) size 96x35 contains 1 chunk(s)
@@ -152,11 +152,11 @@
         LayoutSVGText {text} at (-17,3) size 34x15 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-17,3) size 34x15
             chunk 1 (middle anchor) text run 1 at (-17.00,15.00) startOffset 0 endOffset 6 width 34.00: "Impact"
-      LayoutSVGContainer {g} at (-63.55,3) size 127.11x15 [transform={m=((1.00,0.00)(0.00,1.00)) t=(350.00,410.00)}]
+      LayoutSVGContainer {g} at (-63.50,3) size 127x15 [transform={m=((1.00,0.00)(0.00,1.00)) t=(350.00,410.00)}]
         LayoutSVGText {text} at (0,0) size 0x0
-        LayoutSVGText {text} at (-63.55,3) size 127.11x15 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-63.55,3) size 127.11x15
-            chunk 1 (middle anchor) text run 1 at (-63.55,15.00) startOffset 0 endOffset 25 width 127.11: "AvantGarde (line-through)"
+        LayoutSVGText {text} at (-63.50,3) size 127x15 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-63.50,3) size 127x15
+            chunk 1 (middle anchor) text run 1 at (-63.50,15.00) startOffset 0 endOffset 25 width 127.00: "AvantGarde (line-through)"
     LayoutSVGContainer {use} at (1,1) size 446x496
       LayoutSVGContainer {g} at (1,1) size 446x496
         LayoutSVGRect {rect} at (1,1) size 446x496 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=446.00] [height=496.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalText-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalText-expected.png
index 24dfb82..7563f91 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalText-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalText-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalText-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalText-expected.txt
index 8981140..cd48e91 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalText-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalText-expected.txt
@@ -5,9 +5,9 @@
     LayoutSVGHiddenContainer {defs} at (15,8.79) size 315x27.43
       LayoutSVGPath {path} at (100,58.58) size 2100x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 0 1000 100 C 1100 200 1200 300 1300 200 C 1400 100 1500 0 1600 100 C 1700 200 1800 300 1900 200 C 2000 100 2100 0 2200 100"]
     LayoutSVGContainer {g} at (20,25) size 410x469.88
-      LayoutSVGText {text} at (167.20,25) size 115.56x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (167.20,25) size 115.56x18
-          chunk 1 (middle anchor) text run 1 at (167.21,40.00) startOffset 0 endOffset 18 width 115.57: "Vertical Text Test"
+      LayoutSVGText {text} at (167.50,25) size 115x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (167.50,25) size 115x18
+          chunk 1 (middle anchor) text run 1 at (167.50,40.00) startOffset 0 endOffset 18 width 115.00: "Vertical Text Test"
       LayoutSVGPath {line} at (20,75) size 410x0 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x1=20.00] [y1=75.00] [x2=430.00] [y2=75.00]
       LayoutSVGContainer {g} at (48,73) size 354x377 [opacity=0.50]
         LayoutSVGEllipse {circle} at (48,73) size 4x4 [fill={[type=SOLID] [color=#FF0000]}] [cx=50.00] [cy=75.00] [r=2.00]
@@ -26,31 +26,31 @@
         LayoutSVGPath {line} at (300,75) size 0x375 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=300.00] [y1=75.00] [x2=300.00] [y2=450.00]
         LayoutSVGPath {line} at (350,75) size 0x375 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=350.00] [y1=75.00] [x2=350.00] [y2=450.00]
         LayoutSVGPath {line} at (400,75) size 0x375 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=400.00] [y1=75.00] [x2=400.00] [y2=450.00]
-      LayoutSVGText {text} at (41.50,75) size 17x155.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (41.50,75) size 17x155.39
+      LayoutSVGText {text} at (41.50,75) size 17x155 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (41.50,75) size 17x155
           chunk 1 (vertical) text run 1 at (45.50,75.00) startOffset 0 endOffset 1 height 17.00: "W"
-          chunk 1 (vertical) text run 2 at (45.50,88.40) startOffset 1 endOffset 2 height 17.00: "r"
-          chunk 1 (vertical) text run 3 at (45.50,93.40) startOffset 2 endOffset 3 height 17.00: "i"
-          chunk 1 (vertical) text run 4 at (45.50,96.40) startOffset 3 endOffset 4 height 17.00: "t"
-          chunk 1 (vertical) text run 5 at (45.50,100.40) startOffset 4 endOffset 5 height 17.00: "i"
-          chunk 1 (vertical) text run 6 at (45.50,103.40) startOffset 5 endOffset 6 height 17.00: "n"
-          chunk 1 (vertical) text run 7 at (45.50,110.40) startOffset 6 endOffset 7 height 17.00: "g"
-          chunk 1 (vertical) text run 8 at (45.50,117.40) startOffset 7 endOffset 8 height 17.00: " "
-          chunk 1 (vertical) text run 9 at (45.50,121.40) startOffset 8 endOffset 9 height 17.00: "t"
-          chunk 1 (vertical) text run 10 at (45.50,125.40) startOffset 9 endOffset 10 height 17.00: "o"
-          chunk 1 (vertical) text run 11 at (45.50,132.40) startOffset 10 endOffset 11 height 17.00: "p"
-          chunk 1 (vertical) text run 12 at (45.50,139.40) startOffset 11 endOffset 12 height 17.00: " "
-          chunk 1 (vertical) text run 13 at (45.50,143.40) startOffset 12 endOffset 13 height 17.00: "t"
-          chunk 1 (vertical) text run 14 at (45.50,147.40) startOffset 13 endOffset 14 height 17.00: "o"
-          chunk 1 (vertical) text run 15 at (45.50,154.40) startOffset 14 endOffset 15 height 17.00: " "
-          chunk 1 (vertical) text run 16 at (45.50,158.40) startOffset 15 endOffset 16 height 17.00: "b"
-          chunk 1 (vertical) text run 17 at (45.50,165.40) startOffset 16 endOffset 17 height 17.00: "o"
-          chunk 1 (vertical) text run 18 at (45.50,172.40) startOffset 17 endOffset 18 height 17.00: "t"
-          chunk 1 (vertical) text run 19 at (45.50,176.40) startOffset 18 endOffset 19 height 17.00: "t"
-          chunk 1 (vertical) text run 20 at (45.50,180.40) startOffset 19 endOffset 20 height 17.00: "o"
-          chunk 1 (vertical) text run 21 at (45.50,187.40) startOffset 20 endOffset 21 height 17.00: "m"
-          chunk 1 (vertical) text run 22 at (45.50,198.40) startOffset 21 endOffset 22 height 17.00: "\x{753B}"
-          chunk 1 (vertical) text run 23 at (45.50,215.40) startOffset 22 endOffset 23 height 17.00: "\x{50CF}"
+          chunk 1 (vertical) text run 2 at (45.50,88.00) startOffset 1 endOffset 2 height 17.00: "r"
+          chunk 1 (vertical) text run 3 at (45.50,93.00) startOffset 2 endOffset 3 height 17.00: "i"
+          chunk 1 (vertical) text run 4 at (45.50,96.00) startOffset 3 endOffset 4 height 17.00: "t"
+          chunk 1 (vertical) text run 5 at (45.50,100.00) startOffset 4 endOffset 5 height 17.00: "i"
+          chunk 1 (vertical) text run 6 at (45.50,103.00) startOffset 5 endOffset 6 height 17.00: "n"
+          chunk 1 (vertical) text run 7 at (45.50,110.00) startOffset 6 endOffset 7 height 17.00: "g"
+          chunk 1 (vertical) text run 8 at (45.50,117.00) startOffset 7 endOffset 8 height 17.00: " "
+          chunk 1 (vertical) text run 9 at (45.50,121.00) startOffset 8 endOffset 9 height 17.00: "t"
+          chunk 1 (vertical) text run 10 at (45.50,125.00) startOffset 9 endOffset 10 height 17.00: "o"
+          chunk 1 (vertical) text run 11 at (45.50,132.00) startOffset 10 endOffset 11 height 17.00: "p"
+          chunk 1 (vertical) text run 12 at (45.50,139.00) startOffset 11 endOffset 12 height 17.00: " "
+          chunk 1 (vertical) text run 13 at (45.50,143.00) startOffset 12 endOffset 13 height 17.00: "t"
+          chunk 1 (vertical) text run 14 at (45.50,147.00) startOffset 13 endOffset 14 height 17.00: "o"
+          chunk 1 (vertical) text run 15 at (45.50,154.00) startOffset 14 endOffset 15 height 17.00: " "
+          chunk 1 (vertical) text run 16 at (45.50,158.00) startOffset 15 endOffset 16 height 17.00: "b"
+          chunk 1 (vertical) text run 17 at (45.50,165.00) startOffset 16 endOffset 17 height 17.00: "o"
+          chunk 1 (vertical) text run 18 at (45.50,172.00) startOffset 17 endOffset 18 height 17.00: "t"
+          chunk 1 (vertical) text run 19 at (45.50,176.00) startOffset 18 endOffset 19 height 17.00: "t"
+          chunk 1 (vertical) text run 20 at (45.50,180.00) startOffset 19 endOffset 20 height 17.00: "o"
+          chunk 1 (vertical) text run 21 at (45.50,187.00) startOffset 20 endOffset 21 height 17.00: "m"
+          chunk 1 (vertical) text run 22 at (45.50,198.00) startOffset 21 endOffset 22 height 17.00: "\x{753B}"
+          chunk 1 (vertical) text run 23 at (45.50,215.00) startOffset 22 endOffset 23 height 17.00: "\x{50CF}"
       LayoutSVGText {text} at (91.50,75) size 17x163 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (91.50,75) size 17x163
           chunk 1 (vertical) text run 1 at (95.50,75.00) startOffset 0 endOffset 1 height 17.00: "G"
@@ -238,9 +238,9 @@
       LayoutSVGContainer {g} at (9.80,0.09) size 320.20x44.78 [transform={m=((1.00,0.00)(0.00,1.00)) t=(40.00,450.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 315x27.43
           LayoutSVGPath {path} at (100,58.58) size 2100x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 0 1000 100 C 1100 200 1200 300 1300 200 C 1400 100 1500 0 1600 100 C 1700 200 1800 300 1900 200 C 2000 100 2100 0 2200 100"]
-        LayoutSVGText {text} at (9.80,0.09) size 318.16x44.78 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (9.80,0.09) size 318.16x44.78
-            LayoutSVGInlineText {#text} at (9.80,0.09) size 318.16x44.78
+        LayoutSVGText {text} at (9.80,0.09) size 317.75x44.78 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (9.80,0.09) size 317.75x44.78
+            LayoutSVGInlineText {#text} at (9.80,0.09) size 317.75x44.78
               chunk 1 (vertical) text run 1 at (20.41,24.64) startOffset 0 endOffset 1 height 15.00: "V"
               chunk 1 (vertical) text run 2 at (31.65,14.87) startOffset 1 endOffset 2 height 15.00: "e"
               chunk 1 (vertical) text run 3 at (45.24,8.86) startOffset 2 endOffset 3 height 15.00: "r"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalTextOnPath-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalTextOnPath-expected.png
index b0ab29d..312ee0d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalTextOnPath-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalTextOnPath-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalTextOnPath-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalTextOnPath-expected.txt
index c02632e..f6e5082 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalTextOnPath-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/verticalTextOnPath-expected.txt
@@ -3,40 +3,40 @@
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
     LayoutSVGContainer {g} at (9.05,25) size 437.95x457
-      LayoutSVGText {text} at (136.44,25) size 177.11x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (136.44,25) size 177.11x18
-          chunk 1 (middle anchor) text run 1 at (136.44,40.00) startOffset 0 endOffset 28 width 177.12: "Vertical text on a path test"
+      LayoutSVGText {text} at (136.50,25) size 177x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (136.50,25) size 177x18
+          chunk 1 (middle anchor) text run 1 at (136.50,40.00) startOffset 0 endOffset 28 width 177.00: "Vertical text on a path test"
       LayoutSVGHiddenContainer {defs} at (15,8.79) size 120x41.21
         LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
         LayoutSVGPath {path} at (100,25) size 300x75 [transform={m=((0.30,0.00)(0.00,0.50)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF]}] [data="M 100 100 C 100 0 400 0 400 100"]
       LayoutSVGContainer {g} at (9.05,-9.88) size 125.95x91.88 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,70.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
-        LayoutSVGText {text} at (9.05,-9.88) size 79.73x52.36 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (9.05,-9.88) size 79.73x52.36
-            LayoutSVGInlineText {#text} at (9.05,3.48) size 33.06x32.47
-              chunk 1 (vertical) text run 1 at (17.87,27.14) startOffset 0 endOffset 1 height 17.00: "T"
-              chunk 1 (vertical) text run 2 at (23.27,21.92) startOffset 1 endOffset 2 height 17.00: "e"
-              chunk 1 (vertical) text run 3 at (28.49,17.32) startOffset 2 endOffset 3 height 17.00: "x"
-              chunk 1 (vertical) text run 4 at (32.86,14.01) startOffset 3 endOffset 4 height 17.00: "t"
-              chunk 1 (vertical) text run 5 at (36.27,11.90) startOffset 4 endOffset 5 height 17.00: " "
-            LayoutSVGTSpan {tspan} at (9.05,-9.88) size 79.73x52.36
-              LayoutSVGInlineText {#text} at (32.39,-9.88) size 20.89x19.19
-                chunk 1 (vertical) text run 1 at (41.31,9.69) startOffset 0 endOffset 1 height 17.00: "o"
-                chunk 1 (vertical) text run 2 at (48.19,8.85) startOffset 1 endOffset 2 height 17.00: "n"
-            LayoutSVGTSpan {tspan} at (9.05,-9.88) size 79.73x52.36
-              LayoutSVGInlineText {#text} at (48.08,1.70) size 40.72x40.77
-                chunk 1 (vertical) text run 1 at (53.45,10.26) startOffset 0 endOffset 1 height 17.00: " "
-                chunk 1 (vertical) text run 2 at (57.98,13.16) startOffset 1 endOffset 2 height 17.00: "a"
-                chunk 1 (vertical) text run 3 at (62.14,17.13) startOffset 2 endOffset 3 height 17.00: " "
-                chunk 1 (vertical) text run 4 at (66.83,21.73) startOffset 3 endOffset 4 height 17.00: "P"
-                chunk 1 (vertical) text run 5 at (72.72,27.04) startOffset 4 endOffset 5 height 17.00: "a"
-                chunk 1 (vertical) text run 6 at (77.02,30.40) startOffset 5 endOffset 6 height 17.00: "t"
-                chunk 1 (vertical) text run 7 at (81.70,33.34) startOffset 6 endOffset 7 height 17.00: "h"
+        LayoutSVGText {text} at (9.05,-9.88) size 79.77x52.39 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (9.05,-9.88) size 79.77x52.39
+            LayoutSVGInlineText {#text} at (9.05,3.45) size 33.09x32.50
+              chunk 1 (vertical) text run 1 at (17.89,27.12) startOffset 0 endOffset 1 height 17.00: "T"
+              chunk 1 (vertical) text run 2 at (23.30,21.89) startOffset 1 endOffset 2 height 17.00: "e"
+              chunk 1 (vertical) text run 3 at (28.53,17.29) startOffset 2 endOffset 3 height 17.00: "x"
+              chunk 1 (vertical) text run 4 at (32.90,13.99) startOffset 3 endOffset 4 height 17.00: "t"
+              chunk 1 (vertical) text run 5 at (36.31,11.88) startOffset 4 endOffset 5 height 17.00: " "
+            LayoutSVGTSpan {tspan} at (9.05,-9.88) size 79.77x52.39
+              LayoutSVGInlineText {#text} at (32.47,-9.88) size 20.91x19.17
+                chunk 1 (vertical) text run 1 at (41.36,9.67) startOffset 0 endOffset 1 height 17.00: "o"
+                chunk 1 (vertical) text run 2 at (48.24,8.85) startOffset 1 endOffset 2 height 17.00: "n"
+            LayoutSVGTSpan {tspan} at (9.05,-9.88) size 79.77x52.39
+              LayoutSVGInlineText {#text} at (48.09,1.72) size 40.72x40.77
+                chunk 1 (vertical) text run 1 at (53.49,10.28) startOffset 0 endOffset 1 height 17.00: " "
+                chunk 1 (vertical) text run 2 at (58.02,13.19) startOffset 1 endOffset 2 height 17.00: "a"
+                chunk 1 (vertical) text run 3 at (62.17,17.17) startOffset 2 endOffset 3 height 17.00: " "
+                chunk 1 (vertical) text run 4 at (66.86,21.76) startOffset 3 endOffset 4 height 17.00: "P"
+                chunk 1 (vertical) text run 5 at (72.75,27.07) startOffset 4 endOffset 5 height 17.00: "a"
+                chunk 1 (vertical) text run 6 at (77.06,30.42) startOffset 5 endOffset 6 height 17.00: "t"
+                chunk 1 (vertical) text run 7 at (81.74,33.36) startOffset 6 endOffset 7 height 17.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 65.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 65.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 65.82: "startOffset=\"0%\""
+        LayoutSVGText {text} at (35,50) size 66x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 66x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 66.00: "startOffset=\"0%\""
         LayoutSVGText {text} at (34,60) size 76x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 76x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 19 width 75.00: "text-anchor=\"start\""
@@ -61,9 +61,9 @@
                 chunk 1 (middle anchor, vertical) text run 6 at (92.24,36.21) startOffset 5 endOffset 6 height 17.00: "t"
                 chunk 1 (middle anchor, vertical) text run 7 at (106.89,28.19) startOffset 6 endOffset 7 height 17.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 65.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 65.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 65.82: "startOffset=\"0%\""
+        LayoutSVGText {text} at (35,50) size 66x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 66x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 66.00: "startOffset=\"0%\""
         LayoutSVGText {text} at (34,60) size 87x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 87x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 20 width 86.00: "text-anchor=\"middle\""
@@ -91,9 +91,9 @@
                 chunk 1 (end anchor, vertical) text run 6 at (58.50,13.60) startOffset 5 endOffset 6 height 17.00: "t"
                 chunk 1 (end anchor, vertical) text run 7 at (62.61,17.61) startOffset 6 endOffset 7 height 17.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 70.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 70.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 70.82: "startOffset=\"50%\""
+        LayoutSVGText {text} at (35,50) size 71x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 71x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 71.00: "startOffset=\"50%\""
         LayoutSVGText {text} at (34,60) size 73x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 73x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 17 width 72.00: "text-anchor=\"end\""
@@ -103,28 +103,28 @@
       LayoutSVGContainer {g} at (15,6.86) size 132x75.14 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,170.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
-        LayoutSVGText {text} at (67.23,6.86) size 66.97x38 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (67.23,6.86) size 66.97x38
-            LayoutSVGInlineText {#text} at (67.23,20.14) size 35.36x24.73
-              chunk 1 (vertical) text run 1 at (75.55,29.31) startOffset 0 endOffset 1 height 17.00: "T"
-              chunk 1 (vertical) text run 2 at (81.80,33.39) startOffset 1 endOffset 2 height 17.00: "e"
-              chunk 1 (vertical) text run 3 at (88.32,35.84) startOffset 2 endOffset 3 height 17.00: "x"
-              chunk 1 (vertical) text run 4 at (93.81,36.09) startOffset 3 endOffset 4 height 17.00: "t"
-              chunk 1 (vertical) text run 5 at (97.61,35.09) startOffset 4 endOffset 5 height 17.00: " "
-            LayoutSVGTSpan {tspan} at (67.23,6.86) size 66.97x38
-              LayoutSVGInlineText {#text} at (88.25,11.30) size 21.05x22.03
-                chunk 1 (vertical) text run 1 at (102.28,32.40) startOffset 0 endOffset 1 height 17.00: "o"
-                chunk 1 (vertical) text run 2 at (107.69,27.46) startOffset 1 endOffset 2 height 17.00: "n"
-            LayoutSVGTSpan {tspan} at (67.23,6.86) size 66.97x38
-              LayoutSVGInlineText {#text} at (105.31,6.86) size 28.89x25.19
-                chunk 1 (vertical) text run 1 at (111.95,24.03) startOffset 0 endOffset 1 height 17.00: " "
-                chunk 1 (vertical) text run 2 at (116.51,21.04) startOffset 1 endOffset 2 height 17.00: "a"
-                chunk 1 (vertical) text run 3 at (121.39,18.53) startOffset 2 endOffset 3 height 17.00: " "
-                chunk 1 (vertical) text run 4 at (127.58,16.27) startOffset 3 endOffset 4 height 17.00: "P"
+        LayoutSVGText {text} at (67.23,6.86) size 67x38.02 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (67.23,6.86) size 67x38.02
+            LayoutSVGInlineText {#text} at (67.23,20.14) size 35.42x24.73
+              chunk 1 (vertical) text run 1 at (75.57,29.33) startOffset 0 endOffset 1 height 17.00: "T"
+              chunk 1 (vertical) text run 2 at (81.84,33.41) startOffset 1 endOffset 2 height 17.00: "e"
+              chunk 1 (vertical) text run 3 at (88.36,35.85) startOffset 2 endOffset 3 height 17.00: "x"
+              chunk 1 (vertical) text run 4 at (93.85,36.08) startOffset 3 endOffset 4 height 17.00: "t"
+              chunk 1 (vertical) text run 5 at (97.66,35.08) startOffset 4 endOffset 5 height 17.00: " "
+            LayoutSVGTSpan {tspan} at (67.23,6.86) size 67x38.02
+              LayoutSVGInlineText {#text} at (88.27,11.25) size 21.08x22.05
+                chunk 1 (vertical) text run 1 at (102.32,32.37) startOffset 0 endOffset 1 height 17.00: "o"
+                chunk 1 (vertical) text run 2 at (107.73,27.43) startOffset 1 endOffset 2 height 17.00: "n"
+            LayoutSVGTSpan {tspan} at (67.23,6.86) size 67x38.02
+              LayoutSVGInlineText {#text} at (105.36,6.86) size 28.89x25.17
+                chunk 1 (vertical) text run 1 at (111.98,24.00) startOffset 0 endOffset 1 height 17.00: " "
+                chunk 1 (vertical) text run 2 at (116.55,21.01) startOffset 1 endOffset 2 height 17.00: "a"
+                chunk 1 (vertical) text run 3 at (121.43,18.50) startOffset 2 endOffset 3 height 17.00: " "
+                chunk 1 (vertical) text run 4 at (127.62,16.26) startOffset 3 endOffset 4 height 17.00: "P"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 70.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 70.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 70.82: "startOffset=\"50%\""
+        LayoutSVGText {text} at (35,50) size 71x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 71x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 71.00: "startOffset=\"50%\""
         LayoutSVGText {text} at (34,60) size 76x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 76x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 19 width 75.00: "text-anchor=\"start\""
@@ -150,31 +150,31 @@
                 chunk 1 (middle anchor, vertical) text run 3 at (109.22,26.15) startOffset 2 endOffset 3 height 17.00: " "
                 chunk 1 (middle anchor, vertical) text run 4 at (123.82,17.52) startOffset 3 endOffset 4 height 17.00: "P"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 70.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 70.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 70.82: "startOffset=\"50%\""
+        LayoutSVGText {text} at (35,50) size 71x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 71x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 17 width 71.00: "startOffset=\"50%\""
         LayoutSVGText {text} at (34,60) size 87x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 87x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 20 width 86.00: "text-anchor=\"middle\""
         LayoutSVGText {text} at (35,70) size 102x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,70) size 102x12
             chunk 1 text run 1 at (35.00,80.00) startOffset 0 endOffset 24 width 102.00: "glyph-orientation=\"0deg\""
-      LayoutSVGContainer {g} at (15,3.20) size 127x78.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,170.00)}]
+      LayoutSVGContainer {g} at (15,3.17) size 127x78.83 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,170.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
-        LayoutSVGText {text} at (48.75,3.20) size 79.83x41.56 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (48.75,3.20) size 79.83x41.56
-            LayoutSVGInlineText {#text} at (48.75,3.20) size 32.92x33.50
-              chunk 1 (end anchor, vertical) text run 1 at (57.02,12.41) startOffset 0 endOffset 1 height 17.00: "T"
+        LayoutSVGText {text} at (48.72,3.17) size 79.88x41.59 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (48.72,3.17) size 79.88x41.59
+            LayoutSVGInlineText {#text} at (48.72,3.17) size 32.95x33.53
+              chunk 1 (end anchor, vertical) text run 1 at (57.00,12.39) startOffset 0 endOffset 1 height 17.00: "T"
               chunk 1 (end anchor, vertical) text run 2 at (62.70,17.69) startOffset 1 endOffset 2 height 17.00: "e"
               chunk 1 (end anchor, vertical) text run 3 at (67.75,22.60) startOffset 2 endOffset 3 height 17.00: "x"
               chunk 1 (end anchor, vertical) text run 4 at (71.76,26.22) startOffset 3 endOffset 4 height 17.00: "t"
               chunk 1 (end anchor, vertical) text run 5 at (74.88,28.79) startOffset 4 endOffset 5 height 17.00: " "
-            LayoutSVGTSpan {tspan} at (48.75,3.20) size 79.83x41.56
+            LayoutSVGTSpan {tspan} at (48.72,3.17) size 79.88x41.59
               LayoutSVGInlineText {#text} at (77.20,14.45) size 17.84x20.36
                 chunk 1 (end anchor, vertical) text run 1 at (79.38,31.98) startOffset 0 endOffset 1 height 17.00: "o"
                 chunk 1 (end anchor, vertical) text run 2 at (85.64,35.09) startOffset 1 endOffset 2 height 17.00: "n"
-            LayoutSVGTSpan {tspan} at (48.75,3.20) size 79.83x41.56
+            LayoutSVGTSpan {tspan} at (48.72,3.17) size 79.88x41.59
               LayoutSVGInlineText {#text} at (88.52,9.05) size 40.06x35.72
                 chunk 1 (end anchor, vertical) text run 1 at (90.97,36.19) startOffset 0 endOffset 1 height 17.00: " "
                 chunk 1 (end anchor, vertical) text run 2 at (96.34,35.54) startOffset 1 endOffset 2 height 17.00: "a"
@@ -184,9 +184,9 @@
                 chunk 1 (end anchor, vertical) text run 6 at (117.11,20.69) startOffset 5 endOffset 6 height 17.00: "t"
                 chunk 1 (end anchor, vertical) text run 7 at (122.03,18.24) startOffset 6 endOffset 7 height 17.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 75.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 75.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 18 width 75.82: "startOffset=\"100%\""
+        LayoutSVGText {text} at (35,50) size 76x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 76x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 18 width 76.00: "startOffset=\"100%\""
         LayoutSVGText {text} at (34,60) size 73x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 73x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 17 width 72.00: "text-anchor=\"end\""
@@ -196,63 +196,63 @@
       LayoutSVGContainer {g} at (15,0.25) size 132x81.75 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,270.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
-        LayoutSVGText {text} at (42.67,0.25) size 77.39x44.56 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (42.67,0.25) size 77.39x44.56
-            LayoutSVGInlineText {#text} at (42.67,0.25) size 31.11x28.64
-              chunk 1 (vertical) text run 1 at (46.71,8.79) startOffset 0 endOffset 1 height 17.00: "T"
-              chunk 1 (vertical) text run 2 at (53.92,10.49) startOffset 1 endOffset 2 height 17.00: "e"
-              chunk 1 (vertical) text run 3 at (59.57,14.58) startOffset 2 endOffset 3 height 17.00: "x"
-              chunk 1 (vertical) text run 4 at (63.58,18.57) startOffset 3 endOffset 4 height 17.00: "t"
-              chunk 1 (vertical) text run 5 at (66.47,21.38) startOffset 4 endOffset 5 height 17.00: " "
-            LayoutSVGTSpan {tspan} at (42.67,0.25) size 77.39x44.56
-              LayoutSVGInlineText {#text} at (68.81,8.92) size 20.92x21.50
-                chunk 1 (vertical) text run 1 at (70.44,25.07) startOffset 0 endOffset 1 height 17.00: "o"
-                chunk 1 (vertical) text run 2 at (75.84,29.53) startOffset 1 endOffset 2 height 17.00: "n"
-            LayoutSVGTSpan {tspan} at (42.67,0.25) size 77.39x44.56
-              LayoutSVGInlineText {#text} at (74.39,14.84) size 45.67x29.97
-                chunk 1 (vertical) text run 1 at (80.43,32.62) startOffset 0 endOffset 1 height 17.00: " "
-                chunk 1 (vertical) text run 2 at (85.38,35.00) startOffset 1 endOffset 2 height 17.00: "a"
-                chunk 1 (vertical) text run 3 at (90.70,36.17) startOffset 2 endOffset 3 height 17.00: " "
-                chunk 1 (vertical) text run 4 at (97.03,35.31) startOffset 3 endOffset 4 height 17.00: "P"
-                chunk 1 (vertical) text run 5 at (103.78,31.15) startOffset 4 endOffset 5 height 17.00: "a"
-                chunk 1 (vertical) text run 6 at (107.98,27.21) startOffset 5 endOffset 6 height 17.00: "t"
-                chunk 1 (vertical) text run 7 at (112.27,23.80) startOffset 6 endOffset 7 height 17.00: "h"
+        LayoutSVGText {text} at (42.69,0.25) size 77.41x44.55 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (42.69,0.25) size 77.41x44.55
+            LayoutSVGInlineText {#text} at (42.69,0.25) size 31.13x28.67
+              chunk 1 (vertical) text run 1 at (46.74,8.79) startOffset 0 endOffset 1 height 17.00: "T"
+              chunk 1 (vertical) text run 2 at (53.97,10.51) startOffset 1 endOffset 2 height 17.00: "e"
+              chunk 1 (vertical) text run 3 at (59.61,14.61) startOffset 2 endOffset 3 height 17.00: "x"
+              chunk 1 (vertical) text run 4 at (63.62,18.60) startOffset 3 endOffset 4 height 17.00: "t"
+              chunk 1 (vertical) text run 5 at (66.50,21.41) startOffset 4 endOffset 5 height 17.00: " "
+            LayoutSVGTSpan {tspan} at (42.69,0.25) size 77.41x44.55
+              LayoutSVGInlineText {#text} at (68.86,8.95) size 20.91x21.50
+                chunk 1 (vertical) text run 1 at (70.47,25.10) startOffset 0 endOffset 1 height 17.00: "o"
+                chunk 1 (vertical) text run 2 at (75.87,29.56) startOffset 1 endOffset 2 height 17.00: "n"
+            LayoutSVGTSpan {tspan} at (42.69,0.25) size 77.41x44.55
+              LayoutSVGInlineText {#text} at (74.44,14.81) size 45.66x29.98
+                chunk 1 (vertical) text run 1 at (80.47,32.64) startOffset 0 endOffset 1 height 17.00: " "
+                chunk 1 (vertical) text run 2 at (85.42,35.01) startOffset 1 endOffset 2 height 17.00: "a"
+                chunk 1 (vertical) text run 3 at (90.75,36.18) startOffset 2 endOffset 3 height 17.00: " "
+                chunk 1 (vertical) text run 4 at (97.07,35.30) startOffset 3 endOffset 4 height 17.00: "P"
+                chunk 1 (vertical) text run 5 at (103.82,31.12) startOffset 4 endOffset 5 height 17.00: "a"
+                chunk 1 (vertical) text run 6 at (108.02,27.18) startOffset 5 endOffset 6 height 17.00: "t"
+                chunk 1 (vertical) text run 7 at (112.31,23.77) startOffset 6 endOffset 7 height 17.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 62.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 62.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 62.82: "startOffset=\"35\""
+        LayoutSVGText {text} at (35,50) size 63x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 63x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 63.00: "startOffset=\"35\""
         LayoutSVGText {text} at (34,60) size 76x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 76x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 19 width 75.00: "text-anchor=\"start\""
         LayoutSVGText {text} at (35,70) size 112x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (35,70) size 112x12
             chunk 1 text run 1 at (35.00,80.00) startOffset 0 endOffset 26 width 112.00: "glyph-orientation=\"180deg\""
-      LayoutSVGContainer {g} at (10.48,-5.67) size 124.52x77.67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,270.00)}]
+      LayoutSVGContainer {g} at (10.50,-5.69) size 124.50x77.69 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,270.00)}]
         LayoutSVGContainer {use} at (15,8.79) size 120x27.43
           LayoutSVGPath {path} at (100,58.58) size 800x182.84 [transform={m=((0.15,0.00)(0.00,0.15)) t=(0.00,0.00)}] [stroke={[type=SOLID] [color=#0000FF] [stroke width=2.00]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
-        LayoutSVGText {text} at (10.48,-5.67) size 68.91x40.25 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (10.48,-5.67) size 68.91x40.25
-            LayoutSVGInlineText {#text} at (10.48,11.91) size 22.44x22.66
-              chunk 1 (middle anchor, vertical) text run 1 at (18.95,26.07) startOffset 2 endOffset 3 height 17.00: "x"
-              chunk 1 (middle anchor, vertical) text run 2 at (22.92,22.24) startOffset 3 endOffset 4 height 17.00: "t"
-              chunk 1 (middle anchor, vertical) text run 3 at (25.81,19.60) startOffset 4 endOffset 5 height 17.00: " "
-            LayoutSVGTSpan {tspan} at (10.48,-5.67) size 68.91x40.25
-              LayoutSVGInlineText {#text} at (15.95,-5.67) size 22.19x22.69
-                chunk 1 (middle anchor, vertical) text run 1 at (30.07,16.06) startOffset 0 endOffset 1 height 17.00: "o"
-                chunk 1 (middle anchor, vertical) text run 2 at (35.87,12.13) startOffset 1 endOffset 2 height 17.00: "n"
-            LayoutSVGTSpan {tspan} at (10.48,-5.67) size 68.91x40.25
-              LayoutSVGInlineText {#text} at (36.23,0.17) size 43.17x34.23
-                chunk 1 (middle anchor, vertical) text run 1 at (40.86,9.83) startOffset 0 endOffset 1 height 17.00: " "
-                chunk 1 (middle anchor, vertical) text run 2 at (46.21,8.80) startOffset 1 endOffset 2 height 17.00: "a"
-                chunk 1 (middle anchor, vertical) text run 3 at (51.57,9.53) startOffset 2 endOffset 3 height 17.00: " "
-                chunk 1 (middle anchor, vertical) text run 4 at (57.20,12.54) startOffset 3 endOffset 4 height 17.00: "P"
-                chunk 1 (middle anchor, vertical) text run 5 at (63.24,18.23) startOffset 4 endOffset 5 height 17.00: "a"
-                chunk 1 (middle anchor, vertical) text run 6 at (67.21,22.08) startOffset 5 endOffset 6 height 17.00: "t"
-                chunk 1 (middle anchor, vertical) text run 7 at (71.18,25.72) startOffset 6 endOffset 7 height 17.00: "h"
+        LayoutSVGText {text} at (10.50,-5.69) size 68.91x40.25 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (10.50,-5.69) size 68.91x40.25
+            LayoutSVGInlineText {#text} at (10.50,11.89) size 22.44x22.66
+              chunk 1 (middle anchor, vertical) text run 1 at (18.97,26.05) startOffset 2 endOffset 3 height 17.00: "x"
+              chunk 1 (middle anchor, vertical) text run 2 at (22.94,22.22) startOffset 3 endOffset 4 height 17.00: "t"
+              chunk 1 (middle anchor, vertical) text run 3 at (25.83,19.59) startOffset 4 endOffset 5 height 17.00: " "
+            LayoutSVGTSpan {tspan} at (10.50,-5.69) size 68.91x40.25
+              LayoutSVGInlineText {#text} at (15.98,-5.69) size 22.19x22.69
+                chunk 1 (middle anchor, vertical) text run 1 at (30.09,16.04) startOffset 0 endOffset 1 height 17.00: "o"
+                chunk 1 (middle anchor, vertical) text run 2 at (35.89,12.11) startOffset 1 endOffset 2 height 17.00: "n"
+            LayoutSVGTSpan {tspan} at (10.50,-5.69) size 68.91x40.25
+              LayoutSVGInlineText {#text} at (36.27,0.17) size 43.16x34.25
+                chunk 1 (middle anchor, vertical) text run 1 at (40.89,9.82) startOffset 0 endOffset 1 height 17.00: " "
+                chunk 1 (middle anchor, vertical) text run 2 at (46.24,8.80) startOffset 1 endOffset 2 height 17.00: "a"
+                chunk 1 (middle anchor, vertical) text run 3 at (51.59,9.54) startOffset 2 endOffset 3 height 17.00: " "
+                chunk 1 (middle anchor, vertical) text run 4 at (57.22,12.56) startOffset 3 endOffset 4 height 17.00: "P"
+                chunk 1 (middle anchor, vertical) text run 5 at (63.25,18.24) startOffset 4 endOffset 5 height 17.00: "a"
+                chunk 1 (middle anchor, vertical) text run 6 at (67.23,22.10) startOffset 5 endOffset 6 height 17.00: "t"
+                chunk 1 (middle anchor, vertical) text run 7 at (71.20,25.73) startOffset 6 endOffset 7 height 17.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 62.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 62.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 62.82: "startOffset=\"35\""
+        LayoutSVGText {text} at (35,50) size 63x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 63x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 63.00: "startOffset=\"35\""
         LayoutSVGText {text} at (34,60) size 87x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 87x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 20 width 86.00: "text-anchor=\"middle\""
@@ -271,9 +271,9 @@
                 chunk 1 (end anchor, vertical) text run 3 at (26.58,18.93) startOffset 5 endOffset 6 height 17.00: "t"
                 chunk 1 (end anchor, vertical) text run 4 at (30.87,15.45) startOffset 6 endOffset 7 height 17.00: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
-        LayoutSVGText {text} at (35,50) size 62.81x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35,50) size 62.81x12
-            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 62.82: "startOffset=\"35\""
+        LayoutSVGText {text} at (35,50) size 63x12 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (35,50) size 63x12
+            chunk 1 text run 1 at (35.00,60.00) startOffset 0 endOffset 16 width 63.00: "startOffset=\"35\""
         LayoutSVGText {text} at (34,60) size 73x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (34,60) size 73x12
             chunk 1 text run 1 at (35.00,70.00) startOffset 0 endOffset 17 width 72.00: "text-anchor=\"end\""
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/xmlSpace-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/xmlSpace-expected.png
index bc509339..39cb395 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/xmlSpace-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/xmlSpace-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/xmlSpace-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/xmlSpace-expected.txt
index 7203606..2a56854 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/xmlSpace-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/batik/text/xmlSpace-expected.txt
@@ -2,9 +2,9 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 450x500
   LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGText {text} at (134.38,25) size 181.22x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (134.38,25) size 181.22x18
-        chunk 1 (middle anchor) text run 1 at (134.39,40.00) startOffset 0 endOffset 26 width 181.23: "Test of xml:space handling"
+    LayoutSVGText {text} at (134.50,25) size 181x18 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (134.50,25) size 181x18
+        chunk 1 (middle anchor) text run 1 at (134.50,40.00) startOffset 0 endOffset 26 width 181.00: "Test of xml:space handling"
     LayoutSVGContainer {g} at (10,58) size 435x322
       LayoutSVGText {text} at (10,58) size 33x22 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,58) size 33x22
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/button-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/button-expected.txt
index bd0f75b..16ae4ee 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/button-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/button-expected.txt
@@ -90,9 +90,9 @@
             LayoutSVGContainer {g} at (-3,-7) size 7.25x14 [transform={m=((1.25,0.00)(0.00,1.25)) t=(0.00,0.00)}]
               LayoutSVGPath {line} at (0,0) size 3x7 [stroke={[type=SOLID] [color=#000000] [stroke width=1.75]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=0.00] [x2=3.00] [y2=7.00]
               LayoutSVGPath {path} at (-3,-7) size 7.25x10 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FFFFFF] [fill rule=EVEN-ODD]}] [data="M -3 -7 L -3 3 L 0 0 L 4.25 -0.5 Z"]
-    LayoutSVGText {text} at (100,194.63) size 71.83x19.19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (100,194.63) size 71.83x19.19
-        chunk 1 text run 1 at (100.00,210.00) startOffset 0 endOffset 10 width 71.84: "StatusText"
+    LayoutSVGText {text} at (100,194.63) size 71.67x19.19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (100,194.63) size 71.67x19.19
+        chunk 1 text run 1 at (100.00,210.00) startOffset 0 endOffset 10 width 71.68: "StatusText"
     LayoutSVGText {text} at (430,304.63) size 472.31x19.19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (430,304.63) size 472.31x19.19
         chunk 1 text run 1 at (430.00,320.00) startOffset 0 endOffset 73 width 472.32: "Click this text to randomly resize the multiline textbutton (textbutton7)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/colourpicker-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/colourpicker-expected.png
index 03d718c..bfcd5bc8d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/colourpicker-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/colourpicker-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/colourpicker-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/colourpicker-expected.txt
index b73e951..f3b6d1a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/colourpicker-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/colourpicker-expected.txt
@@ -49,9 +49,9 @@
         LayoutSVGContainer {use} at (0,-10) size 0x20 [transform={m=((1.00,0.00)(0.00,1.00)) t=(410.00,463.60)}]
           LayoutSVGViewportContainer {svg} at (0,-10) size 0x20
             LayoutSVGPath {line} at (0,-10) size 0x20 [stroke={[type=SOLID] [color=#696969] [stroke width=5.00]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=-10.00] [x2=0.00] [y2=10.00]
-        LayoutSVGText {text} at (416,456.58) size 50.30x15.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (416,456.58) size 50.30x15.36
-            chunk 1 text run 1 at (416.00,468.10) startOffset 0 endOffset 9 width 50.31: "Value (%)"
+        LayoutSVGText {text} at (416,456.58) size 49.91x15.36 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (416,456.58) size 49.91x15.36
+            chunk 1 text run 1 at (416.00,468.10) startOffset 0 endOffset 9 width 49.92: "Value (%)"
         LayoutSVGRect {rect} at (302,483.85) size 108x7.50 [fill={[type=LINEAR-GRADIENT] [id="colourPicker1_alphaGradient"]}] [x=302.00] [y=483.85] [width=108.00] [height=7.50]
         LayoutSVGPath {line} at (302,487.60) size 108x0 [stroke={[type=SOLID] [color=#000000] [opacity=0.00] [stroke width=15.00] [line cap=SQUARE]}] [fill={[type=SOLID] [color=#000000] [opacity=0.00]}] [x1=302.00] [y1=487.60] [x2=410.00] [y2=487.60]
         LayoutSVGPath {line} at (302,487.60) size 108x0 [x1=302.00] [y1=487.60] [x2=410.00] [y2=487.60]
@@ -61,9 +61,9 @@
         LayoutSVGText {text} at (416,480.58) size 64x15.36 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (416,480.58) size 64x15.36
             chunk 1 text run 1 at (416.00,492.10) startOffset 0 endOffset 11 width 64.00: "Opacity (%)"
-        LayoutSVGText {text} at (212,502.47) size 238.47x15.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (212,502.47) size 238.47x15.36
-            chunk 1 text run 1 at (212.00,514.00) startOffset 0 endOffset 40 width 238.47: "RGBA: 0,255,0,100; HSVA: 120,100,100,100"
+        LayoutSVGText {text} at (212,502.47) size 238.08x15.36 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (212,502.47) size 238.08x15.36
+            chunk 1 text run 1 at (212.00,514.00) startOffset 0 endOffset 40 width 238.08: "RGBA: 0,255,0,100; HSVA: 120,100,100,100"
       LayoutSVGContainer {g} at (500,200) size 300x100
         LayoutSVGRect {rect} at (500,200) size 300x100 [fill={[type=SOLID] [color=#DCDCDC]}] [x=500.00] [y=200.00] [width=300.00] [height=100.00]
         LayoutSVGRect {rect} at (512,209.25) size 198x7.50 [fill={[type=LINEAR-GRADIENT] [id="colourPicker3_hueGradient"]}] [x=512.00] [y=209.25] [width=198.00] [height=7.50]
@@ -92,12 +92,12 @@
         LayoutSVGContainer {use} at (0,-10) size 0x20 [transform={m=((1.00,0.00)(0.00,1.00)) t=(710.00,266.33)}]
           LayoutSVGViewportContainer {svg} at (0,-10) size 0x20
             LayoutSVGPath {line} at (0,-10) size 0x20 [stroke={[type=SOLID] [color=#696969] [stroke width=5.00]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=-10.00] [x2=0.00] [y2=10.00]
-        LayoutSVGText {text} at (716,259.31) size 50.30x15.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (716,259.31) size 50.30x15.36
-            chunk 1 text run 1 at (716.00,270.83) startOffset 0 endOffset 9 width 50.31: "Value (%)"
-        LayoutSVGText {text} at (512,283.47) size 225.66x15.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (512,283.47) size 225.66x15.36
-            chunk 1 text run 1 at (512.00,295.00) startOffset 0 endOffset 38 width 225.67: "RGBA: 255,0,0,100; HSVA: 0,100,100,100"
+        LayoutSVGText {text} at (716,259.31) size 49.91x15.36 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (716,259.31) size 49.91x15.36
+            chunk 1 text run 1 at (716.00,270.83) startOffset 0 endOffset 9 width 49.92: "Value (%)"
+        LayoutSVGText {text} at (512,283.47) size 225.27x15.36 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (512,283.47) size 225.27x15.36
+            chunk 1 text run 1 at (512.00,295.00) startOffset 0 endOffset 38 width 225.28: "RGBA: 255,0,0,100; HSVA: 0,100,100,100"
       LayoutSVGContainer {g} at (700,500) size 300x120
         LayoutSVGRect {rect} at (700,500) size 300x120 [fill={[type=SOLID] [color=#DCDCDC]}] [x=700.00] [y=500.00] [width=300.00] [height=120.00]
         LayoutSVGRect {rect} at (712,511.85) size 198x7.50 [fill={[type=LINEAR-GRADIENT] [id="colourPicker4_hueGradient"]}] [x=712.00] [y=511.85] [width=198.00] [height=7.50]
@@ -125,9 +125,9 @@
         LayoutSVGContainer {use} at (0,-10) size 0x20 [transform={m=((1.00,0.00)(0.00,1.00)) t=(836.86,563.60)}]
           LayoutSVGViewportContainer {svg} at (0,-10) size 0x20
             LayoutSVGPath {line} at (0,-10) size 0x20 [stroke={[type=SOLID] [color=#696969] [stroke width=5.00]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=-10.00] [x2=0.00] [y2=10.00]
-        LayoutSVGText {text} at (916,556.58) size 50.30x15.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (916,556.58) size 50.30x15.36
-            chunk 1 text run 1 at (916.00,568.10) startOffset 0 endOffset 9 width 50.31: "Value (%)"
+        LayoutSVGText {text} at (916,556.58) size 49.91x15.36 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (916,556.58) size 49.91x15.36
+            chunk 1 text run 1 at (916.00,568.10) startOffset 0 endOffset 9 width 49.92: "Value (%)"
         LayoutSVGRect {rect} at (772,583.85) size 138x7.50 [fill={[type=LINEAR-GRADIENT] [id="colourPicker4_alphaGradient"]}] [x=772.00] [y=583.85] [width=138.00] [height=7.50]
         LayoutSVGPath {line} at (772,587.60) size 138x0 [stroke={[type=SOLID] [color=#000000] [opacity=0.00] [stroke width=15.00] [line cap=SQUARE]}] [fill={[type=SOLID] [color=#000000] [opacity=0.00]}] [x1=772.00] [y1=587.60] [x2=910.00] [y2=587.60]
         LayoutSVGPath {line} at (772,587.60) size 138x0 [x1=772.00] [y1=587.60] [x2=910.00] [y2=587.60]
@@ -137,9 +137,9 @@
         LayoutSVGText {text} at (916,580.58) size 64x15.36 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (916,580.58) size 64x15.36
             chunk 1 text run 1 at (916.00,592.10) startOffset 0 endOffset 11 width 64.00: "Opacity (%)"
-        LayoutSVGText {text} at (712,602.47) size 232.06x15.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (712,602.47) size 232.06x15.36
-            chunk 1 text run 1 at (712.00,614.00) startOffset 0 endOffset 39 width 232.07: "RGBA: 120,120,120,100; HSVA: 0,0,47,100"
+        LayoutSVGText {text} at (712,602.47) size 231.67x15.36 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (712,602.47) size 231.67x15.36
+            chunk 1 text run 1 at (712.00,614.00) startOffset 0 endOffset 39 width 231.68: "RGBA: 120,120,120,100; HSVA: 0,0,47,100"
     LayoutSVGContainer {g} at (490,190) size 335.11x153.03 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(0.00,-400.00)}]
       LayoutSVGRect {rect} at (490,190) size 320x110 [fill={[type=SOLID] [color=#00FFFF] [opacity=0.50]}] [x=490.00] [y=190.00] [width=320.00] [height=110.00]
       LayoutSVGText {text} at (500,303.36) size 325.11x39.67 contains 1 chunk(s)
@@ -178,9 +178,9 @@
         LayoutSVGText {text} at (716,252.67) size 64x15.36 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (716,252.67) size 64x15.36
             chunk 1 text run 1 at (716.00,264.20) startOffset 0 endOffset 11 width 64.00: "Opacity (%)"
-        LayoutSVGText {text} at (512,273.97) size 238.47x15.36 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (512,273.97) size 238.47x15.36
-            chunk 1 text run 1 at (512.00,285.50) startOffset 0 endOffset 40 width 238.47: "RGBA: 0,255,255,50; HSVA: 180,100,100,50"
+        LayoutSVGText {text} at (512,273.97) size 238.08x15.36 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (512,273.97) size 238.08x15.36
+            chunk 1 text run 1 at (512.00,285.50) startOffset 0 endOffset 40 width 238.08: "RGBA: 0,255,255,50; HSVA: 180,100,100,50"
     LayoutSVGContainer {g} at (499,169) size 367x350
       LayoutSVGContainer {g} at (509,441) size 112x22
         LayoutSVGRect {rect} at (509,441) size 110x20 [fill={[type=SOLID] [color=#FFFFFF]}] [x=509.00] [y=441.00] [width=110.00] [height=20.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/scrollbar-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/scrollbar-expected.txt
index 6ab652a..57c294b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/scrollbar-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/scrollbar-expected.txt
@@ -12,7 +12,7 @@
     LayoutSVGViewportContainer {svg} at (0,0) size 3607x420.50
       LayoutSVGContainer {g} at (0,0) size 3607x420.50
         LayoutSVGImage {image} at (0,0) size 3607x420.50
-        LayoutSVGContainer {g} at (410.38,64.80) size 2035.23x325.45
+        LayoutSVGContainer {g} at (410.38,64.80) size 2035.44x325.45
           LayoutSVGText {text} at (410.38,73.80) size 91.25x18.75 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (410.38,73.80) size 91.25x18.75
               chunk 1 (middle anchor) text run 1 at (410.38,88.80) startOffset 0 endOffset 13 width 91.25: "Furggeltihorn"
@@ -31,9 +31,9 @@
           LayoutSVGText {text} at (2250.14,147.59) size 82.50x18.75 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (2250.14,147.59) size 82.50x18.75
               chunk 1 (middle anchor) text run 1 at (2250.15,162.60) startOffset 0 endOffset 11 width 82.50: "Crap Grisch"
-          LayoutSVGText {text} at (2379.78,134.59) size 65.83x18.75 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (2379.78,134.59) size 65.83x18.75
-              chunk 1 (middle anchor) text run 1 at (2379.78,149.60) startOffset 0 endOffset 9 width 65.84: "Piz Tom\x{FC}l"
+          LayoutSVGText {text} at (2379.56,134.59) size 66.25x18.75 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (2379.56,134.59) size 66.25x18.75
+              chunk 1 (middle anchor) text run 1 at (2379.57,149.60) startOffset 0 endOffset 9 width 66.25: "Piz Tom\x{FC}l"
           LayoutSVGText {text} at (1734.47,97.59) size 56.25x18.75 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (1734.47,97.59) size 56.25x18.75
               chunk 1 (middle anchor) text run 1 at (1734.47,112.60) startOffset 0 endOffset 8 width 56.25: "Fruntalp"
@@ -55,9 +55,9 @@
         LayoutSVGRect {rect} at (950.50,234.50) size 15x15 [stroke={[type=SOLID] [color=#696969]}] [fill={[type=SOLID] [color=#D3D3D3]}] [x=950.50] [y=234.50] [width=15.00] [height=15.00]
         LayoutSVGPath {path} at (954.50,54.50) size 8x8 [fill={[type=SOLID] [color=#696969]}] [data="M 958 54.5 L 962.5 62.5 L 954.5 62.5 Z"]
         LayoutSVGPath {path} at (954.50,238.50) size 8x8 [fill={[type=SOLID] [color=#696969]}] [data="M 958 246.5 L 954.5 238.5 L 962.5 238.5 Z"]
-    LayoutSVGText {text} at (393.39,267.50) size 556.61x16.25 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (393.39,267.50) size 556.61x16.25
-        chunk 1 (end anchor) text run 1 at (393.39,280.00) startOffset 0 endOffset 89 width 556.61: "Panorama Zervreilastausee, Vals, Graub\x{FC}nden, Switzerland, taken 2006-02-04 (\x{A9} A. Neumann)"
+    LayoutSVGText {text} at (393.75,267.50) size 556.25x16.25 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (393.75,267.50) size 556.25x16.25
+        chunk 1 (end anchor) text run 1 at (393.75,280.00) startOffset 0 endOffset 89 width 556.25: "Panorama Zervreilastausee, Vals, Graub\x{FC}nden, Switzerland, taken 2006-02-04 (\x{A9} A. Neumann)"
     LayoutSVGViewportContainer {svg} at (0,0) size 3560.75x689
       LayoutSVGContainer {g} at (0,0) size 3560.75x689
         LayoutSVGImage {image} at (0,0) size 3560.75x689
@@ -76,9 +76,9 @@
         LayoutSVGRect {rect} at (950.50,539.50) size 10x10 [stroke={[type=SOLID] [color=#696969]}] [fill={[type=SOLID] [color=#D3D3D3]}] [x=950.50] [y=539.50] [width=10.00] [height=10.00]
         LayoutSVGPath {path} at (953.50,532.50) size 6x6 [fill={[type=SOLID] [color=#696969]}] [data="M 955.5 532.5 L 959.5 538.5 L 953.5 538.5 Z"]
         LayoutSVGPath {path} at (953.50,542.50) size 6x6 [fill={[type=SOLID] [color=#696969]}] [data="M 955.5 548.5 L 953.5 542.5 L 959.5 542.5 Z"]
-    LayoutSVGText {text} at (390.44,562.50) size 559.55x16.25 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (390.44,562.50) size 559.55x16.25
-        chunk 1 (end anchor) text run 1 at (390.45,575.00) startOffset 0 endOffset 94 width 559.55: "Panorama Chalchtrittli, Tierfed, Linthal, Glarus, Switzerland, taken 2005-09-03 (\x{A9} A. Neumann)"
+    LayoutSVGText {text} at (390,562.50) size 560x16.25 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (390,562.50) size 560x16.25
+        chunk 1 (end anchor) text run 1 at (390.00,575.00) startOffset 0 endOffset 94 width 560.00: "Panorama Chalchtrittli, Tierfed, Linthal, Glarus, Switzerland, taken 2005-09-03 (\x{A9} A. Neumann)"
     LayoutSVGContainer {g} at (49,579) size 232x22
       LayoutSVGContainer {g} at (49,579) size 112x22
         LayoutSVGRect {rect} at (49,579) size 110x20 [fill={[type=SOLID] [color=#FFFFFF]}] [x=49.00] [y=579.00] [width=110.00] [height=20.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/selectionlist-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/selectionlist-expected.txt
index 04acd64..15f3da26 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/selectionlist-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/selectionlist-expected.txt
@@ -58,10 +58,10 @@
             chunk 1 text run 1 at (220.00,232.00) startOffset 0 endOffset 23 width 125.44: "Note that one can also "
             chunk 1 text run 1 at (345.44,232.00) startOffset 0 endOffset 49 width 254.72: "transform the group containing the selection list"
         LayoutSVGTSpan {tspan} at (220,200.47) size 469.75x75.36
-          LayoutSVGInlineText {#text} at (220,240.47) size 441.64x15.36
+          LayoutSVGInlineText {#text} at (220,240.47) size 441.58x15.36
             chunk 1 text run 1 at (220.00,252.00) startOffset 0 endOffset 5 width 25.60: "This "
-            chunk 1 text run 1 at (245.60,252.00) startOffset 0 endOffset 74 width 382.78: "selectionlist does not react on user input (functionToCall is a undefined "
-            chunk 1 text run 1 at (628.38,252.00) startOffset 0 endOffset 6 width 33.28: "value)"
+            chunk 1 text run 1 at (245.60,252.00) startOffset 0 endOffset 74 width 382.72: "selectionlist does not react on user input (functionToCall is a undefined "
+            chunk 1 text run 1 at (628.32,252.00) startOffset 0 endOffset 6 width 33.28: "value)"
         LayoutSVGTSpan {tspan} at (220,200.47) size 469.75x75.36
           LayoutSVGInlineText {#text} at (220,260.47) size 469.73x15.36
             chunk 1 text run 1 at (220.00,272.00) startOffset 0 endOffset 14 width 70.40: "Click on this "
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/textbox-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/textbox-expected.txt
index df62e6b..17da5358 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/textbox-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/carto.net/textbox-expected.txt
@@ -19,19 +19,19 @@
               LayoutSVGInlineText {#text} at (105,36.63) size 17.91x19.19
                 chunk 1 text run 1 at (105.00,52.00) startOffset 0 endOffset 2 width 17.92: "50"
             LayoutSVGPath {line} at (100,38.50) size 0x16.50 [stroke={[type=SOLID] [color=#FF0000] [stroke width=1.50]}] [fill={[type=SOLID] [color=#000000]}] [x1=100.00] [y1=55.00] [x2=100.00] [y2=38.50]
-    LayoutSVGContainer {g} at (0,0) size 437.97x30 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,300.00)}]
-      LayoutSVGContainer {g} at (0,0) size 437.97x30
+    LayoutSVGContainer {g} at (0,0) size 437.63x30 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,300.00)}]
+      LayoutSVGContainer {g} at (0,0) size 437.63x30
         LayoutSVGRect {rect} at (0,0) size 230x30 [stroke={[type=SOLID] [color=#696969] [stroke width=1.50]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=0.00] [y=0.00] [width=230.00] [height=30.00]
-        LayoutSVGViewportContainer {svg} at (0,6.63) size 437.97x19.19
-          LayoutSVGContainer {g} at (0,6.63) size 437.97x19.19
-            LayoutSVGText {text} at (5,6.63) size 432.97x19.19 contains 1 chunk(s)
-              LayoutSVGInlineText {#text} at (5,6.63) size 432.97x19.19
-                chunk 1 text run 1 at (5.00,22.00) startOffset 0 endOffset 66 width 432.98: "This is a transformed textbox with a very, very, very long content"
+        LayoutSVGViewportContainer {svg} at (0,6.63) size 437.63x19.19
+          LayoutSVGContainer {g} at (0,6.63) size 437.63x19.19
+            LayoutSVGText {text} at (5,6.63) size 432.63x19.19 contains 1 chunk(s)
+              LayoutSVGInlineText {#text} at (5,6.63) size 432.63x19.19
+                chunk 1 text run 1 at (5.00,22.00) startOffset 0 endOffset 66 width 432.64: "This is a transformed textbox with a very, very, very long content"
             LayoutSVGPath {line} at (0,8.50) size 0x16.50 [stroke={[type=SOLID] [color=#FF0000] [stroke width=1.50]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=25.00] [x2=0.00] [y2=8.50]
     LayoutSVGContainer {g} at (100,34.63) size 847.67x330.19
-      LayoutSVGText {text} at (100,214.63) size 66.78x19.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (100,214.63) size 66.78x19.19
-          chunk 1 text run 1 at (100.00,230.00) startOffset 0 endOffset 10 width 66.79: "ResultText"
+      LayoutSVGText {text} at (100,214.63) size 66.55x19.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (100,214.63) size 66.55x19.19
+          chunk 1 text run 1 at (100.00,230.00) startOffset 0 endOffset 10 width 66.56: "ResultText"
       LayoutSVGText {text} at (170,34.63) size 318.72x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (170,34.63) size 318.72x19.19
           chunk 1 text run 1 at (170.00,50.00) startOffset 0 endOffset 53 width 318.72: "This textbox (textbox 2) only accepts up to 5 digits."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/css/css-box-min-width-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/css/css-box-min-width-expected.txt
index d562050..6f63bed 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/css/css-box-min-width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/css/css-box-min-width-expected.txt
@@ -7,5 +7,5 @@
         LayoutSVGRoot {svg} at (5,5) size 100x100
           LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
       LayoutBlockFlow {P} at (0,110) size 784x20
-        LayoutText {#text} at (0,0) size 420x19
-          text run at (0,0) width 420: "You should see a solid 5px black border around a 100x100 blue rect."
+        LayoutText {#text} at (0,0) size 419x19
+          text run at (0,0) width 419: "You should see a solid 5px black border around a 100x100 blue rect."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/absolute-sized-svg-in-xhtml-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/absolute-sized-svg-in-xhtml-expected.txt
index 602ae278..865719a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/absolute-sized-svg-in-xhtml-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/absolute-sized-svg-in-xhtml-expected.txt
@@ -7,17 +7,17 @@
       LayoutInline {h1} at (0,0) size 53x19
         LayoutText {#text} at (0,85) size 53x19
           text run at (0,85) width 53: "Test 123"
-      LayoutText {#text} at (52,85) size 5x19
-        text run at (52,85) width 5: " "
-      LayoutSVGRoot {svg} at (56.88,0) size 100x100
-        LayoutSVGText {text} at (0,-15) size 184.39x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,-15) size 184.39x19
-            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 29 width 184.40: "You should see an error above"
+      LayoutText {#text} at (53,85) size 4x19
+        text run at (53,85) width 4: " "
+      LayoutSVGRoot {svg} at (57,0) size 100x100
+        LayoutSVGText {text} at (0,-15) size 184x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (0,-15) size 184x19
+            chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 29 width 184.00: "You should see an error above"
         LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
-      LayoutText {#text} at (156,85) size 5x19
-        text run at (156,85) width 5: " "
-      LayoutInline {h1} at (0,0) size 62x19
-        LayoutText {#text} at (160,85) size 62x19
-          text run at (160,85) width 62: "Test ABC"
+      LayoutText {#text} at (157,85) size 4x19
+        text run at (157,85) width 4: " "
+      LayoutInline {h1} at (0,0) size 61x19
+        LayoutText {#text} at (161,85) size 61x19
+          text run at (161,85) width 61: "Test ABC"
       LayoutText {#text} at (0,0) size 0x0
     LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/bug45331-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/bug45331-expected.png
index e66f789..1f78876b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/bug45331-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/bug45331-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/clip-mask-negative-scale-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/clip-mask-negative-scale-expected.txt
index 7e059ed..94a4ea3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/clip-mask-negative-scale-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/clip-mask-negative-scale-expected.txt
@@ -41,6 +41,6 @@
         [clipPath="clip"] LayoutSVGResourceClipper {clipPath} at (10,10) size 90x90
         LayoutSVGContainer {use} at (10,10) size 200x200
           LayoutSVGImage {image} at (10,10) size 200x200
-    LayoutSVGText {text} at (-200,91) size 482.98x11.25 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (-200,91) size 482.98x11.25
+    LayoutSVGText {text} at (-200,91) size 483x11.25 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (-200,91) size 483x11.25
         chunk 1 text run 1 at (-200.00,100.00) startOffset 0 endOffset 120 width 483.00: "This test passes when it displays two four-square groups, all green and with arrows pointing away from the group center."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/clone-element-with-animated-svg-properties-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/clone-element-with-animated-svg-properties-expected.txt
index deab3c7..dc41d3b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/clone-element-with-animated-svg-properties-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/clone-element-with-animated-svg-properties-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 508x19
-          text run at (0,0) width 508: "Here is an html paragraph. And below is a svg drawing. You should see two ellipses."
+        LayoutText {#text} at (0,0) size 507x19
+          text run at (0,0) width 507: "Here is an html paragraph. And below is a svg drawing. You should see two ellipses."
       LayoutBlockFlow {DIV} at (0,36) size 784x400
         LayoutSVGRoot {svg} at (0,0) size 400x400
           LayoutSVGEllipse {ellipse} at (20,40) size 60x20 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#FF0000]}] [cx=50.00] [cy=50.00] [rx=30.00] [ry=10.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/container-opacity-clip-viewBox-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/container-opacity-clip-viewBox-expected.txt
index fc7912ff..add4f35 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/container-opacity-clip-viewBox-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/container-opacity-clip-viewBox-expected.txt
@@ -19,6 +19,6 @@
         LayoutSVGInlineText {#text} at (346,0) size 4x19
           chunk 1 text run 1 at (346.00,15.00) startOffset 0 endOffset 1 width 4.00: " "
         LayoutSVGTSpan {tspan} at (0,-15) size 350x49
-          LayoutSVGInlineText {#text} at (0,15) size 67.41x19
-            chunk 1 text run 1 at (0.00,30.00) startOffset 0 endOffset 9 width 67.41: "Bug 11909"
+          LayoutSVGInlineText {#text} at (0,15) size 67x19
+            chunk 1 text run 1 at (0.00,30.00) startOffset 0 endOffset 9 width 67.00: "Bug 11909"
         LayoutSVGInlineText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/coords-relative-units-transforms-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/coords-relative-units-transforms-expected.txt
index 915a3b4..b599ba5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/coords-relative-units-transforms-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/coords-relative-units-transforms-expected.txt
@@ -3,7 +3,7 @@
 layer at (0,0) size 400x200
   LayoutSVGRoot {svg} at (0,0) size 400x200
     LayoutSVGRect {rect} at (5,5) size 3990x1990 [stroke={[type=SOLID] [color=#0000FF] [stroke width=10.00]}] [x=5.00] [y=5.00] [width=3990.00] [height=1990.00]
-    LayoutSVGContainer {g} at (350,150) size 3376.33x1450
+    LayoutSVGContainer {g} at (350,150) size 3380x1450
       LayoutSVGContainer {g} at (-50,150) size 818x1434 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,0.00)}]
         LayoutSVGText {text} at (-50,150) size 790x180 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (-50,150) size 790x180
@@ -13,17 +13,17 @@
         LayoutSVGContainer {g} at (0,600) size 384x192 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}]
           LayoutSVGRect {rect} at (0,600) size 384x192 [stroke={[type=SOLID] [color=#FF0000] [stroke width=38.40]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=600.00] [width=384.00] [height=192.00]
       LayoutSVGContainer {g} at (-50,150) size 800x1425 [transform={m=((1.00,0.00)(0.00,1.00)) t=(1600.00,0.00)}]
-        LayoutSVGText {text} at (-50,150) size 736.33x180 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-50,150) size 736.33x180
-            chunk 1 text run 1 at (-50.00,300.00) startOffset 0 endOffset 11 width 736.34: "Rel. units:"
+        LayoutSVGText {text} at (-50,150) size 740x180 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-50,150) size 740x180
+            chunk 1 text run 1 at (-50.00,300.00) startOffset 0 endOffset 11 width 740.00: "Rel. units:"
         LayoutSVGRect {rect} at (0,400) size 375x187.50 [stroke={[type=SOLID] [color=#FF0000] [stroke width=37.50]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=400.00] [width=375.00] [height=187.50]
         LayoutSVGRect {rect} at (0,750) size 375x187.50 [stroke={[type=SOLID] [color=#FF0000] [stroke width=37.50]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=750.00] [width=375.00] [height=187.50]
         LayoutSVGContainer {g} at (0,600) size 375x187.50 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}]
           LayoutSVGRect {rect} at (0,600) size 375x187.50 [stroke={[type=SOLID] [color=#FF0000] [stroke width=37.50]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=600.00] [width=375.00] [height=187.50]
-      LayoutSVGContainer {g} at (-50,150) size 976.33x1450 [transform={m=((1.00,0.00)(0.00,1.00)) t=(2800.00,0.00)}]
-        LayoutSVGText {text} at (-50,150) size 976.33x180 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-50,150) size 976.33x180
-            chunk 1 text run 1 at (-50.00,300.00) startOffset 0 endOffset 12 width 976.34: "Percentages:"
+      LayoutSVGContainer {g} at (-50,150) size 980x1450 [transform={m=((1.00,0.00)(0.00,1.00)) t=(2800.00,0.00)}]
+        LayoutSVGText {text} at (-50,150) size 980x180 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (-50,150) size 980x180
+            chunk 1 text run 1 at (-50.00,300.00) startOffset 0 endOffset 12 width 980.00: "Percentages:"
         LayoutSVGRect {rect} at (0,400) size 400x200 [stroke={[type=SOLID] [color=#FF0000] [stroke width=31.62]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=400.00] [width=400.00] [height=200.00]
         LayoutSVGRect {rect} at (0,750) size 400x200 [stroke={[type=SOLID] [color=#FF0000] [stroke width=31.62]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=750.00] [width=400.00] [height=200.00]
         LayoutSVGContainer {g} at (0,600) size 400x200 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Discrete-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Discrete-expected.png
index 9d63e625..bce8383 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Discrete-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Discrete-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Discrete-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Discrete-expected.txt
index 5044d5f..7ad64023 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Discrete-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Discrete-expected.txt
@@ -39,21 +39,21 @@
           LayoutSVGRect {rect} at (1,1) size 648x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=648.00] [height=418.00]
           LayoutSVGRect {rect} at (20,10) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=10.00] [width=580.00] [height=40.00]
             [filter="Identity"] LayoutSVGResourceFilter {filter} at (20,10) size 580x40
-          LayoutSVGText {text} at (20,55.27) size 102.11x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,55.27) size 102.11x17.33
-              chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 14 width 102.12: "type: identity"
+          LayoutSVGText {text} at (20,55.27) size 102.27x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,55.27) size 102.27x17.33
+              chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 14 width 102.27: "type: identity"
           LayoutSVGRect {rect} at (20,110) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=110.00] [width=580.00] [height=40.00]
             [filter="DiscreteBlank"] LayoutSVGResourceFilter {filter} at (20,110) size 580x40
-          LayoutSVGText {text} at (20,155.27) size 325.42x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,155.27) size 325.42x17.33
-              chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 44 width 325.43: "type: discrete [0] -- Result should be black"
+          LayoutSVGText {text} at (20,155.27) size 325.86x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,155.27) size 325.86x17.33
+              chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 44 width 325.87: "type: discrete [0] -- Result should be black"
           LayoutSVGRect {rect} at (20,210) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=210.00] [width=580.00] [height=40.00]
             [filter="DiscreteFull"] LayoutSVGResourceFilter {filter} at (20,210) size 580x40
-          LayoutSVGText {text} at (20,255.27) size 328.89x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,255.27) size 328.89x17.33
-              chunk 1 text run 1 at (20.00,270.00) startOffset 0 endOffset 44 width 328.89: "type: discrete [1] -- Result should be green"
+          LayoutSVGText {text} at (20,255.27) size 329.33x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,255.27) size 329.33x17.33
+              chunk 1 text run 1 at (20.00,270.00) startOffset 0 endOffset 44 width 329.33: "type: discrete [1] -- Result should be green"
           LayoutSVGRect {rect} at (20,310) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=310.00] [width=580.00] [height=40.00]
             [filter="DiscreteOrd"] LayoutSVGResourceFilter {filter} at (20,310) size 580x40
-          LayoutSVGText {text} at (20,355.27) size 564.27x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,355.27) size 564.27x17.33
-              chunk 1 text run 1 at (20.00,370.00) startOffset 0 endOffset 75 width 564.28: "type: discrete [0.0 0.25 0.5 0.75 1] -- Result should be quantized gradient"
+          LayoutSVGText {text} at (20,355.27) size 565.06x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,355.27) size 565.06x17.33
+              chunk 1 text run 1 at (20.00,370.00) startOffset 0 endOffset 75 width 565.07: "type: discrete [0.0 0.25 0.5 0.75 1] -- Result should be quantized gradient"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Gamma-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Gamma-expected.png
index a4e98b7..f9ccfa33 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Gamma-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Gamma-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Gamma-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Gamma-expected.txt
index 2f6a4e5..be008c95 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Gamma-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Gamma-expected.txt
@@ -39,27 +39,27 @@
           LayoutSVGRect {rect} at (1,1) size 648x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=648.00] [height=418.00]
           LayoutSVGRect {rect} at (20,10) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=10.00] [width=580.00] [height=40.00]
             [filter="Identity"] LayoutSVGResourceFilter {filter} at (20,10) size 580x40
-          LayoutSVGText {text} at (20,55.27) size 102.11x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,55.27) size 102.11x17.33
-              chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 14 width 102.12: "type: identity"
+          LayoutSVGText {text} at (20,55.27) size 102.27x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,55.27) size 102.27x17.33
+              chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 14 width 102.27: "type: identity"
           LayoutSVGRect {rect} at (20,110) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=110.00] [width=580.00] [height=40.00]
             [filter="GammaBlank"] LayoutSVGResourceFilter {filter} at (20,110) size 580x40
-          LayoutSVGText {text} at (20,155.27) size 579.28x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,155.27) size 579.28x17.33
-              chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 72 width 579.29: "type: gamma amplitude=1 exponent=1 offset=0 -- Result should be identity"
+          LayoutSVGText {text} at (20,155.27) size 579.80x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,155.27) size 579.80x17.33
+              chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 72 width 579.80: "type: gamma amplitude=1 exponent=1 offset=0 -- Result should be identity"
           LayoutSVGRect {rect} at (20,210) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=210.00] [width=580.00] [height=40.00]
             [filter="GammaFull"] LayoutSVGResourceFilter {filter} at (20,210) size 580x40
-          LayoutSVGText {text} at (20,255.27) size 531.69x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,255.27) size 531.69x17.33
-              chunk 1 text run 1 at (20.00,270.00) startOffset 0 endOffset 65 width 531.69: "type: gamma amplitude=1 exponent=0.5 offset=0 -- Result should be"
-          LayoutSVGText {text} at (20,275.27) size 191.02x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,275.27) size 191.02x17.33
-              chunk 1 text run 1 at (20.00,290.00) startOffset 0 endOffset 27 width 191.02: "delayed falloff in gradient"
+          LayoutSVGText {text} at (20,255.27) size 532.13x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,255.27) size 532.13x17.33
+              chunk 1 text run 1 at (20.00,270.00) startOffset 0 endOffset 65 width 532.13: "type: gamma amplitude=1 exponent=0.5 offset=0 -- Result should be"
+          LayoutSVGText {text} at (20,275.27) size 191.53x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,275.27) size 191.53x17.33
+              chunk 1 text run 1 at (20.00,290.00) startOffset 0 endOffset 27 width 191.53: "delayed falloff in gradient"
           LayoutSVGRect {rect} at (20,310) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=310.00] [width=580.00] [height=40.00]
             [filter="GammaOrd"] LayoutSVGResourceFilter {filter} at (20,310) size 580x40
-          LayoutSVGText {text} at (20,355.27) size 569.81x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,355.27) size 569.81x17.33
-              chunk 1 text run 1 at (20.00,370.00) startOffset 0 endOffset 69 width 569.83: "type: gamma amplitude=1 exponent=2 offset=0 -- Result should compress"
-          LayoutSVGText {text} at (20,375.27) size 91.59x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,375.27) size 91.59x17.33
-              chunk 1 text run 1 at (20.00,390.00) startOffset 0 endOffset 12 width 91.60: "the gradient"
+          LayoutSVGText {text} at (20,355.27) size 570.27x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,355.27) size 570.27x17.33
+              chunk 1 text run 1 at (20.00,370.00) startOffset 0 endOffset 69 width 570.27: "type: gamma amplitude=1 exponent=2 offset=0 -- Result should compress"
+          LayoutSVGText {text} at (20,375.27) size 91.86x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,375.27) size 91.86x17.33
+              chunk 1 text run 1 at (20.00,390.00) startOffset 0 endOffset 12 width 91.87: "the gradient"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Linear-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Linear-expected.png
index 53151c8..e0bc0db6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Linear-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Linear-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Linear-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Linear-expected.txt
index 23eecd1..4be7fb8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Linear-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Linear-expected.txt
@@ -39,21 +39,21 @@
           LayoutSVGRect {rect} at (1,1) size 648x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=648.00] [height=418.00]
           LayoutSVGRect {rect} at (20,10) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=10.00] [width=580.00] [height=40.00]
             [filter="Identity"] LayoutSVGResourceFilter {filter} at (20,10) size 580x40
-          LayoutSVGText {text} at (20,55.27) size 102.11x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,55.27) size 102.11x17.33
-              chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 14 width 102.12: "type: identity"
+          LayoutSVGText {text} at (20,55.27) size 102.27x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,55.27) size 102.27x17.33
+              chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 14 width 102.27: "type: identity"
           LayoutSVGRect {rect} at (20,110) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=110.00] [width=580.00] [height=40.00]
             [filter="DiscreteBlank"] LayoutSVGResourceFilter {filter} at (20,110) size 580x40
-          LayoutSVGText {text} at (20,155.27) size 457.08x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,155.27) size 457.08x17.33
-              chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 61 width 457.09: "type: linear slope=1 intercept=0 -- Result should be identity"
+          LayoutSVGText {text} at (20,155.27) size 457.59x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,155.27) size 457.59x17.33
+              chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 61 width 457.60: "type: linear slope=1 intercept=0 -- Result should be identity"
           LayoutSVGRect {rect} at (20,210) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=210.00] [width=580.00] [height=40.00]
             [filter="DiscreteFull"] LayoutSVGResourceFilter {filter} at (20,210) size 580x40
-          LayoutSVGText {text} at (20,255.27) size 474.31x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,255.27) size 474.31x17.33
-              chunk 1 text run 1 at (20.00,270.00) startOffset 0 endOffset 63 width 474.32: "type: linear slope=-1 intercept=0 -- Should invert the gradient"
+          LayoutSVGText {text} at (20,255.27) size 474.92x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,255.27) size 474.92x17.33
+              chunk 1 text run 1 at (20.00,270.00) startOffset 0 endOffset 63 width 474.93: "type: linear slope=-1 intercept=0 -- Should invert the gradient"
           LayoutSVGRect {rect} at (20,310) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=310.00] [width=580.00] [height=40.00]
             [filter="DiscreteOrd"] LayoutSVGResourceFilter {filter} at (20,310) size 580x40
-          LayoutSVGText {text} at (20,355.27) size 601.63x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,355.27) size 601.63x17.33
-              chunk 1 text run 1 at (20.00,370.00) startOffset 0 endOffset 79 width 601.63: "type: linear slope=0.5 intercept=0.25 -- Result should be less extreme gradient"
+          LayoutSVGText {text} at (20,355.27) size 602.33x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,355.27) size 602.33x17.33
+              chunk 1 text run 1 at (20.00,370.00) startOffset 0 endOffset 79 width 602.33: "type: linear slope=0.5 intercept=0.25 -- Result should be less extreme gradient"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Table-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Table-expected.png
index d15e729..e92eb75 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Table-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Table-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Table-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Table-expected.txt
index 354af7f..2f4cc1e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Table-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/feComponentTransfer-Table-expected.txt
@@ -39,21 +39,21 @@
           LayoutSVGRect {rect} at (1,1) size 648x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=648.00] [height=418.00]
           LayoutSVGRect {rect} at (20,10) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=10.00] [width=580.00] [height=40.00]
             [filter="Identity"] LayoutSVGResourceFilter {filter} at (20,10) size 580x40
-          LayoutSVGText {text} at (20,55.27) size 102.11x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,55.27) size 102.11x17.33
-              chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 14 width 102.12: "type: identity"
+          LayoutSVGText {text} at (20,55.27) size 102.27x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,55.27) size 102.27x17.33
+              chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 14 width 102.27: "type: identity"
           LayoutSVGRect {rect} at (20,110) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=110.00] [width=580.00] [height=40.00]
             [filter="TableBlank"] LayoutSVGResourceFilter {filter} at (20,110) size 580x40
-          LayoutSVGText {text} at (20,155.27) size 303.75x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,155.27) size 303.75x17.33
-              chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 41 width 303.76: "type: table [0] -- Result should be black"
+          LayoutSVGText {text} at (20,155.27) size 304.19x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,155.27) size 304.19x17.33
+              chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 41 width 304.20: "type: table [0] -- Result should be black"
           LayoutSVGRect {rect} at (20,210) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=210.00] [width=580.00] [height=40.00]
             [filter="TableFull"] LayoutSVGResourceFilter {filter} at (20,210) size 580x40
-          LayoutSVGText {text} at (20,255.27) size 307.22x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,255.27) size 307.22x17.33
-              chunk 1 text run 1 at (20.00,270.00) startOffset 0 endOffset 41 width 307.23: "type: table [1] -- Result should be green"
+          LayoutSVGText {text} at (20,255.27) size 307.66x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,255.27) size 307.66x17.33
+              chunk 1 text run 1 at (20.00,270.00) startOffset 0 endOffset 41 width 307.67: "type: table [1] -- Result should be green"
           LayoutSVGRect {rect} at (20,310) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=310.00] [width=580.00] [height=40.00]
             [filter="TableOrd"] LayoutSVGResourceFilter {filter} at (20,310) size 580x40
-          LayoutSVGText {text} at (20,355.27) size 465.56x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,355.27) size 465.56x17.33
-              chunk 1 text run 1 at (20.00,370.00) startOffset 0 endOffset 61 width 465.56: "type: table [0 0 1 1] -- Result should be compressed gradient"
+          LayoutSVGText {text} at (20,355.27) size 466.27x17.33 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (20,355.27) size 466.27x17.33
+              chunk 1 text run 1 at (20.00,370.00) startOffset 0 endOffset 61 width 466.27: "type: table [0 0 1 1] -- Result should be compressed gradient"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/fill-fallback-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/fill-fallback-expected.txt
index 815889b..6c69de4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/fill-fallback-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/fill-fallback-expected.txt
@@ -11,6 +11,6 @@
     LayoutSVGText {text} at (0,155) size 419x19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (0,155) size 419x19
         chunk 1 text run 1 at (0.00,170.00) startOffset 0 endOffset 74 width 419.00: "The left should fall back to the green color since the uri does not exist."
-    LayoutSVGText {text} at (0,175) size 463.11x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,175) size 463.11x19
-        chunk 1 text run 1 at (0.00,190.00) startOffset 0 endOffset 78 width 463.12: "The right should show the valid uri and not fall back to red color. Bug 12062."
+    LayoutSVGText {text} at (0,175) size 463x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,175) size 463x19
+        chunk 1 text run 1 at (0.00,190.00) startOffset 0 endOffset 78 width 463.00: "The right should show the valid uri and not fall back to red color. Bug 12062."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/getsvgdocument-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/getsvgdocument-expected.txt
index b64dd87..51a8dbdf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/getsvgdocument-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/getsvgdocument-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 770x39
-          text run at (0,0) width 770: "This tests to see if HTMLEmbedElement.getSVGDocument() and HTMLObjectElement.getSVGDocument() work. You should"
+        LayoutText {#text} at (0,0) size 769x39
+          text run at (0,0) width 769: "This tests to see if HTMLEmbedElement.getSVGDocument() and HTMLObjectElement.getSVGDocument() work. You should"
           text run at (0,20) width 243: "see SUCCESS printed twice below this:"
       LayoutBlockFlow (anonymous) at (0,56) size 784x60
         LayoutBR {BR} at (85,20) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/gradient-with-1d-boundingbox-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/gradient-with-1d-boundingbox-expected.txt
index 45b5967d9..8041ee1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/gradient-with-1d-boundingbox-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/gradient-with-1d-boundingbox-expected.txt
@@ -11,6 +11,6 @@
       LayoutSVGPath {line} at (0,-9) size 0x18 [stroke={[type=RADIAL-GRADIENT] [id="gradient2"]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=-9.00] [x2=0.00] [y2=9.00]
       LayoutSVGPath {line} at (-9,0) size 18x0 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(0.00,0.00)}] [stroke={[type=RADIAL-GRADIENT] [id="gradient2"]}] [fill={[type=SOLID] [color=#000000]}] [x1=-9.00] [y1=0.00] [x2=9.00] [y2=0.00]
       LayoutSVGPath {line} at (-9,0) size 18x0 [transform={m=((0.71,-0.71)(0.71,0.71)) t=(0.00,0.00)}] [stroke={[type=RADIAL-GRADIENT] [id="gradient2"]}] [fill={[type=SOLID] [color=#000000]}] [x1=-9.00] [y1=0.00] [x2=9.00] [y2=0.00]
-    LayoutSVGText {text} at (12.80,135) size 254.39x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (12.80,135) size 254.39x19
-        chunk 1 (middle anchor) text run 1 at (12.80,150.00) startOffset 0 endOffset 43 width 254.40: "You should see a green line, and a red star"
+    LayoutSVGText {text} at (13,135) size 254x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (13,135) size 254x19
+        chunk 1 (middle anchor) text run 1 at (13.00,150.00) startOffset 0 endOffset 43 width 254.00: "You should see a green line, and a red star"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/image-rescale-scroll-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/image-rescale-scroll-expected.txt
index 2ec4196c..b7474bf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/image-rescale-scroll-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/image-rescale-scroll-expected.txt
@@ -9,7 +9,7 @@
       LayoutBlockFlow {P} at (0,36) size 784x40
         LayoutText {#text} at (0,0) size 771x39
           text run at (0,0) width 532: "If successful, the image below extends past the bottom of the window, with no white bar "
-          text run at (531,0) width 240: "occluding the part of the image adjacent"
+          text run at (532,0) width 239: "occluding the part of the image adjacent"
           text run at (0,20) width 174: "to the bottom of the window."
 layer at (50,580) size 160x105 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
   LayoutImage (positioned) {IMG} at (50,580) size 160x105
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/image-with-transform-clip-filter-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/image-with-transform-clip-filter-expected.txt
index 327cf96..26dd69b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/image-with-transform-clip-filter-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/image-with-transform-clip-filter-expected.txt
@@ -11,6 +11,6 @@
     LayoutSVGImage {image} at (0,50) size 503x410 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,-25.00)}]
       [clipPath="myclip"] LayoutSVGResourceClipper {clipPath} at (0,0) size 100x100
       [filter="myfilter"] LayoutSVGResourceFilter {filter} at (-50.30,9) size 603.60x492
-    LayoutSVGText {text} at (0,110) size 521.39x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,110) size 521.39x19
-        chunk 1 text run 1 at (0.00,125.00) startOffset 0 endOffset 84 width 521.40: "You should see a solid green block above (a blurred and clipped green checkerboard)."
+    LayoutSVGText {text} at (0,110) size 521x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,110) size 521x19
+        chunk 1 text run 1 at (0.00,125.00) startOffset 0 endOffset 84 width 521.00: "You should see a solid green block above (a blurred and clipped green checkerboard)."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/invalid-css-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/invalid-css-expected.txt
index a84b231..5cdc5c7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/invalid-css-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/invalid-css-expected.txt
@@ -19,9 +19,9 @@
         chunk 1 text run 1 at (0.00,33.00) startOffset 0 endOffset 25 width 172.80: "no markers and no dashes."
     LayoutSVGPath {path} at (30,40) size 50x50 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#008000]}] [data="M 30 40 L 80 40 L 80 90 L 30 90 Z"]
     LayoutSVGEllipse {circle} at (160,40) size 40x40 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=LINEAR-GRADIENT] [id="grad"]}] [cx=180.00] [cy=60.00] [r=20.00]
-    LayoutSVGText {text} at (0,95.59) size 289.75x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,95.59) size 289.75x18.59
-        chunk 1 text run 1 at (0.00,110.00) startOffset 0 endOffset 45 width 289.76: "The circle should be opaque green, no filter,"
-    LayoutSVGText {text} at (0,115.59) size 108.91x18.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,115.59) size 108.91x18.59
-        chunk 1 text run 1 at (0.00,130.00) startOffset 0 endOffset 17 width 108.92: "green stop color."
+    LayoutSVGText {text} at (0,95.59) size 289.80x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,95.59) size 289.80x18.59
+        chunk 1 text run 1 at (0.00,110.00) startOffset 0 endOffset 45 width 289.80: "The circle should be opaque green, no filter,"
+    LayoutSVGText {text} at (0,115.59) size 109.19x18.59 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,115.59) size 109.19x18.59
+        chunk 1 text run 1 at (0.00,130.00) startOffset 0 endOffset 17 width 109.20: "green stop color."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/invalid-fill-hex-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/invalid-fill-hex-expected.txt
index 29bab904..301c47f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/invalid-fill-hex-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/invalid-fill-hex-expected.txt
@@ -2,22 +2,22 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (0,0) size 638.36x214
+    LayoutSVGContainer {g} at (0,0) size 638x214
       LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
       LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#FFA500]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
-      LayoutSVGContainer {g} at (10,115) size 628.36x99
+      LayoutSVGContainer {g} at (10,115) size 628x99
         LayoutSVGText {text} at (10,115) size 226x19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,115) size 226x19
             chunk 1 text run 1 at (10.00,130.00) startOffset 0 endOffset 32 width 226.00: "The above rect should be ORANGE."
         LayoutSVGText {text} at (10,135) size 606x19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,135) size 606x19
             chunk 1 text run 1 at (10.00,150.00) startOffset 0 endOffset 100 width 606.00: "SVG 1.1 FULL says there should be a \"highly perceivable error\" message when an invalid fill is used."
-        LayoutSVGText {text} at (10,155) size 447.36x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,155) size 447.36x19
-            chunk 1 text run 1 at (10.00,170.00) startOffset 0 endOffset 77 width 447.36: "Browsers don't display such an error, instead use some sort of fill-fallback."
-        LayoutSVGText {text} at (10,175) size 628.36x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,175) size 628.36x19
-            chunk 1 text run 1 at (10.00,190.00) startOffset 0 endOffset 116 width 628.36: "If there's an invalid fill color, but no fallback specified, the fill of the object is inherited from parent object."
-        LayoutSVGText {text} at (10,195) size 261.95x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,195) size 261.95x19
-            chunk 1 text run 1 at (10.00,210.00) startOffset 0 endOffset 41 width 261.96: "Our result matches Opera and Firefox now."
+        LayoutSVGText {text} at (10,155) size 447x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,155) size 447x19
+            chunk 1 text run 1 at (10.00,170.00) startOffset 0 endOffset 77 width 447.00: "Browsers don't display such an error, instead use some sort of fill-fallback."
+        LayoutSVGText {text} at (10,175) size 628x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,175) size 628x19
+            chunk 1 text run 1 at (10.00,190.00) startOffset 0 endOffset 116 width 628.00: "If there's an invalid fill color, but no fallback specified, the fill of the object is inherited from parent object."
+        LayoutSVGText {text} at (10,195) size 262x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,195) size 262x19
+            chunk 1 text run 1 at (10.00,210.00) startOffset 0 endOffset 41 width 262.00: "Our result matches Opera and Firefox now."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/invalid-stroke-hex-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/invalid-stroke-hex-expected.txt
index 9f0dbed..7c83c0f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/invalid-stroke-hex-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/invalid-stroke-hex-expected.txt
@@ -5,19 +5,19 @@
     LayoutSVGContainer {g} at (0,0) size 100x100
       LayoutSVGRect {rect} at (0,0) size 100x100 [stroke={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
       LayoutSVGRect {rect} at (0,0) size 100x100 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
-    LayoutSVGContainer {g} at (10,115) size 678.36x99
+    LayoutSVGContainer {g} at (10,115) size 678x99
       LayoutSVGText {text} at (10,115) size 258x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,115) size 258x19
           chunk 1 text run 1 at (10.00,130.00) startOffset 0 endOffset 40 width 258.00: "The above stroke of rect should be BLUE."
       LayoutSVGText {text} at (10,135) size 631x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,135) size 631x19
           chunk 1 text run 1 at (10.00,150.00) startOffset 0 endOffset 102 width 631.00: "SVG 1.1 FULL says there should be a \"highly perceivable error\" message when an invalid stroke is used."
-      LayoutSVGText {text} at (10,155) size 447.36x19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,155) size 447.36x19
-          chunk 1 text run 1 at (10.00,170.00) startOffset 0 endOffset 77 width 447.36: "Browsers don't display such an error, instead use some sort of fill-fallback."
-      LayoutSVGText {text} at (10,175) size 678.36x19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,175) size 678.36x19
-          chunk 1 text run 1 at (10.00,190.00) startOffset 0 endOffset 120 width 678.36: "If there's an invalid stroke color, but no fallback specified, the stroke of the object is inherited from parent object."
-      LayoutSVGText {text} at (10,195) size 261.95x19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,195) size 261.95x19
-          chunk 1 text run 1 at (10.00,210.00) startOffset 0 endOffset 41 width 261.96: "Our result matches Opera and Firefox now."
+      LayoutSVGText {text} at (10,155) size 447x19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,155) size 447x19
+          chunk 1 text run 1 at (10.00,170.00) startOffset 0 endOffset 77 width 447.00: "Browsers don't display such an error, instead use some sort of fill-fallback."
+      LayoutSVGText {text} at (10,175) size 678x19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,175) size 678x19
+          chunk 1 text run 1 at (10.00,190.00) startOffset 0 endOffset 120 width 678.00: "If there's an invalid stroke color, but no fallback specified, the stroke of the object is inherited from parent object."
+      LayoutSVGText {text} at (10,195) size 262x19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,195) size 262x19
+          chunk 1 text run 1 at (10.00,210.00) startOffset 0 endOffset 41 width 262.00: "Our result matches Opera and Firefox now."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/junk-data-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/junk-data-expected.png
index be61b6ff..0976037f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/junk-data-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/junk-data-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/junk-data-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/junk-data-expected.txt
index fe6223f..16cf4b9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/junk-data-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/junk-data-expected.txt
@@ -16,7 +16,7 @@
             text run at (0,0) width 428: "Below is a rendering of the page up to the first error."
       LayoutBlockFlow (anonymous) at (0,155.88) size 769x605
         LayoutSVGRoot {svg} at (0,0) size 769x600
-          LayoutSVGText {text} at (0,105) size 184.39x19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (0,105) size 184.39x19
-              chunk 1 text run 1 at (0.00,120.00) startOffset 0 endOffset 29 width 184.40: "You should see an error above"
+          LayoutSVGText {text} at (0,105) size 184x19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (0,105) size 184x19
+              chunk 1 text run 1 at (0.00,120.00) startOffset 0 endOffset 29 width 184.00: "You should see an error above"
           LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/linking-uri-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/linking-uri-01-b-expected.txt
index df8f40b..1d79f7a3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/linking-uri-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/linking-uri-01-b-expected.txt
@@ -64,9 +64,9 @@
           LayoutSVGInlineText {#text} at (59.50,282.44) size 51x15.56
             chunk 1 (middle anchor) text run 1 at (59.50,295.00) startOffset 0 endOffset 7 width 51.00: "Polygon"
         LayoutSVGRect {rect} at (36,208) size 100x89 [stroke={[type=SOLID] [color=#000000]}] [x=36.00] [y=208.00] [width=100.00] [height=89.00]
-        LayoutSVGText {text} at (53.20,186) size 63.58x11.25 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (53.20,186) size 63.58x11.25
-            chunk 1 (middle anchor) text run 1 at (53.21,195.00) startOffset 0 endOffset 14 width 63.58: "viewTarget, no"
+        LayoutSVGText {text} at (53.22,186) size 63.56x11.25 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (53.22,186) size 63.56x11.25
+            chunk 1 (middle anchor) text run 1 at (53.22,195.00) startOffset 0 endOffset 14 width 63.56: "viewTarget, no"
         LayoutSVGText {text} at (41.22,195) size 87.56x11.25 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (41.22,195) size 87.56x11.25
             chunk 1 (middle anchor) text run 1 at (41.22,204.00) startOffset 0 endOffset 19 width 87.56: "changes to viewport"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/load-non-wellformed-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/load-non-wellformed-expected.png
index ea9190e..2a6b6d7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/load-non-wellformed-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/load-non-wellformed-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/marker-default-width-height-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/marker-default-width-height-expected.txt
index 8ea1856..1bc1dd4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/marker-default-width-height-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/marker-default-width-height-expected.txt
@@ -6,12 +6,12 @@
       LayoutSVGText {text} at (0,5.59) size 403.80x18.59 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (0,5.59) size 403.80x18.59
           chunk 1 text run 1 at (0.00,20.00) startOffset 0 endOffset 61 width 403.80: "This should show three markers on the path for start/mid/end."
-      LayoutSVGText {text} at (0,25.59) size 375.55x18.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,25.59) size 375.55x18.59
-          chunk 1 text run 1 at (0.00,40.00) startOffset 0 endOffset 55 width 375.56: "Start marker has no markerWidth/markerHeight specified."
-      LayoutSVGText {text} at (0,45.59) size 278.36x18.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,45.59) size 278.36x18.59
-          chunk 1 text run 1 at (0.00,60.00) startOffset 0 endOffset 40 width 278.36: "Mid marker has no markerWidth specified."
+      LayoutSVGText {text} at (0,25.59) size 375.59x18.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,25.59) size 375.59x18.59
+          chunk 1 text run 1 at (0.00,40.00) startOffset 0 endOffset 55 width 375.60: "Start marker has no markerWidth/markerHeight specified."
+      LayoutSVGText {text} at (0,45.59) size 278.39x18.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,45.59) size 278.39x18.59
+          chunk 1 text run 1 at (0.00,60.00) startOffset 0 endOffset 40 width 278.40: "Mid marker has no markerWidth specified."
       LayoutSVGText {text} at (0,65.59) size 281.39x18.59 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (0,65.59) size 281.39x18.59
           chunk 1 text run 1 at (0.00,80.00) startOffset 0 endOffset 41 width 281.40: "End marker has no markerHeight specified."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/marker-orient-auto-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/marker-orient-auto-expected.txt
index fd350ff..f9832c1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/marker-orient-auto-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/marker-orient-auto-expected.txt
@@ -6,7 +6,7 @@
       LayoutText {#text} at (0,0) size 746x39
         text run at (0,0) width 746: "Test for wkbug.com/112054. This test passes if the green star has orange markers pointing outside only and the blue star has"
         text run at (0,20) width 215: "orange markers pointing inside only."
-      LayoutBR {BR} at (214,20) size 1x19
+      LayoutBR {BR} at (215,20) size 0x19
       LayoutSVGRoot {svg} at (0,40) size 500x500
         LayoutSVGResourceMarker {marker} [id="marker"] [markerUnits=strokeWidth] [ref at (0,0)] [angle=auto]
           LayoutSVGPath {path} at (0,0) size 4x5 [stroke={[type=SOLID] [color=#000000] [stroke width=0.50]}] [fill={[type=SOLID] [color=#FFA500]}] [data="M 0 0 L 4 0 L 2 5 L 0 0 Z"]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/missing-xlink-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/missing-xlink-expected.png
index eeb9edd..06efaec 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/missing-xlink-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/missing-xlink-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/missing-xlink-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/missing-xlink-expected.txt
index ae7e4af..933ae0b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/missing-xlink-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/missing-xlink-expected.txt
@@ -16,7 +16,7 @@
             text run at (0,0) width 428: "Below is a rendering of the page up to the first error."
       LayoutBlockFlow (anonymous) at (0,155.88) size 769x605
         LayoutSVGRoot {svg} at (0,0) size 769x600
-          LayoutSVGText {text} at (0,105) size 184.39x19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (0,105) size 184.39x19
-              chunk 1 text run 1 at (0.00,120.00) startOffset 0 endOffset 29 width 184.40: "You should see an error above"
+          LayoutSVGText {text} at (0,105) size 184x19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (0,105) size 184x19
+              chunk 1 text run 1 at (0.00,120.00) startOffset 0 endOffset 29 width 184.00: "You should see an error above"
           LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/path-bad-data-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/path-bad-data-expected.png
index 2cbf073..56ba21b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/path-bad-data-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/path-bad-data-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.txt
index a6ac8bc..7bb1581 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.txt
@@ -16,9 +16,9 @@
       LayoutText {#text} at (202,327) size 4x19
         text run at (202,327) width 4: " "
       LayoutSVGRoot {svg} at (206,40) size 202x302
-        LayoutSVGText {text} at (5,265) size 76.44x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (5,265) size 76.44x19
-            chunk 1 text run 1 at (5.00,280.00) startOffset 0 endOffset 11 width 76.44: "+Transforms"
+        LayoutSVGText {text} at (5,265) size 76x19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (5,265) size 76x19
+            chunk 1 text run 1 at (5.00,280.00) startOffset 0 endOffset 11 width 76.00: "+Transforms"
         LayoutSVGContainer {g} at (0,0) size 100x100 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,100.00)}]
           LayoutSVGRect {rect} at (0,0) size 100x50 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
           LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=PATTERN] [id="pattern"]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/pattern-with-transformation-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/pattern-with-transformation-expected.txt
index 31f7e91e..66af2e8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/pattern-with-transformation-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/pattern-with-transformation-expected.txt
@@ -10,6 +10,6 @@
         LayoutSVGRect {rect} at (5,5) size 5x5 [fill={[type=SOLID] [color=#FFFF00]}] [x=5.00] [y=5.00] [width=5.00] [height=5.00]
     LayoutSVGContainer {g} at (10,10) size 120x100
       LayoutSVGRect {rect} at (10,10) size 120x100 [stroke={[type=PATTERN] [id="pat"]}] [fill={[type=SOLID] [color=#FFFFFF]}] [x=10.00] [y=10.00] [width=120.00] [height=100.00]
-      LayoutSVGText {text} at (15,25) size 83.50x57 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (15,25) size 83.50x57
-          chunk 1 text run 1 at (15.00,70.00) startOffset 0 endOffset 4 width 83.51: "Test"
+      LayoutSVGText {text} at (15,25) size 84x57 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (15,25) size 84x57
+          chunk 1 text run 1 at (15.00,70.00) startOffset 0 endOffset 4 width 84.00: "Test"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-image-css-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-image-css-transform-expected.txt
index 7c6b425..d010364 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-image-css-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-image-css-transform-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGText {text} at (110,5) size 94.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (110,5) size 94.03x19
-        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 94.04: "Visibility: visible"
-    LayoutSVGText {text} at (340,5) size 97.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (340,5) size 97.03x19
-        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 97.04: "Visibility: hidden"
+    LayoutSVGText {text} at (110,5) size 94x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (110,5) size 94x19
+        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 94.00: "Visibility: visible"
+    LayoutSVGText {text} at (340,5) size 97x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (340,5) size 97x19
+        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 97.00: "Visibility: hidden"
     LayoutSVGContainer {g} at (0,30) size 549x563
       LayoutSVGText {text} at (0,45) size 26x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (0,45) size 26x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-image-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-image-expected.txt
index 1ea00544d..514cd6d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-image-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGText {text} at (110,5) size 94.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (110,5) size 94.03x19
-        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 94.04: "Visibility: visible"
-    LayoutSVGText {text} at (340,5) size 97.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (340,5) size 97.03x19
-        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 97.04: "Visibility: hidden"
+    LayoutSVGText {text} at (110,5) size 94x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (110,5) size 94x19
+        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 94.00: "Visibility: visible"
+    LayoutSVGText {text} at (340,5) size 97x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (340,5) size 97x19
+        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 97.00: "Visibility: hidden"
     LayoutSVGContainer {g} at (0,30) size 549x563
       LayoutSVGText {text} at (0,45) size 26x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (0,45) size 26x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-path-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-path-expected.txt
index 12db0c84..0e101e673 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-path-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-path-expected.txt
@@ -11,12 +11,12 @@
     LayoutSVGText {text} at (605,45) size 66x19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (605,45) size 66x19
         chunk 1 text run 1 at (605.00,60.00) startOffset 0 endOffset 11 width 66.00: "Hit Stroke:"
-    LayoutSVGText {text} at (110,5) size 94.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (110,5) size 94.03x19
-        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 94.04: "Visibility: visible"
-    LayoutSVGText {text} at (340,5) size 97.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (340,5) size 97.03x19
-        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 97.04: "Visibility: hidden"
+    LayoutSVGText {text} at (110,5) size 94x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (110,5) size 94x19
+        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 94.00: "Visibility: visible"
+    LayoutSVGText {text} at (340,5) size 97x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (340,5) size 97x19
+        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 97.00: "Visibility: hidden"
     LayoutSVGContainer {g} at (0,20) size 730x573
       LayoutSVGRect {rect} at (680,20) size 50x50 [fill={[type=SOLID] [color=#FFA500]}] [x=680.00] [y=20.00] [width=50.00] [height=50.00]
       LayoutSVGText {text} at (685,25) size 25x19 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-text-css-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-text-css-transform-expected.txt
index 370eb4b..e20556c0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-text-css-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-text-css-transform-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGText {text} at (110,5) size 94.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (110,5) size 94.03x19
-        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 94.04: "Visibility: visible"
-    LayoutSVGText {text} at (340,5) size 97.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (340,5) size 97.03x19
-        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 97.04: "Visibility: hidden"
+    LayoutSVGText {text} at (110,5) size 94x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (110,5) size 94x19
+        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 94.00: "Visibility: visible"
+    LayoutSVGText {text} at (340,5) size 97x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (340,5) size 97x19
+        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 97.00: "Visibility: hidden"
     LayoutSVGContainer {g} at (0,24) size 530x559
       LayoutSVGText {text} at (0,45) size 26x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (0,45) size 26x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-text-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-text-expected.txt
index c39c44e..0ee5b1fa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-text-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/pointer-events-text-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGText {text} at (110,5) size 94.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (110,5) size 94.03x19
-        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 94.04: "Visibility: visible"
-    LayoutSVGText {text} at (340,5) size 97.03x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (340,5) size 97.03x19
-        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 97.04: "Visibility: hidden"
+    LayoutSVGText {text} at (110,5) size 94x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (110,5) size 94x19
+        chunk 1 text run 1 at (110.00,20.00) startOffset 0 endOffset 19 width 94.00: "Visibility: visible"
+    LayoutSVGText {text} at (340,5) size 97x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (340,5) size 97x19
+        chunk 1 text run 1 at (340.00,20.00) startOffset 0 endOffset 18 width 97.00: "Visibility: hidden"
     LayoutSVGContainer {g} at (0,24) size 530x559
       LayoutSVGText {text} at (0,45) size 26x19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (0,45) size 26x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/rootmost-svg-xy-attrs-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/rootmost-svg-xy-attrs-expected.txt
index 9739ca4..4349eecf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/rootmost-svg-xy-attrs-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/rootmost-svg-xy-attrs-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {html} at (0,0) size 800x309.88
     LayoutBlockFlow {body} at (8,21.44) size 784x280.44
       LayoutBlockFlow {h1} at (0,0) size 784x37
-        LayoutText {#text} at (0,0) size 746x36
-          text run at (0,0) width 746: "Test case for x/y attributes on root-most <svg> element"
+        LayoutText {#text} at (0,0) size 745x36
+          text run at (0,0) width 745: "Test case for x/y attributes on root-most <svg> element"
       LayoutBlockFlow {p} at (0,58.44) size 784x60
         LayoutText {#text} at (0,0) size 27x19
           text run at (0,0) width 27: "The "
@@ -30,7 +30,7 @@
         LayoutText {#text} at (726,0) size 778x59
           text run at (726,0) width 50: " element"
           text run at (0,20) width 778: "is the element at the root of an SVG fragment. For the following test to pass, the green SVG square should be rendered aligned to"
-          text run at (0,40) width 480: "the top-left of the red CSS-rendered square, which is 10 pixels wider and taller."
+          text run at (0,40) width 479: "the top-left of the red CSS-rendered square, which is 10 pixels wider and taller."
       LayoutBlockFlow {p} at (0,134.44) size 784x20
         LayoutText {#text} at (0,0) size 27x19
           text run at (0,0) width 27: "See "
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/second-inline-text-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/second-inline-text-expected.txt
index 786da2d..e9a7c93 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/second-inline-text-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/second-inline-text-expected.txt
@@ -9,14 +9,14 @@
       LayoutBlockFlow {div} at (0,36) size 784x105
         LayoutSVGRoot {svg} at (0,0) size 100x100
           LayoutSVGPath {path} at (28,18.86) size 45x62.14 [fill={[type=SOLID] [color=#337711]}] [data="M 38 38 c 0 -12 24 -15 23 -2 c 0 9 -16 13 -16 23 v 7 h 11 v -4 c 0 -9 17 -12 17 -27 c -2 -22 -45 -22 -45 3 Z M 45 70 h 11 v 11 h -11 Z"]
-          LayoutSVGText {text} at (10,35) size 36.53x19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,35) size 36.53x19
-              chunk 1 text run 1 at (10.00,50.00) startOffset 0 endOffset 4 width 36.53: "PASS"
+          LayoutSVGText {text} at (10,35) size 37x19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,35) size 37x19
+              chunk 1 text run 1 at (10.00,50.00) startOffset 0 endOffset 4 width 37.00: "PASS"
         LayoutText {#text} at (100,85) size 4x19
           text run at (100,85) width 4: " "
         LayoutSVGRoot {svg} at (104,0) size 100x100
           LayoutSVGPath {path} at (28,18.86) size 45x62.14 [fill={[type=SOLID] [color=#337711]}] [data="M 38 38 c 0 -12 24 -15 23 -2 c 0 9 -16 13 -16 23 v 7 h 11 v -4 c 0 -9 17 -12 17 -27 c -2 -22 -45 -22 -45 3 Z M 45 70 h 11 v 11 h -11 Z"]
-          LayoutSVGText {text} at (10,35) size 36.53x19 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,35) size 36.53x19
-              chunk 1 text run 1 at (10.00,50.00) startOffset 0 endOffset 4 width 36.53: "PASS"
+          LayoutSVGText {text} at (10,35) size 37x19 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,35) size 37x19
+              chunk 1 text run 1 at (10.00,50.00) startOffset 0 endOffset 4 width 37.00: "PASS"
         LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/simpleCDF-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/simpleCDF-expected.txt
index 427856b..b090afd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/simpleCDF-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/simpleCDF-expected.txt
@@ -11,5 +11,5 @@
           LayoutSVGRect {rect} at (0,0) size 200x200 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=200.00] [height=200.00]
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {p} at (0,257) size 784x20
-        LayoutText {#text} at (0,0) size 254x19
-          text run at (0,0) width 254: "You should see an SVG image above this!"
+        LayoutText {#text} at (0,0) size 253x19
+          text run at (0,0) width 253: "You should see an SVG image above this!"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/stroke-fallback-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/stroke-fallback-expected.txt
index 4b19be0..c063384 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/stroke-fallback-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/stroke-fallback-expected.txt
@@ -11,6 +11,6 @@
     LayoutSVGText {text} at (0,155) size 419x19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (0,155) size 419x19
         chunk 1 text run 1 at (0.00,170.00) startOffset 0 endOffset 74 width 419.00: "The left should fall back to the green color since the uri does not exist."
-    LayoutSVGText {text} at (0,175) size 463.11x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,175) size 463.11x19
-        chunk 1 text run 1 at (0.00,190.00) startOffset 0 endOffset 78 width 463.12: "The right should show the valid uri and not fall back to red color. Bug 12062."
+    LayoutSVGText {text} at (0,175) size 463x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,175) size 463x19
+        chunk 1 text run 1 at (0.00,190.00) startOffset 0 endOffset 78 width 463.00: "The right should show the valid uri and not fall back to red color. Bug 12062."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/stroked-pattern-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/stroked-pattern-expected.png
index 9fd82e5..25ded1d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/stroked-pattern-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/stroked-pattern-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/stroked-pattern-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/stroked-pattern-expected.txt
index 824a660e..a3da1b1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/stroked-pattern-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/stroked-pattern-expected.txt
@@ -8,10 +8,10 @@
         LayoutSVGEllipse {circle} at (-20,-20) size 80x80 [stroke={[type=SOLID] [color=#640000] [stroke width=12.00]}] [fill={[type=RADIAL-GRADIENT] [id="redToYellow"]}] [cx=20.00] [cy=20.00] [r=40.00]
     LayoutSVGRect {rect} at (50,50) size 350x400 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=PATTERN] [id="pattern"]}] [x=50.00] [y=50.00] [width=350.00] [height=400.00]
     LayoutSVGRect {rect} at (1,1) size 448x498 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=448.00] [height=498.00]
-    LayoutSVGContainer {g} at (131.98,10) size 186.02x27.48
-      LayoutSVGText {text} at (131.98,10) size 186.02x12.48 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (131.98,10) size 186.02x12.48
-          chunk 1 (middle anchor) text run 1 at (131.99,20.00) startOffset 0 endOffset 47 width 186.02: "stroked circle shouldn't be clipped in any way."
+    LayoutSVGContainer {g} at (132.08,10) size 185.83x27.48
+      LayoutSVGText {text} at (132.08,10) size 185.83x12.48 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (132.08,10) size 185.83x12.48
+          chunk 1 (middle anchor) text run 1 at (132.08,20.00) startOffset 0 endOffset 47 width 185.83: "stroked circle shouldn't be clipped in any way."
       LayoutSVGText {text} at (161.25,25) size 127.48x12.48 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (161.25,25) size 127.48x12.48
           chunk 1 (middle anchor) text run 1 at (161.25,35.00) startOffset 0 endOffset 32 width 127.50: "(stroke-width should be visible!"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-clip-expected.txt
index 524f7b1..01102ba 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-clip-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-clip-expected.txt
@@ -5,11 +5,11 @@
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
       LayoutSVGResourceClipper {clipPath} [id="myclip"] [clipPathUnits=userSpaceOnUse]
         LayoutSVGPath {path} at (200,200) size 100x200 [fill={[type=SOLID] [color=#000000]}] [data="M 200 200 l 100 0 l 0 200 l -100 0 Z"]
-    LayoutSVGContainer {g} at (0,76) size 636.91x62
-      LayoutSVGText {text} at (0,76) size 124.94x62 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,76) size 124.94x62
-          chunk 1 text run 1 at (0.00,125.00) startOffset 0 endOffset 4 width 124.95: "PASS"
-      LayoutSVGText {text} at (0,76) size 636.91x62 contains 1 chunk(s)
+    LayoutSVGContainer {g} at (0,76) size 637x62
+      LayoutSVGText {text} at (0,76) size 125x62 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,76) size 125x62
+          chunk 1 text run 1 at (0.00,125.00) startOffset 0 endOffset 4 width 125.00: "PASS"
+      LayoutSVGText {text} at (0,76) size 637x62 contains 1 chunk(s)
         [clipPath="myclip"] LayoutSVGResourceClipper {clipPath} at (200,200) size 100x200
-        LayoutSVGInlineText {#text} at (0,76) size 636.91x62
-          chunk 1 text run 1 at (0.00,125.00) startOffset 0 endOffset 28 width 636.92: "FAIL (should be clipped out)"
+        LayoutSVGInlineText {#text} at (0,76) size 637x62
+          chunk 1 text run 1 at (0.00,125.00) startOffset 0 endOffset 28 width 637.00: "FAIL (should be clipped out)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-dom-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-dom-01-f-expected.png
index 5469ba199..03b70ac 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-dom-01-f-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-dom-01-f-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-dom-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-dom-01-f-expected.txt
index 4de0a633..ca941d11 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-dom-01-f-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-dom-01-f-expected.txt
@@ -4,57 +4,57 @@
   LayoutSVGRoot {svg} at (0,0) size 480x360
     LayoutSVGContainer {g} at (30,15) size 405x268
       LayoutSVGContainer {g} at (30,15) size 405x268
-        LayoutSVGRect {rect} at (126.83,16) size 8x17 [fill={[type=SOLID] [color=#ADD8E6]}] [x=126.83] [y=16.00] [width=8.00] [height=17.00]
-        LayoutSVGRect {rect} at (93.71,20.10) size 14.14x14.14 [fill={[type=SOLID] [color=#ADD8E6]}] [x=93.71] [y=20.10] [width=14.14] [height=14.14]
-        LayoutSVGPath {line} at (63.83,30) size 352.34x0 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=63.83] [y1=30.00] [x2=416.17] [y2=30.00]
-        LayoutSVGPath {line} at (134.83,15) size 0x15 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=134.83] [y1=30.00] [x2=134.83] [y2=15.00]
-        LayoutSVGPath {line} at (126.83,15) size 0x15 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=126.83] [y1=30.00] [x2=126.83] [y2=15.00]
-        LayoutSVGPath {line} at (190.83,30) size 56x0 [stroke={[type=SOLID] [color=#00FF00]}] [fill={[type=SOLID] [color=#000000]}] [x1=190.83] [y1=30.00] [x2=246.83] [y2=30.00]
-        LayoutSVGText {text} at (63.83,16) size 352.33x22 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (63.83,16) size 32x17
-            chunk 1 (middle anchor) text run 1 at (63.83,30.00) startOffset 0 endOffset 5 width 32.00: "This "
-          LayoutSVGTSpan {tspan} at (63.83,16) size 352.33x22
-            LayoutSVGInlineText {#text} at (93.70,20.09) size 19.11x17.89
-              chunk 1 (middle anchor) text run 1 at (95.83,30.00) startOffset 0 endOffset 1 width 3.00: "i"
-              chunk 1 (middle anchor) text run 2 at (98.83,30.00) startOffset 1 endOffset 2 width 8.00: "s"
-          LayoutSVGInlineText {#text} at (106.83,16) size 309.33x17
-            chunk 1 (middle anchor) text run 1 at (106.83,30.00) startOffset 0 endOffset 47 width 309.34: " a test of the interface SVGTextContentElement."
+        LayoutSVGRect {rect} at (127,16) size 8x17 [fill={[type=SOLID] [color=#ADD8E6]}] [x=127.00] [y=16.00] [width=8.00] [height=17.00]
+        LayoutSVGRect {rect} at (93.88,20.10) size 14.14x14.14 [fill={[type=SOLID] [color=#ADD8E6]}] [x=93.88] [y=20.10] [width=14.14] [height=14.14]
+        LayoutSVGPath {line} at (64,30) size 352x0 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=64.00] [y1=30.00] [x2=416.00] [y2=30.00]
+        LayoutSVGPath {line} at (135,15) size 0x15 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=135.00] [y1=30.00] [x2=135.00] [y2=15.00]
+        LayoutSVGPath {line} at (127,15) size 0x15 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=127.00] [y1=30.00] [x2=127.00] [y2=15.00]
+        LayoutSVGPath {line} at (191,30) size 56x0 [stroke={[type=SOLID] [color=#00FF00]}] [fill={[type=SOLID] [color=#000000]}] [x1=191.00] [y1=30.00] [x2=247.00] [y2=30.00]
+        LayoutSVGText {text} at (64,16) size 352x22 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (64,16) size 32x17
+            chunk 1 (middle anchor) text run 1 at (64.00,30.00) startOffset 0 endOffset 5 width 32.00: "This "
+          LayoutSVGTSpan {tspan} at (64,16) size 352x22
+            LayoutSVGInlineText {#text} at (93.88,20.09) size 19.11x17.89
+              chunk 1 (middle anchor) text run 1 at (96.00,30.00) startOffset 0 endOffset 1 width 3.00: "i"
+              chunk 1 (middle anchor) text run 2 at (99.00,30.00) startOffset 1 endOffset 2 width 8.00: "s"
+          LayoutSVGInlineText {#text} at (107,16) size 309x17
+            chunk 1 (middle anchor) text run 1 at (107.00,30.00) startOffset 0 endOffset 47 width 309.00: " a test of the interface SVGTextContentElement."
         LayoutSVGText {text} at (30,46) size 226x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (30,46) size 226x17
             chunk 1 text run 1 at (30.00,60.00) startOffset 0 endOffset 34 width 226.00: ".getCharNumAtPosition() result: 30"
-        LayoutSVGText {text} at (30,66) size 244.33x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (30,66) size 244.33x17
-            chunk 1 text run 1 at (30.00,80.00) startOffset 0 endOffset 36 width 244.34: ".getComputedTextLength() result: 352"
-        LayoutSVGText {text} at (30,86) size 294.88x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (30,86) size 294.88x17
-            chunk 1 text run 1 at (30.00,100.00) startOffset 0 endOffset 46 width 294.89: ".getEndPositionOfChar(11) result ('e'): 135,30"
-        LayoutSVGText {text} at (30,106) size 289.88x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (30,106) size 289.88x17
-            chunk 1 text run 1 at (30.00,120.00) startOffset 0 endOffset 46 width 289.89: ".getExtentOfChar(11) result ('e'): 127,16,8,17"
+        LayoutSVGText {text} at (30,66) size 244x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (30,66) size 244x17
+            chunk 1 text run 1 at (30.00,80.00) startOffset 0 endOffset 36 width 244.00: ".getComputedTextLength() result: 352"
+        LayoutSVGText {text} at (30,86) size 295x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (30,86) size 295x17
+            chunk 1 text run 1 at (30.00,100.00) startOffset 0 endOffset 46 width 295.00: ".getEndPositionOfChar(11) result ('e'): 135,30"
+        LayoutSVGText {text} at (30,106) size 290x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (30,106) size 290x17
+            chunk 1 text run 1 at (30.00,120.00) startOffset 0 endOffset 46 width 290.00: ".getExtentOfChar(11) result ('e'): 127,16,8,17"
         LayoutSVGText {text} at (30,126) size 206x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (30,126) size 206x17
             chunk 1 text run 1 at (30.00,140.00) startOffset 0 endOffset 30 width 206.00: ".getNumberOfChars() result: 54"
         LayoutSVGText {text} at (30,146) size 208x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (30,146) size 208x17
             chunk 1 text run 1 at (30.00,160.00) startOffset 0 endOffset 32 width 208.00: ".getRotationOfChar(5) result: 45"
-        LayoutSVGText {text} at (30,166) size 299.88x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (30,166) size 299.88x17
-            chunk 1 text run 1 at (30.00,180.00) startOffset 0 endOffset 48 width 299.89: ".getStartPositionOfChar(11) result ('e'): 127,30"
+        LayoutSVGText {text} at (30,166) size 300x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (30,166) size 300x17
+            chunk 1 text run 1 at (30.00,180.00) startOffset 0 endOffset 48 width 300.00: ".getStartPositionOfChar(11) result ('e'): 127,30"
         LayoutSVGText {text} at (30,186) size 310x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (30,186) size 310x17
             chunk 1 text run 1 at (30.00,200.00) startOffset 0 endOffset 50 width 310.00: ".getSubStringLength(22,9) result ('interface'): 56"
         LayoutSVGText {text} at (30,206) size 405x17 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (30,206) size 405x17
             chunk 1 text run 1 at (30.00,220.00) startOffset 0 endOffset 64 width 405.00: ".selectSubString(18,3) result: the word 'the' should be selected"
-        LayoutSVGText {text} at (30,226) size 235.88x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (30,226) size 235.88x17
-            chunk 1 text run 1 at (30.00,240.00) startOffset 0 endOffset 37 width 235.89: ".textLength.baseVal.value result: 352"
-        LayoutSVGText {text} at (30,246) size 235.88x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (30,246) size 235.88x17
-            chunk 1 text run 1 at (30.00,260.00) startOffset 0 endOffset 37 width 235.89: ".textLength.animVal.value result: 352"
-        LayoutSVGText {text} at (30,266) size 375.77x17 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (30,266) size 375.77x17
-            chunk 1 text run 1 at (30.00,280.00) startOffset 0 endOffset 59 width 375.77: ".lengthAdjust.baseVal and .lengthAdjust.animVal result: 1,1"
+        LayoutSVGText {text} at (30,226) size 236x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (30,226) size 236x17
+            chunk 1 text run 1 at (30.00,240.00) startOffset 0 endOffset 37 width 236.00: ".textLength.baseVal.value result: 352"
+        LayoutSVGText {text} at (30,246) size 236x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (30,246) size 236x17
+            chunk 1 text run 1 at (30.00,260.00) startOffset 0 endOffset 37 width 236.00: ".textLength.animVal.value result: 352"
+        LayoutSVGText {text} at (30,266) size 376x17 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (30,266) size 376x17
+            chunk 1 text run 1 at (30.00,280.00) startOffset 0 endOffset 59 width 376.00: ".lengthAdjust.baseVal and .lengthAdjust.animVal result: 1,1"
     LayoutSVGText {text} at (10,304) size 261x46 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 261x46
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 261.00: "$Revision: 1.1 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-filter-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-filter-expected.txt
index 91e3968..8b3f7bd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-filter-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-filter-expected.txt
@@ -6,7 +6,7 @@
       LayoutSVGResourceFilter {filter} [id="myfilter"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
         [feGaussianBlur stdDeviation="3.00, 3.00"]
           [SourceGraphic]
-    LayoutSVGText {text} at (4,11) size 557.42x62 contains 1 chunk(s)
-      [filter="myfilter"] LayoutSVGResourceFilter {filter} at (-51.74,4.80) size 668.91x74.40
-      LayoutSVGInlineText {#text} at (4,11) size 557.42x62
-        chunk 1 text run 1 at (4.00,60.00) startOffset 0 endOffset 26 width 557.43: "This text should be blury."
+    LayoutSVGText {text} at (4,11) size 557x62 contains 1 chunk(s)
+      [filter="myfilter"] LayoutSVGResourceFilter {filter} at (-51.70,4.80) size 668.40x74.40
+      LayoutSVGInlineText {#text} at (4,11) size 557x62
+        chunk 1 text run 1 at (4.00,60.00) startOffset 0 endOffset 26 width 557.00: "This text should be blury."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-match-highlight-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-match-highlight-expected.png
index b087270..9683bc8f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-match-highlight-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-match-highlight-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-match-highlight-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-match-highlight-expected.txt
index 339b03b..2d45fd9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-match-highlight-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-match-highlight-expected.txt
@@ -5,13 +5,13 @@
     LayoutBlockFlow {BODY} at (8,8) size 784x385
       LayoutText {#text} at (0,0) size 424x19
         text run at (0,0) width 424: "Test for crbug.com/56580: There should be 9 highlighted instances of \""
-      LayoutInline {SPAN} at (0,0) size 41x19
-        LayoutText {#text} at (423,0) size 41x19
-          text run at (423,0) width 41: "findme"
-      LayoutText {#text} at (463,0) size 277x19
-        text run at (463,0) width 124: "\". The 6th higlighted "
-        text run at (586,0) width 154: "instance should be active."
-      LayoutBR {BR} at (739,0) size 1x19
+      LayoutInline {SPAN} at (0,0) size 40x19
+        LayoutText {#text} at (424,0) size 40x19
+          text run at (424,0) width 40: "findme"
+      LayoutText {#text} at (464,0) size 276x19
+        text run at (464,0) width 123: "\". The 6th higlighted "
+        text run at (587,0) width 153: "instance should be active."
+      LayoutBR {BR} at (740,0) size 0x19
       LayoutBR {BR} at (0,20) size 0x19
       LayoutText {#text} at (0,40) size 83x19
         text run at (0,40) width 83: "Lorum ipsum "
@@ -46,10 +46,10 @@
         LayoutSVGText {text} at (10,91) size 138x12 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,91) size 138x12
             chunk 1 text run 1 at (10.00,100.00) startOffset 0 endOffset 23 width 138.00: "Findme in a typewriter!"
-        LayoutSVGContainer {g} at (69.42,14.67) size 668x237.47 [transform={m=((0.30,0.00)(0.00,0.30)) t=(0.00,120.00)}]
-          LayoutSVGText {text} at (69.42,14.67) size 668x237.47 contains 1 chunk(s)
-            LayoutSVGTextPath {textPath} at (69.42,14.67) size 668x237.47
-              LayoutSVGInlineText {#text} at (69.42,14.67) size 668x237.47
+        LayoutSVGContainer {g} at (69.42,14.67) size 668.28x237.47 [transform={m=((0.30,0.00)(0.00,0.30)) t=(0.00,120.00)}]
+          LayoutSVGText {text} at (69.42,14.67) size 668.28x237.47 contains 1 chunk(s)
+            LayoutSVGTextPath {textPath} at (69.42,14.67) size 668.28x237.47
+              LayoutSVGInlineText {#text} at (69.42,14.67) size 668.28x237.47
                 chunk 1 text run 1 at (109.48,190.53) startOffset 0 endOffset 1 width 26.67: "F"
                 chunk 1 text run 2 at (122.51,177.58) startOffset 1 endOffset 2 width 10.00: "i"
                 chunk 1 text run 3 at (135.54,164.79) startOffset 2 endOffset 3 width 26.67: "n"
@@ -72,16 +72,16 @@
                 chunk 1 text run 20 at (465.45,163.38) startOffset 19 endOffset 20 width 10.00: "i"
                 chunk 1 text run 21 at (479.18,175.51) startOffset 20 endOffset 21 width 26.67: "d"
                 chunk 1 text run 22 at (495.84,189.32) startOffset 21 endOffset 22 width 16.67: " "
-                chunk 1 text run 23 at (512.94,202.27) startOffset 22 endOffset 23 width 26.67: "y"
-                chunk 1 text run 24 at (535.13,216.85) startOffset 23 endOffset 24 width 26.67: "o"
-                chunk 1 text run 25 at (558.82,229.15) startOffset 24 endOffset 25 width 26.67: "u"
-                chunk 1 text run 26 at (579.15,236.56) startOffset 25 endOffset 26 width 16.67: " "
-                chunk 1 text run 27 at (595.34,240.13) startOffset 26 endOffset 27 width 16.67: "f"
-                chunk 1 text run 28 at (608.61,241.36) startOffset 27 endOffset 28 width 10.00: "i"
-                chunk 1 text run 29 at (626.88,240.37) startOffset 28 endOffset 29 width 26.67: "n"
-                chunk 1 text run 30 at (652.52,233.25) startOffset 29 endOffset 30 width 26.67: "d"
-                chunk 1 text run 31 at (679.87,217.49) startOffset 30 endOffset 31 width 36.67: "m"
-                chunk 1 text run 32 at (703.66,196.38) startOffset 31 endOffset 32 width 26.67: "e"
-                chunk 1 text run 33 at (722.07,179.48) startOffset 32 endOffset 33 width 23.33: "?"
+                chunk 1 text run 23 at (513.09,202.38) startOffset 22 endOffset 23 width 26.67: "y"
+                chunk 1 text run 24 at (535.45,217.05) startOffset 23 endOffset 24 width 26.67: "o"
+                chunk 1 text run 25 at (559.17,229.30) startOffset 24 endOffset 25 width 26.67: "u"
+                chunk 1 text run 26 at (579.51,236.66) startOffset 25 endOffset 26 width 16.67: " "
+                chunk 1 text run 27 at (595.71,240.18) startOffset 26 endOffset 27 width 16.67: "f"
+                chunk 1 text run 28 at (608.98,241.37) startOffset 27 endOffset 28 width 10.00: "i"
+                chunk 1 text run 29 at (627.25,240.32) startOffset 28 endOffset 29 width 26.67: "n"
+                chunk 1 text run 30 at (652.87,233.10) startOffset 29 endOffset 30 width 26.67: "d"
+                chunk 1 text run 31 at (680.18,217.26) startOffset 30 endOffset 31 width 36.67: "m"
+                chunk 1 text run 32 at (703.94,196.11) startOffset 31 endOffset 32 width 26.67: "e"
+                chunk 1 text run 33 at (722.36,179.23) startOffset 32 endOffset 33 width 23.33: "?"
             LayoutSVGInlineText {#text} at (0,0) size 0x0
       LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-rotated-gradient-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-rotated-gradient-expected.txt
index ee175bb..43298e9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-rotated-gradient-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-rotated-gradient-expected.txt
@@ -4,8 +4,8 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
       LayoutSVGResourceLinearGradient {linearGradient} [id="g"] [gradientUnits=userSpaceOnUse] [stops=( #FF0000@0.00 #00000080@1.00 )] [start=(0,0)] [end=(0,600)]
-    LayoutSVGText {text} at (0,13) size 628.98x22 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,13) size 628.98x22
+    LayoutSVGText {text} at (0,13) size 629x22 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,13) size 629x22
         chunk 1 text run 1 at (0.00,30.00) startOffset 0 endOffset 81 width 629.00: "You should see red, black, red, black text all rotated 45deg, translated by 100px"
     LayoutSVGContainer {g} at (50,22) size 76x36 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(0.00,0.00)}]
       LayoutSVGText {text} at (50,22) size 76x36 contains 1 chunk(s)
@@ -24,8 +24,8 @@
       LayoutSVGText {text} at (50,22) size 76x36 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (50,22) size 76x36
           chunk 1 text run 1 at (50.00,50.00) startOffset 0 endOffset 4 width 76.00: "TEST"
-    LayoutSVGText {text} at (0,153) size 686.98x22 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,153) size 686.98x22
+    LayoutSVGText {text} at (0,153) size 687x22 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,153) size 687x22
         chunk 1 text run 1 at (0.00,170.00) startOffset 0 endOffset 88 width 687.00: "You should see the same pattern again, just a bit scaled, by the viewBox of an inner svg"
     LayoutSVGViewportContainer {svg} at (-5.65,121.15) size 379.66x79.66
       LayoutSVGContainer {g} at (100,71.33) size 76x36.66 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(0.00,0.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-whitespace-handling-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-whitespace-handling-expected.txt
index ddec21e..61c096c8f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-whitespace-handling-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/text-whitespace-handling-expected.txt
@@ -2,16 +2,16 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (10,6) size 241.88x258
-      LayoutSVGText {text} at (10,6) size 232.38x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,6) size 232.38x18
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 36 width 232.38: "Testing xml:space=\"default\" support:"
-      LayoutSVGText {text} at (10,26) size 170.22x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,26) size 170.22x18
-          chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 23 width 170.22: "No Spaces Between Words"
-      LayoutSVGText {text} at (10,46) size 125.38x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,46) size 125.38x18
-          chunk 1 text run 1 at (10.00,60.00) startOffset 0 endOffset 18 width 125.38: "Tabs become spaces"
+    LayoutSVGContainer {g} at (10,6) size 242x258
+      LayoutSVGText {text} at (10,6) size 232.50x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,6) size 232.50x18
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 36 width 232.50: "Testing xml:space=\"default\" support:"
+      LayoutSVGText {text} at (10,26) size 170x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,26) size 170x18
+          chunk 1 text run 1 at (10.00,40.00) startOffset 0 endOffset 23 width 170.00: "No Spaces Between Words"
+      LayoutSVGText {text} at (10,46) size 125.50x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,46) size 125.50x18
+          chunk 1 text run 1 at (10.00,60.00) startOffset 0 endOffset 18 width 125.50: "Tabs become spaces"
       LayoutSVGText {text} at (10,66) size 108x18 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,66) size 108x18
           chunk 1 text run 1 at (10.00,80.00) startOffset 0 endOffset 16 width 108.00: "No leading space"
@@ -23,15 +23,15 @@
           chunk 1 text run 1 at (10.00,120.00) startOffset 0 endOffset 11 width 76.50: "Whitespace "
           chunk 1 text run 1 at (86.50,120.00) startOffset 0 endOffset 3 width 14.00: "is "
           chunk 1 text run 1 at (100.50,120.00) startOffset 0 endOffset 10 width 63.00: "simplified"
-      LayoutSVGText {text} at (10,146) size 241.88x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,146) size 241.88x18
-          chunk 1 text run 1 at (10.00,160.00) startOffset 0 endOffset 37 width 241.88: "Testing xml:space=\"preserve\" support:"
+      LayoutSVGText {text} at (10,146) size 242x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,146) size 242x18
+          chunk 1 text run 1 at (10.00,160.00) startOffset 0 endOffset 37 width 242.00: "Testing xml:space=\"preserve\" support:"
       LayoutSVGText {text} at (10,166) size 169.50x18 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,166) size 169.50x18
           chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 24 width 169.50: " Newlines Become Spaces "
-      LayoutSVGText {text} at (10,186) size 125.38x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,186) size 125.38x18
-          chunk 1 text run 1 at (10.00,200.00) startOffset 0 endOffset 18 width 125.38: "Tabs become spaces"
+      LayoutSVGText {text} at (10,186) size 125.50x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,186) size 125.50x18
+          chunk 1 text run 1 at (10.00,200.00) startOffset 0 endOffset 18 width 125.50: "Tabs become spaces"
       LayoutSVGText {text} at (10,206) size 154x18 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,206) size 154x18
           chunk 1 text run 1 at (10.00,220.00) startOffset 0 endOffset 25 width 154.00: "    Respect leading space"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-font-face-crash-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-font-face-crash-expected.png
index 8a4d0fb..e6fdd8df 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-font-face-crash-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-font-face-crash-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-modify-container-in-target-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-modify-container-in-target-expected.txt
index 5d4f24c..9ff9cbc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-modify-container-in-target-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-modify-container-in-target-expected.txt
@@ -17,6 +17,6 @@
         LayoutSVGContainer {g} at (0,0) size 60x10
           LayoutSVGRect {rect} at (0,0) size 60x10 [stroke={[type=SOLID] [color=#000080] [stroke width=5.00]}] [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=60.00] [height=10.00]
         LayoutSVGEllipse {circle} at (20,-5) size 20x20 [opacity=0.50] [fill={[type=SOLID] [color=#008000]}] [cx=30.00] [cy=5.00] [r=10.00]
-    LayoutSVGText {text} at (10,61.50) size 195.98x11 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,61.50) size 195.98x11
+    LayoutSVGText {text} at (10,61.50) size 196x11 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,61.50) size 196x11
         chunk 1 text run 1 at (10.00,70.00) startOffset 0 endOffset 50 width 196.00: "You should see a red rectangle and a green circle."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-modify-target-container-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-modify-target-container-expected.txt
index 7961ce2a..c7b6d2c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-modify-target-container-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-modify-target-container-expected.txt
@@ -14,6 +14,6 @@
       LayoutSVGContainer {g} at (0,-5) size 60x20
         LayoutSVGRect {rect} at (0,0) size 60x10 [stroke={[type=SOLID] [color=#000080] [stroke width=5.00]}] [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=60.00] [height=10.00]
         LayoutSVGEllipse {circle} at (20,-5) size 20x20 [opacity=0.50] [fill={[type=SOLID] [color=#008000]}] [cx=30.00] [cy=5.00] [r=10.00]
-    LayoutSVGText {text} at (30,61.50) size 142.48x11 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (30,61.50) size 142.48x11
+    LayoutSVGText {text} at (30,61.50) size 142.50x11 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (30,61.50) size 142.50x11
         chunk 1 text run 1 at (30.00,70.00) startOffset 0 endOffset 35 width 142.50: "You should shapes _above_ this text"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-modify-target-symbol-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-modify-target-symbol-expected.txt
index 0ebd46a..57e6686c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-modify-target-symbol-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-modify-target-symbol-expected.txt
@@ -11,6 +11,6 @@
     LayoutSVGContainer {use} at (0,0) size 60x10 [transform={m=((1.00,0.00)(0.00,1.00)) t=(125.00,25.00)}]
       LayoutSVGViewportContainer {svg} at (0,0) size 60x10
         LayoutSVGRect {rect} at (0,0) size 60x10 [stroke={[type=SOLID] [color=#000080] [stroke width=5.00]}] [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=60.00] [height=10.00]
-    LayoutSVGText {text} at (30,61.50) size 142.48x11 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (30,61.50) size 142.48x11
+    LayoutSVGText {text} at (30,61.50) size 142.50x11 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (30,61.50) size 142.50x11
         chunk 1 text run 1 at (30.00,70.00) startOffset 0 endOffset 35 width 142.50: "You should shapes _above_ this text"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-1-expected.png
index f0b72530..5fddbfa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-1-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-1-expected.txt
index 7ee7392..72b94b4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-1-expected.txt
@@ -4,6 +4,6 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGForeignObject {foreignObject} at (10,10) size 480x360
       LayoutBlockFlow {xhtml:div} at (0,0) size 480x20
-        LayoutText {#text} at (0,0) size 229x19
-          text run at (0,0) width 229: "You should only see this string ONCE"
+        LayoutText {#text} at (0,0) size 228x19
+          text run at (0,0) width 228: "You should only see this string ONCE"
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(250.00,-35.86)}]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-2-expected.png
index f0b72530..5fddbfa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-2-expected.txt
index b5578b94..17a0039 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-2-expected.txt
@@ -6,8 +6,8 @@
       LayoutSVGContainer {g} at (54.37,54.76) size 3066.23x2168.26
         LayoutSVGForeignObject {foreignObject} at (10,10) size 580x380
           LayoutBlockFlow {xhtml:div} at (0,0) size 580x20
-            LayoutText {#text} at (0,0) size 229x19
-              text run at (0,0) width 229: "You should only see this string ONCE"
+            LayoutText {#text} at (0,0) size 228x19
+              text run at (0,0) width 228: "You should only see this string ONCE"
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(250.00,-35.86)}]
       LayoutSVGContainer {g} at (0,0) size 0x0
         LayoutSVGContainer {g} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-3-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-3-expected.png
index f0b72530..5fddbfa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-3-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-3-expected.txt
index d7770266..4656608 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-3-expected.txt
@@ -4,7 +4,7 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGForeignObject {foreignObject} at (10,10) size 580x380
       LayoutBlockFlow {xhtml:div} at (0,0) size 580x20
-        LayoutText {#text} at (0,0) size 229x19
-          text run at (0,0) width 229: "You should only see this string ONCE"
+        LayoutText {#text} at (0,0) size 228x19
+          text run at (0,0) width 228: "You should only see this string ONCE"
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(250.00,-35.86)}]
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(250.00,-35.86)}]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-4-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-4-expected.png
index f0b72530..5fddbfa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-4-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-4-expected.txt
index d74c219..7a9320f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-4-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-4-expected.txt
@@ -6,8 +6,8 @@
       LayoutSVGContainer {g} at (54.37,54.76) size 3066.23x2168.26
         LayoutSVGForeignObject {foreignObject} at (10,10) size 580x380
           LayoutBlockFlow {xhtml:div} at (0,0) size 580x20
-            LayoutText {#text} at (0,0) size 229x19
-              text run at (0,0) width 229: "You should only see this string ONCE"
+            LayoutText {#text} at (0,0) size 228x19
+              text run at (0,0) width 228: "You should only see this string ONCE"
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(250.00,-35.86)}]
       LayoutSVGContainer {g} at (0,0) size 0x0
         LayoutSVGContainer {g} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-5-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-5-expected.png
index f0b72530..5fddbfa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-5-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-5-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-5-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-5-expected.txt
index af28877..7443c41 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-5-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-5-expected.txt
@@ -6,8 +6,8 @@
       LayoutSVGHiddenContainer {symbol} at (0,0) size 0x0
     LayoutSVGForeignObject {foreignObject} at (10,10) size 580x380
       LayoutBlockFlow {xhtml:div} at (0,0) size 580x20
-        LayoutText {#text} at (0,0) size 229x19
-          text run at (0,0) width 229: "You should only see this string ONCE"
+        LayoutText {#text} at (0,0) size 228x19
+          text run at (0,0) width 228: "You should only see this string ONCE"
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(25.00,25.00)}]
       LayoutSVGViewportContainer {svg} at (0,0) size 0x0
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,10.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-6-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-6-expected.png
index f0b72530..5fddbfa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-6-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-6-expected.txt
index ae32534..21e0b76 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-6-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-disallowed-foreign-object-6-expected.txt
@@ -6,8 +6,8 @@
       LayoutSVGViewportContainer {svg} at (0,0) size 0x0
     LayoutSVGForeignObject {foreignObject} at (10,10) size 580x380
       LayoutBlockFlow {xhtml:div} at (0,0) size 580x20
-        LayoutText {#text} at (0,0) size 229x19
-          text run at (0,0) width 229: "You should only see this string ONCE"
+        LayoutText {#text} at (0,0) size 228x19
+          text run at (0,0) width 228: "You should only see this string ONCE"
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(25.00,25.00)}]
       LayoutSVGViewportContainer {svg} at (0,0) size 0x0
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,10.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-non-svg-namespaced-element-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-non-svg-namespaced-element-expected.png
index f0b72530..5fddbfa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-non-svg-namespaced-element-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-non-svg-namespaced-element-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-non-svg-namespaced-element-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-non-svg-namespaced-element-expected.txt
index 7ee7392..72b94b4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-non-svg-namespaced-element-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-non-svg-namespaced-element-expected.txt
@@ -4,6 +4,6 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGForeignObject {foreignObject} at (10,10) size 480x360
       LayoutBlockFlow {xhtml:div} at (0,0) size 480x20
-        LayoutText {#text} at (0,0) size 229x19
-          text run at (0,0) width 229: "You should only see this string ONCE"
+        LayoutText {#text} at (0,0) size 228x19
+          text run at (0,0) width 228: "You should only see this string ONCE"
     LayoutSVGContainer {use} at (0,0) size 0x0 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(250.00,-35.86)}]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-text-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-text-expected.txt
index a1ac2b8..3ce94bb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-text-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-on-text-expected.txt
@@ -2,18 +2,18 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGHiddenContainer {defs} at (0,-25.50) size 66.70x45
-      LayoutSVGText {text} at (0,-25.50) size 66.70x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,-25.50) size 66.70x45
-          chunk 1 text run 1 at (0.00,10.00) startOffset 0 endOffset 4 width 66.71: "Test"
-    LayoutSVGContainer {g} at (0,-25.50) size 66.70x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(125.00,25.00)}]
-      LayoutSVGText {text} at (0,-25.50) size 66.70x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,-25.50) size 66.70x45
-          chunk 1 text run 1 at (0.00,10.00) startOffset 0 endOffset 4 width 66.71: "Test"
+    LayoutSVGHiddenContainer {defs} at (0,-25.50) size 66.50x45
+      LayoutSVGText {text} at (0,-25.50) size 66.50x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,-25.50) size 66.50x45
+          chunk 1 text run 1 at (0.00,10.00) startOffset 0 endOffset 4 width 66.50: "Test"
+    LayoutSVGContainer {g} at (0,-25.50) size 66.50x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(125.00,25.00)}]
+      LayoutSVGText {text} at (0,-25.50) size 66.50x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,-25.50) size 66.50x45
+          chunk 1 text run 1 at (0.00,10.00) startOffset 0 endOffset 4 width 66.50: "Test"
     LayoutSVGText {text} at (10,46) size 240.50x18 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,46) size 240.50x18
         chunk 1 text run 1 at (10.00,60.00) startOffset 0 endOffset 38 width 240.50: "The two objects should look identical."
-    LayoutSVGContainer {use} at (0,-25.50) size 66.70x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(25.00,25.00)}]
-      LayoutSVGText {text} at (0,-25.50) size 66.70x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,-25.50) size 66.70x45
-          chunk 1 text run 1 at (0.00,10.00) startOffset 0 endOffset 4 width 66.71: "Test"
+    LayoutSVGContainer {use} at (0,-25.50) size 66.50x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(25.00,25.00)}]
+      LayoutSVGText {text} at (0,-25.50) size 66.50x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,-25.50) size 66.50x45
+          chunk 1 text run 1 at (0.00,10.00) startOffset 0 endOffset 4 width 66.50: "Test"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-property-changes-through-dom-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-property-changes-through-dom-expected.txt
index fdcc8b4..3fcd2d5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-property-changes-through-dom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-property-changes-through-dom-expected.txt
@@ -11,6 +11,6 @@
     LayoutSVGContainer {g} at (200,-50) size 100x100 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,60.00)}]
       LayoutSVGContainer {use} at (0,0) size 100x100 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,-50.00)}]
         LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
-    LayoutSVGText {text} at (60,125) size 223.39x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (60,125) size 223.39x19
-        chunk 1 text run 1 at (60.00,140.00) startOffset 0 endOffset 36 width 223.40: "You should see two green rectangles."
+    LayoutSVGText {text} at (60,125) size 223x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (60,125) size 223x19
+        chunk 1 text run 1 at (60.00,140.00) startOffset 0 endOffset 36 width 223.00: "You should see two green rectangles."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-property-changes-through-svg-dom-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-property-changes-through-svg-dom-expected.txt
index fdcc8b4..3fcd2d5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-property-changes-through-svg-dom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/use-property-changes-through-svg-dom-expected.txt
@@ -11,6 +11,6 @@
     LayoutSVGContainer {g} at (200,-50) size 100x100 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,60.00)}]
       LayoutSVGContainer {use} at (0,0) size 100x100 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,-50.00)}]
         LayoutSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
-    LayoutSVGText {text} at (60,125) size 223.39x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (60,125) size 223.39x19
-        chunk 1 text run 1 at (60.00,140.00) startOffset 0 endOffset 36 width 223.40: "You should see two green rectangles."
+    LayoutSVGText {text} at (60,125) size 223x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (60,125) size 223x19
+        chunk 1 text run 1 at (60.00,140.00) startOffset 0 endOffset 36 width 223.00: "You should see two green rectangles."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-height-attr-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-height-attr-expected.png
index 4111e489..f9b98b05d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-height-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-height-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-width-attr-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-width-attr-expected.png
index 4111e489..f9b98b05d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-width-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-width-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-x-attr-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-x-attr-expected.png
index 4111e489..f9b98b05d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-x-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-x-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-y-attr-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-y-attr-expected.png
index 4111e489..f9b98b05d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-y-attr-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-dom-y-attr-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-height-prop-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-height-prop-expected.png
index 4111e489..f9b98b05d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-height-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-height-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-width-prop-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-width-prop-expected.png
index 4111e489..f9b98b05d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-width-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-width-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-x-prop-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-x-prop-expected.png
index 4111e489..f9b98b05d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-x-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-x-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-y-prop-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-y-prop-expected.png
index 4111e489..f9b98b05d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-y-prop-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/dynamic-updates/SVGForeignObjectElement-svgdom-y-prop-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/filters/filter-on-tspan-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/filters/filter-on-tspan-expected.txt
index 1af0932..89f1c25 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/filters/filter-on-tspan-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/filters/filter-on-tspan-expected.txt
@@ -5,12 +5,12 @@
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
       LayoutSVGResourceFilter {filter} [id="filter"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
         [feFlood flood-color="#008000" flood-opacity="1.00"]
-    LayoutSVGText {text} at (100,85) size 91.88x19 contains 1 chunk(s)
+    LayoutSVGText {text} at (100,85) size 92x19 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (100,85) size 63x19
         chunk 1 text run 1 at (100.00,100.00) startOffset 0 endOffset 12 width 63.00: "Die ist ein "
-      LayoutSVGTSpan {tspan} at (100,85) size 91.88x19
-        [filter="filter"] LayoutSVGResourceFilter {filter} at (90.81,83.10) size 110.25x22.80
-        LayoutSVGInlineText {#text} at (163,85) size 24.88x19
-          chunk 1 text run 1 at (163.00,100.00) startOffset 0 endOffset 4 width 24.88: "Test"
-      LayoutSVGInlineText {#text} at (187.88,85) size 4x19
-        chunk 1 text run 1 at (187.88,100.00) startOffset 0 endOffset 1 width 4.00: "."
+      LayoutSVGTSpan {tspan} at (100,85) size 92x19
+        [filter="filter"] LayoutSVGResourceFilter {filter} at (90.80,83.10) size 110.40x22.80
+        LayoutSVGInlineText {#text} at (163,85) size 25x19
+          chunk 1 text run 1 at (163.00,100.00) startOffset 0 endOffset 4 width 25.00: "Test"
+      LayoutSVGInlineText {#text} at (188,85) size 4x19
+        chunk 1 text run 1 at (188.00,100.00) startOffset 0 endOffset 1 width 4.00: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/foreignObject/svg-document-in-html-document-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/foreignObject/svg-document-in-html-document-expected.txt
index b369fd1..1f7e3c6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/foreignObject/svg-document-in-html-document-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/foreignObject/svg-document-in-html-document-expected.txt
@@ -10,7 +10,7 @@
         LayoutBlockFlow (anonymous) at (0,36) size 300x155
           LayoutSVGRoot {svg} at (0,0) size 300x150
             LayoutSVGRect {rect} at (0,0) size 20x20 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=20.00] [height=20.00]
-            LayoutSVGText {text} at (0,35) size 253.88x19 contains 1 chunk(s)
-              LayoutSVGInlineText {#text} at (0,35) size 253.88x19
-                chunk 1 text run 1 at (0.00,50.00) startOffset 0 endOffset 38 width 253.88: "Test from SVG in HTML in foreignObject"
+            LayoutSVGText {text} at (0,35) size 254x19 contains 1 chunk(s)
+              LayoutSVGInlineText {#text} at (0,35) size 254x19
+                chunk 1 text run 1 at (0.00,50.00) startOffset 0 endOffset 38 width 254.00: "Test from SVG in HTML in foreignObject"
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/dynamic/002-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/dynamic/002-expected.txt
index e7f0209..6096937 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/dynamic/002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/dynamic/002-expected.txt
@@ -2,6 +2,6 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 400x200
   LayoutSVGRoot {svg} at (0,0) size 400x200
-    LayoutSVGText {text} at (20,3) size 45.16x22 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (20,3) size 45.16x22
-        chunk 1 text run 1 at (20.00,20.00) startOffset 0 endOffset 4 width 45.16: "PASS"
+    LayoutSVGText {text} at (20,3) size 45x22 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (20,3) size 45x22
+        chunk 1 text run 1 at (20.00,20.00) startOffset 0 endOffset 4 width 45.00: "PASS"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/error/012-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/error/012-expected.png
index efd80d5..34bbe46c9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/error/012-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/error/012-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/error/013-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/error/013-expected.txt
index 51423dd..027f954d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/error/013-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/error/013-expected.txt
@@ -6,12 +6,12 @@
     LayoutBlockFlow {body} at (8,8) size 784x81
       LayoutBlockFlow (anonymous) at (0,0) size 784x25
         LayoutSVGRoot {svg} at (0,0) size 784x20
-          LayoutSVGText {text} at (10,20) size 124.70x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,20) size 124.70x12
-              chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 30 width 124.71: "FAIL (This should not render.)"
+          LayoutSVGText {text} at (10,20) size 124x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (10,20) size 124x12
+              chunk 1 text run 1 at (10.00,30.00) startOffset 0 endOffset 30 width 124.00: "FAIL (This should not render.)"
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {p} at (0,41) size 784x40 [color=#008000]
         LayoutText {#text} at (0,0) size 767x39
           text run at (0,0) width 392: "This line should be green, the word \"FAIL\" should not appear on "
-          text run at (391,0) width 376: "this page, but a highly perceivable indication of error should be"
+          text run at (392,0) width 375: "this page, but a highly perceivable indication of error should be"
           text run at (0,20) width 121: "present somewhere."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/error/017-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/error/017-expected.txt
index ebad82f..8e69b66e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/error/017-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/error/017-expected.txt
@@ -11,10 +11,10 @@
         LayoutSVGContainer {use} at (0,0) size 0x0
     LayoutSVGContainer {g} at (0,0) size 0x0
       LayoutSVGContainer {use} at (0,0) size 0x0
-    LayoutSVGText {text} at (20,40) size 429.16x225 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (20,40) size 429.16x225
-        chunk 1 text run 1 at (20.00,220.00) startOffset 0 endOffset 4 width 429.16: "FAIL"
+    LayoutSVGText {text} at (20,40) size 429x225 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (20,40) size 429x225
+        chunk 1 text run 1 at (20.00,220.00) startOffset 0 endOffset 4 width 429.00: "FAIL"
     LayoutSVGEllipse {circle} at (-100,-100) size 400x400 [stroke={[type=SOLID] [color=#000000] [stroke width=5.00]}] [fill={[type=SOLID] [color=#FF0000]}] [cx=100.00] [cy=100.00] [r=200.00]
-    LayoutSVGText {text} at (20,40) size 429.16x225 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (20,40) size 429.16x225
-        chunk 1 text run 1 at (20.00,220.00) startOffset 0 endOffset 4 width 429.16: "FAIL"
+    LayoutSVGText {text} at (20,40) size 429x225 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (20,40) size 429x225
+        chunk 1 text run 1 at (20.00,220.00) startOffset 0 endOffset 4 width 429.00: "FAIL"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/mixed/003-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/mixed/003-expected.png
index 5527846..4e0196e9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/mixed/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/mixed/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/perf/003-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/perf/003-expected.png
index 0c81477..31f8f2f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/perf/003-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/perf/003-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/perf/007-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/perf/007-expected.png
index f6e5d6f..33a1d55 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/perf/007-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/perf/007-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/text/002-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/text/002-expected.txt
index a877e1e..952a422 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/text/002-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/text/002-expected.txt
@@ -2,6 +2,6 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x400
   LayoutSVGRoot {svg} at (0,0) size 800x400
-    LayoutSVGText {text} at (10,120) size 458.64x225 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,120) size 458.64x225
-        chunk 1 text run 1 at (10.00,300.00) startOffset 0 endOffset 4 width 458.64: "PASS"
+    LayoutSVGText {text} at (10,120) size 459x225 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,120) size 459x225
+        chunk 1 text run 1 at (10.00,300.00) startOffset 0 endOffset 4 width 459.00: "PASS"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/viewbox/preserveAspectRatio/001-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/viewbox/preserveAspectRatio/001-expected.png
index ade6605..da08c62 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/viewbox/preserveAspectRatio/001-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/viewbox/preserveAspectRatio/001-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt
index 06b58c5..4284534 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt
@@ -8,9 +8,9 @@
     LayoutSVGText {text} at (11.25,23.66) size 77.50x8 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (11.25,23.66) size 77.50x8
         chunk 1 (middle anchor) text run 1 at (11.25,30.00) startOffset 0 endOffset 24 width 77.50: "This should be a SQUARE."
-    LayoutSVGText {text} at (16.23,35.50) size 67.50x5.66 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (16.23,35.50) size 67.50x5.66
-        chunk 1 (middle anchor) text run 1 at (16.25,40.00) startOffset 0 endOffset 36 width 67.51: "It should stretch to fit the window."
+    LayoutSVGText {text} at (16.25,35.50) size 67.50x5.66 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (16.25,35.50) size 67.50x5.66
+        chunk 1 (middle anchor) text run 1 at (16.25,40.00) startOffset 0 endOffset 36 width 67.50: "It should stretch to fit the window."
     LayoutSVGText {text} at (32.66,45.33) size 34.66x3.33 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (32.66,45.33) size 34.66x3.33
         chunk 1 (middle anchor) text run 1 at (32.67,48.00) startOffset 0 endOffset 27 width 34.67: "(Whatever the window size.)"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-text-anchor-direction-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-text-anchor-direction-expected.txt
index 9c0fe34..680f9bd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-text-anchor-direction-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-text-anchor-direction-expected.txt
@@ -3,15 +3,15 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (31.80,41) size 416.39x181.39
-      LayoutSVGText {text} at (240,41) size 207.50x11.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (240,41) size 207.50x11.39
-          chunk 1 text run 1 at (240.00,50.00) startOffset 0 endOffset 56 width 207.50 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
-      LayoutSVGText {text} at (136.23,71) size 207.50x11.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (136.23,71) size 207.50x11.39
-          chunk 1 (middle anchor) text run 1 at (136.25,80.00) startOffset 0 endOffset 56 width 207.50 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
-      LayoutSVGText {text} at (32.48,101) size 207.50x11.39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (32.48,101) size 207.50x11.39
-          chunk 1 (end anchor) text run 1 at (32.50,110.00) startOffset 0 endOffset 56 width 207.50 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
+      LayoutSVGText {text} at (240,41) size 207.59x11.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (240,41) size 207.59x11.39
+          chunk 1 text run 1 at (240.00,50.00) startOffset 0 endOffset 56 width 207.60 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
+      LayoutSVGText {text} at (136.19,71) size 207.59x11.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (136.19,71) size 207.59x11.39
+          chunk 1 (middle anchor) text run 1 at (136.20,80.00) startOffset 0 endOffset 56 width 207.60 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
+      LayoutSVGText {text} at (32.39,101) size 207.59x11.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (32.39,101) size 207.59x11.39
+          chunk 1 (end anchor) text run 1 at (32.40,110.00) startOffset 0 endOffset 56 width 207.60 LTR override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
       LayoutSVGText {text} at (31.80,141) size 208.19x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (31.80,141) size 208.19x11.39
           chunk 1 text run 1 at (31.80,150.00) startOffset 0 endOffset 56 width 208.20 RTL override: "Text \"\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}\" is in Hebrew"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-text-query-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-text-query-expected.png
index 83e1d29..4d9cd00 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-text-query-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-text-query-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-text-query-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-text-query-expected.txt
index 62098ff..00cdb8e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-text-query-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-text-query-expected.txt
@@ -64,9 +64,9 @@
         LayoutSVGInlineText {#text} at (76.89,55.59) size 4.80x4.19
           chunk 1 (middle anchor) text run 1 at (76.90,59.20) startOffset 0 endOffset 2 width 4.80: "10"
       LayoutSVGRect {rect} at (81.40,33.20) size 3.60x21 [fill={[type=SOLID] [color=#0000FF] [opacity=0.40]}] [x=81.40] [y=33.20] [width=3.60] [height=21.00]
-      LayoutSVGText {text} at (80.94,55.59) size 4.50x4.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (80.94,55.59) size 4.50x4.19
-          chunk 1 (middle anchor) text run 1 at (80.95,59.20) startOffset 0 endOffset 2 width 4.50: "11"
+      LayoutSVGText {text} at (80.80,55.59) size 4.80x4.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (80.80,55.59) size 4.80x4.19
+          chunk 1 (middle anchor) text run 1 at (80.80,59.20) startOffset 0 endOffset 2 width 4.80: "11"
       LayoutSVGRect {rect} at (85,33.20) size 6x21 [fill={[type=SOLID] [color=#4B0082] [opacity=0.40]}] [x=85.00] [y=33.20] [width=6.00] [height=21.00]
       LayoutSVGText {text} at (85.59,55.59) size 4.80x4.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (85.59,55.59) size 4.80x4.19
@@ -132,9 +132,9 @@
         LayoutSVGInlineText {#text} at (18.69,85.59) size 4.80x4.19
           chunk 1 (middle anchor) text run 1 at (18.70,89.20) startOffset 0 endOffset 2 width 4.80: "10"
       LayoutSVGRect {rect} at (10,63.20) size 9x21 [fill={[type=SOLID] [color=#0000FF] [opacity=0.40]}] [x=10.00] [y=63.20] [width=9.00] [height=21.00]
-      LayoutSVGText {text} at (12.23,85.59) size 4.50x4.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (12.23,85.59) size 4.50x4.19
-          chunk 1 (middle anchor) text run 1 at (12.25,89.20) startOffset 0 endOffset 2 width 4.50: "11"
+      LayoutSVGText {text} at (12.09,85.59) size 4.80x4.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (12.09,85.59) size 4.80x4.19
+          chunk 1 (middle anchor) text run 1 at (12.10,89.20) startOffset 0 endOffset 2 width 4.80: "11"
       LayoutSVGRect {rect} at (81.40,63.20) size 6x21 [fill={[type=SOLID] [color=#4B0082] [opacity=0.40]}] [x=81.40] [y=63.20] [width=6.00] [height=21.00]
       LayoutSVGText {text} at (81.98,85.59) size 4.80x4.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (81.98,85.59) size 4.80x4.19
@@ -200,9 +200,9 @@
         LayoutSVGInlineText {#text} at (46.59,115.59) size 4.80x4.19
           chunk 1 (middle anchor) text run 1 at (46.60,119.20) startOffset 0 endOffset 2 width 4.80: "10"
       LayoutSVGRect {rect} at (43,93.20) size 4.20x21 [fill={[type=SOLID] [color=#0000FF] [opacity=0.40]}] [x=43.00] [y=93.20] [width=4.20] [height=21.00]
-      LayoutSVGText {text} at (42.84,115.59) size 4.50x4.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (42.84,115.59) size 4.50x4.19
-          chunk 1 (middle anchor) text run 1 at (42.85,119.20) startOffset 0 endOffset 2 width 4.50: "11"
+      LayoutSVGText {text} at (42.69,115.59) size 4.80x4.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (42.69,115.59) size 4.80x4.19
+          chunk 1 (middle anchor) text run 1 at (42.70,119.20) startOffset 0 endOffset 2 width 4.80: "11"
       LayoutSVGRect {rect} at (37,93.20) size 6x21 [fill={[type=SOLID] [color=#4B0082] [opacity=0.40]}] [x=37.00] [y=93.20] [width=6.00] [height=21.00]
       LayoutSVGText {text} at (37.59,115.59) size 4.80x4.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (37.59,115.59) size 4.80x4.19
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-tspans-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-tspans-expected.png
index 107f5960..da135e0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-tspans-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-tspans-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-tspans-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-tspans-expected.txt
index df672a8..42bf039b4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-tspans-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/bidi-tspans-expected.txt
@@ -2,18 +2,18 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (91.86,133.19) size 276.27x51
-      LayoutSVGText {text} at (91.86,133.19) size 276.27x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (91.86,133.19) size 276.27x21
-          chunk 1 (middle anchor) text run 1 at (91.86,150.00) startOffset 0 endOffset 10 width 56.40 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}\"!"
-          chunk 1 (middle anchor) text run 1 at (148.26,150.00) startOffset 0 endOffset 14 width 137.07: "dirRTL ubEmbed"
-          chunk 1 (middle anchor) text run 1 at (285.34,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
-      LayoutSVGText {text} at (91.86,163.19) size 276.27x21 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (284.73,163.19) size 83.39x21
-          chunk 1 (middle anchor) text run 1 at (285.34,180.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
-        LayoutSVGTSpan {tspan} at (91.86,163.19) size 276.27x21
-          LayoutSVGInlineText {#text} at (103.86,163.19) size 181.45x21
-            chunk 1 (middle anchor) text run 1 at (103.86,180.00) startOffset 0 endOffset 8 width 44.40 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
-            chunk 1 (middle anchor) text run 1 at (148.26,180.00) startOffset 0 endOffset 14 width 137.07: "dirRTL ubEmbed"
-        LayoutSVGInlineText {#text} at (91.86,163.19) size 12x21
-          chunk 1 (middle anchor) text run 1 at (91.86,180.00) startOffset 0 endOffset 2 width 12.00 RTL: "\"!"
+    LayoutSVGContainer {g} at (91.98,133.19) size 276x51
+      LayoutSVGText {text} at (91.98,133.19) size 276x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (91.98,133.19) size 276x21
+          chunk 1 (middle anchor) text run 1 at (92.00,150.00) startOffset 0 endOffset 10 width 56.40 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}\"!"
+          chunk 1 (middle anchor) text run 1 at (148.40,150.00) startOffset 0 endOffset 14 width 136.80: "dirRTL ubEmbed"
+          chunk 1 (middle anchor) text run 1 at (285.20,150.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
+      LayoutSVGText {text} at (91.98,163.19) size 276x21 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (284.59,163.19) size 83.39x21
+          chunk 1 (middle anchor) text run 1 at (285.20,180.00) startOffset 0 endOffset 14 width 82.80 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
+        LayoutSVGTSpan {tspan} at (91.98,163.19) size 276x21
+          LayoutSVGInlineText {#text} at (103.98,163.19) size 181.20x21
+            chunk 1 (middle anchor) text run 1 at (104.00,180.00) startOffset 0 endOffset 8 width 44.40 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
+            chunk 1 (middle anchor) text run 1 at (148.40,180.00) startOffset 0 endOffset 14 width 136.80: "dirRTL ubEmbed"
+        LayoutSVGInlineText {#text} at (91.98,163.19) size 12x21
+          chunk 1 (middle anchor) text run 1 at (92.00,180.00) startOffset 0 endOffset 2 width 12.00 RTL: "\"!"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/caret-in-svg-text-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/caret-in-svg-text-expected.txt
index 685f4c5..2a190df 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/caret-in-svg-text-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/caret-in-svg-text-expected.txt
@@ -2,6 +2,6 @@
 שדגש
 
 Failure. Was: 20,15,0,19, expected: 20,566,0,18
-Failure. Was: 107,15,0,19, expected: 114,566,0,18
+Failure. Was: 108,15,0,19, expected: 114,566,0,18
 Failure. Was: 20,35,0,19, expected: 58,546,0,18
 Failure. Was: 52,35,0,19, expected: 20,546,0,18
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/combining-character-queries-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/combining-character-queries-expected.png
index 23c9d744..4e23455 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/combining-character-queries-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/combining-character-queries-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/combining-character-queries-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/combining-character-queries-expected.txt
index a7f0102..e9fca6f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/combining-character-queries-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/combining-character-queries-expected.txt
@@ -4,7 +4,7 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x521
     LayoutBlockFlow {BODY} at (8,8) size 784x505
       LayoutSVGRoot {svg} at (0,0) size 600x500
-        LayoutSVGContainer {g} at (49,11) size 374.74x356
+        LayoutSVGContainer {g} at (49,11) size 374x356
           LayoutSVGRect {rect} at (50,11) size 18x49 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=50.00] [y=11.00] [width=18.00] [height=49.00]
           LayoutSVGText {text} at (57,57) size 4x10 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (57,57) size 4x10
@@ -201,26 +201,26 @@
           LayoutSVGText {text} at (222.50,205) size 4x10 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (222.50,205) size 4x10
               chunk 1 (middle anchor) text run 1 at (222.50,213.00) startOffset 0 endOffset 1 width 4.00: "3"
-          LayoutSVGRect {rect} at (229,168) size 10.37x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=229.00] [y=168.00] [width=10.37] [height=40.00]
-          LayoutSVGText {text} at (232.17,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (232.17,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (232.18,213.00) startOffset 0 endOffset 1 width 4.00: "4"
-          LayoutSVGRect {rect} at (239.37,168) size 11x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=239.37] [y=168.00] [width=11.00] [height=40.00]
-          LayoutSVGText {text} at (242.86,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (242.86,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (242.87,213.00) startOffset 0 endOffset 1 width 4.00: "5"
-          LayoutSVGRect {rect} at (250.37,168) size 3x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=250.37] [y=168.00] [width=3.00] [height=40.00]
-          LayoutSVGText {text} at (249.86,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (249.86,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (249.87,213.00) startOffset 0 endOffset 1 width 4.00: "6"
-          LayoutSVGRect {rect} at (253.37,168) size 3x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=253.37] [y=168.00] [width=3.00] [height=40.00]
-          LayoutSVGText {text} at (252.86,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (252.86,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (252.87,213.00) startOffset 0 endOffset 1 width 4.00: "7"
-          LayoutSVGRect {rect} at (256.37,168) size 3x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=256.37] [y=168.00] [width=3.00] [height=40.00]
-          LayoutSVGText {text} at (255.86,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (255.86,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (255.87,213.00) startOffset 0 endOffset 1 width 4.00: "8"
+          LayoutSVGRect {rect} at (229,168) size 10x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=229.00] [y=168.00] [width=10.00] [height=40.00]
+          LayoutSVGText {text} at (232,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (232,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (232.00,213.00) startOffset 0 endOffset 1 width 4.00: "4"
+          LayoutSVGRect {rect} at (239,168) size 11x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=239.00] [y=168.00] [width=11.00] [height=40.00]
+          LayoutSVGText {text} at (242.50,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (242.50,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (242.50,213.00) startOffset 0 endOffset 1 width 4.00: "5"
+          LayoutSVGRect {rect} at (250,168) size 3x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=250.00] [y=168.00] [width=3.00] [height=40.00]
+          LayoutSVGText {text} at (249.50,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (249.50,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (249.50,213.00) startOffset 0 endOffset 1 width 4.00: "6"
+          LayoutSVGRect {rect} at (253,168) size 3x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=253.00] [y=168.00] [width=3.00] [height=40.00]
+          LayoutSVGText {text} at (252.50,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (252.50,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (252.50,213.00) startOffset 0 endOffset 1 width 4.00: "7"
+          LayoutSVGRect {rect} at (256,168) size 3x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=256.00] [y=168.00] [width=3.00] [height=40.00]
+          LayoutSVGText {text} at (255.50,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (255.50,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (255.50,213.00) startOffset 0 endOffset 1 width 4.00: "8"
           LayoutSVGRect {rect} at (350,168) size 10x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=350.00] [y=168.00] [width=10.00] [height=40.00]
           LayoutSVGText {text} at (353,205) size 4x10 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (353,205) size 4x10
@@ -237,26 +237,26 @@
           LayoutSVGText {text} at (370,205) size 4x10 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (370,205) size 4x10
               chunk 1 (middle anchor) text run 1 at (370.00,213.00) startOffset 0 endOffset 1 width 4.00: "3"
-          LayoutSVGRect {rect} at (377,168) size 9.37x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=377.00] [y=168.00] [width=9.37] [height=40.00]
-          LayoutSVGText {text} at (379.67,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (379.67,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (379.68,213.00) startOffset 0 endOffset 1 width 4.00: "4"
-          LayoutSVGRect {rect} at (386.37,168) size 10x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=386.37] [y=168.00] [width=10.00] [height=40.00]
-          LayoutSVGText {text} at (389.36,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (389.36,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (389.37,213.00) startOffset 0 endOffset 1 width 4.00: "5"
-          LayoutSVGRect {rect} at (396.37,168) size 2.33x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=396.37] [y=168.00] [width=2.33] [height=40.00]
-          LayoutSVGText {text} at (395.53,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (395.53,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (395.53,213.00) startOffset 0 endOffset 1 width 4.00: "6"
-          LayoutSVGRect {rect} at (398.70,168) size 2.33x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=398.70] [y=168.00] [width=2.33] [height=40.00]
-          LayoutSVGText {text} at (397.86,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (397.86,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (397.87,213.00) startOffset 0 endOffset 1 width 4.00: "7"
-          LayoutSVGRect {rect} at (401.03,168) size 2.33x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=401.03] [y=168.00] [width=2.33] [height=40.00]
-          LayoutSVGText {text} at (400.19,205) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (400.19,205) size 4x10
-              chunk 1 (middle anchor) text run 1 at (400.20,213.00) startOffset 0 endOffset 1 width 4.00: "8"
+          LayoutSVGRect {rect} at (377,168) size 9x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=377.00] [y=168.00] [width=9.00] [height=40.00]
+          LayoutSVGText {text} at (379.50,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (379.50,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (379.50,213.00) startOffset 0 endOffset 1 width 4.00: "4"
+          LayoutSVGRect {rect} at (386,168) size 10x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=386.00] [y=168.00] [width=10.00] [height=40.00]
+          LayoutSVGText {text} at (389,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (389,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (389.00,213.00) startOffset 0 endOffset 1 width 4.00: "5"
+          LayoutSVGRect {rect} at (396,168) size 2.33x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=396.00] [y=168.00] [width=2.33] [height=40.00]
+          LayoutSVGText {text} at (395.16,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (395.16,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (395.17,213.00) startOffset 0 endOffset 1 width 4.00: "6"
+          LayoutSVGRect {rect} at (398.33,168) size 2.33x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=398.33] [y=168.00] [width=2.33] [height=40.00]
+          LayoutSVGText {text} at (397.50,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (397.50,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (397.50,213.00) startOffset 0 endOffset 1 width 4.00: "7"
+          LayoutSVGRect {rect} at (400.67,168) size 2.33x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=400.67] [y=168.00] [width=2.33] [height=40.00]
+          LayoutSVGText {text} at (399.83,205) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (399.83,205) size 4x10
+              chunk 1 (middle anchor) text run 1 at (399.83,213.00) startOffset 0 endOffset 1 width 4.00: "8"
           LayoutSVGRect {rect} at (50,236) size 18x49 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=50.00] [y=236.00] [width=18.00] [height=49.00]
           LayoutSVGText {text} at (57,282) size 4x10 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (57,282) size 4x10
@@ -297,86 +297,86 @@
           LayoutSVGText {text} at (138.25,282) size 4x10 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (138.25,282) size 4x10
               chunk 1 (middle anchor) text run 1 at (138.25,290.00) startOffset 0 endOffset 1 width 4.00: "9"
-          LayoutSVGRect {rect} at (200,243) size 10.37x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=200.00] [y=243.00] [width=10.37] [height=40.00]
-          LayoutSVGText {text} at (203.17,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (203.17,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (203.18,288.00) startOffset 0 endOffset 1 width 4.00: "0"
-          LayoutSVGRect {rect} at (210.37,243) size 5.50x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=210.37] [y=243.00] [width=5.50] [height=40.00]
-          LayoutSVGText {text} at (211.11,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (211.11,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (211.12,288.00) startOffset 0 endOffset 1 width 4.00: "1"
-          LayoutSVGRect {rect} at (215.87,243) size 5.50x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=215.87] [y=243.00] [width=5.50] [height=40.00]
-          LayoutSVGText {text} at (216.61,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (216.61,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (216.62,288.00) startOffset 0 endOffset 1 width 4.00: "2"
-          LayoutSVGRect {rect} at (249.37,243) size 7x40 [fill={[type=SOLID] [color=#008000] [opacity=0.30]}] [x=249.37] [y=243.00] [width=7.00] [height=40.00]
-          LayoutSVGText {text} at (250.86,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (250.86,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (250.87,288.00) startOffset 0 endOffset 1 width 4.00: "3"
-          LayoutSVGRect {rect} at (242.37,243) size 7x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=242.37] [y=243.00] [width=7.00] [height=40.00]
-          LayoutSVGText {text} at (243.86,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (243.86,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (243.87,288.00) startOffset 0 endOffset 1 width 4.00: "4"
-          LayoutSVGRect {rect} at (231.87,243) size 10.50x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=231.87] [y=243.00] [width=10.50] [height=40.00]
-          LayoutSVGText {text} at (235.11,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (235.11,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (235.12,288.00) startOffset 0 endOffset 1 width 4.00: "5"
-          LayoutSVGRect {rect} at (221.37,243) size 10.50x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=221.37] [y=243.00] [width=10.50] [height=40.00]
-          LayoutSVGText {text} at (224.61,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (224.61,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (224.62,288.00) startOffset 0 endOffset 1 width 4.00: "6"
-          LayoutSVGRect {rect} at (256.37,243) size 10.37x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=256.37] [y=243.00] [width=10.37] [height=40.00]
-          LayoutSVGText {text} at (259.55,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (259.55,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (259.55,288.00) startOffset 0 endOffset 1 width 4.00: "7"
-          LayoutSVGRect {rect} at (266.74,243) size 5.50x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=266.74] [y=243.00] [width=5.50] [height=40.00]
-          LayoutSVGText {text} at (267.48,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (267.48,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (267.49,288.00) startOffset 0 endOffset 1 width 4.00: "8"
-          LayoutSVGRect {rect} at (272.24,243) size 5.50x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=272.24] [y=243.00] [width=5.50] [height=40.00]
-          LayoutSVGText {text} at (272.98,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (272.98,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (272.99,288.00) startOffset 0 endOffset 1 width 4.00: "9"
-          LayoutSVGRect {rect} at (350,243) size 9.37x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=350.00] [y=243.00] [width=9.37] [height=40.00]
-          LayoutSVGText {text} at (352.67,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (352.67,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (352.68,288.00) startOffset 0 endOffset 1 width 4.00: "0"
-          LayoutSVGRect {rect} at (359.37,243) size 5x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=359.37] [y=243.00] [width=5.00] [height=40.00]
-          LayoutSVGText {text} at (359.86,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (359.86,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (359.87,288.00) startOffset 0 endOffset 1 width 4.00: "1"
-          LayoutSVGRect {rect} at (364.37,243) size 5x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=364.37] [y=243.00] [width=5.00] [height=40.00]
-          LayoutSVGText {text} at (364.86,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (364.86,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (364.87,288.00) startOffset 0 endOffset 1 width 4.00: "2"
-          LayoutSVGRect {rect} at (397.37,243) size 7x40 [fill={[type=SOLID] [color=#008000] [opacity=0.30]}] [x=397.37] [y=243.00] [width=7.00] [height=40.00]
-          LayoutSVGText {text} at (398.86,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (398.86,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (398.87,288.00) startOffset 0 endOffset 1 width 4.00: "3"
-          LayoutSVGRect {rect} at (390.37,243) size 7x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=390.37] [y=243.00] [width=7.00] [height=40.00]
-          LayoutSVGText {text} at (391.86,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (391.86,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (391.87,288.00) startOffset 0 endOffset 1 width 4.00: "4"
-          LayoutSVGRect {rect} at (379.87,243) size 10.50x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=379.87] [y=243.00] [width=10.50] [height=40.00]
-          LayoutSVGText {text} at (383.11,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (383.11,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (383.12,288.00) startOffset 0 endOffset 1 width 4.00: "5"
-          LayoutSVGRect {rect} at (369.37,243) size 10.50x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=369.37] [y=243.00] [width=10.50] [height=40.00]
-          LayoutSVGText {text} at (372.61,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (372.61,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (372.62,288.00) startOffset 0 endOffset 1 width 4.00: "6"
-          LayoutSVGRect {rect} at (404.37,243) size 9.37x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=404.37] [y=243.00] [width=9.37] [height=40.00]
-          LayoutSVGText {text} at (407.05,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (407.05,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (407.05,288.00) startOffset 0 endOffset 1 width 4.00: "7"
-          LayoutSVGRect {rect} at (413.74,243) size 5x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=413.74] [y=243.00] [width=5.00] [height=40.00]
-          LayoutSVGText {text} at (414.23,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (414.23,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (414.24,288.00) startOffset 0 endOffset 1 width 4.00: "8"
-          LayoutSVGRect {rect} at (418.74,243) size 5x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=418.74] [y=243.00] [width=5.00] [height=40.00]
-          LayoutSVGText {text} at (419.23,280) size 4x10 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (419.23,280) size 4x10
-              chunk 1 (middle anchor) text run 1 at (419.24,288.00) startOffset 0 endOffset 1 width 4.00: "9"
+          LayoutSVGRect {rect} at (200,243) size 10x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=200.00] [y=243.00] [width=10.00] [height=40.00]
+          LayoutSVGText {text} at (203,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (203,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (203.00,288.00) startOffset 0 endOffset 1 width 4.00: "0"
+          LayoutSVGRect {rect} at (210,243) size 5.50x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=210.00] [y=243.00] [width=5.50] [height=40.00]
+          LayoutSVGText {text} at (210.75,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (210.75,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (210.75,288.00) startOffset 0 endOffset 1 width 4.00: "1"
+          LayoutSVGRect {rect} at (215.50,243) size 5.50x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=215.50] [y=243.00] [width=5.50] [height=40.00]
+          LayoutSVGText {text} at (216.25,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (216.25,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (216.25,288.00) startOffset 0 endOffset 1 width 4.00: "2"
+          LayoutSVGRect {rect} at (249,243) size 7x40 [fill={[type=SOLID] [color=#008000] [opacity=0.30]}] [x=249.00] [y=243.00] [width=7.00] [height=40.00]
+          LayoutSVGText {text} at (250.50,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (250.50,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (250.50,288.00) startOffset 0 endOffset 1 width 4.00: "3"
+          LayoutSVGRect {rect} at (242,243) size 7x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=242.00] [y=243.00] [width=7.00] [height=40.00]
+          LayoutSVGText {text} at (243.50,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (243.50,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (243.50,288.00) startOffset 0 endOffset 1 width 4.00: "4"
+          LayoutSVGRect {rect} at (231.50,243) size 10.50x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=231.50] [y=243.00] [width=10.50] [height=40.00]
+          LayoutSVGText {text} at (234.75,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (234.75,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (234.75,288.00) startOffset 0 endOffset 1 width 4.00: "5"
+          LayoutSVGRect {rect} at (221,243) size 10.50x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=221.00] [y=243.00] [width=10.50] [height=40.00]
+          LayoutSVGText {text} at (224.25,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (224.25,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (224.25,288.00) startOffset 0 endOffset 1 width 4.00: "6"
+          LayoutSVGRect {rect} at (256,243) size 10x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=256.00] [y=243.00] [width=10.00] [height=40.00]
+          LayoutSVGText {text} at (259,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (259,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (259.00,288.00) startOffset 0 endOffset 1 width 4.00: "7"
+          LayoutSVGRect {rect} at (266,243) size 5.50x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=266.00] [y=243.00] [width=5.50] [height=40.00]
+          LayoutSVGText {text} at (266.75,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (266.75,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (266.75,288.00) startOffset 0 endOffset 1 width 4.00: "8"
+          LayoutSVGRect {rect} at (271.50,243) size 5.50x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=271.50] [y=243.00] [width=5.50] [height=40.00]
+          LayoutSVGText {text} at (272.25,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (272.25,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (272.25,288.00) startOffset 0 endOffset 1 width 4.00: "9"
+          LayoutSVGRect {rect} at (350,243) size 9x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=350.00] [y=243.00] [width=9.00] [height=40.00]
+          LayoutSVGText {text} at (352.50,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (352.50,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (352.50,288.00) startOffset 0 endOffset 1 width 4.00: "0"
+          LayoutSVGRect {rect} at (359,243) size 5x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=359.00] [y=243.00] [width=5.00] [height=40.00]
+          LayoutSVGText {text} at (359.50,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (359.50,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (359.50,288.00) startOffset 0 endOffset 1 width 4.00: "1"
+          LayoutSVGRect {rect} at (364,243) size 5x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=364.00] [y=243.00] [width=5.00] [height=40.00]
+          LayoutSVGText {text} at (364.50,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (364.50,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (364.50,288.00) startOffset 0 endOffset 1 width 4.00: "2"
+          LayoutSVGRect {rect} at (397,243) size 7x40 [fill={[type=SOLID] [color=#008000] [opacity=0.30]}] [x=397.00] [y=243.00] [width=7.00] [height=40.00]
+          LayoutSVGText {text} at (398.50,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (398.50,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (398.50,288.00) startOffset 0 endOffset 1 width 4.00: "3"
+          LayoutSVGRect {rect} at (390,243) size 7x40 [fill={[type=SOLID] [color=#0000FF] [opacity=0.30]}] [x=390.00] [y=243.00] [width=7.00] [height=40.00]
+          LayoutSVGText {text} at (391.50,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (391.50,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (391.50,288.00) startOffset 0 endOffset 1 width 4.00: "4"
+          LayoutSVGRect {rect} at (379.50,243) size 10.50x40 [fill={[type=SOLID] [color=#4B0082] [opacity=0.30]}] [x=379.50] [y=243.00] [width=10.50] [height=40.00]
+          LayoutSVGText {text} at (382.75,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (382.75,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (382.75,288.00) startOffset 0 endOffset 1 width 4.00: "5"
+          LayoutSVGRect {rect} at (369,243) size 10.50x40 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.30]}] [x=369.00] [y=243.00] [width=10.50] [height=40.00]
+          LayoutSVGText {text} at (372.25,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (372.25,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (372.25,288.00) startOffset 0 endOffset 1 width 4.00: "6"
+          LayoutSVGRect {rect} at (404,243) size 9x40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=404.00] [y=243.00] [width=9.00] [height=40.00]
+          LayoutSVGText {text} at (406.50,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (406.50,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (406.50,288.00) startOffset 0 endOffset 1 width 4.00: "7"
+          LayoutSVGRect {rect} at (413,243) size 5x40 [fill={[type=SOLID] [color=#FFA500] [opacity=0.30]}] [x=413.00] [y=243.00] [width=5.00] [height=40.00]
+          LayoutSVGText {text} at (413.50,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (413.50,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (413.50,288.00) startOffset 0 endOffset 1 width 4.00: "8"
+          LayoutSVGRect {rect} at (418,243) size 5x40 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.30]}] [x=418.00] [y=243.00] [width=5.00] [height=40.00]
+          LayoutSVGText {text} at (418.50,280) size 4x10 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (418.50,280) size 4x10
+              chunk 1 (middle anchor) text run 1 at (418.50,288.00) startOffset 0 endOffset 1 width 4.00: "9"
           LayoutSVGRect {rect} at (50,311) size 5x49 [fill={[type=SOLID] [color=#FF0000] [opacity=0.30]}] [x=50.00] [y=311.00] [width=5.00] [height=49.00]
           LayoutSVGText {text} at (50.50,357) size 4x10 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (50.50,357) size 4x10
@@ -436,8 +436,8 @@
         LayoutSVGText {text} at (50,11) size 51x49 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (50,11) size 51x49
             chunk 1 text run 1 at (50.00,50.00) startOffset 0 endOffset 6 width 51.00: "ab\x{30C}c\x{30C}\x{30C}"
-        LayoutSVGText {text} at (200,17.11) size 49x40.88 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (200,17.11) size 49x40.88
+        LayoutSVGText {text} at (200,17) size 49x41 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (200,17) size 49x41
             chunk 1 text run 1 at (200.00,50.00) startOffset 0 endOffset 6 width 49.00: "ab\x{30C}c\x{30C}\x{30C}"
         LayoutSVGText {text} at (350,18) size 55x40 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (350,18) size 55x40
@@ -450,8 +450,8 @@
             chunk 1 text run 1 at (82.00,125.00) startOffset 0 endOffset 1 width 0.00 RTL: "\x{200F}"
             chunk 1 text run 1 at (82.00,125.00) startOffset 0 endOffset 1 width 18.00: "a"
             chunk 1 text run 1 at (100.00,125.00) startOffset 0 endOffset 1 width 0.00 RTL: "\x{200F}"
-        LayoutSVGText {text} at (201,92.11) size 49x40.88 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (201,92.11) size 49x40.89
+        LayoutSVGText {text} at (201,92) size 49x41 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (201,92) size 49x41
             chunk 1 text run 1 at (201.00,125.00) startOffset 0 endOffset 3 width 15.00: "c\x{30C}\x{30C}"
             chunk 1 text run 1 at (216.00,125.00) startOffset 0 endOffset 1 width 0.00 RTL: "\x{200F}"
             chunk 1 text run 1 at (216.00,125.00) startOffset 0 endOffset 2 width 18.00: "b\x{30C}"
@@ -466,39 +466,39 @@
             chunk 1 text run 1 at (382.00,125.00) startOffset 0 endOffset 1 width 0.00 RTL: "\x{200F}"
             chunk 1 text run 1 at (382.00,125.00) startOffset 0 endOffset 1 width 18.00: "a"
             chunk 1 text run 1 at (400.00,125.00) startOffset 0 endOffset 1 width 0.00 RTL: "\x{200F}"
-        LayoutSVGText {text} at (200,167.11) size 60.14x40.88 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (200,167.11) size 60.14x40.88
-            chunk 1 text run 1 at (200.00,200.00) startOffset 0 endOffset 9 width 59.37: "fi\x{30C} ffi\x{30C}\x{30C}"
-        LayoutSVGText {text} at (350,168) size 56.36x40 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (350,168) size 56.36x40
-            chunk 1 text run 1 at (350.00,200.00) startOffset 0 endOffset 9 width 53.37: "fi\x{30C} ffi\x{30C}\x{30C}"
-        LayoutSVGText {text} at (50,236) size 97.77x49 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (50,236) size 97.77x49
+        LayoutSVGText {text} at (200,167) size 60x41 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (200,167) size 60x41
+            chunk 1 text run 1 at (200.00,200.00) startOffset 0 endOffset 9 width 59.00: "fi\x{30C} ffi\x{30C}\x{30C}"
+        LayoutSVGText {text} at (350,168) size 56x40 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (350,168) size 56x40
+            chunk 1 text run 1 at (350.00,200.00) startOffset 0 endOffset 9 width 53.00: "fi\x{30C} ffi\x{30C}\x{30C}"
+        LayoutSVGText {text} at (50,236) size 98x49 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (50,236) size 98x49
             chunk 1 text run 1 at (50.00,275.00) startOffset 0 endOffset 3 width 29.00: "ff\x{30C}"
             chunk 1 text run 1 at (79.00,275.00) startOffset 0 endOffset 4 width 35.00 RTL: "\x{640}\x{640}\x{644}\x{627}"
             chunk 1 text run 1 at (114.00,275.00) startOffset 0 endOffset 3 width 29.00: "ff\x{30C}"
-        LayoutSVGText {text} at (200,242.11) size 82.50x40.88 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (200,242.11) size 82.48x40.89
-            chunk 1 text run 1 at (200.00,275.00) startOffset 0 endOffset 3 width 21.37: "ff\x{30C}"
-            chunk 1 text run 1 at (221.37,275.00) startOffset 0 endOffset 4 width 35.00 RTL: "\x{640}\x{640}\x{644}\x{627}"
-            chunk 1 text run 1 at (256.37,275.00) startOffset 0 endOffset 3 width 21.37: "ff\x{30C}"
-        LayoutSVGText {text} at (350,243) size 76.56x40 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (350,243) size 76.56x40
-            chunk 1 text run 1 at (350.00,275.00) startOffset 0 endOffset 3 width 19.37: "ff\x{30C}"
-            chunk 1 text run 1 at (369.37,275.00) startOffset 0 endOffset 4 width 35.00 RTL: "\x{640}\x{640}\x{644}\x{627}"
-            chunk 1 text run 1 at (404.37,275.00) startOffset 0 endOffset 3 width 19.37: "ff\x{30C}"
-        LayoutSVGText {text} at (45,311) size 45.78x49 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (45,311) size 45.78x49
+        LayoutSVGText {text} at (200,242) size 82x41 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (200,242) size 82x41
+            chunk 1 text run 1 at (200.00,275.00) startOffset 0 endOffset 3 width 21.00: "ff\x{30C}"
+            chunk 1 text run 1 at (221.00,275.00) startOffset 0 endOffset 4 width 35.00 RTL: "\x{640}\x{640}\x{644}\x{627}"
+            chunk 1 text run 1 at (256.00,275.00) startOffset 0 endOffset 3 width 21.00: "ff\x{30C}"
+        LayoutSVGText {text} at (350,243) size 76x40 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (350,243) size 76x40
+            chunk 1 text run 1 at (350.00,275.00) startOffset 0 endOffset 3 width 19.00: "ff\x{30C}"
+            chunk 1 text run 1 at (369.00,275.00) startOffset 0 endOffset 4 width 35.00 RTL: "\x{640}\x{640}\x{644}\x{627}"
+            chunk 1 text run 1 at (404.00,275.00) startOffset 0 endOffset 3 width 19.00: "ff\x{30C}"
+        LayoutSVGText {text} at (45,311) size 46x49 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (45,311) size 46x49
             chunk 1 text run 1 at (50.00,350.00) startOffset 0 endOffset 1 width 0.00: "\x{30C}"
             chunk 1 text run 1 at (55.00,350.00) startOffset 0 endOffset 1 width 26.00 RTL: "\x{FDB0}"
             chunk 1 text run 1 at (81.00,350.00) startOffset 0 endOffset 2 width 9.00: "i\x{333}"
-        LayoutSVGText {text} at (200,318) size 44.78x40 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (200,318) size 44.78x40
+        LayoutSVGText {text} at (200,318) size 45x40 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (200,318) size 45x40
             chunk 1 text run 1 at (200.00,350.00) startOffset 0 endOffset 2 width 9.00: ".\x{30C}"
             chunk 1 text run 1 at (209.00,350.00) startOffset 0 endOffset 1 width 26.00 RTL: "\x{FDB0}"
             chunk 1 text run 1 at (235.00,350.00) startOffset 0 endOffset 2 width 9.00: "i\x{333}"
-        LayoutSVGText {text} at (350,318) size 46.02x40.06 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (350,318) size 46.02x40.06
+        LayoutSVGText {text} at (350,318) size 46x40 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (350,318) size 46x40
             chunk 1 text run 1 at (350.00,350.00) startOffset 0 endOffset 2 width 10.00: ".\x{30C}"
             chunk 1 text run 1 at (360.00,350.00) startOffset 0 endOffset 1 width 26.00 RTL: "\x{FDB0}"
             chunk 1 text run 1 at (386.00,350.00) startOffset 0 endOffset 2 width 7.00: "i\x{333}"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/lengthAdjust-text-metrics-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/lengthAdjust-text-metrics-expected.txt
index bbbbebd6..c062af5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/lengthAdjust-text-metrics-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/lengthAdjust-text-metrics-expected.txt
@@ -14,34 +14,34 @@
 PASS lengthToString(svgText.getComputedTextLength()) is "200.0"
 
 Test getSubStringLength() API
-FAIL lengthToString(svgText.getSubStringLength(0, 1)) should be 61.5. Was 53.2.
-FAIL lengthToString(svgText.getSubStringLength(0, 2)) should be 117.9. Was 113.0.
-FAIL lengthToString(svgText.getSubStringLength(0, 3)) should be 169.2. Was 167.4.
+FAIL lengthToString(svgText.getSubStringLength(0, 1)) should be 61.5. Was 54.1.
+FAIL lengthToString(svgText.getSubStringLength(0, 2)) should be 117.9. Was 113.5.
+FAIL lengthToString(svgText.getSubStringLength(0, 3)) should be 169.2. Was 167.6.
 PASS lengthToString(svgText.getSubStringLength(0, 4)) is "200.0"
-FAIL lengthToString(svgText.getSubStringLength(1, 1)) should be 56.4. Was 59.8.
-FAIL lengthToString(svgText.getSubStringLength(1, 2)) should be 107.7. Was 114.2.
-FAIL lengthToString(svgText.getSubStringLength(1, 3)) should be 138.5. Was 146.8.
-FAIL lengthToString(svgText.getSubStringLength(2, 1)) should be 51.3. Was 54.4.
-FAIL lengthToString(svgText.getSubStringLength(2, 2)) should be 82.1. Was 87.0.
-FAIL lengthToString(svgText.getSubStringLength(3, 1)) should be 30.8. Was 32.6.
+FAIL lengthToString(svgText.getSubStringLength(1, 1)) should be 56.4. Was 59.5.
+FAIL lengthToString(svgText.getSubStringLength(1, 2)) should be 107.7. Was 113.5.
+FAIL lengthToString(svgText.getSubStringLength(1, 3)) should be 138.5. Was 145.9.
+FAIL lengthToString(svgText.getSubStringLength(2, 1)) should be 51.3. Was 54.1.
+FAIL lengthToString(svgText.getSubStringLength(2, 2)) should be 82.1. Was 86.5.
+FAIL lengthToString(svgText.getSubStringLength(3, 1)) should be 30.8. Was 32.4.
 
 Test getStartPositionOfChar() API
 PASS pointToString(svgText.getStartPositionOfChar(0)) is "(10.0,20.0)"
-FAIL pointToString(svgText.getStartPositionOfChar(1)) should be (71.5,20.0). Was (63.2,20.0).
-FAIL pointToString(svgText.getStartPositionOfChar(2)) should be (127.9,20.0). Was (123.0,20.0).
-FAIL pointToString(svgText.getStartPositionOfChar(3)) should be (179.2,20.0). Was (177.4,20.0).
+FAIL pointToString(svgText.getStartPositionOfChar(1)) should be (71.5,20.0). Was (64.1,20.0).
+FAIL pointToString(svgText.getStartPositionOfChar(2)) should be (127.9,20.0). Was (123.5,20.0).
+FAIL pointToString(svgText.getStartPositionOfChar(3)) should be (179.2,20.0). Was (177.6,20.0).
 
 Test getEndPositionOfChar() API
-FAIL pointToString(svgText.getEndPositionOfChar(0)) should be (71.5,20.0). Was (63.2,20.0).
-FAIL pointToString(svgText.getEndPositionOfChar(1)) should be (127.9,20.0). Was (123.0,20.0).
-FAIL pointToString(svgText.getEndPositionOfChar(2)) should be (179.2,20.0). Was (177.4,20.0).
+FAIL pointToString(svgText.getEndPositionOfChar(0)) should be (71.5,20.0). Was (64.1,20.0).
+FAIL pointToString(svgText.getEndPositionOfChar(1)) should be (127.9,20.0). Was (123.5,20.0).
+FAIL pointToString(svgText.getEndPositionOfChar(2)) should be (179.2,20.0). Was (177.6,20.0).
 PASS pointToString(svgText.getEndPositionOfChar(3)) is "(210.0,20.0)"
 
 Test getExtentOfChar() API
-FAIL rectToString(svgText.getExtentOfChar(0)) should be (10.0,1.9)-(61.5x22.3). Was (10.0,1.0)-(53.2x23.0).
-FAIL rectToString(svgText.getExtentOfChar(1)) should be (71.5,1.9)-(56.4x22.3). Was (63.2,1.0)-(59.8x23.0).
-FAIL rectToString(svgText.getExtentOfChar(2)) should be (127.9,1.9)-(51.3x22.3). Was (123.0,1.0)-(54.4x23.0).
-FAIL rectToString(svgText.getExtentOfChar(3)) should be (179.2,1.9)-(30.8x22.3). Was (177.4,1.0)-(32.6x23.0).
+FAIL rectToString(svgText.getExtentOfChar(0)) should be (10.0,1.9)-(61.5x22.3). Was (10.0,1.0)-(54.1x23.0).
+FAIL rectToString(svgText.getExtentOfChar(1)) should be (71.5,1.9)-(56.4x22.3). Was (64.1,1.0)-(59.5x23.0).
+FAIL rectToString(svgText.getExtentOfChar(2)) should be (127.9,1.9)-(51.3x22.3). Was (123.5,1.0)-(54.1x23.0).
+FAIL rectToString(svgText.getExtentOfChar(3)) should be (179.2,1.9)-(30.8x22.3). Was (177.6,1.0)-(32.4x23.0).
 
 Test getRotationOfChar() API
 PASS svgText.getRotationOfChar(0).toFixed(1) is "0.0"
@@ -50,7 +50,7 @@
 PASS svgText.getRotationOfChar(3).toFixed(1) is "0.0"
 
 Test getCharNumAtPosition() API
-> Testing point=(0.0,10.0)
+> Testing point=(-0.0,10.0)
 PASS svgText.getCharNumAtPosition(point) is -1
 > Testing point=(9.9,10.0)
 PASS svgText.getCharNumAtPosition(point) is -1
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/ligature-queries-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/ligature-queries-expected.png
index 436ce99..023e7c8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/ligature-queries-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/ligature-queries-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/ligature-queries-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/ligature-queries-expected.txt
index 2ce9623..f3c1d20 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/ligature-queries-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/ligature-queries-expected.txt
@@ -52,9 +52,9 @@
             LayoutSVGInlineText {#text} at (234.50,60) size 10x12
               chunk 1 (middle anchor) text run 1 at (234.50,70.00) startOffset 0 endOffset 2 width 10.00: "10"
           LayoutSVGRect {rect} at (252,-6) size 14x71 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=252.00] [y=-6.00] [width=14.00] [height=71.00]
-          LayoutSVGText {text} at (254.17,60) size 9.63x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (254.17,60) size 9.63x12
-              chunk 1 (middle anchor) text run 1 at (254.19,70.00) startOffset 0 endOffset 2 width 9.63: "11"
+          LayoutSVGText {text} at (254,60) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (254,60) size 10x12
+              chunk 1 (middle anchor) text run 1 at (254.00,70.00) startOffset 0 endOffset 2 width 10.00: "11"
           LayoutSVGRect {rect} at (266,-6) size 15x71 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=266.00] [y=-6.00] [width=15.00] [height=71.00]
           LayoutSVGText {text} at (268.50,60) size 10x12 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (268.50,60) size 10x12
@@ -156,65 +156,65 @@
             LayoutSVGInlineText {#text} at (210.50,157) size 10x12
               chunk 1 (middle anchor) text run 1 at (210.50,167.00) startOffset 0 endOffset 2 width 10.00: "10"
           LayoutSVGRect {rect} at (223,105) size 12x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=223.00] [y=105.00] [width=12.00] [height=57.00]
-          LayoutSVGText {text} at (224.17,157) size 9.63x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (224.17,157) size 9.63x12
-              chunk 1 (middle anchor) text run 1 at (224.19,167.00) startOffset 0 endOffset 2 width 9.63: "11"
+          LayoutSVGText {text} at (224,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (224,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (224.00,167.00) startOffset 0 endOffset 2 width 10.00: "11"
           LayoutSVGRect {rect} at (235,105) size 13x57 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=235.00] [y=105.00] [width=13.00] [height=57.00]
           LayoutSVGText {text} at (236.50,157) size 10x12 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (236.50,157) size 10x12
               chunk 1 (middle anchor) text run 1 at (236.50,167.00) startOffset 0 endOffset 2 width 10.00: "12"
-          LayoutSVGRect {rect} at (248,105) size 14.10x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=248.00] [y=105.00] [width=14.10] [height=57.00]
-          LayoutSVGText {text} at (250.05,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (250.05,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (250.05,167.00) startOffset 0 endOffset 2 width 10.00: "13"
-          LayoutSVGRect {rect} at (262.10,105) size 15x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=262.10] [y=105.00] [width=15.00] [height=57.00]
-          LayoutSVGText {text} at (264.59,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (264.59,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (264.60,167.00) startOffset 0 endOffset 2 width 10.00: "14"
-          LayoutSVGRect {rect} at (277.10,105) size 12x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=277.10] [y=105.00] [width=12.00] [height=57.00]
-          LayoutSVGText {text} at (278.09,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (278.09,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (278.10,167.00) startOffset 0 endOffset 2 width 10.00: "15"
-          LayoutSVGRect {rect} at (289.10,105) size 13x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=289.10] [y=105.00] [width=13.00] [height=57.00]
-          LayoutSVGText {text} at (290.59,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (290.59,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (290.60,167.00) startOffset 0 endOffset 2 width 10.00: "16"
-          LayoutSVGRect {rect} at (302.10,105) size 22x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=302.10] [y=105.00] [width=22.00] [height=57.00]
-          LayoutSVGText {text} at (308.09,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (308.09,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (308.10,167.00) startOffset 0 endOffset 2 width 10.00: "17"
-          LayoutSVGRect {rect} at (324.10,105) size 24x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=324.10] [y=105.00] [width=24.00] [height=57.00]
-          LayoutSVGText {text} at (331.09,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (331.09,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (331.10,167.00) startOffset 0 endOffset 2 width 10.00: "18"
-          LayoutSVGRect {rect} at (348.10,105) size 22x57 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=348.10] [y=105.00] [width=22.00] [height=57.00]
-          LayoutSVGText {text} at (354.09,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (354.09,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (354.10,167.00) startOffset 0 endOffset 2 width 10.00: "19"
-          LayoutSVGRect {rect} at (370.10,105) size 14.10x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=370.10] [y=105.00] [width=14.10] [height=57.00]
-          LayoutSVGText {text} at (372.14,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (372.14,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (372.15,167.00) startOffset 0 endOffset 2 width 10.00: "20"
-          LayoutSVGRect {rect} at (384.19,105) size 15x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=384.19] [y=105.00] [width=15.00] [height=57.00]
-          LayoutSVGText {text} at (386.69,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (386.69,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (386.69,167.00) startOffset 0 endOffset 2 width 10.00: "21"
-          LayoutSVGRect {rect} at (399.19,105) size 12x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=399.19] [y=105.00] [width=12.00] [height=57.00]
-          LayoutSVGText {text} at (400.19,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (400.19,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (400.19,167.00) startOffset 0 endOffset 2 width 10.00: "22"
-          LayoutSVGRect {rect} at (411.19,105) size 25x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=411.19] [y=105.00] [width=25.00] [height=57.00]
-          LayoutSVGText {text} at (418.69,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (418.69,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (418.69,167.00) startOffset 0 endOffset 2 width 10.00: "23"
-          LayoutSVGRect {rect} at (436.19,105) size 22x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=436.19] [y=105.00] [width=22.00] [height=57.00]
-          LayoutSVGText {text} at (442.19,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (442.19,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (442.19,167.00) startOffset 0 endOffset 2 width 10.00: "24"
-          LayoutSVGRect {rect} at (458.19,105) size 15x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=458.19] [y=105.00] [width=15.00] [height=57.00]
-          LayoutSVGText {text} at (460.69,157) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (460.69,157) size 10x12
-              chunk 1 (middle anchor) text run 1 at (460.69,167.00) startOffset 0 endOffset 2 width 10.00: "25"
+          LayoutSVGRect {rect} at (248,105) size 14x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=248.00] [y=105.00] [width=14.00] [height=57.00]
+          LayoutSVGText {text} at (250,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (250,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (250.00,167.00) startOffset 0 endOffset 2 width 10.00: "13"
+          LayoutSVGRect {rect} at (262,105) size 15x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=262.00] [y=105.00] [width=15.00] [height=57.00]
+          LayoutSVGText {text} at (264.50,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (264.50,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (264.50,167.00) startOffset 0 endOffset 2 width 10.00: "14"
+          LayoutSVGRect {rect} at (277,105) size 12x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=277.00] [y=105.00] [width=12.00] [height=57.00]
+          LayoutSVGText {text} at (278,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (278,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (278.00,167.00) startOffset 0 endOffset 2 width 10.00: "15"
+          LayoutSVGRect {rect} at (289,105) size 13x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=289.00] [y=105.00] [width=13.00] [height=57.00]
+          LayoutSVGText {text} at (290.50,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (290.50,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (290.50,167.00) startOffset 0 endOffset 2 width 10.00: "16"
+          LayoutSVGRect {rect} at (302,105) size 22x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=302.00] [y=105.00] [width=22.00] [height=57.00]
+          LayoutSVGText {text} at (308,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (308,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (308.00,167.00) startOffset 0 endOffset 2 width 10.00: "17"
+          LayoutSVGRect {rect} at (324,105) size 24x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=324.00] [y=105.00] [width=24.00] [height=57.00]
+          LayoutSVGText {text} at (331,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (331,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (331.00,167.00) startOffset 0 endOffset 2 width 10.00: "18"
+          LayoutSVGRect {rect} at (348,105) size 22x57 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=348.00] [y=105.00] [width=22.00] [height=57.00]
+          LayoutSVGText {text} at (354,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (354,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (354.00,167.00) startOffset 0 endOffset 2 width 10.00: "19"
+          LayoutSVGRect {rect} at (370,105) size 14x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=370.00] [y=105.00] [width=14.00] [height=57.00]
+          LayoutSVGText {text} at (372,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (372,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (372.00,167.00) startOffset 0 endOffset 2 width 10.00: "20"
+          LayoutSVGRect {rect} at (384,105) size 15x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=384.00] [y=105.00] [width=15.00] [height=57.00]
+          LayoutSVGText {text} at (386.50,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (386.50,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (386.50,167.00) startOffset 0 endOffset 2 width 10.00: "21"
+          LayoutSVGRect {rect} at (399,105) size 12x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=399.00] [y=105.00] [width=12.00] [height=57.00]
+          LayoutSVGText {text} at (400,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (400,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (400.00,167.00) startOffset 0 endOffset 2 width 10.00: "22"
+          LayoutSVGRect {rect} at (411,105) size 25x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=411.00] [y=105.00] [width=25.00] [height=57.00]
+          LayoutSVGText {text} at (418.50,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (418.50,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (418.50,167.00) startOffset 0 endOffset 2 width 10.00: "23"
+          LayoutSVGRect {rect} at (436,105) size 22x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=436.00] [y=105.00] [width=22.00] [height=57.00]
+          LayoutSVGText {text} at (442,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (442,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (442.00,167.00) startOffset 0 endOffset 2 width 10.00: "24"
+          LayoutSVGRect {rect} at (458,105) size 15x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=458.00] [y=105.00] [width=15.00] [height=57.00]
+          LayoutSVGText {text} at (460.50,157) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (460.50,157) size 10x12
+              chunk 1 (middle anchor) text run 1 at (460.50,167.00) startOffset 0 endOffset 2 width 10.00: "25"
           LayoutSVGRect {rect} at (25,204) size 28x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=25.00] [y=204.00] [width=28.00] [height=57.00]
           LayoutSVGText {text} at (36.50,256) size 5x12 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (36.50,256) size 5x12
@@ -260,65 +260,65 @@
             LayoutSVGInlineText {#text} at (236,256) size 10x12
               chunk 1 (middle anchor) text run 1 at (236.00,266.00) startOffset 0 endOffset 2 width 10.00: "10"
           LayoutSVGRect {rect} at (248,204) size 12x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=248.00] [y=204.00] [width=12.00] [height=57.00]
-          LayoutSVGText {text} at (249.17,256) size 9.63x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (249.17,256) size 9.63x12
-              chunk 1 (middle anchor) text run 1 at (249.19,266.00) startOffset 0 endOffset 2 width 9.63: "11"
+          LayoutSVGText {text} at (249,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (249,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (249.00,266.00) startOffset 0 endOffset 2 width 10.00: "11"
           LayoutSVGRect {rect} at (260,204) size 14x57 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=260.00] [y=204.00] [width=14.00] [height=57.00]
           LayoutSVGText {text} at (262,256) size 10x12 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (262,256) size 10x12
               chunk 1 (middle anchor) text run 1 at (262.00,266.00) startOffset 0 endOffset 2 width 10.00: "12"
-          LayoutSVGRect {rect} at (274,204) size 13.10x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=274.00] [y=204.00] [width=13.10] [height=57.00]
-          LayoutSVGText {text} at (275.55,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (275.55,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (275.55,266.00) startOffset 0 endOffset 2 width 10.00: "13"
-          LayoutSVGRect {rect} at (287.10,204) size 14x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=287.10] [y=204.00] [width=14.00] [height=57.00]
-          LayoutSVGText {text} at (289.09,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (289.09,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (289.10,266.00) startOffset 0 endOffset 2 width 10.00: "14"
-          LayoutSVGRect {rect} at (301.10,204) size 12x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=301.10] [y=204.00] [width=12.00] [height=57.00]
-          LayoutSVGText {text} at (302.09,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (302.09,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (302.10,266.00) startOffset 0 endOffset 2 width 10.00: "15"
-          LayoutSVGRect {rect} at (313.10,204) size 14x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=313.10] [y=204.00] [width=14.00] [height=57.00]
-          LayoutSVGText {text} at (315.09,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (315.09,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (315.10,266.00) startOffset 0 endOffset 2 width 10.00: "16"
-          LayoutSVGRect {rect} at (327.10,204) size 28x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=327.10] [y=204.00] [width=28.00] [height=57.00]
-          LayoutSVGText {text} at (336.09,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (336.09,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (336.10,266.00) startOffset 0 endOffset 2 width 10.00: "17"
-          LayoutSVGRect {rect} at (355.10,204) size 28x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=355.10] [y=204.00] [width=28.00] [height=57.00]
-          LayoutSVGText {text} at (364.09,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (364.09,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (364.10,266.00) startOffset 0 endOffset 2 width 10.00: "18"
-          LayoutSVGRect {rect} at (383.10,204) size 25x57 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=383.10] [y=204.00] [width=25.00] [height=57.00]
-          LayoutSVGText {text} at (390.59,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (390.59,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (390.60,266.00) startOffset 0 endOffset 2 width 10.00: "19"
-          LayoutSVGRect {rect} at (408.10,204) size 13.10x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=408.10] [y=204.00] [width=13.10] [height=57.00]
-          LayoutSVGText {text} at (409.64,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (409.64,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (409.65,266.00) startOffset 0 endOffset 2 width 10.00: "20"
-          LayoutSVGRect {rect} at (421.19,204) size 14x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=421.19] [y=204.00] [width=14.00] [height=57.00]
-          LayoutSVGText {text} at (423.19,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (423.19,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (423.19,266.00) startOffset 0 endOffset 2 width 10.00: "21"
-          LayoutSVGRect {rect} at (435.19,204) size 12x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=435.19] [y=204.00] [width=12.00] [height=57.00]
-          LayoutSVGText {text} at (436.19,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (436.19,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (436.19,266.00) startOffset 0 endOffset 2 width 10.00: "22"
-          LayoutSVGRect {rect} at (447.19,204) size 28x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=447.19] [y=204.00] [width=28.00] [height=57.00]
-          LayoutSVGText {text} at (456.19,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (456.19,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (456.19,266.00) startOffset 0 endOffset 2 width 10.00: "23"
-          LayoutSVGRect {rect} at (475.19,204) size 28x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=475.19] [y=204.00] [width=28.00] [height=57.00]
-          LayoutSVGText {text} at (484.19,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (484.19,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (484.19,266.00) startOffset 0 endOffset 2 width 10.00: "24"
-          LayoutSVGRect {rect} at (503.19,204) size 14x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=503.19] [y=204.00] [width=14.00] [height=57.00]
-          LayoutSVGText {text} at (505.19,256) size 10x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (505.19,256) size 10x12
-              chunk 1 (middle anchor) text run 1 at (505.19,266.00) startOffset 0 endOffset 2 width 10.00: "25"
+          LayoutSVGRect {rect} at (274,204) size 13x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=274.00] [y=204.00] [width=13.00] [height=57.00]
+          LayoutSVGText {text} at (275.50,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (275.50,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (275.50,266.00) startOffset 0 endOffset 2 width 10.00: "13"
+          LayoutSVGRect {rect} at (287,204) size 14x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=287.00] [y=204.00] [width=14.00] [height=57.00]
+          LayoutSVGText {text} at (289,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (289,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (289.00,266.00) startOffset 0 endOffset 2 width 10.00: "14"
+          LayoutSVGRect {rect} at (301,204) size 12x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=301.00] [y=204.00] [width=12.00] [height=57.00]
+          LayoutSVGText {text} at (302,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (302,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (302.00,266.00) startOffset 0 endOffset 2 width 10.00: "15"
+          LayoutSVGRect {rect} at (313,204) size 14x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=313.00] [y=204.00] [width=14.00] [height=57.00]
+          LayoutSVGText {text} at (315,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (315,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (315.00,266.00) startOffset 0 endOffset 2 width 10.00: "16"
+          LayoutSVGRect {rect} at (327,204) size 28x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=327.00] [y=204.00] [width=28.00] [height=57.00]
+          LayoutSVGText {text} at (336,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (336,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (336.00,266.00) startOffset 0 endOffset 2 width 10.00: "17"
+          LayoutSVGRect {rect} at (355,204) size 28x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=355.00] [y=204.00] [width=28.00] [height=57.00]
+          LayoutSVGText {text} at (364,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (364,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (364.00,266.00) startOffset 0 endOffset 2 width 10.00: "18"
+          LayoutSVGRect {rect} at (383,204) size 25x57 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=383.00] [y=204.00] [width=25.00] [height=57.00]
+          LayoutSVGText {text} at (390.50,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (390.50,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (390.50,266.00) startOffset 0 endOffset 2 width 10.00: "19"
+          LayoutSVGRect {rect} at (408,204) size 13x57 [fill={[type=SOLID] [color=#EE82EE] [opacity=0.50]}] [x=408.00] [y=204.00] [width=13.00] [height=57.00]
+          LayoutSVGText {text} at (409.50,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (409.50,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (409.50,266.00) startOffset 0 endOffset 2 width 10.00: "20"
+          LayoutSVGRect {rect} at (421,204) size 14x57 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=421.00] [y=204.00] [width=14.00] [height=57.00]
+          LayoutSVGText {text} at (423,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (423,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (423.00,266.00) startOffset 0 endOffset 2 width 10.00: "21"
+          LayoutSVGRect {rect} at (435,204) size 12x57 [fill={[type=SOLID] [color=#FFA500] [opacity=0.50]}] [x=435.00] [y=204.00] [width=12.00] [height=57.00]
+          LayoutSVGText {text} at (436,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (436,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (436.00,266.00) startOffset 0 endOffset 2 width 10.00: "22"
+          LayoutSVGRect {rect} at (447,204) size 28x57 [fill={[type=SOLID] [color=#FFFF00] [opacity=0.50]}] [x=447.00] [y=204.00] [width=28.00] [height=57.00]
+          LayoutSVGText {text} at (456,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (456,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (456.00,266.00) startOffset 0 endOffset 2 width 10.00: "23"
+          LayoutSVGRect {rect} at (475,204) size 28x57 [fill={[type=SOLID] [color=#008000] [opacity=0.50]}] [x=475.00] [y=204.00] [width=28.00] [height=57.00]
+          LayoutSVGText {text} at (484,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (484,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (484.00,266.00) startOffset 0 endOffset 2 width 10.00: "24"
+          LayoutSVGRect {rect} at (503,204) size 14x57 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=503.00] [y=204.00] [width=14.00] [height=57.00]
+          LayoutSVGText {text} at (505,256) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (505,256) size 10x12
+              chunk 1 (middle anchor) text run 1 at (505.00,266.00) startOffset 0 endOffset 2 width 10.00: "25"
           LayoutSVGRect {rect} at (46.06,341.87) size 30.23x72.67 [fill={[type=SOLID] [color=#FF0000] [opacity=0.50]}] [x=46.06] [y=341.87] [width=30.23] [height=72.67]
           LayoutSVGText {text} at (58.67,409.53) size 5x12 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (58.67,409.53) size 5x12
@@ -364,9 +364,9 @@
             LayoutSVGInlineText {#text} at (254.81,339.94) size 10x12
               chunk 1 (middle anchor) text run 1 at (254.81,349.94) startOffset 0 endOffset 2 width 10.00: "10"
           LayoutSVGRect {rect} at (275.37,268.10) size 16.46x71.44 [fill={[type=SOLID] [color=#0000FF] [opacity=0.50]}] [x=275.37] [y=268.10] [width=16.46] [height=71.44]
-          LayoutSVGText {text} at (278.78,334.53) size 9.63x12 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (278.78,334.53) size 9.63x12
-              chunk 1 (middle anchor) text run 1 at (278.79,344.55) startOffset 0 endOffset 2 width 9.63: "11"
+          LayoutSVGText {text} at (278.59,334.53) size 10x12 contains 1 chunk(s)
+            LayoutSVGInlineText {#text} at (278.59,334.53) size 10x12
+              chunk 1 (middle anchor) text run 1 at (278.60,344.55) startOffset 0 endOffset 2 width 10.00: "11"
           LayoutSVGRect {rect} at (288.77,268.43) size 37x74.27 [fill={[type=SOLID] [color=#4B0082] [opacity=0.50]}] [x=288.77] [y=268.43] [width=36.99] [height=74.27]
           LayoutSVGText {text} at (302.27,337.70) size 10x12 contains 1 chunk(s)
             LayoutSVGInlineText {#text} at (302.27,337.70) size 10x12
@@ -454,12 +454,12 @@
         LayoutSVGText {text} at (25,-6) size 562x71 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,-6) size 562x71
             chunk 1 text run 1 at (25.00,50.00) startOffset 0 endOffset 26 width 562.00: "\x{F6}h \x{443}\x{30C}eah! fi ffi abcffidef"
-        LayoutSVGText {text} at (25,105) size 454.19x57 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25,105) size 454.19x57
-            chunk 1 text run 1 at (25.00,150.00) startOffset 0 endOffset 26 width 448.19: "\x{F6}h \x{443}\x{30C}eah! fi ffi abcffidef"
-        LayoutSVGText {text} at (25,204) size 493.19x57 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25,204) size 493.19x57
-            chunk 1 text run 1 at (25.00,250.00) startOffset 0 endOffset 26 width 492.19: "\x{F6}h \x{443}\x{30C}eah! fi ffi abcffidef"
+        LayoutSVGText {text} at (25,105) size 454x57 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25,105) size 454x57
+            chunk 1 text run 1 at (25.00,150.00) startOffset 0 endOffset 26 width 448.00: "\x{F6}h \x{443}\x{30C}eah! fi ffi abcffidef"
+        LayoutSVGText {text} at (25,204) size 493x57 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25,204) size 493x57
+            chunk 1 text run 1 at (25.00,250.00) startOffset 0 endOffset 26 width 492.00: "\x{F6}h \x{443}\x{30C}eah! fi ffi abcffidef"
         LayoutSVGContainer {use} at (25,324.26) size 475x125.74
           LayoutSVGPath {path} at (25,324.26) size 475x125.74 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#00000000]}] [data="M 25 400 C 300 400 200 200 500 450"]
         LayoutSVGText {text} at (46.05,268.09) size 485.56x190.20 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-1-expected.png
index c82a519..70df77cd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-1-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-1-expected.txt
index cb24f2ea..9a6ca74 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-1-expected.txt
@@ -2,25 +2,25 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (10,0.80) size 12.36x11.60
+    LayoutSVGContainer {g} at (10,0.80) size 12.29x11.60
       LayoutSVGPath {svg:line} at (10,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=0.80] [x2=10.00] [y2=12.40]
-      LayoutSVGPath {svg:line} at (22.36,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=22.36] [y1=0.80] [x2=22.36] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (10,0.80) size 12.36x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=12.36] [height=11.40]
-    LayoutSVGText {text} at (10,0.80) size 49.98x11.39 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,0.80) size 49.98x11.39
+      LayoutSVGPath {svg:line} at (22.29,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=22.29] [y1=0.80] [x2=22.29] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (10,0.80) size 12.29x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=12.29] [height=11.40]
+    LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (13.53,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (17.56,10.00) startOffset 2 endOffset 3 width 4.80: "x"
-        chunk 1 text run 4 at (20.80,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (22.04,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (23.27,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (24.51,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (28.55,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (29.78,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (34.82,10.00) startOffset 9 endOffset 10 width 5.60: "q"
-        chunk 1 text run 11 at (38.85,10.00) startOffset 10 endOffset 11 width 5.60: "u"
-        chunk 1 text run 12 at (42.89,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (46.93,10.00) startOffset 12 endOffset 13 width 5.60: "e"
+        chunk 1 text run 2 at (13.44,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (17.49,10.00) startOffset 2 endOffset 3 width 4.80: "x"
+        chunk 1 text run 4 at (20.73,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (21.97,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (23.21,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (24.46,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (28.50,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (29.74,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (34.79,10.00) startOffset 9 endOffset 10 width 5.60: "q"
+        chunk 1 text run 11 at (38.83,10.00) startOffset 10 endOffset 11 width 5.60: "u"
+        chunk 1 text run 12 at (42.87,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (46.91,10.00) startOffset 12 endOffset 13 width 5.60: "e"
         chunk 1 text run 14 at (50.96,10.00) startOffset 13 endOffset 14 width 5.00: "z"
         chunk 1 text run 15 at (54.40,10.00) startOffset 14 endOffset 15 width 5.60: "e"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-2-expected.png
index aaa2dd2..4bb551a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-2-expected.txt
index 04a905b..5bf2d8d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-2-expected.txt
@@ -2,25 +2,25 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (29.78,0.80) size 10.64x11.60
-      LayoutSVGPath {svg:line} at (29.78,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=29.78] [y1=0.80] [x2=29.78] [y2=12.40]
-      LayoutSVGPath {svg:line} at (40.42,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=40.42] [y1=0.80] [x2=40.42] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (29.78,0.80) size 10.64x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=29.78] [y=0.80] [width=10.64] [height=11.40]
-    LayoutSVGText {text} at (10,0.80) size 49.98x11.39 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,0.80) size 49.98x11.39
+    LayoutSVGContainer {g} at (29.74,0.80) size 10.64x11.60
+      LayoutSVGPath {svg:line} at (29.74,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=29.74] [y1=0.80] [x2=29.74] [y2=12.40]
+      LayoutSVGPath {svg:line} at (40.39,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=40.39] [y1=0.80] [x2=40.39] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (29.74,0.80) size 10.64x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=29.74] [y=0.80] [width=10.64] [height=11.40]
+    LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (13.53,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (17.56,10.00) startOffset 2 endOffset 3 width 4.80: "x"
-        chunk 1 text run 4 at (20.80,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (22.04,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (23.27,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (24.51,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (28.55,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (29.78,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (34.82,10.00) startOffset 9 endOffset 10 width 5.60: "q"
-        chunk 1 text run 11 at (38.85,10.00) startOffset 10 endOffset 11 width 5.60: "u"
-        chunk 1 text run 12 at (42.89,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (46.93,10.00) startOffset 12 endOffset 13 width 5.60: "e"
+        chunk 1 text run 2 at (13.44,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (17.49,10.00) startOffset 2 endOffset 3 width 4.80: "x"
+        chunk 1 text run 4 at (20.73,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (21.97,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (23.21,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (24.46,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (28.50,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (29.74,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (34.79,10.00) startOffset 9 endOffset 10 width 5.60: "q"
+        chunk 1 text run 11 at (38.83,10.00) startOffset 10 endOffset 11 width 5.60: "u"
+        chunk 1 text run 12 at (42.87,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (46.91,10.00) startOffset 12 endOffset 13 width 5.60: "e"
         chunk 1 text run 14 at (50.96,10.00) startOffset 13 endOffset 14 width 5.00: "z"
         chunk 1 text run 15 at (54.40,10.00) startOffset 14 endOffset 15 width 5.60: "e"
 selection start: position 8 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-3-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-3-expected.png
index 4fb39f0..3d8edd3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-3-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-3-expected.txt
index 8a964350..cd6f47c7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-3-expected.txt
@@ -2,25 +2,25 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (29.78,0.80) size 14.67x11.60
-      LayoutSVGPath {svg:line} at (29.78,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=29.78] [y1=0.80] [x2=29.78] [y2=12.40]
-      LayoutSVGPath {svg:line} at (44.45,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=44.45] [y1=0.80] [x2=44.45] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (29.78,0.80) size 14.67x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=29.78] [y=0.80] [width=14.67] [height=11.40]
-    LayoutSVGText {text} at (10,0.80) size 49.98x11.39 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,0.80) size 49.98x11.39
+    LayoutSVGContainer {g} at (29.74,0.80) size 14.69x11.60
+      LayoutSVGPath {svg:line} at (29.74,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=29.74] [y1=0.80] [x2=29.74] [y2=12.40]
+      LayoutSVGPath {svg:line} at (44.43,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=44.43] [y1=0.80] [x2=44.43] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (29.74,0.80) size 14.69x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=29.74] [y=0.80] [width=14.69] [height=11.40]
+    LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (13.53,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (17.56,10.00) startOffset 2 endOffset 3 width 4.80: "x"
-        chunk 1 text run 4 at (20.80,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (22.04,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (23.27,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (24.51,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (28.55,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (29.78,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (34.82,10.00) startOffset 9 endOffset 10 width 5.60: "q"
-        chunk 1 text run 11 at (38.85,10.00) startOffset 10 endOffset 11 width 5.60: "u"
-        chunk 1 text run 12 at (42.89,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (46.93,10.00) startOffset 12 endOffset 13 width 5.60: "e"
+        chunk 1 text run 2 at (13.44,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (17.49,10.00) startOffset 2 endOffset 3 width 4.80: "x"
+        chunk 1 text run 4 at (20.73,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (21.97,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (23.21,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (24.46,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (28.50,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (29.74,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (34.79,10.00) startOffset 9 endOffset 10 width 5.60: "q"
+        chunk 1 text run 11 at (38.83,10.00) startOffset 10 endOffset 11 width 5.60: "u"
+        chunk 1 text run 12 at (42.87,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (46.91,10.00) startOffset 12 endOffset 13 width 5.60: "e"
         chunk 1 text run 14 at (50.96,10.00) startOffset 13 endOffset 14 width 5.00: "z"
         chunk 1 text run 15 at (54.40,10.00) startOffset 14 endOffset 15 width 5.60: "e"
 selection start: position 8 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-4-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-4-expected.png
index b4b21fa..1cb6bf6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-4-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-4-expected.txt
index 43732dd..189418b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-4-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-squeeze-4-expected.txt
@@ -6,21 +6,21 @@
       LayoutSVGPath {svg:line} at (10,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=0.80] [x2=10.00] [y2=12.40]
       LayoutSVGPath {svg:line} at (60,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=60.00] [y1=0.80] [x2=60.00] [y2=12.40]
       LayoutSVGRect {svg:rect} at (10,0.80) size 50x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=50.00] [height=11.40]
-    LayoutSVGText {text} at (10,0.80) size 49.98x11.39 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,0.80) size 49.98x11.39
+    LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (13.53,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (17.56,10.00) startOffset 2 endOffset 3 width 4.80: "x"
-        chunk 1 text run 4 at (20.80,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (22.04,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (23.27,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (24.51,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (28.55,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (29.78,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (34.82,10.00) startOffset 9 endOffset 10 width 5.60: "q"
-        chunk 1 text run 11 at (38.85,10.00) startOffset 10 endOffset 11 width 5.60: "u"
-        chunk 1 text run 12 at (42.89,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (46.93,10.00) startOffset 12 endOffset 13 width 5.60: "e"
+        chunk 1 text run 2 at (13.44,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (17.49,10.00) startOffset 2 endOffset 3 width 4.80: "x"
+        chunk 1 text run 4 at (20.73,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (21.97,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (23.21,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (24.46,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (28.50,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (29.74,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (34.79,10.00) startOffset 9 endOffset 10 width 5.60: "q"
+        chunk 1 text run 11 at (38.83,10.00) startOffset 10 endOffset 11 width 5.60: "u"
+        chunk 1 text run 12 at (42.87,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (46.91,10.00) startOffset 12 endOffset 13 width 5.60: "e"
         chunk 1 text run 14 at (50.96,10.00) startOffset 13 endOffset 14 width 5.00: "z"
         chunk 1 text run 15 at (54.40,10.00) startOffset 14 endOffset 15 width 5.60: "e"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-1-expected.png
index bd9783d..0de5bfd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-1-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-1-expected.txt
index 85a15b7..16fb23f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-1-expected.txt
@@ -2,25 +2,25 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (10,0.80) size 36.70x11.60
+    LayoutSVGContainer {g} at (10,0.80) size 36.63x11.60
       LayoutSVGPath {svg:line} at (10,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=0.80] [x2=10.00] [y2=12.40]
-      LayoutSVGPath {svg:line} at (46.70,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=46.70] [y1=0.80] [x2=46.70] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (10,0.80) size 36.70x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=36.70] [height=11.40]
+      LayoutSVGPath {svg:line} at (46.63,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=46.63] [y1=0.80] [x2=46.63] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (10,0.80) size 36.63x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=36.63] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 150x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 150x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (21.23,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (32.96,10.00) startOffset 2 endOffset 3 width 4.80: "x"
-        chunk 1 text run 4 at (43.90,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (52.84,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (61.77,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (70.71,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (82.45,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (91.38,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (104.12,10.00) startOffset 9 endOffset 10 width 2.80: "t"
-        chunk 1 text run 11 at (113.05,10.00) startOffset 10 endOffset 11 width 3.40: "r"
-        chunk 1 text run 12 at (122.59,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (134.33,10.00) startOffset 12 endOffset 13 width 2.80: "t"
+        chunk 1 text run 2 at (21.14,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (32.89,10.00) startOffset 2 endOffset 3 width 4.80: "x"
+        chunk 1 text run 4 at (43.83,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (52.77,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (61.71,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (70.66,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (82.40,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (91.34,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (104.09,10.00) startOffset 9 endOffset 10 width 2.80: "t"
+        chunk 1 text run 11 at (113.03,10.00) startOffset 10 endOffset 11 width 3.40: "r"
+        chunk 1 text run 12 at (122.57,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (134.31,10.00) startOffset 12 endOffset 13 width 2.80: "t"
         chunk 1 text run 14 at (143.26,10.00) startOffset 13 endOffset 14 width 5.00: "c"
         chunk 1 text run 15 at (154.40,10.00) startOffset 14 endOffset 15 width 5.60: "h"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-2-expected.png
index e5e721e..b76be67 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-2-expected.txt
index 01e5ad0..34d9a1f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-2-expected.txt
@@ -2,25 +2,25 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (61.77,0.80) size 14.54x11.60
-      LayoutSVGPath {svg:line} at (61.77,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=61.77] [y1=0.80] [x2=61.77] [y2=12.40]
-      LayoutSVGPath {svg:line} at (76.31,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=76.31] [y1=0.80] [x2=76.31] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (61.77,0.80) size 14.54x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=61.77] [y=0.80] [width=14.54] [height=11.40]
+    LayoutSVGContainer {g} at (61.71,0.80) size 14.54x11.60
+      LayoutSVGPath {svg:line} at (61.71,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=61.71] [y1=0.80] [x2=61.71] [y2=12.40]
+      LayoutSVGPath {svg:line} at (76.26,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=76.26] [y1=0.80] [x2=76.26] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (61.71,0.80) size 14.54x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=61.71] [y=0.80] [width=14.54] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 150x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 150x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (21.23,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (32.96,10.00) startOffset 2 endOffset 3 width 4.80: "x"
-        chunk 1 text run 4 at (43.90,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (52.84,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (61.77,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (70.71,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (82.45,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (91.38,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (104.12,10.00) startOffset 9 endOffset 10 width 2.80: "t"
-        chunk 1 text run 11 at (113.05,10.00) startOffset 10 endOffset 11 width 3.40: "r"
-        chunk 1 text run 12 at (122.59,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (134.33,10.00) startOffset 12 endOffset 13 width 2.80: "t"
+        chunk 1 text run 2 at (21.14,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (32.89,10.00) startOffset 2 endOffset 3 width 4.80: "x"
+        chunk 1 text run 4 at (43.83,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (52.77,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (61.71,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (70.66,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (82.40,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (91.34,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (104.09,10.00) startOffset 9 endOffset 10 width 2.80: "t"
+        chunk 1 text run 11 at (113.03,10.00) startOffset 10 endOffset 11 width 3.40: "r"
+        chunk 1 text run 12 at (122.57,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (134.31,10.00) startOffset 12 endOffset 13 width 2.80: "t"
         chunk 1 text run 14 at (143.26,10.00) startOffset 13 endOffset 14 width 5.00: "c"
         chunk 1 text run 15 at (154.40,10.00) startOffset 14 endOffset 15 width 5.60: "h"
 selection start: position 5 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-3-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-3-expected.png
index 1f23877..11f89fe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-3-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-3-expected.txt
index c1b7c99a..923625c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-3-expected.txt
@@ -2,25 +2,25 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (91.38,0.80) size 25.07x11.60
-      LayoutSVGPath {svg:line} at (91.38,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=91.38] [y1=0.80] [x2=91.38] [y2=12.40]
-      LayoutSVGPath {svg:line} at (116.45,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=116.45] [y1=0.80] [x2=116.45] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (91.38,0.80) size 25.07x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=91.38] [y=0.80] [width=25.07] [height=11.40]
+    LayoutSVGContainer {g} at (91.34,0.80) size 25.09x11.60
+      LayoutSVGPath {svg:line} at (91.34,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=91.34] [y1=0.80] [x2=91.34] [y2=12.40]
+      LayoutSVGPath {svg:line} at (116.43,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=116.43] [y1=0.80] [x2=116.43] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (91.34,0.80) size 25.09x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=91.34] [y=0.80] [width=25.09] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 150x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 150x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (21.23,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (32.96,10.00) startOffset 2 endOffset 3 width 4.80: "x"
-        chunk 1 text run 4 at (43.90,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (52.84,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (61.77,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (70.71,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (82.45,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (91.38,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (104.12,10.00) startOffset 9 endOffset 10 width 2.80: "t"
-        chunk 1 text run 11 at (113.05,10.00) startOffset 10 endOffset 11 width 3.40: "r"
-        chunk 1 text run 12 at (122.59,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (134.33,10.00) startOffset 12 endOffset 13 width 2.80: "t"
+        chunk 1 text run 2 at (21.14,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (32.89,10.00) startOffset 2 endOffset 3 width 4.80: "x"
+        chunk 1 text run 4 at (43.83,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (52.77,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (61.71,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (70.66,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (82.40,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (91.34,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (104.09,10.00) startOffset 9 endOffset 10 width 2.80: "t"
+        chunk 1 text run 11 at (113.03,10.00) startOffset 10 endOffset 11 width 3.40: "r"
+        chunk 1 text run 12 at (122.57,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (134.31,10.00) startOffset 12 endOffset 13 width 2.80: "t"
         chunk 1 text run 14 at (143.26,10.00) startOffset 13 endOffset 14 width 5.00: "c"
         chunk 1 text run 15 at (154.40,10.00) startOffset 14 endOffset 15 width 5.60: "h"
 selection start: position 8 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-4-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-4-expected.png
index 683a436..067b58f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-4-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-4-expected.txt
index 85e0de0..677f640 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-4-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacing-stretch-4-expected.txt
@@ -9,18 +9,18 @@
     LayoutSVGText {text} at (10,0.80) size 150x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 150x11.39
         chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 1 width 6.20: "T"
-        chunk 1 text run 2 at (21.23,10.00) startOffset 1 endOffset 2 width 5.60: "e"
-        chunk 1 text run 3 at (32.96,10.00) startOffset 2 endOffset 3 width 4.80: "x"
-        chunk 1 text run 4 at (43.90,10.00) startOffset 3 endOffset 4 width 2.80: "t"
-        chunk 1 text run 5 at (52.84,10.00) startOffset 4 endOffset 5 width 2.80: " "
-        chunk 1 text run 6 at (61.77,10.00) startOffset 5 endOffset 6 width 2.80: "t"
-        chunk 1 text run 7 at (70.71,10.00) startOffset 6 endOffset 7 width 5.60: "o"
-        chunk 1 text run 8 at (82.45,10.00) startOffset 7 endOffset 8 width 2.80: " "
-        chunk 1 text run 9 at (91.38,10.00) startOffset 8 endOffset 9 width 6.60: "S"
-        chunk 1 text run 10 at (104.12,10.00) startOffset 9 endOffset 10 width 2.80: "t"
-        chunk 1 text run 11 at (113.05,10.00) startOffset 10 endOffset 11 width 3.40: "r"
-        chunk 1 text run 12 at (122.59,10.00) startOffset 11 endOffset 12 width 5.60: "e"
-        chunk 1 text run 13 at (134.33,10.00) startOffset 12 endOffset 13 width 2.80: "t"
+        chunk 1 text run 2 at (21.14,10.00) startOffset 1 endOffset 2 width 5.60: "e"
+        chunk 1 text run 3 at (32.89,10.00) startOffset 2 endOffset 3 width 4.80: "x"
+        chunk 1 text run 4 at (43.83,10.00) startOffset 3 endOffset 4 width 2.80: "t"
+        chunk 1 text run 5 at (52.77,10.00) startOffset 4 endOffset 5 width 2.80: " "
+        chunk 1 text run 6 at (61.71,10.00) startOffset 5 endOffset 6 width 2.80: "t"
+        chunk 1 text run 7 at (70.66,10.00) startOffset 6 endOffset 7 width 5.60: "o"
+        chunk 1 text run 8 at (82.40,10.00) startOffset 7 endOffset 8 width 2.80: " "
+        chunk 1 text run 9 at (91.34,10.00) startOffset 8 endOffset 9 width 6.60: "S"
+        chunk 1 text run 10 at (104.09,10.00) startOffset 9 endOffset 10 width 2.80: "t"
+        chunk 1 text run 11 at (113.03,10.00) startOffset 10 endOffset 11 width 3.40: "r"
+        chunk 1 text run 12 at (122.57,10.00) startOffset 11 endOffset 12 width 5.60: "e"
+        chunk 1 text run 13 at (134.31,10.00) startOffset 12 endOffset 13 width 2.80: "t"
         chunk 1 text run 14 at (143.26,10.00) startOffset 13 endOffset 14 width 5.00: "c"
         chunk 1 text run 15 at (154.40,10.00) startOffset 14 endOffset 15 width 5.60: "h"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.png
index 26a0301..1f287526 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt
index bb1942d..7814839 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (10,0.80) size 12.72x11.60
+    LayoutSVGContainer {g} at (10,0.80) size 12.67x11.60
       LayoutSVGPath {svg:line} at (10,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=0.80] [x2=10.00] [y2=12.40]
-      LayoutSVGPath {svg:line} at (22.72,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=22.72] [y1=0.80] [x2=22.72] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (10,0.80) size 12.72x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=12.72] [height=11.40]
+      LayoutSVGPath {svg:line} at (22.67,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=22.67] [y1=0.80] [x2=22.67] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (10,0.80) size 12.67x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=12.67] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 71.89: "Text to Squeeze"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 71.80: "Text to Squeeze"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 4 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.png
index e4ea56b..4aff33ad 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.txt
index f629e60..768ee32 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (24.67,0.80) size 5.84x11.60
-      LayoutSVGPath {svg:line} at (24.67,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=24.67] [y1=0.80] [x2=24.67] [y2=12.40]
-      LayoutSVGPath {svg:line} at (30.51,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=30.51] [y1=0.80] [x2=30.51] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (24.67,0.80) size 5.84x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=24.67] [y=0.80] [width=5.84] [height=11.40]
+    LayoutSVGContainer {g} at (24.62,0.80) size 5.85x11.60
+      LayoutSVGPath {svg:line} at (24.62,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=24.62] [y1=0.80] [x2=24.62] [y2=12.40]
+      LayoutSVGPath {svg:line} at (30.47,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=30.47] [y1=0.80] [x2=30.47] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (24.62,0.80) size 5.85x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=24.62] [y=0.80] [width=5.85] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 71.89: "Text to Squeeze"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 71.80: "Text to Squeeze"
 selection start: position 5 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 7 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.png
index 811c029..d10fe46 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.txt
index 1911087..08f3fce 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (32.46,0.80) size 12.38x11.60
-      LayoutSVGPath {svg:line} at (32.46,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=32.46] [y1=0.80] [x2=32.46] [y2=12.40]
-      LayoutSVGPath {svg:line} at (44.84,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=44.84] [y1=0.80] [x2=44.84] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (32.46,0.80) size 12.38x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=32.46] [y=0.80] [width=12.38] [height=11.40]
+    LayoutSVGContainer {g} at (32.42,0.80) size 12.40x11.60
+      LayoutSVGPath {svg:line} at (32.42,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=32.42] [y1=0.80] [x2=32.42] [y2=12.40]
+      LayoutSVGPath {svg:line} at (44.82,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=44.82] [y1=0.80] [x2=44.82] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (32.42,0.80) size 12.40x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=32.42] [y=0.80] [width=12.40] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 71.89: "Text to Squeeze"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 71.80: "Text to Squeeze"
 selection start: position 8 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 11 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.png
index c18ad9a..4a72510 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt
index 8dfa525a..f762944 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt
@@ -8,6 +8,6 @@
       LayoutSVGRect {svg:rect} at (10,0.80) size 50x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=50.00] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 50x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 50x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 71.89: "Text to Squeeze"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 71.80: "Text to Squeeze"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 15 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.png
index 3d9fdb65..469a6d94 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt
index e49497a..89c74498 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (10,0.80) size 39.96x11.60
+    LayoutSVGContainer {g} at (10,0.80) size 39.81x11.60
       LayoutSVGPath {svg:line} at (10,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=0.80] [x2=10.00] [y2=12.40]
-      LayoutSVGPath {svg:line} at (49.96,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=49.96] [y1=0.80] [x2=49.96] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (10,0.80) size 39.96x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=39.96] [height=11.40]
+      LayoutSVGPath {svg:line} at (49.81,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=49.81] [y1=0.80] [x2=49.81] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (10,0.80) size 39.81x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=39.81] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 140x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 140x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.09: "Text to Stretch"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.00: "Text to Stretch"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 4 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.png
index 2f42121..eada8c6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt
index af70477..81fb6bb5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (56.07,0.80) size 18.35x11.60
-      LayoutSVGPath {svg:line} at (56.07,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=56.07] [y1=0.80] [x2=56.07] [y2=12.40]
-      LayoutSVGPath {svg:line} at (74.42,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=74.42] [y1=0.80] [x2=74.42] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (56.07,0.80) size 18.35x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=56.07] [y=0.80] [width=18.35] [height=11.40]
+    LayoutSVGContainer {g} at (55.94,0.80) size 18.38x11.60
+      LayoutSVGPath {svg:line} at (55.94,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=55.94] [y1=0.80] [x2=55.94] [y2=12.40]
+      LayoutSVGPath {svg:line} at (74.31,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=74.31] [y1=0.80] [x2=74.31] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (55.94,0.80) size 18.37x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=55.94] [y=0.80] [width=18.37] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 140x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 140x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.09: "Text to Stretch"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.00: "Text to Stretch"
 selection start: position 5 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 7 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.png
index 35eb4ef..fcc06f7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt
index 947e36c..e798988 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt
@@ -2,12 +2,12 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (80.54,0.80) size 27.96x11.60
-      LayoutSVGPath {svg:line} at (80.54,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=80.54] [y1=0.80] [x2=80.54] [y2=12.40]
-      LayoutSVGPath {svg:line} at (108.50,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=108.50] [y1=0.80] [x2=108.50] [y2=12.40]
-      LayoutSVGRect {svg:rect} at (80.54,0.80) size 27.96x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=80.54] [y=0.80] [width=27.96] [height=11.40]
+    LayoutSVGContainer {g} at (80.44,0.80) size 28x11.60
+      LayoutSVGPath {svg:line} at (80.44,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=80.44] [y1=0.80] [x2=80.44] [y2=12.40]
+      LayoutSVGPath {svg:line} at (108.44,0.80) size 0x11.60 [stroke={[type=SOLID] [color=#008000]}] [fill={[type=SOLID] [color=#000000]}] [x1=108.44] [y1=0.80] [x2=108.44] [y2=12.40]
+      LayoutSVGRect {svg:rect} at (80.44,0.80) size 28x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=80.44] [y=0.80] [width=28.00] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 140x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 140x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.09: "Text to Stretch"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.00: "Text to Stretch"
 selection start: position 8 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 11 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.png
index c78f6762..34c33d0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt
index dfe3427..81eb877 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt
@@ -8,6 +8,6 @@
       LayoutSVGRect {svg:rect} at (10,0.80) size 140x11.40 [fill={[type=SOLID] [color=#FF0000] [opacity=0.40]}] [x=10.00] [y=0.80] [width=140.00] [height=11.40]
     LayoutSVGText {text} at (10,0.80) size 140x11.39 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,0.80) size 140x11.39
-        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.09: "Text to Stretch"
+        chunk 1 text run 1 at (10.00,10.00) startOffset 0 endOffset 15 width 64.00: "Text to Stretch"
 selection start: position 0 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
 selection end:   position 15 of child 0 {#text} of child 5 {text} of child 0 {svg} of document
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/small-fonts-in-html5-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/small-fonts-in-html5-expected.png
index a580420e..04e36d50 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/small-fonts-in-html5-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/small-fonts-in-html5-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-decorations-in-scaled-pattern-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-decorations-in-scaled-pattern-expected.png
index 7fc9defaf..badc1d1a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-decorations-in-scaled-pattern-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-decorations-in-scaled-pattern-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-decorations-in-scaled-pattern-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-decorations-in-scaled-pattern-expected.txt
index c70b38ee..174cc82 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-decorations-in-scaled-pattern-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-decorations-in-scaled-pattern-expected.txt
@@ -4,12 +4,12 @@
   LayoutSVGRoot {svg} at (0,0) size 600x400
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
       LayoutSVGResourcePattern {pattern} [id="pattern"] [patternUnits=objectBoundingBox] [patternContentUnits=objectBoundingBox]
-        LayoutSVGContainer {g} at (0,-2.36) size 26.98x6.86 [transform={m=((0.05,0.01)(-0.00,0.20)) t=(0.00,0.00)}]
-          LayoutSVGText {text} at (0,-2.36) size 26.98x6.86 contains 1 chunk(s)
-            LayoutSVGTSpan {tspan} at (0,-2.36) size 26.98x6.86
-              LayoutSVGInlineText {#text} at (0,-2.36) size 26.98x6.86
-                chunk 1 text run 1 at (0.00,4.50) startOffset 0 endOffset 4 width 26.99: "PASS"
+        LayoutSVGContainer {g} at (0,-2.36) size 27.44x6.86 [transform={m=((0.05,0.01)(-0.00,0.20)) t=(0.00,0.00)}]
+          LayoutSVGText {text} at (0,-2.36) size 27.44x6.86 contains 1 chunk(s)
+            LayoutSVGTSpan {tspan} at (0,-2.36) size 27.44x6.86
+              LayoutSVGInlineText {#text} at (0,-2.36) size 27.44x6.86
+                chunk 1 text run 1 at (0.00,4.50) startOffset 0 endOffset 4 width 27.44: "PASS"
     LayoutSVGRect {rect} at (0,0) size 200x200 [fill={[type=PATTERN] [id="pattern"]}] [x=0.00] [y=0.00] [width=200.00] [height=200.00]
-    LayoutSVGText {text} at (0,215) size 416.53x19 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (0,215) size 416.53x19
-        chunk 1 text run 1 at (0.00,230.00) startOffset 0 endOffset 70 width 416.53: "This test passes if the word \"PASS\" appears above with a line over it."
+    LayoutSVGText {text} at (0,215) size 417x19 contains 1 chunk(s)
+      LayoutSVGInlineText {#text} at (0,215) size 417x19
+        chunk 1 text run 1 at (0.00,230.00) startOffset 0 endOffset 70 width 417.00: "This test passes if the word \"PASS\" appears above with a line over it."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-midpoint-split-bug-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-midpoint-split-bug-expected.txt
index 6003919..ff47bec0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-midpoint-split-bug-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-midpoint-split-bug-expected.txt
@@ -3,11 +3,11 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGText {text} at (20,75) size 206x57 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (20,75) size 83.50x57
-        chunk 1 text run 1 at (20.00,120.00) startOffset 0 endOffset 4 width 83.51: "Test"
+      LayoutSVGInlineText {#text} at (20,75) size 84x57
+        chunk 1 text run 1 at (20.00,120.00) startOffset 0 endOffset 4 width 84.00: "Test"
       LayoutSVGTSpan {tspan} at (20,75) size 206x57
-        LayoutSVGInlineText {#text} at (103.50,75) size 13x57
-          chunk 1 text run 1 at (103.51,120.00) startOffset 0 endOffset 1 width 13.00: " "
+        LayoutSVGInlineText {#text} at (104,75) size 13x57
+          chunk 1 text run 1 at (104.00,120.00) startOffset 0 endOffset 1 width 13.00: " "
         LayoutSVGTSpan {tspan} at (20,75) size 206x57
           LayoutSVGInlineText {#text} at (150,75) size 76x57
             chunk 1 text run 1 at (150.00,120.00) startOffset 0 endOffset 4 width 76.00: "text"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-repaint-rects-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-repaint-rects-expected.txt
index f1b3179..5ce339eb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-repaint-rects-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-repaint-rects-expected.txt
@@ -47,12 +47,12 @@
             LayoutSVGText {text} at (0,-45) size 44x57 [transform={m=((1.00,0.00)(0.00,1.00)) t=(480.00,0.00)}] contains 1 chunk(s)
               LayoutSVGInlineText {#text} at (0,-45) size 44x57
                 chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 1 width 44.00: "M"
-        LayoutText {#text} at (710,32) size 784x99
+        LayoutText {#text} at (710,32) size 783x99
           text run at (710,32) width 4: " "
           text run at (714,32) width 45: "this test"
-          text run at (0,52) width 773: "case is specially constructed so that when the view is sized to 800x600 (the default for DumpRenderTree) the text wraps and not"
+          text run at (0,52) width 772: "case is specially constructed so that when the view is sized to 800x600 (the default for DumpRenderTree) the text wraps and not"
           text run at (0,72) width 267: "all of the text in the SVG is drawn correctly. "
-          text run at (266,72) width 300: "You should see all of A-L (and half of M) above. "
-          text run at (565,72) width 219: "The code was incorrectly calculating"
+          text run at (267,72) width 298: "You should see all of A-L (and half of M) above. "
+          text run at (565,72) width 218: "The code was incorrectly calculating"
           text run at (0,92) width 777: "the PaintInfo::rect (damage rect) when passing it through LayoutBlockFlow and render block was (correctly) clipping out some of"
           text run at (0,112) width 156: "the lineboxes during paint."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-01-b-expected.txt
index 62df4d1..e10c6eb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-01-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (5,8.80) size 451.19x277.80
-      LayoutSVGText {text} at (5,8.80) size 440.22x39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,8.80) size 440.22x39
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 31 width 440.23: "Test 'text-anchor' (horizontal)"
+      LayoutSVGText {text} at (5,8.80) size 440.39x39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,8.80) size 440.39x39
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 31 width 440.40: "Test 'text-anchor' (horizontal)"
       LayoutSVGContainer {g} at (20.61,102.41) size 435.58x184.19
         LayoutSVGContainer {g} at (-3,-27.59) size 229.19x34.19 [transform={m=((1.00,0.00)(0.00,1.00)) t=(230.00,130.00)}]
           LayoutSVGPath {line} at (0,0) size 50x0 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#000000]}] [x1=0.00] [y1=0.00] [x2=50.00] [y2=0.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-02-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-02-b-expected.txt
index b66b0a8..e0de325 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-02-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-02-b-expected.txt
@@ -2,10 +2,10 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (5,8.80) size 472.03x275.28
-      LayoutSVGText {text} at (5,8.80) size 472.03x39 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,8.80) size 472.03x39
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 34 width 472.03: "Test 'baseline-shift' (horizontal)"
+    LayoutSVGContainer {g} at (5,8.80) size 472.19x275.28
+      LayoutSVGText {text} at (5,8.80) size 472.19x39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,8.80) size 472.19x39
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 34 width 472.20: "Test 'baseline-shift' (horizontal)"
       LayoutSVGContainer {g} at (0,-34.59) size 402.59x198.67 [transform={m=((1.00,0.00)(0.00,1.00)) t=(15.00,120.00)}]
         LayoutSVGText {text} at (0,-34.59) size 349.19x41.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,-27.59) size 96.59x34.19
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-03-b-expected.txt
index fa2061d..a69b396 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-03-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-03-b-expected.txt
@@ -3,9 +3,9 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (-3,4) size 473.39x221
-      LayoutSVGText {text} at (5,4) size 345.95x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,4) size 345.95x45
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 345.97: "Test of 'text-anchor'"
+      LayoutSVGText {text} at (5,4) size 346.19x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,4) size 346.19x45
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 346.20: "Test of 'text-anchor'"
       LayoutSVGPath {line} at (225,75) size 0x150 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=225.00] [y1=75.00] [x2=225.00] [y2=225.00]
       LayoutSVGContainer {g} at (-3,82.39) size 473.39x134.19
         LayoutSVGText {text} at (-3,82.39) size 473.39x134.19 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-04-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-04-b-expected.png
index a1a84ef..97c9b15 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-04-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-04-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-04-b-expected.txt
index 136e8fd19..0ff0ec0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-04-b-expected.txt
@@ -3,17 +3,17 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (-4.39,4) size 482.38x262.58
-      LayoutSVGText {text} at (5,4) size 345.95x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,4) size 345.95x45
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 345.97: "Test of 'text-anchor'"
+      LayoutSVGText {text} at (5,4) size 346.19x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,4) size 346.19x45
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 21 width 346.20: "Test of 'text-anchor'"
       LayoutSVGHiddenContainer {defs} at (-5,-14.39) size 225x274.39
         LayoutSVGText {text} at (0,-14.39) size 81x18.59 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (0,-14.39) size 81x18.59
             chunk 1 text run 1 at (0.00,0.00) startOffset 0 endOffset 13 width 79.20: "end text tref"
         LayoutSVGPath {path} at (-5,260) size 225x0 [fill={[type=SOLID] [color=#000000]}] [data="M -5 260 L 220 260"]
-      LayoutSVGText {text} at (20,52.39) size 216.86x34.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (20,52.39) size 216.86x34.19
-          chunk 1 text run 1 at (20.00,80.00) startOffset 0 endOffset 17 width 216.87: "Tspan, tref, toap"
+      LayoutSVGText {text} at (20,52.39) size 216.59x34.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (20,52.39) size 216.59x34.19
+          chunk 1 text run 1 at (20.00,80.00) startOffset 0 endOffset 17 width 216.60: "Tspan, tref, toap"
       LayoutSVGPath {line} at (220,120) size 0x140 [stroke={[type=SOLID] [color=#FF0000]}] [fill={[type=SOLID] [color=#000000]}] [x1=220.00] [y1=120.00] [x2=220.00] [y2=260.00]
       LayoutSVGContainer {g} at (-4.39,112.39) size 482.38x154.19
         LayoutSVGText {text} at (220,112.39) size 257.98x34.19 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-05-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-05-b-expected.png
index 7034045..a950cec8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-05-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-05-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-05-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-05-b-expected.txt
index 14bebd5b..8c3adad5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-05-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-05-b-expected.txt
@@ -2,10 +2,10 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (5,4) size 465.95x317
-      LayoutSVGText {text} at (5,4) size 465.95x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,4) size 465.95x45
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 29 width 465.97: "Test 'text-anchor' (vertical)"
+    LayoutSVGContainer {g} at (5,4) size 466.19x317
+      LayoutSVGText {text} at (5,4) size 466.19x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,4) size 466.19x45
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 29 width 466.20: "Test 'text-anchor' (vertical)"
       LayoutSVGContainer {g} at (142.91,47.41) size 134.19x273.59
         LayoutSVGContainer {g} at (-17.09,-102.59) size 134.19x273.59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(160.00,150.00)}]
           LayoutSVGContainer {g} at (-17.09,-3) size 34.19x174
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-06-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-06-b-expected.png
index 41e381c..4b4be9de2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-06-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-06-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-06-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-06-b-expected.txt
index 4b531a3..c4d31c9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-06-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-align-06-b-expected.txt
@@ -2,10 +2,10 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (0,4) size 483.36x363.80
-      LayoutSVGText {text} at (0,4) size 483.36x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (0,4) size 483.36x45
-          chunk 1 text run 1 at (0.00,40.00) startOffset 0 endOffset 31 width 483.37: "Test 'baseline-shift' (vertic.)"
+    LayoutSVGContainer {g} at (0,4) size 483.59x363.80
+      LayoutSVGText {text} at (0,4) size 483.59x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (0,4) size 483.59x45
+          chunk 1 text run 1 at (0.00,40.00) startOffset 0 endOffset 31 width 483.60: "Test 'baseline-shift' (vertic.)"
       LayoutSVGContainer {g} at (72.91,60) size 311.67x307.80
         LayoutSVGContainer {g} at (-17.09,0) size 311.67x307.80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(90.00,60.00)}]
           LayoutSVGText {text} at (-17.09,0) size 41.19x171 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-deco-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-deco-01-b-expected.png
index c6f3996c..1e40b4ef 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-deco-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-deco-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-deco-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-deco-01-b-expected.txt
index 5e10d66..25a194f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-deco-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-deco-01-b-expected.txt
@@ -2,44 +2,44 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (10,4.39) size 372.16x276
-      LayoutSVGText {text} at (10,4.39) size 153.02x19.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,4.39) size 153.02x19.19
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 23 width 153.03: "Test 'text-decoration'."
-      LayoutSVGContainer {g} at (25,43.39) size 357.16x237
+    LayoutSVGContainer {g} at (10,4.39) size 372x276
+      LayoutSVGText {text} at (10,4.39) size 153x19.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,4.39) size 153x19.19
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 23 width 153.00: "Test 'text-decoration'."
+      LayoutSVGContainer {g} at (25,43.39) size 357x237
         LayoutSVGText {text} at (25,43.39) size 120.59x27 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,43.39) size 120.59x27
             chunk 1 text run 1 at (25.00,65.00) startOffset 0 endOffset 11 width 120.60: "Normal text"
-        LayoutSVGText {text} at (25,113.39) size 218.73x27 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25,113.39) size 218.73x27
-            chunk 1 text run 1 at (25.00,135.00) startOffset 0 endOffset 22 width 218.74: "Text with line-through"
+        LayoutSVGText {text} at (25,113.39) size 219x27 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25,113.39) size 219x27
+            chunk 1 text run 1 at (25.00,135.00) startOffset 0 endOffset 22 width 219.00: "Text with line-through"
         LayoutSVGText {text} at (25,183.39) size 156.59x27 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,183.39) size 156.59x27
             chunk 1 text run 1 at (25.00,205.00) startOffset 0 endOffset 15 width 156.60: "Underlined text"
-        LayoutSVGText {text} at (25,253.39) size 357.16x27 contains 1 chunk(s)
-          LayoutSVGTSpan {tspan} at (25,253.39) size 357.16x27
+        LayoutSVGText {text} at (25,253.39) size 357x27 contains 1 chunk(s)
+          LayoutSVGTSpan {tspan} at (25,253.39) size 357x27
             LayoutSVGInlineText {#text} at (25,253.39) size 44.39x27
               chunk 1 text run 1 at (25.00,275.00) startOffset 0 endOffset 3 width 44.40: "One"
           LayoutSVGInlineText {#text} at (69.39,253.39) size 6.59x27
             chunk 1 text run 1 at (69.40,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 357.16x27
+          LayoutSVGTSpan {tspan} at (25,253.39) size 357x27
             LayoutSVGInlineText {#text} at (75.39,253.39) size 52.19x27
               chunk 1 text run 1 at (76.00,275.00) startOffset 0 endOffset 4 width 51.60: "word"
           LayoutSVGInlineText {#text} at (127.59,253.39) size 6.59x27
             chunk 1 text run 1 at (127.60,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 357.16x27
+          LayoutSVGTSpan {tspan} at (25,253.39) size 357x27
             LayoutSVGInlineText {#text} at (134.19,253.39) size 37.19x27
               chunk 1 text run 1 at (134.20,275.00) startOffset 0 endOffset 3 width 37.20: "has"
           LayoutSVGInlineText {#text} at (171.39,253.39) size 6.59x27
             chunk 1 text run 1 at (171.40,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 357.16x27
-            LayoutSVGInlineText {#text} at (178,253.39) size 85.36x27
-              chunk 1 text run 1 at (178.00,275.00) startOffset 0 endOffset 9 width 85.37: "different"
-          LayoutSVGInlineText {#text} at (263.36,253.39) size 6.59x27
-            chunk 1 text run 1 at (263.37,275.00) startOffset 0 endOffset 1 width 6.60: " "
-          LayoutSVGTSpan {tspan} at (25,253.39) size 357.16x27
-            LayoutSVGInlineText {#text} at (269.95,253.39) size 112.19x27
-              chunk 1 text run 1 at (269.97,275.00) startOffset 0 endOffset 11 width 112.20: "underlining"
+          LayoutSVGTSpan {tspan} at (25,253.39) size 357x27
+            LayoutSVGInlineText {#text} at (178,253.39) size 85.19x27
+              chunk 1 text run 1 at (178.00,275.00) startOffset 0 endOffset 9 width 85.20: "different"
+          LayoutSVGInlineText {#text} at (263.19,253.39) size 6.59x27
+            chunk 1 text run 1 at (263.20,275.00) startOffset 0 endOffset 1 width 6.60: " "
+          LayoutSVGTSpan {tspan} at (25,253.39) size 357x27
+            LayoutSVGInlineText {#text} at (269.80,253.39) size 112.19x27
+              chunk 1 text run 1 at (269.80,275.00) startOffset 0 endOffset 11 width 112.20: "underlining"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-intro-05-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-intro-05-t-expected.png
index e02392e..400c433 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-intro-05-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-intro-05-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-intro-05-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-intro-05-t-expected.txt
index 90e71c0..cf14961 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-intro-05-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-intro-05-t-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (43,51.69) size 417x195.50
-      LayoutSVGText {text} at (113.19,51.69) size 346.80x35.50 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (113.19,51.69) size 346.80x35.50
+    LayoutSVGContainer {g} at (43,51.80) size 417x195.39
+      LayoutSVGText {text} at (113.19,51.80) size 346.80x35.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (113.19,51.80) size 346.80x35.39
           chunk 1 (end anchor) text run 1 at (113.20,80.00) startOffset 0 endOffset 37 width 346.80 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
-      LayoutSVGText {text} at (43,126.27) size 417x42.13 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (43,126.27) size 417x42.13
+      LayoutSVGText {text} at (43,126.39) size 417x42 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (43,126.39) size 417x42
           chunk 1 (end anchor) text run 1 at (43.00,160.00) startOffset 0 endOffset 37 width 417.00 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
-      LayoutSVGText {text} at (113.19,211.69) size 346.80x35.50 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (113.19,211.69) size 346.80x35.50
+      LayoutSVGText {text} at (113.19,211.80) size 346.80x35.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (113.19,211.80) size 346.80x35.39
           chunk 1 (end anchor) text run 1 at (113.20,240.00) startOffset 0 endOffset 37 width 346.80 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-path-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-path-01-b-expected.png
index 7ef435b..bd6fedd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-path-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-path-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-path-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-path-01-b-expected.txt
index fbc89e2..f38497ea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-path-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-path-01-b-expected.txt
@@ -63,30 +63,30 @@
       LayoutSVGContainer {g} at (113,211.39) size 300x79.80
         LayoutSVGContainer {use} at (113,233) size 300x0
           LayoutSVGPath {path} at (113,233) size 300x0 [stroke={[type=SOLID] [color=#0000FF] [stroke width=4.00]}] [data="M 113 233 L 413 233"]
-        LayoutSVGText {text} at (212,211.39) size 173.73x27 contains 1 chunk(s)
-          LayoutSVGTextPath {textPath} at (212,211.39) size 173.73x27
-            LayoutSVGInlineText {#text} at (212,211.39) size 173.73x27
+        LayoutSVGText {text} at (212,211.39) size 174x27 contains 1 chunk(s)
+          LayoutSVGTextPath {textPath} at (212,211.39) size 174x27
+            LayoutSVGInlineText {#text} at (212,211.39) size 174x27
               chunk 1 text run 1 at (219.20,233.00) startOffset 0 endOffset 1 width 14.40: "T"
               chunk 1 text run 2 at (232.70,233.00) startOffset 1 endOffset 2 width 12.60: "h"
               chunk 1 text run 3 at (245.60,233.00) startOffset 2 endOffset 3 width 13.20: "e"
               chunk 1 text run 4 at (255.50,233.00) startOffset 3 endOffset 4 width 6.60: " "
-              chunk 1 text run 5 at (264.67,233.00) startOffset 4 endOffset 5 width 14.40: "T"
-              chunk 1 text run 6 at (277.14,233.00) startOffset 5 endOffset 6 width 13.20: "e"
-              chunk 1 text run 7 at (289.14,233.00) startOffset 6 endOffset 7 width 10.80: "x"
-              chunk 1 text run 8 at (297.84,233.00) startOffset 7 endOffset 8 width 6.60: "t"
-              chunk 1 text run 9 at (304.44,233.00) startOffset 8 endOffset 9 width 6.60: " "
-              chunk 1 text run 10 at (314.34,233.00) startOffset 9 endOffset 10 width 13.20: "o"
-              chunk 1 text run 11 at (327.24,233.00) startOffset 10 endOffset 11 width 12.60: "n"
-              chunk 1 text run 12 at (336.84,233.00) startOffset 11 endOffset 12 width 6.60: " "
-              chunk 1 text run 13 at (346.74,233.00) startOffset 12 endOffset 13 width 13.20: "p"
-              chunk 1 text run 14 at (359.94,233.00) startOffset 13 endOffset 14 width 13.20: "a"
-              chunk 1 text run 15 at (369.84,233.00) startOffset 14 endOffset 15 width 6.60: "t"
-              chunk 1 text run 16 at (379.44,233.00) startOffset 15 endOffset 16 width 12.60: "h"
+              chunk 1 text run 5 at (264.80,233.00) startOffset 4 endOffset 5 width 14.40: "T"
+              chunk 1 text run 6 at (277.40,233.00) startOffset 5 endOffset 6 width 13.20: "e"
+              chunk 1 text run 7 at (289.40,233.00) startOffset 6 endOffset 7 width 10.80: "x"
+              chunk 1 text run 8 at (298.10,233.00) startOffset 7 endOffset 8 width 6.60: "t"
+              chunk 1 text run 9 at (304.70,233.00) startOffset 8 endOffset 9 width 6.60: " "
+              chunk 1 text run 10 at (314.60,233.00) startOffset 9 endOffset 10 width 13.20: "o"
+              chunk 1 text run 11 at (327.50,233.00) startOffset 10 endOffset 11 width 12.60: "n"
+              chunk 1 text run 12 at (337.10,233.00) startOffset 11 endOffset 12 width 6.60: " "
+              chunk 1 text run 13 at (347.00,233.00) startOffset 12 endOffset 13 width 13.20: "p"
+              chunk 1 text run 14 at (360.20,233.00) startOffset 13 endOffset 14 width 13.20: "a"
+              chunk 1 text run 15 at (370.10,233.00) startOffset 14 endOffset 15 width 6.60: "t"
+              chunk 1 text run 16 at (379.70,233.00) startOffset 15 endOffset 16 width 12.60: "h"
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGRect {rect} at (118,250) size 260x41 [stroke={[type=SOLID] [color=#000000]}] [x=118.00] [y=250.00] [width=260.00] [height=41.00]
-        LayoutSVGText {text} at (120,248.39) size 225.83x22.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (120,248.39) size 225.83x22.80
-            chunk 1 text run 1 at (120.00,267.00) startOffset 0 endOffset 30 width 225.84: "'startOffset' attribute of the"
+        LayoutSVGText {text} at (120,248.39) size 225.59x22.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (120,248.39) size 225.59x22.80
+            chunk 1 text run 1 at (120.00,267.00) startOffset 0 endOffset 30 width 225.60: "'startOffset' attribute of the"
         LayoutSVGText {text} at (120,268.39) size 154.80x22.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (120,268.39) size 154.80x22.80
             chunk 1 text run 1 at (120.00,287.00) startOffset 0 endOffset 19 width 154.80: "'textPath' element."
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-spacing-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-spacing-01-b-expected.png
index 4a5c176..7a6ce6e4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-spacing-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-spacing-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-spacing-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-spacing-01-b-expected.txt
index 888bbfe..fa21cfb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-spacing-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-spacing-01-b-expected.txt
@@ -2,8 +2,8 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (2.89,0.80) size 72.61x49.89
-      LayoutSVGContainer {g} at (2.89,0.80) size 72.61x49.89
+    LayoutSVGContainer {g} at (2.89,0.80) size 72.69x49.89
+      LayoutSVGContainer {g} at (2.89,0.80) size 72.69x49.89
         LayoutSVGText {text} at (3,0.80) size 54.39x8.89 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (3,0.80) size 54.39x8.89
             chunk 1 text run 1 at (3.00,8.00) startOffset 0 endOffset 16 width 54.40: "letter-spacing:0"
@@ -45,21 +45,21 @@
             chunk 1 text run 15 at (55.00,24.00) startOffset 14 endOffset 15 width 2.20: ":"
             chunk 1 text run 16 at (57.50,24.00) startOffset 15 endOffset 16 width 2.20: "."
             chunk 1 text run 17 at (60.00,24.00) startOffset 16 endOffset 17 width 4.40: "3"
-        LayoutSVGText {text} at (2.89,25.80) size 63.61x8.89 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (2.89,25.80) size 63.61x8.89
-            chunk 1 text run 1 at (3.00,33.00) startOffset 0 endOffset 16 width 63.51: "ws:0 - Two Words"
-        LayoutSVGText {text} at (2.89,33.80) size 57.31x8.89 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (2.89,33.80) size 57.31x8.89
+        LayoutSVGText {text} at (2.89,25.80) size 63.69x8.89 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (2.89,25.80) size 63.69x8.89
+            chunk 1 text run 1 at (3.00,33.00) startOffset 0 endOffset 16 width 63.60: "ws:0 - Two Words"
+        LayoutSVGText {text} at (2.89,33.80) size 57.39x8.89 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (2.89,33.80) size 57.39x8.89
             chunk 1 text run 1 at (3.00,41.00) startOffset 0 endOffset 6 width 21.20: "ws:-3 "
             chunk 1 text run 2 at (21.20,41.00) startOffset 6 endOffset 8 width 4.90: "- "
-            chunk 1 text run 3 at (23.10,41.00) startOffset 8 endOffset 12 width 16.86: "Two "
-            chunk 1 text run 4 at (36.96,41.00) startOffset 12 endOffset 17 width 23.26: "Words"
-        LayoutSVGText {text} at (2.89,41.80) size 72.61x8.89 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (2.89,41.80) size 72.61x8.89
+            chunk 1 text run 3 at (23.10,41.00) startOffset 8 endOffset 12 width 16.90: "Two "
+            chunk 1 text run 4 at (37.00,41.00) startOffset 12 endOffset 17 width 23.30: "Words"
+        LayoutSVGText {text} at (2.89,41.80) size 72.69x8.89 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (2.89,41.80) size 72.69x8.89
             chunk 1 text run 1 at (3.00,49.00) startOffset 0 endOffset 5 width 18.50: "ws:3 "
             chunk 1 text run 2 at (24.50,49.00) startOffset 5 endOffset 7 width 4.90: "- "
-            chunk 1 text run 3 at (32.40,49.00) startOffset 7 endOffset 11 width 16.86: "Two "
-            chunk 1 text run 4 at (52.26,49.00) startOffset 11 endOffset 16 width 23.26: "Words"
+            chunk 1 text run 3 at (32.40,49.00) startOffset 7 endOffset 11 width 16.90: "Two "
+            chunk 1 text run 4 at (52.30,49.00) startOffset 11 endOffset 16 width 23.30: "Words"
     LayoutSVGText {text} at (5,51.59) size 39.30x6.80 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (5,51.59) size 39.30x6.80
         chunk 1 text run 1 at (5.00,57.00) startOffset 0 endOffset 16 width 39.30: "$Revision: 1.6 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-07-t-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-07-t-expected.png
index 8e30dc03..5aaeb0a3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-07-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-07-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-07-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-07-t-expected.txt
index 328bcb6a..9940bbf0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-07-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-07-t-expected.txt
@@ -13,14 +13,14 @@
           chunk 1 text run 1 at (340.00,160.00) startOffset 0 endOffset 1 width 9.00: " "
           chunk 1 text run 1 at (360.00,180.00) startOffset 0 endOffset 1 width 25.20: "X"
           chunk 1 text run 1 at (385.20,200.00) startOffset 0 endOffset 2 width 34.20: " Y"
-      LayoutSVGText {text} at (10,28.19) size 146.38x53.28 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,28.19) size 146.38x53.28
+      LayoutSVGText {text} at (10,28.19) size 146.45x53.28 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,28.19) size 146.45x53.28
           chunk 1 text run 1 at (10.00,60.00) startOffset 0 endOffset 1 width 23.40: "R"
           chunk 1 text run 2 at (33.40,60.00) startOffset 1 endOffset 2 width 25.20: "O"
           chunk 1 text run 3 at (58.60,60.00) startOffset 2 endOffset 3 width 21.00: "T"
-          chunk 1 text run 4 at (76.80,60.00) startOffset 3 endOffset 4 width 24.60: "A"
-          chunk 1 text run 5 at (97.52,60.00) startOffset 4 endOffset 5 width 21.00: "T"
-          chunk 1 text run 6 at (118.52,60.00) startOffset 5 endOffset 6 width 21.00: "E"
+          chunk 1 text run 4 at (76.60,60.00) startOffset 3 endOffset 4 width 24.60: "A"
+          chunk 1 text run 5 at (97.60,60.00) startOffset 4 endOffset 5 width 21.00: "T"
+          chunk 1 text run 6 at (118.60,60.00) startOffset 5 endOffset 6 width 21.00: "E"
       LayoutSVGText {text} at (10,165.92) size 247.27x142.47 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (10,165.92) size 247.25x142.45
           chunk 1 text run 1 at (10.00,300.00) startOffset 0 endOffset 1 width 22.80: "B"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-08-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-08-b-expected.png
index d6754c98..d8a8d97 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-08-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-08-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-08-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-08-b-expected.txt
index 6f84d2c..a650fc9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-08-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-text-08-b-expected.txt
@@ -2,19 +2,19 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (19,-4.19) size 465.86x257.98
-      LayoutSVGText {text} at (19,-4.19) size 390.31x78 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,-4.19) size 390.31x78
-          chunk 1 text run 1 at (19.00,60.00) startOffset 0 endOffset 11 width 390.33: "Normal Text"
-      LayoutSVGText {text} at (19,55.80) size 345.88x78 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,55.80) size 345.88x78
-          chunk 1 text run 1 at (19.00,120.00) startOffset 0 endOffset 12 width 345.89: "Fill opacity"
-      LayoutSVGText {text} at (19,115.80) size 465.86x78 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,115.80) size 465.86x78
-          chunk 1 text run 1 at (19.00,180.00) startOffset 0 endOffset 14 width 465.86: "Stroke opacity"
-      LayoutSVGText {text} at (19,175.80) size 243.28x78 [opacity=0.50] contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (19,175.80) size 243.28x78 [opacity=0.50]
-          chunk 1 text run 1 at (19.00,240.00) startOffset 0 endOffset 7 width 243.29: "Opacity"
+    LayoutSVGContainer {g} at (19,-4.19) size 465.59x257.98
+      LayoutSVGText {text} at (19,-4.19) size 390.59x78 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,-4.19) size 390.59x78
+          chunk 1 text run 1 at (19.00,60.00) startOffset 0 endOffset 11 width 390.60: "Normal Text"
+      LayoutSVGText {text} at (19,55.80) size 345.59x78 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,55.80) size 345.59x78
+          chunk 1 text run 1 at (19.00,120.00) startOffset 0 endOffset 12 width 345.60: "Fill opacity"
+      LayoutSVGText {text} at (19,115.80) size 465.59x78 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,115.80) size 465.59x78
+          chunk 1 text run 1 at (19.00,180.00) startOffset 0 endOffset 14 width 465.60: "Stroke opacity"
+      LayoutSVGText {text} at (19,175.80) size 243x78 [opacity=0.50] contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (19,175.80) size 243x78 [opacity=0.50]
+          chunk 1 text run 1 at (19.00,240.00) startOffset 0 endOffset 7 width 243.00: "Opacity"
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
         chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.3 $"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tselect-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tselect-01-b-expected.png
index 78164fd..a2cb048 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tselect-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tselect-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tselect-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tselect-01-b-expected.txt
index 5dd49bf..5c6693b0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tselect-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tselect-01-b-expected.txt
@@ -3,39 +3,39 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (1,1) size 478x358
-      LayoutSVGText {text} at (10,4.39) size 308.42x19.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,4.39) size 308.42x19.19
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 46 width 308.43: "Test single line and multiline text selection."
-      LayoutSVGContainer {g} at (25,49.39) size 367.52x219.19
+      LayoutSVGText {text} at (10,4.39) size 308.39x19.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,4.39) size 308.39x19.19
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 46 width 308.40: "Test single line and multiline text selection."
+      LayoutSVGContainer {g} at (25,49.39) size 367.80x219.19
         LayoutSVGText {text} at (25,49.39) size 259.19x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,49.39) size 259.19x19.19
             chunk 1 text run 1 at (25.00,65.00) startOffset 0 endOffset 37 width 259.20: "Here is a stand-alone 'text' element."
-        LayoutSVGText {text} at (25,74.39) size 303.31x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25,74.39) size 303.31x19.19
-            chunk 1 text run 1 at (25.00,90.00) startOffset 0 endOffset 43 width 303.32: "Here is a second 'text' element just below."
+        LayoutSVGText {text} at (25,74.39) size 303.59x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25,74.39) size 303.59x19.19
+            chunk 1 text run 1 at (25.00,90.00) startOffset 0 endOffset 43 width 303.60: "Here is a second 'text' element just below."
         LayoutSVGText {text} at (25,99.39) size 349.80x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,99.39) size 349.80x19.19
             chunk 1 text run 1 at (25.00,115.00) startOffset 0 endOffset 48 width 349.80: "Because these are four separate 'text' elements,"
         LayoutSVGText {text} at (25,124.39) size 332.39x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25,124.39) size 332.39x19.19
             chunk 1 text run 1 at (25.00,140.00) startOffset 0 endOffset 47 width 332.40: "text selection should not go across lines here."
-        LayoutSVGText {text} at (25,174.39) size 367.52x94.19 contains 1 chunk(s)
-          LayoutSVGTSpan {tspan} at (25,174.39) size 367.52x94.19
-            LayoutSVGInlineText {#text} at (25,174.39) size 362.70x19.19
-              chunk 1 text run 1 at (25.00,190.00) startOffset 0 endOffset 50 width 362.72: "However, these lines of text are achieved by using"
-          LayoutSVGInlineText {#text} at (387.70,174.39) size 4.80x19.19
-            chunk 1 text run 1 at (387.72,190.00) startOffset 0 endOffset 1 width 4.80: " "
-          LayoutSVGTSpan {tspan} at (25,174.39) size 367.52x94.19
+        LayoutSVGText {text} at (25,174.39) size 367.80x94.19 contains 1 chunk(s)
+          LayoutSVGTSpan {tspan} at (25,174.39) size 367.80x94.19
+            LayoutSVGInlineText {#text} at (25,174.39) size 363x19.19
+              chunk 1 text run 1 at (25.00,190.00) startOffset 0 endOffset 50 width 363.00: "However, these lines of text are achieved by using"
+          LayoutSVGInlineText {#text} at (387.98,174.39) size 4.80x19.19
+            chunk 1 text run 1 at (388.00,190.00) startOffset 0 endOffset 1 width 4.80: " "
+          LayoutSVGTSpan {tspan} at (25,174.39) size 367.80x94.19
             LayoutSVGInlineText {#text} at (25,199.39) size 355.80x19.19
               chunk 1 text run 1 at (25.00,215.00) startOffset 0 endOffset 51 width 355.80: "one 'tspan' per line, all contained within the same"
           LayoutSVGInlineText {#text} at (380.80,199.39) size 4.80x19.19
             chunk 1 text run 1 at (380.80,215.00) startOffset 0 endOffset 1 width 4.80: " "
-          LayoutSVGTSpan {tspan} at (25,174.39) size 367.52x94.19
+          LayoutSVGTSpan {tspan} at (25,174.39) size 367.80x94.19
             LayoutSVGInlineText {#text} at (25,224.39) size 351x19.19
               chunk 1 text run 1 at (25.00,240.00) startOffset 0 endOffset 51 width 351.00: "'text' element, so you should be able to select all"
           LayoutSVGInlineText {#text} at (375.98,224.39) size 4.80x19.19
             chunk 1 text run 1 at (376.00,240.00) startOffset 0 endOffset 1 width 4.80: " "
-          LayoutSVGTSpan {tspan} at (25,174.39) size 367.52x94.19
+          LayoutSVGTSpan {tspan} at (25,174.39) size 367.80x94.19
             LayoutSVGInlineText {#text} at (25,249.39) size 196.80x19.19
               chunk 1 text run 1 at (25.00,265.00) startOffset 0 endOffset 28 width 196.80: "four lines at the same time."
           LayoutSVGInlineText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tspan-01-b-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tspan-01-b-expected.png
index 2d8df4a..a288b74 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tspan-01-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tspan-01-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tspan-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tspan-01-b-expected.txt
index 672f59e3..614b7c4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tspan-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/text/text-selection-tspan-01-b-expected.txt
@@ -2,30 +2,30 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (17.50,4.39) size 453.31x293.86
+    LayoutSVGContainer {g} at (17.50,4.39) size 453.30x293.86
       LayoutSVGText {text} at (25,4.39) size 430.19x19.19 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (25,4.39) size 430.19x19.19
           chunk 1 text run 1 at (25.00,20.00) startOffset 0 endOffset 60 width 430.20: "Basics of tspan: changing visual properties and positioning."
       LayoutSVGContainer {g} at (47.50,48.14) size 311.75x80.69
-        LayoutSVGText {text} at (74,48.14) size 163.53x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (74,48.14) size 55.53x19.19
-            chunk 1 text run 1 at (74.00,63.75) startOffset 0 endOffset 7 width 55.53: "You are"
-          LayoutSVGTSpan {tspan} at (74,48.14) size 163.53x19.80
-            LayoutSVGInlineText {#text} at (129.53,48.75) size 35.39x19.19
-              chunk 1 text run 1 at (129.53,63.75) startOffset 0 endOffset 5 width 35.40: " not "
-          LayoutSVGInlineText {#text} at (164.92,48.14) size 72.59x19.19
-            chunk 1 text run 1 at (164.93,63.75) startOffset 0 endOffset 9 width 72.60: "a banana."
+        LayoutSVGText {text} at (74,48.14) size 163.80x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (74,48.14) size 55.80x19.19
+            chunk 1 text run 1 at (74.00,63.75) startOffset 0 endOffset 7 width 55.80: "You are"
+          LayoutSVGTSpan {tspan} at (74,48.14) size 163.80x19.80
+            LayoutSVGInlineText {#text} at (129.80,48.75) size 35.39x19.19
+              chunk 1 text run 1 at (129.80,63.75) startOffset 0 endOffset 5 width 35.40: " not "
+          LayoutSVGInlineText {#text} at (165.19,48.14) size 72.59x19.19
+            chunk 1 text run 1 at (165.20,63.75) startOffset 0 endOffset 9 width 72.60: "a banana."
         LayoutSVGRect {rect} at (47.50,74.25) size 310.50x53.50 [stroke={[type=SOLID] [color=#000000]}] [x=47.50] [y=74.25] [width=310.50] [height=53.50]
-        LayoutSVGText {text} at (65.25,75.14) size 210.95x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (65.25,75.14) size 210.95x19.19
-            chunk 1 text run 1 at (65.25,90.75) startOffset 0 endOffset 29 width 210.96: "Text: \"You are not a banana.\""
+        LayoutSVGText {text} at (65.25,75.14) size 211.19x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (65.25,75.14) size 211.19x19.19
+            chunk 1 text run 1 at (65.25,90.75) startOffset 0 endOffset 29 width 211.20: "Text: \"You are not a banana.\""
         LayoutSVGText {text} at (65.25,92.39) size 294x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (65.25,92.39) size 294x19.19
             chunk 1 text run 1 at (65.25,108.00) startOffset 0 endOffset 43 width 294.00: "'tspan' changes visual attributes of \"not\","
         LayoutSVGText {text} at (65.25,109.64) size 87x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (65.25,109.64) size 87x19.19
             chunk 1 text run 1 at (65.25,125.25) startOffset 0 endOffset 13 width 87.00: "to red, bold."
-      LayoutSVGContainer {g} at (225,128) size 245.81x105.08
+      LayoutSVGContainer {g} at (225,128) size 245.80x105.08
         LayoutSVGText {text} at (257.50,128) size 180.19x44.09 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (257.50,138.14) size 55.80x19.19
             chunk 1 text run 1 at (257.50,153.75) startOffset 0 endOffset 7 width 55.80: "But you"
@@ -36,12 +36,12 @@
             LayoutSVGInlineText {#text} at (369.89,152.89) size 67.80x19.19
               chunk 1 text run 1 at (369.90,168.50) startOffset 0 endOffset 9 width 67.80: " a peach!"
         LayoutSVGRect {rect} at (225,179) size 245.50x53.50 [stroke={[type=SOLID] [color=#000000]}] [x=225.00] [y=179.00] [width=245.50] [height=53.50]
-        LayoutSVGText {text} at (238,179.39) size 202.22x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (238,179.39) size 202.22x19.19
-            chunk 1 text run 1 at (238.00,195.00) startOffset 0 endOffset 28 width 202.23: "Text: \"But you are a peach!\""
-        LayoutSVGText {text} at (238,196.64) size 232.81x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (238,196.64) size 232.81x19.19
-            chunk 1 text run 1 at (238.00,212.25) startOffset 0 endOffset 34 width 232.81: "Using dx,dy, 'tspan' raises \"are\","
+        LayoutSVGText {text} at (238,179.39) size 202.19x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (238,179.39) size 202.19x19.19
+            chunk 1 text run 1 at (238.00,195.00) startOffset 0 endOffset 28 width 202.20: "Text: \"But you are a peach!\""
+        LayoutSVGText {text} at (238,196.64) size 232.80x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (238,196.64) size 232.80x19.19
+            chunk 1 text run 1 at (238.00,212.25) startOffset 0 endOffset 34 width 232.80: "Using dx,dy, 'tspan' raises \"are\","
         LayoutSVGText {text} at (238,213.89) size 177.59x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (238,213.89) size 177.59x19.19
             chunk 1 text run 1 at (238.00,229.50) startOffset 0 endOffset 25 width 177.60: "'tspan' lowers \"a peach!\""
@@ -64,12 +64,12 @@
               chunk 1 text run 1 at (81.88,230.50) startOffset 0 endOffset 1 width 9.00: "u"
               chunk 1 text run 1 at (100.63,230.50) startOffset 0 endOffset 1 width 7.80: "z"
               chunk 1 text run 1 at (119.38,230.50) startOffset 0 endOffset 1 width 7.80: "z"
-              chunk 1 text run 1 at (138.13,230.50) startOffset 0 endOffset 2 width 12.01: "y."
+              chunk 1 text run 1 at (138.13,230.50) startOffset 0 endOffset 2 width 12.00: "y."
           LayoutSVGInlineText {#text} at (0,0) size 0x0
         LayoutSVGRect {rect} at (17.50,244.75) size 335.50x53.50 [stroke={[type=SOLID] [color=#000000]}] [x=17.50] [y=244.75] [width=335.50] [height=53.50]
-        LayoutSVGText {text} at (25.25,242.39) size 162.63x19.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (25.25,242.39) size 162.63x19.19
-            chunk 1 text run 1 at (25.25,258.00) startOffset 0 endOffset 23 width 162.64: "Text: \"Cute and fuzzy.\""
+        LayoutSVGText {text} at (25.25,242.39) size 162.59x19.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (25.25,242.39) size 162.59x19.19
+            chunk 1 text run 1 at (25.25,258.00) startOffset 0 endOffset 23 width 162.60: "Text: \"Cute and fuzzy.\""
         LayoutSVGText {text} at (25.25,259.64) size 328.80x19.19 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (25.25,259.64) size 328.80x19.19
             chunk 1 text run 1 at (25.25,275.25) startOffset 0 endOffset 45 width 328.80: "'tspan' char-by-char placement of \"Cute and\","
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/transforms/text-with-mask-with-svg-transform-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/transforms/text-with-mask-with-svg-transform-expected.png
index deb2010..8fd9b2ac 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/transforms/text-with-mask-with-svg-transform-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/transforms/text-with-mask-with-svg-transform-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/transforms/text-with-mask-with-svg-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/transforms/text-with-mask-with-svg-transform-expected.txt
index 45727d0d..439c3813 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/transforms/text-with-mask-with-svg-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/transforms/text-with-mask-with-svg-transform-expected.txt
@@ -4,9 +4,9 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (1,1) size 478x358 [transform={m=((0.43,0.25)(-0.25,0.43)) t=(50.00,50.00)}]
       LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-      LayoutSVGText {text} at (10,5.59) size 142.44x18 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,5.59) size 142.44x18
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 21 width 142.45: "Test for mask support"
+      LayoutSVGText {text} at (10,5.59) size 142.80x18 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,5.59) size 142.80x18
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 21 width 142.80: "Test for mask support"
       LayoutSVGRect {rect} at (10,30) size 100x260 [fill={[type=SOLID] [color=#FF0000]}] [x=10.00] [y=30.00] [width=100.00] [height=260.00]
       LayoutSVGResourceMasker {mask} [id="mask1"] [maskUnits=userSpaceOnUse] [maskContentUnits=userSpaceOnUse]
         LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
@@ -40,9 +40,9 @@
         [masker="mask3"] LayoutSVGResourceMasker {mask} at (60,200) size 200x100
         LayoutSVGInlineText {#text} at (60,181.59) size 220.80x124.80
           chunk 1 text run 1 at (60.00,280.00) startOffset 0 endOffset 3 width 220.80: "SVG"
-      LayoutSVGText {text} at (200,213) size 206.27x15.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (200,213) size 206.27x15.59
-          chunk 1 text run 1 at (200.00,225.00) startOffset 0 endOffset 36 width 206.27: "Text with mask containing rectangles"
+      LayoutSVGText {text} at (200,213) size 206.39x15.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (200,213) size 206.39x15.59
+          chunk 1 text run 1 at (200.00,225.00) startOffset 0 endOffset 36 width 206.40: "Text with mask containing rectangles"
       LayoutSVGText {text} at (200,228) size 108x15.59 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (200,228) size 108x15.59
           chunk 1 text run 1 at (200.00,240.00) startOffset 0 endOffset 20 width 108.00: "of various opacities"
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt
index ff32e89..5b2451dc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {html} at (0,0) size 800x536
     LayoutBlockFlow {body} at (8,16) size 784x470
       LayoutBlockFlow {p} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 521x19
-          text run at (0,0) width 300: "CSS Transformed HTML div with SVG inside it. "
-          text run at (299,0) width 222: "objectBoundingBox patterns on text."
+        LayoutText {#text} at (0,0) size 520x19
+          text run at (0,0) width 299: "CSS Transformed HTML div with SVG inside it. "
+          text run at (299,0) width 221: "objectBoundingBox patterns on text."
 layer at (58,86) size 400x400
   LayoutBlockFlow {div} at (50,70) size 400x400
     LayoutSVGRoot {svg} at (0,0) size 400x300
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt
index 01238407..2cae88e9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt
@@ -14,14 +14,14 @@
             LayoutSVGEllipse {circle} at (10.50,10.50) size 3x3 [fill={[type=SOLID] [color=#000000]}] [cx=12.00] [cy=12.00] [r=1.50]
             LayoutSVGEllipse {circle} at (15.50,10.50) size 3x3 [fill={[type=SOLID] [color=#000000]}] [cx=17.00] [cy=12.00] [r=1.50]
             LayoutSVGPath {path} at (10,19) size 10x4 [stroke={[type=SOLID] [color=#000000] [stroke width=2.00]}] [fill={[type=SOLID] [color=#000000]}] [data="M 10 19 L 15 23 L 20 19"]
-        LayoutSVGText {text} at (10,102.19) size 39.05x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,102.19) size 39.05x10.19
-            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 39.06: "Viewport 1"
+        LayoutSVGText {text} at (10,102.19) size 39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,102.19) size 39x10.19
+            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 10 width 39.00: "Viewport 1"
         LayoutSVGContainer {g} at (0.50,0.50) size 49x29 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,120.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 49x29 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=49.00] [height=29.00]
-        LayoutSVGText {text} at (10,172.19) size 39.05x10.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,172.19) size 39.05x10.19
-            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 39.06: "Viewport 2"
+        LayoutSVGText {text} at (10,172.19) size 39x10.19 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,172.19) size 39x10.19
+            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 10 width 39.00: "Viewport 2"
         LayoutSVGContainer {g} at (0.50,0.50) size 29x59 [transform={m=((1.00,0.00)(0.00,1.00)) t=(20.00,190.00)}]
           LayoutSVGRect {rect} at (0.50,0.50) size 29x59 [stroke={[type=SOLID] [color=#0000FF]}] [x=0.50] [y=0.50] [width=29.00] [height=59.00]
         LayoutSVGContainer {g} at (0,-27.80) size 119.50x107.42 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,50.00)}]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-hixie-mixed-008-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-hixie-mixed-008-expected.png
index 415ff275..77730adf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-hixie-mixed-008-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-hixie-mixed-008-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-hixie-mixed-009-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-hixie-mixed-009-expected.png
index c4780f27..9242030 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-hixie-mixed-009-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-hixie-mixed-009-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-float-border-padding-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-float-border-padding-expected.png
index b29ee8a..a014447 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-float-border-padding-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-float-border-padding-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt
index 05a152c9..5a7b447 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {html} at (0,0) size 800x353.20
     LayoutBlockFlow {body} at (5.55,11.11) size 788.91x330.98
       LayoutBlockFlow {p} at (0,0) size 788.91x14
-        LayoutText {#text} at (0,0) size 92x14
-          text run at (0,0) width 92: "Text above the rect"
+        LayoutText {#text} at (0,0) size 91x14
+          text run at (0,0) width 91: "Text above the rect"
       LayoutBlockFlow (anonymous) at (0,25.11) size 788.91x280.77
         LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {p} at (0,316.98) size 788.91x14
-        LayoutText {#text} at (0,0) size 91x14
-          text run at (0,0) width 91: "Text below the rect"
+        LayoutText {#text} at (0,0) size 90x14
+          text run at (0,0) width 90: "Text below the rect"
 layer at (6,36) size 278x278
   LayoutEmbeddedObject {object} at (0,0) size 277.77x277.77
     layer at (0,0) size 278x278
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png
index 9ff28bf..285bbed8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1055-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1055-1-expected.png
index 880c767..4d75e2a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1055-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1055-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug106158-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug106158-1-expected.png
index 61d92065..0dc993c0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug106158-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug106158-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug106158-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug106158-2-expected.png
index b0dc8c1d..f1fa37da 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug106158-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug106158-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug10633-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug10633-expected.png
index d5aabca..44483b1a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug10633-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug10633-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug109043-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug109043-expected.png
index 2f426a6c..de928db 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug109043-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug109043-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug113235-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug113235-1-expected.png
index 59cafd5..5fd828415 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug113235-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug113235-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug11384s-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug11384s-expected.png
index 7c3cd2e..1df8bf7d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug11384s-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug11384s-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1188-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1188-expected.png
index c43c5dee..493fe89ae 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1188-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1188-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug11944-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug11944-expected.png
index f5d2916..6962cfc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug11944-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug11944-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1302-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1302-expected.png
index 822a084e..63a919c4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1302-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1302-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug131020-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug131020-expected.png
index fdfcc73..1601804 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug131020-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug131020-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug131020_iframe-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug131020_iframe-expected.png
index a504d41d..2c2deb92 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug131020_iframe-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug131020_iframe-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug13118-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug13118-expected.png
index 53d2877..64fc4dd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug13118-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug13118-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1318-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1318-expected.png
index 97212a3..2ebbffe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1318-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug1318-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug139524-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug139524-2-expected.png
index 52f3b7e..6c054f72 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug139524-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug139524-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug14323-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug14323-expected.png
index 852dd37..fe723411 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug14323-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug14323-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug17130-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug17130-1-expected.png
index 32edb51e..3aa76107 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug17130-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug17130-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug17130-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug17130-2-expected.png
index 4e4c644..1db7a4f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug17130-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug17130-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug17138-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug17138-expected.png
index 54f8713c..dd0add5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug17138-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug17138-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug18664-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug18664-expected.png
index bf3b3a0c..50337255 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug18664-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug18664-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug18955-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug18955-expected.png
index 26ee474..8a4f62dd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug18955-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug18955-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug20579-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug20579-expected.png
index c09a78b..422bf0d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug20579-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug20579-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug20804-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug20804-expected.png
index f69e1e6c..97f119e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug20804-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug20804-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug220536-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug220536-expected.png
index cc22572..a80e278 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug220536-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug220536-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-2-expected.png
index 330586e..b646b6a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-2a-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-2a-expected.png
index 330586e..b646b6a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-2a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-2a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-3-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-3-expected.png
index eb28aaa..840dbcf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-3a-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-3a-expected.png
index eb28aaa..840dbcf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-3a-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug22246-3a-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug23235-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug23235-expected.png
index c876237..f1d56c9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug23235-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug23235-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug2479-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug2479-1-expected.png
index 5134e21..23225043 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug2479-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug2479-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug2479-3-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug2479-3-expected.png
index 34a0e10..53c1905e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug2479-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug2479-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug27038-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug27038-2-expected.png
index 5158823..95af7430 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug27038-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug27038-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug29058-3-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug29058-3-expected.png
index d0fac2d..9d1ab707 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug29058-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug29058-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug29157-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug29157-expected.png
index fbf4708..0e8f827e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug29157-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug29157-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug32205-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug32205-2-expected.png
index 05352f2..45456b7c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug32205-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug32205-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug3260-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug3260-expected.png
index 989c66f..c40fc1a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug3260-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug3260-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug3454-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug3454-expected.png
index 50a1ed3..cdc49b09 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug3454-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug3454-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug42187-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug42187-expected.png
index 72ed074f..1a2ddbe6a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug42187-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug42187-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug43854-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug43854-2-expected.png
index 1f4c8c2..70b7079 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug43854-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug43854-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug44523-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug44523-expected.png
index d911808..7ecd6a22 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug44523-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug44523-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46268-3-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46268-3-expected.png
index 32353f1e..03dbe93d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46268-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46268-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46480-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46480-1-expected.png
index 0f68682..70b29ca3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46480-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46480-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46480-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46480-2-expected.png
index 42e6a64..f781b526 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46480-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46480-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46623-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46623-1-expected.png
index e9982caa..921717d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46623-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46623-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46623-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46623-2-expected.png
index b59f65736..c641cf88 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46623-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug46623-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug4803-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug4803-expected.png
index 0f41f28..946237b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug4803-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug4803-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug5538-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug5538-expected.png
index c70af0f05..9ca9981 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug5538-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug5538-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug57828-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug57828-2-expected.png
index d671afa..8bfedb1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug57828-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug57828-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug5838-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug5838-expected.png
index 147cedd..8f1161a5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug5838-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug5838-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug59354-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug59354-expected.png
index 9ae6c37..898cb32 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug59354-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug59354-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug6184-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug6184-expected.png
index ff422c1c..ed71794 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug6184-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug6184-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug6304-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug6304-expected.png
index 860f76f..db1f52d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug6304-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug6304-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug69382-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug69382-1-expected.png
index ff89fd5..f6f7d82 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug69382-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug69382-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug7112-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug7112-1-expected.png
index 884c869..b28ff2c3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug7112-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug7112-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug7112-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug7112-2-expected.png
index d4d19f5..cdc72d7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug7112-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug7112-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug73321-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug73321-expected.png
index 6f130fc..0d61901 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug73321-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug73321-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug7342-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug7342-expected.png
index f9237f5..5571aa9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug7342-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug7342-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug80762-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug80762-1-expected.png
index 9ddb999..a0d15bd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug80762-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug80762-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug82946-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug82946-1-expected.png
index 8e81472..f5ab036f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug82946-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug82946-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug82946-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug82946-2-expected.png
index aa69b8d..bddabac5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug82946-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug82946-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug8381-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug8381-expected.png
index f6d89ec..303890ff 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug8381-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug8381-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug8858-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug8858-expected.png
index 23b9fc2..0da30a84 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug8858-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug8858-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug96334-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug96334-expected.png
index 004c521a..08cace9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug96334-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/bugs/bug96334-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/collapsing_borders/bug41262-3-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/collapsing_borders/bug41262-3-expected.png
index 069a202..d60ebafb7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/collapsing_borders/bug41262-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/collapsing_borders/bug41262-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/core/bloomberg-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/core/bloomberg-expected.png
index c0052c8..5c18539 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/core/bloomberg-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/core/bloomberg-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/appendCol2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/appendCol2-expected.png
index 117995a..0266b0a6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/appendCol2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/appendCol2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/appendRowsExpand1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/appendRowsExpand1-expected.png
index 7fb3cc6..d5ff7c7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/appendRowsExpand1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/appendRowsExpand1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/appendTbodyExpand1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/appendTbodyExpand1-expected.png
index 11cb00d..4633901cf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/appendTbodyExpand1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/appendTbodyExpand1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/deleteCellsShrink1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/deleteCellsShrink1-expected.png
index 1c99282..7c9338e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/deleteCellsShrink1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/deleteCellsShrink1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/deleteRowsRebuild1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/deleteRowsRebuild1-expected.png
index 69f39dc..5eacc46 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/deleteRowsRebuild1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/deleteRowsRebuild1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/deleteRowsShrink1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/deleteRowsShrink1-expected.png
index 69f39dc..5eacc46 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/deleteRowsShrink1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/deleteRowsShrink1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/insertRowsExpand1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/insertRowsExpand1-expected.png
index 48a2d26..1a52d01 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/insertRowsExpand1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/insertRowsExpand1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/insertRowsRebuild1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/insertRowsRebuild1-expected.png
index 112d8941..0a618f78 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/insertRowsRebuild1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/dom/insertRowsRebuild1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/body_thead-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/body_thead-expected.png
index 8a37e43..da9c849 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/body_thead-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/body_thead-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/table_rules_all-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/table_rules_all-expected.png
index f854e60..78ce8fce 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/table_rules_all-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/table_rules_all-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/table_rules_groups-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/table_rules_groups-expected.png
index d42fca3..fe56ed1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/table_rules_groups-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/table_rules_groups-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_caption_align_bot-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_caption_align_bot-expected.png
index 705aa590..7f5d60e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_caption_align_bot-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_caption_align_bot-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_caption_align_top-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_caption_align_top-expected.png
index c50bd1b0..50015e2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_caption_align_top-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_caption_align_top-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_cellpadding-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_cellpadding-expected.png
index c3010d0b..1f131e1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_cellpadding-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_cellpadding-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_td_colspan-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_td_colspan-expected.png
index 207521f12..94cbee4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_td_colspan-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_td_colspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_td_rowspan-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_td_rowspan-expected.png
index 3a7e32e..5198318 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_td_rowspan-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_td_rowspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_td_width-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_td_width-expected.png
index ee4f213e..bb3af21 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_td_width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_td_width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_th_colspan-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_th_colspan-expected.png
index cbb14d58..3fa1004 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_th_colspan-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_th_colspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_th_rowspan-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_th_rowspan-expected.png
index f6eb8276..80a4a439 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_th_rowspan-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_th_rowspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_th_width-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_th_width-expected.png
index eaa5051d..cbae26f7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_th_width-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/tables_th_width-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_tbody_align_justify-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_tbody_align_justify-expected.png
index 24baf58f..b0cfc37 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_tbody_align_justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_tbody_align_justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_td_align_justify-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_td_align_justify-expected.png
index 5eae9076..3db17c9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_td_align_justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_td_align_justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_tfoot_align_justify-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_tfoot_align_justify-expected.png
index b277246..c9bfaf87 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_tfoot_align_justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_tfoot_align_justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_th_valign_baseline-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_th_valign_baseline-expected.png
index 2ff00a61..3d96f8ad3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_th_valign_baseline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_th_valign_baseline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_thead_align_justify-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_thead_align_justify-expected.png
index bab4846..29e85638 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_thead_align_justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_thead_align_justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_tr_align_justify-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_tr_align_justify-expected.png
index c6ca45e..123777af 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_tr_align_justify-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/marvin/x_tr_align_justify-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/other/test6-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/other/test6-expected.png
index f659848..e2d9227d5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/other/test6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/other/test6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/other/wa_table_thtd_rowspan-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/other/wa_table_thtd_rowspan-expected.png
index 0ac40ed2e..60b6b5a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/other/wa_table_thtd_rowspan-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/other/wa_table_thtd_rowspan-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/other/wa_table_tr_align-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/other/wa_table_tr_align-expected.png
index c5c7788..181402c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/other/wa_table_tr_align-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla/other/wa_table_tr_align-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug1010-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug1010-expected.png
index 03c704e..c3c91534 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug1010-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug1010-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png
index ea29606..76075a5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug1128-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug1128-expected.png
index 5a9b4d69..c983995 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug1128-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug1128-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug14007-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug14007-2-expected.png
index 1a173ac9..072cd97 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug14007-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug14007-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug29058-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug29058-2-expected.png
index 5b3c30b5..0441797 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug29058-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug29058-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug42043-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug42043-expected.png
index 321737c..9306f0cb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug42043-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug42043-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug46268-4-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug46268-4-expected.png
index 67bc6546..fbd4f3e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug46268-4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug46268-4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug56024-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug56024-expected.png
index 4115144..6a67519 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug56024-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug56024-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug61042-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug61042-1-expected.png
index c0a13df..1541fe4c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug61042-1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug61042-1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug61042-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug61042-2-expected.png
index c0a13df..1541fe4c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug61042-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug61042-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug80762-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug80762-2-expected.png
index 2fdd79d..0d38fcd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug80762-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug80762-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug89315-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug89315-expected.png
index 68319184..cf2d15d9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug89315-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug89315-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug91057-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug91057-expected.png
index 0a1d1da..31849b76 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug91057-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/bugs/bug91057-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.png
index 0c25549..4d17caf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.png
index ef3d6b8..159d196 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/core/captions1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/core/captions1-expected.png
index 4c531ce..3d02f29 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/core/captions1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/core/captions1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/core/captions2-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/core/captions2-expected.png
index 1f5f75b..a4e4aae 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/core/captions2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/core/captions2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/core/cols1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/core/cols1-expected.png
index d711525..0acaa185 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/core/cols1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/core/cols1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/appendCells1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/appendCells1-expected.png
index 0843b7a..2f86fec 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/appendCells1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/appendCells1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/appendCol1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/appendCol1-expected.png
index 117995a..0266b0a6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/appendCol1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/appendCol1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/insertTbodyExpand1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/insertTbodyExpand1-expected.png
index 1bb07605..d12e268 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/insertTbodyExpand1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/insertTbodyExpand1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/insertTbodyRebuild1-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/insertTbodyRebuild1-expected.png
index 1bb07605..d12e268 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/insertTbodyRebuild1-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/dom/insertTbodyRebuild1-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.png
index 0ed5631..d282a61 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/table_frame_lhs-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/table_frame_lhs-expected.png
index c2d549e9..1bd74c2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/table_frame_lhs-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/table_frame_lhs-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/table_frame_rhs-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/table_frame_rhs-expected.png
index a54fb1e..5199159 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/table_frame_rhs-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/table_frame_rhs-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/table_rules_cols-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/table_rules_cols-expected.png
index a078459..db7981b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/table_rules_cols-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/table_rules_cols-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/tables_caption_align_left-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/tables_caption_align_left-expected.png
index 4d1794c..1b232b19 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/tables_caption_align_left-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/tables_caption_align_left-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/tables_caption_align_right-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/tables_caption_align_right-expected.png
index b06d594..e3450f9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/tables_caption_align_right-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/marvin/tables_caption_align_right-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/other/test4-expected.png b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/other/test4-expected.png
index 813ef7ef..fb2f3b3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/other/test4-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/tables/mozilla_expected_failures/other/test4-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/2d/compound-transforms-vs-containers-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/2d/compound-transforms-vs-containers-expected.txt
index 936e63d..2987884 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/2d/compound-transforms-vs-containers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/2d/compound-transforms-vs-containers-expected.txt
@@ -4,14 +4,14 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x560
     LayoutBlockFlow {BODY} at (8,16) size 784x524
       LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 784x39
-          text run at (0,0) width 784: "Test ensures that nested transformed elements produce the same result as a single compound transform.You should not see any red"
+        LayoutText {#text} at (0,0) size 783x39
+          text run at (0,0) width 783: "Test ensures that nested transformed elements produce the same result as a single compound transform.You should not see any red"
           text run at (0,20) width 131: "in the two tests below"
 layer at (78,76) size 402x222
   LayoutBlockFlow (relative positioned) {DIV} at (20,60) size 402x222 [border: (1px solid #000000)]
     LayoutBlockFlow {P} at (1,17) size 400x20
-      LayoutText {#text} at (0,0) size 81x19
-        text run at (0,0) width 81: "Translate first"
+      LayoutText {#text} at (0,0) size 80x19
+        text run at (0,0) width 80: "Translate first"
 layer at (79,129) size 80x80
   LayoutBlockFlow (positioned) {DIV} at (1,53) size 80x80
 layer at (154,149) size 80x80
@@ -27,8 +27,8 @@
 layer at (78,318) size 402x222
   LayoutBlockFlow (relative positioned) {DIV} at (20,302) size 402x222 [border: (1px solid #000000)]
     LayoutBlockFlow {P} at (1,17) size 400x20
-      LayoutText {#text} at (0,0) size 102x19
-        text run at (0,0) width 102: "Translate second"
+      LayoutText {#text} at (0,0) size 101x19
+        text run at (0,0) width 101: "Translate second"
 layer at (79,371) size 80x80
   LayoutBlockFlow (positioned) {DIV} at (1,53) size 80x80
 layer at (79,371) size 80x80
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/2d/hindi-rotated-expected.png b/third_party/WebKit/LayoutTests/platform/win/transforms/2d/hindi-rotated-expected.png
index 3ddb1d8..dc0781a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/2d/hindi-rotated-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/2d/hindi-rotated-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/2d/transform-borderbox-expected.png b/third_party/WebKit/LayoutTests/platform/win/transforms/2d/transform-borderbox-expected.png
index 80beb5f..767f549 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/2d/transform-borderbox-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/2d/transform-borderbox-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/2d/transform-fixed-container-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/2d/transform-fixed-container-expected.txt
index e3f62c6..1386485 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/2d/transform-fixed-container-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/2d/transform-fixed-container-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 785x1150
     LayoutBlockFlow {BODY} at (0,150) size 785x1000
       LayoutBlockFlow {P} at (0,250) size 785x20
-        LayoutText {#text} at (0,0) size 518x19
-          text run at (0,0) width 518: "Tests fixed position elements combined with transforms. You should see no red above."
+        LayoutText {#text} at (0,0) size 517x19
+          text run at (0,0) width 517: "Tests fixed position elements combined with transforms. You should see no red above."
 layer at (50,100) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (50,200) size 100x100 [bgcolor=#FF0000]
 layer at (250,100) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/general/perspective-units-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/general/perspective-units-expected.txt
index 93da364..90c109d7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/general/perspective-units-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/general/perspective-units-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x581
     LayoutBlockFlow {BODY} at (8,16) size 784x557
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 473x19
-          text run at (0,0) width 473: "-webkit-perspective should take units. All four should look qualitatively similar."
+        LayoutText {#text} at (0,0) size 472x19
+          text run at (0,0) width 472: "-webkit-perspective should take units. All four should look qualitatively similar."
       LayoutBlockFlow (anonymous) at (0,36) size 784x521
         LayoutText {#text} at (242,157) size 4x19
           text run at (242,157) width 4: " "
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/hit-testing/backface-hit-test-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/hit-testing/backface-hit-test-expected.txt
index d494f36e..5411e15a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/hit-testing/backface-hit-test-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/hit-testing/backface-hit-test-expected.txt
@@ -13,10 +13,10 @@
       LayoutBlockFlow {DIV} at (0,238) size 784x40
         LayoutText {#text} at (0,0) size 159x19
           text run at (0,0) width 159: "Found box1 on left: PASS"
-        LayoutBR {BR} at (158,15) size 1x0
+        LayoutBR {BR} at (159,15) size 0x0
         LayoutText {#text} at (0,20) size 191x19
           text run at (0,20) width 191: "Found container on right: PASS"
-        LayoutBR {BR} at (190,35) size 1x0
+        LayoutBR {BR} at (191,35) size 0x0
 layer at (27,63) size 160x160
   LayoutBlockFlow {DIV} at (19,19) size 160x160 [bgcolor=#808080]
 layer at (227,63) size 160x160
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/hit-testing/backface-no-transform-hit-test-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/hit-testing/backface-no-transform-hit-test-expected.txt
index 177c9f1..bfd6a35 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/hit-testing/backface-no-transform-hit-test-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/hit-testing/backface-no-transform-hit-test-expected.txt
@@ -9,10 +9,10 @@
       LayoutBlockFlow {DIV} at (0,238) size 784x40
         LayoutText {#text} at (0,0) size 183x19
           text run at (0,0) width 183: "Found container on left: PASS"
-        LayoutBR {BR} at (182,15) size 1x0
+        LayoutBR {BR} at (183,15) size 0x0
         LayoutText {#text} at (0,20) size 167x19
           text run at (0,20) width 167: "Found box1 on right: PASS"
-        LayoutBR {BR} at (166,35) size 1x0
+        LayoutBR {BR} at (167,35) size 0x0
 layer at (8,44) size 402x202
   LayoutBlockFlow {DIV} at (0,36) size 402x202 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
     LayoutText {#text} at (197,32) size 4x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-2-expected.png b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-2-expected.png
index 58fbc27..a2a0581 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-2-expected.txt
index 6f432cb7..d41b885 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-2-expected.txt
@@ -11,28 +11,28 @@
         text run at (489,228) width 4: " "
       LayoutBlockFlow {DIV} at (513,21) size 202x202 [border: (1px solid #000000)]
       LayoutText {#text} at (0,0) size 0x0
-layer at (30,500) size 303x100
-  LayoutBlockFlow (positioned) {DIV} at (30,500) size 303.25x100
+layer at (30,500) size 304x100
+  LayoutBlockFlow (positioned) {DIV} at (30,500) size 304x100
     LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
       LayoutText {#text} at (0,0) size 304x19
         text run at (0,0) width 304: "PASS: event at (120, 128) hit box4 at offset (1, 1)"
-    LayoutBR {BR} at (303,15) size 1x0
+    LayoutBR {BR} at (304,15) size 0x0
     LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
       LayoutText {#text} at (0,20) size 296x19
         text run at (0,20) width 296: "PASS: event at (336, 87) hit box7 at offset (1, 1)"
-    LayoutBR {BR} at (295,35) size 1x0
+    LayoutBR {BR} at (296,35) size 0x0
     LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
       LayoutText {#text} at (0,40) size 296x19
         text run at (0,40) width 296: "PASS: event at (348, 86) hit box8 at offset (1, 1)"
-    LayoutBR {BR} at (295,55) size 1x0
+    LayoutBR {BR} at (296,55) size 0x0
     LayoutInline {SPAN} at (0,0) size 303x19 [color=#008000]
       LayoutText {#text} at (0,60) size 303x19
         text run at (0,60) width 303: "PASS: event at (582, 87) hit box11 at offset (1, 1)"
-    LayoutBR {BR} at (302,75) size 1x0
+    LayoutBR {BR} at (303,75) size 0x0
     LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
       LayoutText {#text} at (0,80) size 304x19
         text run at (0,80) width 304: "PASS: event at (594, 86) hit box12 at offset (1, 1)"
-    LayoutBR {BR} at (303,95) size 1x0
+    LayoutBR {BR} at (304,95) size 0x0
 layer at (42,42) size 140x140
   LayoutBlockFlow {DIV} at (21,21) size 140x140 [bgcolor=#DDDDDD] [border: (1px solid #000000)]
 layer at (63,63) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-3-expected.png b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-3-expected.png
index 0d81e6c..b3dcc16 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-3-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-3-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-3-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-3-expected.txt
index 4a5bbbb..7b3a84f7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-3-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-3-expected.txt
@@ -3,24 +3,24 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-layer at (30,500) size 331x80
-  LayoutBlockFlow (positioned) {DIV} at (30,500) size 331.25x80
+layer at (30,500) size 332x80
+  LayoutBlockFlow (positioned) {DIV} at (30,500) size 332x80
     LayoutInline {SPAN} at (0,0) size 292x19 [color=#008000]
       LayoutText {#text} at (0,0) size 292x19
         text run at (0,0) width 292: "PASS: event at (158, 83) hit card at offset (2, 2)"
-    LayoutBR {BR} at (291,15) size 1x0
+    LayoutBR {BR} at (292,15) size 0x0
     LayoutInline {SPAN} at (0,0) size 315x19 [color=#008000]
       LayoutText {#text} at (0,20) size 315x19
         text run at (0,20) width 315: "PASS: event at (309, 112) hit card at offset (198, 2)"
-    LayoutBR {BR} at (314,35) size 1x0
+    LayoutBR {BR} at (315,35) size 0x0
     LayoutInline {SPAN} at (0,0) size 316x19 [color=#008000]
       LayoutText {#text} at (0,40) size 316x19
         text run at (0,40) width 316: "PASS: event at (158, 338) hit card at offset (2, 198)"
-    LayoutBR {BR} at (315,55) size 1x0
+    LayoutBR {BR} at (316,55) size 0x0
     LayoutInline {SPAN} at (0,0) size 332x19 [color=#008000]
       LayoutText {#text} at (0,60) size 332x19
         text run at (0,60) width 332: "PASS: event at (309, 308) hit card at offset (198, 198)"
-    LayoutBR {BR} at (331,75) size 1x0
+    LayoutBR {BR} at (332,75) size 0x0
 layer at (8,8) size 402x402
   LayoutBlockFlow (positioned) {DIV} at (8,8) size 402x402 [border: (1px solid #000000)]
 layer at (59,59) size 302x302
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.png b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.png
index 63fe205..191ad23 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.txt
index 154fbf2..c33ec642 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.txt
@@ -9,24 +9,24 @@
       LayoutBlockFlow {P} at (1,359) size 798x20
         LayoutText {#text} at (0,0) size 349x19
           text run at (0,0) width 349: "When hit-testing coplanar elements, document order wins."
-layer at (30,400) size 295x80
-  LayoutBlockFlow (positioned) {DIV} at (30,400) size 295.25x80
+layer at (30,400) size 296x80
+  LayoutBlockFlow (positioned) {DIV} at (30,400) size 296x80
     LayoutInline {SPAN} at (0,0) size 288x19 [color=#008000]
       LayoutText {#text} at (0,0) size 288x19
         text run at (0,0) width 288: "PASS: event at (44, 44) hit box1 at offset (1, 1)"
-    LayoutBR {BR} at (287,15) size 1x0
+    LayoutBR {BR} at (288,15) size 0x0
     LayoutInline {SPAN} at (0,0) size 288x19 [color=#008000]
       LayoutText {#text} at (0,20) size 288x19
         text run at (0,20) width 288: "PASS: event at (70, 59) hit box2 at offset (1, 1)"
-    LayoutBR {BR} at (287,35) size 1x0
+    LayoutBR {BR} at (288,35) size 0x0
     LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
       LayoutText {#text} at (0,40) size 296x19
         text run at (0,40) width 296: "PASS: event at (70, 101) hit box3 at offset (1, 1)"
-    LayoutBR {BR} at (295,55) size 1x0
+    LayoutBR {BR} at (296,55) size 0x0
     LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
       LayoutText {#text} at (0,60) size 296x19
         text run at (0,60) width 296: "PASS: event at (70, 144) hit box4 at offset (1, 1)"
-    LayoutBR {BR} at (295,75) size 1x0
+    LayoutBR {BR} at (296,75) size 0x0
 layer at (42,42) size 260x260
   LayoutBlockFlow (relative positioned) {DIV} at (21,21) size 260x260 [bgcolor=#DDDDDD] [border: (1px solid #000000)]
 layer at (73,63) size 200x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-deep-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-deep-expected.txt
index 8d6b5d6..5a39765 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-deep-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-deep-expected.txt
@@ -20,37 +20,37 @@
 layer at (268,268) size 300x300
   LayoutBlockFlow {DIV} at (41,41) size 300x300 [border: (1px solid #000000)]
     LayoutBlockFlow {DIV} at (61,61) size 90x90 [bgcolor=#0000FF]
-layer at (30,650) size 335x160 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutBlockFlow (positioned) {DIV} at (30,650) size 335.25x160
+layer at (30,650) size 336x160 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow (positioned) {DIV} at (30,650) size 336x160
     LayoutInline {SPAN} at (0,0) size 288x19 [color=#008000]
       LayoutText {#text} at (0,0) size 288x19
         text run at (0,0) width 288: "PASS: event at (45, 45) hit box1 at offset (2, 2)"
-    LayoutBR {BR} at (287,15) size 1x0
+    LayoutBR {BR} at (288,15) size 0x0
     LayoutInline {SPAN} at (0,0) size 288x19 [color=#008000]
       LayoutText {#text} at (0,20) size 288x19
         text run at (0,20) width 288: "PASS: event at (54, 44) hit box2 at offset (1, 1)"
-    LayoutBR {BR} at (287,35) size 1x0
+    LayoutBR {BR} at (288,35) size 0x0
     LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
       LayoutText {#text} at (0,40) size 296x19
         text run at (0,40) width 296: "PASS: event at (104, 93) hit box3 at offset (1, 1)"
-    LayoutBR {BR} at (295,55) size 1x0
+    LayoutBR {BR} at (296,55) size 0x0
     LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
       LayoutText {#text} at (0,60) size 304x19
         text run at (0,60) width 304: "PASS: event at (175, 137) hit box4 at offset (1, 1)"
-    LayoutBR {BR} at (303,75) size 1x0
+    LayoutBR {BR} at (304,75) size 0x0
     LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
       LayoutText {#text} at (0,80) size 320x19
         text run at (0,80) width 320: "PASS: event at (167, 528) hit box4 at offset (1, 295)"
-    LayoutBR {BR} at (319,95) size 1x0
+    LayoutBR {BR} at (320,95) size 0x0
     LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
       LayoutText {#text} at (0,100) size 304x19
         text run at (0,100) width 304: "PASS: event at (227, 197) hit box5 at offset (1, 1)"
-    LayoutBR {BR} at (303,115) size 1x0
+    LayoutBR {BR} at (304,115) size 0x0
     LayoutInline {SPAN} at (0,0) size 336x19 [color=#008000]
       LayoutText {#text} at (0,120) size 336x19
         text run at (0,120) width 336: "PASS: event at (539, 569) hit box7 at offset (295, 295)"
-    LayoutBR {BR} at (335,135) size 1x0
+    LayoutBR {BR} at (336,135) size 0x0
     LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
       LayoutText {#text} at (0,140) size 320x19
         text run at (0,140) width 320: "PASS: event at (431, 441) hit box8 at offset (85, 85)"
-    LayoutBR {BR} at (319,155) size 1x0
+    LayoutBR {BR} at (320,155) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-expected.png b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-expected.png
index d58ca247..f0dda5cd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-expected.txt
index 259979c..1fceeb0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-expected.txt
@@ -3,44 +3,44 @@
 layer at (0,0) size 785x600
   LayoutBlockFlow {HTML} at (0,0) size 785x600
     LayoutBlockFlow {BODY} at (0,0) size 785x600 [border: (1px solid #000000)]
-layer at (30,500) size 327x180 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutBlockFlow (positioned) {DIV} at (30,500) size 327.25x180
+layer at (30,500) size 328x180 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow (positioned) {DIV} at (30,500) size 328x180
     LayoutInline {SPAN} at (0,0) size 288x19 [color=#008000]
       LayoutText {#text} at (0,0) size 288x19
         text run at (0,0) width 288: "PASS: event at (44, 44) hit box1 at offset (1, 1)"
-    LayoutBR {BR} at (287,15) size 1x0
+    LayoutBR {BR} at (288,15) size 0x0
     LayoutInline {SPAN} at (0,0) size 288x19 [color=#008000]
       LayoutText {#text} at (0,20) size 288x19
         text run at (0,20) width 288: "PASS: event at (69, 55) hit box2 at offset (1, 1)"
-    LayoutBR {BR} at (287,35) size 1x0
+    LayoutBR {BR} at (288,35) size 0x0
     LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
       LayoutText {#text} at (0,40) size 320x19
         text run at (0,40) width 320: "PASS: event at (165, 182) hit box2 at offset (95, 95)"
-    LayoutBR {BR} at (319,55) size 1x0
+    LayoutBR {BR} at (320,55) size 0x0
     LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
       LayoutText {#text} at (0,60) size 296x19
         text run at (0,60) width 296: "PASS: event at (333, 79) hit box7 at offset (1, 1)"
-    LayoutBR {BR} at (295,75) size 1x0
+    LayoutBR {BR} at (296,75) size 0x0
     LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
       LayoutText {#text} at (0,80) size 304x19
         text run at (0,80) width 304: "PASS: event at (87, 325) hit box10 at offset (1, 1)"
-    LayoutBR {BR} at (303,95) size 1x0
+    LayoutBR {BR} at (304,95) size 0x0
     LayoutInline {SPAN} at (0,0) size 328x19 [color=#008000]
       LayoutText {#text} at (0,100) size 328x19
         text run at (0,100) width 328: "PASS: event at (196, 467) hit box10 at offset (97, 97)"
-    LayoutBR {BR} at (327,115) size 1x0
+    LayoutBR {BR} at (328,115) size 0x0
     LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
       LayoutText {#text} at (0,120) size 312x19
         text run at (0,120) width 312: "PASS: event at (333, 325) hit box13 at offset (1, 1)"
-    LayoutBR {BR} at (311,135) size 1x0
+    LayoutBR {BR} at (312,135) size 0x0
     LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
       LayoutText {#text} at (0,140) size 312x19
         text run at (0,140) width 312: "PASS: event at (353, 352) hit box14 at offset (1, 1)"
-    LayoutBR {BR} at (311,155) size 1x0
+    LayoutBR {BR} at (312,155) size 0x0
     LayoutInline {SPAN} at (0,0) size 328x19 [color=#008000]
       LayoutText {#text} at (0,160) size 328x19
         text run at (0,160) width 328: "PASS: event at (472, 507) hit box14 at offset (96, 96)"
-    LayoutBR {BR} at (327,175) size 1x0
+    LayoutBR {BR} at (328,175) size 0x0
 layer at (21,21) size 202x202
   LayoutBlockFlow (positioned) {DIV} at (21,21) size 202x202 [border: (1px solid #000000)]
 layer at (42,42) size 140x140
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png
index 297ddd18..a62ae920 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-origins-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-origins-expected.txt
index 49f75531..d1c4aff 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-origins-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-origins-expected.txt
@@ -16,43 +16,43 @@
       LayoutBlockFlow {DIV} at (267,268) size 202x202 [border: (1px solid #000000)]
       LayoutText {#text} at (0,0) size 0x0
 layer at (30,500) size 483x180 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutBlockFlow (positioned) {DIV} at (30,500) size 482.81x180
+  LayoutBlockFlow (positioned) {DIV} at (30,500) size 483x180
     LayoutInline {SPAN} at (0,0) size 288x19 [color=#008000]
       LayoutText {#text} at (0,0) size 288x19
         text run at (0,0) width 288: "PASS: event at (48, 48) hit box1 at offset (5, 5)"
-    LayoutBR {BR} at (287,15) size 1x0
+    LayoutBR {BR} at (288,15) size 0x0
     LayoutInline {SPAN} at (0,0) size 288x19 [color=#008000]
       LayoutText {#text} at (0,20) size 288x19
         text run at (0,20) width 288: "PASS: event at (70, 41) hit box2 at offset (2, 2)"
-    LayoutBR {BR} at (287,35) size 1x0
+    LayoutBR {BR} at (288,35) size 0x0
     LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
       LayoutText {#text} at (0,40) size 320x19
         text run at (0,40) width 320: "PASS: event at (185, 164) hit box2 at offset (96, 96)"
-    LayoutBR {BR} at (319,55) size 1x0
+    LayoutBR {BR} at (320,55) size 0x0
     LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
       LayoutText {#text} at (0,60) size 296x19
         text run at (0,60) width 296: "PASS: event at (338, 64) hit box7 at offset (2, 2)"
-    LayoutBR {BR} at (295,75) size 1x0
+    LayoutBR {BR} at (296,75) size 0x0
     LayoutInline {SPAN} at (0,0) size 475x19 [color=#FF0000]
       LayoutText {#text} at (0,80) size 475x19
         text run at (0,80) width 475: "FAIL: event at (92, 310) expected to hit box10 at (2, 2) but hit box10 at (2, 1)"
-    LayoutBR {BR} at (474,95) size 1x0
+    LayoutBR {BR} at (475,95) size 0x0
     LayoutInline {SPAN} at (0,0) size 328x19 [color=#008000]
       LayoutText {#text} at (0,100) size 328x19
         text run at (0,100) width 328: "PASS: event at (217, 444) hit box10 at offset (95, 95)"
-    LayoutBR {BR} at (327,115) size 1x0
+    LayoutBR {BR} at (328,115) size 0x0
     LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
       LayoutText {#text} at (0,120) size 312x19
         text run at (0,120) width 312: "PASS: event at (337, 309) hit box13 at offset (1, 1)"
-    LayoutBR {BR} at (311,135) size 1x0
+    LayoutBR {BR} at (312,135) size 0x0
     LayoutInline {SPAN} at (0,0) size 483x19 [color=#FF0000]
       LayoutText {#text} at (0,140) size 483x19
         text run at (0,140) width 483: "FAIL: event at (360, 334) expected to hit box14 at (1, 1) but hit box14 at (1, 0)"
-    LayoutBR {BR} at (482,155) size 1x0
+    LayoutBR {BR} at (483,155) size 0x0
     LayoutInline {SPAN} at (0,0) size 328x19 [color=#008000]
       LayoutText {#text} at (0,160) size 328x19
         text run at (0,160) width 328: "PASS: event at (500, 484) hit box14 at offset (95, 95)"
-    LayoutBR {BR} at (327,175) size 1x0
+    LayoutBR {BR} at (328,175) size 0x0
 layer at (42,42) size 140x140
   LayoutBlockFlow {DIV} at (21,21) size 140x140 [bgcolor=#DDDDDD] [border: (1px solid #000000)]
 layer at (63,63) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.png b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.png
index e20fc10..c8acf42c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.txt
index 105baf9..3e38d68 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.txt
@@ -9,23 +9,23 @@
         LayoutText {#text} at (0,0) size 571x19
           text run at (0,0) width 571: "The green overlay is translated in Z by 100px, so should hit test in front relative to the blue box."
 layer at (30,400) size 332x80
-  LayoutBlockFlow (positioned) {DIV} at (30,400) size 331.66x80
+  LayoutBlockFlow (positioned) {DIV} at (30,400) size 332x80
     LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
       LayoutText {#text} at (0,0) size 312x19
         text run at (0,0) width 312: "PASS: event at (285, 50) hit box2 at offset (197, 1)"
-    LayoutBR {BR} at (311,15) size 1x0
+    LayoutBR {BR} at (312,15) size 0x0
     LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
       LayoutText {#text} at (0,20) size 312x19
         text run at (0,20) width 312: "PASS: event at (174, 108) hit box3 at offset (50, 2)"
-    LayoutBR {BR} at (311,35) size 1x0
+    LayoutBR {BR} at (312,35) size 0x0
     LayoutInline {SPAN} at (0,0) size 317x19 [color=#008000]
       LayoutText {#text} at (0,40) size 317x19
         text run at (0,40) width 317: "PASS: event at (61, 50) hit overlay at offset (39, 28)"
-    LayoutBR {BR} at (316,55) size 1x0
+    LayoutBR {BR} at (317,55) size 0x0
     LayoutInline {SPAN} at (0,0) size 332x19 [color=#008000]
       LayoutText {#text} at (0,60) size 332x19
         text run at (0,60) width 332: "PASS: event at (119, 108) hit overlay at offset (97, 86)"
-    LayoutBR {BR} at (331,75) size 1x0
+    LayoutBR {BR} at (332,75) size 0x0
 layer at (21,21) size 302x302
   LayoutBlockFlow (relative positioned) {DIV} at (20,20) size 302x302 [border: (1px solid #000000)]
 layer at (42,42) size 260x260
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png
index 8b872f9..ae65002 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.txt
index 0bbc05c..175d625 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.txt
@@ -3,76 +3,76 @@
 layer at (0,0) size 785x600
   LayoutBlockFlow {HTML} at (0,0) size 785x600
     LayoutBlockFlow {BODY} at (0,0) size 785x600 [border: (1px solid #000000)]
-layer at (30,500) size 327x340 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutBlockFlow (positioned) {DIV} at (30,500) size 327.25x340
+layer at (30,500) size 328x340 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow (positioned) {DIV} at (30,500) size 328x340
     LayoutInline {SPAN} at (0,0) size 288x19 [color=#008000]
       LayoutText {#text} at (0,0) size 288x19
         text run at (0,0) width 288: "PASS: event at (44, 44) hit box1 at offset (1, 1)"
-    LayoutBR {BR} at (287,15) size 1x0
+    LayoutBR {BR} at (288,15) size 0x0
     LayoutInline {SPAN} at (0,0) size 288x19 [color=#008000]
       LayoutText {#text} at (0,20) size 288x19
         text run at (0,20) width 288: "PASS: event at (74, 68) hit box2 at offset (1, 1)"
-    LayoutBR {BR} at (287,35) size 1x0
+    LayoutBR {BR} at (288,35) size 0x0
     LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
       LayoutText {#text} at (0,40) size 320x19
         text run at (0,40) width 320: "PASS: event at (157, 164) hit box2 at offset (97, 97)"
-    LayoutBR {BR} at (319,55) size 1x0
+    LayoutBR {BR} at (320,55) size 0x0
     LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
       LayoutText {#text} at (0,60) size 296x19
         text run at (0,60) width 296: "PASS: event at (320, 68) hit box4 at offset (1, 1)"
-    LayoutBR {BR} at (295,75) size 1x0
+    LayoutBR {BR} at (296,75) size 0x0
     LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
       LayoutText {#text} at (0,80) size 296x19
         text run at (0,80) width 296: "PASS: event at (336, 87) hit box5 at offset (1, 1)"
-    LayoutBR {BR} at (295,95) size 1x0
+    LayoutBR {BR} at (296,95) size 0x0
     LayoutInline {SPAN} at (0,0) size 296x19 [color=#008000]
       LayoutText {#text} at (0,100) size 296x19
         text run at (0,100) width 296: "PASS: event at (582, 87) hit box8 at offset (1, 1)"
-    LayoutBR {BR} at (295,115) size 1x0
+    LayoutBR {BR} at (296,115) size 0x0
     LayoutInline {SPAN} at (0,0) size 320x19 [color=#008000]
       LayoutText {#text} at (0,120) size 320x19
         text run at (0,120) width 320: "PASS: event at (658, 174) hit box8 at offset (85, 85)"
-    LayoutBR {BR} at (319,135) size 1x0
+    LayoutBR {BR} at (320,135) size 0x0
     LayoutInline {SPAN} at (0,0) size 304x19 [color=#008000]
       LayoutText {#text} at (0,140) size 304x19
         text run at (0,140) width 304: "PASS: event at (74, 314) hit box10 at offset (1, 1)"
-    LayoutBR {BR} at (303,155) size 1x0
+    LayoutBR {BR} at (304,155) size 0x0
     LayoutInline {SPAN} at (0,0) size 303x19 [color=#008000]
       LayoutText {#text} at (0,160) size 303x19
         text run at (0,160) width 303: "PASS: event at (91, 351) hit box11 at offset (1, 1)"
-    LayoutBR {BR} at (302,175) size 1x0
+    LayoutBR {BR} at (303,175) size 0x0
     LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
       LayoutText {#text} at (0,180) size 312x19
         text run at (0,180) width 312: "PASS: event at (320, 314) hit box13 at offset (1, 1)"
-    LayoutBR {BR} at (311,195) size 1x0
+    LayoutBR {BR} at (312,195) size 0x0
     LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
       LayoutText {#text} at (0,200) size 312x19
         text run at (0,200) width 312: "PASS: event at (343, 351) hit box14 at offset (1, 1)"
-    LayoutBR {BR} at (311,215) size 1x0
+    LayoutBR {BR} at (312,215) size 0x0
     LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
       LayoutText {#text} at (0,220) size 312x19
         text run at (0,220) width 312: "PASS: event at (365, 375) hit box15 at offset (1, 1)"
-    LayoutBR {BR} at (311,235) size 1x0
+    LayoutBR {BR} at (312,235) size 0x0
     LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
       LayoutText {#text} at (0,240) size 312x19
         text run at (0,240) width 312: "PASS: event at (566, 314) hit box17 at offset (1, 1)"
-    LayoutBR {BR} at (311,255) size 1x0
+    LayoutBR {BR} at (312,255) size 0x0
     LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
       LayoutText {#text} at (0,260) size 312x19
         text run at (0,260) width 312: "PASS: event at (587, 352) hit box18 at offset (1, 1)"
-    LayoutBR {BR} at (311,275) size 1x0
+    LayoutBR {BR} at (312,275) size 0x0
     LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
       LayoutText {#text} at (0,280) size 312x19
         text run at (0,280) width 312: "PASS: event at (629, 401) hit box19 at offset (1, 1)"
-    LayoutBR {BR} at (311,295) size 1x0
+    LayoutBR {BR} at (312,295) size 0x0
     LayoutInline {SPAN} at (0,0) size 312x19 [color=#008000]
       LayoutText {#text} at (0,300) size 312x19
         text run at (0,300) width 312: "PASS: event at (653, 422) hit box20 at offset (1, 1)"
-    LayoutBR {BR} at (311,315) size 1x0
+    LayoutBR {BR} at (312,315) size 0x0
     LayoutInline {SPAN} at (0,0) size 328x19 [color=#008000]
       LayoutText {#text} at (0,320) size 328x19
         text run at (0,320) width 328: "PASS: event at (745, 505) hit box20 at offset (85, 86)"
-    LayoutBR {BR} at (327,335) size 1x0
+    LayoutBR {BR} at (328,335) size 0x0
 layer at (21,21) size 202x202
   LayoutBlockFlow (positioned) {DIV} at (21,21) size 202x202 [border: (1px solid #000000)]
 layer at (42,42) size 140x140
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/bounding-rect-zoom-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/bounding-rect-zoom-expected.txt
index 70529b9..8f7e2f0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/bounding-rect-zoom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/bounding-rect-zoom-expected.txt
@@ -6,7 +6,7 @@
       LayoutBlockFlow {P} at (0,0) size 785.63x34
         LayoutText {#text} at (0,0) size 306x16
           text run at (0,0) width 306: "Tests that these functions account for full page zoom."
-        LayoutBR {BR} at (305,13) size 1x0
+        LayoutBR {BR} at (306,13) size 0x0
         LayoutText {#text} at (0,17) size 174x16
           text run at (0,17) width 174: "There should be no red visible."
       LayoutTable {TABLE} at (0,48.39) size 785x21
@@ -23,7 +23,7 @@
 layer at (90,90) size 90x90
   LayoutBlockFlow (positioned) {DIV} at (90,90) size 90x90 [bgcolor=#008000]
 layer at (9,198) size 33x18
-  LayoutBlockFlow (positioned) {DIV} at (9,198) size 32.94x18
+  LayoutBlockFlow (positioned) {DIV} at (9,198) size 33x18
     LayoutInline {SPAN} at (0,0) size 33x16 [color=#008000]
       LayoutInline {B} at (0,0) size 33x17
         LayoutText {#text} at (0,0) size 33x17
@@ -33,7 +33,7 @@
 layer at (270,90) size 90x90
   LayoutBlockFlow (positioned) {DIV} at (270,90) size 90x90 [bgcolor=#008000]
 layer at (198,198) size 33x18
-  LayoutBlockFlow (positioned) {DIV} at (198,198) size 32.94x18
+  LayoutBlockFlow (positioned) {DIV} at (198,198) size 33x18
     LayoutInline {SPAN} at (0,0) size 33x16 [color=#008000]
       LayoutInline {B} at (0,0) size 33x17
         LayoutText {#text} at (0,0) size 33x17
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/diamond-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/diamond-expected.txt
index 77511ce..673d5ea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/diamond-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/diamond-expected.txt
@@ -4,9 +4,9 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 720x19
-          text run at (0,0) width 218: "You should see three blocks below. "
-          text run at (217,0) width 503: "The middle one should look like a diamond because it has been rotated 45 degrees."
+        LayoutText {#text} at (0,0) size 719x19
+          text run at (0,0) width 217: "You should see three blocks below. "
+          text run at (217,0) width 502: "The middle one should look like a diamond because it has been rotated 45 degrees."
       LayoutBlockFlow (floating) {DIV} at (5,41) size 110x110 [bgcolor=#87CEEB] [border: (5px solid #000000)]
       LayoutBlockFlow (floating) {DIV} at (245,41) size 110x110 [bgcolor=#87CEEB] [border: (5px solid #000000)]
 layer at (133,49) size 110x110
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/transform-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/transform-overflow-expected.txt
index a376db7be..ee42300c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/transform-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/transform-overflow-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (0,0) size 800x584
       LayoutBlockFlow {P} at (0,216) size 800x20
-        LayoutText {#text} at (0,0) size 240x19
-          text run at (0,0) width 240: "You should see one green square above"
+        LayoutText {#text} at (0,0) size 239x19
+          text run at (0,0) width 239: "You should see one green square above"
 layer at (50,50) size 100x100
   LayoutBlockFlow (positioned) {DIV} at (50,50) size 100x100 [bgcolor=#FF0000]
 layer at (0,0) size 200x200 backgroundClip at (50,50) size 100x100 clip at (50,50) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/transform-positioned-ancestor-expected.png b/third_party/WebKit/LayoutTests/platform/win/transforms/transform-positioned-ancestor-expected.png
index 02e897b..65b963a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/transform-positioned-ancestor-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/transform-positioned-ancestor-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/transform-positioned-ancestor-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/transform-positioned-ancestor-expected.txt
index 420ea93..92d332cf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/transform-positioned-ancestor-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/transform-positioned-ancestor-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x362
     LayoutBlockFlow {BODY} at (8,16) size 784x338
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 483x19
-          text run at (0,0) width 483: "You should see a green box inside a gray box. If you see red, the test has failed. "
-        LayoutInline {A} at (0,0) size 292x19 [color=#0000EE]
-          LayoutText {#text} at (482,0) size 292x19
-            text run at (482,0) width 292: "https://bugs.webkit.org/show_bug.cgi?id=18885"
+        LayoutText {#text} at (0,0) size 482x19
+          text run at (0,0) width 482: "You should see a green box inside a gray box. If you see red, the test has failed. "
+        LayoutInline {A} at (0,0) size 291x19 [color=#0000EE]
+          LayoutText {#text} at (482,0) size 291x19
+            text run at (482,0) width 291: "https://bugs.webkit.org/show_bug.cgi?id=18885"
         LayoutText {#text} at (0,0) size 0x0
 layer at (8,52) size 302x302
   LayoutBlockFlow (relative positioned) {DIV} at (0,36) size 302x302 [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/transform-table-row-expected.png b/third_party/WebKit/LayoutTests/platform/win/transforms/transform-table-row-expected.png
index 6aef163..0400927 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/transform-table-row-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/transform-table-row-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/transform-table-row-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/transform-table-row-expected.txt
index 99d071d..4ce94b9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/transform-table-row-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/transform-table-row-expected.txt
@@ -6,25 +6,25 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 332x19
           text run at (0,0) width 332: "All of the table rows and cells below should be rotated."
-      LayoutTable {TABLE} at (0,36) size 188x98
-        LayoutTableSection {TBODY} at (0,0) size 188x98
-          LayoutTableRow {TR} at (0,50) size 188x22
-          LayoutTableRow {TR} at (0,74) size 188x22
-layer at (8,54) size 188x22
-  LayoutTableRow {TR} at (0,2) size 188x22
-    LayoutTableCell {TD} at (2,2) size 184x22 [r=0 c=0 rs=1 cs=1]
-      LayoutText {#text} at (1,1) size 105x19
-        text run at (1,1) width 105: "Transformed row"
-layer at (8,78) size 188x22 transparent
-  LayoutTableRow {TR} at (0,26) size 188x22
-    LayoutTableCell {TD} at (2,26) size 184x22 [r=1 c=0 rs=1 cs=1]
-      LayoutText {#text} at (1,1) size 182x19
-        text run at (1,1) width 182: "Transformed row with opacity"
-layer at (10,102) size 184x22
-  LayoutTableCell {TD} at (2,50) size 184x22 [r=2 c=0 rs=1 cs=1]
-    LayoutText {#text} at (1,1) size 101x19
-      text run at (1,1) width 101: "Transformed cell"
-layer at (10,126) size 184x22 transparent
-  LayoutTableCell {TD} at (2,74) size 184x22 [r=3 c=0 rs=1 cs=1]
-    LayoutText {#text} at (1,1) size 178x19
-      text run at (1,1) width 178: "Transformed cell with opacity"
+      LayoutTable {TABLE} at (0,36) size 187x98
+        LayoutTableSection {TBODY} at (0,0) size 187x98
+          LayoutTableRow {TR} at (0,50) size 187x22
+          LayoutTableRow {TR} at (0,74) size 187x22
+layer at (8,54) size 187x22
+  LayoutTableRow {TR} at (0,2) size 187x22
+    LayoutTableCell {TD} at (2,2) size 183x22 [r=0 c=0 rs=1 cs=1]
+      LayoutText {#text} at (1,1) size 104x19
+        text run at (1,1) width 104: "Transformed row"
+layer at (8,78) size 187x22 transparent
+  LayoutTableRow {TR} at (0,26) size 187x22
+    LayoutTableCell {TD} at (2,26) size 183x22 [r=1 c=0 rs=1 cs=1]
+      LayoutText {#text} at (1,1) size 181x19
+        text run at (1,1) width 181: "Transformed row with opacity"
+layer at (10,102) size 183x22
+  LayoutTableCell {TD} at (2,50) size 183x22 [r=2 c=0 rs=1 cs=1]
+    LayoutText {#text} at (1,1) size 100x19
+      text run at (1,1) width 100: "Transformed cell"
+layer at (10,126) size 183x22 transparent
+  LayoutTableCell {TD} at (2,74) size 183x22 [r=3 c=0 rs=1 cs=1]
+    LayoutText {#text} at (1,1) size 177x19
+      text run at (1,1) width 177: "Transformed cell with opacity"
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/transformed-caret-expected.png b/third_party/WebKit/LayoutTests/platform/win/transforms/transformed-caret-expected.png
index f2047ec3..9a63429 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/transformed-caret-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/transformed-caret-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/transforms-with-opacity-expected.txt b/third_party/WebKit/LayoutTests/platform/win/transforms/transforms-with-opacity-expected.txt
index a4bb4be..afd31d1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/transforms-with-opacity-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/transforms-with-opacity-expected.txt
@@ -4,8 +4,8 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
       LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 714x19
-          text run at (0,0) width 714: "In the example below you should see three blocks right next to one another, and they should all be partially transparent."
+        LayoutText {#text} at (0,0) size 713x19
+          text run at (0,0) width 713: "In the example below you should see three blocks right next to one another, and they should all be partially transparent."
 layer at (8,28) size 120x120 transparent
   LayoutBlockFlow {DIV} at (0,20) size 120x120 [bgcolor=#87CEEB] [border: (10px solid #000000)]
 layer at (18,38) size 120x120
diff --git a/third_party/WebKit/LayoutTests/platform/win/transforms/transforms-with-zoom-expected.png b/third_party/WebKit/LayoutTests/platform/win/transforms/transforms-with-zoom-expected.png
index c5bd403..b19d810 100644
--- a/third_party/WebKit/LayoutTests/platform/win/transforms/transforms-with-zoom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/transforms/transforms-with-zoom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/color-profile-image-filter-all-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/color-profile-image-filter-all-expected.png
index 4ee2bae..281ce1b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/color-profile-image-filter-all-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/color-profile-image-filter-all-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/exif-orientation-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/exif-orientation-expected.png
index a716f1a..2b5db08 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/exif-orientation-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/exif-orientation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/exif-orientation-image-document-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/exif-orientation-image-document-expected.png
index 029a204b..8582f36 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/exif-orientation-image-document-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/exif-orientation-image-document-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.png
index 5506982..4769870 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.txt
deleted file mode 100644
index 551d1972..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-circle-focus-ring-expected.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 729x39
-          text run at (0,0) width 729: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 722: "shape=\"circle\">. This test PASSED if a circular-shaped focus ring is drawn around the <area> in the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,56) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-focus-ring-in-positioned-container-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-focus-ring-in-positioned-container-expected.txt
deleted file mode 100644
index d48be76..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-focus-ring-in-positioned-container-expected.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x36
-  LayoutBlockFlow {HTML} at (0,0) size 800x36
-    LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutText {#text} at (0,0) size 523x19
-        text run at (0,0) width 523: "Tests that we paint area outline properly when the image is inside positioned containers."
-layer at (20,50) size 0x0
-  LayoutBlockFlow (positioned) {DIV} at (20,50) size 0x0
-layer at (30,60) size 50x55
-  LayoutBlockFlow (positioned) {DIV} at (10,10) size 50x55
-    LayoutImage {IMG} at (0,0) size 50x50
-    LayoutText {#text} at (0,0) size 0x0
-    LayoutInline {MAP} at (0,0) size 0x0
-      LayoutInline {AREA} at (0,0) size 0x0
-    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-focus-ring-with-paint-root-offset-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
deleted file mode 100644
index 7e9c8d8..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x36
-  LayoutBlockFlow {HTML} at (0,0) size 800x36
-    LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutText {#text} at (0,0) size 416x19
-        text run at (0,0) width 416: "Tests that we paint area outline properly when the paintroot is shifted."
-layer at (5,50) size 50x55
-  LayoutBlockFlow (positioned) {DIV} at (5,50) size 50x55
-    LayoutImage {IMG} at (0,0) size 50x50
-    LayoutText {#text} at (0,0) size 0x0
-    LayoutInline {MAP} at (0,0) size 0x0
-      LayoutInline {AREA} at (0,0) size 0x0
-    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-focus-ring-with-scale-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-focus-ring-with-scale-transform-expected.txt
deleted file mode 100644
index c78ff966..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-focus-ring-with-scale-transform-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x36
-  LayoutBlockFlow {HTML} at (0,0) size 800x36
-    LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutText {#text} at (0,0) size 464x19
-        text run at (0,0) width 464: "Tests that we paint area outline properly when the image's container is scaled."
-layer at (100,100) size 100x100
-  LayoutBlockFlow (positioned) {DIV} at (100,100) size 100x100
-    LayoutImage {IMG} at (0,0) size 50x50
-    LayoutText {#text} at (0,0) size 0x0
-    LayoutInline {MAP} at (0,0) size 0x0
-      LayoutInline {AREA} at (0,0) size 0x0
-    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-focus-ring-zoom-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-focus-ring-zoom-expected.png
index 1f7b0138..93acc9b2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-focus-ring-zoom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-focus-ring-zoom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-overflowing-circle-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-overflowing-circle-focus-ring-expected.txt
deleted file mode 100644
index 0200378..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-overflowing-circle-focus-ring-expected.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x60
-        LayoutText {#text} at (0,0) size 763x59
-          text run at (0,0) width 729: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 763: "shape=\"circle\"> that overflows the img element. This test PASSED if a half-circule-shaped focus ring is drawn for the <area> in"
-          text run at (0,40) width 138: "the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,76) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.png
index 0bc2444..6929b29 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.txt
deleted file mode 100644
index 64e7871..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-overflowing-polygon-focus-ring-expected.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x60
-        LayoutText {#text} at (0,0) size 751x59
-          text run at (0,0) width 729: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 751: "shape=\"polygon\"> that is overflowing the bounds for the img element. This test PASSED if a clipped star-shaped focus ring is"
-          text run at (0,40) width 310: "drawn around the <area> in the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,76) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-polygon-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-polygon-focus-ring-expected.txt
deleted file mode 100644
index 5c215b2..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/imagemap-polygon-focus-ring-expected.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 729x39
-          text run at (0,0) width 729: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 726: "shape=\"polygon\">. This test PASSED if a cross-shaped focus ring is drawn around the <area> in the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,56) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-0px-images-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-0px-images-expected.png
index 6cd45c3..2c0ba59 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-0px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-0px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-0px-images-quirk-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-0px-images-quirk-expected.png
index 1047783..3174ad71 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-0px-images-quirk-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-0px-images-quirk-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-10px-images-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-10px-images-expected.png
index d45d5aa9..897bc47 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-10px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-10px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-16px-images-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-16px-images-expected.png
index e68fd7456..e1ee6ed4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-16px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-16px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-1px-images-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-1px-images-expected.png
index bec7be2..6ba45f7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-1px-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-1px-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-block-flow-images-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-block-flow-images-expected.png
index efca1b6..a224c58a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-block-flow-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-block-flow-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-images-empty-alt-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-images-empty-alt-expected.png
index 2baeede..aa100b88 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-images-empty-alt-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-images-empty-alt-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-images-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-images-expected.png
index f0b4716d..145aaba 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-images-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/exotic-color-space/images/rendering-broken-images-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png
index 69a4c67..68d2136 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/color-profile-image-filter-all-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/exif-orientation-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/exif-orientation-expected.png
index 9b657e9..8f31f6a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/exif-orientation-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/exif-orientation-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/exif-orientation-image-document-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/exif-orientation-image-document-expected.png
index 8e66bf0..439c9f0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/exif-orientation-image-document-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/exif-orientation-image-document-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/favicon-as-image-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/favicon-as-image-expected.png
deleted file mode 100644
index 58f3d45..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/favicon-as-image-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/favicon-as-image-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/favicon-as-image-expected.txt
deleted file mode 100644
index bd1f240..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/favicon-as-image-expected.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (0,0) size 800x600
-      LayoutBlockFlow {DIV} at (0,0) size 800x20
-        LayoutText {#text} at (0,0) size 430x19
-          text run at (0,0) width 430: "Two green 16x16 pixel squares should appear below stacked vertically."
-      LayoutBlockFlow {DIV} at (0,20) size 16x16 [bgcolor=#FF0000]
-        LayoutImage {IMG} at (0,0) size 16x16
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow (anonymous) at (0,36) size 800x16
-        LayoutText {#text} at (0,0) size 0x0
-layer at (0,36) size 16x16
-  LayoutIFrame {IFRAME} at (0,0) size 16x16 [bgcolor=#FF0000]
-    layer at (0,0) size 16x16
-      LayoutView at (0,0) size 16x16
-    layer at (0,0) size 16x16
-      LayoutBlockFlow {HTML} at (0,0) size 16x16
-        LayoutBlockFlow {BODY} at (0,0) size 16x16
-          LayoutImage {IMG} at (0,0) size 16x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.png
index 0b01df6..5a83e40d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.txt
deleted file mode 100644
index 551d1972..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-circle-focus-ring-expected.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 729x39
-          text run at (0,0) width 729: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 722: "shape=\"circle\">. This test PASSED if a circular-shaped focus ring is drawn around the <area> in the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,56) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-focus-ring-in-positioned-container-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-focus-ring-in-positioned-container-expected.txt
deleted file mode 100644
index d48be76..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-focus-ring-in-positioned-container-expected.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x36
-  LayoutBlockFlow {HTML} at (0,0) size 800x36
-    LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutText {#text} at (0,0) size 523x19
-        text run at (0,0) width 523: "Tests that we paint area outline properly when the image is inside positioned containers."
-layer at (20,50) size 0x0
-  LayoutBlockFlow (positioned) {DIV} at (20,50) size 0x0
-layer at (30,60) size 50x55
-  LayoutBlockFlow (positioned) {DIV} at (10,10) size 50x55
-    LayoutImage {IMG} at (0,0) size 50x50
-    LayoutText {#text} at (0,0) size 0x0
-    LayoutInline {MAP} at (0,0) size 0x0
-      LayoutInline {AREA} at (0,0) size 0x0
-    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-focus-ring-with-paint-root-offset-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
deleted file mode 100644
index 7e9c8d8..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-focus-ring-with-paint-root-offset-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x36
-  LayoutBlockFlow {HTML} at (0,0) size 800x36
-    LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutText {#text} at (0,0) size 416x19
-        text run at (0,0) width 416: "Tests that we paint area outline properly when the paintroot is shifted."
-layer at (5,50) size 50x55
-  LayoutBlockFlow (positioned) {DIV} at (5,50) size 50x55
-    LayoutImage {IMG} at (0,0) size 50x50
-    LayoutText {#text} at (0,0) size 0x0
-    LayoutInline {MAP} at (0,0) size 0x0
-      LayoutInline {AREA} at (0,0) size 0x0
-    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-focus-ring-with-scale-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-focus-ring-with-scale-transform-expected.txt
deleted file mode 100644
index c78ff966..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-focus-ring-with-scale-transform-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x36
-  LayoutBlockFlow {HTML} at (0,0) size 800x36
-    LayoutBlockFlow {BODY} at (8,8) size 784x20
-      LayoutText {#text} at (0,0) size 464x19
-        text run at (0,0) width 464: "Tests that we paint area outline properly when the image's container is scaled."
-layer at (100,100) size 100x100
-  LayoutBlockFlow (positioned) {DIV} at (100,100) size 100x100
-    LayoutImage {IMG} at (0,0) size 50x50
-    LayoutText {#text} at (0,0) size 0x0
-    LayoutInline {MAP} at (0,0) size 0x0
-      LayoutInline {AREA} at (0,0) size 0x0
-    LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-focus-ring-zoom-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-focus-ring-zoom-expected.png
index 2c977199..1cd6e7a6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-focus-ring-zoom-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-focus-ring-zoom-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-overflowing-circle-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-overflowing-circle-focus-ring-expected.txt
deleted file mode 100644
index 0200378..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-overflowing-circle-focus-ring-expected.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x60
-        LayoutText {#text} at (0,0) size 763x59
-          text run at (0,0) width 729: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 763: "shape=\"circle\"> that overflows the img element. This test PASSED if a half-circule-shaped focus ring is drawn for the <area> in"
-          text run at (0,40) width 138: "the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,76) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.png
index 0c0ba4d..0e2ee09f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.txt
deleted file mode 100644
index 64e7871..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-overflowing-polygon-focus-ring-expected.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x60
-        LayoutText {#text} at (0,0) size 751x59
-          text run at (0,0) width 729: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 751: "shape=\"polygon\"> that is overflowing the bounds for the img element. This test PASSED if a clipped star-shaped focus ring is"
-          text run at (0,40) width 310: "drawn around the <area> in the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,76) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-polygon-focus-ring-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-polygon-focus-ring-expected.txt
deleted file mode 100644
index 5c215b2..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/imagemap-polygon-focus-ring-expected.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 729x39
-          text run at (0,0) width 729: "Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an <area"
-          text run at (0,20) width 726: "shape=\"polygon\">. This test PASSED if a cross-shaped focus ring is drawn around the <area> in the imagemap (below)."
-      LayoutBlockFlow (anonymous) at (0,56) size 784x128
-        LayoutInline {MAP} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-          LayoutInline {AREA} at (0,0) size 0x0
-          LayoutText {#text} at (0,0) size 0x0
-        LayoutText {#text} at (0,0) size 0x0
-        LayoutImage {IMG} at (0,0) size 128x128
-        LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/rendering-broken-images-empty-alt-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/rendering-broken-images-empty-alt-expected.png
deleted file mode 100644
index 1050877a..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/rendering-broken-images-empty-alt-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/canvas-shadow-source-in-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/canvas-shadow-source-in-expected.txt
deleted file mode 100644
index a5916ba..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/canvas-shadow-source-in-expected.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x470
-  LayoutBlockFlow {HTML} at (0,0) size 800x470
-    LayoutBlockFlow {BODY} at (8,8) size 784x454
-      LayoutBlockFlow {DIV} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 57x19
-          text run at (0,0) width 57: "Test Rect"
-      LayoutBlockFlow (anonymous) at (0,20) size 784x207
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {DIV} at (0,227) size 784x20
-        LayoutText {#text} at (0,0) size 66x19
-          text run at (0,0) width 66: "Test Image"
-      LayoutBlockFlow (anonymous) at (0,247) size 784x207
-        LayoutText {#text} at (0,0) size 0x0
-layer at (8,28) size 202x202
-  LayoutHTMLCanvas {CANVAS} at (0,0) size 202x202 [border: (1px solid #999999)]
-layer at (8,255) size 202x202
-  LayoutHTMLCanvas {CANVAS} at (0,0) size 202x202 [border: (1px solid #999999)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png
index 6d383b83..f9312c47 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/canvas-textMetrics-width-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/canvas-textMetrics-width-expected.png
deleted file mode 100644
index 0a842d3..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/canvas-textMetrics-width-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/fillrect_gradient-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/fillrect_gradient-expected.png
index e672dc39f..d385b870 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/fillrect_gradient-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/fillrect_gradient-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/patternfill-repeat-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/patternfill-repeat-expected.png
deleted file mode 100644
index 0fe9432..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/patternfill-repeat-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/patternfill-repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/patternfill-repeat-expected.txt
deleted file mode 100644
index 6a81b68..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/patternfill-repeat-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x469
-  LayoutBlockFlow {HTML} at (0,0) size 800x469
-    LayoutBlockFlow {BODY} at (8,16) size 784x437
-      LayoutBlockFlow {P} at (0,0) size 784x80
-        LayoutText {#text} at (0,0) size 778x79
-          text run at (0,0) width 753: "There should be one big square below containing four squares. Top left square should be filled with 3 rows of 2 and bit Apple"
-          text run at (0,20) width 763: "images. Top right square should be 2 and a bit rows with one Apple image column along the left edge of the square. Bottom left"
-          text run at (0,40) width 778: "square should be one row with three Apple images along the top of the square. Bottom right square should be one Apple image in"
-          text run at (0,60) width 89: "top left corner."
-      LayoutBlockFlow {P} at (0,96) size 784x341
-layer at (8,112) size 336x336
-  LayoutHTMLCanvas {CANVAS} at (0,0) size 336x336 [border: (3px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/setWidthResetAfterForcedRender-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/setWidthResetAfterForcedRender-expected.png
deleted file mode 100644
index 8cedbb8..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/setWidthResetAfterForcedRender-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/shadow-offset-1-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/shadow-offset-1-expected.png
deleted file mode 100644
index e1308d1..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/shadow-offset-1-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/toDataURL-alpha-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/toDataURL-alpha-expected.png
deleted file mode 100644
index 4dafea95..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/toDataURL-alpha-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/basic/015-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/basic/015-expected.png
index 522cac9..b40259a38 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/basic/015-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/basic/015-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/basic/text-indent-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/basic/text-indent-rtl-expected.png
deleted file mode 100644
index d2e64b9..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/basic/text-indent-rtl-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/basic/truncation-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/basic/truncation-rtl-expected.png
deleted file mode 100644
index b0e253868..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/basic/truncation-rtl-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/basic/white-space-pre-wraps-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/basic/white-space-pre-wraps-expected.png
deleted file mode 100644
index 00bf018..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/basic/white-space-pre-wraps-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/001-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/001-expected.png
deleted file mode 100644
index 5c35c85..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/001-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/002-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/002-expected.png
deleted file mode 100644
index 2d8eeab8..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/002-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/avoidance-percent-width-strict-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/avoidance-percent-width-strict-expected.png
deleted file mode 100644
index f6ef93d..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/avoidance-percent-width-strict-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/centered-float-avoidance-complexity-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/centered-float-avoidance-complexity-expected.png
index 6ba6d2da..098f08784 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/centered-float-avoidance-complexity-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/centered-float-avoidance-complexity-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/editable-text-overlapping-float-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/editable-text-overlapping-float-expected.png
deleted file mode 100644
index 6576daba..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/editable-text-overlapping-float-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/independent-align-positioning-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/independent-align-positioning-expected.png
deleted file mode 100644
index 07859bc..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/independent-align-positioning-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/intruding-painted-twice-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/intruding-painted-twice-expected.png
deleted file mode 100644
index 064962d..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/intruding-painted-twice-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/shrink-to-fit-width-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/shrink-to-fit-width-expected.png
deleted file mode 100644
index 1d05094c..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/shrink-to-fit-width-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/vertical-move-relayout-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/vertical-move-relayout-expected.png
deleted file mode 100644
index 84e95ff7a..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/float/vertical-move-relayout-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/margin-collapse/103-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/margin-collapse/103-expected.png
deleted file mode 100644
index b0c7b40..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/margin-collapse/103-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/margin-collapse/104-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/margin-collapse/104-expected.png
deleted file mode 100644
index 344f760..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/margin-collapse/104-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/010-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/010-expected.png
deleted file mode 100644
index eb68a923..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/010-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/011-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/011-expected.png
deleted file mode 100644
index eb68a923..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/block/margin-collapse/block-inside-inline/011-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/inline/001-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/inline/001-expected.txt
index c51d558..a8662a2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/inline/001-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/inline/001-expected.txt
@@ -6,6 +6,6 @@
       LayoutNGBlockFlow {DIV} at (0,0) size 784x59 [border: (2px solid #FF0000)]
         LayoutText {#text} at (2,37) size 147x19
           text run at (2,37) width 147: "This image has a margin "
-        LayoutImage {IMG} at (198.72,2) size 50x50 [bgcolor=#008000]
-        LayoutText {#text} at (298,37) size 35x19
-          text run at (298,37) width 35: " on it."
+        LayoutImage {IMG} at (199,2) size 50x50 [bgcolor=#008000]
+        LayoutText {#text} at (299,37) size 34x19
+          text run at (299,37) width 34: " on it."
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/inline/nested-top-alignment-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/inline/nested-top-alignment-expected.txt
index 3dedd78..a79e791 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/inline/nested-top-alignment-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/layout_ng/fast/inline/nested-top-alignment-expected.txt
@@ -3,13 +3,13 @@
 layer at (0,0) size 800x600
   LayoutNGBlockFlow {HTML} at (0,0) size 800x600
     LayoutNGBlockFlow {BODY} at (8,8) size 784x584
-      LayoutNGBlockFlow (floating) {DIV} at (0,0) size 53.86x28 [border: (1px solid #000000)]
-        LayoutNGBlockFlow {SPAN} at (1,1) size 51.86x26
-          LayoutNGBlockFlow {SPAN} at (0,0) size 51.86x26
+      LayoutNGBlockFlow (floating) {DIV} at (0,0) size 54x28 [border: (1px solid #000000)]
+        LayoutNGBlockFlow {SPAN} at (1,1) size 52x26
+          LayoutNGBlockFlow {SPAN} at (0,0) size 52x26
             LayoutText {#text} at (0,4) size 52x15
               text run at (0,4) width 52: "Float Text"
           LayoutText {#text} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
       LayoutNGBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (55,0) size 445x19
-          text run at (55,0) width 445: "The float on the left should have a black border enclosing its text contents."
+        LayoutText {#text} at (56,0) size 444x19
+          text run at (56,0) width 444: "The float on the left should have a black border enclosing its text contents."
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.png
deleted file mode 100644
index 5ba393f..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.txt
deleted file mode 100644
index 6cf1ab8..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-controls-with-cast-rendering-expected.txt
+++ /dev/null
@@ -1,139 +0,0 @@
-layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 782
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 785x550
-  LayoutBlockFlow {HTML} at (0,0) size 785x550
-    LayoutBlockFlow {BODY} at (8,16) size 769x526
-      LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 240x19
-          text run at (0,0) width 240: "Test controls rendering with cast button."
-      LayoutBlockFlow {DIV} at (0,36) size 769x245
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {DIV} at (0,281) size 769x245
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {DIV} at (0,526) size 769x0
-layer at (8,52) size 320x240
-  LayoutVideo {VIDEO} at (0,0) size 320x240
-layer at (8,297) size 320x240
-  LayoutVideo {VIDEO} at (0,0) size 320x240
-layer at (8,52) size 320x240
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x240
-    LayoutBlockFlow {DIV} at (0,208) size 320x32
-layer at (8,52) size 320x198
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x198
-layer at (8,260) size 320x32 scrollHeight 40
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x32 [bgcolor=#FAFAFA]
-    LayoutButton {INPUT} at (0,0) size 32x32
-    LayoutFlexibleBox {DIV} at (32,0) size 24x32 [color=#5A5A5A]
-      LayoutBlockFlow (anonymous) at (0,0) size 24x32
-        LayoutText {#text} at (0,8) size 24x15
-          text run at (0,8) width 24: "0:00"
-    LayoutSlider {INPUT} at (74,1) size 71x30
-      LayoutFlexibleBox {DIV} at (0,14) size 71x2
-    LayoutButton {INPUT} at (163,0) size 32x32
-    LayoutSlider {INPUT} at (213,1) size 25x30
-      LayoutFlexibleBox {DIV} at (0,14) size 25x2
-    LayoutButton {INPUT} at (288,0) size 32x32
-layer at (264,260) size 32x32
-  LayoutButton {INPUT} at (256,0) size 32x32
-layer at (64,276) size 107x0
-  LayoutBlockFlow (relative positioned) {DIV} at (-18,1) size 107x0
-layer at (82,275) size 71x2
-  LayoutBlockFlow (positioned) {DIV} at (18,-1) size 71x2 [bgcolor=#DADADA]
-layer at (203,276) size 61x0
-  LayoutBlockFlow (relative positioned) {DIV} at (-18,1) size 61x0
-layer at (221,275) size 25x2
-  LayoutBlockFlow (positioned) {DIV} at (18,-1) size 25x2 [bgcolor=#DADADA]
-layer at (82,275) size 71x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 71x2 [bgcolor=#5A5A5A]
-layer at (82,275) size 0x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#4285F4]
-layer at (221,275) size 0x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#5A5A5A]
-layer at (221,275) size 25x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 25x2 [bgcolor=#4285F4]
-layer at (64,252) size 36x48 backgroundClip at (8,260) size 320x32 clip at (8,260) size 320x32
-  LayoutBlockFlow (positioned) zI: 2 {DIV} at (0,-24) size 36x48
-layer at (228,252) size 36x48 backgroundClip at (8,260) size 320x32 clip at (8,260) size 320x32
-  LayoutBlockFlow (positioned) zI: 2 {DIV} at (25,-24) size 36x48
-layer at (8,297) size 320x240
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x240
-    LayoutBlockFlow {DIV} at (0,208) size 320x32
-layer at (8,297) size 320x198
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x198
-layer at (8,505) size 320x32 scrollHeight 40
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x32 [bgcolor=#FAFAFA]
-    LayoutButton {INPUT} at (0,0) size 32x32
-    LayoutFlexibleBox {DIV} at (32,0) size 24x32 [color=#5A5A5A]
-      LayoutBlockFlow (anonymous) at (0,0) size 24x32
-        LayoutText {#text} at (0,8) size 24x15
-          text run at (0,8) width 24: "0:00"
-    LayoutSlider {INPUT} at (74,1) size 71x30
-      LayoutFlexibleBox {DIV} at (0,14) size 71x2
-    LayoutButton {INPUT} at (163,0) size 32x32
-    LayoutSlider {INPUT} at (213,1) size 25x30
-      LayoutFlexibleBox {DIV} at (0,14) size 25x2
-    LayoutButton {INPUT} at (288,0) size 32x32
-layer at (264,505) size 32x32
-  LayoutButton {INPUT} at (256,0) size 32x32
-layer at (64,521) size 107x0
-  LayoutBlockFlow (relative positioned) {DIV} at (-18,1) size 107x0
-layer at (82,520) size 71x2
-  LayoutBlockFlow (positioned) {DIV} at (18,-1) size 71x2 [bgcolor=#DADADA]
-layer at (203,521) size 61x0
-  LayoutBlockFlow (relative positioned) {DIV} at (-18,1) size 61x0
-layer at (221,520) size 25x2
-  LayoutBlockFlow (positioned) {DIV} at (18,-1) size 25x2 [bgcolor=#DADADA]
-layer at (82,520) size 71x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 71x2 [bgcolor=#5A5A5A]
-layer at (82,520) size 0x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#4285F4]
-layer at (221,520) size 0x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#5A5A5A]
-layer at (221,520) size 25x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 25x2 [bgcolor=#4285F4]
-layer at (64,497) size 36x48 backgroundClip at (8,505) size 320x32 clip at (8,505) size 320x32
-  LayoutBlockFlow (positioned) zI: 2 {DIV} at (0,-24) size 36x48
-layer at (228,497) size 36x48 backgroundClip at (8,505) size 320x32 clip at (8,505) size 320x32
-  LayoutBlockFlow (positioned) zI: 2 {DIV} at (25,-24) size 36x48
-layer at (8,542) size 320x240 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutVideo (positioned) {VIDEO} at (8,542) size 320x240
-layer at (8,542) size 320x240 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x240
-    LayoutBlockFlow {DIV} at (0,208) size 320x32
-layer at (8,542) size 320x198 backgroundClip at (8,542) size 320x58 clip at (8,542) size 320x58
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x198
-layer at (8,750) size 320x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0 scrollHeight 40
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x32 [bgcolor=#FAFAFA]
-    LayoutButton {INPUT} at (0,0) size 32x32
-    LayoutFlexibleBox {DIV} at (32,0) size 24x32 [color=#5A5A5A]
-      LayoutBlockFlow (anonymous) at (0,0) size 24x32
-        LayoutText {#text} at (0,8) size 24x15
-          text run at (0,8) width 24: "0:00"
-    LayoutSlider {INPUT} at (74,1) size 71x30
-      LayoutFlexibleBox {DIV} at (0,14) size 71x2
-    LayoutButton {INPUT} at (163,0) size 32x32
-    LayoutSlider {INPUT} at (213,1) size 25x30
-      LayoutFlexibleBox {DIV} at (0,14) size 25x2
-    LayoutButton {INPUT} at (288,0) size 32x32
-layer at (264,750) size 32x32 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutButton {INPUT} at (256,0) size 32x32
-layer at (64,766) size 107x0
-  LayoutBlockFlow (relative positioned) {DIV} at (-18,1) size 107x0
-layer at (82,765) size 71x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutBlockFlow (positioned) {DIV} at (18,-1) size 71x2 [bgcolor=#DADADA]
-layer at (203,766) size 61x0
-  LayoutBlockFlow (relative positioned) {DIV} at (-18,1) size 61x0
-layer at (221,765) size 25x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutBlockFlow (positioned) {DIV} at (18,-1) size 25x2 [bgcolor=#DADADA]
-layer at (82,765) size 71x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 71x2 [bgcolor=#5A5A5A]
-layer at (82,765) size 0x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#4285F4]
-layer at (221,765) size 0x2
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 0x2 [bgcolor=#5A5A5A]
-layer at (221,765) size 25x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutBlockFlow (positioned) zI: 1 {DIV} at (0,0) size 25x2 [bgcolor=#4285F4]
-layer at (64,742) size 36x48 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutBlockFlow (positioned) zI: 2 {DIV} at (0,-24) size 36x48
-layer at (228,742) size 36x48 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutBlockFlow (positioned) zI: 2 {DIV} at (25,-24) size 36x48
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.png
deleted file mode 100644
index a4d2403..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.txt
deleted file mode 100644
index 226a9c1..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-dark-rendering-expected.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 782
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 785x550
-  LayoutBlockFlow {HTML} at (0,0) size 785x550
-    LayoutBlockFlow {BODY} at (8,16) size 769x526
-      LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 334x19
-          text run at (0,0) width 334: "Test overlay cast button rendering on dark background."
-      LayoutBlockFlow {DIV} at (0,36) size 769x245
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {DIV} at (0,281) size 769x245
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {DIV} at (0,526) size 769x0
-layer at (8,52) size 320x240
-  LayoutVideo {VIDEO} at (0,0) size 320x240
-layer at (8,297) size 320x240
-  LayoutVideo {VIDEO} at (0,0) size 320x240
-layer at (8,52) size 320x240
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x240
-    LayoutBlockFlow {DIV} at (0,208) size 320x32
-layer at (8,52) size 320x198
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x198
-layer at (16,60) size 32x32
-  LayoutButton (positioned) {INPUT} at (8,8) size 32x32
-layer at (8,297) size 320x240
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x240
-    LayoutBlockFlow {DIV} at (0,208) size 320x32
-layer at (8,297) size 320x198
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x198
-layer at (16,305) size 32x32
-  LayoutButton (positioned) {INPUT} at (8,8) size 32x32
-layer at (8,542) size 320x240 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutVideo (positioned) {VIDEO} at (8,542) size 320x240
-layer at (8,542) size 320x240 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x240
-    LayoutBlockFlow {DIV} at (0,208) size 320x32
-layer at (8,542) size 320x198 backgroundClip at (8,542) size 320x58 clip at (8,542) size 320x58
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x198
-layer at (16,550) size 32x32
-  LayoutButton (positioned) {INPUT} at (8,8) size 32x32
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.png
deleted file mode 100644
index bda03b37b..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.txt
deleted file mode 100644
index dc3125b0..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/new-remote-playback-pipeline/media/controls/video-overlay-cast-light-rendering-expected.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 874
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 785x620 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutBlockFlow {HTML} at (0,0) size 785x619.81
-    LayoutBlockFlow {BODY} at (8,16) size 769x595.81
-      LayoutBlockFlow {P} at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 330x19
-          text run at (0,0) width 330: "Test overlay cast button rendering on light background."
-      LayoutBlockFlow {DIV} at (0,36) size 769x293
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {DIV} at (0,329) size 769x266.81
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {DIV} at (0,595.81) size 769x0
-layer at (8,52) size 352x288
-  LayoutVideo {VIDEO} at (0,0) size 352x288
-layer at (8,345) size 320x262 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutVideo {VIDEO} at (0,0) size 320x261.81
-layer at (8,52) size 352x288
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 352x288
-    LayoutBlockFlow {DIV} at (0,256) size 352x32
-layer at (8,52) size 352x246
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 352x246
-layer at (16,60) size 32x32
-  LayoutButton (positioned) {INPUT} at (8,8) size 32x32
-layer at (8,345) size 320x262 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x261.81
-    LayoutBlockFlow {DIV} at (0,229.81) size 320x32
-layer at (8,345) size 320x220
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x219.81
-layer at (16,353) size 32x32
-  LayoutButton (positioned) {INPUT} at (8,8) size 32x32
-layer at (8,612) size 320x262 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutVideo (positioned) {VIDEO} at (8,611.81) size 320x261.81
-layer at (8,612) size 320x262 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x261.81
-    LayoutBlockFlow {DIV} at (0,229.81) size 320x32
-layer at (8,612) size 320x220 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 320x219.81
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/fixed-position-ancestor-clip-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/fixed-position-ancestor-clip-expected.txt
deleted file mode 100644
index 04e7004..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/fixed-position-ancestor-clip-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600 scrollX 50.00 scrollY 50.00 scrollWidth 1008 scrollHeight 1016
-  LayoutView at (0,0) size 800x600
-layer at (-50,-50) size 800x1016 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x1016
-    LayoutBlockFlow {BODY} at (8,8) size 1000x1000
-layer at (0,116) size 300x20
-  LayoutBlockFlow (positioned) {P} at (50,166) size 300.41x20
-    LayoutText {#text} at (0,0) size 301x19
-      text run at (0,0) width 301: "You should see a single green square, with no red."
-layer at (8,8) size 100x100
-  LayoutBlockFlow (positioned) {DIV} at (8,8) size 100x100 [bgcolor=#FF0000]
-layer at (8,8) size 100x100
-  LayoutBlockFlow {DIV} at (0,0) size 100x100 [bgcolor=#008000]
-scrolled to 50,50
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.txt
deleted file mode 100644
index c9b2578..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/mask-with-small-content-rect-expected.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x273
-  LayoutBlockFlow {HTML} at (0,0) size 800x273
-    LayoutBlockFlow {BODY} at (8,16) size 784x249
-      LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 494x19
-          text run at (0,0) width 494: "Testing masks on compositing layers. Left and right columns should look the same."
-      LayoutBlockFlow (anonymous) at (0,36) size 784x213
-        LayoutText {#text} at (208,193) size 4x19
-          text run at (208,193) width 4: " "
-        LayoutText {#text} at (0,0) size 0x0
-layer at (8,52) size 208x208 clip at (12,56) size 200x200 scrollWidth 225 scrollHeight 225
-  LayoutBlockFlow (relative positioned) {DIV} at (0,0) size 208x208 [bgcolor=#0000FF] [border: (4px solid #FF0000)]
-layer at (187,231) size 50x50 backgroundClip at (12,56) size 200x200 clip at (12,56) size 200x200
-  LayoutBlockFlow (positioned) {DIV} at (179,179) size 50x50 [bgcolor=#000000]
-layer at (270,52) size 208x208 clip at (274,56) size 200x200 scrollWidth 225 scrollHeight 225
-  LayoutBlockFlow (relative positioned) {DIV} at (212,0) size 208x208 [bgcolor=#0000FF] [border: (4px solid #FF0000)]
-layer at (449,231) size 50x50 backgroundClip at (274,56) size 200x200 clip at (274,56) size 200x200
-  LayoutBlockFlow (positioned) {DIV} at (179,179) size 50x50 [bgcolor=#000000]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.txt
deleted file mode 100644
index 83b9bfa..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.txt
+++ /dev/null
@@ -1,50 +0,0 @@
-layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 838
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 785x838 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
-  LayoutBlockFlow {HTML} at (0,0) size 785x838
-    LayoutBlockFlow {BODY} at (8,8) size 769x822
-      LayoutBlockFlow (anonymous) at (0,0) size 769x20
-        LayoutText {#text} at (0,0) size 77x19
-          text run at (0,0) width 77: "Text outside."
-layer at (8,28) size 702x802 backgroundClip at (8,28) size 702x572 clip at (9,29) size 685x571 scrollHeight 1154
-  LayoutBlockFlow {DIV} at (0,20) size 702x802 [border: (1px solid #000000)]
-    LayoutBlockFlow {P} at (1,17) size 685x132
-      LayoutText {#text} at (0,7) size 667x118
-        text run at (0,7) width 655: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore"
-        text run at (0,40) width 667: "magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo"
-        text run at (0,73) width 641: "consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."
-        text run at (0,106) width 642: "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
-    LayoutBlockFlow {P} at (1,197) size 685x132
-      LayoutText {#text} at (0,7) size 667x118
-        text run at (0,7) width 655: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore"
-        text run at (0,40) width 667: "magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo"
-        text run at (0,73) width 641: "consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."
-        text run at (0,106) width 642: "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
-    LayoutBlockFlow {P} at (1,795) size 685x132
-      LayoutText {#text} at (0,7) size 667x118
-        text run at (0,7) width 655: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore"
-        text run at (0,40) width 667: "magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo"
-        text run at (0,73) width 641: "consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."
-        text run at (0,106) width 642: "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
-    LayoutBlockFlow {P} at (1,975) size 685x132
-      LayoutText {#text} at (0,7) size 667x118
-        text run at (0,7) width 655: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore"
-        text run at (0,40) width 667: "magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo"
-        text run at (0,73) width 641: "consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."
-        text run at (0,106) width 642: "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
-layer at (19,405) size 602x402 backgroundClip at (19,405) size 602x195 clip at (20,406) size 585x194 scrollHeight 442
-  LayoutBlockFlow {DIV} at (11,377) size 602x402 [border: (1px solid #000000)]
-    LayoutBlockFlow {P} at (1,17) size 585x165
-      LayoutText {#text} at (0,7) size 585x151
-        text run at (0,7) width 555: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut"
-        text run at (0,40) width 585: "labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris"
-        text run at (0,73) width 573: "nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit"
-        text run at (0,106) width 578: "esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in"
-        text run at (0,139) width 310: "culpa qui officia deserunt mollit anim id est laborum."
-    LayoutBlockFlow {P} at (1,230) size 585x165
-      LayoutText {#text} at (0,7) size 585x151
-        text run at (0,7) width 555: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut"
-        text run at (0,40) width 585: "labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris"
-        text run at (0,73) width 573: "nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit"
-        text run at (0,106) width 578: "esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in"
-        text run at (0,139) width 310: "culpa qui officia deserunt mollit anim id est laborum."
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/overflow-compositing-descendant-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/overflow-compositing-descendant-expected.txt
deleted file mode 100644
index eaecd54..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/overflow-compositing-descendant-expected.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x52
-  LayoutBlockFlow {HTML} at (0,0) size 800x52
-    LayoutBlockFlow {BODY} at (8,16) size 784x20
-      LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 446x19
-          text run at (0,0) width 446: "You should see a green box under the video. If you see red, the test failed."
-layer at (8,52) size 132x222 clip at (9,53) size 130x220 scrollHeight 225
-  LayoutBlockFlow (positioned) {DIV} at (8,52) size 132x222 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
-    LayoutBlockFlow (anonymous) at (11,11) size 110x105
-      LayoutText {#text} at (0,0) size 0x0
-    LayoutBlockFlow {DIV} at (11,116) size 100x100 [bgcolor=#FF0000]
-layer at (19,63) size 100x100
-  LayoutVideo {VIDEO} at (0,0) size 100x100 [bgcolor=#000000]
-layer at (19,63) size 100x100
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 100x100
-    LayoutBlockFlow {DIV} at (0,68) size 100x32
-layer at (19,63) size 100x58
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 100x58
-layer at (19,168) size 100x100
-  LayoutBlockFlow (relative positioned) {DIV} at (11,116) size 100x100 [bgcolor=#008000]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.png
deleted file mode 100644
index e602257..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.txt
deleted file mode 100644
index 5f30664..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-ancestor-update-expected.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x105
-  LayoutBlockFlow {HTML} at (0,0) size 800x105
-    LayoutBlockFlow {BODY} at (0,0) size 800x105
-      LayoutText {#text} at (0,0) size 0x0
-layer at (0,0) size 100x100
-  LayoutVideo {VIDEO} at (0,0) size 100x100
-layer at (50,50) size 100x100
-  LayoutBlockFlow (positioned) {DIV} at (50,50) size 100x100 [bgcolor=#FF0000]
-layer at (50,50) size 200x200
-  LayoutBlockFlow (positioned) {DIV} at (50,50) size 200x200
-    LayoutBlockFlow {P} at (0,218) size 200x60
-      LayoutText {#text} at (0,0) size 198x59
-        text run at (0,0) width 182: "The green box should obscure"
-        text run at (0,20) width 198: "the red box, and move when you"
-        text run at (0,40) width 109: "drag the scrollbar."
-layer at (50,50) size 202x202 clip at (51,51) size 185x200 scrollY 50.00 scrollHeight 550
-  LayoutBlockFlow {DIV} at (0,0) size 202x202 [border: (1px solid #000000)]
-    LayoutBlockFlow {DIV} at (1,51) size 185x500
-layer at (51,51) size 100x100
-  LayoutBlockFlow (relative positioned) {DIV} at (0,0) size 100x100 [bgcolor=#008000]
-layer at (0,0) size 100x100
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 100x100
-    LayoutBlockFlow {DIV} at (0,68) size 100x32
-layer at (0,0) size 100x58
-  LayoutFlexibleBox (relative positioned) {DIV} at (0,0) size 100x58
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.png
deleted file mode 100644
index b32d484..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.txt
deleted file mode 100644
index 4629a01..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/custom-scrollbar-appearance-property-expected.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x86
-  LayoutBlockFlow {HTML} at (0,0) size 800x86
-    LayoutBlockFlow {BODY} at (8,8) size 784x70
-      LayoutBlockFlow (anonymous) at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 126x19
-          text run at (0,0) width 126: "PASS if not crashed."
-layer at (8,28) size 50x50 clip at (8,28) size 39x39 scrollWidth 200 scrollHeight 200
-  LayoutBlockFlow {DIV} at (0,20) size 50x50
-    LayoutBlockFlow {DIV} at (0,0) size 200x200
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.png
deleted file mode 100644
index bca7646..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.txt
deleted file mode 100644
index 8b91a65..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations-expected.txt
+++ /dev/null
@@ -1,127 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutText {#text} at (165,0) size 4x19
-        text run at (165,0) width 4: " "
-      LayoutText {#text} at (334,0) size 4x19
-        text run at (334,0) width 4: " "
-      LayoutText {#text} at (503,0) size 4x19
-        text run at (503,0) width 4: " "
-      LayoutText {#text} at (0,0) size 0x0
-      LayoutText {#text} at (165,140) size 4x19
-        text run at (165,140) width 4: " "
-      LayoutText {#text} at (334,140) size 4x19
-        text run at (334,140) width 4: " "
-      LayoutText {#text} at (0,0) size 0x0
-layer at (28,28) size 125x100 clip at (29,29) size 110x98
-  LayoutListBox {SELECT} at (20,20) size 125x100 [color=#DCDCDC] [bgcolor=#718D93] [border: (1px solid #D3D3D3)]
-    LayoutBlockFlow {OPTION} at (11,11) size 90x15.39
-      LayoutText {#text} at (2,0) size 26x14
-        text run at (2,0) width 26: "One"
-    LayoutBlockFlow {OPTION} at (11,26.39) size 90x15.39
-      LayoutText {#text} at (2,0) size 25x14
-        text run at (2,0) width 25: "Two"
-    LayoutBlockFlow {OPTION} at (11,41.78) size 90x15.39
-      LayoutText {#text} at (2,0) size 36x14
-        text run at (2,0) width 36: "Three"
-    LayoutBlockFlow {OPTION} at (11,57.17) size 90x15.39
-      LayoutText {#text} at (2,0) size 28x14
-        text run at (2,0) width 28: "Four"
-    LayoutBlockFlow {OPTION} at (11,72.56) size 90x15.39
-      LayoutText {#text} at (2,0) size 25x14
-        text run at (2,0) width 25: "Five"
-layer at (197,28) size 125x100 clip at (198,29) size 110x98
-  LayoutListBox {SELECT} at (189,20) size 125x100 [color=#DCDCDC] [bgcolor=#718D93] [border: (1px solid #D3D3D3)]
-    LayoutBlockFlow {OPTION} at (11,11) size 90x15.39
-      LayoutText {#text} at (2,0) size 26x14
-        text run at (2,0) width 26: "One"
-    LayoutBlockFlow {OPTION} at (11,26.39) size 90x15.39
-      LayoutText {#text} at (2,0) size 25x14
-        text run at (2,0) width 25: "Two"
-    LayoutBlockFlow {OPTION} at (11,41.78) size 90x15.39
-      LayoutText {#text} at (2,0) size 36x14
-        text run at (2,0) width 36: "Three"
-    LayoutBlockFlow {OPTION} at (11,57.17) size 90x15.39
-      LayoutText {#text} at (2,0) size 28x14
-        text run at (2,0) width 28: "Four"
-    LayoutBlockFlow {OPTION} at (11,72.56) size 90x15.39
-      LayoutText {#text} at (2,0) size 25x14
-        text run at (2,0) width 25: "Five"
-layer at (366,28) size 125x100 clip at (367,29) size 110x98
-  LayoutListBox {SELECT} at (358,20) size 125x100 [color=#DCDCDC] [bgcolor=#718D93] [border: (1px solid #D3D3D3)]
-    LayoutBlockFlow {OPTION} at (11,11) size 90x15.39
-      LayoutText {#text} at (2,0) size 26x14
-        text run at (2,0) width 26: "One"
-    LayoutBlockFlow {OPTION} at (11,26.39) size 90x15.39
-      LayoutText {#text} at (2,0) size 25x14
-        text run at (2,0) width 25: "Two"
-    LayoutBlockFlow {OPTION} at (11,41.78) size 90x15.39
-      LayoutText {#text} at (2,0) size 36x14
-        text run at (2,0) width 36: "Three"
-    LayoutBlockFlow {OPTION} at (11,57.17) size 90x15.39
-      LayoutText {#text} at (2,0) size 28x14
-        text run at (2,0) width 28: "Four"
-    LayoutBlockFlow {OPTION} at (11,72.56) size 90x15.39
-      LayoutText {#text} at (2,0) size 25x14
-        text run at (2,0) width 25: "Five"
-layer at (535,28) size 125x100 clip at (536,29) size 110x98
-  LayoutListBox {SELECT} at (527,20) size 125x100 [color=#DCDCDC] [bgcolor=#718D93] [border: (1px solid #D3D3D3)]
-    LayoutBlockFlow {OPTION} at (11,11) size 90x15.39
-      LayoutText {#text} at (2,0) size 26x14
-        text run at (2,0) width 26: "One"
-    LayoutBlockFlow {OPTION} at (11,26.39) size 90x15.39
-      LayoutText {#text} at (2,0) size 25x14
-        text run at (2,0) width 25: "Two"
-    LayoutBlockFlow {OPTION} at (11,41.78) size 90x15.39
-      LayoutText {#text} at (2,0) size 36x14
-        text run at (2,0) width 36: "Three"
-    LayoutBlockFlow {OPTION} at (11,57.17) size 90x15.39
-      LayoutText {#text} at (2,0) size 28x14
-        text run at (2,0) width 28: "Four"
-    LayoutBlockFlow {OPTION} at (11,72.56) size 90x15.39
-      LayoutText {#text} at (2,0) size 25x14
-        text run at (2,0) width 25: "Five"
-layer at (28,168) size 125x100 clip at (29,169) size 110x98
-  LayoutListBox {SELECT} at (20,160) size 125x100 [color=#DCDCDC] [bgcolor=#718D93] [border: (1px solid #D3D3D3)]
-    LayoutBlockFlow {OPTION} at (11,11) size 90x15.39
-      LayoutText {#text} at (2,0) size 26x14
-        text run at (2,0) width 26: "One"
-    LayoutBlockFlow {OPTION} at (11,26.39) size 90x15.39
-      LayoutText {#text} at (2,0) size 25x14
-        text run at (2,0) width 25: "Two"
-    LayoutBlockFlow {OPTION} at (11,41.78) size 90x15.39
-      LayoutText {#text} at (2,0) size 36x14
-        text run at (2,0) width 36: "Three"
-    LayoutBlockFlow {OPTION} at (11,57.17) size 90x15.39
-      LayoutText {#text} at (2,0) size 28x14
-        text run at (2,0) width 28: "Four"
-    LayoutBlockFlow {OPTION} at (11,72.56) size 90x15.39
-      LayoutText {#text} at (2,0) size 25x14
-        text run at (2,0) width 25: "Five"
-layer at (197,168) size 125x100 clip at (198,169) size 110x98
-  LayoutListBox {SELECT} at (189,160) size 125x100 [color=#DCDCDC] [bgcolor=#718D93] [border: (1px solid #D3D3D3)]
-    LayoutBlockFlow {OPTION} at (11,11) size 90x15.39
-      LayoutText {#text} at (2,0) size 26x14
-        text run at (2,0) width 26: "One"
-    LayoutBlockFlow {OPTION} at (11,26.39) size 90x15.39
-      LayoutText {#text} at (2,0) size 25x14
-        text run at (2,0) width 25: "Two"
-    LayoutBlockFlow {OPTION} at (11,41.78) size 90x15.39
-      LayoutText {#text} at (2,0) size 36x14
-        text run at (2,0) width 36: "Three"
-    LayoutBlockFlow {OPTION} at (11,57.17) size 90x15.39
-      LayoutText {#text} at (2,0) size 28x14
-        text run at (2,0) width 28: "Four"
-    LayoutBlockFlow {OPTION} at (11,72.56) size 90x15.39
-      LayoutText {#text} at (2,0) size 25x14
-        text run at (2,0) width 25: "Five"
-layer at (366,168) size 125x100 clip at (367,169) size 110x98
-  LayoutListBox {SELECT} at (358,160) size 125x100 [color=#DCDCDC] [bgcolor=#718D93] [border: (1px solid #D3D3D3)]
-    LayoutBlockFlow {OPTION} at (11,11) size 90x15.39
-      LayoutText {#text} at (2,0) size 26x14
-        text run at (2,0) width 26: "One"
-    LayoutBlockFlow {OPTION} at (11,26.39) size 90x15.39
-      LayoutText {#text} at (2,0) size 25x14
-        text run at (2,0) width 25: "Two"
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.png
deleted file mode 100644
index 455109a..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.txt
deleted file mode 100644
index 6caa621..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/prefer_compositing_to_lcd_text/scrollbars/scrollbars-on-positioned-content-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutBlockFlow {HTML} at (0,0) size 800x600
-    LayoutBlockFlow {BODY} at (8,8) size 784x576
-      LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutText {#text} at (0,0) size 627x19
-          text run at (0,0) width 627: "This test passes if the custom scrollbar paints in the corrext spot, which is at the bottom of the purple div."
-layer at (8,50) size 319x550 clip at (9,51) size 302x548 scrollHeight 1311
-  LayoutBlockFlow (positioned) {DIV} at (8,50) size 319x550 [border: (1px solid #FF0000)]
-    LayoutBlockFlow {DIV} at (1,412) size 15x900 [bgcolor=#008000]
-layer at (9,51) size 302x411 clip at (10,52) size 300x400 scrollWidth 500
-  LayoutBlockFlow {DIV} at (1,1) size 302x411 [border: (1px solid #0000FF)]
-    LayoutBlockFlow {DIV} at (1,1) size 500x400 [bgcolor=#800080]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/compositing/webgl/webgl-background-color-expected.png b/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/compositing/webgl/webgl-background-color-expected.png
deleted file mode 100644
index 467f63e4..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/compositing/webgl/webgl-background-color-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/compositing/webgl/webgl-background-color-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/compositing/webgl/webgl-background-color-expected.txt
deleted file mode 100644
index 514b71b6..0000000
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/compositing/webgl/webgl-background-color-expected.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x537
-  LayoutBlockFlow {HTML} at (0,0) size 800x537
-    LayoutBlockFlow {BODY} at (8,20) size 784x501
-      LayoutBlockFlow {DIV} at (20,0) size 240x200 [bgcolor=#00008080]
-      LayoutBlockFlow (anonymous) at (0,220) size 784x245
-        LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {P} at (0,481) size 784x20
-        LayoutText {#text} at (0,0) size 232x19
-          text run at (0,0) width 232: "Top and bottom should look the same."
-layer at (28,260) size 240x200
-  LayoutHTMLCanvas {CANVAS} at (20,20) size 240x200 [bgcolor=#00008080]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css1/box_properties/acid_test-expected.png b/third_party/WebKit/LayoutTests/platform/win7/css1/box_properties/acid_test-expected.png
deleted file mode 100644
index c09020a8..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/css1/box_properties/acid_test-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css1/box_properties/acid_test-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/css1/box_properties/acid_test-expected.txt
deleted file mode 100644
index 349e9fe..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/css1/box_properties/acid_test-expected.txt
+++ /dev/null
@@ -1,70 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x433
-  LayoutBlockFlow {HTML} at (0,0) size 800x433 [color=#FFFFFF]
-    LayoutBlockFlow {BODY} at (15,15) size 490x403 [bgcolor=#FFFFFF] [border: (5px solid #000000)]
-      LayoutBlockFlow {DL} at (5,5) size 480x10
-        LayoutBlockFlow (floating) {DT} at (5,5) size 79.98x310 [bgcolor=#CC0000] [border: (5px solid #000000)]
-          LayoutText {#text} at (15,14) size 35x12
-            text run at (15,14) width 35: "toggle"
-        LayoutBlockFlow (floating) {DD} at (95,5) size 380x310 [border: (10px solid #000000)]
-          LayoutBlockFlow {UL} at (20,20) size 340x0
-            LayoutBlockFlow (floating) {LI} at (0,0) size 80x120 [color=#000000] [bgcolor=#FFCC00] [border: (5px solid #000000)]
-              LayoutText {#text} at (15,14) size 42x12
-                text run at (15,14) width 42: "the way"
-            LayoutBlockFlow (floating) {LI} at (90,0) size 159.97x110 [bgcolor=#000000]
-              LayoutBlockFlow {P} at (10,10) size 139.97x10
-                LayoutText {#text} at (0,-1) size 81x12
-                  text run at (0,-1) width 81: "the world ends"
-              LayoutBlockFlow (anonymous) at (10,20) size 139.97x0
-                LayoutInline {FORM} at (0,0) size 0x0
-                  LayoutText {#text} at (0,0) size 0x0
-              LayoutBlockFlow (anonymous) at (10,20) size 139.97x44
-                LayoutBlockFlow {P} at (0,0) size 139.97x22
-                  LayoutText {#text} at (0,6) size 32x12
-                    text run at (0,6) width 32: "bang "
-                  LayoutBlockFlow {INPUT} at (37,3) size 13x13 [color=#000000]
-                  LayoutText {#text} at (0,0) size 0x0
-                LayoutBlockFlow {P} at (0,22) size 139.97x22
-                  LayoutText {#text} at (0,6) size 50x12
-                    text run at (0,6) width 50: "whimper "
-                  LayoutBlockFlow {INPUT} at (55,3) size 13x13 [color=#000000]
-                  LayoutText {#text} at (0,0) size 0x0
-              LayoutBlockFlow (anonymous) at (10,64) size 139.97x0
-                LayoutInline {FORM} at (0,0) size 0x0
-                LayoutText {#text} at (0,0) size 0x0
-            LayoutBlockFlow (floating) {LI} at (259.97,0) size 80x120 [color=#000000] [bgcolor=#FFCC00] [border: (5px solid #000000)]
-              LayoutText {#text} at (15,14) size 32x22
-                text run at (15,14) width 32: "i grow"
-                text run at (15,24) width 17: "old"
-            LayoutBlockFlow (floating) {LI} at (0,130) size 120x120 [bgcolor=#000000]
-              LayoutText {#text} at (10,9) size 34x12
-                text run at (10,9) width 34: "pluot?"
-          LayoutBlockFlow (floating) {BLOCKQUOTE} at (160,150) size 70x140 [color=#000000] [bgcolor=#FFCC00] [border: (10px solid #000000) (15px solid #000000) (20px solid #000000) (5px solid #000000)]
-            LayoutBlockFlow {ADDRESS} at (5,20) size 50x20
-              LayoutText {#text} at (0,-1) size 38x22
-                text run at (0,-1) width 18: "bar"
-                text run at (0,9) width 38: "maids,"
-          LayoutBlockFlow (floating) {H1} at (240,150) size 120x120 [bgcolor=#000000]
-            LayoutText {#text} at (10,9) size 73x22
-              text run at (10,9) width 64: "sing to me,"
-              text run at (10,19) width 73: "erbarme dich"
-      LayoutBlockFlow {P} at (5,320) size 480x78 [color=#000000]
-        LayoutText {#text} at (0,0) size 479x38
-          text run at (0,0) width 419: "This is a nonsensical document, but syntactically valid HTML 4.0. All 100%-"
-          text run at (0,13) width 479: "conformant CSS1 agents should be able to render the document elements above this"
-          text run at (0,26) width 290: "paragraph indistinguishably (to the pixel) from this "
-        LayoutInline {A} at (0,0) size 113x12 [color=#0000EE]
-          LayoutText {#text} at (290,26) size 113x12
-            text run at (290,26) width 113: "reference rendering,"
-        LayoutText {#text} at (403,26) size 475x51
-          text run at (403,26) width 4: " "
-          text run at (407,26) width 68: "(except font"
-          text run at (0,39) width 435: "rasterization and form widgets). All discrepancies should be traceable to CSS1"
-          text run at (0,52) width 467: "implementation shortcomings. Once you have finished evaluating this test, you can"
-          text run at (0,65) width 74: "return to the "
-        LayoutInline {A} at (0,0) size 68x12 [color=#0000EE]
-          LayoutText {#text} at (74,65) size 68x12
-            text run at (74,65) width 68: "parent page"
-        LayoutText {#text} at (142,65) size 4x12
-          text run at (142,65) width 4: "."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css1/font_properties/font-expected.png b/third_party/WebKit/LayoutTests/platform/win7/css1/font_properties/font-expected.png
index 99124e79..ab983fd 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css1/font_properties/font-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/css1/font_properties/font-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css1/font_properties/font_variant-expected.png b/third_party/WebKit/LayoutTests/platform/win7/css1/font_properties/font_variant-expected.png
index 7cd7960..484e96ca 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css1/font_properties/font_variant-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/css1/font_properties/font_variant-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/firstline-expected.png b/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/firstline-expected.png
index eae32b5f..844b8b0 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/firstline-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/firstline-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/firstline-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/firstline-expected.txt
index faf3ecca..042d2f6 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/firstline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/firstline-expected.txt
@@ -18,21 +18,21 @@
       LayoutBlockFlow {P} at (0,131) size 769x60
         LayoutText {#text} at (0,0) size 758x59
           text run at (0,0) width 400: "The first line of this paragraph, and only that one, should be green. "
-          text run at (400,0) width 335: "If this precise combination does not occur, then the user"
+          text run at (400,0) width 334: "If this precise combination does not occur, then the user"
           text run at (0,20) width 149: "agent has failed this test. "
           text run at (149,20) width 609: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one"
           text run at (0,40) width 24: "line."
       LayoutBlockFlow {P} at (0,207) size 769x77
-        LayoutText {#text} at (0,0) size 759x76
+        LayoutText {#text} at (0,0) size 758x76
           text run at (0,0) width 749: "The first line of this paragraph, and only that one, should be"
           text run at (0,37) width 205: "a larger font size as well as green. "
-          text run at (204,37) width 489: "If this precise combination does not occur, then the user agent has failed this test. "
-          text run at (692,37) width 67: "Remember"
+          text run at (205,37) width 487: "If this precise combination does not occur, then the user agent has failed this test. "
+          text run at (692,37) width 66: "Remember"
           text run at (0,57) width 567: "that in order to ensure a complete test, the paragraph must be displayed on more than one line."
       LayoutBlockFlow {P} at (0,300) size 769x80
         LayoutText {#text} at (0,0) size 757x59
           text run at (0,0) width 605: "The first line of this paragraph, and only that one, should be displayed in small-caps style. "
-          text run at (604,0) width 153: "Thus, if the first line is"
+          text run at (605,0) width 152: "Thus, if the first line is"
           text run at (0,20) width 745: "not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test (although the"
           text run at (0,40) width 135: "problem might be that "
         LayoutInline {CODE} at (0,0) size 80x16
@@ -55,9 +55,9 @@
                 text run at (4,4) width 4: " "
             LayoutTableCell {TD} at (12,28) size 755x257 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
               LayoutBlockFlow {P} at (4,4) size 747x60
-                LayoutText {#text} at (0,0) size 735x59
+                LayoutText {#text} at (0,0) size 734x59
                   text run at (0,0) width 400: "The first line of this paragraph, and only that one, should be green. "
-                  text run at (400,0) width 335: "If this precise combination does not occur, then the user"
+                  text run at (400,0) width 334: "If this precise combination does not occur, then the user"
                   text run at (0,20) width 149: "agent has failed this test. "
                   text run at (149,20) width 583: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than"
                   text run at (0,40) width 50: "one line."
@@ -65,12 +65,12 @@
                 LayoutText {#text} at (0,0) size 711x76
                   text run at (0,0) width 711: "The first line of this paragraph, and only that one, should"
                   text run at (0,37) width 224: "be a larger font size as well as green. "
-                  text run at (223,37) width 485: "If this precise combination does not occur, then the user agent has failed this test."
+                  text run at (224,37) width 483: "If this precise combination does not occur, then the user agent has failed this test."
                   text run at (0,57) width 637: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
               LayoutBlockFlow {P} at (4,173) size 747x80
                 LayoutText {#text} at (0,0) size 744x59
                   text run at (0,0) width 605: "The first line of this paragraph, and only that one, should be displayed in small-caps style. "
-                  text run at (604,0) width 140: "Thus, if the first line"
+                  text run at (605,0) width 139: "Thus, if the first line"
                   text run at (0,20) width 736: "is not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test (although"
                   text run at (0,40) width 157: "the problem might be that "
                 LayoutInline {CODE} at (0,0) size 80x16
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/multiple_pseudo_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/multiple_pseudo_elements-expected.txt
index cbd9e20..d368479 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/multiple_pseudo_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/multiple_pseudo_elements-expected.txt
@@ -31,8 +31,8 @@
         LayoutTextFragment {#text} at (9,0) size 769x59
           text run at (9,0) width 727: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be green. "
           text run at (736,0) width 33: "If this"
-          text run at (0,20) width 451: "precise combination does not occur, then the user agent has failed this test. "
-          text run at (450,20) width 302: "Remember that in order to ensure a complete test,"
+          text run at (0,20) width 450: "precise combination does not occur, then the user agent has failed this test. "
+          text run at (450,20) width 301: "Remember that in order to ensure a complete test,"
           text run at (0,40) width 332: "the paragraph must be displayed on more than one line."
       LayoutBlockFlow {P} at (0,255) size 769x192
         LayoutInline {<pseudo:first-letter>} at (0,0) size 68x127 [color=#800000]
@@ -42,14 +42,14 @@
           text run at (68,74) width 621: "he first letter of this paragraph, and only that one,"
           text run at (0,132) width 762: "should be 350% bigger than the rest of the first line of this paragraph and maroon (dark red), while the entire first line should be"
           text run at (0,152) width 223: "200% bigger than normal and green. "
-          text run at (223,152) width 484: "If this precise combination does not occur, then the user agent has failed this test."
+          text run at (223,152) width 483: "If this precise combination does not occur, then the user agent has failed this test."
           text run at (0,172) width 637: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
       LayoutBlockFlow {P} at (0,463) size 769x126
         LayoutInline {<pseudo:first-letter>} at (0,0) size 75x64 [color=#800000]
           LayoutTextFragment (anonymous) at (0,1) size 75x64
             text run at (0,1) width 75: "\"W"
         LayoutTextFragment {#text} at (75,36) size 767x89
-          text run at (75,36) width 334: "e should check for quotation support,\" it was said. "
+          text run at (75,36) width 333: "e should check for quotation support,\" it was said. "
           text run at (408,36) width 359: "The first two characters in this paragraph-- a double-"
           text run at (0,66) width 664: "quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red). "
           text run at (664,66) width 79: "Note that the"
@@ -72,11 +72,11 @@
                 LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#800000]
                   LayoutTextFragment (anonymous) at (0,0) size 9x19
                     text run at (0,0) width 9: "T"
-                LayoutTextFragment {#text} at (9,0) size 747x59
+                LayoutTextFragment {#text} at (9,0) size 746x59
                   text run at (9,0) width 727: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be green. "
                   text run at (736,0) width 9: "If"
-                  text run at (0,20) width 475: "this precise combination does not occur, then the user agent has failed this test. "
-                  text run at (474,20) width 273: "Remember that in order to ensure a complete"
+                  text run at (0,20) width 474: "this precise combination does not occur, then the user agent has failed this test. "
+                  text run at (474,20) width 272: "Remember that in order to ensure a complete"
                   text run at (0,40) width 361: "test, the paragraph must be displayed on more than one line."
               LayoutBlockFlow {P} at (4,80) size 747x192
                 LayoutInline {<pseudo:first-letter>} at (0,0) size 68x127 [color=#800000]
@@ -86,14 +86,14 @@
                   text run at (68,74) width 621: "he first letter of this paragraph, and only that one,"
                   text run at (0,132) width 743: "should be 350% bigger than the rest of the first line of this paragraph and maroon (dark red), while the entire first line should"
                   text run at (0,152) width 242: "be 200% bigger than normal and green. "
-                  text run at (242,152) width 484: "If this precise combination does not occur, then the user agent has failed this test."
+                  text run at (242,152) width 483: "If this precise combination does not occur, then the user agent has failed this test."
                   text run at (0,172) width 637: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
               LayoutBlockFlow {P} at (4,288) size 747x126
                 LayoutInline {<pseudo:first-letter>} at (0,0) size 75x64 [color=#800000]
                   LayoutTextFragment (anonymous) at (0,1) size 75x64
                     text run at (0,1) width 75: "\"W"
                 LayoutTextFragment {#text} at (75,36) size 742x89
-                  text run at (75,36) width 334: "e should check for quotation support,\" it was said. "
+                  text run at (75,36) width 333: "e should check for quotation support,\" it was said. "
                   text run at (408,36) width 304: "The first two characters in this paragraph-- a"
                   text run at (0,66) width 711: "double-quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red). "
                   text run at (711,66) width 31: "Note"
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t051201-c23-first-line-00-b-expected.png b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t051201-c23-first-line-00-b-expected.png
index 3ea0b0c..73a6eac7 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t051201-c23-first-line-00-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t051201-c23-first-line-00-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t051201-c23-first-line-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t051201-c23-first-line-00-b-expected.txt
index e43e35e2..a0d34a13 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t051201-c23-first-line-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t051201-c23-first-line-00-b-expected.txt
@@ -15,20 +15,19 @@
         LayoutInline {STRONG} at (0,0) size 38x19
           LayoutText {#text} at (368,0) size 38x19
             text run at (368,0) width 38: "green"
-        LayoutText {#text} at (405,0) size 776x99
-          text run at (405,0) width 170: ". If this precise combination "
-          text run at (574,0) width 175: "does not occur, then the user"
-          text run at (0,20) width 219: "agent has failed this test. Remember "
-          text run at (219,20) width 373: "that in order to ensure a complete test, the paragraph must be "
-          text run at (592,20) width 166: "displayed on more than one"
-          text run at (0,40) width 241: "line. Dummy text. Dummy text. Dummy "
-          text run at (241,40) width 435: "text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. "
-          text run at (676,40) width 77: "Dummy text."
-          text run at (0,60) width 375: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
-          text run at (375,60) width 401: "text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy"
-          text run at (0,80) width 30: "text. "
-          text run at (30,80) width 456: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
-          text run at (486,80) width 269: "text. Dummy text. Dummy text. Dummy text."
+        LayoutText {#text} at (406,0) size 784x99
+          text run at (406,0) width 169: ". If this precise combination "
+          text run at (575,0) width 209: "does not occur, then the user agent"
+          text run at (0,20) width 183: "has failed this test. Remember "
+          text run at (183,20) width 373: "that in order to ensure a complete test, the paragraph must be "
+          text run at (556,20) width 194: "displayed on more than one line."
+          text run at (0,40) width 213: "Dummy text. Dummy text. Dummy "
+          text run at (213,40) width 435: "text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. "
+          text run at (648,40) width 128: "Dummy text. Dummy"
+          text run at (0,60) width 324: "text. Dummy text. Dummy text. Dummy text. Dummy "
+          text run at (324,60) width 431: "text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
+          text run at (0,80) width 456: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
+          text run at (456,80) width 269: "text. Dummy text. Dummy text. Dummy text."
       LayoutBlockFlow {P} at (0,116) size 784x138
         LayoutText {#text} at (0,1) size 56x36
           text run at (0,1) width 56: "The "
@@ -46,20 +45,20 @@
         LayoutInline {STRONG} at (0,0) size 38x19
           LayoutText {#text} at (159,38) size 38x19
             text run at (159,38) width 38: "green"
-        LayoutText {#text} at (196,38) size 780x99
-          text run at (196,38) width 268: ". If this precise combination does not occur, "
-          text run at (463,38) width 296: "then the user agent has failed this test. Remember"
-          text run at (0,58) width 93: "that in order to "
-          text run at (93,58) width 395: "ensure a complete test, the paragraph must be displayed on more "
-          text run at (488,58) width 292: "than one line. Dummy text. Dummy text. Dummy"
-          text run at (0,78) width 111: "text. Dummy text. "
-          text run at (111,78) width 456: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
-          text run at (567,78) width 188: "text. Dummy text. Dummy text."
-          text run at (0,98) width 243: "Dummy text. Dummy text. Dummy text. "
-          text run at (243,98) width 456: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
-          text run at (699,98) width 77: "text. Dummy"
-          text run at (0,118) width 354: "text. Dummy text. Dummy text. Dummy text. Dummy text. "
-          text run at (354,118) width 158: "Dummy text. Dummy text."
+        LayoutText {#text} at (197,38) size 784x99
+          text run at (197,38) width 266: ". If this precise combination does not occur, "
+          text run at (463,38) width 321: "then the user agent has failed this test. Remember that"
+          text run at (0,58) width 67: "in order to "
+          text run at (67,58) width 395: "ensure a complete test, the paragraph must be displayed on more "
+          text run at (462,58) width 322: "than one line. Dummy text. Dummy text. Dummy text."
+          text run at (0,78) width 81: "Dummy text. "
+          text run at (81,78) width 456: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
+          text run at (537,78) width 239: "text. Dummy text. Dummy text. Dummy"
+          text run at (0,98) width 192: "text. Dummy text. Dummy text. "
+          text run at (192,98) width 456: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
+          text run at (648,98) width 107: "text. Dummy text."
+          text run at (0,118) width 324: "Dummy text. Dummy text. Dummy text. Dummy text. "
+          text run at (324,118) width 158: "Dummy text. Dummy text."
       LayoutBlockFlow {P} at (0,270) size 784x100
         LayoutText {#text} at (0,0) size 28x19
           text run at (0,0) width 28: "The "
@@ -68,18 +67,18 @@
             text run at (28,0) width 60: "first line"
         LayoutText {#text} at (88,0) size 400x19
           text run at (88,0) width 222: " of this paragraph, and only that "
-          text run at (309,0) width 179: "one, should be displayed in "
-        LayoutInline {STRONG} at (0,0) size 76x19
-          LayoutText {#text} at (487,0) size 76x19
-            text run at (487,0) width 76: "small-caps"
-        LayoutText {#text} at (562,0) size 114x19
-          text run at (562,0) width 61: " style as "
-          text run at (622,0) width 54: "well as "
-        LayoutInline {STRONG} at (0,0) size 38x19
-          LayoutText {#text} at (675,0) size 38x19
-            text run at (675,0) width 38: "green"
-        LayoutText {#text} at (712,0) size 776x99
-          text run at (712,0) width 57: ". Thus, if"
+          text run at (310,0) width 178: "one, should be displayed in "
+        LayoutInline {STRONG} at (0,0) size 75x19
+          LayoutText {#text} at (488,0) size 75x19
+            text run at (488,0) width 75: "small-caps"
+        LayoutText {#text} at (563,0) size 113x19
+          text run at (563,0) width 60: " style as "
+          text run at (623,0) width 53: "well as "
+        LayoutInline {STRONG} at (0,0) size 37x19
+          LayoutText {#text} at (676,0) size 37x19
+            text run at (676,0) width 37: "green"
+        LayoutText {#text} at (713,0) size 776x99
+          text run at (713,0) width 56: ". Thus, if"
           text run at (0,20) width 122: "the first line is not in "
           text run at (122,20) width 325: "small-caps style, or if the entire paragraph turns out in "
           text run at (447,20) width 297: "small-caps, then the user agent has failed this test."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t051202-c26-psudo-nest-00-c-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t051202-c26-psudo-nest-00-c-expected.txt
index 067d3672..bf7f4edd 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t051202-c26-psudo-nest-00-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t051202-c26-psudo-nest-00-c-expected.txt
@@ -42,9 +42,9 @@
         LayoutInline {STRONG} at (0,0) size 25x19
           LayoutText {#text} at (405,190) size 25x19
             text run at (405,190) width 25: "teal"
-        LayoutText {#text} at (430,190) size 773x59
-          text run at (430,190) width 267: ". If this precise combination does not occur, "
-          text run at (696,190) width 77: "then the user"
+        LayoutText {#text} at (430,190) size 772x59
+          text run at (430,190) width 266: ". If this precise combination does not occur, "
+          text run at (696,190) width 76: "then the user"
           text run at (0,210) width 312: "agent has failed this test. Remember that in order to "
           text run at (312,210) width 395: "ensure a complete test, the paragraph must be displayed on more "
           text run at (707,210) width 51: "than one"
@@ -58,13 +58,13 @@
         LayoutInline {STRONG} at (0,0) size 110x19
           LayoutText {#text} at (126,13) size 110x19
             text run at (126,13) width 110: "two characters"
-        LayoutText {#text} at (236,13) size 450x19
+        LayoutText {#text} at (236,13) size 449x19
           text run at (236,13) width 119: " in this paragraph "
-          text run at (354,13) width 332: "(a double-quote mark and a capital 'T') should be "
-        LayoutInline {STRONG} at (0,0) size 89x19
-          LayoutText {#text} at (685,13) size 89x19
-            text run at (685,13) width 45: "200% "
-            text run at (729,13) width 45: "bigger"
+          text run at (355,13) width 330: "(a double-quote mark and a capital 'T') should be "
+        LayoutInline {STRONG} at (0,0) size 88x19
+          LayoutText {#text} at (685,13) size 88x19
+            text run at (685,13) width 44: "200% "
+            text run at (729,13) width 44: "bigger"
         LayoutText {#text} at (0,37) size 210x19
           text run at (0,37) width 210: "than the rest of the paragraph, and "
         LayoutInline {STRONG} at (0,0) size 32x19
@@ -114,26 +114,26 @@
         LayoutText {#text} at (660,0) size 748x59
           text run at (660,0) width 21: ". If "
           text run at (681,0) width 67: "this precise"
-          text run at (0,20) width 315: "combination does not occur, then the user agent has "
-          text run at (314,20) width 395: "failed this test. Remember that in order to ensure a complete test, "
-          text run at (708,20) width 19: "the"
+          text run at (0,20) width 314: "combination does not occur, then the user agent has "
+          text run at (314,20) width 394: "failed this test. Remember that in order to ensure a complete test, "
+          text run at (708,20) width 18: "the"
           text run at (0,40) width 368: "paragraph must be displayed on more than one line. (TEST3)"
       LayoutBlockFlow {DIV} at (0,435) size 784x20
-        LayoutText {#text} at (0,0) size 160x19
-          text run at (0,0) width 160: "You should see the words "
-        LayoutInline {STRONG} at (0,0) size 66x19
-          LayoutText {#text} at (159,0) size 66x19
-            text run at (159,0) width 66: "\"TEST1\""
-        LayoutText {#text} at (224,0) size 9x19
-          text run at (224,0) width 9: ", "
-        LayoutInline {STRONG} at (0,0) size 66x19
-          LayoutText {#text} at (232,0) size 66x19
-            text run at (232,0) width 66: "\"TEST2\""
-        LayoutText {#text} at (297,0) size 35x19
-          text run at (297,0) width 35: ", and "
-        LayoutInline {STRONG} at (0,0) size 66x19
-          LayoutText {#text} at (331,0) size 66x19
-            text run at (331,0) width 66: "\"TEST3\""
-        LayoutText {#text} at (396,0) size 230x19
-          text run at (396,0) width 84: " at the end of "
-          text run at (479,0) width 147: "three paragraphs above."
+        LayoutText {#text} at (0,0) size 159x19
+          text run at (0,0) width 159: "You should see the words "
+        LayoutInline {STRONG} at (0,0) size 65x19
+          LayoutText {#text} at (159,0) size 65x19
+            text run at (159,0) width 65: "\"TEST1\""
+        LayoutText {#text} at (224,0) size 8x19
+          text run at (224,0) width 8: ", "
+        LayoutInline {STRONG} at (0,0) size 65x19
+          LayoutText {#text} at (232,0) size 65x19
+            text run at (232,0) width 65: "\"TEST2\""
+        LayoutText {#text} at (297,0) size 34x19
+          text run at (297,0) width 34: ", and "
+        LayoutInline {STRONG} at (0,0) size 65x19
+          LayoutText {#text} at (331,0) size 65x19
+            text run at (331,0) width 65: "\"TEST3\""
+        LayoutText {#text} at (396,0) size 229x19
+          text run at (396,0) width 83: " at the end of "
+          text run at (479,0) width 146: "three paragraphs above."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t09-c5526c-display-00-e-expected.png b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t09-c5526c-display-00-e-expected.png
deleted file mode 100644
index 1a48082..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t09-c5526c-display-00-e-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t09-c5526c-display-00-e-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t09-c5526c-display-00-e-expected.txt
deleted file mode 100644
index 6ca27f7..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t09-c5526c-display-00-e-expected.txt
+++ /dev/null
@@ -1,71 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x433
-  LayoutBlockFlow {HTML} at (0,0) size 800x433 [color=#FFFFFF]
-    LayoutBlockFlow {BODY} at (15,15) size 490x403 [bgcolor=#FFFFFF] [border: (5px solid #000000)]
-      LayoutBlockFlow {DL} at (5,5) size 480x10
-        LayoutBlockFlow (floating) {DT} at (5,5) size 79.98x310 [bgcolor=#CC0000] [border: (5px solid #000000)]
-          LayoutText {#text} at (15,14) size 35x12
-            text run at (15,14) width 35: "toggle"
-        LayoutBlockFlow (floating) {DD} at (95,5) size 380x310 [border: (10px solid #000000)]
-          LayoutBlockFlow {UL} at (20,20) size 340x0
-            LayoutBlockFlow (floating) {LI} at (0,0) size 80x120 [color=#000000] [bgcolor=#FFCC00] [border: (5px solid #000000)]
-              LayoutText {#text} at (15,14) size 42x12
-                text run at (15,14) width 42: "the way"
-            LayoutBlockFlow (floating) {LI} at (90,0) size 159.97x110 [bgcolor=#000000]
-              LayoutBlockFlow {P} at (10,10) size 139.97x10
-                LayoutText {#text} at (0,-1) size 81x12
-                  text run at (0,-1) width 81: "the world ends"
-              LayoutBlockFlow (anonymous) at (10,20) size 139.97x0
-                LayoutInline {FORM} at (0,0) size 0x0
-                  LayoutText {#text} at (0,0) size 0x0
-              LayoutBlockFlow (anonymous) at (10,20) size 139.97x44
-                LayoutBlockFlow {P} at (0,0) size 139.97x22
-                  LayoutText {#text} at (0,6) size 32x12
-                    text run at (0,6) width 32: "bang "
-                  LayoutBlockFlow {INPUT} at (37,3) size 13x13 [color=#000000]
-                  LayoutText {#text} at (0,0) size 0x0
-                LayoutBlockFlow {P} at (0,22) size 139.97x22
-                  LayoutText {#text} at (0,6) size 50x12
-                    text run at (0,6) width 50: "whimper "
-                  LayoutBlockFlow {INPUT} at (55,3) size 13x13 [color=#000000]
-                  LayoutText {#text} at (0,0) size 0x0
-              LayoutBlockFlow (anonymous) at (10,64) size 139.97x0
-                LayoutInline {FORM} at (0,0) size 0x0
-                LayoutText {#text} at (0,0) size 0x0
-            LayoutBlockFlow (floating) {LI} at (259.97,0) size 80x120 [color=#000000] [bgcolor=#FFCC00] [border: (5px solid #000000)]
-              LayoutText {#text} at (15,14) size 32x22
-                text run at (15,14) width 32: "i grow"
-                text run at (15,24) width 17: "old"
-            LayoutBlockFlow (floating) {LI} at (0,130) size 120x120 [bgcolor=#000000]
-              LayoutText {#text} at (10,9) size 34x12
-                text run at (10,9) width 34: "pluot?"
-          LayoutBlockFlow (floating) {BLOCKQUOTE} at (160,150) size 70x140 [color=#000000] [bgcolor=#FFCC00] [border: (10px solid #000000) (15px solid #000000) (20px solid #000000) (5px solid #000000)]
-            LayoutBlockFlow {ADDRESS} at (5,20) size 50x20
-              LayoutText {#text} at (0,-1) size 38x22
-                text run at (0,-1) width 18: "bar"
-                text run at (0,9) width 38: "maids,"
-          LayoutBlockFlow (floating) {H1} at (240,150) size 120x120 [bgcolor=#000000]
-            LayoutText {#text} at (10,9) size 73x22
-              text run at (10,9) width 64: "sing to me,"
-              text run at (10,19) width 73: "erbarme dich"
-      LayoutBlockFlow {P} at (5,320) size 480x78 [color=#000000]
-        LayoutText {#text} at (0,0) size 479x38
-          text run at (0,0) width 419: "This is a nonsensical document, but syntactically valid HTML 4.0. All 100%-"
-          text run at (0,13) width 479: "conformant CSS1 agents should be able to render the document elements above this"
-          text run at (0,26) width 290: "paragraph indistinguishably (to the pixel) from this "
-        LayoutInline {A} at (0,0) size 113x12 [color=#999999]
-          LayoutText {#text} at (290,26) size 113x12
-            text run at (290,26) width 113: "reference rendering,"
-        LayoutText {#text} at (403,26) size 475x38
-          text run at (403,26) width 4: " "
-          text run at (407,26) width 68: "(except font"
-          text run at (0,39) width 435: "rasterization and form widgets). All discrepancies should be traceable to CSS1"
-          text run at (0,52) width 174: "implementation shortcomings. "
-          text run at (174,52) width 41: "Please "
-        LayoutInline {A} at (0,0) size 93x12 [color=#CC0000]
-          LayoutText {#text} at (215,52) size 93x12
-            text run at (215,52) width 93: "report any errors"
-        LayoutText {#text} at (308,52) size 480x25
-          text run at (308,52) width 172: " you find between the CSS and"
-          text run at (0,65) width 135: "the reference rendering."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png
index d0485d4..437a7a4 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt
index ce02760..550dda7 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt
@@ -10,40 +10,40 @@
           text run at (80,38) width 551: "of the viewport, on the left of the 50% ruler"
           text run at (0,75) width 72: "mark."
       LayoutBlockFlow (floating) {DIV} at (0,144) size 384.50x380 [color=#FFFFFF] [bgcolor=#0000FF]
-        LayoutText {#text} at (0,0) size 385x379
+        LayoutText {#text} at (0,0) size 384x379
           text run at (0,0) width 384: "ignore this float text ignore this float text ignore this"
           text run at (0,20) width 41: "float "
-          text run at (40,20) width 345: "text ignore this float text ignore this float text"
+          text run at (41,20) width 343: "text ignore this float text ignore this float text"
           text run at (0,40) width 77: "ignore this "
           text run at (77,40) width 307: "float text ignore this float text ignore this"
           text run at (0,60) width 125: "float text ignore "
-          text run at (124,60) width 261: "this float text ignore this float text"
+          text run at (125,60) width 259: "this float text ignore this float text"
           text run at (0,80) width 156: "ignore this float text "
-          text run at (155,80) width 229: "ignore this float text ignore this"
+          text run at (156,80) width 228: "ignore this float text ignore this"
           text run at (0,100) width 197: "float text ignore this float "
-          text run at (196,100) width 189: "text ignore this float text"
+          text run at (197,100) width 187: "text ignore this float text"
           text run at (0,120) width 234: "ignore this float text ignore this "
-          text run at (233,120) width 151: "float text ignore this"
+          text run at (234,120) width 150: "float text ignore this"
           text run at (0,140) width 281: "float text ignore this float text ignore "
-          text run at (280,140) width 105: "this float text"
-          text run at (0,160) width 313: "ignore this float text ignore this float text "
+          text run at (281,140) width 103: "this float text"
+          text run at (0,160) width 312: "ignore this float text ignore this float text "
           text run at (312,160) width 72: "ignore this"
-          text run at (0,180) width 354: "float text ignore this float text ignore this float "
-          text run at (353,180) width 32: "text"
+          text run at (0,180) width 353: "float text ignore this float text ignore this float "
+          text run at (353,180) width 31: "text"
           text run at (0,200) width 384: "ignore this float text ignore this float text ignore this"
-          text run at (0,220) width 385: "float text ignore this float text ignore this float text"
+          text run at (0,220) width 384: "float text ignore this float text ignore this float text"
           text run at (0,240) width 46: "ignore "
           text run at (46,240) width 338: "this float text ignore this float text ignore this"
           text run at (0,260) width 78: "float text "
-          text run at (77,260) width 308: "ignore this float text ignore this float text"
+          text run at (78,260) width 306: "ignore this float text ignore this float text"
           text run at (0,280) width 119: "ignore this float "
-          text run at (118,280) width 266: "text ignore this float text ignore this"
-          text run at (0,300) width 156: "float text ignore this "
-          text run at (155,300) width 230: "float text ignore this float text"
+          text run at (119,280) width 265: "text ignore this float text ignore this"
+          text run at (0,300) width 155: "float text ignore this "
+          text run at (155,300) width 229: "float text ignore this float text"
           text run at (0,320) width 203: "ignore this float text ignore "
-          text run at (202,320) width 182: "this float text ignore this"
+          text run at (203,320) width 181: "this float text ignore this"
           text run at (0,340) width 234: "float text ignore this float text "
-          text run at (233,340) width 152: "ignore this float text"
+          text run at (234,340) width 150: "ignore this float text"
           text run at (0,360) width 259: "ignore this float text ignore this float"
       LayoutBlockFlow {DIV} at (0,144) size 769x500 [color=#C0C0C0]
         LayoutText {#text} at (384,0) size 769x499
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1202-counter-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1202-counter-04-b-expected.txt
index 836e91a1..56f7628 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1202-counter-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1202-counter-04-b-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 216x19
           text run at (0,0) width 216: "The following two lines should look "
-        LayoutInline {EM} at (0,0) size 93x19
-          LayoutText {#text} at (216,0) size 93x19
-            text run at (216,0) width 93: "approximately"
-        LayoutText {#text} at (308,0) size 61x19
-          text run at (308,0) width 61: " the same:"
+        LayoutInline {EM} at (0,0) size 92x19
+          LayoutText {#text} at (216,0) size 92x19
+            text run at (216,0) width 92: "approximately"
+        LayoutText {#text} at (308,0) size 60x19
+          text run at (308,0) width 60: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 9x19
           LayoutInline {<pseudo:before>} at (0,0) size 9x19
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1202-counters-04-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1202-counters-04-b-expected.txt
index bf4b0816..6b76f0f 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1202-counters-04-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1202-counters-04-b-expected.txt
@@ -6,11 +6,11 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 216x19
           text run at (0,0) width 216: "The following two lines should look "
-        LayoutInline {EM} at (0,0) size 93x19
-          LayoutText {#text} at (216,0) size 93x19
-            text run at (216,0) width 93: "approximately"
-        LayoutText {#text} at (308,0) size 61x19
-          text run at (308,0) width 61: " the same:"
+        LayoutInline {EM} at (0,0) size 92x19
+          LayoutText {#text} at (216,0) size 92x19
+            text run at (216,0) width 92: "approximately"
+        LayoutText {#text} at (308,0) size 60x19
+          text run at (308,0) width 60: " the same:"
       LayoutBlockFlow {DIV} at (0,36) size 784x20
         LayoutInline {SPAN} at (0,0) size 22x19
           LayoutInline {<pseudo:before>} at (0,0) size 22x19
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1503-c522-font-family-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1503-c522-font-family-00-b-expected.txt
deleted file mode 100644
index 18f52e3..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1503-c522-font-family-00-b-expected.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x285
-  LayoutBlockFlow {HTML} at (0,0) size 800x285
-    LayoutBlockFlow {BODY} at (8,8) size 784x269
-      LayoutBlockFlow {DIV} at (0,0) size 784x118
-        LayoutBlockFlow {P} at (0,0) size 784x20 [color=#000080]
-          LayoutText {#text} at (0,0) size 228x19
-            text run at (0,0) width 228: "This sentence should be in a serif font."
-        LayoutBlockFlow {P} at (0,20) size 784x20 [color=#000080]
-          LayoutText {#text} at (0,0) size 228x19
-            text run at (0,0) width 228: "This sentence should be in a serif font."
-        LayoutBlockFlow {P} at (0,40) size 784x19 [color=#000080]
-          LayoutText {#text} at (0,0) size 301x18
-            text run at (0,0) width 301: "This sentence should be in a sans-serif font."
-        LayoutBlockFlow {P} at (0,59) size 784x23 [color=#000080]
-          LayoutText {#text} at (0,0) size 299x23
-            text run at (0,0) width 299: "This sentence should be in a cursive font."
-        LayoutBlockFlow {P} at (0,82) size 784x20 [color=#000080]
-          LayoutText {#text} at (0,0) size 267x20
-            text run at (0,0) width 267: "This sentence should be in a fantasy font."
-        LayoutBlockFlow {P} at (0,102) size 784x16 [color=#000080]
-          LayoutText {#text} at (0,0) size 352x16
-            text run at (0,0) width 352: "This sentence should be in a monospace font."
-      LayoutBlockFlow {P} at (0,118) size 784x19 [color=#000080]
-        LayoutText {#text} at (0,0) size 301x18
-          text run at (0,0) width 301: "This sentence should be in a sans-serif font."
-      LayoutBlockFlow {P} at (0,137) size 784x18 [color=#000080]
-        LayoutText {#text} at (0,0) size 440x18
-          text run at (0,0) width 440: "This sentence should be in a monospace font."
-      LayoutBlockFlow {DIV} at (0,155) size 784x114
-        LayoutBlockFlow {P} at (0,0) size 784x16 [color=#000080]
-          LayoutText {#text} at (0,0) size 352x16
-            text run at (0,0) width 352: "This sentence should be in a monospace font."
-        LayoutBlockFlow {P} at (0,16) size 784x20 [color=#000080]
-          LayoutText {#text} at (0,0) size 228x19
-            text run at (0,0) width 228: "This sentence should be in a serif font."
-        LayoutBlockFlow {P} at (0,36) size 784x19 [color=#000080]
-          LayoutText {#text} at (0,0) size 301x18
-            text run at (0,0) width 301: "This sentence should be in a sans-serif font."
-        LayoutBlockFlow {P} at (0,55) size 784x23 [color=#000080]
-          LayoutText {#text} at (0,0) size 299x23
-            text run at (0,0) width 299: "This sentence should be in a cursive font."
-        LayoutBlockFlow {P} at (0,78) size 784x20 [color=#000080]
-          LayoutText {#text} at (0,0) size 267x20
-            text run at (0,0) width 267: "This sentence should be in a fantasy font."
-        LayoutBlockFlow {P} at (0,98) size 784x16 [color=#000080]
-          LayoutText {#text} at (0,0) size 352x16
-            text run at (0,0) width 352: "This sentence should be in a monospace font."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1508-c527-font-00-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1508-c527-font-00-b-expected.txt
index 727fbae..e320e067 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1508-c527-font-00-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1508-c527-font-00-b-expected.txt
@@ -7,8 +7,8 @@
         LayoutText {#text} at (0,0) size 611x16
           text run at (0,0) width 611: "This text should be 13px Helvetica in small-caps and italicized. There should be a small gap between each line. "
         LayoutInline {SPAN} at (0,0) size 776x80 [color=#C0C0C0]
-          LayoutText {#text} at (610,0) size 776x80
-            text run at (610,0) width 166: "dummy text dummy text dummy"
+          LayoutText {#text} at (611,0) size 776x80
+            text run at (611,0) width 165: "dummy text dummy text dummy"
             text run at (0,16) width 195: "text dummy text dummy text dummy "
             text run at (195,16) width 390: "text dummy text dummy text dummy text dummy text dummy text dummy "
             text run at (585,16) width 191: "text dummy text dummy text dummy"
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1508-c527-font-07-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1508-c527-font-07-b-expected.txt
index dee61540..a00ac6e4 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1508-c527-font-07-b-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1508-c527-font-07-b-expected.txt
@@ -4,13 +4,13 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x708
     LayoutBlockFlow {BODY} at (8,18) size 784x672 [color=#000080]
       LayoutBlockFlow {P} at (0,0) size 784x672
-        LayoutText {#text} at (0,37) size 734x118
-          text run at (0,37) width 734: "This text should be 18px sans-serif, in small-caps and italicized. The lines should be one inch"
+        LayoutText {#text} at (0,37) size 733x118
+          text run at (0,37) width 733: "This text should be 18px sans-serif, in small-caps and italicized. The lines should be one inch"
           text run at (0,133) width 53: "apart. "
         LayoutInline {SPAN} at (0,0) size 776x502 [color=#C0C0C0]
-          LayoutText {#text} at (52,133) size 776x502
-            text run at (52,133) width 508: "dummy text dummy text dummy text dummy text dummy text dummy "
-            text run at (559,133) width 217: "text dummy text dummy text"
+          LayoutText {#text} at (53,133) size 776x502
+            text run at (53,133) width 507: "dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (560,133) width 216: "text dummy text dummy text"
             text run at (0,229) width 325: "dummy text dummy text dummy text dummy "
             text run at (325,229) width 450: "text dummy text dummy text dummy text dummy text dummy"
             text run at (0,325) width 91: "text dummy "
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1508-c527-font-10-c-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1508-c527-font-10-c-expected.txt
index d5e7315a..986ed59 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1508-c527-font-10-c-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/css2.1/t1508-c527-font-10-c-expected.txt
@@ -6,13 +6,13 @@
       LayoutBlockFlow {P} at (0,0) size 784x432
         LayoutInline {SPAN} at (0,0) size 775x400 [color=#FFFFFF] [bgcolor=#000080]
           LayoutText {#text} at (0,16) size 747x76
-            text run at (0,16) width 485: "This text should be 18px sans-serif, in small-caps, italicized, "
+            text run at (0,16) width 484: "This text should be 18px sans-serif, in small-caps, italicized, "
             text run at (484,16) width 263: "and very light. There should be a"
             text run at (0,70) width 252: "36px gap betwen each line. The "
-            text run at (252,70) width 452: "text should have a blue background, the gap should not. "
+            text run at (252,70) width 451: "text should have a blue background, the gap should not. "
           LayoutInline {SPAN} at (0,0) size 775x346 [color=#0000FF]
             LayoutText {#text} at (703,70) size 775x346
-              text run at (703,70) width 48: "dummy"
+              text run at (703,70) width 47: "dummy"
               text run at (0,124) width 455: "text dummy text dummy text dummy text dummy text dummy "
               text run at (455,124) width 307: "text dummy text dummy text dummy text"
               text run at (0,178) width 234: "dummy text dummy text dummy "
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/block/basic/011-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/block/basic/011-expected.png
deleted file mode 100644
index c09020a8..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/block/basic/011-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/block/margin-collapse/103-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/block/margin-collapse/103-expected.png
index f74d408e..7d0ecf4 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/block/margin-collapse/103-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/block/margin-collapse/103-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-2-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-2-expected.png
index de072ef..c8e2b7e 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-2-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-2-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-2-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-2-expected.txt
index 28367e1..e472406 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-2-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {A} at (0,0) size 58x19 [color=#0000EE]
-          LayoutText {#text} at (0,0) size 58x19
-            text run at (0,0) width 58: "bug 7118"
-        LayoutText {#text} at (57,0) size 339x19
-          text run at (57,0) width 339: ": Wrong property values do not get invalidated correctly."
+        LayoutInline {A} at (0,0) size 57x19 [color=#0000EE]
+          LayoutText {#text} at (0,0) size 57x19
+            text run at (0,0) width 57: "bug 7118"
+        LayoutText {#text} at (57,0) size 338x19
+          text run at (57,0) width 338: ": Wrong property values do not get invalidated correctly."
       LayoutBlockFlow (anonymous) at (0,36) size 784x0
         LayoutInline {DIV} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-expected.png
index de072ef..c8e2b7e 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-expected.txt
index 28367e1..e472406 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/css/invalidation-errors-expected.txt
@@ -4,11 +4,11 @@
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x576
       LayoutBlockFlow {P} at (0,0) size 784x20
-        LayoutInline {A} at (0,0) size 58x19 [color=#0000EE]
-          LayoutText {#text} at (0,0) size 58x19
-            text run at (0,0) width 58: "bug 7118"
-        LayoutText {#text} at (57,0) size 339x19
-          text run at (57,0) width 339: ": Wrong property values do not get invalidated correctly."
+        LayoutInline {A} at (0,0) size 57x19 [color=#0000EE]
+          LayoutText {#text} at (0,0) size 57x19
+            text run at (0,0) width 57: "bug 7118"
+        LayoutText {#text} at (57,0) size 338x19
+          text run at (57,0) width 338: ": Wrong property values do not get invalidated correctly."
       LayoutBlockFlow (anonymous) at (0,36) size 784x0
         LayoutInline {DIV} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/dom/52776-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/fast/dom/52776-expected.txt
index 3fa5b68..66cf465 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/dom/52776-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/dom/52776-expected.txt
@@ -9,7 +9,7 @@
             text run at (690,0) width 79: "Right To Left"
         LayoutBlockFlow {P} at (0,36) size 769x20
           LayoutText {#text} at (457,0) size 312x19
-            text run at (457,0) width 5 RTL: "."
+            text run at (457,0) width 4 RTL: "."
             text run at (461,0) width 308: "Well-formed pair of unicode bidi control characters"
         LayoutBlockFlow {DIV} at (0,72) size 769x20
           LayoutText {#text} at (756,0) size 13x19
@@ -104,7 +104,7 @@
             text run at (769,0) width 0 RTL: "\x{202C}"
         LayoutBlockFlow {P} at (0,688) size 769x20
           LayoutText {#text} at (508,0) size 261x19
-            text run at (508,0) width 5 RTL: "."
+            text run at (508,0) width 4 RTL: "."
             text run at (512,0) width 257: "Start with different directionality characters"
         LayoutBlockFlow {DIV} at (0,724) size 769x20
           LayoutText {#text} at (745,0) size 24x19
@@ -266,7 +266,7 @@
       LayoutBlockFlow {UL} at (0,1760) size 769x20
         LayoutListItem {LI} at (40,0) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
-          LayoutText {#text} at (0,0) size 677x19
-            text run at (0,0) width 677: "test id=test: the right-most character of rendering result of <PDF>abc<PDF> in RTL block should be c: Success"
+          LayoutText {#text} at (0,0) size 676x19
+            text run at (0,0) width 676: "test id=test: the right-most character of rendering result of <PDF>abc<PDF> in RTL block should be c: Success"
 selection start: position 3 of child 0 {#text} of child 20 {DIV} of child 1 {DIV} of body
 selection end:   position 4 of child 0 {#text} of child 20 {DIV} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-coarse-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-coarse-expected.png
index 08602d79..11461aa 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-coarse-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-coarse-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-expected.png
index 6404606..5634880 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-minimum-date-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-minimum-date-expected.png
index 34f77286..9b5aada 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-minimum-date-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-minimum-date-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-required-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-required-expected.png
index 9f61bd6..a76e285 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-required-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-required-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png
index a9bb78b..94a0a82 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-zoom125-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-zoom125-expected.png
index 054695492..c833ede 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-zoom125-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/calendar-picker-appearance-zoom125-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/month-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/month-picker-appearance-expected.png
index 4591209..9eb5f76 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/month-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/month-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/month-picker-appearance-step-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/month-picker-appearance-step-expected.png
index e9ef999..0fe7656 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/month-picker-appearance-step-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/month-picker-appearance-step-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/week-picker-appearance-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/week-picker-appearance-expected.png
index beb3f1e9..ccd4025d 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/week-picker-appearance-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/week-picker-appearance-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/week-picker-appearance-step-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/week-picker-appearance-step-expected.png
index 27f901f7..c92ab658 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/week-picker-appearance-step-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/calendar-picker/week-picker-appearance-step-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/select/menulist-appearance-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/select/menulist-appearance-rtl-expected.txt
index 565babae..4a61e99 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/select/menulist-appearance-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/select/menulist-appearance-rtl-expected.txt
@@ -67,8 +67,8 @@
                 text run at (4,1) width 91 RTL: "\x{627}\x{644}\x{627}\x{642}\x{62A}\x{631}\x{627}\x{62D}\x{627}\x{62A} / \x{627}\x{644}\x{634}\x{643}\x{627}\x{648}\x{64A}"
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow {P} at (0,343) size 784x20
-        LayoutText {#text} at (0,0) size 659x19
-          text run at (0,0) width 659: "Verify that the alignment and writing direction of each selected item matches the one below the pop-up button."
+        LayoutText {#text} at (0,0) size 658x19
+          text run at (0,0) width 658: "Verify that the alignment and writing direction of each selected item matches the one below the pop-up button."
 layer at (8,268) size 784x2 clip at (0,0) size 0x0
   LayoutBlockFlow {HR} at (0,252) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,341) size 784x2 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/suggestion-picker/month-suggestion-picker-appearance-with-scroll-bar-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/suggestion-picker/month-suggestion-picker-appearance-with-scroll-bar-expected.png
index 5e7269c9..0d439a65 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/suggestion-picker/month-suggestion-picker-appearance-with-scroll-bar-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/suggestion-picker/month-suggestion-picker-appearance-with-scroll-bar-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/writing-mode/Kusa-Makura-background-canvas-expected.png b/third_party/WebKit/LayoutTests/platform/win7/fast/writing-mode/Kusa-Makura-background-canvas-expected.png
index 0a06ce47..d4fd6d0 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/writing-mode/Kusa-Makura-background-canvas-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/writing-mode/Kusa-Makura-background-canvas-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/http/tests/misc/acid3-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/http/tests/misc/acid3-expected.txt
new file mode 100644
index 0000000..62002d4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win7/http/tests/misc/acid3-expected.txt
@@ -0,0 +1,243 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (20,20) size 644x433
+  LayoutBlockFlow {HTML} at (20,20) size 644x433 [border: none (4px solid #808080) none]
+    LayoutBlockFlow {BODY} at (-4,-4) size 644x433 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
+      LayoutBlockFlow {H1} at (41,41) size 562x120
+        LayoutText {#text} at (0,2) size 270x115
+          text run at (0,2) width 270: "Acid3"
+      LayoutBlockFlow {DIV} at (41,121) size 562x312
+        LayoutBlockFlow {P} at (7,80) size 54x42 [bgcolor=#FF0000] [border: (1px solid #000000)]
+        LayoutBlockFlow {P} at (70,64) size 64x50 [bgcolor=#FFA500] [border: (1px solid #000000)]
+        LayoutBlockFlow {P} at (144.98,48) size 74x58 [bgcolor=#FFFF00] [border: (1px solid #000000)]
+        LayoutBlockFlow {P} at (230.98,32) size 86x66 [bgcolor=#00FF00] [border: (1px solid #000000)]
+        LayoutBlockFlow {P} at (329.98,16) size 96x74 [bgcolor=#0000FF] [border: (1px solid #000000)]
+        LayoutBlockFlow {P} at (440.98,0) size 106x82 [bgcolor=#800080] [border: (1px solid #000000)]
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (41,214) size 568x120
+        LayoutInline {SPAN} at (0,0) size 168x115
+          LayoutText {#text} at (204,2) size 168x115
+            text run at (204,2) width 168: "100"
+        LayoutInline {SPAN} at (0,0) size 28x115
+          LayoutText {#text} at (372,2) size 28x115
+            text run at (372,2) width 28: "/"
+        LayoutInline {SPAN} at (0,0) size 168x115
+          LayoutText {#text} at (400,2) size 168x115
+            text run at (400,2) width 168: "100"
+      LayoutBlockFlow (anonymous) at (41,334) size 562x0
+        LayoutInline {MAP} at (0,0) size 0x0
+          LayoutInline {AREA} at (0,0) size 0x0 [color=#0000FF]
+      LayoutBlockFlow (anonymous) at (41,334) size 562x0
+        LayoutBlockFlow {FORM} at (0,0) size 562x0
+        LayoutTable {TABLE} at (0,0) size 0x0
+          LayoutTableSection {TBODY} at (0,0) size 0x0
+            LayoutTableRow {TR} at (0,0) size 0x0
+              LayoutTableCell {TD} at (0,0) size 0x0 [r=0 c=0 rs=1 cs=1]
+                LayoutBlockFlow {P} at (0,0) size 0x0
+      LayoutBlockFlow (anonymous) at (41,334) size 562x0
+        LayoutInline {MAP} at (0,0) size 0x0
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (41,334) size 582x98 [color=#808080]
+        LayoutText {#text} at (0,0) size 112x18
+          text run at (0,0) width 112: "To pass the test,"
+        LayoutBlockFlow (floating) {SPAN} at (562,0) size 20x20 [bgcolor=#FFFFFF]
+        LayoutText {#text} at (112,0) size 548x56
+          text run at (112,0) width 436: " a browser must use its default settings, the animation has to be"
+          text run at (0,19) width 546: "smooth, the score has to end on 100/100, and the final page has to look exactly,"
+          text run at (0,38) width 126: "pixel for pixel, like "
+        LayoutInline {A} at (0,0) size 164x18 [color=#0000FF]
+          LayoutText {#text} at (126,38) size 164x18
+            text run at (126,38) width 164: "this reference rendering"
+        LayoutText {#text} at (290,38) size 4x18
+          text run at (290,38) width 4: "."
+layer at (57,350) size 0x0
+  LayoutIFrame (floating) {IFRAME} at (0,0) size 0x0
+    layer at (0,0) size 0x0 scrollWidth 1 scrollHeight 1
+      LayoutView at (0,0) size 0x0
+    layer at (0,0) size 0x1
+      LayoutBlockFlow {HTML} at (0,0) size 0x1
+        LayoutBlockFlow {BODY} at (0,0) size 0x1
+          LayoutImage {IMG} at (0,0) size 1x1
+layer at (57,350) size 0x0
+  LayoutIFrame (floating) {IFRAME} at (0,0) size 0x0
+    layer at (0,0) size 0x0 scrollWidth 16 scrollHeight 2309
+      LayoutView at (0,0) size 0x0
+    layer at (0,0) size 0x2309
+      LayoutBlockFlow {HTML} at (0,0) size 0x2309
+        LayoutBlockFlow {BODY} at (8,8) size 0x2288
+          LayoutBlockFlow {PRE} at (0,0) size 0x2288
+            LayoutText {#text} at (0,0) size 8x2288
+              text run at (0,0) width 8: "<"
+              text run at (0,16) width 8: "!"
+              text run at (0,32) width 8: "D"
+              text run at (0,48) width 8: "O"
+              text run at (0,64) width 8: "C"
+              text run at (0,80) width 8: "T"
+              text run at (0,96) width 8: "Y"
+              text run at (0,112) width 8: "P"
+              text run at (0,128) width 8: "E"
+              text run at (0,144) width 0: " "
+              text run at (0,160) width 8: "h"
+              text run at (0,176) width 8: "t"
+              text run at (0,192) width 8: "m"
+              text run at (0,208) width 8: "l"
+              text run at (0,224) width 8: ">"
+              text run at (0,240) width 8: "<"
+              text run at (0,256) width 8: "h"
+              text run at (0,272) width 8: "t"
+              text run at (0,288) width 8: "m"
+              text run at (0,304) width 8: "l"
+              text run at (0,320) width 8: ">"
+              text run at (0,336) width 8: "<"
+              text run at (0,352) width 8: "h"
+              text run at (0,368) width 8: "e"
+              text run at (0,384) width 8: "a"
+              text run at (0,400) width 8: "d"
+              text run at (0,416) width 8: ">"
+              text run at (0,432) width 8: "<"
+              text run at (0,448) width 8: "t"
+              text run at (0,464) width 8: "i"
+              text run at (0,480) width 8: "t"
+              text run at (0,496) width 8: "l"
+              text run at (0,512) width 8: "e"
+              text run at (0,528) width 8: ">"
+              text run at (0,544) width 8: "F"
+              text run at (0,560) width 8: "A"
+              text run at (0,576) width 8: "I"
+              text run at (0,592) width 8: "L"
+              text run at (0,608) width 8: "<"
+              text run at (0,624) width 8: "/"
+              text run at (0,640) width 8: "t"
+              text run at (0,656) width 8: "i"
+              text run at (0,672) width 8: "t"
+              text run at (0,688) width 8: "l"
+              text run at (0,704) width 8: "e"
+              text run at (0,720) width 8: ">"
+              text run at (0,736) width 8: "<"
+              text run at (0,752) width 8: "/"
+              text run at (0,768) width 8: "h"
+              text run at (0,784) width 8: "e"
+              text run at (0,800) width 8: "a"
+              text run at (0,816) width 8: "d"
+              text run at (0,832) width 8: ">"
+              text run at (0,848) width 8: "<"
+              text run at (0,864) width 8: "b"
+              text run at (0,880) width 8: "o"
+              text run at (0,896) width 8: "d"
+              text run at (0,912) width 8: "y"
+              text run at (0,928) width 8: ">"
+              text run at (0,944) width 8: "<"
+              text run at (0,960) width 8: "p"
+              text run at (0,976) width 8: ">"
+              text run at (0,992) width 8: "F"
+              text run at (0,1008) width 8: "A"
+              text run at (0,1024) width 8: "I"
+              text run at (0,1040) width 8: "L"
+              text run at (0,1056) width 8: "<"
+              text run at (0,1072) width 8: "/"
+              text run at (0,1088) width 8: "p"
+              text run at (0,1104) width 8: ">"
+              text run at (0,1120) width 8: "<"
+              text run at (0,1136) width 8: "s"
+              text run at (0,1152) width 8: "c"
+              text run at (0,1168) width 8: "r"
+              text run at (0,1184) width 8: "i"
+              text run at (0,1200) width 8: "p"
+              text run at (0,1216) width 8: "t"
+              text run at (0,1232) width 8: ">"
+              text run at (0,1248) width 8: "p"
+              text run at (0,1264) width 8: "a"
+              text run at (0,1280) width 8: "r"
+              text run at (0,1296) width 8: "e"
+              text run at (0,1312) width 8: "n"
+              text run at (0,1328) width 8: "t"
+              text run at (0,1344) width 8: "."
+              text run at (0,1360) width 8: "n"
+              text run at (0,1376) width 8: "o"
+              text run at (0,1392) width 8: "t"
+              text run at (0,1408) width 8: "i"
+              text run at (0,1424) width 8: "f"
+              text run at (0,1440) width 8: "y"
+              text run at (0,1456) width 8: "("
+              text run at (0,1472) width 8: "\""
+              text run at (0,1488) width 8: "r"
+              text run at (0,1504) width 8: "e"
+              text run at (0,1520) width 8: "s"
+              text run at (0,1536) width 8: "o"
+              text run at (0,1552) width 8: "u"
+              text run at (0,1568) width 8: "r"
+              text run at (0,1584) width 8: "c"
+              text run at (0,1600) width 8: "e"
+              text run at (0,1616) width 8: "s"
+              text run at (0,1632) width 8: "/"
+              text run at (0,1648) width 8: "a"
+              text run at (0,1664) width 8: "c"
+              text run at (0,1680) width 8: "i"
+              text run at (0,1696) width 8: "d"
+              text run at (0,1712) width 8: "3"
+              text run at (0,1728) width 8: "/"
+              text run at (0,1744) width 8: "e"
+              text run at (0,1760) width 8: "m"
+              text run at (0,1776) width 8: "p"
+              text run at (0,1792) width 8: "t"
+              text run at (0,1808) width 8: "y"
+              text run at (0,1824) width 8: "."
+              text run at (0,1840) width 8: "t"
+              text run at (0,1856) width 8: "x"
+              text run at (0,1872) width 8: "t"
+              text run at (0,1888) width 8: "\""
+              text run at (0,1904) width 8: ")"
+              text run at (0,1920) width 8: "<"
+              text run at (0,1936) width 8: "/"
+              text run at (0,1952) width 8: "s"
+              text run at (0,1968) width 8: "c"
+              text run at (0,1984) width 8: "r"
+              text run at (0,2000) width 8: "i"
+              text run at (0,2016) width 8: "p"
+              text run at (0,2032) width 8: "t"
+              text run at (0,2048) width 8: ">"
+              text run at (0,2064) width 8: "<"
+              text run at (0,2080) width 8: "/"
+              text run at (0,2096) width 8: "b"
+              text run at (0,2112) width 8: "o"
+              text run at (0,2128) width 8: "d"
+              text run at (0,2144) width 8: "y"
+              text run at (0,2160) width 8: ">"
+              text run at (0,2176) width 8: "<"
+              text run at (0,2192) width 8: "/"
+              text run at (0,2208) width 8: "h"
+              text run at (0,2224) width 8: "t"
+              text run at (0,2240) width 8: "m"
+              text run at (0,2256) width 8: "l"
+              text run at (0,2272) width 8: ">"
+layer at (57,350) size 0x0
+  LayoutIFrame (floating) {IFRAME} at (0,0) size 0x0
+    layer at (0,0) size 0x0 scrollWidth 1 scrollHeight 8
+      LayoutView at (0,0) size 0x0
+    layer at (0,0) size 0x8
+      LayoutBlockFlow {HTML} at (0,0) size 0x8
+        LayoutBlockFlow {BODY} at (8,8) size 0x0
+layer at (131,84) size 0x0
+  LayoutBlockFlow (positioned) {OBJECT} at (130.50,84.30) size 0x0
+layer at (131,84) size 300x150
+  LayoutEmbeddedObject (positioned) {OBJECT} at (130.50,84.30) size 300x150
+    layer at (0,0) size 300x150
+      LayoutView at (0,0) size 300x150
+    layer at (0,0) size 300x16
+      LayoutBlockFlow {HTML} at (0,0) size 300x16
+        LayoutBlockFlow {BODY} at (8,16) size 284x0
+          LayoutBlockFlow {P} at (0,0) size 284x0
+layer at (17,18) size 80x42
+  LayoutBlockFlow (positioned) {A} at (17,18) size 80x42 [color=#FF0000]
+    LayoutText {#text} at (0,0) size 76x42
+      text run at (0,0) width 73: "YOU SHOULD"
+      text run at (0,14) width 76: "NOT SEE THIS"
+      text run at (0,28) width 40: "AT ALL"
+layer at (638,18) size 20x20
+  LayoutBlockFlow (positioned) {<pseudo:after>} at (638,18) size 20x20 [color=#FFFFFF] [bgcolor=#FF00FF]
+    LayoutTextFragment (anonymous) at (0,0) size 20x20
+      text run at (0,0) width 20: "X"
+layer at (10,10) size 81x46
+  LayoutBlockFlow (positioned) {DIV} at (10,10) size 81x46 [color=#00000000]
+    LayoutText {#text} at (0,0) size 81x45
+      text run at (0,0) width 81: "FAIL"
diff --git a/third_party/WebKit/LayoutTests/platform/win7/ietestcenter/css3/text/textshadow-002-expected.png b/third_party/WebKit/LayoutTests/platform/win7/ietestcenter/css3/text/textshadow-002-expected.png
index c7dcb67c..777b882 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/ietestcenter/css3/text/textshadow-002-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/ietestcenter/css3/text/textshadow-002-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/media/track/track-cue-rendering-vertical-expected.png b/third_party/WebKit/LayoutTests/platform/win7/media/track/track-cue-rendering-vertical-expected.png
index 5b8325f3..acccbfb2 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/media/track/track-cue-rendering-vertical-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/media/track/track-cue-rendering-vertical-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/compositing/text-match-highlight-expected.png b/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/compositing/text-match-highlight-expected.png
deleted file mode 100644
index 9f37224..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/compositing/text-match-highlight-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-clear-expected.png b/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-clear-expected.png
index 57ef84b..89df879 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-clear-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-clear-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-clear-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-clear-expected.txt
index e377c31..457a740 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-clear-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-clear-expected.txt
@@ -18,78 +18,73 @@
       "backgroundColor": "#FFFFFF",
       "paintInvalidations": [
         {
-          "object": "InlineTextBox '\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F'",
-          "rect": [302, 123, 471, 394],
+          "object": "InlineTextBox '\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B'",
+          "rect": [334, 123, 439, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B'",
-          "rect": [302, 123, 471, 394],
+          "object": "InlineTextBox '\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22'",
+          "rect": [334, 123, 439, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057'",
-          "rect": [302, 123, 471, 394],
+          "object": "InlineTextBox '\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B'",
+          "rect": [334, 123, 439, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4'",
-          "rect": [302, 123, 471, 394],
+          "object": "InlineTextBox '\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059'",
+          "rect": [334, 123, 439, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063'",
-          "rect": [302, 123, 471, 394],
+          "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B'",
+          "rect": [334, 123, 439, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C'",
-          "rect": [302, 123, 471, 394],
+          "object": "InlineTextBox '\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2'",
+          "rect": [334, 123, 439, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A'",
-          "rect": [302, 123, 471, 394],
+          "object": "InlineTextBox '\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8'",
+          "rect": [334, 123, 439, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053'",
-          "rect": [302, 123, 471, 394],
+          "object": "InlineTextBox '\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+          "rect": [334, 123, 439, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A'",
-          "rect": [302, 123, 471, 394],
+          "object": "InlineTextBox '\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E'",
+          "rect": [334, 123, 439, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E'",
-          "rect": [302, 123, 471, 394],
+          "object": "InlineTextBox '\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E'",
+          "rect": [334, 123, 439, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
-          "rect": [302, 123, 471, 394],
+          "object": "InlineTextBox '\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B'",
+          "rect": [334, 123, 439, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
-          "rect": [302, 123, 471, 394],
+          "object": "InlineTextBox '\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4'",
+          "rect": [334, 123, 439, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068'",
-          "rect": [302, 123, 471, 394],
+          "object": "InlineTextBox '\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+          "rect": [334, 123, 439, 404],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6'",
-          "rect": [302, 123, 471, 394],
-          "reason": "geometry"
-        },
-        {
-          "object": "InlineTextBox '\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC'",
-          "rect": [302, 123, 471, 394],
+          "object": "InlineTextBox '\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8'",
+          "rect": [334, 123, 439, 404],
           "reason": "geometry"
         }
       ]
@@ -101,63 +96,59 @@
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053'",
+      "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E'",
+      "object": "InlineTextBox '\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A'",
+      "object": "InlineTextBox '\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4'",
+      "object": "InlineTextBox '\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B'",
+      "object": "InlineTextBox '\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063'",
+      "object": "InlineTextBox '\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A'",
+      "object": "InlineTextBox '\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+      "object": "InlineTextBox '\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C'",
+      "object": "InlineTextBox '\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6'",
+      "object": "InlineTextBox '\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068'",
+      "object": "InlineTextBox '\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057'",
+      "object": "InlineTextBox '\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F'",
+      "object": "InlineTextBox '\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC'",
-      "reason": "geometry"
-    },
-    {
-      "object": "InlineTextBox '\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+      "object": "InlineTextBox '\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
       "reason": "geometry"
     }
   ]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-repaint-expected.png b/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-repaint-expected.png
index 862c0b2..3bcea90 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-repaint-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-repaint-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-repaint-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-repaint-expected.txt
index 0eff0b2..152b3ca 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-repaint-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/selection/japanese-rl-selection-repaint-expected.txt
@@ -18,58 +18,53 @@
       "backgroundColor": "#FFFFFF",
       "paintInvalidations": [
         {
-          "object": "InlineTextBox '\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9'",
-          "rect": [430, 23, 343, 544],
+          "object": "InlineTextBox '\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053'",
+          "rect": [462, 23, 311, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C'",
-          "rect": [430, 23, 343, 544],
+          "object": "InlineTextBox '\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067'",
+          "rect": [462, 23, 311, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C'",
-          "rect": [430, 23, 343, 544],
+          "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066'",
+          "rect": [462, 23, 311, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D'",
-          "rect": [430, 23, 343, 544],
+          "object": "InlineTextBox '\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C'",
+          "rect": [462, 23, 311, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060'",
-          "rect": [430, 23, 343, 544],
+          "object": "InlineTextBox '\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3'",
+          "rect": [462, 23, 311, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F'",
-          "rect": [430, 23, 343, 544],
+          "object": "InlineTextBox '\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B'",
+          "rect": [462, 23, 311, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC'",
-          "rect": [430, 23, 343, 544],
+          "object": "InlineTextBox '\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB'",
+          "rect": [462, 23, 311, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057'",
-          "rect": [430, 23, 343, 544],
+          "object": "InlineTextBox '\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B'",
+          "rect": [462, 23, 311, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
-          "rect": [430, 23, 343, 544],
+          "object": "InlineTextBox '\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8'",
+          "rect": [462, 23, 311, 556],
           "reason": "geometry"
         },
         {
-          "object": "InlineTextBox '\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A'",
-          "rect": [430, 23, 343, 544],
-          "reason": "geometry"
-        },
-        {
-          "object": "InlineTextBox '\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18'",
-          "rect": [430, 23, 343, 544],
+          "object": "InlineTextBox '\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+          "rect": [462, 23, 311, 556],
           "reason": "geometry"
         }
       ]
@@ -81,47 +76,43 @@
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C'",
+      "object": "InlineTextBox '\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060'",
+      "object": "InlineTextBox '\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B\u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C'",
+      "object": "InlineTextBox '\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18'",
+      "object": "InlineTextBox '\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A'",
+      "object": "InlineTextBox '\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC'",
+      "object": "InlineTextBox '\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057'",
+      "object": "InlineTextBox '\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u8A2A\u554F\u3057\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u305F\u30A6\u30A7\u30D6\u30DA\u30FC\u30B8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D'",
+      "object": "InlineTextBox '\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304B\u3089\u3082\u691C\u7D22\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u307E\u3059\u3002\u305B\u3063\u304B\u304F\u898B\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F'",
+      "object": "InlineTextBox '\u3064\u3051\u305F\u3059\u3070\u3089\u3057\u3044\u8A18\u4E8B\u304C\u3069\u3053\u306B\u3042\u3063\u305F\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C'",
       "reason": "geometry"
     },
     {
-      "object": "InlineTextBox '\u304B\u5FD8\u308C\u3066\u3057\u307E\u3063\u305F\u7D4C\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9'",
-      "reason": "geometry"
-    },
-    {
-      "object": "InlineTextBox '\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
+      "object": "InlineTextBox '\u9A13\u306F\u3042\u308A\u307E\u3059\u304B \u306A\u3089\u30BF\u30A4\u30C8\u30EB\u3068\u30A2\u30C9\u30EC\u30B9\u3060\u3051\u3067\u306A\u304F\u3001\u8A2A\u554F'",
       "reason": "geometry"
     }
   ]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.txt
deleted file mode 100644
index 7670d43a..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/svg/scrolling-embedded-svg-file-image-repaint-problem-expected.txt
+++ /dev/null
@@ -1,150 +0,0 @@
-{
-  "layers": [
-    {
-      "name": "LayoutView #document",
-      "bounds": [800, 600],
-      "drawsContent": false,
-      "backgroundColor": "#FFFFFF"
-    },
-    {
-      "name": "Scrolling Layer",
-      "bounds": [785, 585],
-      "drawsContent": false
-    },
-    {
-      "name": "Scrolling Contents Layer",
-      "bounds": [1026, 1036],
-      "contentsOpaque": true,
-      "backgroundColor": "#FFFFFF",
-      "paintInvalidations": [
-        {
-          "object": "InlineTextBox 'pservers-pattern-01-b \u2190'",
-          "rect": [177, 1012, 202, 19],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'pservers-pattern-01-b \u2190'",
-          "rect": [177, 1012, 202, 19],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox '\u2192 script-handle-01-b'",
-          "rect": [435, 1012, 173, 19],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox '\u2192 script-handle-01-b'",
-          "rect": [435, 1012, 173, 19],
-          "reason": "disappeared"
-        },
-        {
-          "object": "LayoutBlockFlow HTML",
-          "rect": [384, 1011, 46, 21],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'index'",
-          "rect": [385, 1012, 44, 19],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox 'index'",
-          "rect": [385, 1012, 44, 19],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox '\n'",
-          "rect": [429, 1012, 6, 19],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox '\n'",
-          "rect": [429, 1012, 6, 19],
-          "reason": "disappeared"
-        },
-        {
-          "object": "InlineTextBox '\n'",
-          "rect": [379, 1012, 6, 19],
-          "reason": "appeared"
-        },
-        {
-          "object": "InlineTextBox '\n'",
-          "rect": [379, 1012, 6, 19],
-          "reason": "disappeared"
-        }
-      ],
-      "transform": 1
-    }
-  ],
-  "transforms": [
-    {
-      "id": 1,
-      "transform": [
-        [1, 0, 0, 0],
-        [0, 1, 0, 0],
-        [0, 0, 1, 0],
-        [0, -451, 0, 1]
-      ],
-      "flattenInheritedTransform": false
-    }
-  ],
-  "objectPaintInvalidations": [
-    {
-      "object": "LayoutBlockFlow P",
-      "reason": "geometry"
-    },
-    {
-      "object": "RootInlineBox",
-      "reason": "geometry"
-    },
-    {
-      "object": "LayoutText #text",
-      "reason": "geometry"
-    },
-    {
-      "object": "InlineTextBox 'pservers-pattern-01-b \u2190'",
-      "reason": "geometry"
-    },
-    {
-      "object": "LayoutText #text",
-      "reason": "geometry"
-    },
-    {
-      "object": "InlineTextBox '\n'",
-      "reason": "geometry"
-    },
-    {
-      "object": "LayoutInline A",
-      "reason": "style change"
-    },
-    {
-      "object": "InlineFlowBox",
-      "reason": "style change"
-    },
-    {
-      "object": "LayoutText #text",
-      "reason": "geometry"
-    },
-    {
-      "object": "InlineTextBox 'index'",
-      "reason": "geometry"
-    },
-    {
-      "object": "LayoutText #text",
-      "reason": "geometry"
-    },
-    {
-      "object": "InlineTextBox '\n'",
-      "reason": "geometry"
-    },
-    {
-      "object": "LayoutText #text",
-      "reason": "geometry"
-    },
-    {
-      "object": "InlineTextBox '\u2192 script-handle-01-b'",
-      "reason": "geometry"
-    }
-  ]
-}
-
diff --git a/third_party/WebKit/LayoutTests/platform/win7/paint/printing/print-text-shadow-expected.png b/third_party/WebKit/LayoutTests/platform/win7/paint/printing/print-text-shadow-expected.png
index 79f6c89..a7e1dc77 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/paint/printing/print-text-shadow-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/paint/printing/print-text-shadow-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/printing/iframe-print-expected.png b/third_party/WebKit/LayoutTests/platform/win7/printing/iframe-print-expected.png
new file mode 100644
index 0000000..61212866
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win7/printing/iframe-print-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/printing/iframe-print-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/printing/iframe-print-expected.txt
new file mode 100644
index 0000000..85b8ead
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win7/printing/iframe-print-expected.txt
@@ -0,0 +1,41 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 1066x799
+layer at (0,0) size 1066x799 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 1066x799
+    LayoutBlockFlow {BODY} at (8,8) size 1050x783
+      LayoutText {#text} at (304,289) size 4x19
+        text run at (304,289) width 4: " "
+      LayoutText {#text} at (0,0) size 0x0
+layer at (8,208) size 304x104
+  LayoutIFrame {IFRAME} at (0,200) size 304x104 [border: (2px inset #EEEEEE)]
+    layer at (0,0) size 300x100
+      LayoutView at (0,0) size 300x100
+    layer at (0,0) size 300x36
+      LayoutBlockFlow {HTML} at (0,0) size 300x36
+        LayoutBlockFlow {BODY} at (8,8) size 284x20
+          LayoutText {#text} at (0,0) size 227x19
+            text run at (0,0) width 227: "You should see this text when printed."
+layer at (316,8) size 304x304
+  LayoutIFrame {IFRAME} at (308,0) size 304x304 [border: (2px inset #EEEEEE)]
+    layer at (0,0) size 300x300
+      LayoutView at (0,0) size 300x300
+    layer at (35,0) size 265x300
+      LayoutBlockFlow {HTML} at (0,0) size 265x300
+        LayoutBlockFlow {BODY} at (8,8) size 249x284
+          LayoutText {#text} at (0,0) size 19x231
+            text run at (0,0) width 231: "You should see this text when printed. "
+          LayoutBR {BR} at (0,231) size 19x0
+          LayoutText {#text} at (20,0) size 19x150
+            text run at (20,0) width 150: "Vertical text on the right. "
+          LayoutBR {BR} at (20,150) size 19x0
+          LayoutText {#text} at (0,0) size 0x0
+    layer at (48,8) size 204x154
+      LayoutIFrame {IFRAME} at (40,0) size 204x154 [border: (2px inset #EEEEEE)]
+        layer at (0,0) size 200x150
+          LayoutView at (0,0) size 200x150
+        layer at (0,0) size 200x56
+          LayoutBlockFlow {HTML} at (0,0) size 200x56
+            LayoutBlockFlow {BODY} at (8,8) size 184x40
+              LayoutText {#text} at (0,0) size 177x39
+                text run at (0,0) width 177: "You should see this text when"
+                text run at (0,20) width 46: "printed."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/g-dirRTL-ubOverride-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/g-dirRTL-ubOverride-expected.png
index d99814f..091e240 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/g-dirRTL-ubOverride-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/g-dirRTL-ubOverride-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png
index 6eebb26..c10d8a7a 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt
index 10784a6..1efbd81 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (43.39,110) size 252.61x127.38
+    LayoutSVGContainer {g} at (43.39,110) size 252.61x127.39
       LayoutSVGText {text} at (43.39,151) size 186.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (43.39,151) size 186.59x11.39
           chunk 1 (end anchor) text run 1 at (43.40,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (81.19,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (81.19,186) size 148.80x11.39
           chunk 1 (end anchor) text run 1 at (81.20,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (111.19,223.36) size 118.80x14.02 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (111.19,223.36) size 118.80x14.02
+      LayoutSVGText {text} at (111.19,223.59) size 118.80x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (111.19,223.59) size 118.80x13.80
           chunk 1 (end anchor) text run 1 at (111.20,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png
index 32e7bdb..4699f71 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt
index 9290879a..1a187a3 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (136.69,110) size 186.59x127.38
+    LayoutSVGContainer {g} at (136.69,110) size 186.59x127.39
       LayoutSVGText {text} at (136.69,151) size 186.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (136.69,151) size 186.59x11.39
           chunk 1 (middle anchor) text run 1 at (136.70,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (155.59,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (155.59,186) size 148.80x11.39
           chunk 1 (middle anchor) text run 1 at (155.60,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (170.59,223.36) size 118.80x14.02 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (170.59,223.36) size 118.80x14.02
+      LayoutSVGText {text} at (170.59,223.59) size 118.80x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (170.59,223.59) size 118.80x13.80
           chunk 1 (middle anchor) text run 1 at (170.60,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png
index b293e60..cf9d342 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt
index dc500e6..d75f6e0 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (168,110) size 248.59x127.38
+    LayoutSVGContainer {g} at (168,110) size 248.59x127.39
       LayoutSVGText {text} at (230,151) size 186.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,151) size 186.59x11.39
           chunk 1 text run 1 at (230.00,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (230,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,186) size 148.80x11.39
           chunk 1 text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (230,223.36) size 118.80x14.02 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (230,223.36) size 118.80x14.02
+      LayoutSVGText {text} at (230,223.59) size 118.80x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (230,223.59) size 118.80x13.80
           chunk 1 text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png
index 6eebb26..c10d8a7a 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt
index 10784a6..1efbd81 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (43.39,110) size 252.61x127.38
+    LayoutSVGContainer {g} at (43.39,110) size 252.61x127.39
       LayoutSVGText {text} at (43.39,151) size 186.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (43.39,151) size 186.59x11.39
           chunk 1 (end anchor) text run 1 at (43.40,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (81.19,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (81.19,186) size 148.80x11.39
           chunk 1 (end anchor) text run 1 at (81.20,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (111.19,223.36) size 118.80x14.02 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (111.19,223.36) size 118.80x14.02
+      LayoutSVGText {text} at (111.19,223.59) size 118.80x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (111.19,223.59) size 118.80x13.80
           chunk 1 (end anchor) text run 1 at (111.20,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png
index 32e7bdb..4699f71 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt
index 9290879a..1a187a3 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (136.69,110) size 186.59x127.38
+    LayoutSVGContainer {g} at (136.69,110) size 186.59x127.39
       LayoutSVGText {text} at (136.69,151) size 186.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (136.69,151) size 186.59x11.39
           chunk 1 (middle anchor) text run 1 at (136.70,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (155.59,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (155.59,186) size 148.80x11.39
           chunk 1 (middle anchor) text run 1 at (155.60,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (170.59,223.36) size 118.80x14.02 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (170.59,223.36) size 118.80x14.02
+      LayoutSVGText {text} at (170.59,223.59) size 118.80x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (170.59,223.59) size 118.80x13.80
           chunk 1 (middle anchor) text run 1 at (170.60,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png
index b293e60..cf9d342 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt
index dc500e6..d75f6e0 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (168,110) size 248.59x127.38
+    LayoutSVGContainer {g} at (168,110) size 248.59x127.39
       LayoutSVGText {text} at (230,151) size 186.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,151) size 186.59x11.39
           chunk 1 text run 1 at (230.00,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (230,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,186) size 148.80x11.39
           chunk 1 text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (230,223.36) size 118.80x14.02 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (230,223.36) size 118.80x14.02
+      LayoutSVGText {text} at (230,223.59) size 118.80x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (230,223.59) size 118.80x13.80
           chunk 1 text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png
index b293e60..cf9d342 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt
index ec82267..0cb4de7f 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (168,110) size 248.59x127.38
+    LayoutSVGContainer {g} at (168,110) size 248.59x127.39
       LayoutSVGText {text} at (230,151) size 186.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,151) size 186.59x11.39
           chunk 1 (end anchor) text run 1 at (230.00,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (230,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,186) size 148.80x11.39
           chunk 1 (end anchor) text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (230,223.36) size 118.80x14.02 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (230,223.36) size 118.80x14.02
+      LayoutSVGText {text} at (230,223.59) size 118.80x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (230,223.59) size 118.80x13.80
           chunk 1 (end anchor) text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png
index 32e7bdb..4699f71 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt
index 9290879a..1a187a3 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (136.69,110) size 186.59x127.38
+    LayoutSVGContainer {g} at (136.69,110) size 186.59x127.39
       LayoutSVGText {text} at (136.69,151) size 186.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (136.69,151) size 186.59x11.39
           chunk 1 (middle anchor) text run 1 at (136.70,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (155.59,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (155.59,186) size 148.80x11.39
           chunk 1 (middle anchor) text run 1 at (155.60,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (170.59,223.36) size 118.80x14.02 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (170.59,223.36) size 118.80x14.02
+      LayoutSVGText {text} at (170.59,223.59) size 118.80x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (170.59,223.59) size 118.80x13.80
           chunk 1 (middle anchor) text run 1 at (170.60,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png
index 6eebb26..c10d8a7a 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt
index 3ba209cf..f022afd 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (43.39,110) size 252.61x127.38
+    LayoutSVGContainer {g} at (43.39,110) size 252.61x127.39
       LayoutSVGText {text} at (43.39,151) size 186.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (43.39,151) size 186.59x11.39
           chunk 1 text run 1 at (43.40,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (81.19,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (81.19,186) size 148.80x11.39
           chunk 1 text run 1 at (81.20,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (111.19,223.36) size 118.80x14.02 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (111.19,223.36) size 118.80x14.02
+      LayoutSVGText {text} at (111.19,223.59) size 118.80x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (111.19,223.59) size 118.80x13.80
           chunk 1 text run 1 at (111.20,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png
index 6eebb26..c10d8a7a 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt
index bee5892..f003f5ce 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt
@@ -2,16 +2,16 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (43.39,110) size 252.61x127.38
-      LayoutSVGContainer {g} at (43.39,151) size 186.59x86.38
+    LayoutSVGContainer {g} at (43.39,110) size 252.61x127.39
+      LayoutSVGContainer {g} at (43.39,151) size 186.59x86.39
         LayoutSVGText {text} at (43.39,151) size 186.59x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (43.39,151) size 186.59x11.39
             chunk 1 (end anchor) text run 1 at (43.40,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
         LayoutSVGText {text} at (81.19,186) size 148.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (81.19,186) size 148.80x11.39
             chunk 1 (end anchor) text run 1 at (81.20,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (111.19,223.36) size 118.80x14.02 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (111.19,223.36) size 118.80x14.02
+        LayoutSVGText {text} at (111.19,223.59) size 118.80x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (111.19,223.59) size 118.80x13.80
             chunk 1 (end anchor) text run 1 at (111.20,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png
index 32e7bdb..4699f71 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt
index 279cfdc..42560efe 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt
@@ -2,16 +2,16 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (136.69,110) size 186.59x127.38
-      LayoutSVGContainer {g} at (136.69,151) size 186.59x86.38
+    LayoutSVGContainer {g} at (136.69,110) size 186.59x127.39
+      LayoutSVGContainer {g} at (136.69,151) size 186.59x86.39
         LayoutSVGText {text} at (136.69,151) size 186.59x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (136.69,151) size 186.59x11.39
             chunk 1 (middle anchor) text run 1 at (136.70,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
         LayoutSVGText {text} at (155.59,186) size 148.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (155.59,186) size 148.80x11.39
             chunk 1 (middle anchor) text run 1 at (155.60,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (170.59,223.36) size 118.80x14.02 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (170.59,223.36) size 118.80x14.02
+        LayoutSVGText {text} at (170.59,223.59) size 118.80x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (170.59,223.59) size 118.80x13.80
             chunk 1 (middle anchor) text run 1 at (170.60,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png
index b293e60..cf9d342 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt
index 7e68ca9..dd3df8c1 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt
@@ -2,16 +2,16 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (168,110) size 248.59x127.38
-      LayoutSVGContainer {g} at (230,151) size 186.59x86.38
+    LayoutSVGContainer {g} at (168,110) size 248.59x127.39
+      LayoutSVGContainer {g} at (230,151) size 186.59x86.39
         LayoutSVGText {text} at (230,151) size 186.59x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (230,151) size 186.59x11.39
             chunk 1 text run 1 at (230.00,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
         LayoutSVGText {text} at (230,186) size 148.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (230,186) size 148.80x11.39
             chunk 1 text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (230,223.36) size 118.80x14.02 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (230,223.36) size 118.80x14.02
+        LayoutSVGText {text} at (230,223.59) size 118.80x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (230,223.59) size 118.80x13.80
             chunk 1 text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png
index b293e60..cf9d342 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt
index 6e00cf6..f70ac35 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt
@@ -2,16 +2,16 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (168,110) size 248.59x127.38
-      LayoutSVGContainer {g} at (230,151) size 186.59x86.38
+    LayoutSVGContainer {g} at (168,110) size 248.59x127.39
+      LayoutSVGContainer {g} at (230,151) size 186.59x86.39
         LayoutSVGText {text} at (230,151) size 186.59x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (230,151) size 186.59x11.39
             chunk 1 (end anchor) text run 1 at (230.00,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
         LayoutSVGText {text} at (230,186) size 148.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (230,186) size 148.80x11.39
             chunk 1 (end anchor) text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (230,223.36) size 118.80x14.02 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (230,223.36) size 118.80x14.02
+        LayoutSVGText {text} at (230,223.59) size 118.80x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (230,223.59) size 118.80x13.80
             chunk 1 (end anchor) text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png
index 32e7bdb..4699f71 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt
index 279cfdc..42560efe 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt
@@ -2,16 +2,16 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (136.69,110) size 186.59x127.38
-      LayoutSVGContainer {g} at (136.69,151) size 186.59x86.38
+    LayoutSVGContainer {g} at (136.69,110) size 186.59x127.39
+      LayoutSVGContainer {g} at (136.69,151) size 186.59x86.39
         LayoutSVGText {text} at (136.69,151) size 186.59x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (136.69,151) size 186.59x11.39
             chunk 1 (middle anchor) text run 1 at (136.70,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
         LayoutSVGText {text} at (155.59,186) size 148.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (155.59,186) size 148.80x11.39
             chunk 1 (middle anchor) text run 1 at (155.60,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (170.59,223.36) size 118.80x14.02 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (170.59,223.36) size 118.80x14.02
+        LayoutSVGText {text} at (170.59,223.59) size 118.80x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (170.59,223.59) size 118.80x13.80
             chunk 1 (middle anchor) text run 1 at (170.60,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png
index 6eebb26..c10d8a7a 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt
index 1dc0542..ed3a82f 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt
@@ -2,16 +2,16 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (43.39,110) size 252.61x127.38
-      LayoutSVGContainer {g} at (43.39,151) size 186.59x86.38
+    LayoutSVGContainer {g} at (43.39,110) size 252.61x127.39
+      LayoutSVGContainer {g} at (43.39,151) size 186.59x86.39
         LayoutSVGText {text} at (43.39,151) size 186.59x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (43.39,151) size 186.59x11.39
             chunk 1 text run 1 at (43.40,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
         LayoutSVGText {text} at (81.19,186) size 148.80x11.39 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (81.19,186) size 148.80x11.39
             chunk 1 text run 1 at (81.20,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-        LayoutSVGText {text} at (111.19,223.36) size 118.80x14.02 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (111.19,223.36) size 118.80x14.02
+        LayoutSVGText {text} at (111.19,223.59) size 118.80x13.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (111.19,223.59) size 118.80x13.80
             chunk 1 text run 1 at (111.20,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-no-markup-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-no-markup-expected.png
index b293e60..cf9d342 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-no-markup-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-no-markup-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-no-markup-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-no-markup-expected.txt
index dc500e6..d75f6e0 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-no-markup-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/text-anchor-no-markup-expected.txt
@@ -2,15 +2,15 @@
   LayoutView at (0,0) size 800x600
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (168,110) size 248.59x127.38
+    LayoutSVGContainer {g} at (168,110) size 248.59x127.39
       LayoutSVGText {text} at (230,151) size 186.59x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,151) size 186.59x11.39
           chunk 1 text run 1 at (230.00,160.00) startOffset 0 endOffset 42 width 186.60: "Making the world wide web truly world wide"
       LayoutSVGText {text} at (230,186) size 148.80x11.39 contains 1 chunk(s)
         LayoutSVGInlineText {#text} at (230,186) size 148.80x11.39
           chunk 1 text run 1 at (230.00,195.00) startOffset 0 endOffset 31 width 148.80 RTL: "\x{5DC}\x{5D9}\x{5E6}\x{5D5}\x{5E8} \x{5DE}\x{5D4}\x{5E8}\x{5E9}\x{5EA} \x{5E8}\x{5E9}\x{5EA} \x{5DB}\x{5DC}\x{5DC} \x{5E2}\x{5D5}\x{5DC}\x{5DE}\x{5D9}\x{5EA} \x{5D1}\x{5D0}\x{5DE}\x{5EA}"
-      LayoutSVGText {text} at (230,223.36) size 118.80x14.02 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (230,223.36) size 118.80x14.02
+      LayoutSVGText {text} at (230,223.59) size 118.80x13.80 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (230,223.59) size 118.80x13.80
           chunk 1 text run 1 at (230.00,235.00) startOffset 0 endOffset 38 width 118.80 RTL: "\x{62C}\x{639}\x{644} \x{634}\x{628}\x{643}\x{629} \x{627}\x{644}\x{648}\x{64A}\x{628} \x{627}\x{644}\x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{639}\x{627}\x{644}\x{645}\x{64A}\x{651}\x{629} \x{62D}\x{642}\x{64B}\x{651}\x{627}"
       LayoutSVGImage {image} at (168,110) size 128x26
     LayoutSVGContainer {g} at (10,334) size 45.59x7.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.png
index f217993..0325fff5 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.png
index f217993..0325fff5 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/tspan-direction-rtl-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/tspan-direction-rtl-expected.png
index cd4ab5c..d7ea512f 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/tspan-direction-rtl-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-I18N/tspan-direction-rtl-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.png
index 85e5e079..7d0ac090 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt
index ae8c59b..9c33623a 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt
@@ -4,14 +4,14 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (43,47) size 417x200.19
-      LayoutSVGText {text} at (112.72,47) size 347.27x45.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (112.72,47) size 347.27x45.59
-          chunk 1 text run 1 at (112.72,80.00) startOffset 0 endOffset 37 width 347.28 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
-      LayoutSVGText {text} at (43,126.20) size 417x42.17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (43,126.20) size 417x42.17
+      LayoutSVGText {text} at (112.59,47) size 347.39x45.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (112.59,47) size 347.39x45.59
+          chunk 1 text run 1 at (112.60,80.00) startOffset 0 endOffset 37 width 347.40 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
+      LayoutSVGText {text} at (43,126.39) size 417x42 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (43,126.39) size 417x42
           chunk 1 text run 1 at (43.00,160.00) startOffset 0 endOffset 37 width 417.00 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
-      LayoutSVGText {text} at (113.19,211.64) size 346.80x35.55 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (113.19,211.64) size 346.80x35.55
+      LayoutSVGText {text} at (113.19,211.80) size 346.80x35.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (113.19,211.80) size 346.80x35.39
           chunk 1 text run 1 at (113.20,240.00) startOffset 0 endOffset 37 width 346.80 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
     LayoutSVGContainer {g} at (10,311.19) size 225.59x36
       LayoutSVGText {text} at (10,311.19) size 225.59x36 contains 1 chunk(s)
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt
deleted file mode 100644
index f77fbbe..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt
+++ /dev/null
@@ -1,63 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (15.71,5.71) size 448.57x298.57
-      LayoutSVGViewportContainer {svg} at (1,1) size 628x418
-        LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-          LayoutSVGResourceLinearGradient {linearGradient} [id="MyGradient"] [gradientUnits=userSpaceOnUse] [stops=( #FF0000@0.00 #00FF00@0.33 #0000FF@0.67 #000000@1.00 )] [start=(10,0)] [end=(590,0)]
-          LayoutSVGResourceFilter {filter} [id="Identity"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="IDENTITY" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {green: type="IDENTITY" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {blue: type="IDENTITY" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {alpha: type="IDENTITY" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}]
-              [SourceGraphic]
-          LayoutSVGResourceFilter {filter} [id="Table"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="TABLE" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {green: type="TABLE" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {blue: type="TABLE" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-          LayoutSVGResourceFilter {filter} [id="Linear"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="LINEAR" slope="0.50" intercept="0.25" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {green: type="LINEAR" slope="0.50" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {blue: type="LINEAR" slope="0.50" intercept="0.50" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-          LayoutSVGResourceFilter {filter} [id="Gamma"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="GAMMA" slope="1.00" intercept="0.00" amplitude="2.00" exponent="5.00" offset="0.00"}
-                {green: type="GAMMA" slope="1.00" intercept="0.00" amplitude="2.00" exponent="3.00" offset="0.00"}
-                {blue: type="GAMMA" slope="1.00" intercept="0.00" amplitude="2.00" exponent="1.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-        LayoutSVGRect {rect} at (1,1) size 628x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=628.00] [height=418.00]
-        LayoutSVGContainer {g} at (1,1) size 628x418
-          LayoutSVGRect {rect} at (1,1) size 628x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=628.00] [height=418.00]
-          LayoutSVGRect {rect} at (10,10) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=10.00] [y=10.00] [width=580.00] [height=40.00]
-            [filter="Identity"] LayoutSVGResourceFilter {filter} at (10,10) size 580x40
-          LayoutSVGText {text} at (10,48.91) size 201.59x36.95 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,48.91) size 201.59x36.95
-              chunk 1 text run 1 at (10.00,80.00) startOffset 0 endOffset 14 width 201.60: "type: identity"
-          LayoutSVGRect {rect} at (10,110) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=10.00] [y=110.00] [width=580.00] [height=40.00]
-            [filter="Table"] LayoutSVGResourceFilter {filter} at (10,110) size 580x40
-          LayoutSVGText {text} at (10,148.91) size 163.80x36.95 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,148.91) size 163.80x36.95
-              chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 11 width 163.80: "type: table"
-          LayoutSVGRect {rect} at (10,210) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=10.00] [y=210.00] [width=580.00] [height=40.00]
-            [filter="Linear"] LayoutSVGResourceFilter {filter} at (10,210) size 580x40
-          LayoutSVGText {text} at (10,248.91) size 593.88x36.95 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,248.91) size 593.88x36.95
-              chunk 1 text run 1 at (10.00,280.00) startOffset 0 endOffset 40 width 593.88: "type:linear slope:.5 intercepts:.25/0/.5"
-          LayoutSVGRect {rect} at (10,310) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=10.00] [y=310.00] [width=580.00] [height=40.00]
-            [filter="Gamma"] LayoutSVGResourceFilter {filter} at (10,310) size 580x40
-          LayoutSVGText {text} at (10,348.91) size 587.16x36.95 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (10,348.91) size 587.16x36.95
-              chunk 1 text run 1 at (10.00,380.00) startOffset 0 endOffset 34 width 587.16: "type: gamma ampl:2 exponents:5/3/1"
-    LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
-        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.6 $"
-    LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png
deleted file mode 100644
index 2603f05..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt
deleted file mode 100644
index 53acdfe..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt
+++ /dev/null
@@ -1,89 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (20.39,25) size 409.19x272.80
-      LayoutSVGContainer {g} at (20.39,25) size 409.19x272.80
-        LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-          LayoutSVGResourceFilter {filter} [id="Turb1"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feTurbulence type="TURBULENCE" baseFrequency="0.05, 0.05" seed="0.00" numOctaves="2" stitchTiles="0"]
-          LayoutSVGResourceFilter {filter} [id="Turb2"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feTurbulence type="TURBULENCE" baseFrequency="0.10, 0.10" seed="0.00" numOctaves="2" stitchTiles="0"]
-          LayoutSVGResourceFilter {filter} [id="Turb3"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feTurbulence type="TURBULENCE" baseFrequency="0.05, 0.05" seed="0.00" numOctaves="8" stitchTiles="0"]
-          LayoutSVGResourceFilter {filter} [id="Turb4"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feTurbulence type="NOISE" baseFrequency="0.10, 0.10" seed="0.00" numOctaves="4" stitchTiles="0"]
-          LayoutSVGResourceFilter {filter} [id="Turb5"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feTurbulence type="NOISE" baseFrequency="0.40, 0.40" seed="0.00" numOctaves="4" stitchTiles="0"]
-          LayoutSVGResourceFilter {filter} [id="Turb6"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feTurbulence type="NOISE" baseFrequency="0.10, 0.10" seed="0.00" numOctaves="1" stitchTiles="0"]
-        LayoutSVGRect {rect} at (25,25) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=25.00] [y=25.00] [width=100.00] [height=75.00]
-          [filter="Turb1"] LayoutSVGResourceFilter {filter} at (25,25) size 100x75
-        LayoutSVGText {text} at (31.80,106.80) size 86.39x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (31.80,106.80) size 86.39x12
-            chunk 1 (middle anchor) text run 1 at (31.80,117.00) startOffset 0 endOffset 15 width 86.40: "type=turbulence"
-        LayoutSVGText {text} at (20.39,118.80) size 109.19x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (20.39,118.80) size 109.19x12
-            chunk 1 (middle anchor) text run 1 at (20.40,129.00) startOffset 0 endOffset 18 width 109.20: "baseFrequency=0.05"
-        LayoutSVGText {text} at (35.39,130.80) size 79.19x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35.39,130.80) size 79.19x12
-            chunk 1 (middle anchor) text run 1 at (35.40,141.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=2"
-        LayoutSVGRect {rect} at (175,25) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=175.00] [y=25.00] [width=100.00] [height=75.00]
-          [filter="Turb2"] LayoutSVGResourceFilter {filter} at (175,25) size 100x75
-        LayoutSVGText {text} at (181.80,106.80) size 86.39x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (181.80,106.80) size 86.39x12
-            chunk 1 (middle anchor) text run 1 at (181.80,117.00) startOffset 0 endOffset 15 width 86.40: "type=turbulence"
-        LayoutSVGText {text} at (173.69,118.80) size 102.59x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (173.69,118.80) size 102.59x12
-            chunk 1 (middle anchor) text run 1 at (173.70,129.00) startOffset 0 endOffset 17 width 102.60: "baseFrequency=0.1"
-        LayoutSVGText {text} at (185.39,130.80) size 79.19x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (185.39,130.80) size 79.19x12
-            chunk 1 (middle anchor) text run 1 at (185.40,141.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=2"
-        LayoutSVGRect {rect} at (325,25) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=325.00] [y=25.00] [width=100.00] [height=75.00]
-          [filter="Turb3"] LayoutSVGResourceFilter {filter} at (325,25) size 100x75
-        LayoutSVGText {text} at (331.80,106.80) size 86.39x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (331.80,106.80) size 86.39x12
-            chunk 1 (middle anchor) text run 1 at (331.80,117.00) startOffset 0 endOffset 15 width 86.40: "type=turbulence"
-        LayoutSVGText {text} at (320.39,118.80) size 109.19x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (320.39,118.80) size 109.19x12
-            chunk 1 (middle anchor) text run 1 at (320.40,129.00) startOffset 0 endOffset 18 width 109.20: "baseFrequency=0.05"
-        LayoutSVGText {text} at (335.39,130.80) size 79.19x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (335.39,130.80) size 79.19x12
-            chunk 1 (middle anchor) text run 1 at (335.40,141.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=8"
-        LayoutSVGRect {rect} at (25,180) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=25.00] [y=180.00] [width=100.00] [height=75.00]
-          [filter="Turb4"] LayoutSVGResourceFilter {filter} at (25,180) size 100x75
-        LayoutSVGText {text} at (29.09,261.80) size 91.80x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (29.09,261.80) size 91.80x12
-            chunk 1 (middle anchor) text run 1 at (29.10,272.00) startOffset 0 endOffset 17 width 91.80: "type=fractalNoise"
-        LayoutSVGText {text} at (23.69,273.80) size 102.59x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (23.69,273.80) size 102.59x12
-            chunk 1 (middle anchor) text run 1 at (23.70,284.00) startOffset 0 endOffset 17 width 102.60: "baseFrequency=0.1"
-        LayoutSVGText {text} at (35.39,285.80) size 79.19x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (35.39,285.80) size 79.19x12
-            chunk 1 (middle anchor) text run 1 at (35.40,296.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=4"
-        LayoutSVGRect {rect} at (175,180) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=175.00] [y=180.00] [width=100.00] [height=75.00]
-          [filter="Turb5"] LayoutSVGResourceFilter {filter} at (175,180) size 100x75
-        LayoutSVGText {text} at (179.09,261.80) size 91.80x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (179.09,261.80) size 91.80x12
-            chunk 1 (middle anchor) text run 1 at (179.10,272.00) startOffset 0 endOffset 17 width 91.80: "type=fractalNoise"
-        LayoutSVGText {text} at (173.69,273.80) size 102.59x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (173.69,273.80) size 102.59x12
-            chunk 1 (middle anchor) text run 1 at (173.70,284.00) startOffset 0 endOffset 17 width 102.60: "baseFrequency=0.4"
-        LayoutSVGText {text} at (185.39,285.80) size 79.19x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (185.39,285.80) size 79.19x12
-            chunk 1 (middle anchor) text run 1 at (185.40,296.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=4"
-        LayoutSVGRect {rect} at (325,180) size 100x75 [fill={[type=SOLID] [color=#000000]}] [x=325.00] [y=180.00] [width=100.00] [height=75.00]
-          [filter="Turb6"] LayoutSVGResourceFilter {filter} at (325,180) size 100x75
-        LayoutSVGText {text} at (329.09,261.80) size 91.80x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (329.09,261.80) size 91.80x12
-            chunk 1 (middle anchor) text run 1 at (329.10,272.00) startOffset 0 endOffset 17 width 91.80: "type=fractalNoise"
-        LayoutSVGText {text} at (323.69,273.80) size 102.59x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (323.69,273.80) size 102.59x12
-            chunk 1 (middle anchor) text run 1 at (323.70,284.00) startOffset 0 endOffset 17 width 102.60: "baseFrequency=0.1"
-        LayoutSVGText {text} at (335.39,285.80) size 79.19x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (335.39,285.80) size 79.19x12
-            chunk 1 (middle anchor) text run 1 at (335.40,296.00) startOffset 0 endOffset 12 width 79.20: "numOctaves=1"
-    LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
-        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.1 $"
-    LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-01-t-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-01-t-expected.png
index b06a375..a9f0112e 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-01-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-01-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt
index 2f3a6c4..3d7aaaf 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt
@@ -3,17 +3,17 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (5,4) size 364.56x285.19
-      LayoutSVGText {text} at (5,4) size 364.56x45 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (5,4) size 364.56x45
-          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 24 width 364.57: "Test left-to-right text."
-      LayoutSVGContainer {g} at (10,59.39) size 217.61x159.80
+    LayoutSVGContainer {g} at (5,4) size 364.80x285.19
+      LayoutSVGText {text} at (5,4) size 364.80x45 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (5,4) size 364.80x45
+          chunk 1 text run 1 at (5.00,40.00) startOffset 0 endOffset 24 width 364.80: "Test left-to-right text."
+      LayoutSVGContainer {g} at (10,59.39) size 217.80x159.80
         LayoutSVGText {text} at (10,59.39) size 210.59x19.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,59.39) size 210.59x19.80
             chunk 1 text run 1 at (10.00,75.00) startOffset 0 endOffset 33 width 210.60: "Polish: Mog\x{119} je\x{15B}\x{107} szk\x{142}o, i mi ..."
-        LayoutSVGText {text} at (10,94.39) size 217.61x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,94.39) size 217.61x19.80
-            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 32 width 217.62: "Russian: \x{42F} \x{43C}\x{43E}\x{433}\x{443} \x{435}\x{441}\x{442}\x{44C} \x{441}\x{442}\x{435}\x{43A}\x{43B}\x{43E}, ..."
+        LayoutSVGText {text} at (10,94.39) size 217.80x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,94.39) size 217.80x19.80
+            chunk 1 text run 1 at (10.00,110.00) startOffset 0 endOffset 32 width 217.80: "Russian: \x{42F} \x{43C}\x{43E}\x{433}\x{443} \x{435}\x{441}\x{442}\x{44C} \x{441}\x{442}\x{435}\x{43A}\x{43B}\x{43E}, ..."
         LayoutSVGText {text} at (10,129.39) size 171x19.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,129.39) size 171x19.80
             chunk 1 text run 1 at (10.00,145.00) startOffset 0 endOffset 23 width 171.00: "Greek: \x{39C}\x{3C0}\x{3BF}\x{3C1}\x{3CE} \x{3BD}\x{3B1} \x{3C6}\x{3AC}\x{3C9} ..."
@@ -22,11 +22,11 @@
             chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 8 width 60.00: "Hebrew: "
             chunk 1 text run 1 at (70.00,180.00) startOffset 0 endOffset 21 width 124.20 RTL: "\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA}"
             chunk 1 text run 1 at (194.20,180.00) startOffset 0 endOffset 4 width 16.80: " ..."
-        LayoutSVGText {text} at (10,199.39) size 198.25x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,199.39) size 198.25x19.80
-            chunk 1 text run 1 at (10.00,215.00) startOffset 0 endOffset 9 width 61.46: "Yiddish: "
-            chunk 1 text run 1 at (71.46,215.00) startOffset 0 endOffset 21 width 120.00 RTL: "\x{5D0}\x{5D9}\x{5DA} \x{5E7}\x{5E2}\x{5DF} \x{5E2}\x{5E1}\x{5DF} \x{5D2}\x{5DC}\x{5D0}\x{5B8}\x{5D6} \x{5D0}\x{5D5}\x{5DF}"
-            chunk 1 text run 1 at (191.46,215.00) startOffset 0 endOffset 4 width 16.80: " ..."
+        LayoutSVGText {text} at (10,199.39) size 198x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,199.39) size 197.98x19.80
+            chunk 1 text run 1 at (10.00,215.00) startOffset 0 endOffset 9 width 61.20: "Yiddish: "
+            chunk 1 text run 1 at (71.20,215.00) startOffset 0 endOffset 21 width 120.00 RTL: "\x{5D0}\x{5D9}\x{5DA} \x{5E7}\x{5E2}\x{5DF} \x{5E2}\x{5E1}\x{5DF} \x{5D2}\x{5DC}\x{5D0}\x{5B8}\x{5D6} \x{5D0}\x{5D5}\x{5DF}"
+            chunk 1 text run 1 at (191.20,215.00) startOffset 0 endOffset 4 width 16.80: " ..."
       LayoutSVGContainer {g} at (10,234.39) size 260.39x19.80
         LayoutSVGText {text} at (10,234.39) size 260.39x19.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,234.39) size 260.39x19.80
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-03-b-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-03-b-expected.png
index 96f39a5..4f3f400a 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-03-b-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-03-b-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-03-b-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-03-b-expected.txt
deleted file mode 100644
index bcfd801..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-03-b-expected.txt
+++ /dev/null
@@ -1,142 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-    LayoutSVGContainer {g} at (61.39,10) size 377.39x427.59
-      LayoutSVGContainer {g} at (61.39,10) size 377.39x427.59
-        LayoutSVGText {text} at (61.39,10) size 15.59x287.61 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (61.39,10) size 15.59x287.61
-            chunk 1 (vertical) text run 1 at (65.00,10.00) startOffset 0 endOffset 1 height 15.60: "T"
-            chunk 1 (vertical) text run 2 at (65.00,17.42) startOffset 1 endOffset 2 height 15.60: "e"
-            chunk 1 (vertical) text run 3 at (65.00,23.42) startOffset 2 endOffset 3 height 15.60: "x"
-            chunk 1 (vertical) text run 4 at (65.00,30.02) startOffset 3 endOffset 4 height 15.60: "t"
-            chunk 1 (vertical) text run 5 at (65.00,33.62) startOffset 4 endOffset 5 height 15.60: " "
-            chunk 1 (vertical) text run 6 at (65.00,37.22) startOffset 5 endOffset 6 height 15.60: "\""
-            chunk 1 (vertical) text run 7 at (65.00,42.62) startOffset 6 endOffset 7 height 15.60: "\x{6211}"
-            chunk 1 (vertical) text run 8 at (65.00,58.22) startOffset 7 endOffset 8 height 15.60: "\x{80FD}"
-            chunk 1 (vertical) text run 9 at (65.00,73.82) startOffset 8 endOffset 9 height 15.60: "\x{541E}"
-            chunk 1 (vertical) text run 10 at (65.00,89.42) startOffset 9 endOffset 10 height 15.60: "\x{4E0B}"
-            chunk 1 (vertical) text run 11 at (65.00,105.02) startOffset 10 endOffset 11 height 15.60: "\x{73BB}"
-            chunk 1 (vertical) text run 12 at (65.00,120.62) startOffset 11 endOffset 12 height 15.60: "\x{7483}"
-            chunk 1 (vertical) text run 13 at (65.00,136.22) startOffset 12 endOffset 13 height 15.60: "\x{800C}"
-            chunk 1 (vertical) text run 14 at (65.00,151.82) startOffset 13 endOffset 14 height 15.60: "\x{4E0D}"
-            chunk 1 (vertical) text run 15 at (65.00,167.42) startOffset 14 endOffset 15 height 15.60: "\x{4F24}"
-            chunk 1 (vertical) text run 16 at (65.00,183.02) startOffset 15 endOffset 16 height 15.60: "\x{8EAB}"
-            chunk 1 (vertical) text run 17 at (65.00,198.62) startOffset 16 endOffset 17 height 15.60: "\x{4F53}"
-            chunk 1 (vertical) text run 18 at (65.00,214.22) startOffset 17 endOffset 18 height 15.60: "\x{3002}"
-            chunk 1 (vertical) text run 19 at (65.00,229.82) startOffset 18 endOffset 19 height 15.60: "\""
-            chunk 1 (vertical) text run 20 at (65.00,235.22) startOffset 19 endOffset 20 height 15.60: " "
-            chunk 1 (vertical) text run 21 at (65.00,238.82) startOffset 20 endOffset 21 height 15.60: "i"
-            chunk 1 (vertical) text run 22 at (65.00,242.42) startOffset 21 endOffset 22 height 15.60: "n"
-            chunk 1 (vertical) text run 23 at (65.00,249.62) startOffset 22 endOffset 23 height 15.60: " "
-            chunk 1 (vertical) text run 24 at (65.00,253.22) startOffset 23 endOffset 24 height 15.60: "C"
-            chunk 1 (vertical) text run 25 at (65.00,262.22) startOffset 24 endOffset 25 height 15.60: "h"
-            chunk 1 (vertical) text run 26 at (65.00,269.42) startOffset 25 endOffset 26 height 15.60: "i"
-            chunk 1 (vertical) text run 27 at (65.00,273.02) startOffset 26 endOffset 27 height 15.60: "n"
-            chunk 1 (vertical) text run 28 at (65.00,280.22) startOffset 27 endOffset 28 height 15.60: "e"
-            chunk 1 (vertical) text run 29 at (65.00,286.22) startOffset 28 endOffset 29 height 15.60: "s"
-            chunk 1 (vertical) text run 30 at (65.00,291.62) startOffset 29 endOffset 30 height 15.60: "e"
-        LayoutSVGText {text} at (222.39,10) size 15.09x427.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (222.39,10) size 15.09x427.59
-            chunk 1 (vertical) text run 1 at (225.50,10.00) startOffset 0 endOffset 1 height 15.00: "J"
-            chunk 1 (vertical) text run 2 at (225.50,15.40) startOffset 1 endOffset 2 height 15.00: "a"
-            chunk 1 (vertical) text run 3 at (225.50,21.40) startOffset 2 endOffset 3 height 15.00: "p"
-            chunk 1 (vertical) text run 4 at (225.50,28.00) startOffset 3 endOffset 4 height 15.00: "a"
-            chunk 1 (vertical) text run 5 at (225.50,34.00) startOffset 4 endOffset 5 height 15.00: "n"
-            chunk 1 (vertical) text run 6 at (225.50,40.00) startOffset 5 endOffset 6 height 15.00: "e"
-            chunk 1 (vertical) text run 7 at (225.50,46.00) startOffset 6 endOffset 7 height 15.00: "s"
-            chunk 1 (vertical) text run 8 at (225.50,51.40) startOffset 7 endOffset 8 height 15.00: "e"
-            chunk 1 (vertical) text run 9 at (225.50,57.40) startOffset 8 endOffset 9 height 15.00: ":"
-            chunk 1 (vertical) text run 10 at (225.50,61.00) startOffset 9 endOffset 10 height 15.00: " "
-            chunk 1 (vertical) text run 11 at (225.50,64.60) startOffset 10 endOffset 11 height 15.00: "\x{79C1}"
-            chunk 1 (vertical) text run 12 at (225.50,79.60) startOffset 11 endOffset 12 height 15.00: "\x{306F}"
-            chunk 1 (vertical) text run 13 at (225.50,94.60) startOffset 12 endOffset 13 height 15.00: "\x{30AC}"
-            chunk 1 (vertical) text run 14 at (225.50,109.60) startOffset 13 endOffset 14 height 15.00: "\x{30E9}"
-            chunk 1 (vertical) text run 15 at (225.50,124.60) startOffset 14 endOffset 15 height 15.00: "\x{30B9}"
-            chunk 1 (vertical) text run 16 at (225.50,139.60) startOffset 15 endOffset 16 height 15.00: "\x{3092}"
-            chunk 1 (vertical) text run 17 at (225.50,154.60) startOffset 16 endOffset 17 height 15.00: "\x{98DF}"
-            chunk 1 (vertical) text run 18 at (225.50,169.60) startOffset 17 endOffset 18 height 15.00: "\x{3079}"
-            chunk 1 (vertical) text run 19 at (225.50,184.60) startOffset 18 endOffset 19 height 15.00: "\x{3089}"
-            chunk 1 (vertical) text run 20 at (225.50,199.60) startOffset 19 endOffset 20 height 15.00: "\x{308C}"
-            chunk 1 (vertical) text run 21 at (225.50,214.60) startOffset 20 endOffset 21 height 15.00: "\x{307E}"
-            chunk 1 (vertical) text run 22 at (225.50,229.60) startOffset 21 endOffset 22 height 15.00: "\x{3059}"
-            chunk 1 (vertical) text run 23 at (225.50,244.60) startOffset 22 endOffset 23 height 15.00: "\x{3002}"
-            chunk 1 (vertical) text run 24 at (225.50,259.60) startOffset 23 endOffset 24 height 15.00: "\x{305D}"
-            chunk 1 (vertical) text run 25 at (225.50,274.60) startOffset 24 endOffset 25 height 15.00: "\x{308C}"
-            chunk 1 (vertical) text run 26 at (225.50,289.60) startOffset 25 endOffset 26 height 15.00: "\x{306F}"
-            chunk 1 (vertical) text run 27 at (225.50,304.60) startOffset 26 endOffset 27 height 15.00: "\x{79C1}"
-            chunk 1 (vertical) text run 28 at (225.50,319.60) startOffset 27 endOffset 28 height 15.00: "\x{3092}"
-            chunk 1 (vertical) text run 29 at (225.50,334.60) startOffset 28 endOffset 29 height 15.00: "\x{50B7}"
-            chunk 1 (vertical) text run 30 at (225.50,349.60) startOffset 29 endOffset 30 height 15.00: "\x{3064}"
-            chunk 1 (vertical) text run 31 at (225.50,364.60) startOffset 30 endOffset 31 height 15.00: "\x{3051}"
-            chunk 1 (vertical) text run 32 at (225.50,379.60) startOffset 31 endOffset 32 height 15.00: "\x{307E}"
-            chunk 1 (vertical) text run 33 at (225.50,394.60) startOffset 32 endOffset 33 height 15.00: "\x{305B}"
-            chunk 1 (vertical) text run 34 at (225.50,409.60) startOffset 33 endOffset 34 height 15.00: "\x{3093}"
-            chunk 1 (vertical) text run 35 at (225.50,424.60) startOffset 34 endOffset 35 height 15.00: "\x{3002}"
-        LayoutSVGText {text} at (363.59,13) size 11.39x397.59 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (363.59,13) size 11.39x397.59
-            chunk 1 (vertical) text run 1 at (366.00,13.00) startOffset 0 endOffset 1 height 11.40: "J"
-            chunk 1 (vertical) text run 2 at (366.00,24.40) startOffset 1 endOffset 2 height 11.40: "a"
-            chunk 1 (vertical) text run 3 at (366.00,35.80) startOffset 2 endOffset 3 height 11.40: "p"
-            chunk 1 (vertical) text run 4 at (366.00,47.20) startOffset 3 endOffset 4 height 11.40: "a"
-            chunk 1 (vertical) text run 5 at (366.00,58.60) startOffset 4 endOffset 5 height 11.40: "n"
-            chunk 1 (vertical) text run 6 at (366.00,70.00) startOffset 5 endOffset 6 height 11.40: "e"
-            chunk 1 (vertical) text run 7 at (366.00,81.40) startOffset 6 endOffset 7 height 11.40: "s"
-            chunk 1 (vertical) text run 8 at (366.00,92.80) startOffset 7 endOffset 8 height 11.40: "e"
-            chunk 1 (vertical) text run 9 at (366.00,104.20) startOffset 8 endOffset 9 height 11.40: ":"
-            chunk 1 (vertical) text run 10 at (366.00,115.60) startOffset 9 endOffset 10 height 11.40: " "
-            chunk 1 (vertical) text run 11 at (366.00,127.00) startOffset 10 endOffset 11 height 11.40: "\x{79C1}"
-            chunk 1 (vertical) text run 12 at (366.00,138.40) startOffset 11 endOffset 12 height 11.40: "\x{306F}"
-            chunk 1 (vertical) text run 13 at (366.00,149.80) startOffset 12 endOffset 13 height 11.40: "\x{30AC}"
-            chunk 1 (vertical) text run 14 at (366.00,161.20) startOffset 13 endOffset 14 height 11.40: "\x{30E9}"
-            chunk 1 (vertical) text run 15 at (366.00,172.60) startOffset 14 endOffset 15 height 11.40: "\x{30B9}"
-            chunk 1 (vertical) text run 16 at (366.00,184.00) startOffset 15 endOffset 16 height 11.40: "\x{3092}"
-            chunk 1 (vertical) text run 17 at (366.00,195.40) startOffset 16 endOffset 17 height 11.40: "\x{98DF}"
-            chunk 1 (vertical) text run 18 at (366.00,206.80) startOffset 17 endOffset 18 height 11.40: "\x{3079}"
-            chunk 1 (vertical) text run 19 at (366.00,218.20) startOffset 18 endOffset 19 height 11.40: "\x{3089}"
-            chunk 1 (vertical) text run 20 at (366.00,229.60) startOffset 19 endOffset 20 height 11.40: "\x{308C}"
-            chunk 1 (vertical) text run 21 at (366.00,241.00) startOffset 20 endOffset 21 height 11.40: "\x{307E}"
-            chunk 1 (vertical) text run 22 at (366.00,252.40) startOffset 21 endOffset 22 height 11.40: "\x{3059}"
-            chunk 1 (vertical) text run 23 at (366.00,263.80) startOffset 22 endOffset 23 height 11.40: "\x{3002}"
-            chunk 1 (vertical) text run 24 at (366.00,275.20) startOffset 23 endOffset 24 height 11.40: "\x{305D}"
-            chunk 1 (vertical) text run 25 at (366.00,286.60) startOffset 24 endOffset 25 height 11.40: "\x{308C}"
-            chunk 1 (vertical) text run 26 at (366.00,298.00) startOffset 25 endOffset 26 height 11.40: "\x{306F}"
-            chunk 1 (vertical) text run 27 at (366.00,309.40) startOffset 26 endOffset 27 height 11.40: "\x{79C1}"
-            chunk 1 (vertical) text run 28 at (366.00,320.80) startOffset 27 endOffset 28 height 11.40: "\x{3092}"
-            chunk 1 (vertical) text run 29 at (366.00,332.20) startOffset 28 endOffset 29 height 11.40: "\x{50B7}"
-            chunk 1 (vertical) text run 30 at (366.00,343.60) startOffset 29 endOffset 30 height 11.40: "\x{3064}"
-            chunk 1 (vertical) text run 31 at (366.00,355.00) startOffset 30 endOffset 31 height 11.40: "\x{3051}"
-            chunk 1 (vertical) text run 32 at (366.00,366.40) startOffset 31 endOffset 32 height 11.40: "\x{307E}"
-            chunk 1 (vertical) text run 33 at (366.00,377.80) startOffset 32 endOffset 33 height 11.40: "\x{305B}"
-            chunk 1 (vertical) text run 34 at (366.00,389.20) startOffset 33 endOffset 34 height 11.40: "\x{3093}"
-            chunk 1 (vertical) text run 35 at (366.00,400.60) startOffset 34 endOffset 35 height 11.40: "\x{3002}"
-        LayoutSVGText {text} at (102.19,80) size 36.59x150.19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (102.19,80) size 36.59x150.19
-            chunk 1 (vertical) text run 1 at (110.00,80.00) startOffset 0 endOffset 1 height 36.60: "x"
-            chunk 1 (vertical) text run 2 at (110.00,96.20) startOffset 1 endOffset 2 height 36.60: "t"
-            chunk 1 (vertical) text run 3 at (110.00,105.20) startOffset 2 endOffset 3 height 36.60: " "
-            chunk 1 (vertical) text run 4 at (110.00,113.00) startOffset 3 endOffset 4 height 36.60: "\""
-            chunk 1 (vertical) text run 5 at (110.00,125.00) startOffset 4 endOffset 5 height 36.60: "\x{6211}"
-            chunk 1 (vertical) text run 6 at (110.00,161.60) startOffset 5 endOffset 6 height 36.60: "\x{80FD}"
-            chunk 1 (vertical) text run 7 at (110.00,198.20) startOffset 6 endOffset 7 height 36.60: "\x{541E}"
-        LayoutSVGText {text} at (260.09,80) size 40.80x124.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (260.09,80) size 40.80x124.80
-            chunk 1 (vertical) text run 1 at (268.50,80.00) startOffset 0 endOffset 1 height 40.80: "s"
-            chunk 1 (vertical) text run 2 at (268.50,93.80) startOffset 1 endOffset 2 height 40.80: "e"
-            chunk 1 (vertical) text run 3 at (268.50,110.00) startOffset 2 endOffset 3 height 40.80: ":"
-            chunk 1 (vertical) text run 4 at (268.50,119.00) startOffset 3 endOffset 4 height 40.80: " "
-            chunk 1 (vertical) text run 5 at (268.50,128.00) startOffset 4 endOffset 5 height 40.80: "\x{79C1}"
-            chunk 1 (vertical) text run 6 at (268.50,168.80) startOffset 5 endOffset 6 height 40.80: "\x{306F}"
-        LayoutSVGText {text} at (402.19,80) size 36.59x214.98 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (402.19,80) size 36.59x214.98
-            chunk 1 (vertical) text run 1 at (410.00,80.00) startOffset 0 endOffset 1 height 36.60: "s"
-            chunk 1 (vertical) text run 2 at (410.00,116.60) startOffset 1 endOffset 2 height 36.60: "e"
-            chunk 1 (vertical) text run 3 at (410.00,153.20) startOffset 2 endOffset 3 height 36.60: ":"
-            chunk 1 (vertical) text run 4 at (410.00,189.80) startOffset 3 endOffset 4 height 36.60: " "
-            chunk 1 (vertical) text run 5 at (410.00,226.40) startOffset 4 endOffset 5 height 36.60: "\x{79C1}"
-            chunk 1 (vertical) text run 6 at (410.00,263.00) startOffset 5 endOffset 6 height 36.60: "\x{306F}"
-    LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
-        chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 265.80: "$Revision: 1.6 $"
-    LayoutSVGRect {rect} at (1,1) size 478x358 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-04-t-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-04-t-expected.png
index aff9d25..3007977 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-04-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-04-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt
index 8aa6c6ac..f994d54 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt
@@ -4,29 +4,29 @@
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
     LayoutSVGContainer {g} at (10,4.39) size 436.19x239.19
-      LayoutSVGText {text} at (10,4.39) size 140.42x19.19 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (10,4.39) size 140.42x19.19
-          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 21 width 140.43: "Test horizontal text."
+      LayoutSVGText {text} at (10,4.39) size 140.39x19.19 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (10,4.39) size 140.39x19.19
+          chunk 1 text run 1 at (10.00,20.00) startOffset 0 endOffset 21 width 140.40: "Test horizontal text."
       LayoutSVGContainer {g} at (10,44.39) size 436.19x199.19
         LayoutSVGText {text} at (10,44.39) size 277.80x19.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,44.39) size 277.80x19.80
             chunk 1 text run 1 at (10.00,60.00) startOffset 0 endOffset 42 width 277.80: "Polish: Mog\x{119} je\x{15B}\x{107} szk\x{142}o, i mi nie szkodzi."
-        LayoutSVGText {text} at (10,74.39) size 334.09x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,74.39) size 334.09x19.80
-            chunk 1 text run 1 at (10.00,90.00) startOffset 0 endOffset 47 width 334.10: "Russian: \x{42F} \x{43C}\x{43E}\x{433}\x{443} \x{435}\x{441}\x{442}\x{44C} \x{441}\x{442}\x{435}\x{43A}\x{43B}\x{43E}, \x{44D}\x{442}\x{43E} \x{43C}\x{43D}\x{435} \x{43D}\x{435} \x{432}\x{440}\x{435}\x{434}\x{438}\x{442}."
-        LayoutSVGText {text} at (10,106.19) size 381.67x17.39 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,106.19) size 381.67x17.39
-            chunk 1 text run 1 at (10.00,120.00) startOffset 0 endOffset 57 width 381.69: "Greek: \x{39C}\x{3C0}\x{3BF}\x{3C1}\x{3CE} \x{3BD}\x{3B1} \x{3C6}\x{3AC}\x{3C9} \x{3C3}\x{3C0}\x{3B1}\x{3C3}\x{3BC}\x{3AD}\x{3BD}\x{3B1} \x{3B3}\x{3C5}\x{3B1}\x{3BB}\x{3B9}\x{3AC} \x{3C7}\x{3C9}\x{3C1}\x{3AF}\x{3C2} \x{3BD}\x{3B1} \x{3C0}\x{3AC}\x{3B8}\x{3C9} \x{3C4}\x{3AF}\x{3C0}\x{3BF}\x{3C4}\x{3B1}."
-        LayoutSVGText {text} at (10,134.39) size 343.20x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,134.39) size 343.19x19.80
-            chunk 1 text run 1 at (10.00,150.00) startOffset 0 endOffset 6 width 39.01: "Text \""
-            chunk 1 text run 1 at (49.01,150.00) startOffset 0 endOffset 36 width 210.00 RTL: "\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}"
-            chunk 1 text run 1 at (259.01,150.00) startOffset 0 endOffset 14 width 94.20: "\" is in Hebrew"
-        LayoutSVGText {text} at (10,164.39) size 309.25x19.80 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,164.39) size 309.23x19.80
-            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 9 width 61.46: "Yiddish: "
-            chunk 1 text run 1 at (71.46,180.00) startOffset 0 endOffset 40 width 243.60 RTL: "\x{5D0}\x{5D9}\x{5DA} \x{5E7}\x{5E2}\x{5DF} \x{5E2}\x{5E1}\x{5DF} \x{5D2}\x{5DC}\x{5D0}\x{5B8}\x{5D6} \x{5D0}\x{5D5}\x{5DF} \x{5E2}\x{5E1} \x{5D8}\x{5D5}\x{5D8} \x{5DE}\x{5D9}\x{5E8} \x{5E0}\x{5D9}\x{5E9}\x{5D8} \x{5F0}\x{5F2}"
-            chunk 1 text run 1 at (315.06,180.00) startOffset 0 endOffset 1 width 4.20: "."
+        LayoutSVGText {text} at (10,74.39) size 334.80x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,74.39) size 334.80x19.80
+            chunk 1 text run 1 at (10.00,90.00) startOffset 0 endOffset 47 width 334.80: "Russian: \x{42F} \x{43C}\x{43E}\x{433}\x{443} \x{435}\x{441}\x{442}\x{44C} \x{441}\x{442}\x{435}\x{43A}\x{43B}\x{43E}, \x{44D}\x{442}\x{43E} \x{43C}\x{43D}\x{435} \x{43D}\x{435} \x{432}\x{440}\x{435}\x{434}\x{438}\x{442}."
+        LayoutSVGText {text} at (10,106.19) size 381.59x17.39 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,106.19) size 381.59x17.39
+            chunk 1 text run 1 at (10.00,120.00) startOffset 0 endOffset 57 width 381.60: "Greek: \x{39C}\x{3C0}\x{3BF}\x{3C1}\x{3CE} \x{3BD}\x{3B1} \x{3C6}\x{3AC}\x{3C9} \x{3C3}\x{3C0}\x{3B1}\x{3C3}\x{3BC}\x{3AD}\x{3BD}\x{3B1} \x{3B3}\x{3C5}\x{3B1}\x{3BB}\x{3B9}\x{3AC} \x{3C7}\x{3C9}\x{3C1}\x{3AF}\x{3C2} \x{3BD}\x{3B1} \x{3C0}\x{3AC}\x{3B8}\x{3C9} \x{3C4}\x{3AF}\x{3C0}\x{3BF}\x{3C4}\x{3B1}."
+        LayoutSVGText {text} at (10,134.39) size 343.19x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,134.39) size 343.17x19.80
+            chunk 1 text run 1 at (10.00,150.00) startOffset 0 endOffset 6 width 39.00: "Text \""
+            chunk 1 text run 1 at (49.00,150.00) startOffset 0 endOffset 36 width 210.00 RTL: "\x{5D0}\x{5E0}\x{5D9} \x{5D9}\x{5DB}\x{5D5}\x{5DC} \x{5DC}\x{5D0}\x{5DB}\x{5D5}\x{5DC} \x{5D6}\x{5DB}\x{5D5}\x{5DB}\x{5D9}\x{5EA} \x{5D5}\x{5D6}\x{5D4} \x{5DC}\x{5D0} \x{5DE}\x{5D6}\x{5D9}\x{5E7} \x{5DC}\x{5D9}"
+            chunk 1 text run 1 at (259.00,150.00) startOffset 0 endOffset 14 width 94.20: "\" is in Hebrew"
+        LayoutSVGText {text} at (10,164.39) size 309x19.80 contains 1 chunk(s)
+          LayoutSVGInlineText {#text} at (10,164.39) size 308.98x19.80
+            chunk 1 text run 1 at (10.00,180.00) startOffset 0 endOffset 9 width 61.20: "Yiddish: "
+            chunk 1 text run 1 at (71.20,180.00) startOffset 0 endOffset 40 width 243.60 RTL: "\x{5D0}\x{5D9}\x{5DA} \x{5E7}\x{5E2}\x{5DF} \x{5E2}\x{5E1}\x{5DF} \x{5D2}\x{5DC}\x{5D0}\x{5B8}\x{5D6} \x{5D0}\x{5D5}\x{5DF} \x{5E2}\x{5E1} \x{5D8}\x{5D5}\x{5D8} \x{5DE}\x{5D9}\x{5E8} \x{5E0}\x{5D9}\x{5E9}\x{5D8} \x{5F0}\x{5F2}"
+            chunk 1 text run 1 at (314.80,180.00) startOffset 0 endOffset 1 width 4.20: "."
         LayoutSVGText {text} at (10,194.39) size 260.39x19.80 contains 1 chunk(s)
           LayoutSVGInlineText {#text} at (10,194.39) size 260.39x19.80
             chunk 1 text run 1 at (10.00,210.00) startOffset 0 endOffset 20 width 260.40: "Chinese:\x{6211}\x{80FD}\x{541E}\x{4E0B}\x{73BB}\x{7483}\x{800C}\x{4E0D}\x{4F24}\x{8EAB}\x{4F53}\x{3002}"
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/batik/filters/filterRegions-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/batik/filters/filterRegions-expected.png
deleted file mode 100644
index e10caf3..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/batik/filters/filterRegions-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/batik/filters/filterRegions-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/batik/filters/filterRegions-expected.txt
deleted file mode 100644
index 4a299e1..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/batik/filters/filterRegions-expected.txt
+++ /dev/null
@@ -1,179 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 450x500
-  LayoutSVGRoot {svg} at (0,0) size 450x500
-    LayoutSVGText {text} at (176.50,25) size 97x18 contains 1 chunk(s)
-      LayoutSVGInlineText {#text} at (176.50,25) size 97x18
-        chunk 1 (middle anchor) text run 1 at (176.50,40.00) startOffset 0 endOffset 14 width 97.00: "Filter Regions"
-    LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-      LayoutSVGResourceFilter {filter} [id="filterRegion_0"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_1"] [filterUnits=userSpaceOnUse] [primitiveUnits=userSpaceOnUse]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_2"] [filterUnits=userSpaceOnUse] [primitiveUnits=userSpaceOnUse]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_3"] [filterUnits=userSpaceOnUse] [primitiveUnits=userSpaceOnUse]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_4"] [filterUnits=userSpaceOnUse] [primitiveUnits=userSpaceOnUse]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_5"] [filterUnits=userSpaceOnUse] [primitiveUnits=userSpaceOnUse]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_6"] [filterUnits=userSpaceOnUse] [primitiveUnits=userSpaceOnUse]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_2_0"] [filterUnits=objectBoundingBox] [primitiveUnits=objectBoundingBox]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_2_1"] [filterUnits=userSpaceOnUse] [primitiveUnits=objectBoundingBox]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_2_2"] [filterUnits=userSpaceOnUse] [primitiveUnits=objectBoundingBox]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_2_3"] [filterUnits=userSpaceOnUse] [primitiveUnits=objectBoundingBox]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_2_4"] [filterUnits=userSpaceOnUse] [primitiveUnits=objectBoundingBox]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_2_5"] [filterUnits=userSpaceOnUse] [primitiveUnits=objectBoundingBox]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_3_0"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_3_1"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_3_2"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-      LayoutSVGResourceFilter {filter} [id="filterRegion_3_3"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-        [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-    LayoutSVGContainer {g} at (0,15) size 20000300x3085 [transform={m=((1.00,0.00)(0.00,1.00)) t=(30.00,50.00)}]
-      LayoutSVGContainer {g} at (-10,-20) size 120x75 [transform={m=((1.00,0.00)(0.00,1.00)) t=(240.00,95.00)}]
-        LayoutSVGRect {rect} at (0,0) size 100x50 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
-          [filter="filterRegion_0"] LayoutSVGResourceFilter {filter} at (-10,-5) size 120x60
-        LayoutSVGRect {rect} at (-10,-5) size 120x60 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=-10.00] [y=-5.00] [width=120.00] [height=60.00]
-        LayoutSVGText {text} at (6.50,-20) size 77x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (6.50,-20) size 77x12
-            chunk 1 (middle anchor) text run 1 at (6.50,-10.00) startOffset 0 endOffset 14 width 77.00: "filterRegion_0"
-      LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
-        [filter="filterRegion_1"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
-      LayoutSVGRect {rect} at (20,30) size 50x40 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-      LayoutSVGText {text} at (6.50,15) size 77x12 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (6.50,15) size 77x12
-          chunk 1 (middle anchor) text run 1 at (6.50,25.00) startOffset 0 endOffset 14 width 77.00: "filterRegion_1"
-      LayoutSVGContainer {g} at (0,15) size 20000000x3010 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,0.00)}]
-        LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
-          [filter="filterRegion_2"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
-        LayoutSVGRect {rect} at (25,35) size 45x35 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=25.00] [y=35.00] [width=45.00] [height=35.00]
-        LayoutSVGText {text} at (6.50,15) size 77x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (6.50,15) size 77x12
-            chunk 1 (middle anchor) text run 1 at (6.50,25.00) startOffset 0 endOffset 14 width 77.00: "filterRegion_2"
-      LayoutSVGContainer {g} at (0,15) size 20000000x3010 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,0.00)}]
-        LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
-          [filter="filterRegion_3"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
-        LayoutSVGRect {rect} at (20,30) size 50x20 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=50.00] [height=20.00]
-        LayoutSVGText {text} at (6.50,15) size 77x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (6.50,15) size 77x12
-            chunk 1 (middle anchor) text run 1 at (6.50,25.00) startOffset 0 endOffset 14 width 77.00: "filterRegion_3"
-      LayoutSVGContainer {g} at (0,15) size 20000000x3010 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,0.00)}]
-        LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
-          [filter="filterRegion_4"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
-        LayoutSVGRect {rect} at (20,30) size 25x40 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=25.00] [height=40.00]
-        LayoutSVGText {text} at (6.50,15) size 77x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (6.50,15) size 77x12
-            chunk 1 (middle anchor) text run 1 at (6.50,25.00) startOffset 0 endOffset 14 width 77.00: "filterRegion_4"
-      LayoutSVGContainer {g} at (0,15) size 20000000x3010 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,75.00)}]
-        LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
-          [filter="filterRegion_5"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
-        LayoutSVGRect {rect} at (20,30) size 50x20 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=50.00] [height=20.00]
-        LayoutSVGText {text} at (6.50,15) size 77x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (6.50,15) size 77x12
-            chunk 1 (middle anchor) text run 1 at (6.50,25.00) startOffset 0 endOffset 14 width 77.00: "filterRegion_5"
-      LayoutSVGContainer {g} at (0,3000) size 20000000x25 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,75.00)}]
-        [filter="filterRegion_6"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
-        LayoutSVGRect {rect} at (0,3000) size 20000000x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=3000.00] [width=20000000.00] [height=25.00]
-      LayoutSVGContainer {g} at (6.50,15) size 77x55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,75.00)}]
-        LayoutSVGRect {rect} at (20,30) size 40x40 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=40.00] [height=40.00]
-        LayoutSVGText {text} at (6.50,15) size 77x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (6.50,15) size 77x12
-            chunk 1 (middle anchor) text run 1 at (6.50,25.00) startOffset 0 endOffset 14 width 77.00: "filterRegion_6"
-      LayoutSVGContainer {g} at (-20,-30) size 90x57.50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,280.00)}]
-        LayoutSVGRect {rect} at (0,0) size 50x25 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=50.00] [height=25.00]
-          [filter="filterRegion_2_0"] LayoutSVGResourceFilter {filter} at (-5,-2.50) size 60x30
-        LayoutSVGRect {rect} at (-5,-2.50) size 60x30 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=-5.00] [y=-2.50] [width=60.00] [height=30.00]
-        LayoutSVGText {text} at (-20,-30) size 90x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-20,-30) size 90x12
-            chunk 1 (middle anchor) text run 1 at (-20.00,-20.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_2_0"
-      LayoutSVGContainer {g} at (20,30) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,160.00)}]
-        [filter="filterRegion_2_1"] LayoutSVGResourceFilter {filter} at (-45,-50) size 540x600
-        LayoutSVGRect {rect} at (20,30) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (0,15) size 90x55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,160.00)}]
-        LayoutSVGRect {rect} at (20,30) size 50x40 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,15) size 90x12
-            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_2_1"
-      LayoutSVGContainer {g} at (20,30) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,160.00)}]
-        LayoutSVGRect {rect} at (20,30) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-          [filter="filterRegion_2_2"] LayoutSVGResourceFilter {filter} at (-45,-50) size 540x600
-      LayoutSVGContainer {g} at (0,15) size 90x55 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,160.00)}]
-        LayoutSVGRect {rect} at (20,30) size 50x40 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,15) size 90x12
-            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_2_2"
-      LayoutSVGContainer {g} at (20,30) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,160.00)}]
-        [filter="filterRegion_2_3"] LayoutSVGResourceFilter {filter} at (-45,-50) size 540x600
-        LayoutSVGRect {rect} at (20,30) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (0,15) size 90x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,160.00)}]
-        LayoutSVGRect {rect} at (32.50,50) size 25x10 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=32.50] [y=50.00] [width=25.00] [height=10.00]
-        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,15) size 90x12
-            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_2_3"
-      LayoutSVGContainer {g} at (20,30) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,160.00)}]
-        [filter="filterRegion_2_4"] LayoutSVGResourceFilter {filter} at (-45,-50) size 540x600
-        LayoutSVGRect {rect} at (20,30) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (0,15) size 90x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,160.00)}]
-        LayoutSVGRect {rect} at (32.50,50) size 25x10 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=32.50] [y=50.00] [width=25.00] [height=10.00]
-        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,15) size 90x12
-            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_2_4"
-      LayoutSVGContainer {g} at (20,30) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,245.00)}]
-        [filter="filterRegion_2_5"] LayoutSVGResourceFilter {filter} at (20,30) size 50x40
-        LayoutSVGRect {rect} at (20,30) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=20.00] [y=30.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (0,15) size 90x45 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,245.00)}]
-        LayoutSVGRect {rect} at (20,50) size 50x10 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=50.00] [width=50.00] [height=10.00]
-        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,15) size 90x12
-            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_2_5"
-      LayoutSVGContainer {g} at (0,0) size 450x450 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,330.00)}]
-        [filter="filterRegion_3_1"] LayoutSVGResourceFilter {filter} at (-45,-45) size 540x540
-        LayoutSVGRect {rect} at (0,0) size 450x450 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=450.00] [height=450.00]
-      LayoutSVGContainer {g} at (0,15) size 90x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,330.00)}]
-        LayoutSVGRect {rect} at (20,30) size 20x25 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=20.00] [y=30.00] [width=20.00] [height=25.00]
-        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,15) size 90x12
-            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_3_1"
-      LayoutSVGContainer {g} at (0,0) size 40x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(320.00,330.00)}]
-        [filter="filterRegion_3_0"] LayoutSVGResourceFilter {filter} at (-4,-5) size 48x60
-        LayoutSVGRect {rect} at (0,0) size 40x50 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=40.00] [height=50.00]
-      LayoutSVGContainer {g} at (-4,-5) size 94x60 [transform={m=((1.00,0.00)(0.00,1.00)) t=(320.00,330.00)}]
-        LayoutSVGRect {rect} at (-4,-5) size 48x60 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=-4.00] [y=-5.00] [width=48.00] [height=60.00]
-        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,15) size 90x12
-            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_3_0"
-      LayoutSVGContainer {g} at (50,40) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,330.00)}]
-        [filter="filterRegion_3_2"] LayoutSVGResourceFilter {filter} at (0,0) size 100x80
-        LayoutSVGRect {rect} at (50,40) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=50.00] [y=40.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (0,0) size 100x80 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,330.00)}]
-        LayoutSVGRect {rect} at (0,0) size 100x80 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=0.00] [y=0.00] [width=100.00] [height=80.00]
-        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,15) size 90x12
-            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_3_2"
-      LayoutSVGContainer {g} at (50,40) size 50x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,330.00)}]
-        [filter="filterRegion_3_3"] LayoutSVGResourceFilter {filter} at (25,20) size 37.50x30
-        LayoutSVGRect {rect} at (50,40) size 50x40 [fill={[type=SOLID] [color=#000000]}] [x=50.00] [y=40.00] [width=50.00] [height=40.00]
-      LayoutSVGContainer {g} at (0,15) size 90x35 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,330.00)}]
-        LayoutSVGRect {rect} at (25,20) size 37.50x30 [stroke={[type=SOLID] [color=#000000] [opacity=0.50]}] [x=25.00] [y=20.00] [width=37.50] [height=30.00]
-        LayoutSVGText {text} at (0,15) size 90x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (0,15) size 90x12
-            chunk 1 (middle anchor) text run 1 at (0.00,25.00) startOffset 0 endOffset 16 width 90.00: "filterRegion_3_3"
-    LayoutSVGContainer {use} at (1,1) size 446x496
-      LayoutSVGContainer {g} at (1,1) size 446x496
-        LayoutSVGRect {rect} at (1,1) size 446x496 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=446.00] [height=496.00]
-        LayoutSVGContainer {g} at (0.23,-0.02) size 26.48x27.69 [transform={m=((1.00,0.00)(0.00,1.00)) t=(418.00,467.00)}]
-          LayoutSVGViewportContainer {svg} at (-0.05,-0.35) size 539x563.74
-            LayoutSVGPath {path} at (-0.05,41.47) size 246.37x345.82 [fill={[type=SOLID] [color=#6666FF]}] [data="M 172 44 C 137 60 31 135 11 199 c -8 27 22 48 44 33 C 14 306 -1 332 0 356 c 0 14 13 42 44 27 c 8 -4 35 -25 52 -41 c 14 -1 24 -11 42 -28 c 17 14 36 10 52 -7 c 22 2 82 -78 44 -108 c -3 -24 -30 -37 -53 -18 c -6 -2 -13 -1 -18 1 c 22 -35 43 -82 49 -105 C 219 47 188 36 172 44 Z"]
-            LayoutSVGPath {path} at (294,-0.35) size 244.95x298.02 [fill={[type=SOLID] [color=#FF0000]}] [data="M 400 0 c -18 3 -49 31 -49 31 c -29 23 -43 58 -28 95 c -13 14 -29 44 -29 67 c 0 28 20 52 50 29 c 7 8 21 16 37 5 c -5 29 3 48 26 49 c 1 10 13 31 36 17 c 16 -10 58 -39 79 -56 c 25 -23 25 -94 -18 -89 c 33 -59 -3 -96 -27 -84 c -10 4 -46 25 -52 30 c -1 -7 -5 -12 -11 -14 C 436 45 436 -5 401 0 Z"]
-            LayoutSVGPath {path} at (158.32,352.17) size 286.68x211.23 [fill={[type=SOLID] [color=#33CC33]}] [data="M 275 353 c -46 12 -88 43 -114 91 c -9 16 6 37 25 33 c -14 24 -40 67 -15 81 c 28 16 52 -8 60 -15 c 18 21 50 10 81 -17 c 41 14 68 -2 103 -53 c 8 -12 30 -43 30 -65 c 0 -16 -15 -30 -35 -21 c -1 -12 -9 -38 -53 -19 c -10 -6 -31 -5 -54 17 C 308 375 300 347 275 353 Z"]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/batik/text/verticalText-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/batik/text/verticalText-expected.png
index a8663fbd..bd26fce 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/batik/text/verticalText-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/batik/text/verticalText-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/coords-relative-units-transforms-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/custom/coords-relative-units-transforms-expected.txt
deleted file mode 100644
index b599ba5..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/coords-relative-units-transforms-expected.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 400x200
-  LayoutSVGRoot {svg} at (0,0) size 400x200
-    LayoutSVGRect {rect} at (5,5) size 3990x1990 [stroke={[type=SOLID] [color=#0000FF] [stroke width=10.00]}] [x=5.00] [y=5.00] [width=3990.00] [height=1990.00]
-    LayoutSVGContainer {g} at (350,150) size 3380x1450
-      LayoutSVGContainer {g} at (-50,150) size 818x1434 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,0.00)}]
-        LayoutSVGText {text} at (-50,150) size 790x180 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-50,150) size 790x180
-            chunk 1 text run 1 at (-50.00,300.00) startOffset 0 endOffset 11 width 790.00: "Abs. units:"
-        LayoutSVGRect {rect} at (0,400) size 384x192 [stroke={[type=SOLID] [color=#FF0000] [stroke width=38.40]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=400.00] [width=384.00] [height=192.00]
-        LayoutSVGRect {rect} at (0,750) size 384x192 [stroke={[type=SOLID] [color=#FF0000] [stroke width=38.40]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=750.00] [width=384.00] [height=192.00]
-        LayoutSVGContainer {g} at (0,600) size 384x192 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}]
-          LayoutSVGRect {rect} at (0,600) size 384x192 [stroke={[type=SOLID] [color=#FF0000] [stroke width=38.40]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=600.00] [width=384.00] [height=192.00]
-      LayoutSVGContainer {g} at (-50,150) size 800x1425 [transform={m=((1.00,0.00)(0.00,1.00)) t=(1600.00,0.00)}]
-        LayoutSVGText {text} at (-50,150) size 740x180 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-50,150) size 740x180
-            chunk 1 text run 1 at (-50.00,300.00) startOffset 0 endOffset 11 width 740.00: "Rel. units:"
-        LayoutSVGRect {rect} at (0,400) size 375x187.50 [stroke={[type=SOLID] [color=#FF0000] [stroke width=37.50]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=400.00] [width=375.00] [height=187.50]
-        LayoutSVGRect {rect} at (0,750) size 375x187.50 [stroke={[type=SOLID] [color=#FF0000] [stroke width=37.50]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=750.00] [width=375.00] [height=187.50]
-        LayoutSVGContainer {g} at (0,600) size 375x187.50 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}]
-          LayoutSVGRect {rect} at (0,600) size 375x187.50 [stroke={[type=SOLID] [color=#FF0000] [stroke width=37.50]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=600.00] [width=375.00] [height=187.50]
-      LayoutSVGContainer {g} at (-50,150) size 980x1450 [transform={m=((1.00,0.00)(0.00,1.00)) t=(2800.00,0.00)}]
-        LayoutSVGText {text} at (-50,150) size 980x180 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (-50,150) size 980x180
-            chunk 1 text run 1 at (-50.00,300.00) startOffset 0 endOffset 12 width 980.00: "Percentages:"
-        LayoutSVGRect {rect} at (0,400) size 400x200 [stroke={[type=SOLID] [color=#FF0000] [stroke width=31.62]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=400.00] [width=400.00] [height=200.00]
-        LayoutSVGRect {rect} at (0,750) size 400x200 [stroke={[type=SOLID] [color=#FF0000] [stroke width=31.62]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=750.00] [width=400.00] [height=200.00]
-        LayoutSVGContainer {g} at (0,600) size 400x200 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}]
-          LayoutSVGRect {rect} at (0,600) size 400x200 [stroke={[type=SOLID] [color=#FF0000] [stroke width=31.62]}] [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=600.00] [width=400.00] [height=200.00]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Discrete-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Discrete-expected.png
deleted file mode 100644
index bce8383..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Discrete-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Discrete-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Discrete-expected.txt
deleted file mode 100644
index 7ad64023..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Discrete-expected.txt
+++ /dev/null
@@ -1,59 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (15.69,10.31) size 448.62x289.38
-      LayoutSVGViewportContainer {svg} at (1,1) size 648x418
-        LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-          LayoutSVGResourceLinearGradient {linearGradient} [id="MyGradient"] [gradientUnits=userSpaceOnUse] [stops=( #00FF00@0.00 #000000@1.00 )] [start=(10,0)] [end=(590,0)]
-          LayoutSVGResourceFilter {filter} [id="Identity"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="IDENTITY" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {green: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-          LayoutSVGResourceFilter {filter} [id="DiscreteBlank"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {green: type="DISCRETE" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-          LayoutSVGResourceFilter {filter} [id="DiscreteFull"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {green: type="DISCRETE" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-          LayoutSVGResourceFilter {filter} [id="DiscreteOrd"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {green: type="DISCRETE" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-        LayoutSVGRect {rect} at (1,1) size 648x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=648.00] [height=418.00]
-        LayoutSVGContainer {g} at (1,1) size 648x418
-          LayoutSVGRect {rect} at (1,1) size 648x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=648.00] [height=418.00]
-          LayoutSVGRect {rect} at (20,10) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=10.00] [width=580.00] [height=40.00]
-            [filter="Identity"] LayoutSVGResourceFilter {filter} at (20,10) size 580x40
-          LayoutSVGText {text} at (20,55.27) size 102.27x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,55.27) size 102.27x17.33
-              chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 14 width 102.27: "type: identity"
-          LayoutSVGRect {rect} at (20,110) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=110.00] [width=580.00] [height=40.00]
-            [filter="DiscreteBlank"] LayoutSVGResourceFilter {filter} at (20,110) size 580x40
-          LayoutSVGText {text} at (20,155.27) size 325.86x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,155.27) size 325.86x17.33
-              chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 44 width 325.87: "type: discrete [0] -- Result should be black"
-          LayoutSVGRect {rect} at (20,210) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=210.00] [width=580.00] [height=40.00]
-            [filter="DiscreteFull"] LayoutSVGResourceFilter {filter} at (20,210) size 580x40
-          LayoutSVGText {text} at (20,255.27) size 329.33x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,255.27) size 329.33x17.33
-              chunk 1 text run 1 at (20.00,270.00) startOffset 0 endOffset 44 width 329.33: "type: discrete [1] -- Result should be green"
-          LayoutSVGRect {rect} at (20,310) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=310.00] [width=580.00] [height=40.00]
-            [filter="DiscreteOrd"] LayoutSVGResourceFilter {filter} at (20,310) size 580x40
-          LayoutSVGText {text} at (20,355.27) size 565.06x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,355.27) size 565.06x17.33
-              chunk 1 text run 1 at (20.00,370.00) startOffset 0 endOffset 75 width 565.07: "type: discrete [0.0 0.25 0.5 0.75 1] -- Result should be quantized gradient"
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Gamma-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Gamma-expected.png
deleted file mode 100644
index f9ccfa33..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Gamma-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Gamma-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Gamma-expected.txt
deleted file mode 100644
index be008c95..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Gamma-expected.txt
+++ /dev/null
@@ -1,65 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (15.69,10.31) size 448.62x289.38
-      LayoutSVGViewportContainer {svg} at (1,1) size 648x418
-        LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-          LayoutSVGResourceLinearGradient {linearGradient} [id="MyGradient"] [gradientUnits=userSpaceOnUse] [stops=( #00FF00@0.00 #000000@1.00 )] [start=(10,0)] [end=(590,0)]
-          LayoutSVGResourceFilter {filter} [id="Identity"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="IDENTITY" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {green: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-          LayoutSVGResourceFilter {filter} [id="GammaBlank"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {green: type="GAMMA" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-          LayoutSVGResourceFilter {filter} [id="GammaFull"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {green: type="GAMMA" slope="1.00" intercept="0.00" amplitude="1.00" exponent="0.50" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-          LayoutSVGResourceFilter {filter} [id="GammaOrd"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {green: type="GAMMA" slope="1.00" intercept="0.00" amplitude="1.00" exponent="2.00" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-        LayoutSVGRect {rect} at (1,1) size 648x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=648.00] [height=418.00]
-        LayoutSVGContainer {g} at (1,1) size 648x418
-          LayoutSVGRect {rect} at (1,1) size 648x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=648.00] [height=418.00]
-          LayoutSVGRect {rect} at (20,10) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=10.00] [width=580.00] [height=40.00]
-            [filter="Identity"] LayoutSVGResourceFilter {filter} at (20,10) size 580x40
-          LayoutSVGText {text} at (20,55.27) size 102.27x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,55.27) size 102.27x17.33
-              chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 14 width 102.27: "type: identity"
-          LayoutSVGRect {rect} at (20,110) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=110.00] [width=580.00] [height=40.00]
-            [filter="GammaBlank"] LayoutSVGResourceFilter {filter} at (20,110) size 580x40
-          LayoutSVGText {text} at (20,155.27) size 579.80x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,155.27) size 579.80x17.33
-              chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 72 width 579.80: "type: gamma amplitude=1 exponent=1 offset=0 -- Result should be identity"
-          LayoutSVGRect {rect} at (20,210) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=210.00] [width=580.00] [height=40.00]
-            [filter="GammaFull"] LayoutSVGResourceFilter {filter} at (20,210) size 580x40
-          LayoutSVGText {text} at (20,255.27) size 532.13x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,255.27) size 532.13x17.33
-              chunk 1 text run 1 at (20.00,270.00) startOffset 0 endOffset 65 width 532.13: "type: gamma amplitude=1 exponent=0.5 offset=0 -- Result should be"
-          LayoutSVGText {text} at (20,275.27) size 191.53x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,275.27) size 191.53x17.33
-              chunk 1 text run 1 at (20.00,290.00) startOffset 0 endOffset 27 width 191.53: "delayed falloff in gradient"
-          LayoutSVGRect {rect} at (20,310) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=310.00] [width=580.00] [height=40.00]
-            [filter="GammaOrd"] LayoutSVGResourceFilter {filter} at (20,310) size 580x40
-          LayoutSVGText {text} at (20,355.27) size 570.27x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,355.27) size 570.27x17.33
-              chunk 1 text run 1 at (20.00,370.00) startOffset 0 endOffset 69 width 570.27: "type: gamma amplitude=1 exponent=2 offset=0 -- Result should compress"
-          LayoutSVGText {text} at (20,375.27) size 91.86x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,375.27) size 91.86x17.33
-              chunk 1 text run 1 at (20.00,390.00) startOffset 0 endOffset 12 width 91.87: "the gradient"
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Linear-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Linear-expected.png
deleted file mode 100644
index e0bc0db6..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Linear-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Linear-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Linear-expected.txt
deleted file mode 100644
index 4be7fb8..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Linear-expected.txt
+++ /dev/null
@@ -1,59 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (15.69,10.31) size 448.62x289.38
-      LayoutSVGViewportContainer {svg} at (1,1) size 648x418
-        LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-          LayoutSVGResourceLinearGradient {linearGradient} [id="MyGradient"] [gradientUnits=userSpaceOnUse] [stops=( #00FF00@0.00 #000000@1.00 )] [start=(10,0)] [end=(590,0)]
-          LayoutSVGResourceFilter {filter} [id="Identity"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="IDENTITY" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {green: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-          LayoutSVGResourceFilter {filter} [id="DiscreteBlank"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {green: type="LINEAR" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-          LayoutSVGResourceFilter {filter} [id="DiscreteFull"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {green: type="LINEAR" slope="-1.00" intercept="1.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-          LayoutSVGResourceFilter {filter} [id="DiscreteOrd"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {green: type="LINEAR" slope="0.50" intercept="0.25" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-        LayoutSVGRect {rect} at (1,1) size 648x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=648.00] [height=418.00]
-        LayoutSVGContainer {g} at (1,1) size 648x418
-          LayoutSVGRect {rect} at (1,1) size 648x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=648.00] [height=418.00]
-          LayoutSVGRect {rect} at (20,10) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=10.00] [width=580.00] [height=40.00]
-            [filter="Identity"] LayoutSVGResourceFilter {filter} at (20,10) size 580x40
-          LayoutSVGText {text} at (20,55.27) size 102.27x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,55.27) size 102.27x17.33
-              chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 14 width 102.27: "type: identity"
-          LayoutSVGRect {rect} at (20,110) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=110.00] [width=580.00] [height=40.00]
-            [filter="DiscreteBlank"] LayoutSVGResourceFilter {filter} at (20,110) size 580x40
-          LayoutSVGText {text} at (20,155.27) size 457.59x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,155.27) size 457.59x17.33
-              chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 61 width 457.60: "type: linear slope=1 intercept=0 -- Result should be identity"
-          LayoutSVGRect {rect} at (20,210) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=210.00] [width=580.00] [height=40.00]
-            [filter="DiscreteFull"] LayoutSVGResourceFilter {filter} at (20,210) size 580x40
-          LayoutSVGText {text} at (20,255.27) size 474.92x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,255.27) size 474.92x17.33
-              chunk 1 text run 1 at (20.00,270.00) startOffset 0 endOffset 63 width 474.93: "type: linear slope=-1 intercept=0 -- Should invert the gradient"
-          LayoutSVGRect {rect} at (20,310) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=310.00] [width=580.00] [height=40.00]
-            [filter="DiscreteOrd"] LayoutSVGResourceFilter {filter} at (20,310) size 580x40
-          LayoutSVGText {text} at (20,355.27) size 602.33x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,355.27) size 602.33x17.33
-              chunk 1 text run 1 at (20.00,370.00) startOffset 0 endOffset 79 width 602.33: "type: linear slope=0.5 intercept=0.25 -- Result should be less extreme gradient"
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Table-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Table-expected.png
deleted file mode 100644
index e92eb75..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Table-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Table-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Table-expected.txt
deleted file mode 100644
index 2f4cc1e..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/feComponentTransfer-Table-expected.txt
+++ /dev/null
@@ -1,59 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  LayoutSVGRoot {svg} at (0,0) size 800x600
-    LayoutSVGContainer {g} at (15.69,10.31) size 448.62x289.38
-      LayoutSVGViewportContainer {svg} at (1,1) size 648x418
-        LayoutSVGHiddenContainer {defs} at (0,0) size 0x0
-          LayoutSVGResourceLinearGradient {linearGradient} [id="MyGradient"] [gradientUnits=userSpaceOnUse] [stops=( #00FF00@0.00 #000000@1.00 )] [start=(10,0)] [end=(590,0)]
-          LayoutSVGResourceFilter {filter} [id="Identity"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="IDENTITY" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {green: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-          LayoutSVGResourceFilter {filter} [id="TableBlank"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {green: type="TABLE" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-          LayoutSVGResourceFilter {filter} [id="TableFull"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {green: type="TABLE" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-          LayoutSVGResourceFilter {filter} [id="TableOrd"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
-            [feComponentTransfer 
-                {red: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {green: type="TABLE" slope="1.00" intercept="0.00" amplitude="1.00" exponent="1.00" offset="0.00"}
-                {blue: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}
-                {alpha: type="UNKNOWN" slope="0.00" intercept="0.00" amplitude="0.00" exponent="0.00" offset="0.00"}]
-              [SourceGraphic]
-        LayoutSVGRect {rect} at (1,1) size 648x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=648.00] [height=418.00]
-        LayoutSVGContainer {g} at (1,1) size 648x418
-          LayoutSVGRect {rect} at (1,1) size 648x418 [stroke={[type=SOLID] [color=#0000FF]}] [x=1.00] [y=1.00] [width=648.00] [height=418.00]
-          LayoutSVGRect {rect} at (20,10) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=10.00] [width=580.00] [height=40.00]
-            [filter="Identity"] LayoutSVGResourceFilter {filter} at (20,10) size 580x40
-          LayoutSVGText {text} at (20,55.27) size 102.27x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,55.27) size 102.27x17.33
-              chunk 1 text run 1 at (20.00,70.00) startOffset 0 endOffset 14 width 102.27: "type: identity"
-          LayoutSVGRect {rect} at (20,110) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=110.00] [width=580.00] [height=40.00]
-            [filter="TableBlank"] LayoutSVGResourceFilter {filter} at (20,110) size 580x40
-          LayoutSVGText {text} at (20,155.27) size 304.19x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,155.27) size 304.19x17.33
-              chunk 1 text run 1 at (20.00,170.00) startOffset 0 endOffset 41 width 304.20: "type: table [0] -- Result should be black"
-          LayoutSVGRect {rect} at (20,210) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=210.00] [width=580.00] [height=40.00]
-            [filter="TableFull"] LayoutSVGResourceFilter {filter} at (20,210) size 580x40
-          LayoutSVGText {text} at (20,255.27) size 307.66x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,255.27) size 307.66x17.33
-              chunk 1 text run 1 at (20.00,270.00) startOffset 0 endOffset 41 width 307.67: "type: table [1] -- Result should be green"
-          LayoutSVGRect {rect} at (20,310) size 580x40 [fill={[type=LINEAR-GRADIENT] [id="MyGradient"]}] [x=20.00] [y=310.00] [width=580.00] [height=40.00]
-            [filter="TableOrd"] LayoutSVGResourceFilter {filter} at (20,310) size 580x40
-          LayoutSVGText {text} at (20,355.27) size 466.27x17.33 contains 1 chunk(s)
-            LayoutSVGInlineText {#text} at (20,355.27) size 466.27x17.33
-              chunk 1 text run 1 at (20.00,370.00) startOffset 0 endOffset 61 width 466.27: "type: table [0 0 1 1] -- Result should be compressed gradient"
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/text-match-highlight-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/custom/text-match-highlight-expected.png
deleted file mode 100644
index 9683bc8f..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/text-match-highlight-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/text-match-highlight-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/custom/text-match-highlight-expected.txt
deleted file mode 100644
index 07e5286..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/custom/text-match-highlight-expected.txt
+++ /dev/null
@@ -1,87 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x401
-  LayoutBlockFlow {HTML} at (0,0) size 800x401
-    LayoutBlockFlow {BODY} at (8,8) size 784x385
-      LayoutText {#text} at (0,0) size 424x19
-        text run at (0,0) width 424: "Test for crbug.com/56580: There should be 9 highlighted instances of \""
-      LayoutInline {SPAN} at (0,0) size 41x19
-        LayoutText {#text} at (423,0) size 41x19
-          text run at (423,0) width 41: "findme"
-      LayoutText {#text} at (463,0) size 277x19
-        text run at (463,0) width 124: "\". The 6th higlighted "
-        text run at (586,0) width 154: "instance should be active."
-      LayoutBR {BR} at (739,0) size 1x19
-      LayoutBR {BR} at (0,20) size 0x19
-      LayoutText {#text} at (0,40) size 83x19
-        text run at (0,40) width 83: "Lorum ipsum "
-      LayoutInline {SPAN} at (0,0) size 40x19
-        LayoutText {#text} at (83,40) size 40x19
-          text run at (83,40) width 40: "findme"
-      LayoutText {#text} at (123,40) size 81x19
-        text run at (123,40) width 81: " lorum ipsum "
-      LayoutInline {SPAN} at (0,0) size 40x19
-        LayoutText {#text} at (204,40) size 40x19
-          text run at (204,40) width 40: "findme"
-      LayoutInline {SPAN} at (0,0) size 40x19
-        LayoutText {#text} at (244,40) size 40x19
-          text run at (244,40) width 40: "findme"
-      LayoutText {#text} at (284,40) size 42x19
-        text run at (284,40) width 42: " lorum."
-      LayoutBR {BR} at (326,40) size 0x19
-      LayoutText {#text} at (0,60) size 47x19
-        text run at (0,60) width 47: "longtext"
-      LayoutInline {SPAN} at (0,0) size 40x19
-        LayoutText {#text} at (47,60) size 40x19
-          text run at (47,60) width 40: "findme"
-      LayoutText {#text} at (87,60) size 41x19
-        text run at (87,60) width 41: "noyou."
-      LayoutBR {BR} at (128,60) size 0x19
-      LayoutSVGRoot {svg} at (0,80) size 450x300
-        LayoutSVGHiddenContainer {defs} at (100,58.58) size 800x182.84
-          LayoutSVGPath {path} at (100,58.58) size 800x182.84 [fill={[type=SOLID] [color=#000000]}] [data="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100"]
-        LayoutSVGText {text} at (10,35) size 216x19 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,35) size 216x19
-            chunk 1 text run 1 at (10.00,50.00) startOffset 0 endOffset 36 width 216.00: "Can you findme in this stroked text?"
-        LayoutSVGText {text} at (10,91) size 138x12 contains 1 chunk(s)
-          LayoutSVGInlineText {#text} at (10,91) size 138x12
-            chunk 1 text run 1 at (10.00,100.00) startOffset 0 endOffset 23 width 138.00: "Findme in a typewriter!"
-        LayoutSVGContainer {g} at (69.42,14.67) size 668.28x237.47 [transform={m=((0.30,0.00)(0.00,0.30)) t=(0.00,120.00)}]
-          LayoutSVGText {text} at (69.42,14.67) size 668.28x237.47 contains 1 chunk(s)
-            LayoutSVGTextPath {textPath} at (69.42,14.67) size 668.28x237.47
-              LayoutSVGInlineText {#text} at (69.42,14.67) size 668.28x237.47
-                chunk 1 text run 1 at (109.48,190.53) startOffset 0 endOffset 1 width 26.67: "F"
-                chunk 1 text run 2 at (122.51,177.58) startOffset 1 endOffset 2 width 10.00: "i"
-                chunk 1 text run 3 at (135.54,164.79) startOffset 2 endOffset 3 width 26.67: "n"
-                chunk 1 text run 4 at (154.83,146.39) startOffset 3 endOffset 4 width 26.67: "d"
-                chunk 1 text run 5 at (178.39,125.17) startOffset 4 endOffset 5 width 36.67: "m"
-                chunk 1 text run 6 at (202.97,105.11) startOffset 5 endOffset 6 width 26.67: "e"
-                chunk 1 text run 7 at (220.55,92.43) startOffset 6 endOffset 7 width 16.67: " "
-                chunk 1 text run 8 at (238.92,80.94) startOffset 7 endOffset 8 width 26.67: "o"
-                chunk 1 text run 9 at (262.81,69.16) startOffset 8 endOffset 9 width 26.67: "n"
-                chunk 1 text run 10 at (283.32,62.32) startOffset 9 endOffset 10 width 16.67: " "
-                chunk 1 text run 11 at (304.62,58.84) startOffset 10 endOffset 11 width 26.67: "a"
-                chunk 1 text run 12 at (326.23,59.54) startOffset 11 endOffset 12 width 16.67: " "
-                chunk 1 text run 13 at (347.21,64.70) startOffset 12 endOffset 13 width 26.67: "p"
-                chunk 1 text run 14 at (371.10,76.49) startOffset 13 endOffset 14 width 26.67: "a"
-                chunk 1 text run 15 at (389.76,90.45) startOffset 14 endOffset 15 width 20.00: "t"
-                chunk 1 text run 16 at (406.66,106.65) startOffset 15 endOffset 16 width 26.67: "h"
-                chunk 1 text run 17 at (422.06,121.98) startOffset 16 endOffset 17 width 16.67: "!"
-                chunk 1 text run 18 at (433.90,133.61) startOffset 17 endOffset 18 width 16.67: " "
-                chunk 1 text run 19 at (450.74,149.78) startOffset 18 endOffset 19 width 30.00: "D"
-                chunk 1 text run 20 at (465.45,163.38) startOffset 19 endOffset 20 width 10.00: "i"
-                chunk 1 text run 21 at (479.18,175.51) startOffset 20 endOffset 21 width 26.67: "d"
-                chunk 1 text run 22 at (495.84,189.32) startOffset 21 endOffset 22 width 16.67: " "
-                chunk 1 text run 23 at (513.09,202.38) startOffset 22 endOffset 23 width 26.67: "y"
-                chunk 1 text run 24 at (535.45,217.05) startOffset 23 endOffset 24 width 26.67: "o"
-                chunk 1 text run 25 at (559.17,229.30) startOffset 24 endOffset 25 width 26.67: "u"
-                chunk 1 text run 26 at (579.51,236.66) startOffset 25 endOffset 26 width 16.67: " "
-                chunk 1 text run 27 at (595.71,240.18) startOffset 26 endOffset 27 width 16.67: "f"
-                chunk 1 text run 28 at (608.98,241.37) startOffset 27 endOffset 28 width 10.00: "i"
-                chunk 1 text run 29 at (627.25,240.32) startOffset 28 endOffset 29 width 26.67: "n"
-                chunk 1 text run 30 at (652.87,233.10) startOffset 29 endOffset 30 width 26.67: "d"
-                chunk 1 text run 31 at (680.18,217.26) startOffset 30 endOffset 31 width 36.67: "m"
-                chunk 1 text run 32 at (703.94,196.11) startOffset 31 endOffset 32 width 26.67: "e"
-                chunk 1 text run 33 at (722.36,179.23) startOffset 32 endOffset 33 width 23.33: "?"
-            LayoutSVGInlineText {#text} at (0,0) size 0x0
-      LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/text/bidi-text-query-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/text/bidi-text-query-expected.png
index b321f17..40c252c0 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/text/bidi-text-query-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/text/bidi-text-query-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/text/bidi-tspans-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/text/bidi-tspans-expected.png
index c9614b5..37de071a 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/text/bidi-tspans-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/text/bidi-tspans-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/text/text-selection-intro-05-t-expected.png b/third_party/WebKit/LayoutTests/platform/win7/svg/text/text-selection-intro-05-t-expected.png
index 67f69754..8d3dfae 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/text/text-selection-intro-05-t-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/text/text-selection-intro-05-t-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/svg/text/text-selection-intro-05-t-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/svg/text/text-selection-intro-05-t-expected.txt
index ff1564b6..8460d8da 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/svg/text/text-selection-intro-05-t-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/svg/text/text-selection-intro-05-t-expected.txt
@@ -3,14 +3,14 @@
 layer at (0,0) size 800x600
   LayoutSVGRoot {svg} at (0,0) size 800x600
     LayoutSVGContainer {g} at (43,47) size 417x200.19
-      LayoutSVGText {text} at (112.72,47) size 347.27x45.59 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (112.72,47) size 347.27x45.59
-          chunk 1 (end anchor) text run 1 at (112.72,80.00) startOffset 0 endOffset 37 width 347.28 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
-      LayoutSVGText {text} at (43,126.20) size 417x42.17 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (43,126.20) size 417x42.17
+      LayoutSVGText {text} at (112.59,47) size 347.39x45.59 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (112.59,47) size 347.39x45.59
+          chunk 1 (end anchor) text run 1 at (112.60,80.00) startOffset 0 endOffset 37 width 347.40 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
+      LayoutSVGText {text} at (43,126.39) size 417x42 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (43,126.39) size 417x42
           chunk 1 (end anchor) text run 1 at (43.00,160.00) startOffset 0 endOffset 37 width 417.00 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
-      LayoutSVGText {text} at (113.19,211.64) size 346.80x35.55 contains 1 chunk(s)
-        LayoutSVGInlineText {#text} at (113.19,211.64) size 346.80x35.55
+      LayoutSVGText {text} at (113.19,211.80) size 346.80x35.39 contains 1 chunk(s)
+        LayoutSVGInlineText {#text} at (113.19,211.80) size 346.80x35.39
           chunk 1 (end anchor) text run 1 at (113.20,240.00) startOffset 0 endOffset 37 width 346.80 RTL: "\x{644}\x{645}\x{627}\x{630}\x{627} \x{644}\x{627} \x{64A}\x{62A}\x{643}\x{644}\x{645}\x{648}\x{646} \x{627}\x{644}\x{644}\x{651}\x{63A}\x{629} \x{627}\x{644}\x{639}\x{631}\x{628}\x{64A}\x{629} \x{641}\x{62D}\x{633}\x{628}\x{61F}"
     LayoutSVGText {text} at (10,304) size 265.80x45.59 contains 1 chunk(s)
       LayoutSVGInlineText {#text} at (10,304) size 265.80x45.59
diff --git a/third_party/WebKit/LayoutTests/platform/win7/transforms/2d/hindi-rotated-expected.png b/third_party/WebKit/LayoutTests/platform/win7/transforms/2d/hindi-rotated-expected.png
index 0b02e0c9..98fe5fe 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/transforms/2d/hindi-rotated-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/transforms/2d/hindi-rotated-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/layout_ng/fast/block/basic/minheight-expected.png b/third_party/WebKit/LayoutTests/platform/win7/virtual/layout_ng/fast/block/basic/minheight-expected.png
new file mode 100644
index 0000000..12c3096
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win7/virtual/layout_ng/fast/block/basic/minheight-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/layout_ng/fast/block/float/editable-text-overlapping-float-expected.png b/third_party/WebKit/LayoutTests/platform/win7/virtual/layout_ng/fast/block/float/editable-text-overlapping-float-expected.png
deleted file mode 100644
index 6576daba..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/virtual/layout_ng/fast/block/float/editable-text-overlapping-float-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/layout_ng/fast/block/margin-collapse/103-expected.png b/third_party/WebKit/LayoutTests/platform/win7/virtual/layout_ng/fast/block/margin-collapse/103-expected.png
index f74d408e..7d0ecf4 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/virtual/layout_ng/fast/block/margin-collapse/103-expected.png
+++ b/third_party/WebKit/LayoutTests/platform/win7/virtual/layout_ng/fast/block/margin-collapse/103-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.png b/third_party/WebKit/LayoutTests/platform/win7/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.png
deleted file mode 100644
index 7807ac66..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/virtual/prefer_compositing_to_lcd_text/compositing/overflow/nested-scrolling-expected.png
+++ /dev/null
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/prefer_compositing_to_lcd_text/compositing/overflow/remove-overflow-crash2-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/virtual/prefer_compositing_to_lcd_text/compositing/overflow/remove-overflow-crash2-expected.txt
deleted file mode 100644
index 1b2868cd..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/virtual/prefer_compositing_to_lcd_text/compositing/overflow/remove-overflow-crash2-expected.txt
+++ /dev/null
@@ -1,82 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x218
-  LayoutBlockFlow {HTML} at (0,0) size 800x218
-    LayoutBlockFlow {BODY} at (8,8) size 784x202
-layer at (8,8) size 103x202 clip at (9,9) size 86x185 scrollHeight 1480
-  LayoutBlockFlow {DIV} at (0,0) size 103x202 [border: (1px solid #000000)]
-    LayoutText {#text} at (1,1) size 86x1479
-      text run at (1,1) width 79: "Lorem ipsum"
-      text run at (1,21) width 86: "dolor sit amet,"
-      text run at (1,41) width 69: "consectetur"
-      text run at (1,61) width 62: "adipisicing"
-      text run at (1,81) width 66: "elit, sed do"
-      text run at (1,101) width 50: "eiusmod"
-      text run at (1,121) width 43: "tempor"
-      text run at (1,141) width 72: "incididunt ut"
-      text run at (1,161) width 53: "labore et"
-      text run at (1,181) width 82: "dolore magna"
-      text run at (1,201) width 58: "aliqua. Ut"
-      text run at (1,221) width 86: "enim ad minim"
-      text run at (1,241) width 74: "veniam, quis"
-      text run at (1,261) width 45: "nostrud"
-      text run at (1,281) width 69: "exercitation"
-      text run at (1,301) width 46: "ullamco"
-      text run at (1,321) width 78: "laboris nisi ut"
-      text run at (1,341) width 75: "aliquip ex ea"
-      text run at (1,361) width 61: "commodo"
-      text run at (1,381) width 65: "consequat."
-      text run at (1,401) width 56: "Duis aute"
-      text run at (1,421) width 77: "irure dolor in"
-      text run at (1,441) width 80: "reprehenderit"
-      text run at (1,461) width 69: "in voluptate"
-      text run at (1,481) width 54: "velit esse"
-      text run at (1,501) width 77: "cillum dolore"
-      text run at (1,521) width 81: "eu fugiat nulla"
-      text run at (1,541) width 50: "pariatur."
-      text run at (1,561) width 85: "Excepteur sint"
-      text run at (1,581) width 54: "occaecat"
-      text run at (1,601) width 81: "cupidatat non"
-      text run at (1,621) width 82: "proident, sunt"
-      text run at (1,641) width 68: "in culpa qui"
-      text run at (1,661) width 36: "officia"
-      text run at (1,681) width 51: "deserunt"
-      text run at (1,701) width 79: "mollit anim id"
-      text run at (1,721) width 74: "est laborum."
-      text run at (1,741) width 79: "Lorem ipsum"
-      text run at (1,761) width 86: "dolor sit amet,"
-      text run at (1,781) width 69: "consectetur"
-      text run at (1,801) width 62: "adipisicing"
-      text run at (1,821) width 66: "elit, sed do"
-      text run at (1,841) width 50: "eiusmod"
-      text run at (1,861) width 43: "tempor"
-      text run at (1,881) width 72: "incididunt ut"
-      text run at (1,901) width 53: "labore et"
-      text run at (1,921) width 82: "dolore magna"
-      text run at (1,941) width 58: "aliqua. Ut"
-      text run at (1,961) width 86: "enim ad minim"
-      text run at (1,981) width 74: "veniam, quis"
-      text run at (1,1001) width 45: "nostrud"
-      text run at (1,1021) width 69: "exercitation"
-      text run at (1,1041) width 46: "ullamco"
-      text run at (1,1061) width 78: "laboris nisi ut"
-      text run at (1,1081) width 75: "aliquip ex ea"
-      text run at (1,1101) width 61: "commodo"
-      text run at (1,1121) width 65: "consequat."
-      text run at (1,1141) width 56: "Duis aute"
-      text run at (1,1161) width 77: "irure dolor in"
-      text run at (1,1181) width 80: "reprehenderit"
-      text run at (1,1201) width 69: "in voluptate"
-      text run at (1,1221) width 54: "velit esse"
-      text run at (1,1241) width 77: "cillum dolore"
-      text run at (1,1261) width 81: "eu fugiat nulla"
-      text run at (1,1281) width 50: "pariatur."
-      text run at (1,1301) width 85: "Excepteur sint"
-      text run at (1,1321) width 54: "occaecat"
-      text run at (1,1341) width 81: "cupidatat non"
-      text run at (1,1361) width 82: "proident, sunt"
-      text run at (1,1381) width 68: "in culpa qui"
-      text run at (1,1401) width 36: "officia"
-      text run at (1,1421) width 51: "deserunt"
-      text run at (1,1441) width 79: "mollit anim id"
-      text run at (1,1461) width 74: "est laborum."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/iframe-print-expected.png b/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/iframe-print-expected.png
new file mode 100644
index 0000000..61212866
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/iframe-print-expected.png
Binary files differ
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/iframe-print-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/iframe-print-expected.txt
new file mode 100644
index 0000000..85b8ead
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/iframe-print-expected.txt
@@ -0,0 +1,41 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 1066x799
+layer at (0,0) size 1066x799 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 1066x799
+    LayoutBlockFlow {BODY} at (8,8) size 1050x783
+      LayoutText {#text} at (304,289) size 4x19
+        text run at (304,289) width 4: " "
+      LayoutText {#text} at (0,0) size 0x0
+layer at (8,208) size 304x104
+  LayoutIFrame {IFRAME} at (0,200) size 304x104 [border: (2px inset #EEEEEE)]
+    layer at (0,0) size 300x100
+      LayoutView at (0,0) size 300x100
+    layer at (0,0) size 300x36
+      LayoutBlockFlow {HTML} at (0,0) size 300x36
+        LayoutBlockFlow {BODY} at (8,8) size 284x20
+          LayoutText {#text} at (0,0) size 227x19
+            text run at (0,0) width 227: "You should see this text when printed."
+layer at (316,8) size 304x304
+  LayoutIFrame {IFRAME} at (308,0) size 304x304 [border: (2px inset #EEEEEE)]
+    layer at (0,0) size 300x300
+      LayoutView at (0,0) size 300x300
+    layer at (35,0) size 265x300
+      LayoutBlockFlow {HTML} at (0,0) size 265x300
+        LayoutBlockFlow {BODY} at (8,8) size 249x284
+          LayoutText {#text} at (0,0) size 19x231
+            text run at (0,0) width 231: "You should see this text when printed. "
+          LayoutBR {BR} at (0,231) size 19x0
+          LayoutText {#text} at (20,0) size 19x150
+            text run at (20,0) width 150: "Vertical text on the right. "
+          LayoutBR {BR} at (20,150) size 19x0
+          LayoutText {#text} at (0,0) size 0x0
+    layer at (48,8) size 204x154
+      LayoutIFrame {IFRAME} at (40,0) size 204x154 [border: (2px inset #EEEEEE)]
+        layer at (0,0) size 200x150
+          LayoutView at (0,0) size 200x150
+        layer at (0,0) size 200x56
+          LayoutBlockFlow {HTML} at (0,0) size 200x56
+            LayoutBlockFlow {BODY} at (8,8) size 184x40
+              LayoutText {#text} at (0,0) size 177x39
+                text run at (0,0) width 177: "You should see this text when"
+                text run at (0,20) width 46: "printed."
diff --git a/third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt b/third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt
index 8e2d33b..630a971 100644
--- a/third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt
+++ b/third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt
@@ -3511,6 +3511,10 @@
     attribute @@toStringTag
     getter firesTouchEvents
     method constructor
+interface InputDeviceInfo : MediaDeviceInfo
+    attribute @@toStringTag
+    method constructor
+    method getCapabilities
 interface InputEvent : UIEvent
     attribute @@toStringTag
     getter data
diff --git a/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt b/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
index 3c221a1..aeed334f 100644
--- a/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
+++ b/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
@@ -3970,6 +3970,10 @@
     attribute @@toStringTag
     getter firesTouchEvents
     method constructor
+interface InputDeviceInfo : MediaDeviceInfo
+    attribute @@toStringTag
+    method constructor
+    method getCapabilities
 interface InputEvent : UIEvent
     attribute @@toStringTag
     getter data
@@ -9000,7 +9004,6 @@
     method getTransformTo
 interface XRDevice : EventTarget
     attribute @@toStringTag
-    getter external
     method constructor
     method requestSession
     method supportsSession
@@ -9087,7 +9090,6 @@
     getter eye
     getter projectionMatrix
     method constructor
-    method getViewport
 interface XRViewport
     attribute @@toStringTag
     getter height
@@ -9107,6 +9109,7 @@
     getter multiview
     getter stencil
     method constructor
+    method getViewport
     method requestViewportScaling
 interface XSLTProcessor
     attribute @@toStringTag
diff --git a/third_party/WebKit/LayoutTests/xr/requestDevice_one_device.html b/third_party/WebKit/LayoutTests/xr/requestDevice_one_device.html
index de565b0..f25429e7 100644
--- a/third_party/WebKit/LayoutTests/xr/requestDevice_one_device.html
+++ b/third_party/WebKit/LayoutTests/xr/requestDevice_one_device.html
@@ -12,8 +12,10 @@
 promise_test((t) => {
   setFakeDevices([fakeDevices["FakeGooglePixelPhone"]]);
   return navigator.xr.requestDevice().then( (device) => {
-    assert_true(device != null);
-    assert_false(device.external);
+    t.step(() => {
+      assert_true(device != null);
+      assert_true(device instanceof XRDevice);
+    });
   });
 }, "navigator.xr.requestDevice properly returns a single device");
 
diff --git a/third_party/WebKit/LayoutTests/xr/requestDevice_two_devices.html b/third_party/WebKit/LayoutTests/xr/requestDevice_two_devices.html
index adb9ab4..279d554d 100644
--- a/third_party/WebKit/LayoutTests/xr/requestDevice_two_devices.html
+++ b/third_party/WebKit/LayoutTests/xr/requestDevice_two_devices.html
@@ -13,8 +13,19 @@
   // return, update this test.
   setFakeDevices([fakeDevices["FakeGooglePixelPhone"], fakeDevices["FakeMagicWindowOnly"]]);
   return navigator.xr.requestDevice().then( (device) => {
-    assert_true(device != null);
-    assert_false(device.external);
+    t.step(() => {
+      assert_true(device != null);
+      assert_true(device instanceof XRDevice);
+    });
+
+    // Repeated calls to requestDevice should yeild the same device each time.
+    navigator.xr.requestDevice().then( (device2) => {
+      t.step(() => {
+        assert_true(device2 != null);
+        assert_true(device2 instanceof XRDevice);
+        assert_equals(device, device2);
+      });
+    });
   });
 }, "navigator.xr.requestDevice properly returns one device when there are two");
 </script>
diff --git a/third_party/WebKit/LayoutTests/xr/xrViewport_valid.html b/third_party/WebKit/LayoutTests/xr/xrViewport_valid.html
index 2c952c57..4375267 100644
--- a/third_party/WebKit/LayoutTests/xr/xrViewport_valid.html
+++ b/third_party/WebKit/LayoutTests/xr/xrViewport_valid.html
@@ -11,7 +11,7 @@
 <script>
 let fakeDevices = fakeXRDevices();
 
-xr_session_promise_test( (session) => {
+xr_session_promise_test( (session, t) => {
   // Session must have a baseLayer or frame requests will be ignored.
   let webglLayer = new XRWebGLLayer(session, gl);
   session.baseLayer = webglLayer;
@@ -22,42 +22,44 @@
         let leftView = xrFrame.views[0];
         let rightView = xrFrame.views[1];
 
-        let leftViewport = leftView.getViewport(webglLayer);
-        let rightViewport = rightView.getViewport(webglLayer);
+        let leftViewport = webglLayer.getViewport(leftView);
+        let rightViewport = webglLayer.getViewport(rightView);
 
-        // Ensure the views report the expected viewports into the WebGL layer.
-        assert_true(leftViewport instanceof XRViewport);
-        assert_true(rightViewport instanceof XRViewport);
+        t.step(() => {
+          // Ensure the views report the expected viewports into the WebGL layer.
+          assert_true(leftViewport instanceof XRViewport);
+          assert_true(rightViewport instanceof XRViewport);
 
-        assert_not_equals(leftViewport, null);
-        assert_not_equals(rightViewport, null);
+          assert_not_equals(leftViewport, null);
+          assert_not_equals(rightViewport, null);
 
-        // Exact viewport values don't matter, but they must pass several tests:
+          // Exact viewport values don't matter, but they must pass several tests:
 
-        // Viewports have non-zero widths and heights.
-        assert_greater_than(leftViewport.width, 0);
-        assert_greater_than(leftViewport.height, 0);
-        assert_greater_than(rightViewport.width, 0);
-        assert_greater_than(rightViewport.height, 0);
+          // Viewports have non-zero widths and heights.
+          assert_greater_than(leftViewport.width, 0);
+          assert_greater_than(leftViewport.height, 0);
+          assert_greater_than(rightViewport.width, 0);
+          assert_greater_than(rightViewport.height, 0);
 
-        // Viewports are located within the framebuffer.
-        assert_greater_than_equal(leftViewport.x, 0);
-        assert_greater_than_equal(leftViewport.y, 0);
-        assert_greater_than_equal(leftViewport.x, 0);
-        assert_greater_than_equal(leftViewport.y, 0);
+          // Viewports are located within the framebuffer.
+          assert_greater_than_equal(leftViewport.x, 0);
+          assert_greater_than_equal(leftViewport.y, 0);
+          assert_greater_than_equal(leftViewport.x, 0);
+          assert_greater_than_equal(leftViewport.y, 0);
 
-        assert_less_than_equal(
-          leftViewport.x + leftViewport.width, webglLayer.framebufferWidth);
-        assert_less_than_equal(
-          leftViewport.y + leftViewport.height, webglLayer.framebufferHeight);
-        assert_less_than_equal(
-          rightViewport.x + rightViewport.width, webglLayer.framebufferWidth);
-        assert_less_than_equal(
-          rightViewport.y + rightViewport.height, webglLayer.framebufferHeight);
+          assert_less_than_equal(
+            leftViewport.x + leftViewport.width, webglLayer.framebufferWidth);
+          assert_less_than_equal(
+            leftViewport.y + leftViewport.height, webglLayer.framebufferHeight);
+          assert_less_than_equal(
+            rightViewport.x + rightViewport.width, webglLayer.framebufferWidth);
+          assert_less_than_equal(
+            rightViewport.y + rightViewport.height, webglLayer.framebufferHeight);
 
-        // Assumes that the left viewport will always be physically to the left
-        // of the right viewport.
-        assert_less_than_equal(leftViewport.x + leftViewport.width, rightViewport.x);
+          // Assumes that the left viewport will always be physically to the left
+          // of the right viewport.
+          assert_less_than_equal(leftViewport.x + leftViewport.width, rightViewport.x);
+        });
 
         resolve();
       }
diff --git a/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp b/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp
index d57726b5..d68df7b 100644
--- a/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp
@@ -34,7 +34,6 @@
 #include "bindings/core/v8/V8MessagePort.h"
 #include "bindings/core/v8/V8TextTrack.h"
 #include "bindings/core/v8/V8Uint8Array.h"
-#include "bindings/core/v8/V8VoidCallback.h"
 #include "bindings/core/v8/V8Window.h"
 #include "core/html/track/TrackBase.h"
 #include "platform/wtf/MathExtras.h"
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8EmbedderGraphBuilder.cpp b/third_party/WebKit/Source/bindings/core/v8/V8EmbedderGraphBuilder.cpp
index 5bca7e4a..091f93be 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8EmbedderGraphBuilder.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8EmbedderGraphBuilder.cpp
@@ -40,10 +40,9 @@
       isolate_, v8::Persistent<v8::Object>::Cast(*value));
   ScriptWrappable* traceable = ToScriptWrappable(v8_value);
   if (traceable) {
-    // Add v8_value => traceable edge.
+    Graph::Node* wrapper = GraphNode(v8_value);
     Graph::Node* graph_node =
-        GraphNode(traceable, traceable->NameInHeapSnapshot());
-    graph_->AddEdge(GraphNode(v8_value), graph_node);
+        GraphNode(traceable, traceable->NameInHeapSnapshot(), wrapper);
     // Visit traceable members. This will also add traceable => v8_value edge.
     ParentScope parent(this, graph_node);
     traceable->TraceWrappers(this);
@@ -65,8 +64,8 @@
   // Add an edge from the current parent to this object.
   // Also push the object to the worklist in order to process its members.
   const void* traceable = wrapper_descriptor.base_object_payload;
-  Graph::Node* graph_node =
-      GraphNode(traceable, wrapper_descriptor.name_callback(traceable));
+  Graph::Node* graph_node = GraphNode(
+      traceable, wrapper_descriptor.name_callback(traceable), nullptr);
   graph_->AddEdge(current_parent_, graph_node);
   if (!visited_.Contains(traceable)) {
     visited_.insert(traceable);
@@ -90,14 +89,15 @@
 
 v8::EmbedderGraph::Node* V8EmbedderGraphBuilder::GraphNode(
     Traceable traceable,
-    const char* name) const {
+    const char* name,
+    v8::EmbedderGraph::Node* wrapper) const {
   auto iter = graph_node_.find(traceable);
   if (iter != graph_node_.end())
     return iter->value;
   // Ownership of the new node is transferred to the graph_.
   // graph_node_.at(tracable) is valid for all BuildEmbedderGraph execution.
-  auto node =
-      graph_->AddNode(std::unique_ptr<Graph::Node>(new EmbedderNode(name)));
+  auto node = graph_->AddNode(
+      std::unique_ptr<Graph::Node>(new EmbedderNode(name, wrapper)));
   graph_node_.insert(traceable, node);
   return node;
 }
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8EmbedderGraphBuilder.h b/third_party/WebKit/Source/bindings/core/v8/V8EmbedderGraphBuilder.h
index 6210fef..f3ce7f54 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8EmbedderGraphBuilder.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8EmbedderGraphBuilder.h
@@ -36,19 +36,22 @@
  private:
   class EmbedderNode : public Graph::Node {
    public:
-    explicit EmbedderNode(const char* name) : name_(name) {}
+    EmbedderNode(const char* name, Graph::Node* wrapper)
+        : name_(name), wrapper_(wrapper) {}
 
     // Graph::Node overrides.
     const char* Name() override { return name_; }
     size_t SizeInBytes() override { return 0; }
+    Graph::Node* WrapperNode() override { return wrapper_; }
 
    private:
     const char* name_;
+    Graph::Node* wrapper_;
   };
 
   class EmbedderRootNode : public EmbedderNode {
    public:
-    explicit EmbedderRootNode(const char* name) : EmbedderNode(name) {}
+    explicit EmbedderRootNode(const char* name) : EmbedderNode(name, nullptr) {}
     // Graph::Node override.
     bool IsRootNode() { return true; }
   };
@@ -78,7 +81,9 @@
                               const TraceWrapperDescriptor&) const;
 
   Graph::Node* GraphNode(const v8::Local<v8::Value>&) const;
-  Graph::Node* GraphNode(Traceable, const char* name) const;
+  Graph::Node* GraphNode(Traceable,
+                         const char* name,
+                         Graph::Node* wrapper) const;
 
   void VisitPendingActivities();
   void VisitTransitiveClosure();
diff --git a/third_party/WebKit/Source/bindings/templates/callback_interface.h.tmpl b/third_party/WebKit/Source/bindings/templates/callback_interface.h.tmpl
index 98aee21..66c1064 100644
--- a/third_party/WebKit/Source/bindings/templates/callback_interface.h.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/callback_interface.h.tmpl
@@ -78,11 +78,7 @@
 // |WrapPersistent| for callback interfaces is likely (if not always) misuse.
 // Thus, this code prohibits such a use case. The call sites should explicitly
 // use WrapPersistent(V8PersistentCallbackInterface<T>*).
-#if 0
-// TODO(yukishiino): Enable this deletion once CallbackInterfaceBase transitions
-// to wrapper-tracing.
 Persistent<{{v8_class}}> WrapPersistent({{v8_class}}*) = delete;
-#endif
 
 }  // namespace blink
 
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestCallbackInterface.h b/third_party/WebKit/Source/bindings/tests/results/core/V8TestCallbackInterface.h
index 1d7b3f8..2ee935e0 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestCallbackInterface.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestCallbackInterface.h
@@ -112,11 +112,7 @@
 // |WrapPersistent| for callback interfaces is likely (if not always) misuse.
 // Thus, this code prohibits such a use case. The call sites should explicitly
 // use WrapPersistent(V8PersistentCallbackInterface<T>*).
-#if 0
-// TODO(yukishiino): Enable this deletion once CallbackInterfaceBase transitions
-// to wrapper-tracing.
 Persistent<V8TestCallbackInterface> WrapPersistent(V8TestCallbackInterface*) = delete;
-#endif
 
 }  // namespace blink
 
diff --git a/third_party/WebKit/Source/core/BUILD.gn b/third_party/WebKit/Source/core/BUILD.gn
index 9a7ffe3..e92dfabd 100644
--- a/third_party/WebKit/Source/core/BUILD.gn
+++ b/third_party/WebKit/Source/core/BUILD.gn
@@ -109,6 +109,7 @@
   public_deps = [
     "//services/network/public/cpp:cpp",
     "//services/service_manager/public/cpp",
+    "//services/ui/public/interfaces/ime",
     "//skia",
     "//third_party/WebKit/Source/core/inspector:generated",
     "//third_party/WebKit/Source/core/probe:generated",
diff --git a/third_party/WebKit/Source/core/DEPS b/third_party/WebKit/Source/core/DEPS
index 44bc5784..6ee1c6d4 100644
--- a/third_party/WebKit/Source/core/DEPS
+++ b/third_party/WebKit/Source/core/DEPS
@@ -23,6 +23,7 @@
     "+services/network/public/mojom",
     "+services/resource_coordinator/public/cpp/resource_coordinator_features.h",
     "+services/service_manager/public",
+    "+services/ui/public/interfaces/ime/ime.mojom-shared.h",
     "+skia/public/interfaces/bitmap_skbitmap_struct_traits.h",
     "+third_party/skia/include",
     "+ui/gfx/geometry",
diff --git a/third_party/WebKit/Source/core/clipboard/DataObject.cpp b/third_party/WebKit/Source/core/clipboard/DataObject.cpp
index 9d31e11f..03a0276 100644
--- a/third_party/WebKit/Source/core/clipboard/DataObject.cpp
+++ b/third_party/WebKit/Source/core/clipboard/DataObject.cpp
@@ -32,6 +32,7 @@
 
 #include "core/clipboard/DraggedIsolatedFileSystem.h"
 #include "core/clipboard/Pasteboard.h"
+#include "platform/PasteMode.h"
 #include "platform/clipboard/ClipboardMimeTypes.h"
 #include "platform/clipboard/ClipboardUtilities.h"
 #include "platform/wtf/HashSet.h"
@@ -53,7 +54,7 @@
   WebVector<WebString> web_types =
       Platform::Current()->Clipboard()->ReadAvailableTypes(buffer, &ignored);
   for (const WebString& type : web_types) {
-    if (paste_mode == kPlainTextOnly && type != kMimeTypeTextPlain)
+    if (paste_mode == PasteMode::kPlainTextOnly && type != kMimeTypeTextPlain)
       continue;
     data_object->item_list_.push_back(
         DataObjectItem::CreateFromPasteboard(type, sequence_number));
diff --git a/third_party/WebKit/Source/core/clipboard/DataObject.h b/third_party/WebKit/Source/core/clipboard/DataObject.h
index b0a79dd..97a0c1a3 100644
--- a/third_party/WebKit/Source/core/clipboard/DataObject.h
+++ b/third_party/WebKit/Source/core/clipboard/DataObject.h
@@ -34,7 +34,6 @@
 #include "base/memory/scoped_refptr.h"
 #include "core/CoreExport.h"
 #include "core/clipboard/DataObjectItem.h"
-#include "platform/PasteMode.h"
 #include "platform/Supplementable.h"
 #include "platform/heap/Handle.h"
 #include "platform/wtf/Vector.h"
@@ -47,6 +46,8 @@
 class SharedBuffer;
 class WebDragData;
 
+enum class PasteMode;
+
 // A data object for holding data that would be in a clipboard or moved
 // during a drag-n-drop operation. This is the data that WebCore is aware
 // of and is not specific to a platform.
diff --git a/third_party/WebKit/Source/core/css/CSSURIValue.h b/third_party/WebKit/Source/core/css/CSSURIValue.h
index a0a979e..743c65e4 100644
--- a/third_party/WebKit/Source/core/css/CSSURIValue.h
+++ b/third_party/WebKit/Source/core/css/CSSURIValue.h
@@ -32,6 +32,8 @@
   String CustomCSSText() const;
 
   bool IsLocal(const Document&) const;
+  AtomicString FragmentIdentifier() const;
+
   bool Equals(const CSSURIValue&) const;
 
   void TraceAfterDispatch(blink::Visitor*);
@@ -42,7 +44,6 @@
               const AtomicString& absolute_url);
 
   KURL AbsoluteUrl() const;
-  AtomicString FragmentIdentifier() const;
 
   AtomicString relative_url_;
   bool is_local_;
diff --git a/third_party/WebKit/Source/core/css/resolver/ElementStyleResources.cpp b/third_party/WebKit/Source/core/css/resolver/ElementStyleResources.cpp
index 48cad3f7..f59290f 100644
--- a/third_party/WebKit/Source/core/css/resolver/ElementStyleResources.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/ElementStyleResources.cpp
@@ -28,6 +28,7 @@
 #include "core/css/CSSImageValue.h"
 #include "core/css/CSSURIValue.h"
 #include "core/dom/Document.h"
+#include "core/dom/TreeScope.h"
 #include "core/style/ComputedStyle.h"
 #include "core/style/ContentData.h"
 #include "core/style/CursorData.h"
@@ -39,6 +40,7 @@
 #include "core/style/StyleImage.h"
 #include "core/style/StylePendingImage.h"
 #include "core/svg/SVGElementProxy.h"
+#include "core/svg/SVGTreeScopeResources.h"
 #include "platform/Length.h"
 #include "platform/loader/fetch/FetchParameters.h"
 #include "platform/loader/fetch/ResourceFetcher.h"
@@ -100,6 +102,16 @@
   return value.EnsureElementProxy(*document_);
 }
 
+SVGResource* ElementStyleResources::GetSVGResourceFromValue(
+    TreeScope& tree_scope,
+    const CSSURIValue& value) const {
+  if (!value.IsLocal(*document_))
+    return nullptr;
+  SVGTreeScopeResources& tree_scope_resources =
+      tree_scope.EnsureSVGTreeScopedResources();
+  return tree_scope_resources.ResourceForId(value.FragmentIdentifier());
+}
+
 void ElementStyleResources::LoadPendingSVGDocuments(
     ComputedStyle* computed_style) {
   if (!computed_style->HasFilter())
diff --git a/third_party/WebKit/Source/core/css/resolver/ElementStyleResources.h b/third_party/WebKit/Source/core/css/resolver/ElementStyleResources.h
index 28ad9f3f..ef39372 100644
--- a/third_party/WebKit/Source/core/css/resolver/ElementStyleResources.h
+++ b/third_party/WebKit/Source/core/css/resolver/ElementStyleResources.h
@@ -44,8 +44,10 @@
 class ComputedStyle;
 class Document;
 class SVGElementProxy;
+class SVGResource;
 class StyleImage;
 class StylePendingImage;
+class TreeScope;
 
 // Holds information about resources, requested by stylesheets.
 // Lifetime: per-element style resolve.
@@ -59,6 +61,7 @@
   StyleImage* CachedOrPendingFromValue(CSSPropertyID, const CSSImageValue&);
   StyleImage* SetOrPendingFromValue(CSSPropertyID, const CSSImageSetValue&);
   SVGElementProxy& CachedOrPendingFromValue(const CSSURIValue&);
+  SVGResource* GetSVGResourceFromValue(TreeScope&, const CSSURIValue&) const;
 
   void LoadPendingResources(ComputedStyle*);
 
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
index aedd4c3..f9a4e7a 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
@@ -135,10 +135,11 @@
     return ShapeClipPathOperation::Create(BasicShapeForValue(state, value));
   if (value.IsURIValue()) {
     const CSSURIValue& url_value = ToCSSURIValue(value);
-    SVGElementProxy& element_proxy =
-        state.GetElementStyleResources().CachedOrPendingFromValue(url_value);
+    SVGResource* resource =
+        state.GetElementStyleResources().GetSVGResourceFromValue(
+            state.GetTreeScope(), url_value);
     // TODO(fs): Doesn't work with external SVG references (crbug.com/109212.)
-    return ReferenceClipPathOperation::Create(url_value.Value(), element_proxy);
+    return ReferenceClipPathOperation::Create(url_value.Value(), resource);
   }
   DCHECK(value.IsIdentifierValue() &&
          ToCSSIdentifierValue(value).GetValueID() == CSSValueNone);
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp
index 8be7ab8..a7fa0eb7 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp
@@ -78,6 +78,10 @@
   animation_update_.Clear();
 }
 
+TreeScope& StyleResolverState::GetTreeScope() const {
+  return GetElement() ? GetElement()->GetTreeScope() : GetDocument();
+}
+
 void StyleResolverState::SetStyle(scoped_refptr<ComputedStyle> style) {
   // FIXME: Improve RAII of StyleResolverState to remove this function.
   style_ = std::move(style);
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
index 3a88a8f..4527047 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
@@ -66,6 +66,7 @@
   Document& GetDocument() const { return *document_; }
   // These are all just pass-through methods to ElementResolveContext.
   Element* GetElement() const { return element_context_.GetElement(); }
+  TreeScope& GetTreeScope() const;
   const ContainerNode* ParentNode() const {
     return element_context_.ParentNode();
   }
diff --git a/third_party/WebKit/Source/core/css/threaded/TextRendererThreadedTest.cpp b/third_party/WebKit/Source/core/css/threaded/TextRendererThreadedTest.cpp
index 43ed5b05a..f0c9f6b 100644
--- a/third_party/WebKit/Source/core/css/threaded/TextRendererThreadedTest.cpp
+++ b/third_party/WebKit/Source/core/css/threaded/TextRendererThreadedTest.cpp
@@ -51,7 +51,7 @@
         -1);
 
     // X direction.
-    EXPECT_FLOAT_EQ(77.7363, font.Width(text_run));
+    EXPECT_EQ(78, font.Width(text_run));
     EXPECT_EQ(0, text_bounds.X());
     EXPECT_EQ(78, text_bounds.MaxX());
 
diff --git a/third_party/WebKit/Source/core/editing/Editor.h b/third_party/WebKit/Source/core/editing/Editor.h
index be7167cb..6fd0c17c 100644
--- a/third_party/WebKit/Source/core/editing/Editor.h
+++ b/third_party/WebKit/Source/core/editing/Editor.h
@@ -38,7 +38,6 @@
 #include "core/editing/WritingDirection.h"
 #include "core/editing/finder/FindOptions.h"
 #include "core/events/InputEvent.h"
-#include "platform/PasteMode.h"
 #include "platform/heap/Handle.h"
 #include "platform/scroll/ScrollAlignment.h"
 
diff --git a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
index c4decde5..3988801 100644
--- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
@@ -78,6 +78,7 @@
 #include "core/page/Page.h"
 #include "platform/Histogram.h"
 #include "platform/KillRing.h"
+#include "platform/PasteMode.h"
 #include "platform/loader/fetch/ResourceFetcher.h"
 #include "platform/scroll/Scrollbar.h"
 #include "platform/wtf/StringExtras.h"
@@ -804,7 +805,7 @@
     return true;
 
   return DispatchClipboardEvent(frame, event_type, kDataTransferWritable,
-                                source, kAllMimeTypes);
+                                source, PasteMode::kAllMimeTypes);
 }
 
 static bool CanSmartCopyOrDelete(LocalFrame& frame) {
@@ -2121,7 +2122,7 @@
 
 static void Paste(LocalFrame& frame, EditorCommandSource source) {
   DCHECK(frame.GetDocument());
-  if (!DispatchPasteEvent(frame, kAllMimeTypes, source))
+  if (!DispatchPasteEvent(frame, PasteMode::kAllMimeTypes, source))
     return;
   if (!frame.GetEditor().CanPaste())
     return;
@@ -2139,8 +2140,9 @@
   ResourceFetcher* const loader = frame.GetDocument()->Fetcher();
   ResourceCacheValidationSuppressor validation_suppressor(loader);
 
-  const PasteMode paste_mode =
-      frame.GetEditor().CanEditRichly() ? kAllMimeTypes : kPlainTextOnly;
+  const PasteMode paste_mode = frame.GetEditor().CanEditRichly()
+                                   ? PasteMode::kAllMimeTypes
+                                   : PasteMode::kPlainTextOnly;
 
   if (source == EditorCommandSource::kMenuOrKeyBinding) {
     DataTransfer* data_transfer =
@@ -2157,7 +2159,7 @@
       return;
   }
 
-  if (paste_mode == kAllMimeTypes) {
+  if (paste_mode == PasteMode::kAllMimeTypes) {
     PasteWithPasteboard(frame, Pasteboard::GeneralPasteboard(), source);
     return;
   }
@@ -2206,7 +2208,7 @@
                                       Event*,
                                       EditorCommandSource source,
                                       const String&) {
-  if (!DispatchPasteEvent(frame, kPlainTextOnly, source))
+  if (!DispatchPasteEvent(frame, PasteMode::kPlainTextOnly, source))
     return false;
   if (!frame.GetEditor().CanPaste())
     return false;
diff --git a/third_party/WebKit/Source/core/editing/ime/ImeTextSpan.cpp b/third_party/WebKit/Source/core/editing/ime/ImeTextSpan.cpp
index 13dc9685..92d80f6 100644
--- a/third_party/WebKit/Source/core/editing/ime/ImeTextSpan.cpp
+++ b/third_party/WebKit/Source/core/editing/ime/ImeTextSpan.cpp
@@ -13,13 +13,13 @@
                          unsigned start_offset,
                          unsigned end_offset,
                          const Color& underline_color,
-                         bool thick,
+                         ui::mojom::ImeTextSpanThickness thickness,
                          const Color& background_color,
                          const Color& suggestion_highlight_color,
                          const Vector<String>& suggestions)
     : type_(type),
       underline_color_(underline_color),
-      thick_(thick),
+      thickness_(thickness),
       background_color_(background_color),
       suggestion_highlight_color_(suggestion_highlight_color),
       suggestions_(suggestions) {
@@ -63,7 +63,7 @@
                   ime_text_span.start_offset,
                   ime_text_span.end_offset,
                   Color(ime_text_span.underline_color),
-                  ime_text_span.thick,
+                  ime_text_span.thickness,
                   Color(ime_text_span.background_color),
                   Color(ime_text_span.suggestion_highlight_color),
                   ConvertStdVectorOfStdStringsToVectorOfStrings(
diff --git a/third_party/WebKit/Source/core/editing/ime/ImeTextSpan.h b/third_party/WebKit/Source/core/editing/ime/ImeTextSpan.h
index 9f96087..1d7a069 100644
--- a/third_party/WebKit/Source/core/editing/ime/ImeTextSpan.h
+++ b/third_party/WebKit/Source/core/editing/ime/ImeTextSpan.h
@@ -31,6 +31,7 @@
 #include "platform/wtf/Allocator.h"
 #include "platform/wtf/Vector.h"
 #include "platform/wtf/text/WTFString.h"
+#include "services/ui/public/interfaces/ime/ime.mojom-shared.h"
 
 namespace blink {
 
@@ -46,7 +47,7 @@
               unsigned start_offset,
               unsigned end_offset,
               const Color& underline_color,
-              bool thick,
+              ui::mojom::ImeTextSpanThickness,
               const Color& background_color,
               const Color& suggestion_highlight_color = Color::kTransparent,
               const Vector<String>& suggestions = Vector<String>());
@@ -57,7 +58,7 @@
   unsigned StartOffset() const { return start_offset_; }
   unsigned EndOffset() const { return end_offset_; }
   const Color& UnderlineColor() const { return underline_color_; }
-  bool Thick() const { return thick_; }
+  ui::mojom::ImeTextSpanThickness Thickness() const { return thickness_; }
   const Color& BackgroundColor() const { return background_color_; }
   const Color& SuggestionHighlightColor() const {
     return suggestion_highlight_color_;
@@ -69,7 +70,7 @@
   unsigned start_offset_;
   unsigned end_offset_;
   Color underline_color_;
-  bool thick_;
+  ui::mojom::ImeTextSpanThickness thickness_;
   Color background_color_;
   Color suggestion_highlight_color_;
   Vector<String> suggestions_;
diff --git a/third_party/WebKit/Source/core/editing/ime/ImeTextSpanTest.cpp b/third_party/WebKit/Source/core/editing/ime/ImeTextSpanTest.cpp
index 42c521c..6d6475b 100644
--- a/third_party/WebKit/Source/core/editing/ime/ImeTextSpanTest.cpp
+++ b/third_party/WebKit/Source/core/editing/ime/ImeTextSpanTest.cpp
@@ -11,7 +11,9 @@
 
 ImeTextSpan CreateImeTextSpan(unsigned start_offset, unsigned end_offset) {
   return ImeTextSpan(ImeTextSpan::Type::kComposition, start_offset, end_offset,
-                     Color::kTransparent, false, Color::kTransparent);
+                     Color::kTransparent,
+                     ui::mojom::ImeTextSpanThickness::kNone,
+                     Color::kTransparent);
 }
 
 TEST(ImeTextSpanTest, OneChar) {
diff --git a/third_party/WebKit/Source/core/editing/ime/InputMethodController.cpp b/third_party/WebKit/Source/core/editing/ime/InputMethodController.cpp
index 5299b2e..145f0113 100644
--- a/third_party/WebKit/Source/core/editing/ime/InputMethodController.cpp
+++ b/third_party/WebKit/Source/core/editing/ime/InputMethodController.cpp
@@ -312,12 +312,6 @@
   return std::make_pair(editable, PlainTextRange::Create(*editable, range));
 }
 
-StyleableMarker::Thickness BoolIsThickToStyleableMarkerThickness(
-    bool is_thick) {
-  return is_thick ? StyleableMarker::Thickness::kThick
-                  : StyleableMarker::Thickness::kThin;
-}
-
 int ComputeAutocapitalizeFlags(const Element* element) {
   const HTMLElement* const html_element = ToHTMLElementOrNull(element);
   if (!html_element)
@@ -593,8 +587,7 @@
       case ImeTextSpan::Type::kComposition:
         GetDocument().Markers().AddCompositionMarker(
             ephemeral_line_range, ime_text_span.UnderlineColor(),
-            BoolIsThickToStyleableMarkerThickness(ime_text_span.Thick()),
-            ime_text_span.BackgroundColor());
+            ime_text_span.Thickness(), ime_text_span.BackgroundColor());
         break;
       case ImeTextSpan::Type::kSuggestion:
       case ImeTextSpan::Type::kMisspellingSuggestion:
@@ -619,8 +612,7 @@
                 .SetSuggestions(ime_text_span.Suggestions())
                 .SetHighlightColor(ime_text_span.SuggestionHighlightColor())
                 .SetUnderlineColor(ime_text_span.UnderlineColor())
-                .SetThickness(BoolIsThickToStyleableMarkerThickness(
-                    ime_text_span.Thick()))
+                .SetThickness(ime_text_span.Thickness())
                 .SetBackgroundColor(ime_text_span.BackgroundColor())
                 .Build());
         break;
@@ -910,7 +902,7 @@
   if (ime_text_spans.IsEmpty()) {
     GetDocument().Markers().AddCompositionMarker(
         CompositionEphemeralRange(), Color::kBlack,
-        StyleableMarker::Thickness::kThin,
+        ui::mojom::ImeTextSpanThickness::kThin,
         LayoutTheme::GetTheme().PlatformDefaultCompositionBackgroundColor());
     return;
   }
diff --git a/third_party/WebKit/Source/core/editing/ime/InputMethodControllerTest.cpp b/third_party/WebKit/Source/core/editing/ime/InputMethodControllerTest.cpp
index a55c2d0e..d199864 100644
--- a/third_party/WebKit/Source/core/editing/ime/InputMethodControllerTest.cpp
+++ b/third_party/WebKit/Source/core/editing/ime/InputMethodControllerTest.cpp
@@ -22,6 +22,8 @@
 #include "core/html/forms/HTMLTextAreaElement.h"
 #include "testing/gtest/include/gtest/gtest.h"
 
+using ui::mojom::ImeTextSpanThickness;
+
 namespace blink {
 
 class InputMethodControllerTest : public EditingTestBase {
@@ -167,7 +169,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 5,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().SetCompositionFromExistingText(ime_text_spans, 0, 5);
 
   Range* range = GetCompositionRange();
@@ -186,7 +189,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 2,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
 
   GetDocument().UpdateStyleAndLayout();
   Controller().SetEditableSelectionOffsets(PlainTextRange(2, 2));
@@ -213,7 +217,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 6, 6,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   GetDocument().UpdateStyleAndLayout();
 
   // UTF16 = 0x0939 0x0947 0x0932 0x0932. Note that 0x0932 0x0932 is a grapheme
@@ -240,7 +245,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 12, 12,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   GetDocument().UpdateStyleAndLayout();
 
   // UTF16 = 0x0939 0x0947 0x0932 0x094D 0x0932 0x094B. 0x0939 0x0947 0x0932 is
@@ -275,7 +281,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 3, 12,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().SetCompositionFromExistingText(ime_text_spans, 3, 12);
 
   // Subtract a character.
@@ -305,7 +312,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 2,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
 
   Controller().SetCompositionFromExistingText(ime_text_spans, 0, 2);
 
@@ -332,7 +340,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 2,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().SetCompositionFromExistingText(ime_text_spans, 0, 1);
 
   // 0xE0 0xB0 0x83 0xE0 0xB0 0x83, a telugu character with 2 code points in
@@ -355,7 +364,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 3, 12,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().SetCompositionFromExistingText(ime_text_spans, 3, 12);
 
   Controller().SetComposition(String("123hello789"), ime_text_spans, 11, 11);
@@ -375,7 +385,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 3, 12,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().SetCompositionFromExistingText(ime_text_spans, 3, 12);
 
   Controller().CommitText(String("123789"), ime_text_spans, 0);
@@ -388,7 +399,8 @@
       InsertHTMLElement("<div id='sample' contenteditable></div>", "sample");
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 11,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
 
   Controller().CommitText(String("hello\nworld"), ime_text_spans, 0);
   EXPECT_STREQ("hello<div>world</div>", div->InnerHTMLAsString().Utf8().data());
@@ -414,7 +426,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 5,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().SetCompositionFromExistingText(ime_text_spans, 0, 5);
 
   Controller().FinishComposingText(InputMethodController::kKeepSelection);
@@ -450,7 +463,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 3,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().SetCompositionFromExistingText(ime_text_spans, 0, 3);
 
   Controller().SetComposition(String(""), ime_text_spans, 0, 3);
@@ -467,7 +481,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 5,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().SetCompositionFromExistingText(ime_text_spans, 0, 5);
 
   Range* range = GetCompositionRange();
@@ -485,7 +500,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 7, 8,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().SetCompositionFromExistingText(ime_text_spans, 7, 8);
 
   EXPECT_FALSE(GetCompositionRange());
@@ -497,7 +513,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 5,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().SetComposition("foo", ime_text_spans, 0, 3);
   Controller().FinishComposingText(InputMethodController::kKeepSelection);
 
@@ -951,7 +968,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 2,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
 
   // The caret exceeds left boundary.
   // "*heABllo", where * stands for caret.
@@ -1016,7 +1034,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 2,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
 
   // The caret exceeds left boundary.
   // "*hello\nworld\n01234AB56789", where * stands for caret.
@@ -1107,10 +1126,12 @@
 
   Vector<ImeTextSpan> ime_text_spans0;
   ime_text_spans0.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 0,
-                                        Color(255, 0, 0), false, 0));
+                                        Color(255, 0, 0),
+                                        ImeTextSpanThickness::kThin, 0));
   Vector<ImeTextSpan> ime_text_spans2;
   ime_text_spans2.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 2,
-                                        Color(255, 0, 0), false, 0));
+                                        Color(255, 0, 0),
+                                        ImeTextSpanThickness::kThin, 0));
 
   Controller().SetComposition("AB", ime_text_spans2, 2, 2);
   // With previous composition.
@@ -1132,7 +1153,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 5,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().SetComposition("hello", ime_text_spans, 5, 5);
   EXPECT_STREQ("hello", div->innerText().Utf8().data());
   EXPECT_EQ(5u, Controller().GetSelectionOffsets().Start());
@@ -1150,7 +1172,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 2,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().CommitText("hello", ime_text_spans, 0);
   EXPECT_STREQ("hello", div->innerText().Utf8().data());
 
@@ -1182,7 +1205,8 @@
   // Simulate composition in the |contentEditable|.
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 5,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   editable->focus();
 
   GetDocument().setTitle(g_empty_string);
@@ -1203,7 +1227,8 @@
   // Simulate composition in the |contentEditable|.
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 5,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
 
   GetDocument().setTitle(g_empty_string);
   Controller().SetComposition("hell", ime_text_spans, 4, 4);
@@ -1223,7 +1248,8 @@
   // Simulate composition in the |contentEditable|.
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 5,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
 
   GetDocument().setTitle(g_empty_string);
   Controller().SetComposition("hello", ime_text_spans, 5, 5);
@@ -1243,7 +1269,8 @@
   // Simulate composition in the |contentEditable|.
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 5,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
 
   GetDocument().setTitle(g_empty_string);
   Controller().SetComposition("hello", ime_text_spans, 5, 5);
@@ -1263,7 +1290,8 @@
   // Simulate composition in the |contentEditable|.
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 5,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
 
   // Insert new text without previous composition.
   GetDocument().setTitle(g_empty_string);
@@ -1292,7 +1320,8 @@
   // Simulate composition in the |contentEditable|.
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 5,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
 
   // Insert empty text without previous composition.
   GetDocument().setTitle(g_empty_string);
@@ -1319,7 +1348,8 @@
   // Simulate composition in the |contentEditable|.
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 5,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
 
   Controller().SetComposition("hello", ime_text_spans, 1, 1);
   GetDocument().UpdateStyleAndLayout();
@@ -1373,7 +1403,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 1,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
 
   Controller().SetComposition(" ", ime_text_spans, 1, 1);
 
@@ -1392,7 +1423,8 @@
   Controller().SetEditableSelectionOffsets(PlainTextRange(8, 8));
 
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 1, 11,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
 
   Controller().CommitText(String("ime_text_spand"), ime_text_spans, 0);
 
@@ -1411,7 +1443,8 @@
   Controller().SetCompositionFromExistingText(ime_text_spans, 8, 12);
 
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 1, 11,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
 
   Controller().CommitText(String("string"), ime_text_spans, 0);
 
@@ -1433,7 +1466,8 @@
   Controller().SetCompositionFromExistingText(ime_text_spans, 8, 8);
 
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 5,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().SetComposition(String("world"), ime_text_spans, 0, 0);
   ASSERT_EQ(1u, GetDocument().Markers().Markers().size());
 
@@ -1466,7 +1500,8 @@
   // Simulate composition in the |contentEditable|.
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 5,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().SetComposition("foo", ime_text_spans, 3, 3);
 
   EXPECT_TRUE(Controller().HasComposition());
@@ -1512,7 +1547,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 3,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().SetComposition(String("def"), ime_text_spans, 0, 3);
   Controller().SetComposition(String(""), ime_text_spans, 0, 3);
   Controller().CommitText(String("def"), ime_text_spans, 0);
@@ -1575,8 +1611,7 @@
   // persist across editing operations)
   EphemeralRange marker_range = PlainTextRange(8, 12).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
   // Delete "Initial"
   Vector<ImeTextSpan> empty_ime_text_spans;
   Controller().SetCompositionFromExistingText(empty_ime_text_spans, 0, 7);
@@ -1604,8 +1639,7 @@
   // persist across editing operations)
   EphemeralRange marker_range = PlainTextRange(7, 12).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
   // Delete "Initial"
   Vector<ImeTextSpan> empty_ime_text_spans;
   Controller().SetCompositionFromExistingText(empty_ime_text_spans, 0, 7);
@@ -1633,8 +1667,7 @@
   // persist across editing operations)
   EphemeralRange marker_range = PlainTextRange(8, 13).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
   // Delete "Initial"
   Vector<ImeTextSpan> empty_ime_text_spans;
   Controller().SetCompositionFromExistingText(empty_ime_text_spans, 0, 7);
@@ -1663,8 +1696,7 @@
   // persist across editing operations)
   EphemeralRange marker_range = PlainTextRange(7, 13).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   // Delete "Initial"
   Vector<ImeTextSpan> empty_ime_text_spans;
@@ -1710,8 +1742,7 @@
   // Add marker under "Initial text"
   EphemeralRange marker_range = PlainTextRange(0, 12).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   // Replace "Initial" with "Original"
   Vector<ImeTextSpan> empty_ime_text_spans;
@@ -1755,8 +1786,7 @@
   // Add marker under "initial text"
   EphemeralRange marker_range = PlainTextRange(13, 25).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   // Replace "some initial" with "boring"
   Vector<ImeTextSpan> empty_ime_text_spans;
@@ -1796,8 +1826,7 @@
   // Add marker under "Initial text"
   EphemeralRange marker_range = PlainTextRange(0, 12).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   // Replace "text" with "string"
   Vector<ImeTextSpan> empty_ime_text_spans;
@@ -1843,8 +1872,7 @@
   // Add marker under "some initial"
   EphemeralRange marker_range = PlainTextRange(8, 20).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   // Replace "initial text" with "content"
   Vector<ImeTextSpan> empty_ime_text_spans;
@@ -1887,8 +1915,7 @@
   // Add marker under "text"
   EphemeralRange marker_range = PlainTextRange(8, 12).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   // Replace "text" with "string"
   Vector<ImeTextSpan> empty_ime_text_spans;
@@ -1932,8 +1959,7 @@
   // Add marker under "Initial"
   EphemeralRange marker_range = PlainTextRange(0, 7).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   EXPECT_EQ(1u, GetDocument().Markers().Markers().size());
 
@@ -1975,8 +2001,7 @@
   // Add marker under "text"
   EphemeralRange marker_range = PlainTextRange(8, 12).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   EXPECT_EQ(1u, GetDocument().Markers().Markers().size());
 
@@ -2038,28 +2063,23 @@
 
   EphemeralRange marker_range = PlainTextRange(0, 5).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   marker_range = PlainTextRange(5, 10).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   marker_range = PlainTextRange(10, 15).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   marker_range = PlainTextRange(15, 20).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   marker_range = PlainTextRange(20, 25).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   EXPECT_EQ(5u, GetDocument().Markers().Markers().size());
 
@@ -2111,8 +2131,7 @@
 
   EphemeralRange marker_range = PlainTextRange(5, 10).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   EXPECT_EQ(1u, GetDocument().Markers().Markers().size());
 
@@ -2149,8 +2168,7 @@
 
   EphemeralRange marker_range = PlainTextRange(5, 10).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   // Delete middle of marker
   Vector<ImeTextSpan> empty_ime_text_spans;
@@ -2205,18 +2223,15 @@
 
   EphemeralRange marker_range = PlainTextRange(0, 5).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   marker_range = PlainTextRange(5, 10).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   marker_range = PlainTextRange(10, 15).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   EXPECT_EQ(3u, GetDocument().Markers().Markers().size());
 
@@ -2280,18 +2295,15 @@
 
   EphemeralRange marker_range = PlainTextRange(0, 5).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   marker_range = PlainTextRange(5, 15).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   marker_range = PlainTextRange(15, 20).CreateRange(*div);
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, Color::kBlack, StyleableMarker::Thickness::kThin,
-      Color::kBlack);
+      marker_range, Color::kBlack, ImeTextSpanThickness::kThin, Color::kBlack);
 
   EXPECT_EQ(3u, GetDocument().Markers().Markers().size());
 
@@ -2319,9 +2331,9 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   // Try to commit a non-misspelling suggestion marker.
-  ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kSuggestion, 0, 5,
-                                       Color::kTransparent, false,
-                                       Color::kTransparent));
+  ime_text_spans.push_back(
+      ImeTextSpan(ImeTextSpan::Type::kSuggestion, 0, 5, Color::kTransparent,
+                  ImeTextSpanThickness::kNone, Color::kTransparent));
   Controller().CommitText("hello", ime_text_spans, 1);
 
   // The marker should have been added.
@@ -2336,9 +2348,9 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   // Try to commit a non-misspelling suggestion marker.
-  ime_text_spans.push_back(
-      ImeTextSpan(ImeTextSpan::Type::kMisspellingSuggestion, 0, 5,
-                  Color::kTransparent, false, Color::kTransparent));
+  ime_text_spans.push_back(ImeTextSpan(
+      ImeTextSpan::Type::kMisspellingSuggestion, 0, 5, Color::kTransparent,
+      ImeTextSpanThickness::kNone, Color::kTransparent));
   Controller().CommitText("hello", ime_text_spans, 1);
 
   // The marker should not have been added since the div has spell checking
@@ -2387,7 +2399,8 @@
       "<div id='sample' contenteditable><b>t</b>est</div>", "sample");
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 4,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().SetCompositionFromExistingText(Vector<ImeTextSpan>(), 0, 4);
   Controller().SetComposition("test", ime_text_spans, 0, 4);
 
@@ -2465,7 +2478,8 @@
 
   Vector<ImeTextSpan> ime_text_spans;
   ime_text_spans.push_back(ImeTextSpan(ImeTextSpan::Type::kComposition, 0, 1,
-                                       Color(255, 0, 0), false, 0));
+                                       Color(255, 0, 0),
+                                       ImeTextSpanThickness::kThin, 0));
   Controller().CommitText(" ", ime_text_spans, 0);
   // Add character U+094D: 'DEVANAGARI SIGN VIRAMA'
   Controller().SetComposition(String::FromUTF8("\xE0\xA5\x8D"), ime_text_spans,
diff --git a/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarker.cpp b/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarker.cpp
index 2847d92..17bf29d 100644
--- a/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarker.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarker.cpp
@@ -6,11 +6,12 @@
 
 namespace blink {
 
-ActiveSuggestionMarker::ActiveSuggestionMarker(unsigned start_offset,
-                                               unsigned end_offset,
-                                               Color underline_color,
-                                               Thickness thickness,
-                                               Color background_color)
+ActiveSuggestionMarker::ActiveSuggestionMarker(
+    unsigned start_offset,
+    unsigned end_offset,
+    Color underline_color,
+    ui::mojom::ImeTextSpanThickness thickness,
+    Color background_color)
     : StyleableMarker(start_offset,
                       end_offset,
                       underline_color,
diff --git a/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarker.h b/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarker.h
index 54bcece..d57b2b1 100644
--- a/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarker.h
+++ b/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarker.h
@@ -17,7 +17,7 @@
   ActiveSuggestionMarker(unsigned start_offset,
                          unsigned end_offset,
                          Color underline_color,
-                         Thickness,
+                         ui::mojom::ImeTextSpanThickness,
                          Color background_color);
 
   // DocumentMarker implementations
diff --git a/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerListImplTest.cpp b/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerListImplTest.cpp
index 7954f08f..c175ee3 100644
--- a/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerListImplTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerListImplTest.cpp
@@ -16,7 +16,7 @@
 
   DocumentMarker* CreateMarker(unsigned start_offset, unsigned end_offset) {
     return new ActiveSuggestionMarker(start_offset, end_offset, Color::kBlack,
-                                      StyleableMarker::Thickness::kThin,
+                                      ui::mojom::ImeTextSpanThickness::kThin,
                                       Color::kBlack);
   }
 
diff --git a/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerTest.cpp b/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerTest.cpp
index 3b6f189..fdb00e8 100644
--- a/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerTest.cpp
@@ -6,34 +6,36 @@
 
 #include "testing/gtest/include/gtest/gtest.h"
 
+using ui::mojom::ImeTextSpanThickness;
+
 namespace blink {
 
 class ActiveSuggestionMarkerTest : public ::testing::Test {};
 
 TEST_F(ActiveSuggestionMarkerTest, MarkerType) {
   DocumentMarker* marker = new ActiveSuggestionMarker(
-      0, 1, Color::kTransparent, StyleableMarker::Thickness::kThin,
+      0, 1, Color::kTransparent, ImeTextSpanThickness::kNone,
       Color::kTransparent);
   EXPECT_EQ(DocumentMarker::kActiveSuggestion, marker->GetType());
 }
 
 TEST_F(ActiveSuggestionMarkerTest, IsStyleableMarker) {
   DocumentMarker* marker = new ActiveSuggestionMarker(
-      0, 1, Color::kTransparent, StyleableMarker::Thickness::kThin,
+      0, 1, Color::kTransparent, ImeTextSpanThickness::kNone,
       Color::kTransparent);
   EXPECT_TRUE(IsStyleableMarker(*marker));
 }
 
 TEST_F(ActiveSuggestionMarkerTest, ConstructorAndGetters) {
   ActiveSuggestionMarker* marker = new ActiveSuggestionMarker(
-      0, 1, Color::kDarkGray, StyleableMarker::Thickness::kThin, Color::kGray);
+      0, 1, Color::kDarkGray, ImeTextSpanThickness::kThin, Color::kGray);
   EXPECT_EQ(Color::kDarkGray, marker->UnderlineColor());
-  EXPECT_FALSE(marker->IsThick());
+  EXPECT_FALSE(marker->HasThicknessThick());
   EXPECT_EQ(Color::kGray, marker->BackgroundColor());
 
   ActiveSuggestionMarker* thick_marker = new ActiveSuggestionMarker(
-      0, 1, Color::kDarkGray, StyleableMarker::Thickness::kThick, Color::kGray);
-  EXPECT_EQ(true, thick_marker->IsThick());
+      0, 1, Color::kDarkGray, ImeTextSpanThickness::kThick, Color::kGray);
+  EXPECT_EQ(true, thick_marker->HasThicknessThick());
 }
 
 }  // namespace blink
diff --git a/third_party/WebKit/Source/core/editing/markers/CompositionMarker.cpp b/third_party/WebKit/Source/core/editing/markers/CompositionMarker.cpp
index 0fb0d913..2f3cf79 100644
--- a/third_party/WebKit/Source/core/editing/markers/CompositionMarker.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/CompositionMarker.cpp
@@ -9,7 +9,7 @@
 CompositionMarker::CompositionMarker(unsigned start_offset,
                                      unsigned end_offset,
                                      Color underline_color,
-                                     Thickness thickness,
+                                     ui::mojom::ImeTextSpanThickness thickness,
                                      Color background_color)
     : StyleableMarker(start_offset,
                       end_offset,
diff --git a/third_party/WebKit/Source/core/editing/markers/CompositionMarker.h b/third_party/WebKit/Source/core/editing/markers/CompositionMarker.h
index 28b028e4..7faee80 100644
--- a/third_party/WebKit/Source/core/editing/markers/CompositionMarker.h
+++ b/third_party/WebKit/Source/core/editing/markers/CompositionMarker.h
@@ -19,7 +19,7 @@
   CompositionMarker(unsigned start_offset,
                     unsigned end_offset,
                     Color underline_color,
-                    Thickness,
+                    ui::mojom::ImeTextSpanThickness,
                     Color background_color);
 
   // DocumentMarker implementations
diff --git a/third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImplTest.cpp b/third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImplTest.cpp
index 9a26624..ab82770 100644
--- a/third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImplTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImplTest.cpp
@@ -17,7 +17,7 @@
 
   DocumentMarker* CreateMarker(unsigned start_offset, unsigned end_offset) {
     return new CompositionMarker(start_offset, end_offset, Color::kBlack,
-                                 StyleableMarker::Thickness::kThin,
+                                 ui::mojom::ImeTextSpanThickness::kThin,
                                  Color::kBlack);
   }
 
diff --git a/third_party/WebKit/Source/core/editing/markers/CompositionMarkerTest.cpp b/third_party/WebKit/Source/core/editing/markers/CompositionMarkerTest.cpp
index 942e84a..be2ac17b 100644
--- a/third_party/WebKit/Source/core/editing/markers/CompositionMarkerTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/CompositionMarkerTest.cpp
@@ -6,34 +6,36 @@
 
 #include "testing/gtest/include/gtest/gtest.h"
 
+using ui::mojom::ImeTextSpanThickness;
+
 namespace blink {
 
 class CompositionMarkerTest : public ::testing::Test {};
 
 TEST_F(CompositionMarkerTest, MarkerType) {
-  DocumentMarker* marker = new CompositionMarker(
-      0, 1, Color::kTransparent, StyleableMarker::Thickness::kThin,
-      Color::kTransparent);
+  DocumentMarker* marker =
+      new CompositionMarker(0, 1, Color::kTransparent,
+                            ImeTextSpanThickness::kNone, Color::kTransparent);
   EXPECT_EQ(DocumentMarker::kComposition, marker->GetType());
 }
 
 TEST_F(CompositionMarkerTest, IsStyleableMarker) {
-  DocumentMarker* marker = new CompositionMarker(
-      0, 1, Color::kTransparent, StyleableMarker::Thickness::kThin,
-      Color::kTransparent);
+  DocumentMarker* marker =
+      new CompositionMarker(0, 1, Color::kTransparent,
+                            ImeTextSpanThickness::kNone, Color::kTransparent);
   EXPECT_TRUE(IsStyleableMarker(*marker));
 }
 
 TEST_F(CompositionMarkerTest, ConstructorAndGetters) {
   CompositionMarker* marker = new CompositionMarker(
-      0, 1, Color::kDarkGray, StyleableMarker::Thickness::kThin, Color::kGray);
+      0, 1, Color::kDarkGray, ImeTextSpanThickness::kThin, Color::kGray);
   EXPECT_EQ(Color::kDarkGray, marker->UnderlineColor());
-  EXPECT_FALSE(marker->IsThick());
+  EXPECT_TRUE(marker->HasThicknessThin());
   EXPECT_EQ(Color::kGray, marker->BackgroundColor());
 
   CompositionMarker* thick_marker = new CompositionMarker(
-      0, 1, Color::kDarkGray, StyleableMarker::Thickness::kThick, Color::kGray);
-  EXPECT_EQ(true, thick_marker->IsThick());
+      0, 1, Color::kDarkGray, ImeTextSpanThickness::kThick, Color::kGray);
+  EXPECT_TRUE(thick_marker->HasThicknessThick());
 }
 
 }  // namespace blink
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
index a5cdf51..55edcbd 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
@@ -185,7 +185,7 @@
 void DocumentMarkerController::AddCompositionMarker(
     const EphemeralRange& range,
     Color underline_color,
-    StyleableMarker::Thickness thickness,
+    ui::mojom::ImeTextSpanThickness thickness,
     Color background_color) {
   DCHECK(!document_->NeedsLayoutTreeUpdate());
   AddMarkerInternal(range, [underline_color, thickness, background_color](
@@ -198,7 +198,7 @@
 void DocumentMarkerController::AddActiveSuggestionMarker(
     const EphemeralRange& range,
     Color underline_color,
-    StyleableMarker::Thickness thickness,
+    ui::mojom::ImeTextSpanThickness thickness,
     Color background_color) {
   DCHECK(!document_->NeedsLayoutTreeUpdate());
   AddMarkerInternal(range, [underline_color, thickness, background_color](
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
index 6a1e72c..3c6d80eb0 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
@@ -64,11 +64,11 @@
   void AddTextMatchMarker(const EphemeralRange&, TextMatchMarker::MatchStatus);
   void AddCompositionMarker(const EphemeralRange&,
                             Color underline_color,
-                            StyleableMarker::Thickness,
+                            ui::mojom::ImeTextSpanThickness,
                             Color background_color);
   void AddActiveSuggestionMarker(const EphemeralRange&,
                                  Color underline_color,
-                                 StyleableMarker::Thickness,
+                                 ui::mojom::ImeTextSpanThickness,
                                  Color background_color);
   void AddSuggestionMarker(const EphemeralRange&,
                            const SuggestionMarkerProperties&);
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp
index c46555d..b42aa75 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp
@@ -209,10 +209,10 @@
   Node* text = GetDocument().body()->firstChild()->firstChild();
   MarkerController().AddCompositionMarker(
       EphemeralRange(Position(text, 0), Position(text, 1)), Color::kBlack,
-      StyleableMarker::Thickness::kThin, Color::kBlack);
+      ui::mojom::ImeTextSpanThickness::kThin, Color::kBlack);
   MarkerController().AddCompositionMarker(
       EphemeralRange(Position(text, 1), Position(text, 3)), Color::kBlack,
-      StyleableMarker::Thickness::kThick, Color::kBlack);
+      ui::mojom::ImeTextSpanThickness::kThick, Color::kBlack);
 
   EXPECT_EQ(2u, MarkerController().Markers().size());
 }
diff --git a/third_party/WebKit/Source/core/editing/markers/StyleableMarker.cpp b/third_party/WebKit/Source/core/editing/markers/StyleableMarker.cpp
index 9baaa8f..ed7cce3 100644
--- a/third_party/WebKit/Source/core/editing/markers/StyleableMarker.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/StyleableMarker.cpp
@@ -4,12 +4,14 @@
 
 #include "core/editing/markers/StyleableMarker.h"
 
+using ui::mojom::ImeTextSpanThickness;
+
 namespace blink {
 
 StyleableMarker::StyleableMarker(unsigned start_offset,
                                  unsigned end_offset,
                                  Color underline_color,
-                                 Thickness thickness,
+                                 ImeTextSpanThickness thickness,
                                  Color background_color)
     : DocumentMarker(start_offset, end_offset),
       underline_color_(underline_color),
@@ -20,8 +22,16 @@
   return underline_color_;
 }
 
-bool StyleableMarker::IsThick() const {
-  return thickness_ == Thickness::kThick;
+bool StyleableMarker::HasThicknessNone() const {
+  return thickness_ == ImeTextSpanThickness::kNone;
+}
+
+bool StyleableMarker::HasThicknessThin() const {
+  return thickness_ == ImeTextSpanThickness::kThin;
+}
+
+bool StyleableMarker::HasThicknessThick() const {
+  return thickness_ == ImeTextSpanThickness::kThick;
 }
 
 Color StyleableMarker::BackgroundColor() const {
diff --git a/third_party/WebKit/Source/core/editing/markers/StyleableMarker.h b/third_party/WebKit/Source/core/editing/markers/StyleableMarker.h
index 6109234e..e75373c 100644
--- a/third_party/WebKit/Source/core/editing/markers/StyleableMarker.h
+++ b/third_party/WebKit/Source/core/editing/markers/StyleableMarker.h
@@ -6,6 +6,7 @@
 #define StyleableMarker_h
 
 #include "core/editing/markers/DocumentMarker.h"
+#include "services/ui/public/interfaces/ime/ime.mojom-shared.h"
 
 namespace blink {
 
@@ -13,23 +14,23 @@
 // that should be renderable with customizable formatting.
 class CORE_EXPORT StyleableMarker : public DocumentMarker {
  public:
-  enum class Thickness { kThin, kThick };
-
   StyleableMarker(unsigned start_offset,
                   unsigned end_offset,
                   Color underline_color,
-                  Thickness,
+                  ui::mojom::ImeTextSpanThickness,
                   Color background_color);
 
   // StyleableMarker-specific
   Color UnderlineColor() const;
-  bool IsThick() const;
+  bool HasThicknessNone() const;
+  bool HasThicknessThin() const;
+  bool HasThicknessThick() const;
   Color BackgroundColor() const;
 
  private:
   const Color underline_color_;
   const Color background_color_;
-  const Thickness thickness_;
+  const ui::mojom::ImeTextSpanThickness thickness_;
 
   DISALLOW_COPY_AND_ASSIGN(StyleableMarker);
 };
diff --git a/third_party/WebKit/Source/core/editing/markers/SuggestionMarkerProperties.cpp b/third_party/WebKit/Source/core/editing/markers/SuggestionMarkerProperties.cpp
index 3de989e..d01dec1b 100644
--- a/third_party/WebKit/Source/core/editing/markers/SuggestionMarkerProperties.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/SuggestionMarkerProperties.cpp
@@ -55,7 +55,7 @@
 
 SuggestionMarkerProperties::Builder&
 SuggestionMarkerProperties::Builder::SetThickness(
-    StyleableMarker::Thickness thickness) {
+    ui::mojom::ImeTextSpanThickness thickness) {
   data_.thickness_ = thickness;
   return *this;
 }
diff --git a/third_party/WebKit/Source/core/editing/markers/SuggestionMarkerProperties.h b/third_party/WebKit/Source/core/editing/markers/SuggestionMarkerProperties.h
index 688cf37..194d843 100644
--- a/third_party/WebKit/Source/core/editing/markers/SuggestionMarkerProperties.h
+++ b/third_party/WebKit/Source/core/editing/markers/SuggestionMarkerProperties.h
@@ -9,6 +9,8 @@
 #include "core/editing/markers/StyleableMarker.h"
 #include "core/editing/markers/SuggestionMarker.h"
 
+using ui::mojom::ImeTextSpanThickness;
+
 namespace blink {
 
 // This class is used to pass parameters to
@@ -27,7 +29,7 @@
   Color HighlightColor() const { return highlight_color_; }
   Color UnderlineColor() const { return underline_color_; }
   Color BackgroundColor() const { return background_color_; }
-  StyleableMarker::Thickness Thickness() const { return thickness_; }
+  ImeTextSpanThickness Thickness() const { return thickness_; }
 
  private:
   SuggestionMarker::SuggestionType type_ =
@@ -36,7 +38,7 @@
   Color highlight_color_ = Color::kTransparent;
   Color underline_color_ = Color::kTransparent;
   Color background_color_ = Color::kTransparent;
-  StyleableMarker::Thickness thickness_ = StyleableMarker::Thickness::kThin;
+  ImeTextSpanThickness thickness_ = ImeTextSpanThickness::kThin;
 };
 
 // This class is used for building SuggestionMarkerProperties objects.
@@ -54,7 +56,7 @@
   Builder& SetHighlightColor(Color);
   Builder& SetUnderlineColor(Color);
   Builder& SetBackgroundColor(Color);
-  Builder& SetThickness(StyleableMarker::Thickness);
+  Builder& SetThickness(ImeTextSpanThickness);
 
  private:
   SuggestionMarkerProperties data_;
diff --git a/third_party/WebKit/Source/core/editing/markers/SuggestionMarkerTest.cpp b/third_party/WebKit/Source/core/editing/markers/SuggestionMarkerTest.cpp
index 75ff80f..3ede37ea 100644
--- a/third_party/WebKit/Source/core/editing/markers/SuggestionMarkerTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/SuggestionMarkerTest.cpp
@@ -32,14 +32,14 @@
           .SetSuggestions(suggestions)
           .SetHighlightColor(Color::kTransparent)
           .SetUnderlineColor(Color::kDarkGray)
-          .SetThickness(StyleableMarker::Thickness::kThin)
+          .SetThickness(ui::mojom::ImeTextSpanThickness::kThin)
           .SetBackgroundColor(Color::kGray)
           .Build());
   EXPECT_EQ(suggestions, marker->Suggestions());
   EXPECT_FALSE(marker->IsMisspelling());
   EXPECT_EQ(Color::kTransparent, marker->SuggestionHighlightColor());
   EXPECT_EQ(Color::kDarkGray, marker->UnderlineColor());
-  EXPECT_FALSE(marker->IsThick());
+  EXPECT_TRUE(marker->HasThicknessThin());
   EXPECT_EQ(Color::kGray, marker->BackgroundColor());
 
   SuggestionMarker* marker2 = new SuggestionMarker(
@@ -47,9 +47,9 @@
       SuggestionMarkerProperties::Builder()
           .SetType(SuggestionMarker::SuggestionType::kMisspelling)
           .SetHighlightColor(Color::kBlack)
-          .SetThickness(StyleableMarker::Thickness::kThick)
+          .SetThickness(ui::mojom::ImeTextSpanThickness::kThick)
           .Build());
-  EXPECT_TRUE(marker2->IsThick());
+  EXPECT_TRUE(marker2->HasThicknessThick());
   EXPECT_TRUE(marker2->IsMisspelling());
   EXPECT_EQ(marker2->SuggestionHighlightColor(), Color::kBlack);
 }
diff --git a/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp b/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp
index a78c0017..ea11a1a 100644
--- a/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp
+++ b/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionController.cpp
@@ -415,7 +415,7 @@
   GetFrame().Selection().SetCaretVisible(false);
   GetDocument().Markers().AddActiveSuggestionMarker(
       active_suggestion_range, SK_ColorTRANSPARENT,
-      StyleableMarker::Thickness::kThin,
+      ui::mojom::ImeTextSpanThickness::kNone,
       LayoutTheme::GetTheme().PlatformActiveSpellingMarkerHighlightColor());
 
   Vector<String> suggestions;
@@ -477,7 +477,7 @@
                                     Position(text_node, span_union_end));
 
   GetDocument().Markers().AddActiveSuggestionMarker(
-      marker_range, SK_ColorTRANSPARENT, StyleableMarker::Thickness::kThin,
+      marker_range, SK_ColorTRANSPARENT, ui::mojom::ImeTextSpanThickness::kThin,
       suggestion_infos_with_node_and_highlight_color.highlight_color);
 
   is_suggestion_menu_open_ = true;
diff --git a/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionControllerTest.cpp b/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionControllerTest.cpp
index af3aeaa..0089369 100644
--- a/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionControllerTest.cpp
+++ b/third_party/WebKit/Source/core/editing/suggestion/TextSuggestionControllerTest.cpp
@@ -13,6 +13,8 @@
 #include "core/editing/spellcheck/SpellChecker.h"
 #include "core/editing/testing/EditingTestBase.h"
 
+using ui::mojom::ImeTextSpanThickness;
+
 namespace blink {
 
 class TextSuggestionControllerTest : public EditingTestBase {};
@@ -27,7 +29,7 @@
 
   GetDocument().Markers().AddActiveSuggestionMarker(
       EphemeralRange(Position(text, 0), Position(text, 8)), Color::kBlack,
-      StyleableMarker::Thickness::kThin, Color::kBlack);
+      ImeTextSpanThickness::kThin, Color::kBlack);
   // Select immediately before misspelling
   GetDocument().GetFrame()->Selection().SetSelectionAndEndTyping(
       SelectionInDOMTree::Builder()
@@ -208,7 +210,7 @@
   // Mark "word2" as the active suggestion range
   GetDocument().Markers().AddActiveSuggestionMarker(
       EphemeralRange(Position(text, 6), Position(text, 11)), Color::kBlack,
-      StyleableMarker::Thickness::kThin, Color::kBlack);
+      ImeTextSpanThickness::kThin, Color::kBlack);
   // Select immediately before word2
   GetDocument().GetFrame()->Selection().SetSelectionAndEndTyping(
       SelectionInDOMTree::Builder()
@@ -234,7 +236,7 @@
   // Mark "word2" as the active suggestion range
   GetDocument().Markers().AddActiveSuggestionMarker(
       EphemeralRange(Position(text, 6), Position(text, 11)), Color::kBlack,
-      StyleableMarker::Thickness::kThin, Color::kBlack);
+      ImeTextSpanThickness::kThin, Color::kBlack);
   // Select immediately before word2
   GetDocument().GetFrame()->Selection().SetSelectionAndEndTyping(
       SelectionInDOMTree::Builder()
@@ -261,7 +263,7 @@
   // Mark "word1" as the active suggestion range
   GetDocument().Markers().AddActiveSuggestionMarker(
       EphemeralRange(Position(text, 0), Position(text, 5)), Color::kBlack,
-      StyleableMarker::Thickness::kThin, Color::kBlack);
+      ImeTextSpanThickness::kThin, Color::kBlack);
   // Select immediately before word1
   GetDocument().GetFrame()->Selection().SetSelectionAndEndTyping(
       SelectionInDOMTree::Builder()
@@ -289,7 +291,7 @@
   // Mark "word1" as the active suggestion range
   GetDocument().Markers().AddActiveSuggestionMarker(
       EphemeralRange(Position(text, 0), Position(text, 5)), Color::kBlack,
-      StyleableMarker::Thickness::kThin, Color::kBlack);
+      ImeTextSpanThickness::kThin, Color::kBlack);
   // Select immediately before word1
   GetDocument().GetFrame()->Selection().SetSelectionAndEndTyping(
       SelectionInDOMTree::Builder()
@@ -320,7 +322,7 @@
   // Mark "word2" as the active suggestion range
   GetDocument().Markers().AddActiveSuggestionMarker(
       EphemeralRange(Position(text, 5), Position(text, 10)), Color::kBlack,
-      StyleableMarker::Thickness::kThin, Color::kBlack);
+      ImeTextSpanThickness::kThin, Color::kBlack);
   // Select immediately before word2
   GetDocument().GetFrame()->Selection().SetSelectionAndEndTyping(
       SelectionInDOMTree::Builder()
@@ -346,7 +348,7 @@
   // Mark "word2" as the active suggestion range
   GetDocument().Markers().AddActiveSuggestionMarker(
       EphemeralRange(Position(text, 6), Position(text, 11)), Color::kBlack,
-      StyleableMarker::Thickness::kThin, Color::kBlack);
+      ImeTextSpanThickness::kThin, Color::kBlack);
   // Select immediately before word2
   GetDocument().GetFrame()->Selection().SetSelectionAndEndTyping(
       SelectionInDOMTree::Builder()
@@ -372,7 +374,7 @@
   // Mark "word1" as the active suggestion range
   GetDocument().Markers().AddActiveSuggestionMarker(
       EphemeralRange(Position(text, 0), Position(text, 5)), Color::kBlack,
-      StyleableMarker::Thickness::kThin, Color::kBlack);
+      ImeTextSpanThickness::kThin, Color::kBlack);
   // Select immediately before word1
   GetDocument().GetFrame()->Selection().SetSelectionAndEndTyping(
       SelectionInDOMTree::Builder()
diff --git a/third_party/WebKit/Source/core/exported/WebViewTest.cpp b/third_party/WebKit/Source/core/exported/WebViewTest.cpp
index 55aebc5..6db75d2 100644
--- a/third_party/WebKit/Source/core/exported/WebViewTest.cpp
+++ b/third_party/WebKit/Source/core/exported/WebViewTest.cpp
@@ -1522,7 +1522,8 @@
   web_view->SetInitialFocus(false);
   WebVector<WebImeTextSpan> ime_text_spans(static_cast<size_t>(1));
   ime_text_spans[0] =
-      WebImeTextSpan(WebImeTextSpan::Type::kComposition, 0, 4, 0, false, 0);
+      WebImeTextSpan(WebImeTextSpan::Type::kComposition, 0, 4, 0,
+                     ui::mojom::ImeTextSpanThickness::kThin, 0);
   WebLocalFrameImpl* frame = web_view->MainFrameImpl();
   WebInputMethodController* active_input_method_controller =
       frame->GetInputMethodController();
@@ -1549,7 +1550,8 @@
   web_view->SetInitialFocus(false);
   WebVector<WebImeTextSpan> ime_text_spans(static_cast<size_t>(1));
   ime_text_spans[0] =
-      WebImeTextSpan(WebImeTextSpan::Type::kComposition, 0, 4, 0, false, 0);
+      WebImeTextSpan(WebImeTextSpan::Type::kComposition, 0, 4, 0,
+                     ui::mojom::ImeTextSpanThickness::kThin, 0);
   WebLocalFrameImpl* frame = web_view->MainFrameImpl();
   WebInputMethodController* active_input_method_controller =
       frame->FrameWidget()->GetActiveWebInputMethodController();
@@ -1593,7 +1595,8 @@
   web_view->SetInitialFocus(false);
   WebVector<WebImeTextSpan> ime_text_spans(static_cast<size_t>(1));
   ime_text_spans[0] =
-      WebImeTextSpan(WebImeTextSpan::Type::kComposition, 0, 4, 0, false, 0);
+      WebImeTextSpan(WebImeTextSpan::Type::kComposition, 0, 4, 0,
+                     ui::mojom::ImeTextSpanThickness::kThin, 0);
   WebLocalFrameImpl* frame = web_view->MainFrameImpl();
   frame->SetEditableSelectionOffsets(1, 1);
   WebDocument document = web_view->MainFrameImpl()->GetDocument();
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp
index dc5f4c3..27d23239 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -426,13 +426,6 @@
                              "for more details.",
                              milestoneString(M62))};
 
-    case WebFeature::kVibrateWithoutUserGesture:
-      return {"VibrateWithoutUserGesture", M60,
-              willBeRemoved("A call to navigator.vibrate without user tap on "
-                            "the frame or any "
-                            "embedded frame",
-                            M60, "5644273861001216")};
-
     case WebFeature::kChildSrcAllowedWorkerThatScriptSrcBlocked:
       return {"ChildSrcAllowedWorkerThatScriptSrcBlocked", M60,
               replacedWillBeRemoved("The 'child-src' directive",
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
index d2f03ff..c19aceb 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
@@ -8,6 +8,7 @@
 #include "core/css/resolver/StyleResolver.h"
 #include "core/dom/Document.h"
 #include "core/style/ComputedStyle.h"
+#include "platform/MemoryCoordinator.h"
 #include "platform/fonts/FontCache.h"
 #include "platform/wtf/PtrUtil.h"
 #include "public/platform/Platform.h"
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
index 1ab3c73d..663d5be 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
@@ -236,8 +236,7 @@
   DCHECK_GE(sizes.max_size, sizes.min_size);
 
   sizes +=
-      CalculateBorderScrollbarPadding(ConstraintSpace(), node_.Style(), node_)
-          .InlineSum();
+      CalculateBorderScrollbarPadding(ConstraintSpace(), node_).InlineSum();
   return sizes;
 }
 
@@ -279,7 +278,7 @@
   }
 
   border_scrollbar_padding_ =
-      CalculateBorderScrollbarPadding(ConstraintSpace(), Style(), Node());
+      CalculateBorderScrollbarPadding(ConstraintSpace(), Node());
 
   NGLogicalSize size = CalculateBorderBoxSize(
       ConstraintSpace(), Style(), min_max_size, CalculateDefaultBlockSize());
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
index dc7f9c8..51ecf10 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
@@ -96,7 +96,7 @@
   if (LayoutMultiColumnSet* column_set = flow_thread->FirstMultiColumnSet()) {
     NGFragment logical_fragment(writing_mode, fragment);
     auto border_scrollbar_padding =
-        CalculateBorderScrollbarPadding(constraint_space, node.Style(), node);
+        CalculateBorderScrollbarPadding(constraint_space, node);
 
     column_set->SetLogicalLeft(border_scrollbar_padding.inline_start);
     column_set->SetLogicalTop(border_scrollbar_padding.block_start);
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_column_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_column_layout_algorithm.cc
index fb2cd6ea..4ecc4d8 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_column_layout_algorithm.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_column_layout_algorithm.cc
@@ -27,8 +27,7 @@
 // container.
 LayoutUnit ConstrainColumnBlockSize(LayoutUnit size,
                                     NGBlockNode node,
-                                    const NGConstraintSpace& space,
-                                    const ComputedStyle& style) {
+                                    const NGConstraintSpace& space) {
   // The {,max-}{height,width} properties are specified on the multicol
   // container, but here we're calculating the column block sizes inside the
   // multicol container, which isn't exactly the same. We may shrink the column
@@ -41,11 +40,12 @@
   // against the resolved properties on the multicol container. That means that
   // we have to convert the value from content-box to border-box.
   NGBoxStrut border_scrollbar_padding =
-      CalculateBorderScrollbarPadding(space, style, node);
+      CalculateBorderScrollbarPadding(space, node);
   LayoutUnit extra = border_scrollbar_padding.BlockSum();
   size += extra;
 
   Optional<LayoutUnit> max_length;
+  const ComputedStyle& style = node.Style();
   Length logical_max_height = style.LogicalMaxHeight();
   if (!logical_max_height.IsMaxSizeNone()) {
     max_length = ResolveBlockLength(space, style, logical_max_height, size,
@@ -79,7 +79,7 @@
   if (NeedMinMaxSize(ConstraintSpace(), Style()))
     min_max_size = ComputeMinMaxSize(MinMaxSizeInput());
   NGBoxStrut border_scrollbar_padding =
-      CalculateBorderScrollbarPadding(ConstraintSpace(), Style(), Node());
+      CalculateBorderScrollbarPadding(ConstraintSpace(), Node());
   NGLogicalSize border_box_size =
       CalculateBorderBoxSize(ConstraintSpace(), Style(), min_max_size);
   NGLogicalSize content_box_size =
@@ -217,9 +217,9 @@
   sizes.max_size *= column_count;
   LayoutUnit column_gap = ResolveUsedColumnGap(LayoutUnit(), Style());
   LayoutUnit gap_extra = column_gap * (column_count - 1);
-  sizes += gap_extra + CalculateBorderScrollbarPadding(ConstraintSpace(),
-                                                       node_.Style(), node_)
-                           .InlineSum();
+  LayoutUnit border_scrollbar_padding =
+      CalculateBorderScrollbarPadding(ConstraintSpace(), node_).InlineSum();
+  sizes += gap_extra + border_scrollbar_padding;
 
   return sizes;
 }
@@ -269,8 +269,7 @@
       single_strip_block_size.ToFloat() / static_cast<float>(column_count));
 
   // Finally, honor {,min-,max-}{height,width} properties.
-  return ConstrainColumnBlockSize(block_size, Node(), ConstraintSpace(),
-                                  Style());
+  return ConstrainColumnBlockSize(block_size, Node(), ConstraintSpace());
 }
 
 LayoutUnit NGColumnLayoutAlgorithm::StretchColumnBlockSize(
@@ -281,7 +280,7 @@
     return current_column_size;
   LayoutUnit length = current_column_size + minimal_space_shortage;
   // Honor {,min-,max-}{height,width} properties.
-  return ConstrainColumnBlockSize(length, Node(), ConstraintSpace(), Style());
+  return ConstrainColumnBlockSize(length, Node(), ConstraintSpace());
 }
 
 scoped_refptr<NGConstraintSpace>
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
index 9284f120e..edf65061 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
@@ -641,8 +641,9 @@
 
 NGBoxStrut CalculateBorderScrollbarPadding(
     const NGConstraintSpace& constraint_space,
-    const ComputedStyle& style,
     const NGBlockNode node) {
+  const ComputedStyle& style = node.Style();
+
   // If we are producing an anonymous fragment (e.g. a column), it has no
   // borders, padding or scrollbars. Using the ones from the container can only
   // cause trouble.
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
index aef87a7..48eb391 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
@@ -158,7 +158,6 @@
 
 NGBoxStrut CalculateBorderScrollbarPadding(
     const NGConstraintSpace& constraint_space,
-    const ComputedStyle& style,
     const NGBlockNode node);
 
 inline NGLogicalSize CalculateBorderBoxSize(
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_page_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_page_layout_algorithm.cc
index 3860a790..3201ea7 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_page_layout_algorithm.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_page_layout_algorithm.cc
@@ -25,7 +25,7 @@
   if (NeedMinMaxSize(ConstraintSpace(), Style()))
     min_max_size = ComputeMinMaxSize(MinMaxSizeInput());
   NGBoxStrut border_scrollbar_padding =
-      CalculateBorderScrollbarPadding(ConstraintSpace(), Style(), Node());
+      CalculateBorderScrollbarPadding(ConstraintSpace(), Node());
   NGLogicalSize border_box_size =
       CalculateBorderBoxSize(ConstraintSpace(), Style(), min_max_size);
   NGLogicalSize content_box_size =
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
index fe79a45..4ec4dd6 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
@@ -68,6 +68,8 @@
 }
 
 void LayoutSVGResourceContainer::NotifyContentChanged() {
+  if (SVGResource* resource = ResourceForContainer(*this))
+    resource->NotifyContentChanged();
   if (SVGElementProxySet* proxy_set = ElementProxySet())
     proxy_set->NotifyContentChanged(GetElement()->GetTreeScope());
 }
@@ -89,7 +91,7 @@
   // resource.
   if (SVGResource* resource = ResourceForContainer(*this)) {
     if (resource->Target() == GetElement())
-      resource->NotifyResourceClients();
+      resource->NotifyPendingClients();
   }
 }
 
@@ -113,8 +115,10 @@
     InvalidationModeMask invalidation_mask) {
   if (is_invalidating_)
     return;
+  SVGResource* resource = ResourceForContainer(*this);
   SVGElementProxySet* proxy_set = ElementProxySet();
-  if (clients_.IsEmpty() && (!proxy_set || proxy_set->IsEmpty()))
+  if (clients_.IsEmpty() && (!proxy_set || proxy_set->IsEmpty()) &&
+      (!resource || !resource->HasClients()))
     return;
   // Remove modes for which invalidations have already been
   // performed. If no modes remain we are done.
@@ -142,7 +146,7 @@
     MarkForLayoutAndParentResourceInvalidation(*client, needs_layout);
   }
 
-  // Invalidate clients registered via an SVGElementProxy.
+  // Invalidate clients registered via an SVGElementProxy/SVGResource.
   NotifyContentChanged();
 
   is_invalidating_ = false;
diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp
index 0979b32..bad6c74 100644
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
@@ -187,7 +187,6 @@
 
   ResourceRequest request(url);
   request.SetHTTPMethod(HTTPNames::POST);
-  request.SetHTTPHeaderField(HTTPNames::Cache_Control, "max-age=0");
   request.SetKeepalive(true);
   request.SetRequestContext(WebURLRequest::kRequestContextBeacon);
   beacon.Serialize(request);
diff --git a/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp b/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp
index 595e3b1..85af4a3 100644
--- a/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp
+++ b/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp
@@ -51,15 +51,12 @@
     return resources ? resources->Clipper() : nullptr;
   }
   // TODO(fs): Doesn't work with external SVG references (crbug.com/109212.)
-  Node* target_node = layout_object.GetNode();
-  if (!target_node)
+  SVGResource* resource = reference_clip_path_operation.Resource();
+  LayoutSVGResourceContainer* container =
+      resource ? resource->ResourceContainer() : nullptr;
+  if (!container || container->ResourceType() != kClipperResourceType)
     return nullptr;
-  SVGElement* element =
-      reference_clip_path_operation.FindElement(target_node->GetTreeScope());
-  if (!IsSVGClipPathElement(element) || !element->GetLayoutObject())
-    return nullptr;
-  return ToLayoutSVGResourceClipper(
-      ToLayoutSVGResourceContainer(element->GetLayoutObject()));
+  return ToLayoutSVGResourceClipper(container);
 }
 
 }  // namespace
diff --git a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
index fa16c9b..2785af6 100644
--- a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
@@ -1013,7 +1013,8 @@
     const StyleableMarker& marker,
     const ComputedStyle& style,
     const Font& font) {
-  if (marker.UnderlineColor() == Color::kTransparent)
+  if (marker.UnderlineColor() == Color::kTransparent ||
+      marker.HasThicknessNone())
     return;
 
   if (inline_text_box_.Truncation() == kCFullTruncation)
@@ -1048,7 +1049,8 @@
           .PrimaryFont();
   DCHECK(font_data);
   int baseline = font_data ? font_data->GetFontMetrics().Ascent() : 0;
-  if (marker.IsThick() && inline_text_box_.LogicalHeight() - baseline >= 2)
+  if (marker.HasThicknessThick() &&
+      inline_text_box_.LogicalHeight() - baseline >= 2)
     line_thickness = 2;
 
   context.SetStrokeColor(marker.UnderlineColor());
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index dfb42de2..c51db0b 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -186,7 +186,7 @@
       style.Filter().RemoveClient(rare_data_->resource_info);
     if (IsReferenceClipPath(style.ClipPath())) {
       ToReferenceClipPathOperation(style.ClipPath())
-          ->RemoveClient(rare_data_->resource_info);
+          ->RemoveClient(*rare_data_->resource_info);
     }
     rare_data_->resource_info->ClearLayer();
   }
@@ -2325,17 +2325,13 @@
     return !clip_path->GetPath(float_reference_box).Contains(point);
   }
   DCHECK_EQ(clip_path_operation->GetType(), ClipPathOperation::REFERENCE);
-  Node* target_node = GetLayoutObject().GetNode();
-  if (!target_node)
+  SVGResource* resource =
+      ToReferenceClipPathOperation(*clip_path_operation).Resource();
+  LayoutSVGResourceContainer* container =
+      resource ? resource->ResourceContainer() : nullptr;
+  if (!container || container->ResourceType() != kClipperResourceType)
     return false;
-  const ReferenceClipPathOperation& reference_clip_path_operation =
-      ToReferenceClipPathOperation(*clip_path_operation);
-  SVGElement* element =
-      reference_clip_path_operation.FindElement(target_node->GetTreeScope());
-  if (!IsSVGClipPathElement(element) || !element->GetLayoutObject())
-    return false;
-  LayoutSVGResourceClipper* clipper = ToLayoutSVGResourceClipper(
-      ToLayoutSVGResourceContainer(element->GetLayoutObject()));
+  auto* clipper = ToLayoutSVGResourceClipper(container);
   // If the clipPath is using "userspace on use" units, then the origin of
   // the coordinate system is the top-left of the reference box, so adjust
   // the point accordingly.
@@ -2931,15 +2927,11 @@
   const bool had_resource_info = ResourceInfo();
   if (IsReferenceClipPath(new_clip_operation)) {
     ToReferenceClipPathOperation(new_clip_operation)
-        ->AddClient(&EnsureResourceInfo(),
-                    GetLayoutObject()
-                        .GetDocument()
-                        .GetTaskRunner(TaskType::kUnspecedLoading)
-                        .get());
+        ->AddClient(EnsureResourceInfo());
   }
   if (had_resource_info && IsReferenceClipPath(old_clip_operation)) {
     ToReferenceClipPathOperation(old_clip_operation)
-        ->RemoveClient(ResourceInfo());
+        ->RemoveClient(*ResourceInfo());
   }
 }
 
diff --git a/third_party/WebKit/Source/core/style/ClipPathOperation.cpp b/third_party/WebKit/Source/core/style/ClipPathOperation.cpp
index 02699d24..46169f1 100644
--- a/third_party/WebKit/Source/core/style/ClipPathOperation.cpp
+++ b/third_party/WebKit/Source/core/style/ClipPathOperation.cpp
@@ -6,26 +6,25 @@
 
 namespace blink {
 
-void ReferenceClipPathOperation::AddClient(
-    SVGResourceClient* client,
-    base::SingleThreadTaskRunner* task_runner) {
-  element_proxy_->AddClient(client, task_runner);
+void ReferenceClipPathOperation::AddClient(SVGResourceClient& client) {
+  if (resource_)
+    resource_->AddClient(client);
 }
 
-void ReferenceClipPathOperation::RemoveClient(SVGResourceClient* client) {
-  element_proxy_->RemoveClient(client);
+void ReferenceClipPathOperation::RemoveClient(SVGResourceClient& client) {
+  if (resource_)
+    resource_->RemoveClient(client);
 }
 
-SVGElement* ReferenceClipPathOperation::FindElement(
-    TreeScope& tree_scope) const {
-  return element_proxy_->FindElement(tree_scope);
+SVGResource* ReferenceClipPathOperation::Resource() const {
+  return resource_;
 }
 
 bool ReferenceClipPathOperation::operator==(const ClipPathOperation& o) const {
   if (!IsSameType(o))
     return false;
   const ReferenceClipPathOperation& other = ToReferenceClipPathOperation(o);
-  return element_proxy_ == other.element_proxy_ && url_ == other.url_;
+  return resource_ == other.resource_ && url_ == other.url_;
 }
 
 }  // namespace blink
diff --git a/third_party/WebKit/Source/core/style/ClipPathOperation.h b/third_party/WebKit/Source/core/style/ClipPathOperation.h
index 99fc555..cb5b512 100644
--- a/third_party/WebKit/Source/core/style/ClipPathOperation.h
+++ b/third_party/WebKit/Source/core/style/ClipPathOperation.h
@@ -32,7 +32,7 @@
 
 #include <memory>
 #include "core/style/BasicShapes.h"
-#include "core/svg/SVGElementProxy.h"
+#include "core/svg/SVGResource.h"
 #include "platform/graphics/Path.h"
 #include "platform/wtf/PtrUtil.h"
 #include "platform/wtf/RefCounted.h"
@@ -40,9 +40,7 @@
 
 namespace blink {
 
-class SVGElement;
 class SVGResourceClient;
-class TreeScope;
 
 class ClipPathOperation : public RefCounted<ClipPathOperation> {
  public:
@@ -66,25 +64,24 @@
  public:
   static scoped_refptr<ReferenceClipPathOperation> Create(
       const String& url,
-      SVGElementProxy& element_proxy) {
-    return base::AdoptRef(new ReferenceClipPathOperation(url, element_proxy));
+      SVGResource* resource) {
+    return base::AdoptRef(new ReferenceClipPathOperation(url, resource));
   }
 
-  void AddClient(SVGResourceClient*, base::SingleThreadTaskRunner*);
-  void RemoveClient(SVGResourceClient*);
+  void AddClient(SVGResourceClient&);
+  void RemoveClient(SVGResourceClient&);
 
-  SVGElement* FindElement(TreeScope&) const;
-
+  SVGResource* Resource() const;
   const String& Url() const { return url_; }
 
  private:
   bool operator==(const ClipPathOperation&) const override;
   OperationType GetType() const override { return REFERENCE; }
 
-  ReferenceClipPathOperation(const String& url, SVGElementProxy& element_proxy)
-      : element_proxy_(&element_proxy), url_(url) {}
+  ReferenceClipPathOperation(const String& url, SVGResource* resource)
+      : resource_(resource), url_(url) {}
 
-  Persistent<SVGElementProxy> element_proxy_;
+  Persistent<SVGResource> resource_;
   String url_;
 };
 
diff --git a/third_party/WebKit/Source/core/svg/SVGFilterElement.cpp b/third_party/WebKit/Source/core/svg/SVGFilterElement.cpp
index 9583980..edc4439 100644
--- a/third_party/WebKit/Source/core/svg/SVGFilterElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFilterElement.cpp
@@ -23,8 +23,8 @@
 
 #include "core/svg/SVGFilterElement.h"
 
-#include "core/frame/UseCounter.h"
 #include "core/layout/svg/LayoutSVGResourceFilter.h"
+#include "core/svg/SVGElementProxy.h"
 
 namespace blink {
 
diff --git a/third_party/WebKit/Source/core/svg/SVGResource.cpp b/third_party/WebKit/Source/core/svg/SVGResource.cpp
index 9ce7a72..897ae7b2 100644
--- a/third_party/WebKit/Source/core/svg/SVGResource.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGResource.cpp
@@ -11,6 +11,7 @@
 #include "core/layout/svg/SVGResources.h"
 #include "core/layout/svg/SVGResourcesCache.h"
 #include "core/svg/SVGElement.h"
+#include "core/svg/SVGResourceClient.h"
 #include "core/svg/SVGURIReference.h"
 
 namespace blink {
@@ -27,9 +28,18 @@
   visitor->Trace(tree_scope_);
   visitor->Trace(target_);
   visitor->Trace(id_observer_);
+  visitor->Trace(clients_);
   visitor->Trace(pending_clients_);
 }
 
+void SVGResource::AddClient(SVGResourceClient& client) {
+  clients_.insert(&client);
+}
+
+void SVGResource::RemoveClient(SVGResourceClient& client) {
+  clients_.erase(&client);
+}
+
 void SVGResource::AddWatch(SVGElement& element) {
   pending_clients_.insert(&element);
   element.SetHasPendingResources();
@@ -41,14 +51,15 @@
 
 bool SVGResource::IsEmpty() const {
   LayoutSVGResourceContainer* container = ResourceContainer();
-  return (!container || !container->HasClients()) && pending_clients_.IsEmpty();
+  return !HasClients() && (!container || !container->HasClients()) &&
+         pending_clients_.IsEmpty();
 }
 
 void SVGResource::Unregister() {
   SVGURIReference::UnobserveTarget(id_observer_);
 }
 
-void SVGResource::NotifyResourceClients() {
+void SVGResource::NotifyPendingClients() {
   HeapHashSet<Member<SVGElement>> pending_clients;
   pending_clients.swap(pending_clients_);
 
@@ -58,6 +69,22 @@
   }
 }
 
+void SVGResource::NotifyContentChanged() {
+  HeapVector<Member<SVGResourceClient>> clients;
+  CopyToVector(clients_, clients);
+
+  for (SVGResourceClient* client : clients)
+    client->ResourceContentChanged();
+}
+
+void SVGResource::NotifyElementChanged() {
+  HeapVector<Member<SVGResourceClient>> clients;
+  CopyToVector(clients_, clients);
+
+  for (SVGResourceClient* client : clients)
+    client->ResourceElementChanged();
+}
+
 LayoutSVGResourceContainer* SVGResource::ResourceContainer() const {
   if (!target_)
     return nullptr;
@@ -76,7 +103,8 @@
   if (LayoutSVGResourceContainer* old_resource = ResourceContainer())
     old_resource->MakeClientsPending(*this);
   target_ = new_target;
-  NotifyResourceClients();
+  NotifyElementChanged();
+  NotifyPendingClients();
 }
 
 }  // namespace blink
diff --git a/third_party/WebKit/Source/core/svg/SVGResource.h b/third_party/WebKit/Source/core/svg/SVGResource.h
index 75e368e..d16d5bb8 100644
--- a/third_party/WebKit/Source/core/svg/SVGResource.h
+++ b/third_party/WebKit/Source/core/svg/SVGResource.h
@@ -7,6 +7,7 @@
 
 #include "base/macros.h"
 #include "platform/heap/Handle.h"
+#include "platform/wtf/HashCountedSet.h"
 #include "platform/wtf/HashSet.h"
 
 namespace blink {
@@ -15,6 +16,7 @@
 class IdTargetObserver;
 class LayoutSVGResourceContainer;
 class SVGElement;
+class SVGResourceClient;
 class TreeScope;
 
 // A class tracking a reference to an SVG resource (an element that constitutes
@@ -26,6 +28,11 @@
   Element* Target() const { return target_; }
   LayoutSVGResourceContainer* ResourceContainer() const;
 
+  void AddClient(SVGResourceClient&);
+  void RemoveClient(SVGResourceClient&);
+
+  bool HasClients() const { return !clients_.IsEmpty(); }
+
   void AddWatch(SVGElement&);
   void RemoveWatch(SVGElement&);
 
@@ -35,14 +42,17 @@
 
   void Trace(Visitor*);
 
-  void NotifyResourceClients();
+  void NotifyPendingClients();
+  void NotifyContentChanged();
 
  private:
   void TargetChanged(const AtomicString& id);
+  void NotifyElementChanged();
 
   Member<TreeScope> tree_scope_;
   Member<Element> target_;
   Member<IdTargetObserver> id_observer_;
+  HeapHashCountedSet<Member<SVGResourceClient>> clients_;
   HeapHashSet<Member<SVGElement>> pending_clients_;
 
   DISALLOW_COPY_AND_ASSIGN(SVGResource);
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index fd446a5..365c9b6 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -175,6 +175,8 @@
 
 namespace blink {
 
+using ui::mojom::ImeTextSpanThickness;
+
 namespace {
 
 class UseCounterObserverImpl final : public UseCounter::Observer {
@@ -1066,12 +1068,14 @@
   return true;
 }
 
-static WTF::Optional<StyleableMarker::Thickness> ThicknessFrom(
+static WTF::Optional<ImeTextSpanThickness> ThicknessFrom(
     const String& thickness) {
+  if (EqualIgnoringASCIICase(thickness, "none"))
+    return ImeTextSpanThickness::kNone;
   if (EqualIgnoringASCIICase(thickness, "thin"))
-    return StyleableMarker::Thickness::kThin;
+    return ImeTextSpanThickness::kThin;
   if (EqualIgnoringASCIICase(thickness, "thick"))
-    return StyleableMarker::Thickness::kThick;
+    return ImeTextSpanThickness::kThick;
   return WTF::nullopt;
 }
 
@@ -1084,12 +1088,12 @@
     const String& background_color_value,
     ExceptionState& exception_state,
     std::function<
-        void(const EphemeralRange&, Color, StyleableMarker::Thickness, Color)>
+        void(const EphemeralRange&, Color, ImeTextSpanThickness, Color)>
         create_marker) {
   DCHECK(range);
   range->OwnerDocument().UpdateStyleAndLayoutIgnorePendingStylesheets();
 
-  WTF::Optional<StyleableMarker::Thickness> thickness =
+  WTF::Optional<ImeTextSpanThickness> thickness =
       ThicknessFrom(thickness_value);
   if (!thickness) {
     exception_state.ThrowDOMException(
@@ -1123,7 +1127,7 @@
       exception_state,
       [&document_marker_controller](
           const EphemeralRange& range, Color underline_color,
-          StyleableMarker::Thickness thickness, Color background_color) {
+          ImeTextSpanThickness thickness, Color background_color) {
         document_marker_controller.AddCompositionMarker(
             range, underline_color, thickness, background_color);
       });
@@ -1141,7 +1145,7 @@
       exception_state,
       [&document_marker_controller](
           const EphemeralRange& range, Color underline_color,
-          StyleableMarker::Thickness thickness, Color background_color) {
+          ImeTextSpanThickness thickness, Color background_color) {
         document_marker_controller.AddActiveSuggestionMarker(
             range, underline_color, thickness, background_color);
       });
@@ -1167,7 +1171,7 @@
       exception_state,
       [&document_marker_controller, &suggestions, &suggestion_highlight_color](
           const EphemeralRange& range, Color underline_color,
-          StyleableMarker::Thickness thickness, Color background_color) {
+          ImeTextSpanThickness thickness, Color background_color) {
         document_marker_controller.AddSuggestionMarker(
             range,
             SuggestionMarkerProperties::Builder()
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js b/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
index 93b3b180..f6cab07 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
@@ -104,16 +104,22 @@
     const keyboardEvent = /** @type {!KeyboardEvent} */ (event);
     let newText;
     let isPrevious;
+    // Check against visual coordinates in case lines wrap.
+    const selection = this._editor.selection();
+    const cursorY = this._editor.visualCoordinates(selection.endLine, selection.endColumn).y;
 
     switch (keyboardEvent.keyCode) {
       case UI.KeyboardShortcut.Keys.Up.code:
-        if (keyboardEvent.shiftKey || this._editor.selection().endLine > 0)
+        const startY = this._editor.visualCoordinates(0, 0).y;
+        if (keyboardEvent.shiftKey || !selection.isEmpty() || cursorY !== startY)
           break;
         newText = this._history.previous(this.text());
         isPrevious = true;
         break;
       case UI.KeyboardShortcut.Keys.Down.code:
-        if (keyboardEvent.shiftKey || this._editor.selection().endLine < this._editor.fullRange().endLine)
+        const fullRange = this._editor.fullRange();
+        const endY = this._editor.visualCoordinates(fullRange.endLine, fullRange.endColumn).y;
+        if (keyboardEvent.shiftKey || !selection.isEmpty() || cursorY !== endY)
           break;
         newText = this._history.next();
         break;
diff --git a/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js b/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
index 9c84f8c2..2b74611 100644
--- a/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
+++ b/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
@@ -613,6 +613,17 @@
    * @override
    * @param {number} lineNumber
    * @param {number} columnNumber
+   * @return {!{x: number, y: number}}
+   */
+  visualCoordinates(lineNumber, columnNumber) {
+    const metrics = this._codeMirror.cursorCoords(new CodeMirror.Pos(lineNumber, columnNumber));
+    return {x: metrics.left, y: metrics.top};
+  }
+
+  /**
+   * @override
+   * @param {number} lineNumber
+   * @param {number} columnNumber
    * @return {?{startColumn: number, endColumn: number, type: string}}
    */
   tokenAtTextPosition(lineNumber, columnNumber) {
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js b/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
index ea36720..62f7542 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
@@ -76,6 +76,13 @@
   /**
    * @param {number} lineNumber
    * @param {number} columnNumber
+   * @return {!{x: number, y: number}}
+   */
+  visualCoordinates(lineNumber, columnNumber) {},
+
+  /**
+   * @param {number} lineNumber
+   * @param {number} columnNumber
    * @return {?{startColumn: number, endColumn: number, type: string}}
    */
   tokenAtTextPosition(lineNumber, columnNumber) {}
diff --git a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl
index 88bfdc1..256194c 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl
+++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl
@@ -9,6 +9,6 @@
     Global=(Worklet,PaintWorklet),
     RuntimeEnabled=CSSPaintAPI
 ] interface PaintWorkletGlobalScope : WorkletGlobalScope {
-    readonly attribute unrestricted double devicePixelRatio;
-    [RaisesException] void registerPaint(DOMString name, Function paintCtor);
+    [Measure] readonly attribute unrestricted double devicePixelRatio;
+    [Measure, RaisesException] void registerPaint(DOMString name, Function paintCtor);
 };
diff --git a/third_party/WebKit/Source/modules/filesystem/DirectoryReader.cpp b/third_party/WebKit/Source/modules/filesystem/DirectoryReader.cpp
index eb2edd1..ebdbce8 100644
--- a/third_party/WebKit/Source/modules/filesystem/DirectoryReader.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/DirectoryReader.cpp
@@ -30,8 +30,6 @@
 
 #include "modules/filesystem/DirectoryReader.h"
 
-#include "bindings/modules/v8/V8EntriesCallback.h"
-#include "bindings/modules/v8/V8ErrorCallback.h"
 #include "core/fileapi/FileError.h"
 #include "modules/filesystem/Entry.h"
 #include "modules/filesystem/FileSystemCallbacks.h"
@@ -40,7 +38,9 @@
 
 namespace {
 
-void RunEntriesCallback(V8EntriesCallback* callback, EntryHeapVector* entries) {
+void RunEntriesCallback(
+    V8PersistentCallbackInterface<V8EntriesCallback>* callback,
+    EntryHeapVector* entries) {
   callback->InvokeAndReportException(nullptr, *entries);
 }
 
@@ -120,19 +120,21 @@
     EntryHeapVector* entries = new EntryHeapVector(std::move(entries_));
     DOMFileSystem::ScheduleCallback(
         Filesystem()->GetExecutionContext(),
-        WTF::Bind(&RunEntriesCallback, WrapPersistent(entries_callback),
-                  WrapPersistent(entries)));
+        WTF::Bind(
+            &RunEntriesCallback,
+            WrapPersistent(ToV8PersistentCallbackInterface(entries_callback)),
+            WrapPersistent(entries)));
     return;
   }
 
-  entries_callback_ = entries_callback;
-  error_callback_ = error_callback;
+  entries_callback_ = ToV8PersistentCallbackInterface(entries_callback);
+  error_callback_ = ToV8PersistentCallbackInterface(error_callback);
 }
 
 void DirectoryReader::AddEntries(const EntryHeapVector& entries) {
   entries_.AppendVector(entries);
   error_callback_ = nullptr;
-  if (V8EntriesCallback* entries_callback = entries_callback_.Release()) {
+  if (auto* entries_callback = entries_callback_.Release()) {
     EntryHeapVector entries;
     entries.swap(entries_);
     entries_callback->InvokeAndReportException(nullptr, entries);
@@ -142,7 +144,7 @@
 void DirectoryReader::OnError(FileError::ErrorCode error) {
   error_ = error;
   entries_callback_ = nullptr;
-  if (V8ErrorCallback* error_callback = error_callback_.Release()) {
+  if (auto* error_callback = error_callback_.Release()) {
     error_callback->InvokeAndReportException(
         nullptr, FileError::CreateDOMException(error_));
   }
diff --git a/third_party/WebKit/Source/modules/filesystem/DirectoryReader.h b/third_party/WebKit/Source/modules/filesystem/DirectoryReader.h
index 2479644b..6f67a6e 100644
--- a/third_party/WebKit/Source/modules/filesystem/DirectoryReader.h
+++ b/third_party/WebKit/Source/modules/filesystem/DirectoryReader.h
@@ -31,6 +31,8 @@
 #ifndef DirectoryReader_h
 #define DirectoryReader_h
 
+#include "bindings/modules/v8/V8EntriesCallback.h"
+#include "bindings/modules/v8/V8ErrorCallback.h"
 #include "modules/filesystem/DOMFileSystem.h"
 #include "modules/filesystem/DirectoryReaderBase.h"
 #include "platform/heap/Handle.h"
@@ -38,9 +40,6 @@
 
 namespace blink {
 
-class V8EntriesCallback;
-class V8ErrorCallback;
-
 class DirectoryReader : public DirectoryReaderBase {
   DEFINE_WRAPPERTYPEINFO();
 
@@ -73,8 +72,8 @@
   bool is_reading_;
   EntryHeapVector entries_;
   FileError::ErrorCode error_ = FileError::ErrorCode::kOK;
-  Member<V8EntriesCallback> entries_callback_;
-  Member<V8ErrorCallback> error_callback_;
+  Member<V8PersistentCallbackInterface<V8EntriesCallback>> entries_callback_;
+  Member<V8PersistentCallbackInterface<V8ErrorCallback>> error_callback_;
 };
 
 }  // namespace blink
diff --git a/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp b/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp
index 89c550a..d0d5b42b 100644
--- a/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp
@@ -33,13 +33,6 @@
 #include <memory>
 
 #include "base/memory/ptr_util.h"
-#include "bindings/core/v8/V8VoidCallback.h"
-#include "bindings/modules/v8/V8EntryCallback.h"
-#include "bindings/modules/v8/V8ErrorCallback.h"
-#include "bindings/modules/v8/V8FileCallback.h"
-#include "bindings/modules/v8/V8FileSystemCallback.h"
-#include "bindings/modules/v8/V8FileWriterCallback.h"
-#include "bindings/modules/v8/V8MetadataCallback.h"
 #include "core/dom/ExecutionContext.h"
 #include "core/fileapi/File.h"
 #include "core/fileapi/FileError.h"
@@ -131,7 +124,7 @@
 };
 
 ScriptErrorCallback::ScriptErrorCallback(V8ErrorCallback* callback)
-    : callback_(callback) {}
+    : callback_(ToV8PersistentCallbackInterface(callback)) {}
 
 // EntryCallbacks -------------------------------------------------------------
 
diff --git a/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.h b/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.h
index 4dec622..a38f93e1 100644
--- a/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.h
+++ b/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.h
@@ -33,6 +33,13 @@
 
 #include <memory>
 
+#include "bindings/core/v8/V8VoidCallback.h"
+#include "bindings/modules/v8/V8EntryCallback.h"
+#include "bindings/modules/v8/V8ErrorCallback.h"
+#include "bindings/modules/v8/V8FileCallback.h"
+#include "bindings/modules/v8/V8FileSystemCallback.h"
+#include "bindings/modules/v8/V8FileWriterCallback.h"
+#include "bindings/modules/v8/V8MetadataCallback.h"
 #include "core/fileapi/FileError.h"
 #include "modules/filesystem/EntryHeapVector.h"
 #include "platform/AsyncFileSystemCallbacks.h"
@@ -52,13 +59,6 @@
 class FileMetadata;
 class FileWriterBase;
 class Metadata;
-class V8EntryCallback;
-class V8ErrorCallback;
-class V8FileCallback;
-class V8FileSystemCallback;
-class V8FileWriterCallback;
-class V8MetadataCallback;
-class V8VoidCallback;
 
 // Passed to DOMFileSystem implementations that may report errors. Subclasses
 // may capture the error for throwing on return to script (for synchronous APIs)
@@ -114,7 +114,7 @@
 
  private:
   explicit ScriptErrorCallback(V8ErrorCallback*);
-  Member<V8ErrorCallback> callback_;
+  Member<V8PersistentCallbackInterface<V8ErrorCallback>> callback_;
 };
 
 class EntryCallbacks final : public FileSystemCallbacksBase {
@@ -139,9 +139,10 @@
     void OnSuccess(Entry*) override;
 
    private:
-    OnDidGetEntryV8Impl(V8EntryCallback* callback) : callback_(callback) {}
+    OnDidGetEntryV8Impl(V8EntryCallback* callback)
+        : callback_(ToV8PersistentCallbackInterface(callback)) {}
 
-    Member<V8EntryCallback> callback_;
+    Member<V8PersistentCallbackInterface<V8EntryCallback>> callback_;
   };
 
   static std::unique_ptr<AsyncFileSystemCallbacks> Create(
@@ -222,9 +223,9 @@
 
    private:
     OnDidOpenFileSystemV8Impl(V8FileSystemCallback* callback)
-        : callback_(callback) {}
+        : callback_(ToV8PersistentCallbackInterface(callback)) {}
 
-    Member<V8FileSystemCallback> callback_;
+    Member<V8PersistentCallbackInterface<V8FileSystemCallback>> callback_;
   };
 
   static std::unique_ptr<AsyncFileSystemCallbacks> Create(
@@ -286,9 +287,9 @@
 
    private:
     OnDidReadMetadataV8Impl(V8MetadataCallback* callback)
-        : callback_(callback) {}
+        : callback_(ToV8PersistentCallbackInterface(callback)) {}
 
-    Member<V8MetadataCallback> callback_;
+    Member<V8PersistentCallbackInterface<V8MetadataCallback>> callback_;
   };
 
   static std::unique_ptr<AsyncFileSystemCallbacks> Create(
@@ -329,9 +330,9 @@
 
    private:
     OnDidCreateFileWriterV8Impl(V8FileWriterCallback* callback)
-        : callback_(callback) {}
+        : callback_(ToV8PersistentCallbackInterface(callback)) {}
 
-    Member<V8FileWriterCallback> callback_;
+    Member<V8PersistentCallbackInterface<V8FileWriterCallback>> callback_;
   };
 
   static std::unique_ptr<AsyncFileSystemCallbacks> Create(
@@ -374,9 +375,9 @@
 
    private:
     OnDidCreateSnapshotFileV8Impl(V8FileCallback* callback)
-        : callback_(callback) {}
+        : callback_(ToV8PersistentCallbackInterface(callback)) {}
 
-    Member<V8FileCallback> callback_;
+    Member<V8PersistentCallbackInterface<V8FileCallback>> callback_;
   };
 
   static std::unique_ptr<AsyncFileSystemCallbacks> Create(
@@ -423,9 +424,10 @@
     void OnSuccess(ExecutionContext* dummy_arg_for_sync_helper) override;
 
    private:
-    OnDidSucceedV8Impl(V8VoidCallback* callback) : callback_(callback) {}
+    OnDidSucceedV8Impl(V8VoidCallback* callback)
+        : callback_(ToV8PersistentCallbackInterface(callback)) {}
 
-    Member<V8VoidCallback> callback_;
+    Member<V8PersistentCallbackInterface<V8VoidCallback>> callback_;
   };
 
   static std::unique_ptr<AsyncFileSystemCallbacks> Create(OnDidSucceedCallback*,
diff --git a/third_party/WebKit/Source/modules/media_controls/resources/default_100_percent/legacy/mediaplayer_slider_thumb_grey.png b/third_party/WebKit/Source/modules/media_controls/resources/default_100_percent/legacy/mediaplayer_slider_thumb_grey.png
new file mode 100644
index 0000000..11cc5bc
--- /dev/null
+++ b/third_party/WebKit/Source/modules/media_controls/resources/default_100_percent/legacy/mediaplayer_slider_thumb_grey.png
Binary files differ
diff --git a/third_party/WebKit/Source/modules/media_controls/resources/legacyMediaControls.css b/third_party/WebKit/Source/modules/media_controls/resources/legacyMediaControls.css
index 5e08f492..8b28242 100644
--- a/third_party/WebKit/Source/modules/media_controls/resources/legacyMediaControls.css
+++ b/third_party/WebKit/Source/modules/media_controls/resources/legacyMediaControls.css
@@ -697,3 +697,8 @@
 .state-no-source input[pseudo="-webkit-media-controls-volume-slider" i]::-webkit-slider-thumb {
     display: none;
 }
+
+.state-no-metadata input[pseudo="-webkit-media-controls-timeline" i]::-webkit-slider-thumb {
+    background-image: -webkit-image-set(
+      url(default_100_percent/legacy/mediaplayer_slider_thumb_grey.png) 1x);
+}
diff --git a/third_party/WebKit/Source/modules/mediastream/BUILD.gn b/third_party/WebKit/Source/modules/mediastream/BUILD.gn
index 7508e90..246baac 100644
--- a/third_party/WebKit/Source/modules/mediastream/BUILD.gn
+++ b/third_party/WebKit/Source/modules/mediastream/BUILD.gn
@@ -9,6 +9,8 @@
     "ApplyConstraintsRequest.cpp",
     "ApplyConstraintsRequest.h",
     "DOMWindowMediaStream.h",
+    "InputDeviceInfo.cpp",
+    "InputDeviceInfo.h",
     "MediaConstraintsImpl.cpp",
     "MediaConstraintsImpl.h",
     "MediaDeviceInfo.cpp",
diff --git a/third_party/WebKit/Source/modules/mediastream/InputDeviceInfo.cpp b/third_party/WebKit/Source/modules/mediastream/InputDeviceInfo.cpp
new file mode 100644
index 0000000..fa7ad93
--- /dev/null
+++ b/third_party/WebKit/Source/modules/mediastream/InputDeviceInfo.cpp
@@ -0,0 +1,26 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "modules/mediastream/InputDeviceInfo.h"
+
+#include "modules/mediastream/MediaTrackCapabilities.h"
+
+namespace blink {
+
+InputDeviceInfo* InputDeviceInfo::Create(const String& device_id,
+                                         const String& label,
+                                         const String& group_id,
+                                         MediaDeviceType device_type) {
+  return new InputDeviceInfo(device_id, label, group_id, device_type);
+}
+
+InputDeviceInfo::InputDeviceInfo(const String& device_id,
+                                 const String& label,
+                                 const String& group_id,
+                                 MediaDeviceType device_type)
+    : MediaDeviceInfo(device_id, label, group_id, device_type) {}
+
+void InputDeviceInfo::getCapabilities(MediaTrackCapabilities& capabilities) {}
+
+}  // namespace blink
diff --git a/third_party/WebKit/Source/modules/mediastream/InputDeviceInfo.h b/third_party/WebKit/Source/modules/mediastream/InputDeviceInfo.h
new file mode 100644
index 0000000..c62dd66a
--- /dev/null
+++ b/third_party/WebKit/Source/modules/mediastream/InputDeviceInfo.h
@@ -0,0 +1,34 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef InputDeviceInfo_h
+#define InputDeviceInfo_h
+
+#include "modules/mediastream/MediaDeviceInfo.h"
+
+namespace blink {
+
+class MediaTrackCapabilities;
+
+class InputDeviceInfo final : public MediaDeviceInfo {
+  DEFINE_WRAPPERTYPEINFO();
+
+ public:
+  static InputDeviceInfo* Create(const String& device_id,
+                                 const String& label,
+                                 const String& group_id,
+                                 MediaDeviceType);
+
+  void getCapabilities(MediaTrackCapabilities&);
+
+ private:
+  InputDeviceInfo(const String& device_id,
+                  const String& label,
+                  const String& group_id,
+                  MediaDeviceType);
+};
+
+}  // namespace blink
+
+#endif  // InputDeviceInfo_h
diff --git a/third_party/WebKit/Source/modules/mediastream/InputDeviceInfo.idl b/third_party/WebKit/Source/modules/mediastream/InputDeviceInfo.idl
new file mode 100644
index 0000000..ee60c74
--- /dev/null
+++ b/third_party/WebKit/Source/modules/mediastream/InputDeviceInfo.idl
@@ -0,0 +1,10 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// https://w3c.github.io/mediacapture-main/#dom-inputdeviceinfo
+
+[Exposed=Window]
+interface InputDeviceInfo : MediaDeviceInfo {
+    MediaTrackCapabilities getCapabilities();
+};
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaDeviceInfo.h b/third_party/WebKit/Source/modules/mediastream/MediaDeviceInfo.h
index 0e87479a..9dc6107b 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaDeviceInfo.h
+++ b/third_party/WebKit/Source/modules/mediastream/MediaDeviceInfo.h
@@ -39,7 +39,7 @@
 class ScriptState;
 class ScriptValue;
 
-class MODULES_EXPORT MediaDeviceInfo final : public ScriptWrappable {
+class MODULES_EXPORT MediaDeviceInfo : public ScriptWrappable {
   DEFINE_WRAPPERTYPEINFO();
 
  public:
@@ -58,12 +58,13 @@
 
   ScriptValue toJSONForBinding(ScriptState*);
 
- private:
+ protected:
   MediaDeviceInfo(const String& device_id,
                   const String& label,
                   const String& group_id,
                   MediaDeviceType);
 
+ private:
   String device_id_;
   String label_;
   String group_id_;
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp b/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp
index b49adc58..fc9152b8 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp
@@ -12,6 +12,7 @@
 #include "core/dom/ExecutionContext.h"
 #include "core/dom/events/Event.h"
 #include "core/frame/LocalFrame.h"
+#include "modules/mediastream/InputDeviceInfo.h"
 #include "modules/mediastream/MediaErrorState.h"
 #include "modules/mediastream/MediaStream.h"
 #include "modules/mediastream/MediaStreamConstraints.h"
@@ -269,9 +270,17 @@
   for (size_t i = 0;
        i < static_cast<size_t>(MediaDeviceType::NUM_MEDIA_DEVICE_TYPES); ++i) {
     for (const auto& device_info : enumeration[i]) {
-      media_devices.push_back(MediaDeviceInfo::Create(
-          device_info->device_id, device_info->label, device_info->group_id,
-          static_cast<MediaDeviceType>(i)));
+      MediaDeviceType device_type = static_cast<MediaDeviceType>(i);
+      if (device_type == MediaDeviceType::MEDIA_AUDIO_INPUT ||
+          device_type == MediaDeviceType::MEDIA_VIDEO_INPUT) {
+        media_devices.push_back(
+            InputDeviceInfo::Create(device_info->device_id, device_info->label,
+                                    device_info->group_id, device_type));
+      } else {
+        media_devices.push_back(
+            MediaDeviceInfo::Create(device_info->device_id, device_info->label,
+                                    device_info->group_id, device_type));
+      }
     }
   }
 
diff --git a/third_party/WebKit/Source/modules/modules_idl_files.gni b/third_party/WebKit/Source/modules/modules_idl_files.gni
index 7a9d109..454e35a5 100644
--- a/third_party/WebKit/Source/modules/modules_idl_files.gni
+++ b/third_party/WebKit/Source/modules/modules_idl_files.gni
@@ -184,6 +184,7 @@
           "mediasource/TrackDefault.idl",
           "mediasource/TrackDefaultList.idl",
           "mediasource/VideoPlaybackQuality.idl",
+          "mediastream/InputDeviceInfo.idl",
           "mediastream/MediaDeviceInfo.idl",
           "mediastream/MediaDevices.idl",
           "mediastream/MediaStream.idl",
diff --git a/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp b/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
index 2ad596ca..bf3b841 100644
--- a/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
+++ b/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
@@ -87,16 +87,11 @@
           "Blocked call to navigator.vibrate inside a cross-origin "
           "iframe because the frame has never been activated by the user: "
           "https://www.chromestatus.com/feature/5682658461876224.";
-    } else if (RuntimeEnabledFeatures::VibrateRequiresUserGestureEnabled()) {
-      // The actual blocking is targeting M60.
+    } else {
       message =
           "Blocked call to navigator.vibrate because user hasn't tapped "
           "on the frame or any embedded frame yet: "
           "https://www.chromestatus.com/feature/5644273861001216.";
-    } else {  // Just shows the deprecation message in M59.
-      level = kWarningMessageLevel;
-      Deprecation::CountDeprecation(frame,
-                                    WebFeature::kVibrateWithoutUserGesture);
     }
 
     if (level == kErrorMessageLevel) {
diff --git a/third_party/WebKit/Source/modules/webdatabase/SQLStatement.h b/third_party/WebKit/Source/modules/webdatabase/SQLStatement.h
index a355f0f..21e984ca 100644
--- a/third_party/WebKit/Source/modules/webdatabase/SQLStatement.h
+++ b/third_party/WebKit/Source/modules/webdatabase/SQLStatement.h
@@ -28,6 +28,8 @@
 #ifndef SQLStatement_h
 #define SQLStatement_h
 
+#include "bindings/modules/v8/V8SQLStatementCallback.h"
+#include "bindings/modules/v8/V8SQLStatementErrorCallback.h"
 #include "modules/webdatabase/SQLResultSet.h"
 #include "modules/webdatabase/sqlite/SQLValue.h"
 #include "platform/wtf/Forward.h"
@@ -39,8 +41,6 @@
 class SQLError;
 class SQLStatementBackend;
 class SQLTransaction;
-class V8SQLStatementCallback;
-class V8SQLStatementErrorCallback;
 
 class SQLStatement final : public GarbageCollected<SQLStatement> {
  public:
@@ -65,9 +65,9 @@
 
    private:
     explicit OnSuccessV8Impl(V8SQLStatementCallback* callback)
-        : callback_(callback) {}
+        : callback_(ToV8PersistentCallbackInterface(callback)) {}
 
-    Member<V8SQLStatementCallback> callback_;
+    Member<V8PersistentCallbackInterface<V8SQLStatementCallback>> callback_;
   };
 
   class OnErrorCallback : public GarbageCollectedFinalized<OnErrorCallback> {
@@ -90,9 +90,10 @@
 
    private:
     explicit OnErrorV8Impl(V8SQLStatementErrorCallback* callback)
-        : callback_(callback) {}
+        : callback_(ToV8PersistentCallbackInterface(callback)) {}
 
-    Member<V8SQLStatementErrorCallback> callback_;
+    Member<V8PersistentCallbackInterface<V8SQLStatementErrorCallback>>
+        callback_;
   };
 
   static SQLStatement* Create(Database*, OnSuccessCallback*, OnErrorCallback*);
diff --git a/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp b/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp
index c3a3e72..f38497ee 100644
--- a/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp
@@ -29,9 +29,6 @@
 #include "modules/webdatabase/SQLTransaction.h"
 
 #include "bindings/core/v8/ExceptionState.h"
-#include "bindings/core/v8/V8VoidCallback.h"
-#include "bindings/modules/v8/V8SQLTransactionCallback.h"
-#include "bindings/modules/v8/V8SQLTransactionErrorCallback.h"
 #include "core/dom/ExceptionCode.h"
 #include "core/probe/CoreProbes.h"
 #include "modules/webdatabase/Database.h"
diff --git a/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.h b/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.h
index a38bf1f..3836c63 100644
--- a/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.h
+++ b/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.h
@@ -30,7 +30,11 @@
 #define SQLTransaction_h
 
 #include <memory>
+
+#include "bindings/core/v8/V8VoidCallback.h"
 #include "bindings/modules/v8/V8BindingForModules.h"
+#include "bindings/modules/v8/V8SQLTransactionCallback.h"
+#include "bindings/modules/v8/V8SQLTransactionErrorCallback.h"
 #include "modules/webdatabase/SQLStatement.h"
 #include "modules/webdatabase/SQLTransactionStateMachine.h"
 #include "platform/bindings/ScriptWrappable.h"
@@ -45,9 +49,6 @@
 class SQLTransactionBackend;
 class SQLValue;
 class ScriptValue;
-class V8SQLTransactionCallback;
-class V8SQLTransactionErrorCallback;
-class V8VoidCallback;
 
 class SQLTransaction final : public ScriptWrappable,
                              public SQLTransactionStateMachine<SQLTransaction> {
@@ -75,9 +76,9 @@
 
    private:
     explicit OnProcessV8Impl(V8SQLTransactionCallback* callback)
-        : callback_(callback) {}
+        : callback_(ToV8PersistentCallbackInterface(callback)) {}
 
-    Member<V8SQLTransactionCallback> callback_;
+    Member<V8PersistentCallbackInterface<V8SQLTransactionCallback>> callback_;
   };
 
   class OnSuccessCallback
@@ -100,9 +101,10 @@
     void OnSuccess() override;
 
    private:
-    explicit OnSuccessV8Impl(V8VoidCallback* callback) : callback_(callback) {}
+    explicit OnSuccessV8Impl(V8VoidCallback* callback)
+        : callback_(ToV8PersistentCallbackInterface(callback)) {}
 
-    Member<V8VoidCallback> callback_;
+    Member<V8PersistentCallbackInterface<V8VoidCallback>> callback_;
   };
 
   class OnErrorCallback : public GarbageCollectedFinalized<OnErrorCallback> {
@@ -125,9 +127,10 @@
 
    private:
     explicit OnErrorV8Impl(V8SQLTransactionErrorCallback* callback)
-        : callback_(callback) {}
+        : callback_(ToV8PersistentCallbackInterface(callback)) {}
 
-    Member<V8SQLTransactionErrorCallback> callback_;
+    Member<V8PersistentCallbackInterface<V8SQLTransactionErrorCallback>>
+        callback_;
   };
 
   static SQLTransaction* Create(Database*,
diff --git a/third_party/WebKit/Source/modules/xr/XRDevice.idl b/third_party/WebKit/Source/modules/xr/XRDevice.idl
index 084b106..58ecbf6 100644
--- a/third_party/WebKit/Source/modules/xr/XRDevice.idl
+++ b/third_party/WebKit/Source/modules/xr/XRDevice.idl
@@ -7,8 +7,6 @@
     SecureContext,
     RuntimeEnabled=WebXR
 ] interface XRDevice : EventTarget {
-  readonly attribute boolean external;
-
   [CallWith=ScriptState] Promise supportsSession([PermissiveDictionaryConversion] optional XRSessionCreationOptions options);
   [CallWith=ScriptState] Promise requestSession([PermissiveDictionaryConversion] optional XRSessionCreationOptions options);
 };
diff --git a/third_party/WebKit/Source/modules/xr/XRFrameProvider.cpp b/third_party/WebKit/Source/modules/xr/XRFrameProvider.cpp
index d7beacb..4c471ed 100644
--- a/third_party/WebKit/Source/modules/xr/XRFrameProvider.cpp
+++ b/third_party/WebKit/Source/modules/xr/XRFrameProvider.cpp
@@ -361,8 +361,8 @@
   DCHECK(layer->session() == exclusive_session_);
   DCHECK(presentation_provider_);
 
-  XRViewport* left = layer->GetViewport(XRView::kEyeLeft);
-  XRViewport* right = layer->GetViewport(XRView::kEyeRight);
+  XRViewport* left = layer->GetViewportForEye(XRView::kEyeLeft);
+  XRViewport* right = layer->GetViewportForEye(XRView::kEyeRight);
   float width = layer->framebufferWidth();
   float height = layer->framebufferHeight();
 
diff --git a/third_party/WebKit/Source/modules/xr/XRLayer.cpp b/third_party/WebKit/Source/modules/xr/XRLayer.cpp
index 24b6050..b185b5c8 100644
--- a/third_party/WebKit/Source/modules/xr/XRLayer.cpp
+++ b/third_party/WebKit/Source/modules/xr/XRLayer.cpp
@@ -10,10 +10,6 @@
 XRLayer::XRLayer(XRSession* session, XRLayerType layer_type)
     : session_(session), layer_type_(layer_type) {}
 
-XRViewport* XRLayer::GetViewport(XRView::Eye) {
-  return nullptr;
-}
-
 void XRLayer::OnFrameStart() {}
 void XRLayer::OnFrameEnd() {}
 void XRLayer::OnResize() {}
diff --git a/third_party/WebKit/Source/modules/xr/XRLayer.h b/third_party/WebKit/Source/modules/xr/XRLayer.h
index 29587a3..48861e4e 100644
--- a/third_party/WebKit/Source/modules/xr/XRLayer.h
+++ b/third_party/WebKit/Source/modules/xr/XRLayer.h
@@ -5,7 +5,6 @@
 #ifndef XRLayer_h
 #define XRLayer_h
 
-#include "modules/xr/XRView.h"
 #include "platform/bindings/ScriptWrappable.h"
 #include "platform/heap/Handle.h"
 #include "platform/wtf/Forward.h"
@@ -13,7 +12,6 @@
 namespace blink {
 
 class XRSession;
-class XRViewport;
 
 enum XRLayerType { kXRWebGLLayerType };
 
@@ -25,7 +23,6 @@
 
   XRSession* session() const { return session_; }
   XRLayerType layerType() const { return layer_type_; }
-  virtual XRViewport* GetViewport(XRView::Eye);
 
   virtual void OnFrameStart();
   virtual void OnFrameEnd();
diff --git a/third_party/WebKit/Source/modules/xr/XRView.cpp b/third_party/WebKit/Source/modules/xr/XRView.cpp
index 633a896..7e37224e 100644
--- a/third_party/WebKit/Source/modules/xr/XRView.cpp
+++ b/third_party/WebKit/Source/modules/xr/XRView.cpp
@@ -4,10 +4,8 @@
 
 #include "modules/xr/XRView.h"
 
-#include "modules/xr/XRLayer.h"
 #include "modules/xr/XRPresentationFrame.h"
 #include "modules/xr/XRSession.h"
-#include "modules/xr/XRViewport.h"
 #include "platform/geometry/FloatPoint3D.h"
 
 namespace blink {
@@ -23,13 +21,6 @@
   return session_;
 }
 
-XRViewport* XRView::getViewport(XRLayer* layer) const {
-  if (!layer || layer->session() != session_)
-    return nullptr;
-
-  return layer->GetViewport(eye_);
-}
-
 void XRView::UpdateProjectionMatrixFromFoV(float up_rad,
                                            float down_rad,
                                            float left_rad,
diff --git a/third_party/WebKit/Source/modules/xr/XRView.h b/third_party/WebKit/Source/modules/xr/XRView.h
index 6f75664a..7ae36ac8 100644
--- a/third_party/WebKit/Source/modules/xr/XRView.h
+++ b/third_party/WebKit/Source/modules/xr/XRView.h
@@ -15,9 +15,7 @@
 
 namespace blink {
 
-class XRLayer;
 class XRSession;
-class XRViewport;
 
 class XRView final : public ScriptWrappable {
   DEFINE_WRAPPERTYPEINFO();
@@ -28,9 +26,10 @@
   XRView(XRSession*, Eye);
 
   const String& eye() const { return eye_string_; }
+  Eye EyeValue() const { return eye_; }
+
   XRSession* session() const;
   DOMFloat32Array* projectionMatrix() const { return projection_matrix_; }
-  XRViewport* getViewport(XRLayer*) const;
 
   void UpdateProjectionMatrixFromFoV(float up_rad,
                                      float down_rad,
diff --git a/third_party/WebKit/Source/modules/xr/XRView.idl b/third_party/WebKit/Source/modules/xr/XRView.idl
index 3b0d5e2..88fae6c 100644
--- a/third_party/WebKit/Source/modules/xr/XRView.idl
+++ b/third_party/WebKit/Source/modules/xr/XRView.idl
@@ -9,5 +9,4 @@
 ] interface XRView {
   readonly attribute VREye? eye;
   readonly attribute Float32Array projectionMatrix;
-  XRViewport? getViewport(XRLayer layer);
 };
diff --git a/third_party/WebKit/Source/modules/xr/XRWebGLLayer.cpp b/third_party/WebKit/Source/modules/xr/XRWebGLLayer.cpp
index 8c3799f..16dee29 100644
--- a/third_party/WebKit/Source/modules/xr/XRWebGLLayer.cpp
+++ b/third_party/WebKit/Source/modules/xr/XRWebGLLayer.cpp
@@ -137,6 +137,23 @@
   }
 }
 
+XRViewport* XRWebGLLayer::getViewport(XRView* view) {
+  if (!view || view->session() != session())
+    return nullptr;
+
+  return GetViewportForEye(view->EyeValue());
+}
+
+XRViewport* XRWebGLLayer::GetViewportForEye(XRView::Eye eye) {
+  if (viewports_dirty_)
+    UpdateViewports();
+
+  if (eye == XRView::kEyeLeft)
+    return left_viewport_;
+
+  return right_viewport_;
+}
+
 void XRWebGLLayer::requestViewportScaling(double scale_factor) {
   if (!session()->exclusive()) {
     // TODO(bajones): For the moment we're just going to ignore viewport changes
@@ -156,16 +173,6 @@
   }
 }
 
-XRViewport* XRWebGLLayer::GetViewport(XRView::Eye eye) {
-  if (viewports_dirty_)
-    UpdateViewports();
-
-  if (eye == XRView::kEyeLeft)
-    return left_viewport_;
-
-  return right_viewport_;
-}
-
 void XRWebGLLayer::UpdateViewports() {
   long framebuffer_width = framebufferWidth();
   long framebuffer_height = framebufferHeight();
diff --git a/third_party/WebKit/Source/modules/xr/XRWebGLLayer.h b/third_party/WebKit/Source/modules/xr/XRWebGLLayer.h
index e24d903..613879e 100644
--- a/third_party/WebKit/Source/modules/xr/XRWebGLLayer.h
+++ b/third_party/WebKit/Source/modules/xr/XRWebGLLayer.h
@@ -9,6 +9,7 @@
 #include "modules/webgl/WebGL2RenderingContext.h"
 #include "modules/webgl/WebGLRenderingContext.h"
 #include "modules/xr/XRLayer.h"
+#include "modules/xr/XRView.h"
 #include "modules/xr/XRWebGLLayerInit.h"
 #include "platform/graphics/gpu/XRWebGLDrawingBuffer.h"
 #include "platform/wtf/RefCounted.h"
@@ -23,6 +24,7 @@
 class WebGLFramebuffer;
 class WebGLRenderingContextBase;
 class XRSession;
+class XRViewport;
 
 class XRWebGLLayer final : public XRLayer {
   DEFINE_WRAPPERTYPEINFO();
@@ -54,9 +56,10 @@
   bool alpha() const { return drawing_buffer_->alpha(); }
   bool multiview() const { return drawing_buffer_->multiview(); }
 
+  XRViewport* getViewport(XRView*);
   void requestViewportScaling(double scale_factor);
 
-  XRViewport* GetViewport(XRView::Eye) override;
+  XRViewport* GetViewportForEye(XRView::Eye);
 
   void UpdateViewports();
 
diff --git a/third_party/WebKit/Source/modules/xr/XRWebGLLayer.idl b/third_party/WebKit/Source/modules/xr/XRWebGLLayer.idl
index ff4b6b0..397019f 100644
--- a/third_party/WebKit/Source/modules/xr/XRWebGLLayer.idl
+++ b/third_party/WebKit/Source/modules/xr/XRWebGLLayer.idl
@@ -22,5 +22,6 @@
   readonly attribute unsigned long framebufferHeight;
   readonly attribute WebGLFramebuffer framebuffer;
 
+  XRViewport? getViewport(XRView view);
   void requestViewportScaling(double viewportScaleFactor);
 };
diff --git a/third_party/WebKit/Source/platform/PasteMode.h b/third_party/WebKit/Source/platform/PasteMode.h
index f1eab93..5ca11c2 100644
--- a/third_party/WebKit/Source/platform/PasteMode.h
+++ b/third_party/WebKit/Source/platform/PasteMode.h
@@ -33,7 +33,7 @@
 
 namespace blink {
 
-enum PasteMode {
+enum class PasteMode {
   kAllMimeTypes,
   kPlainTextOnly,
 };
diff --git a/third_party/WebKit/Source/platform/bindings/CallbackInterfaceBase.cpp b/third_party/WebKit/Source/platform/bindings/CallbackInterfaceBase.cpp
index d036ebfd..2a4a1f4 100644
--- a/third_party/WebKit/Source/platform/bindings/CallbackInterfaceBase.cpp
+++ b/third_party/WebKit/Source/platform/bindings/CallbackInterfaceBase.cpp
@@ -21,6 +21,11 @@
   incumbent_script_state_ = ScriptState::From(isolate->GetIncumbentContext());
 }
 
+void CallbackInterfaceBase::TraceWrappers(
+    const ScriptWrappableVisitor* visitor) const {
+  visitor->TraceWrappers(callback_object_);
+}
+
 V8PersistentCallbackInterfaceBase::V8PersistentCallbackInterfaceBase(
     CallbackInterfaceBase* callback_interface)
     : callback_interface_(callback_interface) {
diff --git a/third_party/WebKit/Source/platform/bindings/CallbackInterfaceBase.h b/third_party/WebKit/Source/platform/bindings/CallbackInterfaceBase.h
index 349c350..12cfcf2 100644
--- a/third_party/WebKit/Source/platform/bindings/CallbackInterfaceBase.h
+++ b/third_party/WebKit/Source/platform/bindings/CallbackInterfaceBase.h
@@ -5,10 +5,10 @@
 #ifndef CallbackInterfaceBase_h
 #define CallbackInterfaceBase_h
 
-#include "platform/bindings/ScopedPersistent.h"
 #include "platform/bindings/ScriptState.h"
+#include "platform/bindings/TraceWrapperBase.h"
+#include "platform/bindings/TraceWrapperV8Reference.h"
 #include "platform/heap/Handle.h"
-#include "v8/include/v8.h"
 
 namespace blink {
 
@@ -23,7 +23,8 @@
 // As the signatures of callback interface's operations vary, this class does
 // not implement any operation. Subclasses will implement it.
 class PLATFORM_EXPORT CallbackInterfaceBase
-    : public GarbageCollectedFinalized<CallbackInterfaceBase> {
+    : public GarbageCollectedFinalized<CallbackInterfaceBase>,
+      public TraceWrapperBase {
  public:
   // Whether the callback interface is a "single operation callback interface"
   // or not.
@@ -36,6 +37,7 @@
   virtual ~CallbackInterfaceBase() = default;
 
   virtual void Trace(blink::Visitor*) {}
+  void TraceWrappers(const ScriptWrappableVisitor*) const override;
 
   v8::Isolate* GetIsolate() {
     return callback_relevant_script_state_->GetIsolate();
@@ -58,8 +60,7 @@
 
  private:
   // The "callback interface type" value.
-  // TODO(yukishiino): Replace ScopedPersistent with TraceWrapperMember.
-  ScopedPersistent<v8::Object> callback_object_;
+  TraceWrapperV8Reference<v8::Object> callback_object_;
   bool is_callback_object_callable_ = false;
   // The associated Realm of the callback interface type value. Note that the
   // callback interface type value can be different from the function object
@@ -87,6 +88,8 @@
 
   virtual void Trace(blink::Visitor*);
 
+  v8::Isolate* GetIsolate() { return callback_interface_->GetIsolate(); }
+
  protected:
   explicit V8PersistentCallbackInterfaceBase(CallbackInterfaceBase*);
 
@@ -133,12 +136,8 @@
 // for callback interfaces is likely (if not always) misuse. Thus, this code
 // prohibits such a use case. The call sites should explicitly use
 // WrapPersistent(V8PersistentCallbackInterface<T>*).
-#if 0
-// TODO(yukishiino): Enable this deletion once CallbackInterfaceBase transitions
-// to wrapper-tracing.
 Persistent<CallbackInterfaceBase> WrapPersistent(CallbackInterfaceBase*) =
     delete;
-#endif
 
 }  // namespace blink
 
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp
index b3650d4..fff7ce1 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp
@@ -289,6 +289,10 @@
   return hb_face_get_upem(face);
 }
 
+bool HarfBuzzFace::ShouldSubpixelPosition() {
+  return harf_buzz_font_data_->paint_.isSubpixelText();
+}
+
 static hb_font_funcs_t* HarfBuzzSkiaGetFontFuncs() {
   hb_font_funcs_t* funcs = FontGlobalContext::GetHarfBuzzFontFuncs();
 
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h
index b434cc6..090a55b 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h
+++ b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h
@@ -68,6 +68,8 @@
   bool HasSpaceInLigaturesOrKerning(TypesettingFeatures);
   unsigned UnitsPerEmFromHeadTable();
 
+  bool ShouldSubpixelPosition();
+
  private:
   HarfBuzzFace(FontPlatformData*, uint64_t);
 
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp
index 92cf696..eac52c4 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp
@@ -191,6 +191,28 @@
   return hb_script_from_string(uscript_getShortName(script), -1);
 }
 
+void RoundHarfBuzzPosition(hb_position_t* value) {
+  if ((*value) & 0xFFFF) {
+    // There is a non-zero fractional part in the 16.16 value.
+    *value = static_cast<hb_position_t>(
+                 round(static_cast<float>(*value) / (1 << 16)))
+             << 16;
+  }
+}
+
+void RoundHarfBuzzBufferPositions(hb_buffer_t* buffer) {
+  unsigned int len;
+  hb_glyph_position_t* glyph_positions =
+      hb_buffer_get_glyph_positions(buffer, &len);
+  for (unsigned int i = 0; i < len; i++) {
+    hb_glyph_position_t* pos = &glyph_positions[i];
+    RoundHarfBuzzPosition(&pos->x_offset);
+    RoundHarfBuzzPosition(&pos->y_offset);
+    RoundHarfBuzzPosition(&pos->x_advance);
+    RoundHarfBuzzPosition(&pos->y_advance);
+  }
+}
+
 inline bool ShapeRange(hb_buffer_t* buffer,
                        hb_feature_t* font_features,
                        unsigned font_features_size,
@@ -217,6 +239,16 @@
                               : HarfBuzzFace::NoVerticalLayout);
   hb_shape(hb_font, buffer, font_features, font_features_size);
 
+  // We cannot round all glyph positions during hb_shape because the
+  // hb_font_funcs_set_glyph_h_kerning_func only works for legacy kerning.
+  // OpenType uses gpos tables for kerning and harfbuzz does not call
+  // the callback to let us round as we go.
+  // Without this rounding, we get inconsistent spacing between kern points
+  // if subpixel positioning is disabled.
+  // See http://crbug.com/740385.
+  if (!face->ShouldSubpixelPosition())
+    RoundHarfBuzzBufferPositions(buffer);
+
   return true;
 }
 
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaperTest.cpp b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaperTest.cpp
index 0a6e2ae..36c247a 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaperTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaperTest.cpp
@@ -7,6 +7,7 @@
 #include <unicode/uscript.h>
 
 #include "build/build_config.h"
+#include "platform/LayoutTestSupport.h"
 #include "platform/fonts/Font.h"
 #include "platform/fonts/FontCache.h"
 #include "platform/fonts/FontTestUtilities.h"
@@ -41,6 +42,57 @@
   hb_script_t script = HB_SCRIPT_INVALID;
 };
 
+class ScopedSubpixelOverride {
+ public:
+  ScopedSubpixelOverride(bool b) {
+    prev_layout_test_ = LayoutTestSupport::IsRunningLayoutTest();
+    prev_subpixel_allowed_ =
+        LayoutTestSupport::IsTextSubpixelPositioningAllowedForTest();
+    prev_antialias_ = LayoutTestSupport::IsFontAntialiasingEnabledForTest();
+    prev_fd_subpixel_ = FontDescription::SubpixelPositioning();
+
+    // This is required for all LayoutTestSupport settings to have effects.
+    LayoutTestSupport::SetIsRunningLayoutTest(true);
+
+    if (b) {
+      // Allow subpixel positioning.
+      LayoutTestSupport::SetTextSubpixelPositioningAllowedForTest(true);
+
+      // Now, enable subpixel positioning in platform-specific ways.
+
+      // Mac always enables subpixel positioning.
+
+      // On Windows, subpixel positioning also requires antialiasing.
+      LayoutTestSupport::SetFontAntialiasingEnabledForTest(true);
+
+      // On platforms other than Windows and Mac this needs to be set as
+      // well.
+      FontDescription::SetSubpixelPositioning(true);
+    } else {
+      // Explicitly disallow all subpixel positioning.
+      LayoutTestSupport::SetTextSubpixelPositioningAllowedForTest(false);
+    }
+  }
+  ~ScopedSubpixelOverride() {
+    FontDescription::SetSubpixelPositioning(prev_fd_subpixel_);
+    LayoutTestSupport::SetFontAntialiasingEnabledForTest(prev_antialias_);
+    LayoutTestSupport::SetTextSubpixelPositioningAllowedForTest(
+        prev_subpixel_allowed_);
+    LayoutTestSupport::SetIsRunningLayoutTest(prev_layout_test_);
+
+    // Fonts cached with a different subpixel positioning state are not
+    // automatically invalidated and need to be cleared between test
+    // runs.
+    FontCache::GetFontCache()->Invalidate();
+  }
+
+ private:
+  bool prev_layout_test_;
+  bool prev_subpixel_allowed_;
+  bool prev_antialias_;
+  bool prev_fd_subpixel_;
+};
+
 class ShapeParameterTest : public HarfBuzzShaperTest,
                            public ::testing::WithParamInterface<TextDirection> {
  protected:
@@ -1000,4 +1052,166 @@
   EXPECT_EQ(8u, result->PreviousSafeToBreakOffset(9));
 }
 
+// Call this to ensure your test string has some kerning going on.
+static bool KerningIsHappening(const FontDescription& font_description,
+                               TextDirection direction,
+                               const String& str) {
+  FontDescription no_kern = font_description;
+  no_kern.SetKerning(FontDescription::kNoneKerning);
+
+  FontDescription kern = font_description;
+  kern.SetKerning(FontDescription::kAutoKerning);
+
+  Font font_no_kern(no_kern);
+  font_no_kern.Update(nullptr);
+
+  Font font_kern(kern);
+  font_kern.Update(nullptr);
+
+  HarfBuzzShaper shaper(str.Characters16(), str.length());
+
+  scoped_refptr<ShapeResult> result_no_kern =
+      shaper.Shape(&font_no_kern, direction);
+  scoped_refptr<ShapeResult> result_kern = shaper.Shape(&font_kern, direction);
+
+  for (unsigned i = 0; i < str.length(); i++) {
+    if (result_no_kern->PositionForOffset(i) !=
+        result_kern->PositionForOffset(i))
+      return true;
+  }
+  return false;
+}
+
+TEST_F(HarfBuzzShaperTest, KerningIsHappeningWorks) {
+  EXPECT_TRUE(
+      KerningIsHappening(font_description, TextDirection::kLtr, u"AVOID"));
+  EXPECT_FALSE(
+      KerningIsHappening(font_description, TextDirection::kLtr, u"NOID"));
+
+  // We won't kern vertically with the default font.
+  font_description.SetOrientation(FontOrientation::kVerticalUpright);
+
+  EXPECT_FALSE(
+      KerningIsHappening(font_description, TextDirection::kLtr, u"AVOID"));
+  EXPECT_FALSE(
+      KerningIsHappening(font_description, TextDirection::kLtr, u"NOID"));
+}
+
+TEST_F(HarfBuzzShaperTest,
+       ShapeHorizontalWithoutSubpixelPositionWithoutKerningIsRounded) {
+  ScopedSubpixelOverride subpixel_override(false);
+
+  String string(u"NOID");
+  TextDirection direction = TextDirection::kLtr;
+  ASSERT_FALSE(KerningIsHappening(font_description, direction, string));
+
+  HarfBuzzShaper shaper(string.Characters16(), string.length());
+  scoped_refptr<ShapeResult> result = shaper.Shape(&font, direction);
+
+  for (unsigned i = 0; i < string.length(); i++) {
+    float position = result->PositionForOffset(i);
+    EXPECT_EQ(round(position), position)
+        << "Position not rounded at offset " << i;
+  }
+}
+
+TEST_F(HarfBuzzShaperTest,
+       ShapeHorizontalWithSubpixelPositionWithoutKerningIsNotRounded) {
+  ScopedSubpixelOverride subpixel_override(true);
+
+  String string(u"NOID");
+  TextDirection direction = TextDirection::kLtr;
+  ASSERT_FALSE(KerningIsHappening(font_description, direction, string));
+
+  HarfBuzzShaper shaper(string.Characters16(), string.length());
+  scoped_refptr<ShapeResult> result = shaper.Shape(&font, direction);
+
+  for (unsigned i = 0; i < string.length(); i++) {
+    float position = result->PositionForOffset(i);
+    if (round(position) != position)
+      return;
+  }
+
+  EXPECT_TRUE(false) << "No unrounded positions found";
+}
+
+TEST_F(HarfBuzzShaperTest,
+       ShapeHorizontalWithoutSubpixelPositionWithKerningIsRounded) {
+  ScopedSubpixelOverride subpixel_override(false);
+
+  String string(u"AVOID");
+  TextDirection direction = TextDirection::kLtr;
+  ASSERT_TRUE(KerningIsHappening(font_description, direction, string));
+
+  HarfBuzzShaper shaper(string.Characters16(), string.length());
+  scoped_refptr<ShapeResult> result = shaper.Shape(&font, direction);
+
+  for (unsigned i = 0; i < string.length(); i++) {
+    float position = result->PositionForOffset(i);
+    EXPECT_EQ(round(position), position)
+        << "Position not rounded at offset " << i;
+  }
+}
+
+TEST_F(HarfBuzzShaperTest,
+       ShapeHorizontalWithSubpixelPositionWithKerningIsNotRounded) {
+  ScopedSubpixelOverride subpixel_override(true);
+
+  String string(u"AVOID");
+  TextDirection direction = TextDirection::kLtr;
+  ASSERT_TRUE(KerningIsHappening(font_description, direction, string));
+
+  HarfBuzzShaper shaper(string.Characters16(), string.length());
+  scoped_refptr<ShapeResult> result = shaper.Shape(&font, direction);
+
+  for (unsigned i = 0; i < string.length(); i++) {
+    float position = result->PositionForOffset(i);
+    if (round(position) != position)
+      return;
+  }
+
+  EXPECT_TRUE(false) << "No unrounded positions found";
+}
+
+TEST_F(HarfBuzzShaperTest, ShapeVerticalWithoutSubpixelPositionIsRounded) {
+  ScopedSubpixelOverride subpixel_override(false);
+
+  font_description.SetOrientation(FontOrientation::kVerticalUpright);
+  font = Font(font_description);
+  font.Update(nullptr);
+
+  String string(u"\u65E5\u65E5\u65E5");
+  TextDirection direction = TextDirection::kLtr;
+
+  HarfBuzzShaper shaper(string.Characters16(), string.length());
+  scoped_refptr<ShapeResult> result = shaper.Shape(&font, direction);
+
+  for (unsigned i = 0; i < string.length(); i++) {
+    float position = result->PositionForOffset(i);
+    EXPECT_EQ(round(position), position)
+        << "Position not rounded at offset " << i;
+  }
+}
+
+TEST_F(HarfBuzzShaperTest, ShapeVerticalWithSubpixelPositionIsRounded) {
+  ScopedSubpixelOverride subpixel_override(true);
+
+  font_description.SetOrientation(FontOrientation::kVerticalUpright);
+  font = Font(font_description);
+  font.Update(nullptr);
+
+  String string(u"\u65E5\u65E5\u65E5");
+  TextDirection direction = TextDirection::kLtr;
+
+  HarfBuzzShaper shaper(string.Characters16(), string.length());
+  scoped_refptr<ShapeResult> result = shaper.Shape(&font, direction);
+
+  // Vertical text is never subpixel positioned.
+  for (unsigned i = 0; i < string.length(); i++) {
+    float position = result->PositionForOffset(i);
+    EXPECT_EQ(round(position), position)
+        << "Position not rounded at offset " << i;
+  }
+}
+
 }  // namespace blink
diff --git a/third_party/WebKit/Source/platform/heap/GarbageCollected.h b/third_party/WebKit/Source/platform/heap/GarbageCollected.h
index 54aabb4..ad67b98 100644
--- a/third_party/WebKit/Source/platform/heap/GarbageCollected.h
+++ b/third_party/WebKit/Source/platform/heap/GarbageCollected.h
@@ -273,10 +273,10 @@
 template <typename T,
           bool = WTF::IsSubclassOfTemplate<typename std::remove_const<T>::type,
                                            GarbageCollected>::value>
-class NeedsAdjustAndMark;
+class NeedsAdjustPointer;
 
 template <typename T>
-class NeedsAdjustAndMark<T, true> {
+class NeedsAdjustPointer<T, true> {
   static_assert(sizeof(T), "T must be fully defined");
 
  public:
@@ -284,7 +284,7 @@
 };
 
 template <typename T>
-class NeedsAdjustAndMark<T, false> {
+class NeedsAdjustPointer<T, false> {
   static_assert(sizeof(T), "T must be fully defined");
 
  public:
diff --git a/third_party/WebKit/Source/platform/heap/Heap.h b/third_party/WebKit/Source/platform/heap/Heap.h
index df76452..bb3d8a1 100644
--- a/third_party/WebKit/Source/platform/heap/Heap.h
+++ b/third_party/WebKit/Source/platform/heap/Heap.h
@@ -99,7 +99,7 @@
 template <typename T>
 class UntracedMember;
 
-template <typename T, bool = NeedsAdjustAndMark<T>::value>
+template <typename T, bool = NeedsAdjustPointer<T>::value>
 class ObjectAliveTrait;
 
 template <typename T>
diff --git a/third_party/WebKit/Source/platform/heap/HeapAllocator.h b/third_party/WebKit/Source/platform/heap/HeapAllocator.h
index 1467adb..6e3185e 100644
--- a/third_party/WebKit/Source/platform/heap/HeapAllocator.h
+++ b/third_party/WebKit/Source/platform/heap/HeapAllocator.h
@@ -129,7 +129,9 @@
   static bool ExpandHashTableBacking(void*, size_t);
 
   static void BackingWriteBarrier(void* address) {
+#if BUILDFLAG(BLINK_HEAP_INCREMENTAL_MARKING)
     ThreadState::Current()->Heap().WriteBarrier(address);
+#endif
   }
 
   template <typename Return, typename Metadata>
diff --git a/third_party/WebKit/Source/platform/heap/HeapTest.cpp b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
index 822bd0e3..f92c21f 100644
--- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp
+++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
@@ -4837,23 +4837,23 @@
   EXPECT_LE(saved_trace_count, MixinA::trace_count_);
 }
 
-TEST(HeapTest, NeedsAdjustAndMark) {
+TEST(HeapTest, NeedsAdjustPointer) {
   // class Mixin : public GarbageCollectedMixin {};
-  static_assert(NeedsAdjustAndMark<Mixin>::value,
+  static_assert(NeedsAdjustPointer<Mixin>::value,
                 "A Mixin pointer needs adjustment");
-  static_assert(NeedsAdjustAndMark<Mixin>::value,
+  static_assert(NeedsAdjustPointer<Mixin>::value,
                 "A const Mixin pointer needs adjustment");
 
   // class SimpleObject : public GarbageCollected<SimpleObject> {};
-  static_assert(!NeedsAdjustAndMark<SimpleObject>::value,
+  static_assert(!NeedsAdjustPointer<SimpleObject>::value,
                 "A SimpleObject pointer does not need adjustment");
-  static_assert(!NeedsAdjustAndMark<const SimpleObject>::value,
+  static_assert(!NeedsAdjustPointer<const SimpleObject>::value,
                 "A const SimpleObject pointer does not need adjustment");
 
   // class UseMixin : public SimpleObject, public Mixin {};
-  static_assert(!NeedsAdjustAndMark<UseMixin>::value,
+  static_assert(!NeedsAdjustPointer<UseMixin>::value,
                 "A UseMixin pointer does not need adjustment");
-  static_assert(!NeedsAdjustAndMark<const UseMixin>::value,
+  static_assert(!NeedsAdjustPointer<const UseMixin>::value,
                 "A const UseMixin pointer does not need adjustment");
 }
 
diff --git a/third_party/WebKit/Source/platform/heap/TraceTraits.h b/third_party/WebKit/Source/platform/heap/TraceTraits.h
index 60cad6b..ef609881e 100644
--- a/third_party/WebKit/Source/platform/heap/TraceTraits.h
+++ b/third_party/WebKit/Source/platform/heap/TraceTraits.h
@@ -42,12 +42,12 @@
 template <typename T>
 class WeakPersistent;
 
-template <typename T, bool = NeedsAdjustAndMark<T>::value>
-class AdjustAndMarkTrait;
+template <typename T, bool = NeedsAdjustPointer<T>::value>
+class AdjustPointerTrait;
 
 template <typename T>
-class AdjustAndMarkTrait<T, false> {
-  STATIC_ONLY(AdjustAndMarkTrait);
+class AdjustPointerTrait<T, false> {
+  STATIC_ONLY(AdjustPointerTrait);
 
  public:
   static TraceDescriptor GetTraceDescriptor(void* self) {
@@ -69,8 +69,8 @@
 };
 
 template <typename T>
-class AdjustAndMarkTrait<T, true> {
-  STATIC_ONLY(AdjustAndMarkTrait);
+class AdjustPointerTrait<T, true> {
+  STATIC_ONLY(AdjustPointerTrait);
 
  public:
   static TraceDescriptor GetTraceDescriptor(const T* self) {
@@ -190,16 +190,16 @@
 
  public:
   static TraceDescriptor GetTraceDescriptor(void* self) {
-    return AdjustAndMarkTrait<T>::GetTraceDescriptor(static_cast<T*>(self));
+    return AdjustPointerTrait<T>::GetTraceDescriptor(static_cast<T*>(self));
   }
 
   static TraceWrapperDescriptor GetTraceWrapperDescriptor(void* self) {
-    return AdjustAndMarkTrait<T>::GetTraceWrapperDescriptor(
+    return AdjustPointerTrait<T>::GetTraceWrapperDescriptor(
         static_cast<T*>(self));
   }
 
   static HeapObjectHeader* GetHeapObjectHeader(void* self) {
-    return AdjustAndMarkTrait<T>::GetHeapObjectHeader(static_cast<T*>(self));
+    return AdjustPointerTrait<T>::GetHeapObjectHeader(static_cast<T*>(self));
   }
 
   static void Trace(Visitor*, void* self);
@@ -223,7 +223,6 @@
   visitor->DispatchTraceWrappers(static_cast<T*>(self));
 }
 
-
 template <typename T, typename Traits>
 struct TraceTrait<HeapVectorBacking<T, Traits>> {
   STATIC_ONLY(TraceTrait);
diff --git a/third_party/WebKit/Source/platform/runtime_enabled_features.json5 b/third_party/WebKit/Source/platform/runtime_enabled_features.json5
index 5003c6f..eddd2649 100644
--- a/third_party/WebKit/Source/platform/runtime_enabled_features.json5
+++ b/third_party/WebKit/Source/platform/runtime_enabled_features.json5
@@ -1136,10 +1136,6 @@
       name: "V8IdleTasks",
     },
     {
-      name: "VibrateRequiresUserGesture",
-      status: "stable",
-    },
-    {
       name: "VideoFullscreenDetection",
     },
     {
diff --git a/third_party/WebKit/public/BUILD.gn b/third_party/WebKit/public/BUILD.gn
index e7074c2..cfdc0009 100644
--- a/third_party/WebKit/public/BUILD.gn
+++ b/third_party/WebKit/public/BUILD.gn
@@ -615,6 +615,7 @@
   public_deps = [
     "//net",
     "//services/service_manager/public/cpp",
+    "//services/ui/public/interfaces/ime",
     "//skia",
     "//third_party/WebKit/public/common",
     "//url",
diff --git a/third_party/WebKit/public/platform/web_feature.mojom b/third_party/WebKit/public/platform/web_feature.mojom
index a0f9bf38..716b0536 100644
--- a/third_party/WebKit/public/platform/web_feature.mojom
+++ b/third_party/WebKit/public/platform/web_feature.mojom
@@ -1468,7 +1468,6 @@
   kRequestMIDIAccessIframeWithSysExOption_ObscuredByFootprinting = 1963,
   kGamepadAxes = 1964,
   kGamepadButtons = 1965,
-  kVibrateWithoutUserGesture = 1966,
   kDispatchMouseEventOnDisabledFormControl = 1967,
   kElementNameDOMInvalidHTMLParserValid = 1968,
   kElementNameDOMValidHTMLParserInvalid = 1969,
@@ -1874,7 +1873,9 @@
   kV8RTCRtpSender_Dtmf_AttributeGetter = 2381,
   kRTCConstraintEnableDtlsSrtpTrue = 2382,
   kRTCConstraintEnableDtlsSrtpFalse = 2383,
-  kRtcPeerConnectionId = 2383,
+  kRtcPeerConnectionId = 2384,
+  kV8PaintWorkletGlobalScope_RegisterPaint_Method = 2385,
+  kV8PaintWorkletGlobalScope_DevicePixelRatio_AttributeGetter = 2386,
 
   // Add new features immediately above this line. Don't change assigned
   // numbers of any item, and don't reuse removed slots.
diff --git a/third_party/WebKit/public/web/DEPS b/third_party/WebKit/public/web/DEPS
index 04aea70..deb6c935 100644
--- a/third_party/WebKit/public/web/DEPS
+++ b/third_party/WebKit/public/web/DEPS
@@ -10,6 +10,7 @@
     "+public/web",
     # Enforce to use mojom-shared.h in WebKit/public so that it can compile
     # inside and outside Blink.
+    "+services/ui/public/interfaces/ime/ime.mojom-shared.h",
     "+services/network/public/mojom/cors.mojom-shared.h",
     "+services/service_manager/public",
 
diff --git a/third_party/WebKit/public/web/WebImeTextSpan.h b/third_party/WebKit/public/web/WebImeTextSpan.h
index 5b77ed4d..e509a4c9 100644
--- a/third_party/WebKit/public/web/WebImeTextSpan.h
+++ b/third_party/WebKit/public/web/WebImeTextSpan.h
@@ -34,6 +34,7 @@
 #include <string>
 #include <vector>
 #include "public/platform/WebColor.h"
+#include "services/ui/public/interfaces/ime/ime.mojom-shared.h"
 
 namespace blink {
 
@@ -57,7 +58,7 @@
         start_offset(0),
         end_offset(0),
         underline_color(0),
-        thick(false),
+        thickness(ui::mojom::ImeTextSpanThickness::kThin),
         background_color(0),
         suggestion_highlight_color(0),
         suggestions(std::vector<std::string>()) {}
@@ -67,7 +68,7 @@
       unsigned s,
       unsigned e,
       WebColor uc,
-      bool th,
+      ui::mojom::ImeTextSpanThickness th,
       WebColor bc,
       WebColor shc = 0,
       const std::vector<std::string>& su = std::vector<std::string>())
@@ -75,7 +76,7 @@
         start_offset(s),
         end_offset(e),
         underline_color(uc),
-        thick(th),
+        thickness(th),
         background_color(bc),
         suggestion_highlight_color(shc),
         suggestions(su) {}
@@ -92,7 +93,7 @@
   unsigned start_offset;
   unsigned end_offset;
   WebColor underline_color;
-  bool thick;
+  ui::mojom::ImeTextSpanThickness thickness;
   WebColor background_color;
   WebColor suggestion_highlight_color;
   std::vector<std::string> suggestions;
diff --git a/third_party/openvr/src/src/vrcommon/sharedlibtools_public.cpp b/third_party/openvr/src/src/vrcommon/sharedlibtools_public.cpp
index 9c0661e..2803e9de 100644
--- a/third_party/openvr/src/src/vrcommon/sharedlibtools_public.cpp
+++ b/third_party/openvr/src/src/vrcommon/sharedlibtools_public.cpp
@@ -22,7 +22,7 @@
 void *SharedLib_GetFunction( SharedLibHandle lib, const char *pchFunctionName)
 {
 #if defined( _WIN32)
-	return GetProcAddress( (HMODULE)lib, pchFunctionName );
+	return (void*)GetProcAddress( (HMODULE)lib, pchFunctionName );
 #elif defined(POSIX)
 	return dlsym( lib, pchFunctionName );
 #endif
diff --git a/tools/battor_agent/battor_agent_unittest.cc b/tools/battor_agent/battor_agent_unittest.cc
index cb37e2f..c6550fab 100644
--- a/tools/battor_agent/battor_agent_unittest.cc
+++ b/tools/battor_agent/battor_agent_unittest.cc
@@ -149,8 +149,8 @@
 
  protected:
   void SetUp() override {
-    tick_clock_ = task_runner_->GetMockTickClock();
-    agent_.reset(new TestableBattOrAgent(this, tick_clock_.get()));
+    agent_.reset(
+        new TestableBattOrAgent(this, task_runner_->GetMockTickClock()));
     task_runner_->ClearPendingTasks();
     is_command_complete_ = false;
     command_error_ = BATTOR_ERROR_NONE;
@@ -354,11 +354,6 @@
 
  private:
   scoped_refptr<base::TestMockTimeTaskRunner> task_runner_;
-
-  // TODO(tzik): Remove |tick_clock_| after updating GetMockTickClock to own the
-  // instance.
-  std::unique_ptr<base::TickClock> tick_clock_;
-
   // Needed to support ThreadTaskRunnerHandle::Get() in code under test.
   base::ThreadTaskRunnerHandle thread_task_runner_handle_;
 
diff --git a/tools/battor_agent/battor_connection_impl_unittest.cc b/tools/battor_agent/battor_connection_impl_unittest.cc
index 15268c4..f78e6fc 100644
--- a/tools/battor_agent/battor_connection_impl_unittest.cc
+++ b/tools/battor_agent/battor_connection_impl_unittest.cc
@@ -73,8 +73,8 @@
 
  protected:
   void SetUp() override {
-    tick_clock_ = task_runner_->GetMockTickClock();
-    connection_.reset(new TestableBattOrConnection(this, tick_clock_.get()));
+    connection_.reset(
+        new TestableBattOrConnection(this, task_runner_->GetMockTickClock()));
     task_runner_->ClearPendingTasks();
   }
 
@@ -149,10 +149,6 @@
   std::vector<char>* GetReadMessage() { return read_bytes_.get(); }
 
  private:
-  // TODO(tzik): Remove |tick_clock_| after updating GetMockTickClock to own the
-  // instance.
-  std::unique_ptr<base::TickClock> tick_clock_;
-
   scoped_refptr<base::TestMockTimeTaskRunner> task_runner_;
   base::ThreadTaskRunnerHandle thread_task_runner_handle_;
 
diff --git a/tools/idl_parser/idl_lexer.py b/tools/idl_parser/idl_lexer.py
index 60b8288..538fc51 100755
--- a/tools/idl_parser/idl_lexer.py
+++ b/tools/idl_parser/idl_lexer.py
@@ -79,6 +79,7 @@
     'legacycaller' : 'LEGACYCALLER',
     'long' : 'LONG',
     'maplike': 'MAPLIKE',
+    'mixin': 'MIXIN',
     'namespace' : 'NAMESPACE',
     'Nan' : 'NAN',
     'null' : 'NULL',
diff --git a/tools/idl_parser/idl_parser.py b/tools/idl_parser/idl_parser.py
index d498a66..9b63dd3 100755
--- a/tools/idl_parser/idl_parser.py
+++ b/tools/idl_parser/idl_parser.py
@@ -253,7 +253,7 @@
       p[0] = ListFromConcat(p[2], p[3])
 
   def p_Definition(self, p):
-    """Definition : CallbackOrInterface
+    """Definition : CallbackOrInterfaceOrMixin
                   | Namespace
                   | Partial
                   | Dictionary
@@ -267,28 +267,32 @@
     """Definition : error ';'"""
     p[0] = self.BuildError(p, 'Definition')
 
-  def p_CallbackOrInterface(self, p):
-    """CallbackOrInterface : CALLBACK CallbackRestOrInterface
-                           | Interface"""
-    if len(p) > 2:
-      if p[2].GetClass() != 'Callback':
-        p[2].AddChildren(self.BuildTrue('CALLBACK'))
-      p[0] = p[2]
-    else:
-      p[0] = p[1]
+  def p_CallbackOrInterfaceOrMixin(self, p):
+    """CallbackOrInterfaceOrMixin : CALLBACK CallbackRestOrInterface
+                                  | INTERFACE InterfaceOrMixin"""
+    p[0] = p[2]
 
   def p_CallbackRestOrInterface(self, p):
     """CallbackRestOrInterface : CallbackRest
-                               | Interface"""
+                               | INTERFACE InterfaceRest"""
+    if len(p) < 3:
+      p[0] = p[1]
+    else:
+      p[2].AddChildren(self.BuildTrue('CALLBACK'))
+      p[0] = p[2]
+
+  def p_InterfaceOrMixin(self, p):
+    """InterfaceOrMixin : InterfaceRest
+                        | MixinRest"""
     p[0] = p[1]
 
-  def p_Interface(self, p):
-    """Interface : INTERFACE identifier Inheritance '{' InterfaceMembers '}' ';'"""
-    p[0] = self.BuildNamed('Interface', p, 2, ListFromConcat(p[3], p[5]))
+  def p_InterfaceRest(self, p):
+    """InterfaceRest : identifier Inheritance '{' InterfaceMembers '}' ';'"""
+    p[0] = self.BuildNamed('Interface', p, 1, ListFromConcat(p[2], p[4]))
 
   # Error recovery for interface.
-  def p_InterfaceError(self, p):
-    """Interface : INTERFACE identifier Inheritance '{' error"""
+  def p_InterfaceRestError(self, p):
+    """InterfaceRest : identifier Inheritance '{' error"""
     p[0] = self.BuildError(p, 'Interface')
 
   def p_Partial(self, p):
@@ -337,6 +341,29 @@
                        | ReadWriteSetlike"""
     p[0] = p[1]
 
+  def p_MixinRest(self, p):
+    """MixinRest : MIXIN identifier '{' MixinMembers '}' ';'"""
+    p[0] = self.BuildNamed('InterfaceMixin', p, 2, p[4])
+
+  def p_MixinMembers(self, p):
+    """MixinMembers : ExtendedAttributeList MixinMember MixinMembers
+                    |"""
+    if len(p) > 1:
+      p[2].AddChildren(p[1])
+      p[0] = ListFromConcat(p[2], p[3])
+
+  # Error recovery for InterfaceMembers
+  def p_MixinMembersError(self, p):
+    """MixinMembers : error"""
+    p[0] = self.BuildError(p, 'MixinMembers')
+
+  def p_MixinMember(self, p):
+    """MixinMember : Const
+                   | Operation
+                   | Stringifier
+                   | ReadonlyMember"""
+    p[0] = p[1]
+
   def p_Dictionary(self, p):
     """Dictionary : DICTIONARY identifier Inheritance '{' DictionaryMembers '}' ';'"""
     p[0] = self.BuildNamed('Dictionary', p, 2, ListFromConcat(p[3], p[5]))
diff --git a/tools/idl_parser/idl_parser_test.py b/tools/idl_parser/idl_parser_test.py
index 6aeabd4..4d27abe 100755
--- a/tools/idl_parser/idl_parser_test.py
+++ b/tools/idl_parser/idl_parser_test.py
@@ -25,7 +25,7 @@
         os.path.join(os.path.dirname(__file__), 'test_parser'))
     self.filenames = glob.glob('%s/*_web.idl' % test_dir)
 
-  def _TestNode(self, node):
+  def _TestNode(self, node, filepath):
     comments = node.GetListOf('SpecialComment')
     for comment in comments:
       check, value = ParseCommentTest(comment.GetName())
@@ -37,7 +37,7 @@
       if check == 'TREE':
         quick = '\n'.join(node.Tree())
         lineno = node.GetProperty('LINENO')
-        msg = 'Mismatched tree at line %d:' % lineno
+        msg = 'Mismatched tree at line %d in %s:' % (lineno, filepath)
         msg += '\n\n[EXPECTED]\n%s\n\n[ACTUAL]\n%s\n' % (value, quick)
         self.assertEqual(value, quick, msg)
 
@@ -49,7 +49,7 @@
           filename)
 
       for node in filenode.GetChildren():
-        self._TestNode(node)
+        self._TestNode(node, filename)
 
 
 class TestImplements(unittest.TestCase):
diff --git a/tools/idl_parser/test_lexer/keywords.in b/tools/idl_parser/test_lexer/keywords.in
index b695a57..0926ce4a 100644
--- a/tools/idl_parser/test_lexer/keywords.in
+++ b/tools/idl_parser/test_lexer/keywords.in
@@ -23,6 +23,7 @@
 LEGACYCALLER legacycaller
 LONG long
 MAPLIKE maplike
+MIXIN mixin
 NAN Nan
 NULL null
 OBJECT object
diff --git a/tools/idl_parser/test_parser/interface_web.idl b/tools/idl_parser/test_parser/interface_web.idl
index 589a47c..87eebf72 100644
--- a/tools/idl_parser/test_parser/interface_web.idl
+++ b/tools/idl_parser/test_parser/interface_web.idl
@@ -43,6 +43,45 @@
 partial interface MyIFaceInherit : Foo {};
 
 /** TREE
+ *InterfaceMixin(IFaceMixin)
+ */
+interface mixin IFaceMixin {};
+
+/** ERROR Unexpected ":" after identifier "IFaceMixinInherit". */
+interface mixin IFaceMixinInherit : Foo {};
+
+/** ERROR Unexpected keyword "mixin" after keyword "interface". */
+partial interface mixin PartialIFaceMixin {};
+
+/** TREE
+ *InterfaceMixin(IFaceMixin)
+ *  Error(Unexpected keyword "static" after "{".)
+ */
+interface mixin IFaceMixin {
+  static attribute integer staticAttribute;
+};
+
+/** TREE
+ *InterfaceMixin(IFaceMixin)
+ *  Const(pi)
+ *    PrimitiveType(double)
+ *    Value() = "3.14159"
+ *  Operation(foo)
+ *    Arguments()
+ *    Type()
+ *      PrimitiveType(void)
+ *  Attribute(bar)
+ *    READONLY: True
+ *    Type()
+ *      StringType(DOMString)
+ */
+interface mixin IFaceMixin {
+  const double pi = 3.14159;
+  void foo();
+  readonly attribute DOMString bar;
+};
+
+/** TREE
  *Interface(MyIFaceMissingArgument)
  *  Operation(foo)
  *    Arguments()
diff --git a/tools/metrics/histograms/enums.xml b/tools/metrics/histograms/enums.xml
index c4f8fc76..58038ae 100644
--- a/tools/metrics/histograms/enums.xml
+++ b/tools/metrics/histograms/enums.xml
@@ -17940,6 +17940,9 @@
   <int value="2382" label="RTCConstraintEnableDtlsSrtpTrue"/>
   <int value="2383" label="RTCConstraintEnableDtlsSrtpFalse"/>
   <int value="2384" label="RtcPeerConnectionId"/>
+  <int value="2385" label="V8PaintWorkletGlobalScope_RegisterPaint_Method"/>
+  <int value="2386"
+      label="V8PaintWorkletGlobalScope_DevicePixelRatio_AttributeGetter"/>
 </enum>
 
 <enum name="FeedbackSource">
@@ -34659,6 +34662,15 @@
   <int value="1" label="SDES"/>
 </enum>
 
+<enum name="PeerConnectionKeyProtocolByMedia">
+  <int value="0" label="DTLS Audio"/>
+  <int value="1" label="DTLS Video"/>
+  <int value="2" label="DTLS Data"/>
+  <int value="3" label="SDES Audio"/>
+  <int value="4" label="SDES Video"/>
+  <int value="5" label="SDES Data"/>
+</enum>
+
 <enum name="PeerConnectionRtcpMux">
   <int value="0" label="Disabled"/>
   <int value="1" label="Enabled"/>
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index b363947..366f2dd 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -101294,6 +101294,15 @@
   </summary>
 </histogram>
 
+<histogram name="WebRTC.PeerConnection.KeyProtocolByMedia"
+    enum="PeerConnectionKeyProtocolByMedia">
+  <owner>hta@chromium.org</owner>
+  <summary>
+    What key exchange protocol (DTLS or SDES) is used to establish the crypto
+    keys for a PeerConnection's RTP transport, specified per media type.
+  </summary>
+</histogram>
+
 <histogram name="WebRTC.PeerConnection.RtcpMux" enum="PeerConnectionRtcpMux">
   <owner>pthatcher@chromium.org</owner>
   <summary>
diff --git a/tools/perf/expectations.config b/tools/perf/expectations.config
index 559af07..cf5f277 100644
--- a/tools/perf/expectations.config
+++ b/tools/perf/expectations.config
@@ -250,7 +250,8 @@
 crbug.com/787001 [ Android_Webview ] system_health.memory_mobile/load:media:soundcloud [ Skip ]
 [ Android_Webview ] system_health.memory_mobile/browse:chrome:newtab [ Skip ]
 crbug.com/714650 [ Android ] system_health.memory_mobile/browse:news:globo [ Skip ]
-crbug.com/819552 [ Android_Webview Nexus_5X ] system_health.memory_mobile/browse:chrome:omnibox [ Skip ]
+[ Android_Webview ] system_health.memory_mobile/browse:chrome:omnibox [ Skip ]
+crbug.com/819552 [ Nexus_5X ] system_health.memory_mobile/browse:chrome:omnibox [ Skip ]
 crbug.com/657433 [ Android ] system_health.memory_mobile/load:tools:gmail [ Skip ]
 crbug.com/728081 [ Android ] system_health.memory_mobile/browse:news:toi [ Skip ]
 crbug.com/777355 [ Android ] system_health.memory_mobile/long_running:tools:gmail-background [ Skip ]
diff --git a/tools/traffic_annotation/scripts/README.md b/tools/traffic_annotation/scripts/README.md
index 245670a..8a4b9fa9 100644
--- a/tools/traffic_annotation/scripts/README.md
+++ b/tools/traffic_annotation/scripts/README.md
@@ -1,2 +1,21 @@
 # Traffic Annotation Scripts
 This file describes the scripts in `tools/traffic_annotation/scripts`
+
+
+# check_annotations.py
+Runs traffic annotation tests on the changed files or all repository. The tests
+are run in error resilient mode. Requires a compiled build directory to run.
+
+# traffic_annotation_auditor_tests.py
+Runs tests to ensure traffic_annotation_auditor is performing as expected. Tests
+include:
+ - Checking if auditor and underlying clang tool run, and an expected minimum
+   number of outputs are returned.
+ - Checking if enabling or disabling heuristics that make tests faster has any
+   effect on the output.
+ - Checking if running on the whole repository (instead of only changed files)
+   would result in any error.
+This test may take a few hours to run and requires a compiled build directory.
+
+# annotation_tools.py
+Provides tools for annotation test scripts.
\ No newline at end of file
diff --git a/tools/traffic_annotation/scripts/annotation_tools.py b/tools/traffic_annotation/scripts/annotation_tools.py
new file mode 100644
index 0000000..ca372dc
--- /dev/null
+++ b/tools/traffic_annotation/scripts/annotation_tools.py
@@ -0,0 +1,121 @@
+# Copyright 2018 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""Tools for annotation test scripts."""
+
+import os
+import subprocess
+import sys
+
+
+class NetworkTrafficAnnotationTools():
+  def __init__(self, build_path=None):
+    """Initializes a NetworkTrafficAnnotationTools object.
+
+    Args:
+      build_path: str Absolute or relative path to a fully compiled build
+          directory. If not specified, the script tries to find it based on
+          relative position of this file (src/tools/traffic_annotation).
+    """
+    self.this_dir = os.path.dirname(os.path.abspath(__file__))
+
+    if not build_path:
+      build_path = self._FindPossibleBuildPath()
+    if build_path:
+      self.build_path = os.path.abspath(build_path)
+
+    self.auditor_path = None
+
+    # For each platform, map the returned platform name from python sys, to
+    # directory name of traffic_annotation_auditor executable.
+    platform = {
+      'linux2': 'linux64',
+      'darwin': 'mac',
+      'win32': 'win32',
+    }[sys.platform]
+    path = os.path.join(self.this_dir, '..', 'bin', platform,
+                        'traffic_annotation_auditor')
+    if sys.platform == 'win32':
+      path += '.exe'
+    if os.path.exists(path):
+      self.auditor_path = path
+
+  def _FindPossibleBuildPath(self):
+    """Returns the first folder in //out that looks like a build dir."""
+    # Assuming this file is in 'tools/traffic_annotation/scripts', three
+    # directories deeper is 'src' and hopefully there is an 'out' in it.
+    out = os.path.abspath(os.path.join(self.this_dir, '..', '..', '..', 'out'))
+    if os.path.exists(out):
+      for folder in os.listdir(out):
+        candidate = os.path.join(out, folder)
+        if (os.path.isdir(candidate) and
+            self._CheckIfDirectorySeemsAsBuild(candidate)):
+          return candidate
+    return None
+
+  def _CheckIfDirectorySeemsAsBuild(self, path):
+    """Checks to see if a directory seems to be a compiled build directory by
+    searching for 'gen' folder and 'build.ninja' file in it.
+    """
+    return all(os.path.exists(
+        os.path.join(path, item)) for item in ('gen', 'build.ninja'))
+
+  def GetModifiedFiles(self):
+    """Gets the list of modified files from git. Returns None if any error
+    happens.
+
+    Returns:
+      list of str List of modified files. Returns None on errors.
+    """
+
+    # List of files is extracted almost the same way as the following test
+    # recipe: https://cs.chromium.org/chromium/tools/depot_tools/recipes/
+    # recipe_modules/tryserver/api.py
+    # '--no-renames' switch is added so that if a file is renamed, both old and
+    # new name would be given. Old name is needed to discard its data in
+    # annotations.xml and new name is needed for updating the XML and checking
+    # its content for possible changes.
+    args = ["git.bat"] if sys.platform == "win32" else ["git"]
+    args += ["diff", "--cached", "--name-only", "--no-renames"]
+
+    original_path = os.getcwd()
+
+    # Change directory to src (two levels upper than build path).
+    os.chdir(os.path.join(self.build_path, "..", ".."))
+    command = subprocess.Popen(args, stdout=subprocess.PIPE,
+                               stderr=subprocess.PIPE)
+    stdout_text, stderr_text = command.communicate()
+
+    if stderr_text:
+      print("Could not run '%s' to get the list of changed files "
+            "beacuse: %s" % (" ".join(args), stderr_text))
+      os.chdir(original_path)
+      return None
+
+    os.chdir(original_path)
+    return stdout_text.splitlines()
+
+  def CanRunAuditor(self):
+    """Retruns true if all required paths to run auditor are known."""
+    return self.build_path and self.auditor_path
+
+  def RunAuditor(self, args):
+    """Runs traffic annotation auditor and returns the results.
+
+    Args:
+      args: list of str Arguments to be passed to traffic annotation auditor.
+
+    Returns:
+      stdout_text: str Auditor's runtime outputs.
+      stderr_text: str Auditor's returned errors.
+      return_code: int Auditor's exit code.
+    """
+
+    command = subprocess.Popen(
+        [self.auditor_path, "--build-path=" + self.build_path] + args,
+        stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+    stdout_text, stderr_text = command.communicate()
+    return_code = command.returncode
+
+    return stdout_text, stderr_text, return_code
diff --git a/tools/traffic_annotation/scripts/check_annotations.py b/tools/traffic_annotation/scripts/check_annotations.py
index 1bdbf9fd..1e117f8 100755
--- a/tools/traffic_annotation/scripts/check_annotations.py
+++ b/tools/traffic_annotation/scripts/check_annotations.py
@@ -10,9 +10,9 @@
 
 import os
 import argparse
-import subprocess
 import sys
 
+from annotation_tools import NetworkTrafficAnnotationTools
 
 # If this test starts failing, please set TEST_IS_ENABLED to "False" and file a
 # bug to get this reenabled, and cc the people listed in
@@ -22,10 +22,6 @@
 
 class NetworkTrafficAnnotationChecker():
   EXTENSIONS = ['.cc', '.mm',]
-  COULD_NOT_RUN_MESSAGE = \
-      'Network traffic annotation presubmit check was not performed. To run ' \
-      'it, a compiled build directory and traffic_annotation_auditor binary ' \
-      'are required.'
 
   def __init__(self, build_path=None):
     """Initializes a NetworkTrafficAnnotationChecker object.
@@ -35,133 +31,61 @@
           directory. If not specified, the script tries to find it based on
           relative position of this file (src/tools/traffic_annotation).
     """
-    self.this_dir = os.path.dirname(os.path.abspath(__file__))
-
-    if not build_path:
-      build_path = self._FindPossibleBuildPath()
-    if build_path:
-      self.build_path = os.path.abspath(build_path)
-
-    self.auditor_path = None
-    platform = {
-      'linux2': 'linux64',
-      'darwin': 'mac',
-      'win32': 'win32',
-    }[sys.platform]
-    path = os.path.join(self.this_dir, '..', 'bin', platform,
-                        'traffic_annotation_auditor')
-    if sys.platform == 'win32':
-      path += '.exe'
-    if os.path.exists(path):
-      self.auditor_path = path
-
-  def _FindPossibleBuildPath(self):
-    """Returns the first folder in //out that looks like a build dir."""
-    # Assuming this file is in 'tools/traffic_annotation/scripts', three
-    # directories deeper is 'src' and hopefully there is an 'out' in it.
-    out = os.path.abspath(os.path.join(self.this_dir, '..', '..', '..', 'out'))
-    if os.path.exists(out):
-      for folder in os.listdir(out):
-        candidate = os.path.join(out, folder)
-        if (os.path.isdir(candidate) and
-            self._CheckIfDirectorySeemsAsBuild(candidate)):
-          return candidate
-    return None
-
-  def _CheckIfDirectorySeemsAsBuild(self, path):
-    """Checks to see if a directory seems to be a compiled build directory by
-    searching for 'gen' folder and 'build.ninja' file in it.
-    """
-    return all(os.path.exists(
-        os.path.join(path, item)) for item in ('gen', 'build.ninja'))
-
-  def _AllArgsValid(self):
-    return self.auditor_path and self.build_path
+    self.tools = NetworkTrafficAnnotationTools(build_path)
 
   def ShouldCheckFile(self, file_path):
     """Returns true if the input file has an extension relevant to network
     traffic annotations."""
     return os.path.splitext(file_path)[1] in self.EXTENSIONS
 
-  def CheckFiles(self, file_paths=None, limit=0):
+  def CheckFiles(self, complete_run, limit):
     """Passes all given files to traffic_annotation_auditor to be checked for
     possible violations of network traffic annotation rules.
 
     Args:
-      file_paths: list of str List of files to check. If empty, the whole
-          repository will be checked.
-      limit: int Sets the upper threshold for number of errors and warnings,
-          use 0 for unlimited.
+      complete_run: bool Flag requesting to run test on all relevant files.
+      limit: int The upper threshold for number of errors and warnings. Use 0
+          for unlimited.
 
     Returns:
       int Exit code of the network traffic annotation auditor.
     """
-
-    if not TEST_IS_ENABLED:
+    if not self.tools.CanRunAuditor():
+      print("Network traffic annotation presubmit check was not performed. A "
+            "compiled build directory and traffic_annotation_auditor binary "
+            "are required to do it.")
       return 0
 
-    if not self.build_path:
-      return [self.COULD_NOT_RUN_MESSAGE], []
-
-    if file_paths:
+    if complete_run:
+      file_paths = []
+    else:
+      # Get list of modified files. If failed, silently ignore as the test is
+      # run in error resilient mode.
+      file_paths = self.tools.GetModifiedFiles() or []
       file_paths = [
           file_path for file_path in file_paths if self.ShouldCheckFile(
               file_path)]
-
       if not file_paths:
         return 0
-    else:
-      file_paths = []
 
-    args = [self.auditor_path, "--test-only", "--limit=%i" % limit,
-            "--build-path=" + self.build_path, "--error-resilient"] + file_paths
+    args = ["--test-only", "--limit=%i" % limit, "--error-resilient"] + \
+           file_paths
 
-    command = subprocess.Popen(args, stdout=subprocess.PIPE,
-                               stderr=subprocess.PIPE)
-    stdout_text, stderr_text = command.communicate()
+    stdout_text, stderr_text, return_code = self.tools.RunAuditor(args)
 
     if stdout_text:
       print(stdout_text)
     if stderr_text:
       print("\n[Runtime Messages]:\n%s" % stderr_text)
-    return command.returncode
-
-
-  def GetModifiedFiles(self):
-    """Gets the list of modified files from git. Returns None if any error
-    happens."""
-
-    # List of files is extracted almost the same way as the following test
-    # recipe: https://cs.chromium.org/chromium/tools/depot_tools/recipes/
-    # recipe_modules/tryserver/api.py
-    # '--no-renames' switch is added so that if a file is renamed, both old and
-    # new name would be given. Old name is needed to discard its data in
-    # annotations.xml and new name is needed for updating the XML and checking
-    # its content for possible changes.
-    args = ["git.bat"] if sys.platform == "win32" else ["git"]
-    args += ["diff", "--cached", "--name-only", "--no-renames"]
-
-    original_path = os.getcwd()
-
-    # Change directory to src (two levels upper than build path).
-    os.chdir(os.path.join(self.build_path, "..", ".."))
-    command = subprocess.Popen(args, stdout=subprocess.PIPE,
-                               stderr=subprocess.PIPE)
-    stdout_text, stderr_text = command.communicate()
-
-    if stderr_text:
-      print("Could not run '%s' to get the list of changed files "
-            "beacuse: %s" % (" ".join(args), stderr_text))
-      os.chdir(original_path)
-      return None
-
-    os.chdir(original_path)
-    return stdout_text.splitlines()
+    return return_code
 
 
 def main():
+  if not TEST_IS_ENABLED:
+    return 0
+
   parser = argparse.ArgumentParser(
-      description="Traffic Annotation Auditor Presubmit checker.")
+      description="Network Traffic Annotation Presubmit checker.")
   parser.add_argument(
       '--build-path',
       help='Specifies a compiled build directory, e.g. out/Debug. If not '
@@ -177,18 +101,8 @@
            'modified files are tested.')
 
   args = parser.parse_args()
-
   checker = NetworkTrafficAnnotationChecker(args.build_path)
-  if args.complete:
-    file_paths = None
-  else:
-    file_paths = checker.GetModifiedFiles()
-    if file_paths is None:
-      return -1
-    if len(file_paths) == 0:
-      return 0
-
-  return checker.CheckFiles(file_paths=file_paths, limit=args.limit)
+  return checker.CheckFiles(args.complete, args.limit)
 
 
 if '__main__' == __name__:
diff --git a/tools/traffic_annotation/scripts/traffic_annotation_auditor_tests.py b/tools/traffic_annotation/scripts/traffic_annotation_auditor_tests.py
new file mode 100755
index 0000000..9d431b0
--- /dev/null
+++ b/tools/traffic_annotation/scripts/traffic_annotation_auditor_tests.py
@@ -0,0 +1,65 @@
+#!/usr/bin/env python
+# Copyright 2018 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""Runs tests to ensure annotation tests are working as expected.
+"""
+
+import os
+import argparse
+import sys
+
+from annotation_tools import NetworkTrafficAnnotationTools
+
+# If this test starts failing, please set TEST_IS_ENABLED to "False" and file a
+# bug to get this reenabled, and cc the people listed in
+# //tools/traffic_annotation/OWNERS.
+TEST_IS_ENABLED = True
+
+
+class TrafficAnnotationTestsChecker():
+  def __init__(self, build_path=None):
+    """Initializes a TrafficAnnotationTestsChecker object.
+
+    Args:
+      build_path: str Absolute or relative path to a fully compiled build
+          directory.
+    """
+    self.tools = NetworkTrafficAnnotationTools(build_path)
+
+  def RunAllTests(self):
+    result = self.RunOnAllFiles()
+    #TODO(rhalavati): Add more tests, and create a pipeline for them.
+    return result
+
+  def RunOnAllFiles(self):
+    args = ["--test-only"]
+    _, stderr_text, return_code = self.tools.RunAuditor(args)
+
+    if not return_code:
+      print("RunOnAlFiles Passed.")
+    elif stderr_text:
+      print(stderr_text)
+    return return_code
+
+
+def main():
+  if not TEST_IS_ENABLED:
+    return 0
+
+  parser = argparse.ArgumentParser(
+      description="Traffic Annotation Tests checker.")
+  parser.add_argument(
+      '--build-path',
+      help='Specifies a compiled build directory, e.g. out/Debug. If not '
+           'specified, the script tries to guess it. Will not proceed if not '
+           'found.')
+
+  args = parser.parse_args()
+  checker = TrafficAnnotationTestsChecker(args.build_path)
+  return checker.RunAllTests()
+
+
+if '__main__' == __name__:
+  sys.exit(main())
\ No newline at end of file
diff --git a/tools/traffic_annotation/summary/annotations.xml b/tools/traffic_annotation/summary/annotations.xml
index b8c12a2..dfe6389 100644
--- a/tools/traffic_annotation/summary/annotations.xml
+++ b/tools/traffic_annotation/summary/annotations.xml
@@ -156,6 +156,7 @@
  <item id="omnibox_zerosuggest_experimental" hash_code="3813491" type="0" content_hash_code="22929259" os_list="linux,windows" file_path="components/omnibox/browser/contextual_suggestions_service.cc"/>
  <item id="one_google_bar_service" hash_code="78917933" type="0" content_hash_code="46527252" os_list="linux,windows" file_path="chrome/browser/search/one_google_bar/one_google_bar_fetcher_impl.cc"/>
  <item id="open_search" hash_code="107267424" type="0" content_hash_code="25715812" os_list="linux,windows" file_path="components/search_engines/template_url_fetcher.cc"/>
+ <item id="p2p_invalidator" hash_code="84201371" type="0" content_hash_code="117416248" os_list="linux,windows" file_path="components/invalidation/impl/p2p_invalidator.cc"/>
  <item id="parallel_download_job" hash_code="135118587" type="0" content_hash_code="105330419" os_list="linux,windows" file_path="content/browser/download/parallel_download_job.cc"/>
  <item id="password_protection_request" hash_code="66322287" type="0" content_hash_code="21270837" os_list="linux,windows" file_path="components/safe_browsing/password_protection/password_protection_request.cc"/>
  <item id="payment_instrument_icon_fetcher" hash_code="73309970" type="0" deprecated="2017-09-16" content_hash_code="84709873" file_path=""/>
@@ -176,6 +177,7 @@
  <item id="profile_avatar" hash_code="51164680" type="0" content_hash_code="113550845" os_list="linux,windows" file_path="chrome/browser/profiles/profile_avatar_downloader.cc"/>
  <item id="profile_resetter_upload" hash_code="105330607" type="0" content_hash_code="129329171" os_list="linux,windows" file_path="chrome/browser/profile_resetter/reset_report_uploader.cc"/>
  <item id="proxy_script_fetcher" hash_code="37531401" type="0" content_hash_code="31866133" os_list="linux,windows" file_path="net/proxy_resolution/pac_file_fetcher_impl.cc"/>
+ <item id="puch_client_channel" hash_code="34459548" type="0" content_hash_code="92475475" os_list="linux,windows" file_path="components/invalidation/impl/push_client_channel.cc"/>
  <item id="quic_chromium_incoming_session" hash_code="87635401" type="0" content_hash_code="78573093" os_list="linux,windows" file_path="net/quic/chromium/quic_chromium_client_session.cc"/>
  <item id="quic_chromium_packet_writer" hash_code="20153177" type="0" content_hash_code="29657765" os_list="linux,windows" file_path="net/quic/chromium/quic_chromium_packet_writer.cc"/>
  <item id="ranker_url_fetcher" hash_code="95682324" type="0" content_hash_code="45958626" os_list="linux,windows" file_path="components/assist_ranker/ranker_url_fetcher.cc"/>
@@ -210,6 +212,7 @@
  <item id="sigined_exchange_cert_fetcher" hash_code="79442849" type="0" content_hash_code="8138156" os_list="linux,windows" file_path="content/browser/web_package/signed_exchange_cert_fetcher.cc"/>
  <item id="signed_in_profile_avatar" hash_code="108903331" type="0" content_hash_code="72850619" os_list="linux,windows" file_path="chrome/browser/profiles/profile_downloader.cc"/>
  <item id="socket_bio_adapter" hash_code="516551" type="0" content_hash_code="21643352" os_list="linux,windows" file_path="net/socket/socket_bio_adapter.cc"/>
+ <item id="spdy_push_stream" hash_code="36915753" type="0" content_hash_code="69224629" os_list="linux,windows" file_path="net/spdy/chromium/spdy_session.cc"/>
  <item id="spdy_session_control" hash_code="57143548" type="0" content_hash_code="29815792" os_list="linux,windows" file_path="net/spdy/chromium/spdy_session.cc"/>
  <item id="speech_recognition_downstream" hash_code="26096088" type="0" content_hash_code="120733233" os_list="linux,windows" file_path="content/browser/speech/speech_recognition_engine.cc"/>
  <item id="speech_recognition_upstream" hash_code="66846958" type="0" content_hash_code="7706219" os_list="linux,windows" file_path="content/browser/speech/speech_recognition_engine.cc"/>
diff --git a/ui/arc/notification/arc_notification_content_view_unittest.cc b/ui/arc/notification/arc_notification_content_view_unittest.cc
index 114a3836..36e2ea6 100644
--- a/ui/arc/notification/arc_notification_content_view_unittest.cc
+++ b/ui/arc/notification/arc_notification_content_view_unittest.cc
@@ -102,6 +102,9 @@
   void IncrementWindowRefCount() override {}
   void DecrementWindowRefCount() override {}
   bool IsOpeningSettingsSupported() const override { return true; }
+  mojom::ArcNotificationType GetNotificationType() const override {
+    return mojom::ArcNotificationType::SIMPLE;
+  }
   mojom::ArcNotificationExpandState GetExpandState() const override {
     return mojom::ArcNotificationExpandState::FIXED_SIZE;
   }
diff --git a/ui/arc/notification/arc_notification_item.h b/ui/arc/notification/arc_notification_item.h
index d3973bf..567cd0f 100644
--- a/ui/arc/notification/arc_notification_item.h
+++ b/ui/arc/notification/arc_notification_item.h
@@ -69,6 +69,8 @@
   // Returns the current snapshot.
   virtual const gfx::ImageSkia& GetSnapshot() const = 0;
   // Returns the current expand state.
+  virtual mojom::ArcNotificationType GetNotificationType() const = 0;
+  // Returns the current expand state.
   virtual mojom::ArcNotificationExpandState GetExpandState() const = 0;
 
   virtual bool IsManuallyExpandedOrCollapsed() const = 0;
diff --git a/ui/arc/notification/arc_notification_item_impl.cc b/ui/arc/notification/arc_notification_item_impl.cc
index 60e31b8..b28c670 100644
--- a/ui/arc/notification/arc_notification_item_impl.cc
+++ b/ui/arc/notification/arc_notification_item_impl.cc
@@ -114,6 +114,7 @@
     manually_expanded_or_collapsed_ = true;
   }
 
+  type_ = data->type;
   expand_state_ = data->expand_state;
   shown_contents_ = data->shown_contents;
   swipe_input_rect_ =
@@ -210,6 +211,11 @@
   return snapshot_;
 }
 
+mojom::ArcNotificationType ArcNotificationItemImpl::GetNotificationType()
+    const {
+  return type_;
+}
+
 mojom::ArcNotificationExpandState ArcNotificationItemImpl::GetExpandState()
     const {
   return expand_state_;
diff --git a/ui/arc/notification/arc_notification_item_impl.h b/ui/arc/notification/arc_notification_item_impl.h
index c8c22f8..ae7f9de 100644
--- a/ui/arc/notification/arc_notification_item_impl.h
+++ b/ui/arc/notification/arc_notification_item_impl.h
@@ -44,6 +44,7 @@
   void IncrementWindowRefCount() override;
   void DecrementWindowRefCount() override;
   const gfx::ImageSkia& GetSnapshot() const override;
+  mojom::ArcNotificationType GetNotificationType() const override;
   mojom::ArcNotificationExpandState GetExpandState() const override;
   bool IsManuallyExpandedOrCollapsed() const override;
   mojom::ArcNotificationShownContents GetShownContents() const override;
@@ -61,6 +62,8 @@
 
   // The snapshot of the latest notification.
   gfx::ImageSkia snapshot_;
+  // The type of the latest notification.
+  mojom::ArcNotificationType type_ = mojom::ArcNotificationType::SIMPLE;
   // The expand state of the latest notification.
   mojom::ArcNotificationExpandState expand_state_ =
       mojom::ArcNotificationExpandState::FIXED_SIZE;
diff --git a/ui/arc/notification/arc_notification_view.cc b/ui/arc/notification/arc_notification_view.cc
index 6977d6d3..d4e6eb9 100644
--- a/ui/arc/notification/arc_notification_view.cc
+++ b/ui/arc/notification/arc_notification_view.cc
@@ -120,6 +120,16 @@
          item_->GetExpandState() == mojom::ArcNotificationExpandState::EXPANDED;
 }
 
+bool ArcNotificationView::IsAutoExpandingAllowed() const {
+  if (!item_)
+    return false;
+
+  // Disallow auto-expanding if the notificaiton is bundled. This is consistent
+  // behavior with Android since expanded height of bundle notification might be
+  // too long vertically.
+  return item_->GetNotificationType() != mojom::ArcNotificationType::BUNDLED;
+}
+
 void ArcNotificationView::SetExpanded(bool expanded) {
   if (!item_)
     return;
diff --git a/ui/arc/notification/arc_notification_view.h b/ui/arc/notification/arc_notification_view.h
index e54838b..44a004f1 100644
--- a/ui/arc/notification/arc_notification_view.h
+++ b/ui/arc/notification/arc_notification_view.h
@@ -49,6 +49,7 @@
       const override;
   bool IsExpanded() const override;
   void SetExpanded(bool expanded) override;
+  bool IsAutoExpandingAllowed() const override;
   bool IsManuallyExpandedOrCollapsed() const override;
   void OnContainerAnimationStarted() override;
   void OnContainerAnimationEnded() override;
diff --git a/ui/arc/notification/arc_notification_view_unittest.cc b/ui/arc/notification/arc_notification_view_unittest.cc
index 528f896..79c6821 100644
--- a/ui/arc/notification/arc_notification_view_unittest.cc
+++ b/ui/arc/notification/arc_notification_view_unittest.cc
@@ -114,6 +114,9 @@
   void IncrementWindowRefCount() override {}
   void DecrementWindowRefCount() override {}
   bool IsOpeningSettingsSupported() const override { return true; }
+  mojom::ArcNotificationType GetNotificationType() const override {
+    return mojom::ArcNotificationType::SIMPLE;
+  }
   mojom::ArcNotificationExpandState GetExpandState() const override {
     return mojom::ArcNotificationExpandState::FIXED_SIZE;
   }
diff --git a/ui/aura/env.cc b/ui/aura/env.cc
index ee881cb0..e6b5ad0 100644
--- a/ui/aura/env.cc
+++ b/ui/aura/env.cc
@@ -152,6 +152,9 @@
 ////////////////////////////////////////////////////////////////////////////////
 // Env, private:
 
+// static
+bool Env::initial_throttle_input_on_resize_ = true;
+
 Env::Env(Mode mode)
     : mode_(mode),
       env_controller_(new EnvInputStateController),
diff --git a/ui/aura/env.h b/ui/aura/env.h
index ee62b2a..7167a9f 100644
--- a/ui/aura/env.h
+++ b/ui/aura/env.h
@@ -108,6 +108,12 @@
   }
   ui::ContextFactory* context_factory() { return context_factory_; }
 
+  // Sets |initial_throttle_input_on_resize| the next time Env is created. This
+  // is only useful in tests that need to disable input resize.
+  static void set_initial_throttle_input_on_resize_for_testing(
+      bool throttle_input) {
+    initial_throttle_input_on_resize_ = throttle_input;
+  }
   void set_throttle_input_on_resize_for_testing(bool throttle_input) {
     throttle_input_on_resize_ = throttle_input;
   }
@@ -211,7 +217,8 @@
   // creating a different WindowPort implementation.
   bool in_mus_shutdown_ = false;
 
-  bool throttle_input_on_resize_ = true;
+  static bool initial_throttle_input_on_resize_;
+  bool throttle_input_on_resize_ = initial_throttle_input_on_resize_;
 
   DISALLOW_COPY_AND_ASSIGN(Env);
 };
diff --git a/ui/base/ime/composition_text_unittest.cc b/ui/base/ime/composition_text_unittest.cc
index 8431e2e..3a1899e 100644
--- a/ui/base/ime/composition_text_unittest.cc
+++ b/ui/base/ime/composition_text_unittest.cc
@@ -13,15 +13,17 @@
 
 TEST(CompositionTextTest, CopyTest) {
   const base::string16 kSampleText = base::UTF8ToUTF16("Sample Text");
-  const ImeTextSpan kSampleUnderline1(ImeTextSpan::Type::kComposition, 10, 20,
-                                      SK_ColorBLACK, false,
-                                      SK_ColorTRANSPARENT);
+  const ImeTextSpan kSampleUnderline1(
+      ImeTextSpan::Type::kComposition, 10, 20, SK_ColorBLACK,
+      ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT);
 
-  const ImeTextSpan kSampleUnderline2(ImeTextSpan::Type::kComposition, 11, 21,
-                                      SK_ColorBLACK, true, SK_ColorTRANSPARENT);
+  const ImeTextSpan kSampleUnderline2(
+      ImeTextSpan::Type::kComposition, 11, 21, SK_ColorBLACK,
+      ImeTextSpan::Thickness::kThick, SK_ColorTRANSPARENT);
 
-  const ImeTextSpan kSampleUnderline3(ImeTextSpan::Type::kComposition, 12, 22,
-                                      SK_ColorRED, false, SK_ColorTRANSPARENT);
+  const ImeTextSpan kSampleUnderline3(
+      ImeTextSpan::Type::kComposition, 12, 22, SK_ColorRED,
+      ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT);
 
   // Make CompositionText
   CompositionText text;
@@ -43,7 +45,8 @@
               text2.ime_text_spans[i].end_offset);
     EXPECT_EQ(text.ime_text_spans[i].underline_color,
               text2.ime_text_spans[i].underline_color);
-    EXPECT_EQ(text.ime_text_spans[i].thick, text2.ime_text_spans[i].thick);
+    EXPECT_EQ(text.ime_text_spans[i].thickness,
+              text2.ime_text_spans[i].thickness);
     EXPECT_EQ(text.ime_text_spans[i].background_color,
               text2.ime_text_spans[i].background_color);
   }
diff --git a/ui/base/ime/composition_text_util_pango.cc b/ui/base/ime/composition_text_util_pango.cc
index 9ef5803..1237585 100644
--- a/ui/base/ime/composition_text_util_pango.cc
+++ b/ui/base/ime/composition_text_util_pango.cc
@@ -77,12 +77,13 @@
         // Use a black thin underline by default.
         ImeTextSpan ime_text_span(ImeTextSpan::Type::kComposition,
                                   char16_offsets[start], char16_offsets[end],
-                                  SK_ColorBLACK, false, SK_ColorTRANSPARENT);
+                                  SK_ColorBLACK, ImeTextSpan::Thickness::kThin,
+                                  SK_ColorTRANSPARENT);
 
         // Always use thick underline for a range with background color, which
         // is usually the selection range.
         if (background_attr) {
-          ime_text_span.thick = true;
+          ime_text_span.thickness = ImeTextSpan::Thickness::kThick;
           // If the cursor is at start or end of this underline, then we treat
           // it as the selection range as well, but make sure to set the cursor
           // position to the selection end.
@@ -97,7 +98,7 @@
         if (underline_attr) {
           int type = reinterpret_cast<PangoAttrInt*>(underline_attr)->value;
           if (type == PANGO_UNDERLINE_DOUBLE)
-            ime_text_span.thick = true;
+            ime_text_span.thickness = ImeTextSpan::Thickness::kThick;
           else if (type == PANGO_UNDERLINE_ERROR)
             ime_text_span.underline_color = SK_ColorRED;
         }
@@ -111,7 +112,7 @@
   if (composition->ime_text_spans.empty()) {
     composition->ime_text_spans.push_back(
         ImeTextSpan(ImeTextSpan::Type::kComposition, 0, length, SK_ColorBLACK,
-                    false, SK_ColorTRANSPARENT));
+                    ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT));
   }
 }
 
diff --git a/ui/base/ime/composition_text_util_pango_unittest.cc b/ui/base/ime/composition_text_util_pango_unittest.cc
index be674433..593a4ac8 100644
--- a/ui/base/ime/composition_text_util_pango_unittest.cc
+++ b/ui/base/ime/composition_text_util_pango_unittest.cc
@@ -29,7 +29,7 @@
   unsigned start_offset;
   unsigned end_offset;
   uint32_t underline_color;
-  bool thick;
+  ui::ImeTextSpan::Thickness thickness;
   uint32_t background_color;
 };
 
@@ -47,10 +47,13 @@
       {PANGO_ATTR_BACKGROUND, 0, 4, 7},
       {PANGO_ATTR_UNDERLINE, PANGO_UNDERLINE_SINGLE, 8, 13},
       {0, 0, 0, 0}},
-     {{0, 3, SK_ColorBLACK, false, SK_ColorTRANSPARENT},
-      {4, 7, SK_ColorBLACK, true, SK_ColorTRANSPARENT},
-      {8, 13, SK_ColorBLACK, false, SK_ColorTRANSPARENT},
-      {0, 0, 0, false, SK_ColorTRANSPARENT}}},
+     {{0, 3, SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThin,
+       SK_ColorTRANSPARENT},
+      {4, 7, SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThick,
+       SK_ColorTRANSPARENT},
+      {8, 13, SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThin,
+       SK_ColorTRANSPARENT},
+      {0, 0, 0, ui::ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT}}},
 
     // Offset overflow.
     {"One Two Three",
@@ -58,10 +61,13 @@
       {PANGO_ATTR_BACKGROUND, 0, 4, 7},
       {PANGO_ATTR_UNDERLINE, PANGO_UNDERLINE_SINGLE, 8, 20},
       {0, 0, 0, 0}},
-     {{0, 3, SK_ColorBLACK, false, SK_ColorTRANSPARENT},
-      {4, 7, SK_ColorBLACK, true, SK_ColorTRANSPARENT},
-      {8, 13, SK_ColorBLACK, false, SK_ColorTRANSPARENT},
-      {0, 0, 0, false, SK_ColorTRANSPARENT}}},
+     {{0, 3, SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThin,
+       SK_ColorTRANSPARENT},
+      {4, 7, SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThick,
+       SK_ColorTRANSPARENT},
+      {8, 13, SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThin,
+       SK_ColorTRANSPARENT},
+      {0, 0, 0, ui::ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT}}},
 
     // Error underline.
     {"One Two Three",
@@ -69,16 +75,20 @@
       {PANGO_ATTR_UNDERLINE, PANGO_UNDERLINE_ERROR, 4, 7},
       {PANGO_ATTR_UNDERLINE, PANGO_UNDERLINE_SINGLE, 8, 13},
       {0, 0, 0, 0}},
-     {{0, 3, SK_ColorBLACK, false, SK_ColorTRANSPARENT},
-      {4, 7, SK_ColorRED, false, SK_ColorTRANSPARENT},
-      {8, 13, SK_ColorBLACK, false, SK_ColorTRANSPARENT},
-      {0, 0, 0, false, SK_ColorTRANSPARENT}}},
+     {{0, 3, SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThin,
+       SK_ColorTRANSPARENT},
+      {4, 7, SK_ColorRED, ui::ImeTextSpan::Thickness::kThin,
+       SK_ColorTRANSPARENT},
+      {8, 13, SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThin,
+       SK_ColorTRANSPARENT},
+      {0, 0, 0, ui::ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT}}},
 
     // Default underline.
     {"One Two Three",
      {{0, 0, 0, 0}},
-     {{0, 13, SK_ColorBLACK, false, SK_ColorTRANSPARENT},
-      {0, 0, 0, false, SK_ColorTRANSPARENT}}},
+     {{0, 13, SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThin,
+       SK_ColorTRANSPARENT},
+      {0, 0, 0, ui::ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT}}},
 
     // Unicode, including non-BMP characters: "123你好𠀀𠀁一丁 456"
     {"123\xE4\xBD\xA0\xE5\xA5\xBD\xF0\xA0\x80\x80\xF0\xA0\x80\x81\xE4\xB8\x80"
@@ -88,18 +98,22 @@
       {PANGO_ATTR_BACKGROUND, 0, 5, 7},
       {PANGO_ATTR_UNDERLINE, PANGO_UNDERLINE_SINGLE, 7, 13},
       {0, 0, 0, 0}},
-     {{0, 3, SK_ColorBLACK, false, SK_ColorTRANSPARENT},
-      {3, 5, SK_ColorBLACK, false, SK_ColorTRANSPARENT},
-      {5, 9, SK_ColorBLACK, true, SK_ColorTRANSPARENT},
-      {9, 15, SK_ColorBLACK, false, SK_ColorTRANSPARENT},
-      {0, 0, 0, false, SK_ColorTRANSPARENT}}},
+     {{0, 3, SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThin,
+       SK_ColorTRANSPARENT},
+      {3, 5, SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThin,
+       SK_ColorTRANSPARENT},
+      {5, 9, SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThick,
+       SK_ColorTRANSPARENT},
+      {9, 15, SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThin,
+       SK_ColorTRANSPARENT},
+      {0, 0, 0, ui::ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT}}},
 };
 
 void CompareImeTextSpan(const ImeTextSpan& a, const ui::ImeTextSpan& b) {
   EXPECT_EQ(a.start_offset, b.start_offset);
   EXPECT_EQ(a.end_offset, b.end_offset);
   EXPECT_EQ(a.underline_color, b.underline_color);
-  EXPECT_EQ(a.thick, b.thick);
+  EXPECT_EQ(a.thickness, b.thickness);
   EXPECT_EQ(a.background_color, b.background_color);
 }
 
diff --git a/ui/base/ime/ime_text_span.cc b/ui/base/ime/ime_text_span.cc
index 1ee2876b..489fb5a 100644
--- a/ui/base/ime/ime_text_span.cc
+++ b/ui/base/ime/ime_text_span.cc
@@ -9,24 +9,25 @@
 
 namespace ui {
 
-ImeTextSpan::ImeTextSpan() : ImeTextSpan(0, 0, SK_ColorTRANSPARENT, false) {}
+ImeTextSpan::ImeTextSpan()
+    : ImeTextSpan(0, 0, SK_ColorTRANSPARENT, Thickness::kThin) {}
 
 ImeTextSpan::ImeTextSpan(uint32_t start_offset,
                          uint32_t end_offset,
                          SkColor underline_color,
-                         bool thick)
+                         Thickness thickness)
     : ImeTextSpan(Type::kComposition,
                   start_offset,
                   end_offset,
                   underline_color,
-                  thick,
+                  thickness,
                   SK_ColorTRANSPARENT) {}
 
 ImeTextSpan::ImeTextSpan(Type type,
                          uint32_t start_offset,
                          uint32_t end_offset,
                          SkColor underline_color,
-                         bool thick,
+                         Thickness thickness,
                          SkColor background_color,
                          SkColor suggestion_highlight_color,
                          const std::vector<std::string>& suggestions)
@@ -34,7 +35,7 @@
       start_offset(start_offset),
       end_offset(end_offset),
       underline_color(underline_color),
-      thick(thick),
+      thickness(thickness),
       background_color(background_color),
       suggestion_highlight_color(suggestion_highlight_color),
       suggestions(suggestions) {}
diff --git a/ui/base/ime/ime_text_span.h b/ui/base/ime/ime_text_span.h
index eee554f4..d16ca59 100644
--- a/ui/base/ime/ime_text_span.h
+++ b/ui/base/ime/ime_text_span.h
@@ -31,19 +31,25 @@
     kMisspellingSuggestion,
   };
 
+  enum class Thickness {
+    kNone,
+    kThin,
+    kThick,
+  };
+
   // The default constructor is used by generated Mojo code.
   ImeTextSpan();
   // TODO(huangs): remove this constructor.
   ImeTextSpan(uint32_t start_offset,
               uint32_t end_offset,
               SkColor underline_color,
-              bool thick);
+              Thickness thickness);
   ImeTextSpan(
       Type type,
       uint32_t start_offset,
       uint32_t end_offset,
       SkColor underline_color,
-      bool thick,
+      Thickness thickness,
       SkColor background_color,
       SkColor suggestion_highlight_color = SK_ColorTRANSPARENT,
       const std::vector<std::string>& suggestions = std::vector<std::string>());
@@ -57,7 +63,7 @@
            (this->start_offset == rhs.start_offset) &&
            (this->end_offset == rhs.end_offset) &&
            (this->underline_color == rhs.underline_color) &&
-           (this->thick == rhs.thick) &&
+           (this->thickness == rhs.thickness) &&
            (this->background_color == rhs.background_color) &&
            (this->suggestion_highlight_color ==
             rhs.suggestion_highlight_color) &&
@@ -70,7 +76,7 @@
   uint32_t start_offset;
   uint32_t end_offset;
   SkColor underline_color;
-  bool thick;
+  Thickness thickness;
   SkColor background_color;
   SkColor suggestion_highlight_color;
   std::vector<std::string> suggestions;
diff --git a/ui/base/ime/input_method_chromeos.cc b/ui/base/ime/input_method_chromeos.cc
index fba861c..c1232291 100644
--- a/ui/base/ime/input_method_chromeos.cc
+++ b/ui/base/ime/input_method_chromeos.cc
@@ -704,7 +704,7 @@
       ImeTextSpan ime_text_span(ui::ImeTextSpan::Type::kComposition,
                                 char16_offsets[start], char16_offsets[end],
                                 text_ime_text_spans[i].underline_color,
-                                text_ime_text_spans[i].thick,
+                                text_ime_text_spans[i].thickness,
                                 text_ime_text_spans[i].background_color);
       out_composition->ime_text_spans.push_back(ime_text_span);
     }
@@ -716,7 +716,7 @@
     const uint32_t end = text.selection.end();
     ImeTextSpan ime_text_span(ui::ImeTextSpan::Type::kComposition,
                               char16_offsets[start], char16_offsets[end],
-                              SK_ColorBLACK, true /* thick */,
+                              SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThick,
                               SK_ColorTRANSPARENT);
     out_composition->ime_text_spans.push_back(ime_text_span);
 
@@ -734,9 +734,9 @@
 
   // Use a black thin underline by default.
   if (out_composition->ime_text_spans.empty()) {
-    out_composition->ime_text_spans.push_back(
-        ImeTextSpan(ui::ImeTextSpan::Type::kComposition, 0, length,
-                    SK_ColorBLACK, false /* thick */, SK_ColorTRANSPARENT));
+    out_composition->ime_text_spans.push_back(ImeTextSpan(
+        ui::ImeTextSpan::Type::kComposition, 0, length, SK_ColorBLACK,
+        ui::ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT));
   }
 }
 
diff --git a/ui/base/ime/input_method_chromeos_unittest.cc b/ui/base/ime/input_method_chromeos_unittest.cc
index 6404b30c..5880236d 100644
--- a/ui/base/ime/input_method_chromeos_unittest.cc
+++ b/ui/base/ime/input_method_chromeos_unittest.cc
@@ -534,7 +534,8 @@
   EXPECT_EQ(0UL, composition_text.ime_text_spans[0].start_offset);
   EXPECT_EQ(kSampleAsciiText.size(),
             composition_text.ime_text_spans[0].end_offset);
-  EXPECT_FALSE(composition_text.ime_text_spans[0].thick);
+  EXPECT_EQ(ui::ImeTextSpan::Thickness::kThin,
+            composition_text.ime_text_spans[0].thickness);
 }
 
 TEST_F(InputMethodChromeOSTest, ExtractCompositionTextTest_SingleUnderline) {
@@ -544,7 +545,8 @@
   CompositionText composition_text;
   composition_text.text = kSampleText;
   ImeTextSpan underline(ImeTextSpan::Type::kComposition, 1UL, 4UL,
-                        SK_ColorBLACK, false, SK_ColorTRANSPARENT);
+                        SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThin,
+                        SK_ColorTRANSPARENT);
   composition_text.ime_text_spans.push_back(underline);
 
   CompositionText composition_text2;
@@ -561,7 +563,8 @@
             composition_text2.ime_text_spans[0].end_offset);
   // Single underline represents as black thin line.
   EXPECT_EQ(SK_ColorBLACK, composition_text2.ime_text_spans[0].underline_color);
-  EXPECT_FALSE(composition_text2.ime_text_spans[0].thick);
+  EXPECT_EQ(ui::ImeTextSpan::Thickness::kThin,
+            composition_text2.ime_text_spans[0].thickness);
   EXPECT_EQ(static_cast<SkColor>(SK_ColorTRANSPARENT),
             composition_text2.ime_text_spans[0].background_color);
 }
@@ -573,7 +576,8 @@
   CompositionText composition_text;
   composition_text.text = kSampleText;
   ImeTextSpan underline(ImeTextSpan::Type::kComposition, 1UL, 4UL,
-                        SK_ColorBLACK, true, SK_ColorTRANSPARENT);
+                        SK_ColorBLACK, ui::ImeTextSpan::Thickness::kThick,
+                        SK_ColorTRANSPARENT);
   composition_text.ime_text_spans.push_back(underline);
 
   CompositionText composition_text2;
@@ -590,7 +594,8 @@
             composition_text2.ime_text_spans[0].end_offset);
   // Double underline represents as black thick line.
   EXPECT_EQ(SK_ColorBLACK, composition_text2.ime_text_spans[0].underline_color);
-  EXPECT_TRUE(composition_text2.ime_text_spans[0].thick);
+  EXPECT_EQ(ui::ImeTextSpan::Thickness::kThick,
+            composition_text2.ime_text_spans[0].thickness);
   EXPECT_EQ(static_cast<SkColor>(SK_ColorTRANSPARENT),
             composition_text2.ime_text_spans[0].background_color);
 }
@@ -602,7 +607,7 @@
   CompositionText composition_text;
   composition_text.text = kSampleText;
   ImeTextSpan underline(ImeTextSpan::Type::kComposition, 1UL, 4UL, SK_ColorRED,
-                        false, SK_ColorTRANSPARENT);
+                        ui::ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT);
   composition_text.ime_text_spans.push_back(underline);
 
   CompositionText composition_text2;
@@ -618,7 +623,8 @@
             composition_text2.ime_text_spans[0].end_offset);
   // Error underline represents as red thin line.
   EXPECT_EQ(SK_ColorRED, composition_text2.ime_text_spans[0].underline_color);
-  EXPECT_FALSE(composition_text2.ime_text_spans[0].thick);
+  EXPECT_EQ(ui::ImeTextSpan::Thickness::kThin,
+            composition_text2.ime_text_spans[0].thickness);
 }
 
 TEST_F(InputMethodChromeOSTest, ExtractCompositionTextTest_Selection) {
@@ -642,7 +648,8 @@
   EXPECT_EQ(GetOffsetInUTF16(kSampleText, composition_text.selection.end()),
             composition_text2.ime_text_spans[0].end_offset);
   EXPECT_EQ(SK_ColorBLACK, composition_text2.ime_text_spans[0].underline_color);
-  EXPECT_TRUE(composition_text2.ime_text_spans[0].thick);
+  EXPECT_EQ(ui::ImeTextSpan::Thickness::kThick,
+            composition_text2.ime_text_spans[0].thickness);
   EXPECT_EQ(static_cast<SkColor>(SK_ColorTRANSPARENT),
             composition_text2.ime_text_spans[0].background_color);
 }
@@ -673,7 +680,8 @@
   EXPECT_EQ(GetOffsetInUTF16(kSampleText, composition_text.selection.end()),
             composition_text2.ime_text_spans[0].end_offset);
   EXPECT_EQ(SK_ColorBLACK, composition_text2.ime_text_spans[0].underline_color);
-  EXPECT_TRUE(composition_text2.ime_text_spans[0].thick);
+  EXPECT_EQ(ui::ImeTextSpan::Thickness::kThick,
+            composition_text2.ime_text_spans[0].thickness);
   EXPECT_EQ(static_cast<SkColor>(SK_ColorTRANSPARENT),
             composition_text2.ime_text_spans[0].background_color);
 }
@@ -704,7 +712,8 @@
   EXPECT_EQ(GetOffsetInUTF16(kSampleText, composition_text.selection.end()),
             composition_text2.ime_text_spans[0].end_offset);
   EXPECT_EQ(SK_ColorBLACK, composition_text2.ime_text_spans[0].underline_color);
-  EXPECT_TRUE(composition_text2.ime_text_spans[0].thick);
+  EXPECT_EQ(ui::ImeTextSpan::Thickness::kThick,
+            composition_text2.ime_text_spans[0].thickness);
   EXPECT_EQ(static_cast<SkColor>(SK_ColorTRANSPARENT),
             composition_text2.ime_text_spans[0].background_color);
 }
diff --git a/ui/base/ime/win/imm32_manager.cc b/ui/base/ime/win/imm32_manager.cc
index ed9b186..37ed61a 100644
--- a/ui/base/ime/win/imm32_manager.cc
+++ b/ui/base/ime/win/imm32_manager.cc
@@ -78,13 +78,13 @@
         ime_text_span.start_offset = clause_data[i];
         ime_text_span.end_offset = clause_data[i + 1];
         ime_text_span.underline_color = SK_ColorBLACK;
-        ime_text_span.thick = false;
+        ime_text_span.thickness = ui::ImeTextSpan::Thickness::kThin;
         ime_text_span.background_color = SK_ColorTRANSPARENT;
 
         // Use thick underline for the target clause.
         if (ime_text_span.start_offset >= static_cast<uint32_t>(target_start) &&
             ime_text_span.end_offset <= static_cast<uint32_t>(target_end)) {
-          ime_text_span.thick = true;
+          ime_text_span.thickness = ui::ImeTextSpan::Thickness::kThick;
         }
         ime_text_spans->push_back(ime_text_span);
       }
@@ -335,19 +335,19 @@
   if (target_start > 0) {
     ime_text_span.start_offset = 0U;
     ime_text_span.end_offset = static_cast<uint32_t>(target_start);
-    ime_text_span.thick = false;
+    ime_text_span.thickness = ui::ImeTextSpan::Thickness::kThin;
     composition->ime_text_spans.push_back(ime_text_span);
   }
   if (target_end > target_start) {
     ime_text_span.start_offset = static_cast<uint32_t>(target_start);
     ime_text_span.end_offset = static_cast<uint32_t>(target_end);
-    ime_text_span.thick = true;
+    ime_text_span.thickness = ui::ImeTextSpan::Thickness::kThick;
     composition->ime_text_spans.push_back(ime_text_span);
   }
   if (target_end < length) {
     ime_text_span.start_offset = static_cast<uint32_t>(target_end);
     ime_text_span.end_offset = static_cast<uint32_t>(length);
-    ime_text_span.thick = false;
+    ime_text_span.thickness = ui::ImeTextSpan::Thickness::kThin;
     composition->ime_text_spans.push_back(ime_text_span);
   }
 }
diff --git a/ui/file_manager/file_manager/foreground/js/file_tasks.js b/ui/file_manager/file_manager/foreground/js/file_tasks.js
index 40b2063d..1291e9f 100644
--- a/ui/file_manager/file_manager/foreground/js/file_tasks.js
+++ b/ui/file_manager/file_manager/foreground/js/file_tasks.js
@@ -313,7 +313,7 @@
   '.wma',      '.wmv',         '.xls',
   '.xlsx',     '.crdownload',  '.crx',
   '.dmg',      '.exe',         '.html',
-  'htm',       '.jar',         '.ps',
+  '.htm',      '.jar',         '.ps',
   '.torrent',  '.txt',         '.zip',
   'directory', 'no extension', 'unknown extension',
   '.mhtml'
diff --git a/ui/message_center/views/message_popup_collection.cc b/ui/message_center/views/message_popup_collection.cc
index 8000245..1d15d41c 100644
--- a/ui/message_center/views/message_popup_collection.cc
+++ b/ui/message_center/views/message_popup_collection.cc
@@ -179,7 +179,8 @@
     // Create top-level notification.
     MessageView* view = MessageViewFactory::Create(notification, true);
     observed_views_.Add(view);
-    view->SetExpanded(true);
+    if (!view->IsManuallyExpandedOrCollapsed())
+      view->SetExpanded(view->IsAutoExpandingAllowed());
 
 #if !defined(OS_CHROMEOS)
     view->set_context_menu_controller(context_menu_controller_.get());
diff --git a/ui/message_center/views/message_view.cc b/ui/message_center/views/message_view.cc
index d6692b1..8f5b193f 100644
--- a/ui/message_center/views/message_view.cc
+++ b/ui/message_center/views/message_view.cc
@@ -133,6 +133,11 @@
   return false;
 }
 
+bool MessageView::IsAutoExpandingAllowed() const {
+  // Allowed by default.
+  return true;
+}
+
 bool MessageView::IsManuallyExpandedOrCollapsed() const {
   // Not implemented by default.
   return false;
diff --git a/ui/message_center/views/message_view.h b/ui/message_center/views/message_view.h
index ef1bba6..299f7ad 100644
--- a/ui/message_center/views/message_view.h
+++ b/ui/message_center/views/message_view.h
@@ -62,6 +62,7 @@
 
   virtual void SetExpanded(bool expanded);
   virtual bool IsExpanded() const;
+  virtual bool IsAutoExpandingAllowed() const;
   virtual bool IsManuallyExpandedOrCollapsed() const;
   virtual void SetManuallyExpandedOrCollapsed(bool value);
 
diff --git a/ui/message_center/views/notification_view_md.cc b/ui/message_center/views/notification_view_md.cc
index c891578..2282912 100644
--- a/ui/message_center/views/notification_view_md.cc
+++ b/ui/message_center/views/notification_view_md.cc
@@ -776,6 +776,14 @@
   View::OnMouseEvent(event);
 }
 
+void NotificationViewMD::OnGestureEvent(ui::GestureEvent* event) {
+  if (event->type() == ui::ET_GESTURE_LONG_TAP) {
+    ToggleInlineSettings(*event->AsLocatedEvent());
+    return;
+  }
+  MessageView::OnGestureEvent(event);
+}
+
 void NotificationViewMD::UpdateWithNotification(
     const Notification& notification) {
   MessageView::UpdateWithNotification(notification);
@@ -1353,7 +1361,7 @@
 void NotificationViewMD::AddBackgroundAnimation(const ui::LocatedEvent& event) {
   header_row_->SetSubpixelRenderingEnabled(false);
 
-  SetInkDropMode(InkDropMode::ON);
+  SetInkDropMode(InkDropMode::ON_NO_GESTURE_HANDLER);
 
   // Convert the point of |event| from the coordinate system of
   // |control_buttons_view_| to that of NotificationViewMD, create a new
diff --git a/ui/message_center/views/notification_view_md.h b/ui/message_center/views/notification_view_md.h
index 1c2d39a..b1d0050a 100644
--- a/ui/message_center/views/notification_view_md.h
+++ b/ui/message_center/views/notification_view_md.h
@@ -234,6 +234,7 @@
   gfx::NativeCursor GetCursor(const ui::MouseEvent& event) override;
   bool OnMousePressed(const ui::MouseEvent& event) override;
   void OnMouseEvent(ui::MouseEvent* event) override;
+  void OnGestureEvent(ui::GestureEvent* event) override;
 
   // Overridden from views::InkDropHostView:
   void AddInkDropLayer(ui::Layer* ink_drop_layer) override;
diff --git a/ui/views/cocoa/bridged_content_view.mm b/ui/views/cocoa/bridged_content_view.mm
index 5faee65a..43ca47e3 100644
--- a/ui/views/cocoa/bridged_content_view.mm
+++ b/ui/views/cocoa/bridged_content_view.mm
@@ -1471,9 +1471,9 @@
   // the Chrome renderer. Add code to extract underlines from |text| once our
   // render text implementation supports thick underlines and discontinous
   // underlines for consecutive characters. See http://crbug.com/612675.
-  composition.ime_text_spans.push_back(
-      ui::ImeTextSpan(ui::ImeTextSpan::Type::kComposition, 0, [text length],
-                      SK_ColorBLACK, false, SK_ColorTRANSPARENT));
+  composition.ime_text_spans.push_back(ui::ImeTextSpan(
+      ui::ImeTextSpan::Type::kComposition, 0, [text length], SK_ColorBLACK,
+      ui::ImeTextSpan::Thickness::kThin, SK_ColorTRANSPARENT));
   textInputClient_->SetCompositionText(composition);
   hasUnhandledKeyDownEvent_ = NO;
 }
diff --git a/ui/views/controls/textfield/textfield_model.cc b/ui/views/controls/textfield/textfield_model.cc
index e06e12df..dc64e80 100644
--- a/ui/views/controls/textfield/textfield_model.cc
+++ b/ui/views/controls/textfield/textfield_model.cc
@@ -258,7 +258,7 @@
 gfx::Range GetFirstEmphasizedRange(const ui::CompositionText& composition) {
   for (size_t i = 0; i < composition.ime_text_spans.size(); ++i) {
     const ui::ImeTextSpan& underline = composition.ime_text_spans[i];
-    if (underline.thick)
+    if (underline.thickness == ui::ImeTextSpan::Thickness::kThick)
       return gfx::Range(underline.start_offset, underline.end_offset);
   }
   return gfx::Range::InvalidRange();
diff --git a/ui/views/controls/textfield/textfield_model_unittest.cc b/ui/views/controls/textfield/textfield_model_unittest.cc
index d35aba0..e952dc6 100644
--- a/ui/views/controls/textfield/textfield_model_unittest.cc
+++ b/ui/views/controls/textfield/textfield_model_unittest.cc
@@ -973,7 +973,8 @@
 
   ui::CompositionText composition;
   composition.text = base::ASCIIToUTF16("678");
-  composition.ime_text_spans.push_back(ui::ImeTextSpan(0, 3, 0, false));
+  composition.ime_text_spans.push_back(
+      ui::ImeTextSpan(0, 3, 0, ui::ImeTextSpan::Thickness::kThin));
 
   // Cursor should be at the end of composition when characters are just typed.
   composition.selection = gfx::Range(3, 3);
@@ -988,8 +989,10 @@
   // Restart composition with targeting "67" in "678".
   composition.selection = gfx::Range(1, 3);
   composition.ime_text_spans.clear();
-  composition.ime_text_spans.push_back(ui::ImeTextSpan(0, 2, 0, true));
-  composition.ime_text_spans.push_back(ui::ImeTextSpan(2, 3, 0, false));
+  composition.ime_text_spans.push_back(
+      ui::ImeTextSpan(0, 2, 0, ui::ImeTextSpan::Thickness::kThick));
+  composition.ime_text_spans.push_back(
+      ui::ImeTextSpan(2, 3, 0, ui::ImeTextSpan::Thickness::kThin));
   model.SetCompositionText(composition);
   EXPECT_TRUE(model.HasCompositionText());
   EXPECT_TRUE(model.HasSelection());
@@ -1581,7 +1584,8 @@
 
   ui::CompositionText composition;
   composition.text = base::ASCIIToUTF16("abc");
-  composition.ime_text_spans.push_back(ui::ImeTextSpan(0, 3, 0, false));
+  composition.ime_text_spans.push_back(
+      ui::ImeTextSpan(0, 3, 0, ui::ImeTextSpan::Thickness::kThin));
   composition.selection = gfx::Range(2, 3);
 
   model.SetText(base::ASCIIToUTF16("ABCDE"));
diff --git a/ui/views/controls/tree/tree_view.cc b/ui/views/controls/tree/tree_view.cc
index f570927..da06855 100644
--- a/ui/views/controls/tree/tree_view.cc
+++ b/ui/views/controls/tree/tree_view.cc
@@ -427,8 +427,16 @@
 void TreeView::GetAccessibleNodeData(ui::AXNodeData* node_data) {
   node_data->role = ax::mojom::Role::kTree;
   node_data->SetRestriction(ax::mojom::Restriction::kReadOnly);
-  if (!selected_node_)
+  // TODO(aleventhal): The tree view accessibility implementation is misusing
+  // the name field. It should really be using selection events for the
+  // currently selected item. The name field should be for for the label
+  // if there is one, otherwise something that would work in place of a label.
+  // See http://crbug.com/811277.
+
+  if (!selected_node_) {
+    node_data->SetNameExplicitlyEmpty();
     return;
+  }
 
   // Get selected item info.
   node_data->role = ax::mojom::Role::kTreeItem;