Porting netsurf-css to srid-css