-
Notifications
You must be signed in to change notification settings - Fork 137
Use DOMPointInit argument for getCharNumAtPosition. #389 #414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See correction comment.
Were you going to change the isPointInStroke/Fill methods, too?
It would be nice to also support an Init
input for the SVGPointList methods, but I think thats too much of a change of behavior at this point.
master/changes.html
Outdated
@@ -541,6 +541,14 @@ <h3 id="text">Text chapter (owner: BogdanBrinza)</h3> | |||
</li> | |||
</ul> | |||
|
|||
<div class='changed-since-cr1'> | |||
<ul> | |||
<li>Specify <a>DOMPointInit</a> as argument type for getComputedTextLength() instead of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong method name
Added requested changes. |
master/definitions.xml
Outdated
<interface name='DOMPointReadOnly' href='https://www.w3.org/TR/2014/WD-geometry-1-20140522/#dom-dompointreadonly'/> | ||
<interface name='SVGPoint' href='https://www.w3.org/TR/2014/CR-geometry-1-20141125/#dom-dompoint'/> | ||
<interface name='DOMPoint' href='https://www.w3.org/TR/2014/CR-geometry-1-20141125/#dom-dompoint'/> | ||
<interface name='DOMPointInit' href='https://www.w3.org/TR/2014/CR-geometry-1-20141125/#dictdef-dompointinit'/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we link to the bare https://www.w3.org/TR/geometry-1/ rather than a specific version that will become stale in time? (not sure what the official policy is on this but it always seems weird to me having links to old versions)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we do it in many places now, I’d assume we should.
ff1e082
to
d22560f
Compare
No description provided.