Files
roytam1 00c9e7452c import changes from rmottola/Arctic-Fox:
- Bug 1137166: Change the Content moreStrict sandbox pref to an integer to indicate the level of sandboxing. r=tabraldes (b5333092c)
- Bug 1140806 - Initialize JS random seed using arc4random on Android and BSDs. r=fitzgen (c39ad68da)
- Bug 935862 p1 - add flag for ex/ch unit usage. r=heycam (47b3a36a3)
- Bug 935862 p2 - add various userfont lookup methods. r=heycam (ede140ecc)
- Bug 935862 p3 - implement selective reflow for downloadable fonts. r=heycam (9d6abc4aa)
- Bug 935862 p4 - add reftests to sanity check @font-face reflow behavior. r=heycam (8c56a5f2f)
- Bug 935862 p5 - handle SVGTextFrame reflow correctly. r=jdaggett (b5f420748)
- Bug 935862 p6 - fixup problematic reftests. r=heycam (13fd7b36b)
- Bug 1140946 - tweak fall-through for ex/ch restyle on font load. r=dbaron (e05284f0a)
2020-01-29 09:41:32 +08:00

24 lines
734 B
C++

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
// vim:cindent:ts=2:et:sw=2:
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* helper utilities for working with downloadable fonts */
#ifndef nsFontFaceUtils_h_
#define nsFontFaceUtils_h_
class gfxUserFontEntry;
class nsIFrame;
class nsFontFaceUtils
{
public:
// mark dirty frames affected by a downloadable font
static void MarkDirtyForFontChange(nsIFrame* aSubtreeRoot,
const gfxUserFontEntry* aFont);
};
#endif /* !defined(nsFontFaceUtils_h_) */