[Webkit-unassigned] [Bug 186751] New: Remove the SVG elements' attributes macros
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jun 17 18:50:06 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=186751
Bug ID: 186751
Summary: Remove the SVG elements' attributes macros
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sabouhallawa at apple.com
CC: zimmermann at kde.org
Each SVG element has to define its attributes via a set of macros. These macros, define the class member, the setter, the getter and the tear-off object creator. These set of macros have the following problems:
-- There is no way to debug through these macros.
-- The type of the the attributes' owner is not strongly typed. See the casting in SVGAnimatedPropertyMacros.h.
-- There is no actual inheritance between the C++ classes. For example SVGRectElement and SVGCircle both inherit SVGExternalResourcesRequired but they both have to hold a member named m_externalResourcesRequired.
-- Customizing the synchroniable attributes are awkward. See customizing m_orientType in SVGMarkerElement and m_textLength in SVGTextContentElement.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180618/c6e3c3a9/attachment.html>
More information about the webkit-unassigned
mailing list