1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:07:34 +00:00

LibWeb: Honor the opacity attribute on SVG graphics elements

This is simply converted to an equivalent CSS `opacity` property value.
This commit is contained in:
Andreas Kling 2023-06-20 12:57:54 +02:00
parent da48238fbd
commit 55c1d8ba29
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2021-2023, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@ -49,6 +49,7 @@ namespace Web::SVG::AttributeNames {
E(maskUnits) \
E(numOctaves) \
E(offset) \
E(opacity) \
E(pathLength) \
E(patternContentUnits) \
E(patternTransform) \