Always ApplyStyleChanges::kYes for html root

Even if the ComputedStyle may be the same, propagation changes picked up
from body style, or previously propagated styles from a removed body
element, may still change the LayoutObject's style.

Fixes missing invalidation of cached table borders on LayoutNG table
objects which caused a DCHECK failure.

Bug: 1303287
Change-Id: I5845206081e2fc0efbb35ac94f4f636556747d0a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3525757
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#981617}
diff --git a/css/css-writing-modes/crashtests/table-root-direction-propagation-crash.html b/css/css-writing-modes/crashtests/table-root-direction-propagation-crash.html
new file mode 100644
index 0000000..d723c12
--- /dev/null
+++ b/css/css-writing-modes/crashtests/table-root-direction-propagation-crash.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<link rel="help" href="https://crbug.com/1303287">
+<style>
+  html {
+    display: table;
+    border-right: solid;
+  }
+  head { display: inline; }
+  body { direction: rtl; }
+</style>
+<body></body>
+<script>
+  requestAnimationFrame(() => requestAnimationFrame(() => document.body.remove()));
+</script>