Re: [webkit-dev] Enabling Experimental Features

2013-04-23 Thread Bear Travis
Thanks for your feedback everyone.

I have filed a bug to track this issue
https://bugs.webkit.org/show_bug.cgi?id=115059


And will do some further investigation into how best to make it happen.

-Bear

On 4/22/13 12:33 PM, Eric Seidel e...@webkit.org wrote:

FWIW, Blink is going through this right now too.  We're attempting to
move completely away from prefixed development:
http://www.chromium.org/blink#vendor-prefixes

To do that, that requires making it possible enable/disable CSS
properties at runtime:
https://code.google.com/p/chromium/issues/detail?id=232181
https://code.google.com/p/chromium/issues/detail?id=234270

Perhaps this is another opportunity for the two code bases to learn
from one another as we both implement solutions to this.

On Mon, Apr 22, 2013 at 9:32 AM, Simon Fraser simon.fra...@apple.com
wrote:
 On Apr 20, 2013, at 10:03 AM, Maciej Stachowiak m...@apple.com wrote:

 On Apr 19, 2013, at 3:50 PM, Timothy Hatcher timo...@apple.com wrote:

 On Apr 19, 2013, at 6:15 PM, Bear Travis betra...@adobe.com wrote:

 What do folks think about adding a mechanism for users to toggle
features
 like this on in WebKit nightlies? I don't have a definite approach yet,
but
 wanted to float the idea for feedback.


 I like the idea. Having things off for everyone but the engineers is a
bad
 approach and misses out on testing.

 We could have WebKit modify Safari's Develop menu to provide additional
 items to toggle. Safari provides an Enable WebGL item, we could inject
 more items next to it.


 On Mac, we could at the very last use 'defaults write' to toggle
 experimental runtime-enabled features.


 One problem is that most CSS-exposed experimental features are not
 runtime-switchable. We'd have to do a bunch of work in the parser and
style
 resolver to make this possible.

 Simon


 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 https://lists.webkit.org/mailman/listinfo/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Enabling Experimental Features

2013-04-22 Thread Simon Fraser
On Apr 20, 2013, at 10:03 AM, Maciej Stachowiak m...@apple.com wrote:

 On Apr 19, 2013, at 3:50 PM, Timothy Hatcher timo...@apple.com wrote:
 
 On Apr 19, 2013, at 6:15 PM, Bear Travis betra...@adobe.com wrote:
 
 What do folks think about adding a mechanism for users to toggle features 
 like this on in WebKit nightlies? I don't have a definite approach yet, but 
 wanted to float the idea for feedback.
 
 I like the idea. Having things off for everyone but the engineers is a bad 
 approach and misses out on testing.
 
 We could have WebKit modify Safari's Develop menu to provide additional 
 items to toggle. Safari provides an Enable WebGL item, we could inject 
 more items next to it.
 
 On Mac, we could at the very last use 'defaults write' to toggle experimental 
 runtime-enabled features.

One problem is that most CSS-exposed experimental features are not 
runtime-switchable. We'd have to do a bunch of work in the parser and style 
resolver to make this possible.

Simon

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Enabling Experimental Features

2013-04-22 Thread Dirk Schulze

On Apr 22, 2013, at 9:32 AM, Simon Fraser simon.fra...@apple.com wrote:

 On Apr 20, 2013, at 10:03 AM, Maciej Stachowiak m...@apple.com wrote:
 
 On Apr 19, 2013, at 3:50 PM, Timothy Hatcher timo...@apple.com wrote:
 
 On Apr 19, 2013, at 6:15 PM, Bear Travis betra...@adobe.com wrote:
 
 What do folks think about adding a mechanism for users to toggle features 
 like this on in WebKit nightlies? I don't have a definite approach yet, 
 but wanted to float the idea for feedback.
 
 I like the idea. Having things off for everyone but the engineers is a bad 
 approach and misses out on testing.
 
 We could have WebKit modify Safari's Develop menu to provide additional 
 items to toggle. Safari provides an Enable WebGL item, we could inject 
 more items next to it.
 
 On Mac, we could at the very last use 'defaults write' to toggle 
 experimental runtime-enabled features.
 
 One problem is that most CSS-exposed experimental features are not 
 runtime-switchable. We'd have to do a bunch of work in the parser and style 
 resolver to make this possible.

I think it is worth it to do that. Not just because of CSS Exclusions, but for 
future properties as well. 

Greetings,
Dirk

 Simon
 
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 https://lists.webkit.org/mailman/listinfo/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Enabling Experimental Features

2013-04-22 Thread Eric Seidel
FWIW, Blink is going through this right now too.  We're attempting to
move completely away from prefixed development:
http://www.chromium.org/blink#vendor-prefixes

To do that, that requires making it possible enable/disable CSS
properties at runtime:
https://code.google.com/p/chromium/issues/detail?id=232181
https://code.google.com/p/chromium/issues/detail?id=234270

Perhaps this is another opportunity for the two code bases to learn
from one another as we both implement solutions to this.

On Mon, Apr 22, 2013 at 9:32 AM, Simon Fraser simon.fra...@apple.com wrote:
 On Apr 20, 2013, at 10:03 AM, Maciej Stachowiak m...@apple.com wrote:

 On Apr 19, 2013, at 3:50 PM, Timothy Hatcher timo...@apple.com wrote:

 On Apr 19, 2013, at 6:15 PM, Bear Travis betra...@adobe.com wrote:

 What do folks think about adding a mechanism for users to toggle features
 like this on in WebKit nightlies? I don't have a definite approach yet, but
 wanted to float the idea for feedback.


 I like the idea. Having things off for everyone but the engineers is a bad
 approach and misses out on testing.

 We could have WebKit modify Safari's Develop menu to provide additional
 items to toggle. Safari provides an Enable WebGL item, we could inject
 more items next to it.


 On Mac, we could at the very last use 'defaults write' to toggle
 experimental runtime-enabled features.


 One problem is that most CSS-exposed experimental features are not
 runtime-switchable. We'd have to do a bunch of work in the parser and style
 resolver to make this possible.

 Simon


 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 https://lists.webkit.org/mailman/listinfo/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Enabling Experimental Features

2013-04-20 Thread Maciej Stachowiak

On Apr 19, 2013, at 3:50 PM, Timothy Hatcher timo...@apple.com wrote:

 
 On Apr 19, 2013, at 6:15 PM, Bear Travis betra...@adobe.com wrote:
 
 What do folks think about adding a mechanism for users to toggle features 
 like this on in WebKit nightlies? I don't have a definite approach yet, but 
 wanted to float the idea for feedback.
 
 I like the idea. Having things off for everyone but the engineers is a bad 
 approach and misses out on testing.
 
 We could have WebKit modify Safari's Develop menu to provide additional items 
 to toggle. Safari provides an Enable WebGL item, we could inject more items 
 next to it.

On Mac, we could at the very last use 'defaults write' to toggle experimental 
runtime-enabled features.

Regards,
Maciej

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Enabling Experimental Features

2013-04-19 Thread Bear Travis
Hello WebKit,

Recently, I've been thinking that it would be great to be able to enable 
experimental features in the WebKit nightlies. It seems like it would be 
valuable for folks using the nightlies to have the ability to opt-in and 
test-drive new features that are not yet shipping by default.

For example, a couple folks at Adobe have been working on the CSS Exclusions 
and Shapes specification [1]. There is some experimental functionality that is 
currently turned off by default, and toggled on for testing via 
bindings/generic/RuntimeEnabledFeatures.

What do folks think about adding a mechanism for users to toggle features like 
this on in WebKit nightlies? I don't have a definite approach yet, but wanted 
to float the idea for feedback.

-Bear Travis

[1] http://dev.w3.org/csswg/css-exclusions/

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Enabling Experimental Features

2013-04-19 Thread Timothy Hatcher

On Apr 19, 2013, at 6:15 PM, Bear Travis betra...@adobe.com wrote:

 What do folks think about adding a mechanism for users to toggle features 
 like this on in WebKit nightlies? I don't have a definite approach yet, but 
 wanted to float the idea for feedback.

I like the idea. Having things off for everyone but the engineers is a bad 
approach and misses out on testing.

We could have WebKit modify Safari's Develop menu to provide additional items 
to toggle. Safari provides an Enable WebGL item, we could inject more items 
next to it.

— Timothy Hatcher

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev