mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-05 12:15:32 +00:00
Added DOM protections to CPControl and CPWebView.
Reviewed by me.
This commit is contained in:
1 parent
32372c68cd
commit
6d27e5d0f8
2 files changed
+6
No files matched your search
@@ -209,7 +209,9 @@ var CPControlBlackColor = [CPColor blackColor];
|
||||
*/
|
||||
- (void)setTextShadow:(CPShadow)aTextShadow
|
||||
{
|
||||
#if PLATFORM(DOM)
|
||||
_DOMElement.style.textShadow = [_textShadow = aTextShadow cssString];
|
||||
#endif
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user