Bug 40263 - Add support for CSS Haptic properties
Summary: Add support for CSS Haptic properties
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-07 13:53 PDT by Kim Grönholm
Modified: 2011-03-03 11:30 PST (History)
13 users (show)

See Also:


Attachments
Adds CSS Haptic properties and values (8.25 KB, patch)
2010-06-07 14:33 PDT, Kim Grönholm
no flags Details | Formatted Diff | Diff
Adds CSS haptic properties and values (13.92 KB, patch)
2010-06-08 12:02 PDT, Kim Grönholm
eric: review-
Details | Formatted Diff | Diff
Adds CSS haptic properties and values (13.99 KB, patch)
2010-06-14 22:09 PDT, Kim Grönholm
kenneth: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Grönholm 2010-06-07 13:53:52 PDT
Haptics is technology to apply tactile feedback to user's sense of touch
to emulate natural feel as feedback to an action
(http://en.wikipedia.org/wiki/Haptic_technology). With touch UI, the
simplest use of haptics is to provide sensory feedback with vibra when
clicking a link or pressing a button. Technologies are available to
simulate more realistic feel of physical keys or buttons.

On a mobile touch device, the user experience can be significantly
improved by using haptic feedback. Haptic feedback is commonly
implemented to predefined HTML components like <button>, but the
challenge for a web developer is that there is no way to apply haptics
to custom javascript components. Implementing feedback through a simple
javascript api is challenging as the feedback needs to be instantaneous
with substantially less than 100ms delay.

For a web developer, CSS is the most straightforward way to implement custom
javascript components with tactile feedback. For this we need to add support
for simple CSS haptic properties.
Comment 1 Kim Grönholm 2010-06-07 14:33:07 PDT
Created attachment 58087 [details]
Adds CSS Haptic properties and values
Comment 2 Kim Grönholm 2010-06-08 12:02:43 PDT
Created attachment 58166 [details]
Adds CSS haptic properties and values

Updated patch with necessary interfaces
Comment 3 Eric Seidel (no email) 2010-06-12 19:08:26 PDT
What spec covers this?
Comment 4 Eric Seidel (no email) 2010-06-12 19:08:54 PDT
Comment on attachment 58166 [details]
Adds CSS haptic properties and values

Please link to the spec you're implementing in the ChangeLog.
Comment 5 Kim Grönholm 2010-06-14 22:09:46 PDT
Created attachment 58752 [details]
 Adds CSS haptic properties and values

Added a link to the Haptics CSS specification to the Changelog.

The specification can be found from:
http://portaali.org/~ilkkao/w3c/CSS/css3-haptics.html
Comment 6 Kenneth Rohde Christiansen 2010-06-15 05:02:00 PDT
Comment on attachment 58752 [details]
 Adds CSS haptic properties and values

Given the comments on the www-style mailing list, I am not sure we should let this in the tree in it's current form.
Comment 7 Simon Fraser (smfr) 2010-06-22 08:30:27 PDT
I agree with Kenneth. If Nokia need this, they should keep this in their own source tree for now.
Comment 8 Dave Hyatt 2010-06-22 11:08:01 PDT
I agree.  The comments from www-style imply that this is unlikely to survive in this current form.  It's just going to change too much.
Comment 9 Ademar Reis 2011-03-03 11:23:21 PST
No need to block bug 32653 anymore, as haptics support has been reverted from 2.1
Comment 10 Simon Fraser (smfr) 2011-03-03 11:28:10 PST
Should we Resolve WONTFIX then?
Comment 11 Kenneth Rohde Christiansen 2011-03-03 11:30:31 PST
(In reply to comment #10)
> Should we Resolve WONTFIX then?

I would be fully OK with that.