Re: Intent to implement and ship: CSS and SVG filters for canvas 2D

2015-08-24 Thread Tantek Çelik
Just to keep this thread moving forward:

On Tue, Jun 16, 2015 at 2:35 AM, Markus Stange msta...@themasta.com wrote:

 On 2015-06-15 8:15 PM, Robert O'Callahan wrote:

 On Tue, Jun 16, 2015 at 11:23 AM, Robert O'Callahan rob...@ocallahan.org
 
 wrote:

 I think we're not quite there yet, but we're very close. There are two
 things I want before we ship:
 -- Get normative spec text up somewhere.
 -- Get a signal from some other browser vendor that they're OK with this
 feature. That no-one objected in WHATWG is a good sign. I've reached out
 to
 a Blnk danvas dev for a slightly stronger signal.


 I got a reply from that Blink dev saying that they want this feature, want
 to implement it soon, and just need spec text.


We're documenting our spec text for CanvasFilters on the Mozilla wiki for
now:

https://wiki.mozilla.org/CanvasFilters

Please feel free to edit with issues / questions inline.

Thanks!

Tantek
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement and ship: CSS and SVG filters for canvas 2D

2015-06-15 Thread Jet Villegas
!!! \o/ !!!

We'll also post the proposed spec on this wiki page:
https://wiki.mozilla.org/CanvasFilters

--Jet


On Mon, Jun 15, 2015 at 10:15 AM, Markus Stange msta...@themasta.com
wrote:

 Summary: The filter property on CanvasRenderingContext2D allows authors
 to specify a filter that will get applied during canvas drawing. It accepts
 the same values as the CSS filter property, so CSS filter shorthand
 functions, references to SVG filters, and chained combinations of the two.

 Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=927892 and
 https://bugzilla.mozilla.org/show_bug.cgi?id=1173545

 Link to standard: This would be added to the canvas spec. There has been
 some discussion [1] of this feature on the WhatWG mailing list, but no
 actual spec has been written yet.

 Platform coverage: All

 Estimated or target release: Firefox 41 or 42

 Preference behind which this will be implemented:
 This feature has been implemented behind the preference
 canvas.filters.enabled . We are planning to flip this preference to true by
 default in the very near future. The pref flip is being tracked in bug
 1173545.

 [1]
 https://lists.w3.org/Archives/Public/public-whatwg-archive/2014Sep/0110.html
 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Intent to implement and ship: CSS and SVG filters for canvas 2D

2015-06-15 Thread Markus Stange
Summary: The filter property on CanvasRenderingContext2D allows 
authors to specify a filter that will get applied during canvas drawing. 
It accepts the same values as the CSS filter property, so CSS filter 
shorthand functions, references to SVG filters, and chained combinations 
of the two.


Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=927892 and 
https://bugzilla.mozilla.org/show_bug.cgi?id=1173545


Link to standard: This would be added to the canvas spec. There has been 
some discussion [1] of this feature on the WhatWG mailing list, but no 
actual spec has been written yet.


Platform coverage: All

Estimated or target release: Firefox 41 or 42

Preference behind which this will be implemented:
This feature has been implemented behind the preference 
canvas.filters.enabled . We are planning to flip this preference to true 
by default in the very near future. The pref flip is being tracked in 
bug 1173545.


[1] 
https://lists.w3.org/Archives/Public/public-whatwg-archive/2014Sep/0110.html

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement and ship: CSS and SVG filters for canvas 2D

2015-06-15 Thread Rik Cabanier
Great news! I'm super excited to see this go in!

On Mon, Jun 15, 2015 at 10:15 AM, Markus Stange msta...@themasta.com
wrote:

 Summary: The filter property on CanvasRenderingContext2D allows authors
 to specify a filter that will get applied during canvas drawing. It accepts
 the same values as the CSS filter property, so CSS filter shorthand
 functions, references to SVG filters, and chained combinations of the two.

 Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=927892 and
 https://bugzilla.mozilla.org/show_bug.cgi?id=1173545

 Link to standard: This would be added to the canvas spec. There has been
 some discussion [1] of this feature on the WhatWG mailing list, but no
 actual spec has been written yet.

 Platform coverage: All

 Estimated or target release: Firefox 41 or 42

 Preference behind which this will be implemented:
 This feature has been implemented behind the preference
 canvas.filters.enabled . We are planning to flip this preference to true by
 default in the very near future. The pref flip is being tracked in bug
 1173545.

 [1]
 https://lists.w3.org/Archives/Public/public-whatwg-archive/2014Sep/0110.html
 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement and ship: CSS and SVG filters for canvas 2D

2015-06-15 Thread Xidorn Quan
On Tue, Jun 16, 2015 at 3:15 AM, Markus Stange msta...@themasta.com wrote:

 Summary: The filter property on CanvasRenderingContext2D allows authors
 to specify a filter that will get applied during canvas drawing. It accepts
 the same values as the CSS filter property, so CSS filter shorthand
 functions, references to SVG filters, and chained combinations of the two.


Is there any signal from other browser vendors? It seems to me that only
Adobe and us took part in this discussion.

I tend to vote against shipping this feature at present, as far as no spec
is written, and no other browser vendors agree with it yet. I think it
violates our guidelines. [1]

[1]
https://wiki.mozilla.org/WebAPI/ExposureGuidelines#When_is_an_API_ready_to_be_shipped_by_Gecko.3F

- Xidorn
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement and ship: CSS and SVG filters for canvas 2D

2015-06-15 Thread Jet Villegas
Markus, Tobias, and Tantek will update the wiki page with our proposed
normative text.

Our key use case here is Shumway, where graphics filter implementations in
JS code have not (yet) been able to offer acceptable performance
characteristics in Canvas2D. We've proven that it's polyfillable in other
browsers, though with the performance characteristics already mentioned.
Because of the Shumway dependency, we'll ship it even if we have to call it
mozCanvasFilters or hide it behind a Shumway pref--do you have a preference
on this?

I'd rather not hide the feature as I believe it's useful for the Web at
large, especially for applications currently using the Flash Player for
filter effects.

--Jet

On Mon, Jun 15, 2015 at 4:05 PM, Xidorn Quan quanxunz...@gmail.com wrote:

 On Tue, Jun 16, 2015 at 3:15 AM, Markus Stange msta...@themasta.com
 wrote:

  Summary: The filter property on CanvasRenderingContext2D allows authors
  to specify a filter that will get applied during canvas drawing. It
 accepts
  the same values as the CSS filter property, so CSS filter shorthand
  functions, references to SVG filters, and chained combinations of the
 two.
 

 Is there any signal from other browser vendors? It seems to me that only
 Adobe and us took part in this discussion.

 I tend to vote against shipping this feature at present, as far as no spec
 is written, and no other browser vendors agree with it yet. I think it
 violates our guidelines. [1]

 [1]

 https://wiki.mozilla.org/WebAPI/ExposureGuidelines#When_is_an_API_ready_to_be_shipped_by_Gecko.3F

 - Xidorn
 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement and ship: CSS and SVG filters for canvas 2D

2015-06-15 Thread Robert O'Callahan
On Tue, Jun 16, 2015 at 11:05 AM, Xidorn Quan quanxunz...@gmail.com wrote:

 On Tue, Jun 16, 2015 at 3:15 AM, Markus Stange msta...@themasta.com
 wrote:

  Summary: The filter property on CanvasRenderingContext2D allows authors
  to specify a filter that will get applied during canvas drawing. It
 accepts
  the same values as the CSS filter property, so CSS filter shorthand
  functions, references to SVG filters, and chained combinations of the
 two.
 

 Is there any signal from other browser vendors? It seems to me that only
 Adobe and us took part in this discussion.

 I tend to vote against shipping this feature at present, as far as no spec
 is written, and no other browser vendors agree with it yet. I think it
 violates our guidelines. [1]

 [1]

 https://wiki.mozilla.org/WebAPI/ExposureGuidelines#When_is_an_API_ready_to_be_shipped_by_Gecko.3F


I think we're not quite there yet, but we're very close. There are two
things I want before we ship:
-- Get normative spec text up somewhere.
-- Get a signal from some other browser vendor that they're OK with this
feature. That no-one objected in WHATWG is a good sign. I've reached out to
a Blnk danvas dev for a slightly stronger signal.

Rob
-- 
oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo
owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo
osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo
owohooo
osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o
oioso
oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo
owohooo
osoaoyoso,o o‘oYooouo ofolo!o’o owoiololo oboeo oiono odoaonogoeoro
ooofo
otohoeo ofoioroeo ooofo ohoeololo.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement and ship: CSS and SVG filters for canvas 2D

2015-06-15 Thread Xidorn Quan
On Tue, Jun 16, 2015 at 9:23 AM, Robert O'Callahan rob...@ocallahan.org
wrote:


 On Tue, Jun 16, 2015 at 11:05 AM, Xidorn Quan quanxunz...@gmail.com
 wrote:

 On Tue, Jun 16, 2015 at 3:15 AM, Markus Stange msta...@themasta.com
 wrote:

  Summary: The filter property on CanvasRenderingContext2D allows
 authors
  to specify a filter that will get applied during canvas drawing. It
 accepts
  the same values as the CSS filter property, so CSS filter shorthand
  functions, references to SVG filters, and chained combinations of the
 two.
 

 Is there any signal from other browser vendors? It seems to me that only
 Adobe and us took part in this discussion.

 I tend to vote against shipping this feature at present, as far as no spec
 is written, and no other browser vendors agree with it yet. I think it
 violates our guidelines. [1]

 [1]

 https://wiki.mozilla.org/WebAPI/ExposureGuidelines#When_is_an_API_ready_to_be_shipped_by_Gecko.3F


 I think we're not quite there yet, but we're very close. There are two
 things I want before we ship:
 -- Get normative spec text up somewhere.
 -- Get a signal from some other browser vendor that they're OK with this
 feature. That no-one objected in WHATWG is a good sign. I've reached out to
 a Blnk danvas dev for a slightly stronger signal.


Yeah, those are things I want as well. Once we get them, I think it's fine
to ship.

- Xidorn
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement and ship: CSS and SVG filters for canvas 2D

2015-06-15 Thread Robert O'Callahan
On Tue, Jun 16, 2015 at 11:23 AM, Robert O'Callahan rob...@ocallahan.org
wrote:

 I think we're not quite there yet, but we're very close. There are two
 things I want before we ship:
 -- Get normative spec text up somewhere.
 -- Get a signal from some other browser vendor that they're OK with this
 feature. That no-one objected in WHATWG is a good sign. I've reached out to
 a Blnk danvas dev for a slightly stronger signal.


I got a reply from that Blink dev saying that they want this feature, want
to implement it soon, and just need spec text.

Rob
-- 
oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo
owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo
osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo
owohooo
osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o
oioso
oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo
owohooo
osoaoyoso,o o‘oYooouo ofolo!o’o owoiololo oboeo oiono odoaonogoeoro
ooofo
otohoeo ofoioroeo ooofo ohoeololo.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement and ship: CSS and SVG filters for canvas 2D

2015-06-15 Thread Markus Stange

On 2015-06-15 8:15 PM, Robert O'Callahan wrote:

On Tue, Jun 16, 2015 at 11:23 AM, Robert O'Callahan rob...@ocallahan.org
wrote:


I think we're not quite there yet, but we're very close. There are two
things I want before we ship:
-- Get normative spec text up somewhere.
-- Get a signal from some other browser vendor that they're OK with this
feature. That no-one objected in WHATWG is a good sign. I've reached out to
a Blnk danvas dev for a slightly stronger signal.



I got a reply from that Blink dev saying that they want this feature, want
to implement it soon, and just need spec text.


That's great news, thanks for asking them!

Markus
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform