mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-27 09:37:31 +09:00
Issue #80 - De-unify layout/svg
This commit is contained in:
parent
f7493bacb5
commit
e68128d9ca
10 changed files with 12 additions and 1 deletions
|
|
@ -37,6 +37,7 @@
|
||||||
#include "nsTextNode.h"
|
#include "nsTextNode.h"
|
||||||
#include "SVGAnimatedNumberList.h"
|
#include "SVGAnimatedNumberList.h"
|
||||||
#include "SVGContentUtils.h"
|
#include "SVGContentUtils.h"
|
||||||
|
#include "SVGContextPaint.h"
|
||||||
#include "SVGLengthList.h"
|
#include "SVGLengthList.h"
|
||||||
#include "SVGNumberList.h"
|
#include "SVGNumberList.h"
|
||||||
#include "SVGPathElement.h"
|
#include "SVGPathElement.h"
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ EXPORTS.mozilla += [
|
||||||
'SVGContextPaint.h',
|
'SVGContextPaint.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
UNIFIED_SOURCES += [
|
SOURCES += [
|
||||||
'nsCSSClipPathInstance.cpp',
|
'nsCSSClipPathInstance.cpp',
|
||||||
'nsCSSFilterInstance.cpp',
|
'nsCSSFilterInstance.cpp',
|
||||||
'nsFilterInstance.cpp',
|
'nsFilterInstance.cpp',
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@
|
||||||
using namespace mozilla;
|
using namespace mozilla;
|
||||||
using namespace mozilla::dom;
|
using namespace mozilla::dom;
|
||||||
using namespace mozilla::gfx;
|
using namespace mozilla::gfx;
|
||||||
|
using namespace mozilla::image;
|
||||||
|
|
||||||
FilterDescription
|
FilterDescription
|
||||||
nsFilterInstance::GetFilterDescription(nsIContent* aFilteredElement,
|
nsFilterInstance::GetFilterDescription(nsIContent* aFilteredElement,
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@
|
||||||
#include "SVGTextFrame.h"
|
#include "SVGTextFrame.h"
|
||||||
|
|
||||||
using namespace mozilla;
|
using namespace mozilla;
|
||||||
|
using namespace mozilla::image;
|
||||||
|
|
||||||
NS_QUERYFRAME_HEAD(nsSVGContainerFrame)
|
NS_QUERYFRAME_HEAD(nsSVGContainerFrame)
|
||||||
NS_QUERYFRAME_ENTRY(nsSVGContainerFrame)
|
NS_QUERYFRAME_ENTRY(nsSVGContainerFrame)
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
#include "mozilla/dom/HTMLCanvasElement.h"
|
#include "mozilla/dom/HTMLCanvasElement.h"
|
||||||
#include "mozilla/dom/SVGFilterElement.h"
|
#include "mozilla/dom/SVGFilterElement.h"
|
||||||
#include "nsReferencedElement.h"
|
#include "nsReferencedElement.h"
|
||||||
|
#include "nsSVGEffects.h"
|
||||||
#include "nsSVGFilterFrame.h"
|
#include "nsSVGFilterFrame.h"
|
||||||
#include "nsSVGUtils.h"
|
#include "nsSVGUtils.h"
|
||||||
#include "SVGContentUtils.h"
|
#include "SVGContentUtils.h"
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
#include "gfxRect.h"
|
#include "gfxRect.h"
|
||||||
#include "nsRegionFwd.h"
|
#include "nsRegionFwd.h"
|
||||||
#include "mozilla/gfx/Rect.h"
|
#include "mozilla/gfx/Rect.h"
|
||||||
|
#include "imgIContainer.h"
|
||||||
|
|
||||||
class gfxContext;
|
class gfxContext;
|
||||||
class gfxDrawable;
|
class gfxDrawable;
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
using namespace mozilla::dom;
|
using namespace mozilla::dom;
|
||||||
using namespace mozilla::gfx;
|
using namespace mozilla::gfx;
|
||||||
|
using namespace mozilla::image;
|
||||||
|
|
||||||
nsContainerFrame*
|
nsContainerFrame*
|
||||||
NS_NewSVGMarkerFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
|
NS_NewSVGMarkerFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,12 @@
|
||||||
#include "mozilla/dom/SVGSVGElement.h"
|
#include "mozilla/dom/SVGSVGElement.h"
|
||||||
#include "mozilla/dom/SVGViewElement.h"
|
#include "mozilla/dom/SVGViewElement.h"
|
||||||
#include "nsSubDocumentFrame.h"
|
#include "nsSubDocumentFrame.h"
|
||||||
|
#include "gfxMatrix.h"
|
||||||
|
|
||||||
using namespace mozilla;
|
using namespace mozilla;
|
||||||
using namespace mozilla::dom;
|
using namespace mozilla::dom;
|
||||||
|
using namespace mozilla::gfx;
|
||||||
|
using namespace mozilla::image;
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
// Implementation helpers
|
// Implementation helpers
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
#include "nsSVGUtils.h"
|
#include "nsSVGUtils.h"
|
||||||
|
|
||||||
using namespace mozilla::gfx;
|
using namespace mozilla::gfx;
|
||||||
|
using namespace mozilla::image;
|
||||||
|
|
||||||
class nsSVGSwitchFrame : public nsSVGGFrame
|
class nsSVGSwitchFrame : public nsSVGGFrame
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,7 @@
|
||||||
using namespace mozilla;
|
using namespace mozilla;
|
||||||
using namespace mozilla::dom;
|
using namespace mozilla::dom;
|
||||||
using namespace mozilla::gfx;
|
using namespace mozilla::gfx;
|
||||||
|
using namespace mozilla::image;
|
||||||
|
|
||||||
static bool sSVGPathCachingEnabled;
|
static bool sSVGPathCachingEnabled;
|
||||||
static bool sSVGDisplayListHitTestingEnabled;
|
static bool sSVGDisplayListHitTestingEnabled;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue