From 21e1b3a40677643f7292495f2b733c004a036fa4 Mon Sep 17 00:00:00 2001 From: kipp Date: Sat, 2 May 1998 00:55:29 +0000 Subject: [PATCH] Fixed default background repeat bug --- content/base/src/nsStyleContext.cpp | 2 +- layout/base/src/nsStyleContext.cpp | 2 +- layout/style/nsStyleContext.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/base/src/nsStyleContext.cpp b/content/base/src/nsStyleContext.cpp index 1b0c752a96e..5533e37bae4 100644 --- a/content/base/src/nsStyleContext.cpp +++ b/content/base/src/nsStyleContext.cpp @@ -88,7 +88,7 @@ struct StyleColorImpl: public nsStyleColor { { mBackgroundAttachment = NS_STYLE_BG_ATTACHMENT_SCROLL; mBackgroundFlags = NS_STYLE_BG_COLOR_TRANSPARENT; - mBackgroundRepeat = NS_STYLE_BG_REPEAT_OFF; + mBackgroundRepeat = NS_STYLE_BG_REPEAT_XY; mBackgroundColor = NS_RGB(192,192,192); mCursor = NS_STYLE_CURSOR_INHERIT; diff --git a/layout/base/src/nsStyleContext.cpp b/layout/base/src/nsStyleContext.cpp index 1b0c752a96e..5533e37bae4 100644 --- a/layout/base/src/nsStyleContext.cpp +++ b/layout/base/src/nsStyleContext.cpp @@ -88,7 +88,7 @@ struct StyleColorImpl: public nsStyleColor { { mBackgroundAttachment = NS_STYLE_BG_ATTACHMENT_SCROLL; mBackgroundFlags = NS_STYLE_BG_COLOR_TRANSPARENT; - mBackgroundRepeat = NS_STYLE_BG_REPEAT_OFF; + mBackgroundRepeat = NS_STYLE_BG_REPEAT_XY; mBackgroundColor = NS_RGB(192,192,192); mCursor = NS_STYLE_CURSOR_INHERIT; diff --git a/layout/style/nsStyleContext.cpp b/layout/style/nsStyleContext.cpp index 1b0c752a96e..5533e37bae4 100644 --- a/layout/style/nsStyleContext.cpp +++ b/layout/style/nsStyleContext.cpp @@ -88,7 +88,7 @@ struct StyleColorImpl: public nsStyleColor { { mBackgroundAttachment = NS_STYLE_BG_ATTACHMENT_SCROLL; mBackgroundFlags = NS_STYLE_BG_COLOR_TRANSPARENT; - mBackgroundRepeat = NS_STYLE_BG_REPEAT_OFF; + mBackgroundRepeat = NS_STYLE_BG_REPEAT_XY; mBackgroundColor = NS_RGB(192,192,192); mCursor = NS_STYLE_CURSOR_INHERIT;