[svg2] Make 'x' and 'y' presentation attributes

The following elements' x and y attributes have been made
into presentation attributes:

* foreignObject
* image
* mask
* pattern
* rect
* svg
* use

The cursor, filter, all the filter primitive elements, text,
tspan and textPath elements have been excluded for now.

This is a partial merge of Dirk Schulze's WebKit patch
http://trac.webkit.org/changeset/171591.

This patch avoids reparsing the attribute values when they
are added to the presentation style, which was one of the
leading reasons for the slowness seen in bug 369942.

BUG=400725

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

git-svn-id: svn://svn.chromium.org/blink/trunk@190180 bbb929c8-8fbe-4397-9dbb-9b2b20218538
47 files changed
tree: 48d060040c5e02422580fd376a8f2af44b3079cf
  1. third_party/