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

--- Comment #4 from entli...@gmx-topmail.de 2010-12-07 05:05:14 UTC ---
(In reply to comment #3)
> Typically everything other than <body> is display: none anyway.  Do you have
> some specific real-world use-case where you want to style something outside 
> the
> <body>?

Styling html and body is the only way to do things that can be done in Monobook
with #globalWrapper (and Vector does not have a #globalWrapper), such as making
a page narrower:

html {
    background: white; /* needed to prevent body from filling the canvas */
}
body {
    background: #f3f3f3;
    margin: 0 auto;
    width: 80%;
}

> If not, I don't see the point in paying the transition cost.  Not only
> will people use body.page-Main_page selectors that will no longer work, 
> they'll
> also probably do things like .page-Main_page { ... } expecting the rules to
> apply to <body> rather than <html>.

Whether rules apply to <body> or <html> does not make a difference in most
cases. But now I see another problem: Page names can contain non-ASCII
characters and non-ASCII characters must not occur before the charset has been
declared. This would mean that the charset must be declared in the HTTP header
(right now this is not strictly necessary because no non-ASCII characters occur
before the <meta charset> element).

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to