- Open https://www.mediawiki.org/w/index.php?title=Manual:Coding_conventions/CSS&action=edit
- Inspect <body>
Actual behaviour:
An attribute style="position: static;" is created at run time. Setting an attribute breakpoint reveals this is done by the WikiEditor toolbar module:
https://github.com/wikimedia/mediawiki-extensions-WikiEditor/blob/10ff6c36dea745a40c10aaad9540043981d13e2f/modules/jquery.wikiEditor.toolbar.js#L766-L775
$.eachAsync( sectionQueue, { 'bulk': 0, 'end': function () { // HACK: Opera doesn't seem to want to redraw after these bits // are added to the DOM, so we can just FORCE it! var oldValue = $( 'body' ).css( 'position' ); $( 'body' ).css( 'position', 'static' ); $( 'body' ).css( 'position', oldValue );