https://bugzilla.wikimedia.org/show_bug.cgi?id=38630
--- Comment #8 from Krinkle <[email protected]> --- (In reply to comment #7) > I'm a bit confused why a marker is needed. Couldn't it just add a style tag > to the bottom of the head element [..] No, because (cascading) order matters: software > site > user. Site and user resources are in the document from the beginning (inserted server-side). The marker is placed right before that point in the document, which is where any dynamically loaded modules are added. See also comment 4 for why we can't put the ID on the last software resource. We can't put the ID on the first site/user resource because some wikis don't have local overrides (in which case the tag isn't there), and many users don't have overrides (in which case that tag isn't there). So then one would still need a marker. The simplest solution is to have the marker there anyway. A more elaborate solution would be to iterate through this stuff server side and generate and put the ID on the first site/user resource and if there are none, output an empty <style> tag and use that instead. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
