Always propagate direction and writing-mode from <body>.

Even though the specification says that direction/writing-mode are *not* to
be propagated from <body>, all major browsers currently do this.

In Blink, when opposing direction/writing-modes are explicitly set on both the
root element and <body>, the direction/writing-mode of the root element is
propagated to the view, ignoring what is specified on <body>. This is different
from Firefox and IE, where the direction/writing-mode is always propagated from
the computed style of <body>.

This patch aligns Blink's behavior to that of Firefox and IE, such that
we always propagate from <body>.

R=rune@opera.com

Review URL: https://codereview.chromium.org/758073003

git-svn-id: svn://svn.chromium.org/blink/trunk@186115 bbb929c8-8fbe-4397-9dbb-9b2b20218538
31 files changed
tree: 865e9483f9668432fed4d358cab299b4f39978b9
  1. third_party/