https://bugzilla.wikimedia.org/show_bug.cgi?id=29480
Krinkle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #5 from Krinkle <[email protected]> 2011-06-21 23:57:21 UTC --- (In reply to comment #1) > Problem: = content = produses an a tag with id="content" which is used by a > layout div already. > > Solution: The skins' main.css files need be more precise using e.g. > div#content > instead of #content. No need for an extra specific selector. #content is just fine, adding div in front of it adds more weight and could cause problems in other skins that are making assumptions on the cascading effects of CSS. (In reply to comment #2) > The bug produces > two id="content" elements, apart from W3C non-conformance, nothing bad will > happen unless one tries to traverse the DOM with two elements with asme id > attributes. Trivial, slim chances of that ever happening. Not trivial at all in my opinion. #content is one of the few elements that has a consistent ID in all skins, There are a huge amount of scripts referring to it through JavaScript DOM traversal. -- 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
