commit | f72170ee0164e5d4bcf14551603907ffafd969f1 | [log] [tgz] |
---|---|---|
author | fs <fs@opera.com> | Tue Nov 29 09:20:57 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Nov 29 09:23:41 2016 |
tree | 60033b8f92fc1a415a22d793d3150992599ba61f | |
parent | 9cea744e442147ca0d9a7541ed7e79378aa0c9b6 [diff] |
Make 'transform' a presentation attribute on SVG elements This makes 'transform', 'gradientTransform' and 'patternTransform' presentation attributes on SVGGraphicsElements, SVGGradientElements and SVGPatternElements respectively. Spec: http://www.w3.org/TR/css3-transforms/#svg-transform http://www.w3.org/TR/css3-transforms/#svg-syntax http://www.w3.org/TR/css3-transforms/#svg-gradient-transform-pattern-transform Salvaged from https://codereview.chromium.org/423093014, but takes a different approach to bridge the syntax gap and avoid crbug.com/577219. The strategy taken here is to use the SVGTransformList to generate a CSSValue for the presentation attribute style, and hence postponing both support for the full transform syntax and a way around the bug mentioned above. Essentially softening the blow. These two "features" are expected to be implemented eventually, so this is just a "first step". BUG=369942 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2478233002 Cr-Commit-Position: refs/heads/master@{#434934}