Skip to content

Use DOMPointInit argument for getCharNumAtPosition. #389 - #414

Merged
dirkschulze merged 3 commits into
masterfrom
DOMPointInit-getCharNumAtPosition
May 1, 2018
Merged

Use DOMPointInit argument for getCharNumAtPosition. #389#414
dirkschulze merged 3 commits into
masterfrom
DOMPointInit-getCharNumAtPosition

Conversation

@dirkschulze

Copy link
Copy Markdown
Contributor

No description provided.

@dirkschulze
dirkschulze requested review from AmeliaBR and dstorey April 15, 2018 05:59

@AmeliaBR AmeliaBR left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread master/changes.html Outdated

<div class='changed-since-cr1'>
<ul>
<li>Specify <a>DOMPointInit</a> as argument type for getComputedTextLength() instead of

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong method name

@dirkschulze

Copy link
Copy Markdown
Contributor Author

Added requested changes.

@dirkschulze

Copy link
Copy Markdown
Contributor Author

@AmeliaBR @dstorey I’ll rebase the patch soon. Could you give your blessing for the change? Got WG approval yesterday.

Comment thread 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'/>

Copy link
Copy Markdown
Member

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)

Copy link
Copy Markdown
Contributor Author

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.

@dirkschulze
dirkschulze force-pushed the DOMPointInit-getCharNumAtPosition branch from ff1e082 to d22560f Compare May 1, 2018 18:50
@dirkschulze
dirkschulze merged commit c5811ea into master May 1, 2018
@dirkschulze
dirkschulze deleted the DOMPointInit-getCharNumAtPosition branch May 1, 2018 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants