Re: Intent to implement: CSS text-justify property

2017-02-08 Thread Jeremy Chen
CSS Text Module Level 3 is listed as an upcoming CR in [1]. IIRC, the wiki page [1] was updated at (or right after) a meeting in MozHawaii. [1] https://wiki.mozilla.org/CSS#Upcoming_CRs -Jeremy 2017-02-09 0:28 GMT+08:00 Boris Zbarsky : > On 2/8/17 5:08 AM, Jeremy Chen wrote: > >> Link to stand

ExposureGuidelines updated (was Re: Intent to implement: CSS text-justify property)

2017-02-08 Thread Kan-Ru Chen
On Thu, Feb 9, 2017, at 12:28 AM, Boris Zbarsky wrote: > On 2/8/17 5:08 AM, Jeremy Chen wrote: > > Link to standard: https://drafts.csswg.org/css-text-3/#text-justify-property > > How stable is this spec? > > Note that even if it's unstable that shouldn't stop us implementing; > that mostly affe

Re: Changing the representation of rectangles in platform code

2017-02-08 Thread Mats Palmgren
On 02/09/2017 03:26 AM, Botond Ballo wrote: As far as I can tell, ISize and BSize are methods on mozilla::LogicalRect, which does not derive from BaseRect, and as such would not be affected. Here's LogicalRect::ISize(): https://dxr.mozilla.org/mozilla-central/rev/5e17f9181c6cb0968966280d1c1d96e

Re: Changing the representation of rectangles in platform code

2017-02-08 Thread Botond Ballo
>> - Replace direct accesses to the 'width' and 'height' fields >> throughout the codebase with calls to getter and setter methods. (There >> aren't that many - on the order of a few dozen, last I checked.) > > I think you must have made a mistake, width/height and *Size things > are used in a gazi

Re: Changing the representation of rectangles in platform code

2017-02-08 Thread David Major
Is there a specific problem that's being solved by this proposal? It would be helpful to make this a bit more concrete, like "these benchmarks go x% faster", or "here's a list of overflow bugs that will just vanish", or "here's some upcoming work that this would facilitate". On Thu, Feb 9, 2017 at

Re: Changing the representation of rectangles in platform code

2017-02-08 Thread Mats Palmgren
On 02/09/2017 01:56 AM, Botond Ballo wrote: - Replace direct accesses to the 'width' and 'height' fields throughout the codebase with calls to getter and setter methods. (There aren't that many - on the order of a few dozen, last I checked.) I think you must have made a mistake, width/height an

Changing the representation of rectangles in platform code

2017-02-08 Thread Botond Ballo
Hi everyone! I would like to propose changing the internal representation of rectangles in platform code. We currently represent a rectangle by storing the coordinates of its top-left corner, its width, and its height. I'll refer to this representation as "x/y/w/h". I would like to propose stori

Intent to implement and ship: self.origin

2017-02-08 Thread Boris Zbarsky
Summary: self.origin returns the Unicode serialization of the origin of the settings object of the global represented by "self" (a Window or WorkerGlobalScope). This gives scripts a consistent way of getting their origin in both situations. Note that unlike location.origin this represents the

Re: Intent to implement and ship: document.origin

2017-02-08 Thread Boris Zbarsky
I would like to revive this intent. At this point estimated release would be 54, and Blink has shipped this a while ago. The state of things here is as follows: 1) location.origin still exists and sites use it, so we can't remove it. But we can deprecate it if we want. 2) document.origin

Re: Intent to implement: CSS text-justify property

2017-02-08 Thread Boris Zbarsky
On 2/8/17 5:08 AM, Jeremy Chen wrote: Link to standard: https://drafts.csswg.org/css-text-3/#text-justify-property How stable is this spec? Note that even if it's unstable that shouldn't stop us implementing; that mostly affects shipping. So as long as we're pretty sure that the basic set o

Re: Content process launch time distribution

2017-02-08 Thread Gabor Krizsanits
On Wed, Feb 8, 2017 at 11:18 AM, Gabriele Svelto wrote: > > I was also thinking about it. I'm not sure in what shape pre-allocated > process support is since it's not been tested for a year already (only > Firefox OS used it AFAIK) but it's a good way to take process startup > out of the critical

Re: Content process launch time distribution

2017-02-08 Thread Gabriele Svelto
On 07/02/2017 18:57, Gabor Krizsanits wrote: > For a temporary workaround until we can speed up content process start up > and initialization time, we might want to use the pre-allocated process > manager for the e10s-multi case. Maybe even force to pick one from the > existing processes unless the

Intent to implement: CSS text-justify property

2017-02-08 Thread Jeremy Chen
Summary: This property selects the justification method used when a line’s alignment is set to justify , i.e., text-align: justify. Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=276079 Link to standard: https://drafts.csswg.org/c