diff -r 000000000000 -r 6474c204b198 layout/forms/nsFieldSetFrame.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/layout/forms/nsFieldSetFrame.h Wed Dec 31 06:09:35 2014 +0100
@@ -0,0 +1,102 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 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/. */
+
+#ifndef nsFieldSetFrame_h___
+#define nsFieldSetFrame_h___
+
+#include "mozilla/Attributes.h"
+#include "nsContainerFrame.h"
+
+class nsFieldSetFrame MOZ_FINAL : public nsContainerFrame
+{
+public:
+ NS_DECL_FRAMEARENA_HELPERS
+
+ nsFieldSetFrame(nsStyleContext* aContext);
+
+ NS_HIDDEN_(nscoord)
+ GetIntrinsicWidth(nsRenderingContext* aRenderingContext,
+ nsLayoutUtils::IntrinsicWidthType);
+ virtual nscoord GetMinWidth(nsRenderingContext* aRenderingContext) MOZ_OVERRIDE;
+ virtual nscoord GetPrefWidth(nsRenderingContext* aRenderingContext) MOZ_OVERRIDE;
+ virtual nsSize ComputeSize(nsRenderingContext *aRenderingContext,
+ nsSize aCBSize, nscoord aAvailableWidth,
+ nsSize aMargin, nsSize aBorder, nsSize aPadding,
+ uint32_t aFlags) MOZ_OVERRIDE;
+ virtual nscoord GetBaseline() const MOZ_OVERRIDE;
+
+ /**
+ * The area to paint box-shadows around. It's the border rect except
+ * when there's a