Skip to content

Conversation

@foolip
Copy link
Collaborator

@foolip foolip commented Aug 6, 2018

<dt><dfn attribute for=SpeechSynthesisEvent>charLength</dfn> attribute</dt>
<dd>This attribute indicates the length of the text (word or sentence) that will be spoken corresponding to this event.
This attribute is the length, in characters, starting from this event's {{charIndex}}.
The user agent must return this value if the speech synthesis engine supports it or the user agent can otherwise determine it, otherwise the user agent must return undefined.</dd>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's actually not possible to "return undefined" since the type is unsigned long. This needs to be fixed here, above and below before merging this PR.

Copy link
Contributor

@sjdallst sjdallst Dec 7, 2018

Choose a reason for hiding this comment

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

Undefined seems to make sense. Any object that does not have the attribute that a user asks for will return undefined by default.

@foolip
Copy link
Collaborator Author

foolip commented Aug 6, 2018

I'm just going to leave this PR sitting here until an implementer expresses interest. Then, what's additionally needed to merge it is tests in web-platform-tests.

@foolip
Copy link
Collaborator Author

foolip commented Mar 13, 2019

Superseded by #50.

@foolip foolip closed this Mar 13, 2019
@foolip foolip deleted the SpeechSynthesisEvent-charLength branch March 13, 2019 19:43
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.

2 participants