On Tue, Apr 9, 2019 at 5:56 AM Cameron McCormack <c...@mcc.id.au> wrote: > On Tue, Apr 9, 2019, at 1:39 PM, Brian Grinstead wrote: > > I'd like to rewrite markup in the tree to avoid using the [type] > > attribute on <script> tags when it's unnecessary. > > Sounds good to me. > > We could similarly remove type="text/css" from <style> elements.
Will you also add a lint to avoid copypasta from elsewhere? > > - testing/web-platform: I've excluded this because (a) I expected there > > would be tests that are specifically checking behavior for scripts with > > different [type] attributes and (b) I wasn't sure if we'd want to > > upstream this change. It could be included if that’s wrong. (a) is correct. It might be good for tests that do not test that to not have this, but let's leave that to WPT to decide. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform