Re: Intent to ship: CSS Variables

2014-03-18 Thread Ehsan Akhgari
On 2014-03-18, 5:26 AM, Cameron McCormack wrote: CSS Variables is a feature that allows authors to define custom properties that cascade and inherit in the same way that regular properties do, and to reference the values of these custom properties in the values of regular properties (and other cu

Re: DXR gets multi-line highlighting

2014-03-18 Thread smaug
On 03/19/2014 12:10 AM, Karl Tomlinson wrote: On Thu, 13 Mar 2014 12:46:14 -0400, Erik Rose wrote: A lot of you have asked for the ability to select and share ranges within source files. Now, thanks to contributor Jamon Carmisso, you can: http://dxr.mozilla.org/mozilla-central/source/content/m

Re: DXR gets multi-line highlighting

2014-03-18 Thread Jamon Camisso
On 03/18/2014 06:10 PM, Karl Tomlinson wrote: > But for links in bugzilla, please link to a page associated with a > particular revision number, or the line numbers can get very out > of date. Unfortunately I'm not aware of multi-line highlighting > on hg.mozilla.org so this becomes something like

Re: DXR gets multi-line highlighting

2014-03-18 Thread Karl Tomlinson
On Thu, 13 Mar 2014 12:46:14 -0400, Erik Rose wrote: > A lot of you have asked for the ability to select and share ranges within > source files. Now, thanks to contributor Jamon Carmisso, you can: > > http://dxr.mozilla.org/mozilla-central/source/content/media/AbstractMediaDecoder.h#7-13 > > As on

PSA: Nightly 31 will become the next ESR

2014-03-18 Thread Chris Peterson
So if you plan to remove any deprecated features or land major refactorings (like reformating all whitespace using using clang-format in bug 966840), Nightly 31 is a good opportunity to do so. Otherwise you will be supporting that code until ESR 31 is EOL'd in August 2015! :) If the whitespace

Re: Intent to ship: DOMRect, DOMPoint, DOMQuad, and GeometryUtils

2014-03-18 Thread Rik Cabanier
Great to see this going in! Hopefully we can make progress on DOMMatrix in the near future so authors can avoid parsing strings with CSS transforms. On Tue, Mar 18, 2014 at 10:02 AM, Robert O'Callahan wrote: > DOMRect, DOMPoint and DOMQuad are defined in the Geometry Interfaces spec: > http://d

Intent to ship: DOMRect, DOMPoint, DOMQuad, and GeometryUtils

2014-03-18 Thread Robert O'Callahan
DOMRect, DOMPoint and DOMQuad are defined in the Geometry Interfaces spec: http://dev.w3.org/fxtf/geometry/Overview.html GeometryUtils is defined in the CSSOM View spec: http://dev.w3.org/csswg/cssom-view/#geometry The spec for the GeometryUtils methods is quite incomplete but we've discussed the s

Re: Please do not add new web-exposed XPCOM objects

2014-03-18 Thread Bobby Holley
On Tue, Mar 18, 2014 at 6:53 AM, Neil wrote: > Let's suppose that I want to provide a global property that provides 5 > functions each with a number of string arguments. (Traditionally this would > be done using a component in the JavaScript global property category.) How > would this way work? (

Re: Please do not add new web-exposed XPCOM objects

2014-03-18 Thread Neil
Boris Zbarsky wrote: On 3/17/14 9:25 AM, Benjamin Smedberg wrote: Do we not have a safe way now to expose objects and functions to pages (all pages or some pages)? We have a way that can be safe as long as you're really careful about some things. e.g. if your API takes options objects, you

Intent to ship: CSS Variables

2014-03-18 Thread Cameron McCormack
CSS Variables is a feature that allows authors to define custom properties that cascade and inherit in the same way that regular properties do, and to reference the values of these custom properties in the values of regular properties (and other custom properties too). http://dev.w3.org/cssw

Re: Please do not add new web-exposed XPCOM objects

2014-03-18 Thread Gabor Krizsanits
> On Mon, Mar 17, 2014 at 10:25 AM, Benjamin Smedberg > wrote: > > > Maybe this means we should consider exposing some kind of structured-clone > > system for calling untrusted code, plus a safer way to call functions which > > may return arbitrary results? > > > > This actually already exists. C