https://bugzilla.wikimedia.org/show_bug.cgi?id=40329
--- Comment #5 from Derk-Jan Hartman <[email protected]> 2012-09-18 17:19:22 UTC --- Summary: 1: Align attribute is still support 2: Align attribute was deprecated in HTML4 3: Align attribute is no longer valid in HTML5 4: Current fixDeprecateAttributes() only works for align elements that have inline content and is not fully compatible with block elements 5: We don't rewrite all non-valid elements yet (such as <center> Solution is something in the order of: elements-with_align_attribute_center > block element { margin-left: auto; margin-right: auto; } This might require some class to be added to properly target those children block elements. or we simply need to sanitize the DB contents. For now, we probably should revert the align sanitation from fixDeprecateAttributes() -- 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
