michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* michael@0: * This CSS stylesheet defines the rules to be applied to any ImageDocuments, michael@0: * including those in frames. michael@0: */ michael@0: michael@0: @media not print { michael@0: .overflowing { michael@0: cursor: zoom-out; michael@0: } michael@0: michael@0: .shrinkToFit { michael@0: cursor: zoom-in; michael@0: } michael@0: } michael@0: michael@0: @media print { michael@0: /* We must declare the image as a block element. If we stay as michael@0: an inline element, our parent LineBox will be inline too and michael@0: ignore the available height during reflow. michael@0: This is bad during printing, it means tall image frames won't know michael@0: the size of the paper and cannot break into continuations along michael@0: multiple pages. */ michael@0: img { michael@0: display: block; michael@0: } michael@0: }