W3C home > Mailing lists > Public > www-style@w3.org > December 2010

Re: Defining safe areas for media devices and set top boxes

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 10 Dec 2010 15:58:16 +1300
Message-ID: <AANLkTi=Vh_t1nCnyw+pzSJLeJ+yN+sWPJ0tw9noW6Mng@mail.gmail.com>
To: "Belov, Charles" <Charles.Belov@sfmta.com>
Cc: João Eiras <joao-c-eiras@telecom.pt>, www-style@w3.org
On Fri, Dec 10, 2010 at 1:39 PM, Belov, Charles <Charles.Belov@sfmta.com>wrote:

> Border images might be used to ensure that the unsafe area doesn't contain
> any black space.  If one resizes the viewport, then there will be black
> space around the page, which may not fit in with the rest of the page's
> design.
>

OK, that is easily done if the browser displays the page background outside
the bounds of the viewport. For example, an author could write:

html {
  background: url(top.png) top -20px center,
                       url(left.png) left -20px center,
                       url(right.png) right -20px center,
                       url(bottom.png) bottom -20px center;
}

If top.png and bottom.png are 20px high, and left.png and right.png are 20px
wide, this would draw the four images in the unsafe area, assuming the
browser has set the CSS viewport to the safe area.

In any case, it would be the consumer who would have to resize their
> viewport
>

Why? Why can't a TV browser just set the CSS viewport to the safe area of
the TV?

Rob
-- 
"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
Received on Friday, 10 December 2010 02:58:44 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:35 GMT