Bug 191376 - [SVG2]: Remove the interface SVGPoint
Summary: [SVG2]: Remove the interface SVGPoint
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords:
Depends on: 202479
Blocks: 191292
  Show dependency treegraph
 
Reported: 2018-11-07 09:36 PST by Said Abou-Hallawa
Modified: 2019-10-14 13:36 PDT (History)
18 users (show)

See Also:


Attachments
Patch (154.45 KB, patch)
2019-10-07 17:18 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Patch (156.34 KB, patch)
2019-10-08 00:14 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Patch (156.85 KB, patch)
2019-10-08 00:41 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Patch (221.71 KB, patch)
2019-10-09 10:40 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Patch (221.66 KB, patch)
2019-10-09 14:53 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2018-11-07 09:36:59 PST
This will affect the interface SVGPointList. Instead of handling items of type SVGPoint, it will handle items of type DOMPoint.

The specs page is: https://www.w3.org/TR/SVG2/shapes.html#InterfaceSVGPointList

Also this functions will return DOMPoint instead of returning SVGPoint:

SVGGeometryElement::getPointAtLength()
SVGSVGElement::createSVGPoint()
SVGTextContentElement::getStartPositionOfChar()
SVGTextContentElement::getEndPositionOfChar()
Comment 1 Said Abou-Hallawa 2019-07-16 15:44:53 PDT
WPT failing test: http://w3c-test.org/svg/types/elements/SVGGeometryElement-rect.svg
Comment 2 Said Abou-Hallawa 2019-10-07 17:18:46 PDT
Created attachment 380375 [details]
Patch
Comment 3 Said Abou-Hallawa 2019-10-08 00:14:59 PDT
Created attachment 380406 [details]
Patch
Comment 4 Said Abou-Hallawa 2019-10-08 00:41:02 PDT
Created attachment 380411 [details]
Patch
Comment 5 Said Abou-Hallawa 2019-10-09 10:40:07 PDT
Created attachment 380542 [details]
Patch
Comment 6 Said Abou-Hallawa 2019-10-09 14:53:57 PDT
Created attachment 380574 [details]
Patch
Comment 7 Said Abou-Hallawa 2019-10-14 13:36:30 PDT
A GitHub discussion about this topic is here: https://github.com/w3c/svgwg/issues/706.