moved length proto to css::grammar base class