• Fredrik Söderquist's avatar
    [PE] SVG <use> 'x' and 'y' are presentation attributes · 6ea24ace
    Fredrik Söderquist authored
    'x' and 'y' were turned into presentation attributes in
    https://codereview.chromium.org/896773002 (r190180), but the property
    values were not actually applied.
    Apply the property values from ComputedStyle, cleaning up the
    surrounding code a bit in the process by moving the "is a <use> element"
    check into a method. Also fix the FIXME in SVGUseElement::ToClipPath by
    using the computed transform from the LayoutObject, rather than
    "manually" recomputing it. This code-path should already require a
    LayoutObject for the element in question.
    
    Bug: 400725, 697052
    Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
    Change-Id: Iff261e468c4476cfb98efbadd6989ada027e47ab
    Reviewed-on: https://chromium-review.googlesource.com/829314Reviewed-by: default avatarStephen Chenney <schenney@chromium.org>
    Commit-Queue: Fredrik Söderquist <fs@opera.com>
    Cr-Commit-Position: refs/heads/master@{#524385}
    6ea24ace
use-xy-property-mutation.html 405 Bytes