Make computed style not have to worry about null style structs. Bug 364821, r+sr=roc.

git-svn-id: svn://10.0.0.236/trunk@217558 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2006-12-30 05:17:59 +00:00
parent d07c878ca8
commit a9c6606754
2 changed files with 820 additions and 1075 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -85,6 +85,7 @@ private:
#include "nsStyleStructList.h"
#undef STYLE_STRUCT
// This never returns null
const nsStyleStruct* GetStyleData(nsStyleStructID aSID);
nsresult GetOffsetWidthFor(PRUint8 aSide, nsIDOMCSSValue** aValue);