Enhancement request: Add <style scoped> to the set of HTML elements that can be used in wiki source. That would allow authors to specify styles for all child content of a particular part of a page (element). For example:
<div id="terms">
<style scoped>
ul: { display: table }
li: { display: table-row }
dfn: { display: table-cell }
p.def { display: table-cell }
</style>
<ul>
<li>
<dfn id="scoped">scoped</dfn>
<p.def>A attribute for the "style" element that allows you to include CSS rules within the body of an HTML document but scope those rules just to a particular portion of the document.</p>
</li>
</ul>
</div>
Version: 1.22.0
Severity: enhancement
Update 2016-03-04: Stalled due to unclear future of standards implementation/wide browser support. See discussion starting at https://phabricator.wikimedia.org/T52644#2088060
Update 2016-09-06: scoped attribute was removed from WHATWG HTML and csswg-drafts in May 2016