Added DOM protections to CPControl and CPWebView.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2009-01-14 19:22:34 -08:00
1 parent 32372c68cd
commit 6d27e5d0f8
2 files changed
+6

No files matched your search

+2
View File
@@ -209,7 +209,9 @@ var CPControlBlackColor = [CPColor blackColor];
*/
- (void)setTextShadow:(CPShadow)aTextShadow
{
#if PLATFORM(DOM)
_DOMElement.style.textShadow = [_textShadow = aTextShadow cssString];
#endif
}
/*!
+4
View File
@@ -22,6 +22,8 @@
@import "CPView.j"
#include "Platform/Platform.h"
// FIXME: implement these where possible:
/*
@@ -428,7 +430,9 @@ CPWebViewProgressFinishedNotification = "CPWebViewProgressFinishedNoti
_backwardStack = [];
_forwardStack = [];
#if PLATFORM(DOM)
[self _initDOMWithFrame:[self frame]];
#endif
}
return self;