|
Lines 1-3
a/Source/WebCore/ChangeLog_sec1
|
|
|
1 |
2022-03-13 Nikolas Zimmermann <nzimmermann@igalia.com> |
| 2 |
|
| 3 |
[LBSE] Activate SVG transform support through layers |
| 4 |
https://bugs.webkit.org/show_bug.cgi?id=237711 |
| 5 |
|
| 6 |
Reviewed by NOBODY (OOPS!). |
| 7 |
|
| 8 |
Activate transforms for SVG layers. |
| 9 |
|
| 10 |
Use the flag to keep track of the presence of SVG transformations |
| 11 |
on a renderer. CSS/HTML renderers can rely only on the RenderStyle |
| 12 |
to determine if transformations are applied, whereas SVG has to |
| 13 |
consult additional sources, such as the SVG 'transform' attribute. |
| 14 |
|
| 15 |
A SVG renderer with the 'HasSVGTransform' flag set should behave |
| 16 |
like any SVG/HTML renderer that has CSS transformations applied. |
| 17 |
|
| 18 |
With this patch applied SVG transform and CSS transforms can |
| 19 |
be applied to <g> / <rect> elements in LBSE, however transform-origin |
| 20 |
support is not yet correct, this will come up a follow-up patch. |
| 21 |
|
| 22 |
Covered by existing tests, no change in behaviour. |
| 23 |
|
| 24 |
* platform/graphics/transforms/TransformationMatrix.cpp: |
| 25 |
(WebCore::TransformationMatrix::multiplyAffineTransform): |
| 26 |
* platform/graphics/transforms/TransformationMatrix.h: |
| 27 |
* rendering/RenderBox.cpp: |
| 28 |
(WebCore::RenderBox::updateLayerTransform): Deleted. |
| 29 |
* rendering/RenderBox.h: |
| 30 |
* rendering/RenderLayer.cpp: |
| 31 |
(WebCore::canCreateStackingContext): |
| 32 |
(WebCore::updateTransformFromStyle): |
| 33 |
(WebCore::RenderLayer::currentTransform const): |
| 34 |
* rendering/RenderLayerModelObject.cpp: |
| 35 |
(WebCore::RenderLayerModelObject::updateLayerTransform): |
| 36 |
(WebCore::RenderLayerModelObject::applySVGTransform const): |
| 37 |
* rendering/RenderLayerModelObject.h: |
| 38 |
* rendering/RenderObject.cpp: |
| 39 |
(WebCore::RenderObject::setHasSVGTransform): |
| 40 |
* rendering/RenderObject.h: |
| 41 |
(WebCore::RenderObject::hasSVGTransform const): |
| 42 |
(WebCore::RenderObject::hasTransform const): |
| 43 |
* rendering/svg/RenderSVGContainer.cpp: |
| 44 |
(WebCore::SVGLayerTransformUpdater::SVGLayerTransformUpdater): |
| 45 |
(WebCore::SVGLayerTransformUpdater::~SVGLayerTransformUpdater): |
| 46 |
(WebCore::RenderSVGContainer::layout): |
| 47 |
* rendering/svg/RenderSVGContainer.h: |
| 48 |
(WebCore::RenderSVGContainer::updateLayerInformation): Deleted. |
| 49 |
* rendering/svg/RenderSVGModelObject.cpp: |
| 50 |
(WebCore::RenderSVGModelObject::updateFromStyle): |
| 51 |
* rendering/svg/RenderSVGRoot.cpp: |
| 52 |
(WebCore::RenderSVGRoot::updateFromStyle): |
| 53 |
* rendering/svg/RenderSVGShape.cpp: |
| 54 |
(WebCore::RenderSVGShape::layout): |
| 55 |
(WebCore::RenderSVGShape::applyTransform const): |
| 56 |
* rendering/svg/RenderSVGShape.h: |
| 57 |
* rendering/svg/RenderSVGTransformableContainer.cpp: |
| 58 |
(WebCore::RenderSVGTransformableContainer::updateFromStyle): |
| 59 |
(WebCore::RenderSVGTransformableContainer::applyTransform const): |
| 60 |
* svg/SVGGraphicsElement.cpp: |
| 61 |
(WebCore::SVGGraphicsElement::animatedLocalTransform const): |
| 62 |
|
| 1 |
2022-03-13 Nikolas Zimmermann <nzimmermann@igalia.com> |
63 |
2022-03-13 Nikolas Zimmermann <nzimmermann@igalia.com> |
| 2 |
|
64 |
|
| 3 |
Unify reference box / CTM computation in RenderLayer |
65 |
Unify reference box / CTM computation in RenderLayer |