Now I get your point !
I'd say that in the case you pointed out the <span> is visible, because I
don't know what were the real intentions of author of the HTML code.
In case it would have "visibility:hidden", I'd say it's invisible since in
that case I know for sure that the author wanted it to be invisible.



On Mon, May 19, 2008 at 8:07 PM, Boris Zbarsky <[EMAIL PROTECTED]> wrote:

> Michael R wrote:
> > No, I just mean that the content is visible on the screen and any user
> can
> > see it (no color dependence).
>
> I think we're having a communication failure...  Color definitely affects
> the
> pixels painted on the screen, and depending on what color values the screen
> can
> paint, color may affect whether, say, text is visible on a background.
>
> Speaking of which:
>
>   <div style="background: black"><span style="color:
> black">Text</span></div>
>
> Would you say that the <span> is visible?  What if it had "opacity: 0"?
>  What if
> it had "visibility: hidden"?  Why exactly are these cases different, if
> they're
> different?
>
> -Boris
> _______________________________________________
> dev-embedding mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-embedding
>
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to