Re: [webkit-dev] Transformation of German "ß" to "SS" and Editing

2011-07-09 Thread Darin Adler
On Jul 8, 2011, at 1:53 PM, Ryosuke Niwa wrote: > I don't fully understand how we're transforming small ß to SS in rendering > engine. The function that does it is RenderText::transformText. It is called in RenderText::setTextInternal but also in RenderText::textWithoutTranscoding. -- Dari

Re: [webkit-dev] Is vendor-prefixing JavaScript APIs a waste of time?

2011-07-09 Thread Darin Fisher
Vendor prefixing has proven to be vital to allowing one vendor to experiment with an idea before it has broad support for implementation by other vendors. It also means that we don't need to have coordination between vendors about release schedules for new APIs. Related to that, it also means tha

Re: [webkit-dev] Is vendor-prefixing JavaScript APIs a waste of time?

2011-07-09 Thread Robin Berjon
On Jul 9, 2011, at 22:46 , Charles Pritchard wrote: > It'd be nice to see a -fast track- decision process which might be tapped > upon for future methods. If the four large vendors agree on a method name > through a fast track process, perhaps devs could skip some vendor prefixing. > > The issue t

Re: [webkit-dev] Is vendor-prefixing JavaScript APIs a waste of time?

2011-07-09 Thread Charles Pritchard
ArrayBuffer has gone [mostly?] without vendor prefixing, CSS transforms and RAF (requestAnimationFrames) went with. createObjectUrl has been touch-and-go. As a dev, I look at RAF and CSS transforms and wonder why vendors couldn't agree to those two ahead of time. Then there is createObjectUrl a

Re: [webkit-dev] Is vendor-prefixing JavaScript APIs a waste of time?

2011-07-09 Thread Ojan Vafai
I share this concern, but I don't think there's anything special here with respect to JavaScript APIs. The same argument applies to how people are often encouraged to use CSS property vendor prefixing. div { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: borde

[webkit-dev] Is vendor-prefixing JavaScript APIs a waste of time?

2011-07-09 Thread Adam Barth
The IE blog has had a couple posts recently about new JavaScript APIs that are vendor prefixed: http://blogs.msdn.com/b/ie/archive/2011/07/05/using-pc-hardware-more-efficiently-in-html5-new-web-performance-apis-part-1.aspx http://blogs.msdn.com/b/ie/archive/2011/07/08/using-pc-hardware-more-effici

Re: [webkit-dev] ImageLoader class

2011-07-09 Thread Sergiy Byelozyorov
Hello, It took me long before I have figured these things on my own. May be this will be useful for someone. > >1. How do I know that the image was loaded already? Can I set up >callback somehow? > > ImageLoader::imageChanged is called whenever new piece of data is decoded (even if this i

Re: [webkit-dev] Mouse event position related to actual element content

2011-07-09 Thread Sergiy Byelozyorov
Hello, After some experimenting I have figured out that computing mouse position relative to the actual content (also ignoring all borders, margins and padding) can be done as following: int innerX = xPos - tx - x(); int innerY = yPos - ty - y(); It has worked for me for a long time already. Ple

[webkit-dev] Creating a new MouseEvent type

2011-07-09 Thread Sergiy Byelozyorov
Dear developers, I am experimenting with a new event type that will contain additional information compared to MouseEvent. In particular since the event is generated for 3D content, there will be 3D hitpoint position and normal. However I am little confused with event generation system and picking