Ben C said:
Another thing that's confusing is that you can't set opacity on the
canvas-- if you set opacity it just goes on the real BODY or HTML,
because it's not a special "thieved" property.
But many browsers, including Firefox 3, support CSS3 semi-transparent
colours, which can be set on the canvas, just like any other colour
e.g.:
body { background-color: rgba(255, 0, 0, 0.5) }
If you do that the colour you see should be a blend of the
browser.display.background_color you configured and red, confirming that
the canvas is on top of the viewport background.
OK, I will add this to the experimental schedule. Interesting. I am not
a big fan of "confirmation" though, and I will reserve judgement on
whether this lends credibility to the idea of the viewport having its
own background. I concede it lends credibility to that Canvas is not the
ultimate background, one of your main contentions.
(Big subject, "confirmation" in science, but briefly: confirmation is
ten a penny for almost anything, true or false. There are better tests
of truth...)
As a result of this thread, I have now become a fan of making at least
one of my browser's background other than white because it is a nice
quick check on authors' coding, including mine. I will not do this in
Safari because I actually use this browser to look stuff up unrelated to
web design. And it is better to avoid seeing all the little faults (like
white elements that are clearly meant to be seen with white all around
it...)
A tiny little bit of important data fell into my hands this morning,
and it is not good news for your Viewport Sandwich Theory of Ultimate
Background. (The idea that the viewport has a transparent front to look
through and an opaque back that is default white or set to some other
colour). I won't speculate too much now but it is favourable to the
Theory of an Extra Rectangle (or at least Object) that somehow hangs
about the browser broadly conceived.
OK, this is the datum: I was looking at a website in FF, one of my own
as it happened, which had a white background explicitly set at a high
level, and I went to View Source to check something. As the source
window flew open, it was filled with the yellow colour I had previously
set, just for a very brief fraction of a second.
I am not sure an earthling would see it, but I did. I am not kidding
you, it was there and I saw it! In other words, it seems that the
Ultimate Background was there and clearly not in Viewport but behind
Source. Source, of course, had its own white background, as have many
text docs, but it was delayed in appearing in the Source window.
Now there are a lot of theories of what could account for this, but I
fancy it is suggestive of the one and same object appearing to back both
webpages through Viewport and markup through Source.
Here is what a high tech HTML camera sees, it is a repeatable
phenomenon, and I slow the film down for you earthlings:
I don't remember if Bergamot actually uses bilious green-- it may have
been liverish pink, and it might not have been Bergamot.
I know it was not Roger Rabbit. I've talked to RR and he has a very
delicate sense of taste in these matters, don't be fooled by that he
does not mind some pretty honky colours in Jessica Rabbit's dresses. But
he can be forgiven for that. I swear to God, as I sit here typing, I
could take almost any colour in Jessica's dresses in my stride.