We can use a single selector instead of adding the style inline on each element for the -moz-stack-sizing stuff. Also adds a license header.
Created attachment 360147 [details] [diff] [review] patch
Comment on attachment 360147 [details] [diff] [review] patch The flex is there so that the stack is sized to the window width by default, but it's not strictly necessary since we'll resize the stack anyways.
Backed out, since it might have caused a Ts regression: http://graphs.mozilla.org/#show=2774468,2774466,2774464 https://hg.mozilla.org/mobile-browser/rev/7fc04c681e32
Gavin, are you going to try to land this again or has it bit rotted beyond usefulness?
Still needs landing, just need to figure out which part caused a regression. Just the CSS styling changes alone are probably safe?
Created attachment 382142 [details] [diff] [review] only CSS If this causes a Ts regression I will eat my hat.
Created attachment 382144 [details] [diff] [review] only CSS (fixed)