https://bugzilla.wikimedia.org/show_bug.cgi?id=16582





--- Comment #4 from Aryeh Gregor <[EMAIL PROTECTED]>  2008-12-07 20:53:59 UTC 
---
1) A hardcoded style wouldn't override a stylesheet rule with !important.

2) If we parsed only hardcoded styles, we would be creating a very confusing
situation, where inline CSS rules have magical functionality that stylesheet
rules do not.

3) Using inline styles is bad practice, and so is display:none'ing things
instead of removing them from the DOM to begin with, so we should avoid
encouraging those if possible.

Do comments work, maybe?  If not, we could consider alternative solutions.  For
instance, if we allowed HTML5-style custom attributes on all elements, we could
make data-sortkey="foo" magically sort the column according to "foo" instead of
the contents.  That would probably be easier to implement, too.


-- 
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 watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to