W3C home > Mailing lists > Public > www-style@w3.org > January 2009

Re: [css3-gcpm] new draft -- including "overflow: paged"

From: Håkon Wium Lie <howcome@opera.com>
Date: Sun, 4 Jan 2009 21:23:55 +0100
Message-ID: <18785.6875.538895.878131@opera.com>
To: "Giovanni Campagna" <scampa.giovanni@gmail.com>
Cc: www-style@w3.org

Also sprach Giovanni Campagna:

 > >      body { overflow: paged }

 > Is this meant to:

 > 2) display a regular web page as if it was on paged media (something like a
 > print preview or e-book)?

Yes.

 > In this case, scrollbars are still needed, and I think we need to apply
 > @page rule to a non-paged media, because otherwise overflow is not applied
 > (the containing box automatically grows to fit the body content, unless
 > constrained by other means, that is not what we need)

I'm not sure that I disagree with you, but I'd like to hear more about
your reasoning. Why can't we just say that the viewport is the limit
and no scrollbars will be provided?

Opera, in its projection mode, allows content to grow but no
scrollbars will be provided. You can use arrow keys and PgDn/PgUp to
access all of (say) a large image. Here's a test document, press F11
in Opera to see the effect:

  http://people.opera.com/howcome/2009/operashow/test.html

However, we *could* scale or crop the image and thereby enforce the
viewport size. That would often create a better user experience.

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Sunday, 4 January 2009 20:24:35 GMT

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