1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 This CSS stylesheet defines the rules to be applied to ImageDocuments that
8 are top level (e.g. not iframes).
26 img
.overflowingVertical
{
27 /* If we're overflowing vertically, we need to set margin-top to
28 0. Otherwise we'll end up trying to vertically center, and end
29 up cutting off the top part of the image. */
34 transition: transform
0.3s ease
0s;
39 image-orientation: from-image
;