From 5d14f4f5c68871726c050f2cc961c6211bdc9973 Mon Sep 17 00:00:00 2001 From: "peterl%netscape.com" Date: Tue, 18 May 1999 23:12:52 +0000 Subject: [PATCH] made border style a reflow hint --- layout/html/style/src/nsCSSProps2.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/layout/html/style/src/nsCSSProps2.cpp b/layout/html/style/src/nsCSSProps2.cpp index 092f74a87b54..68e5fcf77830 100644 --- a/layout/html/style/src/nsCSSProps2.cpp +++ b/layout/html/style/src/nsCSSProps2.cpp @@ -772,23 +772,23 @@ const PRInt32 nsCSSProps::kHintTable[PROP_MAX] = { NS_STYLE_HINT_REFLOW, // PROP_BORDER NS_STYLE_HINT_REFLOW, // PROP_BORDER_BOTTOM NS_STYLE_HINT_VISUAL, // PROP_BORDER_BOTTOM_COLOR - NS_STYLE_HINT_VISUAL, // PROP_BORDER_BOTTOM_STYLE + NS_STYLE_HINT_REFLOW, // PROP_BORDER_BOTTOM_STYLE - reflow for on/off case NS_STYLE_HINT_REFLOW, // PROP_BORDER_BOTTOM_WIDTH NS_STYLE_HINT_REFLOW, // PROP_BORDER_COLLAPSE NS_STYLE_HINT_VISUAL, // PROP_BORDER_COLOR NS_STYLE_HINT_REFLOW, // PROP_BORDER_LEFT NS_STYLE_HINT_VISUAL, // PROP_BORDER_LEFT_COLOR - NS_STYLE_HINT_VISUAL, // PROP_BORDER_LEFT_STYLE + NS_STYLE_HINT_REFLOW, // PROP_BORDER_LEFT_STYLE - reflow for on/off case NS_STYLE_HINT_REFLOW, // PROP_BORDER_LEFT_WIDTH NS_STYLE_HINT_REFLOW, // PROP_BORDER_RIGHT NS_STYLE_HINT_VISUAL, // PROP_BORDER_RIGHT_COLOR - NS_STYLE_HINT_VISUAL, // PROP_BORDER_RIGHT_STYLE + NS_STYLE_HINT_REFLOW, // PROP_BORDER_RIGHT_STYLE - reflow for on/off case NS_STYLE_HINT_REFLOW, // PROP_BORDER_RIGHT_WIDTH NS_STYLE_HINT_REFLOW, // PROP_BORDER_SPACING - NS_STYLE_HINT_VISUAL, // PROP_BORDER_STYLE + NS_STYLE_HINT_REFLOW, // PROP_BORDER_STYLE - turing on/off can impact reflow, would be nice to detect that case NS_STYLE_HINT_REFLOW, // PROP_BORDER_TOP NS_STYLE_HINT_VISUAL, // PROP_BORDER_TOP_COLOR - NS_STYLE_HINT_VISUAL, // PROP_BORDER_TOP_STYLE + NS_STYLE_HINT_REFLOW, // PROP_BORDER_TOP_STYLE - reflow for on/off case NS_STYLE_HINT_REFLOW, // PROP_BORDER_TOP_WIDTH NS_STYLE_HINT_REFLOW, // PROP_BORDER_WIDTH