Let StyleResolver figure out differences between UA style and resolved style.

We currently pass a CachedUAStyle out of StyleResolver and let LayoutTheme
figure out the background/border differences between UA style, and the
fully resolved style. This is not ideal, because it requires the diffing
to take place in a specific way, making it hard to make changes to how
the diff is produced.

This patch passes an object UAStyleChange to LayoutTheme, pre-filled with
the result of the diff.

R=timloh@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@189912 bbb929c8-8fbe-4397-9dbb-9b2b20218538
10 files changed
tree: 9ac27c2a5c4a03fec3afdd715933db9e1935cf82
  1. third_party/