New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 692639 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Blocking:
issue 674593


Show other hotlists

Hotlists containing this issue:
Non-Standard-IDL


Sign in to add a comment

Standardize StaticRange#collapsed

Project Member Reported by lunalu@chromium.org, Feb 15 2017

Issue description

I didn't see a link to the spec for StaticRange.idl in Blink, and I couldn't find any spec. Should we file a spec change?

I see both Blink and Gecko have StaticRange#collapsed. Should we try to standardize it? 
 

Comment 1 by lunalu@chromium.org, Feb 15 2017

Sorry, my bad. I did manage to find a link to "dictionary StaticRange" here: https://w3c.github.io/input-events/#dom-staticrange

But in Blink we have an interface instead of dictionary. 

Comment 2 by lunalu@chromium.org, Feb 15 2017

Also API toRange should be standardized once StaticRange is standardized.

Comment 3 by tkent@chromium.org, Feb 17 2017

Components: -Blink>DOM Blink>Input
Labels: Hotlist-Input-Dev
Owner: chongz@chromium.org
Status: Assigned (was: Untriaged)

Comment 5 by chongz@chromium.org, Feb 21 2017

Hi lunalu@, thanks for the report! I'm not aware that Gecko has implemented StaticRange and I cannot find through their code search, can you point me to where it is?

Thanks!

Comment 6 by lunalu@chromium.org, Feb 21 2017

Sorry, my bad. The previous comment was a typo. WebKit has it:
https://github.com/WebKit/webkit/blob/1bfaaab3e7bf61dcad32c44a1399914987f9018f/Source/WebCore/dom/StaticRange.idl

Comment 7 by chongz@chromium.org, Feb 27 2017

Cc: garykac@chromium.org
Labels: OS-All
garykac@ is working on the spec, see
https://github.com/w3c/input-events/issues/38#issuecomment-281710402
Cc: foolip@chromium.org
Labels: M-59
Status: Fixed (was: Assigned)
StaticRange#toRange has been removed from Spec and Blink; StaticRange#collapsed has been standardized. Also see  issue 707913 .

Spec:
https://w3c.github.io/staticrange/index.html#interface-staticrange

Sign in to add a comment