On Tue, Jun 20, 2017, at 01:08 PM, Jared Wein wrote: > We use a scoped stylesheet for styling the popup for <select> [1]. We > chose this route to limit performance impact as well as limit our > temporary stylesheet from affecting other parts of the browser UI. > Will your removal also remove support in the chrome/parent process? For now we'll keep <style scoped> available in chrome documents. But in the medium term , we will want to style chrome documents with Servo too https://bugzilla.mozilla.org/show_bug.cgi?id=1294570, and at that point we'll have to remove <style scoped> entirely. If generating document- wide style sheets like <style> #some-unique-id-12345 option { ... } </style>
isnot performing as well as <style scoped>, we can fix that. (We do have plans to make this kind of style sheet addition faster than Gecko handles it currently, which is to re-run selector matching on the entire document.) _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

