https://bugzilla.wikimedia.org/show_bug.cgi?id=40324
Web browser: ---
Bug #: 40324
Summary: Align=center transformation broken for divs
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Parser
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
<div align="center">
foo - bar - baz
</div>
should center its content, but becomes
<div style="margin-left: auto; margin-right: auto;">
<p>foo - bar - baz</p>
</div>
which shows the content left aligned. It should become
<div style="margin-left: auto; margin-right: auto; text-align:center;">
<p>foo - bar - baz</p>
</div>
instead, this displays correctly.
For a real world example look at the first box on de.wikipedia's main page ...
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l