The legislation, which would affect sales to anyone under 16, mirrors regulations in a number of other European countries.